@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --sand: #F6F0E4;
  --salbei: #4F6B4A;
  --tuerkis: #19C3B1;
  --wald: #23332B;

  --bg: var(--sand);
  --card: #FDFAF3;
  --text: var(--wald);
  --text2: #54615A;
  --border: #E3DCC8;
  --field-border: #667A66;
  --field-bg: #FFFFFF;
  --primary: var(--salbei);
  --on-primary: #FFFFFF;
  --focus: var(--salbei);
  --accent: var(--tuerkis);
  --error-bg: #FBE4DE;
  --error-text: #7A1F0F;
  --ok-bg: #DDEBD9;
  --ok-text: #23332B;
  --warn-bg: #FFF1BF;
  --warn-text: #4A3A00;

  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 14px;
  --tap: 48px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--wald);
    --card: #2B3E34;
    --text: var(--sand);
    --text2: #C5CEC4;
    --border: #3E5548;
    --field-border: #9BB09A;
    --field-bg: #1B2921;
    --primary: var(--sand);
    --on-primary: var(--wald);
    --focus: var(--tuerkis);
    --error-bg: #5A2318;
    --error-text: #FFE3DC;
    --ok-bg: #34503A;
    --ok-text: var(--sand);
    --warn-bg: #5A4A10;
    --warn-text: #FFF1BF;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.5 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; overflow-wrap: anywhere; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Bausteine ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 10px 20px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--on-primary);
  font: 600 1rem/1.2 var(--font-ui);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn.secondary { background: transparent; color: var(--text); border-color: var(--field-border); }
.btn.quiet { background: transparent; color: var(--text); border-color: transparent; padding-inline: 12px; }

label { display: block; font-weight: 600; margin: 0 0 6px; }
input[type="text"], input[type="password"], input[type="search"] {
  display: block;
  width: 100%;
  min-height: var(--tap);
  padding: 10px 14px;
  border: 2px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--field-bg);
  color: var(--text);
  font: 400 1rem/1.3 var(--font-ui); /* 16 px: iOS zoomt sonst beim Tippen */
}
input:focus-visible { outline-offset: 2px; border-radius: var(--radius); }

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 500;
}
.notice::before { font-weight: 700; flex: none; }
.notice.error { background: var(--error-bg); color: var(--error-text); }
.notice.error::before { content: "✕"; }
.notice.ok { background: var(--ok-bg); color: var(--ok-text); }
.notice.ok::before { content: "✓"; }
.note { color: var(--text2); font-size: .95rem; }

/* ---------- Anmeldung und Setup ---------- */

.auth {
  min-height: 100dvh;
  max-width: 420px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 40px) calc(env(safe-area-inset-right) + 24px)
           calc(env(safe-area-inset-bottom) + 24px) calc(env(safe-area-inset-left) + 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.auth-logo { width: 104px; height: 104px; margin-bottom: 4px; }
.auth h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); letter-spacing: -.01em; }
.auth-sub { font-size: 1.15rem; color: var(--text2); margin-bottom: 14px; }
.auth-form { width: 100%; text-align: left; display: flex; flex-direction: column; }
.auth-form input { margin-bottom: 16px; }
.auth-form .btn { width: 100%; margin-top: 6px; }
.auth .notice { width: 100%; text-align: left; }
.auth-foot {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text2);
}
.auth-foot::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 3px;
  background: var(--accent);
}

