@keyframes shimmer{to{background-position:-200% 0}}@keyframes hq-ping{0%{box-shadow:0 0 0 0 var(--focus-ring)}to{box-shadow:0 0 0 10px #0000}}.hq-scope{--canvas:#fff;--paper:#fff;--paper-soft:#fafafa;--ink:#171717;--muted:#525252;--line:#e5e5e5;--line-soft:#ededed;--olive:#171717;--olive-dark:#0a0a0a;--olive-soft:#f5f5f5;--gold:#8f6420;--gold-soft:#f7f0e2;--clay:#a33a32;--clay-soft:#f8eae8;--clay-strong:#f4e6e1;--shadow:0 18px 45px #00000014;--gold-deep:#79541a;--clay-link:#8f2f28;--control-text:#404040;--nav-active-accent:#3d3d3d;--avatar-gradient-start:#454545;--avatar-gradient-end:#1c1c1c;--olive-bright:#3d3d3d;--glyph-muted:#757575;--client-accent:#587554;--sales-accent:#764c6c;--control-outline:#8a8a8a;--select-fill:#0a0a0a0d;--select-line:#0a0a0a73;--line-olive:#e0e0e0;--line-olive-bright:#dcdcdc;--button-face:#fff;--control-surface:#fff;--chip-neutral-bg:#f5f5f5;--chip-neutral-ink:#525252;--empty-ink:#595959;--placeholder-ink:#6b6b6b;--placeholder-ink-soft:#6b6b6b;--skeleton-base:#ededed;--skeleton-shine:#f9f9f9;--form-label-ink:#4d4d4d;--error-border:#e8c6c2;--error-ink:#8f2f28;--card-caption-ink:#666;--owner-pill-bg:#f5f5f5;--owner-pill-ink:#525252;--record-meta-ink:#5c5c5c;--mobile-label-ink:#666;--canvas-wash:#00000006;--canvas-veil:#ffffffe0;--sidebar-glass:#fafafaed;--column-glass:#f5f5f5b3;--filter-tabs-face:#f5f5f5e6;--stage-strip-face:#f5f5f5bf;--control-face:#fafafaf2;--add-deal-face:#fff9;--card-glow-clay:#f8eae899;--card-glow-gold:#f7f0e2a6;--focus-ring:#0a0a0a99;--focus-ring-soft:#0a0a0a59;--glow-olive:#0000001f;--glow-olive-strong:#00000029;--card-face-start:#fffffff0;--card-face-end:#fafafad9;--card-glow-start:#fffffff5;--shadow-subtle:#0000000d;--shadow-lift:#0000000b;--shadow-deal:#00000014;--shadow-deal-hover:#0000001f;--shadow-modal:#00000040;--paper-veil:#ffffffbd;--paper-faint:#ffffff8c;--row-hover:#00000009;--hover-strong:#0000000d;--scrim:#0a0a0a73;background:radial-gradient(circle at 85% 4%,var(--canvas-wash),transparent 28rem),var(--canvas);min-height:100dvh;color:var(--ink);font-family:Arial,Helvetica,sans-serif}.hq-scope,.hq-scope *{box-sizing:border-box}.hq-scope :is(button,input,select,textarea):not(.hq-embed *){font:inherit}.hq-scope button,.hq-scope select{cursor:pointer}.hq-scope button:focus-visible,.hq-scope input:focus-visible,.hq-scope select:focus-visible,.hq-scope textarea:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.hq-scope .hq-shell{min-height:100vh}.hq-scope .sidebar{z-index:30;width:var(--hq-nav-w);border-right:1px solid var(--line);background:var(--sidebar-glass);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transition:width var(--hq-nav-dur)var(--hq-nav-ease),box-shadow var(--hq-nav-dur)var(--hq-nav-ease),background-color var(--hq-nav-dur)var(--hq-nav-ease);flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.hq-scope .nav-sub[hidden],.hq-scope .account-menu[hidden]{display:none!important}.hq-scope .side-brand{align-items:center;min-height:56px;margin:8px 10px 0;padding:0 4px 0 7px;display:flex;position:relative}.hq-scope .brand-mark{background:var(--olive);width:26px;height:26px;color:var(--button-face);letter-spacing:.02em;transition:opacity .12s var(--hq-nav-ease);border-radius:7px;flex:none;place-items:center;font-family:Georgia,Times New Roman,serif;font-size:12px;display:grid}.hq-scope .brand-text{white-space:nowrap;min-width:0;max-width:150px;transition:max-width var(--hq-nav-dur)var(--hq-nav-ease),margin-left var(--hq-nav-dur)var(--hq-nav-ease),opacity .14s var(--hq-nav-ease);margin-left:7px;overflow:hidden}.hq-scope .brand-name{color:var(--ink);letter-spacing:.01em;font-family:Georgia,Times New Roman,serif;font-size:14px;line-height:1.2;display:block}.hq-scope .brand-sub{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:2px;font-size:11px;font-weight:700;display:block}.hq-scope .pin-btn{width:28px;height:28px;color:var(--glyph-muted);transition:opacity .12s var(--hq-nav-ease),background-color .12s var(--hq-nav-ease),color .12s var(--hq-nav-ease);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}.hq-scope .pin-btn:hover{background:var(--row-hover);color:var(--ink)}.hq-scope .pin-btn:active{background:var(--hover-strong)}.hq-scope .side-nav{flex:1;align-content:start;gap:2px;padding:14px 10px 0;display:grid}.hq-scope .nav-item{width:100%;min-height:34px;color:var(--control-text);text-align:left;cursor:pointer;transition:background-color .12s var(--hq-nav-ease),color .12s var(--hq-nav-ease);background:0 0;border:0;border-radius:8px;align-items:center;padding:0 12px;font-size:13px;text-decoration:none;display:flex;position:relative}.hq-scope .sidebar .nav-item{font-size:13px}.hq-scope .nav-item>svg{color:var(--muted);transition:color .12s var(--hq-nav-ease)}.hq-scope .nav-label{white-space:nowrap;min-width:0;max-width:170px;transition:max-width var(--hq-nav-dur)var(--hq-nav-ease),margin-left var(--hq-nav-dur)var(--hq-nav-ease),opacity .14s var(--hq-nav-ease);margin-left:12px;overflow:hidden}.hq-scope .nav-item:hover{background:var(--row-hover);color:var(--ink)}.hq-scope .nav-item:hover>svg{color:var(--ink)}.hq-scope .nav-item:active{background:var(--hover-strong)}.hq-scope .nav-item[aria-current=page]{background:var(--select-fill);color:var(--ink);font-weight:700}.hq-scope .nav-item[aria-current=page]>svg{color:var(--ink)}.hq-scope .nav-caret{color:var(--glyph-muted);transition:transform .16s var(--hq-nav-ease);margin-left:auto;display:inline-flex}.hq-scope .nav-group[aria-expanded=true] .nav-caret{transform:rotate(90deg)}.hq-scope .nav-sub{border-left:1px solid var(--line);gap:2px;margin:2px 0 2px 22px;padding-left:16px;display:grid}.hq-scope .nav-sub .nav-item{min-height:30px;padding:0 10px;font-size:12.5px}.hq-scope .nav-sub .nav-label{margin-left:0}.hq-scope .side-foot{margin-top:auto;padding:10px}.hq-scope .foot-row{align-items:center;gap:4px;display:flex}.hq-scope .mode-btn{min-width:0;min-height:32px;color:var(--muted);text-align:left;cursor:pointer;transition:background-color .12s var(--hq-nav-ease),color .12s var(--hq-nav-ease);background:0 0;border:0;border-radius:8px;flex:1;align-items:center;padding:0 12px;font-size:12.5px;display:flex;position:relative}.hq-scope .sidebar .mode-btn{font-size:12.5px}.hq-scope .mode-btn:hover{background:var(--row-hover);color:var(--ink)}.hq-scope .mode-btn:active{background:var(--hover-strong)}.hq-scope .mode-btn>svg{color:var(--muted);transition:color .12s var(--hq-nav-ease)}.hq-scope .mode-btn:hover>svg{color:var(--ink)}.hq-scope .mode-label{white-space:nowrap;min-width:0;max-width:150px;transition:max-width var(--hq-nav-dur)var(--hq-nav-ease),margin-left var(--hq-nav-dur)var(--hq-nav-ease),opacity .14s var(--hq-nav-ease);margin-left:12px;overflow:hidden}.hq-scope .account-wrap{border-top:1px solid var(--line);margin-top:6px;padding-top:8px;position:relative}.hq-scope .account{cursor:pointer;width:100%;min-height:44px;transition:background-color .12s var(--hq-nav-ease);background:0 0;border:0;border-radius:10px;align-items:center;padding:0 7px;display:flex}.hq-scope .account:hover{background:var(--row-hover)}.hq-scope .account:active,.hq-scope .account[aria-expanded=true]{background:var(--hover-strong)}.hq-scope .avatar{background:linear-gradient(145deg,var(--avatar-gradient-start),var(--avatar-gradient-end));width:26px;height:26px;color:var(--button-face);border-radius:50%;flex:none;place-items:center;font-family:Georgia,Times New Roman,serif;font-size:11px;display:grid}.hq-scope .account-text{text-align:left;white-space:nowrap;min-width:0;max-width:150px;transition:max-width var(--hq-nav-dur)var(--hq-nav-ease),margin-left var(--hq-nav-dur)var(--hq-nav-ease),opacity .14s var(--hq-nav-ease);margin-left:7px;overflow:hidden}.hq-scope .account-name{color:var(--ink);text-overflow:ellipsis;font-size:13px;font-weight:700;line-height:1.25;display:block;overflow:hidden}.hq-scope .account-name-empty{color:var(--muted);font-weight:400}.hq-scope .account-role{color:var(--muted);font-size:11px;display:block}.hq-scope .account-caret{color:var(--glyph-muted);margin-left:auto;display:inline-flex}.hq-scope .account-menu{z-index:5;border:1px solid var(--line);background:var(--paper);width:216px;box-shadow:0 14px 38px var(--shadow-modal);border-radius:12px;flex-direction:column;gap:1px;padding:5px;display:flex;position:absolute;bottom:calc(100% + 6px);left:0}.hq-scope .account-menu button,.hq-scope .account-menu a{min-height:32px;color:var(--ink);text-align:left;cursor:pointer;transition:background-color .1s var(--hq-nav-ease);background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;padding:0 9px;font-size:12.5px;text-decoration:none;display:flex}.hq-scope .account-menu button:hover,.hq-scope .account-menu a:hover{background:var(--row-hover)}.hq-scope .account-menu button:active,.hq-scope .account-menu a:active{background:var(--hover-strong)}.hq-scope .account-menu svg{color:var(--muted);flex:none}.hq-scope .menu-sep{background:var(--line);height:1px;margin:4px 6px}.hq-scope .tip{position:relative}.hq-scope .tip-label{z-index:40;border:1px solid var(--line);background:var(--paper);box-shadow:0 6px 18px var(--shadow-modal);color:var(--ink);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .11s var(--hq-nav-ease),transform .11s var(--hq-nav-ease);border-radius:7px;padding:5px 9px;font-size:12px;font-weight:400;position:absolute;top:50%;left:calc(100% + 10px);transform:translate(-4px,-50%)}.hq-scope .settings-shell{grid-template-columns:176px minmax(0,1fr);align-items:start;gap:28px;max-width:844px;display:grid}.hq-scope .settings-rail{flex-direction:column;gap:18px;max-height:calc(100vh - 120px);display:flex;position:sticky;top:18px;overflow-y:auto}.hq-scope .rail-group ul{flex-direction:column;gap:1px;margin:0;padding:0;list-style:none;display:flex}.hq-scope .rail-group-label{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;margin:0 0 6px 10px;font-size:10.5px;font-weight:700}.hq-scope .settings-rail .rail-item{width:100%;height:32px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;padding:0 10px;font-size:13px;display:flex}.hq-scope .settings-rail .rail-item:hover{background:var(--row-hover);color:var(--ink)}.hq-scope .settings-rail .rail-item[aria-current=page]{background:var(--select-fill);color:var(--ink);font-weight:700}.hq-scope .settings-panel{grid-template-columns:minmax(0,1fr);gap:14px;max-width:640px;display:grid}.hq-scope .settings-card-embed{max-width:none}.hq-scope .feedback-list{flex-direction:column;gap:10px;margin-top:14px;display:flex}.hq-scope .feedback-row{border:1px solid var(--line-soft);background:var(--paper-soft);border-radius:11px;flex-direction:column;gap:8px;padding:13px 14px;display:flex}.hq-scope .feedback-row-done,.hq-scope .feedback-row-declined{border-color:#0000}.hq-scope .feedback-row-head{align-items:baseline;gap:9px;display:flex}.hq-scope .feedback-kind{letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:2px 8px;font-size:10.5px;font-weight:700}.hq-scope .feedback-kind-bug{background:var(--clay-soft);color:var(--clay-link)}.hq-scope .feedback-kind-idea{background:var(--gold-soft);color:var(--gold-deep)}.hq-scope .feedback-meta{color:var(--muted);font-size:11.5px}.hq-scope .feedback-body{color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13.5px;line-height:1.55}.hq-scope .feedback-actions{flex-wrap:wrap;gap:5px;display:flex}.hq-scope .feedback-actions button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;padding:4px 10px;font-size:11.5px}.hq-scope .feedback-actions button:hover:not(:disabled){background:var(--row-hover);color:var(--ink)}.hq-scope .feedback-actions button.selected{background:var(--select-fill);color:var(--ink);border-color:#0000;font-weight:700}.hq-scope .feedback-actions button:disabled{cursor:default;opacity:.55}.hq-scope .feedback-modal-meta{color:var(--muted);margin:5px 0 0;font-size:12px}.hq-scope .feedback-sent{color:var(--ink);justify-content:center;align-items:center;gap:9px;padding:40px 24px 44px;font-size:15px;display:flex}.hq-scope .feedback-sent-mark{background:var(--select-fill);border-radius:50%;place-items:center;width:26px;height:26px;font-size:14px;display:grid}.hq-scope .feedback-counter{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:auto;font-size:11.5px}.hq-scope .settings-card-count{color:var(--muted);vertical-align:middle;margin-left:9px;font-family:ui-sans-serif,system-ui,sans-serif;font-size:12px;font-weight:700}.hq-scope .settings-card{border:1px solid var(--line);background:linear-gradient(135deg,var(--card-face-start),var(--card-face-end));border-radius:14px;padding:19px 20px}.hq-scope .settings-card-title{margin:0;font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:400}.hq-scope .settings-card-description{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.5}.hq-scope .settings-card-body{margin-top:16px}.hq-scope .connected-apps{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.hq-scope .connected-app{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:14px 16px}.hq-scope .connected-app-revoked{background:0 0;border-style:dashed}.hq-scope .connected-app-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.hq-scope .connected-app-head strong{color:var(--ink);overflow-wrap:anywhere;font-size:13px;display:block}.hq-scope .connected-app-meta{color:var(--muted);margin-top:2px;font-size:11px;display:block}.hq-scope .connected-app-note{color:var(--gold-deep);margin:10px 0 0;font-size:11.5px;line-height:1.5}.hq-scope .connected-app-scopes{border-top:1px solid var(--line-soft);grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px 14px;margin-top:12px;padding-top:12px;display:grid}.hq-scope .connected-app-scope{cursor:pointer;align-items:flex-start;gap:9px;display:flex}.hq-scope .connected-app-scope input{width:16px;height:16px;accent-color:var(--olive-dark);flex:none;margin-top:2px}.hq-scope .connected-app-scope strong{color:var(--ink);font-size:12.5px;font-weight:600;display:block}.hq-scope .connected-app-scope small{color:var(--muted);margin-top:2px;font-size:11px;line-height:1.45;display:block}.hq-scope .connected-app-group{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:14px 0 0;font-size:10.5px;font-weight:600}.hq-scope .connected-app-group span{letter-spacing:0;text-transform:none;font-weight:400}.hq-scope .connected-app-group+.connected-app-scopes{border-top:0;margin-top:8px;padding-top:0}.hq-scope .api-key-form{border:1px solid var(--line-soft);background:var(--paper-soft);border-radius:10px;flex-direction:column;gap:12px;padding:14px;display:flex}.hq-scope .api-key-field{flex-direction:column;gap:6px;display:flex}.hq-scope .api-key-field span{color:var(--ink);font-size:12.5px;font-weight:600}.hq-scope .api-key-field input{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;padding:8px 10px;font-size:13px}.hq-scope .api-key-scopes{flex-direction:column;gap:10px;display:flex}.hq-scope .api-key-form button[type=submit]{align-self:flex-start}.hq-scope .api-key-reveal{border:1px solid var(--clay);background:var(--clay-soft);border-left-width:3px;border-radius:10px;padding:14px}.hq-scope .api-key-reveal-title{color:var(--ink);margin:0 0 10px;font-size:13px;line-height:1.5}.hq-scope .api-key-secret{border:1px solid var(--line);background:var(--paper);color:var(--ink);word-break:break-all;-webkit-user-select:all;user-select:all;border-radius:8px;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6;display:block}.hq-scope .api-key-reveal-actions{gap:8px;margin-top:10px;display:flex}.hq-scope .api-key-reveal-note{color:var(--muted);margin:10px 0 0;font-size:11.5px;line-height:1.5}.hq-scope .api-key-identity{flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:8px 0 0;display:flex}.hq-scope .api-key-identity code{color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px}.hq-scope .api-key-identity span{color:var(--muted);font-size:11.5px}.hq-scope .approvals-card-inline{border-left:3px solid var(--clay)}.hq-scope .approvals-count{background:var(--clay-soft);min-width:20px;height:20px;color:var(--clay-link);vertical-align:middle;border-radius:10px;justify-content:center;align-items:center;margin-left:8px;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .approvals{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.hq-scope .approval{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:14px 16px}.hq-scope .approval-approved,.hq-scope .approval-rejected,.hq-scope .approval-expired{background:0 0;border-style:dashed}.hq-scope .approval-failed{border-color:var(--clay)}.hq-scope .approval-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.hq-scope .approval-head strong{color:var(--ink);overflow-wrap:anywhere;font-size:13px;line-height:1.45;display:block}.hq-scope .approval-meta{color:var(--muted);margin-top:3px;font-size:11px;display:block}.hq-scope .approval-actions{flex:none;gap:8px;display:flex}.hq-scope .approval-status{color:var(--muted);text-align:right;flex:none;font-size:11px}.hq-scope .approval-quote{border-left:2px solid var(--line);background:var(--paper-soft);color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;padding:8px 12px;font-size:12px;line-height:1.5}.hq-scope .approval-note{color:var(--muted);margin:8px 0 0;font-size:11.5px;line-height:1.5}.hq-scope .approval-drift{color:var(--gold-deep)}.hq-scope .approval-error{color:var(--clay-link)}.hq-scope .settings-embed{border:1px solid var(--line);border-radius:10px;overflow-x:auto}.hq-scope .hq-main{min-height:100vh;margin-left:var(--hq-gutter);transition:margin-left var(--hq-nav-dur)var(--hq-nav-ease);padding:35px 38px 48px}.hq-scope .topbar{justify-content:space-between;align-items:center;gap:24px;margin-bottom:27px;display:flex}.hq-scope .eyebrow{color:var(--gold-deep);letter-spacing:.2em;margin:0 0 9px;font-size:11px;font-weight:700}.hq-scope .topbar h1{letter-spacing:-.025em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(29px,3vw,42px);font-weight:400}.hq-scope .topbar-subtitle{color:var(--muted);margin:7px 0 0;font-size:14px}.hq-scope .primary-button,.hq-scope .secondary-button,.hq-scope .delete-button{border-radius:11px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 19px;font-weight:700;display:inline-flex}.hq-scope .primary-button{border:1px solid var(--olive);background:linear-gradient(135deg,var(--olive),var(--olive-bright));color:var(--button-face);box-shadow:0 10px 24px var(--glow-olive)}.hq-scope .primary-button:hover{background:var(--olive-dark)}.hq-scope .primary-button:disabled{cursor:wait;opacity:.65}.hq-scope .secondary-button{border:1px solid var(--line);background:var(--control-surface);color:var(--ink)}.hq-scope .delete-button{color:var(--clay);background:0 0;border:1px solid #0000;margin-right:auto}.hq-scope .delete-button:hover{border-color:var(--clay-soft);background:var(--clay-soft)}.hq-scope .delete-button:disabled{cursor:wait;opacity:.55}.hq-scope .mobile-menu{display:none}.hq-scope .stat-row{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:26px;display:grid}.hq-scope .stat-card{border:1px solid var(--line);background:var(--paper);box-shadow:0 1px 2px var(--shadow-subtle);border-radius:16px;flex-direction:column;padding:18px 20px 0;display:flex;position:relative}.hq-scope .stat-head{justify-content:space-between;align-items:center;gap:10px;min-height:18px;display:flex}.hq-scope .stat-label{color:var(--muted);letter-spacing:.09em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;align-items:center;gap:6px;font-size:11px;font-weight:700;display:inline-flex;overflow:hidden}.hq-scope .stat-dot{background:var(--clay);border-radius:50%;flex:none;width:5px;height:5px}.hq-scope .stat-glyph{color:var(--glyph-muted);flex:none;line-height:0}.hq-scope .stat-value{min-height:36px;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.015em;margin:14px 0 0;font-family:Georgia,Times New Roman,serif;font-size:36px;font-weight:400;line-height:1}.hq-scope .stat-support{flex-direction:column;justify-content:flex-end;gap:7px;min-height:34px;margin-top:11px;display:flex}.hq-scope .stat-note{color:var(--muted);font-size:12px;line-height:1.35}.hq-scope .stat-foot{border-top:1px solid var(--line-soft);align-items:center;min-height:44px;margin-top:auto;padding:11px 0 13px;display:flex}.hq-scope .stat-action-label,.hq-scope .stat-foot .stat-note{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hq-scope .hq-caret{line-height:0;transition:transform .15s;display:inline-flex;transform:rotate(90deg)}.hq-scope [aria-expanded=true]>.hq-caret{transform:rotate(270deg)}.hq-scope .attention-block{border:1px solid var(--line);background:var(--paper-veil);box-shadow:0 12px 30px var(--shadow-lift);border-radius:14px;margin-bottom:22px;padding:18px 20px}.hq-scope .attention-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.hq-scope .attention-heading h2{margin:0;font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:400}.hq-scope .attention-notice{background:var(--gold-soft);color:var(--gold-deep);border-radius:8px;margin:10px 0 0;padding:8px 11px;font-size:11px;line-height:1.4}.hq-scope .attention-list{flex-direction:column;margin-top:10px;display:flex}.hq-scope .attention-row{border-bottom:1px solid var(--line-soft);color:inherit;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border-top:0;border-left:0;border-right:0;align-items:flex-start;gap:12px;padding:11px 4px;text-decoration:none;display:flex}.hq-scope .attention-row:last-child{border-bottom:0}.hq-scope .attention-row:hover{background:var(--row-hover)}.hq-scope .attention-row:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px;background:var(--row-hover);border-radius:8px}.hq-scope .attention-row-exit{letter-spacing:.01em;color:var(--muted);white-space:nowrap;flex:none;align-self:center;font-size:11px;font-weight:600}@media (max-width:590px){.hq-scope .attention-row-exit{display:none}}.hq-scope .attention-row-icon{border:1px solid var(--line-olive);background:var(--olive-soft);width:30px;height:30px;color:var(--olive);border-radius:50%;flex:0 0 30px;place-items:center;display:grid}.hq-scope .attention-row-body{flex:auto;min-width:0}.hq-scope .attention-row-title{font-size:13px;font-weight:700;line-height:1.3;display:block}.hq-scope .attention-row-context{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;line-height:1.35;display:block;overflow:hidden}.hq-scope .attention-row .priority-tag{white-space:nowrap;flex:none;margin-top:1px}.hq-scope .attention-next{border:1px solid var(--olive);background:linear-gradient(135deg,var(--olive-soft),var(--paper));width:100%;font:inherit;text-align:left;border-radius:14px;align-items:center;gap:14px;margin:0 0 14px;padding:15px 17px;transition:box-shadow .16s,transform .16s;display:flex}.hq-scope .attention-next:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.hq-scope .attention-next-label{background:var(--olive);color:var(--button-face);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;flex:none;align-self:flex-start;padding:4px 9px;font-size:11px;font-weight:700}.hq-scope .attention-next-body{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.hq-scope .attention-next-title{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:16px}.hq-scope .attention-next-context{color:var(--muted);font-size:13px}.hq-scope .attention-next-go{color:var(--olive-dark);flex:none;align-items:center;gap:6px;font-size:13px;font-weight:600;display:inline-flex}@media (max-width:590px){.hq-scope .attention-next{flex-direction:column;align-items:start;gap:9px}}.hq-scope .attention-more-toggle{border:1px solid var(--line);background:var(--paper);color:var(--olive-dark);font:inherit;border-radius:999px;align-items:center;gap:5px;margin-top:9px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.hq-scope .attention-more-toggle:hover{background:var(--olive-soft)}.hq-scope .filter-tabs{border:1px solid var(--line);background:var(--filter-tabs-face);border-radius:10px;padding:4px;display:inline-flex}.hq-scope .filter-tabs button{min-height:31px;color:var(--muted);background:0 0;border:0;border-radius:7px;padding:0 12px;font-size:12px}.hq-scope .filter-tabs button.selected{background:var(--olive-soft);color:var(--olive-dark);font-weight:700}.hq-scope .column-count{background:var(--olive-soft);min-width:25px;height:25px;color:var(--olive-dark);border-radius:50%;place-items:center;font-size:11px;font-weight:700;display:grid}.hq-scope .priority-tag{background:var(--chip-neutral-bg);min-height:22px;color:var(--chip-neutral-ink);border-radius:999px;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.hq-scope .priority-tag.p1{background:var(--clay-soft);color:var(--clay)}.hq-scope .hq-skeleton{background:linear-gradient(90deg,var(--skeleton-base),var(--skeleton-shine),var(--skeleton-base));vertical-align:middle;background-size:200% 100%;border-radius:6px;animation:1.4s infinite shimmer;display:inline-block}.hq-scope .hq-skeleton-text{border-radius:4px;width:3.4em;height:.8em}.hq-scope .hq-skeleton-badge{border-radius:4px;width:14px;height:8px}.hq-scope .hq-skeleton-row{height:68px;margin:12px 16px;display:block}.hq-scope .task-skeleton{border-radius:10px;height:140px}.hq-scope .no-update{color:var(--muted);margin:9px 0 0;font-size:12px}.hq-scope .num{font-variant-numeric:tabular-nums}.hq-scope .hq-btn{border:1px solid var(--line);background:var(--paper);min-height:40px;color:var(--ink);font:inherit;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:13px;font-weight:700;transition:transform .12s cubic-bezier(.16,1,.3,1),background-color .12s cubic-bezier(.16,1,.3,1),border-color .12s cubic-bezier(.16,1,.3,1);display:inline-flex}.hq-scope .hq-btn:hover{border-color:var(--control-outline);background:var(--olive-soft)}.hq-scope .hq-btn:active{transform:translateY(1px)}.hq-scope .hq-btn:disabled{cursor:wait;opacity:.65}.hq-scope .hq-btn-primary{border-color:var(--olive);background:var(--olive);color:var(--button-face)}.hq-scope .hq-btn-primary:hover{border-color:var(--olive-dark);background:var(--olive-dark)}.hq-scope .hq-btn-quiet{color:var(--muted);background:0 0;border-color:#0000}.hq-scope .hq-btn-quiet:hover{background:var(--olive-soft);color:var(--ink)}.hq-scope .hq-btn-sm{min-height:32px;padding:0 12px;font-size:12px}.hq-scope .tasks-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.hq-scope .tasks-summary{color:var(--muted);margin:0;font-size:12px}.hq-scope .money-chip{position:relative}.hq-scope .money-btn{border:1px solid var(--line);background:var(--paper);min-height:44px;color:inherit;text-align:left;border-radius:8px;align-items:center;gap:8px;padding:0 12px;transition:border-color .12s cubic-bezier(.16,1,.3,1),background-color .12s cubic-bezier(.16,1,.3,1);display:flex}.hq-scope .money-btn:hover{border-color:var(--control-outline)}.hq-scope .money-btn>svg,.hq-scope .money-btn .hq-caret{color:var(--muted);flex:none}.hq-scope .money-body{min-width:0;display:grid}.hq-scope .money-figure{letter-spacing:-.01em;align-items:baseline;gap:4px;font-size:14px;font-weight:700;display:flex}.hq-scope .money-unit{color:var(--muted);letter-spacing:.04em;font-size:11px;font-weight:700}.hq-scope .money-caption{color:var(--muted);font-size:11px}.hq-scope .money-pop{z-index:40;border:1px solid var(--line);background:var(--paper);width:320px;max-width:86vw;box-shadow:var(--shadow);border-radius:8px;padding:14px;position:absolute;top:calc(100% + 6px);right:0}.hq-scope .money-pop[hidden]{display:none}.hq-scope .money-pop dl{gap:10px;margin:0;display:grid}.hq-scope .money-pop dt{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:700}.hq-scope .money-pop dd{color:var(--ink);margin:2px 0 0;font-size:12px;line-height:1.45}.hq-scope .money-native{gap:2px;display:grid}.hq-scope .money-native-row{grid-template-columns:56px 1fr;align-items:baseline;gap:8px;display:grid}.hq-scope .money-native-code{color:var(--muted);font-size:11px;font-weight:700}.hq-scope .money-native-empty{color:var(--muted);font-size:12px}.hq-scope .money-pop hr{border:0;border-top:1px solid var(--line);margin:12px 0}.hq-scope .money-pop-note{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.hq-scope .align{border:1px solid var(--line);background:var(--paper);box-shadow:0 1px 2px var(--shadow-subtle);border-radius:12px;overflow:hidden}.hq-scope .align:before{background:var(--clay);content:"";height:2px;display:block}.hq-scope .align[data-logged=yes]:before{background:var(--line)}.hq-scope .align-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 16px 12px;display:flex}.hq-scope .align-head h2{margin:0;font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:400}.hq-scope .align .eyebrow{text-transform:uppercase;margin-bottom:5px}.hq-scope .align-action{flex:none}.hq-scope .align-state{align-items:center;gap:6px;margin:7px 0 0;font-size:12px;display:flex}.hq-scope .align-state[data-tone=attn]{color:var(--clay-link)}.hq-scope .align-state[data-tone=ok]{color:var(--ink)}.hq-scope .align-since{color:var(--muted)}.hq-scope .align-done{padding:0 16px 14px}.hq-scope .align-done .suggest{margin-top:0}.hq-scope .align-done .suggest-label{align-items:center;gap:5px;font-weight:700;display:inline-flex}.hq-scope .align-done-owner{margin-left:2px;font-weight:700}.hq-scope .align-done-owner:before{content:"·";margin-right:3px;font-weight:400}.hq-scope .align-today{border:1px solid var(--line);background:var(--line);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0 16px 16px;display:grid;overflow:hidden}.hq-scope .align-today>div{background:var(--paper);padding:12px}.hq-scope .align-today dt{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:6px;font-size:11px;font-weight:700;display:flex}.hq-scope .align-today dd{margin:6px 0 0;font-size:14px;line-height:1.45}.hq-scope .align-value:empty:after{color:var(--muted);content:"—"}.hq-scope .align-link{border:0;border-bottom:1px solid var(--line-olive-bright);color:var(--ink);font:inherit;background:0 0;align-items:center;gap:4px;margin-top:7px;padding:0;font-size:12px;font-weight:700;display:inline-flex}.hq-scope .align-link:hover{border-bottom-color:var(--ink)}.hq-scope .compose{padding:0 16px 16px}.hq-scope .compose-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.hq-scope .align-field label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:6px;font-size:11px;font-weight:700;display:flex}.hq-scope .align-field textarea{resize:vertical;border:1px solid var(--control-outline);background:var(--canvas);width:100%;min-height:64px;color:var(--ink);border-radius:6px;margin-top:6px;padding:8px 12px;font-size:13px;line-height:1.5;transition:border-color .12s cubic-bezier(.16,1,.3,1),box-shadow .12s cubic-bezier(.16,1,.3,1);display:block}.hq-scope .align-field textarea::placeholder{color:var(--placeholder-ink-soft)}.hq-scope .align-field textarea:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px var(--focus-ring-soft);outline:0}.hq-scope .suggest{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.hq-scope .suggest-label{color:var(--muted);font-size:11px}.hq-scope .suggest-chip{border:1px dashed var(--control-outline);min-height:26px;color:var(--muted);font:inherit;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:0 9px;font-size:11px;transition:color .12s cubic-bezier(.16,1,.3,1),border-color .12s cubic-bezier(.16,1,.3,1);display:inline-flex}.hq-scope .suggest-chip:hover{border-color:var(--ink);color:var(--ink)}.hq-scope .compose-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.hq-scope .compose-hint{color:var(--muted);margin-right:auto;font-size:11px}.hq-scope .history{border-top:1px solid var(--line);padding:12px 16px 16px}.hq-scope .history-head{width:100%;color:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:4px 0;transition:color .12s cubic-bezier(.16,1,.3,1);display:flex}.hq-scope .history-head h3{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:700;display:flex}.hq-scope .history-head:hover h3{color:var(--ink)}.hq-scope .history-count{background:var(--chip-neutral-bg);min-width:20px;height:18px;color:var(--chip-neutral-ink);letter-spacing:0;border-radius:999px;justify-content:center;align-items:center;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .history-body{position:relative}.hq-scope .history-body[hidden]{display:none}.hq-scope .history-scope{justify-content:flex-end;min-height:20px;display:flex}.hq-scope .history-body:after{background:linear-gradient(to right,transparent,var(--paper));content:"";pointer-events:none;width:56px;height:132px;position:absolute;bottom:0;right:0}.hq-scope .history-body:has(.history-track.all):after{display:none}.hq-scope .history-track{scroll-snap-type:x proximity;gap:8px;margin-top:12px;padding-bottom:8px;display:flex;overflow-x:auto}.hq-scope .history-track.all{flex-wrap:wrap;overflow:visible}.hq-scope .history-track.all .history-entry{scroll-snap-align:none}.hq-scope .history-entry{border:1px solid var(--line);background:var(--canvas);scroll-snap-align:start;border-radius:8px;flex:0 0 232px;padding:12px}.hq-scope .history-entry-gap{background:0 0;border-style:dashed}.hq-scope .entry-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.hq-scope .entry-head strong{font-size:12px;font-weight:700}.hq-scope .entry-head span{color:var(--muted);font-size:11px}.hq-scope .history-entry p{margin:6px 0 0;font-size:13px;line-height:1.45}.hq-scope .history-entry p b{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-right:4px;font-size:11px;font-weight:700}.hq-scope .history-entry-gap .entry-head strong,.hq-scope .history-entry-gap p{color:var(--muted)}.hq-scope .history-entry p.entry-attn{color:var(--clay-link)}.hq-scope .focus-bar{z-index:20;background:var(--canvas-veil);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin-top:24px;padding:12px 0;position:sticky;top:0}.hq-scope .focus-inner{border:1px solid var(--line);background:var(--paper);box-shadow:0 1px 2px var(--shadow-subtle);border-radius:12px;padding:12px}.hq-scope .lenses{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.hq-scope .lens{border:1px solid var(--line);background:var(--canvas);color:inherit;font:inherit;text-align:left;border-radius:8px;padding:12px;transition:border-color .12s cubic-bezier(.16,1,.3,1),background-color .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1);position:relative}.hq-scope .lens:hover{border-color:var(--control-outline);transform:translateY(-1px)}.hq-scope .lens:active{transform:translateY(0)}.hq-scope .lens-top{color:var(--muted);align-items:center;gap:6px;display:flex}.hq-scope .lens-name{color:var(--ink);font-size:12px;font-weight:700}.hq-scope .lens-count{letter-spacing:-.03em;margin-top:8px;font-size:26px;font-weight:700;line-height:1;display:block}.hq-scope .lens-note{min-height:1.2em;color:var(--muted);margin-top:6px;font-size:12px;display:block}.hq-scope .lens[aria-pressed=true]{border-color:var(--select-line);background:var(--select-fill);box-shadow:inset 0 0 0 1px var(--select-line)}.hq-scope .lens[aria-pressed=true]:after{background:var(--ink);content:"";border-radius:2px;height:2px;position:absolute;bottom:-1px;left:12px;right:12px}.hq-scope .lens-warn .lens-count,.hq-scope .lens-warn .lens-note{color:var(--clay-link)}.hq-scope .focus-row{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;padding-top:12px;display:flex}.hq-scope .axis{align-items:center;gap:8px;display:flex}.hq-scope .axis-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:700}.hq-scope .owner-seg{border:1px solid var(--line);background:var(--canvas);border-radius:999px;padding:2px;display:flex}.hq-scope .owner-seg button{min-height:28px;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:999px;padding:0 12px;font-size:12px;font-weight:700}.hq-scope .owner-seg button:hover{color:var(--ink)}.hq-scope .owner-seg button[aria-pressed=true]{background:var(--olive);color:var(--button-face)}.hq-scope .blocked-toggle{border:1px solid var(--line);min-height:32px;color:var(--muted);font:inherit;background:0 0;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:12px;font-weight:700;transition:background-color .12s cubic-bezier(.16,1,.3,1),border-color .12s cubic-bezier(.16,1,.3,1),color .12s cubic-bezier(.16,1,.3,1);display:inline-flex}.hq-scope .blocked-toggle:hover{border-color:var(--control-outline);color:var(--ink)}.hq-scope .blocked-toggle[aria-pressed=true]{border-color:var(--clay);background:var(--clay-soft);color:var(--clay-link)}.hq-scope .blocked-toggle .num{opacity:.8}.hq-scope .ping{animation:.7s cubic-bezier(.16,1,.3,1) 2 hq-ping}.hq-scope .focus-result{align-items:center;gap:12px;margin-left:auto;display:flex}.hq-scope .focus-count{color:var(--muted);margin:0;font-size:12px}.hq-scope .focus-count b{color:var(--ink);font-weight:700}.hq-scope .board{align-items:stretch;gap:12px;margin-top:12px;display:flex}.hq-scope .lane{border:1px solid var(--line);background:var(--column-glass);border-radius:12px;flex-direction:column;flex:1 1 0;min-width:0;transition:flex-basis .2s cubic-bezier(.16,1,.3,1);display:flex}.hq-scope .lane-head{width:100%;color:inherit;text-align:left;background:0 0;border:0;border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;gap:8px;padding:12px;transition:background-color .12s cubic-bezier(.16,1,.3,1);display:flex}.hq-scope .lane-head:hover{background:var(--select-fill)}.hq-scope .lane-head h3{margin:0;font-size:13px;font-weight:700}.hq-scope .lane-head p{color:var(--muted);margin:1px 0 0;font-size:12px}.hq-scope .lane-meta{flex:none;align-items:center;gap:8px;display:flex}.hq-scope .lane-count{background:var(--chip-neutral-bg);min-width:22px;height:22px;color:var(--chip-neutral-ink);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .lane-chev{color:var(--muted);line-height:0;transition:transform .2s cubic-bezier(.16,1,.3,1);display:inline-flex;transform:rotate(90deg)}.hq-scope .lane[data-open=true] .lane-chev{transform:rotate(270deg)}.hq-scope .lane-body{flex-direction:column;flex:1;gap:8px;padding:0 8px 8px;display:flex}.hq-scope .lane-add{border:1px dashed var(--line);min-height:36px;color:var(--muted);font:inherit;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin:0 8px 8px;font-size:12px;font-weight:700;transition:border-color .12s cubic-bezier(.16,1,.3,1),color .12s cubic-bezier(.16,1,.3,1),background-color .12s cubic-bezier(.16,1,.3,1);display:flex}.hq-scope .lane-add:hover{border-color:var(--control-outline);background:var(--select-fill);color:var(--ink)}.hq-scope .lane[data-open=false]{flex:0 0 46px}.hq-scope .lane[data-open=false] .lane-head{border-radius:12px;flex-direction:column;justify-content:flex-start;gap:12px;height:100%;min-height:180px;padding:12px 0}.hq-scope .lane[data-open=false] .lane-headings{writing-mode:vertical-rl;transform:rotate(180deg)}.hq-scope .lane[data-open=false] .lane-headings p{display:none}.hq-scope .lane[data-open=false] .lane-meta{flex-direction:column}.hq-scope .lane[data-open=false] .lane-chev{transform:rotate(-90deg)}.hq-scope .task{border:1px solid var(--line);background:var(--paper);box-shadow:0 1px 2px var(--shadow-subtle);cursor:pointer;border-radius:8px;padding:12px 12px 12px 15px;transition:border-color .12s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1);position:relative;overflow:hidden}.hq-scope .task:before{background:var(--client-accent);content:"";width:3px;position:absolute;top:0;bottom:0;left:0}.hq-scope .task[data-type=business]:before{background:var(--gold)}.hq-scope .task[data-type=sales]:before{background:var(--sales-accent)}.hq-scope .task[data-type=unsorted]:before{background:var(--clay)}.hq-scope .task:hover{border-color:var(--control-outline);box-shadow:0 10px 26px var(--shadow-deal-hover);transform:translateY(-1px)}.hq-scope .task:focus-within{border-color:var(--focus-ring)}.hq-scope .task-top{align-items:center;gap:8px;display:flex}.hq-scope .task-type{color:var(--muted);flex:none;align-items:center;gap:6px;font-size:12px;display:inline-flex}.hq-scope .type-dot{border-radius:999px;flex:none;width:6px;height:6px}.hq-scope .type-dot-client{background:var(--client-accent)}.hq-scope .type-dot-business{background:var(--gold)}.hq-scope .type-dot-sales{background:var(--sales-accent)}.hq-scope .type-dot-unsorted{border:1px dashed var(--clay);background:0 0;width:8px;height:8px}.hq-scope .task[data-type=unsorted] .task-type{color:var(--clay-link)}.hq-scope .task-client{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.hq-scope .task-client:before{content:"·";margin:0 6px}.hq-scope .task-right{flex:none;align-items:center;gap:6px;margin-left:auto;display:flex}.hq-scope .task-p1{border:1px solid var(--control-outline);color:var(--ink);letter-spacing:.06em;border-radius:4px;padding:1px 6px;font-size:11px;font-weight:700}.hq-scope .task-who{border:1px solid var(--line);background:var(--chip-neutral-bg);min-width:20px;height:20px;color:var(--chip-neutral-ink);letter-spacing:.02em;border-radius:999px;justify-content:center;align-items:center;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .task h4{margin:6px 0 0;font-size:15px;font-weight:600;line-height:1.35}.hq-scope .task-signals{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.hq-scope .task-signals:empty{display:none}.hq-scope .task-sig{background:var(--chip-neutral-bg);min-height:22px;color:var(--chip-neutral-ink);border-radius:4px;align-items:center;gap:4px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.hq-scope .task-sig-late{background:var(--clay-strong);box-shadow:inset 0 0 0 1px var(--clay);color:var(--clay-link)}.hq-scope .task-sig-soon{background:var(--clay-soft);color:var(--clay-link)}.hq-scope .task-sig-money{border:1px solid var(--line);color:var(--ink);font-variant-numeric:tabular-nums;background:0 0}.hq-scope .task-sig-money i{color:var(--muted);margin-right:3px;font-size:11px;font-style:normal;font-weight:700}.hq-scope .task-sig-steps{cursor:pointer;font:inherit;border:0;font-size:12px;font-weight:700}.hq-scope .task-sig-steps svg:last-of-type{margin-left:-1px;transition:transform .16s cubic-bezier(.16,1,.3,1)}.hq-scope .task-sig-steps-open svg:last-of-type{transform:rotate(180deg)}.hq-scope .task-steps{border-top:1px solid var(--line-soft);margin:8px 0 0;padding:8px 0 2px;list-style:none}.hq-scope .task-step{width:100%;color:var(--ink);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:4px;align-items:flex-start;gap:8px;padding:4px 2px;font-size:13px;line-height:1.4;display:flex}.hq-scope .task-step:hover{background:var(--select-fill)}.hq-scope .task-step-box{border:1px solid var(--line);color:#0000;border-radius:4px;flex:none;justify-content:center;align-items:center;width:15px;height:15px;margin-top:1px;transition:background-color .12s cubic-bezier(.16,1,.3,1),border-color .12s cubic-bezier(.16,1,.3,1);display:inline-flex}.hq-scope .task-step:not(.task-step-done):hover .task-step-box{border-color:var(--control-outline)}.hq-scope .task-step-done .task-step-box{border-color:var(--olive);background:var(--olive);color:var(--button-face)}.hq-scope .task-step-done span{color:var(--muted);text-decoration:line-through}.hq-scope .task-step-add{align-items:center;gap:6px;margin-top:6px;display:flex}.hq-scope .task-step-add input{border:1px solid var(--line);background:var(--control-surface);min-width:0;height:28px;color:var(--ink);font:inherit;border-radius:6px;flex:1;padding:0 8px;font-size:13px}.hq-scope .task-step-add input::placeholder{color:var(--muted)}.hq-scope .task-step-add input:disabled{cursor:not-allowed}.hq-scope .task-step-add-go{border:1px solid var(--line);width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border-radius:6px;flex:none;justify-content:center;align-items:center;display:inline-flex}.hq-scope .task-step-add-go:hover:not(:disabled){border-color:var(--control-outline);background:var(--select-fill);color:var(--ink)}.hq-scope .task-step-add-go:disabled{cursor:not-allowed;opacity:.45}.hq-scope .task-line{background:var(--clay-soft);color:var(--clay-link);border-radius:4px;gap:6px;margin:6px 0 0;padding:6px 8px;font-size:13px;line-height:1.45;display:flex}.hq-scope .task-line b{flex:none;font-weight:700}.hq-scope .task-line-quiet{background:var(--chip-neutral-bg);color:var(--chip-neutral-ink)}.hq-scope .task-line-quiet b{color:var(--clay-link)}.hq-scope .task-actions{border-top:0 solid var(--line);opacity:0;align-items:center;gap:8px;max-height:0;margin-top:0;padding-top:0;transition:max-height .2s cubic-bezier(.16,1,.3,1),opacity .12s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.hq-scope .task:hover .task-actions,.hq-scope .task:focus-within .task-actions{opacity:1;border-top-width:1px;max-height:60px;margin-top:8px;padding-top:8px}.hq-scope .task-actions select{border:1px solid var(--control-outline);background:var(--control-surface);min-height:28px;color:var(--muted);border-radius:6px;padding:0 8px;font-size:13px}.hq-scope .task-done{border:1px solid var(--line);min-height:28px;color:var(--muted);font:inherit;background:0 0;border-radius:6px;align-items:center;gap:4px;margin-left:auto;padding:0 8px;font-size:13px;font-weight:700;transition:color .12s cubic-bezier(.16,1,.3,1),border-color .12s cubic-bezier(.16,1,.3,1),background-color .12s cubic-bezier(.16,1,.3,1);display:inline-flex}.hq-scope .task-done:hover{border-color:var(--control-outline);background:var(--select-fill);color:var(--ink)}.hq-scope .task-complete h4{color:var(--muted);font-weight:500}.hq-scope .task-complete:before{opacity:.4}.hq-scope .lane-empty{border:1px dashed var(--line);color:var(--empty-ink);text-align:center;border-radius:8px;flex-direction:column;align-items:center;gap:6px;padding:24px 12px;display:flex}.hq-scope .lane-empty p{margin:0;font-size:12px}.hq-scope .lane-empty button{border:0;border-bottom:1px solid var(--line-olive-bright);color:var(--ink);font:inherit;background:0 0;padding:0;font-size:12px;font-weight:700}.hq-scope .lane-empty button:hover{border-bottom-color:var(--ink)}.hq-scope .board-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:8px;padding:48px 16px;display:flex}.hq-scope .board-empty h3{color:var(--ink);margin:0;font-size:16px}.hq-scope .board-empty p{max-width:46ch;margin:0;font-size:12px}@media (max-width:1260px){.hq-scope .lenses{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.hq-scope .settings-shell{grid-template-columns:minmax(0,1fr);gap:16px}.hq-scope .settings-rail{flex-direction:row;align-items:center;gap:14px;max-height:none;padding-bottom:2px;position:static;overflow-x:auto}.hq-scope .rail-group{align-items:center;gap:8px;display:flex}.hq-scope .rail-group+.rail-group{border-left:1px solid var(--line);padding-left:14px}.hq-scope .rail-group-label{white-space:nowrap;margin:0}.hq-scope .rail-group ul{flex-direction:row;gap:4px}.hq-scope .settings-rail .rail-item{white-space:nowrap;height:44px}.hq-scope .tasks-header{align-items:stretch}.hq-scope .money-chip{flex:1}.hq-scope .money-btn{width:100%}.hq-scope .align-today{grid-template-columns:1fr 1fr}.hq-scope .compose-grid{grid-template-columns:1fr}.hq-scope .focus-bar{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;position:static}.hq-scope .focus-result{width:100%;margin-left:0}.hq-scope .board{scroll-snap-type:x mandatory;margin-left:-18px;margin-right:-18px;padding-bottom:12px;padding-left:18px;padding-right:18px;overflow-x:auto}.hq-scope .lane{scroll-snap-align:start;flex:0 0 min(80vw,300px)}.hq-scope .lane[data-open=false]{flex:0 0 46px}}@media (max-width:590px){.hq-scope .align-today{grid-template-columns:1fr}.hq-scope .lenses{grid-template-columns:1fr 1fr}.hq-scope .lenses .lens:last-child{grid-column:span 2}}@media (prefers-reduced-motion:reduce){.hq-scope .ping{animation:none}.hq-scope .hq-btn,.hq-scope .money-btn,.hq-scope .align-field textarea,.hq-scope .suggest-chip,.hq-scope .history-head,.hq-scope .lens,.hq-scope .blocked-toggle,.hq-scope .lane,.hq-scope .lane-head,.hq-scope .lane-chev,.hq-scope .lane-add,.hq-scope .task,.hq-scope .task-actions,.hq-scope .task-done{transition:none}}.hq-scope .message{border-radius:9px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;padding:10px 13px;font-size:12px;display:flex}.hq-scope .error-message{border:1px solid var(--error-border);background:var(--clay-soft);color:var(--error-ink)}.hq-scope .error-message button{color:inherit;background:0 0;border:0;font-weight:700}.hq-scope .toast{z-index:80;background:var(--olive-dark);box-shadow:var(--shadow);color:var(--button-face);border-radius:9px;padding:11px 16px;font-size:12px;font-weight:700;position:fixed;top:22px;right:24px}.hq-scope .modal-backdrop{z-index:100;background:var(--scrim);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.hq-scope .modal{border:1px solid var(--line);background:var(--paper);width:min(680px,100%);max-height:calc(100vh - 40px);box-shadow:0 28px 80px var(--shadow-modal);border-radius:17px;overflow-y:auto}.hq-scope .modal-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:start;gap:20px;padding:22px 24px 18px;display:flex}.hq-scope .modal-header h2{margin:0;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:400}.hq-scope .modal-header>button{border:1px solid var(--line);background:var(--control-surface);width:34px;height:34px;color:var(--muted);border-radius:50%;font-size:21px}.hq-scope .task-form{grid-template-columns:1fr 1fr;gap:14px;padding:20px 24px 24px;display:grid}.hq-scope .task-form label{color:var(--form-label-ink);gap:7px;font-size:11px;font-weight:700;display:grid}.hq-scope .task-form input,.hq-scope .task-form select,.hq-scope .task-form textarea{border:1px solid var(--line);background:var(--control-surface);width:100%;color:var(--ink);border-radius:8px}.hq-scope .task-form input,.hq-scope .task-form select{height:40px;padding:0 11px}.hq-scope .task-form textarea{resize:vertical;min-height:76px;padding:10px 11px}.hq-scope .field-wide{grid-column:1/-1}.hq-scope .payment-details{border:1px solid var(--line-soft);color:var(--muted);border-radius:8px;padding:11px 12px;font-size:11px}.hq-scope .payment-details>div{grid-template-columns:1fr 1fr;gap:12px;margin-top:11px;display:grid}.hq-scope .modal-actions{justify-content:flex-end;gap:9px;padding-top:4px;display:flex}.hq-scope .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.hq-scope .hq-section{width:100%}.hq-scope .section-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:20px;display:flex}.hq-scope .section-heading-actions-only{justify-content:flex-end}.hq-scope .section-heading h2{letter-spacing:-.02em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:31px;font-weight:400}.hq-scope .section-heading>div>p:last-child{color:var(--muted);margin:7px 0 0;font-size:13px}.hq-scope .section-metrics{grid-template-columns:minmax(160px,.75fr) minmax(180px,.85fr) minmax(300px,1.4fr);gap:12px;margin-bottom:16px;display:grid}.hq-scope .summary-card{border:1px solid var(--line);background:linear-gradient(135deg,var(--card-face-start),var(--card-face-end));border-radius:14px;min-height:118px;padding:19px 20px}.hq-scope .summary-card>span{color:var(--muted);letter-spacing:.03em;font-size:11px;font-weight:700}.hq-scope .summary-card strong{margin-top:8px;font-family:Georgia,Times New Roman,serif;font-size:29px;font-weight:400;line-height:1.12;display:block}.hq-scope .summary-card small{color:var(--card-caption-ink);margin-top:7px;font-size:10px;display:block}.hq-scope .attention-card{background:linear-gradient(135deg,var(--card-glow-start),var(--card-glow-clay))}.hq-scope .attention-card strong{color:var(--clay)}.hq-scope .money-card{background:linear-gradient(135deg,var(--card-glow-start),var(--card-glow-gold))}.hq-scope .money-card strong{font-family:Arial,Helvetica,sans-serif;font-size:clamp(18px,1.7vw,25px);font-weight:700}.hq-scope :is(.summary-card,.record-money,.deal-card,.column-total,.team-payroll-group) .money-lines{grid-template-columns:max-content max-content;justify-content:start;align-items:baseline;gap:2px 10px;display:grid}.hq-scope :is(.summary-card,.record-money) .money-lines.is-empty{display:block}.hq-scope .money-line{display:contents}.hq-scope .money-line-code{color:var(--muted);letter-spacing:.06em;font-size:.62em;font-weight:700}.hq-scope .money-line-value{font-variant-numeric:tabular-nums;text-align:right}.hq-scope .money-lines-compact{gap:1px 6px}.hq-scope .deal-value-split{flex-wrap:wrap;align-items:baseline;gap:2px 6px;display:inline-flex}.hq-scope .deal-value-join{color:var(--muted);font-weight:400}.hq-scope .money-line-unit{color:var(--muted);letter-spacing:.04em;margin-left:1px;font-size:.66em;font-weight:700}.hq-scope .pipeline-stages{border:1px solid var(--line);background:var(--stage-strip-face);border-radius:12px;grid-template-columns:repeat(4,1fr);margin-bottom:16px;display:grid;overflow:hidden}.hq-scope .pipeline-stages>div{border-right:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:10px;min-height:52px;padding:0 16px;display:flex}.hq-scope .pipeline-stages>div:last-child{border-right:0}.hq-scope .pipeline-stages span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:700}.hq-scope .pipeline-stages strong{background:var(--olive-soft);width:26px;height:26px;color:var(--olive-dark);border-radius:50%;place-items:center;font-size:11px;display:grid}.hq-scope .list-toolbar{align-items:center;gap:10px;margin-bottom:12px;display:flex}.hq-scope .search-field{flex:1}.hq-scope .search-field input,.hq-scope .compact-select{border:1px solid var(--line);background:var(--control-face);min-height:41px;color:var(--ink);border-radius:10px;font-size:11px}.hq-scope .search-field input{width:100%;padding:0 13px}.hq-scope .search-field input::placeholder{color:var(--placeholder-ink)}.hq-scope .compact-select{min-width:118px;padding:0 10px}.hq-scope .records-table{border:1px solid var(--line);background:var(--paper-veil);box-shadow:0 12px 30px var(--shadow-lift);border-radius:14px;overflow-x:auto}.hq-scope .records-header,.hq-scope .record-row{grid-template-columns:minmax(170px,1.25fr) 145px 82px minmax(230px,1.8fr) 105px 120px 55px;align-items:center;gap:15px;min-width:1040px;display:grid}.hq-scope .records-header{border-bottom:1px solid var(--line);background:var(--paper-soft);min-height:48px;color:var(--muted);letter-spacing:.07em;text-transform:uppercase;padding:0 16px;font-size:11px;font-weight:800}.hq-scope .record-row{border-bottom:1px solid var(--line-soft);background:var(--paper-faint);min-height:91px;padding:13px 16px}.hq-scope .record-row:last-child{border-bottom:0}.hq-scope .record-row:hover{background:var(--hover-strong)}.hq-scope .client-table .record-row{cursor:pointer}.hq-scope .record-primary strong,.hq-scope .record-primary span,.hq-scope .record-primary small,.hq-scope .record-action strong,.hq-scope .record-action span{display:block}.hq-scope .record-primary strong{font-family:Georgia,Times New Roman,serif;font-size:15px;font-weight:700;line-height:1.25}.hq-scope .record-primary span{color:var(--muted);margin-top:5px;font-size:10px;line-height:1.35}.hq-scope .record-primary small{color:var(--gold-deep);margin-top:6px;font-size:9px}.hq-scope .record-status{justify-items:start;gap:7px;display:grid}.hq-scope .record-status select{border:1px solid var(--line);background:var(--control-surface);width:100%;min-height:32px;color:var(--control-text);border-radius:7px;padding:0 7px;font-size:12px;font-weight:700}.hq-scope .health-pill{background:var(--olive-soft);min-height:22px;color:var(--olive-dark);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.hq-scope .health-pill i{background:var(--olive);border-radius:50%;width:6px;height:6px}.hq-scope .health-attention{background:var(--gold-soft);color:var(--gold-deep)}.hq-scope .health-attention i{background:var(--gold)}.hq-scope .health-blocked{background:var(--clay-soft);color:var(--clay)}.hq-scope .health-blocked i{background:var(--clay)}.hq-scope .record-owner span{background:var(--owner-pill-bg);min-height:27px;color:var(--owner-pill-ink);border-radius:999px;align-items:center;padding:0 9px;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .record-action strong{font-size:11px;line-height:1.45}.hq-scope .record-action span{color:var(--clay);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:9px;line-height:1.4;display:-webkit-box;overflow:hidden}.hq-scope .pipeline-table .record-action span{color:var(--muted)}.hq-scope .record-due,.hq-scope .record-money{color:var(--record-meta-ink);font-size:10px;line-height:1.35}.hq-scope .record-money{font-weight:700}.hq-scope .record-due>span{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;width:fit-content;margin-top:5px;padding:3px 6px;font-size:11px;font-weight:800;display:block}.hq-scope .followup-today>span{background:var(--gold-soft);color:var(--gold-deep)}.hq-scope .followup-overdue{color:var(--clay)}.hq-scope .followup-overdue>span{background:var(--clay-soft);color:var(--clay)}.hq-scope .row-edit{border:1px solid var(--line);background:var(--control-surface);min-height:31px;color:var(--olive-dark);border-radius:7px;padding:0 9px;font-size:12px;font-weight:800}.hq-scope .records-loading,.hq-scope .records-empty{min-height:180px;color:var(--muted);text-align:center;place-items:center;padding:24px;font-size:12px;display:grid}.hq-scope .team-table .records-header,.hq-scope .team-table .record-row{grid-template-columns:minmax(180px,1.3fr) 92px minmax(210px,1.5fr) minmax(170px,1.2fr) 70px 130px 55px;min-width:1040px}.hq-scope .team-table .record-action span{-webkit-line-clamp:none;margin-top:0;font-size:11px;line-height:1.4;display:inline-flex;overflow:visible}.hq-scope .team-table .record-due>span{letter-spacing:0;text-transform:none;border-radius:0;width:auto;margin-top:0;padding:0;font-size:12.5px;font-weight:400;display:block}.hq-scope .team-table .team-pills{display:flex}.hq-scope .team-table .team-pill{color:var(--muted)}.hq-scope .team-table .team-pill-moving{color:var(--olive-dark)}.hq-scope .team-table .team-pill-waiting{color:var(--gold-deep)}.hq-scope .team-table .team-pill-late{color:var(--clay-link)}.hq-scope .team-table .team-idle{color:var(--muted);font-size:12px}.hq-scope .team-table .team-nolabel{color:var(--clay-link);font-size:11px}.hq-scope .team-pills{flex-wrap:wrap;gap:5px;display:flex}.hq-scope .team-pill{background:var(--paper-soft);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .team-pill-moving{background:var(--olive-soft);color:var(--olive-dark)}.hq-scope .team-pill-waiting{background:var(--gold-soft);color:var(--gold-deep)}.hq-scope .team-pill-late{background:var(--clay-soft);color:var(--clay-link)}.hq-scope .team-idle{color:var(--muted);font-size:12px}.hq-scope .team-status{letter-spacing:.03em;border-radius:999px;align-items:center;padding:2px 9px;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .team-status-active{background:var(--olive-soft);color:var(--olive-dark)}.hq-scope .team-status-past{background:var(--paper-soft);color:var(--muted)}.hq-scope .team-list{color:var(--ink);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12.5px;line-height:1.35;display:-webkit-box;overflow:hidden}.hq-scope .team-salary{flex-direction:column;gap:1px;font-size:13px;display:flex}.hq-scope .team-salary small{color:var(--muted);font-size:11px}.hq-scope .team-nolabel{color:var(--clay-link);font-size:11px;font-weight:600}.hq-scope .team-payroll{flex-direction:column;gap:9px;min-height:36px;margin:14px 0 0;display:flex}.hq-scope .team-payroll-group{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.hq-scope .team-payroll-group .money-lines{justify-content:end}.hq-scope .team-payroll-period{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;flex:none;font-size:11px;font-weight:700}.hq-scope .stat-value-empty{color:var(--muted)}.hq-scope .team-unclaimed{border:1px solid var(--line);background:var(--gold-soft);color:var(--gold-deep);border-radius:12px;margin-bottom:16px;padding:11px 14px;font-size:12.5px;line-height:1.45}.hq-scope .team-unclaimed strong{font-weight:800}.hq-scope .team-derived{border:1px solid var(--line-soft);background:var(--paper-soft);border-radius:12px;flex-direction:column;gap:8px;margin:0 0 18px;padding:13px 15px;display:flex}.hq-scope .team-derived-row{grid-template-columns:108px 1fr;align-items:baseline;gap:12px;display:grid}.hq-scope .team-derived-row>span:first-child{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:700}.hq-scope .team-derived-value{color:var(--ink);font-size:12.5px;line-height:1.4}.hq-scope .task-form .field-hint{color:var(--muted);letter-spacing:0;text-transform:none;margin-top:5px;font-size:11px;font-weight:400;line-height:1.45;display:block}.hq-scope .task-form .field-note{color:var(--form-label-ink);font-variant-numeric:tabular-nums;align-content:end;gap:4px;margin:0;font-size:11px;font-weight:700;display:grid}.hq-scope .task-form .field-note span{color:var(--muted);font-weight:400;line-height:1.45}.hq-scope .secondary-button.danger-button{border-color:var(--clay-soft);color:var(--clay-link);margin-right:auto}.hq-scope .secondary-button.danger-button:hover{border-color:var(--clay-link);background:var(--clay-soft)}.hq-scope .records-skeleton{min-height:180px;padding:12px 0;display:block}.hq-scope .hq-section-fallback{min-height:600px}.hq-scope .pipeline-board-wrap{scrollbar-width:thin;min-width:0;overflow-x:auto}.hq-scope .pipeline-board{grid-template-columns:repeat(5,minmax(190px,1fr));gap:10px;min-width:1010px;display:grid}.hq-scope .pipeline-column{--stage-tint:6%;--stage-bg:color-mix(in srgb,var(--olive)var(--stage-tint),var(--paper));border:1px dashed color-mix(in srgb,var(--olive)27%,var(--line));background:var(--stage-bg);border-radius:20px;flex-direction:column;min-width:0;min-height:420px;max-height:calc(100vh - 430px);padding:12px;transition:border-color .18s,background .18s,transform .18s;display:flex}.hq-scope .pipeline-column[data-stage=contacted]{--stage-tint:9%}.hq-scope .pipeline-column[data-stage=call_booked]{--stage-tint:12%}.hq-scope .pipeline-column[data-stage=proposal_sent]{--stage-tint:15%}.hq-scope .pipeline-column[data-stage=won]{--stage-tint:18%}.hq-scope .pipeline-column.drag-over{border-color:var(--olive);background:color-mix(in srgb,var(--stage-bg)86%,var(--paper));transform:translateY(-2px)}.hq-scope .pipeline-column-header{justify-content:space-between;align-items:flex-start;gap:8px;min-height:44px;padding:1px 6px 8px;display:flex}.hq-scope .pipeline-column-header h2{color:var(--olive-dark);margin:0 0 2px;font-size:13px;line-height:1.2}.hq-scope .pipeline-column-header p{color:var(--muted);margin:0;font-size:11px}.hq-scope .column-total{color:var(--olive-dark);white-space:nowrap;padding-top:4px;font-size:12px;font-weight:700}.hq-scope .card-list{flex:1;align-content:start;gap:10px;min-height:0;display:grid;overflow-y:auto}.hq-scope .deal-card{border:1px solid var(--line);background:var(--paper);box-shadow:0 3px 12px var(--shadow-deal);-webkit-user-select:none;user-select:none;border-radius:14px;padding:13px 13px 11px;transition:transform .16s,box-shadow .16s,opacity .16s}.hq-scope .deal-card:hover{box-shadow:0 8px 18px var(--shadow-deal-hover);transform:translateY(-2px)}.hq-scope .deal-card.dragging{opacity:.45;transform:rotate(1.2deg)scale(.98)}.hq-scope .deal-card:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px;border-color:var(--olive);box-shadow:0 0 0 3px var(--focus-ring-soft),var(--shadow)}.hq-scope .toast-action{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:10px;font-weight:700;text-decoration:underline}.hq-scope .toast-action:hover{opacity:.8}.hq-scope .card-top{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.hq-scope .card-top h3{letter-spacing:-.015em;margin:0;font-size:12.5px;line-height:1.25}.hq-scope .card-contact{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:4px 0 8px;font-size:11px;overflow:hidden}.hq-scope .badge{background:var(--line-soft);height:20px;color:var(--muted);white-space:nowrap;border-radius:7px;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.hq-scope .badge-new{background:var(--gold-soft);color:var(--gold-deep);letter-spacing:.02em;font-weight:600}.hq-scope .record-primary strong .badge-new{vertical-align:middle;margin-left:8px}.hq-scope .card-metric{justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 4px;display:flex}.hq-scope .card-value{letter-spacing:-.03em;font-size:18px;font-weight:700}.hq-scope .card-prob{color:var(--muted);font-size:11px}.hq-scope .progress-track{background:var(--line-soft);border-radius:4px;height:4px;overflow:hidden}.hq-scope .progress-bar{border-radius:inherit;background:linear-gradient(90deg,var(--olive-soft),var(--olive));height:100%}.hq-scope .pipeline-column[data-stage=won] .progress-bar{background:linear-gradient(90deg,var(--olive),var(--olive-dark))}.hq-scope .card-footer{justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.hq-scope .owner-chip{background:var(--olive-soft);width:23px;height:23px;color:var(--olive-dark);border-radius:7px;place-items:center;font-size:11px;font-weight:700;display:grid}.hq-scope .days-in-stage{color:var(--muted);font-size:11px}.hq-scope .add-deal-button{border:1px dashed color-mix(in srgb,var(--olive)65%,var(--line));background:var(--add-deal-face);width:100%;min-height:36px;color:var(--olive-dark);border-radius:11px;margin-top:10px;font-size:11px;font-weight:700;transition:background .16s,transform .16s}.hq-scope .add-deal-button:hover{background:var(--paper);transform:translateY(-1px)}.hq-scope .empty-state{color:var(--muted);text-align:center;padding:20px 8px;font-size:11px}@media (prefers-reduced-motion:reduce){.hq-scope .pipeline-column,.hq-scope .deal-card,.hq-scope .add-deal-button{transition:none}.hq-scope .hq-skeleton{animation:none}}@media (max-width:1260px){.hq-scope .section-metrics{grid-template-columns:1fr 1fr}.hq-scope .section-metrics .money-card{grid-column:1/-1}}@media (max-width:900px){.hq-scope .sidebar{width:var(--hq-nav-w);box-shadow:var(--shadow);transition:transform .18s;transform:translate(-105%)}.hq-scope .sidebar-open{transform:translate(0)}.hq-scope .pin-btn{display:none}.hq-scope .nav-item,.hq-scope .mode-btn,.hq-scope .account{min-height:44px}.hq-scope .hq-main{margin-left:0;padding:22px 18px 35px}.hq-scope .topbar{align-items:start}.hq-scope .mobile-menu{border:1px solid var(--line);background:var(--paper);border-radius:9px;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.hq-scope .mobile-menu span{background:var(--ink);width:16px;height:1px;display:block}.hq-scope .stat-row{grid-template-columns:1fr 1fr}.hq-scope .stat-card-money{grid-column:1/-1}.hq-scope .section-heading{align-items:start}}@media (max-width:590px){.hq-scope .topbar{flex-wrap:wrap}.hq-scope .topbar>div{flex:1}.hq-scope .topbar .primary-button{width:100%}.hq-scope .stat-row{grid-template-columns:1fr}.hq-scope .stat-card-money{grid-column:auto}.hq-scope .filter-tabs{width:100%;overflow-x:auto}.hq-scope .filter-tabs button{flex:1 0 auto}.hq-scope .pipeline-board{grid-template-columns:repeat(5,minmax(250px,87vw));min-width:max-content}.hq-scope .pipeline-column{min-height:70vh;max-height:none}.hq-scope .task-form{grid-template-columns:1fr;padding:18px}.hq-scope .field-wide{grid-column:auto}.hq-scope .payment-details>div{grid-template-columns:1fr}.hq-scope .modal-actions{flex-direction:column-reverse}.hq-scope .modal-actions button{width:100%}.hq-scope .section-heading{flex-direction:column}.hq-scope .section-heading .primary-button{width:100%}.hq-scope .section-metrics{grid-template-columns:1fr}.hq-scope .section-metrics .money-card{grid-column:auto}.hq-scope .pipeline-stages{grid-template-columns:1fr 1fr}.hq-scope .pipeline-stages>div:nth-child(2){border-right:0}.hq-scope .pipeline-stages>div:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.hq-scope .list-toolbar{flex-wrap:wrap;align-items:stretch}.hq-scope .search-field{flex-basis:100%}.hq-scope .list-toolbar .filter-tabs,.hq-scope .compact-select{flex:1}.hq-scope .records-table{box-shadow:none;background:0 0;border:0;overflow:visible}.hq-scope .records-header{display:none}.hq-scope .record-row{border:1px solid var(--line);background:var(--paper);border-radius:12px;grid-template-columns:1fr 1fr;gap:14px;min-width:0;margin-bottom:10px;padding:16px;display:grid}.hq-scope .team-table .records-header,.hq-scope .team-table .record-row{grid-template-columns:1fr 1fr;min-width:0}.hq-scope .record-row:last-child{border-bottom:1px solid var(--line)}.hq-scope .record-primary,.hq-scope .record-action{grid-column:1/-1}.hq-scope .record-status,.hq-scope .record-owner,.hq-scope .record-due,.hq-scope .record-money{padding-top:14px;position:relative}.hq-scope .record-status:before,.hq-scope .record-owner:before,.hq-scope .record-due:before,.hq-scope .record-money:before{color:var(--mobile-label-ink);content:attr(data-label);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:800;position:absolute;top:0;left:0}.hq-scope .row-edit{grid-column:1/-1;min-height:44px}}.hq-scope .money-card-open{text-align:left;cursor:pointer;width:100%;display:block}.hq-scope .money-card-open:hover{background:var(--hover-strong)}.hq-scope .money-card .money-converted{align-items:baseline;gap:6px;font-size:clamp(22px,2.1vw,31px);font-weight:700;display:flex}.hq-scope .money-approx{color:var(--muted);font-weight:400}.hq-scope .money-natives{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:7px;font-size:11px;display:block}.hq-scope .money-recurring{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:3px;font-size:11px;display:block}.hq-scope .modal-wide{width:min(920px,100%)}.hq-scope .ledger-header-meta{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.5}.hq-scope .ledger-header-warning{color:var(--clay)}.hq-scope .ledger-toolbar{border-bottom:1px solid var(--line-soft);justify-content:flex-end;align-items:center;gap:12px;padding:14px 24px;display:flex}.hq-scope .ledger-count-chip{background:var(--gold-soft);min-height:26px;color:var(--gold-deep);border-radius:999px;align-items:center;margin-right:auto;padding:0 10px;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .ledger-list{border:1px solid var(--line);background:var(--paper-veil);border-radius:14px;margin:0 24px 24px;overflow-x:auto}.hq-scope .ledger-row{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(112px,auto) minmax(200px,1.6fr) minmax(170px,200px) minmax(110px,140px) minmax(124px,140px);align-items:center;gap:14px;min-width:772px;padding:13px 16px;display:grid}.hq-scope .ledger-row:last-child{border-bottom:0}.hq-scope .ledger-row:hover{background:var(--hover-strong)}.hq-scope .ledger-due{background:var(--olive-soft);width:fit-content;min-height:24px;color:var(--olive-dark);white-space:nowrap;border-radius:999px;align-items:center;padding:0 10px;font-size:10px;font-weight:800;display:inline-flex}.hq-scope .ledger-due.is-overdue{background:var(--clay-soft);color:var(--clay)}.hq-scope .ledger-invoice strong{font-family:Georgia,Times New Roman,serif;font-size:13px;font-weight:700;line-height:1.3;display:block}.hq-scope button.ledger-invoice-open{width:100%;color:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.hq-scope button.ledger-invoice-open strong{text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px}.hq-scope button.ledger-invoice-open:hover strong{text-decoration-thickness:2px}.hq-scope button.ledger-client{color:var(--olive-dark);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;margin-top:4px;padding:0;font-size:10px;font-weight:700;text-decoration:underline;display:block}.hq-scope span.ledger-client{color:var(--muted);margin-top:4px;font-size:10px;display:block}.hq-scope .ledger-project select{border:1px solid var(--line);background:var(--control-surface);width:100%;min-height:34px;color:var(--control-text);border-radius:7px;padding:0 8px;font-size:11px;font-weight:600}.hq-scope .ledger-project select:disabled{cursor:not-allowed;opacity:.6}.hq-scope .ledger-amount{font-variant-numeric:tabular-nums;text-align:right}.hq-scope .ledger-amount strong{font-size:13px;font-weight:700;display:block}.hq-scope .ledger-amount small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.hq-scope .ledger-amount .ledger-no-rate{color:var(--clay);font-weight:700}.hq-scope .ledger-action{justify-content:flex-end;display:flex}.hq-scope .ledger-action .row-edit{white-space:nowrap}.hq-scope .ledger-action .row-edit:disabled{cursor:not-allowed;opacity:.6}@media (max-width:760px){.hq-scope .ledger-toolbar{flex-wrap:wrap}.hq-scope .ledger-list{overflow-x:visible}.hq-scope .ledger-row{grid-template-columns:1fr 1fr;gap:12px;min-width:0}.hq-scope .ledger-invoice{grid-column:1/-1}.hq-scope .ledger-due,.hq-scope .ledger-project,.hq-scope .ledger-amount{padding-top:14px;position:relative}.hq-scope .ledger-due:before,.hq-scope .ledger-project:before,.hq-scope .ledger-amount:before{color:var(--mobile-label-ink);content:attr(data-label);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:800;position:absolute;top:0;left:0}.hq-scope .ledger-amount{text-align:left}.hq-scope .ledger-action{grid-column:1/-1;justify-content:flex-start}}.hq-scope .hq-embed{--background:255 255 255;--foreground:23 23 23;--card:255 255 255;--card-foreground:23 23 23;--popover:255 255 255;--popover-foreground:23 23 23;--primary:23 23 23;--primary-foreground:255 255 255;--secondary:250 250 250;--secondary-foreground:23 23 23;--muted:237 237 237;--muted-foreground:82 82 82;--accent:245 245 245;--accent-foreground:10 10 10;--border:229 229 229;--input:138 138 138;--ring:23 23 23;--shadow-card-hover:0 18px 45px #0000001a}.hq-scope .hq-calendar-embed{height:calc(100dvh - 230px);min-height:540px}.hq-scope .copilot-launcher{z-index:150;border:1px solid var(--olive);background:linear-gradient(135deg,var(--olive),var(--olive-bright));width:52px;height:52px;box-shadow:var(--shadow);color:var(--button-face);border-radius:50%;place-items:center;display:grid;position:fixed;bottom:24px;right:24px}.hq-scope .copilot-launcher:hover{background:var(--olive-dark)}.hq-scope .copilot-panel{z-index:150;border-left:1px solid var(--line);background:var(--paper);width:min(400px,100vw);box-shadow:var(--shadow);visibility:hidden;flex-direction:column;transition:transform .22s,visibility 0s linear .22s;display:flex;position:fixed;top:0;bottom:0;right:0;transform:translate(100%)}.hq-scope .copilot-panel-open{visibility:visible;transition:transform .22s,visibility linear;transform:translate(0)}@media (prefers-reduced-motion:reduce){.hq-scope .copilot-panel,.hq-scope .copilot-panel-open{transition:none}}.hq-scope .copilot-header{border-bottom:1px solid var(--line-soft);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.hq-scope .copilot-header-title{color:var(--ink);align-items:center;gap:9px;font-size:14px;font-weight:700;display:flex}.hq-scope .copilot-header-title svg{color:var(--olive)}.hq-scope .copilot-close{border:1px solid var(--line);background:var(--control-surface);width:30px;height:30px;color:var(--muted);border-radius:50%;flex:0 0 30px;place-items:center;font-size:18px;line-height:1;display:grid}.hq-scope .copilot-close:hover{border-color:var(--olive);color:var(--olive-dark)}.hq-scope .copilot-body{scrollbar-width:thin;flex-direction:column;flex:auto;gap:10px;min-height:0;padding:16px 18px;display:flex;overflow-y:auto}.hq-scope .copilot-intro{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.hq-scope .copilot-doorway-grant{color:var(--ink);margin:6px 0 0;font-size:12px;font-weight:600}.hq-scope .copilot-doorway-actions{flex-direction:column;gap:8px;display:flex}:root{--hq-nav-w:256px;--hq-gutter:256px;--hq-nav-dur:.2s;--hq-nav-ease:cubic-bezier(.16,1,.3,1)}:root[data-hq-nav=collapsed]{--hq-nav-w:60px;--hq-gutter:60px}:root[data-hq-nav=collapsed][data-hq-peek=on]{--hq-nav-w:256px}:root[data-hq-nav=collapsed][data-hq-peek=on] .hq-scope .sidebar{background:var(--paper);box-shadow:18px 0 46px -12px var(--shadow-modal)}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope :is(.brand-text,.nav-label,.mode-label,.account-text){opacity:0;max-width:0;margin-left:0}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope :is(.nav-caret,.account-caret,.nav-sub){display:none}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .side-brand,:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope :is(.nav-item,.mode-btn,.account){justify-content:center;padding:0}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .mode-btn{min-height:34px}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .nav-item[aria-current=page]{box-shadow:inset 0 0 0 1px var(--select-line)}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .pin-btn{opacity:0;width:auto;height:auto;margin:0;position:absolute;inset:0}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .side-brand:hover .pin-btn,:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .pin-btn:focus-visible{opacity:1}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .side-brand:hover .brand-mark{opacity:0}:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .tip:hover>.tip-label,:root[data-hq-nav=collapsed][data-hq-peek=off] .hq-scope .tip:focus-visible>.tip-label{opacity:1;transform:translateY(-50%)}@media (prefers-reduced-motion:reduce){:root{--hq-nav-dur:0s}}:root.dark .hq-scope{--canvas:#111110;--paper:#1a1a18;--paper-soft:#151513;--ink:#f0efec;--muted:#b0afa9;--line:#2b2b28;--line-soft:#232320;--olive:#eae8e3;--olive-dark:#f7f5f0;--olive-soft:#2a2a27;--gold:#d3a860;--gold-soft:#2e2517;--clay:#e2887a;--clay-soft:#33201d;--clay-strong:#432d23;--shadow:0 18px 45px #0000008c;--gold-deep:#e5c489;--clay-link:#efa89b;--control-text:#d0cfc9;--nav-active-accent:#fbfaf6;--avatar-gradient-start:#f2f0eb;--avatar-gradient-end:#cfcdc7;--olive-bright:#fbfaf6;--glyph-muted:#85847f;--client-accent:#7e9c78;--sales-accent:#a07896;--control-outline:#7a7771;--select-fill:#f2f1ed12;--select-line:#f2f1ed73;--line-olive:#33332f;--line-olive-bright:#3a3a35;--button-face:#0d0d0c;--control-surface:#232320;--chip-neutral-bg:#232320;--chip-neutral-ink:#b8b7b1;--empty-ink:#a09f99;--placeholder-ink:#9d9c96;--placeholder-ink-soft:#9a9993;--skeleton-base:#262623;--skeleton-shine:#353531;--form-label-ink:#c0bfb9;--error-border:#6b3a35;--error-ink:#f0a49b;--card-caption-ink:#a3a29c;--owner-pill-bg:#232320;--owner-pill-ink:#b8b7b1;--record-meta-ink:#bcbbb5;--mobile-label-ink:#a3a29c;--canvas-wash:#fffdf50b;--canvas-veil:#111110e0;--sidebar-glass:#0e0e0deb;--column-glass:#151513a8;--filter-tabs-face:#1f1f1cb3;--stage-strip-face:#1f1f1c9e;--control-face:#232320d9;--add-deal-face:#1414126b;--card-glow-clay:#40221e80;--card-glow-gold:#3a2e1685;--focus-ring:#faf9f580;--focus-ring-soft:#faf9f540;--glow-olive:#eae8e32e;--glow-olive-strong:#eae8e338;--card-face-start:#1e1e1bf2;--card-face-end:#171715cc;--card-glow-start:#1e1e1bf5;--shadow-subtle:#00000080;--shadow-lift:#0000006b;--shadow-deal:#00000080;--shadow-deal-hover:#0009;--shadow-modal:#000000b8;--paper-veil:#1e1e1bbd;--paper-faint:#1e1e1b80;--row-hover:#fffdf50d;--hover-strong:#fffdf514;--scrim:#040403b8}:root.dark .hq-scope .hq-embed{--background:17 17 16;--foreground:240 239 236;--card:26 26 24;--card-foreground:240 239 236;--popover:26 26 24;--popover-foreground:240 239 236;--primary:234 232 227;--primary-foreground:13 13 12;--secondary:21 21 19;--secondary-foreground:240 239 236;--muted:35 35 32;--muted-foreground:176 175 169;--accent:42 42 39;--accent-foreground:247 245 240;--border:43 43 40;--input:109 109 104;--ring:234 232 227;--shadow-card-hover:0 18px 45px #0000008c}
