#hours .hours-week-window{margin:20px 0}#hours .hours-week-window summary{cursor:pointer;font-size:16px;font-weight:600;line-height:1.6}#hoursWeekCount{font-size:12px;color:#c7b38b;white-space:nowrap;margin-left:8px}#hours .hours-week-preview{max-height:280px;overflow-y:auto;overflow-wrap:anywhere;scrollbar-gutter:stable;padding-right:8px;margin:12px 0 16px}#hours .hours-preview-day h4{font-size:13px;color:#f5c16c;margin:12px 0 8px}#hours .hours-preview-row{border-top:1px solid #304358;padding:10px 0}#hours .hours-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px}#hours .hours-preview-row p{font-size:12px;line-height:1.5;color:#bbc6d2;margin:5px 0}#hours .hours-week-window :focus-visible{outline:2px solid #f5c16c;outline-offset:3px}
#hours {max-width:1100px;margin:auto}#hours h2{font-size:clamp(36px,7vw,62px)}#hours h3{margin-top:0}#hours [hidden]{display:none!important}#hours input,#hours select{box-sizing:border-box;min-width:0;width:100%;padding:12px;border-radius:9px;background:#0b1c2c;color:#f6f7fa;border:1px solid #425267;font:inherit}#hours label{display:grid;gap:7px;font-size:13px;color:#c0c9d4}#hours .hours-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:22px 0}#hours .hours-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}#hours .hours-totals>div{background:#112337;border:1px solid #304358;border-radius:14px;padding:20px 14px}#hours .hours-totals span{font-size:10px;letter-spacing:1.2px;display:block;color:#c0c9d4}#hours .hours-totals strong{font-size:clamp(23px,5vw,36px);color:#f5c16c;display:block;margin-top:8px}#hours .hours-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}#hours .hours-panel{min-width:0;padding:22px;border:1px solid #304358;background:#081827;border-radius:16px}#hours .hours-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}#hours .hours-help{font-size:13px;color:#b7c0cc;line-height:1.6}#hours .hours-entry{border-top:1px solid #304358;padding:18px 0}#hours .hours-entry p{font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:#bbc6d2}#hours .hours-entry-top{display:flex;justify-content:space-between;margin-bottom:9px;gap:8px}#hours .hours-badge{font-size:11px;padding:4px 8px;border-radius:8px;background:#40341f;color:#f5c16c}#hours .hours-badge.confirmed{color:#9ce0be;background:#163e32}#hours .hours-entry-actions{display:flex;gap:8px}#hours .secondary{margin:0;font-size:13px}#hoursMessage{font-size:14px;color:#a9dfc4}#hoursMessage.error{color:#ffb8aa}#hours button:disabled{opacity:.5}@media(max-width:720px){#hours .hours-layout{grid-template-columns:1fr}#hours .hours-pair{grid-template-columns:1fr}#hours .hours-panel{padding:17px}#hours .hours-totals>div{padding:14px 9px}#hours .hours-totals{gap:6px}}
.app-shell:has(#hours.active){max-width:1100px}#hours .hours-toolbar .secondary{width:auto;padding:0 18px}#hours input,#hours select{font-size:16px}#hours .hours-totals strong{white-space:nowrap}@media(min-width:721px){#hours .hours-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}

/* Native iOS date controls must not determine the toolbar track width. */
#hours .hours-toolbar{display:grid;grid-template-columns:minmax(0,240px) auto auto;justify-content:start;align-items:end;gap:12px}
#hours .hours-toolbar>label{min-width:0;width:100%}
#hours .hours-toolbar input{max-width:100%;min-width:0;width:100%;min-height:50px;-webkit-appearance:none;appearance:none}
#hours .hours-toolbar .secondary{width:100%;min-width:0;white-space:normal}
#hours .hours-totals strong{font-size:clamp(23px,4vw,36px)}
@media(max-width:720px){
 #hours .section-intro{margin:28px 0 22px}
 #hours .hours-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);justify-content:stretch;gap:12px}
 #hours .hours-toolbar>label{grid-column:1 / -1}
 #hours .hours-toolbar .secondary{padding:0 10px}
 #hours input[type=date]::-webkit-date-and-time-value{text-align:left}
 #hours .hours-totals span{font-size:10px;letter-spacing:.7px}
}
#hours .hours-totals{grid-template-columns:repeat(3,minmax(0,1fr))}#hours .hours-totals>div{min-width:0}
@media(max-width:360px){#hours .hours-totals strong{font-size:20px}#hours .hours-totals span{font-size:9px;letter-spacing:.3px}}

.weekly-hours-card{display:grid;gap:8px;margin:20px 0;padding:20px 24px;border:1px solid #43505b;border-radius:16px;background:#0b1c2c;color:#e8eef5;text-decoration:none}.weekly-hours-card>span{font-size:12px;letter-spacing:1.5px;color:#c7b38b}.weekly-hours-card>strong{font-size:36px;color:#f5c16c}.weekly-hours-card>small{font-size:14px;line-height:1.5;color:#b7c0cc}#hours .trip-panel{margin:24px 0}#hours label{font-size:14px}
#hours .hours-category-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}#hours .hours-category-totals>div{padding:18px;border:1px solid #43505b;border-radius:14px;background:#112337;min-width:0}#hours .hours-category-totals span{font-size:11px;color:#c7b38b}#hours .hours-category-totals strong{display:block;font-size:28px;margin:8px 0;color:#f5c16c}#hours .hours-category-totals small{color:#bbc6d2;line-height:1.6;display:block}#hours #tripEditor summary{cursor:pointer;padding:16px 0;color:#f5c16c}#hours #hoursOpenEntries:empty{display:none}#hours #hoursOpenEntries{color:#f5c16c}#hours #hoursCategoryHelp{margin:0}#hours .hours-totals span{line-height:1.5} @media(max-width:720px){#hours .hours-category-totals{grid-template-columns:1fr;gap:8px}#hours .hours-category-totals>div{padding:12px 16px}#hours .hours-category-totals strong{font-size:25px;margin:4px 0}}
