/* ═══════════════════════════════════════════
   RATE SERVICE v1.7  — "Clean Swiss Light"
   Light editorial, warm off-whites, amber accent
═══════════════════════════════════════════ */
/* Fonts loaded via wp_enqueue_style in main.php (faster than @import) */

:root {
  /* Palette */
  --white:    #ffffff;
  --off:      #fafaf8;
  --mist:     #f4f3f0;
  --mist2:    #ece9e3;
  --mist3:    #ddd9d0;
  --ink:      #1a1916;
  --ink-2:    #4a4740;
  --ink-3:    #8a8680;
  --ink-4:    #b8b4ac;

  /* Accent */
  --amber:       #d97706;
  --amber-light: #fef3c7;
  --amber-mid:   #fde68a;
  --amber-dark:  #92400e;

  /* Semantic */
  --green:       #16a34a;
  --green-light: #dcfce7;
  --green-mid:   #86efac;
  --red:         #dc2626;
  --red-light:   #fee2e2;
  --red-mid:     #fca5a5;

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(26,25,22,.06);
  --sh-sm: 0 2px 8px rgba(26,25,22,.08), 0 1px 2px rgba(26,25,22,.04);
  --sh-md: 0 4px 20px rgba(26,25,22,.10), 0 2px 6px rgba(26,25,22,.05);
  --sh-lg: 0 12px 40px rgba(26,25,22,.13), 0 4px 12px rgba(26,25,22,.06);

  /* Geometry */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Layout */
  --sb: 248px;

  /* Type */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Outfit', system-ui, sans-serif;

  --ease:    cubic-bezier(.4,0,.2,1);
  --spring:  cubic-bezier(.34,1.56,.64,1);
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; }

/* ═══════════════════════════════════════════
   APP SHELL
═══════════════════════════════════════════ */
.rs-app {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--off);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  max-width: none !important;
  margin: 0 !important;
}

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.rs-sidebar {
  width: var(--sb);
  min-height: 100vh;
  height: 100vh;
  position: sticky;
  top: 0;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--mist2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.rs-sidebar__top {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--mist2);
}

.rs-logo {
  height: 26px;
  width: auto;
  display: block;
}

.rs-sidebar__section {
  padding: 1.25rem 1rem 0.75rem;
}

.rs-overline {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}

/* Place nav */
.rs-place-nav { display: flex; flex-direction: column; gap: 3px; }

.rs-place-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 0.625rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.17s var(--ease);
  color: var(--ink-2);
}

.rs-place-btn:hover {
  background: var(--mist);
  color: var(--ink);
}

.rs-place-btn.active {
  background: var(--amber-light);
  border-color: var(--amber-mid);
  color: var(--amber-dark);
}

.rs-place-btn__pip {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity .17s;
}
.rs-place-btn.active .rs-place-btn__pip { opacity: 1; }

.rs-place-btn__body { display: flex; flex-direction: column; }
.rs-place-btn__name { font-size: 0.8125rem; font-weight: 600; line-height: 1.2; }
.rs-place-btn__addr { font-size: 0.6875rem; color: var(--ink-3); margin-top: 1px; }
.rs-place-btn.active .rs-place-btn__addr { color: var(--amber); }

/* View nav */
.rs-view-nav { display: flex; flex-direction: column; gap: 3px; }

.rs-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.625rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .17s var(--ease);
}
.rs-view-btn svg { opacity: 0.5; flex-shrink: 0; transition: opacity .17s; }
.rs-view-btn:hover { background: var(--mist); color: var(--ink); }
.rs-view-btn:hover svg { opacity: 0.8; }
.rs-view-btn.active {
  background: var(--mist);
  border-color: var(--mist3);
  color: var(--ink);
  font-weight: 600;
}
.rs-view-btn.active svg { opacity: 1; }

.rs-view-btn__count {
  margin-left: auto;
  background: var(--mist2);
  border-radius: 100px;
  padding: 0.1rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--ink-3);
  min-width: 22px;
  text-align: center;
}
.rs-view-btn.active .rs-view-btn__count {
  background: var(--amber-light);
  color: var(--amber-dark);
}

/* Sidebar bottom */
.rs-sidebar__bottom {
  margin-top: auto;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--mist2);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rs-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rs-live__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: livepulse 2.5s ease-in-out infinite;
}

@keyframes livepulse {
  0%, 100% { opacity:1; }
  50%       { opacity:.35; }
}

.rs-live__text { font-size: 0.6875rem; color: var(--green); font-weight: 600; }

.rs-sidebar__copy {
  font-size: 0.625rem;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   BODY
═══════════════════════════════════════════ */
.rs-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── Breadcrumb bar ── */
.rs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--mist2);
  gap: 1rem;
}

