:root {
  --bg-deep: #070b12;
  --bg-mid: #0d1420;
  --panel: #f4f6f9;
  --panel-soft: #e8ecf2;
  --ink: #12171f;
  --ink-muted: #5a6578;
  --crm: #1fa8a0;
  --crm-deep: #148078;
  --interview: #e8942a;
  --interview-deep: #c57412;
  --white: #ffffff;
  --danger: #d64545;
  --radius: 1.25rem;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  --panel-width: 340px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ——— Geo background ——— */
.geo-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(31, 168, 160, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(232, 148, 42, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(61, 139, 253, 0.08), transparent 60%),
    linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-mid) 48%, #0a1018 100%);
  overflow: hidden;
}

.geo-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.geo-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.55;
}

.geo-shape.line-h {
  height: 1px;
  width: 48vw;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  top: 28%;
  left: 4%;
  animation: pulse-line 4s ease-in-out infinite, drift-x 18s ease-in-out infinite;
}

.geo-shape.line-v {
  width: 1px;
  height: 42vh;
  border: none;
  background: linear-gradient(180deg, transparent, rgba(31, 168, 160, 0.42), transparent);
  top: 36%;
  right: 24%;
  animation: pulse-line 5.5s ease-in-out infinite 0.6s, drift-y 16s ease-in-out infinite;
}

.geo-shape.line-h-2 {
  top: 62%;
  left: 28%;
  width: 38vw;
  background: linear-gradient(90deg, transparent, rgba(232, 148, 42, 0.35), transparent);
  animation: pulse-line 3.6s ease-in-out infinite 0.8s, drift-x 14s ease-in-out infinite reverse;
}

.geo-shape.line-v-2 {
  top: 12%;
  right: 48%;
  height: 28vh;
  background: linear-gradient(180deg, transparent, rgba(61, 139, 253, 0.4), transparent);
  animation: pulse-line 4.8s ease-in-out infinite 1.2s, drift-y 12s ease-in-out infinite reverse;
}

.geo-shape.diamond {
  width: 54px;
  height: 54px;
  bottom: 12%;
  right: 12%;
  transform: rotate(45deg);
  border-color: rgba(232, 148, 42, 0.45);
  animation: float-diamond 9s ease-in-out infinite 0.5s;
}

.geo-shape.ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: 8%;
  right: 6%;
  border-color: rgba(31, 168, 160, 0.35);
  animation: drift 14s ease-in-out infinite;
}

.geo-shape.ring-sm {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  bottom: 18%;
  left: 10%;
  border-color: rgba(232, 148, 42, 0.4);
  animation: drift 11s ease-in-out infinite reverse;
}

.geo-shape.triangle {
  width: 0;
  height: 0;
  border: none;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 120px solid rgba(61, 139, 253, 0.12);
  top: 55%;
  right: 18%;
  animation: spin-slow 28s linear infinite;
  transform-origin: 50% 70%;
}

.geo-shape.square {
  width: 90px;
  height: 90px;
  top: 22%;
  left: 18%;
  transform: rotate(18deg);
  border-color: rgba(255, 255, 255, 0.14);
  animation: float-y 10s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 22px) scale(1.08); }
  66% { transform: translate(18px, -16px) scale(0.96); }
}

@keyframes drift-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(40px); }
}

@keyframes drift-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-36px); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(18deg); }
  50% { transform: translateY(-28px) rotate(28deg); }
}

