
.spec-toolbar,.spec-employee-switch{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:0 0 16px;padding:16px 19px;background:#fff;border:1px solid #e3e8f1;border-radius:16px;box-shadow:0 4px 13px #22274b08}
.spec-toolbar label{font-size:11px;font-weight:700;color:#67758d;display:flex;gap:9px;align-items:center}
.spec-toolbar input{padding:10px;border:1px solid #dce5ef;border-radius:10px;background:#f5f7fa;color:#303a54}
.spec-status{display:flex;gap:10px;align-items:center;font-size:12px;color:#777f8e}
.spec-chart{height:250px;padding:18px 12px 14px;display:flex;align-items:end;justify-content:space-around;border-bottom:1px solid #dce2eb;gap:10px}
.spec-col{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;height:100%;position:relative;min-width:40px;flex:1}
.spec-col span{width:min(62px,82%);background:linear-gradient(180deg,#4283c3,#0b55a3);border-radius:9px 9px 0 0;display:block;order:2}
.spec-col b{font-size:12px;color:#283958;order:1}
.spec-col small{font-size:10px;white-space:normal;text-align:center;color:#8692a2;order:3}
.spec-info-box{display:flex;gap:14px;margin:9px 0 20px}
.spec-info-box>div{flex:1;display:flex;flex-direction:column;gap:5px;padding:17px;background:#edf5ff;border-radius:13px;border:1px solid #dceafa}
.spec-info-box>div small{font-size:11px;color:#6a7891}
.spec-info-box>div b{font-size:25px;color:#0b55a3}
.spec-info-box.muted>div{background:#f3f5f9;border-color:#ebedf1}
.spec-info-box.muted b{color:#252061}
.spec-avatar{height:46px;width:46px;display:grid;place-items:center;border-radius:14px;background:#252061;color:white;font-weight:800;font-size:22px}
.spec-employee-switch>div:nth-child(2){flex:1;display:flex;flex-direction:column;min-width:135px;gap:4px}
.spec-employee-switch b{font-size:14px;color:#26334b}
.spec-employee-switch small{font-size:10px;color:#8490a0;letter-spacing:.04em}
.spec-switch-right{display:flex;gap:7px;flex-wrap:wrap}
.spec-soft{background:#f4f8ff;border:1px solid #e3eaf7;padding:12px;border-radius:10px;color:#647993;font-size:11px;margin:10px 0}
.spec-wages>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 8px;border-bottom:1px solid #e7edf5;font-size:12px;color:#65748b}
.spec-wages>div b{font-size:11px;color:#263650;white-space:nowrap}
.spec-wages>div.subtotal{background:#eaf1fc;padding:14px;border-radius:10px;color:#24487d;font-weight:750;margin:9px 0}
.spec-wages>div.subtotal b{font-size:14px;color:#0b55a3}
.spec-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 25px}
.spec-checkbox-grid label{font-size:12px;color:#4e6079;display:flex;gap:9px;align-items:center}
.spec-checkbox-grid input{accent-color:#0b55a3}
.spec-paper{min-height:355px;background:white;border:1px solid #dee5ef;box-shadow:0 8px 30px #2529450b;padding:28px 20px;color:#4b5770;font-size:11px;display:flex;gap:12px;flex-direction:column;margin-bottom:15px}
.spec-paper span{font-weight:800;color:#b4682b;background:#fff3e4;padding:10px;text-align:center;border-radius:7px}
.spec-paper b{font-size:18px;color:#252061;text-align:center}
.spec-paper small{text-align:center;color:#78869a}
.spec-paper hr{width:100%;border:0;border-top:1px solid #e4eaf3;margin:4px 0}
.spec-cell{width:110px;padding:8px;border:1px solid #dbe5f0;border-radius:8px;background:#f7f9fc}
.spec-att-grid input[type=checkbox]{accent-color:#0b55a3}
.spec-att-grid td{padding:6px 11px!important}
.spec-att-grid{min-width:920px!important}
.spec-legend{padding:11px;border-radius:9px;background:#f5f7fb;color:#8792a5;font-size:10px}
.spec-calendar{border:1px solid #e3e9f3;border-radius:14px;overflow:hidden}
.spec-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#edf2f9}
.spec-days b{font-size:11px;color:#65758d;padding:12px 6px;text-align:center;border-right:1px solid #e5eaf2}
.spec-dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.spec-dates button{display:flex;gap:7px;align-items:flex-start;flex-direction:column;min-height:79px;text-align:left;background:#fff;border:0;border-right:1px solid #e5ecf4;border-top:1px solid #e5ecf4;padding:10px;cursor:pointer;color:#596780}
.spec-dates button:not(:disabled):hover,.spec-dates button.focus{background:#eef5ff;color:#0b55a3}
.spec-dates button:disabled{background:#f9fbfe}
.spec-dates button span{font-weight:780}
.spec-dates button small{font-size:10px;background:#e1edff;color:#0b55a3;border-radius:5px;padding:3px 7px}
.spec-shift-allow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.spec-shift-allow>div{border:1px solid #e1e7f0;padding:11px;border-radius:11px}
.spec-shift-allow b{font-size:12px;color:#252061}
@media(max-width:800px){.spec-info-box{flex-wrap:wrap}.spec-switch-right{width:100%}.spec-calendar .spec-dates button{min-height:60px;padding:5px}.spec-employee-switch{align-items:center}}
@media(max-width:520px){.spec-checkbox-grid,.spec-shift-allow{grid-template-columns:1fr}.spec-paper{padding:14px}.spec-employee-switch{padding:12px}.spec-dates button{min-height:52px!important;padding:5px!important}.spec-days b{font-size:8px}.spec-info-box>div b{font-size:21px}}

/* Keep horizontal navigation in document flow so it never obscures page headings on scroll. */
.navbar{position:relative!important;top:auto!important}

