/* Dabrowski Hockey — Apple-inspired glass UI */
:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #2c2c2e;
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-light: rgba(255, 255, 255, 0.45);
  --glass: rgba(255, 255, 255, 0.42);
  --glass-panel: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.55);
  --glass-menu: rgba(255, 255, 255, 0.12);
  --btn-fill: rgba(255, 255, 255, 0.18);
  --accent: #34c759; /* soft Apple green — same as open schedule blocks */
  --accent-press: #2fb350;
  --accent-ink: #0b3d1f; /* dark text on green fills */
  --accent-link: #1f7a3a; /* readable green for links/text on light bg */
  --accent-ring: rgba(52, 199, 89, 0.35);
  --open-fill: rgba(52, 199, 89, 0.18);
  --open-text: #0b3d1f;
  --closed-fill: rgba(0, 0, 0, 0.04);
  --blur: 48px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 1px 0 rgba(255,255,255,0.4) inset;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.12);
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: #fff;
  background: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { min-height: 100dvh; overflow-x: hidden; }
a { color: var(--accent-link); }
button, input { font: inherit; }

/* Fixed hero */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 22%;
  transform: scale(1.02);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.28) 0%,
      rgba(0,0,0,0.08) 32%,
      rgba(0,0,0,0.22) 62%,
      rgba(0,0,0,0.55) 100%);
}

/* Home */
.home {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(1.35rem, env(safe-area-inset-top)) 1.1rem max(1.1rem, env(safe-area-inset-bottom));
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.home.is-dimmed {
  opacity: 0.35;
  pointer-events: none;
  transform: scale(0.988);
}
.home-captions {
  margin-top: 11vh;
  text-align: center;
}
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.home-captions h1 {
  margin: 0;
  font-size: clamp(2.35rem, 9vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.12),
    0 2px 24px rgba(0,0,0,0.45);
}

/* Bottom glass menu — Apple liquid-glass */
.frost-menu {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.7rem;
  border-radius: 28px;
  background: var(--glass-menu);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--hairline-light);
  box-shadow: var(--shadow), 0 0 0 0.5px rgba(0,0,0,0.06);
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}
.menu-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: #0a0a0a;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  padding: 0.92rem 1rem;
  font-weight: 750;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.35);
  text-shadow: 0 1px 0 rgba(255,255,255,0.55), 0 0 12px rgba(255,255,255,0.25);
}
.menu-btn:hover, .menu-btn:focus-visible {
  background: rgba(255,255,255,0.16);
  transform: translateY(-0.5px);
  outline: none;
}
.menu-btn:active { transform: scale(0.985); }
.menu-btn .ext { opacity: 0.4; font-size: 0.8em; margin-left: 0.15rem; }

/* Backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.backdrop.show { opacity: 1; }
.backdrop[hidden], .panel[hidden] { display: none !important; }

/* True Apple glass panels — photo clearly visible underneath */
.panel {
  position: fixed;
  z-index: 30;
  inset: max(0.55rem, env(safe-area-inset-top)) 0.55rem max(0.55rem, env(safe-area-inset-bottom));
  max-width: 720px;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--glass-panel);
  backdrop-filter: blur(var(--blur)) saturate(190%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(190%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.28),
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 0 0 0.5px rgba(0,0,0,0.08);
  color: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.panel.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.panel-book {
  z-index: 40;
  inset: auto 0.7rem max(1rem, env(safe-area-inset-bottom));
  top: auto;
  max-height: min(88dvh, 620px);
  max-width: 460px;
  background: rgba(255, 255, 255, 0.28);
}

.close-bubble {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink-2);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: grid;
  place-items: center;
  padding: 0 0 1px;
  transition: background 0.15s ease;
}
.close-bubble:hover { background: rgba(255,255,255,0.8); }

.panel-inner {
  padding: 1.4rem 1.2rem 1.5rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}
