/* =========================================================
   XLLAB Ristorante — stili aggiuntivi (si appoggia a ../gestionale/app.css)
   ========================================================= */
.menu .sh { display: none; }
.brand svg { flex: none; }
.kpis5 .kpi.dark b { font-size: clamp(20px, 1.9vw, 28px); }
.pren.full .acts { flex-basis: 100%; padding-left: 70px; justify-content: flex-start; }
.side-foot { line-height: 1.6; }
.kpis5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kpis5 .kpi b { font-size: clamp(24px, 2.3vw, 32px); }
.sum4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sum .card em { font-style: normal; font-size: 12px; color: var(--muted); }
.mt { margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.toolbar .acts { justify-content: flex-start; }
.inp { border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; background: var(--white); outline: none; }
.inp:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 99px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 6px 16px; border-radius: 99px; cursor: pointer; font-weight: 500; font-size: 14px; }
.seg button.on { background: var(--ink); color: var(--gold); }

/* Barre orizzontali (piatti più venduti) */
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hbars li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 5px 10px; align-items: center; }
.hbars .n { font-family: var(--f-d); font-weight: 800; color: var(--gold-3); }
.hbars .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.hbars .v { font-size: 13px; color: var(--muted); white-space: nowrap; }
.hbars .tr { grid-column: 2 / -1; height: 8px; border-radius: 8px; background: var(--paper-2); overflow: hidden; }
.hbars .tr i { display: block; height: 100%; background: var(--gold); border-radius: 8px; }
.hbars li:first-child .tr i { background: var(--ink); }

/* Liste prenotazioni */
.date-chip.ora { width: 58px; }
.date-chip.ora b { font-size: 15px; }
.pren li { flex-wrap: wrap; align-items: flex-start; }
.pren li .row-l { align-items: flex-start; flex: 1 1 240px; }
.pren .t b { white-space: normal; }
.pren .t .nt { display: block; font-size: 13px; color: var(--text); margin-top: 3px; }
.pren li.off { opacity: .5; }
.pren .acts { align-items: center; }
.alrg { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; padding: 2px 9px; border-radius: 99px; background: rgba(179,65,47,.1); color: var(--ko); font-size: 12.5px; font-weight: 600; }
.alrg::before { content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--ko); color: #fff; font-size: 10px; font-weight: 800; }

