:root {
  --green: #77b82a;
  --green-dark: #3f7d11;
  --ink: #171717;
  --muted: #60666c;
  --line: #dfe3e6;
  --surface: #ffffff;
  --soft: #f5f7f3;
  --danger: #b42318;
  --warning: #b76e00;
  --success: #2e7d32;
  --shadow: 0 18px 55px rgba(22, 34, 13, .11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #eef2ec;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; background: radial-gradient(circle at 85% 5%, rgba(119,184,42,.13), transparent 28rem), linear-gradient(145deg, #f7f9f6, #eef2ec); }
button, input, textarea, select { font: inherit; }
button, .button { min-height: 56px; border-radius: 16px; border: 2px solid transparent; padding: 12px 24px; font-weight: 750; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
button:hover { transform: translateY(-1px); }
button:active { transform: translateY(1px) scale(.99); }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 4px solid rgba(119,184,42,.35); outline-offset: 3px; }
button:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.primary { color: #fff; background: var(--green-dark); box-shadow: 0 10px 28px rgba(63,125,17,.22); }
.primary:hover { background: #356c0d; }
.secondary { color: var(--ink); background: #fff; border-color: #cdd4c8; }
.ghost { color: var(--muted); background: transparent; border-color: transparent; }
.danger { color: #fff; background: var(--danger); }
.app-shell { width: min(1500px, calc(100% - 32px)); min-height: calc(100vh - 32px); margin: 16px auto; background: rgba(255,255,255,.94); border: 1px solid rgba(119,184,42,.14); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.kiosk-header { min-height: 150px; padding: 10px 34px; display: grid; grid-template-columns: minmax(180px, 264px) 1fr minmax(180px, 264px); align-items: center; border-bottom: 1px solid var(--line); }
.mini-logo { width: min(264px, 100%); height: 128px; object-fit: contain; }
.progress-wrap { display: grid; gap: 8px; justify-items: center; color: var(--muted); font-size: 15px; }
.progress-track { width: min(520px, 50vw); height: 8px; border-radius: 999px; background: #e7ebe5; overflow: hidden; }
.progress-bar { width: 100%; height: 100%; border-radius: inherit; background: var(--green); transform: scaleX(0); transform-origin: left center; }
.screen { flex: 1; width: min(1280px, calc(100% - 48px)); margin: auto; padding: 36px 0 28px; display: flex; flex-direction: column; justify-content: center; }
.screen-top { margin-bottom: 28px; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--green-dark); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 4.2vw, 66px); line-height: 1.03; letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: 22px; }
.lede { margin-inline: auto; max-width: 760px; color: var(--muted); font-size: clamp(19px, 1.7vw, 25px); line-height: 1.5; }
.attract { min-height: 100vh; position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; color: #17200f; background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.98) 0 17%, rgba(247,251,244,.93) 42%, rgba(229,239,221,.92) 74%, rgba(210,227,197,.96) 100%); outline: none; cursor: pointer; }
.attract::before { content: ""; position: absolute; z-index: -4; inset: -25%; background: conic-gradient(from 25deg at 50% 50%, transparent 0 21%, rgba(119,184,42,.10) 30%, transparent 39% 67%, rgba(63,125,17,.07) 76%, transparent 85%); animation: attractLightSweep 24s linear infinite; }
.attract::after { content: ""; position: absolute; z-index: -3; inset: 0; opacity: .32; background-image: linear-gradient(rgba(63,125,17,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(63,125,17,.05) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle at center, #000, transparent 72%); }
.attract-center { position: relative; z-index: 3; width: min(1000px, calc(100% - 48px)); min-height: min(760px, 88vh); display: grid; place-items: center; text-align: center; }
.hero-logo-stage { position: relative; width: min(580px, 68vw); height: min(560px, 60vh); display: grid; place-items: center; transition: transform .75s cubic-bezier(.22,.8,.3,1), filter .75s ease; }
.hero-logo-halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(119,184,42,.20), rgba(119,184,42,.06) 48%, transparent 70%); filter: blur(4px); animation: attractHalo 5.5s ease-in-out infinite; }
.hero-logo { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 24px 32px rgba(46,83,25,.16)); animation: attractLogoFloat 6s ease-in-out infinite; }
.attract-orbit { position: absolute; z-index: 0; inset: 50% auto auto 50%; width: min(880px, 84vw); aspect-ratio: 1; transform: translate(-50%,-50%); pointer-events: none; }
.attract-orbit i { position: absolute; inset: 8%; border: 1px solid rgba(63,125,17,.17); border-radius: 50%; animation: attractOrbit 26s linear infinite; }
.attract-orbit i::after { content: ""; position: absolute; top: 13%; left: 14%; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 9px rgba(119,184,42,.12), 0 0 28px rgba(119,184,42,.42); }
.attract-orbit i:nth-child(2) { inset: 19%; border-style: dashed; animation-duration: 20s; animation-direction: reverse; }
.attract-orbit i:nth-child(2)::after { top: auto; bottom: 7%; left: 66%; width: 9px; height: 9px; }
.attract-orbit i:nth-child(3) { inset: 30%; animation-duration: 15s; }
.attract-orbit i:nth-child(3)::after { top: 46%; left: -5px; width: 7px; height: 7px; }
.attract-ambient { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.attract-ambient span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: rgba(119,184,42,.32); animation: attractSpark 9s ease-in-out infinite; }
.attract-ambient span:nth-child(1) { left: 12%; top: 22%; animation-delay: -2s; }
.attract-ambient span:nth-child(2) { left: 84%; top: 16%; width: 7px; height: 7px; animation-delay: -5s; }
.attract-ambient span:nth-child(3) { left: 77%; top: 72%; width: 18px; height: 18px; animation-delay: -7s; }
.attract-ambient span:nth-child(4) { left: 20%; top: 77%; width: 8px; height: 8px; animation-delay: -4s; }
.attract-ambient span:nth-child(5) { left: 91%; top: 48%; width: 10px; height: 10px; animation-delay: -1s; }
.attract-messages { position: absolute; left: 0; right: 0; bottom: 5%; height: 48px; color: var(--green-dark); font-size: clamp(20px, 2vw, 30px); font-weight: 800; letter-spacing: -.02em; transition: opacity .4s ease, transform .55s ease; }
.attract-messages span { position: absolute; left: 0; right: 0; opacity: 0; animation: attractMessage 12s ease-in-out infinite; }
.attract-messages span:nth-child(2) { animation-delay: 4s; }
.attract-messages span:nth-child(3) { animation-delay: 8s; }
.attract-invitation { position: absolute; left: 50%; top: 58%; width: min(690px, calc(100% - 24px)); opacity: 0; pointer-events: none; transform: translate(-50%,55px) scale(.97); transition: opacity .48s ease .14s, transform .68s cubic-bezier(.22,.8,.3,1) .08s; }
.attract-invitation h1 { margin-bottom: 12px; font-size: clamp(38px, 4.8vw, 67px); }
.attract-invitation > p:not(.eyebrow) { color: var(--muted); font-size: clamp(18px,1.7vw,24px); }
.attract-start { min-width: 320px; margin-top: 12px; padding: 16px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-size: 21px; box-shadow: 0 18px 42px rgba(63,125,17,.28); }
.attract-start b { font-size: 29px; line-height: 1; transition: transform .2s ease; }
.attract-start:hover b { transform: translateX(5px); }
.attract-hint { position: absolute; z-index: 5; left: 50%; bottom: 28px; display: grid; grid-template-columns: 42px auto; grid-template-rows: auto auto; column-gap: 12px; text-align: left; transform: translateX(-50%); transition: opacity .35s ease, transform .45s ease; }
.attract-hint strong { align-self: end; white-space: nowrap; font-size: 15px; }
.attract-hint small { color: var(--muted); }
.touch-pulse { grid-row: 1 / 3; align-self: center; width: 35px; height: 35px; border: 2px solid var(--green-dark); border-radius: 50%; position: relative; }
.touch-pulse::before, .touch-pulse::after { content: ""; position: absolute; inset: -2px; border: 2px solid rgba(63,125,17,.36); border-radius: inherit; animation: attractTouch 2.4s ease-out infinite; }
.touch-pulse::after { animation-delay: 1.2s; }
.attract.is-awake .hero-logo-stage { transform: translateY(-18vh) scale(.66); filter: saturate(1.08); }
.attract.is-awake .attract-messages { opacity: 0; transform: translateY(18px); }
.attract.is-awake .attract-invitation { opacity: 1; pointer-events: auto; transform: translate(-50%,0) scale(1); }
.attract.is-awake .attract-hint { opacity: 0; transform: translate(-50%,18px); }
.attract.is-awake .attract-orbit { opacity: .62; }
@keyframes attractLogoFloat { 0%,100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-18px) rotate(.65deg); } }
@keyframes attractHalo { 0%,100% { transform: scale(.92); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes attractOrbit { to { transform: rotate(360deg); } }
@keyframes attractLightSweep { to { transform: rotate(360deg); } }
@keyframes attractSpark { 0%,100% { transform: translateY(0) scale(.8); opacity: .25; } 50% { transform: translateY(-36px) scale(1.35); opacity: .8; } }
@keyframes attractMessage { 0%,5%,35%,100% { opacity: 0; transform: translateY(14px); } 10%,30% { opacity: 1; transform: translateY(0); } }
@keyframes attractTouch { 0% { transform: scale(.55); opacity: .85; } 80%,100% { transform: scale(1.7); opacity: 0; } }
.actions { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; }
.actions.end { justify-content: flex-end; }
.option-grid { display: grid; gap: 16px; }
.nps-grid { grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(7px, .9vw, 16px); }
.score-button {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: clamp(58px, 6.4vw, 92px);
  aspect-ratio: 1.06 / 1;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: clamp(14px, 1.45vw, 21px);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 780;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -7px 14px rgba(0,0,0,.08), 0 9px 20px rgba(21,30,17,.13);
}
.score-button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.22), transparent 44%, rgba(0,0,0,.08)); }
.score-button::after { content: ""; position: absolute; width: 42%; height: 10%; left: 12%; top: 10%; border-radius: 999px; background: rgba(255,255,255,.2); filter: blur(4px); }
.score-button span { position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.score-button.detractor { background: #d32f2f; color: #fff; }
.score-button.passive { background: #f9a825; color: #171717; border-color: rgba(255,255,255,.44); }
.score-button.passive span { text-shadow: 0 1px 1px rgba(255,255,255,.24); }
.score-button.promoter { background: #2e7d32; color: #fff; }
.score-button:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.36), inset 0 -7px 14px rgba(0,0,0,.09), 0 14px 26px rgba(21,30,17,.18); }
.score-button.selected { border-color: #fff; outline: 4px solid var(--ink); outline-offset: 3px; transform: translateY(-5px) scale(1.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -7px 14px rgba(0,0,0,.1), 0 16px 30px rgba(15,22,12,.23); }
.nps-legend { display: grid; grid-template-columns: 7fr 2fr 2fr; gap: clamp(8px, .9vw, 14px); margin-top: 18px; color: var(--muted); }
.nps-legend-card { --legend-color: var(--green-dark); position: relative; min-height: 78px; padding: 18px 16px 13px; border: 1px solid #e2e7df; border-radius: 17px; background: linear-gradient(180deg, #fbfcfa, #f3f6f1); display: flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; }
.nps-legend-card::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 4px; border-radius: 0 0 99px 99px; background: var(--legend-color); }
.nps-legend-card::after { content: ""; position: absolute; top: 0; right: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--legend-color); transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(255,255,255,.82); }
.legend-detractor { --legend-color: #d32f2f; color: #9f2525; }
.legend-passive { --legend-color: #d98a00; color: #8a5b08; }
.legend-promoter { --legend-color: #2e7d32; color: #256829; }
.legend-copy { display: grid; gap: 2px; text-align: left; line-height: 1.15; }
.legend-copy strong { color: var(--ink); font-size: clamp(14px, 1.25vw, 18px); }
.legend-copy small { color: var(--muted); font-size: 14px; font-weight: 720; }
.satisfaction-face { display: block; width: 92px; height: 92px; flex: 0 0 92px; background-image: url("brand/satisfaction-faces-v1.png"); background-repeat: no-repeat; background-size: 500% auto; background-position-y: center; filter: drop-shadow(0 10px 12px rgba(22,34,13,.2)); transition: transform .18s ease, filter .18s ease; }
.satisfaction-face-small { width: 48px; height: 48px; flex-basis: 48px; filter: drop-shadow(0 5px 7px rgba(22,34,13,.17)); }
.satisfaction-face.face-1 { background-position-x: 0%; }
.satisfaction-face.face-2 { background-position-x: 25%; }
.satisfaction-face.face-3 { background-position-x: 50%; }
.satisfaction-face.face-4 { background-position-x: 75%; }
.satisfaction-face.face-5 { background-position-x: 100%; }
.csat-grid { grid-template-columns: repeat(5, 1fr); }
.choice-card { --rating-color: #69716b; --face-main: #879087; --face-dark: #596159; position: relative; isolation: isolate; min-height: 168px; overflow: hidden; padding: 16px 14px 14px; background: linear-gradient(180deg, #fff, #f8faf7); color: var(--ink); border-color: #d9ded7; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(21,30,17,.06); }
.choice-card::before { content: ""; position: absolute; z-index: -1; top: 0; left: 16px; right: 16px; height: 5px; border-radius: 0 0 99px 99px; background: var(--rating-color); }
.choice-card::after { content: ""; position: absolute; z-index: -1; width: 84px; height: 84px; right: -38px; bottom: -42px; border-radius: 50%; background: color-mix(in srgb, var(--rating-color) 11%, transparent); }
.rating-1 { --rating-color: #c62828; --face-main: #ed3e3e; --face-dark: #a80e18; }
.rating-2 { --rating-color: #df5b3f; --face-main: #f27650; --face-dark: #be382b; }
.rating-3 { --rating-color: #c18400; --face-main: #f2d33d; --face-dark: #c39805; }
.rating-4 { --rating-color: #639b32; --face-main: #93d358; --face-dark: #4e962a; }
.rating-5 { --rating-color: #2e7d32; --face-main: #43c64c; --face-dark: #19772d; }
.rating-visual { width: 100%; display: flex; align-items: center; justify-content: center; }
.rating-label { font-size: clamp(11px, .95vw, 13.5px); font-weight: 760; line-height: 1.15; text-align: center; }
.choice-card:hover { border-color: color-mix(in srgb, var(--rating-color) 55%, #d9ded7); box-shadow: inset 0 1px 0 #fff, 0 12px 24px rgba(21,30,17,.11); }
.choice-card.selected { border-color: var(--rating-color); outline: 3px solid color-mix(in srgb, var(--rating-color) 28%, transparent); outline-offset: 2px; background: linear-gradient(180deg, color-mix(in srgb, var(--rating-color) 11%, #fff), #fff); transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 13px 28px color-mix(in srgb, var(--rating-color) 20%, transparent); }
.choice-card.selected .satisfaction-face { transform: scale(1.08); filter: drop-shadow(0 15px 16px color-mix(in srgb, var(--face-dark) 38%, transparent)); }
.area-grid { grid-template-columns: repeat(4, 1fr); }
.area-card { position: relative; isolation: isolate; min-height: clamp(132px, 10.2vw, 154px); overflow: hidden; padding: 14px 12px 12px; background: linear-gradient(180deg, #fff, #fafbf9); border-color: #d9ded7; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 7px; box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(21,30,17,.055); }
.area-card::before { content: ""; position: absolute; z-index: -1; top: 0; left: 16px; right: 16px; height: 3px; border-radius: 0 0 99px 99px; background: #e5e9e3; transition: background .18s ease; }
.area-card::after { content: ""; position: absolute; z-index: -1; width: 82px; height: 82px; right: -40px; bottom: -44px; border-radius: 50%; background: rgba(26,34,24,.035); transition: transform .18s ease, background .18s ease; }
.area-icon { width: clamp(84px, 6.2vw, 98px); height: clamp(76px, 5.7vw, 90px); flex: 0 0 clamp(76px, 5.7vw, 90px); display: grid; place-items: center; background: transparent; border-radius: 18px; transition: transform .18s ease, background .18s ease; }
.area-icon-image { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 8px 8px rgba(17,22,16,.09)); transition: transform .18s ease, filter .18s ease; }
.area-icon-fallback { color: #5d665b; font-size: 34px; line-height: 1; }
.area-card strong { max-width: 100%; font-size: clamp(12px, 1vw, 14.5px); line-height: 1.15; }
.area-card:hover { border-color: #bdc7b8; box-shadow: inset 0 1px 0 #fff, 0 11px 22px rgba(21,30,17,.085); }
.area-card:hover .area-icon-image { transform: translateY(-2px) scale(1.025); filter: drop-shadow(0 10px 10px rgba(17,22,16,.12)); }
.area-card.selected { border-color: var(--green-dark); background: linear-gradient(145deg, #f4f9ef, #fcfdfb); box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(63,125,17,.12); }
.area-card.selected::before { background: var(--green-dark); }
.area-card.selected::after { transform: scale(1.28); background: rgba(119,184,42,.08); }
.area-card.selected .area-icon { background: rgba(119,184,42,.035); transform: scale(1.025); }
.area-card.selected .area-icon-image { filter: drop-shadow(0 9px 10px rgba(17,22,16,.12)); }
.area-selected-check { position: absolute; z-index: 3; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-dark); color: #fff; border: 3px solid #fff; font-size: 17px; font-weight: 900; line-height: 1; box-shadow: 0 6px 14px rgba(63,125,17,.22); }
.area-limit-modal { max-width: 520px; }
.area-limit-modal p { color: var(--muted); font-size: 18px; line-height: 1.5; }
.area-limit-mark { width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 24px; display: grid; place-items: center; background: var(--green-dark); color: #fff; font-size: 38px; font-weight: 900; box-shadow: 0 12px 26px rgba(63,125,17,.24); }
.diagnostic-instruction { margin-bottom: 18px; text-align: center; }
.diagnostic-list { display: grid; gap: 12px; }
.diagnostic-row { position: relative; isolation: isolate; min-height: 96px; overflow: hidden; padding: 11px 20px; background: linear-gradient(180deg, #fff, #f8faf7); border: 1px solid #d9ded7; border-radius: 18px; display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: center; gap: 20px; box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(21,30,17,.06); }
.diagnostic-row::before { content: ""; position: absolute; z-index: -1; top: 0; left: 18px; right: 18px; height: 4px; border-radius: 0 0 99px 99px; background: var(--green-dark); }
.diagnostic-row::after { content: ""; position: absolute; z-index: -1; width: 76px; height: 76px; right: -38px; bottom: -42px; border-radius: 50%; background: rgba(119,184,42,.1); }
.diagnostic-label { display: flex; align-items: center; gap: 12px; }
.diagnostic-label::before { content: ""; width: 12px; height: 12px; flex: 0 0 12px; border-radius: 50%; background: var(--green-dark); box-shadow: 0 0 0 6px #edf5e7; }
.diagnostic-label strong { font-size: clamp(15px, 1.25vw, 18px); }
.mini-scale { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 74px); justify-content: end; gap: 9px; }
.mini-rating { min-width: 0; min-height: 70px; padding: 5px; display: grid; place-items: center; background: #fff; border-color: #d8ded5; border-radius: 16px; box-shadow: inset 0 1px 0 #fff, 0 5px 12px rgba(21,30,17,.05); }
.satisfaction-face-mini { width: 54px; height: 54px; flex-basis: 54px; filter: drop-shadow(0 6px 8px rgba(22,34,13,.17)); }
.mini-rating:hover { border-color: color-mix(in srgb, var(--rating-color) 55%, #d9ded7); }
.mini-rating.selected { border-color: var(--rating-color); outline: 3px solid color-mix(in srgb, var(--rating-color) 25%, transparent); outline-offset: 1px; background: color-mix(in srgb, var(--rating-color) 9%, #fff); transform: translateY(-2px); box-shadow: 0 8px 16px color-mix(in srgb, var(--face-dark) 18%, transparent); }
.mini-rating.selected .satisfaction-face-mini { transform: scale(1.08); filter: drop-shadow(0 9px 10px color-mix(in srgb, var(--face-dark) 28%, transparent)); }
.field, .field-group { display: grid; gap: 9px; }
.field label, .field-group > label { font-size: 17px; font-weight: 760; }
input, textarea, select { width: 100%; min-height: 58px; border: 2px solid #cfd6cc; border-radius: 14px; background: #fff; padding: 13px 16px; color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.identity-fields { grid-template-columns: 1.25fr 1.25fr .8fr; align-items: end; }
.identity-heading { margin-bottom: 18px; }
.identity-heading h3 { margin-bottom: 6px; }
.identity-fields .field label small { color: var(--muted); font-size: 12px; font-weight: 650; }
.required-consent { padding: 15px 16px; border: 1px solid #cfe0c2; border-radius: 16px; background: #f6faf2; }
.required-consent a { color: var(--green-dark); font-weight: 780; }
.optional-consent { margin-top: 12px; }
.field-error { min-height: 24px; margin: 10px 0 0; color: var(--danger); font-weight: 750; }
.category-instruction { margin: -4px 0 18px; text-align: center; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.category-card { position: relative; isolation: isolate; min-height: 132px; overflow: hidden; padding: 14px 16px 12px; background: linear-gradient(180deg, #fff, #fafbf9); color: var(--ink); border-color: #d9ded7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: inset 0 1px 0 #fff, 0 6px 15px rgba(21,30,17,.045); }
.category-card::before { content: ""; position: absolute; z-index: -1; top: 0; left: 14px; right: 14px; height: 3px; border-radius: 0 0 99px 99px; background: #e5e9e3; transition: background .18s ease; }
.category-card::after { content: ""; position: absolute; z-index: -1; width: 64px; height: 64px; right: -34px; bottom: -36px; border-radius: 50%; background: rgba(26,34,24,.03); transition: transform .18s ease, background .18s ease; }
.category-icon { width: 82px; height: 72px; flex: 0 0 72px; display: grid; place-items: center; }
.category-icon img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 6px 6px rgba(17,22,16,.08)); transition: transform .18s ease, filter .18s ease; }
.category-label { max-width: 100%; font-size: clamp(13px, 1vw, 15px); line-height: 1.1; font-weight: 720; text-align: center; }
.category-card:hover { border-color: #bdc7b8; box-shadow: inset 0 1px 0 #fff, 0 9px 20px rgba(21,30,17,.075); }
.category-card:hover .category-icon img { transform: translateY(-1px) scale(1.025); filter: drop-shadow(0 8px 8px rgba(17,22,16,.11)); }
.category-card.selected { color: var(--ink); border-color: var(--green-dark); background: linear-gradient(145deg, #f4f9ef, #fcfdfb); box-shadow: inset 0 1px 0 #fff, 0 9px 22px rgba(63,125,17,.11); }
.category-card.selected::before { background: var(--green-dark); }
.category-card.selected::after { transform: scale(1.2); background: rgba(119,184,42,.08); }
.category-card.selected .category-icon img { transform: scale(1.035); filter: drop-shadow(0 8px 9px rgba(17,22,16,.12)); }
.category-selected-check { position: absolute; z-index: 3; top: 8px; right: 8px; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: var(--green-dark); color: #fff; border: 2px solid #fff; font-size: 14px; font-weight: 900; line-height: 1; box-shadow: 0 4px 10px rgba(63,125,17,.2); }
.identity-card { max-width: 850px; margin: auto; padding: 28px; background: var(--soft); border: 2px solid #dce5d5; border-radius: 24px; }
.consent { margin-top: 18px; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.5; }
.consent input { width: 30px; height: 30px; min-height: 0; margin: 0; accent-color: var(--green-dark); }
.privacy-note { margin-top: 18px; color: var(--muted); line-height: 1.5; }
.privacy-note a { color: var(--green-dark); font-weight: 760; }
.duplicate-card .success-mark { margin-inline: auto; }
.sending-card { width: min(620px, 100%); margin: auto; padding: 42px; border: 1px solid #dce5d5; border-radius: 28px; background: linear-gradient(145deg, #fbfdf9, #f2f7ed); text-align: center; box-shadow: 0 16px 36px rgba(36,60,21,.09); }
.sending-card p { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.sending-spinner { width: 76px; height: 76px; margin: 0 auto 24px; border: 8px solid #dcead2; border-top-color: var(--green-dark); border-radius: 50%; display: block; animation: sending-spin .9s linear infinite; }
.sending-error-mark { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; background: #fff0ee; color: var(--danger); font-size: 42px; font-weight: 900; }
@keyframes sending-spin { to { transform: rotate(360deg); } }
.success-frame { min-height: calc(100vh - 34px); display: grid; place-items: center; padding: 40px; text-align: center; }
.success-card { width: min(900px, 100%); padding: clamp(28px, 4vw, 50px); background: #fff; border-radius: 32px; box-shadow: var(--shadow); }
.success-card h1 { margin-bottom: 14px; font-size: clamp(32px, 3.7vw, 52px); }
.success-card .lede { margin-bottom: 20px; font-size: clamp(17px, 1.5vw, 21px); }
.success-email-status { width: fit-content; max-width: 100%; margin: 0 auto 20px; padding: 11px 16px; border-radius: 14px; background: #edf5e6; color: var(--green-dark); font-size: 15px; }
.success-email-status.queued { background: #fff5df; color: #8a5b08; }
.success-mark { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green-dark); color: #fff; font-size: 42px; }
.success-summary { margin: 20px 0; padding: 20px; border: 1px solid #dde5d8; border-radius: 22px; background: linear-gradient(145deg, #f8fbf6, #f2f6ef); text-align: left; }
.success-summary > h3 { margin-bottom: 14px; text-align: center; font-size: 18px; }
.success-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.success-summary-grid > div { padding: 12px 14px; border-radius: 15px; background: #fff; }
.success-summary-grid span, .success-areas > span { display: block; color: var(--muted); font-size: 13px; font-weight: 760; }
.success-summary-grid strong { display: block; margin-top: 4px; font-size: 21px; }
.success-areas { margin-top: 12px; padding-top: 12px; border-top: 1px solid #dfe6dc; }
.success-areas > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.success-area { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid #d6e0d1; border-radius: 999px; background: #fff; }
.success-area strong { font-size: 14px; }
.success-area small { color: var(--green-dark); font-weight: 850; }
.countdown { font-weight: 800; color: var(--green-dark); }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(15,20,12,.72); display: grid; place-items: center; padding: 24px; }
.modal { width: min(560px, 100%); padding: 36px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.modal .count { font-size: 54px; color: var(--danger); font-weight: 900; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: #1d2419; color: #fff; border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow); transition: transform .2s ease; }
.toast.show { transform: translate(-50%, 0); }

/* Admin */
.admin-shell { min-height: 100vh; background: #f2f4f1; }
.admin-header { min-height: 132px; padding: 10px 28px; background: #171b16; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-brand { display: flex; align-items: center; gap: 16px; }
.admin-brand img { width: 188px; height: 104px; object-fit: contain; background: transparent; }
.admin-main { width: min(1500px, calc(100% - 32px)); margin: auto; padding: 28px 0 48px; }
.admin-nav { display: flex; gap: 10px; margin-bottom: 22px; }
.admin-nav button { min-height: 48px; background: #fff; border-color: #d6ddd2; }
.admin-nav button.active { color: #fff; background: var(--green-dark); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.metric span { color: var(--muted); font-weight: 700; }
.metric strong { display: block; margin-top: 8px; font-size: 36px; letter-spacing: -.04em; }
.filters { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; margin: 18px 0; padding: 16px; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.filters input, .filters select, .filters button { min-height: 50px; }
.dashboard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; overflow: hidden; }
.table-scroll { overflow: auto; margin-top: 16px; }
.import-preview { margin-top: 18px; border-color: #bad2a8; box-shadow: 0 14px 34px rgba(45,91,22,.08); }
.import-metrics { margin: 14px 0; }
.data-section { margin-top: 18px; }
.import-file-field { margin-top: 18px; }
.import-file-field button { margin-top: 10px; }
.compact-button { min-height: 40px; padding: 8px 14px; border-radius: 12px; display: inline-flex; align-items: center; text-decoration: none; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-color: #efc1bd; background: linear-gradient(135deg, #fff, #fff7f6); }
.danger-zone h3 { margin-bottom: 8px; }
.danger-zone p:not(.eyebrow) { max-width: 780px; margin-bottom: 12px; color: var(--muted); }
.danger-count { display: inline-flex; padding: 7px 11px; border-radius: 999px; color: #8f1d15; background: #fde7e5; font-weight: 850; }
.reset-data-modal { width: min(680px, 100%); max-height: calc(100vh - 32px); overflow: auto; text-align: left; }
.reset-data-modal h2, .reset-data-modal > .eyebrow { text-align: center; }
.reset-data-modal > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; text-align: center; }
.reset-warning-mark { width: 70px; height: 70px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 22px; color: #fff; background: var(--danger); font-size: 40px; font-weight: 900; box-shadow: 0 12px 28px rgba(180,35,24,.24); }
.backup-choice { margin: 22px 0; padding: 0; border: 0; display: grid; gap: 10px; }
.backup-choice legend { margin-bottom: 10px; font-weight: 850; }
.backup-choice label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 12px; padding: 16px; border: 2px solid #d9dfd6; border-radius: 16px; background: #fafbf9; cursor: pointer; }
.backup-choice label:has(input:checked) { border-color: var(--green-dark); background: #f1f8ec; }
.backup-choice input { width: 22px; min-height: 22px; margin-top: 2px; accent-color: var(--green-dark); }
.backup-choice span { display: grid; gap: 4px; }
.backup-choice small { color: var(--muted); line-height: 1.4; }
.reset-password-field { margin-top: 8px; }
.reset-modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.status-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #edf2e9; font-size: 12px; font-weight: 850; }
.status-pill.error { color: #a61d24; background: #fee9e8; }
.status-pill.duplicado { color: #6c5a13; background: #fff4cf; }
.status-pill.ajustado { color: #236016; background: #e8f5df; }
.campaign-card { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(420px,1.3fr); gap: 24px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.campaign-card > div { display: grid; gap: 5px; }
.campaign-card > div strong { font-size: 24px; }
.campaign-card small { color: var(--muted); }
.campaign-card form label { display: block; margin-bottom: 8px; font-weight: 800; }
.campaign-card form input { flex: 1 1 280px; min-height: 50px; }
.smtp-panel { max-width: 1050px; }
.smtp-grid { grid-template-columns: 1.2fr .5fr; }
.smtp-grid .consent { grid-column: 1 / -1; }
.email-template-panel { margin-top: 22px; }
.email-template-layout { display: grid; grid-template-columns: minmax(360px,.9fr) minmax(420px,1.1fr); gap: 28px; align-items: start; }
.email-template-editor { min-width: 0; }
.email-template-editor textarea { min-height: 390px; resize: vertical; line-height: 1.65; }
.email-preview-column { min-width: 0; }
.email-preview-heading { margin-bottom: 12px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.email-preview-heading > div:first-child { display: grid; gap: 3px; }
.email-preview-heading span { font-weight: 850; }
.email-preview-heading small { color: var(--muted); }
.compact-field { width: min(230px, 48%); }
.compact-field label { font-size: 12px; }
.compact-field input { min-height: 44px; padding: 9px 12px; }
.email-preview-stage { padding: clamp(18px,3vw,34px); border: 1px solid #dbe2d7; border-radius: 22px; background: #eef2ec; }
.email-preview-card { overflow: hidden; max-width: 570px; margin: auto; border: 1px solid #dfe5dc; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(22,34,13,.11); text-align: center; }
.email-preview-accent { height: 6px; background: var(--green); }
.email-preview-card > img { display: block; width: 180px; max-width: 55%; height: 112px; margin: 20px auto 7px; object-fit: contain; }
.email-preview-badge { display: inline-block; margin: 0 auto 24px; padding: 7px 13px; border-radius: 999px; background: #edf5e6; color: var(--green-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.email-preview-body { padding: 0 clamp(24px,4vw,48px) 12px; text-align: left; }
.email-preview-body p { margin: 0 0 18px; color: #252924; font-size: 15px; line-height: 1.65; }
.email-preview-body .email-preview-greeting { margin-bottom: 22px; font-size: 20px; line-height: 1.4; font-weight: 750; }
.email-preview-body .email-preview-signature { color: var(--green-dark); font-weight: 750; }
.email-preview-footer { margin: 8px clamp(24px,4vw,48px) 0; padding: 20px 12px 28px; border-top: 1px solid #e4e8e1; color: var(--muted); font-size: 12px; line-height: 1.65; }
.email-preview-footer strong { display: block; color: var(--green-dark); }
.email-test-box { margin-top: 28px; padding: 22px; border: 1px solid #dfe5dc; border-radius: 18px; background: linear-gradient(145deg, #f4f8f1, #fff); display: grid; grid-template-columns: minmax(280px,1fr) minmax(360px,.9fr); gap: 20px 28px; align-items: end; }
.email-test-box h3 { margin-bottom: 6px; }
.email-test-box p { margin-bottom: 0; }
.email-test-fields { display: grid; grid-template-columns: minmax(220px,1fr) auto; gap: 12px; align-items: end; }
.email-test-fields button { white-space: nowrap; }
.email-test-box > .form-message { grid-column: 1 / -1; }
.form-message { min-height: 22px; margin: 8px 0 0; }
.success-text { color: var(--green-dark); font-weight: 750; }
.consent.compact { padding: 15px 18px; }
.panel.full { grid-column: 1 / -1; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.panel-heading .eyebrow { margin-bottom: 5px; }
.panel-heading h3 { margin-bottom: 0; }
.response-total { flex: 0 0 auto; padding: 8px 13px; border-radius: 999px; background: #edf5e6; color: var(--green-dark); font-weight: 800; }
.nps-overview { padding: 26px; background: linear-gradient(180deg, #fff, #fbfcfa); }
.nps-distribution-scroll { overflow-x: auto; padding-bottom: 4px; }
.nps-score-strip { min-width: 790px; display: grid; grid-template-columns: repeat(11, minmax(58px, 1fr)); gap: 2px; }
.nps-score-cell { --segment-color: #d32f2f; display: grid; grid-template-rows: auto 1fr; gap: 6px; text-align: center; }
.nps-score-cell.passive { --segment-color: #f9a825; }
.nps-score-cell.promoter { --segment-color: #2e7d32; }
.nps-score-number { color: #30352f; font-size: 15px; font-weight: 900; }
.nps-score-result { min-height: 70px; padding: 9px 4px 7px; border-radius: 8px 8px 3px 3px; background: var(--segment-color); color: #fff; display: grid; place-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.nps-score-cell.passive .nps-score-result { color: #171717; }
.nps-score-result strong { font-size: 20px; line-height: 1; }
.nps-score-result small { margin-top: 4px; font-size: 12px; font-weight: 800; }
.nps-range-labels { min-width: 790px; display: grid; grid-template-columns: 7fr 2fr 2fr; gap: 2px; text-align: center; }
.nps-range-labels span { padding: 8px 4px 4px; color: var(--muted); border-top: 3px solid #d32f2f; font-size: 13px; font-weight: 800; }
.nps-range-labels span:nth-child(2) { border-color: #f9a825; }
.nps-range-labels span:nth-child(3) { border-color: #2e7d32; }
.nps-summary { display: grid; grid-template-columns: repeat(3, minmax(150px, .8fr)) minmax(360px, 1.5fr); gap: 12px; margin-top: 24px; }
.nps-segment-card { --segment-color: #d32f2f; min-height: 152px; padding: 18px; border: 1px solid #e0e5dd; border-radius: 18px; background: #fff; display: flex; align-items: center; gap: 16px; box-shadow: 0 10px 24px rgba(21,30,17,.06); }
.nps-segment-card.passive { --segment-color: #8b9491; }
.nps-segment-card.promoter { --segment-color: #2e7d32; }
.nps-segment-card > div:last-child { min-width: 0; display: grid; }
.nps-segment-card span { font-size: 17px; font-weight: 850; }
.nps-segment-card small { color: var(--muted); font-weight: 700; }
.nps-segment-card strong { margin-top: 10px; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.05; }
.nps-segment-card b { margin-top: 4px; color: var(--segment-color); font-size: 22px; }
.people-stack { width: 70px; height: 66px; flex: 0 0 70px; display: flex; align-items: end; justify-content: center; gap: 3px; }
.people-stack i { position: relative; width: 19px; height: 36px; border-radius: 7px 7px 4px 4px; background: color-mix(in srgb, var(--segment-color) 55%, #dfe5dc); }
.people-stack i::before { content: ""; position: absolute; width: 17px; height: 17px; left: 1px; top: -20px; border-radius: 50%; background: inherit; }
.people-stack i:nth-child(2) { height: 43px; background: var(--segment-color); }
.people-stack i:nth-child(2)::before { width: 19px; height: 19px; left: 0; top: -22px; }
.nps-total-card { min-height: 152px; padding: 16px 20px; border: 1px solid #dfe5dc; border-radius: 18px; background: linear-gradient(145deg, #f4f8f1, #fff); display: grid; grid-template-columns: minmax(150px, 1fr) 220px; align-items: center; gap: 12px; }
.nps-total-card > div:first-child { display: grid; text-align: center; }
.nps-total-card > div:first-child strong { color: #05a739; font-size: clamp(44px, 4vw, 64px); line-height: .95; letter-spacing: -.05em; }
.nps-total-card > div:first-child span { margin-top: 9px; font-size: 16px; font-weight: 900; }
.nps-total-card > div:first-child small { color: var(--muted); font-weight: 800; }
.nps-gauge { width: 220px; justify-self: end; }
.nps-gauge-dial { position: relative; width: 220px; height: 110px; overflow: hidden; }
.nps-gauge-ring { position: absolute; z-index: 0; width: 220px; height: 220px; border-radius: 50%; background: conic-gradient(from 270deg, #65121e 0deg, #851821 22.5deg, #aa1f27 45deg, #cf3531 67.5deg, #e5523d 81deg, #f06946 89.1deg, #f27637 90deg, #f4912b 99deg, #f5a92d 108deg, #e8bf3a 117deg, #dac23d 117.9deg, #b8c141 126deg, #8bb741 139.5deg, #5ea53c 153deg, #3b8b35 166.5deg, #1d682f 180deg, transparent 180deg 360deg); background: conic-gradient(from 270deg in oklab, #65121e 0deg, #851821 22.5deg, #aa1f27 45deg, #cf3531 67.5deg, #e5523d 81deg, #f06946 89.1deg, #f27637 90deg, #f4912b 99deg, #f5a92d 108deg, #e8bf3a 117deg, #dac23d 117.9deg, #b8c141 126deg, #8bb741 139.5deg, #5ea53c 153deg, #3b8b35 166.5deg, #1d682f 180deg, transparent 180deg 360deg); }
.nps-gauge-ring::after { content: ""; position: absolute; inset: 25px; border-radius: 50%; background: #fbfcfa; box-shadow: inset 0 0 0 1px rgba(63,125,17,.04); }
.nps-gauge-needle { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 4px; height: 82px; border-radius: 99px; background: #171717; transform-origin: 50% 100%; }
.nps-gauge-needle::before { content: ""; position: absolute; top: -4px; left: -4px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 12px solid #171717; }
.nps-gauge-center { position: absolute; z-index: 3; left: 50%; bottom: 0; width: 16px; height: 16px; border-radius: 50%; background: #171717; transform: translate(-50%, 50%); }
.nps-gauge-labels { height: 20px; padding-top: 5px; color: var(--muted); font-size: 11px; font-weight: 850; display: flex; justify-content: space-between; }
.nps-formula { margin: 20px 0 0; padding: 13px 16px; border-radius: 12px; background: #f2f5f0; font-weight: 850; }
.bar-chart { display: flex; align-items: end; gap: 8px; min-height: 250px; padding-top: 22px; }
.bar-column { flex: 1; min-width: 32px; display: grid; grid-template-rows: 1fr auto; height: 220px; align-items: end; text-align: center; font-weight: 750; color: var(--muted); }
.bar { width: 100%; min-height: 2px; border-radius: 9px 9px 3px 3px; background: var(--green); }
.bar.detractor { background: #d32f2f; } .bar.passive { background: #f9a825; } .bar.promoter { background: #2e7d32; }
.horizontal-bars { display: grid; gap: 13px; }
.hbar-row { display: grid; grid-template-columns: 170px 1fr 72px; gap: 12px; align-items: center; }
.hbar-track { height: 22px; background: #edf0eb; border-radius: 999px; overflow: hidden; }
.hbar-fill { width: 100%; height: 100%; background: var(--green); border-radius: inherit; transform: scaleX(0); transform-origin: left center; }
.hbar-fill.started { background: var(--green); }
.hbar-fill.completed { background: #2e7d32; }
.hbar-fill.abandoned { background: #d32f2f; }
.hbar-fill.area { background: linear-gradient(90deg, var(--green), #2e7d32); }
.completion-rate { margin-top: 18px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.tag { display: inline-flex; padding: 5px 9px; margin: 2px; border-radius: 999px; background: #edf5e6; color: var(--green-dark); font-size: 12px; font-weight: 750; }
.tool-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tool-row button, .tool-row .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top, rgba(119,184,42,.22), transparent 28rem), #eef2ec; }
.login-card { width: min(520px, 100%); padding: 38px; background: #fff; border-radius: 28px; box-shadow: var(--shadow); }
.login-card img { width: 180px; height: 110px; object-fit: contain; display: block; margin: 0 auto 18px; }
.login-card form { display: grid; gap: 16px; }
.config-editor { min-height: 500px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; }
.error-text { color: var(--danger); font-weight: 700; }
.muted { color: var(--muted); }

@media (max-width: 1000px) {
  .identity-fields { grid-template-columns: 1.25fr 1.25fr .8fr; align-items: end; }
.identity-heading { margin-bottom: 18px; }
.identity-heading h3 { margin-bottom: 6px; }
.identity-fields .field label small { color: var(--muted); font-size: 12px; font-weight: 650; }
.required-consent { padding: 15px 16px; border: 1px solid #cfe0c2; border-radius: 16px; background: #f6faf2; }
.required-consent a { color: var(--green-dark); font-weight: 780; }
.optional-consent { margin-top: 12px; }
  .campaign-card { grid-template-columns: 1fr; }
  .hero-logo-stage { width: min(520px,72vw); height: min(500px,56vh); }
  .attract.is-awake .hero-logo-stage { transform: translateY(-17vh) scale(.62); }
  .nps-grid { gap: 7px; }
  .score-button { min-height: 58px; border-radius: 14px; font-size: 22px; }
  .nps-legend-card { min-height: 70px; padding-inline: 10px; gap: 8px; }
  .satisfaction-face-small { width: 42px; height: 42px; flex-basis: 42px; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .nps-summary { grid-template-columns: repeat(3, 1fr); }
  .nps-total-card { grid-column: 1 / -1; }
  .email-template-layout { grid-template-columns: 1fr; }
  .email-test-box { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nps-grid { grid-template-columns: repeat(6, minmax(0, 88px)); justify-content: center; gap: 10px; }
  .score-button { min-height: 66px; font-size: 24px; }
  .nps-legend { grid-template-columns: 1fr; }
  .nps-legend-card { justify-content: flex-start; padding-left: 24px; }
}
@media (max-width: 720px) {
  .attract-center { width: calc(100% - 24px); min-height: 90vh; }
  .hero-logo-stage { width: min(420px,88vw); height: min(430px,52vh); }
  .attract.is-awake .hero-logo-stage { transform: translateY(-19vh) scale(.57); }
  .attract-invitation { top: 53%; }
  .attract-invitation h1 { font-size: clamp(34px,9vw,52px); }
  .attract-start { min-width: min(320px,88vw); }
  .attract-hint { bottom: 20px; }
  .app-shell { width: 100%; min-height: 100vh; margin: 0; border-radius: 0; }
  .kiosk-header { min-height: 142px; grid-template-columns: 150px 1fr; padding: 7px 16px; } .kiosk-header > :last-child { display: none; }
  .screen { width: calc(100% - 28px); padding: 24px 0; }
  .area-grid, .csat-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 112px; padding: 10px 12px; }
  .category-icon { width: 54px; height: 48px; flex-basis: 48px; }
  .area-card { min-height: 130px; padding: 12px 10px 10px; gap: 7px; }
  .area-icon { width: 66px; height: 66px; flex-basis: 66px; border-radius: 20px; }
  .area-icon-image { width: 100%; height: 100%; }
  .nps-grid { grid-template-columns: repeat(4, minmax(0, 80px)); justify-content: center; gap: 8px; }
  .diagnostic-row { grid-template-columns: 1fr; }
  .mini-scale { grid-template-columns: repeat(5, minmax(48px, 1fr)); justify-content: stretch; gap: 6px; }
  .mini-rating { min-height: 60px; padding: 4px; }
  .satisfaction-face-mini { width: 44px; height: 44px; flex-basis: 44px; }
  .form-grid, .success-summary-grid { grid-template-columns: 1fr; }
  .success-frame { padding: 18px; }
  .success-card { border-radius: 24px; }
  .actions { position: sticky; bottom: 0; background: rgba(255,255,255,.96); margin-inline: -14px; padding: 14px; }
  .admin-main { width: calc(100% - 20px); } .metric-grid, .filters { grid-template-columns: 1fr; }
  .hbar-row { grid-template-columns: 110px 1fr 54px; }
  .admin-header { align-items: flex-start; }
  .admin-brand img { width: 160px; height: 104px; }
  .panel-heading { display: grid; }
  .response-total { justify-self: start; }
  .nps-overview { padding: 18px; }
  .nps-summary { grid-template-columns: 1fr; }
  .nps-total-card { grid-column: auto; grid-template-columns: 1fr; }
  .nps-gauge { justify-self: center; }
  .danger-zone { align-items: stretch; flex-direction: column; }
  .danger-zone button { width: 100%; }
  .reset-data-modal { padding: 24px 18px; }
  .reset-modal-actions { display: grid; }
  .email-preview-heading { align-items: stretch; flex-direction: column; }
  .compact-field { width: 100%; }
  .email-preview-stage { padding: 14px; }
  .email-preview-body { padding-inline: 22px; }
  .email-test-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .attract-messages span:first-child { opacity: 1; } }
@media (max-width: 900px) {
  .identity-fields { grid-template-columns: 1fr 1fr; }
  .identity-whatsapp { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .identity-fields { grid-template-columns: 1fr; }
  .identity-whatsapp { grid-column: auto; }
  .identity-card { padding: 20px; }
}

@media print {
  body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .admin-header, .admin-nav, .filters, .tool-row, .no-print { display: none !important; }
  .admin-main { width: 100%; padding: 0; }
  .panel, .metric { break-inside: avoid; box-shadow: none; }
}


/* Fit Center NPS v1.9.4 · Portada promocional · responsive */
.promo-home {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  outline: none;
}
.promo-stage {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  aspect-ratio: 16 / 9;
  max-width: 100vw;
  max-height: 100vh;
}
.promo-home-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.promo-home-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  animation: promoHomeDepth 16s ease-in-out infinite alternate;
}
.promo-home-mobile { display: none; }
.promo-home-start {
  position: absolute;
  z-index: 4;
  left: 10.25%;
  top: 67%;
  width: 29.5%;
  height: 8.2%;
  min-height: 58px;
  padding: 0 32px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(20,157,56,.98) 0%, rgba(0,105,45,.98) 100%);
  box-shadow:
    0 12px 28px rgba(0,96,45,.28),
    0 4px 10px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -2px 0 rgba(0,72,33,.24);
  cursor: pointer;
  outline-offset: 6px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.promo-home-start::before {
  content: "Contéstala aquí  →";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 clamp(16px, 1.45vw, 28px)/1 Arial, sans-serif;
  letter-spacing: -.015em;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.promo-home-start::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(80,205,82,.38);
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(49,185,72,.28);
  animation: promoHomePulse 2.4s ease-out infinite;
  pointer-events: none;
}
.promo-home-start:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.035);
  box-shadow:
    0 16px 34px rgba(0,96,45,.34),
    0 6px 14px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -2px 0 rgba(0,72,33,.22);
}
.promo-home-start:active {
  transform: translateY(1px) scale(.985);
  box-shadow:
    0 7px 16px rgba(0,96,45,.24),
    0 2px 5px rgba(0,0,0,.16),
    inset 0 2px 5px rgba(0,70,30,.18);
}
.promo-home-start:focus-visible {
  outline: 4px solid rgba(119,184,42,.55);
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@keyframes promoHomeDepth {
  from { transform: scale(1); }
  to { transform: scale(1.012); }
}
@keyframes promoHomePulse {
  0% { opacity: .9; box-shadow: 0 0 0 0 rgba(49,185,72,.30); }
  70%, 100% { opacity: 0; box-shadow: 0 0 0 18px rgba(49,185,72,0); }
}

/* Tablet / desktop no panorámico: la imagen completa se conserva dentro del stage 16:9. */
@media (max-aspect-ratio: 16/10) and (min-width: 821px) {
  .promo-stage { max-width: 100vw; max-height: 100vh; }
}

/* Móvil vertical: usa arte vertical dedicado; desktop permanece intacto. */
@media (max-width: 820px) and (orientation: portrait) {
  .promo-home {
    height: 100svh;
    min-height: 100svh;
    background: #fff;
  }

  .promo-stage {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    aspect-ratio: auto;
  }

  .promo-home-picture,
  .promo-home-image {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .promo-home-image {
    object-fit: cover;
    object-position: center;
    animation: promoHomeMobileDepth 12s ease-in-out infinite alternate;
  }

  .promo-home-mobile {
    display: none !important;
  }

  .promo-home-start {
    position: absolute;
    z-index: 4;
    left: 8%;
    top: 47.5%;
    width: 54%;
    height: 68px;
    min-height: 68px;
    padding: 0 24px;
    border: 1px solid rgba(255,255,255,.72);
    box-shadow:
      0 18px 36px rgba(0,113,43,.34),
      0 6px 14px rgba(0,0,0,.16),
      0 0 26px rgba(77,230,89,.38),
      inset 0 1px 0 rgba(255,255,255,.48),
      inset 0 -3px 0 rgba(0,74,29,.24);
  }

  .promo-home-start::before {
    font-size: clamp(20px, 5.4vw, 26px);
    font-weight: 800;
    letter-spacing: -.02em;
  }

  .promo-home-start::after {
    inset: -6px;
    border-color: rgba(101,244,109,.54);
  }

  .promo-home-start:hover {
    transform: translateY(-2px) scale(1.01);
  }

  .promo-home-start:active {
    transform: translateY(2px) scale(.985);
    filter: brightness(.95);
  }
}

@keyframes promoHomeMobileDepth {
  from { transform: scale(1.015); }
  to { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  .promo-home-image,
  .promo-home-start::after {
    animation: none !important;
  }
  .promo-home-start {
    transition: none !important;
  }
}
