
:root{color-scheme:light;font-family:system-ui,sans-serif;background:#f2f5f7;color:#142a3a;line-height:1.5;--ink:#142a3a;--muted:#466072;--accent:#0d5c57;--border:#cfdae2}
*{box-sizing:border-box} body{margin:0} a{color:var(--accent)} a:hover{text-decoration-thickness:2px} a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #eb9e21;outline-offset:3px}
header{background:#092635;color:white} .bar{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:.7rem 1.5rem;padding:.8rem 1.2rem;flex-wrap:wrap}.brand{font-weight:760;font-size:1.2rem;color:white;text-decoration:none}.mark{display:inline-block;background:#e2fff2;color:#0d5c57;padding:.14rem .45rem;border-radius:.35rem;margin-right:.5rem}.nav{display:flex;gap:.9rem;align-items:center;flex-wrap:wrap}.nav a,.nav button{color:#fff}.nav form,.inline{display:inline}.nav button{background:transparent;border:1px solid #73939b;padding:.32rem .6rem;font-size:.87rem}
main{max-width:1200px;margin:2rem auto;padding:0 1.2rem} h1{font-size:clamp(1.55rem,5vw,2.35rem);line-height:1.15;margin:.1em 0 .45em}h2{font-size:1.25rem;margin:.2em 0 .5em}p{margin:.35rem 0 1rem}.muted,small{color:var(--muted)}.pill{display:inline-block;background:#e2f6f0;color:#164f41;padding:.1rem .6rem;border-radius:99px;font-weight:650}.card{background:white;border:1px solid var(--border);border-radius:14px;padding:1.15rem;margin:1rem 0;box-shadow:0 1px 2px #10253612}.narrow{max-width:570px}.auth{margin:4rem auto;max-width:460px}.actions,.row{display:flex;flex-wrap:wrap;align-items:end;gap:.65rem 1rem}.actions{margin:.8rem 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:.75rem}.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:1rem}.cols>.card{margin:0}.scroll{overflow-x:auto}
label{display:block;font-weight:630;font-size:.92rem}input,textarea,select{font:inherit;display:block;border:1px solid #8295a2;border-radius:6px;background:#fff;color:var(--ink);padding:.48rem .55rem;width:100%;min-width:0;margin:.25rem 0 0}input[type=checkbox]{display:inline-block;width:auto;margin-right:.4rem}textarea{min-height:5rem}button,.button{font:inherit;font-weight:690;background:var(--accent);color:white;border:1px solid var(--accent);border-radius:7px;padding:.48rem .75rem;cursor:pointer;text-decoration:none;display:inline-block;white-space:normal}.secondary{background:white;color:var(--accent)}.danger{background:white;color:#912f2f;border-color:#ad6767}.error{border-left:4px solid #ad3f3f;background:#fbebeb;padding:.8rem;margin-bottom:1rem}.success{border-left:4px solid #137457;background:#e5f7ec;padding:.8rem;margin-bottom:1rem}table{border-collapse:collapse;width:100%;text-align:left} th,td{border-bottom:1px solid var(--border);padding:.45rem .6rem;vertical-align:top}th{background:#e5edf1}.slot{border-top:1px solid var(--border);padding:.7rem 0}.slot:first-child{border-top:0}.sheetline{display:grid;gap:.55rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr))}.stamp{display:flex;gap:1rem;margin-top:1rem}.stamp>div{border:1px solid #627585;min-height:5rem;flex:1;padding:.5rem}.datebox{display:block;text-align:right}.sheet td{overflow-wrap:anywhere}
@media print{@page{size:A4 landscape;margin:10mm}body,main{background:white;color:black}header,.no-print,.success,.error{display:none!important}main{margin:0;padding:0;width:100%}.card{border:0;box-shadow:none;margin:0;padding:0}.sheet th,.sheet td{border:1px solid #333;padding:2mm}.sheet{table-layout:fixed;font-size:9pt}.sheet td:nth-child(2){overflow-wrap:anywhere}.scroll{overflow:visible}.sheet tr,.stamp,.totals{break-inside:avoid}.sheet thead{display:table-header-group}.sheet h1{font-size:19pt}.muted{color:black}}

.timesheet{margin:1rem 0}.print-profile{grid-template-columns:1fr 1fr;gap:.25rem 1.4rem;margin:.7rem 0}.sheet thead th{background:#c5dbee}.sheet .weekday{background:#e4eff8}.sheet td:last-child,.totals td:first-child{background:#fff4d4}.sheet .totals td:last-child{background:#ddf6fb}.comment{white-space:pre-wrap;overflow-wrap:anywhere}.sheet-status{font-size:.88rem;color:var(--muted);text-align:right;margin-bottom:.2rem}.sheet-status+.timesheet{margin-top:0}
@media(max-width:550px){.print-profile{grid-template-columns:1fr}.stamp{flex-direction:column}}
@media print{.print-profile{grid-template-columns:1fr 1fr}.timesheet,.timesheet h1{margin:.1em 0 .5em}.stamp{display:block}.stamp>div{min-height:13mm;border:1px solid #333;padding:2mm;margin-top:2mm}.sheet th,.sheet td,.stamp,.print-profile{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
