/* Rezeptbuch – auf Basis des iOS Design Systems, Akzent: natürliches Grün */
:root {
  color-scheme: light dark;
  --accent: #849e5b;
  --accent-tint: rgba(132, 158, 91, 0.18);
  --on-accent: #ffffff;
  --label: #2c3625;
  --label-secondary: rgba(44, 54, 37, 0.62);
  --label-tertiary: rgba(44, 54, 37, 0.32);
  --bg-primary: #ffffff;
  --bg-grouped: #f2f2f7;
  --bg-grouped-secondary: #ffffff;
  --bg-elevated: #ffffff;
  --fill: rgba(120, 120, 128, 0.2);
  --fill-tertiary: rgba(118, 118, 128, 0.12);
  --control-thumb: #ffffff;
  --separator: rgba(60, 60, 67, 0.29);
  --bar-material: rgba(249, 249, 249, 0.86);
  --overlay: rgba(0, 0, 0, 0.25);
  --on-color: #ffffff;
  --gray: #8e8e93;
  --red: #ff3b30;
  --orange: #ff9500;
  --yellow: #ffcc00;
  --green: #34c759;
  --teal: #30b0c7;
  --blue: #007aff;
  --indigo: #5856d6;
  --purple: #af52de;
  --pink: #ff2d55;
  --brown: #a2845e;
  --leaf-1: #e8f1e1;
  --leaf-2: #cfe3c3;
  --shadow-control: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-sheet: 0 -2px 20px rgba(0, 0, 0, 0.1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Inter, system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-12: 48px;
  --radius-xs: 7px; --radius-sm: 9px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 22px; --radius-sheet: 34px; --radius-full: 999px;
  --material-blur: saturate(180%) blur(20px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: calc(49px + var(--safe-bottom));
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #a3bb7c;
    --accent-tint: rgba(163, 187, 124, 0.2);
    --on-accent: #1d2418;
    --label: #ffffff;
    --label-secondary: rgba(235, 235, 245, 0.6);
    --label-tertiary: rgba(235, 235, 245, 0.3);
    --bg-primary: #000000;
    --bg-grouped: #000000;
    --bg-grouped-secondary: #1c1c1e;
    --bg-elevated: #1c1c1e;
    --fill: rgba(120, 120, 128, 0.36);
    --fill-tertiary: rgba(118, 118, 128, 0.24);
    --control-thumb: #636366;
    --separator: rgba(84, 84, 88, 0.65);
    --bar-material: rgba(22, 22, 23, 0.82);
    --overlay: rgba(0, 0, 0, 0.5);
    --red: #ff453a; --orange: #ff9f0a; --yellow: #ffd60a; --green: #30d158; --teal: #40c8e0;
    --blue: #0a84ff; --indigo: #5e5ce6; --purple: #bf5af2; --pink: #ff375f; --brown: #ac8e68;
    --leaf-1: #1b2a16; --leaf-2: #24391d;
    --shadow-control: none; --shadow-card: none; --shadow-sheet: none;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg-grouped); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: var(--font-sans); font-size: 17px; line-height: 22px; letter-spacing: -0.43px;
  color: var(--label); background: var(--bg-grouped);
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

#app { max-width: 600px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; position: relative; background: var(--bg-grouped); }
@media (min-width: 640px) {
  html { background: var(--leaf-1); }
  #app { box-shadow: 0 0 0 0.5px var(--separator); }
}
.page { min-height: 100vh; min-height: 100dvh; padding-bottom: calc(var(--tabbar-h) + var(--space-6)); }
.page--plain { background: var(--bg-primary); }
.page--notabs { padding-bottom: calc(var(--safe-bottom) + var(--space-8)); }

/* ── Navigationsleiste ── */
.nav {
  position: sticky; top: 0; z-index: 20;
  padding-top: var(--safe-top);
  background: transparent; border-bottom: 0.5px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.nav.is-scrolled, .nav--solid {
  background: var(--bar-material); -webkit-backdrop-filter: var(--material-blur); backdrop-filter: var(--material-blur);
  border-bottom-color: var(--separator);
}
.nav-inline { height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--space-4); gap: var(--space-2); }
.nav-inline > :last-child { justify-self: end; }
.nav-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; opacity: 0; transition: opacity .15s; }
.nav.is-scrolled .nav-title, .nav--solid .nav-title { opacity: 1; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 3px; min-height: 44px; min-width: 44px; padding: 0;
  border: 0; background: none; color: var(--accent); font-size: 17px;
}
.nav-btn--bold { font-weight: 600; }
.nav-btn[disabled] { opacity: .35; }
.nav-btn svg { width: 22px; height: 22px; }
.nav-btn .chev { width: 12px; height: 20px; }
.nav-actions { display: flex; align-items: center; gap: var(--space-2); justify-self: end; }
.icon-btn {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 0;
  background: var(--accent); color: var(--on-accent); padding: 0;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn--tinted { background: var(--fill-tertiary); color: var(--accent); }
.large-title { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 0 var(--space-4) var(--space-2); }
.large-title h1 { margin: 0; font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: 0.37px; }

/* ── Tab-Bar ── */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-width: 600px; margin: 0 auto;
  display: flex; height: var(--tabbar-h); padding-bottom: var(--safe-bottom);
  background: var(--bar-material); -webkit-backdrop-filter: var(--material-blur); backdrop-filter: var(--material-blur);
  border-top: 0.5px solid var(--separator);
}
.tabbar[hidden] { display: none; }
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; background: none; color: var(--gray);
  font-size: 10px; line-height: 12px; font-weight: 500; letter-spacing: 0.1px; text-decoration: none;
}
.tab svg { width: 26px; height: 25px; }
.tab[aria-current="page"] { color: var(--accent); }

