:root{color-scheme:dark;font:16px system-ui;background:#100d19;color:#eeeaf7}*{box-sizing:border-box}body{margin:0}header,main{max-width:1440px;margin:auto;padding:24px}header{border-bottom:1px solid #493b61}h1,h2,h3{font-weight:600}h1{margin:0;color:#b2ebc6}p,small{color:#c9c1d8}nav,.actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}button,input,select,textarea{font:inherit;color:#f3eefc;background:#272033;border:1px solid #6f5b8d;border-radius:7px;padding:10px}button{cursor:pointer}button:hover,button[aria-pressed=true]{background:#364c41;border-color:#8ce3ae}button:disabled{opacity:.5;cursor:default}label{display:grid;gap:7px;margin:12px 0}form,.panel{padding:20px;background:#1b1527;border:1px solid #493b61;border-radius:12px;margin:16px 0}form{max-width:850px}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.week{display:flex;gap:12px;overflow-x:auto;padding-bottom:16px}.day{min-width:260px;flex:1;background:#191322;border:1px solid #493b61;border-radius:10px;padding:14px}.card{display:block;width:100%;text-align:left;margin:12px 0;padding:15px;background:#292036}.card span{display:block;margin-top:9px;font-size:14px}.good{color:#8ce3ae}.bad{color:#ff9b91}.pending{color:#f1d486}.muted{color:#b9afc9}.tabs{border-bottom:1px solid #493b61;padding-bottom:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere}table{width:100%;text-align:left;border-collapse:collapse}td,th{padding:10px;border-bottom:1px solid #493b61}a{color:#b2ebc6}[hidden]{display:none!important}input[type=checkbox]{width:auto}#message{white-space:pre-wrap}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b2ebc6}
.table-scroll{overflow-x:auto;margin:18px 0}.table-scroll table{min-width:850px}.table-scroll th{color:#b2ebc6}td,th{vertical-align:top}

.day small{display:block;margin:8px 0;line-height:1.5}header #identity{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

label.checkbox-field{display:flex;align-items:flex-start;gap:10px}label.checkbox-field input{order:-1;flex:0 0 auto;margin:4px 0}

/* Compact entry rows follow the original interface reference. */
form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px 16px;max-width:1100px;padding:16px;margin:12px 0}
form>label{min-width:0;margin:0;align-content:start;gap:6px}
form>h3,form>p,form>small,form>div,form>nav,form>details,form>fieldset,form>.checkbox-field{grid-column:1/-1}
form>h3{margin:0 0 4px}form>p{margin:2px 0;line-height:1.4}
form>button{grid-column:1/-1;justify-self:start}
input,select,textarea{min-width:0;max-width:100%;padding:8px}
form input,form select,form textarea{width:100%}form input[type=checkbox]{width:auto}
.labor-form{grid-template-columns:repeat(4,minmax(0,1fr))}
.week{gap:10px}.day{padding:10px;min-width:260px}.day h3{font-size:15px;margin:4px 0 8px}.day h4{font-size:14px;margin:12px 0 4px}
.day small{font-size:12px;margin:5px 0;line-height:1.35}
.card{margin:8px 0;padding:10px;font-size:14px;line-height:1.35;border-radius:7px;overflow-wrap:anywhere}
.card span{font-size:13px;margin-top:4px}.card .card-counts{font-size:12px;line-height:1.5}
@media(max-width:900px){.labor-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){header,main{padding:14px}.labor-form,form{grid-template-columns:minmax(0,1fr)}form{padding:12px}.fields{grid-template-columns:minmax(0,1fr)}}

.labor-form>label{align-content:end}

.weight-summary{max-width:1100px;overflow-x:auto;margin:12px 0}.weight-summary table{min-width:540px}.weight-summary th{color:#eeeaf7;font-size:14px}.weight-summary td{font-size:14px}.weight-guidance{max-width:1100px;padding:10px 12px;border-left:3px solid #8ce3ae;background:#1b1527}