.panel-inner.narrow { padding-top: 1.55rem; }
.panel h2 {
  margin: 0 2.2rem 0.3rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.week-label {
  margin: 0 0 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.loc { margin: 0 0 0.45rem; font-size: 0.92rem; line-height: 1.45; color: var(--ink); }
.muted { color: var(--ink-3); }
.muted.small, .small { font-size: 0.84rem; }
.hint { margin: 0 0 0.85rem; font-size: 0.88rem; color: var(--ink-3); letter-spacing: -0.01em; }

/* Schedule — iOS Calendar soft cells */
.sched-wrap { overflow: auto; -webkit-overflow-scrolling: touch; margin: 0 -0.15rem; }
.sched-grid {
  display: grid;
  grid-template-columns: 48px repeat(7, minmax(60px, 1fr));
  gap: 4px;
  min-width: 540px;
  font-size: 0.7rem;
}
.sched-grid .corner { background: transparent; }
.sched-grid .day-head, .sched-grid .time-lab {
  text-align: center;
  font-weight: 600;
  color: var(--ink-2);
  padding: 0.4rem 0.1rem;
  position: sticky;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: -0.01em;
}
.sched-grid .day-head { top: 0; z-index: 2; border-radius: 10px 10px 0 0; }
.sched-grid .day-head .dow { display: block; font-size: 0.72rem; }
.sched-grid .day-head .dat { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.65rem; margin-top: 1px; }
.sched-grid .time-lab {
  left: 0;
  z-index: 1;
  text-align: right;
  padding-right: 0.4rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink-3);
  font-size: 0.65rem;
}
.slot {
  border: none;
  border-radius: 10px;
  min-height: 30px;
  padding: 0;
  cursor: default;
  background: var(--closed-fill);
  color: transparent;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.04);
}
.slot.open {
  background: var(--open-fill);
  color: var(--open-text);
  cursor: pointer;
  font-weight: 650;
  font-size: 0.6rem;
  letter-spacing: -0.02em;
  box-shadow:
    inset 0 0 0 1px rgba(52, 199, 89, 0.35),
    0 1px 3px rgba(52, 199, 89, 0.12);
}
.slot.open:hover {
  background: rgba(52, 199, 89, 0.28);
  transform: scale(1.02);
}
.slot.open:focus-visible {
  outline: 2px solid #34c759;
  outline-offset: 1px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.swatch {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 5px;
  margin-right: 0.15rem;
}
.swatch.open {
  background: var(--open-fill);
  box-shadow: inset 0 0 0 1px rgba(52, 199, 89, 0.35);
}
.swatch.closed { background: var(--closed-fill); box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.06); }

