/* Üzleti Pilóta PWA. Tokens and the two typefaces come from the product landing
   (services/uzletipilota-fooldal/stilus.css); Archivo and Instrument Sans are OFL. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:400 900;font-display:swap;src:url(betuk/archivo-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Archivo';font-style:normal;font-weight:400 900;font-display:swap;src:url(betuk/archivo-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C4,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(betuk/instrument-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(betuk/instrument-sans-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C4,U+2C60-2C7F,U+A720-A7FF}

:root{
  --ink:#070C18; --ink-2:#0D1526; --ink-3:#141F36; --ink-4:#1D2B48;
  --on-ink:#E8EDF5; --on-ink-2:#AEB9CC;
  --signal:#FFB020; --signal-2:#FF8E24; --signal-soft:#FFF3DC; --signal-text:#7A4A00;
  --mint:#2ECF92; --piros:#E5484D;
  --line:rgba(255,255,255,.08);
  --fd:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
  --fb:'Instrument Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{display:flex;flex-direction:column;height:100dvh;background:var(--ink);color:var(--on-ink);font-family:var(--fb);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}
[hidden]{display:none !important}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer;border:0;border-radius:12px;min-height:44px;padding:0 18px;background:var(--signal);color:var(--ink);font-family:var(--fd);font-weight:700}
button:disabled{opacity:.55;cursor:default}
button.masodlagos{background:transparent;color:var(--on-ink);border:1px solid var(--line)}
button.veszely{background:var(--piros);color:#fff}
:focus-visible{outline:3px solid var(--signal);outline-offset:2px}
a{color:var(--signal)}

/* ---------- top banner ---------- */
.sav{flex:none;padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));text-align:center;font-size:.95rem;font-weight:600}
.sav.offline{background:var(--ink-4);color:var(--on-ink)}
.sav.ujra,.sav.szolg{background:var(--signal);color:var(--ink)}
.sav.ujra::before{content:"";display:inline-block;width:.85em;height:.85em;margin-right:.5em;vertical-align:-.1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:forog 1s linear infinite}

