
:root{--bg:#07101c;--panel:#0e1b2f;--panel-alt:#112039;--line:rgba(134,164,214,.16);--text:#eef5ff;--muted:#9db1d3;--accent:#4ca3ff;--green:#44d0a0;--amber:#f5bd62;--red:#ff8191;--radius:16px;color-scheme:dark}*{box-sizing:border-box}body{margin:0;color:var(--text);font:14px "Segoe UI","Helvetica Neue",Arial,sans-serif;background:radial-gradient(ellipse at 10% 0,rgba(76,163,255,.15),transparent 45%),#07101c;min-height:100vh}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:var(--accent);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #81c8ff;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}button{transition:background .15s,border-color .15s}button:hover{filter:brightness(1.12)}.page{max-width:1880px;margin:10px auto;padding:12px;border:1px solid var(--line);border-radius:25px;background:linear-gradient(160deg,rgba(16,30,51,.5),transparent 35%),#08111f;min-height:calc(100vh - 20px);width:calc(100% - 20px)}.toolbar{background:linear-gradient(180deg,#14233b,#101d32);border:1px solid var(--line);border-radius:16px;padding:12px 16px}.top-row,.sub-row,.topics,.account,.heading-actions,.panel-head,.table-tools,.dialog-head,.dialog-footer{display:flex;align-items:center;gap:10px}.top-row{padding-bottom:12px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;padding-right:22px;margin-right:8px;border-right:1px solid var(--line)}.brand img{width:124px;height:32px;object-fit:contain}.brand span{font-size:11px;font-weight:800;color:#9bc8ff;letter-spacing:1.5px;border:1px solid #345581;border-radius:5px;padding:4px 6px}.topics{flex:1}.topics button,.sub-row button,.secondary{background:linear-gradient(#142641,#0d1b30);border:1px solid #293d5b;border-radius:9px;padding:10px 15px;font-size:12px;font-weight:700;letter-spacing:.025em}.topics button.active,.sub-row button.active{background:linear-gradient(#285596,#1c3e75);border-color:#5cadff;color:white}.account{margin-left:auto;color:#c6d5ec;font-size:12px}.avatar{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#244669;color:#a9d6ff;font-size:12px;font-weight:700}.logout,.icon-button{background:none;border:1px solid var(--line);border-radius:8px;width:32px;height:32px;font-size:20px}.sub-row{padding-top:12px;justify-content:space-between}.sub-row nav{display:flex;gap:8px;flex-wrap:wrap}.sub-row button{padding:8px 14px;font-weight:500;font-size:13px;border-color:transparent;background:transparent;color:#aebfda}.sub-row button.active{border-color:#365982;background:#192f50;color:#e5f1ff}.prototype{display:flex;align-items:center;gap:7px;color:#89a5c9;font-size:10px;letter-spacing:1.2px;white-space:nowrap}.prototype i,.demo-dot,.offline-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#f5bd62}.prototype i{background:#6f9bc8}main#workspace{padding:28px 16px 18px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.eyebrow{color:#7f9cbe;font-size:10px;letter-spacing:1.7px;font-weight:700}.page-heading h1{font-size:29px;letter-spacing:-.8px;margin:9px 0}.page-heading p,.login-card>p{color:var(--muted);margin:0;font-size:13px}.primary{padding:11px 17px;border-radius:9px;border:1px solid #5aabff;background:linear-gradient(180deg,#408ce8,#2466bc);color:#fff;font-weight:650;font-size:13px;box-shadow:0 4px 16px #1276f222}.date-label{font-size:12px;color:#a9bad3;border:1px solid var(--line);border-radius:9px;padding:11px 14px}.demo-note{font-size:11px;color:#879fbe;display:flex;align-items:center;gap:8px;margin-bottom:22px}.demo-dot{background:#6b8caf;width:5px;height:5px;flex-shrink:0}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.kpi{position:relative;overflow:hidden;background:linear-gradient(120deg,#122239,#0e1b2e);border:1px solid var(--line);border-radius:14px;padding:18px 20px;min-height:135px}.kpi-label{display:flex;align-items:center;justify-content:space-between;color:#a9bedc;font-size:12px}.kpi-icon{font-size:17px;color:#6995ca}.kpi strong{font-size:30px;font-weight:650;letter-spacing:-.8px;display:block;margin:12px 0}.kpi strong small{font-size:15px;font-weight:400;color:var(--muted);letter-spacing:0}.kpi-foot{font-size:11px;color:#88a0bf}.positive{color:var(--green)}.kpi .spark{position:absolute;bottom:17px;right:16px;display:flex;align-items:end;gap:4px;height:26px;opacity:.65}.spark b{width:5px;background:#386aa6;border-radius:2px}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.panel{border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,#101e32,#0c192b);overflow:hidden;margin-bottom:18px}.panel-head{padding:18px 20px;justify-content:space-between;border-bottom:1px solid var(--line)}h2{font-size:15px;font-weight:650;margin:0}.panel-head p{font-size:11px;color:var(--muted);margin:6px 0 0}.text-button{background:none;border:0;color:#7abaff;font-size:12px;padding:5px}.pipeline{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px}.stage-label{font-size:11px;color:#a5bbd8;display:flex;justify-content:space-between;margin-bottom:11px}.stage-label span:last-child{color:#edf5ff}.stage-bar{height:5px;border-radius:4px;background:#1a2e47;overflow:hidden}.stage-bar i{display:block;height:100%;border-radius:4px}.stage-value{font-size:19px;font-weight:600;margin-top:12px}.stage-value small{font-size:11px;font-weight:400;color:var(--muted)}.stage-sub{color:#8099bb;font-size:10px;margin-top:5px}.table-tools{justify-content:space-between;padding:14px 20px}.search{display:flex;align-items:center;gap:8px;background:#091628;border:1px solid #243954;border-radius:8px;padding:0 11px;color:#6e8caf;min-width:250px}.search input{background:none;color:var(--text);padding:10px 0;border:0;outline:none;min-width:0;width:100%;font-size:12px}input::placeholder{color:#7089a9}.filter{background:#13223a;border:1px solid #2a405e;color:#b6cae3;padding:9px;border-radius:8px;font-size:12px;max-width:100%}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;color:#8ba1bf;letter-spacing:.6px;text-transform:uppercase;font-weight:600;padding:12px 20px;background:#0c192b;border-bottom:1px solid var(--line)}td{padding:15px 20px;border-bottom:1px solid rgba(134,164,214,.09);font-size:12px;color:#bdcee5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#172b442f}td strong{display:block;font-size:12px;color:#e8f1ff;font-weight:600}td small{display:block;margin-top:5px;font-size:10px;color:#7f98b9}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 8px;font-size:10px;border:1px solid currentColor;color:#8bc5ff;background:#235a9520}.badge.green{color:#58d5ae;background:#1d795d20}.badge.amber{color:#f0c179;background:#79552120}.badge.purple{color:#b5a1fa;background:#60469820}.badge.red{color:#fc96a3;background:#8c354320}.badge.gray{color:#97abc5;background:#53637e20}.table-bottom{padding:13px 20px;border-top:1px solid var(--line);font-size:11px;color:#7f98b9;display:flex;justify-content:space-between}.activities{padding:4px 20px}.activity{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}.activity:last-child{border-bottom:0}.activity-icon{width:31px;height:31px;border-radius:9px;flex-shrink:0;display:grid;place-items:center;background:#203b5d;color:#9bc9ff}.activity strong{font-size:12px;display:block;font-weight:500;line-height:1.5}.activity p{font-size:11px;color:#859dbc;margin:4px 0 0;line-height:1.5}.activity time{font-size:10px;color:#6c89ac;display:block;margin-top:6px}.task{display:flex;align-items:start;gap:10px;padding:13px 20px;border-bottom:1px solid var(--line);font-size:12px}.task:last-child{border:0}.task input{accent-color:#4ca3ff;width:15px;height:15px;margin:1px 0}.task small{display:block;color:#859dbc;font-size:10px;margin-top:5px}.task:has(input:checked) span{text-decoration:line-through;color:#7086a0}.side-callout{border:1px solid #2b496d;background:linear-gradient(130deg,#172c49,#0d1b2e);border-radius:14px;padding:19px}.side-callout p{font-size:12px;color:#9bb2d1;line-height:1.7;margin:9px 0 14px}.side-callout .eyebrow{color:#77a9e0}.kanban{display:grid;grid-template-columns:repeat(4,minmax(215px,1fr));gap:14px;overflow:auto}.kanban-col{background:#0c1829;border:1px solid var(--line);border-radius:12px;padding:14px;min-height:300px}.kanban-col h2{display:flex;justify-content:space-between;font-size:12px;margin:3px 0 17px}.deal{display:block;text-align:left;width:100%;background:#14253d;border:1px solid #2b405d;border-radius:10px;padding:16px;margin-bottom:12px}.deal strong{font-size:13px;display:block;line-height:1.6}.deal p{font-size:11px;color:#9bb2d1}.deal-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.deal-bottom b{font-size:13px;font-weight:600}.empty{padding:35px;text-align:center;color:#98b0cd}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.settings-card{padding:24px}.settings-card p{color:#9bb2d1;line-height:1.8;font-size:13px}.settings-card dl{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:12px}.settings-card dt{color:#829bbd}.settings-card dd{margin:0}footer{display:flex;justify-content:space-between;gap:12px;padding:18px 16px 8px;border-top:1px solid var(--line);color:#6f88a7;font-size:10px}footer b{color:#9eb8d9;font-weight:500}.footer-divider{margin:0 12px}.offline-dot{background:#64758d;margin:0 5px;width:5px;height:5px}dialog{border:1px solid #345276;border-radius:18px;background:#101f34;color:var(--text);padding:0;width:min(560px,calc(100% - 32px));box-shadow:0 30px 100px #0008;max-height:90dvh}dialog::backdrop{background:#030a16bf;backdrop-filter:blur(4px)}.dialog-head{justify-content:space-between;padding:24px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:22px;margin-top:9px}#dialog-fields{padding:22px 24px}#dialog-fields label{display:block;color:#a9bedc;font-size:12px;margin:0 0 16px}#dialog-fields input,#dialog-fields select,#dialog-fields textarea{display:block;width:100%;padding:11px;margin-top:8px;background:#091729;border:1px solid #304768;border-radius:8px;color:#edf5ff}#dialog-fields textarea{min-height:80px;resize:vertical}.dialog-footer{padding:18px 24px;border-top:1px solid var(--line);flex-wrap:wrap}.dialog-footer>span{font-size:10px;color:#8ba5c5;margin-right:auto}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:13px;margin-bottom:24px}.detail-grid small{display:block;color:#829bbb;margin-bottom:7px}.detail-note{font-size:12px;color:#9db1d3;line-height:1.8;background:#172b45;border:1px solid var(--line);border-radius:10px;padding:16px}.skip{position:fixed;top:-100px}.skip:focus{top:10px;left:20px;z-index:99;background:#16395c;padding:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 22px;border:1px solid #4671a1;border-radius:10px;background:#173354;color:#edf5ff;box-shadow:0 10px 30px #0006;opacity:0;pointer-events:none;transition:opacity .2s;z-index:100;font-size:13px;width:max-content;max-width:90vw}#toast.visible{opacity:1}.login-shell{max-width:1060px;min-height:100vh;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:80px;padding:48px}.login-brand>img{width:170px;display:block;margin-bottom:70px}.login-brand .eyebrow{display:block}.login-brand h1{font-size:42px;letter-spacing:-1.5px;line-height:1.25;margin:18px 0}.login-brand h1 span{color:#75b7ff}.login-brand p{color:#9db1d3;font-size:14px;line-height:1.9}.login-brand small{color:#64809f;font-size:11px}.login-lines{display:flex;gap:6px;margin:35px 0}.login-lines span{height:5px;width:70px;border-radius:3px;background:#478fe5}.login-lines span:nth-child(2){background:#315886;width:45px}.login-lines span:nth-child(3){background:#1b324e;width:25px}.login-card{padding:36px;border:1px solid #2c4464;border-radius:20px;background:linear-gradient(145deg,#172942,#0c192c);box-shadow:0 20px 60px #0004}.login-card h2{font-size:25px;margin:12px 0}.login-card>p{line-height:1.8}.login-card form{margin-top:28px}.login-card label{display:block;font-size:12px;color:#a9bedc;margin-bottom:9px}.login-card input:not([type=hidden]){width:100%;padding:12px;background:#091729;border:1px solid #304768;border-radius:8px;color:var(--text)}.login-card .primary{width:100%;display:flex;justify-content:space-between;margin-top:25px}.login-foot{display:block;color:#708bae;font-size:10px;margin-top:25px;text-align:center}.errorlist{color:#ff9aa8;padding-left:18px;font-size:12px;line-height:1.6}@media(min-width:1550px){main#workspace{padding:32px}.workspace-grid{grid-template-columns:minmax(0,1fr) 345px}.kpi{padding:22px}}@media(max-width:1150px){.account-name{display:none}.topics button{padding:10px}.brand{padding-right:12px;margin-right:0}.brand img{width:102px}.brand span{display:none}.workspace-grid{grid-template-columns:minmax(0,1fr) 270px}.pipeline{gap:8px;padding:16px}.stage-value{font-size:16px}td,th{padding-left:14px;padding-right:14px}.search{min-width:190px}}@media(max-width:900px){.workspace-grid{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sidebar .side-callout{grid-column:1/-1}.kpis{grid-template-columns:repeat(2,1fr)}.top-row{flex-wrap:wrap}.topics{order:3;flex-basis:100%;overflow:auto;padding-top:4px}.brand img{width:124px}.brand span{display:block}.login-shell{gap:35px;padding:30px}.login-brand h1{font-size:32px}.login-card{padding:24px}}@media(max-width:600px){.page{margin:5px;width:calc(100% - 10px);padding:7px;border-radius:18px}.toolbar{padding:12px}.topics{gap:6px}.topics button{font-size:10px;padding:10px 9px;white-space:nowrap}.sub-row{align-items:start}.sub-row nav{gap:3px}.sub-row button{font-size:11px;padding:8px}.prototype{font-size:8px;margin-top:11px;letter-spacing:.3px}.prototype i{display:none}main#workspace{padding:22px 5px 14px}.page-heading{align-items:start;flex-direction:column;margin-bottom:16px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px;line-height:1.7}.heading-actions{width:100%;justify-content:space-between}.demo-note{align-items:start;line-height:1.7;font-size:10px}.demo-dot{margin-top:6px}.kpis{gap:8px}.kpi{padding:14px;min-height:125px}.kpi strong{font-size:24px}.kpi-label{font-size:10px}.kpi .spark{display:none}.kpi-foot{font-size:10px}.pipeline{grid-template-columns:repeat(2,1fr);gap:23px}.panel-head{padding:16px}.panel-head h2{font-size:14px}.table-tools{padding:12px;gap:8px}.search{min-width:0;flex:1}.filter{max-width:140px;font-size:10px}.sidebar{display:block}.sidebar .side-callout{margin-bottom:15px}.settings-grid{grid-template-columns:1fr}footer{flex-direction:column;padding:15px 6px;font-size:9px}.kanban{grid-template-columns:repeat(4,245px)}.login-shell{display:block;padding:25px 20px}.login-brand>img{width:140px;margin-bottom:28px}.login-brand h1{font-size:29px}.login-brand p,.login-lines,.login-brand>small,.login-brand>.eyebrow{display:none}.login-brand{margin-bottom:28px}.login-card{padding:26px}.dialog-footer{padding:16px}.dialog-footer>span{flex-basis:100%;margin-bottom:5px}.detail-grid{gap:16px}}
/* Allow tables to scroll inside their panels without widening the page. */
.workspace-grid > *, .sidebar > *, .panel, .settings-grid > * { min-width: 0; }
@media (max-width: 900px) { .workspace-grid { grid-template-columns: minmax(0, 1fr); } }