/* ── Suche und Filter ── */
.search {
  display: flex; align-items: center; gap: 6px; height: 36px; margin: 0 var(--space-4);
  padding: 0 var(--space-2); background: var(--fill-tertiary); border-radius: var(--radius-md); color: var(--label-secondary);
}
.search svg { width: 17px; height: 17px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; color: var(--label); padding: 0; }
.search input::placeholder { color: var(--label-secondary); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-clear { border: 0; background: var(--label-tertiary); color: var(--bg-grouped-secondary); width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
.search-clear svg { width: 10px; height: 10px; }

.chips { display: flex; gap: var(--space-2); overflow-x: auto; padding: var(--space-3) var(--space-4) var(--space-1); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 0; border-radius: var(--radius-full); background: var(--bg-grouped-secondary); color: var(--label);
  font-size: 15px; letter-spacing: -0.23px; white-space: nowrap; box-shadow: 0 0 0 0.5px var(--separator) inset;
}
.chip svg { width: 16px; height: 16px; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; font-weight: 600; }
.chip .badge { min-width: 18px; height: 18px; border-radius: 9px; background: var(--on-accent); color: var(--accent); font-size: 12px; line-height: 18px; text-align: center; padding: 0 5px; font-weight: 700; }
.chip--x { padding-right: 10px; }

/* ── Abschnitte ── */
.section { margin-top: var(--space-6); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--space-4) var(--space-3); }
.section-head h2 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.26px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--accent); font-size: 15px; letter-spacing: -0.23px; }
.muted { color: var(--label-secondary); }
.count { padding: var(--space-4) var(--space-4) 0; font-size: 13px; line-height: 18px; color: var(--label-secondary); text-transform: uppercase; letter-spacing: -0.08px; }

/* ── Rezeptkarten ── */
.carousel { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--space-4) var(--space-2); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .hero-card { flex: 0 0 78%; scroll-snap-align: center; }
.hero-card { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--leaf-2); color: #fff; text-decoration: none; box-shadow: var(--shadow-card); }
.hero-card .thumb { position: absolute; inset: 0; }
.hero-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); pointer-events: none; }
.hero-card-text { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-3); z-index: 1; }
.hero-card-title { font-size: 20px; line-height: 25px; font-weight: 700; letter-spacing: -0.45px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); }
.hero-card-meta { font-size: 13px; line-height: 18px; opacity: .9; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); padding: 0 var(--space-4); }
@media (min-width: 520px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-grouped-secondary); color: inherit; text-decoration: none; box-shadow: var(--shadow-card); }
.card .thumb { aspect-ratio: 4 / 3; }
.card-body { padding: 10px var(--space-3) var(--space-3); }
.card-title { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.23px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--label-secondary); display: flex; align-items: center; gap: 4px; }
.card-meta svg { width: 13px; height: 13px; }
.thumb { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--leaf-1), var(--leaf-2)); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); opacity: .55; }
.thumb-empty svg { width: 34%; height: 34%; max-width: 64px; }
.fav-dot { position: absolute; top: var(--space-2); right: var(--space-2); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.9); color: var(--red); z-index: 1; }
.fav-dot svg { width: 16px; height: 16px; }

