.restoration-forms{grid-column:1/-1;min-width:0}.restoration-form-builder,.restoration-form-fill,.restoration-form-template-list,.restoration-form-answer-list{border-top:1px solid var(--border);margin-top:16px;padding-top:14px}.restoration-form-builder-head,.restoration-form-template,.restoration-form-answer-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.restoration-form-builder-head h3,.restoration-form-template-list h3,.restoration-form-fill h3,.restoration-form-answer-list h3{margin:0 0 4px;font-size:19px}.restoration-form-builder-head p,.restoration-form-muted,.restoration-form-definition-copy,.restoration-form-evidence>p{color:var(--muted);margin:4px 0 12px;font-size:16px}.restoration-form-field-card{border:1px solid var(--border);border-radius:10px;min-width:0;margin:12px 0;padding:12px 14px 14px}.restoration-form-field-card legend{color:var(--muted);padding:0 5px;font-size:14px;font-weight:700}.restoration-form-field-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.restoration-form-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;display:grid}.restoration-form-field-grid label,.restoration-form-select-row label,.restoration-form-reason{color:var(--muted);flex-direction:column;gap:5px;min-width:0;font-size:16px;display:flex}.restoration-form-field-grid input:not([type=checkbox]),.restoration-form-field-grid select,.restoration-form-field-grid textarea,.restoration-form-select-row select,.restoration-form-reason input,.restoration-form-question>input,.restoration-form-question>select,.restoration-form-question>textarea{box-sizing:border-box;width:100%;font:inherit;color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:7px;padding:9px}.restoration-form-field-grid .restoration-form-required{flex-direction:row;align-items:center}.restoration-form-field-grid .restoration-form-required input,.restoration-form-choice-list input,.restoration-form-evidence input,.restoration-form-option-editor input[type=checkbox]{width:auto}.restoration-form-wide{grid-column:1/-1}.restoration-form-option-editor{color:var(--muted);gap:7px;font-size:16px;display:grid}.restoration-form-option-editor>div{align-items:center;gap:6px;display:flex}.restoration-form-option-editor>div input{flex:1}.restoration-form-column-editor{grid-template-columns:minmax(120px,1fr) minmax(120px,.8fr) minmax(160px,auto) auto;align-items:center;gap:8px;display:grid}.restoration-form-table-wrap{min-width:0;overflow-x:auto}.restoration-form-table{border-collapse:collapse;width:100%;min-width:560px;margin-bottom:8px}.restoration-form-table th,.restoration-form-table td{border:1px solid var(--border);text-align:left;vertical-align:middle;padding:7px}.restoration-form-table th{background:var(--paper);font-size:14px}.restoration-form-table th b{color:#a0463c;margin-left:4px;font-weight:600}.restoration-form-table input,.restoration-form-table select{box-sizing:border-box;width:100%;min-width:100px;font:inherit;color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:6px;padding:7px}.restoration-form-history article p{white-space:pre-line}.restoration-form-condition{color:var(--muted);grid-column:1/-1}.restoration-form-builder-actions,.restoration-form-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.restoration-form-primary,.restoration-form-submit,.restoration-form-secondary,.restoration-form-icon{font:inherit;cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:6px;display:inline-flex}.restoration-form-primary,.restoration-form-submit{color:#fff;background:#3c3b37;border:1px solid #3c3b37;padding:8px 11px}.restoration-form-submit{background:#315d48;border-color:#315d48}.restoration-form-secondary{color:#344c60;border:1px solid var(--border);background:#fff;padding:7px 10px}.restoration-form-icon{color:var(--muted);background:0 0;border:0;padding:5px}.restoration-form-primary:disabled,.restoration-form-secondary:disabled{opacity:.5;cursor:not-allowed}.restoration-form-template{border-top:1px solid var(--border);padding:12px 0}.restoration-form-template>div:first-child{gap:4px;display:grid}.restoration-form-template span,.restoration-form-answer-choice span{color:var(--muted);font-size:16px}.restoration-form-select-row{grid-template-columns:2fr 1fr;gap:12px;margin:12px 0;display:grid}.restoration-form-answer-head{color:var(--muted);margin:12px 0;font-size:16px}.restoration-form-questions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.restoration-form-question{min-width:0;color:var(--ink);flex-direction:column;gap:6px;font-size:16px;display:flex}.restoration-form-question>span b{color:#a0463c;margin-left:5px;font-size:16px;font-weight:600}.restoration-form-question small{color:var(--muted);font-size:16px}.restoration-form-choice-list{gap:6px;display:grid}.restoration-form-choice-list label,.restoration-form-evidence label{color:var(--text-2);align-items:flex-start;gap:8px;font-size:16px;display:flex}.restoration-form-evidence{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.restoration-form-evidence h4,.restoration-form-history h4{margin:0 0 4px;font-size:16px}.restoration-form-evidence label{margin:8px 0}.restoration-form-evidence a,.restoration-form-history a{color:#344c60}.restoration-form-reason{margin-top:14px}.restoration-form-notice,.restoration-form-error{border-radius:7px;margin:8px 0;padding:9px 12px;font-size:16px}.restoration-form-notice{color:#315c49;background:var(--surface-subtle);border:1px solid var(--border-strong)}.restoration-form-error{color:#8e302b;background:#fff5f4;border:1px solid #e8aaa6}.restoration-form-history{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.restoration-form-history article{border-top:1px solid var(--border);padding:10px 0}.restoration-form-history article>div:first-child{gap:3px;font-size:16px;display:grid}.restoration-form-history article small{color:var(--muted)}.restoration-form-history article p{color:var(--text-2);overflow-wrap:anywhere;margin:5px 0;font-size:16px}.restoration-form-history details{margin-top:7px;font-size:16px}.restoration-form-history summary{cursor:pointer;color:#344c60}.restoration-form-answer-list{gap:6px;display:grid}.restoration-form-answer-choice{text-align:left;border:1px solid var(--border);color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;gap:3px;padding:10px;display:grid}.restoration-form-answer-choice.selected{background:var(--paper);border-color:#6e6c62}@media (max-width:650px){.restoration-form-field-grid,.restoration-form-questions,.restoration-form-select-row{grid-template-columns:1fr}.restoration-form-template{flex-direction:column}.restoration-form-wide,.restoration-form-condition{grid-column:auto}.restoration-form-column-editor{grid-template-columns:1fr}}
.dry-goals-panel{grid-column:1/-1}.dry-goal-point{border:1px solid var(--line,var(--border));border-radius:10px;margin:.8rem 0;padding:1rem}.dry-goal-head,.dry-goal-review-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.dry-goal-head h3{margin:0}.dry-goal-head p{color:var(--muted,var(--muted));margin:.25rem 0}.dry-goal-values{grid-template-columns:minmax(170px,.45fr) 1fr;gap:.45rem .8rem;margin:.9rem 0;display:grid}.dry-goal-values dt{color:var(--muted,var(--muted))}.dry-goal-values dd{margin:0;font-weight:600}.dry-goal-review-head{border-top:1px solid var(--line,var(--border));align-items:center;padding-top:.8rem}.dry-goal-review-head strong,.dry-goal-review-head span{display:block}.dry-goal-review-head span{color:var(--muted,var(--muted));margin-top:.2rem;font-size:1rem}.dry-goal-current-review{background:var(--paper);border-left:3px solid #419267;gap:.25rem;margin:.7rem 0;padding:.65rem .8rem;display:grid}.dry-goal-current-review.stale{background:#fff8e9;border-color:#b98024}.dry-goal-current-review span,.dry-goal-current-review small,.dry-goal-history span,.dry-goal-history small{color:var(--muted,var(--muted));font-size:1rem}.dry-goal-point details{margin-top:.8rem}.dry-goal-history{border-top:1px solid var(--line,var(--border));gap:.2rem;padding:.6rem 0;display:grid}@media (max-width:620px){.dry-goal-values{grid-template-columns:1fr;gap:.15rem}.dry-goal-values dd{margin-bottom:.4rem}.dry-goal-head,.dry-goal-review-head{flex-direction:column;align-items:flex-start}}
.restoration-bulk{border:1px solid var(--border);color:var(--ink);background:#fff;border-radius:14px;gap:15px;margin-top:18px;padding:20px;display:grid}.restoration-bulk>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.restoration-bulk .eyebrow{letter-spacing:.12em;color:var(--muted);font-size:14px;font-weight:750}.restoration-bulk h2,.restoration-bulk p{margin:0}.restoration-bulk>header p,.restoration-bulk-create>p,.restoration-bulk-revise>p{color:var(--muted);margin-top:5px;font-size:16px;line-height:1.5}.restoration-bulk details{border:1px solid var(--border);background:#fcfcfc;border-radius:10px;padding:13px}.restoration-bulk details>summary{cursor:pointer;color:var(--ink);align-items:center;gap:8px;font-size:18px;font-weight:700;display:flex}.restoration-bulk-table-wrap{border:1px solid var(--border);background:#fff;border-radius:8px;max-height:440px;margin:12px 0 8px;overflow:auto}.restoration-bulk-table{border-collapse:collapse;width:100%;min-width:1050px;font-size:16px}.restoration-bulk-table th,.restoration-bulk-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:7px}.restoration-bulk-table th{background:var(--surface-subtle);color:var(--muted);z-index:1;position:sticky;top:0}.restoration-bulk select,.restoration-bulk input:not([type=checkbox]),.restoration-bulk textarea{border:1px solid var(--border-strong);width:100%;min-height:36px;color:var(--ink);font:inherit;background:#fff;border-radius:7px;padding:7px 8px;font-size:16px}.restoration-bulk textarea{resize:vertical;min-height:54px}.restoration-bulk input[type=number]{min-width:62px}.restoration-bulk-triple{min-width:150px}.restoration-bulk-triple input+input{margin-top:4px}.restoration-bulk-actions,.restoration-bulk-select-head{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.restoration-bulk-actions>span,.restoration-bulk-select-head>span{color:var(--muted);font-size:16px}.restoration-bulk-reason{color:var(--ink);gap:6px;margin:10px 0;font-size:16px;font-weight:650;display:grid}.restoration-bulk-icon{border:1px solid var(--border);color:#6e4a40;cursor:pointer;background:#fff;border-radius:7px;place-items:center;width:31px;height:31px;display:grid}.restoration-bulk-icon:disabled{opacity:.35;cursor:not-allowed}.restoration-bulk-select-head input{max-width:300px}.restoration-bulk-control{color:var(--muted);gap:4px;font-size:16px;font-weight:650;display:grid}.restoration-bulk-control select{min-width:190px}.restoration-bulk-select-list{border:1px solid var(--border);background:#fff;border-radius:8px;max-height:360px;margin:10px 0;padding:8px;display:block;overflow:auto}.restoration-bulk-inventory{min-width:760px;display:grid}.restoration-bulk-inventory-row{border:0;border-bottom:1px solid var(--border);text-align:left;width:100%;color:var(--ink);cursor:pointer;background:#fff;align-items:center;gap:8px;padding:9px;display:flex}.restoration-bulk-inventory-row:hover{background:var(--paper)}.restoration-bulk-inventory-row.selected{color:var(--ink);background:#f0f8f4;border-color:#aeada4}.restoration-bulk-inventory-head{z-index:1;background:var(--surface-subtle);color:var(--muted);cursor:default;font-size:16px;font-weight:700;position:sticky;top:0}.restoration-bulk-inventory-row>span{overflow-wrap:anywhere;flex:140px;gap:3px;min-width:100px;display:grid}.restoration-bulk-inventory-row>.restoration-bulk-inventory-description{flex-basis:190px}.restoration-bulk-inventory-row>.restoration-bulk-missing{color:#8b4b25;flex-basis:180px;font-size:16px}.restoration-bulk-inventory-row>small{color:var(--muted);flex:none;font-size:14px}.restoration-bulk-inventory-row strong{overflow-wrap:anywhere}.restoration-bulk-inventory-row small{color:var(--muted);font-size:14px}.restoration-bulk-empty{color:var(--muted);gap:6px;margin:0;padding:14px;display:grid}.restoration-bulk-empty p{margin:0}.restoration-bulk-preview{background:var(--paper);max-height:260px;color:var(--ink);border:1px solid #bfbdb7;border-radius:8px;gap:5px;margin:10px 0;padding:10px 12px;font-size:16px;display:grid;overflow:auto}.restoration-bulk-preview p{overflow-wrap:anywhere;line-height:1.5}.restoration-contents-row-editor{background:var(--paper);border:1px solid #bfbdb7;border-radius:9px;gap:10px;margin:12px 0;padding:12px;display:grid}.restoration-contents-row-editor-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.restoration-contents-row-editor-heading h3,.restoration-contents-row-editor-heading p{margin:0}.restoration-contents-row-editor-heading p{color:var(--muted);margin-top:4px;font-size:16px;line-height:1.45}.restoration-contents-row-editor-wrap{border:1px solid var(--border);background:#fff;border-radius:8px;max-height:390px;overflow:auto}.restoration-contents-row-editor-table{border-collapse:collapse;width:100%;min-width:1520px;font-size:16px}.restoration-contents-row-editor-table th,.restoration-contents-row-editor-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;min-width:110px;padding:7px}.restoration-contents-row-editor-table thead th{z-index:1;background:var(--surface-subtle);color:var(--muted);position:sticky;top:0}.restoration-contents-row-editor-table tbody th{z-index:1;background:var(--paper);position:sticky;left:0}.restoration-contents-row-editor-table tbody th strong,.restoration-contents-row-editor-table tbody th small{overflow-wrap:anywhere;max-width:170px;display:block}.restoration-contents-row-editor-table tbody th small{color:var(--muted);margin-top:3px}.restoration-contents-row-editor-table tr.has-changes td{background:#fffdf2}.restoration-contents-row-editor-table td textarea{min-width:150px;min-height:62px}.restoration-contents-row-editor-table td select,.restoration-contents-row-editor-table td input{min-width:100px}.restoration-contents-row-outcome{color:var(--muted);min-width:235px!important}.restoration-contents-row-outcome>*{overflow-wrap:anywhere;margin-bottom:5px;display:block}.restoration-contents-row-outcome .saved{color:#266244}.restoration-contents-row-outcome .refused{color:#933d2b}.restoration-contents-row-preview{border:1px solid var(--border);max-height:220px;color:var(--ink);background:#fff;border-radius:8px;gap:5px;padding:9px 11px;font-size:16px;display:grid;overflow:auto}.restoration-contents-row-preview p{overflow-wrap:anywhere;line-height:1.45}.restoration-bulk-change-fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:12px 0;display:grid}.restoration-bulk-change-fields>label{color:var(--text-2);align-content:start;gap:7px;font-size:16px;font-weight:650;display:grid}.restoration-bulk-change-fields>label input[type=checkbox]{margin-right:5px}.restoration-bulk-error,.restoration-bulk-success{border-radius:8px;margin:0;padding:10px 12px;font-size:16px}.restoration-bulk-error{color:#933d2b;background:#fff1ed}.restoration-bulk-success{color:#266244;background:#edf8f1}.restoration-bulk .button{justify-content:center;align-items:center;gap:7px;display:inline-flex}@media (max-width:600px){.restoration-bulk{padding:14px}.restoration-bulk>header,.restoration-contents-row-editor-heading{flex-wrap:wrap}.restoration-bulk>header>*,.restoration-contents-row-editor-heading>*{min-width:0;max-width:100%}.restoration-bulk-select-list{box-sizing:border-box;width:100%;min-width:0}.restoration-bulk-actions .button,.restoration-bulk-create>.button,.restoration-bulk-revise>.button{width:100%}.restoration-bulk-select-head>*{width:100%;max-width:none!important}}.restoration-room-move{border:1px solid var(--border);background:var(--paper);border-radius:9px;gap:12px;margin-top:16px;padding:14px;display:grid}.restoration-room-move h3,.restoration-room-move p{margin:0}.restoration-room-move>p{color:var(--muted);font-size:16px;line-height:1.45}.restoration-room-move-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.restoration-room-move-fields label{gap:6px;font-size:16px;font-weight:650;display:grid}.restoration-room-move-preview{border:1px solid var(--border);background:#fff;border-radius:8px;max-height:240px;padding:10px 12px;overflow:auto}.restoration-room-move-preview p{overflow-wrap:anywhere;margin-top:7px;font-size:16px}@media (max-width:720px){.restoration-room-move-fields{grid-template-columns:minmax(0,1fr)}}
.customer-follow-up{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--white);gap:16px;margin-block-start:16px;margin-block-end:16px;padding:max(14px,min(2.5vw,24px));display:grid}.customer-follow-up :-webkit-any(h2,h3,p){margin:0}.customer-follow-up :is(h2,h3,p){margin:0}.customer-follow-up__heading,.customer-follow-up__actions,.customer-follow-up__inline-form{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.customer-follow-up__heading{justify-content:space-between}.customer-follow-up__heading>div>p{margin-block-start:4px}.customer-follow-up__inline-form>:-webkit-any(input,select,label){flex:230px;min-width:0}.customer-follow-up__inline-form>:is(input,select,label){flex:230px;min-width:0}.customer-follow-up__inline-form:has(label){align-items:end}.customer-follow-up :-webkit-any(label,textarea,input,select){min-width:0}.customer-follow-up :is(label,textarea,input,select){min-width:0}.customer-follow-up :-webkit-any(a,textarea,p){overflow-wrap:anywhere}.customer-follow-up :is(a,textarea,p){overflow-wrap:anywhere}.customer-follow-up textarea{width:100%}.customer-follow-up__review,.customer-follow-up__request,.customer-follow-up__conversion form{gap:12px;display:grid}.customer-follow-up__review a{display:block}.customer-follow-up__conversion{border-top:1px solid var(--border);padding-block-start:12px}.customer-follow-up__conversion form{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));align-items:end;margin-top:12px}.customer-follow-up__conversion small{grid-column:1/-1}.customer-follow-up__list,.customer-follow-up__history ul{gap:12px;margin:0;padding:0;list-style:none;display:grid}.customer-follow-up__list li,.customer-follow-up__history li{border-top:1px solid var(--border);gap:6px;padding:12px 0;display:grid}.customer-follow-up__history h3{margin-block-end:8px}
.dispatch-map{flex-direction:column;gap:16px;display:flex}.dispatch-map__toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.dispatch-map__search{min-width:240px;max-width:340px}.dispatch-map__layout{grid-template-columns:minmax(0,1fr) 330px;align-items:stretch;gap:16px;display:grid}.dispatch-map__canvas{border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--surface-subtle);cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;min-height:540px;position:relative;overflow:hidden}.dispatch-map__canvas:active{cursor:grabbing}.dispatch-map__tiles,.dispatch-map__pins{pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.dispatch-map__tile{width:256px;height:256px;position:absolute;top:0;left:0}.dispatch-map__pin{border:2px solid var(--white);width:36px;height:36px;color:var(--white);cursor:pointer;pointer-events:auto;box-shadow:var(--shadow);border-radius:999px;justify-content:center;align-items:center;transition:transform .12s;display:inline-flex;position:absolute;top:-18px;left:-18px}.dispatch-map__pin--claim{background:var(--accent)}.dispatch-map__pin--job{background:var(--ui-emerald)}.dispatch-map__pin--lead{background:var(--ui-amber)}.dispatch-map__pin.is-selected{z-index:5;outline:3px solid var(--ink)}.dispatch-map__controls{z-index:10;flex-direction:column;gap:6px;display:flex;position:absolute;top:12px;right:12px}.dispatch-map__controls button{justify-content:center;min-width:44px;min-height:44px;padding:0}.dispatch-map__legend{border-radius:var(--radius);background:var(--white);border:1px solid var(--border);box-shadow:var(--shadow);z-index:10;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 12px;display:flex;position:absolute;top:12px;left:12px}.dispatch-map__legend-item{align-items:center;gap:6px;font-size:14px;font-weight:600;display:inline-flex}.dispatch-map__dot{border-radius:999px;width:10px;height:10px;display:inline-block}.dispatch-map__dot--claim{background:var(--accent)}.dispatch-map__dot--job{background:var(--ui-emerald)}.dispatch-map__dot--lead{background:var(--ui-amber)}.dispatch-map__status{color:var(--muted);align-items:center;gap:6px;font-size:14px;display:inline-flex}.dispatch-map__popup{border-radius:var(--radius-lg);background:var(--white);border:1px solid var(--border);max-width:380px;box-shadow:var(--shadow);z-index:12;flex-direction:column;gap:6px;padding:14px 16px;display:flex;position:absolute;bottom:14px;left:14px}.dispatch-map__popup-top{align-items:center;gap:8px;display:flex}.dispatch-map__popup-meta{color:var(--muted);text-transform:capitalize;font-size:14px}.dispatch-map__popup-addr{color:var(--muted);font-size:16px}.dispatch-map__popup-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.dispatch-map__badge{text-transform:capitalize;color:var(--white);border-radius:999px;align-items:center;padding:2px 8px;font-size:14px;font-weight:600;display:inline-flex}.dispatch-map__badge--claim{background:var(--accent)}.dispatch-map__badge--job{background:var(--ui-emerald)}.dispatch-map__badge--lead{background:var(--ui-amber)}.dispatch-map__list{flex-direction:column;gap:10px;max-height:540px;display:flex}.dispatch-map__list-head{justify-content:space-between;align-items:center;display:flex}.dispatch-map__list-scroll{flex-direction:column;gap:6px;padding-right:4px;display:flex;overflow-y:auto}.dispatch-map__row{text-align:left;border:1px solid var(--border);background:var(--white);width:100%;color:var(--ink);cursor:pointer;border-radius:10px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.dispatch-map__row.is-selected,.dispatch-map__row:hover{border-color:var(--accent);background:var(--surface-subtle)}.dispatch-map__row-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.dispatch-map__row-addr{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}@media (max-width:960px){.dispatch-map__layout{grid-template-columns:minmax(0,1fr)}.dispatch-map__canvas{min-height:400px}.dispatch-map__list{max-height:300px}}
.app-shell[data-tenant-brand]{--ring:0 0 0 3px color-mix(in srgb, var(--tenant-accent) 30%, transparent)}.app-shell[data-tenant-brand] .topbar{border-top:2px solid var(--tenant-accent)}.app-shell[data-tenant-brand] .sidebar nav button.active,.app-shell[data-tenant-brand] .sidebar .sidebar-utility.active{background:var(--tenant-soft);color:var(--tenant-accent-ink);box-shadow:inset 3px 0 0 var(--tenant-accent), 0 1px 2px #18181b0d}.app-shell[data-tenant-brand] .sidebar nav button.active svg,.app-shell[data-tenant-brand] .sidebar .sidebar-utility.active svg{color:var(--tenant-accent-ink)}.app-shell[data-tenant-brand] .mobile-navigation button.active{background:var(--tenant-soft);color:var(--tenant-accent-ink)}.app-shell[data-tenant-brand] .claim-overview__tab[aria-selected=true]{background:var(--tenant-soft);color:var(--tenant-accent-ink);border-color:var(--tenant-accent)}.app-shell[data-tenant-brand] .diagram-grid-segments button[aria-pressed=true],.app-shell[data-tenant-brand] .today-operating svg,.app-shell[data-tenant-brand] .today-work-icon{background:var(--tenant-soft);color:var(--tenant-accent-ink)}.app-shell[data-tenant-brand] .stage-meter i{background:var(--tenant-accent)}.app-shell[data-tenant-brand] .company-welcome-context{border-top:3px solid var(--tenant-accent);padding-top:15px}.app-shell[data-tenant-brand] .company-welcome-mark{background:var(--tenant-soft);color:var(--tenant-accent-ink)}.app-shell .company-avatar--branded{border:1px solid var(--workspace-line);border-radius:10px;flex:0 0 122px;width:122px;height:40px;padding:5px 8px;box-shadow:0 1px 2px #18181b14}.app-shell .company-avatar--branded.company-avatar--dark{background:var(--ink);border-color:var(--ink);color:var(--white)}.app-shell .company-avatar--branded.company-avatar--light{background:var(--white);color:var(--ink)}.company-brand-logo{object-fit:contain;width:100%;height:100%;display:block}.company-brand-settings__grid{grid-template-columns:minmax(210px,.8fr) minmax(300px,1.2fr);gap:24px;margin-top:16px;display:grid}.company-brand-settings__preview{align-content:start;gap:12px;display:grid}.company-brand-settings__label{color:var(--muted);font-size:14px;font-weight:650}.company-brand-settings__logo{border:1px solid var(--border);min-height:116px;box-shadow:var(--shadow);border-radius:14px;place-items:center;padding:22px;display:grid}.company-brand-settings__logo .company-brand-logo{width:min(100%,240px);height:64px}.company-brand-settings__logo--dark{background:var(--ink);color:var(--white)}.company-brand-settings__logo--light{background:var(--white);color:var(--ink)}.company-brand-settings__sample{color:var(--ink);border:1px solid;border-radius:12px;gap:4px;padding:14px 16px;display:grid}.company-brand-settings__sample span{font-size:16px;font-weight:650}.company-brand-settings__fields{align-content:start;gap:14px;display:grid}.company-brand-settings__fields>label{gap:6px;font-size:16px;font-weight:650;display:grid}.company-brand-settings__fields select{border:1px solid var(--border-strong);background:var(--white);width:100%;min-height:44px;color:var(--ink);font:inherit;border-radius:10px;padding:8px 12px}.company-brand-settings__upload{border:1px solid var(--border-strong);background:var(--white);cursor:pointer;border-radius:10px;align-items:center;width:-webkit-fit-content;width:fit-content;min-height:44px;padding:9px 14px;gap:9px!important;display:flex!important}.company-brand-settings__upload input{opacity:0;width:1px;height:1px;position:absolute}.company-brand-settings__upload:focus-within{box-shadow:var(--ring)}.company-brand-settings__hint{color:var(--muted);margin:-6px 0 0;font-size:14px;line-height:1.5}.company-brand-settings__hint .text-button{min-height:0;font-size:inherit;padding:0;display:inline}.company-brand-settings__presets{border:0;flex-wrap:wrap;gap:8px;margin:0;padding:0;display:flex}.company-brand-settings__presets legend{margin-bottom:6px;font-size:15px;font-weight:650}.company-brand-settings__presets label{border:1px solid var(--border);cursor:pointer;border-radius:999px;align-items:center;gap:6px;min-height:40px;padding:6px 12px;font-size:16px;display:inline-flex}.company-brand-settings__presets label:has(input:checked){border-color:var(--ink);background:var(--surface-subtle)}.company-brand-settings__presets input{width:16px;height:16px;margin:0}.company-brand-settings__swatch{border:1px solid #18181b24;border-radius:999px;width:18px;height:18px}.company-brand-settings__error{color:var(--rose);margin:0;font-size:16px}@media (max-width:760px){.app-shell .company-switch .company-avatar--branded{flex-basis:106px;width:106px;height:38px;display:inline-flex}.company-brand-settings__grid{grid-template-columns:1fr}.company-brand-settings__logo{min-height:96px}}
.account-preview-control,.account-preview-banner{color:var(--ink,var(--ink));font-size:1rem}.account-preview-control{border-bottom:1px solid var(--line,var(--border));justify-content:flex-end;padding:10px 32px;display:flex;position:relative}.account-preview-launch,.account-preview-banner button,.account-preview-picker button,.account-preview-picker select{border:1px solid var(--line,var(--border));background:var(--surface,#fff);min-height:34px;color:inherit;font:inherit;border-radius:7px;padding:0 10px}.account-preview-picker button{white-space:nowrap;flex-shrink:0}.account-preview-launch,.account-preview-banner button{white-space:nowrap;cursor:pointer;flex-shrink:0;align-items:center;gap:6px;display:inline-flex}.account-preview-launch:hover,.account-preview-picker button:hover,.account-preview-banner button:hover{background:var(--surface-muted,var(--paper))}.account-preview-picker{align-items:center;gap:7px;display:flex}.account-preview-picker label{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.account-preview-picker select{max-width:220px}.account-preview-banner{border-bottom:1px solid var(--line,var(--border));background:var(--paper);justify-content:space-between;align-items:center;gap:12px;padding:9px 18px;display:flex}.account-preview-banner>span:first-child{align-items:center;gap:7px;font-weight:600;display:inline-flex}.account-preview-banner button{flex:none}.account-preview-error{color:#a3322e;margin-top:5px;display:block}.account-preview-control>.account-preview-error{z-index:3;border:1px solid var(--line,var(--border));background:#fff;border-radius:6px;width:-webkit-max-content;width:max-content;max-width:300px;padding:7px 9px;position:absolute;right:0}@media (max-width:760px){.account-preview-picker{z-index:5;border:1px solid var(--line,var(--border));background:#fff;border-radius:8px;width:min(280px,80vw);padding:10px;display:grid;position:absolute;top:38px;right:0;box-shadow:0 8px 24px #21201d1c}.account-preview-picker select{max-width:none}}
.diagram-palette-backdrop{z-index:110;-webkit-backdrop-filter:blur(6px);background:#18181b5c;justify-content:center;align-items:flex-start;padding:min(12vh,96px) 16px 24px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.diagram-palette{border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--white);width:min(640px,100%);max-height:min(76vh,620px);box-shadow:var(--shadow-lg);flex-direction:column;display:flex;overflow:hidden}.diagram-palette__search{border-bottom:1px solid var(--border);background:var(--white);color:var(--muted);align-items:center;gap:10px;padding:12px 16px;display:flex}.diagram-palette__input{min-width:0;color:var(--ink);background:0 0;border:0;outline:none;flex:auto;font-size:16px;line-height:1.4}.diagram-palette__input::placeholder{color:var(--muted)}.diagram-palette__close{border:1px solid var(--border);border-radius:var(--radius);background:var(--white);width:34px;height:34px;color:var(--muted);cursor:pointer;place-items:center;padding:0;font-size:16px;display:inline-grid}.diagram-palette__close:hover{border-color:var(--border-strong);color:var(--ink)}.diagram-palette__list{flex:auto;padding:8px;overflow-y:auto}.diagram-palette__group{margin-bottom:6px}.diagram-palette__group-label{color:var(--muted);padding:6px 10px 4px;font-size:14px;font-weight:600}.diagram-palette__item{border-radius:var(--radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:16px;display:flex}.diagram-palette__item:hover,.diagram-palette__item.is-active{background:var(--surface-subtle);border-color:var(--border)}.diagram-palette__item-main{flex:auto;align-items:center;gap:10px;min-width:0;display:flex}.diagram-palette__item-icon{border-radius:var(--radius);background:var(--surface-subtle);width:30px;height:30px;color:var(--ink);flex:0 0 30px;place-items:center;display:inline-grid}.diagram-palette__item.is-active .diagram-palette__item-icon{background:var(--white);border:1px solid var(--border)}.diagram-palette__item-text{gap:2px;min-width:0;display:grid}.diagram-palette__item-text strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600;overflow:hidden}.diagram-palette__item-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.diagram-palette__item-badge{border:1px solid var(--border);background:var(--white);color:var(--text-2);text-transform:capitalize;white-space:nowrap;border-radius:999px;flex:none;padding:2px 8px;font-size:14px;font-weight:500}.diagram-palette__empty{text-align:center;color:var(--muted);padding:24px 16px;font-size:16px}.diagram-palette__footer{border-top:1px solid var(--border);background:var(--surface-subtle);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.diagram-palette__search-actions{flex-wrap:wrap;gap:6px;margin-inline-start:auto;display:flex}.diagram-palette__hint{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;display:flex}.diagram-palette__kbd{border:1px solid var(--border);background:var(--white);color:var(--text-2);border-radius:5px;padding:1px 6px;font-size:14px;font-weight:600}.diagram-palette__full-search{border:1px solid var(--border);border-radius:var(--radius);background:var(--white);color:var(--ink);cursor:pointer;align-items:center;gap:6px;padding:4px 10px;font-size:16px;font-weight:600;display:inline-flex}.diagram-palette__full-search:hover{border-color:var(--border-strong)}@media (max-width:640px){.diagram-palette__hint{display:none}.diagram-palette__full-search{min-height:44px}}
.app-shell{--workspace-rail:232px;--workspace-frame:#f4f4f2;--workspace-line:#e4e4e7;--workspace-accent:#18181b;--ink:#18181b;--border:var(--workspace-line);--green:var(--workspace-accent);--shadow:0 1px 2px #18181b0a, 0 6px 16px -4px #18181b0a;background:var(--paper)}.app-shell .sidebar{width:var(--workspace-rail);background:var(--workspace-frame);color:var(--ink);border-color:var(--workspace-line);scrollbar-width:thin;padding:18px 12px 0;transition:width .18s,transform .18s}.app-shell .main-shell{margin-left:var(--workspace-rail);transition:margin-left .18s}.app-shell .sidebar>.brand{color:var(--ink);letter-spacing:-.045em;gap:10px;margin:0 8px 24px;padding:0;font-size:25px}.app-shell .sidebar .nav-label,.app-shell .sidebar .profile small{color:var(--muted)}.app-shell .sidebar .nav-label{letter-spacing:.06em;margin:0 10px 8px;font-size:14px}.app-shell .sidebar nav{gap:3px}.app-shell .sidebar nav button,.app-shell .sidebar .sidebar-utility,.app-shell .sidebar .workspace-tools summary{color:var(--text-2);border-radius:10px;min-height:42px;padding:8px 10px;transition:background .14s,color .14s}.app-shell .sidebar nav svg,.app-shell .sidebar .sidebar-utility svg{flex-shrink:0}.app-shell .sidebar nav button:hover,.app-shell .sidebar .sidebar-utility:hover,.app-shell .sidebar .workspace-tools summary:hover{color:var(--ink);background:#18181b0e}.app-shell .sidebar nav button.active,.app-shell .sidebar .sidebar-utility.active{background:var(--white);color:var(--ink);font-weight:650;box-shadow:0 1px 2px #18181b0f,inset 0 0 0 1px #18181b0f}.workspace-tools{border-top:1px solid var(--border);margin-top:8px;padding-top:8px}.workspace-tools summary{cursor:pointer;justify-content:space-between;align-items:center;gap:6px;font-size:16px;list-style:none;display:flex}.workspace-tools summary::-webkit-details-marker{display:none}.workspace-tools[open] summary svg{transform:rotate(180deg)}.workspace-tools>div{gap:3px;padding-block-start:5px;padding-block-end:5px;display:grid}.app-shell .sidebar-bottom{padding-top:18px}.app-shell .sidebar .profile{border-color:var(--workspace-line);margin:12px -12px 0;padding:14px 12px}.app-shell .topbar{z-index:35;background:var(--white,#fff);border-bottom:1px solid var(--workspace-line);height:62px;position:sticky;top:0}.app-shell .breadcrumb{min-width:0;color:var(--muted);flex:none}.app-shell .breadcrumb>span{color:var(--ink);white-space:nowrap;font-size:16px;font-weight:600}.app-shell .top-actions{flex-shrink:0}.app-shell .company-area{min-width:0;margin:0}.app-shell .company-switch{color:var(--ink);background:0 0;border:1px solid #0000;border-radius:10px;gap:8px;width:auto;max-width:min(240px,32vw);min-height:44px;padding:4px 8px;transition:background .14s,border-color .14s}.app-shell .company-switch:hover{background:var(--surface-subtle);border-color:var(--border)}.app-shell .company-avatar{background:var(--surface-subtle);color:var(--ink);border-radius:8px}.app-shell .company-menu{width:-webkit-max-content;width:max-content;min-width:230px;max-width:min(340px,82vw);box-shadow:var(--shadow-lg);border-radius:14px;padding:6px;top:calc(100% + 6px);right:auto}.app-shell .company-menu button{border-radius:9px}.app-shell .global-search{background:var(--surface-subtle);border:1px solid var(--workspace-line);min-height:40px;color:var(--muted);border-radius:999px;padding:0 12px;transition:background .15s,border-color .15s,box-shadow .15s}.app-shell .global-search-trigger{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0;font-size:16px;display:inline-flex}.app-shell .global-search__placeholder{text-overflow:ellipsis;white-space:nowrap;text-align:left;width:max(140px,min(14vw,220px));color:var(--muted);overflow:hidden}.app-shell .global-search:hover{background:var(--white);border-color:var(--border-strong)}.app-shell .global-search input{width:max(140px,min(14vw,220px))}.app-shell .global-search kbd{color:var(--muted);background:var(--white);border-radius:6px;padding:1px 6px;font-size:14px;font-weight:600;box-shadow:0 1px 1px #18181b0f}.app-shell .global-search:focus-within{background:var(--white);border-color:var(--ink);box-shadow:var(--ring);outline:none}.app-shell .page-heading h1{letter-spacing:-.035em;font-weight:700}.app-shell .button:not(.secondary):not(.danger){background:linear-gradient(180deg, #ffffff1a, #fff0), var(--workspace-accent);border-color:#18181beb}.app-shell .button:not(.secondary):not(.danger):hover{background:var(--green-dark)}.mobile-navigation,.mobile-search-trigger{display:none}@keyframes diagramShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.workspace-skeleton{gap:20px;padding-top:4px;display:grid}.workspace-skeleton__head{gap:10px;display:grid}.skeleton-bar,.skeleton-card,.skeleton-panel{background:linear-gradient(90deg, var(--surface-subtle) 25%, var(--white) 50%, var(--surface-subtle) 75%);border:1px solid var(--border);background-size:200% 100%;border-radius:14px;animation:1.6s ease-in-out infinite diagramShimmer;display:block}.skeleton-bar--title{border-radius:10px;width:min(240px,55%);height:34px}.skeleton-bar--sub{border-radius:8px;width:min(340px,75%);height:18px}.workspace-skeleton__cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.skeleton-card{height:92px}.workspace-skeleton__body{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.skeleton-panel{height:280px}@media (min-width:761px) and (max-width:1080px){.app-shell{--workspace-rail:74px}.app-shell .mobile-menu{min-width:44px;min-height:44px;display:inline-flex}.app-shell .sidebar:not(.open){align-items:center;width:74px;padding-inline-start:10px;padding-inline-end:10px}.app-shell .sidebar:not(.open) .brand-wordmark,.app-shell .sidebar:not(.open) .nav-label,.app-shell .sidebar:not(.open) .nav-item-label,.app-shell .sidebar:not(.open) .nav-count,.app-shell .sidebar:not(.open) .workspace-tools summary span,.app-shell .sidebar:not(.open) .profile-meta{display:none}.app-shell .sidebar:not(.open)>.brand{justify-content:center;margin:0 0 20px}.app-shell .sidebar:not(.open) nav,.app-shell .sidebar:not(.open) .sidebar-bottom{align-items:center;width:100%}.app-shell .sidebar:not(.open) nav button,.app-shell .sidebar:not(.open) .sidebar-utility,.app-shell .sidebar:not(.open) .workspace-tools summary{justify-content:center;min-height:46px;padding:10px}.app-shell .sidebar:not(.open) .profile{flex-direction:column;gap:8px;margin:12px -10px 0;padding:12px 6px}.app-shell .sidebar.open{-webkit-backdrop-filter:blur(20px);width:256px;box-shadow:var(--shadow-lg);background:#f4f4f2f5}.app-shell .global-search kbd{display:none}}@media (pointer:coarse){.app-shell .button,.app-shell .claim-overview__tab,.app-shell .sidebar nav button{min-height:44px}}@media (max-width:760px){.app-shell{--phone-nav-height:56px}.app-shell .topbar .mobile-menu{display:none}.app-shell .sidebar{-webkit-backdrop-filter:blur(22px);visibility:hidden;background:#f8f8f7f7;width:min(300px,86vw);transform:translate(-100%)}.app-shell .sidebar.open{visibility:visible;box-shadow:var(--shadow-lg);transform:translate(0)}.app-shell .main-shell{margin-left:0}.app-shell .topbar{padding-top:env(safe-area-inset-top,0px);min-height:calc(52px + env(safe-area-inset-top,0px));gap:8px;height:auto;padding-inline-start:12px;padding-inline-end:12px}.app-shell .breadcrumb>span,.app-shell .breadcrumb>svg{display:none}.app-shell .breadcrumb{flex:1;min-width:0}.app-shell .company-avatar:not(.company-avatar--branded){display:none}.app-shell .company-avatar--branded{display:inline-flex}.app-shell .company-switch{gap:6px;max-width:calc(100vw - 168px);min-height:44px;padding-inline-start:6px;padding-inline-end:6px}.app-shell .company-switch>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.app-shell .global-search{display:none}.app-shell .mobile-search-trigger{background:var(--surface-subtle);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;min-height:44px;display:inline-flex}.app-shell .top-actions{flex-shrink:0;gap:7px}.app-shell .notification{flex:0 0 44px;width:44px;height:44px}.workspace-skeleton__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-skeleton__body{grid-template-columns:1fr}.mobile-navigation{z-index:30;left:0;right:0;min-height:calc(var(--phone-nav-height) + env(safe-area-inset-bottom,0px));padding:5px max(8px, env(safe-area-inset-right,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px, env(safe-area-inset-left,0px));border-top:1px solid var(--border);background:var(--white);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;display:grid;position:fixed;bottom:0}.app-shell .mobile-navigation button{min-width:0;min-height:44px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:3px 2px;font-size:16px;line-height:1.05;display:flex}.app-shell .mobile-navigation button.active{background:var(--surface-subtle);color:var(--ink);font-weight:650}.app-shell .mobile-navigation button:focus-visible{box-shadow:var(--ring);outline:none}.toast{left:12px;right:12px;bottom:calc(var(--phone-nav-height) + 12px + env(safe-area-inset-bottom,0px));max-width:none;transform:none}.overlay{align-items:flex-end;padding:0}.dialog,.upload-dialog{width:100vw;max-width:100vw;max-height:92vh;padding-bottom:env(safe-area-inset-bottom,0px);border-radius:22px 22px 0 0;margin:auto 0 0}}
