.weekly-inspection-form { max-width:38rem; min-width:0; margin:0 auto; color:var(--deep); overflow-wrap:anywhere; }
.weekly-inspection-nav { display:flex; justify-content:space-between; gap:16px; padding:12px 0 16px; border-bottom:1px solid var(--border); font-size:16px; font-weight:650; }
.weekly-inspection-nav > :last-child { flex:none; color:var(--muted); font-weight:400; }
.weekly-inspection-form > header { padding:22px 0 18px; }
.weekly-inspection-form h1 { margin:0 0 10px; font-size:26px; line-height:1.35; font-weight:700; }
.weekly-inspection-form > header p { margin:5px 0; color:var(--muted); font-size:15px; line-height:1.6; }
.weekly-inspection-identity { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px 18px; margin:0 0 24px; padding:18px; border-radius:14px; background:var(--tint); }
.weekly-inspection-identity > div { min-width:0; }
.weekly-inspection-identity dt { color:var(--muted); font-size:14px; line-height:1.6; }
.weekly-inspection-identity dd { margin:4px 0 0; font-size:22px; line-height:1.4; }
.weekly-inspection-identity .weekly-inspection-teacher { font-size:27px; font-weight:700; }
.weekly-inspection-identity .weekly-inspection-period { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; grid-column:1/-1; gap:4px 12px; padding-top:12px; border-top:1px solid var(--border); }
.weekly-inspection-period dd { font-size:14px; }
.weekly-inspection-form fieldset { min-width:0; margin:0 0 20px; padding:0 0 20px; border:0; border-bottom:1px solid var(--border); }
.weekly-inspection-form fieldset:last-of-type { border-bottom:0; margin-bottom:0; padding-bottom:10px; }
.weekly-inspection-form legend { max-width:100%; padding:0; margin-bottom:12px; font-size:16px; line-height:1.65; font-weight:650; }
.weekly-inspection-form legend small { margin-left:6px; font-weight:400; }
.weekly-inspection-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.weekly-inspection-prices { grid-template-columns:repeat(2,minmax(0,1fr)); }
.weekly-inspection-prices .weekly-inspection-uncertain { grid-column:1/-1; }
.weekly-inspection-option { position:relative; display:flex; min-width:0; min-height:44px; cursor:pointer; }
.weekly-inspection-option input { position:absolute; inset:0; z-index:1; width:100%; height:100%; margin:0; opacity:0; cursor:inherit; }
.weekly-inspection-option span { display:flex; align-items:center; justify-content:center; gap:7px; width:100%; padding:9px 5px; border:1px solid var(--border); border-radius:8px; background:var(--surface); color:var(--deep); font-size:15px; line-height:1.5; }
.weekly-inspection-option span::before { content:''; flex:none; box-sizing:border-box; width:16px; height:16px; border:1.5px solid currentColor; border-radius:50%; }
.weekly-inspection-option input:checked + span { border-color:var(--main); background:var(--tint); color:var(--main); font-weight:650; }
.weekly-inspection-option input:checked + span::before { border:5px solid currentColor; }
.weekly-inspection-option input[type=checkbox] + span::before { border-radius:3px; }
.weekly-inspection-papers { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.weekly-inspection-papers button { flex:1; min-height:44px; padding:8px; border:1px solid var(--border); border-radius:8px; background:var(--surface); }
.weekly-inspection-papers button[aria-pressed=true] { background:var(--tint); border-color:var(--accent); font-weight:650; }
.weekly-inspection-option input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }
.weekly-inspection-option:hover span { border-color:var(--main); }
.weekly-inspection-form fieldset:disabled .weekly-inspection-option { cursor:default; opacity:.75; }
.weekly-inspection-help,.weekly-inspection-position { color:var(--muted); font-size:14px; line-height:1.6; margin:12px 0; }
.weekly-inspection-position { text-align:center; }
.weekly-inspection-form [role=alert] { margin-bottom:8px; color:var(--negative); font-size:14px; }
.weekly-inspection-form [role=alert]:empty { display:none; }
.weekly-inspection-form [type=submit] { width:100%; min-height:48px; font-size:17px; }
@media(max-width:359px) { .weekly-inspection-options { gap:5px; } .weekly-inspection-option span { gap:4px; padding-inline:3px; font-size:14px; } .weekly-inspection-form h1 { font-size:24px; } }
