/* zy-shell.css — styles for the shared panel, plan chip, upsell and toasts.
   Each app sets the --zy-* variables to its own palette; the defaults are a
   neutral dark theme. Everything is prefixed zy- so it never collides with
   an app's own classes. */

/* :where() keeps these defaults at zero specificity, so an app's own
   html { --zy-*: … } mapping always wins (with :root they outranked it, and
   the shared dialogs stayed dark in the light themes). */
:where(:root) {
  --zy-bg: #14161B;
  --zy-surface: #1B1E24;
  --zy-border: rgba(255, 255, 255, 0.10);
  --zy-text: #F4F3F0;
  --zy-muted: #B8BAC2;
  --zy-accent: #C9A227;
  --zy-accent-text: #0A0B0E;
  --zy-accent-ink: #C9A227;   /* the accent as text (links, badges): AA on --zy-bg / --zy-surface */
  --zy-ok: #2ECC8F;
  --zy-warn: #E4C24C;
  --zy-danger: #FF6B5E;
  --zy-radius: 16px;
  --zy-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- plan chip ---------- */
.zy-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 12px;
  border: 1px solid var(--zy-border); border-radius: 999px;
  background: var(--zy-surface); color: var(--zy-text);
  font: 600 0.8125rem/1 var(--zy-font); cursor: pointer; white-space: nowrap;
}
.zy-chip:focus-visible { outline: 2px solid var(--zy-accent); outline-offset: 2px; }
.zy-chip-cta { color: var(--zy-accent-ink, var(--zy-accent)); }
.zy-chip--pro { border-color: color-mix(in srgb, var(--zy-accent) 55%, transparent); }

.zy-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--zy-muted); display: inline-block; flex-shrink: 0; }
.zy-dot--idle { background: var(--zy-ok); }
.zy-dot--syncing { background: var(--zy-warn); animation: zy-pulse 1s ease-in-out infinite; }
.zy-dot--offline { background: var(--zy-muted); }
.zy-dot--error { background: var(--zy-danger); }
@keyframes zy-pulse { 50% { opacity: 0.35; } }

/* ---------- dialogs ---------- */
.zy-dialog {
  width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--zy-border); border-radius: var(--zy-radius);
  background: var(--zy-bg); color: var(--zy-text); font-family: var(--zy-font);
  box-shadow: var(--zy-shadow, 0 20px 60px rgba(0, 0, 0, 0.55)); overflow: auto;
}
.zy-dialog::backdrop { background: var(--zy-overlay, rgba(0, 0, 0, 0.6)); backdrop-filter: blur(2px); }
.zy-panel-inner { padding: 20px; position: relative; overflow-wrap: break-word; }
.zy-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.zy-h2 { font-size: 1.25rem; font-weight: 600; margin: 0; line-height: 1.3; }
.zy-h3 { font-size: 0.9375rem; font-weight: 600; margin: 0; }
.zy-sub { margin-top: 2px; }
.zy-x {
  width: 44px; height: 44px; margin: -10px -10px 0 0; flex-shrink: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--zy-muted);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.zy-x:hover, .zy-x:focus-visible { background: var(--zy-surface); color: var(--zy-text); }

.zy-section { padding: 16px 0; border-top: 1px solid var(--zy-border); display: grid; gap: 10px; }
.zy-section:first-of-type { border-top: 0; }
.zy-section--warn .zy-h3 { color: var(--zy-danger-text, var(--zy-danger)); }
.zy-muted { color: var(--zy-muted); font-size: 0.8125rem; line-height: 1.5; margin: 0; }
.zy-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--zy-surface); font-size: 0.8125rem; line-height: 1.5; }
.zy-fine { margin: 0; color: var(--zy-muted); font-size: 0.75rem; text-align: center; }
.zy-label { margin: 4px 0 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--zy-muted); }
.zy-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.875rem; }
.zy-list li { position: relative; padding-left: 22px; line-height: 1.45; }
.zy-list li::before { content: '✓'; position: absolute; left: 0; color: var(--zy-ok-text, var(--zy-ok)); font-weight: 700; }
.zy-price { margin: 4px 0 0; font-size: 1.375rem; font-weight: 600; }
.zy-price > span:first-child { font-size: 0.875rem; font-weight: 500; color: var(--zy-muted); }
.zy-price .zy-muted { font-size: 0.8125rem; font-weight: 400; }

