/* calendar_feed — «Ты» → «Календарь». Solid content on the platform's tokens (--bg2 cards, --accent for the one tint,
   --destructive only for Revoke); no glass (the chrome already has its three). */

.cf .cf-hero { display: grid; justify-items: center; gap: 8px; padding: 8px 16px 20px; text-align: center; }
.cf .cf-hero-ico {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px;
  background: rgb(var(--accent-rgb, 0 122 255) / 0.12); color: var(--accent);
}
.cf .cf-hero-ico .ico { width: 34px; height: 34px; }
.cf .cf-hero-title { margin: 4px 0 0; font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--text); }
.cf .cf-hero-body { margin: 0; max-width: 34em; font-size: 15px; line-height: 1.4; color: var(--hint); }

.cf .cf-pad { padding: 12px 16px; }
.cf .cf-note { margin: 0; padding: 12px 16px; font-size: 15px; line-height: 1.4; color: var(--text); }
.cf .cf-warn { color: var(--hint); }
.cf .cf-hint, .cf-form .cf-hint { margin: 0 0 10px; font-size: 13px; line-height: 1.35; color: var(--hint); }

.cf .cf-switch-row { display: flex; align-items: center; min-height: 44px; padding: 0 0 0 16px; }
.cf .cf-switch-row .row-main { flex: 1 1 auto; min-width: 0; padding: 10px 0; }
.cf .cf-toggle {
  flex: none; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 0 16px 0 8px; border: 0; background: none; cursor: pointer;
}
.cf .cf-switch {
  position: relative; display: block; width: 51px; height: 31px; border-radius: 16px;
  background: rgb(var(--text-rgb) / 0.16); transition: background .2s ease;
}
.cf .cf-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / .2); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.cf .cf-toggle[aria-checked="true"] .cf-switch { background: var(--accent); }
.cf .cf-toggle[aria-checked="true"] .cf-switch::after { transform: translateX(20px); }
.cf .cf-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 12px; }

/* the sheets live outside the screen: no .cf prefix */
.cf-check { display: flex; align-items: center; color: var(--accent); }
.cf-check .ico { width: 22px; height: 22px; }
.cf-form { display: grid; gap: 8px; }
.cf-copy-area {
  width: 100%; box-sizing: border-box; min-height: 88px; padding: 10px 12px; border-radius: 10px; resize: none;
  border: 1px solid var(--sep); background: var(--bg); color: var(--text); font: inherit; font-size: 15px;
  word-break: break-all;
}

/* release 12 «Утро с Siri»: three numbered steps, each with its one action; the Uzbek choice */
.cf .cf-steps { display: grid; gap: 0; padding: 4px 0; }
.cf .cf-step {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 16px;
}
.cf .cf-step + .cf-step { border-top: .5px solid var(--sep); }
.cf .cf-step-n {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgb(var(--accent-rgb, 0 122 255) / 0.12); color: var(--accent); font-size: 14px; font-weight: 600;
}
.cf .cf-step-text { margin: 0; font-size: 15px; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.cf .cf-step-action { justify-self: end; }
.cf .cf-step-action .btn { min-height: 44px; white-space: nowrap; }
.cf .cf-choice { border-top: .5px solid var(--sep); }
.cf .cf-choice-title { margin: 0; padding: 12px 16px 4px; }
.cf .cf-choice-sub { margin: 0; padding: 4px 16px 12px; }
@media (max-width: 420px) {
  .cf .cf-step { grid-template-columns: 28px minmax(0, 1fr); }
  .cf .cf-step-action { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .cf .cf-switch, .cf .cf-switch::after { transition: none; }
}
@media (prefers-contrast: more) {
  .cf .cf-switch { box-shadow: inset 0 0 0 1px var(--text); }
  .cf .cf-hero-ico { box-shadow: inset 0 0 0 1px var(--accent); }
}
