.page-heading{align-items:flex-start}.page-heading>:is(button,a.primary,a.button){margin-top:2px}.section-heading>:is(h2,h3):first-child{margin-right:auto}.section-heading{justify-content:flex-start}.section-heading>:is(button,a,span):not(:first-child){flex:none}.empty-state{border-radius:var(--radius-xl);background:var(--surface-subtle);text-align:center;animation:fade-up var(--dur-sheet) var(--ease-out) backwards;border:0;justify-items:center;gap:6px;padding:40px 24px;display:grid}.empty-state h2{margin:0}.empty-state .muted{max-width:52ch;font-size:var(--fs-13);text-wrap:balance;margin:auto;line-height:1.6}.empty-state .muted :is(button,a){margin-top:10px}.document-notice{border-radius:var(--radius-lg);background:var(--surface-subtle);color:var(--ink);border:0;padding:12px 16px}.pipeline>section>.section-heading{margin-bottom:10px;padding-bottom:12px}.pipeline>section>.section-heading h2{font-size:var(--fs-14)}.pipeline>section>.section-heading>span{border-radius:var(--radius-sm);background:var(--surface-hover);min-width:22px;font-size:var(--fs-12);text-align:center;font-variant-numeric:tabular-nums;padding:1px 7px}.pipeline-item{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-hairline);transition:border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), transform var(--dur-sheet) var(--spring);animation:row-in var(--dur-slow) var(--ease-out) backwards;gap:2px;margin-bottom:8px;padding:14px 16px;display:grid}.pipeline-item .direction{font-size:var(--fs-12);letter-spacing:0;text-transform:none}.pipeline-item h3{font-size:var(--fs-14);margin:2px 0 8px;line-height:1.35}.pipeline-item .mono{font-weight:600}.pipeline-item p{border-top:1px solid var(--line);margin:8px 0 0;padding-top:8px}@media (hover:hover){.pipeline-item:hover{border-color:var(--line-strong);box-shadow:var(--shadow-hover-lift);transform:translateY(-2px)}}.pipeline-item:active{transition-duration:var(--dur-press);transform:scale(.985)}.notification-meta{align-items:center;gap:8px;display:flex}.notification-row:not(.is-read) .notification-meta:before{content:"";background:var(--accent);border-radius:50%;flex:none;width:7px;height:7px}.notification-meta .signal-category,.notification-meta .muted{font-size:var(--fs-12);color:var(--muted)}.notification-meta .muted:before{content:"·";margin-right:8px}.notification-source svg{transition:transform var(--dur-slow) var(--spring)}@media (hover:hover){.notification-source:hover svg{transform:translate(3px)}}.notification-actions{flex-wrap:wrap;gap:4px;display:flex}.notification-actions button{min-height:32px;font-size:var(--fs-12);background:var(--surface-subtle);border-color:#0000;padding:5px 10px}.notification-actions button:first-child{background:var(--surface);border-color:var(--line-strong)}.notification-row.is-read .notification-source strong{color:var(--muted);font-weight:500}.note-form{border:1px solid var(--control-border);border-radius:var(--radius-lg);background:var(--surface);transition:border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);display:grid}.note-form:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.note-form textarea,.note-form textarea:focus{box-shadow:none;border-radius:var(--radius-lg) var(--radius-lg) 0 0;resize:none;border:0}.note-form button{border:1px solid var(--line-strong);border-radius:var(--radius-md);width:auto;font-size:var(--fs-12);justify-self:end;margin:0 8px 8px}.timeline-mark{background:var(--line-strong);border-radius:50%}.economy-settings{border-radius:var(--radius-xl)}.economy-settings h3{margin:0 0 6px}.economy-settings>div>p.small,.economy-settings>p.small{margin:0 0 14px}.economy-settings .resource-row:first-of-type{margin-top:4px}.income-target{border-top:1px solid var(--line);margin-top:20px;padding:18px 0 4px}.income-target p{margin-top:8px}.economy-settings .section-heading:not(:first-child){margin-top:28px}.start-panel .panel-heading>button,.start-panel>div>button{border:1px solid var(--line-strong);background:var(--surface)}#channels>h2{margin-bottom:6px}#channels>p{color:var(--muted);margin:0 0 16px}#channels>p:last-of-type{font-size:var(--fs-13);margin:16px 0 6px}#channels>a{font-size:var(--fs-13);text-underline-offset:3px;text-decoration:underline}.channel-status{color:var(--muted);align-items:center;gap:8px;display:inline-flex}.channel-status:before{content:"";background:var(--line-strong);border-radius:50%;width:7px;height:7px}.channel-status[data-on]{color:var(--ink)}.channel-status[data-on]:before{background:var(--positive);box-shadow:0 0 0 3px var(--positive-soft)}.import-guide h2{font-size:var(--fs-20);letter-spacing:-.02em}.import-guide a{text-underline-offset:3px;text-decoration:underline}input[type=file]{color:var(--muted);cursor:pointer;padding:6px}input[type=file]::file-selector-button{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-subtle);color:var(--ink);font:500 var(--fs-13) var(--font-ui);cursor:pointer;transition:background-color var(--dur-fast) var(--ease-out);margin-right:12px;padding:6px 12px}@media (hover:hover){input[type=file]:hover::file-selector-button{background:var(--surface-hover)}}.document-search{width:min(100%,420px)}@media (prefers-reduced-motion:reduce){.pipeline-item:hover{transform:none}}@media (min-width:761px){.search-results{transform-origin:top;width:min(560px,100vw - 288px);animation:results-in var(--dur-base) var(--ease-out);padding:8px;top:54px;left:50%;right:auto;transform:translate(-50%)}}@keyframes results-in{0%{opacity:0;transform:translate(-50%)translateY(-6px)scale(.98)}}.search-results .form-divider{border:0;justify-content:space-between;align-items:center;margin:0;padding:4px 8px 6px;display:flex}.search-results .form-divider:before,.search-results .form-divider:after{display:none}.search-results .form-divider strong{font-size:var(--fs-12);color:var(--muted);font-weight:600}.search-results .form-divider button{border-radius:var(--radius-md);width:28px;min-height:28px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}@media (hover:hover){.search-results .form-divider button:hover{background:var(--surface-hover);color:var(--ink)}}.search-results a{border-radius:var(--radius-md);font-size:var(--fs-14);transition:background-color var(--dur-fast) var(--ease-out);border:0;justify-content:space-between;gap:16px;padding:10px;display:flex}.search-results a:focus-visible{outline-offset:-2px}.search-results a span{border-radius:var(--radius-xs);background:var(--surface-hover);font-size:var(--fs-12);flex:none;padding:1px 7px}@media (max-width:760px){dialog[open]>.dialog-head:before{content:"";z-index:1;border-radius:var(--radius-xs);background:var(--line-strong);pointer-events:none;width:36px;height:5px;position:absolute;top:6px;left:calc(50% - 18px)}}.estimate-navigation{border-radius:var(--radius-md);background:var(--surface-hover);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:2px;padding:3px;display:grid}.estimate-navigation button{border-radius:var(--radius-md);min-height:34px;color:var(--muted);font-size:var(--fs-12);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;padding:6px 10px;overflow:hidden}@media (hover:hover){.estimate-navigation button:hover:not(:disabled){background:color-mix(in srgb, var(--surface) 55%, transparent);color:var(--ink)}}.estimate-navigation button[aria-current=step]{background:var(--thumb);color:var(--ink);box-shadow:var(--shadow-thumb);font-weight:600}.estimate-form>details>:not(summary)+:not(summary){margin-top:16px}.estimate-form>details>summary{font-size:var(--fs-16);font-weight:600}.client-relationships article>a:first-child{border-radius:var(--radius-md);color:var(--muted);transition:background-color var(--dur-fast) var(--ease-out);flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:-8px -10px;padding:8px 10px;display:flex}.client-relationships article>a:first-child strong{color:var(--ink);font-weight:600}@media (hover:hover){.client-relationships article>a:first-child:hover{background:var(--surface-subtle)}}.client-relationships article>p{font-size:var(--fs-13);color:var(--muted);margin:10px 0 0}.client-relationships article:last-of-type{border-bottom:0}.client-relationships>p:last-child{font-size:var(--fs-12);color:var(--muted);margin-top:12px}:root{--topbar-h:64px}@media (max-width:760px){:root{--topbar-h:56px}}.record-tabs{top:var(--topbar-h)}html:has(.entity-content>.record-tabs){overflow-anchor:none}.entity-content:has(>.record-tabs) :is([role=tabpanel],section[id],#overview-section,#booking-section){scroll-margin-top:calc(var(--topbar-h) + 47px + 28px)}@media (max-width:760px){.entity-content:has(>.record-tabs) :is([role=tabpanel],section[id],#overview-section,#booking-section){scroll-margin-top:calc(var(--topbar-h) + 47px + 24px)}}.entity-content:has(>.record-tabs) :is(a[href],button,input,select,textarea,summary):not(.record-tabs *,dialog *){scroll-margin-top:calc(var(--topbar-h) + 47px + 8px)}@media (max-width:760px){.record-tabs{gap:14px;margin-inline:-18px;padding-inline:18px;scroll-padding-inline:18px}}.hint>div{border-radius:var(--radius-lg);box-shadow:var(--shadow-popover);border:0;scroll-margin-bottom:96px}.hint-row{position:relative}.hint-row>.hint{position:static}.hint-row>.hint>div{width:auto;inset:auto 0 0}@media (max-width:760px){.panel-heading:has(>.hint){position:relative}.panel-heading>.hint{position:static}.panel-heading>.hint>div{width:auto;top:calc(100% - 8px);left:0;right:0}}@media (pointer:coarse){.hint>summary{position:relative}.hint>summary:after{content:"";position:absolute;inset:-11px}}.payment-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-bottom:16px;display:grid}.payment-summary>div{gap:2px;display:grid}.payment-summary span{font-size:var(--fs-12);color:var(--muted)}.payment-summary strong{font-size:var(--fs-20);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-weight:600;line-height:1.25}.dashboard-payment{border-top:1px solid var(--line);color:var(--ink);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title amount""meta amount";align-items:center;gap:3px 16px;padding:14px 0;text-decoration:none;display:grid}.dashboard-payment>strong:first-child{min-width:0;font-size:var(--fs-14);overflow-wrap:anywhere;grid-area:title;font-weight:600}.dashboard-payment>span{font-size:var(--fs-12);color:var(--muted);grid-area:meta}.dashboard-payment>strong:last-child{font-size:var(--fs-14);font-variant-numeric:tabular-nums;white-space:nowrap;grid-area:amount;font-weight:600}.start-panel>details>:not(summary){margin-inline:18px}.start-panel .start-steps{margin-bottom:8px}.start-panel .first-deal-guide{margin-top:0}.start-panel .first-deal-guide>p{max-width:75ch;font-size:var(--fs-13);color:var(--muted);margin-block:0;line-height:1.65}.start-panel .first-deal-guide>p+p{margin-top:10px}.start-panel .first-deal-guide>p:last-child{margin-bottom:18px}.start-panel .panel-heading>button.panel-link{min-height:30px;color:var(--ink);padding:0 10px}.search-form:focus-within{background:var(--surface);box-shadow:0 0 0 1px var(--accent), 0 0 0 4px var(--accent-soft)}:is(.direction-switch,.segmented,.view-switch){position:relative}@media (max-width:760px){.page-heading{flex-wrap:wrap;row-gap:12px}.page-heading>div:first-child{flex:1 1 min-content;min-width:0}.page-heading h1{overflow-wrap:break-word}}@media (min-width:961px) and (max-width:1199px){.table-head,.entity-row{grid-template-columns:minmax(0,2fr) 118px 136px minmax(0,1.3fr) 16px;column-gap:16px}}.consequence-box{border-radius:var(--radius-lg);background:var(--surface-subtle);box-shadow:inset 0 0 0 1px var(--line);border:0;padding:12px 14px}.consequence-box[data-tone=danger]{background:var(--danger-soft);box-shadow:none}.consequence-box[data-tone=positive]{background:var(--positive-soft);box-shadow:none}.consequence-box[data-tone=warning]{background:var(--warn-soft);box-shadow:none}dialog .consequence-box .form-footer{background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:4px;margin:4px 0 0;padding:0;position:static}dialog .consequence-box .form-footer>button{flex:none}dialog .consequence-box .form-footer>.text-button{margin-inline-start:-9px}.login-form .stack-form:has(>[role=alert]):not(:has([aria-invalid=true])){animation:none}input::placeholder,textarea::placeholder{color:var(--muted)}:is(input,select,textarea):user-invalid:not(.note-form textarea,.search-form input){border-color:var(--danger)}:is(input,select,textarea):user-invalid:not(.note-form textarea,.search-form input):focus{box-shadow:0 0 0 3px var(--danger-soft)}.note-form:has(textarea:user-invalid){border-color:var(--danger)}@media (max-width:760px){.search-form input{font-size:var(--fs-16);text-overflow:ellipsis}.sidebar,.topbar{padding-inline:18px}.sidebar-bottom{right:18px}.search-results{left:18px;right:18px}}@media (hover:none){.search-form button{display:none}}.account-dropdown>span,.mobile-account-links a{padding-inline:12px}@media (pointer:coarse){.topbar .notification-link,.account-menu>summary,.sidebar-bottom .settings-link,.back-link{position:relative}.topbar .notification-link:after,.account-menu>summary:after,.sidebar-bottom .settings-link:after{content:"";position:absolute;inset:-6px -4px}.back-link:after{content:"";position:absolute;inset:-12px -8px}.record-tabs>button:before{content:"";position:absolute;inset:0 -7px}.notification-actions button{min-height:40px}}@media (min-width:761px){.entity-row .next-contact>.signal-text{white-space:nowrap}}@media (max-width:760px){.entity-row>.next-contact{row-gap:4px}.entity-row .next-contact>.overdue-badge{grid-column:1/-1;justify-self:start;margin:0}}input:not([type=checkbox],[type=radio],[type=file],[type=hidden]),select{line-height:19px}@media (max-width:760px){input:not([type=checkbox],[type=radio],[type=file],[type=hidden]),select{line-height:24px}}input:is([type=date],[type=datetime-local],[type=month],[type=time])::-webkit-datetime-edit{padding:0}input:is([type=date],[type=datetime-local],[type=month],[type=time])::-webkit-datetime-edit-fields-wrapper{padding:0}input:is([type=date],[type=datetime-local],[type=month])::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}@media (hover:hover){input:is([type=date],[type=datetime-local],[type=month]):hover::-webkit-calendar-picker-indicator{opacity:1}}input:is([type=date],[type=datetime-local],[type=month]):invalid:not(:focus)::-webkit-datetime-edit{color:var(--muted)}select:not([multiple],[size]){appearance:none;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23696e65' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat;background-size:14px;padding-right:32px}@media (forced-colors:active){select:not([multiple],[size]){appearance:auto;background-image:none;padding-right:11px}}input[type=number]{appearance:textfield;font-variant-numeric:tabular-nums}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.filters :is(input:not([type=checkbox]),select),:is(.client-search,.document-search) input{height:36px;min-height:36px;font-size:var(--fs-13);padding-block:0}.client-search button{height:36px;min-height:36px}.filters .checkbox{min-height:36px;font-size:var(--fs-13)}.document-search{margin-left:0}@media (min-width:761px){.filters[data-kind=deals] select{width:196px}.filters>.filter-search:first-child{display:none}}@media (max-width:760px){.filters :is(input:not([type=checkbox]),select),:is(.client-search,.document-search) input,.client-search button{height:44px;min-height:44px}.filters :is(input:not([type=checkbox]),select),:is(.client-search,.document-search) input{font-size:var(--fs-16)}.filters .checkbox,.filters .segmented{min-height:44px}.filters .filter-search{flex:100%;width:auto;min-width:0}.filters>.segmented+.filter-search{display:none}.filters:not(.notification-filters)>label:has(>select){flex:128px;min-width:0}.filters:not(.notification-filters) select{width:100%;max-width:none}}.muted.small{font-size:var(--fs-12);line-height:1.6}.entity-row .amount{font-size:var(--fs-14);font-variant-numeric:tabular-nums;font-weight:500}.entity-row .amount-meaning{font-size:var(--fs-12);margin-bottom:2px;font-weight:400;line-height:1.5}.dashboard-grid{grid-template-columns:minmax(0,1fr);row-gap:0}.dashboard-grid>section:nth-child(n){grid-column:1/-1;padding-block:28px}.dashboard-grid>section:first-child{padding-top:0}.dashboard-grid>section:last-child{padding-bottom:0}.dashboard-grid>section+section{border-top:1px solid var(--line)}.dashboard-grid .panel-heading{min-height:44px;margin-bottom:0}@media (max-width:1199px) and (min-width:761px){.dashboard-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.dashboard-metrics>:is(div,a):nth-child(n){border:0;border-left:1px solid var(--line);grid-column:span 2;padding:16px}.dashboard-metrics>:is(div,a):nth-child(n+4){border-top:1px solid var(--line);grid-column:span 3}.dashboard-metrics>:is(div,a):is(:first-child,:nth-child(4)){border-left:0;padding-left:0}}@media (max-width:760px){.dashboard-metrics>:is(div,a):nth-child(n){border:0;padding:14px}.dashboard-metrics>:is(div,a):nth-child(odd){padding-left:0}.dashboard-metrics>:is(div,a):nth-child(2n){border-left:1px solid var(--line);padding-right:0}.dashboard-metrics>:is(div,a):nth-child(n+3){border-top:1px solid var(--line)}.dashboard-metrics>:is(div,a):last-child:nth-child(odd){grid-column:1/-1}.dashboard-metrics strong{font-size:var(--fs-24)}}.dashboard-metrics small a{white-space:nowrap}.dashboard-metrics>a:after{content:none}.dashboard-metrics>a>span:first-child{justify-content:space-between;align-items:center;gap:8px;display:flex}.metric-arrow{color:var(--muted);transition:transform var(--dur-slow) var(--ease-out), color var(--dur-fast) var(--ease-out);flex:none}@media (hover:hover){.dashboard-metrics>a:hover .metric-arrow{color:var(--ink);transform:translate(3px)}}.latest-table-head{padding:10px 14px}.latest-table-row{padding-inline:14px}.latest-amount{font-variant-numeric:tabular-nums}.latest-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (max-width:760px){.latest-label{clip-path:none;width:auto;height:auto;position:static;overflow:visible}.latest-table-head{display:none}.latest-table-row{flex-wrap:wrap;gap:4px 0;min-width:0;padding:14px 0;display:flex}.latest-table-row>strong{flex:0 0 100%}.latest-table-row span{font-size:var(--fs-12);color:var(--muted)}.latest-table-row>span+span:before{content:"·";margin:0 6px}}.dashboard-event strong{font-size:var(--fs-14);font-weight:600;line-height:1.55}.dashboard-event p{color:var(--muted);line-height:1.6}.dashboard-history>summary{font-size:var(--fs-15);letter-spacing:-.01em;padding:14px 0;font-weight:600}.dashboard-history .dashboard-event{border-top:1px solid var(--line);padding:12px 0 12px 22px;display:block}@media (min-width:1200px){.control-panel{border-top:0;grid-row:1;padding-top:0;padding-bottom:24px}.entity-context{border-top:1px solid var(--line);grid-row:2;padding-top:24px}}.control-panel>a,.control-dialog>a{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface);width:100%;min-height:36px;color:var(--ink);font-size:var(--fs-13);justify-content:center;align-items:center;gap:6px;margin-top:20px;padding:7px 12px;font-weight:500;text-decoration:none;display:flex}.control-panel>a{font-size:var(--fs-12)}.control-dialog>button{width:100%}@media (hover:hover){.control-panel>a:hover,.control-dialog>a:hover{background:var(--surface-hover)}}@media (pointer:coarse){.control-dialog>:is(a,button){min-height:44px}}@media (max-width:960px){.entity-context dl{grid-template-columns:136px minmax(0,1fr);align-items:baseline}}@media (max-width:760px){.entity-context h2{display:block}.detail-actions:has(>.control-toggle){flex-wrap:wrap;display:flex}.detail-actions:has(>.control-toggle)>button{flex:calc(50% - 4px);justify-content:center}.detail-actions:has(>.control-toggle)>:is(.primary,.control-toggle){flex-basis:100%}.section-heading:has(>:nth-child(3))>:is(h2,h3):first-child{flex-basis:100%}.section-heading:has(>:nth-child(3))>:nth-child(2){margin-left:auto}}@media (pointer:coarse){.journey-suggestion .text-button{margin-block:-11px;padding-block:11px}}:is(button,a):has(>.refresh-glyph:last-child)>svg.glyph.refresh-glyph:last-child{transition:rotate var(--dur-sheet) var(--spring)}@media (prefers-reduced-motion:no-preference){:is(button,a):active:has(>.refresh-glyph:last-child)>svg.glyph.refresh-glyph:last-child{transition-duration:var(--dur-fast);rotate:180deg}}#booking-section>p+button{margin-top:12px}.operations-focus>.text-button,.entity-context>.text-button,.workflow-actions>.text-button,.client-detail-grid>section>.text-button,.service-settings .settings-grid>section>.text-button,.estimate-rows>.text-button{margin-inline-start:-9px}.section-heading>.text-button:last-child:not(:first-child),.form-divider>.text-button:last-child{margin-inline-end:-9px}.workflow-actions{column-gap:23px}@media (max-width:760px){.workflow-actions{flex-direction:column;align-items:flex-start}}@media (min-width:761px){.topbar-section{flex:1 1 0;min-width:max-content}.search-form{flex:0 440px;width:auto;min-width:240px;margin:0}.topbar-actions{flex:1 1 0;justify-content:flex-end;align-items:center;gap:20px;display:flex}.search-results{width:min(520px,100vw - 288px)}}@supports (anchor-name:--a){.search-form{anchor-name:--global-search}@media (max-width:760px){.search-results{position-anchor:--global-search;top:calc(anchor(bottom) + 11px)}}@media (min-width:761px){.search-results{position-anchor:--global-search;top:calc(anchor(bottom) + 5px);left:anchor(left);width:max(anchor-size(width), 420px);transform-origin:0 0;animation-name:results-in-anchored;transform:none}}@keyframes results-in-anchored{0%{opacity:0;transform:translateY(-6px)scale(.98)}}}@media (max-width:760px){.topbar-actions{align-items:center;gap:10px;display:flex}}.notification-filters{align-items:center}.notification-filters>span{margin-left:auto}.notification-link[aria-current=page]{background:var(--line);color:var(--ink)}@media (max-width:760px){.pipeline{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:12px;margin-inline:-18px;padding-inline:18px;scroll-padding-inline:18px}.pipeline>section{scroll-snap-align:start;flex:0 0 min(280px,100vw - 72px);min-width:0}}@media (min-width:761px){.pipeline{scroll-snap-type:x proximity}.pipeline>section{scroll-snap-align:start}}.choice-chips input:checked+span{border-color:var(--accent);background:var(--accent-soft);color:var(--ink);box-shadow:inset 0 0 0 1px var(--accent)}.choice-chips label[data-tone=danger] input:checked+span{border-color:var(--danger);background:var(--danger-soft);color:var(--danger);box-shadow:inset 0 0 0 1px var(--danger)}.choice-chips label[data-tone=positive] input:checked+span{border-color:var(--positive);background:var(--positive-soft);color:var(--positive);box-shadow:inset 0 0 0 1px var(--positive)}dialog .form-footer{align-items:center;margin-top:6px}dialog .form-footer>button{justify-content:center}@media (max-width:760px){dialog .form-footer{margin-top:2px}dialog .form-footer:not(.consequence-box .form-footer,:has(>button:nth-of-type(3)))>button{white-space:nowrap;flex:auto}dialog .form-footer:not(.consequence-box .form-footer,:has(>button:nth-of-type(3)))>button:not(.primary,.danger){flex:none;min-width:96px}}.client-facts{margin-top:0}.entity-content [role=tabpanel]>section>.section-heading{align-items:center;min-height:49px}.deal-journey{border-bottom:0;padding-bottom:0}.entity-context dd.signal-text span{color:var(--danger)}.page-heading h1 .heading-count{margin-left:0}@media (hover:hover){.entity-row:hover>.arrow{transform:none}}@media (min-width:761px){.client-card{transition:background-color var(--dur-fast);padding-inline:14px}}.client-card>span svg{color:var(--muted);transition:transform var(--dur-slow) var(--ease-out), color var(--dur-fast) var(--ease-out)}@media (hover:hover){.client-card:hover{background:var(--surface-subtle)}.client-card:hover h3{text-decoration:none}.client-card:hover>span svg{color:var(--ink);transform:translate(3px)}}.client-list h3{font-size:var(--fs-14);font-weight:600}.client-list p.muted:not(.small){font-size:var(--fs-13)}.active-filters{gap:6px;margin:0 0 16px}.active-filters a{border-radius:var(--radius-md);background:var(--surface-hover);min-height:28px;color:var(--ink);font-size:var(--fs-12);transition:background-color var(--dur-fast) var(--ease-out);gap:6px;padding:0 6px 0 10px;font-weight:500;text-decoration:none}.active-filters a .glyph{color:var(--muted)}@media (hover:hover){.active-filters a:hover{background:var(--line)}.active-filters a:hover .glyph{color:var(--ink)}}@media (pointer:coarse){.active-filters a{min-height:36px;padding:0 8px 0 12px}}.empty-state .empty-actions{justify-content:center}.view-switch{margin-bottom:0}.view-switch+.pipeline{margin-top:8px}.view-switch+.empty-state{margin-top:18px}:is(.focus-list>a,.upcoming-panel .dashboard-event,.dashboard-payment){isolation:isolate;position:relative}:is(.focus-list>a,.upcoming-panel .dashboard-event,.dashboard-payment):before{content:"";z-index:-1;border-radius:var(--radius-md);background:var(--surface-subtle);opacity:0;transition:opacity var(--dur-fast) var(--ease-out);position:absolute;inset:1px -10px 0}@media (hover:hover){:is(.focus-list>a,.upcoming-panel .dashboard-event,.dashboard-payment):hover{background:0 0}:is(.focus-list>a,.upcoming-panel .dashboard-event,.dashboard-payment):hover:before{opacity:1}}:is(.focus-list>a,.upcoming-panel .dashboard-event,.dashboard-payment):active{background:0 0}:is(.focus-list>a,.upcoming-panel .dashboard-event,.dashboard-payment):active:before{opacity:1;background:var(--surface-hover)}.estimate-form>details:not([open])>summary{margin-bottom:0}.estimate-rows{border:1px solid var(--line);border-radius:var(--radius-lg);margin-inline:0;padding:14px 16px 16px}.estimate-row{grid-template-columns:minmax(0,1fr) minmax(0,.7fr) 39px}.estimate-row>button{justify-content:center;width:39px;height:39px;min-height:39px}@media (max-width:760px){.estimate-row{grid-template-columns:minmax(0,1fr) 44px!important}.estimate-row>:first-child{grid-column:1/-1}.estimate-row>button{width:44px;height:44px;min-height:44px}}.stack-form>.segmented{border-radius:var(--radius-md);background:var(--surface-hover);align-self:flex-start}.stack-form>.segmented button{min-height:34px;font-size:var(--fs-13);padding:6px 14px}.stack-form>[role=status]:empty{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (min-width:761px){dialog.offer-dialog:has(>.empty-state){width:min(620px,100vw - 32px)}.save-shortcut{gap:3px;display:inline-flex}}.save-shortcut kbd{border:1px solid var(--line-strong);border-radius:var(--radius-xs);background:var(--surface-subtle);min-width:20px;height:20px;font:500 var(--fs-11)/18px var(--font-ui);color:var(--muted);text-align:center;padding:0 5px;display:inline-block}.service-settings .settings-grid{align-items:start}.service-settings::details-content{overflow-clip-margin:14px}.service-settings .section-heading>h2{align-items:center;min-height:36px;display:flex}.service-settings .audit-row{grid-template-columns:104px minmax(0,1fr);align-items:baseline;column-gap:16px;padding:10px 0;display:grid}.service-settings .audit-row>.mono{grid-row:span 2}.service-settings .audit-row h3{font-size:var(--fs-13);margin:0;font-weight:500}.service-settings .audit-row p{margin:0}@media (max-width:760px){.service-settings .audit-row{grid-template-columns:1fr}.service-settings .audit-row>.mono{grid-row:auto}}@media (min-width:761px){.sidebar .brand{height:64px;padding-block:0}.sidebar nav{margin-top:24px}}.resource-row strong,.line-item>strong,.income-target strong,.channel-row>strong{font-weight:600}.channel-row small,.client-facts dt{font-size:var(--fs-12)}@media (prefers-reduced-motion:reduce){details::details-content{transition:none!important}}@media (forced-colors:active){:is(.direction-switch,.segmented,.view-switch)[data-thumb] :is(button[aria-pressed=true],button.selected),.choice-chips label:is([data-tone],:not([data-tone])) input:checked+span{forced-color-adjust:none;color:highlighttext;background:highlight;border-color:highlight}}.stage-badge.signal-text{background:var(--danger-soft);color:var(--danger)}html{scrollbar-gutter:stable}@media (min-width:761px){html:has(>body>.app-shell){scrollbar-gutter:auto}}.loading-state{animation:loading-reveal var(--dur-base) var(--ease-out) .3s backwards}@keyframes loading-reveal{0%{opacity:0}}
:root{--sidebar-w:224px;--rail-w:64px;--panel-inset:8px;--panel-radius:var(--radius-xl);--rail-ms:var(--dur-base);--sidebar-hover:color-mix(in srgb, var(--ink) 5%, transparent)}@media (max-width:960px){:root{--sidebar-w:184px}}@media (min-width:761px){.app-shell{grid-template-columns:var(--sidebar-w) minmax(0, 1fr);background:var(--paper);height:100dvh;min-height:0}html[data-rail-instant] :is(.app-shell,.app-shell *){transition:none!important}html[data-rail-moving] .app-shell{overflow:clip}html[data-rail-moving] .app-shell>.workspace{z-index:3}html[data-rail=true] .app-shell{grid-template-columns:var(--rail-w) minmax(0, 1fr)}.sidebar{z-index:2;background:0 0;border-right:0;min-width:0;height:100dvh;padding:0 12px 12px;position:relative;top:auto}.workspace{height:calc(100dvh - 2 * var(--panel-inset));margin:var(--panel-inset) var(--panel-inset) var(--panel-inset) 0;overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--surface);border:1px solid var(--line);border-radius:var(--panel-radius);box-shadow:var(--shadow-card);position:relative;overflow:hidden auto}.topbar{border-radius:calc(var(--panel-radius) - 1px) calc(var(--panel-radius) - 1px) 0 0}.sidebar .brand{gap:10px;height:64px;padding:0 6px;overflow:hidden}.sidebar .brand .brand-wordmark,.sidebar-context{white-space:nowrap}.sidebar nav a,.sidebar-secondary a,.sidebar-bottom .settings-link,.rail-toggle{white-space:nowrap;min-width:0;position:relative}.sidebar .nav-label{min-width:0;transition:opacity var(--dur-base) var(--ease-out) 60ms;flex:auto;overflow:hidden}.sidebar nav a:hover,.sidebar-secondary a:hover,.sidebar-bottom .settings-link:hover,.rail-toggle:hover{background:var(--sidebar-hover)}.sidebar-secondary a.active,.sidebar-bottom .settings-link.active{background:var(--surface);box-shadow:var(--shadow-card)}.sidebar-bottom{gap:2px;display:grid}.sidebar-context{transition:opacity var(--dur-base) var(--ease-out) 60ms;overflow:hidden}.rail-toggle,.rail-toggle:hover:not(:disabled){border-radius:var(--radius-md);width:100%;min-height:36px;color:var(--muted);font-size:var(--fs-13);text-align:left;background:0 0;border:0;align-items:center;gap:11px;margin-top:4px;padding:0 11px;display:flex}.rail-toggle:hover:not(:disabled){background:var(--sidebar-hover);color:var(--ink)}.rail-toggle>svg{transition:transform var(--rail-ms) var(--ease-out);flex:none}.rail-toggle .nav-label{justify-content:space-between;align-items:center;gap:8px;display:flex}.rail-toggle kbd{border:1px solid var(--line-strong);border-radius:var(--radius-xs);font-family:var(--font-ui);font-size:var(--fs-10);color:var(--text-2);flex:none;padding:0 5px;line-height:16px}html[data-rail=true] .rail-toggle>svg{transform:scaleX(-1)}html[data-rail=true] .sidebar .nav-label,html[data-rail=true] .sidebar .brand-wordmark,html[data-rail=true] .sidebar-context{opacity:0;transition:opacity var(--dur-press) var(--ease-out)}.sidebar .brand-wordmark{transition:opacity var(--dur-base) var(--ease-out) 60ms}html[data-rail=true] .sidebar-secondary{border-top-color:#0000}.sidebar nav .nav-indicator{border-radius:var(--radius-md);background:var(--surface);width:auto;box-shadow:var(--shadow-card);transform:translateY(var(--nav-y,0));right:0}.sidebar nav[data-indicator=ready] .nav-indicator{transition:transform var(--dur-slow) var(--spring-soft)}}@media (max-width:760px){.sidebar nav[data-indicator=ready] .nav-indicator{transition:transform var(--dur-slow) var(--spring-soft)}.rail-toggle{display:none}}.sidebar nav a.active{color:var(--ink)}.sidebar nav[data-pending] a.active:not([data-pending]){color:var(--muted);font-weight:inherit}.sidebar nav[data-pending] a[data-pending]{color:var(--ink);font-weight:600}@media (min-width:761px) and (hover:hover) and (pointer:fine){html[data-rail=true] .sidebar :is(nav a,.sidebar-secondary a,.settings-link,.rail-toggle)[data-tip]:after{content:attr(data-tip) / "";z-index:5;border-radius:var(--radius-sm);background:var(--ink);color:var(--paper);font-size:var(--fs-12);white-space:nowrap;box-shadow:var(--shadow-raised);pointer-events:none;opacity:0;transform-origin:0;transition:opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);padding:5px 8px;font-weight:500;line-height:16px;position:absolute;top:50%;left:calc(100% + 12px);transform:translate(-4px,-50%)scale(.97)}html[data-rail=true] .sidebar :is(nav a,.sidebar-secondary a,.settings-link,.rail-toggle)[data-tip]:is(:hover,:focus-visible):after{opacity:1;transition-delay:.12s;transform:translateY(-50%)}html[data-rail=true] .sidebar:has(:is(nav a,.sidebar-secondary a,.settings-link,.rail-toggle):hover) :is(nav a,.sidebar-secondary a,.settings-link,.rail-toggle)[data-tip]:hover:after{transition-delay:0s}}.page[data-enter=section]{animation:page-rise var(--dur-base) var(--ease-out) backwards}@keyframes page-rise{0%{opacity:0;transform:translateY(8px)}}.workspace:has(>.main-content>.page[data-leaving])>.topbar:after{content:"";border-radius:var(--radius-xs);background:var(--accent);opacity:0;width:28%;height:2px;animation:leaving-progress 1.1s var(--ease-in-out) .4s infinite;position:absolute;bottom:-1px;left:0}@keyframes leaving-progress{0%{opacity:.6;transform:translate(-100%)}to{opacity:.6;transform:translate(360%)}}.money-page:not(:has(>.error-notice))>.money-panel:is([aria-labelledby=money-tab-overview],[aria-labelledby=money-tab-incomes],[aria-labelledby=money-tab-expenses]):not(:has(>.money-figures))>:not(.loading-state){visibility:hidden;animation:1ms linear 1.5s forwards money-release}@keyframes money-release{to{visibility:visible}}.workspace:has(.entity-content>.record-tabs){overflow-anchor:none}@media (max-width:760px){.money-heading p.muted{min-height:2lh}}@media (pointer:coarse){button,.primary,.text-button,:is(.segmented,.direction-switch,.view-switch) button,.start-panel .panel-heading>button.panel-link,.choice-group.choice-segmented label>span{min-height:44px}.money-table td a{position:relative}.money-table td a:after{content:"";position:absolute;inset:-14px -8px}}
:root{--dnd-settle:linear(0, .259, .462, .617, .733, .82, .883, .928, .96, .981, .995, 1.003, 1.008, 1.01, 1.011, 1.011, 1.01, 1.009, 1.007, 1.006, 1.005, 1.004, 1.003, 1.002, 1)}.pipeline>section{isolation:isolate;transition:opacity var(--dur-base) var(--ease-out);position:relative}.pipeline>section:before{content:"";z-index:-1;border-radius:var(--radius-xl);background:var(--surface-subtle);box-shadow:inset 0 0 0 1px var(--line);opacity:0;pointer-events:none;transition:opacity var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);position:absolute;inset:-6px -8px}.pipeline[data-dragging]{scroll-snap-type:none}.pipeline[data-dragging]>section[data-drop=allowed]:before{opacity:1}.pipeline[data-dragging]>section[data-drop=allowed][data-over]:before{box-shadow:inset 0 0 0 1.5px var(--accent)}.pipeline[data-dragging]>section[data-drop=blocked],.pipeline[data-dragging]>section[data-drop=hint]{opacity:.4}.pipeline[data-dragging]>section[data-drop=hint][data-over]{opacity:1}.pipeline[data-dragging]>section[data-drop=hint][data-over]>:not(.dnd-hint){opacity:.4}.pipeline-item[data-draggable]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.pipeline-item[data-moved]{animation:none}.pipeline-item[data-dnd-origin]{border-style:dashed;border-color:var(--line-strong);box-shadow:none;background:0 0;transform:none}.pipeline-item[data-dnd-origin]>*,.pipeline-item[data-dnd-landing]{visibility:hidden}.pipeline-item[data-busy]{cursor:progress}.dnd-gap{border:1.5px dashed var(--line-strong);border-radius:var(--radius-lg);background:color-mix(in srgb, var(--accent) 4%, transparent);animation:dnd-gap-in var(--dur-fast) var(--ease-out) backwards;margin-bottom:8px}@keyframes dnd-gap-in{0%{opacity:0}}.pipeline-empty{border:1px dashed var(--line);border-radius:var(--radius-lg);color:var(--muted);font-size:var(--fs-13);padding:14px 16px}.dnd-hint{z-index:2;border-radius:var(--radius-lg);background:var(--toast-surface);color:var(--toast-text);font-size:var(--fs-13);box-shadow:var(--shadow-floating);animation:dnd-hint-in var(--dur-fast) var(--ease-out) backwards;margin:0;padding:10px 12px;line-height:1.4;position:absolute;top:44px;left:0;right:0}@keyframes dnd-hint-in{0%{opacity:0;transform:translateY(-4px)}}.dnd-ghost{z-index:60;pointer-events:none;transform-origin:50%;will-change:transform;margin:0;position:fixed;transition:none!important;animation:none!important}.dnd-ghost:after{content:"";border-radius:inherit;box-shadow:var(--shadow-floating);opacity:0;pointer-events:none;transition:opacity var(--dur-base) var(--ease-out);position:absolute;inset:-1px}.dnd-ghost[data-lifted]:after{opacity:1}:root[data-dnd],:root[data-dnd] *{cursor:grabbing!important}:root[data-dnd=blocked],:root[data-dnd=blocked] *{cursor:no-drop!important}.pipeline-lanes{gap:18px;display:grid}.view-switch+.pipeline-lanes{margin-top:8px}.pipeline-lane{min-width:0;transition:opacity var(--dur-base) var(--ease-out)}.pipeline-lane-label{color:var(--muted);font-size:var(--fs-12);letter-spacing:.02em;margin:0 0 2px;font-weight:600}.pipeline-lanes[data-lanes="2"] .pipeline-lane+.pipeline-lane{border-top:1px solid var(--line);padding-top:16px}.pipeline-lanes:has(.pipeline[data-dragging]) .pipeline-lane:not(:has(.pipeline[data-dragging])){opacity:.4}