.zy-row { display: flex; align-items: center; gap: 10px; }
.zy-row--between { justify-content: space-between; }
.zy-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* The email can be long (and is one unbreakable word): it shrinks and
   wraps inside its own column so "Sign out" always stays on screen. */
.zy-account-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.zy-account { display: flex; align-items: center; gap: 10px; min-width: 0; }
.zy-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--zy-accent) 22%, transparent); color: var(--zy-accent-ink, var(--zy-accent)); font-weight: 700;
}
.zy-email { min-width: 0; overflow-wrap: anywhere; font-size: 0.875rem; line-height: 1.35; }

.zy-badge {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em;
  background: var(--zy-surface); color: var(--zy-muted);
}
.zy-badge--pro { background: color-mix(in srgb, var(--zy-accent) 20%, transparent); color: var(--zy-accent-ink, var(--zy-accent)); }

.zy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--zy-border); background: var(--zy-surface); color: var(--zy-text);
  font: 600 0.875rem/1.2 var(--zy-font); text-decoration: none; cursor: pointer; text-align: center;
}
.zy-btn:hover { filter: brightness(1.12); }
.zy-btn:focus-visible { outline: 2px solid var(--zy-accent); outline-offset: 2px; }
.zy-btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.zy-btn--primary { background: var(--zy-accent); border-color: var(--zy-accent); color: var(--zy-accent-text); }
.zy-btn--ghost { background: transparent; }
.zy-btn--danger { background: var(--zy-danger-text, var(--zy-danger)); border-color: var(--zy-danger-text, var(--zy-danger)); color: var(--zy-on-danger, #fff); }
.zy-btn--google { background: #fff; border-color: #dadce0; color: #1f1f1f; }
.zy-btn--block { width: 100%; }
.zy-btn--sm { min-height: 36px; padding: 0 12px; font-size: 0.8125rem; justify-self: start; white-space: nowrap; flex-shrink: 0; }

.zy-panel-foot {
  display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center;
  padding-top: 14px; border-top: 1px solid var(--zy-border); font-size: 0.75rem;
}
.zy-panel-foot a { color: var(--zy-muted); text-decoration: underline; text-underline-offset: 2px; }
.zy-panel-foot a:hover { color: var(--zy-text); }

.zy-confirm {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: color-mix(in srgb, var(--zy-bg) 82%, transparent); border-radius: var(--zy-radius);
}
.zy-confirm-card { width: 100%; padding: 18px; border: 1px solid var(--zy-border); border-radius: 14px; background: var(--zy-bg); display: grid; gap: 12px; }
.zy-confirm-card h3 { margin: 0; font-size: 1rem; }
.zy-confirm-card p { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--zy-muted); }
.zy-confirm-card .zy-row { justify-content: flex-end; }

/* ---------- text-style button ---------- */
.zy-link {
  justify-self: start; padding: 4px 0; border: 0; background: none; cursor: pointer;
  color: var(--zy-accent-ink, var(--zy-accent)); font: 600 0.8125rem/1.4 var(--zy-font); text-align: left;
  text-decoration: underline; text-underline-offset: 3px;
}
.zy-link:focus-visible { outline: 2px solid var(--zy-accent); outline-offset: 2px; }

/* ---------- Free vs Pro table ---------- */
.zy-dialog.zy-compare { width: min(560px, calc(100vw - 24px)); }
.zy-compare-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 0.8125rem; line-height: 1.4; table-layout: fixed; overflow-wrap: break-word; }
.zy-compare-table th, .zy-compare-table td { padding: 10px 6px; border-top: 1px solid var(--zy-border); text-align: left; vertical-align: top; }
.zy-compare-table thead th { border-top: 0; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--zy-muted); }
.zy-compare-table th:first-child { width: 40%; padding-left: 0; }
.zy-compare-table tbody th { font-weight: 600; }
.zy-compare-table td { color: var(--zy-muted); }
.zy-compare-table .zy-compare-pro { color: var(--zy-text); }
.zy-compare-price th, .zy-compare-price td { font-weight: 600; color: var(--zy-text); }
.zy-yes { color: var(--zy-ok-text, var(--zy-ok)); font-weight: 700; font-size: 1rem; }
.zy-no { color: var(--zy-muted); }
/* Narrow phones: each feature becomes a block — its name on top, then
   Free | Pro side by side, each labelled — instead of three thin columns. */
