/* MOVA owner summary (31.10.2026): money first, big plain numbers, one sentence on top. Chart colours: the validated
   reference palette (dataviz), checked as stacked neighbours: raw goods, wages, fixed, what is left; VAT is a neutral grey. */
body[data-screen="summary"]{--su-in:#2a78d6;--su-profit:#1baf7a;--su-loss:#e34948;--su-vat:#c3c2b7;--su-goods:#eb6834;--su-labor:#6250d6;--su-fixed:#eda100;--su-good:#0a7d4a;--su-bad:#c62f45;--su-grid:#e1e0d9;--su-axis:#64625d}
body[data-screen="summary"] #board{font-size:16px}

/* the filters: one row above everything */
.su-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 22px;margin:0 0 16px}
.su-f{display:flex;flex-direction:column;gap:5px}
.su-fl{font-size:13.5px;color:var(--muted);font-weight:500}
.su-seg button{min-height:40px;padding:7px 16px;font-size:15px}
.su-own{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px}
.su-own label{display:flex;flex-direction:column;gap:5px;font-size:13.5px;color:var(--muted)}
.su-own input{height:42px;border:1px solid var(--line-2);border-radius:8px;padding:0 10px;background:#fff;color:var(--text);font-size:15px}
.su-acts{display:flex;flex-wrap:wrap;gap:8px;margin-inline-start:auto}
.su-ph{display:none}

/* the sentence and the four numbers */
.su-lead{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin:0 0 14px}
.su-lead p{margin:0;font-size:22px;line-height:1.45;font-weight:600;text-wrap:pretty}
.su-lead .good{color:var(--su-good)}.su-lead .bad{color:var(--su-bad)}.su-lead .eq{color:var(--text-2)}
.su-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.su-tile{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px 18px}
.su-tile[data-tile="profit"]{border-inline-start:6px solid var(--su-profit)}
.su-tile.neg{border-inline-start-color:var(--su-loss)}
.su-tile h3{margin:0;font-size:16px;font-weight:600;color:var(--text-2)}
.su-v{margin:4px 0 2px;font-size:38px;font-weight:700;line-height:1.1;letter-spacing:-.01em}
.su-tile.neg .su-v{color:var(--su-bad)}
.su-s{margin:0;font-size:14.5px;color:var(--text-2);line-height:1.4;text-wrap:pretty}
.su-dl{margin:8px 0 0;font-size:14.5px;line-height:1.4}
.su-d{display:inline;font-weight:600}
.su-d svg{width:10px;height:10px;margin-inline-end:5px;vertical-align:1px}
.su-d.good{color:var(--su-good)}.su-d.bad{color:var(--su-bad)}.su-d.eq{color:var(--muted);font-weight:500}

/* cards */
.su-two{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0 0 16px}
.su-two>.su-card{margin:0}
.su-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin:0 0 16px;min-width:0}
.su-card>header h2,.su-set summary h2{margin:0;font-size:20px;line-height:1.3}
.su-src{margin:4px 0 14px;font-size:14px;color:var(--muted);line-height:1.45;text-wrap:pretty}
.su-h3{margin:18px 0 0;font-size:17px}
.su-more{margin:12px 0 0;font-size:15px}
.su-more .lnk{font-size:15px}
.su-k{margin:8px 0 0;font-size:13.5px}
@media (min-width:1100px){.su-two{grid-template-columns:repeat(2,minmax(0,1fr))}.su-two.su-mm{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}

/* where the money went */
.su-stack{display:flex;gap:2px;height:24px;border-radius:6px;overflow:hidden;background:var(--surface)}
.su-stack i{display:block;height:100%;min-width:2px}
.su-key{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 6px;padding:0;font-size:14px;color:var(--text-2)}
.su-key li{display:inline-flex;align-items:center;gap:6px}
.su-key i{width:12px;height:12px;border-radius:3px;display:inline-block}
.su-led{width:100%;border-collapse:collapse;margin-top:6px}
.su-led th,.su-led td{padding:10px 0;border-bottom:1px solid var(--line);vertical-align:top}
.su-led th{text-align:start;font-weight:500;font-size:16px;line-height:1.35}
.su-led th small{display:block;font-size:13px;color:var(--muted);font-weight:400;margin-top:2px;line-height:1.35;padding-inline-start:18px;text-wrap:pretty}
.su-led td{direction:ltr;text-align:left;font-size:17px;font-weight:600;white-space:nowrap;padding-inline-start:12px}
.su-led td.su-pc{font-size:14px;font-weight:500;color:var(--muted);width:52px}
.su-led tr.in th,.su-led tr.in td{font-weight:700;font-size:18px}
.su-led tr.in th small{padding-inline-start:0}
.su-sw{display:inline-block;width:10px;height:10px;border-radius:50%;margin-inline-end:8px;vertical-align:1px}
.su-led tr.su-res th,.su-led tr.su-res td{border-top:2px solid var(--text);border-bottom:0;font-size:21px;font-weight:700;padding-top:12px}
.su-led tr.su-res.pos td{color:var(--su-good)}.su-led tr.su-res.neg td,.su-led tr.su-res.neg th{color:var(--su-bad)}
.su-led tr.su-res td.su-pc{font-size:15px}

/* the chart */
.su-leg{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:14px;color:var(--text-2);margin:0 0 6px}
.su-leg span{display:inline-flex;align-items:center;gap:7px}
.su-leg i{width:12px;height:12px;border-radius:3px;display:inline-block}
.su-plot{position:relative;min-height:230px}
.su-svg{display:block;max-width:100%;height:auto;overflow:visible;font-family:var(--font);direction:ltr}
.su-svg:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:6px}
.su-svg .gl{stroke:var(--su-grid);stroke-width:1}
.su-svg .gl.zero{stroke:#8e8c84}
.su-svg .yl,.su-svg .xl{fill:var(--su-axis);font-size:12.5px;font-variant-numeric:tabular-nums}
.su-svg .xl .xd{font-weight:600;fill:var(--text-2)}
.su-svg .fut{fill:#8e8c84;font-size:12.5px}
.su-svg .b-in{fill:var(--su-in)}.su-svg .b-pr{fill:var(--su-profit)}.su-svg .b-ls{fill:var(--su-loss)}
.su-svg .vl{fill:#0b0b0b;font-size:12.5px;font-weight:700;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round;font-variant-numeric:tabular-nums}
.su-svg .hit{fill:transparent}
.su-svg .hit.on{fill:rgba(24,33,28,.05)}
.su-tip{position:absolute;z-index:5;display:grid;gap:2px;background:#fff;border:1px solid var(--line-2);border-radius:8px;padding:8px 11px;font-size:14px;line-height:1.4;box-shadow:0 6px 18px rgba(0,0,0,.12);pointer-events:none;white-space:nowrap}
.su-tip span{display:flex;align-items:center;gap:7px;color:var(--text-2)}
.su-tip i{width:10px;height:10px;border-radius:2px;display:inline-block}

/* day by day */
.su-days th,.su-days td{padding:9px 12px;text-align:center}
.su-days td{font-size:15.5px}
.su-days th[scope="row"]{text-align:start;font-weight:600;white-space:nowrap}
.su-days td.neg{color:var(--su-bad);font-weight:600}
.su-days td small,.su-days th small{font-size:12.5px}
.su-days .tot th,.su-days .tot td{font-weight:700;background:var(--bg);border-top:2px solid var(--line-2)}
.su-days .prev th,.su-days .prev td{color:var(--text-2);font-weight:400}
.su-days td.su-nb{background:#fafbfc}
.su-tag{display:inline-block;margin-inline-start:8px;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:700;background:var(--bg);color:var(--text-2);vertical-align:1px}
.su-tag.good{background:#e3f4ea;color:var(--su-good)}.su-tag.bad{background:#fdecee;color:var(--su-bad)}

/* what earns */
.su-hb{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.su-hb li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:baseline}
.su-hn{font-weight:600;font-size:16px;min-width:0}
.su-hb b{font-size:17px;text-align:left}
.su-ht{grid-column:1 / -1;grid-row:2;height:10px;border-radius:5px;background:#eef0f2;overflow:hidden}
.su-ht i{display:block;height:100%;border-radius:5px;background:var(--su-in)}
.su-ht i.pr{background:var(--su-profit)}
.su-hb small{grid-column:1 / -1;font-size:13.5px;color:var(--muted)}
.su-chk{list-style:none;margin:6px 0 0;padding:0}
.su-chk li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 0;border-bottom:1px solid var(--line)}
.su-chk li span{font-weight:600}
.su-chk li b{font-size:15px}.su-chk li b.bad{color:var(--su-bad)}
.su-chk li small{grid-column:1 / -1;font-size:13.5px;color:var(--muted)}

/* the bookings */
.su-bt{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between;margin:0 0 10px}
.su-card .chip{font-size:15px;min-height:40px}
.su-q{flex:0 1 300px}
.su-srcf{align-items:center;margin:0 0 12px}
.su-srcf .su-fl{margin-inline-end:4px}
.su-cnt{margin:0 0 8px;font-size:14.5px;color:var(--text-2)}
.su-bks th,.su-bks td{padding:8px 12px;text-align:start}
.su-bks td{font-size:15px}
.su-bks th[scope="row"]{white-space:nowrap;font-weight:600}
.su-bks th small{font-weight:500;color:var(--text-2);margin-inline-start:4px}
.su-bks .su-nm small{color:var(--muted);margin-inline-start:6px}
.su-pm{display:none}
.su-st{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff);white-space:nowrap}

/* what goes into the profit */
.su-set summary{list-style:none;cursor:pointer;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.su-set summary::-webkit-details-marker{display:none}
.su-set summary h2::before{content:"\25C2";display:inline-block;margin-inline-end:8px;font-size:15px;transition:transform .15s}
.su-set[open] summary h2::before{transform:rotate(-90deg)}
.su-how{margin:14px 0;padding:0 20px 0 0;font-size:15px;line-height:1.55;color:var(--text-2)}
.su-how b{color:var(--text)}
.su-ins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}
.su-in{display:flex;flex-direction:column;gap:6px}
.su-in>span:first-child{font-weight:600;font-size:15.5px}
.su-in .su-tag{background:#fff3d6;color:#8a5a00}
.su-iw{display:flex;align-items:center;gap:6px;border:1px solid var(--line-2);border-radius:8px;padding:0 12px;background:#fff;min-height:46px}
.su-iw:focus-within{outline:2px solid var(--focus);outline-offset:1px}
.su-iw i{font-style:normal;color:var(--muted)}
.su-iw input{flex:1;min-width:0;border:0;outline:0;font-size:18px;font-weight:600;background:none;font-variant-numeric:tabular-nums;direction:ltr;text-align:right}
.su-in small{font-size:13.5px;color:var(--muted);line-height:1.4}

/* phones */
@media (max-width:699px){
  .su-bar{gap:12px}
  .su-f,.su-own{flex:1 1 100%}
  .su-seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:12px}
  .su-seg button{border-radius:9px;padding:7px 8px}
  #su-svc{grid-template-columns:repeat(3,minmax(0,1fr))}
  .su-own label{flex:1 1 40%}.su-own input{width:100%}.su-own .btn{flex:1 1 100%;justify-content:center}
  .su-acts{flex:1 1 100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
  .su-acts .btn{justify-content:center;white-space:nowrap;padding-inline:8px;font-size:14.5px}
  .su-acts [data-print]{display:none}
  .su-lead{padding:14px 16px}.su-lead p{font-size:18.5px}
  .su-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .su-tile{padding:12px 14px}.su-tile h3{font-size:15px}.su-v{font-size:27px}.su-s,.su-dl{font-size:13.5px}
  .su-card{padding:14px 14px}
  .su-card>header h2,.su-set summary h2{font-size:18.5px}
  .su-led th{font-size:15px}.su-led td{font-size:16px}.su-led tr.su-res th,.su-led tr.su-res td{font-size:19px}
  .su-bt{flex-direction:column;align-items:stretch}.su-q{flex:1 1 auto;max-width:none}
  .su-ins{grid-template-columns:minmax(0,1fr)}
  .su-card .chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;margin:0;padding:0;max-width:none;gap:8px}
  .su-card .chips .chip{justify-content:center}
  .su-card .chips:not(.su-srcf) .chip:last-child:nth-child(odd),.su-srcf .su-fl,.su-srcf .chip:last-child:nth-child(even){grid-column:1 / -1}
  .su-bw{border-inline-start-width:1px}
  table.su-bks{min-width:0}
  .su-bks thead{display:none}
  .su-bks,.su-bks tbody{display:block}
  .su-bks tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:11px 12px;border-bottom:1px solid var(--line)}
  .su-bks tr:last-child{border-bottom:0}
  .su-bks tr>*{border:0!important;height:auto!important;padding:0!important;background:none!important;text-align:start}
  .su-bks th[scope="row"]{grid-column:1;grid-row:1;position:static;box-shadow:none}
  .su-bks td.su-nm{grid-column:1;grid-row:2;font-weight:600}
  .su-bks td:nth-child(3),.su-bks td:nth-child(4){display:none}
  .su-bks td:nth-child(5){grid-column:2;grid-row:1;text-align:end}
  .su-bks td:nth-child(6){grid-column:2;grid-row:2;text-align:end;font-weight:600}
  .su-pm{display:block;font-size:13.5px;font-weight:400;color:var(--muted)}
  .su-bks tr.addrow{display:block;padding:0}
  .su-bks tr.addrow td{display:block}
  .su-bks tr.addrow button{padding:0 12px!important}
}

/* on paper: the numbers only, A4, no filters and no buttons */
@media print{
  body[data-screen="summary"] #board{padding:10mm 11mm 0;font-size:11pt}
  body[data-screen="summary"] *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .su-bar,.su-more,.su-set,.su-bt,.su-srcf,.addrow,.su-tip,.htip{display:none!important}
  .su-ph{display:block;margin:0 0 8px;font-size:12pt;font-weight:700}
  .su-card,.su-tile,.su-lead{break-inside:avoid;border-color:#ccc}
  .su-two,.su-two.su-mm{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .wrap{overflow:visible!important;border-inline-start-width:1px!important}
  table.t,table.heat{min-width:0!important}
  .t .stick{position:static;box-shadow:none}
}
/* the dashboard inside the summary (1.11.2026): the room now on today, the dishes that moved, the question box */
.su-now .ow-lead{font-size:17px}
.su-now .ow-tg{margin-top:14px}
.su-ask{margin:0 0 16px}
@media print{.su-now,.su-ask,.ow-tbl{display:none}}
.su-s,.su-led th small,.su-mov tbody th{text-wrap:balance} /* short lines in narrow tiles, notes and dish names: even lines, never one word alone (r3i) */
