/* Bakery counter till, facing the shop: high contrast, fat tiles coloured by
   product family, receipt paper in monospace, a bar of large mode buttons.
   The mode bar is the navigation; the right column is always the counter
   where a paper lies (ticket, order slip, closing ticket). */

:root{--ink:#121314;--ink-2:#3a3c3f;--ink-3:#55585c;--bg:#e6e7e8;--pane:#d6d8da;--line:#b9bcbf;--line-2:#dcdddf;--sunk:#eceded;--paper:#fff;
  --pain:#a3351f;--vien:#1e6b52;--pat:#6c2f6a;--snack:#26508f;--cde:#3a3c3f;--alert:#a3351f;--ok:#1e6b52;--mono:"Plex Mono",ui-monospace,monospace}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:var(--bg);color:var(--ink);font-family:Inter,system-ui,sans-serif;font-size:16px;line-height:1.35;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit;color:inherit}
button{border:0;background:none;text-align:left;cursor:pointer}
a{color:inherit}
ul,ol{list-style:none}
::selection{background:var(--ink);color:#fff}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.f-pain{--fc:var(--pain)}
.f-vien{--fc:var(--vien)}
.f-pat{--fc:var(--pat)}
.f-snack{--fc:var(--snack)}
.f-cde{--fc:var(--cde)}

/* MODE BAR: shop, the six modes of the till, who is at the counter, the hour */
.shell{height:100dvh;display:flex;flex-direction:column}
.bar{height:64px;flex:none;display:flex;align-items:center;gap:22px;padding:0 20px;background:var(--ink);color:#fff}
.shop{font-weight:800;font-size:18px;letter-spacing:-.01em;text-decoration:none;white-space:nowrap}
.modes{display:flex;background:#2a2c2f;border-radius:8px;padding:4px;gap:2px}
.modes a{display:flex;align-items:center;gap:7px;height:44px;padding:0 15px;font-weight:600;font-size:16px;border-radius:6px;color:#d3d5d8;text-decoration:none;white-space:nowrap}
.modes a:hover{color:#fff;background:#3a3c3f}
.modes a[aria-current="page"]{background:#fff;color:var(--ink)}
.modes i{font-style:normal;font-family:var(--mono);font-size:13px;font-weight:600;background:var(--alert);color:#fff;border-radius:999px;padding:1px 7px}
.modes i:empty{display:none}
.modes a:focus-visible,.shop:focus-visible{outline-color:#fff}
.demo{margin-left:auto;font-size:13px;color:#d3d5d8;border:1px solid #77797c;border-radius:4px;padding:3px 8px;white-space:nowrap}
.who{font-size:15px;color:#d3d5d8;white-space:nowrap}
.clock{font-size:15px;font-weight:600;white-space:nowrap}
.main{flex:1;min-height:0;display:flex;flex-direction:column}
.nojs{padding:24px;font-size:18px}

/* PAGE FRAME: work at left, the counter with its paper at right */
.pg{flex:1;min-height:0;display:grid;gap:14px;padding:14px 20px 18px}
.two{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);padding:14px 0 18px 20px}
.three{grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr) minmax(0,.85fr);padding:14px 0 18px 20px}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.side{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto;background:var(--pane);margin:-14px 0 -18px;padding:14px 20px 18px 14px}
.scroll{flex:1;min-height:0;overflow:auto}
.ph{flex:none;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:14px 20px 12px;border-bottom:2px solid var(--ink)}
.ph h1,.ph h2{font-size:24px;font-weight:800;letter-spacing:-.01em;outline:0}
.ph p{font-size:14.5px;color:var(--ink-2);margin-top:2px}

/* CONTROLS */
.btn{flex:none;display:inline-grid;place-items:center;height:48px;padding:0 20px;border-radius:8px;background:var(--ink);color:#fff;font-weight:800;font-size:16px;text-align:center;white-space:nowrap}
.btn:active,.tile:active,.pad button:active,.pay:active{transform:translateY(1px)}
.btn-big{height:64px;font-size:19px;width:100%;white-space:normal}
.btn-lite{background:var(--paper);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn[disabled]{background:#77797c;cursor:not-allowed}
.chip{font-size:14px;font-weight:600;border:1.5px solid var(--ink);border-radius:6px;padding:7px 12px;background:var(--paper);color:var(--ink);font-family:Inter,sans-serif}
.chip[aria-pressed="true"],.seg button[aria-pressed="true"],.pad button[aria-pressed="true"]{background:var(--ink);color:#fff}
.seg{display:flex;gap:6px}
.seg button{flex:1;min-height:42px;padding:6px 10px;border:1.5px solid var(--ink);border-radius:6px;background:var(--paper);font-size:14.5px;font-weight:600;text-align:center}
.seg-s{display:inline-flex}
.seg-s button{flex:none;min-height:32px;padding:3px 10px;font-size:13.5px;border-color:var(--line)}
.seg-s button[aria-pressed="true"]{border-color:var(--ink)}
.step{display:inline-flex;align-items:center;gap:6px}
.step button{width:28px;height:28px;border-radius:5px;box-shadow:inset 0 0 0 1.5px var(--ink);background:var(--paper);font-weight:800;font-size:17px;line-height:1;text-align:center}
.step b{min-width:3.2ch;text-align:center;font-family:var(--mono);font-weight:600;font-size:16px}
.tag{display:inline-block;font-size:12.5px;font-weight:600;padding:3px 8px;border-radius:4px;white-space:nowrap}
.tag-ink{background:var(--ink);color:#fff}
.tag-line{box-shadow:inset 0 0 0 1.5px var(--ink-3);color:var(--ink-2)}
.tag-mute{background:var(--sunk);color:var(--ink-3)}
.tag-alert{background:var(--alert);color:#fff}
.done{padding:12px 14px;border-radius:8px;background:var(--paper);box-shadow:inset 0 0 0 2px var(--ok);color:var(--ink);font-size:14.5px;font-weight:600;line-height:1.4}
.done-mute{box-shadow:inset 0 0 0 1px var(--line);font-weight:400;color:var(--ink-2)}
.dot{display:inline-block;flex:none;width:10px;height:10px;border-radius:2px;margin-right:9px;background:var(--fc)}

/* TILL: tiles by family at left, the ticket at right */
.till{grid-template-columns:65fr 35fr;gap:0;padding:0}
.grid{padding:12px 14px 14px 20px;display:flex;flex-direction:column;gap:9px;min-height:0;overflow:auto}
.fam{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.fam h2{grid-column:1/-1;font-size:13px;font-weight:600;color:var(--ink-3);margin:0 0 -3px}
.cell{position:relative}
.tile{position:relative;width:100%;height:90px;border-radius:8px;padding:10px 12px 9px;display:flex;flex-direction:column;color:#fff;background:var(--fc)}
.tile b{font-size:18.5px;line-height:1.12;font-weight:600;letter-spacing:-.01em}
.tile .pr{margin-top:auto;font-family:var(--mono);font-size:15px}
.tile .st{position:absolute;right:9px;bottom:9px;font-size:13px;font-weight:600;background:#fff;color:var(--ink);border-radius:4px;padding:2px 7px}
.tile .st.low{background:var(--ink);color:#fff}
.tile.gone{background:#c4c6c9;color:var(--ink-2);cursor:default}
.tile .st.out{background:none;color:var(--ink-2);box-shadow:inset 0 0 0 1.5px var(--ink-2)}
.tile.sel{box-shadow:0 0 0 4px var(--ink)}
.tile .q{position:absolute;top:-9px;right:-7px;font-style:normal;font-weight:800;font-size:17px;background:var(--ink);color:#fff;border-radius:999px;padding:3px 10px}
.info{position:absolute;left:64px;bottom:8px;width:26px;height:26px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #fff;color:#fff;font-family:"Source Serif",serif;font-style:italic;font-weight:700;font-size:16px;line-height:1;text-align:center}
.info.on{background:#fff;color:var(--ink)}
.tile.gone+.info{box-shadow:inset 0 0 0 1.5px var(--ink-2);color:var(--ink-2)}

/* Under the tiles: what is left to do before closing, and the recipe sheet read to a customer */
.below{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:10px}
.note{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:11px 16px 10px;display:flex;flex-direction:column;gap:6px;min-height:0;overflow:hidden}
.note h2{font-size:17px;font-weight:800;letter-spacing:-.01em}
.note h2 small{font-size:12.5px;font-weight:400;color:var(--ink-3);margin-left:6px}
.say{font-size:14.5px;line-height:1.4;color:var(--ink-2)}
.todo{margin-top:auto;border-top:2px solid var(--ink)}
.todo a{display:flex;align-items:center;gap:10px;height:29px;border-bottom:1px solid var(--line-2);font-size:14.5px;font-weight:600;text-decoration:none}
.todo li:last-child a{border-bottom:0}
.todo a:hover{background:var(--sunk)}
.todo i{flex:none;width:14px;height:14px;border-radius:3px;box-shadow:inset 0 0 0 1.5px var(--ink)}
.todo .ok i{background:var(--ok);box-shadow:none}
.todo .ok span{color:var(--ink-3)}
.todo b{margin-left:auto;font-family:var(--mono);font-size:13.5px;font-weight:600;color:var(--alert)}
.todo .ok b{color:var(--ok)}
.sheet{box-shadow:inset 0 0 0 2px var(--pat);border-color:var(--pat)}
.ask{font-size:14.5px;color:var(--ink-2)}
.ans{font-size:20px;line-height:1.2;letter-spacing:-.01em}
.ans b{font-weight:800}
.al14{display:flex;flex-wrap:wrap;gap:5px}
.al14 li{font-size:12.5px;font-weight:600;padding:3px 8px;border-radius:4px;background:var(--sunk);color:var(--ink-3);text-decoration:line-through}
.al14 li.hit{background:var(--ink);color:#fff;text-decoration:none}
.src{margin-top:auto;font-size:12.5px;line-height:1.4;color:var(--ink-3)}
.src b,.ing b{color:var(--ink);font-weight:600}
.src a{font-weight:600;color:var(--ink)}

/* RECEIPT PAPER: ticket, order slip, closing ticket */
.ticket{background:var(--pane);padding:14px 20px 18px 14px;display:flex;flex-direction:column;gap:12px;min-height:0}
.paper{background:var(--paper);font-family:var(--mono);font-size:15px;padding:18px 22px 28px;display:flex;flex-direction:column;
  -webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/14px 100%;mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/14px 100%}
.tk{flex:1;min-height:0;overflow:auto}
.tk-h{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--ink-3);border-bottom:1.5px dashed var(--line);padding-bottom:9px;margin-bottom:8px}
.tk-lines button{display:flex;justify-content:space-between;gap:12px;width:100%;font-size:17.5px;padding:8px 10px;margin:0 -10px;width:calc(100% + 20px)}
.tk-lines .cur button{background:var(--sunk);box-shadow:inset 0 0 0 1.5px var(--ink)}
.tk-empty{font-family:Inter,sans-serif;font-size:15px;line-height:1.5;color:var(--ink-2);padding:10px 0}
.tk-row{display:flex;justify-content:space-between;gap:12px;padding:3px 0}
.tk-vat{font-size:13.5px;color:var(--ink-3);padding:1px 0}
.tk-pay{display:flex;gap:8px;align-items:center;margin-top:auto;padding:12px 0 10px}
.tk-pay span:first-child{font-family:Inter,sans-serif;font-size:15px;font-weight:600;margin-right:4px}
.tk-tot{display:flex;justify-content:space-between;font-size:26px;font-weight:600;border-top:1.5px dashed var(--line);padding-top:10px;margin-top:6px}
.tk-sum{border-top:1.5px dashed var(--line);margin-top:6px;padding-top:8px;font-weight:600}
.tk-due{font-size:19px;font-weight:600}
.pad{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.pad button{height:46px;display:grid;place-items:center;background:var(--paper);border-radius:6px;font-weight:600;font-size:18px;text-align:center}
.pad button:nth-child(n+11){font-size:15px;color:var(--ink-2)}
.pay{flex:none;height:88px;border-radius:10px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px}
.pay span{font-size:27px;font-weight:800;letter-spacing:-.01em}
.pay b{font-family:var(--mono);font-size:32px;font-weight:600}
.pay[disabled]{background:#77797c;cursor:not-allowed}

/* TABLES: lab sheet, unsold, allergen table, takings */
.tb{width:100%;border-collapse:collapse}
.tb thead th{position:sticky;top:0;z-index:1;background:var(--paper);font-size:12.5px;font-weight:600;color:var(--ink-3);text-align:right;padding:9px 10px 7px;box-shadow:inset 0 -2px 0 var(--ink);white-space:nowrap}
.tb thead th:first-child,.tb .tl{text-align:left}
.tb td,.tb tbody th{height:34px;padding:0 10px;border-bottom:1px solid var(--line-2);font-size:15px}
.tb thead th:first-child,.tb tbody th{padding-left:20px}
.tb tbody th{text-align:left;font-weight:600;white-space:nowrap}
.tb tbody th small{font-weight:400;font-size:12.5px;color:var(--ink-3);margin-left:8px}
.tb td:last-child,.tb thead th:last-child{padding-right:20px}
.tb .n{text-align:right;font-family:var(--mono);white-space:nowrap}
.tb .n b{font-weight:600}
.tb .s{font-size:13.5px;color:var(--ink-2);white-space:nowrap}
.tb .hot{color:var(--alert);font-weight:600}
.tb .sum th,.tb .sum td{border-top:2px solid var(--ink);border-bottom:0;font-weight:800;height:40px}
.tb tr[hidden]{display:none}
.ml{display:none}
.wrap td,.wrap tbody th{height:40px}
.wrap tbody th small{display:block;margin:0 0 0 19px}
.wrap tbody th:has(small){line-height:1.15}
.wrap .dot{vertical-align:baseline}
.lab .tb td.n:nth-child(4){padding-block:2px}

/* The right column of a mode: a white card with figures, lists and one big button */
.card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:16px 20px 18px;display:flex;flex-direction:column;gap:12px}
.card h2{font-size:21px;font-weight:800;letter-spacing:-.01em;line-height:1.2}
.card h2 small{display:block;font-size:13.5px;font-weight:400;color:var(--ink-3);letter-spacing:0;margin-top:3px}
.card h3{font-size:13px;font-weight:600;color:var(--ink-3);margin-bottom:-6px}
.figs{border-top:2px solid var(--ink)}
.fig{display:grid;grid-template-columns:8.6rem minmax(0,1fr);align-items:baseline;gap:14px;padding:9px 0;border-bottom:1px solid var(--line-2)}
.fig b{font-family:var(--mono);font-size:27px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}
.fig span{font-size:14.5px;color:var(--ink-2)}
.fig-alert b{color:var(--alert)}
.mini a{display:grid;grid-template-columns:66px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:44px;border-bottom:1px solid var(--line-2);text-decoration:none}
.mini a:hover,.ord a:hover{background:var(--sunk)}
.mini b{font-family:var(--mono);font-weight:600;font-size:15px}
.mini span{font-size:15px;font-weight:600}
.mini small,.ord small{display:block;font-size:13.5px;font-weight:400;color:var(--ink-2)}
.split li{display:grid;grid-template-columns:minmax(0,1fr) 6rem 5.5rem;gap:10px;height:32px;align-items:center;border-bottom:1px solid var(--line-2);font-size:15px}
.split b{font-family:var(--mono);font-weight:400;text-align:right;white-space:nowrap}
.split b:last-child{font-weight:600}

/* ORDERS: the book at left, the slip of the open order at right */
.grp{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 20px 6px;font-size:15px;font-weight:800;box-shadow:inset 0 -1px 0 var(--ink)}
.grp span{font-size:13px;font-weight:600;color:var(--ink-3)}
.ord a{display:grid;grid-template-columns:74px minmax(0,1fr) auto 132px;gap:14px;align-items:center;min-height:52px;padding:4px 20px;border-bottom:1px solid var(--line-2);text-decoration:none}
.ord .t{font-family:var(--mono);font-size:17px;font-weight:600}
.ord .w{font-size:16px;font-weight:600;min-width:0}
.ord small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ord .m{font-size:13.5px;color:var(--ink-2);white-space:nowrap}
.ord .tag{justify-self:end}
.ord .on a{background:var(--sunk);box-shadow:inset 0 0 0 2px var(--ink)}
.ord .given a{color:var(--ink-3)}
.ord .given small,.ord .given .m{color:var(--ink-3)}
.slip,.zt{flex:none}
.sl-who{font-family:Inter,sans-serif;font-size:15px;line-height:1.45;margin-bottom:8px;color:var(--ink-2)}
.sl-who b{font-size:19px;font-weight:800;color:var(--ink)}
.sl-note{font-size:13.5px;color:var(--ink-2);padding:2px 0 4px 2ch}
.sl-al{font-family:Inter,sans-serif;font-size:13.5px;line-height:1.4;color:var(--ink-2);margin-top:8px}
.sl-al b{color:var(--ink)}
.sl-clash{padding:8px 10px;border-radius:6px;background:var(--alert);color:#fff;font-weight:600}
.pays{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600}
.pays span{margin-right:4px}
.form{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:14px 20px 16px;display:grid;gap:7px}
.form h2{font-size:21px;font-weight:800;letter-spacing:-.01em}
.fl{font-size:13px;font-weight:600;color:var(--ink-3);margin-top:4px}
.form input,.form select,.find input{height:44px;width:100%;padding:0 12px;border:1.5px solid var(--ink);border-radius:6px;background:var(--paper);font-size:16px}
.fr{display:flex;align-items:center;gap:12px}
.fr select{flex:1;min-width:0}
.form .step button{width:40px;height:40px}
.check{padding:9px 12px;border-radius:6px;background:var(--sunk);font-size:13.5px;line-height:1.4;color:var(--ink-2)}
.check-no{background:var(--alert);color:#fff;font-weight:600}
.tot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-family:var(--mono);font-size:14.5px;font-weight:600;padding-top:6px}
.acts{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:4px}

/* ALLERGENS: the table of the shop, fourteen columns, and one recipe sheet */
.find{flex:none;width:260px}
.mx thead th.v{height:92px;padding:6px 0;vertical-align:bottom;text-align:center;width:38px}
.mx thead th.v span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}
.mx td,.mx tbody th{height:30px}
.mx td.c{padding:0;text-align:center;border-left:1px solid var(--line-2)}
.mx .yes{display:inline-block;width:14px;height:14px;border-radius:3px;background:var(--ink);vertical-align:middle}
.mx tbody th a{display:flex;align-items:center;text-decoration:none;height:100%}
.mx tbody th .tag{margin-left:8px}
.mx .alt{display:none}
.mx tr.on th,.mx tr.on td{background:var(--sunk)}
.mx tr.on th{box-shadow:inset 4px 0 0 var(--ink)}
.mx tbody tr:hover th,.mx tbody tr:hover td{background:var(--sunk)}
.ing{font-size:15px;line-height:1.45;color:var(--ink-2)}
.meta{font-size:13px;color:var(--ink-3);margin-bottom:-4px}
.card .al14 li{background:none;padding:0;text-decoration:none}
.card .al14 button{font-size:13px;font-weight:600;padding:6px 9px;border-radius:5px;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink-3);background:var(--paper)}
.card .al14 button[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:none}
.label{border:2px solid var(--ink);border-radius:6px;padding:9px 14px 10px}
.lb-k{font-size:12.5px;font-weight:600;color:var(--ink-3)}
.lb-n{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:20px;font-weight:800;letter-spacing:-.01em}
.lb-n b{font-family:var(--mono);font-weight:600;font-size:18px;white-space:nowrap}
.lb-a{font-size:13.5px;color:var(--ink-2);margin-top:2px}
.law{font-size:12.5px;line-height:1.45;color:var(--ink-3);border-top:1px solid var(--line-2);padding-top:10px}

/* CLOSING: takings, the drawer counted, the closing ticket */
.three .tb+.tb{margin-top:10px;border-top:1px solid var(--line)}
.three .tb tbody th small{display:block;margin:0;white-space:normal}
.three .tb td,.three .tb tbody th{height:42px}
.acct{padding:12px 20px;font-size:13.5px;line-height:1.5;color:var(--ink-2);border-top:1px solid var(--line);margin-top:10px}
.acct b{font-size:15px;color:var(--ink)}
.drawer{padding:4px 20px 16px}
.cnt{display:grid;grid-template-columns:minmax(0,1fr) auto 5.2rem;gap:12px;align-items:center;min-height:46px;border-bottom:1px solid var(--line-2);font-size:15px}
.cnt>b{font-family:var(--mono);font-weight:600;text-align:right}
.cnt .step button{width:36px;height:36px}
.cnt-sum{border-top:2px solid var(--ink);font-weight:800}
.gap{display:flex;justify-content:space-between;align-items:baseline;margin:12px 0;padding:10px 14px;border-radius:8px;background:var(--alert);color:#fff;font-size:17px;font-weight:800}
.gap b{font-family:var(--mono);font-size:26px;font-weight:600}
.gap-ok{background:var(--ok)}
.zt{font-size:14px}

/* Laptop: the name of the seller leaves the bar first. */
@media (max-width:1380px){
  .who{display:none}
  .modes a{padding:0 12px}
}

/* PHONE: the modes fold on two rows, each page becomes one column, the paper comes under the work */
@media (max-width:900px){
  .shell{height:auto;min-height:100dvh}
  .bar{height:auto;flex-wrap:wrap;gap:8px 12px;padding:10px 12px}
  .demo{display:none}
  .clock{margin-left:auto;font-size:13.5px}
  .modes{order:3;width:100%;display:grid;grid-template-columns:repeat(3,1fr)}
  .modes a{justify-content:center;padding:0 4px;font-size:14px;height:42px}
  .pg,.till,.two,.three{display:block;padding:10px 12px 0}
  .panel{margin-bottom:12px}
  .scroll,.grid,.side,.tk{overflow:visible}
  .side,.ticket{margin:0 -12px;padding:12px}
  .grid{padding:0 0 12px}
  .fam{grid-template-columns:repeat(2,1fr)}
  .tile{height:92px}
  .tile b{font-size:15.5px}
  .below{display:block}
  .note{margin-top:10px}
  .ph{flex-wrap:wrap;padding:12px 14px 10px}
  .ph h1,.ph h2{font-size:21px}
  .find{width:100%}
  .btn{white-space:normal;height:auto;min-height:48px;padding:8px 16px}
  .ord a{grid-template-columns:70px minmax(0,1fr) auto;gap:4px 8px;padding:8px 14px}
  .ord .t{font-size:15px;white-space:nowrap}
  .ord .m{grid-column:2;grid-row:2}
  .ord .tag{grid-column:3;grid-row:1}
  .ord small{white-space:normal}
  .grp{padding:12px 14px 6px}
  .panel .scroll{overflow-x:auto}
  .tb thead th{white-space:normal;padding:8px 6px 6px}
  .tb td,.tb tbody th{padding:0 6px;font-size:14px}
  .tb thead th:first-child,.tb tbody th{padding-left:14px}
  .tb tbody th:has(.dot){padding-left:33px;text-indent:-19px}
  .tb tbody th small{text-indent:0}
  .wrap tbody th small{margin-left:0}
  .tb td:last-child,.tb thead th:last-child{padding-right:14px}
  .tb tbody th{white-space:normal}
  .tb .x{display:none}
  .ml{display:inline;font-family:Inter,sans-serif;font-size:12.5px;color:var(--ink-3)}
  .tb.wrap thead{display:none}
  .tb.wrap tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;border-bottom:1px solid var(--line-2);padding:6px 0}
  .tb.wrap td,.tb.wrap tbody th{border:0;height:auto}
  .tb.wrap td.tl{grid-column:1/-1;padding:4px 14px 2px}
  .mx thead{display:none}
  .mx td.c{display:none}
  .mx td,.mx tbody th{height:auto}
  .mx tbody th a{display:block;padding:8px 0}
  .mx .alt{display:block;margin:2px 0 0 19px}
  .fig{grid-template-columns:7.4rem minmax(0,1fr)}
  .fig b{font-size:22px}
  .acts{grid-template-columns:1fr}
  .seg{flex-wrap:wrap}
  .pay span{font-size:22px}
  .pay b{font-size:24px}
}