@media (max-width: 440px) {
  .zy-compare-table, .zy-compare-table tbody { display: block; }
  .zy-compare-table thead { display: none; }
  .zy-compare-table tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 4px; padding: 12px 0; border-top: 1px solid var(--zy-border); }
  .zy-compare-table th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 0; border: 0; }
  .zy-compare-table td { padding: 0; border: 0; }
  .zy-compare-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--zy-muted); }
}
.zy-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Google sign-in ---------- */
/* Google's own button (an iframe) or, in its place, the redirect button. */
.zy-gsi { display: flex; justify-content: center; min-height: 44px; color-scheme: light; }
.zy-gsi[hidden], .zy-btn[hidden] { display: none; }
.zy-signin .zy-fine a { color: var(--zy-muted); }

/* ---------- Refer & Earn ---------- */
.zy-badge--earn { background: color-mix(in srgb, var(--zy-ok) 12%, transparent); color: var(--zy-ok-text, var(--zy-ok)); }
.zy-lede { margin: 0; font-size: 0.9375rem; line-height: 1.5; }
.zy-refer a:not(.zy-btn) { color: var(--zy-accent-ink, var(--zy-accent)); text-underline-offset: 2px; }
.zy-note--error { background: color-mix(in srgb, var(--zy-danger) 14%, transparent); }
.zy-label--plain { text-transform: none; letter-spacing: 0; font-size: 0.8125rem; }
.zy-input {
  width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; box-sizing: border-box;
  border: 1px solid var(--zy-border); border-radius: 12px; background: var(--zy-surface); color: var(--zy-text);
  font: 400 1rem/1.2 var(--zy-font); /* 16px: no zoom-on-focus on iPhone */
}
.zy-input:focus-visible { outline: 2px solid var(--zy-accent); outline-offset: 1px; }
.zy-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.zy-inline .zy-btn--sm { min-height: 44px; }
.zy-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; line-height: 1.45; cursor: pointer; }
.zy-check input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--zy-accent); }
.zy-linkbox { padding: 12px; border: 1px dashed color-mix(in srgb, var(--zy-accent) 55%, transparent); border-radius: 12px; background: var(--zy-surface); }
.zy-linkbox-url { display: block; font: 600 0.875rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.zy-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.zy-stat { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 10px; border-radius: 12px; background: var(--zy-surface); }
.zy-stat-value { font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.zy-stat-label { font-size: 0.75rem; color: var(--zy-muted); line-height: 1.3; }
.zy-stat-hint { font-size: 0.6875rem; color: var(--zy-muted); line-height: 1.3; }
.zy-payouts { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.zy-payout { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 4px 10px; align-items: baseline; font-size: 0.875rem; }
.zy-payout .zy-muted { overflow-wrap: anywhere; }
.zy-payout-status { font-size: 0.75rem; font-weight: 600; }
.zy-payout-status--paid { color: var(--zy-ok-text, var(--zy-ok)); }
.zy-payout-status--requested { color: var(--zy-warn-text, var(--zy-warn)); }
.zy-payout-status--rejected { color: var(--zy-danger-text, var(--zy-danger)); }
.zy-details summary { cursor: pointer; font-weight: 600; font-size: 0.875rem; }
.zy-details[open] summary { margin-bottom: 4px; }

/* ---------- "new version" banner ---------- */
.zy-update {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 2147483001;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 84px);
  width: min(460px, calc(100vw - 24px)); box-sizing: border-box;
  display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px;
  border: 1px solid color-mix(in srgb, var(--zy-accent) 55%, transparent); border-radius: 14px;
  background: var(--zy-surface); color: var(--zy-text); font: 500 0.875rem/1.35 var(--zy-font);
  box-shadow: var(--zy-shadow, 0 10px 30px rgba(0, 0, 0, 0.45));
}
.zy-update-text { flex: 1; min-width: 0; }
.zy-update .zy-btn--sm { flex-shrink: 0; }
.zy-update-x { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 50%; background: transparent; color: var(--zy-muted); font-size: 1.3rem; cursor: pointer; }
.zy-update-x:hover, .zy-update-x:focus-visible { background: var(--zy-bg); color: var(--zy-text); }
@media (min-width: 881px) { .zy-update { bottom: 24px; } }

/* ---------- toasts ---------- */
.zy-toasts {
  position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); z-index: 2147483000;
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 16px; pointer-events: none;
}
.zy-toast {
  max-width: 420px; padding: 10px 14px; border-radius: 12px;
  background: var(--zy-surface); color: var(--zy-text); border: 1px solid var(--zy-border);
  font: 500 0.875rem/1.4 var(--zy-font); box-shadow: var(--zy-shadow, 0 8px 24px rgba(0, 0, 0, 0.4));
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.zy-toast--success { border-color: color-mix(in srgb, var(--zy-ok) 50%, transparent); }
.zy-toast--error { border-color: color-mix(in srgb, var(--zy-danger) 60%, transparent); }
.zy-toast--out { opacity: 0; transform: translateY(6px); }
@media (min-width: 881px) { .zy-toasts { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
  .zy-dot--syncing { animation: none; }
  .zy-toast { transition: none; }
}

/* ---------- Ask (zy-ask.js): conversation, question browser, autocomplete ---------- */
.zy-ask { display: flex; flex-direction: column; gap: 12px; font-family: var(--zy-font); color: var(--zy-text); min-width: 0; }
.zy-ask--fill { flex: 1 1 auto; min-height: 0; height: 100%; }
.zy-ask-log { display: flex; flex-direction: column; gap: 10px; min-height: 160px; max-height: min(52vh, 560px); overflow-y: auto; padding: 4px 2px; overscroll-behavior: contain; }
.zy-ask-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.875rem; line-height: 1.5; overflow-wrap: anywhere; animation: zy-in 0.2s ease; }
.zy-ask-msg--user { align-self: flex-end; background: color-mix(in srgb, var(--zy-accent) 18%, transparent); border-bottom-right-radius: 5px; }
.zy-ask-msg--ai { align-self: flex-start; background: var(--zy-surface); border: 1px solid var(--zy-border); border-bottom-left-radius: 5px; }
.zy-ask-caption { font-size: 0.75rem; color: var(--zy-muted); margin-bottom: 4px; }
.zy-ask-items { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 3px; }
.zy-ask-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.zy-ask-chips-label { font-size: 0.75rem; color: var(--zy-muted); width: 100%; }
.zy-ask-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--zy-surface); border: 1px solid var(--zy-border); }
.zy-ask-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--zy-muted); animation: zy-pulse 1s ease-in-out infinite; }
.zy-ask-typing span:nth-child(2) { animation-delay: 0.15s; } .zy-ask-typing span:nth-child(3) { animation-delay: 0.3s; }
.zy-ask--fill .zy-ask-log { flex: 1 1 auto; min-height: 96px; max-height: none; }
@keyframes zy-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.zy-ask-browser { border: 1px solid var(--zy-border); border-radius: var(--zy-radius); background: var(--zy-surface); padding: 10px 12px 12px; display: grid; gap: 10px; min-width: 0; }
.zy-ask-browser-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zy-ask-browser-title { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; }
.zy-ask-browser-title svg { color: var(--zy-accent-ink, var(--zy-accent)); }
.zy-ask-toggle { background: none; border: 0; color: var(--zy-accent-ink, var(--zy-accent)); font: 600 0.8125rem var(--zy-font); cursor: pointer; padding: 6px 4px; min-height: 32px; }
.zy-ask-browser.is-collapsed .zy-ask-cats, .zy-ask-browser.is-collapsed .zy-ask-qs { display: none; }
.zy-ask-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.zy-ask-cats::-webkit-scrollbar { display: none; }
.zy-ask-cat { flex: none; padding: 7px 12px; min-height: 34px; border-radius: 999px; border: 1px solid var(--zy-border); background: transparent; color: var(--zy-muted); font: 600 0.78rem var(--zy-font); cursor: pointer; white-space: nowrap; }
.zy-ask-cat[aria-selected="true"] { background: var(--zy-accent); border-color: var(--zy-accent); color: var(--zy-accent-text); }
.zy-ask-qs { display: flex; flex-wrap: wrap; gap: 6px; max-height: 172px; overflow-y: auto; }
.zy-ask-q { padding: 8px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--zy-border); background: var(--zy-bg); color: var(--zy-text); font: 0.8rem/1.3 var(--zy-font); text-align: left; cursor: pointer; max-width: 100%; }
.zy-ask-q:hover, .zy-ask-q:focus-visible { border-color: var(--zy-accent); }
.zy-ask-q--inline { background: transparent; }
.zy-ask-cat:focus-visible, .zy-ask-q:focus-visible, .zy-ask-toggle:focus-visible, .zy-ask-send:focus-visible { outline: 2px solid var(--zy-accent); outline-offset: 2px; }