/* Sammlungs-Kacheln */
.coll { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 96px; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--bg-grouped-secondary); color: inherit; text-decoration: none; overflow: hidden; box-shadow: var(--shadow-card); border: 0; text-align: left; width: 100%; }
.coll--photo { min-height: 0; padding: 0; }
.coll--photo .thumb { aspect-ratio: 16 / 10; }
.coll--photo .coll-text { padding: 10px var(--space-3) var(--space-3); }
.coll-name { display: flex; align-items: center; gap: 6px; font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.23px; }
.coll-count { font-size: 13px; line-height: 18px; color: var(--label-secondary); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.coll-icon { width: 30px; height: 30px; border-radius: var(--radius-xs); display: grid; place-items: center; color: #fff; margin-bottom: auto; }
.coll-icon svg { width: 18px; height: 18px; }

/* ── Leerzustände ── */
.empty { padding: var(--space-12) var(--space-8); text-align: center; }
.empty-icon { width: 72px; height: 72px; margin: 0 auto var(--space-4); border-radius: 22px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.empty-icon svg { width: 36px; height: 36px; }
.empty h2 { margin: 0 0 6px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.26px; }
.empty p { margin: 0 0 var(--space-5); color: var(--label-secondary); font-size: 15px; line-height: 20px; letter-spacing: -0.23px; }

/* ── Listen ── */
.list-section { margin: 0 var(--space-4) var(--space-6); }
.list-header { padding: 0 var(--space-4) 6px; font-size: 13px; line-height: 18px; letter-spacing: -0.08px; text-transform: uppercase; color: var(--label-secondary); }
.list-footer { padding: 6px var(--space-4) 0; font-size: 13px; line-height: 18px; letter-spacing: -0.08px; color: var(--label-secondary); }
.list { list-style: none; margin: 0; padding: 0; background: var(--bg-grouped-secondary); border-radius: var(--radius-md); overflow: hidden; }
.cell { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-4); width: 100%; border: 0; background: none; text-align: left; color: inherit; text-decoration: none; }
.cell + .cell::before, .cell + .cell-wrap::before, .cell-wrap + .cell::before, .cell-wrap + .cell-wrap::before { content: ""; position: absolute; top: 0; right: 0; left: var(--space-4); border-top: 0.5px solid var(--separator); }
.cell-wrap { position: relative; }
button.cell:active, a.cell:active { background: var(--fill-tertiary); }
.cell-label { flex: 1; min-width: 0; padding: 11px 0; }
.cell-value { color: var(--label-secondary); text-align: right; }
.cell-sub { display: block; font-size: 15px; line-height: 20px; letter-spacing: -0.23px; color: var(--label-secondary); }
.cell-accent { color: var(--accent); }
.cell-danger { color: var(--red); }
.cell-icon { flex: none; width: 29px; height: 29px; border-radius: var(--radius-xs); display: grid; place-items: center; color: #fff; }
.cell-icon svg { width: 18px; height: 18px; }
.chevron { width: 8px; height: 14px; color: var(--label-tertiary); flex: none; }
.cell input[type=text], .cell input[type=url], .cell input[type=number], .cell input[type=password], .cell input:not([type]), .cell textarea {
  flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 11px 0; color: var(--label);
}
.cell input.right { text-align: right; }
.cell input::placeholder, .cell textarea::placeholder { color: var(--label-tertiary); }
.cell textarea { resize: none; min-height: 88px; line-height: 22px; }
.cell select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 var(--space-5); border: 0; border-radius: var(--radius-full); font-size: 17px; font-weight: 600; text-decoration: none; }
.btn:active { opacity: .7; }
.btn svg { width: 20px; height: 20px; }
.btn--filled { background: var(--accent); color: var(--on-accent); }
.btn--tinted { background: var(--accent-tint); color: var(--accent); }
.btn--gray { background: var(--fill-tertiary); color: var(--accent); }
.btn--danger { color: var(--red); }
.btn--small { min-height: 34px; padding: 0 14px; font-size: 15px; letter-spacing: -0.23px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; }
.btn-row { display: flex; gap: var(--space-3); }
.btn-row .btn { flex: 1; }

/* ── Switch, Segmented, Stepper ── */
.switch { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 51px; height: 31px; margin: 0; border-radius: var(--radius-full); background: var(--fill); cursor: pointer; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16); transition: transform .2s; }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(20px); }
.seg { display: flex; padding: 2px; background: var(--fill-tertiary); border-radius: var(--radius-sm); }
.seg button { flex: 1; min-height: 30px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-xs); background: none; font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: -0.08px; }
.seg button[aria-pressed="true"] { background: var(--control-thumb); box-shadow: var(--shadow-control); font-weight: 600; }
.seg--big button { min-height: 34px; font-size: 15px; }
.stepper { display: inline-flex; align-items: center; background: var(--fill-tertiary); border-radius: var(--radius-sm); height: 32px; }
.stepper button { width: 46px; height: 32px; border: 0; background: none; color: var(--label); display: grid; place-items: center; padding: 0; }
.stepper button svg { width: 16px; height: 16px; }
.stepper button[disabled] { opacity: .3; }
.stepper span { min-width: 30px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; border-left: 0.5px solid var(--separator); border-right: 0.5px solid var(--separator); line-height: 18px; }
.tag-group { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3) var(--space-4); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-full); border: 0; background: var(--fill-tertiary); font-size: 15px; letter-spacing: -0.23px; color: var(--label); }
.tag[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent); font-weight: 600; box-shadow: 0 0 0 1.5px var(--accent) inset; }

