/* ============================================================================
   ALMAKAN RECIPE BUILDER v86 LOOK  (Meez-style flow, Almakan colours)
   Loaded after v85.css. Rules
   - The recipe card (.card), the kiosk (#kiosk-app), print and every PDF/Excel
     export are NOT touched. Their colours stay pinned in v85.css.
   - One light theme. One drawer on every width. Fluid, full-width desktop.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;700;900&display=swap');

:root{
  --x-accent:#B3123E; --x-accent-ink:#FFFFFF; --x-accent-soft:#FBE7EC; --x-accent-hover:#960F34;
  --x-blue:#3D5DF6; --x-navy:#050841; --x-drawer:#1C2266; --x-drawer-2:#262E7C;
  --x-canvas:#FAFAFA; --x-surface:#FFFFFF; --x-surface-2:#F4F4F8; --x-line:#E6E6EE; --x-line-2:#D5D6E3; --x-hair:#EEEEF3;
  --x-fg:#050841; --x-fg-2:#8283A0; --x-fg-3:#95969C; --x-chip:#F1F1F6; --x-chip-on:#DDE4FB;
  --x-rail:#1C2266; --x-rail-2:#262E7C; --x-rail-txt:rgba(255,255,255,.86); --x-rail-grp:rgba(255,255,255,.5); --x-rail-div:rgba(255,255,255,.1);
  --x-f-body:'Figtree',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --x-radius:6px;
  --ink:#050841; --gray:#8283A0; --line:#E6E6EE; --cream:#FAFAFA; --band:#F4F4F8;
}
body{ font-family:var(--x-f-body); font-weight:400; background:var(--x-canvas); color:var(--x-fg); }
input,textarea,select,button{ font-family:var(--x-f-body); }
input:focus,textarea:focus,select:focus{ outline:2px solid var(--x-blue); border-color:var(--x-blue); }
:focus-visible{ outline:2px solid var(--x-blue); outline-offset:2px; }
.num,.x-num{ font-family:var(--x-f-body); font-variant-numeric:tabular-nums; }

/* ---- top bar ---- */
#topbar{ background:#fff; color:var(--x-fg); border-bottom:1px solid var(--x-line); padding:8px 16px; gap:12px; min-height:60px; align-items:center; box-shadow:none; }
#topbar h1{ font-size:15px; font-weight:700; letter-spacing:0; text-transform:none; color:var(--x-fg); }
#topbar .sub, #topbar #auth-btn, #topbar #me-topbtn, #topbar #applogo{ display:none!important; }
#hambbtn{ display:inline-flex!important; align-items:center; justify-content:center; width:44px; height:44px; background:none; color:var(--x-fg-2); font-size:22px; border-radius:22px; }
#hambbtn:hover{ background:var(--x-chip); }
#topbar .backbtn{ color:var(--x-blue); font-weight:500; background:none; font-size:15px; }
#topbar .refreshbtn{ background:none; color:var(--x-fg-2); width:40px; height:40px; border-radius:20px; }
#v86-tools{ display:flex; align-items:center; gap:10px; margin-left:auto; }
.v86-search{ display:flex; align-items:center; gap:8px; width:clamp(150px,26vw,320px); height:40px; box-sizing:border-box; padding:0 14px; background:#fff; border:1px solid var(--x-line); border-radius:4px; color:var(--x-fg-2); }
.v86-search:focus-within{ border-color:var(--x-blue); }
.v86-search input{ border:0; outline:0!important; background:transparent; flex:1; min-width:0; font-size:15px; color:var(--x-fg); }
.v86-new{ height:38px; padding:0 20px; border:0; border-radius:19px; background:var(--x-accent); color:#fff; font-size:15px; font-weight:500; cursor:pointer; white-space:nowrap; }
.v86-new:hover{ background:var(--x-accent-hover); }
.v86-ic{ position:relative; width:40px; height:40px; border-radius:20px; border:0; background:none; color:var(--x-fg-2); font-size:17px; font-weight:700; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; }
.v86-ic:hover{ background:var(--x-chip); }
.v86-bell i{ position:absolute; top:8px; right:9px; width:9px; height:9px; border-radius:5px; background:var(--x-accent); border:2px solid #fff; display:none; }
.v86-av{ width:36px; height:36px; border-radius:18px; border:0; background:var(--x-navy); color:#fff; font-size:13px; font-weight:700; cursor:pointer; }
@media (max-width:700px){
  #bar-title{ display:none; }
  .v86-search{ width:auto; flex:1; min-width:0; }
  #v86-tools{ flex:1; min-width:0; gap:6px; }
  #v86-help, #refreshbtn, #topbar .spacer{ display:none!important; }
  #topbar{ padding:8px 10px; gap:6px; }
  .v86-new{ padding:0 14px; }
}

/* ---- drawer: the same navy off-canvas menu at every width ---- */
#sidebar{ background:var(--x-drawer); color:var(--x-rail-txt); border-right:0; width:min(300px,86vw); }
#sidebar:not(.open){ transform:translateX(-100%)!important; box-shadow:none!important; }
#sidebar.open{ transform:translateX(0)!important; box-shadow:8px 0 28px rgba(5,8,65,.28)!important; }
#sidebar-scrim{ display:block!important; background:rgba(5,8,65,.45); }
.sb-head{ border-bottom:1px solid var(--x-rail-div); }
.sb-new{ background:var(--x-accent); color:#fff; border-radius:22px; font-weight:500; }
.sb-item{ border-radius:6px; font-size:14px; font-weight:500; }
.sb-item:hover{ background:rgba(255,255,255,.08); color:#fff; }
.sb-item.on{ background:rgba(255,255,255,.14); color:#fff; box-shadow:inset 3px 0 0 #fff; }
.sb-item .c.x-bdg{ background:var(--x-accent); color:#fff; }
.sb-grp{ font-size:10.5px!important; letter-spacing:.08em; }
.sb-railbtn, #x-theme-btn{ display:none!important; }
@media (min-width:900px){
  body, body.sb-rail{ padding-left:0!important; }
  #tabs, #savebar, .modal-backdrop, .modal-backdrop.cf-full, body.sb-rail #tabs, body.sb-rail #savebar, body.sb-rail .modal-backdrop{ left:0!important; }
  #menueng-screen, #triage-screen, body.sb-rail #menueng-screen, body.sb-rail #triage-screen{ left:0!important; }
  body.sb-rail #sidebar{ width:min(300px,86vw); }
}

/* ---- pop-over menus ---- */
#v86-pop{ position:fixed; z-index:6000; min-width:220px; max-width:min(320px,92vw); background:#fff; border:1px solid var(--x-line); border-radius:8px; box-shadow:0 10px 32px rgba(5,8,65,.18); padding:6px; }
.v86-pop-h{ padding:8px 12px 6px; font-size:12px; font-weight:500; color:var(--x-fg-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.v86-pop-e{ padding:10px 12px 12px; font-size:14px; color:var(--x-fg-2); }
.v86-mi{ display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; min-height:40px; padding:0 12px; background:none; border:0; border-radius:6px; text-align:left; font-size:15px; font-weight:400; color:var(--x-fg); cursor:pointer; }
.v86-mi:hover, .v86-mi:focus-visible{ background:var(--x-surface-2); }
.v86-mi.danger{ color:#D0021B; }
.v86-cnt{ min-width:22px; padding:1px 7px; border-radius:11px; background:var(--x-chip); font-size:12px; text-align:center; }
.v86-cnt.hot{ background:var(--x-accent); color:#fff; }
.v86-sep{ height:1px; background:var(--x-hair); margin:6px 4px; }
.v86-flt{ padding:6px 12px 10px; display:grid; gap:4px; }
.v86-flt label{ font-size:12px; font-weight:500; color:var(--x-fg-3); margin-top:6px; }
.v86-flt select{ height:38px; border:1px solid var(--x-line); border-radius:4px; background:#fff; font-size:15px; padding:0 8px; color:var(--x-fg); }

/* ---- screens fill the width, no dark theme ---- */
.x-screen{ max-width:1320px; padding:22px 28px 120px; }
body.x-screen-v85 #screen{ max-width:none; }
.x-head h2{ font-size:28px; font-weight:900; letter-spacing:-.01em; }
.x-sub{ color:var(--x-fg-2); font-size:13px; }
.x-lbl{ font-size:12px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--x-fg-3); }
.x-card{ border-radius:6px; border-color:var(--x-line); }
.x-btn{ border-radius:19px; font-weight:500; }
.x-pill{ font-size:12px; font-weight:500; border-radius:12px; padding:3px 10px; }
.x-p-n{ background:var(--x-chip); color:#4A4B72; }
.x-p-a{ background:var(--x-chip-on); color:#1F3AB8; }
.x-p-warn{ background:#FFF0D9; color:#9A5A00; }
.x-p-ok{ background:#DDF3EA; color:#0F7B55; }
.x-p-err{ background:#FDE6E8; color:#B3123E; }
.sec-head{ background:var(--x-drawer); }
.modal-head, .folder-head{ background:var(--x-drawer); }
.bigbtn{ border-radius:22px!important; }
.toast{ background:var(--x-navy)!important; }
.modal-ok{ border-radius:20px; }
#tabs{ background:#fff; border-top:1px solid var(--x-line); }
#tabs button{ color:var(--x-fg-2); font-weight:500; }
#tabs button.on{ color:var(--x-navy); border-top-color:var(--x-accent); font-weight:700; }
#savebar button{ border-radius:24px; font-weight:500; }

/* ---- LIBRARY ---- */
.v86-lib{ max-width:1320px; margin:0 auto; padding:22px 28px 120px; color:var(--x-fg); font-family:var(--x-f-body); }
.v86-lib h2{ margin:0; font-size:28px; font-weight:900; line-height:1.15; }
.v86-lib .v86-sub{ margin-top:4px; font-size:13px; color:var(--x-fg-2); }
.v86-tabs{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:20px 0 0; }
.v86-tab{ height:38px; padding:0 16px; border-radius:19px; border:1px solid var(--x-line); background:#fff; color:var(--x-fg); font-size:15px; font-weight:500; cursor:pointer; display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.v86-tab:hover{ border-color:var(--x-line-2); }
.v86-tab.on{ background:var(--x-chip-on); border-color:var(--x-chip-on); font-weight:700; }
.v86-tab b{ font-weight:500; font-size:13px; color:var(--x-fg-2); }
.v86-tab.on b{ color:#1F3AB8; }
.v86-tab.hot b{ color:#fff; background:var(--x-accent); border-radius:10px; padding:0 7px; }
.v86-link{ height:38px; padding:0 8px; border:0; background:none; color:var(--x-blue); font-size:15px; font-weight:500; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.v86-link .v86-cnt{ background:var(--x-chip); color:var(--x-fg); }
.v86-bar{ display:flex; align-items:center; gap:12px; margin:18px 0 6px; flex-wrap:wrap; }
.v86-bar .v86-grow{ flex:1; }
.v86-chip{ height:34px; padding:0 14px; border-radius:17px; border:1px solid var(--x-line); background:#fff; font-size:14px; font-weight:500; color:var(--x-fg); cursor:pointer; display:inline-flex; align-items:center; gap:8px; }
.v86-chip.set{ background:var(--x-chip-on); border-color:var(--x-chip-on); }
.v86-chip i{ font-style:normal; color:var(--x-fg-2); cursor:pointer; }
.v86-count{ font-size:13px; color:var(--x-fg-2); }
.v86-table{ width:100%; border-top:1px solid var(--x-line); }
.v86-th, .v86-row{ display:grid; grid-template-columns:44px minmax(0,2.6fr) minmax(0,1.3fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.2fr) 110px 52px; align-items:center; column-gap:12px; padding:0 8px; }
.v86-th{ height:40px; font-size:12px; font-weight:500; color:var(--x-fg-3); }
.v86-th button{ background:none; border:0; padding:0; font:inherit; color:inherit; cursor:pointer; text-align:left; }
.v86-th button.on{ color:var(--x-fg); font-weight:700; }
.v86-row{ min-height:56px; background:#fff; border-bottom:1px solid var(--x-hair); cursor:pointer; font-size:15px; font-weight:400; }
.v86-row:hover{ background:#FBFBFE; }
.v86-row .v86-ico{ width:36px; height:36px; border-radius:4px; background:var(--x-chip); display:flex; align-items:center; justify-content:center; overflow:hidden; font-size:16px; }
.v86-row .v86-ico img{ width:100%; height:100%; object-fit:contain; background:#fff; }
.v86-row .v86-nm{ font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.v86-row .v86-nm small{ display:block; font-weight:400; font-size:12px; color:var(--x-fg-3); }
.v86-row .v86-c{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#4A4B72; }
.v86-row .v86-dt{ color:var(--x-fg-2); font-size:13px; white-space:nowrap; }
.v86-dots{ width:40px; height:40px; border-radius:20px; background:none; border:0; color:var(--x-fg-2); font-size:20px; cursor:pointer; line-height:1; }
.v86-dots:hover{ background:var(--x-chip); color:var(--x-fg); }
.v86-more{ display:block; margin:18px auto 0; height:40px; padding:0 24px; border-radius:20px; border:1.5px solid var(--x-navy); background:#fff; color:var(--x-navy); font-size:15px; font-weight:500; cursor:pointer; }
.v86-empty{ padding:40px 12px; text-align:center; color:var(--x-fg-2); font-size:15px; }
.v86-skel{ height:56px; border-bottom:1px solid var(--x-hair); background:linear-gradient(90deg,#fff,#F4F4F8,#fff); }
.v86-note{ margin-top:6px; font-size:13px; color:#B3123E; font-weight:500; }
@media (max-width:1099px){
  .v86-th, .v86-row{ grid-template-columns:44px minmax(0,2.4fr) minmax(0,1.2fr) minmax(0,1.1fr) 100px 52px; }
  .v86-g, .v86-o{ display:none!important; }
}
@media (max-width:700px){
  .v86-lib{ padding:16px 14px 110px; }
  .v86-lib h2{ font-size:24px; }
  .v86-th{ display:none; }
  .v86-row{ grid-template-columns:40px minmax(0,1fr) 44px; row-gap:0; padding:8px 4px; }
  .v86-row .v86-b, .v86-row .v86-s, .v86-row .v86-dt, .v86-g, .v86-o{ display:none!important; }
  .v86-row .v86-nm small{ display:block; }
  .v86-tabs{ flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; margin-right:-14px; }
}

/* kiosk, card and print: nothing here touches them (colours and fonts stay pinned in v85.css) */

/* ---- EDITOR ---- */
:root{ --navy:#1C2266; --navy-dk:#050841; --navy-lt:#262E7C; --maroon:#1C2266; --maroon-dk:#050841; --maroon-lt:#262E7C; --charcoal:#050841; --charcoal2:#1C2266; }
/* tab row on top, as a segmented bar */
#tabs{ position:fixed!important; top:60px; bottom:auto!important; left:0!important; right:0; z-index:49; background:#fff!important; border-top:0!important; border-bottom:1px solid var(--x-line); padding-bottom:0; justify-content:flex-start; overflow-x:auto; }
body.v85-editing #tabs{ display:flex; }
body.v85-editing #screen{ padding-top:64px; }
body.v85-editing #v86-search-wrap, body.v85-editing #v86-new{ }
@media (max-width:700px){ body.v85-editing #v86-search-wrap{ display:none; } body.v85-editing #v86-tools{ justify-content:flex-end; } }
#tabs button{ flex:1 0 auto; min-width:76px; height:48px; padding:0 16px; flex-direction:row; justify-content:center; display:block; text-transform:none; letter-spacing:0; font-size:15px; font-weight:500; color:var(--x-fg)!important; border-top:0!important; border-bottom:3px solid transparent; }
#tabs button .ic{ display:none; }
#tabs button.on{ color:var(--x-navy)!important; font-weight:700; border-bottom-color:var(--x-accent); }
/* the save button floats bottom-right, full width on a phone */
#savebar{ bottom:calc(14px + env(safe-area-inset-bottom))!important; left:0!important; right:0; max-width:none!important; padding:0 18px; pointer-events:none; text-align:right; }
#savebar button{ width:auto!important; min-width:190px; pointer-events:auto; background:var(--x-accent)!important; color:#fff!important; border:0!important; border-radius:24px!important; padding:13px 26px!important; font-size:15px!important; font-weight:500!important; letter-spacing:0!important; box-shadow:0 6px 18px rgba(5,8,65,.22)!important; }
@media (max-width:700px){ #savebar{ padding:0 14px; } #savebar button{ width:100%!important; } }
/* split view */
body.v86-split-on #screen{ max-width:none; padding:48px 0 0!important; }
.v86-split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); height:calc(100vh - 108px); }
.v86-pane{ overflow:auto; padding:18px 22px 110px; border-right:1px solid var(--x-line); min-width:0; }
.v86-pane:last-child{ border-right:0; }
body.v85-editing:not(.v86-split-on) #screen{ max-width:960px; }
/* fields in the editor: Meez-like labels and flat inputs */
body.v85-editing #screen label{ font-size:12px; font-weight:500; color:var(--x-fg-3); }
body.v85-editing #screen input[type=text], body.v85-editing #screen input[type=number], body.v85-editing #screen select, body.v85-editing #screen textarea{ border-radius:4px; border-color:var(--x-line); font-family:var(--x-f-body); }
@media (max-width:700px){ #tabs button{ min-width:0; padding:0 11px; font-size:14px; } }

/* ---- ADMIN HUB ---- */
.v86-hub{ display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:16px; margin-top:22px; }
.v86-card{ background:#fff; border:1px solid var(--x-line); border-radius:8px; padding:20px; cursor:pointer; display:grid; gap:10px; align-content:start; }
.v86-card:hover{ border-color:var(--x-line-2); box-shadow:0 4px 18px rgba(5,8,65,.07); }
.v86-card-h{ display:flex; align-items:center; gap:12px; font-size:19px; font-weight:700; }
.v86-card-i{ width:40px; height:40px; border-radius:20px; background:var(--x-chip-on); display:flex; align-items:center; justify-content:center; font-size:18px; }
.v86-card p{ margin:0; font-size:14px; line-height:1.5; color:var(--x-fg-2); }
.v86-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.v86-tag{ height:30px; padding:0 12px; border-radius:15px; border:1px solid var(--x-line); background:#fff; color:var(--x-blue); font-size:13px; font-weight:500; cursor:pointer; }
.v86-tag:hover{ background:var(--x-chip-on); }

/* ---- admin module screens: same navy family, full width ---- */
html body .cf-full[data-mod], html body .cf-full{ --mod:#1C2266; --mod-dk:#050841; --mod-tint:#E9ECFB; --mod-ground:#FAFAFA; }
.cf-full .adm-body{ max-width:1280px; }
.cf-full .modal-head{ background:#1C2266!important; }
.cf-full .cf-tab{ border-radius:17px; font-weight:500; }

/* ---- Menu Engineering and the triage board: same family, same colours ---- */
#menueng-screen{ background:#FAFAFA; }
.me-scope{ --me-cream:#FAFAFA; --me-teal:#1C2266; --me-teal-lt:#E9ECFB; --me-gold:#B3123E; font-family:var(--x-f-body); }
.me-btn-primary{ color:#fff; }
.me-btn, .me-close{ border-radius:20px; }
.me-rtab{ border-radius:20px; }
#triage-screen{ background:#FAFAFA; }

/* ---- editor actions in the top bar ---- */
#v86-ed{ display:none; align-items:center; gap:10px; }
.v86-done{ height:38px; padding:0 22px; border:0; border-radius:19px; background:#1FA57A; color:#fff; font-size:15px; font-weight:500; cursor:pointer; }
.v86-subm{ height:38px; padding:0 20px; border:0; border-radius:19px; background:var(--x-navy); color:#fff; font-size:15px; font-weight:500; cursor:pointer; white-space:nowrap; }
.v86-subm .v86-sm{ display:none; }
body.v85-editing #v86-new{ display:none!important; }
@media (max-width:700px){
  .v86-subm .v86-lg{ display:none; } .v86-subm .v86-sm{ display:inline; }
  .v86-done, .v86-subm{ padding:0 14px; }
  body.v85-editing #v86-bell, body.v85-editing #v86-help{ display:none; }
}

/* ---- ASSISTANT ---- */
.v86-aib{ height:38px; padding:0 16px; border-radius:19px; border:1.5px solid var(--x-navy); background:#fff; color:var(--x-navy); font-size:15px; font-weight:500; cursor:pointer; white-space:nowrap; }
.v86-aib:hover{ background:var(--x-chip); }
body.v86-asst-on .v86-aib{ background:var(--x-navy); color:#fff; }
#v86-asst{ position:fixed; top:0; right:0; bottom:0; width:420px; max-width:100%; z-index:200; background:#fff; border-left:1px solid var(--x-line); box-shadow:-8px 0 28px rgba(5,8,65,.12); display:none; flex-direction:column; font-family:var(--x-f-body); color:var(--x-fg); }
#v86-asst.on{ display:flex; }
.v86-a-h{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid var(--x-hair); }
.v86-a-badge{ width:34px; height:34px; border-radius:17px; background:var(--x-accent); color:#fff; font-weight:700; font-size:14px; display:flex; align-items:center; justify-content:center; flex:none; }
.v86-a-t{ flex:1; min-width:0; display:grid; }
.v86-a-t b{ font-size:17px; font-weight:700; }
.v86-a-t span{ font-size:12px; color:var(--x-fg-2); }
.v86-a-x{ width:44px; height:44px; border:0; background:none; font-size:26px; color:var(--x-navy); cursor:pointer; border-radius:22px; }
.v86-a-x:hover{ background:var(--x-chip); }
.v86-a-body{ flex:1; overflow:auto; padding:16px; display:flex; flex-direction:column; gap:12px; }
.v86-a-hello{ color:var(--x-fg-2); font-size:15px; line-height:1.5; }
.v86-a-u{ align-self:flex-end; max-width:82%; background:var(--x-navy); color:#fff; border-radius:16px 16px 4px 16px; padding:10px 14px; font-size:15px; font-weight:400; }
.v86-a-m{ align-self:flex-start; max-width:94%; background:var(--x-surface-2); border-radius:16px 16px 16px 4px; padding:12px 14px; font-size:15px; font-weight:400; line-height:1.5; }
.v86-a-m.err{ background:#FDE6E8; color:#8A1030; }
.v86-a-wait{ color:var(--x-fg-2); }
.v86-a-res{ display:grid; gap:8px; margin-top:10px; }
.v86-a-hit{ display:flex; align-items:center; gap:10px; text-align:left; background:#fff; border:1px solid var(--x-line); border-radius:6px; padding:10px 12px; cursor:pointer; font-size:14px; }
.v86-a-hit:hover{ border-color:var(--x-line-2); }
.v86-a-hit .n{ flex:1; min-width:0; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.v86-a-hit .s{ font-size:12px; color:var(--x-fg-2); white-space:nowrap; }
.v86-a-hit .o{ font-size:13px; color:var(--x-blue); font-weight:500; }
.v86-a-none, .v86-a-more{ margin-top:8px; font-size:13px; color:var(--x-fg-2); }
.v86-a-lib{ margin-top:10px; background:none; border:0; padding:6px 0; color:var(--x-blue); font-size:14px; font-weight:500; cursor:pointer; }
.v86-a-chips{ display:flex; flex-wrap:wrap; gap:8px; padding:0 16px 8px; }
.v86-a-chips button{ height:34px; padding:0 14px; border-radius:17px; border:1px solid var(--x-line); background:#fff; font-size:13px; font-weight:500; color:var(--x-fg); cursor:pointer; }
.v86-a-chips button:hover{ background:var(--x-chip-on); }
.v86-a-in{ margin:8px 16px 16px; display:flex; align-items:center; gap:10px; height:48px; padding:0 8px 0 16px; border:1px solid var(--x-line); border-radius:24px; background:#fff; }
.v86-a-in:focus-within{ border-color:var(--x-blue); }
.v86-a-in input{ flex:1; min-width:0; border:0; outline:0!important; font-size:15px; background:transparent; }
.v86-a-in button{ width:34px; height:34px; border-radius:17px; border:0; background:var(--x-accent); color:#fff; font-size:17px; cursor:pointer; }
@media (max-width:700px){
  #v86-asst{ top:auto; width:100%; height:88vh; border-left:0; border-radius:16px 16px 0 0; box-shadow:0 -8px 28px rgba(5,8,65,.2); z-index:300; }
  .v86-aib{ padding:0 12px; }
}

/* ---- fixes found in screenshots ---- */
.v86-a-body{ overflow-x:hidden; }
.v86-a-m, .v86-a-u{ min-width:0; overflow-wrap:anywhere; }
.v86-a-res{ grid-template-columns:minmax(0,1fr); }
.v86-a-hit{ min-width:0; width:100%; box-sizing:border-box; }
@media (max-width:700px){
  #topbar{ position:sticky; }
  .v86-search{ flex:none!important; width:40px!important; height:40px; padding:0 11px; border-radius:20px; cursor:pointer; }
  .v86-search input{ width:0; padding:0; }
  .v86-search:focus-within{ position:absolute; left:64px; right:10px; width:auto!important; z-index:5; padding:0 14px; border-radius:4px; background:#fff; }
  .v86-search:focus-within input{ width:100%; }
  #v86-tools{ justify-content:flex-end; }
}
