.office-shell{max-width:1180px;margin:0 auto;padding:32px 24px 100px}.office-brand{font-weight:700;letter-spacing:.2em;color:var(--green);text-decoration:none}.office-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.office-header h1{font:500 40px Georgia,serif;margin:14px 0}.office-header h2{font:500 30px Georgia,serif;margin:12px 0}.muted{color:var(--muted)}.office-tabs{display:flex;gap:8px;overflow-x:auto;padding:12px 0 20px}.office-tabs button{flex-shrink:0;border:1px solid var(--line);border-radius:12px;padding:12px 16px;background:var(--panel);color:var(--ink);font:inherit;cursor:pointer}.office-tabs button.active{background:var(--green);color:#fff}.office-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.office-card{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:22px;margin:16px 0;box-shadow:var(--shadow);overflow-wrap:anywhere}.office-card h3{margin:0 0 14px}.office-card p{margin:10px 0;white-space:pre-wrap}.office-card .number{font:500 36px Georgia,serif}.office-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.office-fields label{display:flex;flex-direction:column;gap:8px;font-weight:600}.office-fields input,.office-fields select,.office-fields textarea,.office-shell input,.office-shell select{width:100%;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fafcfb;font:inherit;color:var(--ink)}.office-fields textarea{min-height:100px;resize:vertical}.office-fields .wide{grid-column:1/-1}.office-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.office-shell .btn,dialog .btn{white-space:normal;min-height:44px;cursor:pointer;text-decoration:none}.office-shell .primary,dialog .primary{background:var(--green);color:white}.office-error{color:var(--red);background:#fff3f2;padding:12px;border-radius:12px}.office-error:empty{display:none}dialog{width:min(740px,94vw);max-height:90dvh;border:1px solid var(--line);border-radius:24px;padding:24px;color:var(--ink);background:var(--panel)}dialog::backdrop{background:rgba(21,33,28,.5)}.office-photos{display:flex;gap:10px;flex-wrap:wrap}.office-photos img{width:88px;height:88px;object-fit:cover;border-radius:12px}.office-check{display:flex!important;flex-direction:row!important;align-items:center}.office-check input{width:22px!important;height:22px}.office-list-button{display:block;width:100%;padding:20px;text-align:left;margin:10px 0;background:var(--panel);border:1px solid var(--line);border-radius:16px;font:inherit;color:var(--ink)}.office-table{width:100%;border-collapse:collapse}.office-table th,.office-table td{text-align:left;padding:12px;border-bottom:1px solid var(--line)}.office-scroll{overflow:auto}.office-card details{margin-top:12px}.office-note{border-left:3px solid var(--gold);padding:12px 16px;background:#fffaf0;border-radius:8px}button:disabled{opacity:.5;cursor:wait!important}#workForm>.primary{width:100%;margin-top:20px}@media(max-width:600px){.office-shell{padding:22px 16px 70px}.office-header h1{font-size:32px}.office-fields{grid-template-columns:1fr}.office-card{padding:18px}.office-header .btn{padding:10px}.office-tabs{margin-right:-16px}.office-table{font-size:14px}}@media print{.office-header,.office-tabs,#notificationsMount,.office-actions,#identity{display:none}.office-shell{padding:0}.office-card{box-shadow:none;break-inside:avoid}}
.office-shell .btn,dialog .btn{display:inline-block;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--green);font:inherit;font-weight:600;text-align:center}.office-shell .btn.primary,dialog .btn.primary{background:var(--green);color:#fff}
.office-error .office-login{display:block;width:100%;margin-top:14px;font-size:18px}
.office-header{height:auto;min-height:0;align-items:flex-start;margin-bottom:16px}
.office-header>div:first-child{display:block;min-width:0;flex:1 1 260px}
.office-brand{display:block;line-height:1.5;overflow-wrap:anywhere}
.office-header h1,.office-header h2{margin:8px 0 0;line-height:1.2;overflow-wrap:anywhere}
.office-header>.btn{flex:0 1 auto;max-width:100%;margin:0}
#identity{display:block;position:static;margin:0 0 16px;line-height:1.5;overflow-wrap:anywhere}
.office-shell,.office-shell>*,.office-fields>*{min-width:0}
.office-grid{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.departure-heading{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:10px 0 16px}.departure-heading h2{margin-right:auto}.departure-heading label{display:grid;gap:6px;min-width:0}.departure-card{line-height:1.5}.departure-card .departure-status{font-weight:700}.departure-left{border:2px solid var(--red)}.departure-left .departure-status{color:var(--red)}.departure-edit{margin-top:16px}.departure-edit summary,.departure-pending>summary{cursor:pointer;color:var(--green);padding:8px 0}.departure-edit form{margin-top:12px}.departure-edit [data-result]{color:var(--red)}.departure-note{border-left:3px solid var(--gold);padding-left:12px}#departureMessage:empty{display:none}#departureMessage{line-height:1.5;color:var(--muted)}@media(max-width:450px){.departure-heading h2{width:100%;margin:0}.departure-heading label{flex:1}.departure-heading input{max-width:100%}}
.office-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.departure-heading{display:grid;grid-template-columns:minmax(0,1fr)}.departure-heading h2{margin:0}.departure-heading input{width:100%;min-width:0;box-sizing:border-box}.departure-heading .btn{width:100%}}
@media(max-width:600px){.office-header{flex-direction:column;align-items:stretch;gap:16px}.office-header>div:first-child{flex:none;width:100%}.office-header h1{font-size:2rem}.office-header>.btn{align-self:flex-start}.office-fields{grid-template-columns:minmax(0,1fr)}.office-tabs{max-width:100%;margin-right:0}}

/* Compact daily work surface; retain the established typefaces and colours. */
.office-shell{padding-top:12px}
.office-shell>.office-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;margin-bottom:4px;align-items:center}
.office-shell>.office-header>div:first-child{display:contents}
.office-shell>.office-header .office-brand{font-size:14px;grid-column:1;grid-row:1}
.office-shell>.office-header h1{font-size:26px;grid-column:1/-1;grid-row:2;margin:0}
.office-shell>.office-header>.btn{grid-column:2;grid-row:1;padding:8px 12px;min-height:44px;font-size:14px}
.office-shell #identity{font-size:12px;margin:0 0 6px;line-height:1.5}
.office-shell #notificationsMount .notification-panel{margin:4px 0;padding:0 12px;border-radius:12px}
.office-shell #notificationsMount .notification-panel>summary{padding:10px 0;min-height:44px;box-sizing:border-box}
.office-shell #notificationsMount .notification-panel[open]{padding-bottom:12px}
.office-tabs{padding:6px 0 10px;gap:6px}
.office-tabs button{padding:9px 12px;min-height:44px;font-size:14px}
#departuresMount .departure-heading{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;margin:0 0 6px;align-items:center}
#departuresMount .departure-heading input{height:44px;padding:8px 10px;width:100%;min-width:0;box-sizing:border-box}
#departuresMount .departure-heading .btn{width:44px;height:44px;padding:0;font-size:24px}
.cleaning-plan-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin:0 0 8px;border:1px solid #e4c6c6;border-radius:12px;background:#fff7f7}.cleaning-plan-bar strong,.cleaning-plan-bar small{display:block}.cleaning-plan-bar small{margin-top:2px;color:var(--muted);font-size:13px}.cleaning-plan-bar .btn{min-height:42px}.manual-cleaning{margin:0 0 8px;border:1px solid var(--line);border-radius:12px;background:#fff}.manual-cleaning>summary{cursor:pointer;padding:10px 12px;color:var(--green);font-weight:700}.manual-cleaning form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 12px 12px}.manual-cleaning label{display:grid;gap:5px;font-size:13px;color:var(--muted)}.manual-cleaning .wide{grid-column:1/-1}.manual-cleaning select,.manual-cleaning input,.manual-cleaning textarea{width:100%;box-sizing:border-box;min-height:42px;padding:8px;border:1px solid var(--line);border-radius:10px;font:inherit}.manual-cleaning textarea{min-height:70px}.manual-cleaning .assignment-result{align-self:center}
.departure-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#departureMessage{font-size:14px;line-height:1.4;margin:4px 0}
#departureMessage summary{cursor:pointer;min-height:32px;padding:5px 0}
#departureMessage p{margin:4px 0 8px}
#departureList{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
#departureList:empty{display:none}
#departureList .departure-card{padding:0;margin:0;border:0;border-radius:0;box-shadow:none;border-bottom:1px solid var(--line);line-height:1.4}
#departureList .departure-card:last-child{border-bottom:0}
#departureList .departure-left{border-left:3px solid var(--red)}
#departureList .departure-row{display:grid;grid-template-columns:minmax(0,1fr) 72px 66px 12px;align-items:center;gap:6px;padding:10px 12px;min-height:46px;box-sizing:border-box;color:var(--ink);font-size:14px;list-style:none}
#departureList .departure-row::-webkit-details-marker{display:none}
#departureList .departure-apartment{font-size:16px;overflow-wrap:anywhere}
#departureList .departure-time{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
#departureList .departure-time>span{display:block}
#departureList .departure-status{display:block;font-size:12px}
#departureList .departure-chevron{color:var(--muted);text-align:right}
#departureList .departure-edit{margin:0}
#departureList .departure-edit[open]>.departure-row{border-bottom:1px solid var(--line)}
#departureList .departure-edit[open] .departure-chevron{transform:rotate(180deg)}
#departureList .departure-expanded{padding:12px}
#departureList .departure-event form{margin:0}
#departureList .departure-event+.departure-event{margin-top:16px}
#departureList .departure-empty{margin:0;padding:14px;border:0;font-size:14px}
.office-overview-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.office-overview-stats .office-card{padding:10px;margin:0;border-radius:12px}
.office-overview-stats .office-card p{font-size:14px;margin:0 0 6px;line-height:1.3}
.office-overview-stats .office-card .number{font-size:26px;overflow-wrap:anywhere}
.operations-center{margin:7px 0 10px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow);overflow:hidden}
.operations-center>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line)}
.operations-center>header>div{display:grid;gap:2px}.operations-center>header small{color:var(--muted);font-size:12px}.operations-center>header>span{font-size:12px;color:var(--green);white-space:nowrap}.operations-center>header>span.attention{color:var(--red);font-weight:700}
.operations-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.operations-timeline>a,.operations-timeline>div{display:grid;gap:2px;padding:10px 12px;border-right:1px solid var(--line);color:inherit;text-decoration:none;min-width:0}.operations-timeline>*:last-child{border-right:0}.operations-timeline b{font-size:15px;color:var(--green);overflow-wrap:anywhere}.operations-timeline span{font-size:13px;font-weight:700}.operations-timeline small{font-size:11px;line-height:1.3;color:var(--muted)}
@media(max-width:720px){.operations-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-timeline>a,.operations-timeline>div{border-bottom:1px solid var(--line)}.operations-timeline>*:nth-child(even){border-right:0}.operations-timeline>*:last-child{grid-column:1/-1;border-bottom:0}.operations-center>header{align-items:flex-start;flex-direction:column}.operations-center>header>span{white-space:normal}}
@media(max-width:380px){.office-shell{padding-left:12px;padding-right:12px}#departureList .departure-row{grid-template-columns:minmax(0,1fr) 66px 60px 10px;padding:10px 8px;gap:4px}}

#departureList .departure-assignment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:0 12px 10px}
#departureList .departure-assignment select{min-height:44px;padding:8px;font-size:16px}
#departureList .departure-assignment .btn{min-height:44px;padding:8px 10px;font-size:14px}
#departureList .assignment-result{grid-column:1/-1;font-size:14px;color:var(--green);overflow-wrap:anywhere}
#departureList .assignment-result:empty{display:none}
#departureList .departure-assigned{margin:0;padding:0 12px 10px;font-size:14px;color:var(--green)}
#departureList .assignment-cancel{grid-column:1/-1;min-height:34px!important;color:var(--red)}
#departureList .departure-assigned .assignment-cancel{margin-left:8px;padding:4px 10px;min-height:30px!important;font-size:13px}

.apartment-group{padding:12px 14px;margin:10px 0}
.apartment-group h3{display:flex;justify-content:space-between;margin:0 0 4px;font-size:17px}
.apartment-group h3 span{color:var(--muted);font-weight:400}
.apartment-directory-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.4fr) minmax(140px,1fr);gap:10px;padding:9px 0;border-top:1px solid var(--line);align-items:center}
.apartment-directory-row span,.apartment-directory-row small{color:var(--muted);overflow-wrap:anywhere}
@media(max-width:620px){.apartment-directory-row{grid-template-columns:minmax(105px,.75fr) minmax(0,1.25fr);gap:3px 8px}.apartment-directory-row small{grid-column:2}}