/* ── Detailansicht ── */
.detail-hero { position: relative; aspect-ratio: 4 / 3; max-height: 62vh; width: 100%; }
.detail-hero .thumb { position: absolute; inset: 0; }
.float-nav { position: fixed; top: 0; left: 0; right: 0; max-width: 600px; margin: 0 auto; z-index: 25; display: flex; justify-content: space-between; align-items: center; padding: calc(var(--safe-top) + 8px) var(--space-4) 8px; transition: background-color .2s; pointer-events: none; }
.float-nav > * { pointer-events: auto; }
.float-nav.is-scrolled { background: var(--bar-material); -webkit-backdrop-filter: var(--material-blur); backdrop-filter: var(--material-blur); border-bottom: 0.5px solid var(--separator); }
.float-title { flex: 1; text-align: center; font-weight: 600; opacity: 0; transition: opacity .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 var(--space-3); }
.float-nav.is-scrolled .float-title { opacity: 1; }
.round-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; padding: 0; color: var(--label); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: var(--material-blur); backdrop-filter: var(--material-blur); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); }
@media (prefers-color-scheme: dark) { .round-btn { background: rgba(40, 40, 42, 0.86); } }
.round-btn svg { width: 20px; height: 20px; }
.round-btn.is-fav { color: var(--red); }
.round-btns { display: flex; gap: var(--space-2); }
.detail-sheet { position: relative; margin-top: -28px; background: var(--bg-primary); border-radius: 28px 28px 0 0; padding: var(--space-6) 0 0; min-height: 50vh; }
.detail-title { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); padding: 0 var(--space-5); }
.detail-title h1 { margin: 0; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: 0.36px; }
.meta-row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding: var(--space-3) var(--space-5) 0; font-size: 15px; letter-spacing: -0.23px; color: var(--label-secondary); }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.meta-row svg { width: 18px; height: 18px; color: var(--label); opacity: .75; }
.detail-desc { padding: var(--space-4) var(--space-5) 0; margin: 0; color: var(--label-secondary); font-size: 16px; line-height: 22px; letter-spacing: -0.31px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--space-3) var(--space-5) 0; }
.badge-tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--radius-full); background: var(--fill-tertiary); font-size: 13px; letter-spacing: -0.08px; color: var(--label); }
.badge-tag--accent { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.badge-tag svg { width: 14px; height: 14px; }
.detail-tabs { padding: var(--space-5) var(--space-5) 0; }
.servings-bar { display: flex; align-items: center; justify-content: space-between; margin: var(--space-4) var(--space-5) var(--space-1); }
.servings-bar strong { font-size: 17px; font-weight: 600; }
.servings-bar .muted { font-size: 13px; }
.ing-list { list-style: none; margin: 0; padding: 0 var(--space-5); }
.ing { display: grid; grid-template-columns: 28px 92px 1fr; align-items: center; gap: var(--space-2); min-height: 46px; border-bottom: 0.5px solid var(--separator); cursor: pointer; }
.ing:last-child { border-bottom: 0; }
.ing-check { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--label-tertiary); display: grid; place-items: center; color: transparent; }
.ing-check svg { width: 14px; height: 14px; }
.ing.is-done .ing-check { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ing.is-done .ing-amount, .ing.is-done .ing-name { color: var(--label-tertiary); text-decoration: line-through; }
.ing-amount { font-variant-numeric: tabular-nums; font-weight: 500; }
.ing-name { padding: 10px 0; }
.ing-head { padding: var(--space-4) 0 var(--space-1); font-size: 13px; line-height: 18px; text-transform: uppercase; color: var(--label-secondary); letter-spacing: -0.08px; border-bottom: 0.5px solid var(--separator); }
.steps { list-style: none; margin: 0; padding: var(--space-2) var(--space-5) 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); padding: var(--space-3) 0; cursor: pointer; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 700; font-size: 15px; display: grid; place-items: center; margin-top: -2px; }
.step.is-done .step-num { background: var(--accent); color: var(--on-accent); }
.step.is-done .step-text { color: var(--label-tertiary); }
.step-text { line-height: 24px; }
.source { margin: var(--space-6) var(--space-5) 0; font-size: 13px; color: var(--label-secondary); overflow-wrap: anywhere; }
.source a { color: var(--accent); }

