:root {
  --ink: #1d2b25;
  --muted: #66736d;
  --primary: #b32632;
  --primary-dark: #8e1d27;
  --primary-pale: #fbeaec;
  --success: #176b4d;
  --success-pale: #e9f4ee;
  --orange: #c76a2b;
  --orange-pale: #fff3e6;
  --red: #ae4a42;
  --red-pale: #fcecea;
  --paper: #f7f6f1;
  --white: #fff;
  --line: #dce2dc;
  --shadow: 0 8px 30px rgba(30, 50, 40, 0.07);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -10%, rgba(247, 216, 168, .32), transparent 30rem),
    var(--paper);
  font-family: "Noto Sans Devanagari", "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(118, 130, 123, .22);
}

.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: white; background: var(--primary); }
.brand-mark svg { width: 27px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.05rem; line-height: 1.3; }
.brand-domain { font-family: "DM Sans", sans-serif; letter-spacing: -.02em; }
.brand small { margin-top: 1px; color: var(--muted); font-size: .72rem; }

.language-switcher { display: flex; gap: 4px; padding: 4px; background: #ecece6; border-radius: 999px; }
.language-option { border: 0; border-radius: 999px; padding: 8px 14px; color: var(--muted); background: transparent; font-size: .82rem; font-weight: 600; }
.language-option.active { color: var(--primary-dark); background: var(--white); box-shadow: 0 2px 8px rgba(30, 50, 40, .08); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, .75fr); align-items: end; gap: 60px; }
.hero-main { min-width: 0; display: grid; grid-template-columns: clamp(120px, 10vw, 148px) minmax(0, 1fr); align-items: center; gap: 24px; }
.hero-cylinder { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 14px rgba(109, 32, 28, .16)); }
.eyebrow, .section-kicker { margin: 0 0 15px; color: var(--primary); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(179, 38, 50, .12); }
h1 { max-width: 670px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.08; letter-spacing: -.045em; }
.hero-description { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; }
.hero-actions { display: grid; gap: 11px; }
.safety-alert-button { width: 100%; min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 1px solid #e2bd26; border-radius: 14px; color: #241f0d; text-align: left; background: linear-gradient(135deg, #fff9d9, #fff0a6); box-shadow: 0 8px 22px rgba(111, 88, 0, .12); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.safety-alert-button:hover { transform: translateY(-2px); border-color: #b89000; box-shadow: 0 11px 26px rgba(111, 88, 0, .17); }
.safety-date-code { width: 51px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 2px solid #1e1d18; border-radius: 5px; color: #111; background: #ffd633; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); font: 800 1rem/1 "DM Sans", sans-serif; letter-spacing: .04em; }
.safety-alert-copy { min-width: 0; flex: 1; }
.safety-alert-copy strong, .safety-alert-copy small { display: block; }
.safety-alert-copy strong { font-size: .86rem; }
.safety-alert-copy small { margin-top: 3px; color: #6f621f; font-size: .68rem; line-height: 1.4; }
.safety-alert-arrow { width: 19px; flex: 0 0 auto; stroke: #3d3512; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-report-button { width: 100%; min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 0; border-radius: 14px; color: white; text-align: left; background: #f47d31; box-shadow: 0 8px 24px rgba(180, 71, 17, .22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.hero-report-button:hover { transform: translateY(-2px); background: #e96a22; box-shadow: 0 11px 28px rgba(180, 71, 17, .28); }
.hero-report-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: white; background: #b94713; }
.hero-report-icon svg { width: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hero-report-copy { min-width: 0; flex: 1; }
.hero-report-copy strong, .hero-report-copy small { display: block; }
.hero-report-copy strong { font-size: .88rem; }
.hero-report-copy small { margin-top: 3px; color: rgba(255, 255, 255, .88); font-size: .67rem; line-height: 1.45; }
.hero-report-arrow { width: 19px; flex: 0 0 auto; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.finder { padding: 24px; border: 1px solid rgba(215, 220, 214, .9); border-radius: var(--radius); background: rgba(255,255,255,.86); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 18px; top: 50%; width: 21px; transform: translateY(-50%); stroke: #748079; stroke-width: 1.8; stroke-linecap: round; }
.search-wrap input { width: 100%; height: 58px; padding: 0 20px 0 52px; border: 1px solid #ccd4ce; border-radius: 12px; outline: none; color: var(--ink); background: #fbfcfa; transition: border-color .2s, box-shadow .2s; }
.search-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(179, 38, 50, .1); }
.search-wrap input::placeholder { color: #929b96; }
.filters { display: grid; grid-template-columns: 1fr 210px 210px; gap: 18px; margin-top: 20px; align-items: end; }
.filters > * { min-width: 0; }
.filter-label { display: block; margin: 0 0 8px; color: #526159; font-size: .75rem; font-weight: 700; }
.filter-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: #58665f; background: white; font-size: .8rem; font-weight: 600; transition: .2s ease; }
.filter-chip:hover { border-color: #cb8b90; color: var(--primary); }
.filter-chip.active { border-color: var(--primary); color: white; background: var(--primary); }
.select-control { position: relative; display: block; }
.select-control svg { position: absolute; left: 13px; top: 50%; width: 18px; transform: translateY(-50%); stroke: #718078; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
select { width: 100%; height: 40px; padding: 0 35px 0 38px; appearance: none; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366746d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; font-size: .8rem; font-weight: 600; }

.results-section { padding: 46px 0 70px; }
.results-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.results-header .section-kicker { margin-bottom: 5px; }
.results-header h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; }
.results-actions { display: flex; align-items: center; gap: 16px; }
.brand-search-results { margin: 0 0 20px; padding: 15px; border: 1px solid #ead4d6; border-radius: 14px; background: #fff8f8; }
.brand-search-results[hidden] { display: none; }
.brand-search-results-label { margin: 0 0 10px; color: var(--primary); font-size: .72rem; font-weight: 700; }
.brand-search-results-grid { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 5px; scrollbar-width: thin; }
.brand-search-result { min-width: 235px; min-height: 76px; padding: 10px 12px; display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 11px; border: 1px solid #e4c6c9; border-radius: 11px; color: var(--ink); text-align: left; background: white; }
.brand-search-result:hover { border-color: var(--primary); box-shadow: 0 5px 16px rgba(74, 31, 35, .08); }
.brand-search-result:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.brand-search-result > span:nth-child(2) { min-width: 0; }
.brand-search-result strong, .brand-search-result small { display: block; }
.brand-search-result strong { font-size: .8rem; }
.brand-search-result small { overflow: hidden; margin-top: 3px; color: var(--muted); font-size: .62rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.brand-search-result > svg { width: 16px; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-search-cylinder { width: 38px; height: 44px; border-radius: 8px 8px 10px 10px; font-size: .62rem; }
.brand-search-cylinder::before { top: -6px; width: 17px; height: 9px; border-width: 3px; }
.brand-search-cylinder::after { top: 20px; height: 3px; }
.report-button { min-height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border: 0; border-radius: 9px; color: white; background: var(--primary); font-size: .76rem; font-weight: 700; }
.report-button:hover, .submit-button:hover { background: var(--primary-dark); }
.report-button svg, .reset-button svg { width: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.reset-button { display: flex; align-items: center; gap: 7px; padding: 8px 0; border: 0; color: var(--primary); background: transparent; font-size: .78rem; font-weight: 700; }
.reset-button svg { width: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dealer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dealer-card { position: relative; min-width: 0; overflow: hidden; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dealer-card:hover { transform: translateY(-2px); border-color: #c6d1ca; box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dealer-name { margin: 0; font-size: 1rem; line-height: 1.45; }
.dealer-area { display: flex; align-items: center; gap: 5px; margin: 5px 0 0; color: var(--muted); font-size: .76rem; }
.dealer-area svg { width: 14px; stroke: currentColor; stroke-width: 1.8; }
.brand-count { flex: 0 1 auto; max-width: 145px; padding: 6px 9px; border-radius: 999px; color: var(--primary); text-align: center; background: var(--primary-pale); font-size: .68rem; font-weight: 700; }
.status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.available { color: var(--success); background: var(--success-pale); }
.status.scheduled { color: #5b4a9f; background: #f0edff; }
.status.token { color: var(--orange); background: var(--orange-pale); }
.status.out { color: var(--red); background: var(--red-pale); }
.brand-list { margin: 18px 0; padding: 5px 0; list-style: none; border-top: 1px solid #edf0ed; border-bottom: 1px solid #edf0ed; }
.brand-item { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 3px -8px; padding: 8px; border-radius: 10px; }
.brand-item + .brand-item { border-top: 1px solid #f0f2f0; }
.brand-item.focused { background: #fdf2f3; box-shadow: inset 3px 0 0 var(--primary); }
.brand-pending { padding: 15px 8px; color: var(--muted); font-size: .76rem; font-weight: 600; text-align: center; }
.view-more-button { align-self: center; margin: -8px 0 16px; padding: 7px 12px; border: 1px solid #e3c5c8; border-radius: 999px; color: var(--primary); background: var(--primary-pale); font-size: .7rem; font-weight: 700; }
.view-more-button:hover { border-color: var(--primary); background: #f9e4e6; }
.cylinder-brand { display: flex; align-items: center; gap: 10px; color: #35463d; font-weight: 700; font-size: .82rem; }
.brand-directory-link { min-width: 0; padding: 2px 0; border: 0; color: #35463d; text-align: left; background: transparent; }
.brand-directory-link > span:nth-child(2) { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.brand-directory-link > svg { width: 15px; flex: 0 0 auto; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.brand-directory-link:hover > span:nth-child(2) { color: var(--primary); text-decoration-color: currentColor; }
.brand-directory-link:hover > svg { transform: translateX(2px); }
.brand-directory-link:focus-visible { border-radius: 5px; outline: 2px solid var(--primary); outline-offset: 3px; }
.mini-cylinder { position: relative; width: 27px; height: 31px; display: grid; place-items: center; border-radius: 7px 7px 9px 9px; color: white; background: var(--brand-color); font: 700 .62rem/1 "DM Sans"; }
.mini-cylinder::before { content: ""; position: absolute; top: -4px; left: 50%; width: 11px; height: 5px; transform: translateX(-50%); border-radius: 3px 3px 0 0; background: var(--brand-color); }
.brand-availability { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.updated-time { color: #7c8882; text-align: right; font-size: .63rem; }
.dealer-notice { margin: -4px 0 18px; padding: 10px 11px; border-radius: 9px; color: #65572d; background: #fff8df; font-size: .7rem; line-height: 1.55; }
.status.ended { color: #625d54; background: #ebe7de; }

.all-brand-directory-section { padding: 0 0 70px; }
.all-brand-directory-heading { max-width: 760px; margin-bottom: 20px; }
.all-brand-directory-heading .section-kicker { margin-bottom: 5px; }
.all-brand-directory-heading h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.85rem); letter-spacing: -.025em; }
.all-brand-directory-heading > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.all-brand-directory-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.brand-directory-tile { position: relative; min-width: 0; min-height: 142px; padding: 22px 14px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; box-shadow: 0 4px 16px rgba(30, 50, 40, .04); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.brand-directory-tile:hover { transform: translateY(-2px); border-color: #d3a7ab; box-shadow: var(--shadow); }
.brand-directory-tile:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.brand-directory-tile > svg { position: absolute; top: 12px; right: 11px; width: 16px; stroke: #ba7a80; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.brand-directory-tile:hover > svg { transform: translateX(2px); stroke: var(--primary); }
.brand-cylinder-large { position: relative; width: 46px; height: 54px; display: grid; place-items: center; border-radius: 10px 10px 13px 13px; color: white; background: var(--brand-color); box-shadow: inset 0 -8px 0 rgba(0,0,0,.08), 0 7px 14px rgba(33, 31, 29, .13); font: 800 .72rem/1 "DM Sans", sans-serif; }
.brand-cylinder-large::before { content: ""; position: absolute; top: -8px; left: 50%; width: 20px; height: 11px; transform: translateX(-50%); border: 4px solid var(--brand-color); border-bottom: 0; border-radius: 6px 6px 0 0; }
.brand-cylinder-large::after { content: ""; position: absolute; left: -2px; right: -2px; top: 25px; height: 4px; border-radius: 3px; background: rgba(0,0,0,.16); }
.brand-directory-tile-name { overflow-wrap: anywhere; text-align: center; font-size: .78rem; font-weight: 700; line-height: 1.4; }

.past-distributions { padding: 0 0 70px; }
.past-distributions[hidden] { display: none; }
.past-distributions-heading { padding: 20px 22px; border: 1px solid #ddd6c8; border-radius: 18px; background: #f7f4ed; }
.past-distributions-heading h2 { margin: 3px 0 7px; color: #302d28; font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.past-distributions-heading > p:last-child { max-width: 760px; margin: 0; color: #6b655b; line-height: 1.65; }
.past-dealer-grid { margin-top: 18px; }
.archived-dealer-card { border-color: #ddd7c9; background: #fbfaf6; }
.archived-dealer-card .dealer-notice { color: #625d54; background: #efebe2; }
.card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: auto; }
.action-button { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 9px; text-decoration: none; font-size: .74rem; font-weight: 700; }
.action-button svg { width: 17px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.call-button { width: auto; padding: 0 14px; color: white; background: var(--primary); }
.call-button:hover { background: var(--primary-dark); }
.map-button { width: auto; padding: 0 12px; border: 1px solid var(--line); color: var(--primary); background: white; }
.map-button:disabled { color: #9a9f9c; background: #f4f5f3; cursor: not-allowed; opacity: .72; }

.brand-directory-dialog { width: min(980px, calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 24px 80px rgba(38, 19, 21, .25); }
.brand-directory-dialog::backdrop { background: rgba(29, 20, 21, .62); backdrop-filter: blur(3px); }
.brand-directory-heading { background: #fdf8f8; }
.brand-directory-dialog-body { max-height: calc(100vh - 120px); padding: 20px 25px 26px; overflow-y: auto; }
.directory-stock-note { margin: 0 0 16px; padding: 12px 14px; border-left: 4px solid #d39b00; border-radius: 8px; color: #665521; background: #fff8dc; font-size: .78rem; line-height: 1.6; }
.directory-search-wrap { position: relative; }
.directory-search-wrap svg { position: absolute; left: 14px; top: 50%; width: 19px; transform: translateY(-50%); stroke: #748079; stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.directory-search-wrap input { width: 100%; height: 46px; padding: 0 15px 0 43px; border: 1px solid #ccd4ce; border-radius: 10px; outline: none; color: var(--ink); background: #fbfcfa; }
.directory-search-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(179, 38, 50, .1); }
.directory-count { margin: 13px 0 9px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.directory-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.directory-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .75rem; }
.directory-table th { padding: 11px 12px; color: #59645e; background: #f5f6f3; font-size: .68rem; text-transform: uppercase; letter-spacing: .035em; }
.directory-table td { padding: 12px; border-top: 1px solid #e9ece8; color: #4e5b54; vertical-align: middle; }
.directory-table td:first-child { width: 40%; }
.directory-table td:nth-child(2) { width: 34%; }
.directory-table td:nth-child(3) { width: 26%; }
.directory-table td strong { display: block; color: var(--ink); font-size: .77rem; line-height: 1.45; }
.directory-table td small { display: block; margin-top: 2px; color: #7a857f; font-size: .65rem; }
.directory-verification { display: inline-flex; margin-top: 5px; padding: 3px 6px; border-radius: 999px; font-size: .58rem; font-weight: 700; line-height: 1.35; }
.directory-verification.current-official { color: #176b4d; background: #e9f4ee; }
.directory-verification.historical-official { color: #625d54; background: #ebe7de; }
.directory-verification.third-party { color: #8b521e; background: #fff0df; }
.directory-phone a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); text-decoration: none; font-family: "DM Sans", sans-serif; font-weight: 700; }
.directory-phone a:hover { text-decoration: underline; text-underline-offset: 2px; }
.directory-phone svg { width: 15px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.directory-no-phone { color: #8b938f; }
.directory-empty { margin: 24px 0 8px; color: var(--muted); text-align: center; }
.directory-load-more { display: block; min-height: 40px; margin: 16px auto 0; padding: 0 16px; border: 1px solid #e3c5c8; border-radius: 999px; color: var(--primary); background: var(--primary-pale); font-size: .72rem; font-weight: 700; }
.directory-load-more:hover { border-color: var(--primary); background: #f9e4e6; }
.directory-load-more[hidden] { display: none; }

.dealer-details-dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 0; overflow: hidden; border: 0; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 24px 80px rgba(38, 19, 21, .22); }
.dealer-details-dialog::backdrop { background: rgba(29, 20, 21, .58); backdrop-filter: blur(3px); }
.dealer-dialog-body { max-height: calc(100vh - 155px); padding: 0 25px 25px; overflow-y: auto; }
.dealer-dialog-brands { margin-top: 20px; }
.dealer-dialog-body .dealer-notice { margin-top: 0; }

.safety-dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 24px 80px rgba(38, 19, 21, .25); }
.safety-dialog::backdrop { background: rgba(29, 20, 21, .62); backdrop-filter: blur(3px); }
.safety-dialog-heading { background: #fffdf1; }
.safety-dialog-body { max-height: calc(100vh - 130px); padding: 22px 25px 26px; overflow-y: auto; }
.safety-code-explainer { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 17px; padding: 17px; border: 1px solid #efd45c; border-radius: 13px; background: linear-gradient(135deg, #fffbea, #fff3b5); }
.safety-date-code-large { width: 82px; height: 58px; font-size: 1.45rem; }
.safety-code-explainer p, .safety-section p, .safety-warning-block p, .safety-emergency-block p { margin: 0; color: #526159; font-size: .82rem; line-height: 1.65; }
.safety-section, .safety-warning-block, .safety-emergency-block { margin-top: 17px; }
.safety-section h3, .safety-warning-block h3, .safety-emergency-block h3 { margin: 0 0 7px; font-size: .9rem; }
.safety-warning-block { padding: 14px 15px; border-left: 4px solid #d39b00; border-radius: 8px; background: #fff8dc; }
.safety-warning-block h3 { color: #745600; }
.safety-quarter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.safety-quarter-grid span { padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; color: #56635d; background: #fafbf9; font-size: .75rem; font-weight: 700; }
.safety-quarter-grid .current { border-color: #d3a900; color: #29220a; background: #ffdf55; }
.safety-emergency-block { padding: 14px 15px; border-radius: 10px; background: var(--red-pale); }
.safety-emergency-block h3 { color: var(--red); }
.safety-sources { display: flex; flex-wrap: wrap; gap: 6px 13px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .67rem; }
.safety-sources span { width: 100%; font-weight: 700; }
.safety-sources a { color: var(--primary); font-weight: 700; text-underline-offset: 2px; }

.report-dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 24px 80px rgba(38, 19, 21, .22); }
.report-dialog::backdrop { background: rgba(29, 20, 21, .58); backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 25px 20px; border-bottom: 1px solid var(--line); }
.dialog-heading .section-kicker { margin-bottom: 5px; }
.dialog-heading h2 { margin: 0; font-size: 1.35rem; }
.dialog-heading p:last-child { margin: 8px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.dialog-close { flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: white; font-size: 1.35rem; line-height: 1; }
.dialog-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.report-form { padding: 22px 25px 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.honey-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
.form-field { min-width: 0; }
.form-field > span, .form-field legend { display: block; margin-bottom: 7px; color: #526159; font-size: .74rem; font-weight: 700; }
.form-field select, .form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background-color: #fbfcfa; }
.form-field select { height: 43px; padding-left: 12px; }
.form-field input { height: 43px; padding: 0 12px; outline: none; }
.form-field textarea { padding: 11px 12px; resize: vertical; outline: none; }
.form-field select:focus, .form-field input:focus, .form-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(179, 38, 50, .1); }
.form-field-wide, .status-field, .form-privacy, .form-actions { grid-column: 1 / -1; }
.conditional-fields { padding: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border: 1px solid #ead6d9; border-radius: 11px; background: #fdf7f8; }
.conditional-fields[hidden] { display: none; }
.conditional-fields > p { grid-column: 1 / -1; margin: 0; color: var(--primary); font-size: .76rem; font-weight: 700; }
.status-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.status-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.status-options label { position: relative; }
.status-options input { position: absolute; opacity: 0; pointer-events: none; }
.status-options span { min-height: 42px; display: grid; place-items: center; padding: 7px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); text-align: center; font-size: .75rem; font-weight: 700; cursor: pointer; }
.status-options input:checked + span { border-color: var(--primary); color: var(--primary); background: var(--primary-pale); box-shadow: inset 0 0 0 1px var(--primary); }
.form-privacy { margin: 0; padding: 11px 13px; border-radius: 9px; color: var(--muted); background: #f4f4f0; font-size: .7rem; line-height: 1.5; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; }
.cancel-button, .submit-button { min-height: 42px; padding: 0 15px; border-radius: 9px; font-size: .76rem; font-weight: 700; }
.cancel-button { border: 1px solid var(--line); color: var(--muted); background: white; }
.submit-button { border: 0; color: white; background: var(--primary); }
.submit-button:disabled { color: #9b9697; background: #e6e3e3; box-shadow: none; cursor: not-allowed; }
.submit-button:disabled:hover { background: #e6e3e3; }

.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.thanks-card { width: min(520px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 18px; text-align: center; background: white; box-shadow: var(--shadow); }
.thanks-card .brand-mark { margin: 0 auto 20px; }
.thanks-card h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.thanks-card p { color: var(--muted); line-height: 1.7; }
.thanks-card a { display: inline-flex; margin-top: 10px; padding: 11px 16px; border-radius: 9px; color: white; background: var(--primary); text-decoration: none; font-weight: 700; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed #cbd3cd; border-radius: var(--radius); }
.empty-icon { width: 52px; height: 52px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: #e9ece8; }
.empty-icon svg { width: 28px; stroke: currentColor; stroke-width: 1.5; }
.empty-state h3 { margin: 0 0 5px; }
.empty-state p { margin: 0; color: var(--muted); }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 38px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; color: var(--muted); font-size: .75rem; }
footer strong { color: var(--ink); }
footer p { margin: 5px 0 0; }
.footer-note { margin-top: 13px; }
.footer-note .live-dot { width: 6px; height: 6px; margin-right: 7px; }
.creator-credit { min-width: 370px; display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid #ead5d8; border-radius: 14px; background: linear-gradient(135deg, #fff 0%, var(--primary-pale) 100%); box-shadow: 0 6px 20px rgba(74, 31, 36, .07); }
.creator-mark { width: 47px; height: 47px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: white; background: radial-gradient(circle at 16% 16%, #ff3b5c 0, rgba(255, 59, 92, .92) 24%, transparent 60%), radial-gradient(circle at 86% 18%, #3478f6 0, rgba(52, 120, 246, .9) 23%, transparent 59%), radial-gradient(circle at 52% 90%, #20c875 0, rgba(32, 200, 117, .9) 25%, transparent 62%), #59469b; box-shadow: 0 6px 16px rgba(67, 68, 139, .28); font: 700 .75rem/1 "DM Sans", sans-serif; letter-spacing: .04em; }
.creator-details { min-width: 0; }
.creator-label { display: block; color: var(--muted); font-size: .65rem; font-weight: 600; }
.creator-name { display: inline-block; margin-top: 1px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 700; }
.creator-name:hover { color: var(--primary); }
.creator-links { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-top: 6px; }
.creator-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); text-decoration: none; font: 600 .66rem/1.3 "DM Sans", sans-serif; }
.creator-links a:hover { text-decoration: underline; text-underline-offset: 2px; }
.creator-links svg { width: 13px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 48px; }
  .hero-main { grid-template-columns: clamp(82px, 15vw, 120px) minmax(0, 1fr); }
  .hero-actions { max-width: 600px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .brand-filter-group { grid-column: 1 / -1; }
  .dealer-grid { grid-template-columns: repeat(2, 1fr); }
  .all-brand-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  footer { grid-template-columns: 1fr; }
  .creator-credit { width: fit-content; }
}

@media (max-width: 600px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 75px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: .92rem; }
  .brand small { display: none; }
  .language-option { padding: 7px 10px; font-size: .72rem; }
  .hero { padding: 38px 0 30px; }
  .hero-main { grid-template-columns: clamp(64px, 20vw, 82px) minmax(0, 1fr); gap: 14px; }
  h1 { font-size: 2.05rem; }
  .hero-description { margin-top: 16px; line-height: 1.65; }
  .safety-alert-button, .hero-report-button { min-height: 68px; }
  .safety-dialog-body { padding: 18px; }
  .safety-code-explainer { grid-template-columns: 68px 1fr; gap: 13px; padding: 14px; }
  .safety-date-code-large { width: 68px; height: 50px; font-size: 1.2rem; }
  .finder { margin-inline: -2px; padding: 16px; }
  .filters { grid-template-columns: 1fr; gap: 14px; }
  .brand-filter-group { grid-column: auto; }
  .filter-scroll { width: 100%; padding-right: 16px; }
  .dealer-grid { grid-template-columns: 1fr; }
  .all-brand-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-directory-tile { min-height: 132px; padding-inline: 10px; }
  .results-section { padding-top: 36px; }
  .results-header { align-items: center; }
  .results-actions { gap: 10px; }
  .brand-search-results { padding: 12px; }
  .brand-search-result { min-width: min(270px, calc(100vw - 68px)); }
  .report-button span { display: none; }
  .reset-button span { display: none; }
  .report-form { grid-template-columns: 1fr; padding: 19px; }
  .form-field-wide, .status-field, .form-privacy, .form-actions { grid-column: auto; }
  .conditional-fields { grid-template-columns: 1fr; }
  .conditional-fields > p { grid-column: auto; }
  .dialog-heading { padding: 21px 19px 17px; }
  .brand-directory-dialog-body { padding: 16px; }
  .directory-table-wrap { overflow: visible; border: 0; }
  .directory-table, .directory-table tbody { display: block; }
  .directory-table thead { display: none; }
  .directory-table tr { display: block; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
  .directory-table td { position: relative; width: 100% !important; min-height: 43px; display: block; padding: 11px 11px 11px 101px; border-top: 1px solid #edf0ed; }
  .directory-table td:first-child { border-top: 0; }
  .directory-table td::before { content: attr(data-label); position: absolute; top: 12px; left: 11px; width: 80px; color: #7a857f; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
  footer { gap: 20px; }
  .creator-credit { width: 100%; min-width: 0; align-items: flex-start; }
  .creator-links { flex-direction: column; }
}

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