/* Website-design skins for the portal (styles-site-design-light-20261012.css): one block per design keyed on body[data-theme="site"][data-design="<slug>"].
   Light designs in this file: the-bill, ledger, poster, blueprint, monsoon. Colours, fonts and radius come from the
   runtime tokens (app-site-design-20261012.js); this file adds each design's surfaces, rules, type and motifs.
   Buttons, tabs and chips are prefixed with :is(#app,#modal) so they outrank the runtime's injected colour rules.
   Rail buttons use #app #sidebar so they also outrank this file's own :is(#app,#modal) button rules.
   Every text pair was checked at >= 4.5:1 through the full cascade (base CSS, both skin files, the runtime rules and
   inline tokens). Textures are CSS gradients or data: URIs only (CSP). Layout widths and grids are untouched. */

/* ══ THE BILL — thermal receipt on cream dotted paper · IBM Plex Mono + Inter Tight · stamp red · black rules ══ */
body[data-theme="site"][data-design="the-bill"]{--sheet:#fbfaf6;--ink-2:#4b473f;--rule:#c9c1ae;--red:#d12c2c;--red-deep:#a81f1f;--ledger:#191816;
  --shadow:6px 6px 0 #141414;--shadow-sm:3px 3px 0 #141414;--warn:#8a4b00;--err:#a81f1f;
  background-color:#f1eee6;background-image:radial-gradient(rgba(20,20,20,.085) 1px,transparent 1.3px);background-size:22px 22px;font-feature-settings:"tnum" 1;scrollbar-color:#6f6a60 transparent}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal){--grad:linear-gradient(#141414,#141414)}
body[data-theme="site"][data-design="the-bill"] ::selection{background:#d12c2c;color:#fff}
body[data-theme="site"][data-design="the-bill"] :focus-visible{outline:2px solid #d12c2c;outline-offset:3px;border-radius:2px}
body[data-theme="site"][data-design="the-bill"] :is(#sidebar,.mobile-tab-bar) :focus-visible{outline-color:#f1eee6}
body[data-theme="site"][data-design="the-bill"] :is(h1,h2,h3,h4,.view-head h2,.modal-card h3,.chart-title,.card>strong:first-child,.dash-card>strong:first-child){font-family:var(--font-head);font-weight:600;letter-spacing:-.02em}
body[data-theme="site"][data-design="the-bill"] .view-head{padding-bottom:18px;border-bottom:0;background:radial-gradient(circle,rgba(20,20,20,.5) 2px,transparent 2.6px) 0 100%/14px 10px repeat-x}
body[data-theme="site"][data-design="the-bill"] .view-head h2{font-size:20px;letter-spacing:-.03em}

/* rail: the dark ledger band, torn receipt edge on the seam */
body[data-theme="site"][data-design="the-bill"] #sidebar{background:#191816;border-right:0;--txt:#f1eee6;--muted:#b4ada0;--line:rgba(241,238,230,.22);--panel2:#2a2825;font-family:var(--font-head);scrollbar-color:#6f6a60 transparent}
body[data-theme="site"][data-design="the-bill"] #sidebarResizer{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='12'%3E%3Cpath d='M0 0L6 6L0 12z' fill='%23191816'/%3E%3C/svg%3E") 0 0/6px 12px repeat-y}
body[data-theme="site"][data-design="the-bill"] #sidebarResizer:hover{background-color:#d12c2c}
body[data-theme="site"][data-design="the-bill"] #sidebar .brand::after{content:"";display:block;width:120px;height:18px;margin-top:2px;background:repeating-linear-gradient(90deg,#f1eee6 0 2px,transparent 2px 4px,#f1eee6 4px 5px,transparent 5px 8px,#f1eee6 8px 11px,transparent 11px 12px,#f1eee6 12px 13px,transparent 13px 15px);opacity:.8}
body[data-theme="site"][data-design="the-bill"] #sidebar .brand .brand-logo{border-radius:3px;box-shadow:4px 4px 0 #d12c2c}
body[data-theme="site"][data-design="the-bill"] #sidebar .brand-sub{font-family:var(--font-head);letter-spacing:.18em;color:#f1eee6}
body[data-theme="site"][data-design="the-bill"] #sidebar .nav-group-label{flex-shrink:0;opacity:1;color:#b4ada0;font-family:var(--font-head);font-weight:500;letter-spacing:.06em;margin-top:6px;border-top:1px dashed rgba(241,238,230,.28);padding-top:10px}
body[data-theme="site"][data-design="the-bill"].sidebar-collapsed #sidebar .nav-group-label{font-size:0;padding:0;margin:6px 4px 4px}
body[data-theme="site"][data-design="the-bill"] #sidebar .nav-item{border-radius:3px;color:#e4dfd3;font-family:var(--font-head);font-size:12.5px;min-height:44px}
body[data-theme="site"][data-design="the-bill"] #sidebar .nav-item:hover{background:#2a2825;color:#fff}
body[data-theme="site"][data-design="the-bill"] #sidebar .nav-item.active{background:#d12c2c;color:#fff;font-weight:600;box-shadow:inset 3px 0 0 #fff}
body[data-theme="site"][data-design="the-bill"] #sidebar .badge{background:transparent;color:#ff8f86;border:1.5px solid #ff8f86;border-radius:2px;font-family:var(--font-head);font-weight:700;transform:rotate(-4deg)}
body[data-theme="site"][data-design="the-bill"] #sidebar .nav-item.active .badge{color:#fff;border-color:#fff}
body[data-theme="site"][data-design="the-bill"] #sidebar .status{font-family:var(--font-head);color:#b4ada0;border-top:1px dashed rgba(241,238,230,.28)}
body[data-theme="site"][data-design="the-bill"] #sidebar .status.ok{color:#9fd8a8}
body[data-theme="site"][data-design="the-bill"] #sidebar .status.bad{color:#ff8f86}
body[data-theme="site"][data-design="the-bill"] #sidebar .session-chip{background:#23211e;border:1px dashed rgba(241,238,230,.35);border-radius:3px}
body[data-theme="site"][data-design="the-bill"] #app #sidebar button.btn.ghost{background:transparent;color:#f1eee6;border:1.5px solid rgba(241,238,230,.6);border-radius:3px}
body[data-theme="site"][data-design="the-bill"] #app #sidebar button.btn.ghost:hover{background:#f1eee6;color:#141414}
body[data-theme="site"][data-design="the-bill"] #sidebarCollapse,body[data-theme="site"][data-design="the-bill"] #sidebarReveal{border-radius:3px}

/* receipt slips: sheet, thermal lines, 1.5px ink rule, 6px hard shadow */
body[data-theme="site"][data-design="the-bill"] :is(.card,.kpi,.kpi-card,.chart-wrap,.solar-result-card,.modal-card,.fb-gallery,.fb-ai-panel){background-color:#fbfaf6;background-image:repeating-linear-gradient(0deg,rgba(20,20,20,.022) 0 1px,transparent 1px 3px);border:1.5px solid #141414;border-radius:3px;box-shadow:6px 6px 0 #141414}
body[data-theme="site"][data-design="the-bill"] :is(.kanban-card,.flow-node,.preset-card,.fb-gallery-card,.solar-finance-card,.imp-method,.qr-pick,.recip-box,.drill-list,.ac-box,.flow-action-box){background-color:#fbfaf6;border:1px solid #141414;border-radius:3px;box-shadow:3px 3px 0 #141414}
body[data-theme="site"][data-design="the-bill"] :is(.kanban-col,.sla-stat,.flow-stat-box,.note,.tmpl-preview,.cinfo){background-color:#f1eee6;border-color:#141414;border-radius:3px}
body[data-theme="site"][data-design="the-bill"] .kanban-col{border:1px dashed #141414}
body[data-theme="site"][data-design="the-bill"] :is(.card,.modal-card) .card{background-image:none;box-shadow:none}
body[data-theme="site"][data-design="the-bill"] .card>strong:first-child{display:block;padding-bottom:8px;margin-bottom:10px;border-bottom:1.5px solid #141414}
body[data-theme="site"][data-design="the-bill"] .kpi-val{font-family:var(--font-head);font-weight:700;letter-spacing:-.03em;color:#141414;font-variant-numeric:tabular-nums}
body[data-theme="site"][data-design="the-bill"] :is(.kpi-lbl,.kpi-label,.chart-title,.solar-finance-label,.sla-stat-label,.flow-stat-label){font-family:var(--font-head);color:#5e5a52}
body[data-theme="site"][data-design="the-bill"] :is(.solar-finance-val,.sla-stat-val,.flow-stat-val,.funnel-n,.src-n){font-family:var(--font-head);font-variant-numeric:tabular-nums}
body[data-theme="site"][data-design="the-bill"] :is(.sol-row,.solar-result-row,.ctwa-stat-row,.agent-row,.timeline-item,.attr-row){border-bottom:1px dotted var(--rule)}
body[data-theme="site"][data-design="the-bill"] :is(.funnel-bar,.chart-bar-fill,.src-bar,.heat-cell,.funnel-track,.src-track,.chart-bar-track,.funnel-track2){border-radius:0}
body[data-theme="site"][data-design="the-bill"] :is(.funnel-bar,.chart-bar-fill){background:#141414}
body[data-theme="site"][data-design="the-bill"] :is(.chart-bar-fill.out,.chart-col .bar.out){background:#d12c2c}
body[data-theme="site"][data-design="the-bill"] :is(.chart-col .bar.in,.src-bar,.heat-cell){background:#141414}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .funnel-bar{color:#fff;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] :is(.kpi-up,.funnel-conv.ok){color:#1f6b38}
body[data-theme="site"][data-design="the-bill"] :is(.kpi-dn,.funnel-conv.warn){color:#a81f1f}
/* danger zone: a voided line, red dashes */
body[data-theme="site"][data-design="the-bill"] .settings-danger{background:#fbfaf6;border:1.5px dashed #a81f1f;border-radius:3px}
body[data-theme="site"][data-design="the-bill"] .settings-danger-title{color:#a81f1f;font-family:var(--font-head);letter-spacing:.08em;text-transform:uppercase}
/* agent flow diagram: ink start, a dashed blank for the end, voided (dashed) rules when off */
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .flow-start{background:#141414;color:#fff;border-radius:3px;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .flow-end{background:transparent;color:#141414;border:1.5px dashed #141414;border-radius:3px;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .flow-num{background:#141414;color:#fff;border-radius:2px;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] .flow-node.off{opacity:1;border-style:dashed;box-shadow:none;color:#5e5a52}

/* buttons, inputs, tabs, chips */
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) button.btn{background:#141414;color:#fff;border:1.5px solid #141414;border-radius:3px;font-family:var(--font-head);font-weight:600;min-height:36px}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) button.btn:hover{background:#d12c2c;border-color:#d12c2c;color:#fff}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) button.btn.ghost{background:transparent;color:#141414}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) button.btn.ghost:hover{background:#141414;border-color:#141414;color:#fff}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(.fb-del,.settings-danger){border-radius:3px}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .fb-del{color:#a81f1f;border:1.5px solid #a81f1f;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .fb-del:hover{background:#a81f1f;color:#fff}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(.fb-new,.fb-save,.fb-ai-cta,.fb-ai-build){border-radius:3px;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) select.mini.ai-mode-sel.is-off:not([multiple]){color:#a81f1f;border-color:#a81f1f}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){background:#fff;color:#141414;border:1.5px solid #141414;border-radius:3px}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(input,select,textarea):focus{outline:none;border-color:#d12c2c;box-shadow:3px 3px 0 #d12c2c}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) ::placeholder{color:#6f6a60}
body[data-theme="site"][data-design="the-bill"] label:not([class]){font-family:var(--font-head);color:#4b473f}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .tabs{background:transparent;border:1.5px solid #141414;border-radius:3px;padding:2px}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .tab{border-radius:2px;font-family:var(--font-head);color:#4b473f}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .tab.active{background:#141414;color:#fff;box-shadow:none}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(.solar-tab,.settings-tab){font-family:var(--font-head);color:#4b473f}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(.solar-tab,.settings-tab).active{color:#a81f1f;border-bottom-color:#d12c2c}
body[data-theme="site"][data-design="the-bill"] :is(.solar-tab-bar,.settings-tabs){border-bottom:2px solid #141414}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(.tf-chip,.leads-view-toggle button,.dash-period-bar button){border:1px solid #141414;border-radius:2px;background:transparent;color:#141414;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(.tf-chip.active,.leads-view-toggle button.active,.dash-period-bar button.active){background:#141414;border-color:#141414;color:#fff}

/* tables: column heads on a black rule, dotted line items */
body[data-theme="site"][data-design="the-bill"] th{font-family:var(--font-head);font-weight:500;font-size:11.5px;color:#5e5a52;background:transparent;border-bottom:1.5px solid #141414}
body[data-theme="site"][data-design="the-bill"] td{border-bottom:1px dotted var(--rule);font-variant-numeric:tabular-nums}
body[data-theme="site"][data-design="the-bill"] tr.clickable:hover td{background:#f1eee6}

/* badges: rubber stamps */
body[data-theme="site"][data-design="the-bill"] :is(.pill,.role-pill,.proposal-status,.project-stage-badge,.badge-hot,.badge-warm,.badge-cold,.badge-won,.badge-lost,.confirm-chip,.kanban-col-count){background:transparent;border:1.5px solid currentColor;border-radius:2px;font-family:var(--font-head);font-weight:600;color:#141414}
body[data-theme="site"][data-design="the-bill"] :is(.pill.APPROVED,.pill.read,.pill.delivered,.badge-won,.proposal-status.viewed,.project-stage-badge.approved,.project-stage-badge.commissioned,.confirm-chip){color:#1f6b38}
body[data-theme="site"][data-design="the-bill"] :is(.pill.REJECTED,.pill.failed,.badge-hot,.badge-lost){color:#a81f1f;transform:rotate(-2deg)}
body[data-theme="site"][data-design="the-bill"] :is(.pill.PENDING,.badge-warm,.proposal-status.draft,.project-stage-badge.survey){color:#8a4b00}
body[data-theme="site"][data-design="the-bill"] :is(.pill.sent,.pill.queued,.badge-cold,.proposal-status.sent,.proposal-status.signed,.project-stage-badge.design,.project-stage-badge.installed){color:#4b473f}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .role-pill.admin{color:#a81f1f;background:transparent;border-color:#d12c2c}
body[data-theme="site"][data-design="the-bill"] #sidebar .role-pill{color:#f1eee6}
body[data-theme="site"][data-design="the-bill"] #sidebar .role-pill.admin{color:#ff8f86;border-color:#ff8f86}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) :is(.unread-count,.thread.active .unread-count){background:#d12c2c;color:#fff;border-radius:2px}
body[data-theme="site"][data-design="the-bill"] :is(#app,#modal) .inbox-avatar{border-radius:3px;background:#141414;color:#fff;font-family:var(--font-head)}

/* inbox: paper slips on the dotted roll */
body[data-theme="site"][data-design="the-bill"] .threads,body[data-theme="site"][data-design="the-bill"] .threads-col{background:#fbfaf6}
body[data-theme="site"][data-design="the-bill"] .thread{border-bottom:1px dashed var(--rule)}
body[data-theme="site"][data-design="the-bill"] .thread.active{background:#f1eee6;box-shadow:inset 3px 0 0 #d12c2c}
body[data-theme="site"][data-design="the-bill"] .thread .thread-time{font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] .convo-msgs{background-color:#f1eee6;background-image:radial-gradient(rgba(20,20,20,.085) 1px,transparent 1.3px);background-size:22px 22px}
body[data-theme="site"][data-design="the-bill"] .msg{border-radius:3px;color:#141414}
body[data-theme="site"][data-design="the-bill"] .msg.in{background:#fff;border:1px solid #141414}
body[data-theme="site"][data-design="the-bill"] .msg.out{background:#fbfaf6;border:1.5px solid #141414;box-shadow:3px 3px 0 #d12c2c}
body[data-theme="site"][data-design="the-bill"] .msg .meta{font-family:var(--font-head);color:#5e5a52}
body[data-theme="site"][data-design="the-bill"] :is(.composer,.tmpl-bar,.convo-head,.inbox-thread-header){background:#fbfaf6;border-color:#141414}
body[data-theme="site"][data-design="the-bill"] #toast .toast{background:#fbfaf6;color:#141414;border:1.5px solid #141414;border-left:4px solid #141414;border-radius:3px;box-shadow:4px 4px 0 #141414;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] #toast .toast.err{border-left-color:#d12c2c;box-shadow:4px 4px 0 #d12c2c}
body[data-theme="site"][data-design="the-bill"] #modal{background:rgba(25,24,22,.62)}
body[data-theme="site"][data-design="the-bill"] .mobile-tab-bar{background:#191816;border-top:0}
body[data-theme="site"][data-design="the-bill"] :is(#app) .mobile-tab-btn{color:#e4dfd3;font-family:var(--font-head);min-height:44px}
body[data-theme="site"][data-design="the-bill"] :is(#app) .mobile-tab-btn.active{color:#ff8f86}

/* sign-in: a receipt slip on the dotted paper */
body[data-theme="site"][data-design="the-bill"] #authGate{background:#f1eee6 radial-gradient(rgba(20,20,20,.085) 1px,transparent 1.3px) 0 0/22px 22px}
body[data-theme="site"][data-design="the-bill"] #authGate::before,body[data-theme="site"][data-design="the-bill"] #authGate::after{content:none}
body[data-theme="site"][data-design="the-bill"] #authGate .auth-card{border-radius:0;border:0;padding:34px 28px 44px;-webkit-backdrop-filter:none;backdrop-filter:none;font-family:var(--font-head);color:#141414;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8'%3E%3Cpath d='M0 0h16L8 8z' fill='%23f1eee6'/%3E%3C/svg%3E") 0 0/16px 8px repeat-x,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8'%3E%3Cpath d='M0 8h16L8 0z' fill='%23f1eee6'/%3E%3C/svg%3E") 0 100%/16px 8px repeat-x,repeating-linear-gradient(0deg,rgba(20,20,20,.022) 0 1px,transparent 1px 3px),#fbfaf6;
  box-shadow:0 46px 70px -42px rgba(20,20,20,.5),0 14px 26px -18px rgba(20,20,20,.25)}
body[data-theme="site"][data-design="the-bill"] #authGate .auth-card::before{content:"";left:28px;right:28px;top:auto;bottom:22px;height:1px;background:none;border-top:1.5px dashed #6f6a60}
body[data-theme="site"][data-design="the-bill"] #authGate .auth-logo{padding-bottom:14px;border-bottom:1.5px solid #141414}
body[data-theme="site"][data-design="the-bill"] #authGate .auth-logo-img{border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="the-bill"] #authGate .auth-eyebrow{color:#a81f1f;font-family:var(--font-head);letter-spacing:.24em}
body[data-theme="site"][data-design="the-bill"] #authGate .auth-title{color:#141414;font-family:var(--font-head);font-weight:600;letter-spacing:-.03em;font-size:22px}
body[data-theme="site"][data-design="the-bill"] #authGate .auth-help{color:#4b473f;font-family:var(--font-body)}
body[data-theme="site"][data-design="the-bill"] #authGate input{background:#fff;color:#141414;border:1.5px solid #141414;border-radius:3px;font-family:var(--font-head)}
body[data-theme="site"][data-design="the-bill"] #authGate input::placeholder{color:#6f6a60}
body[data-theme="site"][data-design="the-bill"] #authGate input:focus{background:#fff;border-color:#d12c2c;box-shadow:3px 3px 0 #d12c2c}
body[data-theme="site"][data-design="the-bill"] #authGate .pw-eye{color:#4b473f}
body[data-theme="site"][data-design="the-bill"] #authGate .auth-msg{color:#a81f1f}
body[data-theme="site"][data-design="the-bill"] #authGate .btn.auth-submit{background:#141414;color:#fff;border-radius:3px;font-family:var(--font-head);font-weight:600;box-shadow:4px 4px 0 #d12c2c;min-height:48px}
body[data-theme="site"][data-design="the-bill"] #authGate .btn.auth-submit:hover{background:#d12c2c;filter:none;box-shadow:4px 4px 0 #141414}
body[data-theme="site"][data-design="the-bill"] #authGate .btn.auth-submit::after{content:none}

/* ══ LEDGER — Swiss finance · white, black 1px rules, Schibsted Grotesk + Inter tabular numerals · green only for money · zero radius, no shadows ══ */
body[data-theme="site"][data-design="ledger"]{--hair:rgba(10,10,10,.14);--profit:#00a651;--profit-ink:#00813f;--shadow:none;--shadow-sm:none;--warn:#8a5a00;--err:#000;
  background-color:#fff;background-image:linear-gradient(90deg,rgba(10,10,10,.045) 1px,transparent 1px);background-size:calc(100% / 12) 100%;font-feature-settings:"tnum" 1;font-kerning:normal;scrollbar-color:#5c5c5c transparent}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal){--grad:linear-gradient(#000,#000)}
body[data-theme="site"][data-design="ledger"] ::selection{background:#000;color:#fff}
body[data-theme="site"][data-design="ledger"] :focus-visible{outline:2px solid #000;outline-offset:3px;border-radius:0}
body[data-theme="site"][data-design="ledger"] :is(#sidebar,.mobile-tab-bar) :focus-visible{outline-color:#fff}
body[data-theme="site"][data-design="ledger"] :is(h1,h2,h3,h4,.view-head h2,.modal-card h3,.chart-title){font-family:var(--font-head);font-weight:600;letter-spacing:-.025em}
body[data-theme="site"][data-design="ledger"] .view-head{border-bottom:2px solid #000;background:#fff}
body[data-theme="site"][data-design="ledger"] .view-head h2{font-size:22px;letter-spacing:-.035em}

/* rail: black column, white figures, inverse active row */
body[data-theme="site"][data-design="ledger"] #sidebar{background:#0a0a0a;border-right:0;--txt:#fff;--muted:#a3a3a3;--line:rgba(255,255,255,.18);--panel2:#1f1f1f;scrollbar-color:#5c5c5c transparent}
body[data-theme="site"][data-design="ledger"] #sidebar .brand .brand-logo{border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="ledger"] #sidebar .brand{border-bottom:3px double rgba(255,255,255,.9);margin-bottom:8px}
body[data-theme="site"][data-design="ledger"] #sidebar .brand-sub{color:#fff;font-weight:500;letter-spacing:.12em}
body[data-theme="site"][data-design="ledger"] #sidebar .nav-group-label{flex-shrink:0;opacity:1;color:#a3a3a3;font-size:10.5px;font-weight:500;letter-spacing:.08em;border-top:1px solid rgba(255,255,255,.9);margin-top:8px;padding:8px 12px 4px}
body[data-theme="site"][data-design="ledger"].sidebar-collapsed #sidebar .nav-group-label{font-size:0;padding:0;margin:8px 4px 4px}
body[data-theme="site"][data-design="ledger"] #sidebar .nav-item{border-radius:0;color:#e6e6e6;font-family:var(--font-head);font-weight:500;min-height:44px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:0}
body[data-theme="site"][data-design="ledger"] #sidebar .nav-item:hover{background:#1f1f1f;color:#fff;text-decoration:underline;text-underline-offset:5px}
body[data-theme="site"][data-design="ledger"] #sidebar .nav-item.active{background:#fff;color:#000;font-weight:600;box-shadow:none;text-decoration:none}
body[data-theme="site"][data-design="ledger"] #sidebar .badge{background:#fff;color:#000;border-radius:0;font-weight:600}
body[data-theme="site"][data-design="ledger"] #sidebar .nav-item.active .badge{background:#000;color:#fff}
body[data-theme="site"][data-design="ledger"] #sidebar .status{color:#a3a3a3;border-top:1px solid rgba(255,255,255,.9)}
body[data-theme="site"][data-design="ledger"] #sidebar .status.ok{color:#00c565}
body[data-theme="site"][data-design="ledger"] #sidebar .status.bad{color:#fff;text-decoration:line-through}
body[data-theme="site"][data-design="ledger"] #sidebar .session-chip{background:transparent;border:1px solid rgba(255,255,255,.9);border-radius:0}
body[data-theme="site"][data-design="ledger"] #app #sidebar button.btn.ghost{background:transparent;color:#fff;border:1px solid #fff;border-radius:0}
body[data-theme="site"][data-design="ledger"] #app #sidebar button.btn.ghost:hover{background:#fff;color:#000}
body[data-theme="site"][data-design="ledger"] :is(#sidebarCollapse,#sidebarReveal){border-radius:0}
body[data-theme="site"][data-design="ledger"] #sidebarResizer:hover{background:#000}

/* statements: ruled sections, no boxes, no shadows */
body[data-theme="site"][data-design="ledger"] :is(.card,.chart-wrap,.solar-result-card,.fb-gallery,.fb-ai-panel){background:#fff;border:0;border-top:2px solid #000;border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="ledger"] .modal-card{background:#fff;border:1px solid #000;border-top:4px solid #000;border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="ledger"] :is(.kpi,.kpi-card){background:#fff;border:0;border-top:1px solid #000;border-bottom:1px solid var(--hair);border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="ledger"] :is(.kanban-card,.flow-node,.preset-card,.fb-gallery-card,.solar-finance-card,.imp-method,.qr-pick,.recip-box,.drill-list,.ac-box,.flow-action-box){background:#fff;border:1px solid #000;border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="ledger"] :is(.kanban-col,.sla-stat,.flow-stat-box,.note,.tmpl-preview,.cinfo){background:#f4f4f4;border-color:#000;border-radius:0}
body[data-theme="site"][data-design="ledger"] .kanban-card:hover{transform:none;box-shadow:inset 0 0 0 1px #000}
body[data-theme="site"][data-design="ledger"] .card>strong:first-child{display:block;font-size:11.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#5c5c5c;margin-bottom:10px}
body[data-theme="site"][data-design="ledger"] .kpi-val{font-family:var(--font-head);font-weight:600;letter-spacing:-.045em;color:#000;font-variant-numeric:tabular-nums;line-height:1}
body[data-theme="site"][data-design="ledger"] :is(.kpi-lbl,.kpi-label,.solar-finance-label,.sla-stat-label,.flow-stat-label,.kanban-col-head){font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#5c5c5c}
body[data-theme="site"][data-design="ledger"] :is(.solar-finance-val,.sla-stat-val,.flow-stat-val,.funnel-n,.src-n,.kpi-sub){font-variant-numeric:tabular-nums}
body[data-theme="site"][data-design="ledger"] :is(.sol-row,.solar-result-row,.ctwa-stat-row,.agent-row,.timeline-item,.drill-row,.ac-item){border-bottom:1px solid var(--hair)}
body[data-theme="site"][data-design="ledger"] .solar-result-row:last-child{border-bottom:3px double #000}
body[data-theme="site"][data-design="ledger"] :is(.funnel-bar,.chart-bar-fill,.src-bar,.heat-cell,.funnel-track,.src-track,.chart-bar-track,.funnel-track2,.chart-col .bar){border-radius:0}
body[data-theme="site"][data-design="ledger"] :is(.funnel-bar,.chart-bar-fill,.chart-col .bar.in,.src-bar,.heat-cell){background:#000}
body[data-theme="site"][data-design="ledger"] :is(.chart-bar-fill.out,.chart-col .bar.out){background:repeating-linear-gradient(135deg,#000 0 1px,#fff 1px 4px);box-shadow:inset 0 0 0 1px #000}
body[data-theme="site"][data-design="ledger"] :is(.kpi-up,.funnel-conv.ok){color:#00813f}
body[data-theme="site"][data-design="ledger"] :is(.kpi-dn,.funnel-conv.warn){color:#000}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .funnel-bar{color:#fff;font-variant-numeric:tabular-nums}
/* danger zone: a closing statement, black rules only */
body[data-theme="site"][data-design="ledger"] .settings-danger{background:#fff;border:1px solid #000;border-top:4px solid #000;border-radius:0}
body[data-theme="site"][data-design="ledger"] .settings-danger-title{color:#000;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
/* agent flow diagram: black entry, ruled exit, dashed rules when off */
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .flow-start{background:#000;color:#fff;border-radius:0}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .flow-end{background:#fff;color:#000;border:1px solid #000;border-radius:0}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .flow-num{background:#000;color:#fff;border-radius:0;font-variant-numeric:tabular-nums}
body[data-theme="site"][data-design="ledger"] .flow-node.off{opacity:1;border-style:dashed;color:#5c5c5c}
body[data-theme="site"][data-design="ledger"] .fb-root[data-fb-skin="classic"] .fb-node.fb-ai .fb-node-head{color:#000}

/* buttons, inputs, tabs, chips */
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) button.btn{background:#000;color:#fff;border:1px solid #000;border-radius:0;font-family:var(--font-head);font-weight:500;min-height:36px}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) button.btn:hover{background:#2b2b2b;border-color:#2b2b2b;color:#fff}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) button.btn.ghost{background:transparent;color:#000}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) button.btn.ghost:hover{background:#000;color:#fff}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(.fb-del,.settings-danger){border-radius:0}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .fb-del{color:#000;border:1px solid #000}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .fb-del:hover{background:#000;color:#fff}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(.fb-new,.fb-save,.fb-ai-cta,.fb-ai-build){border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) select.mini.ai-mode-sel.is-off:not([multiple]){color:#000;border-style:dashed}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){background:#fff;color:#000;border:1px solid #000;border-radius:0}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(input,select,textarea):focus{outline:2px solid #000;outline-offset:1px;box-shadow:none}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) ::placeholder{color:#6b6b6b}
body[data-theme="site"][data-design="ledger"] label:not([class]){font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#5c5c5c}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .tabs{background:transparent;border:1px solid #000;border-radius:0;padding:0;gap:0}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .tab{border-radius:0;color:#000;font-weight:500}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .tab+.tab{border-left:1px solid #000}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .tab.active{background:#000;color:#fff;box-shadow:none}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(.solar-tab,.settings-tab){color:#5c5c5c;font-weight:500}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(.solar-tab,.settings-tab).active{color:#000;border-bottom-color:#000}
body[data-theme="site"][data-design="ledger"] :is(.solar-tab-bar,.settings-tabs){border-bottom:1px solid #000}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(.tf-chip,.leads-view-toggle button,.dash-period-bar button){border:1px solid #000;border-radius:0;background:transparent;color:#000}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(.tf-chip.active,.leads-view-toggle button.active,.dash-period-bar button.active){background:#000;border-color:#000;color:#fff}

/* tables: one rule per row, uppercase column heads on a black rule */
body[data-theme="site"][data-design="ledger"] th{font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#5c5c5c;background:transparent;border-bottom:1px solid #000}
body[data-theme="site"][data-design="ledger"] td{border-bottom:1px solid var(--hair);font-variant-numeric:tabular-nums}
body[data-theme="site"][data-design="ledger"] tr.clickable:hover td{background:#f4f4f4;box-shadow:inset 0 -1px 0 #000}

/* badges: ruled tags; green only where money comes back */
body[data-theme="site"][data-design="ledger"] :is(.pill,.role-pill,.proposal-status,.project-stage-badge,.badge-hot,.badge-warm,.badge-cold,.badge-won,.badge-lost,.confirm-chip,.kanban-col-count){background:transparent;color:#000;border:1px solid #000;border-radius:0;font-size:10.5px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
body[data-theme="site"][data-design="ledger"] :is(.pill.APPROVED,.pill.read,.pill.delivered,.badge-won,.proposal-status.signed,.project-stage-badge.commissioned,.confirm-chip){color:#00813f;border-color:#00813f}
body[data-theme="site"][data-design="ledger"] :is(.pill.REJECTED,.pill.failed,.badge-hot,.badge-lost){background:#000;color:#fff}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .role-pill.admin{background:#000;color:#fff;border-color:#000}
body[data-theme="site"][data-design="ledger"] #sidebar .role-pill{color:#fff;border-color:#fff}
body[data-theme="site"][data-design="ledger"] #sidebar .role-pill.admin{background:#fff;color:#000}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) :is(.unread-count,.thread.active .unread-count){background:#000;color:#fff;border-radius:0}
body[data-theme="site"][data-design="ledger"] :is(#app,#modal) .inbox-avatar{border-radius:0;background:#000;color:#fff}

/* inbox */
body[data-theme="site"][data-design="ledger"] :is(.threads,.threads-col){background:#fff}
body[data-theme="site"][data-design="ledger"] .thread{border-bottom:1px solid var(--hair)}
body[data-theme="site"][data-design="ledger"] .thread.active{background:#f4f4f4;box-shadow:inset 3px 0 0 #000}
body[data-theme="site"][data-design="ledger"] .convo-msgs{background-color:#fff;background-image:linear-gradient(90deg,rgba(10,10,10,.045) 1px,transparent 1px);background-size:calc(100% / 12) 100%}
body[data-theme="site"][data-design="ledger"] .msg{border-radius:0;color:#000}
body[data-theme="site"][data-design="ledger"] .msg.in{background:#f4f4f4;border-top:1px solid #000}
body[data-theme="site"][data-design="ledger"] .msg.out{background:#fff;border:1px solid #000}
body[data-theme="site"][data-design="ledger"] .msg .meta{color:#5c5c5c;font-variant-numeric:tabular-nums}
body[data-theme="site"][data-design="ledger"] :is(.composer,.tmpl-bar,.convo-head,.inbox-thread-header){background:#fff;border-color:#000}
body[data-theme="site"][data-design="ledger"] #toast .toast{background:#fff;color:#000;border:1px solid #000;border-left:4px solid #000;border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="ledger"] #modal{background:rgba(255,255,255,.82)}
body[data-theme="site"][data-design="ledger"] .mobile-tab-bar{background:#0a0a0a;border-top:0}
body[data-theme="site"][data-design="ledger"] #app .mobile-tab-btn{color:#e6e6e6;min-height:44px}
body[data-theme="site"][data-design="ledger"] #app .mobile-tab-btn.active{color:#fff;box-shadow:inset 0 3px 0 #fff}

/* sign-in: one ruled statement on the column grid */
body[data-theme="site"][data-design="ledger"] #authGate{background:#fff linear-gradient(90deg,rgba(10,10,10,.06) 1px,transparent 1px) 0 0/calc(100% / 12) 100%}
body[data-theme="site"][data-design="ledger"] #authGate::before,body[data-theme="site"][data-design="ledger"] #authGate::after{content:none}
body[data-theme="site"][data-design="ledger"] #authGate .auth-card{background:#fff;border:1px solid #000;border-top:4px solid #000;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:#000}
body[data-theme="site"][data-design="ledger"] #authGate .auth-card::before{content:none}
body[data-theme="site"][data-design="ledger"] #authGate .auth-logo-img{border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="ledger"] #authGate .auth-eyebrow{color:#5c5c5c;font-family:var(--font-body);font-weight:500;font-size:11px;letter-spacing:.08em}
body[data-theme="site"][data-design="ledger"] #authGate .auth-title{color:#000;font-family:var(--font-head);font-weight:600;font-size:30px;letter-spacing:-.045em;line-height:1;padding-bottom:12px;border-bottom:3px double #000;align-self:stretch}
body[data-theme="site"][data-design="ledger"] #authGate .auth-help{color:#454545}
body[data-theme="site"][data-design="ledger"] #authGate input{background:#fff;color:#000;border:1px solid #000;border-radius:0}
body[data-theme="site"][data-design="ledger"] #authGate input::placeholder{color:#6b6b6b}
body[data-theme="site"][data-design="ledger"] #authGate input:focus{background:#fff;border-color:#000;box-shadow:none;outline:2px solid #000;outline-offset:1px}
body[data-theme="site"][data-design="ledger"] #authGate .pw-eye{color:#000}
body[data-theme="site"][data-design="ledger"] #authGate .auth-msg{color:#000;font-weight:600}
body[data-theme="site"][data-design="ledger"] #authGate .btn.auth-submit{background:#000;color:#fff;border-radius:0;font-family:var(--font-head);font-weight:500;font-size:15px;box-shadow:none;min-height:52px}
body[data-theme="site"][data-design="ledger"] #authGate .btn.auth-submit:hover{background:#2b2b2b;filter:none;box-shadow:none}
body[data-theme="site"][data-design="ledger"] #authGate .btn.auth-submit::after{content:none}

/* ══ POSTER — street poster · chroma yellow page, black blocks · Anton + Unbounded labels + Archivo · 3px black borders, hard offset shadows, stickers, tape ══ */
body[data-theme="site"][data-design="poster"]{--pink:#ff2e63;--news:#f6f3ea;--label:"Unbounded","Archivo",ui-sans-serif,sans-serif;--shadow:6px 6px 0 #000;--shadow-sm:3px 3px 0 #000;--warn:#000;--err:#000;
  background:linear-gradient(160deg,#ffe600 40%,rgba(255,230,0,0) 92%),radial-gradient(circle,rgba(0,0,0,.2) 1.3px,transparent 1.8px) 0 0/12px 12px,#ffe600;scrollbar-color:#000 transparent}
body[data-theme="site"][data-design="poster"] :is(#app,#modal){--grad:linear-gradient(#000,#000)}
body[data-theme="site"][data-design="poster"] ::selection{background:#000;color:#ffe600}
body[data-theme="site"][data-design="poster"] :focus-visible{outline:3px solid #000;outline-offset:3px;border-radius:0}
body[data-theme="site"][data-design="poster"] :is(#sidebar,.mobile-tab-bar) :focus-visible{outline-color:#ffe600}
body[data-theme="site"][data-design="poster"] :is(h1,h2,h3,h4,.view-head h2,.modal-card h3){font-family:var(--font-head);font-weight:400;text-transform:uppercase;letter-spacing:.01em;line-height:1}
body[data-theme="site"][data-design="poster"] .view-head{border-bottom:4px solid #000}
body[data-theme="site"][data-design="poster"] .view-head h2{font-size:28px}
body[data-theme="site"][data-design="poster"] .modal-card h3{font-size:24px}

/* rail: black sheet, yellow type, tab labels, pasted logo, tape */
body[data-theme="site"][data-design="poster"] #sidebar{background:#000;border-right:0;--txt:#ffe600;--muted:#e6e6e6;--line:rgba(255,230,0,.35);--panel2:#1f1f1f;scrollbar-color:#ffe600 transparent}
body[data-theme="site"][data-design="poster"] #sidebarResizer{background:#000}
body[data-theme="site"][data-design="poster"] #sidebarResizer:hover{background:var(--pink)}
body[data-theme="site"][data-design="poster"] #sidebar .brand .brand-logo{border-radius:0;border:3px solid #ffe600;box-shadow:5px 5px 0 var(--pink);transform:rotate(-2deg)}
body[data-theme="site"][data-design="poster"] #sidebar .brand-sub{background:var(--pink);color:#000;padding:5px 10px;font-family:var(--label);font-weight:600;letter-spacing:.06em;transform:rotate(-2deg)}
body[data-theme="site"][data-design="poster"] #sidebar .nav-group-label{flex-shrink:0;opacity:1;align-self:flex-start;margin:12px 0 4px 6px;padding:4px 8px;background:#ffe600;color:#000;font-family:var(--label);font-weight:600;font-size:9.5px;letter-spacing:.06em}
body[data-theme="site"][data-design="poster"].sidebar-collapsed #sidebar .nav-group-label{font-size:0;padding:0;height:3px;margin:10px 6px 4px;align-self:stretch}
body[data-theme="site"][data-design="poster"] #sidebar .nav-item{border-radius:0;color:#ffe600;font-family:var(--label);font-weight:600;font-size:11px;letter-spacing:.04em;text-transform:uppercase;min-height:44px}
body[data-theme="site"][data-design="poster"] #sidebar .nav-item:hover{background:#ffe600;color:#000}
body[data-theme="site"][data-design="poster"] #sidebar .nav-item.active{background:#ffe600;color:#000;box-shadow:4px 4px 0 var(--pink)}
body[data-theme="site"][data-design="poster"] #sidebar .badge{background:var(--pink);color:#000;border-radius:999px;font-family:var(--label);font-weight:800;transform:rotate(-8deg)}
body[data-theme="site"][data-design="poster"] #sidebar .status{color:#e6e6e6;border-top:3px solid #ffe600;font-family:var(--label);font-size:10px;text-transform:uppercase}
body[data-theme="site"][data-design="poster"] #sidebar .status.ok{color:#ffe600}
body[data-theme="site"][data-design="poster"] #sidebar .status.bad{color:var(--pink)}
body[data-theme="site"][data-design="poster"] #sidebar .session-chip{background:#1f1f1f;border:2px solid #ffe600;border-radius:0}
body[data-theme="site"][data-design="poster"] #app #sidebar button.btn.ghost{background:#000;color:#ffe600;border:2px solid #ffe600;border-radius:0;box-shadow:none}
body[data-theme="site"][data-design="poster"] #app #sidebar button.btn.ghost:hover{background:#ffe600;color:#000}
body[data-theme="site"][data-design="poster"] :is(#sidebarCollapse,#sidebarReveal){border-radius:0}

/* sheets pasted on the wall */
body[data-theme="site"][data-design="poster"] :is(.card,.kpi,.kpi-card,.chart-wrap,.solar-result-card,.fb-gallery,.fb-ai-panel){background:#fff;border:3px solid #000;border-radius:0;box-shadow:6px 6px 0 #000}
body[data-theme="site"][data-design="poster"] .modal-card{background:#fff;border:3px solid #000;border-radius:0;box-shadow:10px 10px 0 #000}
body[data-theme="site"][data-design="poster"] :is(.kanban-card,.flow-node,.preset-card,.fb-gallery-card,.solar-finance-card,.imp-method,.qr-pick,.recip-box,.drill-list,.ac-box,.flow-action-box){background:#fff;border:2px solid #000;border-radius:0;box-shadow:3px 3px 0 #000}
body[data-theme="site"][data-design="poster"] :is(.kanban-col,.sla-stat,.flow-stat-box,.note,.tmpl-preview){background:var(--news);border:2px solid #000;border-radius:0}
body[data-theme="site"][data-design="poster"] .cinfo{background:var(--news);border-color:#000;border-left-width:3px}
body[data-theme="site"][data-design="poster"] :is(.card,.modal-card) .card{box-shadow:none}
body[data-theme="site"][data-design="poster"] .card>strong:first-child{display:inline-block;margin-bottom:10px;padding:6px 9px;background:#000;color:#ffe600;font-family:var(--label);font-weight:600;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase}
body[data-theme="site"][data-design="poster"] .chart-title{font-family:var(--label);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
body[data-theme="site"][data-design="poster"] .kpi-val{font-family:var(--font-head);font-weight:400;font-size:34px;line-height:1;color:#000;letter-spacing:.01em}
body[data-theme="site"][data-design="poster"] :is(.kpi-lbl,.kpi-label,.solar-finance-label,.sla-stat-label,.flow-stat-label,.kanban-col-head){font-family:var(--label);font-weight:600;font-size:9.5px;letter-spacing:.05em;text-transform:uppercase;color:#000}
body[data-theme="site"][data-design="poster"] :is(.solar-finance-val,.sla-stat-val,.flow-stat-val){font-family:var(--font-head);font-weight:400;letter-spacing:.01em}
body[data-theme="site"][data-design="poster"] :is(.sol-row,.solar-result-row,.ctwa-stat-row,.agent-row,.timeline-item,.drill-row,.ac-item){border-bottom:2px solid #000}
body[data-theme="site"][data-design="poster"] :is(.funnel-bar,.chart-bar-fill,.src-bar,.heat-cell,.funnel-track,.src-track,.chart-bar-track,.funnel-track2,.chart-col .bar){border-radius:0}
body[data-theme="site"][data-design="poster"] :is(.funnel-track,.src-track,.chart-bar-track,.funnel-track2){background:var(--news);box-shadow:inset 0 0 0 2px #000}
body[data-theme="site"][data-design="poster"] :is(.funnel-bar,.chart-bar-fill,.chart-col .bar.in,.src-bar,.heat-cell){background:#000}
body[data-theme="site"][data-design="poster"] :is(.chart-bar-fill.out,.chart-col .bar.out){background:var(--pink)}
body[data-theme="site"][data-design="poster"] :is(.kpi-up,.funnel-conv.ok){color:#17612f}
body[data-theme="site"][data-design="poster"] :is(.kpi-dn,.funnel-conv.warn){background:#ff2e63;color:#000;padding-inline:4px}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .funnel-bar{color:#ffe600;font-family:var(--label);font-size:11px}
/* danger zone: a pink warning sticker pasted on the sheet */
body[data-theme="site"][data-design="poster"] .settings-danger{background:#fff;border:3px solid #000;border-radius:0;box-shadow:6px 6px 0 var(--pink)}
body[data-theme="site"][data-design="poster"] .settings-danger-title{display:inline-block;padding:5px 9px;background:var(--pink);color:#000;font-family:var(--label);font-weight:600;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase}
/* agent flow diagram: black start block, an outlined end, dashed paste-up when off */
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .flow-start{background:#000;color:#ffe600;border-radius:0;box-shadow:4px 4px 0 var(--pink);font-family:var(--label);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .flow-end{background:#fff;color:#000;border:3px solid #000;border-radius:0;font-family:var(--label);font-size:11px;letter-spacing:.05em;text-transform:uppercase}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .flow-num{background:#000;color:#ffe600;border-radius:0;font-family:var(--font-head);font-weight:400}
body[data-theme="site"][data-design="poster"] .flow-conn{background:#000}
body[data-theme="site"][data-design="poster"] .flow-node.off{opacity:1;border-style:dashed;box-shadow:none;color:#333}
body[data-theme="site"][data-design="poster"] .fb-root[data-fb-skin="classic"] .fb-node.fb-ai .fb-node-head{color:#17612f}

/* buttons: hard-shadow blocks that press in */
body[data-theme="site"][data-design="poster"] :is(#app,#modal) button.btn{background:#000;color:#ffe600;border:2px solid #000;border-radius:0;box-shadow:3px 3px 0 #000;font-family:var(--label);font-weight:600;font-size:11px;letter-spacing:.04em;text-transform:uppercase;min-height:36px;transition:transform .15s ease,box-shadow .15s ease,background-color .15s,color .15s}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) button.btn:hover{background:var(--pink);color:#000;transform:translate(-1px,-1px);box-shadow:4px 4px 0 #000}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) button.btn:active{transform:translate(3px,3px);box-shadow:0 0 0 #000}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) button.btn.ghost{background:#fff;color:#000}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) button.btn.ghost:hover{background:#000;color:#ffe600}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(.fb-del,.settings-danger){border-radius:0;border-width:2px}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .fb-del{color:#000;border-color:#000;font-family:var(--label);font-weight:600;font-size:10px;letter-spacing:.04em;text-transform:uppercase}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .fb-del:hover{background:var(--pink);color:#000}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(.fb-new,.fb-save,.fb-ai-cta,.fb-ai-build){border-radius:0;box-shadow:3px 3px 0 var(--pink);font-family:var(--label);letter-spacing:.04em;text-transform:uppercase}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) select.mini.ai-mode-sel.is-off:not([multiple]){background:var(--pink);color:#000}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){background:#fff;color:#000;border:2px solid #000;border-radius:0}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(input,select,textarea):focus{outline:none;box-shadow:4px 4px 0 var(--pink)}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) ::placeholder{color:#555}
body[data-theme="site"][data-design="poster"] label:not([class]){font-family:var(--label);font-weight:600;font-size:9.5px;letter-spacing:.05em;text-transform:uppercase;color:#000}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .tabs{background:#000;border-radius:0;padding:3px}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .tab{border-radius:0;color:#ffe600;font-family:var(--label);font-weight:600;font-size:10.5px;text-transform:uppercase;letter-spacing:.04em}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .tab:hover{color:#fff}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .tab.active{background:#ffe600;color:#000;box-shadow:none}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(.solar-tab,.settings-tab){color:#000;font-family:var(--label);font-weight:600;font-size:10.5px;text-transform:uppercase;letter-spacing:.04em}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(.solar-tab,.settings-tab).active{background:#000;color:#ffe600;border-bottom-color:#000}
body[data-theme="site"][data-design="poster"] :is(.solar-tab-bar,.settings-tabs){border-bottom:4px solid #000}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(.tf-chip,.leads-view-toggle button,.dash-period-bar button){border:2px solid #000;border-radius:0;background:#fff;color:#000;font-family:var(--label);font-weight:600;font-size:10px;text-transform:uppercase}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(.tf-chip.active,.leads-view-toggle button.active,.dash-period-bar button.active){background:#000;border-color:#000;color:#ffe600}

/* tables: black header strip, heavy rules */
body[data-theme="site"][data-design="poster"] th{background:#000;color:#ffe600;font-family:var(--label);font-weight:600;font-size:10px;letter-spacing:.05em;text-transform:uppercase;border-bottom:0}
body[data-theme="site"][data-design="poster"] td{border-bottom:2px solid #000}
body[data-theme="site"][data-design="poster"] tr.clickable:hover td{background:#ffe600}

/* badges: stickers */
body[data-theme="site"][data-design="poster"] :is(.pill,.role-pill,.proposal-status,.project-stage-badge,.badge-hot,.badge-warm,.badge-cold,.badge-won,.badge-lost,.confirm-chip,.kanban-col-count){background:#fff;color:#000;border:2px solid #000;border-radius:0;font-family:var(--label);font-weight:600;font-size:9.5px;letter-spacing:.04em;text-transform:uppercase}
body[data-theme="site"][data-design="poster"] :is(.pill.APPROVED,.pill.read,.pill.delivered,.badge-won,.proposal-status.viewed,.proposal-status.signed,.project-stage-badge.approved,.project-stage-badge.commissioned,.confirm-chip){background:#1f7a3f;color:#fff}
body[data-theme="site"][data-design="poster"] :is(.pill.REJECTED,.pill.failed,.badge-hot,.badge-lost){background:var(--pink);color:#000;transform:rotate(-3deg)}
body[data-theme="site"][data-design="poster"] :is(.pill.PENDING,.badge-warm,.proposal-status.draft,.project-stage-badge.survey){background:#ffe600}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .role-pill.admin{background:#000;color:#ffe600;border-color:#000}
body[data-theme="site"][data-design="poster"] #sidebar .role-pill{background:#ffe600;color:#000;border-color:#ffe600}
body[data-theme="site"][data-design="poster"] #sidebar .role-pill.admin{background:var(--pink);color:#000;border-color:var(--pink)}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) :is(.unread-count,.thread.active .unread-count){background:var(--pink);color:#000;border-radius:999px;font-weight:800}
body[data-theme="site"][data-design="poster"] :is(#app,#modal) .inbox-avatar{border-radius:0;background:#000;color:#ffe600;font-family:var(--font-head);font-weight:400}

/* inbox: newsprint wall, pasted bubbles */
body[data-theme="site"][data-design="poster"] :is(.threads,.threads-col){background:#fff}
body[data-theme="site"][data-design="poster"] .thread{border-bottom:2px solid #000}
body[data-theme="site"][data-design="poster"] .thread:hover{background:var(--news)}
body[data-theme="site"][data-design="poster"] .thread.active{background:#ffe600;box-shadow:inset 6px 0 0 #000}
body[data-theme="site"][data-design="poster"] .convo-msgs{background:var(--news) radial-gradient(circle,rgba(0,0,0,.1) 1px,transparent 1.5px) 0 0/10px 10px}
body[data-theme="site"][data-design="poster"] .msg{border-radius:0;color:#000;border:2px solid #000}
body[data-theme="site"][data-design="poster"] .msg.in{background:#fff;box-shadow:4px 4px 0 #000}
body[data-theme="site"][data-design="poster"] .msg.out{background:#ffe600;box-shadow:-4px 4px 0 #000}
body[data-theme="site"][data-design="poster"] .msg .meta{color:#333}
body[data-theme="site"][data-design="poster"] :is(.composer,.tmpl-bar,.convo-head,.inbox-thread-header){background:#fff;border-color:#000;border-width:3px}
body[data-theme="site"][data-design="poster"] #toast .toast{background:#000;color:#ffe600;border:3px solid #000;border-left:8px solid #ffe600;border-radius:0;box-shadow:6px 6px 0 #000;font-family:var(--label);font-weight:600;font-size:11.5px}
body[data-theme="site"][data-design="poster"] #toast .toast.err{border-left-color:var(--pink);box-shadow:6px 6px 0 var(--pink)}
body[data-theme="site"][data-design="poster"] #modal{background:rgba(10,10,10,.6)}
body[data-theme="site"][data-design="poster"] .mobile-tab-bar{background:#000;border-top:4px solid #ffe600}
body[data-theme="site"][data-design="poster"] #app .mobile-tab-btn{color:#ffe600;font-family:var(--label);font-weight:600;min-height:44px}
body[data-theme="site"][data-design="poster"] #app .mobile-tab-btn.active{background:#ffe600;color:#000}

/* sign-in: the poster wall, giant type behind one pasted sheet */
body[data-theme="site"][data-design="poster"] #authGate{background:linear-gradient(160deg,#ffe600 38%,rgba(255,230,0,0) 88%),radial-gradient(circle,rgba(0,0,0,.2) 1.3px,transparent 1.8px) 0 0/12px 12px,#ffe600}
body[data-theme="site"][data-design="poster"] #authGate::before{content:"ZERO BILL.";content:"ZERO BILL." / "";inset:auto auto -3vw -1vw;z-index:0;filter:none;animation:none;background:none;font:400 clamp(6rem,24vw,22rem)/.85 var(--font-head);color:rgba(0,0,0,.08);white-space:nowrap;letter-spacing:.005em}
body[data-theme="site"][data-design="poster"] #authGate::after{content:none}
body[data-theme="site"][data-design="poster"] #authGate .auth-card{background:#fff;border:3px solid #000;border-radius:0;box-shadow:10px 10px 0 #000;-webkit-backdrop-filter:none;backdrop-filter:none;color:#000}
body[data-theme="site"][data-design="poster"] #authGate .auth-card::before{left:50%;right:auto;top:8px;width:8.5rem;height:1.4rem;margin-left:-4.25rem;background:rgba(0,0,0,.07);border:1px solid rgba(0,0,0,.14);transform:rotate(-4deg)}
body[data-theme="site"][data-design="poster"] #authGate .auth-logo-img{border-radius:0;border:3px solid #000;box-shadow:5px 5px 0 #000}
body[data-theme="site"][data-design="poster"] #authGate .auth-eyebrow{padding:6px 10px;background:#000;color:#ffe600;font-family:var(--label);font-weight:600;letter-spacing:.08em}
body[data-theme="site"][data-design="poster"] #authGate .auth-title{color:#000;font-family:var(--font-head);font-weight:400;font-size:44px;line-height:.92;text-transform:uppercase;letter-spacing:.005em}
body[data-theme="site"][data-design="poster"] #authGate .auth-help{color:#333;font-weight:500}
body[data-theme="site"][data-design="poster"] #authGate input{background:#fff;color:#000;border:3px solid #000;border-radius:0;font-weight:500}
body[data-theme="site"][data-design="poster"] #authGate input::placeholder{color:#555}
body[data-theme="site"][data-design="poster"] #authGate input:focus{background:#fff;border-color:#000;box-shadow:5px 5px 0 var(--pink)}
body[data-theme="site"][data-design="poster"] #authGate .pw-eye{color:#000}
body[data-theme="site"][data-design="poster"] #authGate .auth-msg{color:#000;font-weight:700}
body[data-theme="site"][data-design="poster"] #authGate .btn.auth-submit{background:#000;color:#ffe600;border:3px solid #000;border-radius:0;box-shadow:5px 5px 0 var(--pink);font-family:var(--label);font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;min-height:52px}
body[data-theme="site"][data-design="poster"] #authGate .btn.auth-submit:hover{background:var(--pink);color:#000;filter:none;transform:translate(-2px,-2px);box-shadow:7px 7px 0 #000}
body[data-theme="site"][data-design="poster"] #authGate .btn.auth-submit:active{transform:translate(5px,5px);box-shadow:0 0 0 #000}
body[data-theme="site"][data-design="poster"] #authGate .btn.auth-submit::after{content:none}

/* ══ BLUEPRINT — drafting sheet · grid paper, blueprint-blue ink, revision orange · JetBrains Mono labels + Instrument Sans · 2px corners, framed sheets, dimension lines ══ */
body[data-theme="site"][data-design="blueprint"]{--paper:#f7f9fc;--ink-9:#0c1d45;--ink-7:#33466e;--ink-5:#5a6b8f;--rev:#ff5a1f;--rev-t:#c43d0a;--night:#0b2559;--hair:rgba(20,70,160,.28);
  --shadow:0 30px 60px -44px rgba(12,29,69,.45);--shadow-sm:0 10px 24px -18px rgba(12,29,69,.45);--warn:#9a4a00;--err:#c43d0a;
  background-color:#f1f5fc;background-image:linear-gradient(#dbe4f3 1px,transparent 1px),linear-gradient(90deg,#dbe4f3 1px,transparent 1px),linear-gradient(#e6ecf7 1px,transparent 1px),linear-gradient(90deg,#e6ecf7 1px,transparent 1px);background-size:96px 96px,96px 96px,24px 24px,24px 24px;font-variant-numeric:tabular-nums lining-nums;scrollbar-color:#1446a0 transparent}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal){--grad:linear-gradient(135deg,#1446a0,#0c1d45)}
body[data-theme="site"][data-design="blueprint"] ::selection{background:#1446a0;color:#fff}
body[data-theme="site"][data-design="blueprint"] :focus-visible{outline:2px solid #1446a0;outline-offset:3px;border-radius:2px}
body[data-theme="site"][data-design="blueprint"] :is(#sidebar,.mobile-tab-bar) :focus-visible{outline-color:#fff}
body[data-theme="site"][data-design="blueprint"] :is(h1,h2,h3,h4,.view-head h2,.modal-card h3){font-family:var(--font-body);font-stretch:84%;font-weight:600;letter-spacing:-.022em;color:var(--ink-9)}
/* view header: a dimension line with end ticks under the title */
body[data-theme="site"][data-design="blueprint"] .view-head{padding-bottom:26px;border-bottom:1.5px solid #1446a0;background:linear-gradient(#1446a0,#1446a0) left 22px bottom 9px/calc(100% - 44px) 1px no-repeat,linear-gradient(#1446a0,#1446a0) left 22px bottom 4px/1px 11px no-repeat,linear-gradient(#1446a0,#1446a0) right 22px bottom 4px/1px 11px no-repeat,rgba(247,249,252,.9)}
body[data-theme="site"][data-design="blueprint"] .view-head h2{font-size:24px}

/* rail: the cyanotype sheet — night blue with a white drafting grid */
body[data-theme="site"][data-design="blueprint"] #sidebar{background-color:#0b2559;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:96px 96px,96px 96px,24px 24px,24px 24px;border-right:1.5px solid #0b2559;--txt:#fff;--muted:#c9d6f2;--line:rgba(255,255,255,.28);--panel2:rgba(255,255,255,.09);scrollbar-color:#9fb3dd transparent}
body[data-theme="site"][data-design="blueprint"] #sidebar .brand .brand-logo{border-radius:2px;box-shadow:none;outline:1px solid rgba(255,255,255,.6);outline-offset:4px}
body[data-theme="site"][data-design="blueprint"] #sidebar .brand-sub{font-family:var(--font-head);color:#fff;letter-spacing:.14em;padding:5px 9px;border:1px solid rgba(255,255,255,.8)}
body[data-theme="site"][data-design="blueprint"] #sidebar .nav-group-label{flex-shrink:0;opacity:1;color:#9fb3dd;font-family:var(--font-head);font-weight:500;font-size:10px;letter-spacing:.08em;border-top:1px solid rgba(255,255,255,.28);margin-top:8px;padding-top:9px}
body[data-theme="site"][data-design="blueprint"].sidebar-collapsed #sidebar .nav-group-label{font-size:0;padding:0;margin:8px 4px 4px}
body[data-theme="site"][data-design="blueprint"] #sidebar .nav-item{border-radius:2px;color:#e3eafa;font-weight:500;min-height:44px}
body[data-theme="site"][data-design="blueprint"] #sidebar .nav-item:hover{background:rgba(255,255,255,.09);color:#fff}
body[data-theme="site"][data-design="blueprint"] #sidebar .nav-item.active{background:#f7f9fc;color:#0c1d45;font-weight:600;box-shadow:inset 4px 0 0 #ff5a1f}
body[data-theme="site"][data-design="blueprint"] #sidebar .badge{background:#ff5a1f;color:#0c1d45;border-radius:999px;font-family:var(--font-head);font-weight:700}
body[data-theme="site"][data-design="blueprint"] #sidebar .status{font-family:var(--font-head);font-size:10.5px;letter-spacing:.04em;color:#c9d6f2;border-top:1px solid rgba(255,255,255,.28)}
body[data-theme="site"][data-design="blueprint"] #sidebar .status.ok{color:#7fe0b4}
body[data-theme="site"][data-design="blueprint"] #sidebar .status.bad{color:#ff9a72}
body[data-theme="site"][data-design="blueprint"] #sidebar .session-chip{background:rgba(8,25,61,.6);border:1px solid rgba(255,255,255,.5);border-radius:2px}
body[data-theme="site"][data-design="blueprint"] #app #sidebar button.btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.8);border-radius:2px}
body[data-theme="site"][data-design="blueprint"] #app #sidebar button.btn.ghost:hover{background:#f7f9fc;color:#0c1d45}
body[data-theme="site"][data-design="blueprint"] :is(#sidebarCollapse,#sidebarReveal){border-radius:2px}
body[data-theme="site"][data-design="blueprint"] #sidebarResizer:hover{background:#ff5a1f}

/* drawing sheets: ink frame plus an inner border line */
body[data-theme="site"][data-design="blueprint"] :is(.card,.kpi,.kpi-card,.chart-wrap,.solar-result-card,.modal-card,.fb-gallery,.fb-ai-panel){background:rgba(255,255,255,.94);border:1.5px solid #1446a0;border-radius:2px;outline:1px solid rgba(20,70,160,.28);outline-offset:-6px;box-shadow:0 30px 60px -44px rgba(12,29,69,.45)}
body[data-theme="site"][data-design="blueprint"] :is(.kanban-card,.flow-node,.preset-card,.fb-gallery-card,.solar-finance-card,.imp-method,.qr-pick,.recip-box,.drill-list,.ac-box,.flow-action-box){background:#fff;border:1px solid #1446a0;border-radius:2px;box-shadow:none}
body[data-theme="site"][data-design="blueprint"] :is(.kanban-col,.sla-stat,.flow-stat-box,.note,.tmpl-preview){background:rgba(247,249,252,.92);border:1px solid var(--hair);border-radius:2px}
body[data-theme="site"][data-design="blueprint"] .cinfo{background:rgba(247,249,252,.96);border-left:1.5px solid #1446a0}
body[data-theme="site"][data-design="blueprint"] :is(.card,.modal-card) .card{outline:0;box-shadow:none}
body[data-theme="site"][data-design="blueprint"] .card>strong:first-child{display:inline-block;margin-bottom:12px;padding:6px 9px;border:1.5px solid #1446a0;font-family:var(--font-head);font-weight:600;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#1446a0;background:#f7f9fc}
body[data-theme="site"][data-design="blueprint"] .chart-title{font-family:var(--font-head);font-weight:600;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#1446a0}
body[data-theme="site"][data-design="blueprint"] .kpi-val{font-family:var(--font-body);font-stretch:78%;font-weight:600;font-size:32px;line-height:.95;letter-spacing:-.03em;color:var(--ink-9)}
body[data-theme="site"][data-design="blueprint"] :is(.kpi-lbl,.kpi-label,.solar-finance-label,.sla-stat-label,.flow-stat-label,.kanban-col-head,.funnel-lbl,.src-lbl,.chart-x,.heat-x){font-family:var(--font-head);font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-5)}
body[data-theme="site"][data-design="blueprint"] :is(.solar-finance-val,.sla-stat-val,.flow-stat-val,.funnel-n,.src-n){font-family:var(--font-head);color:var(--ink-9)}
body[data-theme="site"][data-design="blueprint"] :is(.sol-row,.solar-result-row,.ctwa-stat-row,.agent-row,.timeline-item,.drill-row,.ac-item){border-bottom:1px solid var(--hair)}
body[data-theme="site"][data-design="blueprint"] .solar-result-row:last-child{border-bottom:2px solid var(--ink-9)}
body[data-theme="site"][data-design="blueprint"] :is(.funnel-bar,.chart-bar-fill,.src-bar,.heat-cell,.funnel-track,.src-track,.chart-bar-track,.funnel-track2,.chart-col .bar){border-radius:0}
body[data-theme="site"][data-design="blueprint"] :is(.funnel-track,.src-track,.chart-bar-track,.funnel-track2){background:#fff;box-shadow:inset 0 0 0 1px var(--hair)}
body[data-theme="site"][data-design="blueprint"] :is(.funnel-bar,.chart-bar-fill,.chart-col .bar.in,.src-bar,.heat-cell){background:#1446a0}
body[data-theme="site"][data-design="blueprint"] :is(.chart-bar-fill.out,.chart-col .bar.out){background:repeating-linear-gradient(135deg,#1446a0 0 1px,#fff 1px 4px);box-shadow:inset 0 0 0 1px #1446a0}
body[data-theme="site"][data-design="blueprint"] :is(.kpi-up,.funnel-conv.ok){color:#0f7a4f}
body[data-theme="site"][data-design="blueprint"] :is(.kpi-dn,.funnel-conv.warn){color:var(--rev-t)}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .funnel-bar{color:#fff;font-family:var(--font-head)}
/* danger zone: a revision cloud (orange dashes) with its REV tag */
body[data-theme="site"][data-design="blueprint"] .settings-danger{background:#fff7f3;border:1.5px dashed #c43d0a;border-radius:2px}
body[data-theme="site"][data-design="blueprint"] .settings-danger-title{color:#a8330a;font-family:var(--font-head);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
/* agent flow diagram: inked start, outlined end, hidden-line dashes when off, connectors drawn in ink */
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .flow-start{background:#1446a0;color:#fff;border-radius:2px;font-family:var(--font-head);font-size:12px;letter-spacing:.04em}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .flow-end{background:#fff;color:#1446a0;border:1.5px solid #1446a0;border-radius:2px;font-family:var(--font-head);font-size:12px;letter-spacing:.04em}
body[data-theme="site"][data-design="blueprint"] .flow-conn{background:#1446a0}
body[data-theme="site"][data-design="blueprint"] .flow-node.off{opacity:1;border-style:dashed;color:#5a6b8f}

/* buttons, inputs, sheet tabs, chips */
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) button.btn{background:#1446a0;color:#fff;border:1.5px solid #1446a0;border-radius:2px;font-weight:600;min-height:36px;transition:background-color .2s,color .2s,transform .2s}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) button.btn:hover{background:#0c1d45;border-color:#0c1d45;color:#fff;transform:translateY(-1px)}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) button.btn.ghost{background:#f7f9fc;color:#0c1d45}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) button.btn.ghost:hover{background:#fff;color:#0c1d45}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(.fb-del,.settings-danger){border-radius:2px}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .fb-del{color:#a8330a;border-color:#a8330a;font-family:var(--font-head)}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .fb-del:hover{background:#a8330a;color:#fff}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(.fb-new,.fb-save,.fb-ai-cta,.fb-ai-build){border-radius:2px}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) select.mini.ai-mode-sel.is-off:not([multiple]){color:#a8330a;border-color:#ff5a1f}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){background:#fff;color:#0c1d45;border:1px solid #1446a0;border-radius:2px}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(input,select,textarea):focus{outline:none;border-color:#ff5a1f;box-shadow:0 0 0 3px rgba(255,90,31,.25)}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) ::placeholder{color:#5a6b8f}
body[data-theme="site"][data-design="blueprint"] label:not([class]){font-family:var(--font-head);font-weight:500;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-5)}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .tabs{background:#f7f9fc;border:1.5px solid #1446a0;border-radius:2px;padding:0;gap:0}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .tab{border-radius:0;color:#1446a0;font-family:var(--font-head);font-weight:600;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .tab+.tab{border-left:1px solid #1446a0}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .tab.active{background:#1446a0;color:#fff;box-shadow:none}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(.solar-tab,.settings-tab){color:var(--ink-5);font-family:var(--font-head);font-weight:600;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(.solar-tab,.settings-tab).active{color:#1446a0;border-bottom-color:#ff5a1f}
body[data-theme="site"][data-design="blueprint"] :is(.solar-tab-bar,.settings-tabs){border-bottom:1.5px solid #1446a0}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(.tf-chip,.leads-view-toggle button,.dash-period-bar button){border:1px solid #1446a0;border-radius:2px;background:#fff;color:#1446a0;font-family:var(--font-head);font-weight:500}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(.tf-chip.active,.leads-view-toggle button.active,.dash-period-bar button.active){background:#1446a0;border-color:#1446a0;color:#fff}

/* tables: the inspection log */
body[data-theme="site"][data-design="blueprint"] th{font-family:var(--font-head);font-weight:600;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#1446a0;background:transparent;border-top:1.5px solid #1446a0;border-bottom:1.5px solid #1446a0}
body[data-theme="site"][data-design="blueprint"] td{border-bottom:1px solid var(--hair)}
body[data-theme="site"][data-design="blueprint"] tr.clickable:hover td{background:rgba(20,70,160,.06)}

/* badges: drawing-note tags; revisions in orange */
body[data-theme="site"][data-design="blueprint"] :is(.pill,.role-pill,.proposal-status,.project-stage-badge,.badge-hot,.badge-warm,.badge-cold,.badge-won,.badge-lost,.confirm-chip,.kanban-col-count){background:#fff;color:#1446a0;border:1.5px solid currentColor;border-radius:2px;font-family:var(--font-head);font-weight:600;font-size:10px;letter-spacing:.06em;text-transform:uppercase}
body[data-theme="site"][data-design="blueprint"] :is(.pill.APPROVED,.pill.read,.pill.delivered,.badge-won,.proposal-status.viewed,.proposal-status.signed,.project-stage-badge.approved,.project-stage-badge.commissioned,.confirm-chip){color:#0f7a4f}
body[data-theme="site"][data-design="blueprint"] :is(.pill.REJECTED,.pill.failed,.badge-hot,.badge-lost,.pill.PENDING,.badge-warm,.proposal-status.draft,.project-stage-badge.survey){color:var(--rev-t)}
body[data-theme="site"][data-design="blueprint"] :is(.pill.queued,.badge-cold){color:var(--ink-5)}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) .role-pill.admin{background:#1446a0;color:#fff;border-color:#1446a0}
body[data-theme="site"][data-design="blueprint"] #sidebar .role-pill{background:transparent;color:#fff;border-color:rgba(255,255,255,.8)}
body[data-theme="site"][data-design="blueprint"] #sidebar .role-pill.admin{background:#ff5a1f;color:#0c1d45;border-color:#ff5a1f}
/* callout bubbles */
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(.unread-count,.thread.active .unread-count){background:#ff5a1f;color:#0c1d45;font-family:var(--font-head)}
body[data-theme="site"][data-design="blueprint"] :is(#app,#modal) :is(.inbox-avatar,.flow-num){background:#f7f9fc;color:#1446a0;border:2px solid #1446a0;font-family:var(--font-head)}

/* inbox: notes on the grid */
body[data-theme="site"][data-design="blueprint"] :is(.threads,.threads-col){background:rgba(255,255,255,.92)}
body[data-theme="site"][data-design="blueprint"] .thread{border-bottom:1px solid var(--hair)}
body[data-theme="site"][data-design="blueprint"] .thread.active{background:#eef3fb;box-shadow:inset 3px 0 0 #ff5a1f}
body[data-theme="site"][data-design="blueprint"] .convo-msgs{background-color:#f1f5fc;background-image:linear-gradient(#dbe4f3 1px,transparent 1px),linear-gradient(90deg,#dbe4f3 1px,transparent 1px);background-size:24px 24px}
body[data-theme="site"][data-design="blueprint"] .msg{border-radius:2px;color:#0c1d45}
body[data-theme="site"][data-design="blueprint"] .msg.in{background:#fff;border:1px solid #1446a0}
body[data-theme="site"][data-design="blueprint"] .msg.out{background:#fff4ef;border:1px solid #ff5a1f}
body[data-theme="site"][data-design="blueprint"] .msg .meta{font-family:var(--font-head);font-size:9.5px;letter-spacing:.04em;color:var(--ink-5)}
body[data-theme="site"][data-design="blueprint"] :is(.composer,.tmpl-bar,.convo-head,.inbox-thread-header){background:rgba(247,249,252,.96);border-color:#1446a0}
body[data-theme="site"][data-design="blueprint"] #toast .toast{background:#fff;color:#0c1d45;border:1.5px solid #1446a0;border-left:4px solid #ff5a1f;border-radius:2px;box-shadow:0 16px 40px -24px rgba(12,29,69,.5)}
body[data-theme="site"][data-design="blueprint"] #modal{background:rgba(11,37,89,.55)}
body[data-theme="site"][data-design="blueprint"] .mobile-tab-bar{background:#0b2559;border-top:0}
body[data-theme="site"][data-design="blueprint"] #app .mobile-tab-btn{color:#e3eafa;font-family:var(--font-head);min-height:44px}
body[data-theme="site"][data-design="blueprint"] #app .mobile-tab-btn.active{color:#ff5a1f;box-shadow:inset 0 3px 0 #ff5a1f}

/* sign-in: a framed drawing sheet on the grid */
body[data-theme="site"][data-design="blueprint"] #authGate{background-color:#f1f5fc;background-image:linear-gradient(#dbe4f3 1px,transparent 1px),linear-gradient(90deg,#dbe4f3 1px,transparent 1px),linear-gradient(#e6ecf7 1px,transparent 1px),linear-gradient(90deg,#e6ecf7 1px,transparent 1px);background-size:96px 96px,96px 96px,24px 24px,24px 24px}
body[data-theme="site"][data-design="blueprint"] #authGate::before,body[data-theme="site"][data-design="blueprint"] #authGate::after{content:none}
body[data-theme="site"][data-design="blueprint"] #authGate .auth-card{background:rgba(247,249,252,.97);border:1.5px solid #1446a0;border-radius:2px;outline:1px solid rgba(20,70,160,.28);outline-offset:-8px;box-shadow:0 30px 60px -44px rgba(12,29,69,.55);-webkit-backdrop-filter:none;backdrop-filter:none;color:#0c1d45}
body[data-theme="site"][data-design="blueprint"] #authGate .auth-card::before{content:none}
body[data-theme="site"][data-design="blueprint"] #authGate .auth-logo-img{border-radius:2px;box-shadow:none;border:1px solid #1446a0;padding:8px 12px}
body[data-theme="site"][data-design="blueprint"] #authGate .auth-eyebrow{padding:7px 10px;border:1.5px solid #1446a0;color:#1446a0;font-family:var(--font-head);font-weight:600;font-size:11px;letter-spacing:.08em}
body[data-theme="site"][data-design="blueprint"] #authGate .auth-title{color:#0c1d45;font-family:var(--font-body);font-stretch:84%;font-weight:600;font-size:28px;letter-spacing:-.022em;padding-bottom:18px;background:linear-gradient(#1446a0,#1446a0) 50% calc(100% - 5px)/60% 1px no-repeat,linear-gradient(#1446a0,#1446a0) 20% 100%/1px 11px no-repeat,linear-gradient(#1446a0,#1446a0) 80% 100%/1px 11px no-repeat}
body[data-theme="site"][data-design="blueprint"] #authGate .auth-help{color:#33466e}
body[data-theme="site"][data-design="blueprint"] #authGate input{background:#fff;color:#0c1d45;border:1px solid #1446a0;border-radius:2px}
body[data-theme="site"][data-design="blueprint"] #authGate input::placeholder{color:#5a6b8f}
body[data-theme="site"][data-design="blueprint"] #authGate input:focus{background:#fff;border-color:#ff5a1f;box-shadow:0 0 0 3px rgba(255,90,31,.25)}
body[data-theme="site"][data-design="blueprint"] #authGate .pw-eye{color:#1446a0}
body[data-theme="site"][data-design="blueprint"] #authGate .auth-msg{color:#c43d0a}
body[data-theme="site"][data-design="blueprint"] #authGate .btn.auth-submit{background:#1446a0;color:#fff;border:1.5px solid #1446a0;border-radius:2px;box-shadow:none;font-weight:600;font-size:15px;min-height:52px}
body[data-theme="site"][data-design="blueprint"] #authGate .btn.auth-submit:hover{background:#0c1d45;filter:none;box-shadow:none}
body[data-theme="site"][data-design="blueprint"] #authGate .btn.auth-submit::after{content:none}

/* ══ MONSOON — editorial magazine · cream paper, moss, sage · Newsreader serif + Instrument Sans · hairline rules, 14px radius, pill buttons, sage margin rules ══ */
body[data-theme="site"][data-design="monsoon"]{--paper:#fffdf8;--ink-2:#555b58;--moss:#4f6b4a;--moss-d:#3d5439;--sage:#9fb3a0;--wash:#e7ebe3;--deep:#1e2322;--rule:rgba(43,47,46,.14);
  --shadow:0 1px 2px rgba(43,47,46,.06),0 18px 40px -28px rgba(43,47,46,.28);--shadow-sm:0 1px 2px rgba(43,47,46,.06),0 8px 20px -16px rgba(43,47,46,.25);--warn:#7a5300;--err:#8f3b2b;
  background:radial-gradient(60% 45% at 6% -8%,rgba(159,179,160,.4),rgba(159,179,160,0) 70%),radial-gradient(48% 40% at 104% 2%,rgba(79,107,74,.13),rgba(79,107,74,0) 70%),radial-gradient(70% 50% at 50% 110%,rgba(231,235,227,.9),rgba(231,235,227,0) 70%),#f1eee4;font-variant-numeric:lining-nums;scrollbar-color:#9fb3a0 transparent}
/* the token muted (#6a716e) is 4.3:1 on the cream page; content reads the deeper ink-2 (the rail keeps its own) */
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal,#toast){--muted:#555b58;--grad:linear-gradient(135deg,#4f6b4a,#3d5439)}
body[data-theme="site"][data-design="monsoon"] ::selection{background:#c9d5c9;color:#2b2f2e}
body[data-theme="site"][data-design="monsoon"] :focus-visible{outline:2px solid #4f6b4a;outline-offset:3px;border-radius:2px}
body[data-theme="site"][data-design="monsoon"] :is(#sidebar,.mobile-tab-bar) :focus-visible{outline-color:#b9d7b3}
body[data-theme="site"][data-design="monsoon"] :is(h1,h2,h3,h4,.view-head h2,.modal-card h3){font-family:var(--font-head);font-weight:400;letter-spacing:-.012em;font-optical-sizing:auto}
body[data-theme="site"][data-design="monsoon"] .view-head{border-bottom:1px solid var(--rule);background:rgba(246,243,236,.72)}
body[data-theme="site"][data-design="monsoon"] .view-head h2{font-style:italic;font-weight:350;font-size:28px;line-height:1.05;letter-spacing:-.022em}
body[data-theme="site"][data-design="monsoon"] .modal-card h3{font-style:italic;font-size:24px}

/* rail: the deep dark spread, serif kickers, moss pill for the open chapter */
body[data-theme="site"][data-design="monsoon"] #sidebar{background:linear-gradient(180deg,#232827,#1e2322 60%);border-right:0;--txt:#f1eee4;--muted:#b9c7ba;--line:rgba(241,238,228,.16);--panel2:rgba(241,238,228,.08);scrollbar-color:#6f7a72 transparent}
body[data-theme="site"][data-design="monsoon"] #sidebar .brand .brand-logo{border-radius:14px;box-shadow:0 12px 26px -16px rgba(0,0,0,.6)}
body[data-theme="site"][data-design="monsoon"] #sidebar .brand-sub{font-family:var(--font-head);font-style:italic;font-weight:400;font-size:14px;letter-spacing:0;text-transform:none;color:#f1eee4}
body[data-theme="site"][data-design="monsoon"] #sidebar .nav-group-label{flex-shrink:0;opacity:1;font-family:var(--font-head);font-style:italic;font-weight:400;font-size:13.5px;letter-spacing:0;text-transform:none;color:#b9c7ba;margin-top:6px;padding:10px 14px 4px}
body[data-theme="site"][data-design="monsoon"].sidebar-collapsed #sidebar .nav-group-label{font-size:0;padding:0;margin:10px 0 4px}
body[data-theme="site"][data-design="monsoon"].sidebar-collapsed #sidebar .nav-group-label::after{margin:0 auto}
body[data-theme="site"][data-design="monsoon"] #sidebar .nav-group-label::after{content:"";display:block;width:1.75rem;height:2px;margin-top:6px;background:#9fb3a0}
body[data-theme="site"][data-design="monsoon"] #sidebar .nav-item{border-radius:999px;color:#e7e3d8;font-weight:500;min-height:44px}
body[data-theme="site"][data-design="monsoon"] #sidebar .nav-item:hover{background:rgba(241,238,228,.08);color:#fff}
body[data-theme="site"][data-design="monsoon"] #sidebar .nav-item.active{background:#4f6b4a;color:#fff;font-weight:600;box-shadow:none}
body[data-theme="site"][data-design="monsoon"] #sidebar .badge{background:#e7ebe3;color:#2b2f2e;border-radius:999px;font-weight:600}
body[data-theme="site"][data-design="monsoon"] #sidebar .status{color:#b9c7ba;border-top:1px solid rgba(241,238,228,.16)}
body[data-theme="site"][data-design="monsoon"] #sidebar .status.ok{color:#b9d7b3}
body[data-theme="site"][data-design="monsoon"] #sidebar .status.bad{color:#f0b9a8}
body[data-theme="site"][data-design="monsoon"] #sidebar .session-chip{background:rgba(241,238,228,.06);border:1px solid rgba(241,238,228,.18);border-radius:14px}
body[data-theme="site"][data-design="monsoon"] #app #sidebar button.btn.ghost{background:transparent;color:#f1eee4;border:1px solid rgba(241,238,228,.5);border-radius:999px}
body[data-theme="site"][data-design="monsoon"] #app #sidebar button.btn.ghost:hover{background:#f1eee4;color:#2b2f2e}
body[data-theme="site"][data-design="monsoon"] :is(#sidebarCollapse,#sidebarReveal){border-radius:999px}
body[data-theme="site"][data-design="monsoon"] #sidebarResizer:hover{background:#9fb3a0}

/* pages of the magazine: paper, hairlines, soft lift */
body[data-theme="site"][data-design="monsoon"] :is(.card,.kpi,.kpi-card,.chart-wrap,.solar-result-card,.modal-card,.fb-gallery,.fb-ai-panel){background:#fffdf8;border:1px solid var(--rule);border-radius:14px;box-shadow:0 1px 2px rgba(43,47,46,.06),0 18px 40px -28px rgba(43,47,46,.28)}
body[data-theme="site"][data-design="monsoon"] :is(.kanban-card,.flow-node,.preset-card,.fb-gallery-card,.solar-finance-card,.imp-method,.qr-pick,.recip-box,.drill-list,.ac-box,.flow-action-box){background:#fffdf8;border:1px solid var(--rule);border-radius:10px;box-shadow:0 1px 2px rgba(43,47,46,.05)}
body[data-theme="site"][data-design="monsoon"] :is(.kanban-col,.sla-stat,.flow-stat-box,.tmpl-preview){background:#e7ebe3;border:0;border-radius:10px}
body[data-theme="site"][data-design="monsoon"] .cinfo{background:#fbfaf5;border-left:1px solid var(--rule)}
body[data-theme="site"][data-design="monsoon"] .note{background:#e7ebe3;border-left:2px solid #9fb3a0;border-radius:3px}
body[data-theme="site"][data-design="monsoon"] :is(.card,.modal-card) .card{box-shadow:none}
body[data-theme="site"][data-design="monsoon"] .card>strong:first-child{display:block;margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid var(--rule);font-family:var(--font-head);font-style:italic;font-weight:450;font-size:18px;letter-spacing:-.01em}
body[data-theme="site"][data-design="monsoon"] .chart-title{font-family:var(--font-head);font-style:italic;font-weight:450;font-size:16px}
body[data-theme="site"][data-design="monsoon"] .kpi-val{font-family:var(--font-head);font-weight:450;font-size:30px;line-height:1.05;letter-spacing:-.014em;color:#4f6b4a;font-variant-numeric:lining-nums tabular-nums}
body[data-theme="site"][data-design="monsoon"] :is(.kpi-lbl,.kpi-label,.solar-finance-label,.sla-stat-label,.flow-stat-label,.kanban-col-head){color:#555b58;letter-spacing:.01em;text-transform:none;font-size:12px}
body[data-theme="site"][data-design="monsoon"] :is(.solar-finance-val,.sla-stat-val,.flow-stat-val){font-family:var(--font-head);font-weight:450;color:#4f6b4a}
body[data-theme="site"][data-design="monsoon"] .help::before{content:"";display:inline-block;width:.9rem;height:2px;margin-right:.45rem;vertical-align:.25em;background:#9fb3a0}
body[data-theme="site"][data-design="monsoon"] :is(.sol-row,.solar-result-row,.ctwa-stat-row,.agent-row,.timeline-item,.drill-row,.ac-item){border-bottom:1px solid var(--rule)}
body[data-theme="site"][data-design="monsoon"] :is(.funnel-bar,.chart-bar-fill,.src-bar,.heat-cell,.chart-col .bar){border-radius:2px}
body[data-theme="site"][data-design="monsoon"] :is(.funnel-track,.src-track,.chart-bar-track,.funnel-track2){background:#e7ebe3;border-radius:2px}
body[data-theme="site"][data-design="monsoon"] :is(.funnel-bar,.chart-bar-fill,.chart-col .bar.in,.src-bar,.heat-cell){background:#4f6b4a}
body[data-theme="site"][data-design="monsoon"] :is(.chart-bar-fill.out,.chart-col .bar.out){background:#9fb3a0}
body[data-theme="site"][data-design="monsoon"] :is(.kpi-up,.funnel-conv.ok){color:#3f6b38}
body[data-theme="site"][data-design="monsoon"] :is(.kpi-dn,.funnel-conv.warn){color:#8f3b2b}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .funnel-bar{color:#fff}
/* danger zone: a quiet correction slip, rust italic heading */
body[data-theme="site"][data-design="monsoon"] .settings-danger{background:#f5e6e0;border:1px solid rgba(143,59,43,.28);border-radius:14px}
body[data-theme="site"][data-design="monsoon"] .settings-danger-title{color:#8f3b2b;font-family:var(--font-head);font-style:italic;font-weight:500;font-size:16px}
/* agent flow diagram: moss pill to start, a wash pill to end, dashed hairlines when off */
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .flow-start{background:#4f6b4a;color:#fff;border-radius:999px}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .flow-end{background:#e7ebe3;color:#2b2f2e;border-radius:999px}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .flow-num{background:#e7ebe3;color:#3d5439;font-family:var(--font-head);font-style:italic}
body[data-theme="site"][data-design="monsoon"] :is(.flow-arrow,.flow-step-arrow){color:#3d5439}
body[data-theme="site"][data-design="monsoon"] .flow-node.off{opacity:1;border-style:dashed;color:#555b58}
body[data-theme="site"][data-design="monsoon"] .fb-root[data-fb-skin="classic"] .fb-node.fb-ai .fb-node-head{color:#2f6b2a}

/* pill buttons, quiet fields, editorial tabs */
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) button.btn{background:#4f6b4a;color:#fff;border:1px solid #4f6b4a;border-radius:999px;font-weight:500;min-height:36px}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) button.btn:hover{background:#3d5439;border-color:#3d5439;color:#fff}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) button.btn.ghost{background:transparent;color:#2b2f2e;border-color:#6a716e}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) button.btn.ghost:hover{background:#e7ebe3;border-color:#4f6b4a;color:#2b2f2e}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .fb-del{border-radius:999px}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) :is(.fb-new,.fb-save,.fb-ai-cta,.fb-ai-build){border-radius:999px}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) select.mini.ai-mode-sel.is-off:not([multiple]){color:#8f3b2b;border-color:#8f3b2b}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){background:#fff;color:#2b2f2e;border:1px solid #858b88;border-radius:10px}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) :is(input,select,textarea):focus{outline:none;border-color:#4f6b4a;box-shadow:0 0 0 3px rgba(79,107,74,.22)}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) ::placeholder{color:#6a716e}
body[data-theme="site"][data-design="monsoon"] label:not([class]){color:#555b58;font-weight:500}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .tabs{background:#e7ebe3;border-radius:999px;padding:3px}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .tab{border-radius:999px;color:#555b58;font-weight:500}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .tab:hover{color:#2b2f2e}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .tab.active{background:#4f6b4a;color:#fff;box-shadow:none}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) :is(.solar-tab,.settings-tab){color:#555b58;font-weight:500}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) :is(.solar-tab,.settings-tab).active{color:#2b2f2e;border-bottom-color:#4f6b4a;font-family:var(--font-head);font-style:italic;font-weight:500;font-size:15px}
body[data-theme="site"][data-design="monsoon"] :is(.solar-tab-bar,.settings-tabs){border-bottom:1px solid var(--rule)}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) :is(.tf-chip,.leads-view-toggle button,.dash-period-bar button){border:1px solid #858b88;border-radius:999px;background:transparent;color:#2b2f2e}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) :is(.tf-chip.active,.leads-view-toggle button.active,.dash-period-bar button.active){background:#4f6b4a;border-color:#4f6b4a;color:#fff}

/* tables: one ink rule over the heads, hairlines between rows */
body[data-theme="site"][data-design="monsoon"] th{font-weight:500;font-size:12px;color:#555b58;background:transparent;text-transform:none;letter-spacing:.01em;border-bottom:1px solid #2b2f2e}
body[data-theme="site"][data-design="monsoon"] td{border-bottom:1px solid var(--rule)}
body[data-theme="site"][data-design="monsoon"] tr.clickable:hover td{background:#f6f3ec}

/* badges: soft washes */
body[data-theme="site"][data-design="monsoon"] :is(.pill,.role-pill,.proposal-status,.project-stage-badge,.badge-hot,.badge-warm,.badge-cold,.badge-won,.badge-lost,.confirm-chip,.kanban-col-count){background:#e7ebe3;color:#3d5439;border:0;border-radius:999px;font-weight:600;letter-spacing:.01em;text-transform:none}
body[data-theme="site"][data-design="monsoon"] :is(.pill.REJECTED,.pill.failed,.badge-hot,.badge-lost){background:#f5e6e0;color:#8f3b2b}
body[data-theme="site"][data-design="monsoon"] :is(.pill.PENDING,.badge-warm,.proposal-status.draft,.project-stage-badge.survey){background:#f6edd9;color:#7a5300}
body[data-theme="site"][data-design="monsoon"] :is(.pill.sent,.pill.queued,.badge-cold,.proposal-status.sent,.project-stage-badge.design,.project-stage-badge.installed){background:#eceae3;color:#555b58}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .role-pill.admin{background:#4f6b4a;color:#fff}
body[data-theme="site"][data-design="monsoon"] #sidebar .role-pill{background:rgba(241,238,228,.12);color:#f1eee4}
body[data-theme="site"][data-design="monsoon"] #sidebar .role-pill.admin{background:#4f6b4a;color:#fff}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) :is(.unread-count,.thread.active .unread-count){background:#4f6b4a;color:#fff}
body[data-theme="site"][data-design="monsoon"] :is(#app,#modal) .inbox-avatar{background:#e7ebe3;color:#3d5439;font-family:var(--font-head);font-style:italic;font-weight:500;font-size:17px}

/* inbox: letters on cream */
body[data-theme="site"][data-design="monsoon"] :is(.threads,.threads-col){background:#fbfaf5}
body[data-theme="site"][data-design="monsoon"] .thread{border-bottom:1px solid var(--rule)}
body[data-theme="site"][data-design="monsoon"] .thread.active{background:#e7ebe3;box-shadow:inset 2px 0 0 #4f6b4a}
body[data-theme="site"][data-design="monsoon"] .thread .name{font-family:var(--font-head);font-weight:500;font-size:15px}
body[data-theme="site"][data-design="monsoon"] .convo-msgs{background:radial-gradient(70% 40% at 0% 0%,rgba(159,179,160,.22),rgba(159,179,160,0) 70%),#f1eee4}
body[data-theme="site"][data-design="monsoon"] .msg{color:#2b2f2e;line-height:1.5}
body[data-theme="site"][data-design="monsoon"] .msg.in{background:#fffdf8;border:1px solid var(--rule);border-radius:14px 14px 14px 4px}
body[data-theme="site"][data-design="monsoon"] .msg.out{background:#e7ebe3;border-radius:14px 14px 4px 14px}
body[data-theme="site"][data-design="monsoon"] .msg .meta{color:#555b58}
body[data-theme="site"][data-design="monsoon"] :is(.composer,.tmpl-bar,.convo-head,.inbox-thread-header){background:#fbfaf5;border-color:var(--rule)}
body[data-theme="site"][data-design="monsoon"] #toast .toast{background:#fffdf8;color:#2b2f2e;border:1px solid var(--rule);border-left:3px solid #4f6b4a;border-radius:14px;box-shadow:0 18px 40px -24px rgba(43,47,46,.35)}
body[data-theme="site"][data-design="monsoon"] #toast .toast.err{border-left-color:#8f3b2b}
body[data-theme="site"][data-design="monsoon"] #modal{background:rgba(30,35,34,.45)}
body[data-theme="site"][data-design="monsoon"] .mobile-tab-bar{background:#1e2322;border-top:0}
body[data-theme="site"][data-design="monsoon"] #app .mobile-tab-btn{color:#e7e3d8;min-height:44px}
body[data-theme="site"][data-design="monsoon"] #app .mobile-tab-btn.active{color:#b9d7b3;box-shadow:inset 0 2px 0 #9fb3a0}

/* sign-in: a quiet opening page under the monsoon sky */
body[data-theme="site"][data-design="monsoon"] #authGate{background:radial-gradient(78vw 52vw at -22vw -16vw,rgba(159,179,160,.62),rgba(159,179,160,0) 70%),radial-gradient(70vw 44vw at 110% 10%,rgba(79,107,74,.2),rgba(79,107,74,0) 70%),radial-gradient(64vw 64vw at 50% -20%,rgba(255,253,244,.95),rgba(255,253,244,0) 70%),linear-gradient(180deg,#e9ede6 0%,#f1f0e8 46%,#f6f3ec 88%)}
body[data-theme="site"][data-design="monsoon"] #authGate::before,body[data-theme="site"][data-design="monsoon"] #authGate::after{content:none}
body[data-theme="site"][data-design="monsoon"] #authGate .auth-card{background:rgba(255,253,248,.94);border:1px solid var(--rule);border-radius:14px;box-shadow:0 1px 2px rgba(43,47,46,.06),0 30px 60px -36px rgba(43,47,46,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#2b2f2e}
body[data-theme="site"][data-design="monsoon"] #authGate .auth-card::before{content:none}
body[data-theme="site"][data-design="monsoon"] #authGate .auth-logo-img{border-radius:10px;box-shadow:none}
body[data-theme="site"][data-design="monsoon"] #authGate .auth-eyebrow{font-family:var(--font-head);font-style:italic;font-weight:400;font-size:16px;letter-spacing:0;text-transform:none;color:#4f6b4a}
body[data-theme="site"][data-design="monsoon"] #authGate .auth-title{color:#2b2f2e;font-family:var(--font-head);font-style:italic;font-weight:350;font-size:36px;line-height:1.05;letter-spacing:-.022em}
body[data-theme="site"][data-design="monsoon"] #authGate .auth-help{color:#555b58}
body[data-theme="site"][data-design="monsoon"] #authGate .auth-help::before{content:"";display:block;width:1.75rem;height:2px;margin:4px auto 12px;background:#9fb3a0}
body[data-theme="site"][data-design="monsoon"] #authGate input{background:#fff;color:#2b2f2e;border:1px solid #858b88;border-radius:10px}
body[data-theme="site"][data-design="monsoon"] #authGate input::placeholder{color:#6a716e}
body[data-theme="site"][data-design="monsoon"] #authGate input:focus{background:#fff;border-color:#4f6b4a;box-shadow:0 0 0 3px rgba(79,107,74,.22)}
body[data-theme="site"][data-design="monsoon"] #authGate .pw-eye{color:#555b58}
body[data-theme="site"][data-design="monsoon"] #authGate .auth-msg{color:#8f3b2b}
body[data-theme="site"][data-design="monsoon"] #authGate .btn.auth-submit{background:#4f6b4a;color:#fff;border:0;border-radius:999px;box-shadow:0 12px 26px -16px rgba(79,107,74,.7);font-weight:600;min-height:50px}
body[data-theme="site"][data-design="monsoon"] #authGate .btn.auth-submit:hover{background:#3d5439;filter:none;box-shadow:0 14px 30px -16px rgba(79,107,74,.8)}
body[data-theme="site"][data-design="monsoon"] #authGate .btn.auth-submit::after{content:none}