/* ── Editor ── */
.photo-pick { position: relative; margin: var(--space-2) var(--space-4) var(--space-6); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; display: block; width: calc(100% - 2 * var(--space-4)); border: 0; padding: 0; background: none; }
.photo-pick .thumb { position: absolute; inset: 0; }
.photo-pick-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; }
.photo-pick-label svg { width: 34px; height: 34px; }
.photo-pick.has-image .photo-pick-label { inset: auto var(--space-3) var(--space-3) auto; flex-direction: row; padding: 6px 12px; border-radius: var(--radius-full); background: rgba(0, 0, 0, 0.5); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; }
.photo-pick.has-image .photo-pick-label svg { width: 16px; height: 16px; }
.ing-edit { display: grid; grid-template-columns: 64px 64px 1fr 32px; gap: var(--space-2); align-items: center; padding: 6px var(--space-2) 6px var(--space-4); position: relative; }
.ing-edit + .ing-edit::before { content: ""; position: absolute; top: 0; right: 0; left: var(--space-4); border-top: 0.5px solid var(--separator); }
.ing-edit input { min-width: 0; height: 34px; border: 0; border-radius: var(--radius-xs); background: var(--fill-tertiary); padding: 0 8px; outline: none; color: var(--label); font-size: 16px; }
.ing-edit input:focus { box-shadow: 0 0 0 1.5px var(--accent) inset; }
.ing-edit.is-heading { grid-template-columns: 1fr 32px; }
.ing-edit.is-heading input { font-weight: 600; background: var(--accent-tint); }
.del-btn { width: 32px; height: 32px; border: 0; background: none; color: var(--red); display: grid; place-items: center; padding: 0; }
.del-btn svg { width: 20px; height: 20px; }
.step-edit { display: grid; grid-template-columns: 28px 1fr 32px; gap: var(--space-2); align-items: start; padding: 8px var(--space-2) 8px var(--space-4); position: relative; }
.step-edit + .step-edit::before { content: ""; position: absolute; top: 0; right: 0; left: var(--space-4); border-top: 0.5px solid var(--separator); }
.step-edit .step-num { margin-top: 6px; }
.step-edit textarea { min-height: 70px; border: 0; border-radius: var(--radius-xs); background: var(--fill-tertiary); padding: 8px; outline: none; color: var(--label); resize: vertical; font-size: 16px; line-height: 22px; }
.step-edit textarea:focus { box-shadow: 0 0 0 1.5px var(--accent) inset; }
.add-row { display: flex; gap: var(--space-4); padding: 0 var(--space-4); }
.add-row button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: none; color: var(--accent); padding: 0; font-size: 17px; }
.add-row svg { width: 22px; height: 22px; }

/* ── Sheets ── */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: var(--overlay); opacity: 0; transition: opacity .25s; }
.sheet-backdrop.is-open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-width: 600px; margin: 0 auto;
  max-height: calc(100dvh - var(--safe-top) - 24px); overflow: auto; overscroll-behavior: contain;
  background: var(--bg-grouped); border-radius: var(--radius-sheet) var(--radius-sheet) 0 0; box-shadow: var(--shadow-sheet);
  padding: 6px 0 calc(var(--safe-bottom) + var(--space-5));
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .9, .25, 1);
}
.sheet.is-open { transform: none; }
.grabber { width: 36px; height: 5px; margin: 0 auto 6px; border-radius: 3px; background: var(--label-tertiary); }
.sheet-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--space-4) var(--space-3); position: sticky; top: -6px; background: var(--bg-grouped); z-index: 2; }
.sheet-head > :last-child { justify-self: end; }
.sheet-title { font-weight: 600; text-align: center; }
.sheet-body { padding: var(--space-2) 0 0; }
.sheet-body > .btn-row, .sheet-body > .pad { padding: 0 var(--space-4); }
.add-option { display: flex; align-items: center; gap: var(--space-4); width: 100%; padding: var(--space-4); border: 0; background: var(--bg-grouped-secondary); border-radius: var(--radius-lg); text-align: left; color: var(--label); }
.add-option + .add-option { margin-top: var(--space-3); }
.add-option[disabled] { opacity: .45; }
.add-option-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); flex: none; }
.add-option-icon svg { width: 24px; height: 24px; }
.add-option strong { display: block; font-weight: 600; }
.add-option small { display: block; color: var(--label-secondary); font-size: 15px; line-height: 20px; letter-spacing: -0.23px; }
.pad { padding: 0 var(--space-4); }
.hint { font-size: 13px; line-height: 18px; color: var(--label-secondary); padding: var(--space-2) var(--space-4) 0; }

/* Aktionsblatt */
.actions { padding: 0 var(--space-2); }
.actions .list { border-radius: var(--radius-lg); }
.actions .cell { justify-content: center; min-height: 56px; font-size: 18px; color: var(--accent); }
.actions .cell svg { width: 20px; height: 20px; }
.actions .cell-danger { color: var(--red); }
.actions .cancel { margin-top: var(--space-2); }
.actions .cancel .cell { font-weight: 600; }

/* ── Export-Vorschau ── */
.export-preview { display: flex; justify-content: center; padding: 0 var(--space-4) var(--space-4); }
.export-preview img { width: min(62vw, 300px); aspect-ratio: 9 / 16; border-radius: var(--radius-lg); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); background: var(--bg-grouped-secondary); }