.office-card.shift-roster{padding:14px;margin:12px 0;border-radius:12px}
.shift-roster h3{font-size:16px;margin:0 0 6px}
.shift-day{display:grid;grid-template-columns:108px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.4}
.shift-date,.shift-person{display:flex;flex-direction:column;gap:2px;min-width:0}
.shift-date span,.shift-person span{color:var(--muted)}
.shift-people{display:flex;flex-wrap:wrap;gap:8px 20px;min-width:0}
.shift-person strong{font-size:16px;overflow-wrap:anywhere}
@media(max-width:380px){.shift-day{grid-template-columns:96px minmax(0,1fr);gap:8px}}

.planning-hint,.planning-override,.planning-review{grid-column:1/-1;font-size:14px}
.planning-hint:empty{display:none}.planning-warning{color:var(--red)}
.planning-override summary{padding:8px 0;cursor:pointer;color:var(--green)}
.planning-override input[type=checkbox]{width:20px;height:20px;vertical-align:middle}
.planning-override textarea{width:100%;min-height:70px;font:inherit;padding:10px;border:1px solid var(--line);border-radius:10px;box-sizing:border-box}
#planningSettingsForm>.btn{margin-top:16px}
.office-shell [hidden]{display:none!important}

.assistant-fab{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px));z-index:30;display:flex;align-items:center;gap:8px;min-height:54px;padding:0 18px;border-radius:999px;background:#c82032;color:#fff;text-decoration:none;font-weight:800;box-shadow:0 12px 32px #6d111d4d}.assistant-fab[hidden]{display:none}.assistant-fab span{font-size:14px}.assistant-shell{max-width:780px;margin:0 auto;padding-bottom:88px}.assistant-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:8px 0 12px}.assistant-heading p{margin:0;color:#c82032;font-size:12px;font-weight:800;letter-spacing:.14em}.assistant-heading h2{font:500 34px Georgia,serif;margin:2px 0}.assistant-heading>span{padding:7px 10px;border-radius:999px;background:#eef5f1;color:var(--green);font-size:12px;font-weight:800}.assistant-suggestions{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px}.assistant-suggestions button{flex:0 0 auto;max-width:260px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-size:13px;text-align:left}.assistant-chat{display:flex;flex-direction:column;gap:10px;min-height:310px;max-height:calc(var(--office-viewport-height,100vh) - 330px);overflow:auto;padding:14px;border:1px solid var(--line);border-radius:20px;background:#f7f4ef}.assistant-message{max-width:88%;padding:12px 14px;border-radius:18px;background:#fff;box-shadow:0 3px 12px #31251c0d}.assistant-message.user{align-self:flex-end;background:#c82032;color:#fff;border-bottom-right-radius:5px}.assistant-message.assistant{align-self:flex-start;border-bottom-left-radius:5px}.assistant-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-speak{margin-top:8px;padding:0;border:0;background:transparent;color:var(--green);font:inherit;font-size:12px;font-weight:700}.assistant-confirm{margin-top:12px;padding:12px;border:1px solid #e6c165;border-radius:12px;background:#fff9e8;color:var(--ink)}.assistant-confirm b{display:block;margin-bottom:8px}.assistant-confirm p{margin:5px 0;font-size:13px}.assistant-confirm>div{display:flex;gap:8px;margin-top:10px}.assistant-composer{position:sticky;bottom:0;margin-top:12px;padding:10px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 36px #31251c1f}.assistant-composer textarea{width:100%;min-height:54px;max-height:130px;box-sizing:border-box;border:0;outline:0;resize:none;background:transparent;color:var(--ink);font:16px/1.4 inherit}.assistant-composer>div{display:flex;justify-content:flex-end;gap:9px}.assistant-mic{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:#f3e8e8;color:#c82032;font-size:22px}.assistant-mic.recording{background:#c82032;color:#fff;animation:assistantPulse 1.2s infinite}.assistant-send{min-height:48px!important;padding:10px 18px!important}.assistant-composer [role=status]{min-height:0;margin:6px 2px 0;color:var(--muted);font-size:12px}.assistant-composer [role=status]:empty{display:none}@keyframes assistantPulse{50%{box-shadow:0 0 0 9px #c8203226}}
@media(max-width:600px){.assistant-fab{right:12px;bottom:max(12px,env(safe-area-inset-bottom));min-height:52px;padding:0 14px}.assistant-shell{padding-bottom:68px}.assistant-heading{margin-top:2px}.assistant-heading h2{font-size:26px}.assistant-chat{min-height:300px;max-height:calc(var(--office-viewport-height,100vh) - 276px);padding:10px;border-radius:15px}.assistant-message{max-width:92%;padding:10px 12px;font-size:14px}.assistant-composer{margin-top:8px;border-radius:15px;padding:8px}.assistant-suggestions{padding-bottom:8px}.assistant-suggestions button{font-size:12px;min-height:36px}.assistant-fab span{display:none}}
.assistant-mic{width:auto;min-width:112px;padding:0 16px;border-radius:999px;font:700 15px/1 inherit}.assistant-mic.recording{min-width:190px}

