/* ===== lungmedicin.se — shared site chrome ===== */
.lm-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(22,24,28,0.92); backdrop-filter:blur(8px);
  border-bottom:1px solid #33383E;
}
.lm-nav-inner{
  max-width:1040px; margin:0 auto; padding:10px 20px;
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  font-family:'IBM Plex Mono', monospace;
}
.lm-nav-brand{font-size:11px; letter-spacing:0.1em; color:#E8A33D; white-space:nowrap;}
.lm-nav-links{display:flex; gap:2px; flex-wrap:wrap; margin-left:auto;}
.lm-nav-links a{
  font-size:11px; color:#9BA0A6; text-decoration:none; padding:6px 10px; border-radius:6px;
  letter-spacing:0.02em; transition:background 0.15s, color 0.15s;
}
.lm-nav-links a:hover{background:#22262B; color:#E7E4DD;}
.lm-nav-links a.active{background:#22262B; color:#E8A33D;}

.lm-restore-banner{
  max-width:1040px; margin:10px auto 0; padding:9px 16px; background:#22262B; border:1px solid #33383E;
  border-radius:8px; font-size:11.5px; color:#9BA0A6; display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.lm-restore-banner button{
  font-family:'IBM Plex Mono', monospace; font-size:10.5px; color:#E7E4DD; background:transparent;
  border:1px solid #33383E; border-radius:6px; padding:4px 10px; cursor:pointer;
}
.lm-restore-banner button:hover{border-color:#D6614A; color:#F0A695;}

.lm-print-btn{
  position:fixed; right:18px; bottom:78px; z-index:40;
  font-family:'IBM Plex Mono', monospace; font-size:10.5px; letter-spacing:0.03em;
  background:#1D2024; color:#E7E4DD; border:1px solid #33383E; border-radius:20px;
  padding:8px 14px; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
.lm-print-btn:hover{border-color:#5B9C96; color:#A9D2CC;}

.lm-footer{
  max-width:980px; margin:20px auto 0; padding:14px 20px 40px;
  font-family:'IBM Plex Mono', monospace; font-size:10px; color:#6C7278;
  border-top:1px solid #282C31;
}
.lm-footer-inner{display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; padding-top:12px;}
.lm-footer a{color:#6C7278;}
.lm-footer a:hover{color:#E8A33D;}

.lm-disclaimer-overlay{
  position:fixed; inset:0; z-index:200; background:rgba(10,11,13,0.82);
  display:flex; align-items:center; justify-content:center; padding:20px;
  font-family:'Space Grotesk', sans-serif;
}
.lm-disclaimer-box{
  max-width:440px; background:#1D2024; border:1px solid #33383E; border-radius:12px;
  padding:24px 24px 20px; color:#E7E4DD;
}
.lm-disclaimer-box h3{margin:0 0 10px; font-family:'Source Serif 4', Georgia, serif; font-size:19px;}
.lm-disclaimer-box p{font-size:13px; line-height:1.6; color:#9BA0A6; margin:0 0 18px;}
.lm-disclaimer-box button{
  width:100%; font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.03em;
  background:#E8A33D; color:#16181C; border:none; border-radius:8px; padding:12px; cursor:pointer; font-weight:600;
}
.lm-disclaimer-box button:hover{background:#f0b45c;}

@media print{
  .lm-nav, .lm-footer, .lm-print-btn, .lm-restore-banner, .summary-bar, .reset-btn, .back-link, .grid-bg{ display:none !important; }
  .stage-body, .reco-body, .diag-body, .mgmt-body{ max-height:none !important; }
  body{ background:#fff !important; color:#111 !important; }
}
