/* Gelato Lab — app interne et espace clients (Studio Atlas). Base : maquette du 21/10/2026
   Effet verre « Apple » en couleurs Gelato Lab by Vero. */
:root {
  --pink: #EF6FA8; --pink-soft: #FBD3E2; --pink-ink: #B73A76;
  --mint: #2FBF8F; --mint-soft: #CDEFE3; --mint-ink: #127A57;
  --yellow: #F6C21C; --yellow-soft: #FFF1BF; --yellow-ink: #8A6400;
  --blue: #6F86E0; --blue-soft: #DCE3FB; --blue-ink: #3A4FA8;
  --red: #E5484D; --red-soft: #FDE0E1;
  --gold: #C9A85A;
  --ink: #2B2140; --ink2: #5A4F6B; --ink3: #8E84A0;
  --glass: rgba(255,255,255,.58); --glass-strong: rgba(255,255,255,.78);
  --stroke: rgba(255,255,255,.85); --line: rgba(43,33,64,.08);
  --shadow: 0 10px 30px rgba(120, 70, 120, .10), 0 1px 2px rgba(43,33,64,.05);
  --r: 22px; --r-sm: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--ink); font-size: 14px; line-height: 1.45;
  background: #FBEFF5;
  background-image:
    radial-gradient(900px 600px at 0% 0%, #FBD3E2 0%, rgba(251,211,226,0) 60%),
    radial-gradient(900px 700px at 100% 100%, #C9EDE6 0%, rgba(201,237,230,0) 60%),
    radial-gradient(700px 500px at 85% 5%, #FFF1BF 0%, rgba(255,241,191,0) 55%),
    radial-gradient(600px 500px at 10% 95%, #DCE3FB 0%, rgba(220,227,251,0) 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
.h { font-family: 'Fredoka', 'Inter', sans-serif; font-weight: 600; letter-spacing: -0.01em; }
.glass { background: var(--glass); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--stroke); border-radius: var(--r); box-shadow: var(--shadow); }
.muted { color: var(--ink3); } .ink2 { color: var(--ink2); }
.small { font-size: 12px; } .tiny { font-size: 11px; }
.num { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }

/* ── Layout ordinateur ── */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,.42); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); border-right: 1px solid var(--stroke); }
.side .logo { width: 172px; margin: 2px 8px 18px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; font-weight: 500; color: var(--ink2); }
.nav a .ic { width: 20px; height: 20px; }
.nav a.on { background: var(--glass-strong); color: var(--ink); box-shadow: 0 4px 14px rgba(239,111,168,.18); border: 1px solid var(--stroke); }
.nav a.on .ic { color: var(--pink); }
.nav .badge { margin-left: auto; }
.side .grow { flex: 1; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.5); border: 1px solid var(--stroke); }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 13px; flex: none;
  background: linear-gradient(135deg, var(--pink), var(--yellow)); }
