/* Les Petites Madeleines — charte reprise du site de la crèche :
   brun chocolat, miel, corail, sauge, pêche ; titres en Delius, texte en Lato. */
@font-face { font-family: Delius; src: url(/fonts/delius.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Lato; font-weight: 400; src: url(/fonts/lato-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Lato; font-weight: 700; src: url(/fonts/lato-700.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Lato; font-weight: 900; src: url(/fonts/lato-900.woff2) format('woff2'); font-display: swap; }

:root {
  --brown: #381b14; --brown-2: #5a3a31; --muted: #86685e;
  --honey: #df962a; --honey-d: #b87412; --honey-100: #fbecd2; --honey-50: #fef7ea;
  --coral: #f39d99; --coral-d: #b83a34; --coral-100: #fde6e4;
  --sage: #97b69f; --sage-d: #3d6a4b; --sage-100: #e5efe7;
  --peach: #fad7bf; --peach-50: #fff5ed;
  --bg: #fffaf6; --surface: #fff; --line: #f1e3d8; --line-2: #e6d2c4;
  --r: 14px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(56, 27, 20, .05), 0 6px 20px rgba(56, 27, 20, .06);
  --shadow-up: 0 -6px 30px rgba(56, 27, 20, .12);
  --display: Delius, 'Trebuchet MS', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--brown); font: 16px/1.45 Lato, system-ui, sans-serif; overscroll-behavior-y: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.15; }
h1 { font-size: 28px; } h2 { font-size: 21px; } h3 { font-size: 18px; }
p { margin: 0 0 10px; } small { font-size: 13px; color: var(--muted); }
a { color: var(--honey-d); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; text-align: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 6px; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 17px; height: 17px; } .ic.lg { width: 28px; height: 28px; }
.muted { color: var(--muted); } .center { text-align: center; } .grow { flex: 1; min-width: 0; }
.confetti { background-image: url(/img/confettis.svg); background-size: 300px; }

/* ---------- Structure ---------- */
.shell { min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgba(255, 250, 246, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand img { width: 40px; height: auto; }
.brand b { font: 400 18px/1.05 var(--display); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { color: var(--coral); font-weight: 700; font-size: 12px; }
.userchip { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.sidebar { display: none; }
main { flex: 1; padding: 18px 14px calc(96px + var(--safe-b)); width: 100%; max-width: 860px; margin: 0 auto; }

.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + var(--safe-b)); box-shadow: var(--shadow-up); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; color: var(--muted); font-size: 11.5px; font-weight: 700; text-decoration: none; border-radius: 12px; position: relative; }
.tabbar .on { color: var(--brown); }
.tabbar .on .ic { color: var(--honey-d); }
.tabbar .fab { margin: -26px auto 0; width: 60px; height: 60px; border-radius: 50%; background: var(--honey); color: var(--brown); justify-content: center; box-shadow: 0 8px 20px rgba(223, 150, 42, .45); border: 4px solid var(--bg); }
.tabbar .fab .ic { width: 28px; height: 28px; stroke-width: 2.4; }
.dot { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral-d); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

@media (min-width: 960px) {
  .shell { flex-direction: row; }
  .topbar, .tabbar { display: none; }
  .sidebar { display: flex; flex-direction: column; gap: 4px; width: 264px; flex: none; height: 100dvh; position: sticky; top: 0; padding: 22px 16px; background: var(--peach-50); border-right: 1px solid var(--line); overflow-y: auto; }
  .sidebar .brand { margin-bottom: 18px; padding: 0 6px; } .sidebar .brand img { width: 52px; } .sidebar .brand b { font-size: 21px; white-space: normal; }
  .sidebar nav { display: flex; flex-direction: column; gap: 2px; }
  .sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--brown-2); text-decoration: none; font-weight: 700; }
  .sidebar nav a:hover { background: rgba(250, 215, 191, .5); }
  .sidebar nav a.on { background: var(--surface); color: var(--brown); box-shadow: var(--shadow); }
  .sidebar nav a.on .ic { color: var(--honey-d); }
  .sidebar nav a .dot { position: static; margin-left: auto; }
  .sidebar .navlabel { margin: 16px 12px 4px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .sidebar .userchip { margin: auto 0 0; padding: 8px 12px 8px 8px; border-radius: 16px; }
  .sidebar .cta { margin: 0 0 14px; }
  main { padding: 34px 40px 60px; max-width: 1020px; }
  h1 { font-size: 34px; }
}

/* ---------- En-tête de page ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.head p { color: var(--muted); margin: 4px 0 0; }
.head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hero { position: relative; overflow: hidden; border-radius: var(--r-lg); background-color: var(--peach); padding: 20px 20px 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.hero h1 { font-size: 27px; } .hero p { margin: 4px 0 0; color: var(--brown-2); }
.hero img { width: 92px; margin: -6px -4px -10px auto; flex: none; }
@media (min-width: 960px) { .hero { padding: 28px 32px; } .hero h1 { font-size: 36px; } .hero img { width: 130px; } }

/* ---------- Cartes, listes ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card > h2, .card > h3 { margin-bottom: 10px; }
.card.flush { padding: 6px 0; } .card.flush > h3 { padding: 10px 16px 4px; margin: 0; }
.section { display: flex; align-items: center; gap: 8px; margin: 20px 4px 8px; font: 900 12px/1 Lato; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section .ic { width: 16px; height: 16px; }
.section .count { margin-left: auto; font-weight: 700; letter-spacing: 0; text-transform: none; }
.grid { display: grid; gap: 14px; } @media (min-width: 720px) { .grid.c2 { grid-template-columns: 1fr 1fr; } .grid.c3 { grid-template-columns: repeat(3, 1fr); } }

.row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border-bottom: 1px solid var(--line); min-height: 60px; text-decoration: none; color: inherit; }
.row:last-child { border-bottom: 0; }
button.row:active, a.row:active { background: var(--peach-50); }
@media (hover: hover) { button.row:hover, a.row:hover { background: var(--peach-50); } }
.row-ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--peach-50); color: var(--brown-2); overflow: hidden; }
.row-ic img { width: 100%; height: 100%; object-fit: cover; }
.row-ic.honey { background: var(--honey-100); color: var(--honey-d); } .row-ic.coral { background: var(--coral-100); color: var(--coral-d); }
.row-ic.sage { background: var(--sage-100); color: var(--sage-d); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-main b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.row-main small { overflow: hidden; text-overflow: ellipsis; }
.row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; font-size: 14px; }
.row-side b { font-weight: 900; white-space: nowrap; }
.row .chev { color: var(--line-2); }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 900; white-space: nowrap; background: var(--peach-50); color: var(--brown-2); }
.pill.ok { background: var(--sage-100); color: var(--sage-d); } .pill.warn { background: var(--honey-100); color: #8a560b; }
.pill.bad { background: var(--coral-100); color: var(--coral-d); } .pill .ic { width: 13px; height: 13px; stroke-width: 2.6; }

.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: var(--brown); background: var(--peach); }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.avatar.c1 { background: var(--honey-100); } .avatar.c2 { background: var(--coral-100); } .avatar.c3 { background: var(--sage-100); } .avatar.c4 { background: var(--peach); }

.empty { text-align: center; padding: 28px 18px; color: var(--muted); }
.empty img { width: 84px; opacity: .9; display: block; margin: 0 auto 8px; } .empty b { display: block; color: var(--brown); font: 400 18px var(--display); margin-bottom: 2px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 13px; font-weight: 900; background: var(--peach-50); color: var(--brown); border: 1px solid var(--line-2); text-decoration: none; transition: transform .08s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--honey); border-color: var(--honey); box-shadow: 0 4px 12px rgba(223, 150, 42, .3); }
.btn.dark { background: var(--brown); border-color: var(--brown); color: #fff; }
.btn.danger { background: var(--coral-100); border-color: var(--coral-100); color: var(--coral-d); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; } .btn[disabled] { opacity: .55; pointer-events: none; }
.btnrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .btnrow .wide { grid-column: 1 / -1; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 900; line-height: 1.2; min-height: 104px; }
.tile:active { transform: scale(.97); }
.tile span.ticon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.tile small { font-weight: 400; display: block; margin-top: 2px; }
.t-honey .ticon { background: var(--honey-100); color: var(--honey-d); } .t-coral .ticon { background: var(--coral-100); color: var(--coral-d); }
.t-sage .ticon { background: var(--sage-100); color: var(--sage-d); } .t-peach .ticon { background: var(--peach); color: var(--brown); }

.seg { display: flex; gap: 4px; padding: 4px; background: var(--peach-50); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.seg button { flex: 1; padding: 9px 12px; border-radius: 10px; font-weight: 700; color: var(--muted); white-space: nowrap; text-align: center; font-size: 15px; }
.seg button.on { background: var(--surface); color: var(--brown); box-shadow: var(--shadow); }
.seg button i { font-style: normal; font-weight: 900; color: var(--honey-d); margin-left: 4px; }

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.lbl { font-size: 13px; font-weight: 900; color: var(--brown-2); }
.hint { font-size: 13px; color: var(--muted); } .hint.warn { color: #8a560b; font-weight: 700; } .hint.bad { color: var(--coral-d); font-weight: 700; } .hint.ok { color: var(--sage-d); font-weight: 700; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); appearance: none; -webkit-appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2386685e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--honey); box-shadow: 0 0 0 4px var(--honey-100); }
input[readonly] { background: var(--peach-50); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; } .f2 .wide { grid-column: 1 / -1; }
.inline { display: flex; gap: 8px; } .inline > * { min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-weight: 700; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--honey-d); flex: none; }
.choice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; margin-bottom: 8px; }
.choice input { width: 20px; height: 20px; accent-color: var(--honey-d); flex: none; }
.choice:has(input:checked) { border-color: var(--honey); background: var(--honey-50); }
.choice.good { border-color: var(--sage); background: var(--sage-100); } .choice.wrong { border-color: var(--coral); background: var(--coral-100); }
.search { position: relative; margin-bottom: 12px; } .search .ic { position: absolute; left: 13px; top: 13px; color: var(--muted); } .search input { padding-left: 44px !important; border-radius: 99px !important; }
.note { padding: 11px 13px; border-radius: 12px; background: var(--honey-50); border: 1px solid var(--honey-100); font-size: 14px; margin-bottom: 14px; display: flex; gap: 9px; }
.note.bad { background: var(--coral-100); border-color: #f8cfcc; color: #7d241f; } .note.ok { background: var(--sage-100); border-color: #cfe0d3; color: #2c5238; }
.note .ic { width: 18px; height: 18px; margin-top: 1px; }
details.more { margin-bottom: 14px; } details.more summary { font-weight: 700; color: var(--honey-d); cursor: pointer; padding: 6px 0; }
.photo-btn { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px dashed var(--line-2); border-radius: 14px; margin-bottom: 14px; cursor: pointer; background: var(--peach-50); }
.photo-prev { width: 58px; height: 58px; border-radius: 12px; background: var(--surface) center/cover; display: grid; place-items: center; color: var(--honey-d); flex: none; }
.photo-btn b { display: block; } .photo-btn small { display: block; }
.temp-in { display: flex; gap: 8px; align-items: stretch; }
.temp-in input { font: 900 30px/1 Lato !important; text-align: center; min-height: 68px !important; }
.temp-in button { width: 68px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--peach-50); font: 900 26px Lato; text-align: center; flex: none; }
.temp-in span { display: grid; place-items: center; font: 900 20px Lato; color: var(--muted); padding: 0 4px; }

/* ---------- Feuilles (fenêtres modales) ---------- */
dialog.sheet { border: 0; padding: 0; background: var(--surface); color: var(--brown); width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-up); overflow: hidden; }
dialog.sheet[open] { display: flex; animation: up .22s cubic-bezier(.2, .8, .2, 1); }
dialog.sheet::backdrop { background: rgba(56, 27, 20, .45); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet form { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 10px 20px; flex: none; }
.sheet-head h2 { flex: 1; } .sheet-x { width: 40px; height: 40px; border-radius: 50%; background: var(--peach-50); display: grid; place-items: center; flex: none; }
.sheet-body { padding: 4px 20px 16px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.sheet-foot { padding: 10px 20px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); flex: none; display: flex; gap: 8px; }
.sheet-foot .btn { flex: 1; }
.sheet .card { box-shadow: none; }
@media (min-width: 720px) { dialog.sheet { width: 560px; margin: auto; border-radius: 24px; max-height: 88dvh; } }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 16px; }
.kv div { min-width: 0; } .kv small { display: block; font-weight: 700; } .kv b { font-weight: 700; overflow-wrap: anywhere; }
.bigphoto { width: 100%; max-height: 260px; object-fit: contain; border-radius: 14px; background: var(--peach-50); margin-bottom: 14px; }
.menu-list .row { border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; padding: 12px; }

/* ---------- Tâches du jour, températures ---------- */
.progress { height: 10px; border-radius: 9px; background: var(--peach-50); overflow: hidden; margin: 8px 0 4px; } .progress i { display: block; height: 100%; background: var(--sage); border-radius: 9px; transition: width .3s; }
.bignum { font: 900 34px/1 Lato; letter-spacing: -.02em; } .bignum small { font-size: 16px; font-weight: 700; }
.bignum.bad { color: var(--coral-d); } .bignum.ok { color: var(--sage-d); }
.equip { display: flex; align-items: center; gap: 12px; } .equip .grow small { display: block; }
.stat { text-align: left; } .stat b { font: 900 28px/1.1 Lato; display: block; }

/* ---------- Connexion ---------- */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 20px 16px; background-color: var(--peach-50); }
.auth-card { width: 100%; max-width: 430px; background: var(--surface); border-radius: 28px; padding: 26px 22px; box-shadow: 0 20px 60px rgba(56, 27, 20, .14); text-align: center; }
.auth-card > img { width: 124px; margin: -70px auto 4px; display: block; filter: drop-shadow(0 8px 12px rgba(56, 27, 20, .15)); }
.auth-card h1 { font-size: 30px; } .auth-card .tag { color: var(--coral); font-weight: 900; margin-bottom: 18px; }
.auth-card form { text-align: left; margin-top: 16px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 16px; }
.person { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 18px; border: 1.5px solid var(--line); font-weight: 700; text-align: center; line-height: 1.2; font-size: 15px; }
.person:active { background: var(--peach-50); transform: scale(.97); } .person small { font-weight: 400; }
.pin-dots { display: flex; gap: 12px; justify-content: center; margin: 18px 0; } .pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); } .pin-dots i.on { background: var(--honey); border-color: var(--honey); }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 290px; margin: 0 auto; }
.pinpad button { height: 64px; border-radius: 18px; background: var(--peach-50); font: 400 26px var(--display); text-align: center; display: grid; place-items: center; }
.pinpad button:active { background: var(--peach); } .pinpad .alt { background: transparent; color: var(--muted); font: 700 14px Lato; }
.shake { animation: shake .35s; } @keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