/* ── Anmeldung ── */
.auth { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--safe-top) + var(--space-8)) 0 calc(var(--safe-bottom) + var(--space-8)); }
.auth-logo { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto var(--space-4); }
.auth h1 { text-align: center; margin: 0; font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: 0.37px; }
.auth p.lead { text-align: center; margin: 0 var(--space-8) var(--space-6); color: var(--label-secondary); }
.auth .seg { margin: 0 var(--space-4) var(--space-5); }
.form-error { margin: 0 var(--space-4) var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: rgba(255, 59, 48, 0.12); color: var(--red); font-size: 15px; line-height: 20px; letter-spacing: -0.23px; }

/* ── Laden, Hinweise ── */
.loading { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--overlay); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.loading-box { width: min(78vw, 280px); padding: var(--space-6) var(--space-5); border-radius: var(--radius-xl); background: var(--bg-elevated); text-align: center; box-shadow: var(--shadow-sheet); }
.loading-box strong { display: block; margin-top: var(--space-4); }
.loading-box small { display: block; margin-top: 4px; color: var(--label-secondary); font-size: 13px; line-height: 18px; }
.spinner { width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--accent-tint); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--space-4)); z-index: 90; transform: translate(-50%, 20px); opacity: 0; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: var(--radius-full); background: rgba(30, 30, 32, 0.92); color: #fff; font-size: 15px; letter-spacing: -0.23px; transition: opacity .2s, transform .2s; pointer-events: none; text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.share-box { display: flex; align-items: center; gap: var(--space-2); margin: 0 var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--bg-grouped-secondary); font-size: 15px; color: var(--label-secondary); overflow-wrap: anywhere; }
.banner { margin: var(--space-3) var(--space-4) 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--accent-tint); color: var(--label); font-size: 15px; line-height: 20px; letter-spacing: -0.23px; }
.banner strong { color: var(--accent); }

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

/* Feinschliff */
.search-clear[hidden] { display: none; }
a.link-btn, a.badge-tag, a.coll, a.card, a.hero-card { text-decoration: none; }
.tag svg { width: 16px; height: 16px; }
.share-box svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.share-box span { flex: 1; min-width: 0; }
.hint-card { display: flex; align-items: center; gap: var(--space-3); margin: 0 var(--space-4); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--bg-grouped-secondary); color: var(--label-secondary); font-size: 15px; line-height: 20px; letter-spacing: -0.23px; }
.hint-card svg { width: 24px; height: 24px; color: var(--accent); }
.hint-card span { flex: 1; min-width: 0; }
a.btn { text-decoration: none; }
.card-meta { flex-wrap: wrap; column-gap: 4px; row-gap: 0; }
.nowrap { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }

/* Startseite */
.lead-question { margin: -4px var(--space-4) var(--space-4); font-size: 20px; line-height: 25px; letter-spacing: -0.45px; color: var(--label-secondary); }
.carousel--single .hero-card { flex-basis: 100%; }
.plan-badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: var(--radius-full); background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; letter-spacing: -0.08px; }
.plan-badge svg { width: 15px; height: 15px; }
.row-list { margin: var(--space-2) var(--space-4) 0; background: var(--bg-grouped-secondary); border-radius: var(--radius-md); overflow: hidden; }
.row-item { position: relative; display: flex; align-items: center; gap: var(--space-3); padding: 10px var(--space-4) 10px var(--space-3); color: inherit; text-decoration: none; }
.row-item + .row-item::before { content: ""; position: absolute; top: 0; right: 0; left: 80px; border-top: 0.5px solid var(--separator); }
.row-item:active { background: var(--fill-tertiary); }
.row-thumb { flex: none; width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; }
.row-thumb .thumb { width: 100%; height: 100%; }
.row-text { flex: 1; min-width: 0; }
.row-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Aktionen im Rezept */
.detail-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); padding: var(--space-4) var(--space-5) 0; }
.action-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 64px; justify-content: center; border: 0; border-radius: var(--radius-lg); background: var(--fill-tertiary); color: var(--accent); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: -0.08px; padding: 8px 4px; }
.action-btn svg { width: 24px; height: 24px; }
.action-btn.is-on { background: var(--accent); color: var(--on-accent); }
.action-btn[disabled] { opacity: .4; }
.action-btn:active { opacity: .7; }