.zy-ask-form { display: flex; gap: 8px; align-items: center; }
.zy-ask-combo { position: relative; flex: 1; min-width: 0; }
.zy-ask-input { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--zy-field, var(--zy-border)); background: var(--zy-surface); color: var(--zy-text); font: 0.9rem var(--zy-font); }
.zy-ask-input::placeholder { color: var(--zy-muted); opacity: 1; }
.zy-ask-input:focus { outline: none; border-color: var(--zy-accent-ink, var(--zy-accent)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--zy-accent) 22%, transparent); }
.zy-ask-send { flex: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--zy-accent); color: var(--zy-accent-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.zy-ask-suggest { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; max-height: 264px; overflow-y: auto; border-radius: 14px; border: 1px solid var(--zy-border); background: var(--zy-bg); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6); }
.zy-ask-option { padding: 10px 12px; border-radius: 10px; font-size: 0.85rem; line-height: 1.35; cursor: pointer; }
.zy-ask-option[aria-selected="true"], .zy-ask-option:hover { background: var(--zy-surface); color: var(--zy-text); }
.zy-ask-none { padding: 10px 12px; font-size: 0.8rem; color: var(--zy-muted); }
@media (max-width: 560px) {
  .zy-ask-msg { max-width: 92%; }
  .zy-ask-log { max-height: 46vh; }
  .zy-ask-qs { max-height: 128px; }
}

