:root {
  --bg: #f6f3ef;
  --bg-elevated: #faf8f5;
  --ink: #1c1916;
  --muted: #6e665e;
  --accent: #a68e74;
  --accent-dark: #8c735b;
  --accent-soft: rgba(166, 142, 116, 0.14);
  --line: #e4ddd4;
  --card: #ffffff;
  --sidebar: #0a0a0a;
  --sidebar-ink: #ede8e2;
  --danger: #b42318;
  --ok: #067647;
  --warn: #b54708;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(28, 25, 22, 0.07);
  --font: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Avenir Next", sans-serif;
  --touch: 48px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --focus-ring: rgba(140, 115, 91, 0.28);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.5;
  background: var(--bg);
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; color: #6f5a46; }

.brand-logo {
  display: block;
  height: 88px;
  width: auto;
  max-width: min(160px, 38vw);
  object-fit: contain;
  border-radius: 0;
}
.brand-logo-sm { height: 56px; max-width: 100px; }
.brand-logo-lg { height: 96px; max-width: 170px; }

/* —— Survey —— */
.survey-page {
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(166, 142, 116, 0.18) 0%, transparent 55%),
    radial-gradient(700px 400px at 100% 0%, rgba(140, 115, 91, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #faf7f3 0%, #f1ebe4 100%);
}
.survey-shell {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 1rem 1rem calc(2rem + var(--safe-bottom));
}
.survey-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.1rem;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: .75rem 0;
  background: linear-gradient(180deg, rgba(250, 247, 243, .97) 55%, rgba(250, 247, 243, 0));
  backdrop-filter: blur(10px);
}
.survey-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .9rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.survey-brand:hover { text-decoration: none; color: inherit; }
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.brand-copy strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.brand-copy span {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: normal;
}
.admin-brand .brand-copy span {
  color: rgba(237, 232, 226, .85);
  font-size: .95rem;
}
.login-brand .brand-copy span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(28, 25, 22, 0.05);
  flex-shrink: 0;
}
.lang-switch a {
  min-width: 44px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
}
.lang-switch a.is-active {
  background: var(--accent-dark);
  color: #fff;
}
.lang-switch a:hover { text-decoration: none; color: var(--ink); }
.lang-switch a.is-active:hover { color: #fff; }

.survey-card {
  background: var(--card);
  border: 1px solid rgba(228, 221, 212, .95);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.1rem 1.5rem;
  animation: rise .45s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.survey-hero { margin-bottom: 1.25rem; }
.survey-kicker {
  margin: 0 0 .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.survey-hero h1,
.thanks-card h1,
.login-card h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.lead { color: var(--muted); margin: 0; font-size: .98rem; }

.progress {
  margin-top: 1rem;
  height: 5px;
  border-radius: 999px;
  background: #ebe4db;
  overflow: hidden;
}
.progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: inherit;
  transition: width .25s ease;
}

.survey-form { display: grid; gap: 1rem; }
.survey-block {
  padding: 1rem;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
.block-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem .7rem;
  align-items: start;
  margin-bottom: .85rem;
}
.block-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  grid-column: 2;
}
.block-head .hint { grid-column: 2; color: var(--muted); font-size: .84rem; }
.q-num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dark);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  margin-top: .1rem;
}
.contact-grid { display: grid; gap: .7rem; }
.float-field { display: grid; gap: .35rem; }
.float-field > span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.phone-field {
  min-width: 0;
}
.phone-row {
  display: flex;
  gap: .45rem;
  align-items: stretch;
  min-width: 0;
}
.phone-code {
  flex: 0 0 5.6rem;
  width: 5.6rem;
  max-width: 5.6rem;
  min-width: 0;
  box-sizing: border-box;
  padding-left: .4rem;
  padding-right: 1.15rem;
  font-weight: 700;
  font-size: .78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238c735b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .45rem center;
  background-size: 10px 7px;
}
.phone-row input[type="tel"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  min-height: var(--touch);
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #a09890; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--focus-ring);
  border-color: var(--accent);
}

.choices { display: grid; gap: .55rem; }
.choice {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: var(--touch);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: .85rem 1rem;
  background: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease, background .15s ease;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c4bbb0;
  flex-shrink: 0;
  position: relative;
}
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice:has(input:checked) .choice-dot { border-color: var(--accent-dark); background: var(--accent-dark); }
.choice:has(input:checked) .choice-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.choice-text { font-weight: 600; font-size: .98rem; }