.main { padding: 22px 30px 40px; min-width: 0; }
.top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.crumb { color: var(--ink3); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.crumb b { color: var(--ink); font-weight: 600; }
.title { font-size: 28px; line-height: 1.15; }
.search { flex: 1; max-width: 420px; margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: var(--ink3);
  background: rgba(255,255,255,.6); border: 1px solid var(--stroke); }
.kbd { margin-left: auto; font-size: 11px; padding: 2px 6px; border-radius: 6px; background: rgba(43,33,64,.06); color: var(--ink2); }
.iconbtn { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.6); border: 1px solid var(--stroke); position: relative; color: var(--ink2); }
.dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; font-weight: 600; font-size: 13.5px; border: 1px solid var(--stroke); background: rgba(255,255,255,.7); color: var(--ink); white-space: nowrap; }
.btn.pri { background: linear-gradient(135deg, #F27DB3, #E85C9A); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(232,92,154,.35); }
.btn.mint { background: linear-gradient(135deg, #3CCB9A, #23AE80); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(35,174,128,.3); }
.btn.wa { background: #25D366; color: #fff; border-color: transparent; }
.btn.sm { padding: 7px 12px; font-size: 12.5px; border-radius: 12px; }
.btn .ic { width: 17px; height: 17px; }

/* ── Grilles et cartes ── */
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g2 { grid-template-columns: 1fr 1fr; }
.g21 { grid-template-columns: 2fr 1fr; } .g12 { grid-template-columns: 1fr 2fr; }
.card { padding: 18px 20px; }
.card h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.card h3 .more { margin-left: auto; font-family: 'Inter'; font-size: 12.5px; font-weight: 600; color: var(--pink-ink); }
.kpi .lab { font-size: 12.5px; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.kpi .val { font-family: 'Fredoka'; font-weight: 600; font-size: 28px; margin: 6px 0 2px; letter-spacing: -0.01em; }
.kpi .sub { font-size: 12px; color: var(--ink3); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.t-up { background: var(--mint-soft); color: var(--mint-ink); } .t-down { background: var(--red-soft); color: #B3262B; }
.t-pink { background: var(--pink-soft); color: var(--pink-ink); } .t-yel { background: var(--yellow-soft); color: var(--yellow-ink); }
.t-blue { background: var(--blue-soft); color: var(--blue-ink); } .t-grey { background: rgba(43,33,64,.07); color: var(--ink2); }
.chip-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip-ic .ic { width: 17px; height: 17px; }
.c-pink { background: var(--pink-soft); color: var(--pink-ink); } .c-mint { background: var(--mint-soft); color: var(--mint-ink); }
.c-yel { background: var(--yellow-soft); color: var(--yellow-ink); } .c-blue { background: var(--blue-soft); color: var(--blue-ink); }
.c-red { background: var(--red-soft); color: #B3262B; }

/* Listes */
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row .nm { font-weight: 600; } .row .ds { font-size: 12px; color: var(--ink3); }
.row .r { margin-left: auto; text-align: right; }
.row .chev { color: var(--ink3); width: 16px; height: 16px; }
table.t { width: 100%; border-collapse: collapse; }
table.t th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.t td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.r, table.t th.r { text-align: right; }
.thumb { width: 36px; height: 36px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 18px; }

/* Filtres */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.6); border: 1px solid var(--stroke); color: var(--ink2); white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.55); border: 1px solid var(--stroke); gap: 2px; }
.seg span { padding: 7px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.seg span.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(43,33,64,.08); }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .sp { flex: 1; }

/* Barres */
.bar { height: 8px; border-radius: 99px; background: rgba(43,33,64,.07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.gauge { position: relative; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #F59AA0 0%, #F59AA0 35%, #FFD66B 35%, #FFD66B 40%, #7FDDB8 40%, #7FDDB8 100%); }
.gauge b { position: absolute; top: -5px; width: 4px; height: 22px; border-radius: 3px; background: var(--ink); box-shadow: 0 0 0 3px #fff; }

/* Étapes */
.steps { display: flex; gap: 8px; align-items: center; }
.step { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.55); border: 1px solid var(--stroke); color: var(--ink3); }
.step .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(43,33,64,.08); }
.step.done { color: var(--mint-ink); } .step.done .n { background: var(--mint); color: #fff; }
.step.on { color: var(--ink); background: #fff; } .step.on .n { background: var(--pink); color: #fff; }
.flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.flow .f { padding: 6px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.6); border: 1px solid var(--stroke); color: var(--ink3); }
.flow .f.done { background: var(--mint-soft); color: var(--mint-ink); border-color: transparent; }
.flow .f.on { background: var(--pink); color: #fff; border-color: transparent; }
.flow .arr { color: var(--ink3); }

/* Fiche */
.hero { display: flex; align-items: center; gap: 18px; padding: 20px 22px; }
.hero .big { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; flex: none; }
.hero h2 { font-size: 24px; }
.hero .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 16px; overflow-x: auto; }
.tabs span { padding: 10px 14px; font-weight: 600; font-size: 13.5px; color: var(--ink3); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs span.on { color: var(--ink); border-color: var(--pink); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 9px 14px; font-size: 13.5px; }
.kv dt { color: var(--ink3); } .kv dd { font-weight: 500; }
.note { padding: 12px 14px; border-radius: 14px; background: rgba(255,241,191,.7); border: 1px solid rgba(246,194,28,.35); font-size: 13px; color: var(--ink2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink3); }
.input { padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.8); border: 1px solid var(--stroke); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.toggle { width: 42px; height: 26px; border-radius: 99px; background: rgba(43,33,64,.15); position: relative; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle.on { background: var(--mint); } .toggle.on::after { left: 19px; }
.qty { display: inline-flex; align-items: center; gap: 10px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.8); border: 1px solid var(--stroke); }
.qty b { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(43,33,64,.06); font-size: 15px; }

/* Matrice */
.matrix { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; position: relative; }
.quad { border-radius: 18px; padding: 14px 14px 12px; min-height: 150px; border: 1px solid var(--stroke); }
.quad .qh { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.quad .qs { font-size: 11.5px; color: var(--ink2); margin-bottom: 10px; }
.quad .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.quad .pill { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.85); }
.q-star { background: linear-gradient(135deg, rgba(255,241,191,.95), rgba(255,255,255,.6)); }
.q-fix { background: linear-gradient(135deg, rgba(253,224,225,.95), rgba(255,255,255,.6)); }
.q-push { background: linear-gradient(135deg, rgba(205,239,227,.95), rgba(255,255,255,.6)); }
.q-ask { background: linear-gradient(135deg, rgba(220,227,251,.95), rgba(255,255,255,.6)); }
.axis { font-size: 11px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .08em; }

/* Modale / feuille */
.scrim { position: fixed; inset: 0; background: rgba(43,33,64,.28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 50; display: grid; place-items: center; }
.sheet { width: 560px; max-width: calc(100% - 32px); background: rgba(255,255,255,.88); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); border: 1px solid #fff; border-radius: 26px; box-shadow: 0 30px 80px rgba(43,33,64,.25); padding: 22px; }
.wa-bubble { background: #DCF8C6; border-radius: 14px 14px 4px 14px; padding: 12px 14px; font-size: 13.5px; color: #1F2C1F; max-width: 92%; margin-left: auto; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.pdfchip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin-bottom: 8px; }

/* Activité */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: rgba(43,33,64,.08); }
.tl .ev { position: relative; padding: 9px 0; }
.tl .ev::before { content: ''; position: absolute; left: -22px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--pink)); box-shadow: 0 0 0 3px #fff; }
.tl .day { font-size: 11.5px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; margin: 12px 0 2px -26px; }


/* Recherche */
.cmdk { width: 640px; max-width: calc(100% - 24px); padding: 0; overflow: hidden; align-self: start; margin-top: 90px; }
.cmdk .q { display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-size: 17px; border-bottom: 1px solid var(--line); }
.cmdk .grp { padding: 10px 20px 4px; font-size: 11px; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
.cmdk .it { display: flex; align-items: center; gap: 12px; padding: 9px 20px; }
.cmdk .it.on { background: var(--pink-soft); }

/* ── Téléphone ── */
.phone .app { grid-template-columns: 1fr; }
.phone .side { display: none; }
.phone .main { padding: 10px 16px 104px; }
.phone .top { margin-bottom: 14px; flex-wrap: wrap; }
.phone .top .search, .phone .top .hide-p { display: none; }
.phone .title { font-size: 26px; }
.phone .g4 { grid-template-columns: 1fr 1fr; } .phone .g3, .phone .g2, .phone .g21, .phone .g12 { grid-template-columns: 1fr; }
.phone .grid { gap: 12px; }
.phone .card { padding: 15px 16px; }
.phone .kpi .val { font-size: 23px; }
.phone .hero { flex-wrap: wrap; padding: 16px; }
.phone .hero .acts { margin-left: 0; width: 100%; justify-content: flex-start; }
.phone .hide-p { display: none !important; }
.phone table.t .hide-p { display: none; }
.phone .toolbar { gap: 8px; }
.phone .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; }
.phone .steps { overflow-x: auto; }
.phone .sheet { align-self: end; width: 100%; max-width: 100%; border-radius: 26px 26px 0 0; margin-bottom: 0; }
.phone .scrim { place-items: end center; }
.phone .cmdk { margin-top: 60px; }
.show-p { display: none !important; }
.phone .show-p { display: flex !important; }
.tabbar { position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px; border-radius: 26px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid #fff; box-shadow: 0 10px 30px rgba(43,33,64,.15); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--ink3); padding: 4px 0; border-radius: 16px; }
.tabbar a .ic { width: 22px; height: 22px; }
.tabbar a.on { color: var(--pink-ink); background: var(--pink-soft); }
.fab { position: fixed; right: 20px; bottom: 96px; z-index: 31; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #F27DB3, #E85C9A); box-shadow: 0 10px 24px rgba(232,92,154,.4); }
.fab .ic { width: 24px; height: 24px; }
.phone-top { display: none; }
.phone .phone-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 10px; }
.phone .phone-top img { height: 30px; }

/* Corrections après premier rendu */
.ic { width: 18px; height: 18px; flex: none; }
.row > .chev:last-child, .row > .btn:last-child, .row > .toggle:last-child { margin-left: auto; }
.grid > *, .row > div, .glass { min-width: 0; }
.phone table.t td .tag { white-space: normal; }
.phone table.t { table-layout: auto; }
.phone table.t td, .phone table.t th { padding: 10px 6px; }
.phone .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.phone .row .ds { overflow-wrap: anywhere; }
.phone .glass.card[style*="max-width"] { max-width: 100% !important; }
.phone .note[style*="max-width"] { max-width: 100% !important; }
.row > div:not(.av):not(.thumb):not(.r) { flex: 1 1 auto; }
.row > .r { flex: none; }
.toggle { display: inline-block; vertical-align: middle; }

/* ── App réelle : ajouts à la maquette ── */
a, .btn, .chip, .seg span, .tabs span, .nav a, .row.link, .iconbtn, .tabbar a, .fab, [data-go] { cursor: pointer; }
button { font: inherit; color: inherit; }
button.btn { font-family: inherit; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.danger { color: #B3262B; }
.row.link:hover { background: rgba(255,255,255,.45); }
.row.link { border-radius: 10px; padding-left: 6px; padding-right: 6px; margin: 0 -6px; }
table.t tr.link { cursor: pointer; } table.t tr.link:hover td { background: rgba(255,255,255,.45); }
.scroll-x { overflow-x: auto; }
.badge-s { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(43,33,64,.72); color: #fff; letter-spacing: .02em; margin-left: auto; white-space: nowrap; }
.card h3 .badge-s + .more { margin-left: 8px; }
input.in, select.in, textarea.in { width: 100%; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.85); border: 1px solid rgba(43,33,64,.12); font: inherit; font-weight: 500; color: var(--ink); outline: none; }
input.in:focus, select.in:focus, textarea.in:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(239,111,168,.18); }
textarea.in { min-height: 84px; resize: vertical; }
.form { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.phone .form { grid-template-columns: 1fr; }
.sheet { max-height: calc(100vh - 40px); overflow-y: auto; }
.sheet h3 { font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.sheet .acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 90; padding: 12px 18px; border-radius: 16px; background: rgba(43,33,64,.92); color: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(43,33,64,.3); display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.pink { background: linear-gradient(135deg, #F27DB3, #E85C9A); }
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login .glass { width: 100%; max-width: 380px; padding: 28px 24px; text-align: center; }
.login img { width: 190px; margin: 0 auto 14px; display: block; }
.login input { text-align: center; font-size: 22px; letter-spacing: .3em; margin: 14px 0; }
.err { color: #B3262B; font-size: 13px; font-weight: 600; min-height: 18px; }
.empty { padding: 26px 10px; text-align: center; color: var(--ink3); }
.lang { display: flex; gap: 6px; }
.lang button { border: 1px solid var(--stroke); background: rgba(255,255,255,.6); border-radius: 10px; padding: 5px 9px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--ink2); }
.lang button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.check { width: 18px; height: 18px; accent-color: var(--pink); flex: none; }
.line-ed { display: grid; grid-template-columns: 1fr 80px 100px 90px 32px; gap: 8px; align-items: center; margin-bottom: 8px; }
.phone .line-ed { grid-template-columns: 1fr 64px 80px 32px; }
.phone .line-ed .tot { display: none; }
.pill-new { animation: pulse 1.6s ease-in-out 3; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(239,111,168,.3); } }
.neg { color: #B3262B; font-weight: 700; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-top: 8px; }
.chart .m { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart .bars { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.chart .bars i { width: 42%; max-width: 18px; border-radius: 6px 6px 3px 3px; display: block; }
.chart .b25 { background: #DCE3FB; } .chart .b26 { background: linear-gradient(180deg, #F59AC4, #E85C9A); }
.chart .lb { font-size: 11px; color: var(--ink3); font-weight: 600; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink3); margin-top: 10px; align-items: center; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.doc-paper { background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow); max-width: 820px; }
.doc-paper .head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.doc-paper img { width: 150px; }
.doc-paper .tot { margin-left: auto; width: 280px; max-width: 100%; margin-top: 16px; }
.doc-paper .tot div { display: flex; justify-content: space-between; padding: 5px 0; }
.doc-paper .tot .big { font-weight: 700; font-size: 17px; border-top: 1px solid var(--line); padding-top: 9px; }
.phone .doc-paper { padding: 20px 16px; }
@media print {
  body { background: #fff !important; }
  .side, .top, .tabbar, .fab, .no-print, .phone-top, .toast { display: none !important; }
  .app { display: block; } .main { padding: 0; }
  .doc-paper { box-shadow: none; padding: 0; max-width: none; }
}
body:not(.phone) .app ~ .tabbar { display: none; }
.phone table.t td.num, table.t td.r.num { white-space: nowrap; }
.btn.line { background: #06C755; color: #fff; border-color: transparent; }
