/* The calculators in the new look (brief 15). Loaded after each calculator's own styles; its maths is untouched. */
html.cl-on body{background:#F4F4F2}
html.cl-on .frame{border:0;max-width:1200px;margin:0 auto;padding-bottom:140px;background:transparent}
html.cl-on .price-top{display:none}
html.cl-on #cf-art,html.cl-on #lc{--paper:#F4F4F2;background:transparent;max-width:1200px}
html.cl-on #cf-art h2,html.cl-on #lc h2{font-family:"Cormorant Garamond","Cormorant Fallback",Georgia,serif;font-weight:400;letter-spacing:-.01em}
html.cl-on #lc .bar{display:none}
html.cl-on #lc .back{display:none}
/* Questions in white panels, fields full width with their units. */
html.cl-on #cf-art .step,html.cl-on #cf-art section.year,html.cl-on #lc form .q,html.cl-on #lc form .fields{background:#fff;border:0;border-radius:0;padding:18px 18px 20px;margin:0 0 14px}
html.cl-on #cf-art .step{border-top:0}
html.cl-on #cf-art input,html.cl-on #cf-art select,html.cl-on #lc input,html.cl-on #lc select{background:#fff!important;border:1.5px solid #E4E4E0;border-radius:0;min-height:48px;font-size:1rem}
html.cl-on #cf-art input:focus-visible,html.cl-on #lc input:focus-visible{outline:3px solid #1C1B18;outline-offset:1px}
html.cl-on #cf-art .money::before,html.cl-on #cf-art .unit::after{top:13px}
html.cl-on #cf-art details.more>summary,html.cl-on #lc details>summary{border-radius:0}
/* Capsule choices */
.cl-hide{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;min-height:0!important;padding:0!important;border:0!important}
.cl-caps{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.cl-cap{font:500 15px/1.25 "Jost","Jost Fallback",system-ui,sans-serif!important;width:auto!important;margin:0!important;padding:11px 16px!important;min-height:44px;border-radius:0;border:1.5px solid #E4E4E0!important;background:#fff!important;color:#1C1B18!important;cursor:pointer;text-align:left;letter-spacing:0!important}
.cl-cap[aria-checked="true"]{background:#1C1B18!important;border-color:#1C1B18!important;color:#fff!important}
.cl-cap:focus-visible{outline:2px solid #1C1B18;outline-offset:2px}
html.cl-on #lc .pick label{border-radius:0;background:#fff}
/* The dark result card, beside the questions on computers and below them on phones. */
html.cl-on #cf-art .results{background:#1C1B18!important;color:#fff;border-radius:0;padding:24px}
html.cl-on #cf-art .results .price{font-family:"Cormorant Garamond","Cormorant Fallback",Georgia,serif;color:#fff}
.cl-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:28px;align-items:start}
.cl-result{background:#1C1B18;color:#fff;border-radius:0;padding:22px;position:sticky;top:84px}
.cl-result .answers-h{color:#E4E4E0;font-family:"Jost","Jost Fallback",system-ui,sans-serif;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px}
html.cl-on #lc .cl-result .card{background:rgba(255,255,255,.06);border-radius:0}
@media (max-width:900px){.cl-grid{grid-template-columns:1fr}.cl-result{position:static}}
/* Bars */
.cl-h{font-family:"Jost","Jost Fallback",system-ui,sans-serif;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:#E4E4E0;margin:0 0 8px}
.cl-goes{margin:18px 0 6px}
.cl-bar{display:flex;height:16px;border-radius:0;overflow:hidden;background:#1C1B18}
.cl-bar i{display:block;height:100%}
.cl-key{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.cl-key li{display:grid;grid-template-columns:12px 1fr auto;gap:8px;align-items:center;font-size:.92rem}
.cl-key b{width:12px;height:12px;border-radius:0;display:block}
.cl-key em{font-style:normal;font-weight:600;font-variant-numeric:tabular-nums}
.cl-range{margin:16px 0 4px}
.cl-rbar{position:relative;height:12px;border-radius:0;background:linear-gradient(90deg,#5C5C58,#1C1B18)}
.cl-rbar .cl-low{position:absolute;left:0;top:0;bottom:0;background:#5C5C58;border-radius:0}
.cl-rbar .cl-fair{position:absolute;top:0;bottom:0;background:#5C5C58}
.cl-rbar .cl-mark{position:absolute;top:-5px;width:4px;height:22px;margin-left:-2px;background:#fff;border-radius:0;}
.cl-rl{display:flex;justify-content:space-between;font-size:.78rem;color:#E4E4E0;margin-top:6px}
.cl-home{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid #1C1B18;margin-top:14px;padding-top:12px;font-size:1.05rem}
.cl-home b{font-family:"Cormorant Garamond","Cormorant Fallback",Georgia,serif;font-weight:400;font-size:1.7rem}
/* The disclaimer, with About this price */
.cl-disc{font-size:.8rem;line-height:1.45;color:#E4E4E0;margin:16px 0 0}
#lc .cl-disc,.cl-locked .cl-disc{color:#5C5C58}
.cl-aboutlink{all:unset;cursor:pointer;text-decoration:underline;font-weight:600}
.cl-aboutlink:focus-visible{outline:2px solid currentColor;outline-offset:2px}
dialog.cl-about{max-width:min(520px,92vw);border:0;border-radius:0;padding:22px 24px;background:#fff;color:#1C1B18;font:16px/1.55 "Jost","Jost Fallback",system-ui,sans-serif}
dialog.cl-about::backdrop{background:rgba(20,19,17,.5)}
dialog.cl-about h2{font:400 1.5rem "Cormorant Garamond","Cormorant Fallback",Georgia,serif;margin:0 0 8px}
dialog.cl-about button{font:600 15px "Jost","Jost Fallback",sans-serif;padding:10px 18px;border-radius:0;border:0;background:#1C1B18;color:#fff;cursor:pointer;width:auto;margin:0}
/* Locked tools: what they do and how to get them */
.cl-locked{max-width:620px;margin:24px auto;background:#fff;border-radius:0;padding:28px 26px}
.cl-locked h1{font:400 2.2rem/1.1 "Cormorant Garamond","Cormorant Fallback",Georgia,serif;margin:0 0 10px}
.cl-kicker{font-family:"Jost","Jost Fallback",system-ui,sans-serif;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin:0 0 6px}
.cl-lead{font-size:1.1rem;color:#5C5C58}
.cl-btn{display:inline-block;padding:12px 20px;border-radius:0;background:#1C1B18;color:#fff!important;text-decoration:none;font-weight:600}
.cl-lockpart{background:#fff;border-radius:0;padding:16px 18px;margin:14px 0;font-size:.98rem}
@media print{#top,.nl-bot,.cl-disc .cl-aboutlink{display:none!important}}
/* Pricing and Make your year add up are one page with two views (the year uses the price you worked out). */
html[data-tool="pricing"] #yearq{display:none}
html[data-tool="year"] #cf-art .grid,html[data-tool="year"] #cf-art .guide,html[data-tool="year"] #cl-yearlink,html[data-tool="year"] #a-print{display:none}
html[data-tool="year"] #yearq>summary{display:none}
.cl-yearlink a{display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:0;padding:16px 18px;margin:14px 0;color:#1C1B18;text-decoration:none}
.cl-yearlink b{font-size:1.1rem}.cl-yearlink span{color:#5C5C58;font-size:.95rem}
.cl-yprice{background:#1C1B18;color:#fff;border-radius:0;padding:16px 18px;margin:0 0 14px}.cl-yprice a{color:#fff}
/* Room for the fixed top bar (and, on phones, the bottom bar) around a calculator; the save bar sits above the bottom bar. */
html.cl-on.nl body{padding-top:calc(92px + env(safe-area-inset-top,0px))}
html.cl-on.nl #studio-bar{bottom:calc(108px + env(safe-area-inset-bottom,0px));left:12px;right:12px;max-width:760px;margin:0 auto;border-radius:0;border-top:0;padding:10px 14px}
@media (min-width:1024px){html.cl-on.nl #studio-bar{bottom:16px}}
html.cl-on.nl .frame{padding-bottom:220px}
html.cl-on #lc .pick input:checked+label{background:#1C1B18;border-color:#1C1B18;color:#fff}
html.cl-on #lc .pick input:checked+label small{color:#E4E4E0}
/* The save bar, folded */
html.cl-on #studio-bar.sb-fold{left:auto;right:12px;width:auto;max-width:min(560px,calc(100vw - 24px));padding:8px}
@media (max-width:1023px){html.cl-on #studio-bar.sb-fold:not(.open) .sb{display:none}}
@media (min-width:1024px){html.cl-on #studio-bar .sb-toggle{display:none!important}}
html.cl-on #studio-bar .sb-toggle{font:600 14px "Jost","Jost Fallback",sans-serif;padding:10px 16px;border-radius:0;border:0;background:#C4472A;color:#fff;cursor:pointer;margin:0}
html.cl-on #studio-bar.open .sb-toggle{background:transparent;border:1px solid #E4E4E0;float:right;margin:0 0 8px}
html.cl-on #studio-bar.open .sb{clear:both}
html.cl-on body{padding-left:0;padding-right:0}
html.cl-on #lc{border:0!important;padding-left:16px;padding-right:16px}
@media (min-width:1024px){
  html.cl-on.nl #studio-bar.sb-fold{left:24px;right:24px;max-width:1152px;margin:0 auto;padding:8px 12px}
  html.cl-on #studio-bar .sb{display:flex;flex-wrap:nowrap;align-items:center;gap:10px}
  html.cl-on #studio-bar .sb-msg{flex:1 1 auto;min-width:0}
  html.cl-on #studio-bar select{max-width:220px}
  html.cl-on #studio-bar input{max-width:240px}
  html.cl-on #studio-bar button,html.cl-on #studio-bar a{white-space:nowrap}
}
html.cl-on.nl #cf-art{padding-top:0}
html.cl-on.nl body{padding-top:calc(80px + env(safe-area-inset-top,0px))}
/* Brief 16: the suggestion inside the dark card */
.cl-sg .sg-card{background:rgba(255,255,255,.08);color:#fff;margin:0 0 16px}
.cl-sg .sg-card .small,.cl-sg .sg-card li{color:#E4E4E0}
.cl-sg .sg-card button,.cl-sg .sg-card .btn{margin:0;width:auto}
html.cl-on #studio-bar .sb-toggle::before{content:"Save to Studio"}
html.cl-on #studio-bar.open .sb-toggle::before{content:"Close"}
html.cl-on #cf-art .cl-sg button,html.cl-on #cf-art .cl-sg .btn{width:auto;margin:0;font:600 14px "Jost","Jost Fallback",sans-serif;letter-spacing:0;padding:10px 16px;border-radius:0;min-height:40px}
html.cl-on #cf-art .cl-sg button.quiet{background:transparent;border:1px solid #E4E4E0;color:#fff}
html.cl-on #cf-art .cl-sg .sg-line{color:#fff}
html.cl-on #cf-art .cl-sg summary{color:#fff}