.rs-bar__path {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
}

.rs-bar__root { color: var(--ink-3); font-weight: 500; }
.rs-bar__path svg { color: var(--ink-4); }
.rs-bar__current { color: var(--ink); font-weight: 600; }

.rs-bar__sub {
  font-size: 0.6875rem;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── Panels ── */
.rs-panel {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadein .3s var(--ease) both;
}
.rs-panel.hidden { display: none !important; }

@keyframes fadein {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ═══════════════════════════════════════════
   KPI STRIP
═══════════════════════════════════════════ */
.rs-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.rs-kpi {
  background: var(--white);
  border: 1px solid var(--mist2);
  border-radius: var(--r-md);
  padding: 1.25rem 1.375rem 1rem;
  box-shadow: var(--sh-xs);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.rs-kpi:hover { box-shadow: var(--sh-sm); transform: translateY(-1px); }

.rs-kpi__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.rs-kpi__label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.rs-kpi__icon {
  width: 30px; height: 30px;
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
}
.rs-kpi__icon svg { width: 15px; height: 15px; }

.rs-kpi__icon--good  { background: var(--green-light); color: var(--green); }
.rs-kpi__icon--bad   { background: var(--red-light);   color: var(--red); }
.rs-kpi__icon--pct   { background: var(--amber-light); color: var(--amber); }
.rs-kpi__icon--total { background: var(--mist);        color: var(--ink-2); }

.rs-kpi__val {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  color: var(--ink);
}

.rs-kpi__bar {
  height: 3px;
  background: var(--mist2);
  border-radius: 100px;
  overflow: hidden;
}

.rs-kpi__fill {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  transition: width 1.1s var(--ease);
}
.rs-kpi__fill--good  { background: var(--green); }
.rs-kpi__fill--bad   { background: var(--red); }
.rs-kpi__fill--pct   { background: linear-gradient(90deg, var(--amber), var(--amber-dark)); }
.rs-kpi__fill--total { background: var(--ink-3); }

/* ═══════════════════════════════════════════
   OVERVIEW GRID
═══════════════════════════════════════════ */
.rs-overview-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
}

/* ── Cards ── */
.rs-card {
  background: var(--white);
  border: 1px solid var(--mist2);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--sh-xs);
}

.rs-card__title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}

.rs-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.rs-card__head .rs-card__title { margin-bottom: 0; }

.rs-text-btn {
  background: none; border: none; cursor: pointer;
  font-size: 0.75rem; font-weight: 600;
  color: var(--amber); letter-spacing: 0.02em;
  transition: opacity .17s;
}
.rs-text-btn:hover { opacity: 0.7; }

/* ── Ring ── */
/* circumference r=56: 2π×56 ≈ 351.9 */
.rs-ring-wrap {
  position: relative;
  width: 160px; height: 160px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.rs-ring-track {
  fill: none;
  stroke: var(--mist2);
  stroke-width: 9;
}

.rs-ring-bad {
  fill: none;
  stroke: var(--red-mid);
  stroke-width: 9;
  stroke-linecap: butt;
  stroke-dasharray: 351.9;
  stroke-dashoffset: 351.9;
  transition: stroke-dashoffset 1.3s var(--ease);
}

.rs-ring-good {
  fill: none;
  stroke: url(#gGood);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 351.9;
  stroke-dashoffset: 351.9;
  transition: stroke-dashoffset 1.3s var(--ease) 0.1s;
  filter: drop-shadow(0 0 4px rgba(22,163,74,.25));
}

.rs-ring-info {
  position: relative;
  z-index: 1;
  text-align: center;
}

.rs-ring-pct {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.rs-ring-hint {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin-top: 0.25rem;
}

.rs-ring-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--ink-2);
}

.rs-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.rs-dot--good { background: var(--green); }
.rs-dot--bad  { background: var(--red-mid); }

/* ── Recent feed ── */
.rs-recent-feed {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--mist2);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.rs-recent-item {
  background: var(--white);
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background .17s;
  animation: fadein .3s var(--ease) both;
}
.rs-recent-item:hover { background: var(--off); }

.rs-recent-item__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rs-recent-item__ava {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--amber-light);
  border: 1px solid var(--amber-mid);
  color: var(--amber-dark);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.rs-recent-item__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-recent-item__ph {
  font-size: 0.6875rem;
  color: var(--ink-4);
}

.rs-recent-item__text {
  font-size: 0.8125rem;
  color: var(--ink-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   TOOLBAR (comments tab)
═══════════════════════════════════════════ */
.rs-toolbar {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--mist2);
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
  box-shadow: var(--sh-xs);
}

.rs-search-box {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.rs-search-box svg {
  position: absolute;
  left: 0.75rem;
  top: 50%; transform: translateY(-50%);
  color: var(--ink-4);
  pointer-events: none;
}

.rs-search {
  width: 100%;
  padding: 0.55rem 0.875rem 0.55rem 2.25rem;
  background: var(--mist);
  border: 1px solid var(--mist2);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  color: var(--ink);
  outline: none;
  transition: border-color .17s, background .17s;
}
.rs-search::placeholder { color: var(--ink-4); }
.rs-search:focus { background: var(--white); border-color: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,.1); }

.rs-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rs-filter-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.rs-select {
  padding: 0.5rem 0.75rem;
  background: var(--mist);
  border: 1px solid var(--mist2);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  transition: border-color .17s;
  appearance: auto;
}
.rs-select:focus { border-color: var(--amber); }

.rs-toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.rs-count-chip {
  background: var(--mist);
  border: 1px solid var(--mist2);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-3);
  white-space: nowrap;
}

.rs-icon-btn {
  width: 28px; height: 28px;
  background: var(--mist);
  border: 1px solid var(--mist2);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink-3);
  transition: all .17s;
}
.rs-icon-btn:hover { background: var(--red-light); color: var(--red); border-color: var(--red-mid); }

