/* Event-on Navy Classic. Screen-only presentation; business state belongs to the original app. */
@font-face{font-family:"Eventon UI";src:url('/brand-font/GmarketSansTTFMedium.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Eventon UI";src:url('/brand-font/GmarketSansTTFLight.ttf') format('truetype');font-weight:300;font-style:normal;font-display:swap}
:root{color-scheme:light;--bg:#f3f1ea;--panel:#fffef9;--panel2:#f1f3f0;--line:#d9ddd5;--text:#293d4d;--muted:#64717b;--accent:#304b64;--accent2:#46677f;--gold:#856333;--gold2:#a78650;--good:#346047;--warn:#875c23;--bad:#a13e3d;--blue:#315b87;--shadow:0 5px 22px rgba(40,54,66,.035);--radius:12px;--ui-sidebar:240px;--ui-paper:#fffef9;--ui-soft:#eaf0f2;--ui-gold:#a78650;--ui-ink:#293d4d}
html{font-size:16px;scroll-padding-top:110px}html,body{margin:0;min-height:100%;background:#f3f1ea!important;background-image:none!important;color:var(--text)!important;line-height:1.65}
html body,html body :where(button,input,select,textarea,table,label,h1,h2,h3,h4,h5,p,a,b,strong,small,span,summary){font-family:"Eventon UI","Malgun Gothic",sans-serif!important}
html body :where(button,input,select,textarea,table,label,b,strong,th){font-weight:400!important}html body :where(h1,h2){font-weight:300!important}
body :where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #54748f!important;outline-offset:3px}body :where(input,select,textarea):focus{box-shadow:0 0 0 3px #304b6414!important;border-color:#668196!important}
body :where(button,input,select,textarea){font-size:14px}body :where(button,a){touch-action:manipulation}body :where(button):disabled{cursor:not-allowed}body :where(button):hover{transform:none!important}
.hidden,.field-hidden{display:none!important}.ui-skip{position:fixed;left:10px;top:-100px;z-index:10001;padding:10px 16px;background:var(--panel);border:1px solid var(--line);border-radius:8px}.ui-skip:focus{top:10px}
.app-shell{display:flex;min-height:100dvh}.sidebar{width:var(--ui-sidebar)!important;position:fixed!important;inset:0 auto 0 0!important;z-index:40;background:var(--panel)!important;border-right:1px solid var(--line)!important;padding:25px 15px 18px!important;display:flex!important;flex-direction:column;gap:0;backdrop-filter:none!important;overflow:hidden}
.sidebar .brand{padding:3px 10px 27px!important;gap:11px;min-height:90px;align-items:flex-start}.brand strong,.brand>div>strong,.staff-brand-row b{font-family:Georgia,"Eventon UI",serif!important;font-size:27px!important;letter-spacing:-.5px!important;line-height:1.2;font-weight:400!important;color:var(--text)!important}
.brand span,.staff-brand-row span{color:var(--muted)!important;font-size:12px!important;line-height:1.6}.brand-mark.official-logo,.staff-brand-mark.official-logo,.logo{background-color:transparent!important;background-image:url('/eventon-logo.svg')!important;background-size:100%!important;border:0!important;box-shadow:none!important;border-radius:0!important;flex-shrink:0}
.brand-mark.small,.compact .staff-brand-mark{width:40px!important;height:40px!important}.sidebar nav{display:flex!important;flex-direction:column!important;gap:5px!important;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#cbd1c7 transparent;padding:3px 2px 20px}
.sidebar .nav-item,#cnav .nav-item{border:0!important;background:transparent!important;color:var(--text)!important;min-height:44px;padding:11px 13px!important;font-size:14px!important;font-weight:400!important;border-radius:8px;gap:10px;align-items:center;white-space:normal;line-height:1.5}
.sidebar .nav-item:hover,#cnav .nav-item:hover{background:var(--ui-soft)!important}.sidebar .nav-item.active,#cnav .nav-item.active{background:var(--accent)!important;color:#fff!important;box-shadow:none!important}
.sidebar .nav-item>span:first-child{display:inline-flex;justify-content:center;align-items:center;width:21px;flex:0 0 21px;color:inherit!important}.sidebar .nav-item.active svg{color:#e1c78f}
.ui-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:0 0 auto}.ui-icon svg{height:21px;width:21px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none;pointer-events:none}
.ui-nav-group{border:0;margin:1px 0}.ui-nav-group>summary{position:relative;display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:8px;list-style:none;cursor:pointer;font-size:15px;color:var(--text);min-height:47px;line-height:1.5;font-weight:400}
.ui-nav-group>summary::-webkit-details-marker{display:none}.ui-nav-group>summary:after{content:'';width:6px;height:6px;border-right:1px solid var(--muted);border-bottom:1px solid var(--muted);transform:rotate(45deg);margin-left:auto;margin-right:2px;transition:transform .15s}.ui-nav-group[open]>summary:after{transform:rotate(225deg)}
.ui-nav-group[open]>summary,.ui-nav-group>summary:hover{background:#eef1ed}.ui-nav-group[data-active=true]>summary{color:var(--accent);background:var(--ui-soft)}.ui-nav-items{margin:5px 0 9px 12px;padding-left:8px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:3px}.ui-nav-items>.nav-item{width:100%;font-size:13px!important;padding:9px 10px!important;min-height:42px}
.ui-original-sections,.ui-empty-group{display:none!important}.sidebar-foot{margin-top:0!important;border-top:1px solid var(--line)!important;padding:14px 9px 0!important;gap:9px!important;flex-shrink:0}.sidebar-foot small{font-size:11px!important;color:var(--muted)!important}.current-user-label{border:0!important;background:#f0f2ec!important;color:var(--text)!important;padding:9px 11px!important;border-radius:8px!important;font-size:13px}
.current-user-label b{font-size:13px!important;color:var(--text)!important}.current-user-label span{font-size:12px!important;color:var(--muted)!important}.ui-brand-credit{padding:15px 2px 2px}.ui-brand-credit img{width:142px;max-width:90%;height:auto;display:block}.ui-brand-credit p{font-size:10px;color:var(--muted);margin:7px 0 0}
.main{margin-left:var(--ui-sidebar)!important;width:calc(100% - var(--ui-sidebar))!important;min-width:0;max-width:none;padding:25px 30px 55px!important;background:transparent!important}.topbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 0 21px;margin-bottom:25px!important;gap:20px;min-height:86px}.topbar h2{font-size:27px!important;letter-spacing:-.7px;line-height:1.4}.eyebrow{font-size:11px!important;letter-spacing:.15em!important;color:var(--gold)!important;margin-bottom:5px}.top-right{min-width:0;max-width:68%;gap:10px}.top-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.top-actions .btn{font-size:13px!important;min-height:38px;padding:8px 11px!important}.session-bar{gap:10px}.session-pill,.company-user-badge,.staff-connection{background:#edf3eb!important;border:1px solid #c3d1bf!important;color:#346047!important;border-radius:99px!important;box-shadow:none!important;font-size:12px!important;min-height:31px}.session-pill b{color:#346047!important;font-size:12px!important}.session-dot,.staff-connection i{background:#4c8051!important;box-shadow:none!important}.session-logout,.staff-logout-fixed{min-height:32px!important;font-size:12px!important;padding:6px 10px!important}
.btn,.btnx,.staff-btn,.ghost-btn{border-radius:8px!important;box-shadow:none!important;border:1px solid #cbd3cf!important;background:var(--panel)!important;color:var(--text)!important;font-size:14px!important;font-weight:400!important;min-height:42px;line-height:1.5;transition:background .15s,border-color .15s}
.btn.primary,.btnx.gold,.staff-btn.primary{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}.btn.soft,.btnx,.staff-btn.ghost,.ghost-btn{background:var(--panel)!important;color:var(--accent)!important;border-color:#cbd3cf!important}.btn.good,.staff-btn.good{background:#edf3e9!important;color:#346047!important;border-color:#b8cdb8!important}.btn.danger,.btnx.danger,.staff-btn.danger{background:#f9ede9!important;color:var(--bad)!important;border-color:#ddbab3!important}.btn.small,.btnx.mini,.staff-btn.small{min-height:36px;font-size:13px!important;padding:7px 10px!important}.btn:disabled,.btnx:disabled,.staff-btn:disabled{opacity:.5;filter:grayscale(.3)}.btn.full,.staff-btn.full{width:100%}
.password-toggle{color:var(--accent)!important;border-color:var(--line)!important;background:#f1f3ee!important;font-size:12px!important;min-height:30px;padding:5px 8px!important;box-shadow:none!important}.password-input-wrap input{padding-right:65px!important}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),body select,body textarea{font-size:14px!important;font-weight:400!important;color:var(--text)!important;background-color:var(--panel)!important;border-color:#bfc9c5!important;border-radius:8px!important;min-height:42px;max-width:100%;box-shadow:none;line-height:1.5}
body input::placeholder,body textarea::placeholder{color:#738087!important;opacity:1}body select{appearance:none!important;padding-right:32px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2364717b' stroke-width='1.5'/%3E%3C/svg%3E")!important;background-position:right 12px center!important;background-size:12px 8px!important;background-repeat:no-repeat!important}
input[type=checkbox],input[type=radio]{accent-color:var(--accent)!important;min-height:0;box-shadow:none!important}input[type=file]{font-size:13px!important;border-color:#bfc9c5!important;background:#f5f6f0!important;color:var(--text)!important;border-radius:8px;padding:9px;max-width:100%}input[type=file]::file-selector-button{font:inherit;border:1px solid var(--line);background:var(--panel);color:var(--accent);padding:6px 10px;border-radius:6px;margin-right:9px}input[readonly],textarea[readonly]{background:#f0f3ed!important;color:#52616b!important}textarea{line-height:1.8!important}
.form-group label,.formgrid label,.form-grid label,.company-part-row .field label,.staff-form label,.external-form label{color:var(--muted)!important;font-size:14px!important;font-weight:400!important;line-height:1.6}.help,.small,.sub,.muted,.row-sub,.subtle,.staff-muted{font-size:13px!important;color:var(--muted)!important;line-height:1.65}.field,.form-group,.formgrid>*,.form-grid>*{min-width:0}.form-grid,.formgrid,.staff-two-col,.staff-three-col{gap:16px!important}.form-group.full,.formgrid .full{min-width:0}
.panel,.panelx,.staff-card,.card,.company-part-row,.facility-card,.event-card,.profile-editor,.file-box,.user-admin-card,.recruit-account-card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:var(--shadow)!important;backdrop-filter:none!important;border-radius:var(--radius)!important;color:var(--text)!important}
.panel,.panelx{margin-bottom:18px}.panel-head,.panelx>header{padding:18px 21px!important;background:transparent!important;border-color:var(--line)!important;gap:12px;flex-wrap:wrap}.panel-head h3,.panelx>header h3{font-size:18px!important;letter-spacing:-.4px;color:var(--text)!important}.panel-head .sub{font-size:13px!important;line-height:1.65}.panel-body,.panelx>.body{padding:20px 21px!important;min-width:0}.panel.inset{background:#f6f7f1!important}.toolbar,.filter-bar,.staff-filters{gap:10px!important;align-items:end}.toolbar{flex-wrap:wrap}.toolbar .search,.worker-db-toolbar .search{max-width:100%}.two-col{gap:20px!important;min-width:0}.two-col>*{min-width:0}.grid{gap:16px!important}
.grid.stats,.grid-kpi{gap:14px!important;margin-bottom:23px!important}.stat,.grid-kpi>.kpi,.team-kpi,.history-stats>div,.external-kpis>div{background:var(--panel)!important;border:1px solid var(--line)!important;border-top:2px solid #b99a63!important;border-radius:11px!important;padding:20px!important;box-shadow:none!important;color:var(--text)!important;min-width:0}
.stat .num,.grid-kpi>.kpi>b,.team-kpi>b,.history-stats>div>b,.external-kpis>div>b{font-size:30px!important;font-weight:300!important;letter-spacing:-.5px;color:var(--accent)!important;line-height:1.5;font-variant-numeric:tabular-nums}.stat .label,.kpi>small,.team-kpi>span{font-size:14px!important;color:var(--muted)!important}.stat .hint,.team-kpi>small{font-size:13px!important;line-height:1.6;color:var(--muted)!important}.stat.attn .num{color:var(--warn)!important}.stat.good .num{color:var(--good)!important}
.table-wrap,.table-scroll,.ui-table-scroll,.external-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y;scrollbar-width:thin;scrollbar-color:#b9c4c7 #f4f5ef}.ui-table-scroll:focus-visible{outline:2px solid #54748f;outline-offset:-2px}.table,.tablex,.external-table{color:var(--text)!important;font-size:14px!important}.table th,.tablex th,.external-table th{background:#eef1ed!important;color:var(--accent)!important;border-color:var(--line)!important;font-size:14px!important;font-weight:400!important;padding:13px 14px!important;line-height:1.6}
.table td,.tablex td,.external-table td{font-size:14px!important;font-weight:400!important;padding:14px!important;border-color:#e1e4dc!important;line-height:1.7;color:var(--text)}.table tbody tr:hover td,.tablex tbody tr:hover td{background:#f5f6f0!important}.table .name-cell,.person-name-wrap,.person-link{font-size:15px!important;color:var(--text)!important}.table th.right,.table td.right,.right{font-variant-numeric:tabular-nums}.table b,.table strong,.tablex b{font-weight:400!important}.table tfoot td,.tax-total td{background:#eaf0ef!important;color:var(--accent)!important}.ui-wide-table{min-width:760px}.ui-scroll-cue{font-size:12px!important;color:var(--muted);margin:0;padding:9px 14px;border-bottom:1px solid var(--line);display:none}.table-wrap:has(.facility-matrix){border-radius:9px;border:1px solid var(--line)}
.badge,.staff-badge,.affiliation-badge,.status-pill,.ops-tag{background:#eef1ed!important;border:1px solid #c9d2c7!important;color:#4b6253!important;font-size:12px!important;font-weight:400!important;line-height:1.5;padding:4px 8px!important;border-radius:6px!important;box-shadow:none!important}.badge.good,.staff-badge.good,.staff-badge.event{background:#edf4e9!important;color:#346047!important;border-color:#bed0b8!important}.badge.bad,.staff-badge.bad{background:#faece8!important;color:#a13e3d!important;border-color:#dfbab2!important}.badge.warn,.staff-badge.warn{background:#faf1dd!important;color:#875c23!important;border-color:#ddcda5!important}.badge.blue,.staff-badge.facility{background:#eaf1f7!important;color:#315b87!important;border-color:#becddd!important}
.warning,.staff-warning,.staff-notice,.notice,.tenant-banner,.locked-box,.company-lock-note{border-color:#d7c69e!important;background:#f9f2e2!important;color:#765b2e!important;font-size:14px!important;line-height:1.75;border-radius:10px!important}.staff-error,.error-text,.form-error,.msg.bad{color:#a13e3d!important;font-size:14px!important;background:#fbf1ed!important;border-color:#dfbab2!important}.error-text:empty,.staff-error:empty{background:transparent!important}.empty,.staff-empty,.ops-empty{color:var(--muted)!important;font-size:14px!important;line-height:1.8;padding:35px 18px!important}.empty b{font-weight:400!important}
.tabs,.subtabs,.sub-tabs,.tabbar,.worker-type-tabs{gap:10px!important;border-color:var(--line)!important}.tab,.tab-btn,.tabs button,.subtabs button,.sub-tabs button,.tabbar button,.worker-type-tabs button{background:transparent!important;color:var(--muted)!important;border-color:var(--line)!important;box-shadow:none!important;font-size:14px!important;font-weight:400!important;min-height:40px;border-radius:7px!important}.tab.active,.tab-btn.active,.tabs button.active,.subtabs button.active,.sub-tabs button.active,.worker-type-tabs button.active{background:var(--ui-soft)!important;color:var(--accent)!important;border-color:#9db1bd!important}
.modal-backdrop,.staff-modal-backdrop,.staff-modal-layer,.external-modal-layer,.portal-notice-layer,.cc-backdrop,.modalx{background:rgba(32,47,59,.35)!important;backdrop-filter:blur(3px)!important}.modal,.modal-cardx,.staff-modal,.portal-notice-card,.cc-dialog{background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:0 22px 80px #23354426!important;backdrop-filter:none!important;border-radius:16px!important;color:var(--text)!important;max-height:calc(100dvh - 40px);overscroll-behavior:contain}.modal{width:min(1060px,96vw)}.modal:has(.event-part-row),.modal-cardx:has(.event-company-part){width:min(1300px,96vw)}
.modal-head,.staff-modal-head,.external-modal .staff-modal-head{background:var(--panel)!important;border-color:var(--line)!important;padding:20px 23px!important;gap:12px;color:var(--text)!important}.modal-head h3,.staff-modal-head h3,.portal-notice-card h2{font-size:22px!important;font-weight:300!important;letter-spacing:-.5px;line-height:1.5}.modal-body,.staff-modal-body{padding:22px 23px!important;color:var(--text)!important}.modal-actions,.staff-modal-actions{border-color:var(--line)!important;gap:9px!important;flex-wrap:wrap}.modal-close,.staff-modal-close,.portal-notice-x{background:#eff2ec!important;color:var(--accent)!important;border-color:var(--line)!important;min-height:36px;min-width:36px;font-size:23px!important}.portal-notice-card{padding:28px}.portal-notice-card:before{background:#b69a66!important}.portal-notice-kicker{color:var(--gold)!important;font-size:12px!important}.portal-notice-message{background:#f4f6ef!important;color:var(--text)!important;border-color:var(--line)!important;font-size:16px!important}.portal-notice-period{color:var(--muted)!important;font-size:13px!important}
.toast-root,.staff-toast-root{z-index:12000}.toast,.staff-toast{font-size:14px!important;line-height:1.7;background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important;border-radius:10px!important;box-shadow:0 8px 25px #263b4c21!important}.toast.bad,.staff-toast.bad{background:#8e3e3b!important;color:#fff!important}.toast.warn{background:#7a6037!important;color:#fff!important}
.ops-dashboard{gap:19px!important}.ops-command{background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;padding:10px 0 26px!important;min-height:154px!important;overflow:visible!important}.ops-command:after{display:none!important}.ops-command h3{font-size:31px!important;font-weight:300!important;line-height:1.55;color:var(--text)!important;letter-spacing:-1px!important;margin:7px 0!important}.ops-command p{font-size:14px!important;color:var(--muted)!important;line-height:1.7}.ops-live{font-size:12px!important;letter-spacing:.13em!important;color:var(--accent)!important}.ops-live i{display:none!important}.ops-clock{min-width:140px;padding:13px 17px;border-left:1px solid #cbb78e;gap:5px 12px}.ops-clock small{font-size:11px!important;color:var(--gold)!important;letter-spacing:.1em!important}.ops-clock b{color:var(--accent)!important;font-family:Georgia,serif!important;font-size:38px!important;font-weight:400!important}.ops-clock span{font-size:11px!important;color:var(--muted)!important}
.ops-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:13px!important}.ops-kpi{border:1px solid var(--line)!important;border-top:2px solid #b79a66!important;background:var(--panel)!important;color:var(--text)!important;min-height:112px!important;border-radius:11px!important;padding:16px 18px!important;box-shadow:none!important}.ops-kpi span{color:var(--muted)!important;font-size:14px!important;font-weight:400!important;letter-spacing:0!important}.ops-kpi b{color:var(--accent)!important;font:400 30px/1.5 Georgia,serif!important;margin-top:4px!important}.ops-kpi small{font-size:11px!important;font-weight:300!important;color:var(--muted)!important;letter-spacing:.04em!important}.ops-kpi.alert{border-top-color:#a86848!important}.ops-kpi.alert b{color:#8f4e34!important}
.ops-columns{gap:20px!important}.ops-board{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:12px!important}.ops-board>header{padding:20px!important;background:transparent!important;border-color:var(--line)!important}.ops-board h4{font-size:18px!important;font-weight:400!important;color:var(--text)!important}.ops-code{font-size:11px!important;color:var(--gold)!important;letter-spacing:.13em!important}.ops-board>header button{background:var(--panel)!important;color:var(--accent)!important;border-color:var(--line)!important;border-radius:7px!important;min-height:36px;font-size:13px!important;font-weight:400!important;padding:7px 12px!important}.ops-list{padding:6px 20px 12px!important}.ops-row{grid-template-columns:5px minmax(0,1fr) auto auto!important;padding:19px 0!important;border-color:#e4e6df!important;gap:13px!important;color:var(--text)!important;min-height:80px}.ops-row:hover{background:#f2f5ee!important;border-radius:7px}.ops-main b{font-size:16px!important;font-weight:400!important;color:var(--text)!important}.ops-main small{font-size:13px!important;color:var(--muted)!important;margin-top:5px!important}.ops-data b{font-size:16px!important;font-weight:400!important;color:var(--accent)!important}.ops-data small{font-size:11px!important;color:var(--muted)!important}.ops-signal{box-shadow:none!important}.ops-signal.cyan,.ops-signal.green{background:#5d7a67!important}.ops-signal.amber,.ops-signal.gold{background:#ab7044!important}.ops-more{font-size:13px!important;color:var(--muted)!important}
.ui-welcome{padding:5px 0 22px;margin:0 0 21px;border-bottom:1px solid var(--line)}.ui-welcome p{font-size:12px;color:var(--gold);letter-spacing:.12em;margin:0 0 8px}.ui-welcome h2{font-size:30px;line-height:1.6;letter-spacing:-.9px;margin:0}.ui-welcome small{display:block;font-size:14px!important;color:var(--muted);margin-top:7px}
.event-card{padding:22px!important;gap:15px}.event-card h4{font-size:18px!important;line-height:1.6;color:var(--text)!important}.event-meta{font-size:14px!important;gap:10px!important;color:var(--muted)!important;line-height:1.8}.event-meta>span{display:inline-flex;align-items:center;gap:6px}.event-meta .ui-icon svg{width:17px;height:17px}.event-right .countdown{font-size:16px!important}.person-avatar{background:#eaf0ed!important;border-color:var(--line)!important;color:var(--accent)!important}.profile-editor{padding:18px!important}.file-chip{background:#f1f4ee!important;border-color:var(--line)!important;color:var(--text)!important;font-size:13px!important}.file-chip .file-name{color:var(--text)!important}.file-chip a{color:var(--accent)!important}.file-chip .worker-file-delete{color:var(--bad)!important}
.facility-matrix th,.facility-matrix td{border-color:var(--line)!important}.facility-matrix th{font-size:14px!important;background:#f0f2ed!important}.facility-matrix .sticky-info{background:var(--panel)!important}.facility-day{background:#f5f6ef!important;border-color:#d0d7ca!important;color:var(--text)!important;min-height:39px}.facility-day.recruiting{background:#fae9e3!important;border-color:#c4826e!important;color:#a13e3d!important;box-shadow:none!important}.facility-day.recruited{background:#edf4e8!important;border-color:#a7c19e!important;color:#346047!important}.facility-day.unassigned{background:#faf3e4!important;border-color:#d8c79d!important;color:#795c2d!important}.facility-status-mini{font-size:11px!important;color:inherit!important;font-weight:400!important}
.facility-date-saturday,.calendar-weekdays>*:nth-child(7),.staff-calendar-day.saturday{color:#315b87!important}.facility-date-sunday,.facility-date-holiday,.calendar-weekdays>*:first-child,.staff-calendar-day.sunday,.staff-calendar-day.holiday{color:#a13e3d!important}.facility-matrix th.facility-date-saturday{color:#315b87!important}.facility-matrix th.facility-date-sunday,.facility-matrix th.facility-date-holiday{color:#a13e3d!important}.calendar-cell,.staff-calendar-day,.history-chart,.team-dash-row,.staff-meta-box,.staff-profile-row,.external-quick-grid>div{background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important}.calendar-cell.today,.staff-calendar-day.today{outline-color:#8ba3b4!important;background:#edf2f3!important}.calendar-event,.staff-calendar-event{background:#edf3ed!important;color:var(--accent)!important;border-color:#bfcebc!important;font-size:12px!important}.calendar-event b{font-size:12px!important}.work-calendar{border-color:var(--line)!important}
.weekday-mini span,.weekday-chip span,.staff-segmented span{background:#f7f8f1!important;border-color:#cbd3c6!important;color:var(--muted)!important;font-size:13px!important}.weekday-mini input:checked+span,.weekday-chip input:checked+span,.staff-segmented input:checked+span{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}.part-rate-box label{background:#f5f7f0!important}.part-rate-box label.personal{border-color:#9aafc5!important}.part-rate-box label.team{border-color:#bda675!important}.part-rate-box label.personal span{color:var(--blue)!important}.part-rate-box label.team span{color:var(--gold)!important}.part-rate-box label input{background:transparent!important}.company-part-row{padding:18px!important}.permission-grid label,.user-admin-card,.recruit-account-card{font-size:14px!important;line-height:1.7}.permission-grid input{accent-color:var(--accent)!important}
.login-screen,.staff-auth,.page{background:transparent!important;min-height:100dvh;padding:35px 20px!important}.login-card,.staff-auth-card,.page>.card{background:var(--panel)!important;border:1px solid #d8d8c9!important;box-shadow:0 12px 50px #394f5910!important;border-radius:20px!important;padding:33px!important;backdrop-filter:none!important}.login-card{width:min(570px,100%)}.login-card h1{font-family:Georgia,"Eventon UI",serif!important;font-size:34px!important;font-weight:400!important;color:var(--text)!important;line-height:1.5}.login-card p{font-size:14px!important;line-height:1.8;color:var(--muted)!important}.login-card label{font-size:14px!important;font-weight:400!important;color:var(--muted)!important}.login-help{font-size:13px!important;line-height:1.8!important;color:var(--muted)!important}.entry-recovery a,.staff-auth-links button,.links a{font-size:13px!important;color:var(--accent)!important}.entry-login-grid,.entry-signup-grid{gap:8px!important}.staff-auth:before,.staff-shell:before{display:none!important}.staff-brand-row:not(.compact){margin-bottom:24px}.staff-auth-card{max-width:880px}.staff-auth-card:has(#authLoginPane:not(.hidden)){width:min(520px,100%)}.staff-form label small{font-size:12px!important;color:var(--muted)!important;line-height:1.7}.signup-role-grid label{background:#f8f8f1!important;border-color:var(--line)!important;color:var(--text)!important;padding:12px!important;font-size:14px!important}.signup-role-grid label:has(input:checked){background:var(--ui-soft)!important;border-color:#8ca6b7!important;box-shadow:none!important}.signup-subhead,.staff-subhead{font-size:14px!important;color:var(--accent)!important}.team-search-results{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:var(--shadow)!important}.team-search-result{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important;font-size:14px!important}.team-search-result:hover{background:var(--ui-soft)!important}.team-search-result span{font-size:12px!important;color:var(--muted)!important}
.staff-shell{min-height:100dvh}.staff-topbar{position:sticky!important;top:0;z-index:35;min-height:92px;padding:20px 30px 20px calc(var(--ui-sidebar) + 30px)!important;background:var(--panel)!important;border-bottom:1px solid var(--line)!important;backdrop-filter:none!important}.staff-topbar .staff-brand-row.compact{position:fixed;left:24px;top:27px;z-index:42;width:196px;gap:10px}.staff-topbar .staff-user{margin-left:auto;gap:14px;align-items:center}.staff-user b{font-size:15px!important;font-weight:400!important;color:var(--text)!important}.staff-user span{font-size:12px!important;color:var(--muted)!important}
.staff-nav{position:fixed!important;inset:0 auto 0 0!important;z-index:30;width:var(--ui-sidebar)!important;max-width:none!important;margin:0!important;padding:125px 15px 100px!important;display:flex!important;flex-direction:column;gap:7px!important;overflow:auto;background:var(--panel)!important;border-right:1px solid var(--line)!important;backdrop-filter:none!important}
.staff-nav button{display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left;min-height:45px;flex-shrink:0;padding:12px 14px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--text)!important;font-size:14px!important;font-weight:400!important;line-height:1.6}.staff-nav button.active{background:var(--accent)!important;color:#fff!important}.staff-nav button.active .ui-icon{color:#e1c78f}.staff-nav button .staff-notification-count{margin-left:auto;color:#fff!important;background:#9b4e40!important;min-width:20px}
.staff-main{margin:0 0 0 var(--ui-sidebar)!important;max-width:none!important;width:calc(100% - var(--ui-sidebar))!important;padding:29px 30px 55px!important;min-width:0}.staff-section-head{align-items:flex-start;gap:16px;margin-bottom:24px!important}.staff-section-head h2{font-size:28px!important;letter-spacing:-.7px;line-height:1.5}.staff-section-head p{font-size:14px!important;line-height:1.7;color:var(--muted)!important;margin-top:7px!important}.staff-card{padding:21px!important}.staff-card h3{font-size:19px!important;font-weight:400!important;line-height:1.6}.staff-card .sub,.staff-card-note{font-size:14px!important;line-height:1.8;color:var(--muted)!important}.staff-card-meta{gap:12px!important;margin:17px 0!important}.staff-meta-box{padding:12px!important}.staff-meta-box span{font-size:12px!important;color:var(--muted)!important}.staff-meta-box b{font-size:14px!important;color:var(--text)!important}.staff-card-actions{gap:9px!important;margin-top:17px!important;flex-wrap:wrap}.staff-card-list{gap:18px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.team-dashboard-columns{gap:20px!important}.team-dashboard-grid{gap:15px!important;margin-bottom:22px!important}.team-dash-head{padding:17px 19px!important;border-color:var(--line)!important}.team-dash-head b{font-size:18px!important;color:var(--text)!important}.team-dash-head span{font-size:13px!important;color:var(--muted)!important}.team-dash-row{padding:17px 5px!important;border-color:var(--line)!important}.team-dash-row b{font-size:14px!important;color:var(--text)!important}.team-dash-row span{font-size:13px!important;color:var(--muted)!important}.staff-filter{background:var(--panel)!important;border-color:var(--line)!important;color:var(--muted)!important;font-size:14px!important;font-weight:400!important;min-height:39px}.staff-filter.active{background:var(--ui-soft)!important;color:var(--accent)!important;border-color:#9bb0bd!important}.staff-profile{max-width:880px}.staff-profile-row{padding:17px 4px!important;font-size:14px!important;line-height:1.8}.staff-profile-row span{font-size:14px!important;color:var(--muted)!important}.staff-profile-row b{font-size:14px!important;color:var(--text)!important}.staff-modal{width:min(900px,96vw)}.staff-modal.external-modal{width:min(960px,96vw)}.staff-notification-count,.notification-count{background:#9b4e40!important;color:#fff!important}.external-quick-grid{background:var(--line)!important}.external-quick-grid span{font-size:13px!important;color:var(--muted)!important}.external-quick-grid b{font-size:18px!important;color:var(--accent)!important}
.cc-shell{color:var(--text)!important}.cc-shell .cc-eyebrow{color:var(--gold)!important}.cc-shell button,.cc-backdrop button{font-size:14px!important;font-weight:400!important;min-height:40px;border-radius:8px!important}.cc-shell button.primary,.cc-backdrop button.primary,.cc-tabs button.selected{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}.cc-dialog,.cc-month,.cc-summary article,.cc-card{background:var(--panel)!important;border-color:var(--line)!important;color:var(--text)!important;box-shadow:none!important}.cc-shell label,.cc-dialog label{font-size:14px!important}.cc-heading h3{font-size:26px!important;font-weight:300!important}.cc-table th,.cc-table td{font-size:14px!important;padding:13px!important;border-color:var(--line)!important}.cc-table th{background:#eef1ed!important;color:var(--accent)!important}.cc-table td{color:var(--text)!important}
.ui-mobile-bar,.ui-mobile-menu,.ui-menu-overlay{display:none}.ui-footer-note{font-size:11px;color:var(--muted);padding:20px 0 0;border-top:1px solid var(--line);margin-top:28px}
@media(min-width:1600px){.main,.staff-main{padding-left:38px!important;padding-right:38px!important}}
@media(max-width:1250px){:root{--ui-sidebar:218px}.sidebar{padding-left:12px!important;padding-right:12px!important}.main,.staff-main{padding-left:23px!important;padding-right:23px!important}.topbar{align-items:flex-start}.top-right{max-width:64%}.ops-kpis{gap:10px!important}.ops-kpi{padding:15px 13px!important}.ops-command h3{font-size:28px!important}.staff-topbar .staff-brand-row.compact{left:18px;width:185px}.team-dashboard-columns{grid-template-columns:1fr!important}.staff-section-head{flex-wrap:wrap}}
@media(max-width:1000px) and (min-width:801px){.ops-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ops-columns,.two-col{grid-template-columns:1fr!important}.grid.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.topbar{flex-direction:column;gap:12px}.top-right{max-width:none;width:100%}.top-actions{justify-content:flex-start}.staff-card-list{grid-template-columns:1fr!important}.grid-kpi{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:800px){:root{--ui-sidebar:260px}html{scroll-padding-top:86px}body{overflow-x:clip}.app-shell{display:block}.sidebar{transform:translateX(-105%);transition:transform .18s;z-index:101;inset:0 auto 0 0!important;width:min(300px,86vw)!important;box-shadow:10px 0 30px #293d4d1a!important;padding-bottom:14px!important}.ui-menu-open .sidebar{transform:none}.sidebar .brand{min-height:88px;padding-bottom:22px!important}.sidebar-foot{display:flex!important}.sidebar .nav-item{min-height:45px;font-size:14px!important}.ui-nav-items>.nav-item{min-height:43px;font-size:14px!important}.ui-nav-group>summary{font-size:16px;min-height:49px}.sidebar .current-user-label{font-size:13px}.sidebar .ui-brand-credit{padding-top:9px}.sidebar .ui-brand-credit p{display:none}.sidebar .ui-brand-credit img{width:120px}.main{margin-left:0!important;width:100%!important;padding:17px 16px 98px!important}.topbar{min-height:68px;align-items:flex-start;flex-wrap:wrap;gap:12px;padding:0 0 18px 46px!important;margin-bottom:20px!important}.topbar h2{font-size:23px!important;line-height:1.5}.eyebrow{font-size:9px!important;letter-spacing:.08em!important}.top-right{width:100%;max-width:none;margin-left:-46px}.session-bar{justify-content:flex-start;gap:8px;flex-wrap:wrap}.session-pill{flex:none!important}.top-actions{display:flex!important;flex-wrap:wrap;justify-content:flex-start;gap:7px!important}.top-actions .btn{font-size:13px!important;min-height:36px;padding:7px 10px!important}.ui-mobile-menu{position:fixed;display:flex;align-items:center;justify-content:center;width:38px;height:38px;left:15px;top:20px;z-index:60;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--accent)}.ui-mobile-menu.hidden{display:none!important}
.ui-mobile-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:70;border-top:1px solid var(--line);background:var(--panel);padding:7px 5px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 15px #293d4d04;min-height:67px}.ui-mobile-bar button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;background:transparent;border:0;color:var(--muted);font-size:11px!important;padding:4px 2px;min-height:49px;line-height:1.5}.ui-mobile-bar button.active{color:var(--accent)}.ui-mobile-bar .ui-icon svg{height:21px;width:21px}.ui-menu-open .ui-menu-overlay{display:block;position:fixed;inset:0;z-index:100;background:rgba(32,47,59,.35);border:0;width:100%;height:100%;padding:0}.ui-menu-open{overflow:hidden}.ui-menu-open .ui-mobile-bar{pointer-events:none}.ui-menu-open .ui-mobile-menu{z-index:102;left:min(260px,73vw);top:17px;width:34px;height:34px}
.ops-command{min-height:139px!important;padding:5px 0 20px!important;display:block!important}.ops-command h3{font-size:26px!important;letter-spacing:-.8px!important;line-height:1.6!important;word-break:keep-all}.ops-command p{display:block!important;font-size:13px!important;line-height:1.7!important;word-break:keep-all}.ops-clock{display:none!important}.ops-live{font-size:11px!important}.ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}.ops-kpi{min-height:105px!important;padding:14px!important}.ops-kpi span{font-size:14px!important}.ops-kpi b{font-size:30px!important}.ops-kpi small{font-size:10px!important}.ops-kpi:last-child:nth-child(odd){grid-column:1/-1;display:flex;align-items:center;gap:15px;min-height:69px!important}.ops-kpi:last-child:nth-child(odd) small{margin-left:auto}.ops-columns,.two-col,.team-dashboard-columns{grid-template-columns:1fr!important;gap:17px!important}.ops-board>header{padding:17px!important}.ops-board h4{font-size:17px!important}.ops-list{padding:4px 16px 9px!important}.ops-row{gap:9px!important;min-height:79px;padding:17px 0!important}.ops-main b{font-size:15px!important}.ops-main small{font-size:12px!important}.ops-data b{font-size:15px!important}.ops-data small{font-size:10px!important}.ops-tag{font-size:11px!important;padding:4px 6px!important}.ops-code{font-size:10px!important}
.panel-head,.panelx>header{padding:16px!important;align-items:flex-start}.panel-head h3,.panelx>header h3{font-size:17px!important}.panel-body,.panelx>.body{padding:16px!important}.panel-head .sub{font-size:12px!important}.panel{margin-bottom:16px}.grid.stats,.grid.stats.six,.grid-kpi{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}.stat,.grid-kpi>.kpi,.team-kpi,.history-stats>div,.external-kpis>div{padding:15px!important}.stat .num,.grid-kpi>.kpi>b,.team-kpi>b,.history-stats>div>b,.external-kpis>div>b{font-size:25px!important}.stat .label,.kpi>small,.team-kpi>span{font-size:13px!important}.stat .hint,.team-kpi>small{font-size:12px!important}.grid.stats>*,.team-dashboard-grid>*{min-width:0;overflow-wrap:anywhere}.form-grid,.formgrid,.staff-two-col,.staff-three-col,.company-part-row{grid-template-columns:1fr!important;gap:15px!important}.form-group.full,.formgrid .full{grid-column:auto!important}.form-group label,.formgrid label,.form-grid label{font-size:14px!important}.table td,.table th,.tablex td,.tablex th,.external-table th,.external-table td{font-size:14px!important;padding:12px!important}.ui-scroll-cue{display:block}.toolbar>*{max-width:100%}.toolbar .search{flex:1 1 100%;min-width:0!important}.worker-db-toolbar .worker-filter-select,.worker-db-toolbar #workerJoinMonth,.worker-db-toolbar #workerTeam{width:100%!important;flex:1 1 100%}.ui-table-scroll{max-width:100%}.table td .btn{white-space:nowrap}
.modal-backdrop,.staff-modal-backdrop,.staff-modal-layer,.external-modal-layer,.modalx{padding:9px!important}.modal,.modal.small-modal,.modal-cardx,.staff-modal,.staff-modal.external-modal,.portal-notice-card{width:100%!important;max-width:none!important;max-height:calc(100dvh - 18px)!important;border-radius:13px!important}.modal-head,.staff-modal-head,.external-modal .staff-modal-head{padding:17px 16px!important;position:sticky;top:0;z-index:3}.modal-head h3,.staff-modal-head h3{font-size:20px!important}.modal-body,.staff-modal-body{padding:18px 16px!important}.modal-actions,.staff-modal-actions{display:flex!important;gap:8px!important;justify-content:flex-end}.modal-actions .btn,.staff-modal-actions .staff-btn{font-size:14px!important;min-height:43px}.event-part-row{grid-template-columns:1fr 1fr!important;min-width:0!important;gap:10px!important}.part-columns{display:none!important}.event-part-row>div:first-child,.event-part-row .part-time,.event-part-row .part-note{grid-column:1/-1}.event-part-row .part-rate-box{grid-column:1/-1}.part-rate-box label{grid-template-columns:90px minmax(0,1fr)!important}.event-company-part{min-width:0}.person-avatar.large{height:66px;width:66px}.profile-editor{padding:14px!important;gap:12px}.file-chip .file-name{max-width:150px}.event-card{padding:17px!important;grid-template-columns:1fr!important}.event-meta{font-size:13px!important;gap:9px!important}.event-right{text-align:left!important}.event-card h4{font-size:17px!important}.weekday-mini{flex-wrap:wrap}.permission-grid{grid-template-columns:1fr!important}
.staff-topbar{position:sticky!important;top:0;min-height:87px;padding:16px 16px 16px 62px!important;flex-wrap:wrap;gap:12px;z-index:45}.staff-topbar .staff-brand-row.compact{position:static;width:auto;gap:8px}.staff-brand-row b{font-size:25px!important}.staff-brand-row span{font-size:11px!important}.compact .staff-brand-mark{width:36px!important;height:36px!important}.staff-topbar .staff-user{width:100%;margin:0;justify-content:space-between;gap:8px;text-align:left}.staff-user-copy b{font-size:14px!important}.staff-user-copy span{font-size:11px!important}.staff-connection{display:none!important}.staff-nav{transform:translateX(-105%);transition:transform .18s;position:fixed!important;inset:0 auto 0 0!important;width:min(300px,86vw)!important;padding:75px 15px 95px!important;z-index:101;background:var(--panel)!important;box-shadow:10px 0 30px #293d4d1a!important;gap:5px!important}.ui-menu-open .staff-nav{transform:none}.staff-nav button{font-size:15px!important;min-height:47px;padding:13px!important}.staff-main{margin:0!important;width:100%!important;padding:22px 16px 95px!important;max-width:none!important}.staff-section-head{gap:13px;flex-wrap:wrap;margin-bottom:19px!important}.staff-section-head h2{font-size:24px!important;line-height:1.6;word-break:keep-all}.staff-section-head p{font-size:13px!important}.staff-card-list{grid-template-columns:1fr!important;gap:16px!important}.staff-card{padding:18px!important}.staff-card h3{font-size:18px!important}.team-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}.team-kpi>b{font-size:23px!important;white-space:normal}.team-dash-head{padding:15px!important;gap:10px;flex-wrap:wrap}.team-dash-head b{font-size:16px!important}.team-dash-head span{font-size:12px!important}.team-dash-row{padding:15px 0!important}.staff-card .sub,.staff-card-note{font-size:13px!important}.staff-meta-box{padding:11px!important}.staff-card-actions .staff-btn{font-size:14px!important;min-height:42px}.staff-profile-row{grid-template-columns:93px minmax(0,1fr)!important;gap:9px!important}.staff-profile-row b{overflow-wrap:anywhere}.staff-form label{font-size:14px!important}.external-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.external-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.staff-filters{width:100%}.staff-filters>*{max-width:100%}.staff-month-picker{flex-wrap:wrap;gap:8px}.ui-welcome h2{font-size:25px}.ui-welcome small{font-size:13px!important}.ui-welcome{padding-bottom:19px;margin-bottom:19px}.ui-welcome p{font-size:10px}.login-screen,.staff-auth,.page{padding:21px 15px!important}.login-card,.staff-auth-card,.page>.card{padding:25px 21px!important;border-radius:16px!important}.login-card h1{font-size:30px!important}.login-card p{font-size:13px!important}.entry-login-grid,.entry-signup-grid{grid-template-columns:1fr!important;gap:9px!important}.entry-login-grid .btn{min-height:45px}.entry-recovery{line-height:1.9;flex-wrap:wrap;gap:8px}.signup-role-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}.signup-role-grid label{font-size:13px!important;padding:11px!important}.signup-affiliation-grid,.staff-id-address-row,.bank-account-row{grid-template-columns:1fr!important}.staff-auth-card .staff-brand-row{margin-bottom:20px}.staff-auth-card .staff-brand-mark{width:42px;height:42px}.staff-auth-card h1{font-size:25px!important}.cc-heading,.cc-tools,.cc-monthbar{flex-wrap:wrap}.cc-summary{grid-template-columns:1fr 1fr!important}.cc-table{min-width:750px}.cc-table-wrap{overflow:auto}.ui-footer-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Dialog layers stay above the sidebar on every screen size. */
.modal-backdrop,.staff-modal-backdrop,.staff-modal-layer,.external-modal-layer{z-index:500!important}
.modalx,.cc-backdrop{z-index:900!important}.portal-notice-layer{z-index:1000!important}
body input[type=checkbox],body input[type=radio]{width:18px;height:18px;flex-shrink:0;vertical-align:middle}
/* Mobile quick actions stay compact so the overview remains immediately visible. */
@media(max-width:800px){.top-right{width:calc(100% + 46px)!important;flex:1 0 calc(100% + 46px);max-width:none!important}.top-actions{flex-direction:row!important}.top-actions>.btn{width:auto!important;flex:0 1 auto}}

.ui-action-unavailable{display:none!important}
/* Readable currency totals and compact filters on the monthly payout screen. */
.grid.stats.payout-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}.payout-stats .num{font-size:clamp(20px,1.8vw,28px)!important;white-space:nowrap;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.payout-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:14px}.payout-toolbar>input{width:auto!important;flex:1 1 250px;min-width:0}.payout-toolbar>select{width:auto!important;flex:0 1 230px}.payout-toolbar>.btn{flex:0 0 auto}.payout-hint{font-size:12px!important;line-height:1.8}
@media(max-width:800px){.grid.stats.payout-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.payout-stats .num{font-size:clamp(17px,4.7vw,22px)!important}.payout-toolbar>select{flex:1 1 100%}}
.payout-table{min-width:1300px!important}.payout-table th,.payout-table td,.payout-table .btn{white-space:nowrap!important}.payout-table td:nth-child(3),.payout-table td:nth-child(4){min-width:82px}.payout-table td:nth-child(10){min-width:150px}.payout-table td:last-child{min-width:125px}


/* R4: visible and distinct status backgrounds, applied after generic facility-day overrides.
   Higher-priority states (paid/settled) win over older recruiting/recruited flags. */
.facility-day.unassigned{background:#f0f2f4!important;border-color:#b3bcc5!important;color:#455665!important;box-shadow:none!important}
.facility-day.recruiting{background:#fff0d5!important;border-color:#d8b474!important;color:#76531b!important;box-shadow:none!important}
.facility-day.recruited{background:#e6f4e9!important;border-color:#8fbc9b!important;color:#276346!important;box-shadow:none!important}
.facility-day.settled-partial{background:#e9eefb!important;border-color:#97aede!important;color:#3c5288!important;box-shadow:none!important}
.facility-day.settled{background:#e2edfa!important;border-color:#78a2d1!important;color:#254f79!important;box-shadow:none!important}
.facility-day.paid{background:#f1e8f9!important;border-color:#b397ca!important;color:#654184!important;box-shadow:none!important}


/* R5: facility calendar cell text fitting + stronger status priority */
.facility-day{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;gap:2px!important;min-height:66px!important;padding:4px 3px!important;overflow:hidden!important;text-align:center!important;font-size:11px!important;line-height:1.12!important}
.facility-day.assigned{justify-content:flex-start!important}
.facility-day .facility-assigned-item{display:flex!important;flex-direction:column!important;gap:1px!important;min-width:0!important}
.facility-day b{display:block!important;font-size:11px!important;line-height:1.08!important;font-weight:400!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;letter-spacing:-.2px!important}
.facility-day .facility-money{font-size:10px!important;line-height:1.02!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;opacity:.82!important;letter-spacing:-.15px!important}
.facility-day .facility-more{font-size:10px!important;line-height:1.05!important;opacity:.78!important}
.facility-status-mini{display:block!important;margin-top:2px!important;font-size:10px!important;line-height:1.05!important;font-weight:400!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;opacity:.96!important}
.facility-day.recruited:not(.settled):not(.settled-partial):not(.paid){background:#e6f4e9!important;border-color:#8fbc9b!important;color:#276346!important}
.facility-day.settled,.facility-day.assigned.settled{background:#dfeafb!important;border-color:#6f95c6!important;color:#204a76!important;box-shadow:inset 0 0 0 1px #b9cae6!important}
.facility-day.settled-partial,.facility-day.assigned.settled-partial{background:#e8eefc!important;border-color:#92abd9!important;color:#36507e!important;box-shadow:inset 0 0 0 1px #c7d4ee!important}
.facility-day.paid,.facility-day.assigned.paid{background:#efe5f8!important;border-color:#ae8fc8!important;color:#613f81!important;box-shadow:inset 0 0 0 1px #d4c0e6!important}

/* R6: quotation editor: note and delete in a dedicated full-width line. */
.exec-doc-modal .exec-items-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y;padding-bottom:3px}
.exec-doc-modal .exec-item-header.premium,.exec-doc-modal .exec-item-row.premium{display:grid!important;grid-template-columns:minmax(64px,.7fr) minmax(125px,1.55fr) minmax(62px,.6fr) minmax(90px,.9fr) minmax(112px,1fr) minmax(112px,1fr) minmax(45px,.4fr) minmax(98px,1fr)!important;gap:6px!important;min-width:864px;box-sizing:border-box;align-items:center!important}
.exec-doc-modal .exec-item-row.premium>input{grid-column:auto!important;width:100%!important;min-width:0!important;font-size:12px!important;padding:5px 6px!important;box-sizing:border-box}
.exec-doc-modal .exec-item-note-line{grid-column:1/-1;display:grid;grid-template-columns:46px minmax(0,1fr) 64px;gap:6px;align-items:center;min-width:0;padding-top:3px}
.exec-doc-modal .exec-item-note-line .ei-note{grid-column:auto!important;width:100%!important;min-width:0!important;font-size:12px!important;box-sizing:border-box}
.exec-doc-modal .exec-item-note-line .ei-del{min-width:0!important;padding:5px!important;font-size:12px!important}
.exec-doc-modal .exec-item-note-line>span{font-size:12px;text-align:center}
.exec-doc-modal .exec-item-header.premium{font-size:12px!important}

#execAdjustmentRow[hidden],#execAdjustmentBase[hidden]{display:none!important} #execAdjustmentRow b,#execAdjustmentRow span{color:#b52d35!important}
