:root {
  --brand: #5c3a21;
  --brand-dark: #3b2414;
  --brand-deep: #2f1d11;
  --paper: #ffffff;
  --ink: #1f1b18;
  --muted: #736b65;
  --muted-2: #968d86;
  --line: #e8e3df;
  --line-strong: #d8d0ca;
  --soft: #f7f5f3;
  --soft-warm: #f1ebe6;
  --success: #176b3a;
  --success-soft: #eaf6ee;
  --star: #e9a31b;
  --shadow: 0 14px 38px rgba(43, 30, 20, .07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--soft); color: var(--ink); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
button, input, textarea, select { font: inherit; }

.page-width { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Public reviews page */
.reviews-page { background: var(--paper); }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.site-header-inner { width: min(1180px, calc(100% - 40px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-logo { width: 48px; height: 48px; object-fit: contain; display: block; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; border: 2px solid var(--brand); position: relative; display: inline-block; flex: 0 0 auto; }
.brand-mark::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--brand); transform: translateX(-50%); }
.brand-mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 7px; height: 2px; background: var(--brand); }
.brand-mark span { position: absolute; width: 8px; height: 8px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); left: 12px; top: 7px; }
.brand-name { font-size: 18px; font-weight: 780; letter-spacing: -.02em; }
.header-label { color: var(--muted); font-size: 13px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; }

.reviews-hero { background: var(--soft-warm); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 72px; align-items: center; min-height: 520px; padding: 76px 0; }
.hero-copy { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); display: inline-block; }
.hero-copy h1 { margin: 17px 0 20px; font-size: clamp(44px, 6vw, 74px); line-height: .99; letter-spacing: -.055em; max-width: 760px; font-weight: 770; }
.hero-lede { margin: 0; max-width: 650px; color: #5d554f; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 28px; color: var(--brand); font-weight: 780; border-bottom: 1px solid rgba(92,58,33,.35); padding-bottom: 3px; }

.rating-summary { background: var(--paper); border: 1px solid var(--line); padding: 30px; box-shadow: var(--shadow); }
.rating-summary-top { display: flex; align-items: center; gap: 18px; }
.rating-number { font-size: 58px; font-weight: 760; letter-spacing: -.055em; line-height: 1; }
.summary-stars { color: var(--star); font-size: 23px; letter-spacing: 2px; line-height: 1; }
.summary-caption { color: var(--muted); font-size: 13px; margin-top: 7px; }
.rating-summary-divider { height: 1px; background: var(--line); margin: 25px 0; }
.verified-count-row { display: flex; gap: 13px; align-items: center; }
.verified-seal { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; border: 2px solid #fff; box-shadow: 0 0 0 2px #d7c2af; }
.verified-count-row div { display: flex; flex-direction: column; gap: 3px; }
.verified-count-row strong { font-size: 15px; font-weight: 750; }
.verified-count-row #count { color: inherit; font-size: inherit; font-weight: inherit; }
.verified-count-row > div > span:last-child { color: var(--muted); font-size: 12px; font-weight: 400; }

.trust-strip { background: var(--brand); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { min-height: 108px; display: flex; align-items: center; gap: 14px; padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; padding-right: 0; }
.trust-icon { width: 36px; height: 36px; min-width: 36px; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.trust-item div { display: flex; flex-direction: column; gap: 4px; }
.trust-item strong { font-size: 14px; }
.trust-item div span { color: rgba(255,255,255,.73); font-size: 12px; line-height: 1.35; }

.reviews-section { padding: 86px 0 94px; background: #fff; }
.section-heading-row { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 48px; align-items: end; margin-bottom: 38px; }
.section-heading-row h2 { margin: 10px 0 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading-row > p { color: var(--muted); line-height: 1.6; margin: 0; font-size: 15px; }
.review-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.filter-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-button { appearance: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; font-weight: 720; cursor: pointer; background: #fff; color: var(--ink); font-size: 13px; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.filter-button:hover { border-color: var(--brand); transform: translateY(-1px); }
.filter-button.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review-card { background: #fff; border: 1px solid #e6ddd6; border-radius: 22px; padding: 26px 28px 24px; min-height: 296px; display: flex; flex-direction: column; position: relative; box-shadow: 0 6px 20px rgba(43,30,20,.055); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.review-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(43,30,20,.08); border-color: #ddd3cc; }
.review-card .top { display: grid; grid-template-columns: auto minmax(250px,1fr) minmax(150px,220px); gap: 16px; align-items: start; }
.review-avatar { width: 64px; height: 64px; border-radius: 50%; background: #efe5db; color: var(--brand); display: grid; place-items: center; font-weight: 780; font-size: 24px; letter-spacing: -.03em; }
.customer-avatar-icon { width: 64px; height: 64px; display: block; }
.review-person { min-width: 0; padding-top: 3px; }
.review-name-row { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: nowrap; white-space: nowrap; }
.review-card h3 { margin: 0; font-size: 19px; letter-spacing: -.03em; line-height: 1.2; }
.review-name-row h3 { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-name-row .badge.verify { flex: 0 0 auto; white-space: nowrap; }
.review-card .meta { font-size: 12px; color: var(--muted); margin-top: 5px; }
.review-rating-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.review-stars { color: var(--star); font-weight: 800; letter-spacing: 1px; white-space: nowrap; font-size: 16px; }
.review-star { display: inline-block; color: transparent; background: linear-gradient(90deg,var(--star) 0 var(--star-fill),#d8d0ca var(--star-fill) 100%); -webkit-background-clip: text; background-clip: text; }
.review-age { font-size: 12px; color: #57514c; }
.review-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 4px; min-width: 0; }
.service-chip { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 9px 14px; border-radius: 12px; background: #f2e9df; color: var(--brand); font-size: 12px; font-weight: 760; line-height: 1.25; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.service-city { color: #4d4540; font-size: 13px; text-align: right; }
.review-verified-row { display: flex; align-items: center; gap: 12px; margin: 18px 0 0 80px; }
.badge { display: inline-flex; align-items: center; gap: 12px; border-radius: 14px; padding: 0; font-weight: 780; font-size: 13px; background: transparent; }
.badge.verify { color: var(--brand-dark); border: 0; box-shadow: none; }
.badge.verify::before { content: "✓"; width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 20px; font-weight: 900; border: 2px solid #fff; box-shadow: 0 0 0 2px #d7c2af; flex: 0 0 auto; }
.badge-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.badge-title { font-weight: 790; font-size: 16px; letter-spacing: -.02em; line-height: 1.1; }
.badge-subtitle { font-size: 13px; color: #5b5550; font-weight: 500; line-height: 1.15; }
.review-card .badge { gap: 7px; }
.review-card .badge.verify::before { width: 22px; height: 22px; font-size: 12px; border-width: 1.5px; box-shadow: 0 0 0 1px #d7c2af; }
.review-card .badge-title { font-size: 11px; line-height: 1.05; }
.review-card .badge-subtitle { font-size: 9px; line-height: 1.05; }
.verify-link:hover { opacity: .86; }
.review-text { line-height: 1.42; margin: 30px 0 0; font-size: 18px; color: #1d1a18; letter-spacing: -.01em; }
.review-text::before { content: ""; margin-right: 0; }
.rating-only-note { margin: 30px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; color: var(--muted); font-size: 15px; font-style: italic; line-height: 1.55; }
.review-card.rating-only .rating-only-note { min-height: 54px; }
.company-response { margin-top: 20px; background: var(--soft); border-left: 3px solid var(--brand); padding: 13px 14px; font-size: 13px; line-height: 1.55; border-radius: 10px; white-space: pre-line; }
.empty-state { grid-column: 1 / -1; border: 1px solid var(--line); background: var(--soft); padding: 30px; color: var(--muted); border-radius: 18px; }

.verification-explainer { margin-top: 34px; background: var(--soft); border: 1px solid var(--line); padding: 24px; border-radius: 18px; }
.verification-explainer-combined { display: block; }
.verification-explainer-item { display: grid; grid-template-columns: 205px minmax(0,1fr); column-gap: 28px; align-items: flex-start; }
.verification-explainer-divider { height: 1px; background: var(--line); margin: 21px 0; }
.verification-explainer-badge { margin-top: 2px; width: 180px; }
.verification-id-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 2px; width: 180px; color: var(--brand-dark); }
.verification-id-icon { width: 42px; height: 42px; min-width: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 2px #d7c2af; }
.verification-id-icon .verify-icon-svg { width: 26px; height: 26px; }
.verification-id-badge .badge-title { font-size: 16px; line-height: 1.1; }
.verification-explainer strong { font-size: 15px; }
.verification-explainer p { margin: 7px 0 0; color: var(--muted); line-height: 1.6; font-size: 13px; max-width: 900px; }
.verification-explainer p strong { color: var(--brand-dark); font-size: inherit; }
.review-faq { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 38px; }
.review-faq-heading { max-width: 760px; margin-bottom: 22px; }
.review-faq-heading h3 { margin: 9px 0 9px; font-size: clamp(25px,3vw,34px); line-height: 1.08; letter-spacing: -.035em; }
.review-faq-heading > p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.review-faq-list { border-top: 1px solid var(--line); }
.review-faq-list details { border-bottom: 1px solid var(--line); }
.review-faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 19px 46px 19px 0; font-size: 15px; font-weight: 760; color: var(--ink); }
.review-faq-list summary::-webkit-details-marker { display: none; }
.review-faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--brand); font-size: 18px; font-weight: 500; }
.review-faq-list details[open] summary::after { content: "−"; }
.review-faq-list details p { margin: -3px 46px 20px 0; color: var(--muted); line-height: 1.65; font-size: 13px; max-width: 900px; }
.review-faq-list details p a { color: var(--brand); font-weight: 720; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.review-faq-list details p a:hover { color: var(--brand-dark); }
.review-footer { border-top: 1px solid var(--line); background: #fff; }
.review-footer-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; }
.review-footer-inner span:first-child { color: var(--ink); font-weight: 750; }

/* Shared / submission / verification pages */
.shell { max-width: 1060px; margin: 0 auto; padding: 32px 18px 64px; }
.hero { background: var(--brand); color: #fff; padding: 34px; box-shadow: var(--shadow); }
.hero h1 { margin: 0 0 8px; font-size: clamp(30px,5vw,54px); line-height: 1; }
.hero p { margin: 8px 0 0; max-width: 700px; color: #f3e9e2; }
.rating-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.rating-big { font-size: 32px; font-weight: 800; }
.stars { letter-spacing: 2px; color: #ffd27a; }
.panel { background: #fff; border: 1px solid var(--line); padding: 20px; box-shadow: 0 8px 24px rgba(51,37,28,.06); }
button, .button { appearance: none; border: 0; border-radius: 8px; padding: 11px 15px; font-weight: 750; cursor: pointer; background: var(--brand); color: #fff; font-size: 14px; }
button.secondary, .button.secondary { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.form-card { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow); }
label { display: block; font-weight: 700; margin: 18px 0 7px; }
input, textarea, select { width: 100%; border: 1px solid #d9cec6; border-radius: 6px; padding: 12px 13px; font: inherit; background: #fff; }
textarea { min-height: 150px; resize: vertical; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { margin: 0; font-size: 36px; color: #d8d0ca; cursor: pointer; }
.star-input label:hover, .star-input label:hover~label, .star-input input:checked~label { color: var(--star); }
.notice { padding: 12px 14px; border-radius: 6px; background: #fff7e5; border: 1px solid #f0d79b; margin: 14px 0; }
.success { background: #eaf8ef; border-color: #bde5ca; color: #155b32; }
.error { background: #fff0ef; border-color: #f2c1bd; color: #8a2118; }
.hidden { display: none!important; }
.footer-note { color: var(--muted); font-size: 12px; text-align: center; margin-top: 28px; }
.verification-page { background: var(--soft); }
.verification-shell { width: min(760px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 74px; }
.verification-back { display: inline-flex; margin-bottom: 18px; font-size: 13px; font-weight: 750; }
.verification-box { margin: 0; }
.verification-card { background: #fff; border: 1px solid #e6ddd6; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 48px rgba(43,30,20,.09); }
.verification-card-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.verification-title { display: flex; align-items: center; gap: 12px; }
.verification-title h1 { margin: 0; font-size: 19px; color: var(--brand-dark); letter-spacing: -.025em; }
.verification-title-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.verification-card-body { padding: 8px 20px 20px; }
.verify-icon-svg { display: block; width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.verify-row { display: grid; grid-template-columns: 28px minmax(130px,1fr) minmax(160px,auto); align-items: center; gap: 12px; padding: 16px 10px; border-bottom: 1px solid var(--line); }
.verify-row-icon { color: var(--brand); display: grid; place-items: center; }
.verify-row-label { color: #352f2b; font-size: 14px; }
.verify-row-value { color: #3f3934; font-size: 14px; font-weight: 650; text-align: right; }
.verify-callout { display: flex; gap: 14px; align-items: flex-start; background: #f4ede4; border: 1px solid #eadfcf; border-radius: 12px; padding: 16px 18px; margin-top: 16px; color: var(--brand-dark); }
.verify-callout-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--brand); border-radius: 10px; flex: 0 0 auto; color: var(--brand); }
.verify-callout p { margin: 0; font-size: 14px; line-height: 1.4; }
.verification-method { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.verification-method strong { font-size: 14px; }
.verification-method p { margin: 7px 0 0; color: var(--muted); line-height: 1.55; font-size: 13px; }

/* Square embed */
.embed-shell { background: #fff; padding: 0; }
.embed-wrap { padding: 18px; max-width: 1000px; margin: auto; }
.embed-head { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-bottom: 12px; }
.embed-title { font-size: 22px; font-weight: 850; }
.embed-rating { font-weight: 800; }
.embed-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.embed-cards .review-card { padding: 20px; min-height: 280px; }
.embed-cards .review-card.compact .top { grid-template-columns: auto 1fr; }
.embed-cards .review-card.compact .review-avatar { width: 50px; height: 50px; font-size: 18px; }
.embed-cards .review-card.compact .customer-avatar-icon { width: 50px; height: 50px; }
.embed-cards .review-card.compact .review-side { grid-column: 2; align-items: flex-start; padding-top: 0; }
.embed-cards .review-card.compact .service-city { text-align: left; }
.embed-cards .review-card.compact .review-name-row { gap: 8px; }
.embed-cards .review-card.compact .badge-title { font-size: 10.5px; }
.embed-cards .review-card.compact .badge-subtitle { font-size: 8.5px; }
.embed-cards .review-card.compact .badge.verify::before { width: 21px; height: 21px; font-size: 11px; }
.embed-cards .review-text { font-size: 15px; margin-top: 22px; }
.embed-footer { text-align: center; margin-top: 14px; }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 38px; min-height: auto; padding: 60px 0; }
  .rating-summary { max-width: 500px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 20px 0; min-height: auto; }
  .trust-item:last-child { border-bottom: 0; }
  .section-heading-row { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 760px) {
  .page-width, .site-header-inner { width: min(100% - 28px, 1180px); }
  .site-header-inner { min-height: 68px; }
  .brand-name { font-size: 15px; }
  .brand-logo { width: 42px; height: 42px; }
  .header-label { display: none; }
  .hero-copy h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-layout { padding: 48px 0; }
  .rating-summary { padding: 24px; }
  .reviews-section { padding: 62px 0 70px; }
  .review-toolbar { align-items: flex-start; flex-direction: column; }
  .review-grid, .embed-cards { grid-template-columns: 1fr; }
  .review-card { min-height: auto; padding: 23px; }
  .review-card .top { grid-template-columns: auto 1fr; }
  .review-side { grid-column: 2; align-items: flex-start; padding-top: 0; }
  .service-city { text-align: left; }
  .review-verified-row { margin-left: 0; }
  .review-text { font-size: 17px; }
  .verify-row { grid-template-columns: 24px 1fr; }
  .verify-row-value { grid-column: 2; text-align: left; }
  .verification-shell { width: min(100% - 28px, 760px); padding-top: 28px; }
  .verification-card-head { padding: 15px 16px; }
  .verification-card-body { padding: 6px 16px 16px; }
  .review-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
  .form-card { padding: 22px; }
  .embed-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .verification-explainer-item { grid-template-columns: 1fr; row-gap: 14px; }
  .review-faq { margin-top: 34px; padding-top: 30px; }
  .review-faq-list summary { padding-right: 40px; }
  .review-faq-list details p { margin-right: 0; }
}


/* Simplified verified-review submission page */
.submission-page { min-height: 100vh; background: #f6f2ee; }
.submission-shell { width: min(100% - 32px, 720px); margin: 0 auto; padding: 54px 0 80px; }
.submission-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: 0 18px 48px rgba(43,30,20,.07); }
.submission-invite { display: inline-flex; align-items: center; gap: 9px; color: var(--brand-dark); font-size: 13px; font-weight: 780; }
.submission-invite-check { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; box-shadow: 0 0 0 2px #ead9ca; }
.submission-card h1 { margin: 20px 0 10px; font-size: clamp(28px,5vw,38px); line-height: 1.08; letter-spacing: -.04em; }
.submission-lede { margin: 0 0 30px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 560px; }
.simple-review-form { display: grid; gap: 26px; }
.rating-fieldset { border: 0; padding: 0; margin: 0; }
.rating-fieldset legend, .submission-field > label { display: block; margin: 0 0 10px; color: var(--ink); font-size: 14px; font-weight: 780; }
.rating-help { margin: -4px 0 11px; color: var(--muted); font-size: 12px; }
.half-star-input { display: flex; align-items: center; gap: 5px; width: max-content; }
.interactive-rating-star { --rating-fill: 0%; width: 43px; height: 45px; position: relative; display: inline-grid; place-items: center; }
.interactive-rating-glyph { position: relative; z-index: 0; font-size: 42px; line-height: 1; color: transparent; background: linear-gradient(90deg,var(--star) 0 var(--rating-fill),#d8d0ca var(--rating-fill) 100%); -webkit-background-clip: text; background-clip: text; pointer-events: none; }
.rating-half { position: absolute; z-index: 2; top: 0; bottom: 0; width: 50%; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; }
.rating-half-left { left: 0; }
.rating-half-right { right: 0; }
.rating-half:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-radius: 6px; }
.interactive-rating-star:has(.rating-half:hover) { transform: translateY(-1px); }
.rating-value-label { margin: 7px 0 0; color: var(--muted); font-size: 12px; font-weight: 650; }
.submission-field textarea, .submission-field input { border: 1px solid #d8d0ca; border-radius: 12px; background: #fff; padding: 14px 15px; transition: border-color .15s ease, box-shadow .15s ease; }
.submission-field textarea { min-height: 150px; line-height: 1.55; }
.submission-field textarea:focus, .submission-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(92,58,33,.09); }
.optional-label { margin-left: 5px; color: var(--brand); font-size: 11px; font-weight: 650; }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.submission-button { width: 100%; border: 0; border-radius: 12px; background: var(--brand); color: #fff; padding: 14px 18px; font-weight: 800; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.submission-button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.submission-privacy { margin: -10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.submission-honesty { margin: 14px 0 0; color: var(--brand-dark); font-size: 12px; font-weight: 720; }
.required-label, .optional-label { font-size: 11px; font-weight: 720; margin-left: 5px; }
.required-label { color: var(--brand); }
.optional-label { color: var(--brand); }
.submission-card .notice { margin: 0 0 24px; border-radius: 12px; }
.submission-card .notice.success { background: #edf7f0; border-color: #cfe6d5; }
.submission-card .notice.error { background: #fff1ef; border-color: #edc6c0; }


/* Submission success state */
.submission-success { text-align: center; padding: 22px 8px 8px; }
.submission-success-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 30px; font-weight: 800; box-shadow: 0 0 0 5px #ead9ca; }
.submission-success-eyebrow { margin: 0 0 10px; color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.submission-success h2 { margin: 0; color: var(--ink); font-size: clamp(28px,5vw,38px); line-height: 1.1; letter-spacing: -.035em; }
.submission-success-copy { max-width: 520px; margin: 14px auto 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.submission-success-review-note { max-width: 520px; margin: 12px auto 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.submission-success-id { width: min(100%,360px); margin: 24px auto 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: #faf7f4; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.submission-success-id span { color: var(--muted); font-size: 12px; font-weight: 700; }
.submission-success-id strong { color: var(--brand-dark); font-size: 14px; letter-spacing: .03em; }
.submission-success-link { width: min(100%,360px); margin: 26px auto 0; border-radius: 12px; background: var(--brand); color: #fff; padding: 14px 18px; display: block; text-decoration: none; font-weight: 800; transition: background .15s ease, transform .15s ease; }
.submission-success-link:hover { background: var(--brand-dark); transform: translateY(-1px); }
.submission-success-demo { margin: 13px 0 0; color: var(--muted); font-size: 11.5px; }

@media (max-width: 640px) {
  .submission-shell { width: min(100% - 22px, 720px); padding: 28px 0 52px; }
  .submission-card { border-radius: 18px; padding: 24px 20px; }
  .submission-card h1 { margin-top: 18px; }
  .interactive-rating-star { width: 39px; height: 42px; }
  .interactive-rating-glyph { font-size: 39px; }
}

/* Expired / already-used review invitation states */
.submission-invite-state { text-align: center; padding: 22px 8px 8px; }
.submission-invite-state-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #f4ece5; color: var(--brand); box-shadow: 0 0 0 1px #dfd0c3; }
.submission-invite-state-icon svg { width: 29px; height: 29px; display: block; }
.submission-invite-state-eyebrow { margin: 0 0 10px; color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.submission-invite-state h2 { margin: 0; color: var(--ink); font-size: clamp(27px,5vw,36px); line-height: 1.1; letter-spacing: -.035em; }
.submission-invite-state-copy { max-width: 520px; margin: 15px auto 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.submission-invite-state-note { max-width: 520px; margin: 11px auto 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.submission-state-link { width: min(100%,360px); margin: 26px auto 0; border-radius: 12px; background: var(--brand); color: #fff; padding: 14px 18px; display: block; text-decoration: none; font-weight: 800; transition: background .15s ease, transform .15s ease; }
.submission-state-link:hover { background: var(--brand-dark); transform: translateY(-1px); }