.rating-row { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.rating-chip {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: .75rem;
  min-height: var(--touch);
  padding: .7rem .9rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rating-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rating-score {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0ebe4;
  font-weight: 800;
  color: var(--muted);
}
.rating-label { font-weight: 600; }
.rating-chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.rating-chip:has(input:checked) .rating-score { background: var(--accent-dark); color: #fff; }

.nps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .45rem;
}
.nps label {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: var(--touch);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  font-weight: 700;
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
}
.nps input { position: absolute; opacity: 0; pointer-events: none; }
.nps label:has(input:checked) {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}
.nps-ends {
  display: flex;
  justify-content: space-between;
  margin-top: .45rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
}

.consent {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elevated);
  font-size: .92rem;
  line-height: 1.45;
}
.consent-optional {
  background: #fff;
  border-style: dashed;
}
.consent input {
  width: 22px;
  height: 22px;
  margin-top: .1rem;
  flex-shrink: 0;
  accent-color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.25rem;
  min-height: 48px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: #735f4b; text-decoration: none; color: #fff; }
.btn:active { transform: scale(0.98); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: #f6f3ef; color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--sidebar-ink);
  border: 1px solid rgba(166, 142, 116, .35);
  width: 100%;
  min-height: 40px;
  font-size: .9rem;
}
.btn-ghost:hover { background: rgba(166, 142, 116, .12); color: #fff; }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .9rem; }
.btn-submit {
  width: 100%;
  font-size: 1.05rem;
  box-shadow: 0 12px 28px rgba(140, 115, 91, 0.28);
}
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.survey-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--muted);
}
.thanks-card { text-align: center; padding: 2rem 1.25rem; }
.thanks-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.8rem;
  font-weight: 800;
  border: 1px solid rgba(166, 142, 116, 0.35);
}
.thanks-card .btn-submit { margin-top: 1.25rem; max-width: 280px; }

