/* CarryAsk public site. Server-rendered pages; every text works without JavaScript (the only script is the
   production consent and analytics script). Verdicts are always written out in words, never
   shown by colour alone (LEGAL-REVIEW R38). */
body { font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif; line-height: 1.6; margin: 0; color: #1a1a1a; }
.site-header, main, .site-footer { max-width: 52rem; margin: 0 auto; padding: 0 1rem; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-top: .75rem; padding-bottom: .75rem; }
.brand { font-weight: 700; text-decoration: none; color: inherit; }
.locale-nav a, .locale-nav span { margin-left: .75rem; }
.answer { border: 1px solid #c8c8c8; border-radius: .5rem; padding: 1rem; margin: 1rem 0; }
.answer h1 { font-size: 1.5rem; margin-top: 0; }
.answer-sentence { font-size: 1.1rem; margin: .25rem 0; }
.verdicts { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; }
.verdicts dt { font-weight: 600; }
.layers { padding-left: 1.25rem; }
.layer { margin-bottom: .75rem; }
.layer-conflicting { border-left: 3px solid #555; padding-left: .5rem; }
.rule-dates, .report-link { font-size: .9rem; color: #444; margin: .1rem 0; }
.disclaimer, .medicine-note { font-size: .9rem; background: #f4f4f4; padding: .75rem; border-radius: .25rem; }
.disclaimer-error { background: #fff3cd; border: 1px solid #8a6d00; }
.conflict-label { font-weight: 600; border: 2px dashed #333; padding: .5rem; }
/* illegal-to-possess label: red with the written label and an icon (never colour alone) */
.illegal-label { border: 2px solid #b00020; background: #fdecee; padding: .75rem; border-radius: .25rem; margin: .75rem 0; }
.illegal-heading { color: #8a0018; font-size: 1.1rem; margin-top: 0; }
.illegal-icon { margin-right: .25rem; }
.illegal-tag { color: #8a0018; font-weight: 600; }
.compare { border-collapse: collapse; width: 100%; }
.compare th, .compare td { border-bottom: 1px solid #ddd; padding: .35rem .5rem; text-align: left; vertical-align: top; }
.verdict-neutral { color: inherit; }
.page-updated { font-size: .9rem; color: #444; margin-top: 2rem; }
.related { max-width: 52rem; margin: 1rem auto; }
.breadcrumbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .5rem; }
.site-footer { border-top: 1px solid #ddd; margin-top: 2rem; padding-top: 1rem; padding-bottom: 2rem; font-size: .9rem; }
.footer-links { list-style: none; padding: 0; display: flex; gap: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.data-table { border-collapse: collapse; width: 100%; }
.data-table th, .data-table td { border: 1px solid #ddd; padding: .35rem .5rem; text-align: left; vertical-align: top; }
/* consent banner (production only): a normal block after the main content, never fixed or over #answer; both
   choices use the same style and size */
.consent-banner { position: static; max-width: 52rem; margin: 2rem auto 0; padding: 1rem; border: 1px solid #c8c8c8; border-radius: .5rem; background: #f7f7f7; }
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 1.1rem; margin-top: 0; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.consent-choice { flex: 1 1 12rem; font: inherit; font-weight: 600; padding: .6rem 1rem; border: 2px solid #1a1a1a; border-radius: .25rem; background: #fff; color: #1a1a1a; cursor: pointer; }
.consent-choice:focus { outline: 3px solid #1a1a1a; outline-offset: 2px; }
/* monetisation slots (card B-7): the markup exists only on production with the switches on; no reserved space otherwise */
.ad-slot, .affiliate-block { margin: 1.5rem 0; padding: .75rem; border: 1px solid #ddd; border-radius: .25rem; }
.slot-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: #555; margin: 0 0 .5rem; }