/* ---------- App-Rahmen ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(env(safe-area-inset-top) + 8px) calc(env(safe-area-inset-right) + 12px) 8px calc(env(safe-area-inset-left) + 16px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.topbar img { width: 34px; height: 34px; flex: none; }
.topbar h1 { font-size: 1.35rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 32px) calc(env(safe-area-inset-left) + 16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h2 { font-size: 1.3rem; }
.empty { align-items: center; text-align: center; padding: 36px 18px; }
.empty img { width: 72px; height: 72px; opacity: .9; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row .btn { flex: 1 1 140px; }
.page-foot { text-align: center; color: var(--text2); font-family: var(--font-display); font-weight: 700; padding-top: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .08s ease; }
}

/* ---------- Phase 2: Liste und Artikel ---------- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
select, textarea, input[type="date"] {
  display: block;
  width: 100%;
  min-height: var(--tap);
  padding: 10px 14px;
  border: 2px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--field-bg);
  color: var(--text);
  font: 400 1rem/1.4 var(--font-ui);
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 15px) 55%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}
textarea { resize: vertical; }
select:focus-visible, textarea:focus-visible { outline-offset: 2px; border-radius: var(--radius); }
input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--salbei); flex: none; margin: 0; }

.btn.small { min-height: 44px; padding: 8px 14px; font-size: .95rem; align-self: flex-start; }
.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
:root { --danger: #A3271A; }
@media (prefers-color-scheme: dark) { :root { --danger: #FFB4A6; } }

.notice.warn { background: var(--warn-bg); color: var(--warn-text); align-items: center; flex-wrap: wrap; }
.notice.warn::before { content: "⚠"; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 12px; }

.field { display: flex; flex-direction: column; min-width: 0; }
.field label { margin-bottom: 6px; }
.field > .btn { margin-top: 8px; }
.field-warn, .counter.over {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn-text);
  font-weight: 600;
  font-size: .95rem;
}
.field.unsure input, .field.unsure textarea { border-color: #B8860B; background: var(--warn-bg); color: var(--warn-text); }
.counter { margin-top: 6px; color: var(--text2); font-size: .95rem; font-variant-numeric: tabular-nums; }
.money-wrap { position: relative; }
.money-wrap span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text2); pointer-events: none; }
input.money { padding-right: 34px; font-variant-numeric: tabular-nums; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.card h3 { font-size: 1.1rem; margin-top: 6px; }

.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters .wide { grid-column: 1 / -1; }

.cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.item-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  font-weight: 400;
  margin: 0;
}
.item-card.selecting { grid-template-columns: 24px 64px 1fr auto; cursor: pointer; }
.item-card h3 { font-size: 1.08rem; overflow-wrap: anywhere; }
.card-main { min-width: 0; }
.card-price { margin-top: 2px; }
.thumb {
  width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--border);
  display: grid; place-items: center;
}
.thumb img { width: 36px; height: 36px; opacity: .55; }
.thumb img.photo { width: 100%; height: 100%; object-fit: cover; opacity: 1; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 2px solid var(--field-border);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  align-self: start;
}
.badge.eingestellt { background: var(--accent); border-color: var(--accent); color: #23332B; }
.badge.verkauft { background: var(--salbei); border-color: var(--salbei); color: #fff; }
.badge.geloescht { border-style: dashed; }

.has-bar { padding-bottom: calc(env(safe-area-inset-bottom) + 96px); }
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 10px) calc(env(safe-area-inset-left) + 16px);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
form .actionbar .btn { flex: 1; }
.fab {
  position: fixed;
  right: calc(env(safe-area-inset-right) + 16px);
  bottom: calc(env(safe-area-inset-bottom) + 16px);
  z-index: 5;
  box-shadow: 0 4px 14px rgb(35 51 43 / .28);
}
.actionbar:not([hidden]) + .fab { display: none; }

.checks { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.checks legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; margin: 0; }

.dialog {
  width: min(92vw, 440px);
  max-height: 88dvh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: var(--card);
  color: var(--text);
}
.dialog::backdrop { background: rgb(20 30 25 / .55); }
.dialog h2 { font-size: 1.3rem; margin-bottom: 10px; }
.dialog > p { margin-bottom: 14px; }
.dialog-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 84px);
  transform: translateX(-50%);
  z-index: 20;
  max-width: min(92vw, 420px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--wald);
  color: var(--sand);
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 14px rgb(0 0 0 / .3);
}
.toast.error, .toast.warn { border-radius: 14px; }
@media (prefers-color-scheme: dark) { .toast { background: var(--sand); color: var(--wald); } }

.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }

/* ---------- Abgleich mit v1 ---------- */
.filters { grid-template-columns: 1fr 1fr; }
.seg { display: flex; border: 2px solid var(--field-border); border-radius: var(--radius); overflow: hidden; }
.seg button {
  flex: 1 1 0; min-width: 0; min-height: var(--tap); padding: 6px 2px;
  border: 0; border-right: 1px solid var(--field-border);
  background: var(--field-bg); color: var(--text);
  font: 500 .88rem/1.2 var(--font-ui);
}
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); font-weight: 700; }
.seg button:focus-visible { outline-offset: -4px; }
.badge.warn { background: var(--warn-bg); color: var(--warn-text); border-color: transparent; }
.note.small { font-size: .88rem; margin-top: 6px; }
.hintbox { background: var(--warn-bg); color: var(--warn-text); border-radius: var(--radius); padding: 12px 14px; }
.hintbox ul { margin: 6px 0 0 20px; padding: 0; }
textarea { overflow: hidden; }
form .actionbar .btn.secondary { flex: 0 0 auto; }

