:root {
  color-scheme: light;
  --ink: #20302a;
  --ink-soft: #53645b;
  --muted: #7b887f;
  --paper: #f0f1e9;
  --cream: #fbfaf6;
  --card: #fffefa;
  --line: #e0e4da;
  --red: #9a493c;
  --red-dark: #77382f;
  --red-pale: #f4e9e4;
  --green: #315849;
  --green-pale: #e8efe8;
  --gold: #b79358;
  --shadow: 0 22px 60px rgba(36, 53, 43, .11);
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--red); }
button { cursor: pointer; }
[hidden] { display: none !important; }

.site-shell { max-width: 1760px; margin: 0 auto; overflow: hidden; background: var(--cream); }
.public-header, .public-footer { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(22px, 7vw, 104px); }
.public-header { border-bottom: 1px solid rgba(81, 55, 37, .09); background: rgba(252, 250, 246, .92); }
.brand-lockup { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-lockup > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand-lockup strong { font-family: Georgia, serif; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.brand-lockup small { color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.brand-mark { display: block; width: 48px; height: 48px; flex: 0 0 auto; border: 1px solid rgba(32, 48, 42, .08); border-radius: 5px; background: #fff; object-fit: contain; }
.brand-full-logo { display: block; width: 92px; height: 92px; flex: 0 0 auto; border: 1px solid rgba(32, 48, 42, .08); border-radius: 5px; background: #fff; object-fit: contain; }
.brand-full-lockup { gap: 14px; }
.brand-full-lockup strong { color: var(--green); font-family: Georgia, serif; font-size: 15px; letter-spacing: 0; }
.brand-full-lockup small { font-size: 9px; letter-spacing: .08em; }
.header-link, .staff-link { color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.header-link:hover, .staff-link:hover { color: var(--red); }

.hero-section { position: relative; display: grid; grid-template-columns: minmax(330px, 1fr) minmax(150px, .52fr) minmax(360px, .9fr); gap: clamp(18px, 2.3vw, 38px); align-items: center; padding: clamp(60px, 7.4vw, 112px) clamp(22px, 7vw, 104px) 91px; background: radial-gradient(ellipse at 22% 12%, rgba(255, 255, 255, .65), transparent 39%), linear-gradient(118deg, #f5f3eb 0%, #edf0e8 47%, #e8eee7 100%); }
.hero-section::before { position: absolute; right: -120px; bottom: -270px; width: 600px; height: 600px; border: 1px solid rgba(49, 88, 73, .11); border-radius: 50%; content: ''; }
.hero-section::after { position: absolute; right: -32px; bottom: -194px; width: 430px; height: 430px; border: 1px solid rgba(49, 88, 73, .08); border-radius: 50%; content: ''; }
.hero-copy, .signup-card, .hero-art { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 13px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1, .section-heading h2, .privacy-section h2, .card-heading h2, .welcome-banner h2, .admin-topbar h1, .section-toolbar h2, .login-card h1, .modal h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
.hero-copy h1 { max-width: 590px; margin: 0 0 18px; color: #203c32; font-size: clamp(52px, 5.35vw, 76px); line-height: 1.01; }
.hero-copy h1 em { color: var(--red); font-weight: 500; }
.hero-intro { max-width: 490px; margin-bottom: 30px; color: #655e54; font-size: 16px; line-height: 1.7; }
.reward-card { display: flex; max-width: 500px; min-height: 86px; align-items: center; gap: 15px; padding: 17px 19px; border: 1px solid rgba(138, 53, 44, .13); border-radius: 14px; background: rgba(255, 254, 250, .76); box-shadow: 0 8px 24px rgba(72, 49, 34, .04); }
.reward-card-icon { display: grid; width: 45px; height: 45px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--red-pale); color: var(--red); font-size: 22px; }
.reward-card > div:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.reward-card strong { color: var(--red-dark); font-family: Georgia, serif; font-size: 20px; }
.reward-card span { color: var(--muted); font-size: 11px; }
.reward-card-limit { padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.reward-card-limit strong { display: block; font-size: 17px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 24px; color: var(--ink-soft); font-size: 12px; }
.hero-points i { display: inline-grid; width: 17px; height: 17px; margin-right: 5px; place-items: center; border-radius: 50%; background: var(--green-pale); color: var(--green); font-size: 10px; font-style: normal; font-weight: 700; }

.hero-art { width: 100%; max-width: 290px; justify-self: center; margin: 0; text-align: center; }
.hero-art img { display: block; width: 100%; filter: drop-shadow(0 16px 18px rgba(40, 53, 42, .10)); }
.hero-art figcaption { position: relative; display: inline-flex; flex-direction: column; margin-top: -34px; padding: 10px 18px 9px; border: 1px solid rgba(183, 147, 88, .45); border-radius: 5px; background: #fbfaf6; box-shadow: 0 8px 22px rgba(43, 54, 44, .09); transform: rotate(-3deg); }
.hero-art figcaption span { color: var(--green); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-art figcaption strong { color: var(--red-dark); font-family: Georgia, serif; font-size: 17px; font-style: italic; font-weight: 500; }
.signup-card { width: 100%; max-width: 475px; justify-self: end; padding: 33px clamp(22px, 3vw, 39px) 27px; border: 1px solid rgba(62, 84, 66, .12); border-top: 3px solid var(--green); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.card-heading { margin-bottom: 21px; }
.step-label { display: inline-flex; margin-bottom: 11px; padding: 5px 9px; border-radius: 4px; background: var(--green-pale); color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.card-heading h2 { margin-bottom: 6px; font-size: 33px; line-height: 1.1; }
.card-heading p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
label { display: flex; flex-direction: column; gap: 7px; color: var(--ink-soft); font-size: 11px; font-weight: 600; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #e5ded4; border-radius: 8px; outline: none; background: #fffefa; color: var(--ink); transition: border-color .16s, box-shadow .16s, background .16s; }
input, select { min-height: 44px; padding: 0 12px; }
textarea { min-height: 112px; padding: 12px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #b4aca1; }
input:focus, select:focus, textarea:focus { border-color: #b76f63; box-shadow: 0 0 0 3px rgba(138, 53, 44, .09); }
.signup-card form > label, .login-card label, .modal label { margin-bottom: 15px; }
.signup-card label small { color: #969084; font-size: 10px; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.required-mark { color: var(--red); }
.optional-mark { margin-left: 4px; color: #969084; font-size: 10px; font-weight: 400; }
.checkbox-line { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; color: #6c6459; font-size: 10px; font-weight: 400; line-height: 1.55; }
.checkbox-line input { width: 16px; height: 16px; min-height: 16px; margin: 1px 0 0; accent-color: var(--red); }
.marketing-choice { margin: 2px 0 12px; }
.privacy-copy, .form-footnote { color: #8a8378; font-size: 9px; line-height: 1.55; }
.privacy-copy { margin: 10px 0 15px; }
.privacy-copy a { color: var(--red); }
.form-footnote { margin: 9px 0 0; text-align: center; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: transform .16s, background .16s, box-shadow .16s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #fffaf4; box-shadow: 0 5px 12px rgba(36, 68, 58, .17); }
.button-primary:hover { background: #203d33; }
.button-secondary { border-color: var(--line); background: #fffefa; color: var(--ink-soft); }
.button-wide { width: 100%; }
.form-message { min-height: 17px; margin: 9px 0 0; color: var(--green); font-size: 11px; line-height: 1.45; }
.form-message.error { color: #a42f25; }

.how-section { padding: 84px clamp(22px, 7vw, 104px) 92px; background: #fcfaf6; }
.section-heading { max-width: 630px; margin: 0 auto 38px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2, .privacy-section h2 { margin: 0; font-size: clamp(31px, 4vw, 47px); line-height: 1.08; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; max-width: 1050px; margin: 0 auto; }
.step-card { min-height: 185px; padding: 26px 25px; border: 1px solid var(--line); border-radius: 13px; background: #fffefa; }
.step-number { display: inline-grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--red-pale); color: var(--red); font-family: Georgia, serif; font-size: 15px; }
.step-card h3 { margin: 17px 0 7px; font-family: Georgia, serif; font-size: 20px; font-weight: 600; }
.step-card p { max-width: 270px; margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.privacy-section { display: grid; grid-template-columns: .8fr 1fr; gap: 65px; padding: 64px clamp(22px, 7vw, 104px); background: #efe8dd; }
.privacy-section h2 { max-width: 360px; font-size: clamp(30px, 3.5vw, 42px); }
.privacy-body p { margin: 0 0 12px; color: #615a50; font-size: 11px; line-height: 1.8; }
.privacy-body strong { font-weight: 600; }
.public-footer { min-height: 100px; border-top: 1px solid var(--line); background: #fcfaf6; }
.public-footer > span { color: #958b7d; font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.footer-brand .brand-mark { width: 36px; height: 36px; font-size: 18px; }
.footer-brand strong { font-size: 14px; }

/* Private administration area */
.admin-shell { min-height: 100vh; background: #f2f3ed; }
.login-wrap { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; gap: 27px; padding: 30px 20px; background: radial-gradient(ellipse at 50% 20%, #fffaf3, #f1e8dd 78%); }
.login-brand { margin-bottom: 3px; }
.login-card { width: min(100%, 410px); padding: 33px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); box-shadow: var(--shadow); }
.login-card h1 { margin: 0 0 7px; font-size: 37px; }
.login-card .muted { margin-bottom: 23px; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.65; }
.back-link { display: inline-block; margin-top: 10px; color: var(--muted); font-size: 11px; text-decoration: none; }
.back-link:hover { color: var(--red); }
.admin-layout { display: grid; min-height: 100vh; grid-template-columns: 238px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 24px 15px 16px; border-right: 1px solid #e3e7de; background: #fbfaf6; }
.admin-brand { padding: 0 8px 24px; border-bottom: 1px solid var(--line); }
.admin-brand .brand-mark { width: 42px; height: 42px; }
.admin-brand strong { font-size: 14px; }
.admin-brand small { font-size: 9px; }
.admin-nav { display: flex; flex-direction: column; gap: 5px; margin-top: 22px; }
.nav-button { display: flex; min-height: 44px; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #726b60; font-size: 12px; text-align: left; }
.nav-button span { display: inline-grid; width: 19px; place-items: center; color: #8b8276; font-size: 17px; }
.nav-button:hover { background: #f5eee5; color: var(--red); }
.nav-button.active { background: #f6e9e4; color: var(--red-dark); font-weight: 700; }
.nav-button.active span { color: var(--red); }
.sidebar-note { margin-top: auto; padding: 14px 12px; border: 1px solid #e5e8df; border-radius: 9px; background: #f6f8f3; color: #4f6755; font-size: 10px; font-weight: 600; line-height: 1.8; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #6a926c; }
.sidebar-note small { color: #87917f; font-size: 9px; font-weight: 400; }
.logout-button { margin-top: 11px; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: #80786d; font-size: 11px; text-align: left; }
.logout-button:hover { background: #f5eee5; color: var(--red); }
.admin-main { min-width: 0; padding: 27px clamp(20px, 4vw, 56px) 55px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.admin-topbar .eyebrow { margin-bottom: 4px; font-size: 9px; }
.admin-topbar h1 { margin: 0; font-size: 31px; }
.admin-topbar .button { min-height: 40px; }
.admin-page { max-width: 1350px; margin: 0 auto; }
.welcome-banner { position: relative; display: flex; min-height: 180px; align-items: center; justify-content: space-between; overflow: hidden; padding: 30px 34px; border-radius: 14px; background: linear-gradient(115deg, #81342b, #9d4b3c 58%, #bc7553); color: #fffaf4; }
.welcome-banner::after { position: absolute; top: -100px; right: 64px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; content: ''; }
.welcome-banner::before { position: absolute; top: -57px; right: 105px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ''; }
.welcome-banner > div { position: relative; z-index: 1; max-width: 620px; }
.welcome-banner .eyebrow { color: #f0c7ad; }
.welcome-banner h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 35px); }
.welcome-banner p:last-child { max-width: 550px; margin: 0; color: #f1dbd0; font-size: 11px; line-height: 1.65; }
.welcome-stamp { position: relative; z-index: 1; display: grid; width: 70px; height: 70px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #f6d6c2; font-size: 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin: 18px 0; }
.stat-card { display: flex; min-height: 112px; flex-direction: column; justify-content: center; padding: 17px 19px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }
.stat-card span { color: var(--muted); font-size: 10px; }
.stat-card strong { margin: 7px 0 3px; font-family: Georgia, serif; font-size: 26px; font-weight: 600; }
.stat-card small { color: #a0988d; font-size: 9px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .8fr); gap: 15px; }
.panel-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }
.panel-title h2, .panel-card h2 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 22px; font-weight: 600; }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 19px; }
.quick-action { display: flex; min-height: 160px; flex-direction: column; align-items: flex-start; padding: 14px; border: 1px solid #eee6dc; border-radius: 9px; background: #fffefa; color: var(--ink); text-align: left; transition: border .15s, transform .15s; }
.quick-action:hover { transform: translateY(-2px); border-color: #d1a39a; }
.quick-icon { display: grid; width: 34px; height: 34px; margin-bottom: 12px; place-items: center; border-radius: 9px; background: var(--red-pale); color: var(--red); font-size: 17px; }
.quick-action strong { margin-bottom: 5px; font-size: 11px; }
.quick-action small { color: var(--muted); font-size: 9px; line-height: 1.55; }
.rule-card { background: #f7f0e6; }
.rule-card h2 { max-width: 240px; font-size: 23px; }
.rule-amount { margin: 19px 0 1px; color: var(--red); font-family: Georgia, serif; font-size: 38px; }
.rule-card > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 10px; }
.rule-limit { margin: 17px 0 11px; padding-top: 12px; border-top: 1px solid #e8d9c5; color: #766b5b; font-size: 10px; }
.rule-limit strong { color: var(--ink); }
.rule-card > small { display: block; color: #887c6b; font-size: 9px; line-height: 1.6; }
.shared-account-note { margin: 16px 2px 0; color: #8a8278; font-size: 9px; line-height: 1.6; }

.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 2px 0 19px; }
.section-toolbar .eyebrow { margin-bottom: 5px; }
.section-toolbar h2 { margin: 0; font-size: 30px; }
.filter-bar { display: flex; align-items: end; gap: 13px; margin-bottom: 14px; }
.search-field { position: relative; display: flex; min-width: 190px; flex: 1; flex-direction: row; align-items: center; gap: 9px; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: #9a9186; }
.search-field input { height: 100%; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 11px; }
.search-field:focus-within { border-color: #b76f63; box-shadow: 0 0 0 3px rgba(138, 53, 44, .08); }
.search-field span { font-size: 17px; }
.select-field { min-width: 210px; }
.select-field select { font-size: 11px; font-weight: 400; }
.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { padding: 12px 15px; border-bottom: 1px solid var(--line); background: #faf7f1; color: #857d72; font-size: 9px; font-weight: 600; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
td { padding: 13px 15px; border-bottom: 1px solid #f0eae1; color: #615b52; font-size: 10px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fdfbf7; }
.client-cell { display: flex; align-items: center; gap: 9px; }
.avatar { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f2e5d7; color: #8a5844; font-family: Georgia, serif; font-size: 11px; font-weight: 600; }
.client-cell strong { display: block; color: var(--ink); font-size: 10px; font-weight: 600; }
.client-cell small { display: block; max-width: 160px; overflow: hidden; color: #958d82; font-size: 9px; text-overflow: ellipsis; }
.table-action { padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--red); font-size: 10px; font-weight: 600; }
.table-action:hover { background: var(--red-pale); }
.empty-state { padding: 36px 15px; color: var(--muted); font-size: 11px; text-align: center; }

.cashier-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); gap: 16px; }
.large-search { margin: 14px 0; }
.search-results { min-height: 115px; }
.result-row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border: 0; border-top: 1px solid #f0eae1; background: transparent; text-align: left; }
.result-row:hover strong { color: var(--red); }
.result-row strong { display: block; color: var(--ink); font-size: 11px; }
.result-row small { color: var(--muted); font-size: 9px; }
.result-row .balance-chip { color: var(--red); font-size: 10px; font-weight: 700; }
.cashier-help { background: #f7f0e6; }
.cashier-help .quick-icon { width: 39px; height: 39px; }
.cashier-help h3 { margin: 3px 0 8px; font-family: Georgia, serif; font-size: 21px; }
.cashier-help p, .cashier-help small { color: #7b7163; font-size: 10px; line-height: 1.65; }
.cashier-example { margin: 15px 0; padding: 12px; border: 1px solid #e5d4bd; border-radius: 8px; color: #71614d; font-size: 10px; }
.cashier-example strong { color: var(--red); }

.draft-badge { padding: 8px 11px; border-radius: 6px; background: #f2eee4; color: #7c705d; font-size: 9px; }
.campaign-grid { display: grid; grid-template-columns: minmax(300px, .92fr) minmax(340px, 1.08fr); gap: 15px; align-items: start; }
.campaign-controls > .select-field { margin: 13px 0; }
.recipient-toolbar { display: flex; justify-content: space-between; gap: 8px; margin: 14px 0 7px; color: var(--muted); font-size: 9px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--red); font-size: 9px; font-weight: 600; }
.recipient-list { max-height: 390px; overflow: auto; border-top: 1px solid #f0eae1; }
.recipient-row { display: grid; grid-template-columns: 16px 1fr auto; gap: 9px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #f0eae1; }
.recipient-row input { width: 15px; height: 15px; min-height: 15px; margin: 0; accent-color: var(--red); }
.recipient-row strong { display: block; color: var(--ink); font-size: 10px; }
.recipient-row small { color: var(--muted); font-size: 9px; }
.recipient-row .last-buy { color: #8d8479; font-size: 8px; text-align: right; }
.campaign-message > label { margin: 13px 0; }
.message-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.rate-select { min-width: 195px; }
.rate-select select { min-height: 36px; padding: 0 8px; font-size: 9px; }
.campaign-estimate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 15px 0; padding: 13px 10px; border-radius: 8px; background: #f7f0e6; }
.campaign-estimate div { display: flex; flex-direction: column; gap: 5px; text-align: center; }
.campaign-estimate span { color: var(--muted); font-size: 8px; }
.campaign-estimate strong { font-family: Georgia, serif; font-size: 19px; }
.campaign-legal { color: #877e72; font-size: 9px; line-height: 1.65; }

.modal { width: min(94vw, 520px); max-height: 90vh; overflow: auto; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: 0 24px 80px rgba(41, 31, 21, .24); }
.modal::backdrop { background: rgba(42, 34, 27, .48); backdrop-filter: blur(3px); }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.modal-heading .eyebrow { margin-bottom: 5px; }
.modal h2 { margin: 0; font-size: 27px; }
.icon-button { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fffefa; color: #746a5d; font-size: 21px; line-height: 1; }
.modal .form-row { margin-bottom: 15px; }
.modal .form-row label { margin-bottom: 0; }
.tiny-copy { font-size: 9px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 10px; }
.client-detail-modal { width: min(96vw, 760px); }
.detail-header { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.detail-person { display: flex; align-items: center; gap: 12px; }
.detail-person .avatar { width: 43px; height: 43px; font-size: 16px; }
.detail-person h2 { margin: 0 0 4px; font-size: 26px; }
.detail-person p { margin: 0; color: var(--muted); font-size: 10px; }
.detail-balance { min-width: 110px; padding: 10px 13px; border-radius: 9px; background: var(--red-pale); text-align: center; }
.detail-balance span { display: block; color: #8a6a62; font-size: 9px; }
.detail-balance strong { display: block; margin-top: 4px; color: var(--red); font-family: Georgia, serif; font-size: 22px; }
.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 15px 0; }
.detail-stat { padding: 11px; border: 1px solid #efe8de; border-radius: 8px; }
.detail-stat span { display: block; color: var(--muted); font-size: 8px; }
.detail-stat strong { display: block; margin-top: 4px; font-size: 12px; }
.purchase-entry { margin: 15px 0; padding: 16px; border-radius: 10px; background: #f7f0e6; }
.purchase-entry h3, .history-heading { margin: 0 0 12px; font-family: Georgia, serif; font-size: 18px; }
.purchase-entry .form-row { margin: 0 0 10px; }
.purchase-entry label { margin: 0; }
.purchase-entry input { min-height: 38px; background: #fffefa; }
.computed-pay { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 12px; padding-top: 9px; border-top: 1px solid #e4d7c5; color: #716655; font-size: 10px; }
.computed-pay strong { color: var(--red); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.detail-actions .button { min-height: 35px; padding: 0 11px; font-size: 9px; }
.consent-status { margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: #f6f8f3; color: #556d5b; font-size: 9px; line-height: 1.6; }
.consent-status.no-consent { background: #f7f3ec; color: #82776b; }
.history-list { border-top: 1px solid var(--line); }
.history-row { display: grid; grid-template-columns: 1fr auto; gap: 5px 13px; padding: 12px 2px; border-bottom: 1px solid #f0eae1; }
.history-row strong { font-size: 10px; }
.history-row .history-amount { text-align: right; }
.history-row small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.history-row .history-action { grid-column: 1 / -1; justify-self: start; padding: 3px 0; border: 0; background: transparent; color: var(--red); font-size: 9px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 10; max-width: min(440px, calc(100vw - 40px)); padding: 12px 16px; transform: translateY(20px); border-radius: 8px; background: #2f4937; color: #fff; opacity: 0; pointer-events: none; font-size: 11px; box-shadow: 0 10px 35px rgba(20, 30, 21, .22); transition: opacity .2s, transform .2s; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: #882f27; }
.preview-banner { margin: 0 0 19px; padding: 11px 14px; border: 1px solid #e4d2a8; border-radius: 8px; background: #fff8df; color: #6d5b2b; font-size: 11px; line-height: 1.5; }
.preview-banner strong { color: #54451f; }
.button-danger { border: 1px solid #e5c8c1; background: #fff6f3; color: #8a352c; }
.button-danger:hover { background: #f8ebe7; }
.form-message.success { color: #3f704b; }
.form-message.error { color: #a4372d; }
.cashier-selected { padding-top: 5px; }
.selected-client { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 3px; padding: 12px; border-radius: 8px; background: #f7f0e6; }
.selected-client strong { display: block; color: var(--ink); font-size: 12px; }
.selected-client small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.cashier-selected > .muted { font-size: 10px; }
.cashier-purchase-form { margin-bottom: 4px; }
.detail-purchase-form .muted { margin: 8px 0 13px; font-size: 10px; line-height: 1.5; }
.detail-actions .button-danger { min-height: 35px; padding: 0 11px; font-size: 9px; }
.detail-actions { align-items: center; }
.history-row { align-items: start; }
button:disabled { cursor: wait; opacity: .65; }

@media (max-width: 1000px) {
  .hero-section { grid-template-columns: 1fr minmax(320px, .9fr); gap: 35px; }
  .hero-art { display: none; }
  .hero-copy h1 { font-size: clamp(48px, 6vw, 66px); }
  .admin-layout { grid-template-columns: 208px minmax(0, 1fr); }
  .quick-actions { grid-template-columns: 1fr; }
  .quick-action { min-height: 92px; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
  .quick-icon { grid-row: 1 / 3; margin: 0; }
  .quick-action strong, .quick-action small { grid-column: 2; }
  .campaign-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .hero-section { grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 35px; }
  .hero-art { display: none; }
}
@media (max-width: 760px) {
  .public-header { padding-top: 16px; padding-bottom: 16px; }
  .brand-full-logo { width: 78px; height: 78px; }
  .brand-full-lockup { gap: 10px; }
  .header-link { font-size: 11px; }
  .hero-section { grid-template-columns: 1fr; gap: 31px; padding-top: 54px; padding-bottom: 55px; }
  .hero-copy h1 { max-width: 520px; font-size: clamp(46px, 12vw, 68px); }
  .hero-intro { max-width: 560px; font-size: 14px; }
  .signup-card { justify-self: stretch; max-width: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .step-card p { max-width: 100%; }
  .privacy-section { grid-template-columns: 1fr; gap: 20px; }
  .privacy-section h2 { max-width: 530px; }
  .public-footer { flex-wrap: wrap; gap: 14px; }
  .public-footer > span { display: none; }
  .admin-layout { display: block; }
  .admin-sidebar { position: sticky; z-index: 4; top: 0; display: flex; width: 100%; height: auto; flex-direction: row; align-items: center; gap: 14px; padding: 9px 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-brand { flex: 0 0 auto; padding: 0; border: 0; }
  .admin-brand .brand-mark { width: 34px; height: 34px; }
  .admin-brand strong { font-size: 12px; }
  .admin-brand small { font-size: 8px; }
  .admin-nav { flex: 1; flex-direction: row; justify-content: flex-end; gap: 3px; margin: 0; overflow: auto; }
  .nav-button { min-width: 39px; min-height: 38px; justify-content: center; padding: 0 9px; font-size: 0; }
  .nav-button span { width: auto; font-size: 17px; }
  .sidebar-note { display: none; }
  .logout-button { flex: 0 0 auto; margin: 0; padding: 8px 7px; font-size: 9px; }
  .admin-main { padding: 20px 15px 42px; }
  .admin-topbar h1 { font-size: 25px; }
  .admin-topbar .button { min-height: 36px; padding: 0 10px; font-size: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid, .cashier-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr; }
  .quick-action { min-height: 83px; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-bar .select-field { min-width: 0; }
  .section-toolbar { align-items: flex-start; }
  .section-toolbar h2 { font-size: 26px; }
  .section-toolbar .button { padding: 0 10px; font-size: 10px; }
  .draft-badge { max-width: 150px; line-height: 1.5; text-align: center; }
  .campaign-grid { grid-template-columns: minmax(0, 1fr); }
  .message-meta { align-items: flex-start; flex-direction: column; }
  .rate-select { width: 100%; }
  .detail-header { flex-direction: column; }
  .detail-balance { display: flex; align-items: center; justify-content: space-between; }
  .detail-balance strong { margin: 0; }
}
@media (max-width: 440px) {
  .public-header, .public-footer { padding-right: 16px; padding-left: 16px; }
  .brand-lockup { gap: 9px; }
  .brand-full-logo { width: 66px; height: 66px; }
  .brand-full-lockup small { font-size: 8px; letter-spacing: .06em; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-lockup strong { font-size: 15px; }
  .header-link { max-width: 85px; text-align: right; }
  .hero-section { padding-right: 16px; padding-left: 16px; }
  .hero-copy h1 { font-size: 46px; }
  .reward-card { gap: 10px; padding: 13px; }
  .reward-card-icon { width: 37px; height: 37px; }
  .reward-card strong { font-size: 17px; }
  .reward-card span { font-size: 9px; }
  .reward-card-limit { padding-left: 10px; font-size: 9px; }
  .reward-card-limit strong { font-size: 15px; }
  .signup-card { padding: 25px 18px 21px; }
  .form-row { grid-template-columns: 1fr; }
  .how-section, .privacy-section { padding-right: 16px; padding-left: 16px; }
  .admin-sidebar { gap: 6px; padding: 8px; }
  .admin-brand { gap: 6px; }
  .admin-brand .brand-mark { width: 29px; height: 29px; font-size: 15px; }
  .admin-brand strong { max-width: 91px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .admin-brand small { font-size: 7px; }
  .admin-nav { justify-content: space-around; }
  .nav-button { min-width: 30px; padding: 0 7px; }
  .logout-button { padding: 7px 5px; font-size: 8px; }
  .admin-topbar { align-items: flex-start; }
  .admin-topbar .eyebrow { font-size: 8px; }
  .admin-topbar h1 { font-size: 22px; }
  .admin-topbar .button { font-size: 9px; }
  .welcome-banner { padding: 24px 19px; }
  .welcome-stamp { width: 47px; height: 47px; font-size: 22px; }
  .welcome-banner h2 { font-size: 23px; }
  .stats-grid { gap: 8px; }
  .stat-card { min-height: 98px; padding: 12px; }
  .stat-card strong { font-size: 22px; }
  .panel-card { padding: 17px; }
  .campaign-estimate { grid-template-columns: 1fr; }
  .campaign-estimate div { flex-direction: row; justify-content: space-between; align-items: center; padding: 0 7px; }
  .campaign-estimate strong { font-size: 16px; }
  .modal { padding: 20px 17px; }
  .modal .form-row { grid-template-columns: 1fr; }
  .detail-stats { gap: 5px; }
  .detail-stat { padding: 8px; }
  .detail-stat span { font-size: 7px; }
  .detail-stat strong { font-size: 10px; }
}

/* Large, high-contrast controls for counter use */
#page-cashier .section-toolbar { margin-bottom: 22px; }
#page-cashier .section-toolbar h2 { font-size: clamp(32px, 3vw, 42px); }
#page-cashier .cashier-grid { grid-template-columns: minmax(0, 1.65fr) minmax(260px, .7fr); gap: 22px; align-items: start; }
#page-cashier .cashier-grid > .panel-card:not(.cashier-help) { padding: clamp(22px, 2.5vw, 36px); }
#page-cashier .panel-card > .eyebrow { margin-bottom: 10px; font-size: 12px; }
#page-cashier .large-search { height: 72px; margin: 18px 0 22px; padding: 0 18px; gap: 14px; border-radius: 12px; }
#page-cashier .large-search span { font-size: 27px; }
#page-cashier .large-search input { font-size: 22px; }
#page-cashier .search-results { min-height: 150px; }
#page-cashier .search-results > .muted { color: #53645b; font-size: 18px; }
#page-cashier .large-search input::placeholder { color: #66766c; opacity: 1; }
#page-cashier .result-row { min-height: 82px; padding: 14px 12px; border-radius: 10px; }
#page-cashier .result-row strong { font-size: 20px; }
#page-cashier .result-row small { color: #53645b; font-size: 16px; }
#page-cashier .result-row .balance-chip { color: var(--green); font-size: 17px; font-weight: 700; }
#page-cashier .text-button { min-height: 44px; font-size: 16px; }
#page-cashier .selected-client { min-height: 96px; margin: 14px 0; padding: 19px; border: 1px solid #d9e5d9; border-radius: 12px; background: var(--green-pale); }
#page-cashier .selected-client strong { font-size: 23px; }
#page-cashier .selected-client small { font-size: 17px; }
#page-cashier .selected-client .balance-chip { color: var(--green); font-size: 19px; font-weight: 700; }
#page-cashier .cashier-selected > .muted { margin: 15px 0; font-size: 17px; }
#page-cashier .purchase-entry { margin: 18px 0 5px; padding: 23px; border-radius: 12px; background: #f4f6f1; }
#page-cashier .purchase-entry h3 { margin-bottom: 17px; font-size: 25px; }
#page-cashier .purchase-entry .form-row { gap: 16px; }
#page-cashier .purchase-entry label { gap: 9px; font-size: 16px; }
#page-cashier .purchase-entry input { min-height: 66px; padding: 0 16px; border-radius: 10px; background: #fff; font-size: 24px; }
#page-cashier .computed-pay { align-items: center; margin: 18px 0; padding: 17px 0; font-size: 18px; }
#page-cashier .computed-pay strong { color: var(--green); font-family: Georgia, serif; font-size: 34px; }
#page-cashier .cashier-purchase-form > .button { min-height: 70px; border-radius: 11px; font-size: 19px; }
#page-cashier .cashier-purchase-form .form-message { font-size: 16px; }
#page-cashier .cashier-help { padding: 25px; border-color: #dfe5da; background: #f3f5ef; }
#page-cashier .cashier-help .quick-icon { width: 48px; height: 48px; font-size: 23px; }
#page-cashier .cashier-help h3 { margin: 8px 0 12px; font-size: 24px; }
#page-cashier .cashier-help p { margin-bottom: 0; font-size: 16px; line-height: 1.55; }
#page-cashier .cashier-example { margin: 20px 0; padding: 17px; border-color: #d4dfd1; color: var(--ink); font-size: 18px; }
#page-cashier .cashier-example strong { color: var(--green); }
#page-cashier .cashier-help small { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1100px) {
  #page-cashier .cashier-grid { grid-template-columns: 1fr; }
  #page-cashier .cashier-help { display: grid; grid-template-columns: 54px 1fr; column-gap: 15px; align-items: center; }
  #page-cashier .cashier-help .quick-icon { grid-row: 1 / 3; margin: 0; }
  #page-cashier .cashier-help h3 { margin: 0; }
  #page-cashier .cashier-help p, #page-cashier .cashier-example, #page-cashier .cashier-help small { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  #page-cashier .section-toolbar { margin-bottom: 16px; }
  #page-cashier .cashier-grid { gap: 13px; }
  #page-cashier .cashier-grid > .panel-card:not(.cashier-help) { padding: 19px; }
  #page-cashier .large-search { height: 64px; margin: 13px 0 17px; }
  #page-cashier .large-search input { font-size: 18px; }
  #page-cashier .result-row { align-items: flex-start; flex-direction: column; gap: 6px; padding: 14px 8px; }
  #page-cashier .selected-client { align-items: flex-start; flex-direction: column; }
  #page-cashier .purchase-entry { padding: 18px; }
  #page-cashier .purchase-entry input { min-height: 60px; font-size: 21px; }
  #page-cashier .computed-pay { align-items: flex-start; flex-direction: column; gap: 7px; font-size: 16px; }
  #page-cashier .computed-pay strong { font-size: 31px; }
  #page-cashier .cashier-purchase-form > .button { min-height: 64px; font-size: 17px; }
  #page-cashier .cashier-help { display: block; }
  #page-cashier .cashier-help .quick-icon { margin-bottom: 11px; }
  #page-cashier .cashier-help h3 { margin-bottom: 10px; }
}

/* Administration: palette boucherie artisanale, distincte de la page publique. */
.admin-shell {
  --ink: #29231f;
  --ink-soft: #50453d;
  --muted: #6e6259;
  --paper: #f1ebe1;
  --cream: #f8f4ec;
  --card: #fffdf8;
  --line: #dfd2c1;
  --red: #762d2b;
  --red-dark: #541e20;
  --red-pale: #f2e2da;
  --green: #354f3c;
  --green-pale: #e5ebdf;
  --gold: #a77d45;
  color: var(--ink);
  background: var(--paper);
}
.admin-shell .admin-sidebar { border-color: #d8c8b5; background: #f8f3e9; }
.admin-shell .admin-brand { border-color: #ded0bf; }
.admin-shell .admin-brand .brand-mark { border-color: #d6c5b2; border-radius: 6px; }
.admin-shell .admin-brand small { color: #6b5b4d; }
.admin-shell .admin-nav { gap: 7px; }
.admin-shell .nav-button { min-height: 50px; gap: 13px; border: 1px solid transparent; color: #51463c; font-size: 14px; }
.admin-shell .nav-button span { width: 22px; color: #715b4a; font-size: 19px; }
.admin-shell .nav-button:hover { border-color: #e0cbb4; background: #f1e6d8; color: var(--red-dark); }
.admin-shell .nav-button.active { border-color: #ddc3b1; background: var(--red-pale); color: var(--red-dark); }
.admin-shell .nav-button.active span { color: var(--red); }
.admin-shell .sidebar-note { border-color: #d5ddce; background: #e9eee4; color: #38513d; font-size: 12px; }
.admin-shell .sidebar-note small { color: #556650; font-size: 11px; }
.admin-shell .status-dot { width: 9px; height: 9px; background: #4d7a4c; }
.admin-shell .logout-button { min-height: 44px; color: #5e5147; font-size: 13px; }
.admin-shell .logout-button:hover { background: #f0e4d8; color: var(--red-dark); }
.admin-shell .admin-main { background: linear-gradient(145deg, #f3eee5 0%, #efe9df 100%); }
.admin-shell .admin-topbar { min-height: 58px; }
.admin-shell .admin-topbar h1 { color: #332720; font-size: 34px; }
.admin-shell .admin-topbar .eyebrow,
.admin-shell .admin-page .eyebrow { color: #7a3730; font-size: 11px; letter-spacing: .13em; }
.admin-shell .welcome-banner { border: 1px solid rgba(83, 29, 30, .28); border-bottom: 4px solid #9a6544; background: linear-gradient(112deg, #602426 0%, #7b302d 58%, #99553c 100%); }
.admin-shell .welcome-banner .eyebrow { color: #f4cda9; }
.admin-shell .welcome-banner p:last-child { color: #f5e5d6; font-size: 14px; }
.admin-shell .welcome-stamp { border-color: rgba(255, 234, 207, .5); color: #f5d7b4; }
.admin-shell .stat-card { border-color: #ded2c3; border-top: 3px solid #9b6444; background: #fffdf8; box-shadow: 0 5px 16px rgba(68, 47, 30, .04); }
.admin-shell .stat-card span { color: #554a40; font-size: 13px; }
.admin-shell .stat-card strong { color: #34271f; font-size: 30px; }
.admin-shell .stat-card small { color: #6b6056; font-size: 11px; }
.admin-shell .panel-card,
.admin-shell .table-card { border-color: #ded2c3; background: #fffdf8; box-shadow: 0 5px 18px rgba(68, 47, 30, .035); }
.admin-shell .panel-title h2,
.admin-shell .panel-card h2 { color: #392d24; }
.admin-shell .quick-action { min-height: 166px; border-color: #e1d3c2; background: #fbf7ef; }
.admin-shell .quick-action:hover { border-color: #a77d58; background: #fffaf2; }
.admin-shell .quick-action strong { color: #36291f; font-size: 14px; }
.admin-shell .quick-action small { color: #655a4e; font-size: 12px; line-height: 1.55; }
.admin-shell .quick-icon { background: #f0e1d6; color: #7a302c; }
.admin-shell .rule-card { border-color: #ddc9ac; background: #f5ecde; }
.admin-shell .rule-card > p:not(.eyebrow),
.admin-shell .rule-card > small { color: #5f5348; font-size: 12px; }
.admin-shell .rule-amount { color: #7a302c; }
.admin-shell .rule-limit { border-color: #ddc9ac; color: #55493d; font-size: 13px; }
.admin-shell .shared-account-note { color: #5e554d; font-size: 12px; }
.admin-shell .section-toolbar h2 { color: #35271f; font-size: 34px; }
.admin-shell label { color: #4d433b; font-size: 13px; }
.admin-shell input,
.admin-shell select,
.admin-shell textarea { border-color: #d9cbbb; background-color: #fffefa; color: #29231f; }
.admin-shell input,
.admin-shell select { min-height: 48px; font-size: 14px; }
.admin-shell textarea { font-size: 15px; }
.admin-shell input::placeholder,
.admin-shell textarea::placeholder { color: #75685e; }
.admin-shell input:focus,
.admin-shell select:focus,
.admin-shell textarea:focus,
.admin-shell .search-field:focus-within { border-color: #873b31; box-shadow: 0 0 0 3px rgba(118, 45, 43, .16); }
.admin-shell .button { min-height: 48px; font-size: 14px; }
.admin-shell .button-primary { background: #354f3c; box-shadow: 0 4px 12px rgba(36, 62, 44, .18); }
.admin-shell .button-primary:hover { background: #263f30; }
.admin-shell .button-secondary { border-color: #d7c8b7; background: #fffdf8; color: #41372f; }
.admin-shell .filter-bar { gap: 14px; margin-bottom: 18px; }
.admin-shell .search-field { min-height: 50px; border-color: #d9cbbb; background: #fffdf8; color: #6b5d50; }
.admin-shell .search-field span { font-size: 20px; }
.admin-shell .search-field input { font-size: 15px; }
.admin-shell .select-field select { font-size: 14px; }
.admin-shell th { border-color: #dfd2c1; background: #f2e8da; color: #514338; font-size: 11px; }
.admin-shell td { border-color: #e8dfd4; color: #4c423a; font-size: 13px; }
.admin-shell tbody tr:hover td { background: #fbf5eb; }
.admin-shell .client-cell strong { color: #30271f; font-size: 14px; }
.admin-shell .client-cell small { color: #62574e; font-size: 11px; }
.admin-shell .avatar { background: #ead8c5; color: #663f31; }
.admin-shell .table-action { min-height: 40px; padding: 7px 10px; color: #742e2b; font-size: 13px; }
.admin-shell .table-action:hover { background: #f1e2d9; }
.admin-shell .empty-state,
.admin-shell .muted { color: #62584f; font-size: 13px; }
.admin-shell .cashier-grid { gap: 20px; }
.admin-shell #page-cashier .panel-card { border-top: 3px solid #a77d45; }
.admin-shell #page-cashier .cashier-help { border-color: #d9c9b4; background: #f4ecdf; }
.admin-shell #page-cashier .cashier-help p,
.admin-shell #page-cashier .cashier-help small { color: #4e463e; }
.admin-shell #page-cashier .cashier-example { border-color: #d6c1a5; background: #fff9ef; color: #493c30; }
.admin-shell #page-cashier .cashier-selected > .muted { color: #51483f; }
.admin-shell #page-cashier .result-row { min-height: 86px; border-color: #e4d8c9; }
.admin-shell #page-cashier .result-row:hover { background: #fbf5eb; }
.admin-shell #page-cashier .purchase-entry { border: 1px solid #d5ddce; background: #edf1e8; }
.admin-shell #page-cashier .purchase-entry label { color: #38483a; }
.admin-shell #page-cashier .purchase-entry input { border-color: #b9c8b6; }
.admin-shell .draft-badge { border: 1px solid #ded0b9; background: #f4ecdf; color: #584a39; font-size: 12px; }
.admin-shell .recipient-toolbar,
.admin-shell .message-meta { color: #5b5047; font-size: 12px; }
.admin-shell .recipient-list { border-color: #e5d9ca; }
.admin-shell .recipient-row { min-height: 48px; border-color: #e5d9ca; }
.admin-shell .recipient-row strong { color: #322820; font-size: 13px; }
.admin-shell .recipient-row small,
.admin-shell .recipient-row .last-buy { color: #62574d; font-size: 11px; }
.admin-shell .text-button { min-height: 44px; color: #762d2b; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.admin-shell .campaign-estimate { border: 1px solid #e1d2bd; background: #f4ecdf; }
.admin-shell .campaign-estimate span { color: #5c5146; font-size: 11px; }
.admin-shell .campaign-estimate strong { color: #382c23; font-size: 22px; }
.admin-shell .campaign-legal,
.admin-shell .preview-banner { color: #51473e; font-size: 12px; }
.admin-shell .message-meta #message-count { font-weight: 700; }
.admin-shell .modal { border-color: #d9cbbb; background: #fffdf8; }
.admin-shell .modal label { color: #4d433b; }
.admin-shell .modal h2 { color: #362820; }
.admin-shell .modal .tiny-copy,
.admin-shell .modal .muted { color: #61574f; font-size: 12px; }
.admin-shell .selected-client { border: 1px solid #d5ddce; background: #e9eee4; }
.admin-shell .selected-client strong { color: #2d3d30; font-size: 24px; }
.admin-shell .selected-client small { color: #4f5e50; font-size: 15px; }
.admin-shell .purchase-entry input { font-size: 16px; }
.admin-shell .computed-pay { color: #4e463d; font-size: 14px; }
.admin-shell .computed-pay strong { color: #354f3c; }
.admin-shell .detail-balance { background: #f1e1d8; }
.admin-shell .detail-balance span { color: #604b41; font-size: 11px; }
.admin-shell .detail-balance strong { color: #762d2b; }
.admin-shell .detail-stat span { color: #60564d; font-size: 11px; }
.admin-shell .detail-stat strong { color: #30271f; font-size: 15px; }
.admin-shell .history-row strong { color: #342b24; font-size: 13px; }
.admin-shell .history-row small { color: #61574e; font-size: 11px; }
.admin-shell .consent-status { background: #e9eee4; color: #354b37; font-size: 12px; }
.admin-shell .consent-status.no-consent { background: #f2e9de; color: #584b3e; }
.admin-shell :is(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #a77d45; outline-offset: 3px; }

@media (max-width: 760px) {
  .admin-shell .admin-sidebar { gap: 8px; padding: 10px; }
  .admin-shell .admin-brand strong { max-width: none; font-size: 12px; }
  .admin-shell .admin-brand small { font-size: 9px; }
  .admin-shell .nav-button { min-height: 44px; }
  .admin-shell .logout-button { min-height: 42px; font-size: 11px; }
  .admin-shell .admin-main { padding: 20px 15px 38px; }
  .admin-shell .admin-topbar h1 { font-size: 27px; }
  .admin-shell .admin-topbar .button { min-height: 44px; padding: 0 12px; font-size: 12px; }
  .admin-shell .section-toolbar h2 { font-size: 29px; }
  .admin-shell th,
  .admin-shell td { padding: 12px; }
  .admin-shell .selected-client strong { font-size: 21px; }
  .admin-shell #page-cashier .purchase-entry input { min-height: 60px; font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-shell *,
  .admin-shell *::before,
  .admin-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Public landing page: editorial boucherie, papiers chauds et grands repères. */
.site-shell {
  --ink: #2e2721;
  --ink-soft: #5b5147;
  --muted: #74685d;
  --paper: #eee7dc;
  --cream: #fbf8f2;
  --card: #fffdf8;
  --line: #ded3c3;
  --red: #7f302e;
  --red-dark: #572322;
  --red-pale: #f1e2d8;
  --green: #315343;
  --green-pale: #e3e9df;
  --gold: #ad8248;
  --shadow: 0 24px 64px rgba(53, 37, 26, .12);
  max-width: 1920px;
  background: var(--cream);
  color: var(--ink);
}
.site-shell .public-header { position: sticky; z-index: 5; top: 0; min-height: 88px; gap: 24px; padding: 10px clamp(22px, 6vw, 92px); border-bottom: 1px solid rgba(74, 56, 39, .12); background: rgba(251, 248, 242, .96); backdrop-filter: blur(12px); }
.site-shell .brand-full-lockup { gap: 13px; }
.site-shell .brand-full-logo { width: 68px; height: 68px; border-color: #ded3c3; border-radius: 3px; }
.site-shell .brand-full-lockup strong { color: #352d26; font-family: Georgia, serif; font-size: 17px; }
.site-shell .brand-full-lockup small { color: #70645a; font-size: 10px; letter-spacing: .08em; }
.site-shell .header-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); margin-left: auto; }
.site-shell .header-link { color: #514940; font-size: 14px; }
.site-shell .header-link:hover { color: var(--red); }
.site-shell .header-cta { min-height: 48px; padding-inline: 20px; font-size: 14px; }
.site-shell .hero-section { position: relative; display: grid; grid-template-columns: minmax(0, .98fr) minmax(430px, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; min-height: 0; overflow: hidden; padding: 64px clamp(24px, 7vw, 108px) 68px; background: radial-gradient(ellipse at 87% 14%, rgba(214, 198, 172, .55), transparent 34%), linear-gradient(118deg, #f5f0e7, #eee8dd 57%, #e4e7dc); }
.site-shell .hero-section::before { right: -190px; bottom: -310px; width: 690px; height: 690px; border-color: rgba(49, 83, 67, .11); }
.site-shell .hero-section::after { right: -63px; bottom: -220px; width: 470px; height: 470px; border-color: rgba(127, 48, 46, .1); }
.site-shell .hero-copy { z-index: 2; max-width: 680px; }
.site-shell .eyebrow { margin-bottom: 18px; color: var(--red); font-size: 12px; letter-spacing: .14em; }
.site-shell .eyebrow-dot { width: 8px; height: 8px; background: var(--gold); }
.site-shell .hero-copy h1 { max-width: 700px; margin-bottom: 22px; color: #273d32; font-size: clamp(52px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -.05em; }
.site-shell .hero-copy h1 em { color: var(--red); font-style: normal; }
.site-shell .hero-intro { max-width: 570px; margin-bottom: 29px; color: #5c534a; font-size: 18px; line-height: 1.65; }
.site-shell .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.site-shell .hero-actions .button { min-height: 58px; padding: 0 23px; font-size: 16px; }
.site-shell .hero-text-link { color: #53493f; font-size: 15px; font-weight: 600; text-underline-offset: 4px; }
.site-shell .hero-reassurance { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 0; color: #665d52; font-size: 13px; }
.site-shell .hero-reassurance span { color: var(--green); font-size: 16px; font-weight: 700; }
.site-shell .hero-reassurance i { width: 4px; height: 4px; border-radius: 50%; background: #b89b70; }
.site-shell .reward-strip { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 2.2fr); gap: 21px clamp(30px, 5vw, 74px); align-items: center; padding: 38px clamp(24px, 7vw, 108px) 27px; background: #304b3d; color: #faf6ee; }
.site-shell .reward-strip-heading .eyebrow { margin-bottom: 7px; color: #d6c29e; }
.site-shell .reward-strip-heading h2 { max-width: 280px; margin: 0; font-family: Georgia, serif; font-size: clamp(25px, 2.5vw, 34px); font-weight: 500; line-height: 1.1; }
.site-shell .reward-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-shell .reward-fact { display: flex; min-height: 98px; flex-direction: column; justify-content: center; padding: 9px clamp(16px, 2.2vw, 30px); border-left: 1px solid rgba(245, 237, 222, .22); }
.site-shell .reward-fact span { color: #e3dbc9; font-size: 13px; }
.site-shell .reward-fact strong { margin: 2px 0; color: #f3d9a7; font-family: Georgia, serif; font-size: 36px; font-weight: 500; line-height: 1.1; }
.site-shell .reward-fact small { color: #e3dbc9; font-size: 12px; }
.site-shell .reward-note { grid-column: 2; max-width: 870px; margin: 0; color: #d8decf; font-size: 13px; line-height: 1.6; }
.site-shell .signup-card { width: 100%; max-width: 620px; justify-self: end; padding: clamp(24px, 3.2vw, 40px); border: 1px solid #ded3c3; border-top: 4px solid var(--green); border-radius: 17px; background: var(--card); box-shadow: 0 20px 55px rgba(66, 49, 33, .1); }
.site-shell .card-heading { margin-bottom: 25px; }
.site-shell .step-label { margin-bottom: 12px; padding: 7px 10px; background: #e7ece3; color: #385443; font-size: 10px; }
.site-shell .card-heading h3 { margin: 0 0 7px; color: #332a23; font-family: Georgia, serif; font-size: 32px; font-weight: 500; line-height: 1.1; }
.site-shell .card-heading p { margin: 0; color: #6c6258; font-size: 14px; line-height: 1.5; }
.site-shell .signup-card label { gap: 8px; margin-bottom: 16px; color: #473d34; font-size: 14px; }
.site-shell .signup-card .field-label { display: inline-flex; flex-wrap: nowrap; align-items: baseline; gap: 4px; white-space: nowrap; }
.site-shell .signup-card input:not([type="checkbox"]) { min-height: 54px; padding: 0 14px; border-color: #d9cdbd; border-radius: 7px; background: #fffefa; font-size: 16px; }
.site-shell .signup-card input::placeholder { color: #80766d; opacity: 1; }
.site-shell .signup-card input:focus { border-color: #486752; box-shadow: 0 0 0 3px rgba(49, 83, 67, .14); }
.site-shell .signup-card .form-row { gap: 14px; }
.site-shell .signup-card .optional-mark { color: #6b6056; font-size: 12px; }
.site-shell .signup-card .marketing-choice { grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 4px 0 13px; color: #51483f; font-size: 13px; line-height: 1.55; }
.site-shell .signup-card .marketing-choice input { width: 20px; height: 20px; min-height: 20px; margin-top: 1px; accent-color: var(--green); }
.site-shell .signup-card .privacy-copy { margin: 12px 0 16px; color: #665c52; font-size: 13px; line-height: 1.55; }
.site-shell .signup-card .privacy-copy a { color: #6e2b29; }
.site-shell .signup-card .button { min-height: 58px; font-size: 16px; }
.site-shell .signup-card .form-message { min-height: 22px; margin-top: 12px; font-size: 14px; }
.site-shell .reviews-section { padding: 76px clamp(24px, 7vw, 108px) 82px; background: #fbf8f2; }
.site-shell .reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.site-shell .reviews-heading .eyebrow { margin-bottom: 10px; }
.site-shell .reviews-heading h2 { margin-bottom: 10px; color: #304638; font-size: clamp(34px, 4vw, 48px); }
.site-shell .reviews-heading p:not(.eyebrow) { max-width: 650px; margin: 0; color: #62584e; font-size: 15px; line-height: 1.6; }
.site-shell .review-link { min-height: 50px; flex: 0 0 auto; border-color: #315343; color: #315343; }
.site-shell .review-link:hover { background: #e3e9df; }
.site-shell .google-reviews-layout { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr); gap: 20px; align-items: stretch; }
.site-shell .google-rating-panel { display: flex; min-height: 290px; flex-direction: column; justify-content: center; padding: 30px; border: 1px solid #e0d6c8; border-radius: 12px; background: #fffdf8; }
.site-shell .google-rating-source { margin: 0 0 21px; color: #62584e; font-size: 14px; font-weight: 700; }
.site-shell .google-rating-value { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.site-shell .google-rating-value strong { color: #304638; font-family: Georgia, serif; font-size: 64px; font-weight: 500; line-height: 1; }
.site-shell .google-rating-value span { color: #a7752b; font-size: 20px; letter-spacing: .1em; white-space: nowrap; }
.site-shell .google-rating-count { margin: 12px 0 0; color: #443b32; font-size: 19px; }
.site-shell .google-rating-date { margin: 14px 0 0; color: #6b6056; font-size: 12px; }
.site-shell .google-map-frame { min-height: 290px; overflow: hidden; border: 1px solid #e0d6c8; border-radius: 12px; background: #eee8dd; }
.site-shell .google-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 290px; border: 0; }
.site-shell .reviews-note { margin: 16px 0 0; color: #6b6056; font-size: 12px; line-height: 1.5; }
.site-shell .how-section { padding: 86px clamp(24px, 7vw, 108px) 96px; background: #fcfaf6; }
.site-shell .section-heading { max-width: 690px; margin-bottom: 42px; }
.site-shell .section-heading .eyebrow { margin-bottom: 11px; }
.site-shell .section-heading h2 { color: #2e4034; font-size: clamp(34px, 4vw, 48px); }
.site-shell .steps-grid { max-width: 1280px; gap: 19px; }
.site-shell .step-card { position: relative; min-height: 280px; padding: 27px 27px 29px; border-color: #e0d6c8; border-radius: 12px; background: #fffdf8; }
.site-shell .step-card img { display: block; width: 94px; height: 84px; margin: 0 0 10px -7px; }
.site-shell .step-card .step-number { position: absolute; top: 23px; right: 23px; width: 35px; height: 35px; background: #f0e4d7; color: #7f302e; font-size: 15px; }
.site-shell .step-card h3 { margin: 8px 0; color: #342a22; font-size: 23px; }
.site-shell .step-card p { max-width: 320px; color: #645b52; font-size: 15px; line-height: 1.65; }
.site-shell .privacy-section { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(35px, 8vw, 120px); padding: 66px clamp(24px, 9vw, 138px); background: #eee7dc; }
.site-shell .privacy-section .eyebrow { margin-bottom: 12px; }
.site-shell .privacy-section h2 { color: #304638; font-size: clamp(35px, 4vw, 48px); }
.site-shell .privacy-body p { margin-bottom: 14px; color: #51483f; font-size: 15px; line-height: 1.7; }
.site-shell .privacy-body a { color: #682b28; text-underline-offset: 3px; }
.site-shell .privacy-body .privacy-address { margin-bottom: 0; color: #62584d; }
.site-shell .public-footer { min-height: 112px; gap: 28px; padding: 20px clamp(24px, 7vw, 108px); border-top-color: #dfd5c8; background: #fbf8f2; }
.site-shell .footer-brand .brand-mark { width: 48px; height: 48px; border-color: #ded3c3; }
.site-shell .footer-brand strong { color: #382f27; font-size: 16px; }
.site-shell .footer-brand small { color: #6a5f55; font-size: 10px; letter-spacing: .08em; }
.site-shell .public-footer address { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px 22px; color: #554b41; font-size: 13px; font-style: normal; text-align: right; }
.site-shell .public-footer address a { color: #4b433b; text-decoration: none; }
.site-shell .public-footer address a:hover { color: var(--red); text-decoration: underline; }
.site-shell :is(a, button, input):focus-visible { outline: 3px solid #a77d45; outline-offset: 3px; }

@media (max-width: 1050px) {
  .site-shell .hero-section { grid-template-columns: minmax(0, .9fr) minmax(320px, 1.05fr); gap: 32px; }
  .site-shell .hero-copy h1 { font-size: clamp(44px, 5vw, 60px); }
  .site-shell .signup-card { max-width: none; padding: 28px; }
  .site-shell .reward-strip { grid-template-columns: 1fr; }
  .site-shell .reward-strip-heading h2 { max-width: none; }
  .site-shell .reward-note { grid-column: 1; }
  .site-shell .reviews-section { padding: 62px 6vw; }
}
@media (max-width: 760px) {
  .site-shell .public-header { min-height: 74px; gap: 12px; padding: 8px 18px; }
  .site-shell .brand-full-logo { width: 58px; height: 58px; }
  .site-shell .brand-full-lockup strong { font-size: 14px; }
  .site-shell .brand-full-lockup small { font-size: 8px; letter-spacing: .06em; }
  .site-shell .header-nav { gap: 14px; }
  .site-shell .header-link { font-size: 12px; }
  .site-shell .header-cta { min-height: 44px; padding: 0 12px; font-size: 13px; }
  .site-shell .hero-section { grid-template-columns: 1fr; gap: 32px; min-height: auto; padding: 48px 22px 55px; }
  .site-shell .hero-copy h1 { max-width: 590px; font-size: clamp(45px, 10vw, 66px); }
  .site-shell .hero-intro { max-width: 590px; font-size: 17px; }
  .site-shell .reward-strip { gap: 22px; padding: 33px 22px 25px; }
  .site-shell .reward-fact { min-height: 88px; padding: 9px 13px; }
  .site-shell .reward-fact strong { font-size: 30px; }
  .site-shell .reward-fact span, .site-shell .reward-fact small { font-size: 11px; }
  .site-shell .reward-note { font-size: 12px; }
  .site-shell .reviews-section { padding: 55px 22px; }
  .site-shell .reviews-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .site-shell .reviews-heading h2 { font-size: 38px; }
  .site-shell .google-reviews-layout { grid-template-columns: 1fr; }
  .site-shell .google-rating-panel { min-height: 0; padding: 24px; }
  .site-shell .google-map-frame, .site-shell .google-map-frame iframe { min-height: 270px; }
  .site-shell .signup-card { max-width: 600px; justify-self: start; padding: 26px 22px; }
  .site-shell .how-section { padding: 65px 22px 72px; }
  .site-shell .section-heading { margin-bottom: 30px; text-align: left; }
  .site-shell .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .site-shell .step-card { display: grid; grid-template-columns: 82px 1fr; grid-template-rows: auto auto; column-gap: 12px; min-height: 0; padding: 20px; }
  .site-shell .step-card img { grid-row: 1 / 3; width: 78px; height: 72px; align-self: center; margin: 0; }
  .site-shell .step-card .step-number { top: 12px; right: 14px; width: 29px; height: 29px; font-size: 13px; }
  .site-shell .step-card h3 { align-self: end; padding-right: 34px; font-size: 20px; }
  .site-shell .step-card p { align-self: start; margin: 0; font-size: 14px; }
  .site-shell .privacy-section { grid-template-columns: 1fr; gap: 19px; padding: 49px 22px; }
  .site-shell .privacy-section h2 { max-width: 520px; font-size: 38px; }
  .site-shell .privacy-body p { font-size: 14px; }
  .site-shell .public-footer { align-items: flex-start; flex-direction: column; padding: 22px; }
  .site-shell .public-footer address { flex-direction: column; align-items: flex-start; gap: 7px; font-size: 13px; text-align: left; }
}
@media (max-width: 460px) {
  .site-shell .public-header { padding-inline: 13px; }
  .site-shell .header-nav { display: none; }
  .site-shell .brand-full-logo { width: 52px; height: 52px; }
  .site-shell .header-cta { margin-left: auto; }
  .site-shell .hero-section { padding-right: 18px; padding-left: 18px; }
  .site-shell .hero-copy h1 { font-size: 45px; }
  .site-shell .hero-reassurance { gap: 7px; font-size: 11px; }
  .site-shell .reward-fact { padding-inline: 8px; }
  .site-shell .reward-fact strong { font-size: 26px; }
  .site-shell .reward-fact span, .site-shell .reward-fact small { font-size: 10px; }
  .site-shell .signup-card .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-shell .signup-card { padding-inline: 19px; }
  .site-shell .step-card { grid-template-columns: 65px 1fr; gap: 9px; padding: 17px 14px; }
  .site-shell .step-card img { width: 64px; height: 62px; }
}

/* Accueil : composition photographique, en-tête centré. */
#public-view { --ink:#2f2722; --red:#594034; --red-dark:#402d24; --red-pale:#eee5dc; --cream:#fff; background:#fff; max-width:none; }
.announcement { background:#503b30; color:white; text-align:center; padding:9px 18px; font-size:12px; letter-spacing:.05em; }
.maison-header { display:grid; grid-template-columns:1fr 240px 1fr; padding:12px 5%; min-height:130px; background:#fff; }
.header-left { display:flex; flex-direction:column; gap:10px; }
.header-phone { color:#594034; text-decoration:none; font-size:21px; font-weight:750; }
.header-left>span { font-size:12px; color:#68615b; }
.center-brand { justify-self:center; }
.center-brand img { width:180px; height:112px; display:block; object-fit:contain; }
.header-visit { justify-self:end; text-decoration:none; font-size:13px; color:#292522; }
.maison-nav { display:flex; justify-content:center; gap:42px; padding:19px 20px; border-block:1px solid #eee9e3; background:white; }
.maison-nav a { font-size:12px; font-weight:650; color:#282421; text-decoration:none; letter-spacing:.025em; }
.maison-nav a:hover { color:var(--red); }
.maison-carousel { position:relative; aspect-ratio:12/5; background:#29231f; color:white; overflow:hidden; }
.carousel-slide { position:absolute; inset:0; visibility:hidden; opacity:0; transition:opacity .65s ease; }
.carousel-slide.active { visibility:visible; opacity:1; }
.carousel-slide>img { width:100%; height:100%; object-fit:cover; object-position:center; }
.carousel-slide>picture { display:block; width:100%; height:100%; }
.carousel-slide>picture>img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.carousel-slide.image-only::after { display:none; }
.carousel-accessible-title { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.carousel-slide::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.32) 48%,transparent 85%); }
.slide-copy { position:absolute; top:50%; left:5%; transform:translateY(-50%); z-index:1; max-width:490px; }
.slide-copy .eyebrow { color:#fff; font-size:11px; }
.slide-copy h1,.slide-copy h2 { color:white; font-family:Georgia,serif; font-size:clamp(32px,4.2vw,64px); line-height:1.07; font-weight:500; margin-bottom:22px; letter-spacing:-.025em; }
.slide-copy p { max-width:380px; line-height:1.7; font-size:15px; }
#public-view .button { border-radius:0; box-shadow:none; font-size:12px; letter-spacing:.05em; }
.slide-copy .button { margin-top:14px; background:var(--red); color:white; padding:17px 30px; }
.carousel-controls { position:absolute; bottom:17px; left:5%; display:flex; align-items:center; gap:12px; z-index:2; }
.carousel-controls button { min-width:44px; min-height:44px; border:1px solid #ffffff60; background:#18181870; color:white; border-radius:0; }
#carousel-dots { display:flex; gap:4px; }
#carousel-dots button { border:0; background:transparent; position:relative; }
#carousel-dots button::after { content:''; position:absolute; width:9px; height:9px; border:1px solid white; border-radius:50%; top:17px; left:17px; }
#carousel-dots button[aria-current=true]::after { background:white; }
.loyalty-banner { padding:35px 5%; display:flex; align-items:center; justify-content:space-between; gap:30px; background:#f5f1eb; border-bottom:1px solid #e7dfd5; }
.loyalty-banner h2 { font-family:Georgia,serif; font-size:34px; font-weight:500; margin-bottom:10px; }
.loyalty-banner p { margin-bottom:0; font-size:14px; }
.loyalty-banner .eyebrow { margin-bottom:8px; font-size:10px; }
.loyalty-banner .button { flex-shrink:0; background:var(--red); color:white; padding:18px 28px; }
.loyalty-registration { padding:70px 8%; display:grid; grid-template-columns:1fr 1fr; gap:8%; align-items:center; }
.registration-intro h2 { font-family:Georgia,serif; font-size:42px; font-weight:500; line-height:1.15; }
.registration-intro>p:not(.eyebrow) { max-width:370px; color:#655b52; line-height:1.8; }
.loyalty-registration .signup-card { background:#fff; border-radius:0; border:1px solid #ded8d0; box-shadow:none; padding:28px; }
#public-view .reward-strip { background:#f5f1eb; border-radius:0; }
.carousel-upload { padding:20px; background:#f1eee8; margin:22px 0; display:block; }
.carousel-editor-row { display:grid; grid-template-columns:200px 1fr; gap:24px; padding:22px 0; border-bottom:1px solid #ddd; margin-bottom:18px; }
.carousel-editor-row img { width:100%; aspect-ratio:12/5; object-fit:cover; }
.carousel-editor-row label { margin-bottom:12px; }
.carousel-editor-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.carousel-editor-actions button { min-height:44px; padding:8px 15px; }
#carousel-save { margin-block:20px; }
:focus-visible { outline:3px solid #c98b36; outline-offset:4px; }
@media(max-width:760px) {
 .maison-header { grid-template-columns:1fr 120px 1fr; padding:10px 16px; min-height:100px; }
 .center-brand img { width:120px; height:86px; }
 .header-phone { font-size:12px; }
 .header-left>span { display:none; }
 .header-visit { font-size:11px; max-width:90px; text-align:right; }
 .maison-nav { gap:18px; padding:14px 12px; flex-wrap:wrap; }
 .maison-nav a { font-size:10px; }
 .maison-carousel { aspect-ratio:auto; height:530px; }
 .slide-copy { left:7%; right:7%; top:43%; max-width:340px; }
 .slide-copy h1,.slide-copy h2 { font-size:42px; }
 .carousel-slide::after { background:linear-gradient(90deg,#000b,#0003); }
 .loyalty-banner { align-items:flex-start; flex-direction:column; padding:30px 7%; gap:20px; }
 .loyalty-banner h2 { font-size:30px; }
 .loyalty-registration { grid-template-columns:1fr; padding:45px 6%; gap:30px; }
 .registration-intro h2 { font-size:34px; }
 .carousel-editor-row { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto} .carousel-slide {transition:none} }

/* Bruns inspirés de l’enseigne et du bois de la façade Les Terroirs. */
#public-view .button-primary { background:var(--red); border-color:var(--red); color:#fff; }
#public-view .button-primary:hover, #public-view .slide-copy .button:hover { background:var(--red-dark); border-color:var(--red-dark); }
#public-view .signup-card .privacy-copy a,
#public-view .privacy-body a,
#public-view .step-card .step-number { color:var(--red); }
#public-view .reward-strip { background:#503b30; }
#public-view .reward-strip-heading .eyebrow { color:#e1c9ad; }
#public-view .reward-fact strong { color:#f4ddbf; }
#public-view .reward-fact span, #public-view .reward-fact small,
#public-view .reward-note { color:#f0e6dc; }