.content-toolbar { margin-bottom: 1rem; }
.content-body h1, .content-body h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.content-body p, .content-body li { color: #3d3832; }

.alert {
  border-radius: 14px;
  padding: .9rem 1rem;
  margin-bottom: 1rem;
}
.alert-error {
  background: #fef3f2;
  color: var(--danger);
  border: 1px solid #fecdca;
}
.alert-ok {
  background: #ecfdf3;
  color: var(--ok);
  border: 1px solid #abefc6;
}
.hint, .muted { color: var(--muted); }
.text-link { font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.mono { font-variant-numeric: tabular-nums; font-weight: 600; }

/* —— Admin —— */
.admin-page {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(166, 142, 116, 0.12) 0%, transparent 50%),
    #f3efe9;
}
.admin-app {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: linear-gradient(180deg, #000000 0%, #12100e 100%);
  color: var(--sidebar-ink);
  padding: 1.35rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid #1f1c19;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.admin-brand .brand-copy {
  display: grid;
  gap: .1rem;
}
.admin-brand .brand-copy strong {
  color: #fff;
  font-size: 1.15rem;
}
.admin-brand span { color: rgba(237, 232, 226, .55); font-size: .82rem; }
.admin-nav { display: grid; gap: .35rem; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: rgba(237, 232, 226, .72);
  text-decoration: none;
  padding: .75rem .85rem;
  border-radius: 12px;
  font-weight: 600;
}
.admin-nav a:hover,
.admin-nav a.is-active {
  background: rgba(166, 142, 116, .14);
  color: #fff;
  text-decoration: none;
}
.admin-nav a.is-active { border: 1px solid rgba(166, 142, 116, .3); }
.nav-ico {
  width: 1.4rem;
  text-align: center;
  opacity: .85;
  color: var(--accent);
}
.admin-sidebar-foot { margin-top: auto; display: grid; gap: .85rem; }
.admin-user {
  display: flex;
  gap: .7rem;
  align-items: center;
}
.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(166, 142, 116, .18);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  border: 1px solid rgba(166, 142, 116, .28);
}
.admin-user strong { display: block; font-size: .92rem; }
.admin-user span { display: block; font-size: .75rem; color: rgba(237, 232, 226, .55); word-break: break-all; }

.admin-main { min-width: 0; }
.admin-topbar {
  display: flex;
  align-items: center;
  gap: .85rem;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 239, 233, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 221, 212, .9);
}
.admin-page-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.admin-menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
}
.admin-content {
  padding: 1rem 1.25rem 2rem;
  display: grid;
  gap: 1rem;
}
.admin-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, .45);
  z-index: 30;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(28, 25, 22, 0.05);
  padding: 1.15rem 1.2rem;
}
.panel-narrow { max-width: 720px; }
.panel-head {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.panel-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.panel-head .muted { margin: .25rem 0 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.stat {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .95rem 1rem;
}
.stat-accent {
  background: linear-gradient(145deg, #8c735b, #a68e74);
  border: 0;
  color: #fff;
}
.stat-accent .k,
.stat-accent .s { color: rgba(255, 255, 255, .8); }
.stat .k { color: var(--muted); font-size: .8rem; font-weight: 600; }
.stat .v {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: .2rem 0;
}
.stat .s { font-size: .78rem; color: var(--muted); }

.channel-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(166, 142, 116, .28);
  font-size: .85rem;
}
.nps-chip {
  display: inline-flex;
  min-width: 2rem;
  justify-content: center;
  padding: .15rem .45rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
table.data th, table.data td {
  text-align: left;
  padding: .75rem .55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  color: var(--muted);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
table.data tbody tr:hover { background: rgba(166, 142, 116, 0.06); }

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .78rem;
  font-weight: 700;
  background: #f0ebe4;
  color: var(--muted);
}
.badge-new { background: #fff4e5; color: var(--warn); }
.badge-in_progress { background: #f3ebe3; color: var(--accent-dark); }
.badge-closed { background: #ecfdf3; color: var(--ok); }

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .65rem;
  margin-bottom: 1rem;
  align-items: end;
}
.filters label.muted,
.inline-filters + * { display: block; }
.inline-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.inline-filters input {
  min-height: 40px;
  width: auto;
}
.filter-actions {
  display: flex;
  gap: .45rem;
  align-items: end;
}

.empty-state {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--muted);
}
.improve-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.improve-list li {
  padding: .9rem 1rem;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
.improve-list strong { display: block; margin-bottom: .15rem; }
.improve-list .muted { display: block; font-size: .82rem; margin-bottom: .35rem; }
.improve-list p { margin: 0; }

.detail-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.detail-hero h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
}
.detail-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.metric {
  min-width: 90px;
  padding: .7rem .85rem;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
.metric span {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
}
.metric strong { font-size: 1.05rem; }
.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.detail-list { margin: 0; display: grid; gap: .75rem; }
.detail-list > div {
  display: grid;
  gap: .2rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.detail-list dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  font-weight: 700;
}
.detail-list dd { margin: 0; font-weight: 600; }
.stack-form { display: grid; gap: .85rem; }

/* Login */
.admin-login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 1.25rem;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(166, 142, 116, 0.22) 0%, transparent 55%),
    radial-gradient(600px 300px at 100% 20%, rgba(140, 115, 91, 0.12) 0%, transparent 50%),
    #f6f3ef;
}
.login-shell { width: min(420px, 100%); }
.login-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.35rem 1.75rem;
  animation: rise .4s ease both;
}
.login-brand {
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.login-brand .brand-copy {
  display: grid;
  gap: .15rem;
}
.login-brand .brand-copy strong {
  font-size: 1.5rem;
  color: var(--ink);
}
.login-brand span { color: var(--muted); font-size: .9rem; }
.login-form { display: grid; gap: .85rem; margin-top: 1rem; }
.login-form .btn-submit { margin-top: .35rem; }

@media (min-width: 640px) {
  .survey-shell { padding: 1.5rem 1.25rem 2.5rem; }
  .survey-card { padding: 1.75rem 1.75rem 2rem; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-field { grid-column: 1 / -1; }
  .choices-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rating-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rating-chip {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: .4rem;
    padding: .85rem .5rem;
  }
  .nps { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .survey-form .btn-submit { width: auto; min-width: 220px; justify-self: start; }
  .brand-logo { height: 100px; max-width: 180px; }
  .brand-logo-sm { height: 64px; max-width: 120px; }
  .brand-logo-lg { height: 110px; max-width: 200px; }
  .brand-copy strong { font-size: 1.85rem; }
  .brand-copy span { font-size: 1.05rem; }
}

@media (max-width: 960px) {
  .admin-app { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    z-index: 40;
    transform: translateX(-105%);
    transition: transform .2s ease;
  }
  .admin-sidebar.is-open { transform: none; }
  .admin-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .admin-grid-2 { grid-template-columns: 1fr; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 639px) {
  .admin-content { padding: 1rem .9rem 1.75rem; }
  .panel { padding: 1rem; }
  .detail-hero-metrics { width: 100%; }
  .metric { flex: 1; }
  .brand-logo { height: 76px; max-width: 140px; }
  .brand-logo-lg { height: 88px; max-width: 160px; }
  .brand-copy strong { font-size: 1.4rem; }
  .brand-copy span { font-size: .9rem; }
}
