.edition,.control-help,.workspace footer,#subtitle,.page-heading .eyebrow,#sourceBtn,#quickAdvanced,.result-head,.quick-note,.legend-note,.legend-intro{display:none!important}
.module-heading{max-width:1072px;margin:20px auto}.module-heading h1{font-size:25px;letter-spacing:-.7px}
body:not([data-screen=home]) .module-heading,body:not([data-screen=home]) #nav,body[data-screen=home] main,body[data-screen=options] .result-area,body[data-screen=result] .input-panel{display:none!important}
body.quick-view main,body[data-algorithm=dm2] main{padding-top:8px}
.flow-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:var(--muted);font-size:12px}.flow-bar button{border:0;background:none;padding:8px 0;min-height:44px;color:#a81750;font-size:14px;font-weight:600}
.page-heading{margin-bottom:16px!important}.page-heading h1{font-size:25px;margin:0}.result-actions{display:flex;gap:12px;margin-top:16px}.result-actions button{max-width:none;flex:1}
body.quick-view #form>.primary{display:block!important;margin-top:18px}body.quick-view #form{padding:20px}body.quick-view .input-panel{margin:0}
.quick-guidance{padding:20px}.quick-guidance section+section{margin-top:14px}.quick-guidance h3{font-size:15px;margin:0 0 5px}.quick-guidance p,.quick-guidance li{font-size:15px;line-height:1.5}.quick-guidance .quick-caution{font-size:13px;padding:10px;margin-top:12px}.quick-guidance .ref{min-height:36px;padding-bottom:0}
.drug-legend{margin-top:12px;padding:8px 20px;border-top:1px solid var(--line)}.drug-legend dl{margin:0}.drug-legend dl>div{padding:10px 0}.drug-legend dl>div:last-child{border:0}.drug-legend dt{font-size:14px}.drug-legend dd{font-size:14px;line-height:1.5;margin-top:3px}
@media(max-width:700px){.module-heading{margin:18px 20px}.module-heading h1{font-size:24px}body[data-screen=home] #nav{gap:10px;padding:10px}body[data-screen=home] .nav-item{min-height:100px;font-size:14px}body[data-screen=home] .nav-item .symbol{font-size:28px}body.quick-view main,body[data-algorithm=dm2] main{padding-top:0}.page-heading h1{font-size:25px}.bottom-bar{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}.bottom-bar button{min-height:48px}}
body[data-screen=home] #nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:transparent;border:0;padding:0;gap:14px}
body[data-screen=home] #nav .nav-item{position:relative;min-height:146px;border:1px solid #eadfe6;border-radius:20px;background:#fff;color:#293542;box-shadow:0 3px 12px #60204004;gap:12px;font-size:15px;font-weight:650;line-height:1.35;padding:18px 12px!important;transition:background .15s,border-color .15s,transform .15s}
body[data-screen=home] #nav .symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#fceaf1;color:#b71859}#nav .symbol svg{width:28px;height:28px;display:block;pointer-events:none}
body[data-screen=home] #nav .nav-item:nth-child(even) .symbol{background:#eaf5fa;color:#007fa4}
@media(hover:hover){body[data-screen=home] #nav .nav-item:hover{border-color:#b71859;background:#fff7fa;transform:translateY(-2px)}}
body[data-screen=home] #nav .nav-item:active{background:#fceaf1;transform:scale(.98)}
.app-logo{display:block;flex:none;border-radius:11px;box-shadow:0 4px 12px #94144718}
body[data-screen=home] #reset{visibility:hidden}
@media(max-width:700px){body[data-screen=home] #nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 20px}body[data-screen=home] #nav .nav-item{min-height:126px;padding:14px 10px!important;font-size:14px;gap:10px}body[data-screen=home] #nav .symbol{width:44px;height:44px;border-radius:14px}#nav .symbol svg{width:26px;height:26px}.app-logo{width:38px;height:38px}.module-heading{margin-top:14px;margin-bottom:22px}.module-heading h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){body[data-screen=home] #nav .nav-item{transition:none}}