/* Bring!-Auswahl */
.bring-row .pick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--label-tertiary); display: grid; place-items: center; color: transparent; flex: none; }
.bring-row .pick svg { width: 14px; height: 14px; }
.bring-row[aria-pressed="true"] .pick { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.bring-row[aria-pressed="false"] .cell-label, .bring-row[aria-pressed="false"] .cell-value { color: var(--label-tertiary); }
.bring-go.is-disabled { opacity: .4; }
.detail-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-badge--small { top: var(--space-2); left: var(--space-2); height: 24px; padding: 0 8px; font-size: 12px; }
.plan-badge--small svg { width: 13px; height: 13px; }
.auth .empty-icon { margin-bottom: var(--space-4); }
.temp-pw { justify-content: center; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 24px; letter-spacing: 1px; color: var(--label); padding: var(--space-5); user-select: all; }
.cell .badge-tag { flex: none; }

/* ── Aus Foto importieren ── */
.pi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.pi-thumb, .pi-add { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-md); overflow: hidden; }
.pi-thumb { background: var(--fill-tertiary); }
.pi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pi-loading { display: grid; place-items: center; }
.pi-num { position: absolute; left: 6px; bottom: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 13px; font-weight: 600; line-height: 22px; text-align: center; }
.pi-remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.6); color: #fff; }
.pi-remove svg { width: 14px; height: 14px; }
.pi-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: var(--space-2); background: var(--bg-grouped-secondary); color: var(--accent); font-size: 13px; line-height: 16px; font-weight: 600; text-align: center; cursor: pointer; box-shadow: 0 0 0 1.5px var(--accent-tint) inset; }
.pi-add svg { width: 28px; height: 28px; }
.pi-add:active { background: var(--accent-tint); }
.pi-add:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.pi-error { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0 0 var(--space-3); }
.pi-error svg { width: 18px; height: 18px; margin-top: 1px; }
.pi-busy { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: var(--space-6) var(--space-5) var(--space-4); text-align: center; }
.pi-busy strong { font-size: 20px; line-height: 25px; letter-spacing: -0.45px; margin-top: var(--space-3); }
.pi-busy small { font-size: 15px; line-height: 20px; color: var(--label-secondary); min-height: 20px; }
.pi-busy .spinner { margin-top: var(--space-4); }
.pi-stack { position: relative; width: 120px; height: 120px; }
.pi-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); border: 3px solid var(--bg-elevated); transform: rotate(calc((var(--i) - 1) * 6deg)) translateX(calc((var(--i) - 1) * 10px)); }
.pi-bar { width: min(260px, 80%); height: 6px; border-radius: 3px; background: var(--fill-tertiary); overflow: hidden; margin-top: var(--space-2); }
.pi-bar span { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .3s; }

/* ── Prüfen nach dem Import ── */
.review-panel { margin: 0 var(--space-4) var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: var(--bg-grouped-secondary); }
.review-line { display: flex; gap: var(--space-2); margin: 0 0 var(--space-2); font-size: 15px; line-height: 20px; letter-spacing: -0.23px; }
.review-line svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--orange); }
.review-line--muted { color: var(--label-secondary); }
.review-photos { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.review-photos-label { font-size: 13px; color: var(--label-secondary); }
.review-thumb { position: relative; width: 56px; height: 72px; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--fill-tertiary); }
.review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-thumb span { position: absolute; left: 4px; bottom: 4px; min-width: 18px; height: 18px; border-radius: 9px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.is-uncertain { box-shadow: inset 3px 0 0 var(--orange); }
.ing-edit.is-uncertain input, .step-edit.is-uncertain textarea { box-shadow: 0 0 0 1.5px var(--orange) inset; }
.unc-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; margin: -2px 0 2px; font-size: 13px; line-height: 16px; color: var(--orange); }
.unc-note svg, .unc-sub svg { width: 14px; height: 14px; flex: none; }
.unc-sub { display: flex !important; align-items: center; gap: 4px; color: var(--orange) !important; font-size: 13px !important; }
.unc-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

/* Originalfoto gross */
.photo-viewer { position: fixed; inset: 0; z-index: 75; display: flex; flex-direction: column; background: #000; color: #fff; padding-top: var(--safe-top); padding-bottom: var(--safe-bottom); }
.pv-head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 var(--space-4); font-weight: 600; }
.pv-head .nav-btn { color: #b9cd95; }
.pv-stage { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; -webkit-overflow-scrolling: touch; }
.pv-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.pv-stage img.is-zoomed { max-width: none; max-height: none; width: 220%; cursor: zoom-out; }
.pv-foot { display: flex; justify-content: center; gap: var(--space-3); padding: var(--space-3); }
.pv-foot .btn { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ── Zutaten verschieben ── */
.ing-edit { grid-template-columns: 24px 62px 62px minmax(0, 1fr) 28px; gap: 5px; padding-left: 4px; padding-right: 6px; }
.ing-edit input { padding: 0 6px; }
.ing-edit input::placeholder { font-size: 15px; }
.ing-edit.is-heading { grid-template-columns: 28px minmax(0, 1fr) 32px; }
.ing-edit + .ing-edit::before { left: 36px; }
.drag-handle { width: 28px; height: 34px; padding: 0; border: 0; border-radius: var(--radius-xs); background: none; color: var(--label-tertiary); display: grid; place-items: center; touch-action: none; cursor: grab; }
.drag-handle svg { width: 18px; height: 18px; }
.drag-handle:focus-visible { color: var(--accent); }
.ing-edit.is-dragging { position: relative; z-index: 5; background: var(--bg-elevated); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); border-radius: var(--radius-sm); transition: none; }
.ing-edit.is-dragging .drag-handle { color: var(--accent); cursor: grabbing; }
.is-sorting .ing-edit:not(.is-dragging) { transition: transform .18s ease; }
.is-sorting { user-select: none; -webkit-user-select: none; }
.inline-icon { width: 14px; height: 14px; vertical-align: -2px; }
.is-dragging-row, .is-dragging-row * { user-select: none !important; -webkit-user-select: none !important; cursor: grabbing; }

.pi-bar--busy span { width: 35% !important; animation: pi-slide 1.4s ease-in-out infinite; }
@keyframes pi-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(290%); } }