@keyframes float-diamond {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-22px) rotate(58deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.95; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes tick-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ——— Shell ——— */
.site {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding:
    calc(0.9rem + env(safe-area-inset-top))
    calc(0.9rem + env(safe-area-inset-right))
    calc(1.25rem + env(safe-area-inset-bottom))
    calc(0.9rem + env(safe-area-inset-left));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  animation: fade-down 0.7s ease both;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow: visible;
}

.logo-text span {
  display: block;
  font-weight: 600;
  font-size: 0.58em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.site-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.35rem;
  padding-bottom: 1rem;
}

.back-link {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}

.back-link:hover {
  color: #fff;
}

/* ——— Home ——— */
.view[hidden] {
  display: none !important;
}

.home-panel {
  width: min(100%, var(--panel-width));
  background: var(--panel);
  color: var(--ink);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.6rem 1.25rem 1.45rem;
  box-shadow: var(--shadow);
  animation: fade-up 0.75s ease 0.12s both;
  overflow: visible;
}

.home-title {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  overflow: visible;
}

.home-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

.home-sub {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.btn-stack {
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  gap: 0.7rem;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.35;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-crm {
  background: linear-gradient(145deg, #28c4ba 0%, var(--crm) 45%, var(--crm-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 168, 160, 0.28);
}

.btn-interview {
  background: linear-gradient(145deg, #f5b04a 0%, var(--interview) 48%, var(--interview-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(232, 148, 42, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  box-shadow: none;
  min-height: 2.75rem;
}

.btn-ghost:hover {
  color: var(--ink);
  transform: none;
}

/* ——— Modal ——— */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  width: min(100%, var(--panel-width));
  background: var(--panel);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s ease;
  position: relative;
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal h2 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  overflow: visible;
}

.modal .hint {
  color: var(--ink-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-group input {
  width: 100%;
  border: 1px solid #d0d7e2;
  border-radius: 0.7rem;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--ink);
  outline: none;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  border-color: var(--crm);
  box-shadow: 0 0 0 3px rgba(31, 168, 160, 0.2);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--panel-soft);
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.form-error {
  display: none;
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.form-error.is-visible {
  display: block;
}

/* ——— Interview request flow ——— */
.flow-panel {
  width: min(100%, var(--panel-width));
  background: var(--panel);
  color: var(--ink);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.25rem 1.1rem 1.35rem;
  box-shadow: var(--shadow);
  animation: fade-up 0.65s ease both;
  overflow: visible;
}

.flow-step[hidden] {
  display: none !important;
}

.flow-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crm-deep);
  background: rgba(31, 168, 160, 0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.flow-panel h1,
.flow-panel h1.title-safe {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.45;
  margin: 0 0 0.65rem;
  overflow: visible;
  padding: 0.1em 0 0.2em;
}

.flow-lead {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  overflow: visible;
  padding-bottom: 0.1em;
}

.flow-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.flow-progress i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #dce3ee;
}

.flow-progress i.is-on {
  background: linear-gradient(90deg, var(--crm), var(--interview));
}

.cal-month {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  text-align: center;
  line-height: 1.35;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.cal-grid .head {
  background: transparent;
  font-weight: 700;
  color: #9aa3b5;
  font-size: 0.62rem;
  aspect-ratio: auto;
  min-height: 1.2rem;
}

.cal-grid button,
.cal-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  border-radius: 0.45rem;
  color: #6b7588;
  background: #eef1f6;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cal-grid button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cal-grid button.is-weekend:disabled {
  opacity: 0.55;
  color: #b0b7c4;
  background: #f3f5f8;
}

.cal-grid button.is-other-month:disabled {
  opacity: 0.22;
}

.cal-grid button.is-picked {
  background: var(--interview);
  color: #fff;
  opacity: 1;
}

.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.slot {
  font-size: 0.85rem;
  text-align: center;
  padding: 0.7rem 0.35rem;
  border-radius: 0.55rem;
  background: #eef1f6;
  color: var(--ink);
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.slot.is-on {
  background: rgba(31, 168, 160, 0.18);
  color: var(--crm-deep);
  outline: 1px solid rgba(31, 168, 160, 0.45);
}

.confirm-card {
  margin-top: 0.35rem;
  background: #fff;
  border-radius: 0.95rem;
  padding: 1.15rem 1rem;
  border: 1px solid #dde3ec;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.confirm-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: rgba(232, 148, 42, 0.18);
  color: var(--interview);
  display: grid;
  place-items: center;
  animation: pop 0.55s ease both;
}

.confirm-card strong {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
  overflow: visible;
  padding: 0.1em 0 0.15em;
  display: block;
}

.confirm-card p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  overflow: visible;
  padding-bottom: 0.08em;
}

.confirm-meta {
  width: 100%;
  text-align: left;
  background: var(--panel-soft);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.45;
  display: grid;
  gap: 0.55rem;
}

.confirm-row span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.12rem;
}

.confirm-row div {
  font-weight: 650;
  word-break: break-word;
  line-height: 1.45;
  overflow: visible;
  padding-bottom: 0.05em;
}

/* ——— CRM app shell ——— */
body.crm-body {
  background: #0b111a;
}

body.crm-body .geo-bg {
  opacity: 0.45;
}

.crm-app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.crm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.85rem;
  background: #101826;
  color: #fff;
}

.crm-top-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.crm-top-brand .logo-mark {
  width: 34px;
  height: 34px;
}

.crm-top-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.crm-top-brand small {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}

.crm-logout {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  cursor: pointer;
}

.crm-body-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.crm-panel {
  position: relative;
  flex: 1;
  padding: 1rem 1rem 5.5rem;
  overflow: auto;
  animation: fade-up 0.35s ease both;
  min-height: 0;
}

.crm-panel[hidden] {
  display: none !important;
}

.crm-panel.is-locked-panel {
  overflow: hidden;
}

.crm-panel h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.crm-panel .sub {
  color: var(--ink-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.crm-cards {
  display: grid;
  gap: 0.7rem;
}

.crm-card {
  background: #fff;
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  border: 1px solid #e2e8f0;
}

.crm-card h3 {
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.crm-card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.crm-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.crm-stat {
  background: #fff;
  border-radius: 0.9rem;
  padding: 0.85rem;
  border: 1px solid #e2e8f0;
}

.crm-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.crm-stat span {
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.crm-lock {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(16, 24, 38, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.crm-lock-card {
  width: min(100%, 300px);
  background: #fff;
  border-radius: 1rem;
  padding: 1.45rem 1.2rem;
  text-align: center;
  box-shadow: 0 22px 48px rgba(16, 24, 38, 0.35);
  border: 1px solid #e5ebf3;
}

.crm-lock-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.85rem;
  background: rgba(214, 69, 69, 0.1);
  color: var(--danger);
  display: grid;
  place-items: center;
}

.crm-lock-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.crm-lock-card p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.crm-nav {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.15rem;
  padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #e2e8f0;
  backdrop-filter: blur(10px);
  z-index: 8;
}

.crm-nav button {
  appearance: none;
  border: none;
  background: transparent;
  color: #8a94a6;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.15rem;
  border-radius: 0.65rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.crm-nav button svg {
  width: 1.2rem;
  height: 1.2rem;
}

.crm-nav button.is-active {
  color: var(--crm-deep);
  background: rgba(31, 168, 160, 0.1);
}

.crm-nav button.is-locked {
  color: #a0a8b6;
}

.countdown {
  background: #101826;
  color: #fff;
  border-radius: 1.1rem;
  padding: 1.2rem 1rem 1.1rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.countdown .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.countdown-unit {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  padding: 0.65rem 0.25rem;
  animation: tick-pulse 2s ease-in-out infinite;
}

.countdown-unit b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 5vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.countdown-unit span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 650;
  text-transform: uppercase;
}

.countdown-date {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: #f5b04a;
}

.interview-person {
  background: #fff;
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  border: 1px solid #e2e8f0;
  display: grid;
  gap: 0.55rem;
}

.interview-person .row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.interview-person .row span {
  color: var(--ink-muted);
}

.interview-person .row strong {
  text-align: right;
}

.empty-interview {
  background: #fff;
  border-radius: 0.95rem;
  padding: 1.25rem 1rem;
  border: 1px dashed #cfd7e4;
  text-align: center;
}

.empty-interview p {
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

@media (max-width: 480px) {
  :root {
    --panel-width: min(100%, 320px);
    --radius: 1.1rem;
  }

  .geo-shape.ring {
    width: 140px;
    height: 140px;
  }

  .geo-shape.triangle {
    border-left-width: 36px;
    border-right-width: 36px;
    border-bottom-width: 62px;
  }

  .geo-shape.square,
  .geo-shape.diamond {
    opacity: 0.35;
  }

  .site-header {
    margin-bottom: 0.85rem;
  }

  .logo-text {
    font-size: 0.98rem;
  }

  .home-panel,
  .flow-panel,
  .modal {
    width: min(100%, var(--panel-width));
    border-radius: 1.1rem;
    margin-inline: auto;
  }

  .btn-stack {
    width: 100%;
  }

  .btn-stack .btn {
    width: 100%;
  }

  .form-group input {
    min-height: 3rem;
    font-size: 16px;
  }

  .cal-grid button,
  .cal-grid span {
    font-size: 0.82rem;
  }

  .slot {
    min-height: 2.75rem;
    font-size: 0.9rem;
  }

  .crm-app {
    max-width: 100%;
    min-height: 100dvh;
  }

  .crm-nav button {
    font-size: 0.58rem;
    min-height: 3.1rem;
  }
}

@media (min-width: 481px) {
  .site-main {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