/* ---------- "Try the demo" bar and the Pro offer (Release B) ---------- */
.zy-demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px;
  padding: 10px 16px; border-bottom: 1px solid var(--zy-border);
  background: var(--zy-surface); color: var(--zy-text); font: 0.875rem/1.4 var(--zy-font);
  position: relative; z-index: 60;
}
.zy-demo-text { margin: 0; min-width: 0; flex: 1 1 260px; }
.zy-demo-text span { color: var(--zy-muted); }
.zy-demo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.zy-demo-actions .zy-btn { min-height: 44px; }
.zy-periods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.zy-period {
  display: grid; gap: 2px; padding: 12px; min-height: 44px; text-align: left; cursor: pointer;
  border: 1px solid var(--zy-field, var(--zy-border)); border-radius: 12px; background: var(--zy-bg); color: var(--zy-text); font: inherit;
}
.zy-period span { font-size: 0.75rem; font-weight: 600; color: var(--zy-muted); }
.zy-period strong { font-size: 1.25rem; }
.zy-period small { font-size: 0.75rem; color: var(--zy-muted); }
.zy-period[aria-checked="true"] { border: 2px solid var(--zy-accent-ink, var(--zy-accent)); padding: 11px; }
.zy-period:focus-visible { outline: 2px solid var(--zy-accent-ink, var(--zy-accent)); outline-offset: 2px; }