/* ---------- Divers ---------- */
#toasts { position: fixed; left: 0; right: 0; bottom: calc(96px + var(--safe-b)); z-index: 2147483647; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 14px; }
.toast { background: var(--brown); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; box-shadow: 0 10px 30px rgba(56, 27, 20, .3); display: flex; gap: 9px; align-items: center; animation: up .2s; max-width: 480px; }
.toast.err { background: var(--coral-d); } .toast .ic { width: 19px; height: 19px; }
.timeline { border-left: 2px solid var(--line-2); margin: 6px 0 6px 8px; padding-left: 16px; }
.timeline > div { position: relative; padding: 6px 0; } .timeline > div::before { content: ''; position: absolute; left: -22px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--honey); border: 2px solid var(--surface); }
.label { border: 2.5px solid var(--brown); border-radius: 14px; padding: 16px; text-align: center; margin-bottom: 14px; }
.label .lt { font-size: 11px; letter-spacing: .14em; font-weight: 900; text-transform: uppercase; } .label h2 { margin: 6px 0 10px; font-size: 24px; } .label p { margin: 4px 0; } .label .big { font: 900 26px Lato; }
.doc-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.matrix { overflow-x: auto; } .matrix table { border-collapse: collapse; font-size: 14px; width: 100%; } .matrix th, .matrix td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; } .matrix th { font-size: 12px; color: var(--muted); }
.print-only { display: none; }

@media print {
  body { background: #fff; font-size: 12px; }
  .topbar, .tabbar, .sidebar, .head .actions, .seg, .search, .btn, #toasts, .no-print, .chev { display: none !important; }
  main { padding: 0; max-width: none; } .card { box-shadow: none; border-color: #ccc; break-inside: avoid; } .row { min-height: 0; padding: 6px 8px; break-inside: avoid; }
  .print-only { display: block; }
  body:has(dialog[open]) #app { display: none; }
  dialog.sheet { position: static; max-height: none; box-shadow: none; width: 100%; } dialog.sheet::backdrop { display: none; }
  .sheet-head, .sheet-foot { display: none; } .sheet-body { overflow: visible; padding: 0; }
}
#toasts[popover] { border: 0; background: transparent; margin: 0; width: auto; height: auto; overflow: visible; inset: auto 0 calc(96px + var(--safe-b)) 0; }
.row-ic.peach { background: var(--peach); color: var(--brown); } .stat b.bad { color: var(--coral-d); }
