/* FORTIS Einsatzmanager – shared compact interface, no external fonts/assets. */
:root{--navy:#101e30;--blue:#245fc4;--bg:#f2f5f9;--line:#dfe6ef;--muted:#58697f;--green:#14532d;--red:#b42318;--ui-shadow:0 2px 6px #182b4710}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;line-height:1.45;background:var(--bg);color:#1b2b40;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #66a3ef;outline-offset:3px}
a{color:#2255a8;text-underline-offset:3px}a:hover{color:#153d82}
.main{min-width:0;padding:22px 26px 28px}.main h1{font-size:25px;letter-spacing:-.65px;line-height:1.2;margin:4px 0 18px;font-weight:720}.main h2{font-size:17px;letter-spacing:-.25px;line-height:1.3;margin:0 0 12px}.main h3{font-size:14px;margin:10px 0}.main p{margin:9px 0 13px}
.top{gap:16px;padding:0 0 15px;margin-bottom:21px;border-bottom:1px solid var(--line);font-size:12px;color:#46566d}.top b{font-size:13px;color:#263a52}.top>.muted,.top .muted{font-size:11px}.top>div:last-child{font-size:11px;padding:5px 9px;border-radius:20px;background:#e8eef6;color:#405571;max-width:55%;overflow-wrap:anywhere}
body .card{border:1px solid var(--line);border-radius:12px;padding:15px 17px;box-shadow:var(--ui-shadow);background:#fff}
body .card.wide-scroll,body .card.month-plan-wrap{padding:0;overflow:auto}
.card>h2:first-child{margin-top:0}.card>p:last-child{margin-bottom:0}.card>form:last-child{margin-bottom:0}.grid{gap:12px}.grid.two{gap:14px}
body .btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:31px;padding:5px 10px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:600;line-height:1.35;vertical-align:middle;text-decoration:none;background:#245fc4;color:#fff;cursor:pointer;box-shadow:0 1px 2px #142f5915;transition:background-color .12s,border-color .12s}
body .btn:hover{background:#1c4fa8;color:#fff}.btn:disabled,button:disabled{cursor:default;opacity:.55}
body .btn.secondary{background:#edf2f9;color:#274e87;border-color:#dce5f1;box-shadow:none}body .btn.secondary:hover{background:#e1eaf6;color:#183f76}
body .btn.danger{background:#b42318;color:#fff}body .btn.danger:hover{background:#941e16}
input,select,textarea{border:1px solid #cbd6e4;border-radius:7px;padding:7px 9px;background:#fff;color:#182b44;line-height:1.35;box-shadow:inset 0 1px 1px #16284004}
input:focus,select:focus,textarea:focus{border-color:#5e8ed0;outline:2px solid #c7dcfa;outline-offset:1px}
input[type=checkbox],input[type=radio]{accent-color:#245fc4;box-shadow:none}textarea{resize:vertical}label{color:#364b65}.formgrid{gap:10px 14px}.formgrid label>input,.formgrid label>select,.formgrid label>textarea{margin-top:4px}
th,td{padding:8px 9px;font-size:12px;line-height:1.4;border-color:#e5ebf2}th{background:#f6f8fc;color:#4a5c72;font-weight:650;font-size:11px}table{font-variant-numeric:tabular-nums}tbody tr:hover>td:not(.sticky){background-color:#f8faff}
.stat{font-size:12px;color:#52647b}.stat b{color:#152f50;font-size:27px;letter-spacing:-.7px;margin-top:4px;line-height:1.2}.grid>.stat{border-top:2px solid #d0def3}
.status{padding:3px 7px;font-size:10px;font-weight:650;border-radius:6px;line-height:1.4}.alert,.shift-notice{border:1px solid #c9e8d7;padding:9px 12px;font-size:12px;border-radius:8px}.alert{background:#eff9f3;color:#185638}.shift-notice{background:#fff9eb;border-color:#f0dba6;color:#72520d}.shift-notice p{margin:4px 0 0}
.main details>summary{font-size:12px;font-weight:650;color:inherit;line-height:1.4}.main details.card>summary{padding:1px 0}.main details.card[open]>summary{margin-bottom:12px}.app-version{font-size:10px;margin-top:24px;padding-top:12px;color:#60738b}
.employee-photo{width:38px;height:38px;border-radius:9px}.employee-personnel-no{font-size:10px}.employee-actions{min-width:168px}.employee-actions>.btn{font-size:11px;padding:4px 8px;min-height:28px}.employee-more>summary{font-size:11px!important;padding:5px 7px;border-radius:6px}.employee-action-list{gap:5px}.employee-action-list .btn{background:#edf2f9;color:#274e87;border-color:#dce5f1;justify-content:flex-start}.employee-action-list .btn.danger{background:#b42318;color:white}
/* Employee duty cards remain complete; reduce spacing rather than hide content. */
body .employee-shift-card{padding:10px 12px;margin-bottom:8px;border-left-width:3px;border-radius:9px}.employee-shift-head{gap:10px}.employee-shift-head h2{font-size:15px;margin:0 0 3px;gap:7px}.shift-name{font-size:12px;border-radius:5px;padding:2px 6px}.shift-time{font-size:12px;line-height:1.35}.shift-meta{font-size:11px;margin-top:3px;line-height:1.35}.employee-shift-actions{gap:4px}.employee-shift-actions .status{font-size:10px}.employee-shift-actions .btn{font-size:11px;padding:5px 8px;min-height:28px}.shift-people{font-size:11px;gap:4px 12px;padding-top:6px;margin-top:7px;line-height:1.4}.shift-person small{font-size:10px}.employee-shift-card>p{margin:6px 0}.shift-instruction{padding:7px 9px;font-size:12px}.shift-help{font-size:12px;margin:10px 0}.employee-shift-card.shift-read{background:#14532d;color:#fff;border-color:#14532d}.employee-shift-card.shift-read h2{color:#fff}.employee-shift-card.shift-read .shift-meta,.employee-shift-card.shift-read .shift-people,.employee-shift-card.shift-read .muted{color:#dcfce7}
/* Compact roster. Preserve confirmed/absence states and every existing action. */
.month-plan{min-width:1710px}.month-plan th,.month-plan td{width:48px;min-width:48px;padding:3px;font-size:11px;line-height:1.25}.month-plan .name-col{width:164px;min-width:164px}.month-plan small{font-size:9px;line-height:1.25}.month-plan .employee-day{height:44px}.month-plan .employee-shift{padding:3px;margin:1px 0;border-radius:5px;font-size:10px;line-height:1.25}.month-plan .employee-shift small{margin:1px 0;font-size:9px;line-height:1.2}.month-plan .employee-shift a{color:inherit}.month-plan .shift-remove-form{margin-top:2px}.month-plan .shift-remove-btn{font-size:12px;min-width:20px;min-height:18px;line-height:18px;padding:0 4px;border-radius:4px}.month-plan .need-inline input{padding:2px;width:29px;font-size:10px;min-height:22px}.month-plan .need-inline button{padding:2px 3px;min-height:22px}.month-plan .need-ratio{font-size:11px;margin:2px 0}.month-plan .mini-assignment{font-size:9px;line-height:1.2;padding:2px;margin-top:2px}.month-plan .absence-cell{font-size:9px;padding:3px;overflow-wrap:anywhere}.month-plan .section-row th{background:#e8eef7}.month-plan .need-red{background:#fee0dd!important;color:#882d27}.month-plan .need-yellow{background:#fff0bf!important;color:#72500d}.month-plan .need-green{background:#d4eddf!important;color:#174e33}.month-plan .need-over{background:#dce9ff!important;color:#234c86}
.month-plan .employee-shift.plan-confirmed,.month-plan .mini-assignment.plan-confirmed{background:#14532d!important;color:#fff!important;border-color:#0b3c1d}.month-plan .employee-shift.plan-confirmed small,.month-plan .employee-shift.plan-confirmed a{color:#dcfce7!important}
.month-plan .hours-summary{padding:5px 6px;border-radius:7px}.selected-employee-info{font-size:12px;padding:8px 10px;background:#edf3fb;border-color:#d6e2f2}.object-quals{padding:9px 11px;font-size:12px}.planning-tools{gap:10px}.obj-dot{width:12px;height:12px;border:0;box-shadow:0 0 0 3px #edf2f8}.object-overview-table .obj-day-link{min-height:29px}.dashboard-object-head{gap:8px}
.week{gap:7px}.day{padding:7px;min-height:110px;border-radius:9px}.shift{padding:5px 7px;margin:5px 0;font-size:11px;line-height:1.35}.free-mode-btn{padding:5px 9px;font-size:12px;border-radius:7px}.free-badge{font-size:13px;min-height:24px;min-width:24px}
.chat-message{border-radius:11px;font-size:13px}.chat-compose textarea{font-size:14px}.pa-actions{border-radius:9px 9px 0 0}.pa-matrix th,.pa-matrix td{padding:3px}.pa-pick select{border-radius:5px}.patrol-access{padding:5px 0}
.login.card{border-radius:16px;padding:25px;box-shadow:0 14px 45px #12335414}.login h2{font-size:21px;letter-spacing:-.5px}.login>.muted{font-size:12px}.login .btn{min-height:36px}.login .logo{max-width:90px}
@media(min-width:901px){.layout{grid-template-columns:218px minmax(0,1fr)}.side{position:sticky;top:0;height:100vh;overflow-y:auto;padding:23px 12px 18px;background:linear-gradient(160deg,#12283e,#101b2c 65%);scrollbar-width:thin;scrollbar-color:#3b4e64 transparent}.brand{padding:0 12px 20px;margin-bottom:14px;border-bottom:1px solid #ffffff17;font-size:20px;letter-spacing:1px;line-height:1.15}.brand small{font-size:11px;font-weight:500;letter-spacing:.4px;color:#a8bdd4}.side a{font-size:12px;line-height:1.35;padding:8px 11px;margin:3px 0;border-radius:7px;color:#b9c9da;border:1px solid transparent}.side a:hover{background:#ffffff0c;border-color:#ffffff12;color:#fff}.side a.active{background:#244977;border-color:#426994;color:#fff;box-shadow:inset 3px 0 #73b0ff}.nav-group{margin:4px 0}.nav-group summary{font-size:12px;padding:9px 11px;font-weight:600;color:#e3ebf6}.nav-group summary:hover{background:#ffffff08}.nav-group a{font-size:11px;padding:7px 10px!important;border-left:1px solid #354860;border-radius:0 6px 6px 0}.grid.two .stat{padding:12px}.main .access-box .btn{min-height:28px;font-size:11px;padding:4px 8px}}
@media(max-width:900px){body{font-size:13px}.main{padding:14px}.main h1{font-size:22px;margin-bottom:14px}.main h2{font-size:16px}body .card{padding:12px;border-radius:10px}.top{margin-bottom:15px;padding-bottom:10px;font-size:11px}.top b{font-size:12px}.top>div:last-child{font-size:10px;padding:4px 7px}.mobile-appbar{padding:9px 14px;padding-top:max(9px,env(safe-area-inset-top));min-height:56px;background:#11253b;box-shadow:0 2px 8px #10253b20}.mobile-appbar button{font-size:12px;padding:6px 10px;min-height:36px;border-color:#456078;border-radius:8px}.mobile-appbar a{font-size:12px}.mobile-ready.mobile-menu-open .side{background:#11253b}.side a{font-size:13px;padding:10px 12px}.nav-group summary{font-size:13px}body .btn{min-height:40px;padding:7px 10px;font-size:12px}input:not([type=checkbox]):not([type=radio]),select{min-height:40px;font-size:16px}textarea{font-size:16px}.employee-actions>.btn{min-height:38px}.employee-shift-actions .btn{min-height:40px;font-size:12px}.employee-shift-card{padding:10px!important}.employee-shift-head h2{font-size:15px}.shift-time{font-size:12px}.shift-people{font-size:12px}.grid{gap:9px}.stat b{font-size:24px}.login{margin:6vh 14px}.login.card{padding:20px}.login .btn{min-height:42px}}
@media(max-width:600px){.month-plan.mobile-days-active th,.month-plan.mobile-days-active td{width:76px;min-width:76px;max-width:76px;padding:3px}.month-plan.mobile-days-active .name-col{width:96px;min-width:96px;max-width:96px;font-size:11px}.month-plan .need-inline input{width:36px;min-height:36px;font-size:16px}.month-plan .need-inline button{min-height:36px;min-width:28px;font-size:14px}.month-plan .employee-shift{font-size:11px;padding:3px}.month-plan .employee-shift small{font-size:10px;line-height:1.25}.month-plan .employee-shift a{padding:4px 0;display:inline-block}.month-plan .shift-remove-btn{min-height:36px;min-width:36px;font-size:18px}.month-plan .mini-assignment{font-size:10px}.selected-employee-info .btn{width:auto;display:inline-flex;min-height:36px}.mobile-plan-nav .btn{min-height:38px;font-size:12px;padding:6px 9px}.shift-people{grid-template-columns:1fr;gap:4px}.employee-shift-main{width:100%}.employee-shift-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.day{min-height:0}.main .card>h2{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){body .btn{transition:none}}
@media print{body{background:#fff}.side,.mobile-appbar,.top{display:none!important}.layout{display:block}.main{padding:0}.card{box-shadow:none!important;break-inside:avoid}}