.recruitment-heading{align-items:end}.recruitment-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.recruitment-stats .office-card{margin:0;padding:12px}.recruitment-stats p{margin:0 0 4px}.recruitment-create summary{cursor:pointer;font-weight:800}.recruitment-create form{margin-top:16px}.recruitment-create .btn{margin-top:14px}.recruitment-create [role=status]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--green)}.recruitment-create [role=status] input{flex:1 1 320px;min-width:0}.recruitment-card .office-header{align-items:flex-start}.recruitment-card .office-header h3{margin:0}.recruitment-card .office-header p{margin:4px 0 0}.assessment-status{padding:6px 9px;border-radius:999px;background:#f1f3f2;color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}.assessment-status.opened{background:#fff7e6;color:#8a5b00}.assessment-status.completed{background:#edf8f2;color:var(--green)}.recruitment-result{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;align-items:center;margin-top:14px}.score-ring{display:grid;place-items:center;align-content:center;aspect-ratio:1;border:8px solid #f2d9da;border-top-color:var(--red);border-radius:50%}.score-ring strong{font-size:32px;color:var(--red)}.score-ring span{font-size:12px;color:var(--muted)}.score-list{display:grid;gap:8px}.score-list>div{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:3px 8px}.score-list span{font-size:14px}.score-list b{text-align:right}.score-list i{grid-column:1/-1;display:block;height:5px;border-radius:6px;background:var(--red)}.reliability{font-size:14px}.interview-block{padding:10px 0;border-top:1px solid var(--line)}.interview-block p{margin:6px 0;font-size:14px}@media(max-width:600px){.recruitment-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.recruitment-stats .number{font-size:22px}.recruitment-result{grid-template-columns:80px minmax(0,1fr);gap:12px}.score-ring strong{font-size:25px}.score-list span{font-size:12px}.recruitment-card>.office-header{display:flex;flex-direction:column}.assessment-status{align-self:flex-start}}

/* Mobile daily board: the full apartment list remains visible at a glance. */
.office-tools{display:flex;align-items:center;gap:8px}
.office-tools #notificationsMount{min-width:0}
.office-tools .notification-panel{position:relative;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
.office-tools .notification-panel>summary{display:flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:44px;height:44px;padding:0 10px!important;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-sizing:border-box;list-style:none}
.office-tools .notification-panel>summary::-webkit-details-marker{display:none}
.office-tools .notification-panel[open]{position:absolute;z-index:20;top:58px;right:16px;width:min(420px,calc(100vw - 32px));padding:12px!important;border:1px solid var(--line)!important;background:var(--panel)!important;box-shadow:var(--shadow)}
.office-tools .notification-panel[open]{max-height:min(78dvh,680px);overflow:auto!important;overscroll-behavior:contain}.office-tools .notification-panel[open]>summary{position:sticky;z-index:2;top:0;margin-left:auto;background:var(--panel)}
.notice-bell{font-size:11px;color:var(--green)}
.office-tools #noticeCount{margin-left:0!important;font-weight:700}

@media(max-width:600px){
 .office-shell{padding:8px 10px 48px}
 .office-shell>.office-header{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}
 .office-shell>.office-header>div:first-child{display:block;flex:1;min-width:0}
 .office-shell>.office-header .office-brand{font-size:12px;line-height:1.2}
 .office-shell>.office-header h1{font-size:19px;line-height:1.1;margin:2px 0 0;white-space:nowrap}
 .office-shell>.office-header>.office-tools{flex:0 0 auto;max-width:52%;overflow-x:auto;overscroll-behavior-x:contain}
 .office-tools .notification-panel[open]{position:fixed;inset:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));width:auto;max-height:none;border-radius:18px}
 .office-tools>.btn{min-height:44px;padding:8px 10px!important;font-size:13px}
 .office-tools .notice-label{display:none}
 .office-tabs{padding:5px 0 7px;gap:5px}
 .office-tabs button{min-height:38px;padding:6px 10px;font-size:13px;border-radius:10px}
 #departuresMount .departure-heading{grid-template-columns:minmax(0,1fr) 40px;gap:5px;margin:0 0 3px}
 #departuresMount .departure-heading input{height:40px;padding:5px 8px;border-radius:10px;font-size:14px}
 #departuresMount .departure-heading .btn{width:40px;height:40px;min-height:40px;font-size:21px;border-radius:10px}
 .cleaning-plan-bar{align-items:stretch;flex-direction:column;padding:8px;margin-bottom:5px}.cleaning-plan-bar .btn{width:100%}.manual-cleaning{margin-bottom:5px}.manual-cleaning form{grid-template-columns:1fr 1fr;padding:0 8px 8px}.manual-cleaning form .wide,.manual-cleaning form button,.manual-cleaning form .assignment-result{grid-column:1/-1}
 #departureMessage{font-size:12px;margin:2px 0;line-height:1.25}
 #departureList{border-radius:10px}
 #departureList .departure-row{grid-template-columns:minmax(0,1fr) 56px 52px 9px;gap:4px;padding:5px 8px;min-height:32px;font-size:12px}
 #departureList .departure-apartment{font-size:14px;line-height:1.2}
 #departureList .departure-status{font-size:10px}
 #departureList .departure-assignment{grid-template-columns:minmax(0,1fr) 78px;gap:3px 5px;padding:0 8px 6px}
 #departureList .departure-assignment select{height:38px;min-height:38px;padding:5px 7px;font-size:14px;border-radius:9px}
 #departureList .departure-assignment .assignment-send{height:38px;min-height:38px;padding:5px;font-size:12px;border-radius:9px}
 #departureList .assignment-result{font-size:11px;line-height:1.2}
 #departureList .departure-assigned{padding:0 8px 6px;font-size:12px}
 .planning-override,.planning-review{grid-column:1/-1;font-size:12px;margin:0!important}
 .planning-override>summary{display:inline-block;padding:2px 0!important;font-size:12px}
 .planning-override[open]{padding:7px;margin-top:2px!important;border:1px solid var(--line);border-radius:9px}
 .planning-hint{font-size:12px;line-height:1.25;margin:3px 0}
 .planning-confirm{width:100%;margin-top:7px}
 .planning-review{min-height:34px!important;padding:5px 8px!important}
 .office-overview-stats{gap:5px;margin-top:7px}
 .office-overview-stats .office-card{padding:7px;border-radius:9px}
 .office-overview-stats .office-card p{font-size:11px;line-height:1.15;margin:0 0 2px}
 .office-overview-stats .office-card .number{font-size:20px}
 .office-card.shift-roster{padding:8px;margin:7px 0;border-radius:10px}
 .shift-roster h3{font-size:14px;margin-bottom:2px}
 .shift-day{grid-template-columns:78px minmax(0,1fr);gap:6px;padding:5px 0;font-size:11px;line-height:1.2}
 .shift-people{gap:3px 10px}
 .shift-person strong{font-size:12px}
 #officeContent>h2{font-size:20px;margin:12px 0 4px}
}