/* Pianta della sala */
.sala { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pianta { display: grid; gap: 14px; }
.room { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--line); background: repeating-linear-gradient(45deg, rgba(0,0,0,.022) 0 10px, transparent 10px 20px), var(--paper); overflow: hidden; }
.room.dehors { aspect-ratio: 16 / 7.5; border: 2px dashed rgba(47,125,79,.3); background: radial-gradient(circle at 20% 30%, rgba(47,125,79,.07), transparent 60%), #f1f2e8; }
.room-l { position: absolute; left: 12px; top: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); z-index: 1; }
.room-d { position: absolute; font-size: 10.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.fior { position: absolute; width: 3%; border-radius: 6px; background: repeating-linear-gradient(180deg, #6f9a5b 0 8px, #5d8a4b 8px 16px); opacity: .55; }
.tav { position: absolute; transform: translate(-50%, -50%); width: calc(var(--w) * 1%); border: 2px solid var(--ok); background: var(--white); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; padding: 0; line-height: 1.1; transition: transform .2s, box-shadow .2s, background .2s; color: var(--text); overflow: visible; }
.tav::before { content: ""; position: absolute; inset: -7px; border: 2px dotted rgba(0,0,0,.16); border-radius: 14px; pointer-events: none; }
.tav.tondo, .tav.tondo::before { border-radius: 50%; }
.tav b { font-family: var(--f-d); font-size: clamp(14px, 1.5vw, 19px); font-weight: 800; }
.tav small { font-size: 10.5px; color: var(--muted); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.tav:hover, .tav:focus-visible { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 4px rgba(201,162,39,.35); outline: none; z-index: 2; }
.tav.s-prenotato { background: #f6eac2; border-color: var(--gold); }
.tav.s-prenotato small { color: var(--gold-3); font-weight: 600; }
.tav.s-occupato { background: var(--ink); border-color: var(--ink); color: #fff; }
.tav.s-occupato small { color: var(--gold-2); }
.tav.s-conto { background: var(--ko); border-color: var(--ko); color: #fff; animation: pulse 1.8s infinite; }
.tav.s-conto small { color: #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(179,65,47,.22); } }
.leg-t { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.leg-t span { display: inline-flex; align-items: center; gap: 6px; }
.leg-t i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--ok); background: var(--white); }
.leg-t .l-p i { background: #f6eac2; border-color: var(--gold); }
.leg-t .l-o i { background: var(--ink); border-color: var(--ink); }
.leg-t .l-c i { background: var(--ko); border-color: var(--ko); }

/* Allergeni */
.alg { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #fff; background: var(--c, #888); flex: none; line-height: 1; font-family: var(--f-b); }
.alg.xs { width: 17px; height: 17px; font-size: 9.5px; }
.algs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.alg-leg { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px 16px; }
.alg-leg div { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.alg-leg small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips > span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.alg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 3px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); font-size: 12.5px; cursor: pointer; }
.alg-chip:hover { border-color: var(--ink); }
.alg-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.alg-chip.on .alg { box-shadow: 0 0 0 2px var(--gold); }

/* Piatti del menu */
.cat-t { font-size: 22px; margin: 26px 0 12px; display: flex; align-items: baseline; gap: 10px; }
.cat-t small { font-family: var(--f-b); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 12px; }
.dish { display: flex; flex-direction: column; gap: 8px; }
.dish-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.dish-h b { font-weight: 600; }
.dish-h .pz { font-family: var(--f-d); font-weight: 800; white-space: nowrap; font-size: 17px; }
.dish p { margin: 0; color: var(--muted); font-size: 13.5px; }
.dish-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.dish.off { background: var(--paper); }
.dish.off .dish-h b, .dish.off .pz { text-decoration: line-through; color: var(--muted); }
.sw { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; font-size: 13px; padding: 0; font-weight: 500; }
.sw i { width: 34px; height: 20px; border-radius: 99px; background: var(--ok); position: relative; transition: background .2s; flex: none; }
.sw i::after { content: ""; position: absolute; top: 3px; left: 17px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .2s; }
.sw.off i { background: #c4bfb3; }
.sw.off i::after { left: 3px; }
.sw.off { color: var(--ko); }

/* Comande */
.com { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 16px; align-items: start; }
.com-list { display: grid; gap: 8px; }
.com-it { text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: grid; gap: 3px; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s; }
.com-it:hover { border-color: var(--gold); }
.com-it.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.com-it .rw { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.com-it b { font-family: var(--f-d); font-size: 17px; }
.com-it small { color: var(--muted); font-size: 12.5px; }
.rc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 11px 0; border-top: 1px solid var(--line); align-items: center; }
.rc:first-child { border-top: 0; }
.rc .l b { font-weight: 600; }
.rc .l small { display: block; color: var(--muted); font-size: 12.5px; }
.rc .l em { font-style: normal; display: block; font-size: 12.5px; color: var(--warn); font-weight: 500; }
.rc .r { text-align: right; display: grid; gap: 4px; justify-items: end; font-variant-numeric: tabular-nums; }
.rc-sec { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin: 14px 0 2px; }
.bozze { background: rgba(201,162,39,.08); border: 1px dashed rgba(201,162,39,.6); border-radius: 12px; padding: 4px 12px 10px; margin-top: 12px; }
.step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--white); vertical-align: middle; }
.step button { width: 30px; height: 28px; border: 0; background: var(--white); cursor: pointer; font-size: 16px; line-height: 1; }
.step button:hover { background: var(--ink); color: var(--gold); }
.step span { min-width: 26px; text-align: center; font-weight: 600; }
.nota { width: 100%; margin-top: 6px; border: 1px dashed rgba(0,0,0,.18); border-radius: 8px; padding: 5px 9px; font-size: 13px; background: #fff; outline: none; }
.nota:focus { border-color: var(--gold); border-style: solid; }
.allergy-bar { background: rgba(179,65,47,.08); color: var(--ko); border: 1px solid rgba(179,65,47,.28); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.note-bar { background: var(--paper); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; margin-bottom: 12px; }
.tot-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 2px solid var(--ink); margin-top: 12px; }
.tot-bar .tt span { display: block; font-size: 12px; color: var(--muted); }
.tot-bar .tt b { font-family: var(--f-d); font-size: 26px; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 175px), 1fr)); gap: 8px; margin-top: 12px; }
.pk { text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: 11px; padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; font: inherit; color: inherit; transition: border-color .2s, transform .15s; }
.pk:hover:not([disabled]) { border-color: var(--gold); transform: translateY(-1px); }
.pk[disabled] { opacity: .5; cursor: not-allowed; background: var(--paper); }
.pk b { font-weight: 600; font-size: 14px; line-height: 1.25; }
.pk span.rw { display: flex; justify-content: space-between; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.pk .qn { background: var(--gold); color: var(--ink); border-radius: 99px; padding: 0 7px; font-weight: 700; font-size: 12px; }
.cop { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

/* Cucina */
.tk { cursor: default; border-left: 4px solid var(--line); }
.tk.late { border-left-color: var(--ko); background: #fff7f5; }
.tk .al { display: block; color: var(--ko); font-size: 12px; font-weight: 600; margin-top: 4px; }
.tk em { display: block; font-style: normal; font-size: 12.5px; color: var(--warn); font-weight: 500; margin-top: 3px; }
.tk .min { font-weight: 600; color: var(--text); }
.tk.late .min { color: var(--ko); }
.col-attesa h2 { color: var(--warn); }
.col-prep h2 { color: var(--info); }
.col-pronto h2 { color: var(--gold-3); }
.col-servito h2 { color: var(--ok); }
.col .empty { padding: 20px 6px; font-size: 13px; }

/* Ricette e food cost */
.ric-lay { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 16px; align-items: start; }
.ric-list { display: grid; gap: 1px; max-height: 720px; overflow: auto; }
.ric-list button { display: flex; justify-content: space-between; gap: 8px; align-items: center; text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 9px; cursor: pointer; font-size: 14px; }
.ric-list button:hover { background: rgba(201,162,39,.1); }
.ric-list button.on { background: var(--ink); color: #fff; }
.ric-list .ct { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 10px 4px; font-weight: 600; }
.fcv { font-weight: 700; font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fc-ok { color: var(--ok) !important; }
.fc-warn { color: var(--warn) !important; }
.fc-ko { color: var(--ko) !important; }
.ric-list button.on .fcv { color: var(--gold-2) !important; }
table.ric { min-width: 600px; }
table.ric td { padding: 8px 10px; }
.in-u { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--muted); font-size: 13px; }
.in-u input, .fc-grid input { width: 86px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; text-align: right; background: #fff; outline: none; font-variant-numeric: tabular-nums; color: var(--text); font-size: 14px; }
.in-u input:focus, .fc-grid input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.x-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.x-btn:hover { color: var(--ko); border-color: var(--ko); }
.add-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.add-row select { flex: 1 1 220px; min-width: 0; border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px; background: #fff; }
.fc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.fc-grid > div { background: var(--paper); border-radius: 12px; padding: 12px; min-width: 0; }
.fc-grid span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.fc-grid b { font-family: var(--f-d); font-size: 22px; display: block; overflow-wrap: anywhere; }
.fc-grid .big { background: var(--ink); color: #fff; }
.fc-grid .big span { color: rgba(255,255,255,.6); }
.fcbar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.15); margin-top: 8px; overflow: hidden; }
.fcbar i { display: block; height: 100%; border-radius: 6px; }
.fc-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* Magazzino */
.lv { display: block; height: 6px; width: 100px; max-width: 100%; background: var(--paper-2); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.lv i { display: block; height: 100%; background: var(--ok); border-radius: 6px; }
.lv.low i { background: var(--ko); }
tr.low td:first-child b { color: var(--ko); }
.mov li { align-items: flex-start; }
.mov .t b { white-space: normal; font-weight: 500; }
.mov .q { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mov .q.p { color: var(--ok); }
.mov .q.m { color: var(--ko); }

/* Moduli */
.chks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 175px), 1fr)); gap: 6px 10px; }
.form .chk { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-weight: 400; cursor: pointer; }
.form .chk input { width: 16px; height: 16px; accent-color: var(--ink); }
.hint { grid-column: 1 / -1; margin: -4px 0 0; font-size: 13px; color: var(--ok); background: rgba(47,125,79,.08); padding: 8px 12px; border-radius: 10px; }
.hint.no { color: var(--warn); background: rgba(183,121,31,.1); }
.det-box { background: var(--paper); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.det-box h3 { font-size: 14px; margin-bottom: 8px; font-family: var(--f-b); font-weight: 600; letter-spacing: 0; }
.det-box p { margin: 2px 0; font-size: 14px; }

/* Documenti */
.split { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.split input { width: 70px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; text-align: center; }
.doc .pc-lbl { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border: 1.5px solid var(--ink); border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.doc .doc-scroll { overflow-x: auto; }
.doc table.alg-t { min-width: 640px; font-size: 13px; }
.doc table.alg-t th, .doc table.alg-t td { padding: 6px 4px; text-align: center; }
.doc table.alg-t th:first-child, .doc table.alg-t td:first-child { text-align: left; padding-left: 8px; }
.doc table.alg-t td.cat-r { background: var(--paper); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.doc .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.doc .tot-doc .pp b { color: var(--text); }
.doc h4 { margin: 18px 0 4px; font-size: 14px; font-family: var(--f-b); }
.doc .alg-leg { font-size: 12px; gap: 6px 14px; margin-top: 10px; }

/* Responsivo */
@media (max-width: 1100px) {
  .kpis5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis5 > :last-child { grid-column: 1 / -1; }
  .sala, .com, .ric-lay { grid-template-columns: minmax(0, 1fr); }
  .com-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
  .ric-list { max-height: 260px; }
  .fc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sum4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .menu .lg { display: none; }
  .menu .sh { display: inline; }
  .menu a { font-size: 10px; padding: 6px 2px; min-width: 0; }
  .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-grid .big { grid-column: 1 / -1; }
  .sum4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sum .card b { font-size: 21px; }
  .cat-t { font-size: 19px; }
  .top-act .b-gold { padding: 9px 12px; }
}
@media (max-width: 600px) {
  .room { aspect-ratio: 4 / 3.2; }
  .room.dehors { aspect-ratio: 16 / 11; }
  .tav { width: calc(var(--w) * 1.12%); }
  .tav small { font-size: 9.5px; }
  .tav::before { inset: -5px; }
  .kanban { grid-template-columns: repeat(4, minmax(220px, 1fr)); }
  .doc-h { flex-wrap: wrap; }
  .doc-n { text-align: left; }
}

/* Orario simulato del servizio */
.sim-ora { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 99px; background: rgba(201,162,39,.16); color: var(--gold-3); font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Conflitti allergeni */
.alrg-c { background: var(--ko); color: #fff; }
.alrg-c::before { background: #fff; color: var(--ko); }
.rc.rc-alrg { background: rgba(179,65,47,.05); box-shadow: inset 3px 0 0 var(--ko); padding-left: 10px; }
.rc .l .alrg-c { margin: 4px 0 2px; }
.pk.pk-alrg { border-color: var(--ko); background: #fff7f5; }
.pk.pk-alrg:hover:not([disabled]) { border-color: var(--ko); }
.pk .alrg-c { margin-top: 0; align-self: flex-start; }
.tk .alrg-c { margin-top: 6px; }
.allergy-bar .algs { display: inline-flex; vertical-align: middle; }
.allergy-bar span:last-child { font-weight: 400; }
.alrg-t { color: var(--ko); }
.alrg-box { font-weight: 400; font-size: 15px; }
.alrg-box b { font-weight: 700; }
.algs-l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.b.b-alrg { background: var(--ko); border-color: var(--ko); color: #fff; }
.b.b-alrg:hover { filter: brightness(1.08); color: #fff; }

/* Campi su telefono: almeno 16px, così il browser non ingrandisce la pagina */
@media (max-width: 820px), (pointer: coarse) {
  .inp, .nota, .in-u input, .fc-grid input, .split input, .add-row select, #cerca { font-size: 16px; }
}
@media (max-width: 520px) {
  .com-list { grid-template-columns: minmax(0, 1fr); }
  .com-it .rw { flex-wrap: wrap; }
  .com-it .tag { white-space: normal; }
  .rc { grid-template-columns: minmax(0, 1fr); }
  .rc .r { justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .tot-bar .acts { width: 100%; }
}

/* Stampa: solo il documento aperto */
@media print {
  .app, .demo-bar, .toast { display: none !important; }
  .modal { position: static; background: none; backdrop-filter: none; padding: 0; display: block; animation: none; }
  .modal-box { position: static; box-shadow: none; max-height: none; overflow: visible; width: 100% !important; padding: 0; animation: none; }
  .doc .doc-scroll { overflow: visible; }
  .doc table.alg-t { min-width: 0; }
  .doc .alg, .doc .dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Avviso sopra le finestre: quando una finestra è aperta compare in alto, così non copre i pulsanti */
.modal:not([hidden]) ~ .toast { z-index: 70; bottom: auto; top: 14px; transform: translate(-50%, -30px); max-width: calc(100% - 32px); text-align: center; }
.modal:not([hidden]) ~ .toast.in { transform: translate(-50%, 0); }

