/* PI's indigo workspace shares the control-center hierarchy and card rhythm. */
:root{--bg:#f4f6fb;--panel:#fff;--surface:#edf1fc;--text:#202b47;--muted:#65718a;--border:#e0e5ef;--blue:#4f46d5;--teal:#4f46d5;--mint:#edf0ff;--peach:#faf0e8;--ice:#eef4ff;--ink:#202b47;--shadow:0 2px 7px #182d3510;--card-shadow:0 2px 7px #182d3510;font-size:14px;line-height:1.5}
:root[data-theme=dark]{--bg:#101727;--panel:#192237;--surface:#232f49;--text:#edf1ff;--muted:#aab8d2;--border:#33415c;--blue:#a69cff;--teal:#a69cff;--mint:#242b4a;--peach:#342d3a;--ice:#1d304a;--ink:#edf1ff;--shadow:0 2px 8px #0002}
body{background:var(--bg);color:var(--text)}
.shell{display:block;max-width:none;min-height:100dvh;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:var(--bg)}
.sidebar{position:fixed;inset:0 auto 0 0;top:0;width:252px;height:100dvh;min-height:0;padding:27px 18px 18px;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;background:#1c2445;color:#fff;border:0;border-radius:0;box-shadow:none;overflow-y:auto;z-index:30}
.brand{padding:0 9px 20px;gap:12px;color:#fff;flex-shrink:0}.brand-title{font-size:18px;font-weight:650;letter-spacing:-.5px}.brandmark{clip-path:none;border-radius:9px;background:#8679f4;width:35px;height:35px;color:white;font-size:21px}.brand-sub{display:block;color:#afb5d3;font-size:9px;margin-top:5px}
.workspace-badge{display:flex;align-items:center;gap:10px;border:1px solid #414965;border-radius:8px;padding:12px 10px;font-size:12px;margin-bottom:10px}.workspace-badge small{display:block;font-size:10px;color:#b1b8d3;margin-top:2px}.workspace-badge>span:last-child{margin-left:auto;padding:2px 6px;border-radius:4px;background:#353d62;color:#d5d3ff;font-size:10px}.workspace-dot{width:7px;height:7px;border-radius:50%;background:#afa2ff;flex-shrink:0}
.nav,.nav.expanded{display:flex;flex-direction:column;align-items:stretch;gap:2px;margin:0;flex:0 0 auto}
.nav-group{font-size:9px;font-weight:700;letter-spacing:1.6px;color:#9fa8cb;margin:20px 12px 7px}
.nav .nav-extra,.nav.expanded .nav-extra{display:flex}
.nav-btn{display:flex;width:100%;white-space:normal;text-decoration:none;text-align:left;align-items:center;gap:10px;margin:1px 0;padding:10px 12px;min-height:39px;border:0;border-radius:7px;font-size:12px;font-weight:500;color:#c9cee3;background:transparent}
.nav-btn .symbol{display:grid;width:17px;color:#a7afd0;font-size:17px}.nav-btn:hover{color:#fff;background:#2a3458;transform:none;text-decoration:none}.nav-btn.active{color:#fff;background:#39416a;box-shadow:inset 3px 0 #afa2ff}.nav-btn.active:after,body[data-active-screen=dashboard] [data-screen=dashboard]:after{display:none}
.nav-toggle{display:none}.theme-toggle{margin-top:24px;border:1px solid #414965;color:#d4d8eb;border-radius:7px;background:transparent;text-align:left;padding:10px 12px;font-size:12px}.theme-toggle:hover{background:#2a3458}.sidebar-foot{display:block;border-top:1px solid #414965;background:transparent;padding:15px 8px 0;margin-top:20px;border-radius:0;color:#b1b8d3;box-shadow:none}.sidebar-foot strong{font-size:10px}.sidebar-foot p{font-size:10px;color:#9fa8cb}
.main{margin-left:252px;padding:0 34px 30px;min-width:0;max-width:none}
.topbar,body[data-active-screen=dashboard] .topbar{display:flex;min-height:92px;padding:20px 0;background:transparent;border:0;border-bottom:1px solid var(--border);border-radius:0;margin:0 0 25px;box-shadow:none}.topbar h1{font-size:26px;font-weight:650;letter-spacing:-.6px}.topbar p{font-size:12px;line-height:1.5;max-width:650px}.chip{font-size:10px;padding:5px 9px;border-radius:5px}
.screen.active{padding:0 0 30px;gap:20px}.panel{border:1px solid var(--border);border-radius:10px;padding:22px 24px;box-shadow:none}.panel h2{font-size:18px;font-weight:650;letter-spacing:-.3px}.panel h3{font-size:15px}.section-header p{font-size:12px}
.welcome-hero{min-height:125px;padding:10px 0;isolation:isolate}.welcome-hero h2{font-size:clamp(30px,3vw,42px);font-weight:650;letter-spacing:-1.2px;max-width:650px}.welcome-hero p{font-size:16px;max-width:620px}.coast-art{display:none}.explore-banner img,.story-action img{display:none}
.quick-search{border-radius:10px;padding:18px;box-shadow:none;gap:14px}.quick-search>label{font-size:11px}.quick-search input,.quick-search select{min-height:39px;font-size:13px;font-weight:500;border-radius:6px}.quick-search>.btn{border-radius:6px;min-height:44px;font-size:13px;padding:12px 16px}.btn,.btn.sm{border-radius:6px;font-size:12px;font-weight:600;padding:10px 14px;box-shadow:none}.btn.primary{background:#4f46d5;color:#fff;border:1px solid #4f46d5}.btn.secondary{color:var(--blue)}.btn:hover{box-shadow:none}
.explore-banner{min-height:90px;padding:20px 24px;gap:14px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.explore-banner strong{font-size:21px;font-weight:650;letter-spacing:-.4px}.explore-banner small{font-size:13px}.map-symbol{color:var(--blue);width:45px;font-size:34px}.banner-button{margin:0 0 0 auto;font-size:12px;border-radius:6px}
.home-plan-heading h2{font-size:23px;font-weight:650;letter-spacing:-.5px}.home-plan-heading p{font-size:12px}
.home-plan,.plan-card{border:1px solid var(--border);border-top:3px solid var(--brand-accent,var(--blue));border-radius:5px;padding:20px 18px;box-shadow:var(--card-shadow);gap:10px}.home-plan:hover{transform:translateY(-2px);box-shadow:0 6px 18px #182d3510}.home-plan .carrier-brand,.plan-card .carrier-brand{min-height:65px;justify-content:center}.carrier-brand img{max-height:65px;object-fit:contain}.home-plan h3,.compact-plans .plan-card h3{font-size:14px;font-weight:550;line-height:1.6;letter-spacing:-.15px;min-height:66px}.home-price,.compact-plans .plan-card .money{font-size:32px;font-weight:700;letter-spacing:-1px}.home-plan dl>div{font-size:12px;padding:11px 0}.home-plan dd{font-size:12px}.home-plan-footer .btn{font-size:11px;border-radius:6px}
.home-actions{gap:18px}.home-action,.story-action{border:1px solid var(--border);border-radius:9px;padding:21px 24px;min-height:100px;gap:16px}.home-action strong{font-size:20px;font-weight:650;letter-spacing:-.4px}.home-action small{font-size:12px}.action-symbol{font-size:38px;width:45px;color:#a06a42}
.field label{font-size:12px}.field input,.field select,.field textarea,.table-filter{border-radius:6px;font-size:13px;padding:10px 12px;min-height:39px}.field-grid{gap:16px}.field-row{gap:10px}.ga-integration{max-width:780px}.ga-integration .field{margin:18px 0}.ga-integration #gaMessage{margin-top:15px;font-size:13px;overflow-wrap:anywhere}
th{font-size:10px;font-weight:600;letter-spacing:.3px;padding:12px 16px}td{padding:13px 16px;font-size:12px}.table-wrap{border-radius:8px}.stat{border-radius:9px;box-shadow:none}.stat strong{font-size:29px;font-weight:650}
@media(min-width:1800px){.main{padding-left:48px;padding-right:48px}}
@media(max-width:1100px){.sidebar{width:218px;padding:24px 12px}.main{margin-left:218px;padding:0 22px 24px}.brand-title{font-size:16px}.home-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-search{grid-template-columns:1fr 1fr}.quick-search>.btn{grid-column:1/-1}.home-actions{grid-template-columns:1fr}.topbar .right{max-width:180px}}
@media(max-width:760px){.sidebar{position:relative;width:100%;height:auto;max-height:none;padding:18px;overflow:visible}.brand{padding-bottom:12px}.workspace-badge,.sidebar-foot,.nav-group{display:none}.nav,.nav.expanded{display:flex;flex-direction:row;flex-wrap:nowrap;overflow:auto;padding:6px 0 12px}.nav-btn,.nav .nav-extra{display:flex;flex:0 0 auto;width:auto;font-size:12px;white-space:nowrap}.nav .symbol{display:none}.theme-toggle{margin:6px 0 0;align-self:flex-start}.main{margin-left:0;padding:0 18px 24px}.topbar,body[data-active-screen=dashboard] .topbar{align-items:flex-start;gap:10px;min-height:0;padding:20px 0;margin-bottom:20px}.topbar h1{font-size:23px}.topbar .right{max-width:135px;justify-content:flex-end}.home-plan-grid{grid-template-columns:1fr}.welcome-hero h2{font-size:31px;max-width:none}.welcome-hero p{font-size:15px;max-width:none}.explore-banner{flex-wrap:wrap;padding:18px}.banner-button{margin:10px 0 0}.panel{padding:19px}.home-plan h3{min-height:0}.ga-integration .field-row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.screen.active,.home-plan{animation:none!important}.btn,.home-plan,.home-action,.explore-banner{transition:none!important;transform:none!important}}

.pi-access-dialog{width:min(95vw,480px);border:1px solid var(--line,#ccc);border-radius:18px;padding:28px;background:var(--panel,#fff);color:var(--text,#172a48)}.pi-access-dialog input{width:100%;padding:12px;margin:12px 0}.pi-access-dialog button{padding:10px 20px;margin:10px 10px 0 0}.pi-access-dialog::backdrop{background:#101a2d88}
