/* NU:MO: warm working surfaces and semantic accents, owner 2026-10-07. */
:root{--ground:#f6f2ec;--ink:#29251f;--line:#d8cfc3;--muted:#61594f;--sand:#cebba5;--green:#acc9a8;--blue:#acbed3;--rose:#eab9ae;--amber:#e8d3aa;--plum:#d9cbe4;--success-ink:#365a3d;--info-ink:#365774;--warning-ink:#76501f;--error-ink:#863f30;--complete-ink:#654a78}
.stage.FREE{background:var(--green);color:#243d29}.stage.NEGOTIATION{background:var(--amber);color:#573b17}.stage.PS_SIGNED{background:var(--blue);color:#263e53}.stage.SOLD{background:var(--plum);color:#493457}.stage.REVIEW{background:var(--rose);color:#622b21}
.dot.FREE{background:var(--success-ink)}.dot.NEGOTIATION{background:var(--warning-ink)}.dot.PS_SIGNED{background:var(--info-ink)}.dot.SOLD{background:var(--complete-ink)}.dot.REVIEW{background:var(--error-ink)}
.inventory-projects nav a[aria-current=page],.unit-sections a[aria-selected=true]{background:var(--sand);color:var(--ink);box-shadow:inset 3px 0 #7c6349}
.source-attention{background:#f4e8d1;border:1px solid #cfb681;border-radius:8px;padding:0 12px!important;margin:0 0 10px!important;font-size:13px}
.source-attention>summary{min-height:36px;display:list-item;padding:8px 0;color:#573b17}.source-attention>p{margin:6px 0 10px}.source-attention .source-sync-alert{display:block;background:transparent;color:var(--ink);font-size:13px;margin:8px 0}
.view-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}.view-controls .view-switch{margin:0}.view-controls details{margin:0;padding:0;border:0}.view-controls details nav{display:flex;gap:8px;flex-wrap:wrap;padding:8px 0}
.list-more{position:relative;margin:0!important;padding:0!important;border:0}.list-more>summary{font-size:14px;min-height:36px;padding:7px 12px;border:1px solid var(--line);border-radius:6px}.list-more[open]>div{position:absolute;right:0;z-index:9;min-width:180px;padding:12px;background:white;border:1px solid var(--line);border-radius:8px}.list-more a{display:block;padding:8px}
.active-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.active-filters a{font-size:12px;text-decoration:none;background:#e9e0d5;border:1px solid var(--line);padding:5px 9px;border-radius:5px;min-height:28px}.active-filters a:hover{background:var(--sand)}
@media(min-width:1101px){
 .header{padding:12px 24px;gap:24px}.header nav{gap:16px;font-size:14px}.header .brand img{width:112px;height:26px}.header .account{font-size:13px;gap:10px}
 .page{padding:18px 24px 32px;max-width:1600px}.page-heading h1{font-size:28px;margin:0}.page-heading{margin-bottom:12px}.page-heading .project-name{font-size:13px}
 .inventory-results .view-switch{gap:4px;margin-bottom:8px}.inventory-results .view-switch a{font-size:13px;min-height:32px;padding:6px 10px;border-radius:6px}
 .inventory-search{padding:6px 0!important;gap:8px!important;margin-bottom:8px!important}.inventory-search .inventory-filters-more:not([open]){flex:0 0 auto;width:auto;margin:0;padding:0;border:0;align-self:end}.inventory-search .inventory-filters-more>summary{min-height:36px;padding:8px 10px;font-size:13px}
 .inventory-results .status-summary{gap:12px;font-size:12px;padding:4px 0 8px}.inventory-result-count{font-size:12px;margin-bottom:6px}
 .inventory-compact th{padding:9px 10px;font-size:12px}.inventory-compact td{padding:8px 10px;font-size:13px}.inventory-compact .unit-link{font-size:15px;line-height:1.3}.inventory-compact .cell-note{font-size:11px;line-height:1.25;margin-top:2px;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-compact .broker-person{font-size:12px;gap:6px}.inventory-compact .broker-avatar{width:24px;height:24px;flex-basis:24px}.inventory-compact .broker-list{gap:4px}.inventory-compact .stage{font-size:11px;padding:4px 7px}.inventory-compact .origin-select{min-height:24px}
 .inventory-projects{font-size:13px}.inventory-projects nav a{min-height:32px!important;padding:6px 10px!important}.inventory-projects-label{font-size:12px;margin-bottom:8px}
 .saved-views{font-size:12px;margin:0 0 10px;padding:0;border:0}.saved-views>summary{padding:4px 0}
}
@media(max-width:760px),(pointer:coarse){.active-filters a{min-height:44px;display:inline-flex;align-items:center}.view-controls summary,.list-more>summary{min-height:44px}}

/* The same navigation shell on overview, object, contract, document and notification pages. */
.developer-shell{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px}.developer-shell-content{min-width:0}.developer-shell .developer-workspace{display:block}.developer-shell-rail{position:sticky;top:12px;align-self:start;background:#e9e0d5;border:1px solid #d3c6b6;border-radius:8px;padding:10px}.developer-shell-rail a{display:block;padding:9px 10px;font-size:13px;text-decoration:none;border-radius:5px}.developer-shell-rail a[aria-current=page]{background:var(--sand);color:var(--ink);box-shadow:inset 3px 0 #7c6349}.developer-shell-projects>summary{font-size:12px;color:var(--muted)}
@media(max-width:760px),(pointer:coarse) and (max-width:1100px){.developer-shell{display:block}.developer-shell-rail{position:static;margin-bottom:12px;padding:6px}.developer-shell-rail>nav{display:flex;overflow:auto;gap:4px}.developer-shell-rail>nav a{white-space:nowrap;min-height:44px;display:flex;align-items:center}.developer-shell-projects{margin-top:6px!important;padding-top:4px!important}.developer-shell-projects nav{display:flex;gap:4px;overflow:auto}.developer-shell-projects a{white-space:nowrap;min-height:44px}}

/* Column choices never override mobile table/card mode, only user-hidden cells. */
[data-configurable-table] [hidden]{display:none!important}.column-picker{margin:0 0 8px!important;padding:0!important;border:0;font-size:12px}.column-picker>summary{min-height:32px;display:list-item}.column-picker>div{display:flex;flex-wrap:wrap;gap:10px;padding:8px;background:white;border:1px solid var(--line);border-radius:6px}.column-picker label{display:inline-flex;gap:6px;align-items:center;margin:0}.column-picker input{width:16px;min-height:16px;height:16px;margin:0}
@media(max-width:760px){.column-picker{display:none}}

body[data-role="DEVELOPER"] .inventory-workspace{display:block}
.record-preview-button{font-size:11px;min-height:28px;padding:3px 6px;margin-left:8px;background:transparent;border:1px solid var(--line);border-radius:4px;color:var(--ink)}
.record-preview{position:fixed;inset:0 0 0 auto;margin:0;width:min(460px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border:0;border-left:1px solid var(--line);padding:20px;background:var(--ground);box-shadow:-8px 0 30px #29251f20;overflow:auto}.record-preview::backdrop{background:#29251f45}.record-preview-heading{display:flex;align-items:start;gap:16px;justify-content:space-between}.record-preview-heading h2{font-size:24px;margin:0 0 20px}.record-preview-heading button{flex-shrink:0}.record-preview-facts{margin:0 0 20px}.record-preview-facts>div{padding:10px 0;border-bottom:1px solid var(--line)}.record-preview-facts dt{font-size:12px;color:var(--muted)}.record-preview-facts dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:15px}.record-preview a[hidden]{display:none!important}
@media(max-width:760px),(pointer:coarse){.record-preview-button{min-height:44px;padding:8px}.record-preview{padding:16px}}
.notification-section>h2{font-size:20px;margin:18px 0 10px}.notification-section>h2 small{font-size:12px;font-weight:normal;color:var(--muted)}.notification-group{background:white;border:1px solid var(--line);padding:0 12px;margin:0 0 8px;border-radius:6px}.notification-group>summary{padding:10px 0;min-height:40px;font-size:14px}.notification-group .notification-list{margin:0}.notification-section.requires-action .notification-group{border-left:3px solid var(--warning-ink)}.notification-unread-count{font-size:12px;margin-left:10px;color:var(--info-ink)}.push-settings-disclosure{margin:0 0 12px;padding:0;border:0}.push-settings-disclosure>summary{font-size:13px;padding:8px 0}.notification-item{padding:10px 0}
.readable-note{margin:8px 0;padding:0;border:0}.readable-note>summary{list-style:none;cursor:pointer}.note-excerpt{display:block;white-space:pre-wrap;font-size:14px;font-weight:normal;overflow-wrap:anywhere}.note-more,.note-less{display:inline-block;color:var(--info-ink);text-decoration:underline;font-size:13px;padding:6px 0}.note-less{display:none}.readable-note[open] .note-excerpt,.readable-note[open] .note-more{display:none}.readable-note[open] .note-less{display:inline-block}.readable-note>p{white-space:normal;overflow-wrap:anywhere}.inline-help{font-size:13px;margin:8px 0;padding:0;border:0}.inline-help>summary{color:var(--info-ink);min-height:32px;padding:6px 0}.notice.success{padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.notice.success .notice-dismiss{font-size:12px;min-height:32px;padding:4px 8px;flex-shrink:0}
.pinned-notes{border-left:3px solid var(--info-ink);background:#edf1f5;padding:12px 16px}.pinned-notes h2{font-size:17px;margin:0 0 8px}.pinned-notes>div+div{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.pinned-notes small{font-size:12px;color:var(--muted)}
.administration-menu{position:relative;border:0;padding:0;margin:0;font-size:inherit}.administration-menu>summary{padding:0;white-space:nowrap}.administration-menu>div{position:absolute;right:0;top:100%;min-width:200px;padding:10px;background:var(--ground);border:1px solid var(--line);box-shadow:0 6px 18px #29251f18;z-index:25;border-radius:6px}.administration-menu>div a{display:block;padding:9px 10px}.project-accent{display:inline-block;width:7px;height:14px;border-radius:3px;background:var(--project-accent);margin-right:8px;vertical-align:-2px;flex-shrink:0}
@media(max-width:1100px){.administration-menu>summary{min-height:44px;padding:10px}.administration-menu>div{position:static;box-shadow:none}}
.customer-focus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}.customer-focus>div{padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#faf8f4}.customer-focus span,.customer-focus small{display:block;font-size:12px;color:var(--muted)}.customer-focus strong{display:block;font-size:14px;margin:5px 0}.customer-focus a{font-size:12px}.customer-focus .focus-overdue{border-left:3px solid var(--error-ink);background:#faeee9}.customer-history>summary{font-size:19px}.customer-identity{padding:12px 16px}.customer-identity .page-heading{margin-bottom:8px}.customer-contact-actions{gap:8px}.customer-sections{gap:8px}
@media(max-width:760px){.customer-focus{grid-template-columns:1fr}.customer-focus>div{padding:8px 12px}.customer-focus a{display:inline-flex;align-items:center;min-height:44px}}

/* One semantic chart palette; labels and geometry work without colour. */
:root{--chart-new:#76501f;--chart-planned:#365774;--chart-completed:#365a3d;--chart-sales:#654a78}
.developer-bar-row i{background:var(--chart-new)}.developer-bar-row i.bar-completed{background:var(--chart-completed)}.developer-bar-row i.bar-planned{background:var(--chart-planned)}
.target-comparison{display:grid;gap:3px;min-width:64px;max-width:130px;margin-top:5px}
.target-comparison>span{display:block;box-sizing:border-box;height:6px;border-radius:2px}
.target-comparison-plan{border:1px solid var(--chart-sales);background:transparent}.target-comparison-actual{background:var(--chart-sales)}
.chart-legend{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:12px;color:var(--muted)}.legend-plan,.legend-actual{width:18px;height:7px;display:inline-block;box-sizing:border-box;border-radius:2px}.legend-plan{border:1px solid var(--chart-sales)}.legend-actual{background:var(--chart-sales);margin-left:8px}
/* Desktop density: keep eight ordinary rows visible without shrinking touch controls. */
@media(min-width:1101px) and (pointer:fine){
 .inventory-results>.page-heading{margin-bottom:6px}
 .inventory-results>.saved-views{margin:0 0 6px;padding:0;border:0}
 .inventory-results>.unit-category-tabs{display:inline-flex;vertical-align:top;margin-right:12px}
 .inventory-results>.view-controls{display:inline-flex;vertical-align:top;margin-bottom:6px}
 .inventory-results>.mobile-filter-panel{margin:0 0 8px!important;padding:0!important;border:0}
 .inventory-results .status-summary{padding:0;margin-bottom:6px;min-height:20px}
 .inventory-results .column-picker{padding:0;margin:0 0 6px;border:0}
 .inventory-results .unit-list td{padding-top:3px;padding-bottom:3px}
 .inventory-results .unit-list .record-preview-button{min-height:26px;padding:3px 9px;font-size:12px}
}
.unit-compact>li>.record-preview-button{margin:0 10px 8px;min-height:44px}.unit-card>.record-preview-button{min-height:44px;margin-right:8px}

@media(min-width:1101px) and (pointer:fine){
 .developer-shell .developer-table td{padding-top:3px;padding-bottom:3px}
 .developer-shell .developer-table .record-preview-button{min-height:26px;padding:3px 9px;font-size:12px}
}
/* Client work starts with its project, latest human note and actual viewing. */
/* One client workspace: identity/status, project context, comment and actual viewing. */
.customer-card .back-link{margin-bottom:14px}
.customer-desk{background:var(--paper,#fff);border:1px solid var(--line);border-radius:10px;margin-bottom:18px;overflow:clip}
.customer-desk-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,360px)}
.customer-desk .panel{border:0;border-radius:0;margin:0;box-shadow:none;background:transparent}
.customer-desk .customer-identity{padding:20px 24px}.customer-desk .customer-identity .page-heading{margin:0 0 12px}
.customer-desk .customer-identity h1{font-size:clamp(28px,3vw,38px);line-height:1.12;margin:0 0 8px;overflow-wrap:anywhere}
.customer-desk .customer-identity .project-name{display:inline-block;margin:0 0 10px;padding:4px 10px;background:#e6edf3;color:var(--info-ink);border-radius:5px;font-size:16px;font-weight:700}
.customer-desk .customer-identity .intro,.customer-desk .identity-note,.customer-desk .identity-lead{margin:6px 0;font-size:14px}
.customer-desk .customer-contact-actions{gap:8px}.customer-desk .customer-contact-actions .button{font-size:14px;min-height:44px;padding:8px 12px;overflow-wrap:anywhere;max-width:100%}
.customer-desk .customer-owner{margin-top:12px;gap:8px 12px}.customer-desk .customer-owner>.muted{font-size:12px}
.customer-desk .customer-status-panel{padding:20px 24px;border-left:1px solid var(--line);background:#faf8f4}
.customer-desk .customer-status-panel h2{font-size:16px;margin:0 0 10px}.customer-desk .customer-status-panel form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.customer-desk .customer-status-panel form .field{margin:0;min-width:0}.customer-desk .customer-status-panel form .field[hidden]{display:none}
.customer-desk .customer-status-panel form button{width:100%}.customer-desk .customer-status-panel textarea{min-height:72px}
.customer-desk .customer-status-note,.customer-desk .customer-status-panel .inline-help{margin:0;padding:0;border:0}
.customer-desk .customer-status-note summary,.customer-desk .customer-status-panel .inline-help summary{font-size:13px;min-height:36px;padding:8px 0}
.customer-desk #customer-projects{padding:12px 24px;border-top:1px solid var(--line)}.customer-desk #customer-projects h2{margin:0 0 8px;font-size:14px}
.customer-project-chips{display:flex;flex-wrap:wrap;gap:8px}.customer-project-chips>a{display:block;min-width:0;min-height:44px;padding:7px 10px;border:1px solid var(--line);border-radius:5px;text-decoration:none;overflow-wrap:anywhere}
.customer-project-chips>a[aria-current=page]{background:#e6edf3;border-color:var(--info-ink);box-shadow:inset 3px 0 var(--info-ink)}
.customer-project-chips strong,.customer-project-chips span{display:block}.customer-project-chips strong{font-size:14px;font-weight:700}.customer-project-chips span{font-size:12px;color:var(--muted)}
.customer-desk #customer-projects>details{margin-top:8px;padding-top:0;border:0}.customer-desk #customer-projects>details>summary{font-size:13px;min-height:36px}
.customer-desk .customer-brief{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:24px;padding:18px 24px;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.customer-desk .customer-brief h2{font-size:14px;margin:0 0 8px}.customer-desk .customer-brief p{margin:6px 0;max-width:70ch;overflow-wrap:anywhere}.customer-desk .customer-brief small{display:block;margin:8px 0;font-size:12px;color:var(--muted)}
.customer-desk .customer-visit{border-left:1px solid var(--line);padding-left:24px}.customer-desk .customer-visit>strong{display:block;font-size:19px;font-weight:700;margin-bottom:10px}.customer-desk .customer-visit .button{width:100%;margin-top:8px}
.customer-card .customer-sections{gap:4px 16px;border-bottom:1px solid var(--line);padding-bottom:8px}.customer-card .customer-sections a{border:0;border-radius:0;padding:8px 0;font-size:14px;min-height:44px}.customer-card .customer-sections a:hover{background:transparent;text-decoration:underline}
.customer-card .customer-removal{border-top:2px solid var(--rose)}.customer-card .customer-removal h2{font-size:16px}.customer-card [id]{scroll-margin-top:20px}
@media(max-width:900px){.customer-desk-heading{grid-template-columns:minmax(0,1fr)}.customer-desk .customer-status-panel{border-left:0;border-top:1px solid var(--line)}.customer-desk .customer-status-panel form{grid-template-columns:minmax(0,1fr) auto;align-items:start}.customer-desk .customer-status-panel form>.field:has([data-loss-reason]),.customer-desk .customer-status-note{grid-column:1/-1}.customer-desk .customer-status-panel form button{grid-column:2;grid-row:1;width:auto}}
@media(max-width:600px){.customer-desk .customer-identity,.customer-desk .customer-status-panel,.customer-desk #customer-projects,.customer-desk .customer-brief{padding:14px 16px}.customer-desk .customer-brief{grid-template-columns:minmax(0,1fr);gap:14px}.customer-desk .customer-visit{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.customer-desk .customer-status-panel form{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}.customer-desk .customer-status-panel form button{grid-column:2;grid-row:1;width:auto;min-height:44px;padding:8px 10px;font-size:14px}.customer-desk .customer-status-panel select{min-width:0;width:100%;min-height:44px}.customer-desk .customer-contact-actions .button{font-size:12px;padding:8px;flex:1 1 auto}.customer-desk .customer-identity .page-heading{margin-bottom:6px}.customer-desk .customer-owner{margin-top:8px}.customer-desk .customer-status-note summary,.customer-desk .customer-status-panel .inline-help summary{min-height:44px;padding:10px 0}.customer-project-chips>a{flex:1 1 130px}}
/* Client workflow: one scheduling entry, grouped working sections and separate maintenance. */
.customer-desk .plan-schedule{margin:12px 0 0;padding:0;border:0}
.customer-desk .plan-schedule>summary{display:list-item;padding:12px 14px;min-height:44px;background:var(--ink);color:white;border-radius:6px;font-size:14px}
.customer-desk .plan-schedule[open]>summary{margin-bottom:12px}
.customer-desk .plan-schedule form{display:block}.customer-desk .plan-schedule input,.customer-desk .plan-schedule select,.customer-desk .plan-schedule textarea{max-width:100%;min-width:0;width:100%}
.customer-workspace{display:block}.customer-work-group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 28px;margin:24px 0;background:white;border:1px solid var(--line);border-radius:10px;padding:0 24px 8px}
.customer-group-heading{grid-column:1/-1;padding:18px 0 14px;border-bottom:1px solid var(--line)}.customer-group-heading>span{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.customer-group-heading>h2{font-size:23px;margin:0}
.customer-work-group>.panel{min-width:0;border:0;border-radius:0;box-shadow:none;padding:18px 0;margin:0;background:transparent}.customer-work-group>.panel>h2{font-size:17px;margin:0 0 14px}
.customer-work-group>.customer-history{grid-column:1/-1;border-top:1px solid var(--line);padding:14px 0}.customer-work-group>.customer-history>summary{font-size:16px;min-height:44px}
#customer-project-work>section:not(#customer-deals):not(#customer-needs){grid-column:1/-1;border-top:1px solid var(--line)}
.customer-management{border:1px solid var(--line);border-radius:8px;background:#f0ebe4;margin:24px 0;padding:0 20px}.customer-management>summary{padding:18px 0;min-height:44px;font-size:17px}.customer-management-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.customer-management-grid>.panel{background:transparent;border:0;padding:12px 0;margin:0}.customer-management-grid>.panel>h2{font-size:16px}
@media(max-width:900px){.customer-work-group{grid-template-columns:minmax(0,1fr);padding:0 16px 8px;gap:0}.customer-work-group>.panel+.panel{border-top:1px solid var(--line)}.customer-management-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.customer-desk .customer-brief{grid-template-columns:minmax(0,1fr);gap:14px}.customer-desk .customer-visit{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}}
.customer-card #customer-needs form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-card #customer-needs form>p{margin:0;min-width:0}.customer-card #customer-needs form input,.customer-card #customer-needs form select{width:100%;min-width:0}.customer-card #customer-needs form>button{grid-column:1/-1;justify-self:start}.customer-card #customer-needs form label{font-size:13px}
@media(max-width:420px){.customer-card #customer-needs form{grid-template-columns:minmax(0,1fr)}}

/* Main actions are together; status note is visible and named separately from a client comment. */
.customer-desk .customer-status-note label{display:block;font-size:13px;margin-bottom:6px}.customer-desk .customer-status-note textarea{width:100%;min-height:68px;resize:vertical}
.customer-next-actions{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.customer-action-label{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}
.customer-desk .customer-next-actions .plan-schedule{margin:0 0 8px}.customer-desk .customer-negotiation{margin:0;padding:0;border:0}
.customer-desk .customer-negotiation>summary{display:list-item;min-height:44px;padding:12px 14px;border:1px solid #c9b68f;border-radius:6px;background:#f7efdf;color:#573b17;font-size:14px}
.customer-desk .customer-negotiation[open]>summary{margin-bottom:12px}.customer-desk .customer-negotiation form{min-width:0}.customer-desk .customer-negotiation input,.customer-desk .customer-negotiation select{width:100%;min-width:0;max-width:100%}
.customer-desk .customer-next-actions summary:hover{filter:brightness(.97)}.customer-desk .customer-next-actions summary:focus-visible{outline:3px solid var(--info-ink);outline-offset:3px}
@media(max-width:900px){.customer-desk .customer-status-panel form{grid-template-columns:minmax(0,1fr) auto}.customer-desk .customer-status-note{grid-column:1/-1}.customer-desk .customer-status-panel form button{grid-row:1;align-self:start}}

.customer-overview{min-width:0}.customer-desk .customer-overview #customer-projects{padding-top:12px;padding-bottom:16px}.customer-desk .customer-overview .customer-identity{padding-bottom:14px}

.customer-acquisition{display:flex;flex-wrap:wrap;gap:12px 28px;margin:14px 0 0}.customer-acquisition>div{min-width:0}.customer-acquisition dt{font-size:12px;color:var(--muted);margin-bottom:4px}.customer-acquisition dd{font-size:14px;margin:0;overflow-wrap:anywhere}.customer-acquisition dd small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
/* Scan the person, project and next step before opening detailed editors. */
.customer-desk .customer-identity h1{font-size:clamp(25px,2.5vw,34px)}.customer-desk .customer-identity .project-name{font-size:13px;margin-bottom:8px}.customer-desk .customer-identity{padding-top:16px}.customer-acquisition{gap:10px 22px;margin-top:10px}
.customer-project-chips>a{flex:0 1 210px;padding:10px 12px}.customer-project-chips .broker-list{margin:6px 0;display:block}.customer-project-chips .broker-person{display:flex;font-size:13px;align-items:center;gap:7px}.customer-project-chips .broker-avatar{display:inline-flex;width:26px;height:26px;flex-basis:26px}.customer-project-chips .broker-avatar>span{font-size:11px}.customer-project-chips .customer-project-stage{display:inline-block;padding:3px 7px;border-radius:4px;font-size:11px;background:#eae7e2;color:var(--ink)}.customer-project-stage.INTERESTED,.customer-project-stage.CONTACTED{background:#e3edde!important}.customer-project-stage.PRELIMINARY{background:#dfe8f1!important}.customer-project-stage.SOLD{background:#e9def0!important}
.customer-next-plan{background:#edf2f6;border-left:3px solid var(--info-ink);padding:10px 12px;margin:12px 0}.customer-next-plan.overdue{background:#fff1df;border-color:var(--warning-ink)}.customer-next-plan>small{margin:0 0 5px!important}.customer-next-plan>strong{display:block;font-size:15px}.customer-next-plan>span{display:block;font-size:12px;margin-top:5px}.customer-plan-shortcuts{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:6px}.customer-plan-shortcuts a{font-size:13px;min-height:36px;display:inline-flex;align-items:center}
.customer-needs-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px}.customer-needs-summary>div{min-width:0;padding:10px 12px;background:#f6f2ec;border-radius:5px}.customer-needs-summary dt{font-size:12px;color:var(--muted);margin-bottom:5px}.customer-needs-summary dd{margin:0;font-size:16px;font-weight:600;overflow-wrap:anywhere}.customer-needs-editor{border:0;margin:0;padding:0}.customer-needs-editor>summary{font-size:14px;min-height:44px;color:var(--info-ink);padding:10px 0}.customer-needs-editor[open]>summary{margin-bottom:10px}
.customer-unit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.customer-unit-name{font-size:17px;font-weight:600;margin-right:10px}.customer-unit-row .stage{display:inline-block;font-size:12px}.customer-unit-price{text-align:right}.customer-unit-price small,.customer-unit-price strong{display:block}.customer-unit-price small{font-size:11px;color:var(--muted)}.customer-unit-links{grid-column:1/-1;display:flex;gap:16px;font-size:13px}
.customer-timeline{list-style:none;padding-left:16px!important;border-left:1px solid var(--line);margin-left:12px!important}.customer-timeline>li{position:relative;padding:0 0 20px 18px!important}.customer-timeline .history-kind{position:absolute;left:-30px;top:0;background:#e6edf3;color:var(--info-ink);border:3px solid white;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:14px}.customer-timeline>li>p:first-of-type{font-weight:600}.customer-timeline>li>small{color:var(--muted);font-size:12px}
.customer-card .customer-save-result{border-left:3px solid var(--success-ink);background:#edf5e9;padding:10px 12px;margin:10px 0;font-size:14px}
@media(max-width:600px){.customer-project-chips>a{flex:1 1 135px}.customer-needs-summary{gap:8px}.customer-needs-summary dd{font-size:14px}.customer-plan-shortcuts a{min-height:44px}.customer-unit-row{grid-template-columns:minmax(0,1fr)}.customer-unit-price{text-align:left}}

.customer-project-chips>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}.customer-project-chips>a>strong{grid-column:1/-1}.customer-project-chips .broker-list{margin:0}.customer-project-chips .customer-project-stage{align-self:center;white-space:nowrap}.customer-project-chips .broker-person{font-size:12px}.customer-desk .customer-overview #customer-projects{padding-top:10px;padding-bottom:12px}

/* NU:MO analytics: stable metric colours, shared type scale and compact tables. */
.analytics-page{--result-blue:#e6f0fa;--result-purple:#eee8fa;--result-sand:#f9edce;--result-green:#e3f1e7;--result-line:#dedfd9;--result-ink:#252923}
.analytics-page .analytics-block{border:1px solid var(--result-line);border-radius:16px;background:#fff;box-shadow:none;overflow:visible}
.analytics-page .analytics-block-heading{gap:12px;align-items:center;border-bottom:1px solid var(--result-line);padding-bottom:14px}
.analytics-page .analytics-block h2{font-size:22px;letter-spacing:-.45px;line-height:1.2}
.analytics-page .analytics-block h3{font-size:17px;line-height:1.3}
.analytics-page .analytics-table{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
.analytics-page table{font-variant-numeric:tabular-nums;border-collapse:separate;border-spacing:0}
.analytics-page table th,.analytics-page table td{padding:12px 14px;border-bottom:1px solid #e8e9e5;vertical-align:middle}
.analytics-page table thead th{background:#f3f4f0;font-weight:600;font-size:13px;white-space:normal;line-height:1.4}
.analytics-page table tbody th{font-weight:500;text-align:left}
.analytics-page table small{font-size:12px;line-height:1.4;margin-top:4px;color:#62665e}
.analytics-page .analytics-toc a{border-radius:8px;line-height:1.35}
.analytics-page .analytics-filters{gap:12px;align-items:end}
.analytics-page .visual-track{border-radius:6px;background:#eef0eb;overflow:hidden}
.analytics-page .visual-track>span{background:#647d97;border-radius:6px}
.analytics-page .metric-new{background:var(--result-blue)!important;color:#214d74}
.analytics-page .metric-viewings{background:var(--result-purple)!important;color:#56377a}
.analytics-page .metric-signed{background:var(--result-sand)!important;color:#75510b}
.analytics-page .metric-sold{background:var(--result-green)!important;color:#245b39}
.results-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.results-intro p{margin:0}.results-intro label{display:flex;align-items:center;gap:10px;font-size:14px}
.results-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}
.results-totals>div{padding:16px 18px;border-radius:12px;display:flex;flex-direction:column;gap:6px}
.results-totals strong{font-size:34px;line-height:1.1;font-variant-numeric:tabular-nums}.results-totals span{font-size:14px;font-weight:600}.results-totals small{font-size:12px}
.results-table{width:100%;min-width:790px}.results-table th:first-child{position:sticky;left:0;z-index:1;background:#fff;min-width:190px;max-width:250px;border-right:1px solid var(--result-line)}
.results-table thead th:first-child{z-index:2}.results-table td{text-align:center;font-size:18px;font-weight:600}.results-table td:last-child{text-align:left;font-size:13px;font-weight:400;min-width:200px}
.results-table .result-group-total th{background:#f3f4f0;font-weight:700}.result-group-total td{font-weight:700;border-top:2px solid white}
.results-table .result-child{padding-left:28px;font-size:14px;color:#53594f}
.result-sources{display:flex;flex-wrap:wrap;gap:5px}.result-sources>span{display:inline-flex;gap:8px;border:1px solid #dce4eb;border-radius:7px;background:#f4f8fb;padding:4px 7px}.result-sources b{color:#214d74}
.results-explanation{margin-top:14px;font-size:14px;max-width:85ch}.results-explanation summary{cursor:pointer;font-weight:600;padding:8px 0}.results-explanation p{line-height:1.6;color:#555c52}
.results-scroll:focus-visible{outline:2px solid #315c7a;outline-offset:3px}
.analytics-page #menesio-suvestine th:nth-child(2),.analytics-page #komanda th:nth-child(2){background:var(--result-blue)}
.analytics-page #menesio-suvestine th:nth-child(4),.analytics-page #komanda th:nth-child(3){background:var(--result-purple)}
.analytics-page #menesio-suvestine th:nth-child(6),.analytics-page #komanda th:nth-child(6){background:var(--result-sand)}
@media(max-width:700px){.results-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.results-totals>div{padding:12px}.results-totals strong{font-size:28px}.analytics-page .analytics-block h2{font-size:20px}.results-table th:first-child{min-width:135px;max-width:165px}.analytics-page table th,.analytics-page table td{padding:10px}.results-intro label{width:100%;justify-content:space-between}.results-intro select{max-width:65%}}
.results-broker-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.results-broker-filter select{width:auto;max-width:260px}.results-broker-filter label{font-weight:600;font-size:14px}
.result-toggle{border:0;background:transparent;color:inherit;padding:0;text-align:left;font:inherit;font-weight:700;display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px;cursor:pointer}.result-toggle span{font-size:20px}.result-toggle:focus-visible{outline:2px solid #315c7a;outline-offset:4px}
.analytics-page .analytics-bar[data-kind="signed"]>span{background:#b48b30}.analytics-page .analytics-bar[data-kind="sold"]>span{background:#4c9060}.analytics-page .analytics-bar[data-kind="fell_back"]>span{background:#b7bcb2}
.analytics-page .analytics-monthly thead th:first-child,.analytics-page .analytics-compare thead th:first-child{position:sticky;left:0;z-index:2;background:#f3f4f0}
.analytics-page .analytics-monthly tbody th,.analytics-page .analytics-compare tbody th{position:sticky;left:0;z-index:1;background:#fff;border-right:1px solid var(--result-line)}
.result-cell{border:0;margin:0;padding:0;text-align:center}.result-cell summary{font:inherit;padding:4px;cursor:pointer;list-style:none;border:0;text-decoration:underline;text-underline-offset:4px;text-decoration-color:currentColor}.result-cell summary::-webkit-details-marker{display:none}.result-days{padding:8px;background:#fff;border:1px solid #ccd1c7;border-radius:8px;color:#30372c;font-size:12px;font-weight:400;min-width:110px}.result-days span{display:flex;justify-content:space-between;gap:10px;padding:3px 0}.result-days time{white-space:nowrap}
.analytics-period-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.analytics-period-shortcuts a{padding:8px 14px;border:1px solid #d6d9d0;border-radius:24px;background:white;color:#30372c;text-decoration:none;font-size:14px}.analytics-period-shortcuts a[aria-current="true"]{background:#263c2d;color:white;border-color:#263c2d}.analytics-period-shortcuts a:focus-visible{outline:2px solid #315c7a;outline-offset:3px}

/* Project-local qualification follows the existing compact client card panels. */
.qualification-core,.qualification-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qualification-details{margin:12px 0}.qualification-details summary,.qualification-panel summary{cursor:pointer;font-weight:600}.qualification-grid{margin-top:12px}.qualification-grid select[multiple]{min-height:96px;max-height:150px}.qualification-panel .stage{display:inline-block;margin:3px}.qualification-spam{align-self:start}.qualification-spam textarea{display:block;width:100%;margin:8px 0}.qualification-grid .field{min-width:0}@media(max-width:600px){.qualification-core,.qualification-grid{grid-template-columns:1fr}}

/* One compact staff calendar: desktop month, mobile chronological agenda. */
.team-calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.team-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--border,#ddd);border:1px solid var(--border,#ddd);border-radius:14px;overflow:hidden}.team-cal-weekday{background:#f4f1ec;text-align:center;padding:10px;font-size:12px;font-weight:700}.team-cal-day{display:block;background:#fff;padding:8px;min-height:110px;min-width:0}.team-cal-day.outside{background:#f8f7f4;color:#777}.team-cal-day.today>time{background:#242723;color:#fff;border-radius:50%;padding:5px}.team-cal-day>time{font-size:12px;font-weight:700}.team-cal-event{border-left:3px solid #9b83bb;background:#f1ebf7;border-radius:7px;padding:7px;margin-top:8px;overflow-wrap:anywhere;font-size:12px}.team-cal-event small{display:block;font-size:11px}.team-cal-event.LEAVE{border-color:#c48c35;background:#fbf1db}.team-cal-event.VIEWING{border-color:#54867a;background:#e8f3ee}.team-cal-event.MEETING{border-color:#648bc1;background:#ecf1fa}.team-cal-event p{margin:3px 0}.team-cal-editor .field{margin-bottom:12px}.team-cal-editor input,.team-cal-editor select{width:100%;max-width:100%}.team-cal-editor input[type=checkbox]{width:auto}.team-cal-editor small{display:block;margin-top:15px}.team-calendar-agenda{display:none}.qualification-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
@media(max-width:1100px){.team-calendar-layout{grid-template-columns:minmax(0,1fr)}.team-cal-editor{max-width:640px}.team-cal-day{padding:5px}.team-cal-event{font-size:11px}}
@media(max-width:700px){.team-calendar-grid{display:none}.team-calendar-agenda{display:block}.team-calendar-agenda .team-cal-event{font-size:14px;padding:12px;margin-bottom:10px}.team-calendar-layout{gap:16px}.team-cal-editor{width:100%;box-sizing:border-box}}

.team-cal-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:18px 0}.team-cal-month{display:flex;align-items:end;gap:8px}.team-cal-month label{display:grid;gap:4px}.team-cal-month input{max-width:210px}.team-cal-filter-fields{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding-top:10px}.team-cal-filter-fields label{display:grid;gap:4px}.team-cal-options summary{cursor:pointer;font-size:13px}.team-cal-options[open]{flex-basis:100%}
@media(max-width:700px){.team-cal-month{width:100%;gap:5px}.team-cal-month label{min-width:0;flex:1}.team-cal-month input{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.team-cal-month .button,.team-cal-month button{padding:10px 11px;min-width:38px}.team-cal-filters{margin:12px 0}.team-cal-filter-fields{display:grid;grid-template-columns:1fr;width:100%}}

.result-number{display:inline-flex;min-width:32px;min-height:32px;align-items:center;justify-content:center;border-radius:7px;text-decoration:underline;text-underline-offset:4px;font-weight:700;color:inherit}.result-number:hover,.result-number:focus-visible{background:#fff;outline:2px solid currentColor}.result-detail{border:1px solid #cebba5;border-radius:12px;padding:18px;margin:16px 0;background:#fff;scroll-margin-top:80px}.result-detail h3{margin:0}.result-detail nav{display:flex;gap:14px;align-items:center;justify-content:flex-end;padding-top:12px}

/* Compact target comparisons: a single month, explicit unit and value columns. */
.target-progress-heading {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.target-progress-heading h3,.target-progress-heading p {margin:.25rem 0}
.target-progress-table {min-width:940px}
.target-progress-table th:first-child {min-width:180px;position:sticky;left:0;background:var(--surface,#fff);z-index:1}
.target-progress-table td,.target-progress-table th {padding:.7rem .65rem}
.target-progress-table td {font-variant-numeric:tabular-nums;white-space:nowrap}
.target-progress-table small {display:block;font-size:.72rem;white-space:normal;max-width:190px;color:#625f59}
.target-progress-table .target-fact {background:#edf4f0;font-weight:700}
.target-progress-table progress {display:block;width:72px;height:6px;margin-top:.35rem;accent-color:#94775b}
.target-rate.is-reached {color:#246246}
.target-progress details {margin:.5rem 0}.target-history {margin-top:1.25rem}
