/* Jumpseatnews.com Retirement Resource Center
   Mobile first. Colors, type and details follow the main site stylesheet
   (/assets/css/styles.css): page blue #DEEBF3, navy headings #036, Bitter
   headlines, black header strip, gold nav hover, teal footer. */

:root{
  --page:#DEEBF3;
  --paper:#fff;
  --ink:#111;
  --ink-soft:#444;
  --navy:#003366;
  --navy-2:#062B5A;
  --link:#2200CC;
  --gold:#FFCC00;
  --gold-deep:#E0A800;
  --sun:#F2A541;
  --teal:#014054;
  --sky:#E3F1FD;
  --sky-2:#CDE7F4;
  --line:#ccc;
  --line-soft:#e3e3e3;
  --cream:#FFFBE7;
  --thead:#2F536E;
  --tcell:#F5F4E4;
  --sec:#FBFBF7;
  --ok:#17693F;
  --ok-bg:#E8F5EC;
  --warn:#8A4B00;
  --warn-bg:#FFF4D6;
  --bad:#A32218;
  --bad-bg:#FDECEA;
  --radius:10px;
  --shadow:0 1px 2px rgba(0,0,0,.08),0 4px 14px rgba(0,40,80,.08);
  --fs:17px;
  --tabbar-h:60px;
}
html[data-fs="lg"]{--fs:19px;}
html[data-fs="xl"]{--fs:21px;}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:64px;}
body{margin:0;background:var(--page);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:var(--fs);line-height:1.55;}
img,svg{max-width:100%;}
img{display:block;border:0;height:auto;}
a{color:var(--link);text-decoration:underline;text-underline-offset:2px;}
a:visited{color:#73499D;}
a:hover{text-decoration-thickness:2px;}
button,input,select,textarea{font:inherit;color:inherit;}
button{cursor:pointer;}
:focus-visible{outline:3px solid #1B66D1;outline-offset:2px;border-radius:4px;}
h1,h2,h3,h4{line-height:1.2;margin:0 0 .5em;color:var(--navy);}
h1,h2,.serif{font-family:'Bitter',Georgia,'Times New Roman',serif;}
h1{font-size:1.75em;}
h2{font-size:1.45em;}
h3{font-size:1.15em;color:var(--navy-2);}
h4{font-size:1em;color:var(--navy-2);}
p{margin:0 0 1em;}
ul,ol{margin:.4em 0 1em;padding-left:1.3em;}
li{margin:.35em 0;}
strong{font-weight:bold;}
hr{border:0;border-top:1px solid var(--line);margin:1.5em 0;}
.hide,.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.print-only{display:none;}
[hidden]{display:none!important;}

/* ---------- Site frame (matches #wrap / #hvjsn / #navjsn / #ftr) ---------- */
#wrap{background:var(--paper);margin:0 auto;max-width:960px;position:relative;}
.jsn-header{background:#000 url(../img/jsn-header.jpg) no-repeat left center;background-size:auto 100%;height:44px;border-bottom:1px solid #000;position:relative;}
.jsn-header a{position:absolute;inset:0;}
.jsn-nav{display:flex;list-style:none;margin:0;padding:0;background:#eee;border-bottom:1px solid #000;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;font-size:14px;}
.jsn-nav::-webkit-scrollbar{display:none;}
.jsn-nav li{margin:0;flex:none;}
.jsn-nav a{display:block;padding:9px 14px;font-weight:bold;color:#000;text-decoration:none;white-space:nowrap;border-right:1px solid #000;background:#e9e9e9 url(../img/jsn-nav.gif) repeat-x left center;background-size:auto 100%;}
.jsn-nav a:hover,.jsn-nav a:focus-visible{background:var(--gold);}
.jsn-nav a[aria-current="page"]{background:var(--gold);}

.rc-main{padding:0 16px 28px;}
section{scroll-margin-top:64px;}
.rc-section{padding:26px 0 6px;border-top:1px solid var(--line-soft);margin-top:22px;}
.rc-section:first-of-type{border-top:0;margin-top:0;}
.rc-kicker{font:bold .72em/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5B6B7A;margin:0 0 .5em;}
.rc-lead{font-size:1.06em;color:#222;}
.muted{color:var(--ink-soft);}
.small{font-size:.86em;}
.center{text-align:center;}

.jsn-footer{background:var(--teal);color:#FFFFF4;padding:18px 16px calc(18px + var(--tabbar-h));font-size:.82em;line-height:1.5;}
.jsn-footer a{color:#FFFFF4;}
.jsn-footer p{margin:0 0 .7em;}

/* ---------- In-page section nav (desktop) and bottom tab bar (phones) ---------- */
.rc-subnav{display:none;}
.rc-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;background:#fff;border-top:1px solid #000;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);}
.rc-tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:bold 11px/1.1 Arial,sans-serif;color:#23344A;text-decoration:none;border-right:1px solid #e2e2e2;min-width:0;}
.rc-tabbar a:last-child{border-right:0;}
.rc-tabbar a svg{width:24px;height:24px;}
.rc-tabbar a.is-on{background:var(--gold);color:#000;}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:48px;padding:.55em 1.1em;border:1px solid #000;border-radius:8px;background:var(--gold);color:#000;font-weight:bold;text-decoration:none;line-height:1.2;}
.btn:visited{color:#000;}
.btn:hover{background:#FFD83D;}
.btn:active{transform:translateY(1px);}
.btn--navy{background:var(--navy);color:#fff;border-color:#001F3F;}
.btn--navy:visited{color:#fff;}
.btn--navy:hover{background:#0A4A8A;}
.btn--ghost{background:#fff;color:var(--navy);border-color:#8FA3B8;font-weight:bold;}
.btn--ghost:visited{color:var(--navy);}
.btn--ghost:hover{background:var(--sky);}
.btn--sm{min-height:40px;padding:.35em .8em;font-size:.88em;}
.btn--block{display:flex;width:100%;}
.btn svg{width:1.2em;height:1.2em;flex:none;}
.btn-row{display:flex;flex-wrap:wrap;gap:10px;margin:.8em 0;}
.linkbtn{background:none;border:0;padding:0;color:var(--link);text-decoration:underline;font-weight:bold;}

/* ---------- Notices (borrowed from the site's dashed "cdt" box) ---------- */
.notice{margin:14px 0;border:1px solid #D9C98A;border-top:2px dashed #C9B76A;border-bottom:2px dashed #C9B76A;background:var(--cream);padding:12px 14px;border-radius:4px;font-size:.94em;}
.notice h2,.notice h3{font:bold 1em/1.3 Arial,sans-serif;margin:0 0 .35em;color:#4A3B00;display:flex;gap:.45em;align-items:flex-start;}
.notice h2 svg,.notice h3 svg{width:1.25em;height:1.25em;flex:none;margin-top:.05em;}
.notice p:last-child,.notice ul:last-child{margin-bottom:0;}
.notice--info{background:var(--sky);border-color:#A9C7E2;border-top-style:solid;border-bottom-style:solid;border-width:1px;}
.notice--info h2,.notice--info h3{color:var(--navy);}
.notice--ok{background:var(--ok-bg);border:1px solid #9CCBAE;}
.notice--ok h3{color:var(--ok);}
.notice--warn{background:var(--warn-bg);border:1px solid #E3C36A;}
.notice--bad{background:var(--bad-bg);border:1px solid #E6A9A3;}
.notice--bad h3{color:var(--bad);}
details.notice>summary{cursor:pointer;font-weight:bold;list-style:none;display:flex;gap:.5em;align-items:center;min-height:32px;}
details.notice>summary::-webkit-details-marker{display:none;}
details.notice>summary::after{content:"";margin-left:auto;width:.6em;height:.6em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s;flex:none;}
details.notice[open]>summary::after{transform:rotate(-135deg);}
details.notice>summary svg{width:1.3em;height:1.3em;flex:none;}
details.notice>div{padding-top:.6em;}
.news-list{list-style:none;margin:0;padding:0;}
.news-list li{padding:.6em 0;border-top:1px solid #E6DBA8;margin:0;}
.news-list li:first-child{border-top:0;}
.more-news{margin-top:.4em;border-top:1px solid #E6DBA8;}
.more-news>summary{cursor:pointer;font-weight:bold;color:#4A3B00;padding:.6em 0;min-height:44px;display:flex;align-items:center;}
.news-date{display:inline-block;font:bold .74em/1 Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;background:#4A3B00;color:#fff;padding:.35em .55em;border-radius:3px;margin-right:.4em;vertical-align:.1em;}

/* ---------- Hero ---------- */
.hero{margin:0 -16px;position:relative;background:#16385F;}
.hero picture,.hero img{display:block;width:100%;}
.hero img{aspect-ratio:16/9;object-fit:cover;}
.hero-copy{padding:16px 16px 4px;background:var(--paper);}
.hero-copy h1{margin:.1em 0 .3em;font-size:1.7em;}
.hero-copy p{margin:0 0 .6em;}
.kicker-row{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.kicker-row .rc-kicker{margin:0;}
.fs-tools{display:flex;gap:4px;flex:none;}
.fs-btn{width:40px;height:40px;border-radius:8px;border:1px solid #8FA3B8;background:#fff;color:var(--navy);font-weight:bold;font-family:Georgia,serif;line-height:1;}
.fs-btn[aria-pressed="true"]{background:var(--gold);color:#000;border-color:#000;}

/* ---------- Ask box ---------- */
.ask{background:linear-gradient(#F3F8FC,#E3F1FD);border:1px solid #9DB9D3;border-radius:var(--radius);padding:14px;box-shadow:var(--shadow);}
.ask label{display:block;font-family:'Bitter',Georgia,serif;font-weight:bold;color:var(--navy);font-size:1.2em;margin-bottom:.4em;}
.ask-row{display:flex;gap:8px;align-items:stretch;}
.ask textarea{flex:1;min-width:0;border:2px solid #6A86A6;border-radius:8px;padding:.6em .7em;min-height:56px;resize:none;background:#fff;line-height:1.35;}
.ask textarea:focus{border-color:var(--navy);outline:0;box-shadow:0 0 0 3px rgba(27,102,209,.25);}
.ask .mic{flex:none;width:52px;border:1px solid #6A86A6;border-radius:8px;background:#fff;color:var(--navy);display:flex;align-items:center;justify-content:center;}
.ask .mic svg{width:26px;height:26px;}
.ask .mic.is-live{background:var(--bad);color:#fff;border-color:var(--bad);}
.ask .btn{margin-top:10px;}
.ask-hint{font-size:.84em;color:var(--ink-soft);margin:.6em 0 0;display:flex;gap:.4em;align-items:flex-start;}
.ask-hint svg{width:1.1em;height:1.1em;flex:none;margin-top:.15em;}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;}
.chips--scroll{flex-wrap:nowrap;overflow-x:auto;margin-left:-14px;margin-right:-14px;padding:2px 14px 6px;scrollbar-width:none;}
.chips--scroll::-webkit-scrollbar{display:none;}
.chip{flex:none;border:1px solid #8FA3B8;background:#fff;color:var(--navy);border-radius:999px;padding:.5em .9em;font-size:.9em;font-weight:bold;min-height:40px;line-height:1.2;text-align:left;}
.chip:hover{background:var(--gold);border-color:#000;color:#000;}

/* ---------- Answer card ---------- */
.answer{margin:16px 0 0;border:1px solid #000;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);overflow:hidden;}
.answer-bar{display:flex;align-items:center;gap:8px;background:var(--navy);color:#fff;padding:8px 12px;}
.answer-bar strong{font:bold .8em/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;}
.answer-bar .spacer{flex:1;}
.answer-bar button{background:transparent;border:1px solid rgba(255,255,255,.55);color:#fff;border-radius:6px;min-height:36px;padding:0 .7em;font-size:.82em;font-weight:bold;display:inline-flex;gap:.35em;align-items:center;}
.answer-bar button:hover{background:rgba(255,255,255,.15);}
.answer-bar button svg{width:1.1em;height:1.1em;}
.answer-body{padding:14px;}
.asked-q{font-family:'Bitter',Georgia,serif;font-size:1.25em;margin:0 0 .6em;color:var(--navy);}
.answer-block{padding:0 0 12px;margin:0 0 14px;border-bottom:1px solid var(--line-soft);}
.answer-block:last-of-type{border-bottom:0;margin-bottom:0;}
.answer-topic{display:inline-flex;gap:.4em;align-items:center;font:bold .72em/1 Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#fff;background:var(--thead);padding:.4em .6em;border-radius:3px;margin-bottom:.7em;}
.answer-topic svg{width:1.2em;height:1.2em;}
.answer-short{font-size:1.08em;background:var(--sky);border-left:5px solid var(--navy);padding:.7em .8em;border-radius:0 8px 8px 0;margin:0 0 .9em;}
.answer-short strong:first-child{color:var(--navy);}
.answer-text table{width:100%;}
.for-you{font-size:.9em;background:var(--ok-bg);border:1px solid #9CCBAE;border-radius:8px;padding:.6em .8em;margin:0 0 .9em;}
.not-you{font-size:.9em;background:var(--warn-bg);border:1px solid #E3C36A;border-radius:8px;padding:.6em .8em;margin:0 0 .9em;}
.todo{background:var(--sec);border:1px solid var(--line);border-radius:8px;padding:.7em .9em;margin:.9em 0;}
.todo h4{margin:0 0 .4em;display:flex;gap:.4em;align-items:center;}
.todo h4 svg{width:1.2em;height:1.2em;}
.todo ol{margin:0;padding-left:1.25em;}
.cites{margin:.8em 0 0;font-size:.84em;color:var(--ink-soft);display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
.cite-pill{display:inline-block;background:#EEF2F6;border:1px solid #C6D2DE;border-radius:999px;padding:.2em .65em;color:#22364D;font-weight:bold;white-space:nowrap;}
.cite-pill--video{background:#FFF4D6;border-color:#E3C36A;color:#4A3B00;}
.answer-actions{display:flex;flex-wrap:wrap;gap:8px;margin:.8em 0 0;}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 .7em;}
.badge{display:inline-flex;align-items:center;gap:.3em;font:bold .72em/1 Arial,sans-serif;padding:.4em .6em;border-radius:999px;border:1px solid;white-space:nowrap;}
.badge--all{background:#EEF2F6;border-color:#B8C6D4;color:#22364D;}
.badge--ua{background:#E6EEFB;border-color:#9DB6E6;color:#123A7A;}
.badge--co{background:#FFF1DC;border-color:#E8BF7C;color:#6B4200;}
.badge--cmi{background:#E3F4F1;border-color:#93CBC1;color:#0E4F45;}
.badge--nh{background:#F1E9FA;border-color:#C3A8E3;color:#4A2579;}
.excerpts h3,.related h3{font-size:1em;margin:1.2em 0 .5em;}
.excerpt{font-size:.9em;background:var(--sec);border:1px solid var(--line);border-left:4px solid var(--thead);border-radius:0 6px 6px 0;padding:.6em .8em;margin:0 0 .6em;}
.ex-cite{display:block;font-weight:bold;color:var(--navy-2);margin-bottom:.25em;}
.ex-doc{font-weight:normal;color:var(--ink-soft);}
mark{background:#FFE98A;padding:0 .1em;}
.no-answer{background:var(--warn-bg);border:1px solid #E3C36A;border-radius:8px;padding:.8em;}
.answer-disclaimer{font-size:.8em;color:var(--ink-soft);border-top:1px solid var(--line-soft);padding-top:.8em;margin:1em 0 0;}
.helpful{display:flex;align-items:center;gap:8px;font-size:.86em;color:var(--ink-soft);margin-top:.8em;}

/* ---------- Group picker ---------- */
.group-picker{border:1px solid #000;border-radius:var(--radius);padding:14px;background:#fff;box-shadow:var(--shadow);}
.group-picker h2{font-size:1.2em;margin-bottom:.2em;}
.group-opts{display:grid;gap:8px;margin:.8em 0 .4em;}
.group-opt{display:flex;gap:.7em;align-items:flex-start;text-align:left;border:2px solid #B8C6D4;border-radius:10px;background:#fff;padding:.7em .8em;min-height:56px;width:100%;}
.group-opt b{display:block;color:var(--navy);}
.group-opt span{display:block;font-size:.84em;color:var(--ink-soft);line-height:1.35;}
.group-opt .dot{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid #6A86A6;margin-top:.1em;position:relative;}
.group-opt[aria-pressed="true"]{border-color:var(--navy);background:var(--sky);}
.group-opt[aria-pressed="true"] .dot{border-color:var(--navy);}
.group-opt[aria-pressed="true"] .dot::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--navy);}
.group-current{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.9em;}

/* ---------- Steps (roadmap) ---------- */
.steps{list-style:none;margin:1em 0 0;padding:0;counter-reset:step;}
.step{position:relative;padding:0 0 18px 56px;margin:0;}
.step::before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;font:bold 1.1em/40px 'Bitter',Georgia,serif;text-align:center;border:2px solid #000;z-index:1;}
.step::after{content:"";position:absolute;left:19px;top:40px;bottom:0;width:3px;background:repeating-linear-gradient(#9DB9D3 0 6px,transparent 6px 11px);}
.step:last-child::after{display:none;}
.step.is-done::before{background:var(--ok);content:"\2713";}
.step-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;}
.step-card>summary{list-style:none;cursor:pointer;padding:.7em .8em;display:flex;gap:.6em;align-items:center;min-height:56px;}
.step-card>summary::-webkit-details-marker{display:none;}
.step-card>summary h3{margin:0;font-size:1.05em;flex:1;}
.step-card>summary .when{display:block;font:normal .8em/1.3 Arial,sans-serif;color:var(--ink-soft);margin-top:.2em;}
.step-card>summary::after{content:"";width:.6em;height:.6em;border-right:2px solid var(--navy);border-bottom:2px solid var(--navy);transform:rotate(45deg);transition:transform .15s;flex:none;margin-right:.3em;}
.step-card[open]>summary::after{transform:rotate(-135deg);}
.step-card[open]>summary{background:var(--sky);border-bottom:1px solid var(--line);}
.step-body{padding:.8em;}
.step-body>*:last-child{margin-bottom:0;}

/* ---------- Topic cards ---------- */
.topic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:1em 0;}
.topic-card{display:flex;flex-direction:column;align-items:flex-start;gap:.5em;text-align:left;border:1px solid #9DB9D3;border-radius:var(--radius);background:linear-gradient(#fff,#F4F9FD);padding:12px;min-height:120px;width:100%;color:inherit;text-decoration:none;box-shadow:0 1px 2px rgba(0,0,0,.06);}
.topic-card:visited{color:inherit;}
.topic-card:hover{border-color:#000;background:#FFF8D6;}
.topic-card .ico{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--navy);color:#fff;flex:none;}
.topic-card .ico svg{width:26px;height:26px;}
.topic-card b{font-family:'Bitter',Georgia,serif;color:var(--navy);font-size:1.02em;line-height:1.2;}
.topic-card span{font-size:.82em;color:var(--ink-soft);line-height:1.35;}
.ico--sun{background:#C2570C!important;}
.ico--teal{background:var(--teal)!important;}
.ico--green{background:#17693F!important;}
.ico--plum{background:#5B2A86!important;}
.ico--slate{background:#2F536E!important;}
.ico--red{background:#A32218!important;}

/* ---------- Sheet (topic detail, glossary term). Bottom sheet on phones, dialog on desktop ---------- */
.sheet-back{position:fixed;inset:0;background:rgba(0,20,45,.55);z-index:90;display:flex;align-items:flex-end;justify-content:center;}
.sheet{background:#fff;width:100%;max-width:760px;max-height:92vh;max-height:92dvh;border-radius:16px 16px 0 0;display:flex;flex-direction:column;box-shadow:0 -8px 30px rgba(0,0,0,.3);animation:sheet-up .22s ease-out;}
@keyframes sheet-up{from{transform:translateY(30px);opacity:0;}to{transform:none;opacity:1;}}
.sheet-head{display:flex;align-items:center;gap:.6em;padding:12px 14px;border-bottom:1px solid #000;background:var(--navy);color:#fff;border-radius:16px 16px 0 0;}
.sheet-head h2{margin:0;color:#fff;font-size:1.15em;flex:1;}
.sheet-head .ico{width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;flex:none;}
.sheet-head .ico svg{width:22px;height:22px;}
.sheet-close{width:44px;height:44px;border-radius:8px;border:1px solid rgba(255,255,255,.6);background:transparent;color:#fff;font-size:1.3em;line-height:1;flex:none;}
.sheet-body{padding:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
.sheet-body>*:last-child{margin-bottom:0;}
body.has-sheet{overflow:hidden;}

/* ---------- Facts, key numbers, figures ---------- */
.keynums{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:1em 0;}
.keynum{border:1px solid var(--line);border-radius:8px;background:var(--sec);padding:.6em .7em;}
.keynum b{display:block;font-family:'Bitter',Georgia,serif;font-size:1.5em;line-height:1.1;color:var(--navy);}
.keynum span{display:block;font-size:.8em;color:var(--ink-soft);line-height:1.3;margin-top:.2em;}
.figure{margin:1em 0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:12px;}
.figure figcaption,.figure .cap{font-size:.84em;color:var(--ink-soft);margin-top:.6em;}
.figure svg{display:block;width:100%;height:auto;}
.figure h3{margin-top:0;}
.cols{display:grid;gap:10px;}
.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:12px;}
.card h3{margin-top:0;display:flex;gap:.45em;align-items:center;}
.card h3 svg{width:1.3em;height:1.3em;flex:none;color:var(--navy);}
.card>*:last-child{margin-bottom:0;}
.card--sky{background:var(--sky);border-color:#A9C7E2;}
.card--sec{background:var(--sec);}
.pill-list{list-style:none;padding:0;margin:.6em 0;display:flex;flex-wrap:wrap;gap:6px;}
.pill-list li{margin:0;background:#EEF2F6;border:1px solid #C6D2DE;border-radius:999px;padding:.25em .7em;font-size:.85em;}
.check-list{list-style:none;padding:0;margin:.5em 0 1em;}
.check-list li{position:relative;padding-left:1.7em;margin:.45em 0;}
.check-list li::before{content:"";position:absolute;left:.15em;top:.35em;width:.55em;height:.95em;border-right:3px solid var(--ok);border-bottom:3px solid var(--ok);transform:rotate(45deg) translateY(-.25em);}
.x-list{list-style:none;padding:0;margin:.5em 0 1em;}
.x-list li{position:relative;padding-left:1.7em;margin:.45em 0;}
.x-list li::before{content:"\00D7";position:absolute;left:.1em;top:-.15em;font-size:1.4em;font-weight:bold;color:var(--bad);}

/* Two-step diagram */
.twostep{display:grid;gap:10px;align-items:stretch;}
.twostep .ts{border:2px solid var(--navy);border-radius:var(--radius);padding:12px;background:#fff;position:relative;}
.twostep .ts b{display:block;font-family:'Bitter',Georgia,serif;color:var(--navy);font-size:1.1em;margin-bottom:.2em;}
.twostep .ts .n{position:absolute;top:-12px;left:12px;background:var(--gold);border:1px solid #000;border-radius:999px;font:bold .75em/1 Arial,sans-serif;padding:.35em .7em;}
.twostep .ts--b{border-color:#C2570C;}
.twostep .ts--b b{color:#8A3D06;}
.twostep .plus{text-align:center;font:bold 1.4em/1 'Bitter',Georgia,serif;color:var(--ink-soft);}

/* Path chart: medical coverage by age */
.path{margin:.6em 0 0;}
.path-row{display:grid;grid-template-columns:1fr;gap:4px;margin:0 0 12px;}
.path-label{font-weight:bold;font-size:.88em;color:var(--navy-2);}
.path-bar{display:flex;border:1px solid #000;border-radius:8px;overflow:hidden;min-height:46px;font-size:.78em;line-height:1.2;}
.path-seg{display:flex;align-items:center;justify-content:center;text-align:center;padding:4px 6px;color:#fff;font-weight:bold;border-right:1px solid rgba(0,0,0,.5);}
.path-seg:last-child{border-right:0;}
.seg-work{background:#5B6B7A;}
.seg-sub{background:#17693F;}
.seg-bridge{background:#C2570C;}
.seg-full{background:#A32218;}
.seg-medicare{background:#123A7A;}
.seg-none{background:#fff;color:#444;background-image:repeating-linear-gradient(45deg,#eee 0 6px,#fff 6px 12px);}
.path-axis{display:flex;justify-content:space-between;font-size:.74em;color:var(--ink-soft);}
.legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.8em;margin:.6em 0 0;padding:0;list-style:none;}
.legend li{display:flex;align-items:center;gap:.4em;margin:0;}
.legend i{width:14px;height:14px;border-radius:3px;border:1px solid rgba(0,0,0,.5);display:inline-block;}

/* ---------- Tables (site "apt" look, scrolls on phones) ---------- */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1em 0;border:1px solid #000;border-radius:6px;}
table{border-collapse:collapse;width:100%;font-size:.92em;}
th,td{padding:.5em .6em;text-align:left;vertical-align:top;border-bottom:1px solid #000;border-right:1px solid #000;}
tr:last-child td{border-bottom:0;}
th:last-child,td:last-child{border-right:0;}
th{background:var(--thead);color:#fff;font-weight:bold;}
td{background:var(--tcell);}
td small{display:block;line-height:1.3;margin-top:.15em;}
td.num,th.num{text-align:right;white-space:nowrap;}
.answer-text table,.sheet-body table,.step-body table{display:block;overflow-x:auto;border:1px solid #000;border-radius:6px;margin:1em 0;}

/* ---------- Video ---------- */
.video{position:relative;padding-top:56.25%;background:#000 center/cover no-repeat;border:1px solid #000;border-radius:var(--radius);overflow:hidden;}
.video iframe,.video .video-play{position:absolute;inset:0;width:100%;height:100%;border:0;}
.video-play{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6em;background:linear-gradient(rgba(0,20,45,.15),rgba(0,20,45,.6));color:#fff;font-weight:bold;text-shadow:0 1px 3px #000;}
.video-play .tri{width:76px;height:76px;border-radius:50%;background:var(--gold);border:2px solid #000;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 18px rgba(0,0,0,.5);}
.video-play .tri::after{content:"";border-left:26px solid #000;border-top:16px solid transparent;border-bottom:16px solid transparent;margin-left:6px;}
.video-meta{font-size:.86em;color:var(--ink-soft);margin:.5em 0 0;}
.chapters{list-style:none;margin:.8em 0 0;padding:0;border:1px solid var(--line);border-radius:var(--radius);max-height:340px;overflow-y:auto;background:#fff;}
.chapters li{margin:0;border-top:1px solid var(--line-soft);}
.chapters li:first-child{border-top:0;}
.chapters button{display:flex;gap:.7em;align-items:center;width:100%;text-align:left;background:none;border:0;padding:.6em .7em;min-height:48px;}
.chapters button:hover{background:#FFF8D6;}
.chapters .t{flex:none;font:bold .82em/1 "Courier New",monospace;background:var(--navy);color:#fff;border-radius:4px;padding:.4em .45em;min-width:3.6em;text-align:center;}
.chapters li.is-on button{background:var(--sky);font-weight:bold;}
.search{display:flex;gap:8px;margin:.8em 0;}
.search input{flex:1;min-width:0;border:2px solid #6A86A6;border-radius:8px;padding:.5em .7em;min-height:48px;background:#fff;}
.tr-hit{font-size:.9em;}
.tr-hit .t{font:bold .9em/1 "Courier New",monospace;}

/* ---------- Tool cards ---------- */
.tool-grid{display:grid;gap:10px;margin:1em 0;}
.tool-card{display:flex;gap:.8em;align-items:center;border:1px solid #000;border-radius:var(--radius);background:#fff;padding:12px;text-decoration:none;color:inherit;box-shadow:var(--shadow);min-height:76px;}
.tool-card:visited{color:inherit;}
.tool-card:hover{background:#FFF8D6;}
.tool-card .ico{width:48px;height:48px;border-radius:12px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;}
.tool-card .ico svg{width:28px;height:28px;}
.tool-card b{display:block;font-family:'Bitter',Georgia,serif;color:var(--navy);line-height:1.2;}
.tool-card span{display:block;font-size:.84em;color:var(--ink-soft);line-height:1.35;margin-top:.15em;}
.tool-card .go{margin-left:auto;flex:none;width:.7em;height:.7em;border-right:3px solid var(--navy);border-top:3px solid var(--navy);transform:rotate(45deg);margin-right:.3em;}
.tag-new{display:inline-block;font:bold .62em/1 Arial,sans-serif;letter-spacing:.06em;background:var(--bad);color:#fff;padding:.3em .45em;border-radius:3px;vertical-align:.25em;margin-left:.4em;text-transform:uppercase;}

/* ---------- Checklist ---------- */
.progress{height:14px;border:1px solid #000;border-radius:999px;background:#fff;overflow:hidden;margin:.6em 0 .2em;}
.progress i{display:block;height:100%;background:linear-gradient(90deg,#17693F,#3FA46A);width:0;transition:width .3s;}
.cl-group{border:1px solid var(--line);border-radius:var(--radius);margin:0 0 10px;background:#fff;overflow:hidden;}
.cl-group>summary{list-style:none;cursor:pointer;display:flex;gap:.6em;align-items:center;padding:.7em .8em;font-weight:bold;color:var(--navy);min-height:52px;background:var(--sec);}
.cl-group>summary::-webkit-details-marker{display:none;}
.cl-group>summary .count{margin-left:auto;font:bold .78em/1 Arial,sans-serif;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.35em .6em;color:var(--ink-soft);white-space:nowrap;}
.cl-group>summary svg{width:1.3em;height:1.3em;flex:none;}
.cl-items{list-style:none;margin:0;padding:0;}
.cl-items li{margin:0;border-top:1px solid var(--line-soft);}
.cl-item{display:flex;gap:.7em;align-items:flex-start;padding:.7em .8em;cursor:pointer;min-height:52px;}
.cl-item input{flex:none;width:24px;height:24px;margin:.1em 0 0;accent-color:var(--ok);}
.cl-item .tx{flex:1;}
.cl-item .tx small{display:block;color:var(--ink-soft);font-size:.84em;line-height:1.4;margin-top:.15em;}
.cl-item input:checked+.tx>b{text-decoration:line-through;color:var(--ink-soft);}
.cl-item b{font-weight:bold;}

/* ---------- Contacts ---------- */
.contact-grid{display:grid;gap:10px;margin:1em 0;}
.contact{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:12px;}
.contact h3{margin:0 0 .15em;font-size:1.02em;}
.contact p{margin:0 0 .6em;font-size:.88em;color:var(--ink-soft);}
.contact .btn-row{margin:0;}
.contact .hours{font-size:.8em;color:var(--ink-soft);margin:.5em 0 0;}

/* ---------- Glossary ---------- */
.gloss{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;}
.gloss details{border-top:1px solid var(--line-soft);}
.gloss details:first-child{border-top:0;}
.gloss summary{list-style:none;cursor:pointer;padding:.65em .8em;font-weight:bold;color:var(--navy);display:flex;align-items:center;min-height:48px;}
.gloss summary::-webkit-details-marker{display:none;}
.gloss summary::after{content:"+";margin-left:auto;font:bold 1.3em/1 Arial,sans-serif;color:var(--ink-soft);}
.gloss details[open] summary::after{content:"\2212";}
.gloss details[open] summary{background:var(--sky);}
.gloss .def{padding:.2em .8em .8em;}
.gloss .def>*:last-child{margin-bottom:0;}
abbr[title],.term{text-decoration:underline dotted #062B5A;text-underline-offset:3px;cursor:help;}
button.term{background:none;border:0;padding:0;color:inherit;font:inherit;}

/* ---------- Forms (calculators) ---------- */
.calc{border:1px solid #000;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);overflow:hidden;margin:1em 0;}
.calc-head{background:var(--navy);color:#fff;padding:12px 14px;display:flex;gap:.7em;align-items:center;}
.calc-head h2{color:#fff;margin:0;font-size:1.2em;flex:1;}
.calc-head .ico{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;flex:none;}
.calc-head .ico svg{width:24px;height:24px;}
.calc-body{padding:14px;}
.calc-intro{font-size:.95em;margin:0 0 1em;}
.field{margin:0 0 14px;}
.field>label,.field>.label{display:block;font-weight:bold;color:var(--navy-2);margin:0 0 .3em;}
.field .help{display:block;font-size:.84em;color:var(--ink-soft);margin:.3em 0 0;line-height:1.4;}
.field input[type="text"],.field input[type="number"],.field input[type="date"],.field input[type="tel"],.field select{width:100%;min-height:50px;border:2px solid #6A86A6;border-radius:8px;padding:.4em .7em;background:#fff;font-size:1.05em;}
.field input:focus,.field select:focus{border-color:var(--navy);outline:0;box-shadow:0 0 0 3px rgba(27,102,209,.25);}
.field.is-bad input{border-color:var(--bad);}
.field .err{display:block;color:var(--bad);font-weight:bold;font-size:.86em;margin-top:.3em;}
.input-row{display:flex;gap:8px;align-items:center;}
.input-row>*{flex:1;min-width:0;}
.input-row .unit{flex:none;font-weight:bold;color:var(--ink-soft);}
.affix{position:relative;}
.affix input{padding-left:1.7em!important;}
.affix::before{content:attr(data-pre);position:absolute;left:.7em;top:50%;transform:translateY(-50%);font-weight:bold;color:var(--ink-soft);pointer-events:none;}
.affix--post input{padding-left:.7em!important;padding-right:2.2em!important;}
.affix--post::before{left:auto;right:.7em;}
.seg{display:flex;flex-wrap:wrap;border:2px solid #6A86A6;border-radius:8px;overflow:hidden;background:#fff;}
.seg button{flex:1 1 auto;min-height:48px;border:0;border-right:1px solid #B8C6D4;background:#fff;padding:.3em .7em;font-weight:bold;color:var(--navy);}
.seg button:last-child{border-right:0;}
.seg button[aria-pressed="true"]{background:var(--navy);color:#fff;}
.stepper{display:flex;align-items:stretch;border:2px solid #6A86A6;border-radius:8px;overflow:hidden;background:#fff;}
.stepper button{flex:none;width:52px;min-height:48px;border:0;background:#EEF2F6;font:bold 1.4em/1 Arial,sans-serif;color:var(--navy);}
.stepper button:active{background:var(--gold);}
.stepper input{flex:1;min-width:0;border:0!important;border-radius:0!important;text-align:center;font-weight:bold;min-height:48px!important;box-shadow:none!important;}
.range{width:100%;height:44px;accent-color:var(--navy);}
.range-row{display:flex;gap:10px;align-items:center;}
.range-row output{flex:none;min-width:4.2em;text-align:right;font-weight:bold;color:var(--navy);}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.switch{display:flex;gap:.7em;align-items:center;min-height:48px;cursor:pointer;}
.switch input{width:24px;height:24px;accent-color:var(--navy);flex:none;}
fieldset{border:1px solid var(--line);border-radius:var(--radius);padding:12px;margin:0 0 14px;}
legend{font-weight:bold;color:var(--navy);padding:0 .4em;}
.result{border:2px solid var(--navy);border-radius:var(--radius);background:linear-gradient(#F3F8FC,#E3F1FD);padding:14px;margin:1em 0;}
.result-label{font:bold .75em/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#3A4D63;margin:0 0 .4em;}
.result-big{font-family:'Bitter',Georgia,serif;font-weight:bold;font-size:2.3em;line-height:1.05;color:var(--navy);margin:0;}
.result-sub{font-size:.92em;margin:.4em 0 0;color:#222;}
.kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:1em 0;}
.kpi{border:1px solid var(--line);border-radius:8px;background:#fff;padding:.6em .7em;}
.kpi b{display:block;font-family:'Bitter',Georgia,serif;font-size:1.3em;color:var(--navy);line-height:1.15;}
.kpi span{display:block;font-size:.78em;color:var(--ink-soft);line-height:1.3;}
.stack{display:flex;height:34px;border:1px solid #000;border-radius:8px;overflow:hidden;margin:1em 0 .5em;}
.stack i{display:block;height:100%;min-width:2px;}
.lines{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;}
.lines li{display:flex;gap:.6em;align-items:baseline;padding:.55em .7em;margin:0;border-top:1px solid var(--line-soft);background:#fff;}
.lines li:first-child{border-top:0;}
.lines .sw{flex:none;width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.4);align-self:center;}
.lines .lbl{flex:1;}
.lines .lbl small{display:block;color:var(--ink-soft);font-size:.82em;line-height:1.35;}
.lines .amt{font-weight:bold;white-space:nowrap;}
.lines li.total{background:var(--sky);font-weight:bold;border-top:2px solid var(--navy);}
.lines li.total .amt{font-size:1.15em;color:var(--navy);}
.how{border:1px solid var(--line);border-radius:8px;margin:1em 0;background:var(--sec);}
.how>summary{cursor:pointer;padding:.7em .8em;font-weight:bold;color:var(--navy);min-height:48px;display:flex;align-items:center;gap:.5em;list-style:none;}
.how>summary::-webkit-details-marker{display:none;}
.how>summary::before{content:"";width:.5em;height:.5em;border-right:2px solid var(--navy);border-bottom:2px solid var(--navy);transform:rotate(-45deg);transition:transform .15s;flex:none;}
.how[open]>summary::before{transform:rotate(45deg);}
.how>div{padding:0 .8em .8em;font-size:.92em;}
.how>div>*:last-child{margin-bottom:0;}
.fineprint{font-size:.8em;color:var(--ink-soft);}
.tl{list-style:none;margin:1em 0;padding:0;position:relative;}
.tl::before{content:"";position:absolute;left:11px;top:6px;bottom:6px;width:3px;background:#9DB9D3;}
.tl li{position:relative;padding:0 0 14px 36px;margin:0;}
.tl li::before{content:"";position:absolute;left:3px;top:.3em;width:19px;height:19px;border-radius:50%;background:#fff;border:3px solid var(--navy);}
.tl li.is-past::before{background:#9DB9D3;border-color:#9DB9D3;}
.tl li.is-key::before{background:var(--gold);border-color:#000;}
.tl li.is-warn::before{background:var(--bad);border-color:var(--bad);}
.tl .d{display:block;font:bold .8em/1.2 Arial,sans-serif;color:#3A4D63;letter-spacing:.03em;text-transform:uppercase;}
.tl b{display:block;color:var(--navy-2);}
.tl small{display:block;color:var(--ink-soft);font-size:.86em;line-height:1.4;}
.bars{list-style:none;margin:1em 0;padding:0;}
.bars li{display:grid;grid-template-columns:minmax(3.6em,auto) 1fr auto;gap:8px;align-items:center;margin:0 0 6px;}
.bars .k{font-weight:bold;color:var(--navy-2);font-size:.9em;}
.bars .bar{height:26px;background:#EEF2F6;border-radius:6px;overflow:hidden;border:1px solid #C6D2DE;}
.bars .bar i{display:block;height:100%;background:var(--navy);min-width:2px;}
.bars li.is-key .bar i{background:#C2570C;}
.bars li.is-key .k,.bars li.is-key .v{color:#8A3D06;}
.bars .v{font-weight:bold;white-space:nowrap;font-size:.95em;}
.cmp{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:1em 0;}
.cmp>div{border:1px solid var(--line);border-radius:8px;padding:.7em;background:#fff;}
.cmp>div.is-win{border:2px solid var(--ok);background:var(--ok-bg);}
.cmp b{display:block;font-family:'Bitter',Georgia,serif;font-size:1.25em;color:var(--navy);line-height:1.15;}
.cmp span{display:block;font-size:.8em;color:var(--ink-soft);line-height:1.3;}
.cmp em{display:block;font-style:normal;font-weight:bold;font-size:.82em;color:var(--navy-2);margin-bottom:.2em;}
.calc-nav{display:flex;gap:8px;overflow-x:auto;margin:0 -16px;padding:10px 16px;scrollbar-width:none;position:sticky;top:0;background:#fff;z-index:40;border-bottom:1px solid var(--line);}
.calc-nav::-webkit-scrollbar{display:none;}
.calc-nav a{flex:none;display:inline-flex;gap:.4em;align-items:center;border:1px solid #8FA3B8;border-radius:999px;padding:.45em .85em;font-weight:bold;font-size:.86em;text-decoration:none;color:var(--navy);background:#fff;min-height:40px;white-space:nowrap;}
.calc-nav a svg{width:1.15em;height:1.15em;}
.calc-nav a.is-on{background:var(--navy);color:#fff;border-color:#000;}
.toast{position:fixed;left:50%;bottom:calc(var(--tabbar-h) + 16px);transform:translateX(-50%);background:#111;color:#fff;padding:.6em 1em;border-radius:999px;font-weight:bold;font-size:.9em;z-index:120;box-shadow:0 4px 14px rgba(0,0,0,.35);}

/* ---------- Legal page ---------- */
.prose{max-width:70ch;}
.prose h2{margin-top:1.4em;}

/* ---------- Larger screens ---------- */
@media (min-width:600px){
  .rc-main{padding:0 24px 32px;}
  .hero{margin:0 -24px;}
  .hero-copy{padding:18px 24px 4px;}
  .topic-grid{grid-template-columns:repeat(3,1fr);}
  .keynums,.kpis{grid-template-columns:repeat(4,1fr);}
  .contact-grid,.tool-grid{grid-template-columns:repeat(2,1fr);}
  .group-opts{grid-template-columns:repeat(2,1fr);}
  .cols{grid-template-columns:repeat(2,1fr);}
  .twostep{grid-template-columns:1fr auto 1fr;}
  .twostep .plus{align-self:center;}
  .path-row{grid-template-columns:150px 1fr;align-items:center;}
  .calc-nav{margin:0 -24px;padding:10px 24px;}
  .sheet-back{align-items:center;padding:20px;}
  .sheet{border-radius:16px;max-height:86vh;}
}
@media (min-width:900px){
  body{padding:0 0 10px;}
  #wrap{border:1px solid #000;border-top:0;}
  .jsn-header{height:60px;}
  .jsn-nav{font-size:13px;overflow:visible;}
  .jsn-nav a{padding:6px 15px;}
  .rc-main{padding:0 30px 36px;}
  .hero{margin:0 -30px;}
  .hero img{aspect-ratio:21/9;object-position:center 30%;}
  .hero-copy{padding:20px 30px 4px;}
  .hero-copy h1{font-size:2.1em;}
  .rc-tabbar{display:none;}
  .jsn-footer{padding-bottom:18px;}
  .toast{bottom:24px;}
  .rc-subnav{display:flex;gap:4px;position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #000;margin:0 -30px;padding:6px 30px;}
  .rc-subnav{flex-wrap:wrap;}
  .rc-subnav a{padding:.45em .7em;border-radius:6px;font-weight:bold;font-size:.84em;text-decoration:none;color:var(--navy);display:inline-flex;gap:.35em;align-items:center;white-space:nowrap;}
  .rc-subnav a svg{width:1.15em;height:1.15em;}
  .rc-subnav a:hover,.rc-subnav a.is-on{background:var(--gold);color:#000;}
  .topic-grid{grid-template-columns:repeat(4,1fr);}
  .tool-grid{grid-template-columns:repeat(3,1fr);}
  .tool-card{flex-direction:column;align-items:flex-start;}
  .tool-card .go{display:none;}
  .contact-grid{grid-template-columns:repeat(3,1fr);}
  .calc-nav{margin:0 -30px;padding:10px 30px;flex-wrap:wrap;}
  .calc-cols{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:24px;align-items:start;}
  .calc-cols>.calc-out{position:sticky;top:64px;}
}


/* Tables with 3 or more columns become stacked cards on phones */
@media (max-width:599px){
  table.rt,table.rt tbody,table.rt tr,table.rt td{display:block;width:auto;}
  .answer-text table.rt,.sheet-body table.rt,.step-body table.rt{display:block;overflow:visible;border:0;}
  .table-wrap:has(table.rt){border:0;overflow:visible;}
  table.rt thead,table.rt tr:first-child:has(th){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
  table.rt tr{border:1px solid #000;border-radius:8px;overflow:hidden;margin:0 0 10px;background:var(--tcell);}
  table.rt td{border:0;border-bottom:1px solid #D9D6C2;display:grid;grid-template-columns:minmax(6.5em,38%) 1fr;gap:8px;padding:.45em .6em;}
  table.rt td:last-child{border-bottom:0;}
  table.rt td::before{content:attr(data-label);font-weight:bold;color:var(--navy-2);font-size:.88em;}
  table.rt td:first-child{display:block;background:var(--thead);color:#fff;font-weight:bold;}
  table.rt td:first-child::before{content:none;}
  table.rt td.num{text-align:left;white-space:normal;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation:none!important;transition:none!important;}
}

/* ---------- Print: just the content, black on white ---------- */
@media print{
  body{background:#fff;font-size:11.5pt;}
  #wrap{border:0;max-width:none;}
  .jsn-header,.jsn-nav,.rc-tabbar,.rc-subnav,.no-print,.fs-tools,.calc-nav,.chips,.answer-bar button,.helpful,.sheet-close,.video,.btn-row .btn{display:none!important;}
  .print-only{display:block;}
  .rc-main{padding:0;}
  .answer,.calc{box-shadow:none;border-color:#000;break-inside:auto;}
  .card,.figure{box-shadow:none;border-color:#000;break-inside:avoid;}
  .calc-cols,.calc-out,.calc-in{display:block;position:static;}
  h1,h2,h3,h4{break-after:avoid;}
  .answer-bar,.calc-head,.sheet-head{background:#fff!important;color:#000!important;border-bottom:2px solid #000;}
  .calc-head h2,.sheet-head h2{color:#000!important;}
  a{color:#000;}
  details{break-inside:auto;}
  .cites,.answer-short,.keynum,.kpi,.lines li,.tl li,.cl-item,.contact{break-inside:avoid;}
  .ad-slot,ins.adsbygoogle{display:none!important;}
  body.print-answer .rc-main>*:not(#answerArea){display:none!important;}
  body.print-calc .calc-in .help{display:none;}
  .jsn-footer{background:#fff;color:#000;border-top:1px solid #000;padding:10px 0;}
  .jsn-footer a{color:#000;}
  th{background:#ddd!important;color:#000!important;}
}
