@keyframes shimmer{to{background-position:-200% 0}}.hq-scope{--canvas:#f7f5ef;--paper:#fffdf8;--paper-soft:#fbf8f1;--ink:#1d211b;--muted:#63665d;--line:#ded9ca;--line-soft:#ebe7dc;--olive:#65734a;--olive-dark:#4d5939;--olive-soft:#eef0e6;--gold:#ac7a22;--gold-soft:#faf0d9;--clay:#a85b31;--clay-soft:#f8e9df;--shadow:0 18px 45px #282b2014;background:radial-gradient(circle at 85% 4%,#e5ddc83b,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-offset:2px;outline:3px solid #65734a40}.hq-scope .hq-shell{min-height:100vh}.hq-scope .sidebar{z-index:30;border-right:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#faf8f2ed;flex-direction:column;width:224px;display:flex;position:fixed;inset:0 auto 0 0}.hq-scope .brand{text-align:center;padding:36px 24px 29px}.hq-scope .brand-name{letter-spacing:.06em;font-family:Georgia,Times New Roman,serif;font-size:24px}.hq-scope .brand-subtitle{color:#876019;letter-spacing:.28em;margin-top:8px;font-size:11px}.hq-scope .primary-nav{gap:7px;padding:13px;display:grid}.hq-scope .nav-item{color:#55584f;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;grid-template-columns:24px 1fr auto;align-items:center;gap:12px;width:100%;min-height:54px;padding:0 16px;text-decoration:none;display:grid}.hq-scope .nav-active{background:linear-gradient(135deg,var(--olive),#78835e);color:#fff;box-shadow:0 9px 24px #58654133}.hq-scope .nav-soon{cursor:default;opacity:.58}.hq-scope .nav-item small{letter-spacing:.08em;text-transform:uppercase;font-size:11px}.hq-scope .nav-group{color:#55584f;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;grid-template-columns:24px 1fr auto;align-items:center;gap:12px;width:100%;min-height:54px;padding:0 16px;display:grid}.hq-scope .nav-caret{justify-content:center;align-items:center;transition:transform .16s;display:inline-flex}.hq-scope .nav-caret-open{transform:rotate(90deg)}.hq-scope .nav-sub{border-left:1px solid var(--line);gap:4px;margin:2px 0 4px 36px;padding-left:12px;display:grid}.hq-scope .nav-sub .nav-item{grid-template-columns:1fr auto;min-height:42px;padding:0 14px;font-size:13px}.hq-scope .sidebar-footer{border-top:1px solid var(--line);align-items:center;gap:12px;margin:auto 18px 22px;padding-top:19px;display:flex}.hq-scope .avatar{color:#fff;background:linear-gradient(145deg,#819160,#56633e);border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;font-family:Georgia,Times New Roman,serif;display:grid}.hq-scope .sidebar-footer strong,.hq-scope .sidebar-footer span{display:block}.hq-scope .sidebar-footer strong{font-size:14px}.hq-scope .sidebar-footer span{color:var(--muted);margin-top:4px;font-size:12px}.hq-scope .sidebar-exit{border-top:1px solid var(--line);color:var(--muted);letter-spacing:.06em;text-align:center;text-transform:uppercase;margin:0 18px 22px;padding-top:16px;font-size:11px;font-weight:700;text-decoration:none;display:block}.hq-scope .sidebar-exit:hover{color:var(--olive-dark)}.hq-scope .hq-main{min-height:100vh;margin-left:224px;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:#876019;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{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),#748057);color:#fff;box-shadow:0 10px 24px #5865412e}.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);color:var(--ink);background:#fff}.hq-scope .mobile-menu{display:none}.hq-scope .metrics{grid-template-columns:minmax(180px,.8fr) minmax(190px,.9fr) minmax(300px,1.4fr);gap:13px;margin-bottom:26px;display:grid}.hq-scope .metric-card{border:1px solid var(--line);background:#fffdf8bf;border-radius:15px;align-items:center;gap:15px;min-height:103px;padding:19px;display:flex}.hq-scope .metric-icon{border:1px solid;border-radius:50%;flex:0 0 51px;place-items:center;width:51px;height:51px;display:grid}.hq-scope .metric-icon.olive{background:var(--olive-soft);color:var(--olive);border-color:#d8ddc9}.hq-scope .metric-icon.clay{background:var(--clay-soft);color:var(--clay);border-color:#eed6c8}.hq-scope .metric-icon.gold{background:var(--gold-soft);color:var(--gold);border-color:#eadab7}.hq-scope .metric-card span{color:var(--muted);font-size:12px;display:block}.hq-scope .metric-card strong{margin-top:7px;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:400;display:block}.hq-scope .metric-payment strong{font-family:Arial,Helvetica,sans-serif;font-size:clamp(17px,1.7vw,23px);font-weight:700}.hq-scope .board-toolbar{justify-content:space-between;align-items:end;gap:20px;margin-bottom:14px;display:flex}.hq-scope .board-toolbar h2,.hq-scope .checkin-panel h2{margin:0;font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:400}.hq-scope .board-toolbar p{color:var(--muted);margin:5px 0 0;font-size:13px}.hq-scope .filter-tabs{border:1px solid var(--line);background:#fffdf8b8;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 .workspace-grid{grid-template-columns:1fr;align-items:start;gap:14px;display:grid}.hq-scope .board{scroll-snap-type:x proximity;grid-auto-columns:minmax(218px,1fr);grid-auto-flow:column;gap:10px;min-width:0;padding-bottom:9px;display:grid;overflow-x:auto}.hq-scope .board-column{scroll-snap-align:start;border:1px solid var(--line);background:#faf8f1ad;border-radius:14px;flex-direction:column;min-height:590px;max-height:calc(100vh - 335px);display:flex;overflow:hidden}.hq-scope .column-header{border-bottom:1px solid var(--line-soft);background:#fffdf89e;justify-content:space-between;align-items:start;gap:10px;padding:16px 15px 12px;display:flex}.hq-scope .column-header h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:17px;font-weight:400}.hq-scope .column-header p{color:var(--muted);margin:4px 0 0;font-size:10px}.hq-scope .column-header>span{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 .column-tasks{align-content:start;gap:9px;min-height:0;padding:10px;display:grid;overflow-y:auto}.hq-scope .task-card{cursor:pointer;border:1px solid var(--line);background:var(--paper);border-radius:11px;padding:13px;position:relative;box-shadow:0 5px 14px #2f312809}.hq-scope .task-card:before{background:var(--line);content:"";border-radius:99px;width:2px;position:absolute;inset:11px auto 11px 0}.hq-scope .task-card.priority-1:before{background:var(--clay)}.hq-scope .task-card.priority-2:before{background:var(--gold)}.hq-scope .task-card.priority-3:before{background:var(--olive)}.hq-scope .task-card-top{justify-content:space-between;align-items:start;gap:8px;display:flex}.hq-scope .client-label{color:var(--olive-dark);letter-spacing:.07em;text-transform:uppercase;font-size:11px;font-weight:800;line-height:1.4}.hq-scope .edit-button{color:#8d8d84;letter-spacing:.08em;background:0 0;border:0;margin:-9px -7px 0 0;padding:7px}.hq-scope .task-card h4{margin:7px 0 0;font-size:14px;line-height:1.34}.hq-scope .task-card>p{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:7px 0 0;font-size:11px;line-height:1.45;display:-webkit-box;overflow:hidden}.hq-scope .task-tags{flex-wrap:wrap;gap:5px;margin-top:10px;display:flex}.hq-scope .owner-tag,.hq-scope .priority-tag{background:var(--olive-soft);min-height:22px;color:var(--olive-dark);border-radius:999px;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.hq-scope .priority-tag{color:#727168;background:#f4f1e8}.hq-scope .priority-tag.p1{background:var(--clay-soft);color:var(--clay)}.hq-scope .task-signal{align-items:flex-start;gap:5px;margin-top:8px;font-size:10px;line-height:1.4;display:flex}.hq-scope .task-signal span{flex:none;font-weight:700}.hq-scope .task-signal.due{color:#876019;align-items:center}.hq-scope .task-signal.blocker{color:var(--clay)}.hq-scope .task-signal.help{color:var(--olive-dark)}.hq-scope .task-actions{border-top:1px solid var(--line-soft);gap:6px;margin-top:11px;padding-top:10px;display:flex}.hq-scope .task-actions select,.hq-scope .task-actions button{border-radius:7px;min-width:0;min-height:30px;font-size:12px}.hq-scope .task-actions select{border:1px solid var(--line);width:50%;color:var(--muted);background:#fff}.hq-scope .task-actions button{background:var(--olive-soft);width:50%;color:var(--olive-dark);border:1px solid #d9dfca;justify-content:center;align-items:center;gap:4px;font-weight:700;display:inline-flex}.hq-scope .task-actions .reopen-button{border-color:var(--line);color:var(--muted);background:#fff}.hq-scope .column-add{border:0;border-top:1px solid var(--line-soft);min-height:45px;color:var(--olive);background:#fffdf88c;justify-content:center;align-items:center;gap:7px;margin-top:auto;font-size:11px;font-weight:700;display:inline-flex}.hq-scope .empty-column{color:#a4a59d;text-align:center;align-content:center;place-items:center;gap:7px;min-height:125px;display:grid}.hq-scope .empty-column p{margin:0;font-size:11px}.hq-scope .task-skeleton{background:linear-gradient(90deg,#eeeae0,#faf8f3,#eeeae0) 0 0/200% 100%;border-radius:10px;height:140px;animation:1.4s infinite shimmer}.hq-scope .checkin-panel{border:1px solid var(--line);background:#fffdf8e0;border-radius:14px;grid-template-columns:250px 1fr 240px;display:grid;position:static;overflow:hidden}.hq-scope .checkin-heading{grid-column:1;justify-content:space-between;align-items:start;padding:18px 17px 13px;display:flex}.hq-scope .checkin-heading>span{background:var(--olive-soft);color:var(--olive-dark);border-radius:999px;padding:5px 8px;font-size:11px;font-weight:700}.hq-scope .checkin-intro{color:var(--muted);border-bottom:0;grid-column:1;margin:0;padding:0 17px 14px;font-size:11px;line-height:1.5}.hq-scope .checkin-panel form{border-left:1px solid var(--line-soft);border-right:1px solid var(--line-soft);grid-area:1/2/span 2;gap:0;display:grid}.hq-scope .checkin-panel label{border-bottom:1px solid var(--line-soft);padding:11px 16px 10px;display:block}.hq-scope .checkin-panel label>span{color:#5b5d54;align-items:center;gap:6px;font-size:11px;font-weight:700;display:flex}.hq-scope .checkin-panel textarea{resize:vertical;width:100%;height:43px;color:var(--ink);background:0 0;border:0;margin-top:6px;font-size:11px;line-height:1.4}.hq-scope .checkin-panel textarea::placeholder{color:#acaea5}.hq-scope .checkin-panel textarea:focus{outline:0}.hq-scope .checkin-submit{border:1px solid var(--olive);background:var(--olive);color:#fff;border-radius:9px;min-height:42px;margin:12px 16px 15px;font-size:11px;font-weight:700}.hq-scope .latest-update{background:var(--paper-soft);border-top:0;grid-area:1/3/span 2;padding:15px 16px 17px}.hq-scope .latest-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.hq-scope .latest-title h3{margin:0;font-size:12px}.hq-scope .latest-title>span{color:var(--muted);font-size:9px}.hq-scope .latest-list{gap:8px;max-height:330px;margin-top:10px;display:grid;overflow-y:auto}.hq-scope .latest-card{border:1px solid var(--line-soft);background:#fff;border-radius:9px;padding:11px}.hq-scope .latest-card-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.hq-scope .latest-card strong{font-family:Georgia,Times New Roman,serif;font-size:13px}.hq-scope .latest-card-heading>span{color:var(--muted);font-size:9px}.hq-scope .latest-card p{color:var(--muted);margin:7px 0 0;font-size:10px;line-height:1.4}.hq-scope .latest-card p span{color:var(--ink);font-weight:700}.hq-scope .latest-card .latest-help{color:var(--clay)}.hq-scope .no-update{color:var(--muted);margin:9px 0 0;font-size:10px}.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{background:var(--clay-soft);color:#7f3f20;border:1px solid #e6c7b5}.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:#fff;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;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1f221b70;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.hq-scope .modal{border:1px solid var(--line);background:var(--paper);border-radius:17px;width:min(680px,100%);max-height:calc(100vh - 40px);overflow-y:auto;box-shadow:0 28px 80px #181a1540}.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);width:34px;height:34px;color:var(--muted);background:#fff;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:#5d6057;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);width:100%;color:var(--ink);background:#fff;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 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,#fffdf8f0,#fbf8f1c7);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:#96978f;margin-top:7px;font-size:10px;display:block}.hq-scope .attention-card{background:linear-gradient(135deg,#fffdf8f5,#f8e9dfa3)}.hq-scope .attention-card strong{color:var(--clay)}.hq-scope .money-card{background:linear-gradient(135deg,#fffdf8f5,#faf0d9b3)}.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) .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 .pipeline-stages{border:1px solid var(--line);background:#fffdf8a3;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);min-height:41px;color:var(--ink);background:#fffdf8d1;border-radius:10px;font-size:11px}.hq-scope .search-field input{width:100%;padding:0 13px}.hq-scope .search-field input::placeholder{color:#a6a79f}.hq-scope .compact-select{min-width:118px;padding:0 10px}.hq-scope .records-table{border:1px solid var(--line);background:#fffdf8bd;border-radius:14px;overflow-x:auto;box-shadow:0 12px 30px #2d2f2609}.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:#fffdf88c;min-height:91px;padding:13px 16px}.hq-scope .record-row:last-child{border-bottom:0}.hq-scope .record-row:hover{background:#fffffcf5}.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:#876019;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);color:#55584f;background:#fff;border-radius:7px;width:100%;min-height:32px;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:#876019}.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{color:#63655d;background:#f1eee5;border-radius:999px;align-items:center;min-height:27px;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:#62645c;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:#876019}.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);min-height:31px;color:var(--olive-dark);background:#fff;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 .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);-webkit-user-select:none;user-select:none;border-radius:14px;padding:13px 13px 11px;transition:transform .16s,box-shadow .16s,opacity .16s;box-shadow:0 3px 12px #24271f14}.hq-scope .deal-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #24271f1a}.hq-scope .deal-card.dragging{opacity:.45;transform:rotate(1.2deg)scale(.98)}.hq-scope .deal-card:focus-visible{outline-offset:2px;border-color:var(--olive);box-shadow:0 0 0 3px #65734a29,var(--shadow);outline:3px solid #65734a40}.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-company{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 .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));width:100%;min-height:36px;color:var(--olive-dark);background:#fffdf880;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}}@media (max-width:1260px){.hq-scope .board-column{max-height:600px}.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:210px;box-shadow:var(--shadow);transition:transform .18s;transform:translate(-105%)}.hq-scope .sidebar-open{transform:translate(0)}.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 .metrics{grid-template-columns:1fr 1fr}.hq-scope .metric-payment{grid-column:1/-1}.hq-scope .board-toolbar{flex-direction:column;align-items:start}.hq-scope .checkin-panel{display:block}.hq-scope .checkin-panel form{border:0}.hq-scope .latest-update{border-top:1px solid var(--line)}.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 .metrics{grid-template-columns:1fr}.hq-scope .metric-payment{grid-column:auto}.hq-scope .filter-tabs{width:100%;overflow-x:auto}.hq-scope .filter-tabs button{flex:1 0 auto}.hq-scope .board{grid-auto-columns:minmax(250px,87vw)}.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 .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:#999a92;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:#fffffcf5}.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 .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);color:#876019;border-radius:999px;align-items:center;min-height:26px;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:#fffdf8bd;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);align-items:center;gap:14px;min-width:620px;padding:13px 16px;display:grid}.hq-scope .ledger-row:last-child{border-bottom:0}.hq-scope .ledger-row:hover{background:#fffffcf5}.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-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);color:#55584f;background:#fff;border-radius:7px;width:100%;min-height:34px;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}@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:#999a92;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 .hq-embed{--background:247 245 239;--foreground:29 33 27;--card:255 253 248;--card-foreground:29 33 27;--popover:255 253 248;--popover-foreground:29 33 27;--primary:101 115 74;--primary-foreground:255 253 248;--secondary:251 248 241;--secondary-foreground:29 33 27;--muted:235 231 220;--muted-foreground:99 102 93;--accent:238 240 230;--accent-foreground:77 89 57;--border:222 217 202;--input:139 133 116;--ring:101 115 74;--shadow-card-hover:0 18px 45px #282b201a}