/* ---------- login view ---------- */
.belepes{width:100%;max-width:440px;margin:0 auto;overflow-y:auto;padding:56px 22px 40px;display:flex;flex-direction:column;gap:14px}
.belepes .logo{width:72px;height:72px}
.belepes h1{font-family:var(--fd);font-size:1.9rem;line-height:1.1;margin:6px 0 0;letter-spacing:-.015em}
.belepes p{margin:0;color:var(--on-ink-2)}
.belepes .uzenet{color:var(--on-ink);background:var(--ink-3);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.urlap{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.urlap label{font-weight:600;font-size:.95rem}
.urlap input{background:var(--ink-2);border:1px solid var(--ink-4);border-radius:12px;padding:12px 14px;font-size:1.05rem}
.urlap button{margin-top:6px;min-height:50px;font-size:1.05rem}
.segitseg{font-size:.95rem;margin-top:18px !important}

/* ---------- chat view ---------- */
.csevego{flex:1;min-height:0;width:100%;display:flex;flex-direction:column;max-width:820px;margin:0 auto;border-left:1px solid var(--line);border-right:1px solid var(--line);background:var(--ink-2)}
.fejlec{display:flex;align-items:center;gap:12px;padding:12px 14px;padding-top:max(12px,env(safe-area-inset-top));background:var(--ink);border-bottom:1px solid var(--line)}
.fej-szoveg{flex:1;min-width:0}
.fejlec h1{font-family:var(--fd);font-size:1.12rem;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agens-allapot{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.potty{flex:none;width:12px;height:12px;border-radius:50%;background:#5B6680}
.potty.be{background:var(--mint);animation:lukteto 2.4s ease-in-out infinite}
.avatar-keret{position:relative;flex:none;width:12px;height:12px}
.agens-kep{display:none}
.avatar-keret .potty{position:static;display:block;border:0}
#nev-mezo{background:var(--ink-2);border:1px solid var(--ink-4);border-radius:12px;padding:12px 14px;font-size:1.05rem}
.kep-racs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.kep-opcio{padding:0;min-height:0;background:transparent;border:2px solid transparent;border-radius:50%;overflow:hidden;width:48px;height:48px}
.kep-opcio img{width:100%;height:100%;object-fit:cover;display:block}
.kep-opcio.kivalasztva{border-color:var(--mint)}
.fejlec select{background:var(--ink-3);border:1px solid var(--ink-4);border-radius:10px;padding:8px;max-width:40%}
.menu-gomb{width:44px;padding:0;background:transparent;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}
.menu-gomb span{display:block;width:20px;height:2px;border-radius:2px;background:var(--on-ink)}
.menu{display:flex;flex-direction:column;gap:10px;padding:14px;background:var(--ink);border-bottom:1px solid var(--line)}
.menu-szoveg{margin:0;font-size:.92rem;color:var(--on-ink-2)}
/* notification permission help (Zoltán TG 64279, Lead 82494) */
.ertesites-sugo{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:12px;background:var(--ink-3);border:1px solid var(--ink-4)}
.ertesites-sugo .menu-szoveg{color:var(--on-ink)}
.ertesites-sugo ol{margin:0;padding-left:1.3em;font-size:.92rem;color:var(--on-ink-2);display:flex;flex-direction:column;gap:4px}
.megerosites{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;background:var(--ink-3)}
.megerosites p{margin:0}
.gombsor{display:flex;gap:10px;flex-wrap:wrap}
/* One-time name prompt (card 4833f9cc, Lead 115012) */
.nev-kero{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(7,12,24,.72)}
.nev-kero-doboz{display:flex;flex-direction:column;gap:12px;width:100%;max-width:380px;padding:20px;border-radius:16px;background:var(--ink-3);border:1px solid var(--line)}
.nev-kero-doboz h2{margin:0;font-family:var(--fd);font-size:1.2rem}
.nev-kero-doboz p{margin:0;color:var(--on-ink-2)}
.nev-kero-doboz input{font:inherit;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--ink-2);color:var(--on-ink)}

/* ---------- quota bars ---------- */
/* Collapsed by default (card de02d6d4, Zoltán TG 65934): a header icon button opens the detail,
   so the two bars stop occupying permanent space above the conversation. */
.keret{display:none;grid-template-columns:1fr 1fr;gap:6px 16px;padding:10px 14px;background:var(--ink);border-bottom:1px solid var(--line);font-size:.8rem}
.keret.nyitva{display:grid}
.keret-gomb{position:relative;width:44px;padding:0;background:transparent;display:flex;align-items:center;justify-content:center;flex:none}
.keret-gomb svg{width:22px;height:22px;fill:none;stroke:var(--on-ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.keret-gomb[aria-expanded="true"]{background:var(--ink-3)}
.keret-gomb.sarga svg{stroke:var(--signal)}
.keret-gomb.piros svg{stroke:var(--piros)}
.keret-gomb.szurke svg{stroke:var(--on-ink-2);stroke-dasharray:3 2}
.keret-megjegyzes{grid-column:1 / -1;margin:0;color:var(--on-ink-2)}
.keret-sor{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 10px;min-width:0}
.keret-cim{color:var(--on-ink-2);white-space:nowrap}
.sav-kulso{height:6px;border-radius:3px;background:var(--ink-4);overflow:hidden}
.sav-belso{height:100%;width:calc(var(--szazalek,0) * 1%);background:var(--mint);border-radius:3px;transition:width .4s ease}
.keret-szoveg{grid-column:1 / -1;color:var(--on-ink)}
.keret-sor.sarga .sav-belso{background:var(--signal)}
/* Status bars with what to do (card 097dc653, MERCE 9): red = the assistant cannot answer now,
   grey = information, nothing to do. The yellow one sits under the unanswered message. */
.teendok{display:flex;flex-direction:column;gap:8px;padding:10px 14px;background:var(--ink);border-bottom:1px solid var(--line)}
.teendo{border-radius:12px;padding:0;font-size:.88rem;border-left:4px solid}
.teendo p{margin:0}
/* Collapsed by default (card 45ced8a2, Zoltán TG 64217): one line with a mark, a chevron to open. */
.teendo details{padding:0 12px}
.teendo details[open]{padding-bottom:10px}
.teendo summary{display:flex;align-items:center;gap:8px;min-height:40px;list-style:none;cursor:pointer;font-family:var(--fd);font-weight:700}
.teendo summary::-webkit-details-marker{display:none}
.teendo summary span{flex:1;min-width:0}
.teendo .teendo-rovid{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.teendo details:not([open]) .teendo-cim,.teendo details[open] .teendo-rovid{display:none}
.teendo details[open] summary{align-items:flex-start;padding-top:10px;margin-bottom:6px}
.teendo details[open] summary::before{margin-top:1px}
.teendo summary::before{content:"!";flex:none;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:.75rem;line-height:1;background:currentColor;color:var(--ink)}
.teendo.piros summary::before{background:var(--piros);color:#fff}
.teendo.sarga summary::before{background:var(--signal);color:var(--signal-text)}
.teendo summary::after{content:"";flex:none;width:8px;height:8px;margin:0 4px 3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.teendo details[open] summary::after{transform:rotate(-135deg);margin-bottom:-3px}
.teendo summary:focus-visible{outline:2px solid var(--signal);outline-offset:2px;border-radius:8px}
.teendo.piros{background:rgba(229,72,77,.14);border-color:var(--piros);color:var(--on-ink)}
.teendo.szurke{background:var(--ink-3);border-color:var(--ink-4);color:var(--on-ink-2)}
.teendo.szurke .teendo-cim{color:var(--on-ink)}
.uzenetek li.teendo.sarga{align-self:flex-end;max-width:min(82%,560px);background:var(--signal-soft);border-color:var(--signal);color:var(--signal-text)}
.teendo.sarga a{color:var(--signal-text);font-weight:600}

/* ---------- home-screen install (MERCE 10) ---------- */
.telepito{position:relative;margin:10px 14px 0;padding:12px 44px 12px 14px;border-radius:14px;background:var(--ink-3);border:1px solid var(--ink-4);font-size:.9rem;color:var(--on-ink-2)}
.telepito p{margin:0 0 8px}
.telepito .telepito-cim{font-family:var(--fd);font-weight:700;color:var(--on-ink);margin-bottom:4px}
.telepito-bezar{position:absolute;top:4px;right:4px;width:40px;min-height:40px;padding:0;background:transparent;color:var(--on-ink-2);display:grid;place-items:center}
.telepito-bezar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.telepito-lepesek{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.telepito-lepesek li{display:flex;gap:10px;align-items:center}
.telepito-lepesek b{color:var(--signal);font-family:var(--fd)}
.telepito-rajz{flex:none;width:52px;height:52px;border-radius:12px;background:var(--ink-2);border:1px solid var(--line);display:grid;place-items:center}
.telepito-rajz svg{width:40px;height:40px;fill:none;stroke-linecap:round;stroke-linejoin:round}
.telepito-rajz .tr-keret{stroke:var(--on-ink-2);stroke-width:1.6}
.telepito-rajz .tr-sor{stroke:var(--ink-4);stroke-width:2.4}
.telepito-rajz .tr-sor-ki{stroke:var(--on-ink);stroke-width:2.4}
.telepito-rajz .tr-jel-hatter{fill:rgba(255,176,32,.16);stroke:var(--signal);stroke-width:1.2}
.telepito-rajz .tr-jel{stroke:var(--signal);stroke-width:2.2}
.telepito-rajz .tr-pont{fill:var(--on-ink-2)}
.keret-sor.piros .sav-belso{background:var(--piros)}
.keret-sor.piros .keret-szoveg{color:#FF8A8D}
.keret-sor.nem-olvashato .sav-kulso{background:repeating-linear-gradient(135deg,var(--ink-4) 0 6px,var(--ink-3) 6px 12px)}
.keret-sor.nem-olvashato .keret-szoveg{color:var(--on-ink-2)}

/* ---------- messages ---------- */
.uzenetek-sav{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}
.uzenetek{flex:1;overflow-y:auto;list-style:none;margin:0;padding:14px 12px;display:flex;flex-direction:column;gap:6px}
.ures{margin:auto;padding:24px;max-width:340px;text-align:center;color:var(--on-ink-2)}
/* scroll-to-bottom (brief 6523ad6f-gorgetes-nagyito, 2026-10-28): anchored to the message-list box
   itself, not the viewport, so it can never overlap the composer row below it. */
.gorgeto-gomb{position:absolute;right:14px;bottom:14px;width:40px;height:40px;padding:0;border-radius:50%;display:grid;place-items:center;background:var(--ink-3);color:var(--on-ink);border:1px solid var(--ink-4);box-shadow:0 2px 10px rgba(0,0,0,.35)}
.gorgeto-gomb svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gorgeto-szamlalo{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--signal);color:var(--ink);font-size:.72rem;line-height:18px;font-weight:700;text-align:center}
.buborek{max-width:min(82%,560px);padding:8px 12px 6px;border-radius:16px;overflow-wrap:anywhere;white-space:pre-wrap}
.buborek.be{align-self:flex-start;background:var(--ink-3);border-bottom-left-radius:6px}
.ir-jelzes{align-self:flex-start;display:flex;align-items:center;gap:8px;margin:0 12px 8px;padding:8px 12px;border-radius:16px;border-bottom-left-radius:6px;background:var(--ink-3);color:var(--on-ink-2);font-size:.85rem}
.ir-jelzes[hidden]{display:none}
.ir-pottyok{display:flex;gap:4px}
.ir-pottyok i{width:7px;height:7px;border-radius:50%;background:var(--on-ink-2);animation:ir-potty 1.2s ease-in-out infinite}
.ir-pottyok i:nth-child(2){animation-delay:.15s}
.ir-pottyok i:nth-child(3){animation-delay:.3s}
@keyframes ir-potty{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.buborek.ki{align-self:flex-end;background:var(--ink-4);border-bottom-right-radius:6px}
.buborek .szoveg{font-size:1rem}
/* Proactive notice of the relay (card 945dc2a9): centred, quieter than a reply, not a bubble of either side. */
.uzenetek li.rendszer{align-self:center;max-width:min(88%,560px);padding:8px 14px 6px;border-radius:12px;background:var(--ink-2);border:1px solid var(--ink-4);color:var(--on-ink-2);font-size:.9rem;text-align:center;overflow-wrap:anywhere;white-space:pre-wrap}
.uzenetek li.rendszer .meta{justify-content:center}
.meta{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 8px;margin-top:3px;font-size:.75rem;color:var(--on-ink-2);white-space:normal}
.szerkesztve{font-style:italic}
.kezbesitve-jel{color:var(--mint)}
.allapot-szoveg{flex-basis:100%;text-align:right}
.buborek.lejart .allapot-szoveg{color:#FF8A8D}
.ujrakuldes{min-height:32px;padding:0 12px;font-size:.8rem;border-radius:9px}
/* copy button of a message (card be3c3384): quiet in the meta line, mint while "Másolva" shows */
.masol-gomb{min-height:32px;padding:0 10px;border-radius:9px;font-size:.75rem;font-family:var(--fb);font-weight:600;background:transparent;color:var(--on-ink-2);border:1px solid var(--line)}
.masol-gomb.masolva{color:var(--mint);border-color:var(--mint)}
.szal-gyoker .szal-szerzo .masol-gomb{margin-left:auto}
/* files and photos (card 097dc653) */
.fajl{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;white-space:normal}
.fajl-kep{display:block;max-width:100%;max-height:260px;border-radius:10px}
.fajl-kepes{flex-direction:column;align-items:flex-start}
/* File icon (card afe8ec50): a page with a folded corner (::before is the outline and the flap, ::after
   the paper) and a type mark. The mark's text tells the type first; fill and colour (palette tokens only)
   second, so CSV (outlined) and XLSX (filled) differ without colour too. Text types get ruled lines,
   sheets a grid. --ft is the mark's colour. */
.fajl-ikon{--ft:var(--on-ink-2);position:relative;flex:none;width:34px;height:40px;margin:0 -3px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:2px}
.fajl-ikon::before,.fajl-ikon::after{content:"";position:absolute;top:0;left:4px;width:26px;height:34px;border-radius:3px;background:var(--on-ink-2);clip-path:polygon(0 0,17px 0,100% 9px,100% 100%,0 100%)}
.fajl-ikon::after{top:1.5px;left:5.5px;width:23px;height:31px;border-radius:2px;background:var(--ink-2);clip-path:polygon(0 0,15.5px 0,15.5px 7.5px,100% 7.5px,100% 100%,0 100%)}
.fajl-ikon[data-tipus="md"]::after,.fajl-ikon[data-tipus="txt"]::after{background:
  linear-gradient(var(--ink-4),var(--ink-4)) 4px 6px/9px 2px no-repeat,linear-gradient(var(--ink-4),var(--ink-4)) 4px 11px/15px 2px no-repeat,
  linear-gradient(var(--ink-4),var(--ink-4)) 4px 16px/12px 2px no-repeat,var(--ink-2)}
.fajl-ikon[data-tipus="xlsx"]::after,.fajl-ikon[data-tipus="csv"]::after{background:
  repeating-linear-gradient(90deg,var(--ink-4) 0 1.5px,transparent 1.5px 5px) 3px 9px/17px 11px no-repeat,
  repeating-linear-gradient(var(--ink-4) 0 1.5px,transparent 1.5px 4.75px) 3px 9px/17px 11px no-repeat,var(--ink-2)}
.fajl-jel{position:relative;z-index:1;min-width:22px;padding:2px 3px 1.5px;border-radius:3px;background:var(--ft);color:var(--ink);font:800 .625rem/1 var(--fd);letter-spacing:.03em;text-align:center;white-space:nowrap}
.fajl-jel:empty{display:none}
.fajl-ikon[data-tipus="md"]{--ft:var(--signal)}
.fajl-ikon[data-tipus="txt"]{--ft:var(--on-ink)}
.fajl-ikon[data-tipus="pdf"]{--ft:var(--piros)}
.fajl-ikon[data-tipus="xlsx"]{--ft:var(--mint)}
.fajl-ikon[data-tipus="csv"] .fajl-jel{background:var(--ink-2);color:var(--mint);box-shadow:inset 0 0 0 1.5px var(--mint)}
.fajl-ikon[data-tipus="egyeb"] .fajl-jel{background:var(--ink-4);color:var(--on-ink);box-shadow:inset 0 0 0 1px var(--on-ink-2)}
.fajl.hanguzenet .fajl-ikon{display:none}
.fajl-nev{flex:1;min-width:0;overflow-wrap:anywhere;font-size:.95rem}
.fajl-meret{font-size:.8rem;color:var(--on-ink-2)}
.fajl-nyit{min-height:36px;padding:0 14px;font-size:.85rem;border-radius:10px}
/* workspace files (card e77f1cf5, phase 1b): the download is a link, the share a secondary button */
a.fajl-nyit{display:inline-flex;align-items:center;background:var(--signal);color:var(--ink);font-weight:700;text-decoration:none}
.fajl-megoszt{min-height:36px;padding:0 14px;font-size:.85rem;border-radius:10px;background:transparent;color:var(--on-ink);border:1.5px solid var(--on-ink-2)}
.fajl-megoszt.hiba{border-color:#FF8A8D}
.fajl-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.fajl-lista-sor{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:12px;background:var(--ink-3);color:var(--on-ink)}
.fajl-lista-fej{display:flex;align-items:baseline;gap:8px}
.fajl-lista-fej .fajl-ikon{align-self:center;margin:0 2px 0 0}
/* the sender line and the buttons start under the name, not under the icon (34 px icon + 10 px gap) */
.fajl-lista-al,.fajl-lista-sor>.gombsor{margin-left:44px}
.fajl-lista-al{display:flex;gap:8px;font-size:.8rem;color:var(--on-ink-2)}
.hang-lejatszo{display:flex;align-items:center;gap:10px;min-width:min(220px,60vw);margin:4px 0 2px;white-space:normal}
.hang-gomb{flex:none;width:40px;min-height:40px;height:40px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center}
.hang-gomb::before{content:'';width:16px;height:16px;background:var(--ink);clip-path:polygon(18% 0,100% 50%,18% 100%)}
.hang-lejatszo.szol .hang-gomb::before{clip-path:polygon(10% 0,40% 0,40% 100%,10% 100%,10% 0,60% 0,90% 0,90% 100%,60% 100%,60% 0)}
.hang-sav{flex:1;min-width:60px;height:4px;border-radius:2px;background:var(--line);overflow:hidden}
.hang-sav>span{display:block;height:100%;width:0;background:var(--signal)}
.hang-ido{flex:none;font-size:.8rem;color:var(--on-ink-2);font-variant-numeric:tabular-nums}
.ajanlo{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:8px 0 2px;white-space:normal}
.ajanlo-gomb{min-height:44px;padding:0 18px;border-radius:22px}
.ajanlo-sor{font-size:.8rem;color:var(--on-ink-2)}
.buborek.letoltes_hiba .allapot-szoveg,.buborek.nincs_meg .allapot-szoveg,.buborek.megszakadt .allapot-szoveg{color:#FF8A8D}
.haladas{font-variant-numeric:tabular-nums}
.ora{position:relative;display:inline-block;width:12px;height:12px;border:1.5px solid currentColor;border-radius:50%}
.ora::before,.ora::after{content:"";position:absolute;left:50%;top:50%;width:1.5px;background:currentColor;transform-origin:50% 0}
.ora::before{height:4px;transform:translateX(-50%) rotate(180deg)}
.ora::after{height:3px;transform:translateX(-50%) rotate(-90deg)}

/* ---------- composer ---------- */
.kuldes{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom));background:var(--ink);border-top:1px solid var(--line)}
.mezo-sav{position:relative;flex:1;min-width:0}
.kuldes textarea{display:block;width:100%;resize:none;max-height:40vh;min-height:44px;background:var(--ink-2);border:1px solid var(--ink-4);border-radius:14px;padding:11px 14px;line-height:1.35}
/* magnifier expansion (brief 6523ad6f-gorgetes-nagyito, 2026-10-28): the composer row sizes to its
   tallest child and the message list is flex:1/min-height:0, so growing the textarea alone pushes
   the field up over the conversation while the icon/send buttons (align-items:flex-end) stay put. */
.kuldes textarea.nagyitva{height:65vh;max-height:65vh}
.nagyito-gomb{position:absolute;right:6px;bottom:6px;width:26px;height:26px;padding:0;border-radius:50%;display:grid;place-items:center;background:var(--ink-4);color:var(--on-ink-2);border:1px solid var(--line)}
.nagyito-gomb svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nagyito-gomb[aria-pressed="true"]{background:var(--signal);color:var(--ink);border-color:var(--signal)}
.ikon-gomb{flex:none;width:44px;padding:0;display:grid;place-items:center;background:var(--ink-3);color:var(--on-ink);border:1px solid var(--ink-4)}
.ikon-gomb svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.felvetel-sav{display:flex;align-items:center;gap:10px;padding:8px 14px 10px;background:var(--ink);color:var(--on-ink)}
.felvetel-sav[hidden]{display:none}
.felvetel-potty{width:12px;height:12px;border-radius:50%;background:#FF5A5F;animation:lukteto-p 1.2s ease-in-out infinite}
.felvetel-ido{flex:1;font-variant-numeric:tabular-nums}
.felvetel-sav button{min-height:44px;padding:0 14px}
#felvetel-megse{background:var(--ink-3);color:var(--on-ink);border:1px solid var(--ink-4)}
#mikrofon-gomb.felvesz,#hanguzenet-gomb.felvesz{background:#FF5A5F;border-color:#FF5A5F}
.atirva{opacity:.75;font-style:italic}
@keyframes lukteto-p{50%{opacity:.35}}
/* Narrow phones: three icon buttons plus Küldés left the text field ~110 px at 390 px and the placeholder
   wrapped and was clipped (b-lista screenshot 2026-10-26). There the field takes its own row above the buttons.
   480 px: assumption that anything wider fits field plus four controls in one row; measured at 390 and 1440 on 2026-10-26. */
@media (max-width:480px){
  .kuldes{flex-wrap:wrap}
  .mezo-sav{flex:1 1 100%;order:-1}
  #kuldes-gomb{margin-left:auto}
}
/* quick replies (card 8b1aff70, TG 64175): a full-width row above everything else in the composer,
   so the field and the buttons keep their own layout; the row only exists while buttons show. */
.kuldes.gombokkal{flex-wrap:wrap}
.gyors-gombok{flex:1 1 100%;order:-2;display:flex;flex-wrap:wrap;gap:8px}
.gyors-gombok[hidden]{display:none}
.gyors-gomb{min-height:44px;padding:0 16px;border-radius:22px;background:var(--ink-3);color:var(--on-ink);border:1px solid var(--signal);font-weight:600}
.gyors-gomb:disabled{opacity:.5}
.kuldes-hiba{margin:0;padding:0 14px 10px;background:var(--ink);color:#FF8A8D;font-size:.9rem}

@keyframes forog{to{transform:rotate(360deg)}}
@keyframes lukteto{0%,100%{box-shadow:0 0 0 0 rgba(46,207,146,.45)}50%{box-shadow:0 0 0 5px rgba(46,207,146,0)}}
@media (prefers-reduced-motion:reduce){.potty.be,.sav.ujra::before,.felvetel-potty,.ir-pottyok i{animation:none}.sav-belso{transition:none}}
@media (max-width:420px){.keret{grid-template-columns:1fr}.buborek{max-width:88%}}

/* ---------- activity view (card ef5876a3) ---------- */
.aktivitas-gomb{position:relative;width:44px;padding:0;background:transparent;display:flex;align-items:center;justify-content:center;flex:none}
.aktivitas-gomb svg{width:24px;height:24px;fill:none;stroke:var(--on-ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.aktivitas-gomb[aria-pressed="true"]{background:var(--ink-3)}
.aktivitas-db{position:absolute;top:3px;right:1px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--signal);color:var(--ink);font-size:.72rem;line-height:18px;font-weight:700;text-align:center}
.aktivitas{flex:1;min-height:0;overflow-y:auto;padding:16px 14px calc(16px + env(safe-area-inset-bottom))}
.aktivitas-fej{display:flex;align-items:center;justify-content:space-between;gap:12px}
.aktivitas-fej h2{font-family:var(--fd);font-size:1.3rem;margin:0}
.aktivitas-fej button{min-height:40px;padding:0 14px;font-size:.9rem}
.aktivitas-osszeg{margin:8px 0 14px;color:var(--on-ink-2);font-size:.92rem}
.aktivitas-uzenet{margin:8px 0 14px;background:var(--ink-3);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.aktivitas-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.aktiv-sor{background:var(--ink-3);border:1px solid var(--line);border-left:4px solid var(--ink-4);border-radius:12px;padding:12px 14px}
.aktiv-fej{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.aktiv-nev{font-family:var(--fd);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aktiv-cimke{flex:none;font-size:.78rem;font-weight:700;border-radius:999px;padding:3px 10px;background:var(--ink-4);color:var(--on-ink)}
.aktiv-sor p{margin:2px 0 0;font-size:.92rem;overflow-wrap:anywhere}
.aktiv-sor b{color:var(--on-ink-2);font-weight:600}
.aktiv-ures,.aktiv-tovabbi{color:var(--on-ink-2)}
/* a card opens that agent's room (card 2a5d27bd); no room: the note below the lines */
.aktiv-sor{cursor:pointer}
.aktiv-sor:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.aktiv-sor p.aktiv-nincs-szoba{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);color:var(--on-ink)}
.aktiv-dolgozik{border-left-color:var(--mint)} .aktiv-dolgozik .aktiv-cimke{background:var(--mint);color:var(--ink)}
.aktiv-var{border-left-color:var(--signal)} .aktiv-var .aktiv-cimke{background:var(--signal);color:var(--ink)}
.aktiv-nem_fut{border-left-color:var(--piros)} .aktiv-nem_fut .aktiv-cimke{background:var(--piros);color:#fff}
.aktivitas-frissitve{margin:14px 0 0;color:var(--on-ink-2);font-size:.82rem}
.aktivitas-alatt{display:none!important}
/* Conversation inbox (card 59584d1a) */
.postafiok-alatt{display:none!important}
.postafiok-gomb[hidden]{display:none}
.postafiok-szurok{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}
.postafiok-szuro{min-height:38px;padding:0 14px;border-radius:19px;background:var(--ink-3);color:var(--on-ink);font-family:var(--fb,inherit);font-weight:600;font-size:.9rem;border:1px solid var(--line)}
.postafiok-szuro[aria-pressed="true"]{background:var(--signal);color:var(--ink);border-color:var(--signal)}
.postafiok-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.postafiok-sor{display:flex;align-items:center;gap:12px;background:var(--ink-3);border:1px solid var(--line);border-left:4px solid var(--on-ink-2);border-radius:12px;padding:12px 12px 12px 14px}
.postafiok-sor.allapot-teendo{border-left-color:var(--signal)}
.postafiok-sor.allapot-folyamatban{border-left-color:#5AA9FF}
.postafiok-sor.allapot-atnezendo{border-left-color:#C08BFF}
.postafiok-sor.allapot-kesz{border-left-color:#3CCB8A;opacity:.85}
.postafiok-fo{flex:1;min-width:0}
.postafiok-cim{margin:0;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.postafiok-cim.nincs-cim{color:var(--on-ink-2);font-style:italic}
.postafiok-meta{margin:4px 0 0;color:var(--on-ink-2);font-size:.82rem}
.postafiok-valaszto{flex:none;min-height:40px;max-width:46%;border-radius:10px;background:var(--ink-4);color:var(--on-ink);border:1px solid var(--line);padding:0 8px;font-size:.88rem}
.postafiok-pill{flex:none;padding:6px 10px;border-radius:14px;background:var(--ink-4);color:var(--on-ink-2);font-size:.82rem}
.postafiok-ures{color:var(--on-ink-2);margin:18px 0}
.postafiok-regi{margin-top:16px}
.postafiok-regi summary{cursor:pointer;color:var(--on-ink-2);min-height:40px;display:flex;align-items:center}
.postafiok-regi .postafiok-lista{margin-top:8px}
/* Task panel (card 4a66a64f, plan store/pilota-feladatok-1113/terv.md section 8): groups, check box,
   add field, Drive link. Only the .feladatpanel class (set when the relay's switch is on) reaches these. */
.feladatpanel .postafiok-lista{gap:8px}
.feladat-csoport{display:block}
.feladat-csoport + .feladat-csoport{margin-top:14px}
.feladat-csoport-cim{margin:0 0 8px;font-family:var(--fb,inherit);font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--on-ink-2)}
.feladat-sor{min-height:44px}
.feladat-pipa{flex:none;width:22px;height:22px;margin:0;accent-color:#3CCB8A;cursor:pointer}
.feladat-sor.fuggo .postafiok-meta{color:var(--signal)}
.feladat-drive{display:inline-flex;align-items:center;min-height:40px;margin:2px 0 10px;color:var(--signal);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.feladat-drive[hidden]{display:none}
.feladat-uj{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));display:flex;gap:8px;margin:16px -14px calc(-16px - env(safe-area-inset-bottom));padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:var(--ink-2);border-top:1px solid var(--line)}
.feladat-uj[hidden]{display:none}
.feladat-uj input{flex:1;min-width:0;min-height:44px;background:var(--ink-3);border:1px solid var(--ink-4);border-radius:12px;padding:0 12px;font-size:1rem;color:var(--on-ink)}
.feladat-uj button{flex:none;min-height:44px;padding:0 14px}
/* 1280 px and up: docked next to the chat, which keeps its 820 px (64 rail + 820 + 360 = 1244). */
.csevego.feladat-dokk > .postafiok{position:absolute;left:100%;top:0;bottom:0;width:360px;background:var(--ink-2);border-right:1px solid var(--line)}
/* 601-1279 px: a sheet over the chat from the right, the chat stays mounted under it. */
.csevego.feladat-lap > .postafiok{position:absolute;right:0;top:0;bottom:0;width:min(400px,100%);z-index:24;background:var(--ink-2);border-left:1px solid var(--line);box-shadow:-12px 0 32px rgba(0,0,0,.35)}
/* the dashboard widens the column to 1200 px: no room beside it, the panel waits for the chat view */
body.ip-mod .csevego.feladat-dokk > .postafiok{display:none}
/* Tabs: tasks and the conversation's files (plan D9); the file grid is the gallery's, two columns fit 360. */
.feladat-fulek{display:flex;gap:8px;margin:0 0 12px}
.feladat-ful{flex:1;min-height:44px;padding:0 12px;border-radius:22px;background:var(--ink-3);color:var(--on-ink);font-family:var(--fb,inherit);font-weight:600;font-size:.92rem;border:1px solid var(--line)}
.feladat-ful[aria-selected="true"]{background:var(--signal);color:var(--ink);border-color:var(--signal)}
.feladat-fajlok{padding:0;grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}
.feladat-fajlok + .media-ures{margin:8px 0}
/* Below 601 px the header button moves into the menu (plan section 8, 390); the menu button gets a dot. */
.menu-feladatok .aktivitas-db{position:static;margin-left:auto}
/* the icon is a clone of the header button's, whose line style comes from .aktivitas-gomb svg */
.menu-feladatok svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* two classes: .menu-ikon-gomb{display:flex} further down must not win the cascade */
@media (min-width:601px){.menu-ikon-gomb.menu-feladatok{display:none}}
@media (max-width:600px){
  .postafiok-gomb.feladat-fejgomb{display:none}
  .menu-gomb.feladat-potty::after{content:"";position:absolute;top:8px;right:6px;width:9px;height:9px;border-radius:50%;background:var(--signal);border:2px solid var(--ink)}
}

/* ---------- menu maker line + settings icon button (card f25f8e6d) ---------- */
.menu-ikon-gomb{display:flex;align-items:center;justify-content:center;gap:10px}
.menu-ikon-gomb svg{width:20px;height:20px;flex:none}
.gyarto-sor{display:flex;align-items:center;gap:10px;margin-top:4px;padding-top:12px;border-top:1px solid var(--line);color:var(--on-ink-2);font-size:.9rem}
.gyarto-sor img{height:26px;width:auto}
/* version line, update bar, changelog (Zoltán TG 64286, Lead 82494) */
.verzio-sor{margin:0;font-size:.85rem;color:var(--on-ink-2)}
.link-gomb{background:transparent;border:0;padding:0;min-height:0;color:var(--signal);font:inherit;text-decoration:underline;cursor:pointer}
.ujdonsag-potty{width:9px;height:9px;border-radius:50%;background:var(--signal);flex:none}
.menu-gomb{position:relative}
.menu-gomb.uj::after{content:"";position:absolute;top:8px;right:6px;width:9px;height:9px;border-radius:50%;background:var(--signal);border:2px solid var(--ink)}
.frissult p{margin:0}
.valtozasok-lista{padding:16px 0 24px;display:flex;flex-direction:column;gap:18px}
.valtozasok-lista h3{margin:0 0 2px;font-family:var(--fd);font-size:1.05rem}
.valtozasok-lista .datum{margin:0 0 8px;font-size:.85rem;color:var(--on-ink-2)}
.valtozasok-lista .gep-ujdonsag{border-color:var(--signal)}
.valtozasok-lista ul{margin:0;padding-left:1.2em;display:flex;flex-direction:column;gap:4px}

/* ---------- settings + about (card f25f8e6d) ---------- */
.beallitasok,.nevjegy{flex:1;min-height:0;overflow-y:auto}
.vissza-fej{display:flex;align-items:center;gap:6px;padding:12px 14px;border-bottom:1px solid var(--line)}
.vissza-fej button{background:transparent;color:var(--on-ink);padding:0 10px 0 4px;min-height:40px;display:flex;align-items:center;gap:6px;border:0}
.vissza-fej button svg{width:22px;height:22px}
.vissza-fej h2{font-family:var(--fd);font-size:1.12rem;margin:0}
.tartalom{padding:20px 16px 28px;display:flex;flex-direction:column;gap:18px}
.app-blokk{display:flex;align-items:center;gap:14px;padding:20px 16px 18px}
.app-blokk img{width:64px;height:64px}
.app-blokk b{display:block;font-family:var(--fd);font-size:1.4rem;line-height:1.15}
.app-blokk span{color:var(--on-ink-2);font-size:.92rem}
.kartya{margin:0 16px;background:var(--ink-3);border:1px solid var(--line);border-radius:16px;padding:18px 16px}
.kartya + .kartya{margin-top:18px}
.kartya h3{font-family:var(--fd);font-size:.92rem;letter-spacing:.01em;color:var(--signal);margin:0 0 12px;font-weight:700}
.gyarto img{width:168px;height:auto;display:block}
.gyarto p{margin:12px 0 0;color:var(--on-ink-2);font-size:.92rem}
.szoftver dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:.92rem}
.szoftver dt{color:var(--on-ink-2)}
.szoftver dd{margin:0}
.tarhely address{font-style:normal;font-size:.92rem;line-height:1.5}
.tarhely address b{display:block;font-weight:600;color:var(--on-ink)}
.tarhely address span{display:block;color:var(--on-ink-2)}
.tarhely address a{display:inline-flex;align-items:center;min-height:44px;margin-top:4px}
.lista{margin:16px;padding:0;list-style:none;background:var(--ink-3);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.lista button{width:100%;min-height:56px;border-radius:0;background:transparent;color:var(--on-ink);font-family:var(--fb);font-weight:500;display:flex;align-items:center;gap:12px;padding:0 16px;text-align:left}
.lista button svg{width:20px;height:20px;flex:none}
.lista button .ikon{color:var(--signal)}
.lista button .nyil{color:var(--on-ink-2)}
.lista li+li{border-top:1px solid var(--line)}
.lista a{min-height:56px;color:var(--on-ink);font-family:var(--fb);font-weight:500;display:flex;align-items:center;gap:12px;padding:0 16px;text-decoration:none}
.lista a svg{width:20px;height:20px;flex:none}
.lista a .ikon{color:var(--signal)}
.lista a .nyil{color:var(--on-ink-2)}
.lista a:focus-visible{outline:3px solid var(--signal);outline-offset:-3px}
/* Section headings of the settings list (Kai's beallitasok-390 design, card 7cd2aeca). */
.szakasz-cim{margin:22px 16px 0;padding:0 4px;font-family:var(--fb);font-weight:500;font-size:.95rem;color:var(--on-ink-2)}
.szakasz-cim + .lista{margin-top:10px}
/* Model provider switch (card 7cd2aeca). */
.modell{margin-top:16px;display:flex;flex-direction:column;gap:14px}
.modell p{margin:0}
.modell-bevezeto,.modell-megjegyzes{color:var(--on-ink-2);font-size:.92rem}
.modell-allapot{font-weight:500}
.modell-allapot:empty{display:none}
.modell-valaszto{margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:8px}
.modell-valaszto legend{padding:0;margin-bottom:8px;font-weight:500}
.modell-valaszto label{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--ink-2);cursor:pointer}
.modell-valaszto label:has(input:checked){border-color:var(--signal)}
.modell-valaszto input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--signal)}
.modell-valaszto span{display:flex;flex-direction:column}
.modell-valaszto small{color:var(--on-ink-2);font-size:.85rem}
.modell-kulcs{display:flex;flex-direction:column;gap:6px}
.modell-kulcs label{font-weight:500}
.modell-kulcs input{background:var(--ink-2);border:1px solid var(--ink-4);border-radius:12px;padding:12px 14px;font-size:1.05rem;color:var(--on-ink);min-width:0}
.modell-kulcs small{color:var(--on-ink-2);font-size:.85rem}
.modell .telemetria-hiba{color:#FF8A8D}
.modell button:disabled{opacity:.6;cursor:progress}
.kapcsolat{margin-bottom:max(18px,env(safe-area-inset-bottom))}
.kapcsolat a{display:flex;align-items:center;gap:12px;min-height:48px;text-decoration:none;color:var(--on-ink);border-bottom:1px solid var(--line)}
.kapcsolat a:last-child{border-bottom:0}
.kapcsolat a svg{width:20px;height:20px;flex:none;color:var(--signal)}
.kapcsolat a span{flex:1}
.kapcsolat a small{color:var(--on-ink-2);font-size:.92rem}

/* ---------- telemetry opt-out switch + "did not help" bubble menu (card 945dc2a9 step 4) ---------- */
.telemetria{margin:16px 16px 0}
.kapcsolo-sor{display:flex;align-items:center;justify-content:space-between;gap:14px;font-weight:500}
.telemetria p{margin:10px 0 0;color:var(--on-ink-2);font-size:15px}
.telemetria .telemetria-hiba{color:#FF8A8D}
/* Card 7cd2aeca (Kai, store/kai-pilota-bekuldes-1031/fejleszto-minta.md, measured 2026-10-31): the
   switch button is a 44 px touch target (it was 52x32), the 52x32 track is drawn by ::before, and
   the description is 15 px (it was .92rem = 14.72 px). Same look, both minimums met. */
.kapcsolo{flex:none;position:relative;width:60px;min-height:44px;height:44px;padding:0;border-radius:22px;background:transparent;border:0}
.kapcsolo::before{content:"";position:absolute;left:4px;top:6px;width:52px;height:32px;border-radius:16px;background:var(--ink-4);border:1px solid rgba(255,255,255,.14);box-sizing:border-box;transition:background-color .18s}
.kapcsolo span{position:absolute;top:10px;left:8px;width:24px;height:24px;border-radius:50%;background:var(--on-ink-2);transition:transform .18s,background-color .18s}
.kapcsolo[aria-checked="true"]::before{background:var(--mint);border-color:var(--mint)}
.kapcsolo[aria-checked="true"] span{transform:translateX(20px);background:#fff}
.kapcsolo[aria-busy="true"]{opacity:.7;cursor:progress}
/* A long press on a reply opens this; the callout is off so iOS does not cover it with its own sheet. */
.buborek.be{-webkit-touch-callout:none}
.buborek.be.nyomva{outline:2px solid var(--signal);outline-offset:2px}
.buborek-menu{position:fixed;z-index:20;min-width:180px;padding:6px;background:var(--ink-3);border:1px solid var(--ink-4);border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.45)}
.buborek-menu button{width:100%;background:transparent;color:var(--on-ink);font-family:var(--fb);font-weight:500;text-align:left;border-radius:8px}
.buborek-menu button:disabled{opacity:.5}

/* ---------- search, media gallery, activity avatar (card 8b1aff70) ---------- */
.kereses-sav{display:flex;align-items:center;gap:6px;padding:8px 10px;background:var(--ink-2);border-bottom:1px solid var(--line)}
.kereses-sav input{flex:1;min-width:0;min-height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--ink-3);color:var(--on-ink);font:inherit;font-size:1rem}
.kereses-db{flex:none;font-size:.82rem;color:var(--on-ink-2);white-space:nowrap}
.kereses-lep{flex:none;width:40px;min-height:40px;padding:0;background:transparent;display:flex;align-items:center;justify-content:center;border-radius:10px}
.kereses-lep svg{width:20px;height:20px;fill:none;stroke:var(--on-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kereses-lep:disabled{opacity:.35;cursor:default}
mark.talalat{background:rgba(255,176,32,.35);color:inherit;border-radius:3px;padding:0 1px}
mark.talalat.aktiv{background:var(--signal);color:var(--ink)}
.media-szuro{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px 4px}
.media-szuro button{min-height:36px;padding:0 12px;font-size:.85rem;border-radius:999px}
.media-szuro button[aria-pressed="true"]{background:var(--signal);color:var(--ink)}
.media-lista{list-style:none;margin:0;padding:12px 14px calc(20px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}
.media-elem button{width:100%;height:100%;min-height:104px;padding:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;background:var(--ink-3);color:var(--on-ink);border:1px solid var(--line);border-radius:12px;overflow:hidden;font-family:var(--fb);font-weight:400;text-align:left}
.media-elem img{display:block;width:100%;aspect-ratio:1;object-fit:cover;flex:1}
.media-ikon{flex:1;display:flex;align-items:center;justify-content:center;min-height:52px}
.media-ikon::before{content:'';width:28px;height:28px;background:var(--on-ink-2);-webkit-mask:var(--ikon) center/contain no-repeat;mask:var(--ikon) center/contain no-repeat}
.media-fajl .media-ikon{--ikon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7z'/%3E%3Cpath d='M14 3v4h4'/%3E%3C/svg%3E")}
.media-hang .media-ikon{--ikon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E")}
.media-kep .media-ikon{--ikon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M21 16l-5-5-9 9'/%3E%3C/svg%3E")}
.media-jatszhato .media-ikon::before{width:22px;height:22px;background:var(--signal);-webkit-mask:none;mask:none;clip-path:polygon(18% 0,100% 50%,18% 100%)}
.media-jatszhato .szol .media-ikon::before{clip-path:polygon(10% 0,40% 0,40% 100%,10% 100%,10% 0,60% 0,90% 0,90% 100%,60% 100%,60% 0)}
.media-meta .hang-ido{font-size:inherit}
.media-nev{padding:0 8px;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.media-meta{padding:2px 8px 6px;font-size:.72rem;color:var(--on-ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.media-ures{margin:8px 14px;color:var(--on-ink-2)}
.kep-nezo{position:fixed;inset:0;z-index:60;background:rgba(3,6,12,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:max(16px,env(safe-area-inset-top)) 12px max(16px,env(safe-area-inset-bottom))}
.kep-nezo img{width:100%;min-height:0;flex:0 1 auto;max-height:calc(100% - 70px);object-fit:contain}
.kep-nezo-gombok{display:flex;gap:10px}
.buborek.kiemelt,.rendszer.kiemelt{outline:3px solid var(--signal);outline-offset:2px;transition:outline-color 1.4s ease}
.aktiv-azon{display:flex;align-items:center;gap:10px;min-width:0}
.aktiv-avatar{flex:none;width:28px;height:28px;border-radius:50%;object-fit:cover;background:var(--ink-4)}
.aktiv-avatar.monogram{display:flex;align-items:center;justify-content:center;font-family:var(--fd);font-size:.74rem;font-weight:700;color:var(--ink)}
.monogram-0{background:#FFB020}.monogram-1{background:#2ECF92}.monogram-2{background:#7FB2FF}.monogram-3{background:#F59AC0}.monogram-4{background:#C9B4FF}
@media (prefers-reduced-motion:reduce){.buborek.kiemelt,.rendszer.kiemelt{transition:none}}
/* ---------- rooms (card 2424bd59, spec 5.1-5.5); every rule keys on an element that is
   hidden or a class that is set only when /api/en says szobak:true ---------- */
/* margin:0 overrides .csevego's centering (margin:0 auto) only while the rail is on: the rail is
   positioned absolute/left:0 relative to .csevego, so a centered .csevego left it ~280 px off the
   true viewport edge at 1440 px (measured store/robi-pilota-szobak-meres-1101, card de02d6d4). */
.csevego.szobak-be{position:relative;max-width:884px;padding-left:64px;margin:0}
.szobak-sav{position:absolute;left:0;top:0;bottom:0;width:64px;overflow-y:auto;background:var(--ink);border-right:1px solid var(--line);padding:12px 0 calc(12px + env(safe-area-inset-bottom))}
.szoba-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.szoba-lista li{flex:none}
.szoba-lista li[hidden]{display:none}
/* Card 180e0d90 (Zoltán TG 77297): a plain divider between agents, the name under every bubble. */
.szoba-csoport{width:40px;height:1px;margin:2px 0;background:var(--line)}
.szoba-csoport:first-child{background:transparent;margin:0}
.szoba-elem{width:62px;display:flex;flex-direction:column;align-items:center}
.szoba-felirat{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-width:62px;margin-top:4px;padding:0 1px;font-size:.66rem;line-height:1.2;text-align:center;color:var(--on-ink-2);overflow-wrap:anywhere;cursor:pointer;user-select:none}
.szoba-elem.aktiv .szoba-felirat{color:var(--on-ink);font-weight:700}
/* Lead 119360: the tell-apart line under twin names, fainter and smaller than the name. */
.szoba-felirat-2{max-width:62px;margin-top:1px;padding:0 1px;font-size:.625rem;line-height:1.15;text-align:center;color:var(--on-ink-2);opacity:.78;overflow-wrap:anywhere;cursor:pointer;user-select:none}
.szoba-tobbi{background:var(--ink-3);color:var(--on-ink-2);border:1px solid var(--ink-4)}
.szoba-tobbi svg{width:20px;height:20px}
.szoba-gep-lista{display:flex;flex-direction:column;gap:8px}
.szoba-gep-opcio{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:8px 12px}
.szoba-gep-opcio .szoba-korong{flex:none;width:40px;height:40px}
.szoba-gep-szoveg{display:flex;flex-direction:column;gap:2px;min-width:0}
.szoba-gep-nev{font-weight:700;overflow-wrap:anywhere}
.szoba-buborek{position:relative;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:transparent;display:grid;place-items:center;box-shadow:0 0 0 2px transparent;transition:box-shadow .15s}
.szoba-buborek.aktiv{box-shadow:0 0 0 2px var(--ink),0 0 0 4px var(--signal)}
.szoba-uj{background:var(--ink-3);color:var(--signal);border:1px dashed var(--ink-4);font-size:1.4rem;font-weight:700}
.szoba-korong{--szoba-szin:var(--ink-4);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--szoba-szin);color:var(--ink);font-family:var(--fd);font-weight:800;font-size:.95rem;letter-spacing:.02em}
.szoba-korong img{width:100%;height:100%;object-fit:cover;display:block}
.szoba-db{position:absolute;top:-4px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--piros);color:#fff;font-size:.72rem;line-height:20px;font-weight:700;text-align:center;border:2px solid var(--ink)}
/* Phase 1a mentions (spec 4.5): rail badge, Mentions sheet, bubble highlight, composer popover */
.szoba-emlites{position:absolute;bottom:-4px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--signal);color:var(--ink);font-size:.72rem;line-height:20px;font-weight:700;text-align:center;border:2px solid var(--ink)}
.szoba-emlitesek-gomb{background:var(--ink-3);color:var(--signal);border:1px solid var(--ink-4);font-family:var(--fd);font-size:1.2rem;font-weight:800}
.szoba-emlitesek-gomb .szoba-emlites{top:-4px;bottom:auto}
.emlites-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.emlites-sor{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:10px 12px;border-radius:12px;background:var(--ink-3);color:var(--on-ink);text-align:left;font-family:var(--fb);font-weight:400}
.emlites-sor-fej{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--on-ink-2)}
.emlites-sor-szoba{font-weight:700;color:var(--on-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.emlites-sor-szoveg{font-size:.92rem;line-height:1.35;overflow-wrap:anywhere}
/* Phase 2 search (spec 6.4): rail bubble, search form, hit rows, the tapped hit's mark */
.szoba-kereses-gomb{background:var(--ink-3);color:var(--signal);border:1px solid var(--ink-4)}
.szoba-kereses-gomb svg{width:20px;height:20px}
.kereses-urlap{display:flex;gap:8px;align-items:center}
.kereses-lap-mezo{flex:1;min-width:0;min-height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--ink-3);color:var(--on-ink);font:inherit;font-size:1rem}
.kereses-urlap button{flex:none;min-height:44px}
.kereses-sor-kuldo{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kereses-sor .emlites-sor-fej .ido{margin-left:auto;flex:none}
.uzenetek li.talalat-cel{box-shadow:0 0 0 2px var(--signal);transition:box-shadow .3s}
@media (prefers-reduced-motion:reduce){.uzenetek li.talalat-cel{transition:none}}
.buborek .emlites{color:var(--signal);font-weight:700}
.buborek.ki .emlites{color:inherit;text-decoration:underline}
.buborek.emlitett{box-shadow:inset 3px 0 0 var(--signal)}
.emlites-jel{color:var(--signal);font-weight:700}
.kuldes.emlites-hely{position:relative}
#emlites-javaslat{position:absolute;left:12px;right:12px;bottom:100%;margin:0 0 6px;padding:4px;list-style:none;max-height:40vh;overflow-y:auto;background:var(--ink-2);border:1px solid var(--ink-4);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:5}
#emlites-javaslat li{display:flex;align-items:baseline;gap:8px;min-height:44px;padding:10px 12px;border-radius:9px;cursor:pointer}
#emlites-javaslat li[aria-selected="true"]{background:var(--ink-4)}
.emlites-kezelo{font-weight:700;color:var(--signal)}
.emlites-nev{color:var(--on-ink-2);font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.szoba-fej{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:0;background:transparent;color:var(--on-ink);text-align:left;font-family:var(--fb);font-weight:500}
.szoba-fej-korong{width:40px;height:40px;flex:none}
.szoba-fej-szoveg{flex:1;min-width:0;display:flex;flex-direction:column}
.szoba-fej-nev{font-family:var(--fd);font-weight:700;font-size:1.12rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.szoba-fej-al{font-size:.85rem;color:var(--on-ink-2)}
.szoba-fej-agens{flex:none;width:24px;height:24px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1.5px rgba(255,255,255,.14)}
.fejlec.szoba-mod .fej-szoveg{display:none}
.szobak-be #agens-nev{cursor:pointer}
.gepel-sor{margin:0;padding:6px 16px;background:var(--ink-2);color:var(--on-ink-2);font-size:.85rem;font-style:italic;border-bottom:1px solid var(--line)}
.kuldo{display:flex;align-items:center;gap:6px;margin-bottom:2px;font-size:.78rem;font-weight:700;color:var(--signal);white-space:normal;min-width:0}
.szerep-chip{display:inline-block;flex:none;white-space:nowrap;padding:1px 8px;border-radius:999px;background:var(--ink-4);color:var(--on-ink);font-size:.72rem;font-weight:700;font-style:normal}
.kuldo-nev{min-width:0;overflow-wrap:anywhere}
.szerep-chip.owner{background:var(--signal);color:var(--ink)}
.szerep-chip.guest{background:var(--signal-soft);color:var(--signal-text)}
/* agents-only room chip and the agent-turn brake banner (card 921bec2c) */
.szerep-chip.szoba-agens-chip{background:#2B3F66;color:var(--on-ink)}
.szoba-fek-sav{margin:0;padding:8px 16px;background:var(--signal-soft);color:var(--signal-text);font-size:.9rem;font-weight:600;border-bottom:1px solid var(--signal)}
.szoba-tipus-magyarazat{margin:4px 0 0}
/* private room (card be3c3384 point 2): chip in the header, the person picker of the new-room sheet */
.szerep-chip.szoba-privat-chip{background:#4A2B66;color:var(--on-ink)}
.szoba-privat-tars{margin:8px 0 0}
.szoba-privat-magyarazat{margin:0 0 12px}
.szoba-radio-opcio[hidden]{display:none}
.uzenetek li.rendszer.jovahagyas{border-color:var(--signal);background:rgba(255,176,32,.08);color:var(--on-ink)}
.jovahagyas-allapot{font-weight:700}
.jovahagyas-allapot.szoba_jovahagyva{color:var(--mint)}
.jovahagyas-allapot.szoba_elutasitva,.jovahagyas-allapot.szoba_lejart{color:#FF8A8D}
.szoba-gyors-sor{display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px 0;background:var(--ink);border-top:1px solid var(--line)}
.szoba-gyors-sor:not([hidden]) + .kuldes{border-top:0}
.szoba-gyors-gomb{min-height:40px;padding:0 16px;border-radius:999px;font-size:.92rem}
.szoba-lap{position:fixed;inset:0;z-index:30;background:rgba(7,12,24,.72);display:flex;align-items:flex-end;justify-content:center}
.szoba-lap-tartalom{width:100%;max-width:560px;max-height:88dvh;overflow-y:auto;background:var(--ink-2);border:1px solid var(--ink-4);border-bottom:0;border-radius:18px 18px 0 0;padding:16px 16px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}
.szoba-lap-fej{display:flex;align-items:center;gap:12px}
.szoba-lap-fej h2{flex:1;min-width:0;margin:0;font-family:var(--fd);font-size:1.2rem;overflow-wrap:anywhere}
.szoba-lap-bezar,.kis-gomb{min-height:36px;padding:0 12px;font-size:.85rem;border-radius:10px}
.szoba-szakasz{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.szoba-szakasz h3{margin:0;font-family:var(--fd);font-size:.92rem;color:var(--signal)}
/* Files and Threads side by side on the room sheet (card be3c3384 point 4); they wrap on a narrow phone. */
.szoba-gombok{flex-direction:row;flex-wrap:wrap}
.szoba-gombok > button{flex:1 1 140px}
.szoba-szal-cim{overflow-wrap:anywhere}
.szoba-tagok,.szoba-meghivok{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.szoba-tagok li,.szoba-meghivok li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:var(--ink-3)}
.tag-nev,.meghivo-cel{flex:1;min-width:0;overflow-wrap:anywhere}
.szoba-halvany{margin:0;color:var(--on-ink-2);font-size:.88rem}
.szoba-cimke{margin:4px 0 0;font-weight:600;font-size:.92rem}
.szoba-mezo{background:var(--ink-3);border:1px solid var(--ink-4);border-radius:12px;padding:11px 14px;font-size:1rem;width:100%}
.szoba-urlap{display:flex;flex-direction:column;gap:8px}
.szoba-radio{display:flex;flex-wrap:wrap;gap:8px}
.szoba-radio-opcio{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:12px;background:var(--ink-3);border:1px solid var(--ink-4);cursor:pointer}
.szoba-radio-opcio:has(input:checked){border-color:var(--signal)}
.szoba-szin-sor{display:flex;align-items:center;gap:12px}
.szoba-elonezet{flex:none;width:56px;height:56px;font-size:1.1rem}
.szoba-szinek{display:grid;grid-template-columns:repeat(6,32px);gap:8px}
.szoba-szin{--szoba-szin:var(--ink-4);width:32px;height:32px;min-height:32px;padding:0;border-radius:50%;background:var(--szoba-szin)}
.szoba-szin[aria-pressed="true"]{box-shadow:0 0 0 2px var(--ink-2),0 0 0 4px var(--on-ink)}
.szoba-link-sor{display:flex;align-items:center;gap:8px}
.szoba-link{flex:1;min-width:0;padding:10px 12px;border-radius:10px;background:var(--ink);border:1px solid var(--ink-4);font-size:.82rem;overflow-wrap:anywhere;user-select:all}
.szoba-hiba{margin:0;color:#FF8A8D;font-size:.9rem}
/* colleague tool grants (card a2370f82): the leak warning stands out, a folder never overflows the sheet */
.szoba-figyelmeztetes{margin:0;padding:10px 12px;border-radius:12px;border:1px solid #FF8A8D;background:var(--ink-3);font-size:.9rem}
/* card 4a66a64f: the grants sit behind an "Advanced" disclosure; a 44 px summary row, the body keeps the section's gap */
.szoba-halado summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;font-family:var(--fd);font-weight:700;color:var(--on-ink-2);list-style:none}
.szoba-halado summary::-webkit-details-marker{display:none}
.szoba-halado summary::after{content:"";width:8px;height:8px;margin-bottom:3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.szoba-halado[open] summary::after{transform:rotate(-135deg);margin-bottom:-3px}
.szoba-halado summary:focus-visible{outline:2px solid var(--signal);outline-offset:2px;border-radius:8px}
.szoba-halado-tartalom{display:flex;flex-direction:column;gap:8px}
.szoba-nem-kotelezo{font-weight:400;color:var(--on-ink-2)}
.engedely-eszkoz{font-weight:600}
.engedely-ut{flex:1 1 100%;min-width:0;padding:6px 10px;border-radius:8px;background:var(--ink);border:1px solid var(--ink-4);font-size:.82rem;overflow-wrap:anywhere}
/* The mobile horizontal-strip override (480 px, 2026-10-30) is removed: Zoltán wants the
   Discord-style vertical rail on every width (TG 65934, card de02d6d4). */

/* ---------- agent dashboard (card fa454fee): Kai's mockup store/kai-pilota-iranyitopult-1031, lifted with an ip- prefix
   (the app already has .kartya, .avatar-keret, .keret-szoveg). The header switch sits in the existing header. ---------- */
.ip-szimbolumok{position:absolute;width:0;height:0;overflow:hidden}
.fej-logo,.fej-marka{display:none}
.nezet-valto{flex:none;display:grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:14px;background:var(--ink-3);border:1px solid var(--ink-4)}
.nezet-valto button{min-height:44px;min-width:44px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;background:transparent;color:var(--on-ink-2);font-size:.95rem}
.nezet-valto button[aria-current="page"]{background:var(--signal);color:var(--ink)}
.nezet-valto svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Chat mode on a phone: the header already holds the name, the status, the agents and the menu
   buttons, so the switch shrinks to the one tab you can go to, an icon button like its neighbours
   (measured 1031: the full two-tab switch pushed the status line to three rows at 390 px). The word
   stays for screen readers. In the dashboard the full labelled switch shows. */
@media (max-width:600px){
  body:not(.ip-mod) .nezet-valto{display:flex;padding:0;background:transparent;border:0}
  body:not(.ip-mod) #nezet-csevego{display:none}
  body:not(.ip-mod) #nezet-iranyitopult{width:44px;padding:0;color:var(--on-ink)}
  body:not(.ip-mod) #nezet-iranyitopult svg{width:24px;height:24px;stroke-width:1.7}
  body:not(.ip-mod) .nv-felirat{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  /* The room rail (card de02d6d4, TG 65934) reserves a fixed 64px on the left at every width, which
     at 390/360 px left only 48/18 px for the agent/room name -- the four icon buttons plus the
     default 12px gap and 14px side padding ate the rest, truncating "Pilóta" to "Pil…" (measured
     store/robi-pilota-szobak-meres-1101). Tighter gap and side padding on this breakpoint buys the
     name back its width without adding a row (a second row would shrink the conversation share
     below the 70% floor from card 7d0b688b's measurement, 85793). */
  .fejlec{gap:6px;padding-left:6px;padding-right:6px}
  /* Quota button in room mode (Codex P2 on bc8e5659e9): only this narrow width is short on room-name
     width, so only here it steps aside; at >=601px it stays visible like the default view. */
  .fejlec.szoba-mod #keret-gomb{display:none}
  /* Room mode still truncated the room's own name after the gap/padding trim above (measured
     store/robi-pilota-szobak-meres-1101, card de02d6d4, 360 px): the dashboard switch is one tap
     from the room list anyway, so it steps aside here too, leaving its width to the room name.
     Chat view only: the dashboard keeps .szoba-mod (nezetValt) and its switch is the way back
     (Codex P2 on 933648f4c3, a resize across 600px hid it). */
  body:not(.ip-mod) .fejlec.szoba-mod .nezet-valto{display:none}
}
/* Dashboard mode: logo, switch, menu (Kai). The chat header parts stay mounted, only hidden. */
body.ip-mod .fej-logo{display:block;flex:none;width:34px;height:34px}
body.ip-mod .fejlec > .avatar-keret,body.ip-mod .fej-szoveg,body.ip-mod #szoba-fej,body.ip-mod #keret-gomb,body.ip-mod #aktivitas-gomb,body.ip-mod #agens-valaszto{display:none!important}
body.ip-mod .nezet-valto{flex:1;min-width:0}
body.ip-mod .menu-gomb{flex:none;margin-left:auto}
body.ip-mod .csevego{max-width:1200px}
.ip-alatt{display:none!important}
.ip{flex:1;min-height:0;overflow-y:auto}
.ip-tartalom{max-width:1200px;margin:0 auto;padding:14px 14px calc(32px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}
.ip-osszesito{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ip-csempe{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:10px 4px 9px;border-radius:14px;background:var(--ink-2);border:1px solid var(--line);text-align:center}
.ip-ossz-fej{display:flex;align-items:center;gap:6px}
.ip-ossz-fej .ip-jel{width:18px;height:18px}
.ip-szam{font-family:var(--fd);font-weight:800;font-size:1.6rem;line-height:1;font-variant-numeric:tabular-nums}
.ip-ossz-cimke{font-size:.94rem;line-height:1.2;color:var(--on-ink-2)}
.ip-csempe.ip-dolgozik .ip-szam{color:var(--mint)}
.ip-csempe.ip-var .ip-szam{color:var(--signal)}
.ip-csempe.ip-all .ip-szam{color:#FF8A8D}
.ip-csempe.ip-nem-elerheto .ip-szam,.ip-csempe.ip-nulla .ip-szam{color:var(--on-ink-2)}
.ip-csempe.ip-nulla .ip-jel{filter:grayscale(1);opacity:.5}
.ip-lista-fej{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:4px}
.ip-lista-fej h2{margin:0;font-family:var(--fd);font-size:1.2rem;letter-spacing:-.01em}
.ip-zarojel{color:var(--on-ink-2);font-weight:700}
.ip-frissitve{font-size:.94rem;color:var(--on-ink-2);display:flex;align-items:center;gap:6px;white-space:nowrap}
.ip-frissitve:not(:empty)::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--mint)}
.ip-frissitve.ip-regi:not(:empty)::before{background:#8E9AB0}
.ip-uzenet{margin:0;background:var(--ink-3);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.ip-kartyak{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:10px}
.ip-kartyak > li{min-width:0}
.ip-kartya{position:relative;display:flex;flex-direction:column;gap:10px;height:100%;padding:13px 14px 14px;border-radius:16px;background:var(--ink-2);border:1px solid var(--line);color:inherit;text-decoration:none;transition:border-color .15s,background .15s}
.ip-kartya:hover{background:var(--ink-3);border-color:var(--ink-4)}
.ip-kartya:focus-visible{outline:3px solid var(--signal);outline-offset:2px}
.ip-kartya.ip-var{border-color:rgba(255,176,32,.55);box-shadow:inset 3px 0 0 var(--signal)}
.ip-kartya.ip-all{border-color:rgba(229,72,77,.5);box-shadow:inset 3px 0 0 var(--piros)}
.ip-kartya-fej{display:flex;align-items:flex-start;gap:12px}
.ip-avatar-keret{position:relative;flex:none;width:46px;height:46px}
.ip-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;display:block;box-shadow:0 0 0 1.5px rgba(255,255,255,.14)}
/* Only the picture gets the placeholder fill; a monogram keeps its .monogram-N colour. */
img.ip-avatar{background:var(--ink-3)}
.ip-avatar.monogram{display:flex;align-items:center;justify-content:center;font-family:var(--fd);font-size:1rem;font-weight:700;color:var(--ink)}
.ip-nem-elerheto .ip-avatar{filter:grayscale(1);opacity:.55}
.ip-avatar-keret .ip-jel{position:absolute;right:-4px;bottom:-4px;width:20px;height:20px;border-radius:50%;background:var(--ink-2);box-shadow:0 0 0 2px var(--ink-2)}
.ip-kartya-szoveg{flex:1;min-width:0}
.ip-kartya-sor{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px}
.ip-kartya-nev{margin:0;display:flex;align-items:center;gap:8px;min-width:0;font-family:var(--fd);font-weight:800;font-size:1.06rem;line-height:1.25}
.ip-kartya-nev span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ip-fo-chip{flex:none;padding:1px 8px;border-radius:999px;background:var(--ink-4);color:var(--on-ink);font-family:var(--fb);font-weight:700;font-size:.94rem;line-height:1.4}
.ip-kartya-cel{margin:3px 0 0;font-size:.94rem;line-height:1.35;color:var(--on-ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ip-allapot-cimke{flex:none;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 7px;border-radius:999px;font-family:var(--fd);font-weight:700;font-size:.94rem;white-space:nowrap}
.ip-allapot-cimke .ip-jel{width:16px;height:16px}
.ip-dolgozik .ip-allapot-cimke{background:rgba(46,207,146,.12);color:var(--mint)}
.ip-szabad .ip-allapot-cimke{background:rgba(46,207,146,.07);color:var(--on-ink)}
.ip-var .ip-allapot-cimke{background:rgba(255,176,32,.13);color:var(--signal)}
.ip-all .ip-allapot-cimke{background:rgba(229,72,77,.16);color:#FF8A8D}
.ip-nem-elerheto .ip-allapot-cimke{background:rgba(174,185,204,.10);color:var(--on-ink-2)}
.ip-feladat-sor{display:flex;align-items:center;gap:10px;min-height:42px;margin-top:auto;padding:8px 12px;border-radius:12px;background:var(--ink)}
.ip-feladat-cim{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.94rem}
.ip-feladat-cim b{font-weight:700;color:var(--on-ink-2);margin-right:4px}
.ip-ures-feladat,.ip-nem-elerheto .ip-feladat-cim{color:var(--on-ink-2)}
.ip-ido{flex:none;font-size:.94rem;color:var(--on-ink-2);font-variant-numeric:tabular-nums}
.ip-nyil{flex:none;width:18px;height:18px;fill:none;stroke:var(--on-ink-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ip-ures{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:26px 20px 24px;border-radius:16px;background:var(--ink-2);border:1px solid var(--line)}
.ip-ures-rajz{width:200px;height:118px}
.ip-ures h3{margin:0;font-family:var(--fd);font-size:1.15rem;line-height:1.3;max-width:300px}
.ip-ures p{margin:0;max-width:340px;color:var(--on-ink-2);font-size:.97rem}
.ip-ures button{display:inline-flex;align-items:center;gap:8px;min-height:48px;margin-top:4px;font-size:1rem}
.ip-ures button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ip-jel{display:block;flex:none}
.ip-jel .gyuru-forog,.ip-szimbolumok .gyuru-forog{transform-origin:12px 12px;animation:ip-forog 1.6s linear infinite}
@keyframes ip-forog{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ip-szimbolumok .gyuru-forog{animation:none}}
@media (min-width:768px){
  .ip-tartalom{padding:22px 24px 40px;gap:18px}
  .ip-kartyak{grid-template-columns:repeat(2,1fr);gap:14px}
}
@media (min-width:1024px){
  body.ip-mod .fejlec{position:relative;padding:12px 24px;gap:16px}
  body.ip-mod .fej-marka{display:block;flex:1;font-family:var(--fd);font-weight:800;font-size:1.1rem;letter-spacing:-.01em}
  body.ip-mod .nezet-valto{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);flex:none;width:360px}
  .ip-tartalom{padding:28px 32px 48px}
  .ip-csempe{flex-direction:row;justify-content:flex-start;gap:14px;padding:16px 18px;text-align:left}
  .ip-szam{font-size:2rem}
  .ip-ossz-fej .ip-jel{width:26px;height:26px}
  .ip-ossz-cimke{font-size:1rem}
  .ip-lista-fej h2{font-size:1.45rem}
  .ip-kartyak{grid-template-columns:repeat(3,1fr);gap:16px}
  .ip-kartya{padding:16px 18px 18px;gap:12px}
  .ip-avatar-keret,.ip-avatar{width:54px;height:54px}
  .ip-kartya-nev{font-size:1.15rem}
  .ip-kartya-cel{font-size:1rem}
  .ip-feladat-cim,.ip-ido{font-size:1rem}
}

/* ---------- "Elküldöm ezt a beszélgetést" (card 7cd2aeca): menu button and confirmation sheet ----------
   Pattern: store/kai-pilota-bekuldes-1031/bekuldes-terv.html. Every rule is scoped to .bekuldes-*,
   so the page's own .gombsor and .eredmeny-like names stay untouched. Both elements exist only while
   used: app.js creates them (switch on, owner-only room) and removes them. */
.menu .bekuldes-gomb svg{color:var(--signal)}
.bekuldes-lap{position:fixed;inset:0;z-index:30;background:rgba(7,12,24,.78);display:flex;align-items:flex-end;justify-content:center}
.bekuldes-lap-tartalom{position:relative;width:100%;max-width:560px;max-height:92dvh;overflow-y:auto;background:var(--ink-2);border:1px solid var(--ink-4);border-bottom:0;border-radius:20px 20px 0 0;padding:10px 18px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;box-shadow:0 -20px 60px rgba(0,0,0,.45)}
.bekuldes-lap-tartalom::before{content:"";position:absolute;left:24px;right:24px;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,176,32,.7),transparent)}
.bekuldes-lap svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bekuldes-lap .fogantyu{align-self:center;width:40px;height:4px;border-radius:2px;background:var(--ink-4)}
.bekuldes-lap .resz{display:flex;flex-direction:column;gap:12px}
.bekuldes-lap .lap-fej{display:flex;align-items:flex-start;gap:12px}
.bekuldes-lap .lap-jel{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(255,176,32,.12);color:var(--signal)}
.bekuldes-lap .lap-jel svg{width:22px;height:22px}
.bekuldes-lap .lap-fej h2{margin:0;font-family:var(--fd);font-size:1.25rem;line-height:1.25;letter-spacing:-.01em}
.bekuldes-lap .lap-fej p{margin:2px 0 0;font-size:15px;color:var(--on-ink-2);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.bekuldes-lap .pontok{list-style:none;margin:0;padding:4px 14px;border-radius:16px;background:var(--ink);border:1px solid var(--line)}
.bekuldes-lap .pontok li{display:flex;gap:12px;padding:13px 0;align-items:flex-start}
.bekuldes-lap .pontok li+li{border-top:1px solid var(--line)}
.bekuldes-lap .pont-jel{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;margin-top:1px}
.bekuldes-lap .pont-jel svg{width:16px;height:16px;stroke-width:2.4}
.bekuldes-lap .pont-jel.igen{background:rgba(46,207,146,.14);color:var(--mint)}
.bekuldes-lap .pont-jel.nem{background:rgba(229,72,77,.16);color:#FF8A8D}
.bekuldes-lap .pont-jel.vedett{background:rgba(255,176,32,.13);color:var(--signal)}
.bekuldes-lap .pont-szoveg{min-width:0;font-size:16px;line-height:1.45;color:var(--on-ink-2)}
.bekuldes-lap .pont-szoveg b{color:var(--on-ink);font-weight:600}
.bekuldes-lap .reszlet-lap{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;margin:-6px 0 -4px;font-size:15px}
.bekuldes-lap .gombsor{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;width:100%}
.bekuldes-lap .gombsor button{min-height:52px;font-size:1.02rem;display:flex;align-items:center;justify-content:center;gap:8px}
.bekuldes-lap button[aria-busy="true"]{opacity:.8;cursor:progress}
.bekuldes-lap .porgo{width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(7,12,24,.3);border-top-color:var(--ink);animation:bekuldes-forog .9s linear infinite}
@keyframes bekuldes-forog{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.bekuldes-lap .porgo{animation:none}}
.bekuldes-lap .eredmeny{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:10px 4px 2px}
.bekuldes-lap .eredmeny-jel{width:64px;height:64px;border-radius:50%;display:grid;place-items:center}
.bekuldes-lap .eredmeny-jel svg{width:30px;height:30px;stroke-width:2.4}
.bekuldes-lap .eredmeny.siker .eredmeny-jel{background:rgba(46,207,146,.14);color:var(--mint);box-shadow:0 0 0 8px rgba(46,207,146,.06)}
.bekuldes-lap .eredmeny.hiba .eredmeny-jel{background:rgba(229,72,77,.16);color:#FF8A8D;box-shadow:0 0 0 8px rgba(229,72,77,.06)}
.bekuldes-lap .eredmeny h2{margin:0;font-family:var(--fd);font-size:1.25rem}
.bekuldes-lap .eredmeny p{margin:0;max-width:380px;font-size:17px;line-height:1.5;color:var(--on-ink)}
.bekuldes-lap .eredmeny a.level{display:inline-block;padding:11px 0;margin:-11px 0;font-weight:600}
.bekuldes-lap .eredmeny .teljes{width:100%;min-height:52px}
.uzenetek li.rendszer.bekuldve{border-color:rgba(46,207,146,.4);color:var(--on-ink);font-size:15px}
/* The line's text already ends with the time (szovegek.json bekuldes.rendszer_sor), so the meta time would repeat it. */
.uzenetek li.rendszer.bekuldve .meta{display:none}
@media (min-width:768px){
  .bekuldes-lap{align-items:center;padding:24px}
  .bekuldes-lap-tartalom{border-bottom:1px solid var(--ink-4);border-radius:20px;padding:22px 24px 24px;gap:14px;box-shadow:0 30px 80px rgba(0,0,0,.55)}
  .bekuldes-lap .fogantyu{display:none}
}

/* ---------- visual review fixes (Kai, card fa454fee, 2026-10-31; findings: store/kai-pilota-app-vizualis-1031/jelentes.md) ---------- */
/* Dashboard: a long agent name wraps (at its hyphens first) instead of an ellipsis with no way to read
   it; the state badge drops under the name when both do not fit on one line. */
.ip-kartya-sor{flex-wrap:wrap;row-gap:4px}
.ip-kartya-nev{flex:0 1 auto}
.ip-kartya-nev span:first-child{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}
/* Dashboard: the card title is the one thing the owner acts on ("Dönts: ..."), two lines before the cut. */
.ip-feladat-cim{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35}
/* Dashboard: an unreachable agent's monogram stays readable (was 3.7:1 under grayscale + opacity). */
.ip-nem-elerheto .ip-avatar.monogram{filter:none;opacity:1;background:var(--ink-4);color:var(--on-ink-2)}
/* Dashboard: while loading or on a failed first read the counts are unknown, not zero. */
#iranyitopult:has(#ip-uzenet:not([hidden])):not(:has(.ip-kartya)) .ip-szam{visibility:hidden;position:relative}
#iranyitopult:has(#ip-uzenet:not([hidden])):not(:has(.ip-kartya)) .ip-szam::after{content:"–";visibility:visible;position:absolute;inset:0;text-align:center;color:var(--on-ink-2)}
/* Rooms: a room without a valid colour sits on --ink-4, dark text there was 1.39:1. The slate swatch
   (#64748B) is the one palette colour where dark text fails (4.11:1); white gives 4.76:1. */
.szoba-korong:not([style*="--szoba-szin"]){color:var(--on-ink)}
.szoba-korong[style*="64748b" i]{color:#fff}
/* Chat header: no avatar chosen yet left an empty 40 px slot with a floating dot. */
.avatar-keret:has(> .agens-kep[hidden])::before{content:"";position:absolute;inset:0;border-radius:50%;background:#F4F6FA url(pilota-robot-kerek-96.png) center/cover no-repeat;box-shadow:0 0 0 1.5px rgba(255,255,255,.14)}
/* Settings: back button to a 44 px target (was 36x40); row chevrons to the row's end. */
.vissza-fej button{min-height:44px;min-width:44px}
.lista button .nyil,.lista a .nyil{margin-left:auto}
/* Menu: the send-conversation icon drew as a filled black shape (no fill/stroke on the generated svg). */
.menu .bekuldes-gomb svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Menu footer and the usage bars: 15 px minimum on the phone; "Mi változott?" to a 44 px target. */
.verzio-sor{font-size:.94rem}
.verzio-sor .link-gomb{display:inline-flex;align-items:center;min-height:44px}
.keret{font-size:.94rem}
/* Menu open on a short screen (390x844, 1440x800; 1440x900 too once the footer above grew): the menu
   pushed the composer below the fold and the empty message pane's padding bled over it. The menu now
   scrolls inside itself, the message pane clips its own content. */
.menu{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.uzenetek-sav{overflow:hidden}
/* Chat: the jump-to-latest button to a 44 px target (was 40x40). */
.gorgeto-gomb{width:44px;height:44px}
/* ---------- visual review fixes, round 2 (Kai, card fa454fee, 2026-10-31; findings: store/kai-pilota-app-vizualis-1031/jelentes-2.md) ---------- */
/* Chat: bubble meta (time, delivery state) 12 -> 13 px; header status line 13.6 -> 15 px, the phone
   minimum. The status line keeps a tight leading so its two-line form at 390 does not grow the header much. */
.meta{font-size:.8125rem}
.agens-allapot{font-size:.9375rem;line-height:1.3}
/* ---------- visual review fixes, round 3: account, model switch, search, media, menu (Kai, card 493bd42e, 2026-10-31; findings: store/kai-pilota-app-vizualis-2-1031/jelentes.md) ---------- */
/* Second-level views (model switch, media, account, about, changes): the usage bars took ~120 px above
   them at 390, which pushed "Mentés" below the fold once the key block opened. The bars belong to the chat. */
#csevego:has(> section.nevjegy:not([hidden])) > #keret{display:none}
/* Search bar: field and step buttons to 44 px targets (were 40). */
.kereses-sav input{min-height:44px}
.kereses-lep{width:44px;min-height:44px}
.kereses-db{font-size:.875rem}
/* Media: filter chips to 44 px and 15 px; tiles two columns on the phone so a file name fits,
   name wraps to two lines, meta (time, size, state) wraps instead of being cut, 13 px minimum. */
.media-szuro button{min-height:44px;padding:0 14px;font-size:.9375rem}
.media-lista{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
.media-nev{font-size:.875rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.media-meta{font-size:.8125rem;white-space:normal;overflow-wrap:anywhere}
/* Status hint under the header: 15 px sentences; the summary row to a 44 px target. */
.teendo{font-size:.9375rem}
.teendo summary{min-height:44px}
/* Menu: notification state, blocked-notification help and the maker line to the 15 px phone minimum. */
.menu-szoveg,.ertesites-sugo ol,.gyarto-sor{font-size:.9375rem}
/* Card headings (account, about, settings): 14.7 -> 15 px. */
.kartya h3{font-size:.9375rem}
/* Model switch: intro, note, option and key hints to 15 px. */
.modell-bevezeto,.modell-megjegyzes,.modell-valaszto small,.modell-kulcs small{font-size:.9375rem}
/* Account (fiok.css loads after this file, hence the id-anchored selectors): expiry strip text 15 px and
   its button to 44 px (was 40); the lock error and the Stripe note 15 px; the PDF chip 13 px. */
#fiok-lejarat{font-size:.9375rem}
#fiok-lejarat button{min-height:44px}
.csevego .fiok-hiba,#fiok-nezet .fiok-megjegyzes{font-size:.9375rem}
#fiok-nezet .fiok-pdf{font-size:.8125rem}
/* Model switch: with the key block open the form outgrows a 390x844 screen even without the usage bars
   ("Mentés" at 812-856, its error at 800-847, below the field). The error moves up next to the field
   (visual order only, it is not focusable), "Mentés" stays pinned to the bottom of the scrolling view on
   the card colour, the gaps tighten from 14 to 10 px. On a tall screen everything sits in place as before. */
.modell{gap:10px}
.modell > *{order:2}
.modell > .modell-bevezeto,.modell > .modell-allapot,.modell > .modell-valaszto,.modell > #modell-hiba{order:1}
#modell-mentes{position:sticky;bottom:8px;z-index:1;box-shadow:0 0 0 8px var(--ink-3)}

/* ---------- colour field and glass (Zoltán TG 66139, Lead 86245, card de02d6d4) ----------
   The /vegleges/ hero palette (services/uzletipilota-fooldal/eszkoz/vegleges.css, .hos and .hos-uveg)
   behind the app: one fixed layer of saturated colour pools, three outlined glass panels over it, and the
   app's own surfaces turned into dark glass so the colour shows through dimmed. Text never sits on the raw
   field: every surface that carries text keeps at least .62 of the ink colour (pixel contrast measured per
   capture, store/kai-pilota-app-szin-1101/eszkoz/pixel-kontraszt.mjs). No change to markup or JS. */
:root{
  --szin-kek:43,71,242; --szin-ibolya:124,44,214; --szin-magenta:226,54,140;
  --szin-korall:255,98,70; --szin-borostyan:255,176,32; --szin-cian:45,196,218;
  --uveg:rgba(7,12,24,.62); --uveg-mely:rgba(7,12,24,.76); --uveg-belso:rgba(7,12,24,.38); --uveg-belso-2:rgba(7,12,24,.2); --uveg-szel:rgba(255,255,255,.14);
}
body::before,body::after{content:"";position:fixed;inset:0;pointer-events:none}
body::before{z-index:-2;background:
  radial-gradient(260px 200px at 86% 6%,rgba(var(--szin-borostyan),1),rgba(var(--szin-borostyan),.5) 46%,transparent 76%),
  radial-gradient(240px 260px at 104% 30%,rgba(var(--szin-korall),1),rgba(var(--szin-korall),.45) 50%,transparent 76%),
  radial-gradient(260px 240px at 0% 42%,rgba(var(--szin-magenta),.95),rgba(var(--szin-magenta),.4) 50%,transparent 76%),
  radial-gradient(170px 130px at 34% 18%,rgba(var(--szin-cian),.6),transparent 72%),
  radial-gradient(320px 280px at 100% 76%,rgba(var(--szin-ibolya),.9),transparent 74%),
  radial-gradient(280px 260px at 0% 100%,rgba(var(--szin-korall),.7),transparent 72%),
  radial-gradient(380px 300px at 0% 0%,rgba(var(--szin-kek),1),transparent 72%),
  linear-gradient(180deg,rgb(var(--szin-kek)) 0%,rgb(var(--szin-ibolya)) 100%)}
@media (min-width:900px){
  body::before{background:
    radial-gradient(34% 46% at 66% 0%,rgba(var(--szin-borostyan),1),rgba(var(--szin-borostyan),.55) 42%,transparent 74%),
    radial-gradient(30% 56% at 100% 16%,rgba(var(--szin-korall),1),rgba(var(--szin-korall),.5) 48%,transparent 76%),
    radial-gradient(36% 46% at 96% 70%,rgba(var(--szin-magenta),.95),rgba(var(--szin-magenta),.4) 50%,transparent 74%),
    radial-gradient(36% 42% at 62% 82%,rgba(var(--szin-ibolya),.9),transparent 72%),
    radial-gradient(30% 34% at 20% 100%,rgba(var(--szin-korall),.75),transparent 72%),
    radial-gradient(22% 30% at 80% 44%,rgba(var(--szin-cian),.6),transparent 72%),
    radial-gradient(56% 74% at 0% 0%,rgba(var(--szin-kek),1),rgba(var(--szin-kek),.6) 40%,transparent 72%),
    linear-gradient(180deg,rgb(var(--szin-kek)) 0%,rgb(var(--szin-ibolya)) 100%)}
}
/* three outlined glass panels, the .hos-uveg look of the landing, on three pseudo-elements (no markup):
   html::before, html::after and body::after, all fixed behind the app */
html::before,html::after{content:"";position:fixed;pointer-events:none}
html::before,html::after,body::after{z-index:-1;border-radius:32px;border:1px solid rgba(255,255,255,.30);
  background:linear-gradient(150deg,rgba(255,255,255,.20),rgba(255,255,255,.06) 46%,rgba(255,255,255,.02));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 30px 80px -40px rgba(20,10,60,.55)}
html::before{left:52%;top:-60px;width:240px;height:250px}
html::after{left:calc(100% - 80px);top:44%;width:200px;height:150px;border-radius:28px}
body::after{inset:auto;left:-60px;top:72%;width:170px;height:170px}
@media (min-width:900px){
  html::before{left:55%;top:-120px;width:420px;height:470px;border-radius:56px}
  html::after{left:calc(100% - 230px);top:30%;width:380px;height:420px;border-radius:64px}
  body::after{left:8%;top:68%;width:340px;height:300px;border-radius:48px}
}
/* the chat column does not blur: a backdrop-filter on .csevego makes it the containing block of its fixed
   overlays (#buborek-menu, #kep-nezo, #szoba-lap), which then sit offset or stop covering the viewport (Codex P2
   on 3a693b8d93, 2026-11-01). It keeps the deeper ink of the no-blur path, measured in tartalek-1/2. */
.csevego{background:var(--uveg-mely);border-left-color:var(--uveg-szel);border-right-color:var(--uveg-szel)}
.fejlec,.kuldes,.szobak-sav,.menu,.keret,.teendok,.szoba-gyors-sor,.felvetel-sav,.kuldes-hiba{background:var(--uveg-belso)}
.kereses-sav,.gepel-sor{background:var(--uveg-belso-2)}
/* bubbles stay nearly solid: they carry the small timestamps (.85rem, on-ink-2) */
.buborek.be,.ir-jelzes{background:rgba(20,31,54,.92)}
.buborek.ki{background:rgba(29,43,72,.94)}
/* login: the form sits on one glass card, never on the raw field */
.belepes{margin:auto;max-height:100%;background:var(--uveg-mely);border:1px solid var(--uveg-szel);border-radius:24px;padding:40px 22px 32px;
  -webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25)}
@media (max-width:480px){.belepes{width:calc(100% - 28px);margin:auto 14px;border-radius:20px;padding:32px 18px 28px}}
/* ---------- desktop menu in the right strip (card c11d19e7 C1, Zoltán TG 66692, 66694) ----------
   Above 1024 px the hamburger menu opens as a sidebar in the empty strip right of the chat column,
   not over it and not pushing it down. --menu-sav is the strip minus 2x16 px, 280-360 px; when the
   strip is narrower, the open menu moves the column left (a centred one) or narrows it (a
   left-aligned one: rooms, dashboard), so nothing of the chat is covered. Phone layout untouched. */
@media (min-width:1025px){
  body{--menu-sav:clamp(280px,calc((100vw - 820px) / 2 - 32px),360px)}
  body:has(.csevego.szobak-be){--menu-sav:clamp(280px,calc(100vw - 884px - 32px),360px)}
  body.ip-mod{--menu-sav:clamp(280px,calc((100vw - 1200px) / 2 - 32px),360px)}
  body.ip-mod:has(.csevego.szobak-be){--menu-sav:clamp(280px,calc(100vw - 1200px - 32px),360px)}
  .csevego > .menu{position:fixed;z-index:25;top:16px;right:16px;bottom:16px;width:var(--menu-sav);max-height:none;box-sizing:border-box;
    padding:18px 16px;border:1px solid var(--uveg-szel,var(--line));border-radius:20px;background:var(--uveg-mely,var(--ink));
    box-shadow:0 24px 60px -30px rgba(0,0,0,.6);
    /* the strip sits on the raw field: blur it like the login card, or the decoration's edges cross the buttons.
       Safe here: nothing fixed lives inside #menu, so it may become a containing block. */
    -webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25)}
  /* five 48 px avatars + gaps need 272 px, the 280 px strip leaves 222: as many columns as fit (Codex P2 on bd78f1e731) */
  .csevego > .menu .kep-racs{grid-template-columns:repeat(auto-fill,48px);justify-content:space-between}
  body:has(#menu:not([hidden])) .csevego{max-width:min(820px,calc(100vw - var(--menu-sav) - 32px));
    margin-left:max(0px,min(calc((100vw - 820px) / 2),calc(100vw - var(--menu-sav) - 32px - 820px)));margin-right:auto}
  body.ip-mod:has(#menu:not([hidden])) .csevego{max-width:min(1200px,calc(100vw - var(--menu-sav) - 32px));
    margin-left:max(0px,min(calc((100vw - 1200px) / 2),calc(100vw - var(--menu-sav) - 32px - 1200px)))}
  body:has(#menu:not([hidden])) .csevego.szobak-be{max-width:min(884px,calc(100vw - var(--menu-sav) - 32px));margin:0}
  body.ip-mod:has(#menu:not([hidden])) .csevego.szobak-be{max-width:min(1200px,calc(100vw - var(--menu-sav) - 32px));margin:0}
}

/* ---------- owner controls: "Mindent leállít" and the usage cap (card cc491858) ---------- */
.vezerles-kartya{margin:12px 16px 0;display:flex;flex-direction:column;gap:12px}
.szakasz-cim + .vezerles-kartya{margin-top:10px}
.vezerles-kartya h4{margin:0;font-family:var(--fd);font-size:.9375rem;color:var(--signal);font-weight:700}
.vezerles-kartya p{margin:0}
.vezerles-leiras,.vezerles-megjegyzes{color:var(--on-ink-2);font-size:.9375rem}
.vezerles-megjegyzes{margin:12px 20px 0}
.vezerles-allapot{font-weight:500}
.vezerles-allapot.megallt{color:#FF8A8D}
.vezerles-kerdes{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--piros);border-radius:12px;background:rgba(229,72,77,.10)}
.vezerles-gombok{display:flex;flex-wrap:wrap;gap:10px}
.vezerles-gombok button{flex:1 1 140px}
.vezerles-mezo{display:flex;flex-direction:column;gap:6px;font-weight:500}
.vezerles-mezo select{min-width:0;width:100%;min-height:44px;background:var(--ink-2);border:1px solid var(--ink-4);border-radius:12px;padding:10px 12px;font-size:1rem}
.vezerles-kartya .telemetria-hiba{color:#FF8A8D}

/* ---------- overflow fixes, round 4: every screen under bad input (Kai, card fa454fee, 2026-10-31; findings: store/kai-pilota-tulterheles-1031/jelentes.md) ----------
   Restored by card 05ecb3dd (2026-11-07): javitas-4.patch was accepted on 11-01 but never reached a commit (git log -S, all branches: 0). */
/* Header with the agent dropdown (one machine, two or more agents, no rooms): the dropdown kept up to 40%
   and squeezed the name and status to 41 px at 390 ("Pil…", "elérhető." 21 px past the box) and to 16 px
   with a 60-char agent name at 1440. The name block keeps 8rem, the dropdown shrinks with an ellipsis, and
   on the phone it takes a full-width row under the header.
   05ecb3dd (Codex P2 on bd24bb69de): the labelled view switch, newer than this round, shows from 601 px. Between
   601 and 719 px the 8rem name block, that switch and the dropdown no longer fit one row, and the dropdown shrank
   to a bare chevron (measured 640 px, en and hu); from 720 px it keeps the agent name, and up to 600 px the icon
   switch leaves it room. That band takes the full-width row too. Measured 2026-11-07, csevego-v1 at 481-1024 px. */
.fejlec:has(> select:not([hidden])) .fej-szoveg{min-width:8rem}
.fejlec select{min-width:0;text-overflow:ellipsis}
@media (max-width:480px),(min-width:601px) and (max-width:719px){
  .fejlec:has(> select:not([hidden])){flex-wrap:wrap;row-gap:8px}
  .fejlec > select:not([hidden]){order:9;flex:1 1 100%;max-width:none;min-height:44px}
}
/* In that band the 8rem name block pushed the menu button to a second row at 601 px; with the dropdown on its own
   row the name shrinks as it does in the header without a dropdown. */
@media (min-width:601px) and (max-width:719px){.fejlec:has(> select:not([hidden])) .fej-szoveg{min-width:0}}
/* Quick replies: a label that is one long word kept its min-content width, the row ran 10 px past the
   composer and the whole page scrolled sideways at 390 (399 px of 390). Labels wrap, inside a word only
   when nothing else fits. */
.gyors-gombok{min-width:0}
.gyors-gomb{max-width:100%;overflow-wrap:anywhere}
/* Room quick replies (#gyors-sor): the same fault in the room row, a one-word 40-character label ran 62 px
   past the row and the page scrolled 61 px sideways at 390 (szoba-link, szoba-eltavolitas). Same rule. */
.szoba-gyors-gomb{max-width:100%;overflow-wrap:anywhere}
/* Dashboard card goal: a space-free text overflowed the two-line clamp to the right (up to 1850 px), cut
   without an ellipsis. It now breaks inside the word, so the clamp and its ellipsis work. */
.ip-kartya-cel{overflow-wrap:anywhere}
/* Invite banner on the sign-in page, typing line, room sheet notes: a long room name, member name or
   address ran 46-201 px past the box (the sign-in page and the room sheet scrolled sideways). */
.belepes .uzenet,.gepel-sor,.szoba-halvany{overflow-wrap:anywhere}
/* Room members: the remove confirmation sat beside the name on a wide screen and squeezed "Kiss Anna" to
   23 px, one or two letters a line. It now takes its own row under the name. */
.szoba-tagok li > .megerosites{flex:1 1 100%}
/* Status alert: open, it took ~330 px at 390; with the usage bars and four long quick replies the composer
   ended below the fold (teendok-390-rossz, before these fixes too). As with the menu in the first visual
   review fixes, the alert block gives way first and scrolls inside itself; with room to spare nothing changes. */
.teendok{min-height:0;overflow-y:auto;overscroll-behavior:contain}
/* Install hint: with the quick replies now wrapping (two lines each under a 60-character label), the hint,
   the room bar, the limits and four replies no longer fit 844 px, and the composer sat 13 px below the
   fold (telepito-390-rossz). The hint is the dismissable part, so it gives way first and scrolls inside
   itself, as the menu and the status alert do; the message list is already at zero there. */
.telepito{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}

/* ---------- 390 px fixes for the English account (Kai, card 05ecb3dd, 2026-11-07; findings: Kai 98733) ---------- */
/* Dashboard summary at 390: the four tiles are 1fr columns, whose minimum is the longest word. "unavailable"
   (about 80 px at 15 px) is wider than a quarter of the 296 px row, so that column grew and the row ran 13 px
   past its box. A label word of ten or more letters is now hyphenated by the page language ("unavail-able"),
   which lowers that minimum; shorter words never are. The columns stay 1fr on purpose: the Hungarian row
   already sizes to its words ("dolgozik" is wider than a quarter), and a zero minimum or overflow-wrap:anywhere
   broke it to "dolgozi / k" in the 05ecb3dd test run. No Hungarian label has ten letters, so its tiles keep
   their look. Without a hyphenation dictionary the browser lays the row out as before. */
.ip-ossz-cimke{-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:10 4 4}
/* Room sheet, active invites: the address had flex-basis 0 in a wrapping row, so it never moved to a line of
   its own and was squeezed to 66 px at 390 ("anna@e / xample. / com"). With its own width as the basis the
   address wraps to its own line when the row is too narrow and stays whole; on a row wide enough for all
   four items nothing changes, since it is still the only item that grows. Only an address wider than the
   whole row breaks inside (overflow-wrap:anywhere on .tag-nev,.meghivo-cel). */
.szoba-meghivok li > .meghivo-cel{flex-basis:auto}

/* ---------- overflow fixes, round 3, the two rules still missing (Kai, card fa454fee, 2026-10-31; findings:
   store/kai-pilota-hosszu-nev-1031/jelentes.md). Restored by card 05ecb3dd (Lead 98827, 2026-11-07): javitas-3 was
   accepted on 11-01 but never reached a commit (git log -S, all branches: 0). Its invite-row grid stays out, the
   flex-basis rule of 05ecb3dd covers that row. ---------- */
/* Dashboard (Codex P2 on 8f6aac979d): a name that is one long word kept its min-content width once
   overflow went visible, so it ran 72 px (390) / 105 px (1440) past the card and pushed the "fő" chip
   out. The name may shrink and breaks inside the word only when nothing else fits. */
.ip-kartya-nev span:first-child{min-width:0;overflow-wrap:anywhere}
/* Room sheet: the small buttons (revoke, remove, copy) and "Bezárás" to a 44 px target (were 36). */
.szoba-lap .kis-gomb,.szoba-lap-bezar{min-height:44px}

/* ---------- quoting a passage of an agent reply (card 5c4722aa, Zoltán TG 74589) ----------
   .idezet-gomb floats over the selection (fixed, one above the long-press menu, which also carries the item);
   .idezet-sav is the quote above the field, plain text, capped at three whole lines (scrolls inside) so a long
   quote never pushes the composer below the fold, removable with the cross. Same surfaces as the quick-reply row. */
.idezet-gomb{position:fixed;z-index:21;min-height:44px;padding:0 16px;box-shadow:0 6px 24px rgba(0,0,0,.45)}
/* Touch screen (card 5c4722aa, customer report 2026-11-13): a row of the column right above the composer, not
   over the selection, where iOS draws its own bubble. In the flow, so it never covers a reply. */
.idezet-gomb.dokkolt{position:static;flex:none;align-self:center;margin:6px 0;box-shadow:none}
.idezet-sav{flex:none;display:flex;gap:8px;align-items:flex-start;padding:8px 12px 0;background:var(--uveg-belso);border-top:1px solid var(--line)}
.idezet-sav:not([hidden]) + .kuldes{border-top:0}
.idezet-doboz{flex:1;min-width:0;padding:8px 12px;border-left:3px solid var(--signal);border-radius:8px;background:var(--ink-3)}
.idezet-szoveg{margin:0;max-height:calc(3 * 1.4em);overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--on-ink-2);font-size:.92rem;line-height:1.4}
.idezet-torles{flex:none;width:44px;min-height:44px;padding:0;display:grid;place-items:center;background:transparent;color:var(--on-ink-2)}
.idezet-torles svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
/* Phase 3 threads (card e77f1cf5, spec 7.3): "Válasz szálban" under a root, the reply count chip, the
   thread pane (a bottom sheet on a phone, the right strip on a wide screen, like the desktop menu),
   the rail's "Szálak" bubble. Reply bubbles are text only. */
.szal-sor{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.szal-sor button{min-height:32px;padding:0 10px;border-radius:9px;font-size:.8rem;font-family:var(--fb);font-weight:600}
.szal-valasz-gomb{background:transparent;color:var(--on-ink-2);border:1px solid var(--line)}
.szal-db{background:var(--ink-4);color:var(--signal);border:1px solid var(--ink-4)}
/* Reactions (card be3c3384 point 1): chips with emoji and count, the reader's own outlined in signal. */
.reakcio-sor{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.reakcio-sor button{min-height:32px;min-width:32px;padding:0 9px;border-radius:16px;font-family:var(--fb);font-size:.85rem;font-weight:600;
  display:inline-flex;align-items:center;gap:5px;background:var(--ink-3);color:var(--on-ink-2);border:1px solid var(--ink-4)}
.reakcio-sor .reakcio-chip[aria-pressed="true"]{border-color:var(--signal);color:var(--signal)}
.reakcio-emoji{font-size:1rem;line-height:1}
.reakcio-sor .reakcio-plusz{background:transparent;border-color:var(--line);color:var(--on-ink);font-size:1.15rem;font-weight:500;padding:0 11px}
.reakcio-valaszto{flex-basis:100%;display:flex;flex-wrap:wrap;gap:6px;padding:6px;border-radius:14px;background:var(--ink-2);border:1px solid var(--ink-4)}
.reakcio-valaszto button.reakcio-valaszt{min-width:44px;min-height:44px;justify-content:center;font-size:1.25rem;background:transparent;border-color:transparent}
.reakcio-valaszto button[aria-pressed="true"]{border-color:var(--signal)}
.reakcio-kik{flex-basis:100%;display:flex;flex-direction:column;gap:2px;padding:4px 2px 0;border-top:1px solid var(--ink-4);font-size:.85rem;color:var(--on-ink-2);overflow-wrap:anywhere}
.reakcio-kik p{margin:0}
.szoba-szalak-gomb{background:var(--ink-3);color:var(--signal);border:1px solid var(--ink-4)}
.szoba-szalak-gomb svg{width:20px;height:20px}
.szoba-szalak-gomb .szoba-emlites{top:-4px;bottom:auto}
/* Phone: the open menu (in the flow under the header) stays above the thread sheet, or a sheet grown
   to 85dvh covers Settings and the other menu buttons (a reaction row per reply made it that tall). */
@media (max-width:600px){.csevego > .menu{position:relative;z-index:29}}
.szal-panel{position:fixed;z-index:28;left:0;right:0;bottom:0;max-height:85dvh;display:flex;flex-direction:column;gap:10px;
  background:var(--ink-2);border:1px solid var(--ink-4);border-bottom:0;border-radius:18px 18px 0 0;
  padding:14px 14px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -18px 50px -24px rgba(0,0,0,.7)}
.szal-fej{display:flex;align-items:center;gap:12px}
.szal-fej h2{flex:1;min-width:0;margin:0;font-family:var(--fd);font-size:1.1rem}
.szal-fej h2:focus{outline:none}
.szal-bezar{min-height:44px;padding:0 12px;font-size:.85rem;border-radius:10px}
.szal-gyoker{padding:10px 12px;border-radius:12px;background:var(--ink-3);border-left:3px solid var(--signal);max-height:28dvh;overflow-y:auto}
.szal-gyoker .szoveg,.szal-buborek .szoveg{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.95rem;line-height:1.4}
.szal-szerzo{display:flex;gap:8px;align-items:baseline;font-size:.8rem;font-weight:700;color:var(--on-ink-2);margin-bottom:2px}
.szal-szerzo .ido{font-weight:400}
.szal-allapot{margin:0;font-size:.85rem}
.szal-valaszok{list-style:none;margin:0;padding:0;flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:8px}
.szal-buborek{max-width:88%;padding:8px 12px;border-radius:14px;background:var(--ink-3)}
.szal-buborek.ki{align-self:flex-end;background:var(--ink-4)}
.szal-buborek.be{align-self:flex-start}
.szal-buborek.torolt{align-self:stretch;max-width:none;background:transparent;border:1px dashed var(--line)}
.szal-buborek .meta{display:flex;gap:8px;justify-content:flex-end;font-size:.75rem;color:var(--on-ink-2);margin-top:2px}
.szal-torolt{margin:0;font-size:.85rem;font-style:italic;color:var(--on-ink-2)}
.szal-urlap{display:flex;gap:8px;align-items:flex-end}
.szal-urlap textarea{flex:1;min-width:0;min-height:44px;max-height:30dvh;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--ink-3);color:var(--on-ink);resize:none;font-size:1rem}
.szal-urlap button{flex:none}
.szal-lista-db{font-size:.8rem;color:var(--signal)}
/* Side panel only from 1180 px: below that the 280 px strip right of the rooms-mode column (884 px) does
   not fit, and the panel slid over the message list and the Send button (Lead 124656, measured 1025-1179;
   szalak-pwa-teszt S11). There it stays the bottom sheet, as on the phone. Measured 2026-11-20. */
@media (min-width:1180px){
  .szal-panel{left:auto;top:16px;right:16px;bottom:16px;width:var(--menu-sav,360px);max-height:none;border:1px solid var(--uveg-szel,var(--ink-4));border-radius:20px;
    padding:16px;background:var(--uveg-mely,var(--ink-2));-webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25)}
  .szal-gyoker{max-height:34vh}
}
/* Owner's machine asleep (card 4833f9cc, Lead 121053): one calm line where the red bar was, no
   error colour, no action. The header status line is screen-reader only, so this is the visible one. */
.alvas-sor{margin:0;padding:10px 14px;background:var(--ink);border-bottom:1px solid var(--line);color:var(--on-ink-2);font-size:.9375rem;line-height:1.35;text-align:center}
/* Document viewer (card 2eb400ce, dokumentum.js): the thread pane's look, one layer above it.
   Always between the header and the composer rows, so the composer stays usable; dokumentum.js helyez()
   measures them and sets the four variables (the fallbacks only cover the instant before the first
   measurement). A phone gets the full width (a 92dvh bottom sheet covered the composer at 390 px, live
   probe 2026-11-20, Lead 124660), a wider screen a box inside the chat column at most 640 px wide (an A4
   page at ~600 px stays readable; assumption, 2026-11-20). */
.dok-panel{position:fixed;z-index:29;top:var(--dok-fent,64px);left:var(--dok-bal,8px);right:auto;bottom:auto;width:var(--dok-szel,calc(100% - 16px));height:var(--dok-mag,70dvh);
  display:flex;flex-direction:column;gap:8px;
  background:var(--ink-2);border:1px solid var(--ink-4);border-radius:16px;
  padding:12px;box-shadow:0 18px 50px -24px rgba(0,0,0,.7)}
.dok-fej{display:flex;align-items:center;gap:8px}
.dok-fej h2{flex:1;min-width:0;margin:0;font-family:var(--fd);font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dok-fej h2:focus{outline:none}
.dok-fej button{flex:none;min-height:44px;padding:0 12px;font-size:.85rem;border-radius:10px}
.dok-allapot{margin:0;font-size:.85rem;color:var(--signal)}
.dok-tartalom{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;border-radius:12px;background:var(--ink);-webkit-overflow-scrolling:touch}
.dok-tartalom:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.dok-szoveg,.dok-kod{margin:0;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.5;color:var(--on-ink)}
.dok-md{padding:4px 14px 14px;font-size:.95rem;line-height:1.55;overflow-wrap:anywhere}
.dok-md h3,.dok-md h4,.dok-md h5,.dok-md h6{font-family:var(--fd);margin:1em 0 .4em;line-height:1.25}
.dok-md h3{font-size:1.3rem}.dok-md h4{font-size:1.12rem}.dok-md h5{font-size:1rem}.dok-md h6{font-size:.92rem;color:var(--on-ink-2)}
.dok-md p,.dok-md ul,.dok-md ol,.dok-md blockquote{margin:0 0 .75em}
.dok-md ul,.dok-md ol{padding-left:1.4em}
.dok-md blockquote{padding:4px 12px;border-left:3px solid var(--signal);color:var(--on-ink-2)}
.dok-md code{padding:1px 5px;border-radius:5px;background:var(--ink-3);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85em}
.dok-md .dok-kod{background:var(--ink-3);border-radius:10px;margin:0 0 .75em}
.dok-md .dok-kod code{padding:0;background:none}
.dok-md a{color:var(--signal)}
.dok-md hr{border:0;border-top:1px solid var(--line);margin:1em 0}
.dok-tabla-keret{min-width:min-content}
.dok-tabla{border-collapse:separate;border-spacing:0;font-size:.82rem;font-variant-numeric:tabular-nums}
.dok-tabla th,.dok-tabla td{padding:5px 8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;vertical-align:top;
  max-width:28ch;white-space:pre-wrap;overflow-wrap:anywhere}
.dok-tabla td{min-width:9ch}
.dok-tabla thead th{position:sticky;top:0;z-index:2;background:var(--ink-3);color:var(--on-ink-2);font-weight:600;text-align:center}
.dok-tabla tbody th{position:sticky;left:0;z-index:1;background:var(--ink-3);color:var(--on-ink-2);font-weight:600;text-align:right;min-width:3ch}
.dok-tabla thead th:first-child{left:0;z-index:3}
.dok-lap{position:relative;width:100%;margin:0 0 10px;background:#fff;border-radius:4px;overflow:hidden}
.dok-lap canvas{display:block;width:100%;height:100%}
/* From 720 px the panel sits inside the chat column: under the header, above the composer rows, inside
   the column's right edge (Lead 124622: as a fixed right strip at 1440 it covered the header and the
   Send button and hung out of the column). dokumentum.js helyez() measures those edges and sets the
   four variables; the fallbacks only cover the instant before the first measurement. */
@media (min-width:720px){
  .dok-panel{top:var(--dok-fent,72px);left:var(--dok-bal,auto);right:auto;bottom:auto;width:var(--dok-szel,min(640px,48vw));height:var(--dok-mag,70vh);border:1px solid var(--uveg-szel,var(--ink-4));border-radius:20px;
    padding:14px;background:var(--ink-2);box-shadow:0 24px 60px -24px rgba(0,0,0,.8)}
  /* solid, not glass: over the message list the bubbles behind showed through the title row */
}
