:root{--ink:#18202a;--muted:#687386;--line:#d9e1ea;--bg:#f6f8fb;--panel:#fff;--brand:#063E7F;--accent:#F48C2D;--brand-mid:#1082CD;--brand-light:#3EB9EF}
body{background:var(--bg);color:var(--ink);line-height:1.5}
.public-main-site::selection,.public-main-site ::selection{background:#3EB9EF;color:#063E7F}
a{color:var(--brand);text-decoration:none}
img{max-width:100%;display:block}
.brand{font-size:22px;color:#063E7F;display:inline-flex;align-items:baseline;gap:0}
.brand-wordmark{width:152px;height:auto;display:block}
.brand .brand-strong{font-weight:900;color:#063E7F}
.brand .brand-light{font-weight:650;color:#063E7F}
.brand .brand-mark{color:#F48C2D}
.main{max-width:1180px;margin:0 auto;padding:34px 24px}
.with-sidebar{margin-left:236px}
.sidebar{position:fixed;top:57px;bottom:0;left:0;width:236px;background:#1f2933;color:#fff;padding:22px;display:flex;flex-direction:column;gap:9px;overflow:auto}
.sidebar a{color:#fff}
.sidebar a{padding:8px 10px;border-radius:6px}
.sidebar a:hover{background:#344251}
.sidebar a.active{background:#063E7F;color:#fff;font-weight:800}
.button,button{display:inline-block;border:0;background:var(--brand);color:#fff;border-radius:7px;padding:11px 16px;font-weight:700;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.button:hover,button:hover{background:var(--brand-mid);color:#fff}
.button:focus,button:focus{outline:0;box-shadow:0 0 0 3px rgba(62,185,239,.28)}
.button:disabled,button:disabled{opacity:.68;cursor:not-allowed}
.button.is-loading,button.is-loading{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.button-loader{width:16px;height:16px;border:2px solid rgba(255,255,255,.55);border-top-color:#fff;border-radius:50%;animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.button.small{padding:8px 12px}
.button.ghost{background:#fff;color:var(--brand);border:1px solid var(--brand-light)}
.button.ghost:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.btn-success{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}
.btn-success:hover,.btn-success:focus{background:var(--brand-mid)!important;border-color:var(--brand-mid)!important;color:#fff!important}
.btn-outline-secondary{color:var(--brand)!important;border-color:var(--brand-light)!important}
.btn-outline-secondary:hover,.btn-outline-secondary:focus{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:42px;align-items:center;min-height:560px}
.hero-logo{width:min(527px,40.8vw);max-width:none;justify-self:center}
.hero h1{font-size:48px;line-height:1.05;margin:8px 0 18px}
.hero p{font-size:18px;color:var(--muted)}
.eyebrow{font-weight:800;color:var(--accent);letter-spacing:0;text-transform:uppercase}
.actions{display:flex;gap:12px;margin-top:24px}
.features,.grid,.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.features article,.card,.panel,.stats div{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:20px}
.clients-section,.recent-posts{margin-top:44px}
.clients-section{margin-bottom:44px}
.clients-section h2,.recent-posts h2{margin-bottom:18px}
.clients-carousel{position:relative;padding:0 56px;background:transparent;border:0;border-radius:0}
.clients-slide{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:center}
.clients-slide img{height:140px;width:100%;object-fit:contain;border-radius:10px;background:#fff}
.clients-carousel .carousel-control-prev,.clients-carousel .carousel-control-next{width:40px;height:40px;top:50%;transform:translateY(-50%);background:var(--brand-mid);border-radius:50%;opacity:1}
.clients-carousel .carousel-control-prev{left:0}
.clients-carousel .carousel-control-next{right:0}
.clients-carousel .carousel-control-prev:hover,.clients-carousel .carousel-control-next:hover{background:var(--brand)}
.clients-carousel .carousel-control-prev-icon,.clients-carousel .carousel-control-next-icon{width:18px;height:18px;background-size:100%}
.panel.narrow{max-width:560px;margin:30px auto}
.article{max-width:820px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:8px;padding:30px}
.article h1{font-size:40px;margin:34px 0 34px}
.article-featured-image{width:100%;border-radius:8px;margin:0}
.article-body{margin-top:0}
.recent-post-card{display:flex;flex-direction:column;gap:12px}
.recent-post-card h3{margin:0}
.recent-post-card p{margin:0}
.recent-post-image{display:block;margin:-20px -20px 0}
.recent-post-image img{width:100%;height:120px;object-fit:cover;border-radius:8px 8px 0 0}
.prose{font-size:18px}
.form{display:grid;gap:14px}
.start-form{margin-top:22px}
.form.inline{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
label{display:grid;gap:6px;font-weight:700}
input,select,textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 12px;font:inherit;background:#fff}
.check{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:500}
.check input{width:auto}
table{width:100%;border-collapse:collapse;margin-top:18px;background:#fff;border:1px solid var(--line)}
th,td{text-align:left;border-bottom:1px solid var(--line);padding:11px}
th{background:#edf3f7;font-size:13px;text-transform:uppercase}
.stats div{display:grid}
.stats strong{font-size:34px}
.stats span,.muted{color:var(--muted)}
.line-items,.item-list{display:grid;gap:8px}
.line{display:grid;grid-template-columns:2fr .7fr 1fr 1fr;gap:8px}
pre{white-space:pre-wrap;background:#111827;color:#e5e7eb;padding:14px;border-radius:8px;overflow:auto}
.permissions{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.permissions fieldset{border:1px solid var(--line);border-radius:7px}
.start-modules{border:0;border-top:1px solid var(--line);padding:24px 0 0;margin:12px 0 0;display:grid;gap:12px}
.start-modules legend{font-size:20px;font-weight:800;margin:0;padding:0}
.start-modules p{margin:0}
.start-module-list{display:grid;gap:10px;margin-top:4px}
.start-module-card{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.start-module-card:hover,.start-module-card.selected{border-color:var(--brand-light);box-shadow:0 0 0 3px rgba(62,185,239,.16)}
.start-module-card.selected{background:#f3fbff}
.start-module-card input{width:auto}
.start-module-content{display:grid;gap:3px;font-weight:500}
.start-module-content strong{font-size:16px;color:var(--ink)}
.start-module-content span,.start-module-content small{color:var(--muted);font-weight:400}
.start-module-price{font-weight:800;color:var(--brand);white-space:nowrap;text-align:right}
.start-total{display:block;margin:12px 0 10px;font-size:18px}
.start-total span{color:var(--muted);font-size:14px;font-weight:600}
.filter{max-width:420px}
.editor-toolbar{display:flex;gap:8px;flex-wrap:wrap}
.editor-toolbar button{padding:8px 10px;background:#fff;color:var(--brand);border:1px solid var(--brand-light)}
.editor-toolbar button:hover,.editor-toolbar button:focus{background:var(--brand-light);border-color:var(--brand-light);color:#063E7F}
.wysiwyg{min-height:260px;border:1px solid var(--line);border-radius:7px;padding:14px;background:#fff}
.wysiwyg:focus{outline:2px solid rgba(62,185,239,.28)}
.image-preview{display:grid;gap:8px;max-width:360px}
.image-preview img{border:1px solid var(--line);border-radius:7px}
.page-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.actions-cell{display:flex;gap:12px;white-space:nowrap}
.posts-table th:nth-child(4),.posts-table td.date-cell{width:128px;white-space:nowrap}
.posts-table th:nth-child(5),.posts-table td.actions-cell{width:128px;min-width:128px;white-space:nowrap}
.invalid{border-color:#c62828!important}
.valid{border-color:#2e7d32!important}
.field-error{display:none;color:#c62828;font-size:13px;font-weight:700}
.field-help{font-size:13px;color:var(--muted);font-weight:600}
.field-ok{color:#2e7d32}
.field-error-inline{color:#c62828}
.subdomain-field{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
.subdomain-field input{border-radius:7px 0 0 7px}
.subdomain-suffix{display:flex;align-items:center;border:1px solid var(--line);border-left:0;border-radius:0 7px 7px 0;background:#edf3f7;color:var(--brand);font-weight:800;padding:10px 12px}
@media (max-width:860px){.sidebar{position:static;width:auto}.with-sidebar{margin-left:0}.hero,.features,.grid,.stats,.two{grid-template-columns:1fr}.hero{min-height:auto}.hero-logo{width:min(442px,78.2vw)}.hero h1{font-size:34px}.clients-slide{grid-template-columns:1fr}.start-module-card{grid-template-columns:auto 1fr}.start-module-price{grid-column:2;text-align:left}.line{grid-template-columns:1fr}.main{padding:22px 16px}.panel{overflow-x:auto;-webkit-overflow-scrolling:touch}.panel table{min-width:760px}.panel table th,.panel table td{white-space:nowrap}}
