.kwf-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:14px;background:#f4f8ff;border-radius:12px;margin-bottom:16px}.kwf-filters label{display:flex;flex-direction:column;gap:6px;min-width:140px;flex:1}.kwf-filters input,.kwf-filters select{width:100%;min-height:44px;border:1px solid #bdcada;border-radius:8px;padding:8px}.kwf-actions{display:flex;flex-wrap:wrap;gap:10px;padding:16px;background:#f4f8ff;border-radius:12px;margin:16px 0}.kwf-actions p,.kwf-actions small{width:100%}.kwf-actions button,.kwf-filters button,.visit-card>button{padding:10px 14px;border:1px solid #b9c9df;background:white;border-radius:8px;color:#163d75;text-align:left;cursor:pointer;min-height:44px}.kwf-secondary{color:#586478!important}.kwf-actions button:focus-visible,.kwf-filters :focus-visible{outline:3px solid #2856df;outline-offset:3px}@media(max-width:600px){.kwf-filters label{min-width:100%;}.kwf-actions button{width:100%}}
.kwu-actions{border-top:1px solid #d8e2ef;padding-top:12px}.kwu-action-buttons,.kwu-chips{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.kwu-actions button,.kwu-chips button,.kwu-advanced summary{min-height:44px;padding:10px 12px;border:1px solid #b9c9df;border-radius:8px;background:#fff;color:#163d75;cursor:pointer}.kwu-actions form{display:grid;gap:12px;padding:12px;background:#f4f8ff}.kwu-actions label{display:grid;gap:5px}.kwu-actions input,.kwu-actions select{min-height:44px;max-width:100%;box-sizing:border-box}.kwu-actions :focus-visible,.kwu-chips :focus-visible,.kwu-advanced :focus-visible{outline:3px solid #2856df;outline-offset:2px}.kwu-actions button:disabled{opacity:.6;cursor:wait}.kwu-advanced{flex:1;min-width:200px}.kwu-advanced[open]{display:flex;flex-wrap:wrap;gap:10px}.kwu-advanced summary{list-style-position:inside}.kwu-advanced label{margin-top:8px}.kwu-chips button{font-size:.9rem}.kwu-visits .visit-card{overflow-wrap:anywhere}@media(max-width:600px){.workspace-page:has(.kwu-visits) .crm-summary{display:none}.workspace-page:has(.kwu-visits) .work-center-hero p{display:none}.workspace-page:has(.kwu-visits) .crm-hero p{display:none}.kwu-visits .kwf-filters{padding:8px;gap:8px;margin-bottom:8px}.kwu-advanced{min-width:100%}.kwu-action-buttons button{flex:1}.kwu-chips{gap:6px;margin:8px 0}.kwu-chips button{padding:8px;font-size:.85rem}}
.kwu-summary{border:1px solid #d8e2ef;border-radius:10px;padding:10px;margin:8px 0}.kwu-summary summary{cursor:pointer;min-height:32px;padding:4px}.kwu-summary article{display:inline-flex;gap:10px;padding:10px}
.kwr-result{background:#f4f8ff;border-left:3px solid #2856df;padding:12px;margin:12px 0}.kwr-result h3{font-size:1rem;margin:0 0 8px}.kwr-result-note{white-space:pre-wrap;overflow-wrap:anywhere}.kwr-save-notice{padding:12px;background:#eef8f1}.kwr-save-notice:focus,.kwu-visits .visit-card:focus{outline:3px solid #2856df;outline-offset:2px;scroll-margin:24px}
.kwr-result{background:#f4f8ff;border-left:3px solid #2856df;padding:12px;margin:12px 0}.kwr-result h3{font-size:1rem;margin:0 0 8px}.kwr-result-note{white-space:pre-wrap;overflow-wrap:anywhere}.kwr-save-notice{padding:12px;background:#eef8f1}.kwr-save-notice:focus,.kwu-visits .visit-card:focus{outline:3px solid #2856df;outline-offset:2px;scroll-margin:24px}
.kpg-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;padding:16px 0;border-top:1px solid #d7e2f0;margin-top:16px}.kpg-pagination p{margin:0;color:#344b68}.kpg-pagination label{display:flex;align-items:center;gap:8px}.kpg-pagination select,.kpg-pagination button{min-height:44px;padding:8px 12px;border:1px solid #b7c7dc;border-radius:8px;background:white;color:#17365d}.kpg-pagination nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.kpg-pagination button{min-width:44px;cursor:pointer}.kpg-pagination button[aria-current=page]{background:#2154d5;color:white;border-color:#2154d5;font-weight:700}.kpg-pagination button:disabled{opacity:.5;cursor:default}.kpg-pagination :focus-visible,[data-kpg-start]:focus-visible{outline:3px solid #2154d5;outline-offset:3px}.kpg-mobile-page{display:none}[data-kpg-start]{scroll-margin-top:80px}.property-workspace:not(.property-map-view),.property-workspace:not(.property-map-view) .property-list-panel{height:auto!important;max-height:none!important;overflow:visible!important}.property-workspace:not(.property-map-view) .property-list-panel{display:block!important}.property-workspace:not(.property-map-view) .property-list,.crm-layout .crm-list{max-height:none!important;overflow:visible!important;height:auto!important}.kpg-pagination{overflow-wrap:anywhere}@media(max-width:600px){.kpg-pagination{align-items:stretch;gap:12px}.kpg-pagination p,.kpg-pagination nav{width:100%}.kpg-pagination nav{justify-content:center}.kpg-pagination .kpg-neighbor,.kpg-ellipsis{display:none}.kpg-mobile-page{display:inline}.kpg-pagination label{width:100%;justify-content:space-between}.kpg-pagination select{min-width:100px}}

/* Desktop filters remain visible in their own compact row; mobile disclosure and map stay unchanged. */
@media (min-width:1024px){
 .property-workspace:not(.property-map-view) .property-command-bar{grid-template-columns:minmax(0,1fr) auto;gap:10px}
 .property-workspace:not(.property-map-view) .property-command-bar>.search-field{grid-column:1;grid-row:1}
 .property-workspace:not(.property-map-view) .property-command-bar>.property-view-toggle{grid-column:2;grid-row:1}
 .property-workspace:not(.property-map-view) .property-advanced-filters{display:block;grid-column:1/-1;grid-row:2}
 .property-workspace:not(.property-map-view) .property-advanced-fields{display:flex;flex-wrap:wrap;gap:8px}
 .property-workspace:not(.property-map-view) .property-advanced-fields>label{flex:1 1 140px;min-width:0}
 .property-workspace:not(.property-map-view) .property-advanced-fields select{width:100%}
}

/* KR CRM design contract. Public landing selectors are deliberately excluded. */
:root{--krd-ink:#142b49;--krd-muted:#52647b;--krd-brand:#1752d3;--krd-soft:#edf3ff;--krd-line:#cbd7e6;--krd-surface:#fff;--krd-radius:12px;--krd-focus:#1752d3}
:is(.workspace-page,.property-workspace,.kh-home){color:var(--krd-ink);line-height:1.6}
:is(.workspace-page,.property-workspace,.kh-home) h1{font-size:clamp(26px,2.5vw,36px);line-height:1.25;letter-spacing:-.035em;font-weight:750}
:is(.workspace-page,.property-workspace,.kh-home) h2{font-size:20px;line-height:1.4;letter-spacing:-.02em}
:is(.workspace-page,.property-workspace) .page-title{gap:16px;margin-bottom:24px;align-items:center}
:is(.workspace-page,.property-workspace) .page-title p{color:var(--krd-muted);font-size:15px;line-height:1.65;max-width:68ch}
:is(.workspace-page,.property-workspace,.kh-home) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font:inherit;min-height:44px;border:1px solid #8ba0bb;border-radius:8px;background:#fff;color:var(--krd-ink);max-width:100%;box-sizing:border-box}
:is(.workspace-page,.property-workspace,.kh-home) :is(button,a,input,select,textarea,summary):focus-visible,.crm-detail h2:focus{outline:3px solid var(--krd-focus);outline-offset:3px;scroll-margin:96px 16px}
:is(.workspace-page,.property-workspace,.kh-home) button{min-height:44px;touch-action:manipulation}
:is(.workspace-page,.property-workspace) .preview-primary{background:var(--krd-brand);border-color:var(--krd-brand);color:#fff;border-radius:8px;font-weight:700;box-shadow:0 2px 4px #142b4910}
:is(.workspace-page,.property-workspace) .preview-secondary{border:1px solid #8ba0bb;border-radius:8px;background:#fff;color:var(--krd-ink)}
:is(.crm-detail,.visit-card,.work-center-card){border:1px solid var(--krd-line);border-radius:var(--krd-radius);background:var(--krd-surface);box-shadow:0 4px 16px #142b4905}
.crm-detail{padding:24px;min-width:0}.crm-detail :is(h2,p,small){overflow-wrap:anywhere}
.crm-customer{border:1px solid var(--krd-line);border-radius:10px;padding:16px!important;text-align:left;transition:background .15s,border-color .15s}
.crm-customer:hover{background:#f5f8ff;border-color:#8ba0bb}.crm-customer.selected{background:var(--krd-soft);border-color:var(--krd-brand);box-shadow:inset 3px 0 var(--krd-brand)}
.crm-customer strong{color:var(--krd-ink);font-size:15px}.crm-customer :is(span,small){color:var(--krd-muted);line-height:1.5}
.kwf-filters{background:#f4f7fc;border:1px solid var(--krd-line);padding:16px;border-radius:var(--krd-radius);gap:12px}
.kwf-actions{background:#f4f7fc;border:1px solid var(--krd-line);padding:16px;border-radius:var(--krd-radius)}
.kwf-actions p{font-weight:650;color:var(--krd-ink)}
.visit-card{padding:20px!important;margin-bottom:16px}.visit-card> :first-child{font-weight:700}.visit-card>button{font-weight:650;color:var(--krd-brand)}
.kwu-actions{margin-top:16px;padding-top:16px;border-top:1px solid var(--krd-line)}
.kwu-chips button{background:var(--krd-soft);color:#19449d;border-color:#b5c9ee}
.kpg-pagination{background:#f7f9fd;padding:16px;border:1px solid var(--krd-line);border-radius:var(--krd-radius);margin-top:24px}
.kpg-pagination button[aria-current=page]{background:var(--krd-brand);border-color:var(--krd-brand)}
.property-operation-row{border-bottom-color:var(--krd-line)}.property-operation-row:hover{background:#f4f7fc}.property-operation-main strong{font-size:15px}.property-operation-price strong{color:var(--krd-ink)}
.property-detail-panel{border-radius:16px}.property-detail-header{border-bottom:1px solid var(--krd-line);padding:24px}.property-detail-body{padding:24px}.property-detail-tabs{gap:8px}
.property-detail-tabs button,.crm-detail nav button{min-height:44px;border-radius:8px}.property-detail-tabs button[aria-pressed=true],.crm-detail nav button[aria-pressed=true]{background:var(--krd-soft);color:#19449d;font-weight:700}
.kh-home .kh-metric{border-color:var(--krd-line);border-radius:var(--krd-radius)}.kh-home .kh-metric strong{color:var(--krd-brand)}.kh-home .kh-metric:hover{border-color:var(--krd-brand);background:#f7faff}.kh-home .kh-task{padding:16px 12px}.kh-home .kh-note{color:var(--krd-muted)}
:is(.workspace-page,.property-workspace) .empty-state{padding:32px 24px;border:1px dashed #a9bad0;border-radius:var(--krd-radius);background:#f8faff}.empty-state strong{color:var(--krd-ink)}
:is(.workspace-page,.property-workspace) .danger-button{color:#a32925;border-color:#ba7773;background:#fff}
@media(max-width:650px){.crm-detail{padding:16px}.visit-card{padding:16px!important}.kpg-pagination{padding:12px;margin-top:16px}.property-detail-header,.property-detail-body{padding:16px}:is(.workspace-page,.property-workspace) .page-title{margin-bottom:16px}.kwf-filters{padding:12px}.crm-customer{padding:12px!important}.kh-home .kh-task{padding:16px 8px}.property-operation-main strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.crm-customer{transition:none}}

/* KGA03 home search: shared KR button tokens */
.kh-home .kh-search button{min-height:44px;padding:10px 18px;border:1px solid var(--krd-brand,#1752d3);border-radius:8px;background:var(--krd-brand,#1752d3);color:#fff;font:inherit;font-weight:700;cursor:pointer}.kh-home .kh-search button:hover{background:#1244b4}.kh-home .kh-search button:focus-visible{outline:3px solid var(--krd-focus,#1752d3);outline-offset:3px}.kh-home .kh-search button:disabled{opacity:.55;cursor:not-allowed}

.map-source-notice{flex-wrap:wrap;gap:8px}.map-source-notice button{min-height:44px;padding:8px 12px;border-radius:8px;white-space:normal}.map-source-notice span{flex:1 1 240px}

.property-map-panel .map-source-notice{top:var(--kgma-notice-top,110px);left:12px;right:64px;transform:none;max-width:none;width:auto;overflow-wrap:anywhere}.property-map-panel .map-source-notice span{flex-basis:100%}.property-map-panel .map-source-notice button:focus-visible{outline:3px solid #2154d5;outline-offset:2px}

.kw u{}
.visit-status-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;padding:8px!important}.visit-status-tabs>button{min-width:0;min-height:44px;border-radius:9px}.visit-status-tabs>button[aria-pressed="true"]{background:#155eef!important;color:white!important;font-weight:700}@media(max-width:620px){.visit-status-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

@media(max-width:1023px){.workspace-mobile-nav{background:#fff!important;gap:4px!important;padding:5px 6px!important}.workspace-mobile-nav button{min-height:54px!important;min-width:0;padding:5px 3px!important;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:19px!important;color:#294867!important}.workspace-mobile-nav button span{font-size:13px!important;font-weight:600;line-height:1.2;white-space:nowrap}.workspace-mobile-nav button.active{background:#eaf0ff!important;color:#1745b4!important}.workspace-mobile-nav button:focus-visible{outline:3px solid #155eef;outline-offset:-3px}}

/* KR management shell: presentation only; existing handlers and data are preserved. */
.workspace-shell{background:#f3f5f9}
.workspace-header{position:sticky;top:0;z-index:45;background:#fff;box-shadow:none;border-bottom:1px solid #dce3ed}
.workspace-page{max-width:1600px;margin-inline:auto}
.kh-home{gap:18px;padding:24px!important}
.kh-home .work-center-hero{padding:0;background:none;border:0;box-shadow:none;gap:16px;align-items:center}
.kh-home .work-center-hero h1{font-size:28px;line-height:1.3;margin:5px 0 8px;letter-spacing:-.04em}
.kh-home .work-center-hero p{font-size:14px;margin:0;color:#52657d}
.kh-home .work-center-actions{gap:8px;margin:0}
.kh-home .work-center-actions button{border-radius:8px;box-shadow:none;background:#fff;border:1px solid #d5deeb;min-height:44px;font-size:14px}
body .kh-home h2{font-size:17px!important;margin:0 0 12px;letter-spacing:-.02em}
.kh-home .kh-grid{gap:10px}
.kh-home .kh-metric{border:1px solid #d9e2ee;border-radius:10px;box-shadow:none;padding:16px;gap:6px;background:#fff}
.kh-home .kh-metric>span{font-size:14px;font-weight:650;color:#40546e}
.kh-home .kh-metric strong{font-size:28px;color:#1859ce;line-height:1.2}
.kh-home .kh-metric small{font-size:12px;line-height:1.5}
.kh-home .kh-states{gap:6px;margin-top:10px}
.kh-home .kh-states button{border-radius:6px;padding:8px 10px;font-size:12px;min-height:40px;background:#fff}
.kh-home .kh-note{font-size:12px;line-height:1.6;margin:10px 0}
.kh-home .work-center-card{border:1px solid #d9e2ee;border-radius:10px;padding:18px;box-shadow:none;background:#fff;min-width:0}
.kh-home .kh-small .kh-metric{padding:12px;background:#f6f8fc;border-color:#e4e9f2}
.kh-home .kh-small .kh-metric strong{font-size:23px}
.kh-home .kh-tasks{margin-top:10px}
.kh-home .kh-task{padding:13px 4px;gap:10px;grid-template-columns:80px minmax(0,1fr) auto 18px;font-size:13px}
.kh-home .kh-task time,.kh-home .kh-kind{font-size:12px}
.kh-home .work-center-insights{border:1px solid #d9e2ee;background:#fff;border-radius:10px;padding:16px}
.kh-home .work-center-insights>summary{font-size:14px;font-weight:650;min-height:32px;cursor:pointer}
.kh-home .kh-undated .kh-metric{max-width:280px}
@media(min-width:768px){
 .workspace-shell{display:grid!important;grid-template-columns:196px minmax(0,1fr)!important}
 .workspace-sidebar{position:sticky!important;inset:auto!important;top:0!important;width:auto!important;height:100dvh!important;box-sizing:border-box;padding:20px 12px!important;background:#122239;display:flex!important;border-right:1px solid #26374e;overflow-y:auto}
 .workspace-brand{display:block!important;padding:0 4px 20px}
 .workspace-brand .product-brand-mark{width:164px;max-width:100%}
 .workspace-sidebar .workspace-desktop-nav{display:grid!important;gap:5px!important;height:auto!important;overflow:visible!important}
 .workspace-desktop-nav>span{display:block!important;font-size:12px!important;color:#a9b9ce!important;margin:18px 10px 7px!important}
 .workspace-sidebar .workspace-desktop-nav button{display:block;text-align:left!important;min-width:0!important;font-size:14px!important;padding:0 12px!important;min-height:44px!important;border-radius:7px;white-space:normal;color:#dce7f6}
 .workspace-desktop-nav button.active{background:#2464d8!important;color:#fff!important;box-shadow:inset 3px 0 #70c5ff}
 .workspace-sidebar .workspace-mobile-nav{display:none!important}
 .workspace-usage{display:block!important;margin-top:auto}
 .workspace-main{margin-left:0!important;min-width:0}
 .workspace-header{height:64px!important;padding:0 24px!important}
 .workspace-business-info{display:block!important}
 .workspace-header small{display:block}
 .workspace-mobile-page-title{display:none!important}
 .workspace-context-help{justify-content:flex-end;padding:6px 24px}
 .property-detail-panel{bottom:0}
 .kh-home .work-center-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kh-home .kh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1200px){
 .kh-home .work-center-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
 .kh-home{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}
 .kh-home>.work-center-hero,.kh-home>.work-center-actions,.kh-home>.kh-overview,.kh-home>.kh-notice,.kh-home>.work-center-insights,.kh-home>.kh-note,.kh-home>.kh-undated{grid-column:1/-1}
 .kh-home>.kh-today{grid-column:1;grid-row:span 2}
 .kh-home>.kh-next{grid-column:2}
 .kh-home>.kh-undated{grid-column:2}
 .kh-home .kh-next .kh-task{grid-template-columns:70px minmax(0,1fr) 18px}
 .kh-home .kh-next .kh-task time{grid-column:2}
 .kh-home .kh-next .kh-task>span:last-child{grid-column:3;grid-row:1/3}
}
@media(max-width:767px){
 .workspace-sidebar{background:#fff!important;border-top:1px solid #d9e2ee;padding:4px!important}
 .kh-home{padding:18px 14px 84px!important;gap:16px}
 .kh-home .work-center-hero{display:grid;grid-template-columns:1fr}
 .kh-home .work-center-hero h1{font-size:25px}
 .kh-home .kh-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .kh-home .kh-metric{display:flex;padding:12px 9px;gap:5px}
 .kh-home .kh-metric>span{font-size:12px}
 .kh-home .kh-metric strong{font-size:25px}
 .kh-home .kh-metric small{font-size:11px;overflow-wrap:anywhere}
 .kh-home .work-center-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .kh-home .work-center-actions button{font-size:13px}
 .kh-home .work-center-card{padding:15px}
 .kh-home .kh-small .kh-metric{padding:10px 7px}
 .kh-home .kh-small .kh-metric strong{font-size:22px}
 .kh-home .kh-task{grid-template-columns:minmax(0,1fr) 18px;gap:4px;padding:12px 3px}
 .kh-home .kh-task .kh-kind,.kh-home .kh-task strong,.kh-home .kh-task time{grid-column:1}
 .kh-home .kh-task>span:last-child{grid-column:2;grid-row:1/4}
}
@media(min-width:768px) and (max-width:1199px){
 .kh-home .work-center-hero{display:grid!important;grid-template-columns:1fr!important}
 .kh-home .kh-search{justify-content:stretch;width:100%}
 .kh-home .kh-search label{flex:1;min-width:0}
 .kh-home .kh-search input{width:100%;box-sizing:border-box}
 .kh-home .kh-search button{white-space:nowrap}
}

/* KR management shell: presentation only; existing handlers and data are preserved. */
.workspace-shell{background:#f3f5f9}
.workspace-header{position:sticky;top:0;z-index:45;background:#fff;box-shadow:none;border-bottom:1px solid #dce3ed}
.workspace-page{max-width:1600px;margin-inline:auto}
.kh-home{gap:18px;padding:24px!important}
.kh-home .work-center-hero{padding:0;background:none;border:0;box-shadow:none;gap:16px;align-items:center}
.kh-home .work-center-hero h1{font-size:28px;line-height:1.3;margin:5px 0 8px;letter-spacing:-.04em}
.kh-home .work-center-hero p{font-size:14px;margin:0;color:#52657d}
.kh-home .work-center-actions{gap:8px;margin:0}
.kh-home .work-center-actions button{border-radius:8px;box-shadow:none;background:#fff;border:1px solid #d5deeb;min-height:44px;font-size:14px}
body .kh-home h2{font-size:17px!important;margin:0 0 12px;letter-spacing:-.02em}
.kh-home .kh-grid{gap:10px}
.kh-home .kh-metric{border:1px solid #d9e2ee;border-radius:10px;box-shadow:none;padding:16px;gap:6px;background:#fff}
.kh-home .kh-metric>span{font-size:14px;font-weight:650;color:#40546e}
.kh-home .kh-metric strong{font-size:28px;color:#1859ce;line-height:1.2}
.kh-home .kh-metric small{font-size:12px;line-height:1.5}
.kh-home .kh-states{gap:6px;margin-top:10px}
.kh-home .kh-states button{border-radius:6px;padding:8px 10px;font-size:12px;min-height:40px;background:#fff}
.kh-home .kh-note{font-size:12px;line-height:1.6;margin:10px 0}
.kh-home .work-center-card{border:1px solid #d9e2ee;border-radius:10px;padding:18px;box-shadow:none;background:#fff;min-width:0}
.kh-home .kh-small .kh-metric{padding:12px;background:#f6f8fc;border-color:#e4e9f2}
.kh-home .kh-small .kh-metric strong{font-size:23px}
.kh-home .kh-tasks{margin-top:10px}
.kh-home .kh-task{padding:13px 4px;gap:10px;grid-template-columns:80px minmax(0,1fr) auto 18px;font-size:13px}
.kh-home .kh-task time,.kh-home .kh-kind{font-size:12px}
.kh-home .work-center-insights{border:1px solid #d9e2ee;background:#fff;border-radius:10px;padding:16px}
.kh-home .work-center-insights>summary{font-size:14px;font-weight:650;min-height:32px;cursor:pointer}
.kh-home .kh-undated .kh-metric{max-width:280px}
@media(min-width:651px){
 .workspace-shell{display:grid!important;grid-template-columns:196px minmax(0,1fr)!important}
 .workspace-sidebar{position:sticky!important;inset:auto!important;top:0!important;width:auto!important;height:100dvh!important;box-sizing:border-box;padding:20px 12px!important;background:#122239;display:flex!important;border-right:1px solid #26374e;overflow-y:auto}
 .workspace-brand{display:block!important;padding:0 4px 20px}
 .workspace-brand .product-brand-mark{width:164px;max-width:100%}
 .workspace-sidebar .workspace-desktop-nav{display:grid!important;gap:5px!important;height:auto!important;overflow:visible!important}
 .workspace-desktop-nav>span{display:block!important;font-size:12px!important;color:#a9b9ce!important;margin:18px 10px 7px!important}
 .workspace-sidebar .workspace-desktop-nav button{display:block;text-align:left!important;min-width:0!important;font-size:14px!important;padding:0 12px!important;min-height:44px!important;border-radius:7px;white-space:normal;color:#dce7f6}
 .workspace-desktop-nav button.active{background:#2464d8!important;color:#fff!important;box-shadow:inset 3px 0 #70c5ff}
 .workspace-sidebar .workspace-mobile-nav{display:none!important}
 .workspace-usage{display:block!important;margin-top:auto}
 .workspace-main{margin-left:0!important;min-width:0}
 .workspace-header{height:64px!important;padding:0 24px!important}
 .workspace-business-info{display:block!important}
 .workspace-header small{display:block}
 .workspace-mobile-page-title{display:none!important}
 .workspace-context-help{justify-content:flex-end;padding:6px 24px}
 .property-detail-panel{bottom:0}
 .kh-home .work-center-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kh-home .kh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1200px){
 .kh-home .work-center-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
 .kh-home{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}
 .kh-home>.work-center-hero,.kh-home>.work-center-actions,.kh-home>.kh-overview,.kh-home>.kh-notice,.kh-home>.work-center-insights,.kh-home>.kh-note,.kh-home>.kh-undated{grid-column:1/-1}
 .kh-home>.kh-today{grid-column:1;grid-row:span 2}
 .kh-home>.kh-next{grid-column:2}
 .kh-home>.kh-undated{grid-column:2}
 .kh-home .kh-next .kh-task{grid-template-columns:70px minmax(0,1fr) 18px}
 .kh-home .kh-next .kh-task time{grid-column:2}
 .kh-home .kh-next .kh-task>span:last-child{grid-column:3;grid-row:1/3}
}
@media(max-width:650px){
 .workspace-sidebar{background:#fff!important;border-top:1px solid #d9e2ee;padding:4px!important}
 .kh-home{padding:18px 14px 84px!important;gap:16px}
 .kh-home .work-center-hero{display:grid;grid-template-columns:1fr}
 .kh-home .work-center-hero h1{font-size:25px}
 .kh-home .kh-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .kh-home .kh-metric{display:flex;padding:12px 9px;gap:5px}
 .kh-home .kh-metric>span{font-size:12px}
 .kh-home .kh-metric strong{font-size:25px}
 .kh-home .kh-metric small{font-size:11px;overflow-wrap:anywhere}
 .kh-home .work-center-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .kh-home .work-center-actions button{font-size:13px}
 .kh-home .work-center-card{padding:15px}
 .kh-home .kh-small .kh-metric{padding:10px 7px}
 .kh-home .kh-small .kh-metric strong{font-size:22px}
 .kh-home .kh-task{grid-template-columns:minmax(0,1fr) 18px;gap:4px;padding:12px 3px}
 .kh-home .kh-task .kh-kind,.kh-home .kh-task strong,.kh-home .kh-task time{grid-column:1}
 .kh-home .kh-task>span:last-child{grid-column:2;grid-row:1/4}
}
@media(min-width:651px) and (max-width:1199px){
 .kh-home .work-center-hero{display:grid!important;grid-template-columns:1fr!important}
 .kh-home .kh-search{justify-content:stretch;width:100%}
 .kh-home .kh-search label{flex:1;min-width:0}
 .kh-home .kh-search input{width:100%;box-sizing:border-box}
 .kh-home .kh-search button{white-space:nowrap}
}

/* KAD01: keep the management navigation at intermediate widths. */
@media(min-width:651px) and (max-width:1023px){
 body .workspace-shell{grid-template-columns:160px minmax(0,1fr)!important}
 body .workspace-sidebar{padding:16px 8px!important;background:#122239!important;border-top:0}
 body .workspace-brand .product-brand-mark{width:142px}
 body .workspace-header{padding:0 14px!important}
 body .workspace-header small{display:none}
 body .workspace-business-info{min-width:0}
 body .workspace-context-help{padding:5px 16px}
 body .property-list-panel{grid-template-columns:minmax(0,1fr)!important}
 body .property-list-panel>*{min-width:0}
}
@media(min-width:651px) and (max-width:740px){
 body .property-operations-head{display:none}
 body .property-operation-row{grid-template-columns:minmax(0,1fr) minmax(95px,auto) 18px;grid-template-areas:"main price arrow" "main next arrow";gap:5px 8px;min-height:78px;padding:8px 5px}
 body .property-operation-main{grid-area:main;grid-template-columns:56px minmax(0,1fr);gap:8px}
 body .property-operation-main>.property-thumbnail{width:56px!important;height:58px!important;min-height:58px!important}
 body .property-operation-main strong{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}
 body .property-operation-main small{display:none}
 body .property-operation-price{grid-area:price;text-align:right}
 body .property-operation-next{grid-area:next;text-align:right}
 body .property-operation-arrow{grid-area:arrow;align-self:center}
}
@media(min-width:651px) and (max-width:1199px){
 body .kh-home .kh-task{grid-template-columns:76px minmax(0,1fr) minmax(100px,auto) 18px}
 body .kh-home .kh-task .kh-kind{grid-column:1;grid-row:1}
 body .kh-home .kh-task strong{grid-column:2;grid-row:1}
 body .kh-home .kh-task time{grid-column:3;grid-row:1}
 body .kh-home .kh-task>span:last-child{grid-column:4;grid-row:1}
}
/* KAD02: one continuous search rule, rather than a missing intermediate band. */
@media(min-width:651px){
 body .workspace-desktop-nav details>summary{color:#dce7f6;min-height:44px;box-sizing:border-box;padding:12px 10px;cursor:pointer;font-size:14px;font-weight:650}
 body .workspace-desktop-nav details>summary:focus-visible{outline:3px solid #70c5ff;outline-offset:-3px}
}
body .kh-home .kh-search{display:flex;gap:8px;min-width:0;width:100%}
body .kh-home .kh-search label{flex:1;min-width:0}
body .kh-home .kh-search input{width:100%;box-sizing:border-box;min-width:0}
body .kh-home .kh-search button{flex:none;white-space:nowrap}
/* KAD03: DOM and visual reading order both put actionable work first. */
body .kh-home{display:flex;flex-direction:column;gap:16px;padding:18px 20px 28px!important}
body .kh-home .work-center-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px}
body .kh-home .work-center-hero h1{font-size:26px!important;margin:3px 0 6px}
body .kh-home .work-center-hero p{font-size:13px;line-height:1.5}
body .kh-home .kh-today{border-top:3px solid #2464d8}
body .kh-home .kh-today>.kh-note{margin:6px 0 10px}
body .kh-home .kh-small .kh-metric{padding:10px}
body .kh-home .kh-small .kh-metric small{font-size:11px}
body .kh-home .kh-today .kh-task{padding:12px 3px}
@media(min-width:1200px){
 body .kh-home{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}
 body .kh-home>.work-center-hero,body .kh-home>.work-center-actions,body .kh-home>.kh-overview,body .kh-home>.kh-notice,body .kh-home>.work-center-insights,body .kh-home>.kh-note,body .kh-home>.kh-undated{grid-column:1/-1}
 body .kh-home>.kh-today{grid-column:1;grid-row:auto}
 body .kh-home>.kh-next{grid-column:2;grid-row:auto}
 body .kh-home .work-center-hero{grid-template-columns:minmax(0,1fr) minmax(260px,340px)!important;align-items:center}
}
@media(max-width:650px){
 body .kh-home{padding:14px 14px 84px!important;gap:14px}
 body .kh-home .work-center-hero h1{font-size:24px!important}
 body .kh-home .work-center-card{padding:13px}
 body .kh-home .kh-small .kh-metric{padding:9px 7px}
}

body .kh-home>.kh-shortcuts{display:flex;gap:8px;align-items:center;grid-column:1/-1;min-width:0;position:relative}
body .kh-shortcuts>button,body .kh-quick-menu>summary{box-sizing:border-box;min-height:44px;border:1px solid #a9bad1;border-radius:8px;background:#fff;color:#194984;padding:10px 14px;font:inherit;font-size:14px;font-weight:650;cursor:pointer;white-space:nowrap}
body .kh-quick-menu{position:relative;min-width:0}
body .kh-quick-menu>summary{list-style:none;display:flex;align-items:center;gap:10px}
body .kh-quick-menu>summary::-webkit-details-marker{display:none}
body .kh-quick-menu>summary::after{content:'▾';font-size:12px}
body .kh-quick-menu[open]>summary{background:#edf3ff;border-color:#2464d8}
body .kh-quick-menu .work-center-actions{position:absolute;left:0;top:calc(100% + 6px);z-index:50;width:min(320px,calc(100vw - 40px));padding:8px;display:grid;grid-template-columns:1fr!important;gap:5px;border:1px solid #c4d1e3;border-radius:10px;background:#fff;box-shadow:0 8px 24px #10284524}
body .kh-quick-menu:not([open]) .work-center-actions{display:none}
body .kh-quick-menu .work-center-actions button{text-align:left;padding:10px 12px}
body .kh-shortcuts :is(button,summary):focus-visible,body .kh-overview h2:focus{outline:3px solid #1752d3;outline-offset:3px;scroll-margin-top:100px}
body .kh-home .kh-overview h2{scroll-margin-top:110px!important}
/* Core information must not be smaller than its supporting text. */
body .property-operation-main strong{font-size:14px!important;line-height:1.5!important;white-space:normal;overflow-wrap:anywhere}
body .property-operation-price strong,body .property-operation-next strong{font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere;white-space:normal}
body .property-operation-price small,body .property-operation-next small{font-size:12px!important;line-height:1.5!important;white-space:normal;overflow-wrap:anywhere}
body .property-operation-row{min-height:84px}
@media(max-width:740px){
 body .property-operation-price strong,body .property-operation-next strong{font-size:13px!important}
 body .property-operation-row{padding-block:10px;row-gap:7px}
}

.operations-trend .trend-metrics small{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;line-height:1.5;overflow-wrap:anywhere}.operations-trend .trend-metrics>div{min-width:0}

/* KR customer workspace: compact controls and an adjacent detail workspace. */
.kcu-customers .page-title{margin-bottom:16px}.kcu-customers .page-title h1{font-size:26px}.kcu-customers .page-title p{margin:6px 0 0}
.kcu-customers .crm-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;align-items:start}
.kcu-customers .crm-list{display:flex!important;flex-direction:column;gap:0!important;min-width:0;position:relative;padding:0!important}
.kcu-customers .crm-list-tools{display:flex!important;gap:8px;align-items:center;order:-3;margin:0 0 10px!important;padding-right:84px}
.kcu-customers .crm-list-tools .search-field{flex:1;min-width:0}.kcu-customers .workspace-search{width:100%;min-width:0}
.kcu-filter-menu{position:absolute;right:0;top:0;z-index:5}.kcu-filter-menu>summary,.kcu-list-menu>summary,.kcu-customer-menu>summary{cursor:pointer;min-height:44px;padding:11px 12px;border:1px solid #bac9dd;border-radius:8px;background:#fff;color:#284462;font-size:13px;list-style:none}
.kcu-filter-menu[open]{width:min(360px,100%);background:#fff;box-shadow:0 8px 28px #10264226;border-radius:10px}.kcu-filter-menu[open]>summary{text-align:right}.kcu-filter-menu .kwf-filters{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;padding:14px;margin:0}.kcu-filter-menu .kwf-filters p{grid-column:1/-1;margin:0}.kcu-filter-menu label{min-width:0}.kcu-filter-menu select{width:100%}
.kcu-list-menu{position:relative;flex:0 0 auto}.kcu-list-menu[open]>button{position:absolute;right:0;top:48px;width:180px;z-index:6;background:white;box-shadow:0 8px 25px #10264226}
.kcu-result-count{font-size:13px;color:#4d617a;margin:0 0 10px;order:-1}
.kcu-customers .crm-customer{display:grid!important;grid-template-columns:minmax(130px,1fr) minmax(110px,1fr) minmax(140px,1.4fr);gap:4px 16px!important;border-radius:0!important;border:0!important;border-bottom:1px solid #dce4f0!important;padding:12px 14px!important;min-height:72px!important;margin:0!important;width:100%;text-align:left}
.kcu-customers .crm-customer>strong{grid-column:1;overflow-wrap:anywhere}.kcu-customers .crm-customer>span{grid-column:1;font-size:12px;overflow-wrap:anywhere}.kcu-customers .crm-customer>small:not(.kcu-row-work){grid-column:2;grid-row:1/3;align-self:center}.kcu-customers .crm-customer>.kcu-row-work{grid-column:3;grid-row:1/3;align-self:center;color:#224ca0;font-weight:600}
.kcu-customers .crm-customer:first-of-type{border-top:1px solid #dce4f0!important}.kcu-customers .crm-customer.selected{box-shadow:inset 3px 0 #245ce0}.kcu-customers .crm-customer:focus-visible{outline:3px solid #245ce0;outline-offset:-3px}
.kcu-customers .crm-detail{display:none!important;min-width:0;padding:20px!important;border:1px solid #dce4f0;border-radius:12px;background:white;box-shadow:none!important}
.kcu-customers .crm-layout.detail-open .crm-detail{display:block!important}.kcu-customers .detail-heading{gap:12px}.kcu-customers .detail-heading h2{font-size:22px}.kcu-customers .detail-heading p{overflow-wrap:anywhere}.kcu-customers .customer-detail-actions{display:flex;gap:8px;align-items:start;flex-wrap:wrap}
.kcu-customer-menu{position:relative}.kcu-customer-menu[open]>button{position:absolute;right:0;top:48px;width:190px;background:#fff;z-index:7;box-shadow:0 8px 24px #10264226}
.kcu-customers .kwf-actions{padding:14px;margin:16px 0;display:flex;gap:8px;flex-wrap:wrap}.kcu-customers .kwf-actions>p{width:100%;margin:0 0 4px;font-weight:700}.kcu-customers .kwf-actions>small{width:100%;font-size:12px}.kcu-customers .customer-next-step{padding:10px 0;margin:0;background:transparent;border:0}.kcu-customers .customer-next-step>span{display:none}.kcu-customers .customer-detail-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px}.kcu-customers .customer-detail-tabs button{white-space:normal;padding:10px 5px;font-size:13px}
@media(min-width:1200px){.kcu-customers .crm-layout.detail-open{grid-template-columns:minmax(340px,.9fr) minmax(450px,1.1fr)!important}.kcu-customers .crm-layout.detail-open .crm-customer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.kcu-customers .crm-layout.detail-open .crm-customer>.kcu-row-work{grid-column:1/-1;grid-row:auto}.kcu-customers .crm-mobile-back{display:inline-flex!important;margin-bottom:14px}}
@media(max-width:1199px){.kcu-customers .crm-layout.detail-open .crm-list{display:none!important}.kcu-customers .crm-mobile-back{display:inline-flex!important;margin-bottom:14px}}
@media(max-width:600px){.kcu-customers .page-title h1{font-size:23px}.kcu-customers .page-title p{font-size:13px}.kcu-customers .crm-list-tools{flex-wrap:wrap;padding-right:70px}.kcu-customers .crm-list-tools .search-field{flex-basis:100%}.kcu-list-menu>summary{min-height:36px;padding:8px 10px}.kcu-filter-menu>summary{padding:11px 8px}.kcu-customers .crm-customer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px!important}.kcu-customers .crm-customer>.kcu-row-work{grid-column:1/-1;grid-row:auto}.kcu-customers .crm-detail{padding:14px!important}.kcu-customers .kwf-actions button{flex:1 1 42%;min-height:44px}.kcu-customers .kpg-pagination{margin-top:12px}.kcu-customers .detail-heading{flex-wrap:wrap}}

.kcu-customers .page-title h1{font-size:26px!important}
@media(max-width:1199px){.kcu-customers:has(.detail-open) .page-title p,.kcu-customers:has(.detail-open) .page-title>button{display:none!important}.kcu-customers:has(.detail-open) .page-title{margin-bottom:10px!important}.kcu-customers:has(.detail-open) .page-title h1{font-size:20px!important;margin:4px 0!important}}
