/* bricken.net cost guides: on top of styles.css (colours, type, buttons, header, footer). Read in 30 seconds on a phone. */
.guide{padding:24px 0 40px}
.wrap.narrow{max-width:760px}
.guide h1{font-size:clamp(28px,5vw,40px);margin-top:10px}
.guide h2{font-size:clamp(21px,3vw,26px);margin:34px 0 12px}
.guide h3{font-size:18px;margin:0 0 6px}
.small{font-size:14px}
.crumbs{font-size:14px;color:var(--muted)}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.updated{font-size:14px;margin-top:8px}

/* The answer, first. */
.answer{margin:18px 0 8px;padding:18px 20px;border-radius:14px;background:var(--panel);border:1px solid var(--rule)}
.answer-label{font-weight:650;font-size:15px}
.answer-range{font-size:clamp(32px,7vw,44px);font-weight:760;font-stretch:115%;line-height:1.1;margin:4px 0}
.answer-unit{font-size:16px}
.answer-note{font-size:15px;margin-top:8px;color:var(--muted)}

.prose p,.prose ul,.prose ol{margin:12px 0}
.prose li{margin:4px 0}
.prose h2{margin-top:30px}

/* Region table: fits a phone; scrolls inside itself if it ever has to. */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.regions{width:100%;border-collapse:collapse;font-size:16px}
.regions th,.regions td{padding:9px 8px;border-bottom:1px solid var(--rule);text-align:left}
.regions thead th{font-size:14px;color:var(--muted);font-weight:600}
.regions .num{text-align:right;white-space:nowrap}
.regions tbody th{font-weight:600}

.shot{margin:26px 0;padding:0}
.shot img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--rule);background:var(--surface)}
.shot figcaption{font-size:14px;color:var(--muted);margin-top:8px}

.updown{display:grid;gap:12px 24px}
@media (min-width:640px){.updown{grid-template-columns:1fr 1fr}}
.updown ul{margin:0;padding-left:20px}
.updown li{margin:6px 0}

.faq{border-bottom:1px solid var(--rule);padding:4px 0}
.faq summary{cursor:pointer;font-weight:650;min-height:44px;display:flex;align-items:center;padding:6px 0}
.faq p{margin:0 0 12px}

.builder-cta{margin:36px 0 8px;padding:20px;border-radius:14px;background:var(--band);color:var(--on-band)}
.builder-cta h2{margin:0 0 8px;color:var(--on-band)}
.builder-cta p{color:var(--on-band-muted);margin-bottom:14px}

.related{padding-left:20px}
.related li{margin:6px 0}
.method{margin-top:28px}

/* The index. */
.guide-list{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:10px}
.guide-list a{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--rule);border-radius:12px;background:var(--surface);text-decoration:none}
.guide-list a:hover{border-color:var(--ink)}
.gl-title{font-weight:680;font-size:18px}
.gl-range{font-size:15px}

/* Tables written in the guide's markdown (price by size): as the region table. */
.md{width:100%;border-collapse:collapse;font-size:16px;margin:12px 0}
.md th,.md td{padding:9px 8px;border-bottom:1px solid var(--rule);text-align:left}
.md thead th{font-size:14px;color:var(--muted);font-weight:600}
.md .num{text-align:right;white-space:nowrap}
.md tbody th{font-weight:600}
.md thead .num{white-space:normal}
/* The regional table: each cell with VAT, the figure before VAT underneath (the caption says so). */
.regions caption{caption-side:top;text-align:left;font-size:14px;color:var(--muted);padding:0 0 8px}
.regions .exvat{display:block;font-size:13px;color:var(--muted);font-weight:400}
.regions thead .num{white-space:normal}
/* The app screenshot: wider than the text column on a big screen, so every line can be read (click for full size). */
.guide .shot{width:min(1180px,calc(100vw - 32px));position:relative;left:50%;transform:translateX(-50%)}

/* "Try it": the guide's calculator, priced by the app. */
.tryit{margin:24px 0;padding:18px 20px;border-radius:14px;border:1px solid var(--rule);background:var(--surface)}
.tryit h2{margin-top:0}
.tryform{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 16px;margin:14px 0}
.tryfield label,.trybool{display:block;font-weight:600;font-size:15px;margin-bottom:4px}
.tryfield input,.tryfield select{width:100%;min-height:44px;padding:8px 10px;border:1px solid var(--rule);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit}
.tryhint{display:block;font-size:13px;color:var(--muted);margin-top:4px}
.trybool{display:flex;align-items:center;gap:8px;min-height:44px}
.trytotal{font-size:18px;margin:6px 0 8px}
.trytotal .num{font-size:clamp(26px,5vw,34px);font-weight:760;font-stretch:115%}
.tryest{display:inline-block;font-size:12px;font-weight:600;color:var(--muted);border:1px solid var(--rule);border-radius:999px;padding:0 6px;margin-left:4px}
.trylines{font-size:15px}
.tryregions{margin:8px 0}
.tryregions summary{cursor:pointer;font-weight:600;min-height:44px;padding:10px 0}
.tryfield[hidden],.trybool[hidden]{display:none}
.trysmall{margin:14px 0}
.tryit.busy .tryresult{opacity:.6}
.tryit .btn.primary{white-space:normal;text-align:center}