/* ---------- Phase 3: Fotos ---------- */
.btn.quiet[disabled], .btn[disabled] { cursor: default; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-item {
  position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0;
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  background: var(--bg); cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3px 4px; background: rgb(35 51 43 / .82); color: #F6F0E4;
  font: 600 .72rem/1.2 var(--font-ui); text-align: center;
}
.gallery-tag.label { background: var(--tuerkis); color: #23332B; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: #000; touch-action: none; overflow: hidden; user-select: none; -webkit-user-select: none; }
.lightbox img { position: absolute; left: 50%; top: 50%; max-width: 100vw; max-height: 100dvh; transform-origin: center; will-change: transform; -webkit-user-drag: none; }
.lb-close, .lb-nav { position: absolute; z-index: 2; border: 0; background: rgb(255 255 255 / .22); color: #fff; }
.lb-close { top: calc(env(safe-area-inset-top) + 10px); right: 12px; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; }
.lb-count { position: absolute; z-index: 2; top: calc(env(safe-area-inset-top) + 22px); left: 16px; color: #fff; font-weight: 600; }
.lb-nav { top: 50%; width: 48px; height: 72px; margin-top: -36px; font-size: 30px; }
.lb-nav.prev { left: 0; border-radius: 0 12px 12px 0; }
.lb-nav.next { right: 0; border-radius: 12px 0 0 12px; }
.lightbox :focus-visible { outline-color: #fff; }
@media (pointer: coarse) { .lb-nav { display: none; } }

.editor {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.ed-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.ed-head h2 { flex: 1; min-width: 0; font-size: 1.1rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-stage { flex: 1 1 0; min-height: 180px; display: grid; place-items: center; background: #1B2921; overflow: hidden; touch-action: none; }
.ed-wrap { position: relative; line-height: 0; }
.ed-canvas { width: 100%; height: 100%; display: block; }
.ed-canvas.pick { cursor: crosshair; }
.ed-crop {
  position: absolute; box-sizing: border-box;
  border: 2px solid #fff; box-shadow: 0 0 0 9999px rgb(0 0 0 / .55);
  touch-action: none; cursor: move;
}
.ed-wrap { overflow: hidden; }
.ed-handle { position: absolute; width: 44px; height: 44px; touch-action: none; }
.ed-handle::after { content: ""; position: absolute; width: 22px; height: 22px; border: 4px solid var(--tuerkis); }
.ed-handle.nw { left: -4px; top: -4px; cursor: nwse-resize; } .ed-handle.nw::after { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.ed-handle.ne { right: -4px; top: -4px; cursor: nesw-resize; } .ed-handle.ne::after { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.ed-handle.sw { left: -4px; bottom: -4px; cursor: nesw-resize; } .ed-handle.sw::after { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.ed-handle.se { right: -4px; bottom: -4px; cursor: nwse-resize; } .ed-handle.se::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.ed-tabs { margin: 10px 12px 0; flex: none; }
.ed-controls { flex: none; max-height: 44dvh; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ed-slider { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
.ed-slider label { margin: 0; }
.ed-slider output { font-variant-numeric: tabular-nums; color: var(--text2); }
.ed-slider input { grid-column: 1 / -1; }
input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--salbei); background: transparent; }
@media (prefers-color-scheme: dark) { input[type="range"] { accent-color: var(--tuerkis); } }
.ed-bg { align-items: center; }
.ed-bg label { margin: 0; }
input[type="color"] { width: 64px; height: 48px; padding: 2px; border: 2px solid var(--field-border); border-radius: 10px; background: var(--field-bg); }
.ed-bg .btn { flex: 0 0 auto; }
.ed-head .btn { min-height: 44px; padding: 8px 12px; }
.ed-head h2 { font: 600 1rem/1.2 var(--font-ui); }

/* ---------- Phase 4: KI und Kostenradar ---------- */
.kibox { padding: 12px; border: 1px dashed var(--field-border); border-radius: var(--radius); gap: 6px; }
.kibox .note { margin: 0; }
.radar {
  display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 44px;
  padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); color: var(--text2); font: 500 .9rem/1.3 var(--font-ui); text-align: left; cursor: pointer;
}
.radar.warn { background: var(--warn-bg); color: var(--warn-text); border-color: transparent; }
.radar-bar { display: block; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.radar-bar span { display: block; height: 100%; background: var(--tuerkis); }
.radar.warn .radar-bar span { background: #B8860B; }
.radar-warn { font-weight: 700; }
.costs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.costs th { text-align: left; font-weight: 600; padding: 6px 10px 6px 0; vertical-align: top; }
.costs td { text-align: right; padding: 6px 0; font-variant-numeric: tabular-nums; }
.costs tr + tr { border-top: 1px solid var(--border); }
.dialog h3 { font-size: 1.05rem; margin-top: 6px; }

/* ---------- Phase 5: Collage und Teilen ---------- */
.collage-preview { width: 100%; max-width: 360px; align-self: center; aspect-ratio: 1; border: 1px solid var(--border); border-radius: 10px; display: block; }

/* ---------- Rückmeldung aus dem iPhone-Test ---------- */
/* Safari gibt Datumsfeldern eine eigene Mindestbreite: im Dialog lief das Feld über den Rand. */
input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; }
.dialog { overflow-x: hidden; }
.dialog .field, .dialog .stack { min-width: 0; }
.dialog input, .dialog select { min-width: 0; max-width: 100%; }
.radar { flex-direction: row; align-items: center; gap: 10px; }
.radar-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.radar-more { flex: none; font-size: 1.5rem; line-height: 1; font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }

/* Zuschnitt: nichts markieren, größere Griffe (Rückmeldung iPad) */
.editor, .editor * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.editor input { -webkit-user-select: auto; user-select: auto; }
.ed-stage, .ed-wrap, .ed-canvas { touch-action: none; }
.ed-wrap { overflow: visible; }
.ed-stage { overflow: hidden; }
.ed-crop { border-width: 3px; }
.ed-handle { width: 64px; height: 64px; }
.ed-handle::after { width: 34px; height: 34px; border-width: 7px; border-color: var(--tuerkis); filter: drop-shadow(0 0 2px rgb(0 0 0 / .7)); }
.ed-handle.nw { left: -14px; top: -14px; } .ed-handle.nw::after { left: 11px; top: 11px; }
.ed-handle.ne { right: -14px; top: -14px; } .ed-handle.ne::after { right: 11px; top: 11px; }
.ed-handle.sw { left: -14px; bottom: -14px; } .ed-handle.sw::after { left: 11px; bottom: 11px; }
.ed-handle.se { right: -14px; bottom: -14px; } .ed-handle.se::after { right: 11px; bottom: 11px; }

/* ---------- Wischen zum Löschen, Archiv ---------- */
.swipe { position: relative; border-radius: var(--radius); overflow: hidden; }
.swipe-hint {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 22px; background: var(--danger); color: var(--bg); font-weight: 700; border-radius: var(--radius);
}
.swipe.armed .swipe-hint { text-decoration: underline; }
.swipe .item-card { position: relative; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@media (prefers-reduced-motion: no-preference) { .swipe .item-card { transition: transform .12s ease; } }
.notice.warn .btn { margin-top: 4px; }
.actionbar .btn.secondary { flex: 0 0 auto; }
