:root{color:#14243a;background:#f4f1ea;font-family:Avenir Next,Avenir,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 12% 0%,rgb(77 111 143 / 10%),transparent 34rem),#f4f1ea}button,input,select{font:inherit}button,.file-button{cursor:pointer}.file-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.app-shell{display:flex;min-height:100vh;flex-direction:column;gap:12px;padding:12px}.access-shell{display:grid;min-height:100vh;place-items:center;background:#f4f1ea;padding:16px}.access-card{display:grid;width:min(420px,100%);gap:14px;border:1px solid #d8dde6;border-radius:8px;background:#fff;padding:18px;box-shadow:0 18px 42px #212a3824}.access-brand{padding-bottom:10px;border-bottom:1px solid #e3e8ef}.access-title{display:flex;align-items:center;gap:8px}.access-title h1{margin:0;font-size:22px}.access-error{margin:0;border:1px solid #efc2ca;border-radius:7px;background:#fff2f4;color:#9f3448;font-size:13px;font-weight:800;padding:9px 10px}.topbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:12px;align-items:center;border:1px solid #d8dde6;border-radius:8px;background:#fff;padding:10px;box-shadow:0 10px 22px #212a3814}.brand{display:flex;min-width:0;align-items:center;gap:10px}.brand-mark{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border-radius:12px;background:#14243a;color:#fff;font-weight:800;overflow:hidden}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 4px 2px;color:#647180;font-size:12px}.app-footer nav{display:flex;flex-wrap:wrap;gap:16px}.app-footer a{color:#14243a;font-weight:700;text-decoration:none}.app-footer a:hover{color:#b94333}.icon-button.primary{background:#14243a;border-color:#14243a}.icon-button.primary:hover{background:#243b58}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgb(230 101 77 / 38%);outline-offset:2px}.brand-mark img{width:100%;height:100%;display:block}.brand p,.panel-title p,.block-head p{margin:0;font-weight:800}.brand span,.panel-title span,.block-head span,td span,.metric span,.summary-card span,.store-row span,.comparison-row span{display:block;color:#687284;font-size:12px;line-height:1.35}.top-metrics{display:grid;grid-template-columns:repeat(3,minmax(88px,1fr));gap:8px}.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.session-pill{display:inline-flex;min-height:38px;max-width:180px;align-items:center;gap:6px;border:1px solid #d5dce7;border-radius:7px;background:#f8fafc;color:#314052;font-size:12px;font-weight:850;overflow:hidden;padding:8px 10px;text-overflow:ellipsis;white-space:nowrap}.metric{min-width:0;border:1px solid #e0e5ed;border-radius:8px;background:#f8fafc;padding:8px 10px}.metric strong{display:block;margin-top:2px;color:#14243a;font-size:15px}.icon-button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:7px;border:1px solid #cfd7e2;border-radius:7px;background:#fff;color:#14243a;font-weight:750;padding:8px 11px;transition:background .16s ease,border-color .16s ease,transform .16s ease}.icon-button:hover{border-color:#98a6b8;background:#f7f9fb}.icon-button:active{transform:translateY(1px)}.icon-button.primary{border-color:#14243a;background:#14243a;color:#fff}.workbench{display:grid;flex:1;grid-template-columns:minmax(300px,.9fr) minmax(520px,1.55fr) minmax(270px,.72fr);gap:12px;min-height:0}.calendar-panel,.operation-panel,.detail-panel{min-width:0;border:1px solid #d8dde6;border-radius:8px;background:#fff;box-shadow:0 10px 22px #212a3812}.calendar-panel,.detail-panel{overflow:auto;padding:12px}.operation-panel{display:flex;min-height:0;flex-direction:column;padding:12px}.panel-title,.block-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-title{justify-content:flex-start;padding-bottom:10px}.year-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.month-card{border:1px solid #e2e7ef;border-radius:8px;padding:8px;background:#fbfcfe}.month-card h2{margin:0 0 7px;color:#1f2937;font-size:13px;text-transform:capitalize}.weekday-grid,.day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.weekday-grid span{color:#7b8493;font-size:9px;font-weight:750;text-align:center}.day{display:grid;width:100%;aspect-ratio:1;min-width:0;place-items:center;border:1px solid transparent;border-radius:5px;background:transparent;color:#253143;font-size:10px;font-weight:720;line-height:1;padding:0}.day.weekend{color:#9a6070}.day.has-entries{background:#eaf7f1;color:#17624f}.day.event{border-color:#d6b35e;background:#fff7df;color:#7a531a}.day.selected{border-color:#14243a;background:#14243a;color:#fff;box-shadow:0 0 0 2px #1f6f5f29}.day.empty{aspect-ratio:1}.operation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e3e8ef;padding-bottom:12px}.eyebrow{color:#6b7280;font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.operation-head h1{margin:4px 0 8px;font-size:clamp(22px,3vw,34px);line-height:1.12}.event-row,.head-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.event-chip,.save-state{display:inline-flex;min-height:28px;align-items:center;gap:6px;border-radius:999px;font-size:12px;font-weight:800;padding:5px 10px}.event-chip{border:1px solid #d8dde6;background:#f4f6f9;color:#4b5563}.event-chip.official{border-color:#d6b35e;background:#fff7df;color:#7a531a}.event-chip.half-day{border-color:#93bdd8;background:#edf6fb;color:#245f83}.event-chip.weekend{border-color:#d98e9c;background:#fff2f4;color:#9f3448}.save-state{background:#eef7f2;color:#17624f}.filter-grid{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(160px,1fr) minmax(210px,1.2fr) minmax(104px,.48fr) auto;gap:10px;align-items:end;padding:12px 0}.field{display:grid;gap:5px;min-width:0}.field>span,.check-field span{color:#4b5563;font-size:12px;font-weight:800}.input-with-icon{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;border:1px solid #d5dce7;border-radius:7px;background:#fff;padding:0 8px}.input-with-icon svg{color:#758297}.input-with-icon input,.input-with-icon select{width:100%;min-height:38px;border:0;background:transparent;color:#14243a;outline:0}.plain-input{width:100%;min-height:38px;border:1px solid #d5dce7;border-radius:7px;background:#fff;color:#14243a;outline:0;padding:8px 10px}.plain-input:focus{border-color:#14243a;box-shadow:0 0 0 3px #1f6f5f1f}.check-field{display:inline-flex;min-height:40px;align-items:center;gap:8px;border:1px solid #d5dce7;border-radius:7px;background:#fff;padding:8px 10px}.check-field input{width:16px;height:16px;accent-color:#14243a}.manual-entry,.personnel-edit{border:1px solid #dfe6ee;border-radius:8px;background:#fbfcfe;padding:10px;margin-bottom:12px;overflow:hidden}.personnel-edit{border-color:#bed4ec;background:#f5f9fd}.manual-entry-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.manual-entry-head h2{margin:2px 0 0;color:#14243a;font-size:17px}.manual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.span-2{grid-column:span 2}.edit-grid{grid-template-columns:minmax(180px,1.1fr) repeat(5,minmax(120px,1fr))}.edit-actions{display:flex;flex-wrap:wrap;gap:8px}.compact-check{align-self:end;justify-content:center;min-width:0}.computed-box{min-height:58px;border:1px solid #d5dce7;border-radius:7px;background:#fff;padding:8px 10px}.computed-box span{display:block;color:#687284;font-size:12px;font-weight:800}.computed-box strong{display:block;margin-top:4px;color:#17624f;font-size:15px}.summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding-bottom:12px}.summary-card{border:1px solid #e1e6ef;border-radius:8px;padding:10px}.summary-card strong{display:block;margin-top:4px;font-size:24px}.summary-card.neutral{background:#f8fafc}.summary-card.success{border-color:#b8ddcb;background:#eff9f3;color:#17624f}.summary-card.warning{border-color:#edd29a;background:#fff8e8;color:#875a1d}.summary-card.info{border-color:#bdd6eb;background:#edf6fb;color:#245f83}.period-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:12px}.period-card{min-width:0;border:1px solid #dfe6ee;border-radius:8px;background:#fff;padding:10px}.period-card span,.period-card small{display:block;color:#687284;font-size:12px;line-height:1.35}.period-card strong{display:block;margin:3px 0;color:#875a1d;font-size:22px}.table-shell{position:relative;min-height:0;flex:1;overflow:auto;border:1px solid #dfe5ed;border-radius:8px;background:#fff}table{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;table-layout:fixed}thead th{position:sticky;top:0;z-index:2;border-bottom:1px solid #dfe5ed;background:#f6f8fb;color:#4d596a;font-size:11px;font-weight:850;letter-spacing:.05em;padding:10px;text-align:left;text-transform:uppercase}tbody td{border-bottom:1px solid #edf0f4;color:#273244;font-size:13px;padding:8px 10px;vertical-align:middle;word-break:break-word}thead th:nth-child(1){width:12%}thead th:nth-child(2){width:10%}thead th:nth-child(3){width:8%}thead th:nth-child(4){width:15%}thead th:nth-child(5){width:12%}thead th:nth-child(6){width:14%}thead th:nth-child(7),thead th:nth-child(8){width:7%}thead th:nth-child(9),thead th:nth-child(10),thead th:nth-child(11){width:5%}tbody tr:hover{background:#fbfcfe}td strong{display:block;font-weight:850}.link-button{margin-top:5px;margin-right:8px;border:0;background:transparent;color:#245f83;font-size:12px;font-weight:850;padding:0;text-decoration:underline}.danger-link{color:#a14432}.entry-input{width:74px;height:34px;border:1px solid #ccd5e1;border-radius:6px;background:#fff;color:#14243a;font-weight:850;text-align:center;outline:0}.entry-cell{min-width:168px}.number-cell{color:#314052;font-weight:850;text-align:right;white-space:nowrap}.strong-number{color:#875a1d}.entry-input:focus{border-color:#14243a;box-shadow:0 0 0 3px #1f6f5f1f}.entry-input.hours{border-color:#9fd2b7;background:#f0faf4;color:#17624f}.entry-input.off{border-color:#e6c06c;background:#fff8e8;color:#875a1d}.entry-input.note{border-color:#d98e9c;background:#fff2f4;color:#9f3448}.quick-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;width:136px;min-width:0}.quick-row button{min-width:30px;height:28px;border:1px solid #d7dee8;border-radius:6px;background:#fff;color:#2c3748;font-size:12px;font-weight:800}.quick-row button:hover{border-color:#98a6b8;background:#f4f7fa}.quick-row .clear-button{display:inline-grid;place-items:center;color:#9f3448}.empty-state{padding:24px;color:#647083;text-align:center}.detail-panel{display:flex;flex-direction:column;gap:10px}.panel-block{border:1px solid #e0e6ee;border-radius:8px;background:#fbfcfe;padding:10px}.stacked-metrics,.store-list,.comparison-list{display:grid;gap:7px;margin-top:10px}.store-row,.comparison-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid #e4e9f0;border-radius:8px;background:#fff;padding:8px}.store-row p{margin:0;color:#17624f;font-size:13px;font-weight:850}.comparison-values{display:grid;gap:4px;justify-items:end}.comparison-values span{border-radius:999px;font-size:11px;font-weight:850;padding:3px 7px}.comparison-values .positive{background:#e8f6ee;color:#17624f}.comparison-values .negative{background:#fff1ed;color:#a14432}.comparison-values .flat{background:#f1f4f7;color:#596578}@media (max-width: 1320px){.workbench{grid-template-columns:minmax(280px,.85fr) minmax(520px,1.5fr)}.topbar{grid-template-columns:minmax(260px,1fr) auto}.top-actions{grid-column:1 / -1;justify-content:flex-start}.detail-panel{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.manual-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.edit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 980px){.topbar,.workbench,.filter-grid,.summary-grid,.period-grid,.manual-grid,.detail-panel{grid-template-columns:1fr}.top-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-panel,.operation-panel,.detail-panel{max-height:none}.year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 640px){.app-shell{padding:8px}.top-metrics,.year-grid{grid-template-columns:1fr 1fr}.operation-head{display:grid}.icon-button{width:100%}.top-actions{display:grid;grid-template-columns:1fr}.session-pill{max-width:none;justify-content:center}.app-footer{align-items:flex-start;flex-direction:column}}