/* ═══════════════════════════════════════════
   COMMENTS LIST
═══════════════════════════════════════════ */
.rs-comments {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rs-cmt {
  display: flex;
  gap: 0.875rem;
  background: var(--white);
  border: 1px solid var(--mist2);
  border-radius: var(--r-md);
  padding: 1.125rem 1.375rem;
  box-shadow: var(--sh-xs);
  transition: box-shadow .18s, transform .18s;
  animation: fadein .3s var(--ease) both;
}
.rs-cmt:hover { box-shadow: var(--sh-sm); transform: translateY(-1px); }
.rs-cmt:first-child {
  border-color: var(--amber-mid);
  background: linear-gradient(to right, var(--amber-light) 0%, var(--white) 35%);
}

.rs-cmt__ava {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--amber-light);
  border: 1.5px solid var(--amber-mid);
  color: var(--amber-dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  margin-top: 1px;
}
.rs-cmt:not(:first-child) .rs-cmt__ava {
  background: var(--mist);
  border-color: var(--mist2);
  color: var(--ink-3);
}

.rs-cmt__right { flex: 1; min-width: 0; }

.rs-cmt__row1 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.rs-cmt__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.rs-cmt__phone {
  font-size: 0.75rem;
  color: var(--ink-4);
  background: var(--mist);
  border-radius: var(--r-xs);
  padding: 0.1rem 0.45rem;
  font-variant-numeric: tabular-nums;
}

.rs-cmt__num {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--ink-4);
  letter-spacing: 0.06em;
}

.rs-cmt__text {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.65;
  padding-left: 0.875rem;
  border-left: 2px solid var(--mist3);
}
.rs-cmt:first-child .rs-cmt__text { border-left-color: var(--amber-mid); }

/* ── Skeleton ── */
.rs-skel {
  height: 64px;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--mist) 25%, var(--mist2) 50%, var(--mist) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.rs-skel--lg { height: 88px; }

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

.rs-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--ink-4);
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════════
   PUBLIC PAGES
═══════════════════════════════════════════ */
body {
  background: var(--off);
  color: var(--ink);
  font-family: var(--sans);
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.main { display: flex; flex-direction: column; align-items: center; width: 100%; }

.logo { margin-bottom: 2rem; }
.logo img { height: 30px; width: auto; display: block; margin: auto; }

.rate_text {
  background: var(--white);
  border: 1px solid var(--mist2);
  border-top: 3px solid var(--amber);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  box-shadow: var(--sh-sm);
  position: relative;
}
.rate_text::before {
  content: '❝';
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-size: 1.75rem;
  color: var(--amber);
  font-family: serif;
  line-height: 1;
  background: var(--off);
  padding: 0 8px;
}

.rate_btn {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  margin-top: 3rem;
}

.rate_btn .qr-btn {
  width: 76px; height: 76px;
  border: none; background: transparent;
  background-image: url('https://www.superbis.com.ua/wp-content/uploads/2025/10/emoji.png');
  background-repeat: no-repeat;
  background-size: 600% 100%;
  cursor: pointer; border-radius: 50%;
  transition: transform .3s var(--spring), filter .2s;
  filter: drop-shadow(0 3px 10px rgba(26,25,22,.14));
}
.rate_btn .qr-btn:hover { transform: scale(1.2) translateY(-5px); filter: drop-shadow(0 10px 20px rgba(26,25,22,.2)); }
.rate_btn .qr-btn--bad       { background-position: 0% 0; }
.rate_btn .qr-btn--neutral   { background-position: 80.5% 0; }
.rate_btn .qr-btn--good      { background-position: 40.25% 0; }
.rate_btn .qr-btn--bad:hover     { background-position: 20.25% 0; }
.rate_btn .qr-btn--neutral:hover { background-position: 102% 0; }
.rate_btn .qr-btn--good:hover    { background-position: 60.85% 0; }

/* Form */
.question_form { width: 100%; }
.qr-question-call-me__input-block { margin-bottom: 1.125rem; }

label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.form-control {
  display: block; width: 100%;
  padding: 0.7rem 0.875rem;
  background: var(--white); border: 1px solid var(--mist2);
  border-radius: var(--r-sm);
  font-size: 0.875rem; color: var(--ink);
  outline: none; transition: border-color .17s, box-shadow .17s;
}
.form-control::placeholder { color: var(--ink-4); }
.form-control:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,.1); }
textarea.form-control { min-height: 110px; resize: vertical; }

