.mobile-switch,.mobile-details-toggle{display:none}
@media(max-width:800px){
 body{word-break:keep-all}header{height:52px;padding:0 16px}.brand-mark{width:26px;height:29px;font-size:21px}.brand strong{font-size:16px}.sample{font-size:11px}main{margin:0 14px;padding:16px 0 20px}.intro{margin-bottom:12px}.intro .eyebrow,.intro p:last-child{display:none}h1{font-size:24px;margin:0}nav{gap:0;justify-content:space-between;margin-bottom:12px}nav button{padding:10px 4px;font-size:14px;min-height:44px}
 .mobile-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#090d13;border:1px solid var(--edge);border-radius:8px;margin-bottom:12px}.mobile-switch button{min-height:38px;background:none;border:0;border-radius:5px;color:var(--muted);font-size:14px;font-weight:bold}.mobile-switch button[aria-pressed=true]{background:#34302a;color:var(--gold)}body[data-reference=true] .mobile-switch{display:none}
 .workspace{display:block}.workspace[data-mobile-view=input] .output-column{display:none}.workspace[data-mobile-view=result] .input-panel{display:none}.workspace[data-mobile-view=result] .output-column{display:grid;gap:12px}
 .input-panel{padding:18px}.section-head h2{font-size:17px}#form-description{font-size:13px;margin:4px 0 14px}.primary-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{margin:0}.field>label{font-size:13px}select,input{height:44px;font-size:16px;margin-top:6px;padding-left:10px}#mode{font-size:13px}fieldset{margin-top:18px;padding-top:10px}legend{font-size:14px}.pair{gap:10px}.pair>label{font-size:13px}.field-note{font-size:12px;line-height:1.6;margin-top:12px}#donor-fields .pair{margin-top:10px}#donor-fields .field-note{display:none}.primary{margin-top:16px;min-height:46px;padding:10px}#error{font-size:13px}.input-footnote{display:none}
 .result-panel{padding:20px}.result-label{margin-top:18px;font-size:14px}.result-number{font-size:34px;line-height:1.4}.result-number small{font-size:14px}.result-sub{font-size:13px;margin-bottom:18px}.stats{margin-top:18px;padding-top:16px;gap:16px 10px}.stat span{font-size:12px}.stat strong{font-size:17px}.stat small{font-size:11px}.result-note{padding-top:14px;margin-top:16px;font-size:12px}.progress-label{font-size:12px}
 .mobile-details-toggle{display:block;min-height:44px;border:1px solid var(--edge);border-radius:7px;color:#cdd4de;background:var(--panel);font-size:14px}.output-column[data-details=false] .route-panel,.output-column[data-details=false] .tip{display:none}.route-panel{padding:18px}.route-panel h2{font-size:16px}.milestones{margin:22px 0}.milestone span{display:none}.milestone b{width:26px;height:26px}.route-bottom{font-size:12px;gap:6px}
 .reference-panel{padding:16px}.reference-panel>.section-head{gap:12px;margin-bottom:16px}.reference-panel>.section-head p{font-size:12px}.reference-panel>.section-head label{font-size:13px}.table-scroll{max-height:calc(100dvh - 340px);min-height:200px}th{position:sticky;top:0;z-index:1}th,td{padding:12px 10px;font-size:13px}th:first-child,td:first-child{position:sticky;left:0;background:#1b2029}th:first-child{z-index:2;background:#141a23}
 footer{margin-top:18px;padding-top:14px;font-size:11px;gap:6px}footer strong{font-size:12px}footer p{line-height:1.6}footer>span{display:none}
}
@media(max-width:350px){.result-number{font-size:29px}.stat strong{font-size:15px}.primary-fields{grid-template-columns:1fr}.primary-fields .field+.field{margin-top:10px}.input-panel{padding:15px}nav button{font-size:13px}}