/* ── Zuschneiden ── */
.pi-crop { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 28px; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 4px; background: rgba(0, 0, 0, 0.62); color: #fff; font-size: 12px; font-weight: 600; padding: 0 8px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pi-crop svg { width: 14px; height: 14px; flex: none; }
.pi-crop.is-on { background: var(--accent); color: var(--on-accent); }
.pi-thumb .pi-num { bottom: auto; top: 6px; }
.unc-inline { color: var(--orange); }
.crop-editor { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: #0d0d0d; color: #fff; padding-top: var(--safe-top); padding-bottom: var(--safe-bottom); touch-action: none; }
.ce-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; padding: 0 var(--space-4); }
.ce-head > :last-child { justify-self: end; }
.ce-head .nav-btn { color: #b9cd95; }
.ce-stage { flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; padding: var(--space-4); }
.ce-wrap { position: relative; max-width: 100%; max-height: 100%; user-select: none; -webkit-user-select: none; }
.ce-wrap img { display: block; max-width: 100%; max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 200px); width: auto; height: auto; pointer-events: none; }
.ce-rect { position: absolute; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6); outline: 2px solid #fff; cursor: move; z-index: 1; touch-action: none; }
.ce-rect:focus-visible { outline-color: #b9cd95; }

.ce-grid { position: absolute; inset: 0; pointer-events: none; }
.ce-grid::before, .ce-grid::after { content: ""; position: absolute; border: 0 solid rgba(255, 255, 255, 0.45); }
.ce-grid::before { top: 0; bottom: 0; left: 33.333%; right: 33.333%; border-left-width: 1px; border-right-width: 1px; }
.ce-grid::after { left: 0; right: 0; top: 33.333%; bottom: 33.333%; border-top-width: 1px; border-bottom-width: 1px; }
.ce-h { position: absolute; width: 44px; height: 44px; z-index: 2; touch-action: none; }
.ce-h::after { content: ""; position: absolute; background: #fff; border-radius: 2px; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.7)); }
.ce-nw { left: -22px; top: -22px; cursor: nwse-resize; } .ce-ne { right: -22px; top: -22px; cursor: nesw-resize; }
.ce-sw { left: -22px; bottom: -22px; cursor: nesw-resize; } .ce-se { right: -22px; bottom: -22px; cursor: nwse-resize; }
.ce-nw::after, .ce-ne::after, .ce-sw::after, .ce-se::after { width: 22px; height: 22px; background: none; border: 4px solid #fff; }
.ce-nw::after { left: 20px; top: 20px; border-right: 0; border-bottom: 0; } .ce-ne::after { right: 20px; top: 20px; border-left: 0; border-bottom: 0; }
.ce-sw::after { left: 20px; bottom: 20px; border-right: 0; border-top: 0; } .ce-se::after { right: 20px; bottom: 20px; border-left: 0; border-top: 0; }
.ce-n, .ce-s { left: 50%; margin-left: -22px; cursor: ns-resize; } .ce-n { top: -22px; } .ce-s { bottom: -22px; }
.ce-e, .ce-w { top: 50%; margin-top: -22px; cursor: ew-resize; } .ce-e { right: -22px; } .ce-w { left: -22px; }
.ce-n::after, .ce-s::after { left: 10px; width: 24px; height: 4px; top: 20px; } .ce-e::after, .ce-w::after { top: 10px; height: 24px; width: 4px; left: 20px; }
.ce-foot { padding: var(--space-3) var(--space-5) var(--space-4); text-align: center; }
.ce-foot p { margin: 0 0 var(--space-3); font-size: 15px; line-height: 20px; color: rgba(255, 255, 255, 0.8); }
.ce-foot .btn { background: rgba(255, 255, 255, 0.16); color: #fff; }
.auth-wordmark { display: block; width: min(260px, 70vw); height: auto; margin: 0 auto var(--space-5); color: var(--label); }