/* Booking form */
.book-form { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.7rem; }
.book-form label {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.book-form input {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 0.78rem 0.9rem;
  background: rgba(255,255,255,0.65);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.book-form input:focus {
  outline: none;
  border-color: rgba(52, 199, 89, 0.45);
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2);
  background: rgba(255,255,255,0.85);
}
.solo-note {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 550;
  color: #8a6116;
  background: rgba(255, 214, 10, 0.18);
  border: 1px solid rgba(255, 214, 10, 0.35);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  letter-spacing: -0.01em;
}
.primary-btn {
  appearance: none;
  border: none;
  border-radius: 980px;
  padding: 0.88rem 1.2rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
  transition: background 0.15s ease, transform 0.12s ease;
}
.primary-btn:hover { background: var(--accent-press); }
.primary-btn:active { transform: scale(0.98); }
.primary-btn.sm { padding: 0.5rem 0.95rem; font-size: 0.88rem; }
.email-line { margin: 1rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.copy-email {
  border: none;
  background: transparent;
  color: var(--accent-link);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.copy-email:hover { text-decoration: underline; }

/* Services / pricing */
.card {
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  margin: 0.7rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.card p { margin: 0.2rem 0; line-height: 1.45; color: var(--ink-2); font-size: 0.92rem; }
.card .price {
  font-weight: 650;
  color: var(--ink);
  margin-top: 0.5rem !important;
  letter-spacing: -0.015em;
}
.price-list {
  list-style: none;
  margin: 0.8rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  padding: 0.78rem 0.95rem;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.price-list strong {
  color: var(--ink);
  white-space: nowrap;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.subhead {
  margin: 1.2rem 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pill-list li {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-2);
  border-radius: 980px;
  padding: 0.38rem 0.75rem;
  font-weight: 550;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  border: 1px solid rgba(0,0,0,0.04);
}

/* Admin (kept readable, slightly softened) */
.admin-body {
  background: #f5f5f7;
  color: var(--ink);
  min-height: 100dvh;
}
.admin-body a { color: var(--accent-link); }
.admin-login-card {
  max-width: 380px;
  margin: 12vh auto;
  padding: 1.6rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
}
.admin-login-card h1 { margin: 0 0 0.25rem; color: var(--ink); font-size: 1.35rem; letter-spacing: -0.03em; }
.admin-login-card .book-form input { background: #fff; color: var(--ink); }
.error { color: #c41e3a; font-weight: 600; }
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
}
.admin-top h1 { margin: 0; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.03em; }
.admin-top .week-label { color: var(--ink-3); margin: 0.25rem 0 0; }
.admin-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ghost-btn {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.8);
  color: var(--ink);
  border-radius: 980px;
  padding: 0.48rem 0.9rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: 550;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}
.ghost-btn:hover { background: #fff; }
.admin-main { padding: 1rem 1.25rem 2.5rem; max-width: 1100px; }
.admin-main .hint { color: var(--ink-3); }
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
.admin-sched .sched-grid {
  background: rgba(255,255,255,0.6);
  padding: 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
}
.admin-sched .sched-grid .day-head,
.admin-sched .sched-grid .time-lab {
  background: rgba(255,255,255,0.75);
  color: var(--ink-2);
}
.admin-sched .sched-grid .day-head .dat { color: var(--ink-3); }
.admin-sched .slot { cursor: pointer; min-height: 32px; }
.admin-sched .slot.open::after {
  content: "Open";
  color: var(--open-text);
  font-size: 0.58rem;
  font-weight: 650;
}
.admin-hero-card {
  margin-top: 1.5rem;
  padding: 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  max-width: 480px;
  box-shadow: var(--shadow-soft);
}
.admin-hero-card h2 { margin: 0 0 0.35rem; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.02em; }
.hero-preview {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .home { padding: 2rem 2rem 1.5rem; }
  .frost-menu { padding: 0.85rem; gap: 0.5rem; }
  .menu-btn { font-size: 1.05rem; padding: 1.05rem 1.1rem; }
  .panel {
    inset: 1.25rem auto 1.25rem;
    left: 50%;
    transform: translate(-50%, 14px) scale(0.985);
    width: min(720px, calc(100% - 2.5rem));
  }
  .panel.show { transform: translate(-50%, 0) scale(1); }
  .panel-book { left: 50%; right: auto; width: min(460px, calc(100% - 2rem)); }
  .hero-img { object-position: 40% 28%; }
}

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

/* Admin three-state slots + tap flash */
.admin-sched .slot.closed {
  background: rgba(0, 0, 0, 0.06);
  color: transparent;
}
.admin-sched .slot.empty {
  background: transparent;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08);
  color: #8e8e93;
  font-weight: 500;
  font-size: 0.75rem;
}
.admin-sched .slot.open::after { content: none; }
.admin-sched .slot.slot-flash {
  outline: 2px solid rgba(52, 199, 89, 0.45);
  outline-offset: 1px;
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
}
.admin-sched .slot.empty.slot-flash { color: #8e8e93 !important; }
.admin-sched .slot.open.slot-flash { color: var(--open-text) !important; }


/* High-contrast panel lettering */
.panel,
.panel h2,
.panel h3,
.panel .week-label,
.panel .loc,
.panel .hint,
.panel .legend,
.panel .subhead,
.panel .card,
.panel .card p,
.panel .price-list li,
.panel .pill-list li,
.panel .email-line,
.panel .muted,
.panel .solo-note,
.book-form label {
  color: var(--ink);
}
.panel .muted,
.panel .hint,
.panel .legend,
.sched-grid .day-head .dat,
.sched-grid .time-lab {
  color: var(--ink-2);
}
.panel .card .price,
.price-list strong {
  color: var(--ink);
}
.sched-grid .day-head,
.sched-grid .time-lab {
  color: var(--ink);
  font-weight: 650;
}

/* Pricing: denser glass (~50% more opacity than light panels) */
#panel-pricing {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(52px) saturate(190%);
  -webkit-backdrop-filter: blur(52px) saturate(190%);
}
#panel-pricing .price-list li,
#panel-pricing .pill-list li {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Pricing group-up callout */
.price-callout {
  margin: 0.75rem 0 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.price-callout h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}
.price-callout p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #0a0a0a;
  font-weight: 500;
}
.price-callout .callout-price {
  display: block;
  margin-top: 0.55rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}
.price-note {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #141414;
  font-weight: 500;
}

.card .request-btn { margin-top: 0.75rem; }
.card .price + .request-btn { margin-top: 0.65rem; }

/* Admin content editor */
.ce-main { max-width: 720px; }
.ce-details {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  margin: 0 0 0.85rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.ce-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ce-details > summary::-webkit-details-marker { display: none; }
.ce-details > summary::after { content: "Edit ›"; font-weight: 600; font-size: 0.85rem; color: var(--accent-link); }
.ce-details[open] > summary::after { content: "Close"; }
.ce-section { padding: 0 1.1rem 1.1rem; }
.ce-field { display: flex; flex-direction: column; gap: 0.35rem; margin: 0 0 0.9rem; }
.ce-label, .ce-card label { font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.ce-card label { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.55rem; }
.ce-in {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 16px; /* avoids iOS zoom */
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  resize: vertical;
}
.ce-in:focus { outline: none; border-color: rgba(52, 199, 89, 0.5); box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2); }
.ce-list { display: flex; flex-direction: column; gap: 0.5rem; }
.ce-row { display: grid; grid-template-columns: 1fr 7.5rem 2.25rem; gap: 0.4rem; align-items: center; }
.ce-card { position: relative; background: #f5f5f7; border-radius: 14px; padding: 0.85rem 0.85rem 0.35rem; }
.ce-x {
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1); background: #fff; color: #c41e3a;
  font-size: 1.2rem; cursor: pointer;
}
.ce-x-card { position: absolute; top: 0.5rem; right: 0.5rem; }
.ce-add { margin-top: 0.5rem; align-self: flex-start; }
.ce-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-top: 0.5rem;
  position: sticky; bottom: 0; background: rgba(255,255,255,0.92); padding: 0.6rem 0; }
.ce-status { font-size: 0.85rem; color: var(--ink-3); }
.ce-status.ok { color: #1f7a3a; font-weight: 600; }
.ce-status.bad { color: #c41e3a; font-weight: 600; }
@media (max-width: 420px) { .ce-row { grid-template-columns: 1fr 5.5rem 2.25rem; } }