/* One-screen daily overview. The existing brand palette and typefaces stay unchanged. */
.manager-daily{margin:7px 0;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:var(--shadow)}
.manager-daily>summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 11px;cursor:pointer;list-style:none}
.manager-daily>summary::-webkit-details-marker{display:none}
.manager-daily>summary span{display:flex;flex-direction:column;min-width:0}
.manager-daily>summary b{font-size:12px}
.manager-daily>summary small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manager-daily>summary strong{color:var(--green);font-size:13px;text-align:right}
.manager-daily form{padding:0 11px 11px;border-top:1px solid var(--line)}
.daily-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:10px}
.daily-fields label{display:grid;gap:4px;font-size:13px;font-weight:700}
.daily-fields textarea{width:100%;min-height:58px;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;padding:8px;background:#fafcfb;color:var(--ink);font:inherit;resize:vertical}
.manager-daily .office-actions{align-items:center;margin-top:8px}
.manager-daily [role=status]{color:var(--green);font-size:13px}
.daily-deadlines{margin:8px 0}
.daily-deadlines>summary{cursor:pointer;color:var(--green);font-weight:700;padding:8px 2px}
.inspection-board{margin:7px 0;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:var(--shadow);overflow:hidden}
.inspection-board>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px}
.inspection-board>header>div:first-child{display:flex;align-items:baseline;gap:8px}
.inspection-board>header span{font-size:13px;color:var(--muted)}
.inspection-alerts{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.inspection-alerts span,.inspection-alerts strong{padding:3px 6px;border-radius:7px;background:#fff8e8;font-size:11px;white-space:nowrap}
.inspection-alerts strong{background:#fff0ef;color:var(--red)}
.inspection-progress{height:3px;background:var(--line)}
.inspection-progress i{display:block;height:100%;background:var(--green)}
.inspection-list{max-height:310px;overflow:auto}
.inspection-row{padding:7px 10px;border-bottom:1px solid var(--line)}
.inspection-row:last-child{border-bottom:0}
.inspection-row.critical{border-left:4px solid var(--red);background:#fff8f7}
.inspection-row.reminder{border-left:4px solid var(--gold)}
.inspection-line{display:grid;grid-template-columns:minmax(105px,1fr) 58px auto auto;gap:6px;align-items:center}
.inspection-line>b{font-size:15px;overflow-wrap:anywhere}
.inspection-line>span{font-size:12px;color:var(--muted);white-space:nowrap}
.inspection-line>strong{grid-column:3/-1;color:var(--green);font-size:13px;text-align:right}
.inspection-line .btn{min-height:36px;padding:6px 9px;font-size:12px}
.inspection-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;margin-top:7px;align-items:center}
.inspection-form textarea{min-width:0;width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;padding:7px;background:#fafcfb;color:var(--ink);font:inherit;resize:vertical}
.inspection-form label.btn{position:relative;overflow:hidden;min-height:36px;padding:7px 9px;font-size:12px}
.inspection-form input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
.inspection-form>button{min-height:36px!important;padding:6px 9px!important;font-size:12px!important}
.inspection-form [role=status]{grid-column:1/-1;color:var(--green);font-size:12px}
@media(max-width:600px){
 .manager-daily>summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 9px;padding:7px 9px}
 .manager-daily>summary strong{grid-column:1/-1;text-align:left;font-size:11px}
 .manager-daily>summary b,.manager-daily>summary small{font-size:11px}
 .daily-fields{grid-template-columns:1fr}
 .daily-fields textarea{min-height:54px}
 .inspection-board>header{padding:7px 8px}
 .inspection-board>header>div:first-child{display:grid;gap:0}
 .inspection-list{max-height:245px}
 .inspection-line{grid-template-columns:minmax(92px,1fr) 55px 1fr;gap:4px}
 .inspection-line .btn:first-of-type{grid-column:3}
 .inspection-line .btn:last-of-type{grid-column:1/-1}
 .inspection-line>strong{grid-column:3}
 .inspection-line .btn{min-height:34px;padding:5px 7px;font-size:11px}
 .inspection-form{grid-template-columns:1fr 1fr}
 .inspection-form textarea{grid-column:1/-1;min-height:52px}
 .office-card.shift-roster{max-height:138px;overflow:auto}
 .daily-deadlines{font-size:13px}
}
.ledger-row {padding:10px 0;border-bottom:1px solid var(--border,#e0e6e2)}
.ledger-row summary{display:flex;flex-wrap:wrap;gap:4px 12px;cursor:pointer;font-size:1rem}
.ledger-row summary span{color:var(--muted,#718078);font-size:.875rem;overflow-wrap:anywhere}
.ledger-row form{margin-top:12px}
.ledger-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px}
.ledger-toolbar input{max-width:220px}
.ledger-text{white-space:pre-wrap;overflow-wrap:anywhere}
.ledger-row .office-fields input[type=checkbox]{width:20px;height:20px;display:inline-block}
