:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#162a43;background:#f3f6fa;font-size:16px;--navy:#11263d;--blue:#1669e8;--muted:#6d7e92;--line:#e2e9f2}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{border:1px solid #dce4ee;background:white;color:#233d5d;border-radius:9px;padding:10px 15px;font-size:.875rem;font-weight:600;min-height:40px}button:hover{border-color:#91afe1;background:#f4f8ff}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--blue);border-color:var(--blue);color:white}button.dark{background:#1e3c5b;color:white;border-color:#39536c}button.ghost{background:transparent;color:inherit;border-color:transparent}button.danger{color:#b12943}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4a99ff;outline-offset:2px}input,select{border:1px solid #d5dfec;border-radius:8px;padding:10px;background:white;color:#162a43;min-height:42px;max-width:100%}label{display:grid;gap:7px;font-size:.875rem;font-weight:600}.muted{color:var(--muted)}small{font-size:.78rem}.brand{font-size:1.38rem;letter-spacing:.02em;font-weight:850;white-space:nowrap}.brand span{color:#5aa5ff;font-weight:650}.brand small{display:block;font-size:.61rem;letter-spacing:.24em;color:#9db4cc;margin-top:5px;font-weight:500}.header{height:82px;background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:18px}.header-right{display:flex;align-items:center;gap:14px}.user-name{font-size:.85rem;line-height:1.5}.user-name small{display:block;color:#9fb2c7}.avatar{width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e6edf8;color:#46658a;font-size:.79rem;font-weight:750;flex:none}.header .avatar{background:#2b4465;color:#e3edff}.shell{display:grid;grid-template-columns:214px minmax(0,1fr);min-height:calc(100vh - 82px)}aside{background:white;border-right:1px solid var(--line);padding:28px 16px;display:flex;flex-direction:column;gap:5px}aside .nav-label{font-size:.66rem;letter-spacing:.15em;color:#8795a7;font-weight:700;margin:5px 12px 10px}aside button{display:flex;gap:12px;align-items:center;text-align:left;border:0;padding:13px 14px;font-weight:500;color:#607087}aside button.active{color:#1164e3;background:#eaf2ff;font-weight:700}.nav-icon{width:23px;font-size:1.05rem;text-align:center}.aside-foot{margin-top:auto;padding:40px 12px 0;font-size:.76rem;color:#7b8da2;line-height:1.6}.main{padding:28px 30px;min-width:0}.eyebrow{font-size:.69rem;color:#7588a0;letter-spacing:.14em;font-weight:750;text-transform:uppercase}h1{font-size:1.7rem;letter-spacing:-.035em;margin:7px 0 8px}h2{font-size:1.06rem;margin:0 0 16px}h3{font-size:.94rem;margin:0 0 10px}p{line-height:1.6}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.heading p{margin:0;color:#728197;font-size:.875rem}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.status{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;letter-spacing:.025em;font-weight:700;padding:6px 10px;background:#edf1f6;border-radius:6px;color:#6b7b90}.status.PUBLISHED,.status.LOCKED{background:#dff5ec;color:#227a57}.status.READY{background:#e1ecff;color:#2568cb}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat,.card{background:white;border:1px solid var(--line);border-radius:13px;padding:20px}.stat label{font-size:.78rem;color:#7a899e;font-weight:500}.stat .number{font-size:1.8rem;letter-spacing:-.04em;font-weight:750;margin:11px 0 6px}.stat .number small{font-size:.8rem;font-weight:500;letter-spacing:0;color:#798a9f}.stat .caption{font-size:.72rem;color:#73869d}.stat .accent{color:#197958}.schedule-card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;gap:12px;flex-wrap:wrap}.month-control{display:flex;align-items:center;gap:8px}.month-control input{border:0;font-size:1rem;font-weight:700;padding:5px;max-width:190px}.month-control button{padding:6px 12px;min-height:34px}.toolbar select{font-size:.84rem}.table-scroll{overflow:auto;max-height:58vh;scroll-behavior:smooth;border-top:1px solid var(--line);border-bottom:1px solid var(--line);overscroll-behavior:contain}.schedule{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font-size:.8rem}.schedule th,.schedule td{width:76px;min-width:76px;border-bottom:1px solid #edf1f6;border-right:1px solid #edf1f6;text-align:center;padding:7px 5px;height:75px;background:white}.schedule thead th{position:sticky;top:0;z-index:3;height:61px;background:#f9fbfe;font-weight:650}.schedule th:first-child,.schedule td:first-child{position:sticky;left:0;width:188px;min-width:188px;z-index:2;text-align:left;background:white;box-shadow:3px 0 8px #182e4a05;padding:12px 15px}.schedule thead th:first-child{z-index:4;background:#f9fbfe}.schedule th.weekend,.schedule td.weekend{background:#faf6f6}.schedule th.today{background:#e9f2ff;color:#1164e3}.schedule th strong{display:block;font-size:.88rem;margin-bottom:5px}.schedule th small{font-size:.66rem;font-weight:450;color:#8b98aa}.person{display:flex;gap:9px;align-items:center}.person .avatar{width:30px;height:30px;font-size:.65rem}.person strong{display:block;font-size:.79rem;white-space:nowrap}.person small{color:#8490a2;font-size:.66rem;display:block;margin-top:4px}.shift{width:100%;height:49px;min-height:49px;border:0;border-radius:7px;padding:5px 2px;font-size:.7rem;letter-spacing:-.015em;white-space:nowrap;color:#244c45;background:#d7f4e7}.shift small{display:block;font-size:.6rem;opacity:.7;margin-top:4px}.shift.empty{background:transparent;color:#c3ccd8;font-size:1rem}.shift:hover{filter:brightness(.97);outline:2px solid #6da0ee}.legend{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;font-size:.73rem;color:#74849a;gap:14px;flex-wrap:wrap}.legend-items{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.swatch{display:inline-block;width:12px;height:12px;border-radius:4px;vertical-align:middle;margin-right:6px}.bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-top:20px}.row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;gap:12px;border-bottom:1px solid #eef2f7;font-size:.83rem}.row:last-child{border:0}.row p{margin:3px 0;font-size:.75rem;color:#7f8ea2}.ok{color:#258460}.issue{color:#a55a20}.pill{padding:5px 9px;background:#f0f5fc;border-radius:6px;font-size:.72rem}.empty-state{padding:40px;text-align:center;color:#8190a3}.hint{font-size:.77rem;color:#7b8da2;line-height:1.5}.rotate{display:none}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:.84rem}.data-table th{text-align:left;color:#8291a5;font-size:.72rem;padding:12px;border-bottom:1px solid var(--line)}.data-table td{padding:14px 12px;border-bottom:1px solid #edf1f6}.data-table input{width:90px;padding:7px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.tabs .active{color:#1164e3;background:#e9f2ff;border-color:#c4dcff}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:#11263d;color:white;padding:8vw;display:flex;flex-direction:column;justify-content:center}.login-brand h1{font-size:3rem;line-height:1.1;margin-top:45px;letter-spacing:-.045em}.login-brand p{color:#9db5ce;font-size:1rem}.login-form{display:flex;align-items:center;justify-content:center;padding:30px}.login form{width:100%;max-width:360px}.login form h2{font-size:1.6rem}.login label{margin:20px 0}.login button.primary{width:100%;margin-top:12px}.error{color:#b22d43;background:#fff0f2;border-radius:8px;padding:12px;font-size:.85rem;line-height:1.5}.error:empty{display:none}dialog{border:1px solid var(--line);border-radius:17px;width:min(520px,calc(100vw - 24px));max-height:90vh;padding:26px;color:#162a43;box-shadow:0 30px 100px #10284033}dialog::backdrop{background:#10243c70;backdrop-filter:blur(3px)}dialog h2{font-size:1.2rem}dialog label{margin-bottom:15px}dialog .actions{justify-content:flex-end;margin-top:20px}dialog .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}dialog .checkbox{display:flex;align-items:center;gap:9px}dialog input[type=checkbox]{min-height:18px;width:18px}dialog .diff{background:#f3f7fc;padding:14px;border-radius:9px;font-size:.85rem;margin:14px 0}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.dialog-head button{font-size:1.2rem;min-width:40px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173451;color:white;border-radius:10px;padding:13px 22px;font-size:.85rem;z-index:20;box-shadow:0 8px 30px #122a4130;display:none;max-width:90vw}.loading{text-align:center;margin:25vh auto;color:#6d7e92}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#e4ebf4;border:1px solid #e4ebf4;border-radius:10px;overflow:hidden}.calendar>div{background:white;padding:12px;min-height:100px;font-size:.82rem}.calendar>.day-name{min-height:auto;padding:12px;text-align:center;background:#f6f9fc;color:#76869b;font-size:.73rem}.calendar .shift{margin-top:10px}.calendar .outside{background:#f9fbfd}.notice{background:#edf4ff;color:#426894;padding:13px 17px;border-radius:9px;font-size:.83rem;margin-bottom:18px}.progress{height:6px;background:#eaf0f8;border-radius:10px;overflow:hidden;margin-top:9px}.progress span{display:block;height:100%;background:#3886ef}.audit{font-size:.82rem}.audit p{color:#8190a2;font-size:.75rem}.version-list{max-height:320px;overflow:auto}.footer-note{margin-top:18px;font-size:.74rem;color:#90a0b2} @media(min-width:1600px){.main{padding:34px 45px}.schedule th:first-child,.schedule td:first-child{width:205px;min-width:205px}.schedule th,.schedule td{width:88px;min-width:88px}}@media(max-width:1050px){.shell{grid-template-columns:170px minmax(0,1fr)}.main{padding:22px 18px}aside{padding:24px 9px}.header{padding:0 22px}.stats{gap:10px}.stat{padding:15px}.schedule th:first-child,.schedule td:first-child{width:160px;min-width:160px;padding:10px}.person{gap:7px}.person strong{font-size:.73rem}.person .avatar{width:27px;height:27px}.bottom-grid{grid-template-columns:1fr}}@media(max-width:760px){.header{height:66px;padding:0 16px}.brand{font-size:1.05rem}.brand small{font-size:.5rem}.user-name{display:none}.header-right{gap:4px}.shell{display:block;min-height:calc(100vh - 66px)}aside{position:fixed;bottom:0;left:0;right:0;z-index:8;padding:6px 5px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #dce5f1;flex-direction:row;justify-content:space-around;gap:0;box-shadow:0 -3px 12px #10284008}aside .nav-label,.aside-foot{display:none}aside button{padding:7px 9px;flex-direction:column;gap:5px;font-size:.65rem;border-radius:8px;min-width:54px}aside .admin-nav{display:none}.nav-icon{font-size:1.1rem}.main{padding:21px 12px 95px}h1{font-size:1.45rem}.heading{align-items:flex-start;margin-bottom:18px}.heading p{font-size:.77rem}.eyebrow{font-size:.61rem}.heading>.actions{justify-content:flex-end;max-width:150px}.stats{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:16px}.stat{padding:14px}.stat .number{font-size:1.5rem;margin:7px 0}.stat .caption{font-size:.67rem}.toolbar{padding:12px;gap:10px}.toolbar .actions{gap:5px}.toolbar button{font-size:.75rem;padding:8px}.toolbar select{max-width:150px;font-size:.75rem}.month-control{gap:0}.month-control input{max-width:162px;font-size:.9rem}.table-scroll{max-height:58vh}.schedule th:first-child,.schedule td:first-child{width:150px;min-width:150px;padding:10px 8px}.schedule th,.schedule td{width:72px;min-width:72px;height:70px}.schedule thead th{height:55px}.legend{padding:13px 12px;gap:12px}.legend-items{gap:9px;font-size:.66rem}.bottom-grid{margin-top:14px;gap:14px}.card{padding:17px}.rotate{display:block;font-size:.72rem;color:#7489a2;margin:0 0 12px}.login{grid-template-columns:1fr}.login-brand{padding:30px;min-height:200px}.login-brand h1{font-size:1.8rem;margin-top:25px}.login-brand p{display:none}.login-form{padding:35px 25px}.calendar>div{padding:7px 3px;min-height:78px;text-align:center}.calendar .shift{font-size:.59rem;height:39px;min-height:39px}.calendar .shift small{display:none}.calendar>.day-name{font-size:.6rem;padding:10px 3px}.stat label{font-size:.74rem}.heading .primary{font-size:.75rem}.data-table td,.data-table th{padding:11px 8px}}@media(max-height:550px) and (orientation:landscape){.header{height:53px}.brand small{display:none}.main{padding-top:12px}.heading{margin-bottom:10px}.stats,.rotate,.bottom-grid,.footer-note{display:none}.table-scroll{max-height:calc(100vh - 260px);min-height:145px}.shell{grid-template-columns:145px minmax(0,1fr)}.schedule td{height:62px}.toolbar{padding:8px 12px}.legend{padding:10px 12px}aside{padding-top:12px}.heading p,.eyebrow{display:none}h1{font-size:1.25rem;margin:0}.main{padding-bottom:80px}}
.header-right button{white-space:nowrap}@media(max-width:760px){.header .brand small,.header-right>.avatar{display:none}.header-right button{padding:8px;font-size:.75rem;min-height:36px}.header{gap:8px}.header-right{gap:2px}#toast{bottom:90px}}@media(max-height:550px) and (orientation:landscape){.shell{display:block}.shell>aside{display:none}.header{height:44px}.main{padding:8px 12px}.heading{margin-bottom:8px}.heading button{min-height:34px;padding:7px 12px}.table-scroll{max-height:calc(100dvh - 196px);min-height:140px}.legend{padding:7px 12px;gap:5px}.legend .actions{display:none}.toolbar{padding:7px 12px}.toolbar input,.toolbar select,.toolbar button{min-height:32px;padding-top:5px;padding-bottom:5px}.schedule thead th{height:47px}.schedule td{height:61px}.header .user-name{display:none}#toast{bottom:12px}}
.shift{position:relative;user-select:none;-webkit-user-select:none}.fill-handle{position:absolute;bottom:0;right:1px;line-height:12px;width:18px;height:14px;background:#ffffffa8;border-radius:3px;color:#244a65;cursor:ew-resize;touch-action:none;font-size:12px}.shift:hover .fill-handle{background:white}.shift.fill-selected{outline:3px solid #126be8;outline-offset:-2px;filter:brightness(.94)}.filling{cursor:ew-resize;user-select:none}.filling .table-scroll{scroll-behavior:auto}.shift.absent{background:#fbe5ee;color:#a13162}.color-presets{display:flex;gap:9px;margin:10px 0 18px}.color-preset{width:35px;height:35px;min-height:35px;padding:0;border-radius:50%;border:2px solid #ffffff;box-shadow:0 0 0 1px #d6dfeb}.shift-preview{padding:18px;border-radius:9px;font-weight:700;margin:14px 0}.diff-list{max-height:300px;overflow:auto;background:#f4f7fc;padding:8px 14px;border-radius:10px}.range-shortcuts{justify-content:flex-start!important;margin:5px 0 18px!important}.request-row{padding:18px 0;border-bottom:1px solid #e9eef5}.request-row:last-child{border-bottom:0}.request-row p{font-size:.82rem;margin:7px 0;color:#718296}.request-row .actions{margin-top:10px}.generation-disabled{opacity:.6}@media(max-width:760px){aside{overflow-x:auto;justify-content:flex-start}aside button{flex:1 0 58px;font-size:.6rem;padding:7px 5px}dialog .form-grid{grid-template-columns:1fr 1fr}.fill-handle{height:19px;width:23px;line-height:17px}.diff-list .row{flex-wrap:wrap}.color-presets{gap:7px}.range-shortcuts button{font-size:.75rem}}

.closed-day{background:#fff0ec!important}.holiday-label{display:block;white-space:normal;font-size:10px;line-height:1.3;color:#93472c;max-width:92px;margin-top:4px}.closed-cell{display:block;text-align:center;color:#8c756e;font-size:11px;padding:16px 4px}.ai-recommended{background:#e3f5e8;color:#236246;padding:9px;border-radius:8px;font-weight:700}
.shift-permissions{border:1px solid #dce5ef;border-radius:12px;padding:14px;margin:12px 0;max-height:280px;overflow:auto}.statistics-table{min-width:1600px}.statistics-table td small{display:block;color:#75869c}.statistics-table th:first-child,.statistics-table td:first-child{position:sticky;left:0;background:#fff;min-width:150px;z-index:1}.negative{color:#a34c28}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px}.summary-grid>div{padding:14px;background:#f4f7fb;border-radius:10px}.summary-grid strong{font-size:24px;display:block}.summary-grid small{display:block;color:#667d99}.leave-person{padding:18px 0;border-top:1px solid #e5edf5}.future-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.wish-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.wish-day{min-height:100px;white-space:normal;text-align:left;display:flex;flex-direction:column;justify-content:flex-start;gap:5px;padding:10px}.wish-day small{font-size:11px;font-weight:400}.wish-pill{background:#e5eeff;border-radius:6px;padding:4px;font-size:11px;color:#285d9d}.card+.card{margin-top:18px}@media(max-width:600px){.wish-calendar{gap:3px}.wish-day{min-height:95px;padding:5px;font-size:12px}.wish-day small,.wish-pill{font-size:9px}.wish-pill{padding:2px}.future-toolbar button{font-size:12px}.summary-grid{grid-template-columns:repeat(3,1fr)}}
/* Keep the edited week fixed when rebuilding the schedule DOM. */
.table-scroll{scroll-behavior:auto}
#toast{pointer-events:none}
.hrm-profile{display:flex;align-items:center;gap:14px;margin:4px 0 18px}.hrm-profile .avatar{width:54px;height:54px;font-size:18px}.hrm-profile h2{margin:0 0 5px}.hrm-profile p{margin:0;color:#718296;font-size:13px}.hrm-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.hrm-summary>.card{margin:0;padding:19px}.hrm-summary small,.hrm-summary span{display:block;color:#70839b}.hrm-summary strong{display:block;font-size:32px;margin:12px 0 6px}.hrm-summary span{font-size:11px;line-height:1.5}.hrm-summary .hrm-available{background:#eaf6f0;border-color:#cbe6da}.hrm-available strong{color:#216e51}.hrm-grants{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.grant-card{border:1px solid #e0e8f2;border-radius:12px;padding:18px}.grant-card h3{margin:0}.grant-card .heading{margin-bottom:14px}.grant-remaining{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}.grant-remaining strong{font-size:28px}.grant-remaining span{font-size:12px;color:#718296}.grant-card dl{margin:0}.grant-card dl div{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:9px 0;border-top:1px solid #edf1f6}.grant-card dd{margin:0;font-weight:700}.grant-card dt{color:#70839b}.leave-status{font-size:11px;white-space:nowrap;padding:5px 8px;border-radius:6px;background:#edf1f5;color:#6c7c92}.leave-status.PENDING,.leave-chip.PENDING{background:#fff3d9;color:#866011}.leave-status.APPROVED,.leave-chip.APPROVED{background:#ddf2e6;color:#226548}.leave-status.REJECTED{background:#fae7e6;color:#973d39}.leave-deduction{color:#226548!important}.request-row>.heading{margin:0;gap:10px;align-items:center}.leave-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:#70839b;margin:15px 0 22px}.leave-legend span{display:flex;align-items:center;gap:6px}.leave-legend i{width:9px;height:9px;border-radius:3px}.pending-dot{background:#e5b348}.approved-dot{background:#60a882}.hrm-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.hrm-calendar .day-name{font-size:11px;color:#70839b;padding-bottom:9px}.hrm-day{display:flex;flex-direction:column;gap:8px;align-items:flex-start;justify-content:flex-start;white-space:normal;min-height:120px;padding:12px;text-align:left;overflow-wrap:anywhere}.hrm-day:disabled{opacity:.6;cursor:default}.hrm-day.today{border:2px solid #176bdf}.hrm-day small{font-size:11px;line-height:1.4;font-weight:400}.leave-chip{display:block;border-radius:6px;padding:6px;font-size:11px;max-width:100%}.leave-chip small{display:block}.calendar-work{color:#70839b}.calendar-add{margin-top:auto;color:#2b67af}.hrm-work{min-width:1150px}.hrm-work th:first-child,.hrm-work td:first-child{position:sticky;left:0;background:#fff;min-width:165px;z-index:1}#leave-estimate p{margin:8px 0 0}
@media(max-width:1000px){.hrm-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.hrm-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hrm-summary>.card{padding:14px}.hrm-summary>.hrm-available{grid-column:span 2;display:grid;grid-template-columns:1fr auto;align-items:center}.hrm-available strong{grid-column:2;grid-row:1/3;margin:0}.hrm-summary strong{font-size:28px}.hrm-calendar{gap:3px}.hrm-day{min-height:105px;padding:5px;gap:6px;font-size:12px}.hrm-day small,.leave-chip,.leave-chip small{font-size:9px}.leave-chip{padding:3px}.hrm-calendar-card{padding:13px}.hrm-calendar-card .heading{gap:10px}.hrm-calendar-card h2{font-size:16px}.hrm-calendar .day-name{font-size:10px}.leave-legend{gap:9px;margin:12px 0 16px}.hrm-grants{grid-template-columns:1fr}.request-row>.heading{flex-wrap:wrap}.hrm-work th:first-child,.hrm-work td:first-child{min-width:135px}.hrm-profile h2{font-size:18px}}
@media(max-width:600px){.leave-chip{align-self:stretch;padding:3px 1px;text-align:center}.leave-chip.APPROVED small{font-size:0}.leave-chip.APPROVED small::after{content:'✓';font-size:11px}.calendar-add{font-size:8px!important;white-space:nowrap}}
[hidden]{display:none!important}.shift.absence-leave{background:#e0f2e8;color:#236747}.shift.absence-care{background:#e9e3f8;color:#67449a}.shift.absence-sick{background:#fde6df;color:#a15138}.shift.absence-unavailable{background:#e8edf3;color:#596c82}.employee-hours{align-items:center;gap:14px}.employee-hours small{display:block;font-size:10px;color:#70839b;margin-top:5px}.employee-hours>span{white-space:nowrap}
/* HR portal and private documents */
textarea{font:inherit;resize:vertical;border:1px solid #d5dfec;border-radius:8px;padding:10px;max-width:100%;width:100%;color:var(--navy)}
.hr-profile-card{margin-bottom:20px}.hr-profile-card .hrm-profile{padding:0;background:none;border:0;margin-bottom:20px;flex-wrap:wrap}.hrm-profile h2{margin:3px 0 7px}.hrm-profile>button{margin-left:auto}.hr-photo{width:72px;height:72px;border-radius:20px;object-fit:cover;font-size:1.5rem}.profile-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0 0 18px}.profile-details dt{font-size:.73rem;color:var(--muted);margin-bottom:7px}.profile-details dd{margin:0;font-size:.85rem;line-height:1.6;overflow-wrap:anywhere}.hr-settings-actions{margin-bottom:18px}
.document-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.document-summary strong{display:block;font-size:1.8rem;margin-bottom:7px}.document-summary small{color:var(--muted)}.document-filters{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin-bottom:22px}.document-filters label:first-child{flex:1;min-width:180px}.document-filters input,.document-filters select{width:100%}.document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}.document-card{box-shadow:0 5px 16px #11263d04;min-width:0}.document-card h2{margin:10px 0 6px;line-height:1.5;overflow-wrap:anywhere}.document-card p{margin:6px 0 15px}.document-card .heading{margin-bottom:18px}.document-icon{font-size:1.8rem;background:#edf3ff;color:#3476cd;width:44px;height:44px;display:grid;place-items:center;border-radius:12px}.document-status{font-size:.73rem;padding:6px 9px;border-radius:7px;background:#eaf2ff;color:#2664b2;white-space:nowrap}.document-status.READ,.document-status.SIGNED{background:#e0f3e9;color:#267850}.document-status.TO_SIGN{background:#fff1d2;color:#8f641b}.document-status.EXPIRED{background:#fbe5e7;color:#a33849}.document-meta{display:flex;gap:14px;font-size:.75rem;color:#788ba2}.expiry-notice{font-size:.78rem;background:#fff4df;color:#90621f;padding:10px;border-radius:8px}.button-link{display:inline-block;padding:10px 14px;border:1px solid #d5dfec;border-radius:9px;text-decoration:none;color:#2664b2;font-size:.85rem}.document-history-title{margin:28px 0 12px}.document-history article{padding:16px 0;border-top:1px solid #e2e9f2;font-size:.85rem}.document-history article p{margin:5px 0;overflow-wrap:anywhere}.document-history .actions{justify-content:flex-start}.more-menu{display:grid;grid-template-columns:1fr 1fr;gap:12px}.more-menu button{min-height:60px;text-align:left}.mobile-only{display:none}
@media(min-width:761px){aside{background:var(--navy);border-right:0}aside button{background:transparent;color:#b6c8dc}aside button.active{background:#254563;color:#fff}aside button:hover{background:#1d3a57;color:#fff}aside .nav-label,aside .aside-foot{color:#8aa4bf}}
@media(max-width:1000px){.profile-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){aside .mobile-secondary{display:none}aside .mobile-only{display:flex}aside{overflow:visible}aside button{flex:1;min-width:0;padding:7px 2px;font-size:.6rem}aside button .nav-icon{width:auto}.profile-details{gap:18px}.hrm-profile>button{margin-left:0}.hr-photo{width:58px;height:58px}.document-summary{grid-template-columns:repeat(2,1fr);gap:10px}.document-summary .card{padding:16px}.document-grid{grid-template-columns:1fr}.document-filters{gap:12px}.document-filters label{flex:1;min-width:120px}.document-filters label:first-child{flex-basis:100%}.document-filters select{max-width:100%}.document-card .heading{align-items:center}.document-meta{flex-wrap:wrap}.document-filters input{min-width:0}dialog input[type=file]{width:100%;font-size:.78rem}}
/* Workforce views */
.view-switch{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}.team-wish{display:block;max-width:110px;font-size:10px;padding:3px 0;color:#6553a3;white-space:normal}.personal-day{display:grid;grid-template-columns:1fr minmax(130px,220px);gap:16px;align-items:center;border-bottom:1px solid #e8edf2;padding:14px 0}.personal-day:last-child{border:0}.personal-list .shift{width:100%;min-height:55px}.absence-special{background:#e5e0f6;color:#514078}
.clock-card{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(110deg,#f0f8ff,#fff)}.assistant-card,.next-analysis{margin-top:22px}.explain-facts li{margin:14px 0;line-height:1.5}.lock-actions,.why-action,.candidate-checks{margin-top:18px}.calendar-lock-label{display:block;font-size:10px;color:#536477}.quick-actions{margin-bottom:22px}.candidate-checks details{padding:12px 0}.candidate-checks summary{cursor:pointer;font-weight:600}.personal-list .team-wish{max-width:none}select[multiple]{min-height:110px}@media(max-width:680px){.clock-card{display:block}.clock-card .actions{margin-top:14px}.quick-actions{display:grid;grid-template-columns:1fr 1fr}.personal-day{grid-template-columns:1fr 140px}.view-switch{position:relative}}
#connection-banner{position:sticky;top:0;z-index:1000;background:#ffe6b5;color:#4d3508;padding:12px 20px;font-size:13px;border-bottom:1px solid #d99e33}
.dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}@media(max-width:680px){.dashboard-stats{grid-template-columns:1fr 1fr}.dashboard-stats .stat:last-child{grid-column:1/-1}}
.move-handle{position:absolute;left:1px;top:0;padding:1px 3px;font-size:11px;cursor:grab;opacity:.55;touch-action:none}.move-handle:hover{opacity:1}
/* Keep navigation and dashboard content available when a phone is rotated. */
@media(max-height:550px) and (orientation:landscape){.shell>aside{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;flex-direction:row;justify-content:space-around;gap:0;padding:3px 8px;background:#fff;border-top:1px solid #dce5f1;box-shadow:0 -3px 12px #10284008}.shell>aside .mobile-secondary,.shell>aside .nav-label,.shell>aside .aside-foot{display:none}.shell>aside .mobile-primary,.shell>aside .mobile-only{display:flex;flex:1;flex-direction:column;gap:2px;align-items:center;justify-content:center;color:#607087;font-size:10px;padding:3px;min-height:42px}.shell>aside button.active{background:#eaf2ff;color:#1164e3}.shell>aside .nav-icon{font-size:15px}.main{padding-bottom:62px}.main:not([data-view=team]) .stats,.main:not([data-view=team]) .bottom-grid{display:grid}.main:not([data-view=team]) .heading p,.main:not([data-view=team]) .eyebrow{display:block}#toast{bottom:57px}.table-scroll{max-height:calc(100dvh - 246px)}}
/* Shared planning calendar: the same view in Wishes and My HRM. */
.team-planning{margin:20px 0;min-width:0}.team-planning>.heading{align-items:flex-start}.team-planning .heading .actions{display:flex;flex-wrap:wrap;gap:8px}.planning-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;font-size:.75rem;color:#64768a}.planning-chip{display:block;padding:5px 7px;border-radius:6px;font-size:.7rem;line-height:1.3;text-align:left;font-weight:600;white-space:normal;margin:3px 0}.planning-chip.approved{background:#d9f2e5;color:#196347}.planning-chip.pending{background:#fff1d1;color:#805414;border:1px dashed #d6a550}.planning-chip.wish{background:#e8e4fb;color:#655294}.planning-chip.away{background:#edf0f4;color:#586579}.planning-legend .planning-chip{display:inline-block}.planning-scroll{max-width:100%;max-height:65vh;border:1px solid #e0e7f0;border-radius:10px;overflow:auto;isolation:isolate}.planning-table{border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font-size:.8rem}.planning-table th,.planning-table td{width:110px;min-width:110px;max-width:110px;border-right:1px solid #e8edf5;border-bottom:1px solid #e8edf5;vertical-align:top;padding:5px;background:white}.planning-table thead{position:sticky;top:0;z-index:3}.planning-table thead th,.planning-table thead td{background:#f4f7fb;text-align:center}.planning-table th:first-child{width:184px;min-width:184px;max-width:184px;position:sticky;left:0;z-index:2;text-align:left;background:#f9fbfe;padding:12px}.planning-table thead th:first-child{z-index:4;background:#eaf0f7}.planning-table th small{display:block;color:#7b899c;font-size:.67rem;font-weight:400;margin-top:4px}.planning-table .person{align-items:flex-start}.planning-table .person strong{display:block;font-size:.78rem;white-space:normal}.planning-table .avatar{flex:none}.planning-table .planning-own th{background:#e9f1ff;box-shadow:inset 3px 0 #2978dc}.planning-table .planning-own td{background:#f7faff}.planning-table .closed-day{background:#f4f5f8!important}.planning-table .today{box-shadow:inset 0 3px #2878db}.planning-table .planning-overlap{background:#fff0d7;color:#805414}.planning-date{display:block;width:100%;padding:5px;border:0;background:transparent;min-height:40px}.planning-date strong,.planning-date small{display:block}.planning-cell{width:100%;min-height:68px;padding:4px;border:0;border-radius:6px;background:transparent;display:block;text-align:left}.planning-cell:hover{background:#eaf0fa}.planning-cell:focus-visible{outline:2px solid #2878db;outline-offset:-2px}.planning-add{font-size:.73rem;color:#4476b8}.planning-totals td{font-size:.7rem;padding:10px 4px}.planning-peer{border-bottom:1px solid #e0e7ef;padding:10px 0;display:grid;gap:4px;font-size:.82rem}.planning-peer>small{display:block;color:#65778d;line-height:1.5}.planning-warning{background:#fff2d9;color:#795119;border:1px solid #efd5a3;border-radius:8px;padding:12px;margin:12px 0;font-size:.82rem}.planning-warning p{margin:7px 0;line-height:1.5}dialog.planning-dialog{width:min(960px,calc(100vw - 28px));max-width:960px}dialog.planning-dialog #modal-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.75fr);gap:24px;align-items:start}dialog .planning-form-context{display:block;position:static;background:#f5f8fc;border:1px solid #e0e7ef;border-radius:10px;padding:15px;box-shadow:none;color:#213951;min-width:0;max-height:58vh;overflow:auto}dialog .planning-form-context h3{font-size:.92rem;margin-top:0}dialog .planning-form-context .hint{font-size:.73rem}dialog .planning-form-fields{min-width:0}dialog .planning-form-context .planning-chip{margin:2px 0}.team-planning>.hint:last-child{margin-bottom:0}
@media(max-width:760px){.team-planning{padding:13px}.team-planning>.heading{display:block}.team-planning>.heading .actions{margin-top:10px;max-width:none;justify-content:flex-start}.planning-table th:first-child{width:136px;min-width:136px;max-width:136px;padding:8px}.planning-table .avatar{display:none}.planning-table th,.planning-table td{width:96px;min-width:96px;max-width:96px}.planning-scroll{max-height:60vh}.planning-legend{font-size:.68rem}dialog.planning-dialog #modal-form{display:flex;flex-direction:column;gap:14px}dialog.planning-dialog .planning-form-context{order:-1;width:100%;max-height:210px;box-sizing:border-box}dialog.planning-dialog .planning-form-fields{width:100%}.planning-warning{font-size:.76rem}}
@media(max-height:550px) and (orientation:landscape){.planning-scroll{max-height:60vh}.team-planning .heading p{display:block}dialog.planning-dialog .planning-form-context{max-height:55vh}}

.inbox-overview{margin-bottom:24px;border-top:4px solid #d59a32;scroll-margin-top:15px}.inbox-overview>.heading{align-items:flex-start;gap:16px}.inbox-overview h2{margin:6px 0}.inbox-toolbar{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}.inbox-toolbar label{min-width:180px}.inbox-toolbar select{display:block;width:100%;margin-top:6px}.inbox-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.inbox-count{border:1px solid #e0e7f0;background:#f6f9fe;border-radius:10px;padding:15px;text-align:left;white-space:normal}.inbox-count:first-child{background:#fff6e5;border-color:#eed6a4}.inbox-count strong{display:block;font-size:28px;line-height:1.2;color:#193b68}.inbox-count span{display:block;font-size:12px;margin-top:8px;color:#52677d;line-height:1.5}.inbox-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.inbox-filters button{font-size:12px;padding:8px 10px;white-space:normal}.inbox-pill{display:inline-block;margin-left:5px;min-width:18px;text-align:center;font-weight:bold}.inbox-item{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #e3eaf2;padding:17px 0}.inbox-item>div{min-width:0}.inbox-item h3{margin:5px 0 7px}.inbox-item p{margin:5px 0;overflow-wrap:anywhere}.inbox-kind{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#58728e}.inbox-item-action{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:10px;flex-shrink:0}.inbox-empty{padding:22px 0;color:#3d6a58}.inbox-notifications{border-top:1px solid #dce5f1;margin-top:18px;padding-top:18px}.inbox-notifications summary{cursor:pointer;font-weight:600}.inbox-notifications>.actions{margin-top:14px}.inbox-note{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #e8edf4;margin-top:12px;padding-top:12px}.inbox-note p{overflow-wrap:anywhere;min-width:0}.inbox-note button{flex-shrink:0}.pending-badge{border:1px solid #b38c40!important}
@media(max-width:760px){.inbox-overview{padding:16px}.inbox-overview>.heading{display:block}.inbox-overview>.heading>button{margin-top:10px}.inbox-summary{grid-template-columns:1fr 1fr;gap:8px}.inbox-count{padding:12px}.inbox-count strong{font-size:25px}.inbox-item{display:block}.inbox-item-action{flex-direction:row;align-items:center;justify-content:space-between;margin-top:12px;flex-wrap:wrap}.inbox-note{align-items:flex-start}.inbox-updated{margin:0}.header-right .pending-badge{padding:6px;font-size:11px}}
/* Daily attendance timeline; same card typography and palette as the schedule. */
.clock-card{align-items:center;gap:24px;border-top:4px solid #3478c7}.clock-card h2{margin:9px 0}.clock-card .actions{max-width:420px;justify-content:flex-end}.clock-card .primary{min-height:48px}.clock-card p{margin:7px 0}.attendance-timeline{margin-top:20px}.timeline-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.timeline-summary>div{background:#f4f7fb;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:6px}.timeline-summary strong{font-size:24px;color:#17334d}.timeline-summary small,.timeline-table small{display:block;color:#66768a;font-weight:400;font-size:11px;margin-top:4px}.timeline-summary span{font-size:12px;color:#52657a}.timeline-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin:16px 0}.timeline-legend span{display:flex;align-items:center;gap:6px}.timeline-legend i{width:18px;height:8px;border-radius:3px;background:#3478c7}.timeline-legend .meal{background:#f4b860}.timeline-legend .plan{background:#94a3b8}.timeline-legend .leave{background:#d7f4e7}.timeline-scroll{overflow:auto;max-height:670px;border:1px solid #e2e8f0;border-radius:10px}.timeline-table{width:100%;min-width:720px;border-collapse:collapse;font-size:12px}.timeline-table thead{position:sticky;top:0;z-index:1;background:#f3f6fa}.timeline-table th,.timeline-table td{padding:5px 12px;border-bottom:1px solid #e6edf3;text-align:left;vertical-align:middle}.timeline-table th:first-child{width:94px}.timeline-table td:nth-child(2){width:65%}.timeline-table td:nth-child(3){min-width:114px}.timeline-table td:nth-child(4){min-width:90px}.timeline-table .today{background:#f0f7ff}.timeline-table .selected{box-shadow:inset 3px 0 #3478c7;background:#eef5fc}.timeline-table .future{color:#718196}.timeline-table th button{padding:4px 6px;font-size:12px;text-align:left;white-space:nowrap}.timeline-axis{display:flex;justify-content:space-between;padding:9px 0;font-size:10px;color:#66768a}.day-status-bar{display:block;width:100%;height:30px;overflow:visible}.credit-strip{background:linear-gradient(to right,#d7f4e7 var(--credit-width),#f3f6fa var(--credit-width));border-radius:4px;min-height:19px;font-size:10px;color:#174635;padding:2px 6px;margin-bottom:4px}.credit-strip.sick{background:linear-gradient(to right,#fde2e4 var(--credit-width),#f3f6fa var(--credit-width));color:#743540}.credit-strip.care{background:linear-gradient(to right,#ece5ff var(--credit-width),#f3f6fa var(--credit-width));color:#59427e}.credit-strip.holiday{background:linear-gradient(to right,#fff0c4 var(--credit-width),#f3f6fa var(--credit-width));color:#655019}.timeline-detail{padding:18px 0 0}.timeline-detail p{font-size:13px}.timeline-table .error{color:#9e263b}@media(max-width:1100px){.timeline-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.clock-card{display:block}.clock-card .actions{justify-content:flex-start;margin-top:15px}.timeline-summary{gap:8px}.timeline-summary>div{padding:12px}.timeline-summary strong{font-size:21px}.attendance-timeline .heading{display:block}.attendance-timeline .heading label{margin-top:12px}.timeline-scroll{max-height:540px}.timeline-table td,.timeline-table th{padding:5px 7px}}
/* v13: live attendance and paid meal timers */
.clock-content{flex:1;min-width:0}.clock-controls{flex:0 1 300px}.clock-timers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 8px}.clock-timers>div{padding:18px;border-radius:12px;display:flex;flex-direction:column;gap:7px;border:1px solid #b9e1c8;background:#edf8f1;color:#176039}.clock-timers strong{font-size:clamp(26px,3vw,40px);font-variant-numeric:tabular-nums;letter-spacing:.02em;color:#148344;white-space:nowrap}.clock-timers small{line-height:1.5;font-size:12px}.clock-timers b{font-variant-numeric:tabular-nums}.clock-timers>div.clock-meal{background:#fff8d4;border-color:#e8cc53;color:#725709}.clock-timers .clock-meal strong{color:#9b7500}.clock-meal.running{box-shadow:inset 0 3px #ecc026}.clock-timers>div>span{font-weight:600;font-size:13px}.clock-buttons{margin:10px 0}.clock-buttons button{min-height:50px;font-size:14px;font-weight:600;padding:12px 18px}.clock-buttons button span{display:inline-block;margin-right:6px;font-size:17px}.clock-buttons .clock-arrival{background:#1766cb;border-color:#1766cb;color:white}.clock-buttons .clock-departure{background:#c72c3b;border-color:#c72c3b;color:white}.clock-buttons .clock-meal-button{background:#f4ce42;border-color:#d4ac25;color:#493900}.clock-buttons button:hover{filter:brightness(.94)}.clock-buttons button:disabled{filter:grayscale(.35);opacity:.5;cursor:not-allowed}.clock-blocked{background:#fff0ee;border:1px solid #edc4c0;color:#89332e;border-radius:9px;padding:12px;font-size:13px}.clock-controls>.actions{gap:8px}.clock-controls>.actions:not(.clock-buttons){margin-top:12px}.clock-controls>.actions:not(.clock-buttons) button{font-size:12px}.clock-dialog{width:min(720px,calc(100vw - 28px));max-width:720px}.clock-dialog .clock-timers strong{font-size:clamp(30px,6vw,48px)}.clock-dialog .clock-buttons{justify-content:center;margin:24px 0 12px}.clock-dialog .hint{line-height:1.6}.push-steps{padding:12px 16px;border-radius:10px;background:#f2f6fb}.push-steps li{margin:8px 0;line-height:1.5}.push-device-status{font-size:13px;line-height:1.6}
@media(max-width:1000px){.clock-card{display:block}.clock-card .clock-controls{margin-top:16px}.clock-card .actions{justify-content:flex-start;max-width:none}}@media(max-width:480px){.clock-timers{gap:8px}.clock-timers>div{padding:12px 10px}.clock-timers strong{font-size:27px}.clock-timers small{font-size:10px}.clock-dialog .clock-timers strong{font-size:28px}.clock-buttons{flex-wrap:wrap}.clock-buttons button{flex:1;white-space:nowrap}.clock-dialog .clock-buttons button{font-size:12px;padding:12px}.clock-card{padding:16px}.clock-timers>div>span{font-size:12px}}
/* v14: use the available phone screen for the roster, including landscape. */
.team-ai-shortcut{display:none}.team-fullscreen .team-ai-shortcut{display:inline-block}.team-ai-dialog,.candidate-calendar-dialog{width:min(1120px,calc(100vw - 24px));max-width:1120px}.team-ai-controls{justify-content:flex-start!important;margin:16px 0!important}.team-ai-context{margin-top:4px}.team-ai-dialog #generation-result{margin-top:20px}.candidate-calendar{margin:20px 0}.candidate-calendar .table-scroll{max-height:48vh;border:1px solid var(--line);border-radius:10px}.candidate-calendar .schedule th,.candidate-calendar .schedule td{min-width:94px;width:94px;height:60px;padding:5px}.candidate-calendar .schedule th:first-child{min-width:155px;width:155px;font-size:12px;white-space:normal}.candidate-calendar .schedule thead th{height:43px}.candidate-calendar .candidate-changed{box-shadow:inset 0 0 0 2px #4088ed}.candidate-shift{display:block;border-radius:7px;padding:7px 3px;font-size:11px;font-weight:650;white-space:nowrap}.candidate-shift small{display:block;margin-top:5px;font-size:10px;white-space:normal}.candidate-absence{display:block;font-size:11px;color:#a13162}.candidate-diff{margin:18px 0}.candidate-diff summary{cursor:pointer;font-weight:600}.candidate-calendar-dialog>.actions{position:sticky;bottom:-26px;padding:12px 0;background:white;border-top:1px solid var(--line);z-index:5}
@media(max-width:600px){.team-ai-dialog,.candidate-calendar-dialog{padding:16px;width:calc(100vw - 12px);max-height:95dvh}.candidate-calendar .schedule th:first-child{min-width:110px;width:110px}.candidate-calendar-dialog>.actions{bottom:-16px}.candidate-calendar-dialog>.actions button{font-size:12px}.team-ai-dialog .cards{grid-template-columns:1fr}.team-fullscreen .team-screenbar .actions{gap:2px}.team-fullscreen .team-screenbar .team-ai-shortcut{background:var(--blue);color:white}}
.team-fullscreen>.future-toolbar,.team-fullscreen>.notice{display:none}
.team-screenbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.team-screenbar>strong{display:flex;gap:10px;align-items:center}.team-screenbar .status{font-size:11px;padding:5px 8px}.team-screenbar button{min-height:40px}.person-select{border:0;padding:0;background:transparent;text-align:left;width:100%;border-radius:6px;white-space:normal}.person-select:hover{background:#edf4ff}.person-select:focus-visible{outline:2px solid #1766cb}.team-person-shifts{display:grid;gap:8px;margin-top:16px;max-height:55vh;overflow:auto}.team-person-shifts button{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;white-space:normal;min-height:46px}.team-person-shifts span{font-size:12px}.team-full-legend p{display:flex;align-items:center;gap:9px}.team-focus{overflow:hidden}.main.team-fullscreen{position:fixed;inset:0;z-index:50;background:#fff;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);display:flex;flex-direction:column;min-width:0;height:100vh;height:100dvh;box-sizing:border-box}.team-fullscreen .team-screenbar{flex:none;min-height:46px;margin:0;padding:3px 10px;border-bottom:1px solid #dce5ef}.team-fullscreen .team-screenbar button{font-size:12px;padding:6px 9px;min-height:38px}.team-fullscreen .team-screenbar>strong{font-size:14px}.team-fullscreen .team-workspace{flex:1;min-height:0;display:flex;flex-direction:column}.team-fullscreen .team-workspace>:not(.schedule-card){display:none!important}.team-fullscreen .schedule-card{flex:1;min-height:0;display:flex;flex-direction:column;border:0;border-radius:0;margin:0}.team-fullscreen .schedule-card>.toolbar{flex:none;padding:4px 8px;min-height:42px;gap:5px;flex-wrap:nowrap;justify-content:space-between}.team-fullscreen .toolbar>.actions{gap:4px;flex-wrap:nowrap;max-width:45%}.team-fullscreen .toolbar .actions button{display:none}.team-fullscreen .toolbar .month-control{gap:2px;min-width:0}.team-fullscreen .toolbar .month-control input{font-size:13px;width:137px;max-width:137px;min-height:36px;padding:4px 0}.team-fullscreen .toolbar .month-control button{padding:4px 9px;min-height:36px}.team-fullscreen .toolbar select{font-size:12px;max-width:100%;min-width:0;min-height:36px;padding:5px}.team-fullscreen .table-scroll{flex:1;min-height:0;max-height:none;height:auto;border:0;overflow:auto;-webkit-overflow-scrolling:touch;isolation:isolate}.team-fullscreen .legend{display:none}.team-fullscreen .schedule th,.team-fullscreen .schedule td{height:62px;padding:4px;width:80px;min-width:80px;max-width:80px}.team-fullscreen .schedule th:first-child,.team-fullscreen .schedule td:first-child{width:132px;min-width:132px;max-width:132px;padding:5px 8px}.team-fullscreen .schedule thead th{height:40px;padding-top:3px;padding-bottom:3px;top:0}.team-fullscreen .schedule thead th strong{margin-bottom:2px;font-size:12px}.team-fullscreen .schedule thead th:first-child>small{display:none!important}.team-fullscreen .schedule .person .avatar,.team-fullscreen .schedule .person small{display:none}.team-fullscreen .schedule .person strong{white-space:normal;line-height:1.3;font-size:12px}.team-fullscreen .shift{height:48px;min-height:48px;font-size:12px;padding:5px 2px}.team-fullscreen .shift small{font-size:10px;margin-top:3px;overflow:hidden;text-overflow:ellipsis}.team-fullscreen .fill-handle,.team-fullscreen .move-handle{display:none}.team-fullscreen .holiday-label{display:none}.team-fullscreen .team-wish,.team-fullscreen .planning-chip{font-size:9px;line-height:1.2;margin:2px 0;padding:2px}.team-focus #toast{z-index:60;bottom:16px}.team-fullscreen .closed-cell{font-size:10px;padding:10px 2px}
@media(max-width:420px){.team-fullscreen .schedule th:first-child,.team-fullscreen .schedule td:first-child{width:110px;min-width:110px;max-width:110px}.team-screenbar .status{font-size:9px;padding:4px}.team-fullscreen .team-screenbar>strong{gap:5px}.team-fullscreen .team-screenbar{gap:3px;padding:3px 5px}.team-fullscreen .team-screenbar button{padding:5px 7px;font-size:11px}.team-fullscreen .toolbar select{width:125px}.team-fullscreen .toolbar .month-control input{width:124px;max-width:124px}}

/* Public release identity for deployment checks. */
.release-badge{font-size:11px!important;letter-spacing:0;min-height:26px!important;padding:3px 7px!important;margin-left:7px;vertical-align:middle;opacity:.8}.login-release{text-align:center;margin-top:18px}.login form .release-badge{width:auto;margin:0}.header .brand .release-badge{color:#d4e5ff;border-color:#415a73}.release-badge:hover{opacity:1}
