/* Property's neutral workspace palette; semantic workflow colours are separate. */
:root,html.property-native,.shell,.workspace,dialog,.modal-back{--ink:#202124;--muted:#696b70;--soft:#f5f5f6;--line:#e5e5e7;--blue:#26272a;--blue-dark:#101113;--pale:#ededee;--teal:#26272a;--teal-dark:#101113;--focus:#52545a;--property-brand:#26272a;--pn-brand:#26272a;color:var(--ink)}
:where(h1,h2,h3,h4,h5,h6){color:var(--ink)}
:where(.btn,.primary,.secondary,.control,input,select,textarea){accent-color:#45464b}
:where(input,textarea)::placeholder{color:#7b7c81!important;opacity:1}
:where(.btn.primary,button.primary,a.primary),.shell .primary,.shell .stage>main.page .primary{background:#26272a!important;border-color:#26272a!important;color:#fff!important}
:where(.btn.primary,button.primary,a.primary):hover,.shell .stage>main.page .primary:hover{background:#101113!important;border-color:#101113!important}
:where(thead,.base-head,.people-row.head,.esign-row.head,.document-library-head,.pr-table-head){background:#f5f5f6;color:#696b70}
:where(.tabs,.ph-tabs,.es-tabs,.library-tabs) :where(button,a){color:#696b70}
:where(.tabs,.ph-tabs,.es-tabs,.library-tabs) :where(.active,[aria-selected=true],[aria-current=page]){color:#202124;border-color:#45464b}
:where(dialog,.modal-back){--teal:#26272a;--focus:#52545a}
dialog::backdrop,.modal-back{background:#20212454}
.save-state:empty{display:none}
/* Identical 246px navigation rail and 76px header, including native editors. */
.sidebar:has(.property-navigation),.shell>.main-nav:has(.property-navigation){box-sizing:border-box;width:246px;padding:26px 14px 16px;background:#fff;border-right:1px solid #e5e5e7!important;display:flex;flex-direction:column}
.shell>.main-nav .brand{flex:none;min-height:0;height:auto;padding:0 12px;margin:0 0 26px}
.sidebar .wordmark,.property-native-brand{min-height:80px;display:flex;align-items:flex-start}
.sidebar .agency-logo,.sidebar .delegate-logo,.shell .property-native-brand img{width:auto;max-width:194px;max-height:80px;object-fit:contain}
.shell>.main-nav nav:has(.property-navigation){margin:0;min-height:0;flex:1;overflow:auto;padding:0 0 10px}
.shell>.main-nav .sidebar-foot{margin-top:auto;padding-top:8px}
.shell>.main-nav .sidebar-foot .nav-link{width:100%;display:flex;align-items:center;gap:13px;padding:11px 12px;min-height:40px;font:500 12px Inter,Arial,sans-serif;background:transparent;border:0;color:#696b70;text-align:left;box-shadow:none}
.shell>.main-nav .sidebar-foot svg{width:18px;height:18px}
.property-navigation{color:#626368}.property-navigation .pn-search{background:#fafafa;border-color:#e5e5e7;color:#85868b}.property-navigation input{color:#202124}
.property-navigation .pn-parent>.pn-link>svg{color:#85868b}.property-navigation .pn-active{background:#ededee;color:#202124}.property-navigation .pn-link:hover,.property-navigation .pn-expand:hover{background:#f4f4f5;color:#202124}.pn-children{border-color:#e5e5e7}
.property-topbar,.shell .stage>header.property-topbar{box-sizing:border-box;display:flex;align-items:center;gap:30px;height:76px;min-height:76px;padding:0 32px;background:#fff;border-bottom:1px solid #e5e5e7;position:relative}
.property-topbar .agency-name{display:flex;align-items:center;gap:10px;flex:0 1 auto;max-width:235px;min-width:0;font:600 12px/20px Inter,Arial,sans-serif;color:#202124;text-decoration:none}
.property-topbar .agency-name svg{width:16px;height:16px;flex:none}
.property-topbar .property-header-actions,.shell .stage>header .property-header-actions{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.property-topbar .search-global,.shell .stage>header .property-header-actions .search{box-sizing:border-box;display:flex;align-items:center;gap:10px;flex:1;max-width:520px;min-width:0;width:auto;height:42px;min-height:42px;margin:0 auto 0 0;padding:0 14px;background:#f5f5f6;border:0;border-radius:7px;color:#696b70}
.property-topbar .search-global input,.shell .stage>header .property-header-actions .search input{box-sizing:border-box;background:transparent;border:0;box-shadow:none;outline:0;width:100%;min-width:0;padding:0;margin:0;font:400 12px Inter,Arial,sans-serif;color:#202124}
.property-topbar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.property-topbar .icon-btn,.property-topbar .notification-button,.shell .stage>header .property-header-actions>.icon-btn,.shell .stage>header .property-header-actions>.notification-button{display:inline-grid;place-items:center;position:relative;width:38px;height:38px;min-width:38px;min-height:38px;flex:0 0 38px;padding:0;border:0;border-radius:7px;background:transparent;color:#696b70;box-shadow:none}
.property-topbar .notification-button b{position:absolute;top:0;right:0;background:#26272a;color:#fff;border-radius:12px;font:600 10px Inter,sans-serif;padding:2px 4px}
.property-topbar .icon-btn:hover,.property-topbar .notification-button:hover{background:#ededee}
.property-profile{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;overflow:hidden;border-radius:50%;background:#ededee;color:#202124;font:550 12px Inter,Arial,sans-serif;text-decoration:none}
.property-profile img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.property-topbar .mobile-menu{display:none}
/* Semantics: zero is clear, positive workload is amber, overdue/high workload red. */
[data-workload=green]{background:#f0f9f2!important;border-color:#c4dfca!important}
[data-workload=amber]{background:#fff8e8!important;border-color:#ebd69a!important}
[data-workload=red]{background:#fff0ef!important;border-color:#ebc3bf!important}
[data-workload] :where(h2,strong){color:#202124}
[data-workload] :where(.icon,.lucide,.summary-icon){color:#a2a4a8!important;background:transparent!important}
.property-workload-label{display:block;color:#696b70;font:400 11px/1.5 Inter,Arial,sans-serif;margin-top:4px}
.pd-widget .pd-bar-fill{fill:#626469}.pd-widget .pd-bar-track{fill:#ededee}.pd-widget .pd-view-all,.pd-widget .pd-widget-tools,.pd-editor{background:#f5f5f6;color:#45464b}.pd-widget .pd-view-all:hover{background:#ededee}
/* Shared notifications retain visible read/error controls on Property routes. */
.workspace>.notification-panel{position:fixed;z-index:70;right:24px;top:68px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 90px);overflow:auto;background:#fff;border:1px solid #e5e5e7;border-radius:10px;box-shadow:0 12px 40px #20212420;font:400 12px Inter,Arial,sans-serif}
.workspace .notification-panel>header{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid #e5e5e7}.workspace .notification-panel>header small{display:block;color:#696b70;margin-top:5px}.workspace .notification-item{display:flex;gap:12px;padding:14px;text-decoration:none;color:#202124}.workspace .notification-item small,.workspace .notification-item time{display:block;color:#696b70;margin-top:5px}.workspace .notification-item svg{width:18px;height:18px}.workspace .notification-empty{padding:24px;color:#696b70}
@media(max-width:850px){
 .sidebar:has(.property-navigation),.shell>.main-nav:has(.property-navigation){width:270px;padding-top:52px}
 .property-topbar,.shell .stage>header.property-topbar{gap:10px;padding:0 18px}
 .property-topbar .mobile-menu{display:inline-grid}
 .property-topbar .agency-name{flex:1;max-width:none;overflow:hidden;font-size:12px}
 .property-topbar .property-header-actions,.shell .stage>header .property-header-actions{flex:0 0 auto;gap:4px}
 .property-topbar .search-global,.shell .stage>header .property-header-actions .search{display:flex;position:relative;flex:none;width:38px;min-width:38px;max-width:38px;height:38px;min-height:38px;padding:10px;background:transparent;overflow:hidden}
 .property-topbar .search-global input,.shell .stage>header .property-header-actions .search input{position:absolute;inset:0;color:transparent;width:100%;height:100%;cursor:pointer;font-size:16px}
 .property-topbar .search-global input::placeholder{color:transparent!important}
 .property-topbar .search-global:focus-within,.shell .stage>header .property-header-actions .search:focus-within{position:absolute;left:12px;right:12px;top:16px;max-width:none;width:auto;z-index:80;background:#f5f5f6}
 .property-topbar .search-global:focus-within input,.shell .stage>header .property-header-actions .search:focus-within input{padding:0 12px 0 38px;color:#202124;cursor:text}
 .property-topbar .search-global:focus-within input::placeholder{color:#7b7c81!important}
 .property-topbar .property-header-actions>a[aria-label=Support]{display:none!important}
 .property-topbar .property-native-menu{flex:0 0 38px}
}
/* Higher specificity than the native directory theme keeps controls consistent. */
html.property-native .directory-page{--directory-ink:#202124;--directory-muted:#696b70;--directory-line:#e5e5e7;--directory-divider:#ededee;--directory-surface:#f5f5f6;--directory-radius:8px}
html.property-native .shell .stage>header.property-topbar{padding-inline:32px!important;height:76px!important;min-height:76px!important}
html.property-native .shell .stage>header.property-topbar .property-header-actions>.icon-btn,html.property-native .shell .stage>header.property-topbar .property-header-actions>.notification-button{border:0!important;border-radius:7px!important;background:transparent!important;width:38px!important;height:38px!important;min-height:38px!important;flex-basis:38px!important}
html.property-native .shell .primary,html.property-native dialog .primary,html.property-native .modal-back .primary{border-radius:8px!important;background:#26272a!important;border-color:#26272a!important;color:#fff!important;min-height:40px;padding:10px 17px;font:550 12px Inter,Arial,sans-serif!important}
html.property-native .shell .stage>main:not(.esign-editor):not(.iw-guest-page){padding:28px 32px 44px}
.notification-panel .notification-tabs button[aria-selected=true]{color:#202124}.notification-panel .notification-tabs button[aria-selected=true]:after{background:#45464b}.notification-panel .notification-entry .notification-item.unread{background:#f5f5f6}
@media(max-width:850px){html.property-native .shell .stage>header.property-topbar{padding-inline:18px!important}html.property-native .shell .stage>main:not(.esign-editor):not(.iw-guest-page){padding:25px 24px 44px}}
@media(max-width:560px){html.property-native .shell .stage>main:not(.esign-editor):not(.iw-guest-page){padding-inline:18px}}
.shell .module-metrics>article:not([data-workload]),.shell .module-summary>div:not([data-workload]){background:#fff!important;border-color:#e5e5e7!important}
.shell .module-metrics>article.is-active:not([data-workload]){background:#f5f5f6!important;border-color:#a8a9ae!important}
.shell .status:not(.good):not(.urgent):not(.warn){background:#ededee;color:#626368}
.workspace>.property-topbar{padding-inline:32px!important}
@media(min-width:1600px){.workspace>.property-topbar,html.property-native .shell .stage>header.property-topbar{padding-inline:42px!important}.workspace>main.stage,html.property-native .shell .stage>main:not(.esign-editor):not(.iw-guest-page){padding-inline:42px}}
@media(max-width:850px){.workspace>.property-topbar{padding-inline:18px!important}}
body :is(button,a,input,select,textarea):focus-visible{outline:2px solid #696b70!important;outline-offset:3px;box-shadow:none!important}
.pd-heading h1{font-size:26px;font-weight:650;line-height:1.25;letter-spacing:-.7px}
.sidebar .wordmark>.agency-logo,.sidebar .wordmark>.delegate-logo{margin:0}
