@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#101b2d;--navy2:#17253b;--ink:#182538;--muted:#738096;--line:#e8edf2;--bg:#f5f7fa;--white:#fff;--blue:#3478f6;--teal:#18a999;--purple:#7d69dc;--amber:#d99435;--shadow:0 8px 28px rgba(24,40,64,.055)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:254px;background:var(--navy);color:#e8eef8;display:flex;flex-direction:column;padding:23px 15px 16px;z-index:30}.brand-lockup{display:flex;align-items:center;gap:11px;padding:0 7px 18px}.brand-mark{width:39px;height:39px;background:linear-gradient(140deg,#53d6c0,#3696d9);color:#09223a;border-radius:12px;display:grid;place-items:center;font-family:Manrope;font-weight:800;font-size:16px;letter-spacing:-2px}.brand-mark span{color:#fff}.brand-name{font:800 14px Manrope;letter-spacing:-.3px}.brand-caption{font-size:8px;letter-spacing:1.55px;color:#8697b1;margin-top:4px}.sidebar-close{display:none;margin-left:auto}.environment-pill{margin:0 7px 24px;background:#1d3049;color:#a5bacf;border:1px solid #29415f;border-radius:20px;padding:7px 10px;font-size:9px;font-weight:700;letter-spacing:1.05px;width:max-content}.pulse{display:inline-block;width:6px;height:6px;background:#42cfad;border-radius:50%;margin-right:7px;box-shadow:0 0 0 3px #42cfad20}.main-nav{overflow:auto;scrollbar-width:thin;scrollbar-color:#30435d transparent}.nav-label{color:#71839e;font-weight:700;font-size:9px;letter-spacing:1.25px;padding:0 11px 8px}.nav-spaced{margin-top:22px}.nav-item{border:0;background:transparent;color:#aab8ca;width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:10px 11px;border-radius:9px;font-size:12px;margin:2px 0;transition:.18s}.nav-item:hover{background:#1b2c43;color:white}.nav-item.active{background:#263d5a;color:#fff;box-shadow:inset 3px 0 #4dd1bd}.nav-icon{width:17px;text-align:center;font-size:16px;color:#8ea4bf}.nav-item.active .nav-icon{color:#5bd6c2}.sidebar-bottom{margin-top:auto}.profile-chip{border-top:1px solid #26364c;padding:17px 5px 13px;display:flex;align-items:center;gap:9px}.avatar,.top-avatar{display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:700;background:#dce8ff;color:#335b9a;width:32px;height:32px}.profile-meta{display:grid;gap:3px;font-size:11px}.profile-meta span{font-size:10px;color:#8191a8}.profile-more{margin-left:auto;color:#8092aa}.sidebar-foot{font-size:9px;color:#8494aa;padding:0 5px;display:grid;gap:4px}.sidebar-foot span{font-size:8px;letter-spacing:1px;color:#596e89}.main-area{margin-left:254px;min-height:100vh}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:20}.breadcrumb{display:flex;gap:11px;align-items:center;color:#8793a4;font-size:12px}.breadcrumb i{font-style:normal;color:#c3cbd4}.breadcrumb b{color:#29384d;font-weight:700}.topbar-actions{display:flex;align-items:center;gap:18px}.global-search{height:36px;min-width:250px;border:1px solid #e7ebf0;background:#fbfcfd;display:flex;align-items:center;gap:9px;padding:0 10px;border-radius:8px;color:#8a96a7}.global-search input{border:0;outline:0;background:transparent;width:100%;font-size:11px;color:var(--ink)}.global-search kbd{font:9px 'DM Sans';white-space:nowrap;border:1px solid #e2e7ed;border-radius:4px;padding:2px 4px;color:#8b96a5}.icon-button{border:0;background:transparent;color:#6f7d90;font-size:19px;position:relative}.notification-dot{position:absolute;width:5px;height:5px;right:1px;top:1px;border-radius:50%;background:#ed9b53}.top-avatar{width:30px;height:30px}.mobile-menu{display:none}.content-wrap{padding:24px 34px 20px;max-width:1600px;margin:auto}.demo-alert{background:#fffaf0;border:1px solid #f1e1bf;border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:11px;margin-bottom:26px;color:#7c6030}.demo-alert .alert-icon{flex:0 0 20px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#f3e2bd;font-size:11px;font-weight:700}.demo-alert div{display:grid;gap:3px;flex:1}.demo-alert b{font-size:11px}.demo-alert span{font-size:10px;color:#967b4c}.demo-alert button{border:0;background:transparent;color:#a48a5a;font-size:17px}.page{display:none;animation:fade .2s ease}.page.active{display:block}@keyframes fade{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:none}}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:25px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.5px;color:#8c98a9;margin-bottom:9px}.page-heading h1{font:800 26px Manrope;margin:0;letter-spacing:-1px;color:#17263a}.page-heading p{color:#8290a2;font-size:12px;margin:7px 0 0}.heading-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.date-chip,.subtle-tag{font-size:9px;letter-spacing:.65px;font-weight:700;color:#77869a;background:#edf1f5;border-radius:6px;padding:8px 10px}.button{border:1px solid transparent;padding:9px 13px;border-radius:7px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.15s}.button:disabled{opacity:.45;cursor:not-allowed}.button-primary{background:#246fe7;color:#fff;box-shadow:0 4px 10px #246fe722}.button-primary:hover:not(:disabled){background:#185fcf}.button-secondary{background:#fff;border-color:#e3e8ef;color:#516176}.button-secondary:hover{border-color:#b8c7da}.button-outline{background:#fff;border-color:#dfe6ed;color:#5e6c7e}.text-button{border:0;background:transparent;color:#3478e8;font-weight:700;font-size:10px;padding:4px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(275px,.9fr);gap:19px}.overview-main,.overview-side{min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-head h2,.panel-card h2{font:700 14px Manrope;margin:0;color:#203047}.section-head p,.panel-card>p{margin:5px 0 0;color:#8995a5;font-size:10px}.section-head .subtle-tag{white-space:nowrap}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.metric-card,.panel-card{background:#fff;border:1px solid #edf0f4;border-radius:11px;box-shadow:var(--shadow)}.metric-card{padding:16px 16px 13px;min-height:125px}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#738196;font-size:10px;font-weight:600}.metric-icon{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;font-size:15px}.purple{background:#f0edff;color:#7968d6}.amber{background:#fff4e4;color:#c58b37}.blue{background:#eaf2ff;color:#3974d4}.green{background:#e5f8f2;color:#26a286}.metric-card strong{display:block;font:800 25px Manrope;letter-spacing:-1px;margin:9px 0 4px;color:#25364c}.metric-card small{font-size:9px;color:#95a0ae}.metric-foot{margin-top:10px}.status-neutral{display:inline-flex;font-size:9px;color:#8793a3;background:#f1f3f6;border-radius:5px;padding:5px 7px}.panel-card{padding:18px;margin-top:17px}.activity-card{min-height:230px}.empty-state{min-height:155px;border:1px dashed #e5eaf0;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;color:#8794a6}.empty-state b{color:#53647a;font-size:11px;margin:7px 0 4px}.empty-state span{font-size:10px;max-width:340px;line-height:1.6}.empty-symbol{width:34px;height:34px;border-radius:10px;background:#f3f6fa;display:grid;place-items:center;font-size:18px;color:#99a6b7}.empty-state.small{min-height:125px}.quick-card{margin-top:0}.quick-list{display:grid}.quick-list button{display:flex;align-items:center;gap:10px;padding:11px 2px;background:transparent;border:0;border-bottom:1px solid #f0f2f5;text-align:left}.quick-list button:last-child{border:0}.quick-icon{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;font-size:15px}.cyan{background:#e6f8f7;color:#20a69c}.violet{background:#f0edff;color:#7d69dc}.orange{background:#fff1e5;color:#d28c43}.quick-list b,.quick-list small{display:block}.quick-list b{font-size:10px;color:#34445a}.quick-list small{font-size:9px;color:#929eae;margin-top:3px}.quick-list button>span:nth-child(2){flex:1}.quick-list i{font-style:normal;color:#a1adbb}.system-card{margin-top:16px}.system-row{display:flex;justify-content:space-between;align-items:center;font-size:9px;padding:10px 0;border-bottom:1px solid #f0f2f5;color:#66758a}.system-row b{font-size:9px;font-weight:600;color:#a0aab7}.system-dot{width:6px;height:6px;border-radius:50%;display:inline-block;margin-right:6px}.system-dot.gray{background:#b5bec9}.full-width{width:100%;margin-top:13px}.main-footer{margin-top:35px;padding:16px 2px;border-top:1px solid #e8edf2;display:flex;justify-content:space-between;color:#9aa5b3;font-size:9px}.filter-note,.warning-note,.danger-note{padding:12px 14px;border-radius:8px;background:#f0f5ff;border:1px solid #dfeaff;color:#617693;font-size:10px;line-height:1.6;margin-bottom:17px}.warning-note{background:#fff8ed;border-color:#f4e5ca;color:#8d7045}.danger-note{background:#fff1f0;border-color:#f4d8d5;color:#9e625d}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.two-col>.panel-card{margin-top:0}.gap-top{margin-top:17px!important}.muted-copy{font-size:10px;color:#8995a5;line-height:1.6;margin:8px 0 15px}.input-control,.select-control{height:36px;border:1px solid #e0e6ed;border-radius:7px;background:#fff;color:#516176;padding:0 10px;font-size:10px;outline:none}.input-control:focus,.select-control:focus,.textarea-control:focus{border-color:#7ba8ee;box-shadow:0 0 0 3px #3478f615}.select-control{min-width:120px}.process-steps{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.step{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #e6eaf0;border-radius:7px;color:#8995a5;font-size:10px;background:#fff}.step i{font-style:normal;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#edf1f5;font-size:9px}.step.active{color:#376fca;border-color:#ccdcf7;background:#f7faff}.step.active i{background:#dceaff;color:#2864bf}.textarea-control{width:100%;min-height:155px;border:1px solid #e1e7ee;border-radius:8px;padding:12px;font:11px 'DM Sans';resize:vertical;outline:none}.form-footer{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.helper-text{font-size:9px;color:#8c98a8}.form-row{display:flex;gap:14px;margin-top:14px}.form-row label{display:grid;gap:6px;font-size:10px;color:#6e7d90;flex:1}.form-row .input-control,.form-row .select-control{width:100%}.preview-area{margin-top:15px;padding:14px;border:1px solid #d9eadf;background:#f5fbf7;border-radius:8px;color:#547360;font-size:10px;line-height:1.7}.preview-area.hidden{display:none}.preview-area strong{color:#2f7654}.search-panel label{display:block;font-size:10px;font-weight:700;color:#5d6d82;margin-bottom:8px}.search-row{display:flex;gap:9px}.input-control.large{height:42px;flex:1;font-size:12px}.helper-text{margin-top:8px}.upload-zone{border:1px dashed #cfd9e5;border-radius:10px;min-height:195px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:#fbfcfe}.upload-symbol{width:40px;height:40px;border-radius:11px;background:#eaf2ff;color:#3778e4;display:grid;place-items:center;font-size:22px;margin-bottom:10px}.upload-zone b{font-size:11px;color:#43546a}.upload-zone>span{font-size:9px;color:#8d99a8;margin:5px 0 12px;max-width:360px;line-height:1.5}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.integration-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e9edf2;border-radius:10px;padding:15px;min-width:0}.integration-logo{width:38px;height:38px;flex:0 0 38px;border-radius:10px;display:grid;place-items:center;font-size:19px}.integration-logo.sheets{background:#e8f6ed;color:#198754}.integration-logo.cloud{background:#eef3ff;color:#3974d4}.integration-logo.vps{background:#f2edff;color:#7b68d8}.integration-logo.wa{background:#e4f7ef;color:#239b70}.integration-content{flex:1;min-width:0}.integration-content h3{font:700 11px Manrope;margin:0 0 5px}.integration-content p{font-size:9px;color:#8995a5;line-height:1.45;margin:0 0 7px}.integration-card>.button{font-size:9px;padding:7px 9px}.source-list{margin-top:13px}.source-list div{padding:11px 0;border-top:1px solid #eff2f5;display:grid;gap:4px}.source-list b{font-size:10px;color:#53647a}.source-list span{font-size:9px;line-height:1.6;color:#8995a5}.role-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #eff2f5}.role-row div{display:grid;gap:4px}.role-row b{font-size:10px}.role-row span{font-size:9px;color:#8c98a7;line-height:1.5}.role-badge{border-radius:5px;padding:5px 7px!important;font-size:8px!important;font-weight:700;white-space:nowrap}.purple-badge{background:#f0edff;color:#7967d2!important}.blue-badge{background:#edf4ff;color:#3974d4!important}.green-badge{background:#e8f7f1;color:#218b6b!important}.gray-badge{background:#f0f2f5;color:#788597!important}.small-status{font:700 13px Manrope!important;letter-spacing:-.4px!important}.notification-button{font-size:17px}.hidden{display:none!important}.toast{position:fixed;bottom:22px;right:24px;background:#1b2a3f;color:#fff;padding:11px 15px;border-radius:8px;font-size:11px;box-shadow:0 8px 26px #11233b30;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none;z-index:80}.toast.show{opacity:1;transform:none}
@media(max-width:1150px){.content-wrap{padding:22px}.topbar{padding:0 22px}.overview-grid{grid-template-columns:1fr}.overview-side{display:grid;grid-template-columns:1fr 1fr;gap:14px}.quick-card,.system-card{margin-top:0}.metric-grid.compact{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .22s ease;box-shadow:14px 0 40px #0b172733}.sidebar.open{transform:translateX(0)}.sidebar-close,.mobile-menu{display:inline-flex}.main-area{margin-left:0}.topbar{height:60px;padding:0 15px}.breadcrumb{font-size:10px}.topbar-actions{gap:10px}.global-search{min-width:0;width:36px;border:0;background:transparent;padding:0}.global-search input,.global-search kbd{display:none}.global-search span{font-size:20px}.content-wrap{padding:17px 14px}.demo-alert{align-items:flex-start;padding:10px}.demo-alert span{line-height:1.5}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:19px}.page-heading h1{font-size:23px}.heading-tools{width:100%}.heading-tools>*{flex:1}.metric-grid{gap:9px}.metric-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{padding:13px;min-height:116px}.metric-card strong{font-size:23px}.overview-side{grid-template-columns:1fr}.two-col,.integration-grid{grid-template-columns:1fr}.two-col>.panel-card{margin-top:0}.form-row{flex-direction:column}.search-row{flex-direction:column}.main-footer{gap:8px;flex-direction:column}.section-head{align-items:flex-start}.section-head .subtle-tag{font-size:8px}.subtle-tag{white-space:normal}.notification-button{display:none}}

/* Authentication shell — v0.2.0 */
.app-shell.auth-hidden{display:none!important}
.auth-gate{position:fixed;inset:0;z-index:200;background:#f3f6fa;display:grid;place-items:center;padding:24px;overflow:auto;isolation:isolate}
.auth-gate.hidden{display:none!important}
.auth-orb{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none;z-index:-1}
.auth-orb-one{width:440px;height:440px;right:-130px;top:-180px;background:radial-gradient(circle,#d8e9ff 0%,#d8e9ff00 72%)}
.auth-orb-two{width:520px;height:520px;left:-220px;bottom:-260px;background:radial-gradient(circle,#d8f4ed 0%,#d8f4ed00 72%)}
.auth-panel{width:min(100%,440px);background:#fff;border:1px solid #e8edf3;border-radius:18px;padding:32px 34px 22px;box-shadow:0 24px 80px rgba(22,43,73,.11)}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:25px}
.auth-brand-name{font:800 15px Manrope;color:#15263c;letter-spacing:-.35px}
.auth-brand-caption{font-size:8px;letter-spacing:1.65px;color:#94a0ae;margin-top:4px;font-weight:700}
.auth-divider{height:1px;background:#edf1f5;margin-bottom:25px}
.auth-eyebrow{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#3478f6;margin-bottom:9px}
.auth-panel h1{font:800 25px Manrope;letter-spacing:-.9px;color:#17263a;margin:0}
.auth-panel>p{font-size:11px;line-height:1.7;color:#8290a2;margin:8px 0 20px}
.auth-form{display:grid;gap:13px;margin-top:18px}
.auth-form.hidden{display:none}
.auth-form label{display:grid;gap:7px;font-size:10px;font-weight:700;color:#53647a}
.auth-form input{height:42px;border:1px solid #dfe6ee;border-radius:8px;padding:0 12px;outline:0;color:#26384f;background:#fbfcfe;font-size:11px;transition:.15s}
.auth-form input:focus{border-color:#7ca9ed;box-shadow:0 0 0 3px #3478f616;background:white}
.auth-submit{height:43px;border:0;border-radius:8px;background:#246fe7;color:white;font-size:11px;font-weight:800;box-shadow:0 6px 14px #246fe722;margin-top:4px}
.auth-submit:hover{background:#185fcf}
.auth-submit:disabled{opacity:.55;cursor:wait}
.auth-notice,.auth-error{padding:10px 12px;border-radius:8px;font-size:10px;line-height:1.6;margin-top:14px}
.auth-notice{background:#eef7ff;border:1px solid #dcecff;color:#456888}
.auth-error{background:#fff1f0;border:1px solid #f3d9d6;color:#a04d49}
.auth-offline{display:grid;gap:7px;background:#fff8ed;border:1px solid #f3e3c7;border-radius:9px;padding:13px;margin-top:17px;color:#8a7047;font-size:10px;line-height:1.7}
.auth-offline span{color:#9b8259}
.auth-offline code{background:#f4ead7;padding:1px 4px;border-radius:4px;color:#7c6136}
.auth-footnote{font-size:9px!important;line-height:1.6!important;color:#8b98a7!important;margin:0!important}
.auth-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef1f5;margin-top:24px;padding-top:15px;color:#9aa5b3;font-size:8px;font-weight:700;letter-spacing:.45px}
.auth-bottom span:first-child{display:flex;align-items:center;gap:7px}
.auth-bottom i{width:6px;height:6px;border-radius:50%;background:#28b58b;box-shadow:0 0 0 3px #28b58b1c}
.profile-logout{margin-left:auto;border:1px solid #34455c;background:#1c2d44;color:#9aacc2;width:28px;height:28px;border-radius:7px;font-size:15px}
.profile-logout:hover{background:#2a405d;color:white}
@media(max-width:520px){.auth-gate{padding:14px}.auth-panel{padding:25px 21px 18px;border-radius:14px}.auth-panel h1{font-size:22px}}
.audit-list{display:grid;gap:0}.audit-row{display:flex;gap:11px;padding:12px 1px;border-bottom:1px solid #eef1f5;min-width:0}.audit-row:last-child{border-bottom:0}.audit-symbol{width:28px;height:28px;flex:0 0 28px;border-radius:8px;background:#f0f5fb;color:#6e88a8;display:grid;place-items:center}.audit-main{display:grid;gap:4px;min-width:0}.audit-main b{font-size:10px;color:#3e5066}.audit-main span,.audit-main small{font-size:9px;color:#8b98a8;line-height:1.45;overflow-wrap:anywhere}.audit-main small{color:#748297}