.qr-question-form__controls { margin-top: 1.25rem; }

.qr-question-form__btn, .btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--amber); color: var(--white);
  font-family: var(--sans); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.06em;
  text-transform: uppercase; border: none;
  border-radius: var(--r-sm); cursor: pointer;
  transition: all .2s var(--ease);
  box-shadow: 0 2px 8px rgba(217,119,6,.3);
}
.qr-question-form__btn:hover, .btn:hover {
  background: var(--amber-dark); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217,119,6,.35);
}
.qr-question-form__btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Thanks */
.ifuserrateservice { text-align: center; width: 100%; }
.ifuserrate_text img {
  width: 88px; height: 88px; border-radius: 50%;
  border: 2px solid var(--amber-mid);
  box-shadow: 0 0 0 6px var(--amber-light);
  margin-bottom: 1.25rem; object-fit: cover;
}
.ifuserrate_btn { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 0.625rem; }
.page-qr__sended-subtitle { color: var(--ink-2); font-size: 0.875rem; line-height: 1.65; }

/* Login */
.login-container {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  background: var(--mist); padding: 1.5rem;
}
.login-card {
  background: var(--white); border: 1px solid var(--mist2);
  border-top: 3px solid var(--amber);
  border-radius: var(--r-xl); padding: 2.5rem 2rem;
  width: 100%; max-width: 360px;
  text-align: center; box-shadow: var(--sh-md);
}
.login-card .logo { margin-bottom: 1.5rem; }
.login-card .logo img { filter: none; opacity: 1; }
.login-card .title { font-family: var(--serif); font-size: 1.75rem; color: var(--ink); margin-bottom: 0.25rem; }
.login-card .subtitle { color: var(--ink-3); font-size: 0.8125rem; margin-bottom: 1.75rem; }
.login-form { display: flex; flex-direction: column; gap: 0.75rem; }
.login-form input {
  width: 100%; padding: 0.7rem 0.875rem;
  background: var(--mist); border: 1px solid var(--mist2);
  border-radius: var(--r-sm); font-size: 0.875rem; color: var(--ink); outline: none;
  transition: border-color .17s, background .17s;
}
.login-form input:focus { background: var(--white); border-color: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,.1); }
.login-form button {
  padding: 0.75rem; background: var(--amber); color: var(--white);
  font-family: var(--sans); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  border: none; border-radius: var(--r-sm); cursor: pointer; margin-top: 0.25rem;
  transition: background .2s; box-shadow: 0 2px 8px rgba(217,119,6,.25);
}
.login-form button:hover { background: var(--amber-dark); }
.login-card p.error { color: var(--red); margin-top: 0.75rem; font-size: 0.8125rem; }

.footer {
  margin-top: 2.5rem; padding-top: 1rem;
  border-top: 1px solid var(--mist2);
  text-align: center; font-size: 0.6875rem; color: var(--ink-4); width: 100%;
}
.footer a { color: var(--amber); text-decoration: none; font-weight: 600; }

.container_h1 {
  font-family: var(--serif); font-size: 1.75rem;
  color: var(--ink); margin-bottom: 1.75rem;
  text-align: center; width: 100%;
}

/* ── Utility ── */
.hidden { display: none !important; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rs-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .rs-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .rs-sidebar { display: none; }
  .rs-bar  { padding: 0.625rem 1.25rem; }
  .rs-panel { padding: 1.25rem; }
  .rs-kpi-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .rs-kpi-strip { grid-template-columns: 1fr 1fr; }
  .rs-toolbar { gap: 0.5rem; }
  .rs-filters { gap: 0.375rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
