/* ============================================================
   ops.css — the shared look of every Craftsman Management System page.
   Page-specific rules stay in the page's own <style> block.

   The look is the hotel manager's portal (Sunny, Nov 2026: "keep 80% of his look"): a cream
   page, white cards, navy ink, one gold accent, serif titles. The Craftsman wordmark itself
   stays black — it is used in black and white only (Sunny, 2 Oct 2026) — so the gold lives in
   the chrome around it (the current tab, the rail's labels, the one "add" button), never in
   the mark. Status colours are kept for what they mean, tuned to sit on cream.

   The variable names are the old ones plus his; every class name of the old sheet still
   works. Note the two lines: --line2 is OUR light hairline (between rows), --line-2 is HIS
   stronger border (buttons, pills). Same idea as Freshy's spa.css: same header, buttons and
   slide-over sheet on every page.
   ============================================================ */
:root{
  color-scheme: light;
  /* his palette */
  --bg:#F6F4EF; --surface:#fff; --surface-2:#EAE6DC;
  --ink:#1B2A41; --muted:#566274; --line:#DAD6CA; --line-2:#BFBAAC;
  --accent:#C9A66B; --accent-ink:#1B2A41; --accent-text:#86652B; --accent-soft:#F0E4CC;
  --crit:#b3261e;
  --shadow-1:0 1px 2px rgba(27,42,65,.06); --shadow-2:0 2px 8px rgba(27,42,65,.09);
  --ring:0 0 0 3px rgba(201,166,107,.40);
  --serif:"EB Garamond","Noto Sans Thai",Garamond,Georgia,serif;
  --sans:"DM Sans","Noto Sans Thai",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  /* the old names, mapped onto it */
  --soft:#7d8592; --line2:#E8E4DA; --shade:#EFECE4;
  --card:#fff; --dark:#1B2A41;
  --bad:#b3261e; --ok:#1f7a4d; --warn:#9a5f00; --info:#2f5fa8;
  --r:10px;
  --ctl:38px;                 /* every control on a sheet is this tall */
  /* the shell (mountNav): header rows and the left rail */
  --ops-top:62px; --ops-tabs:42px; --ops-head:calc(var(--ops-top) + var(--ops-tabs) + 1px);   /* + the header's bottom line */ --rail:188px;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--sans);
  font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--serif);font-weight:400}
[x-cloak]{display:none!important}
.wrap{display:flex;flex-direction:column;height:100vh;height:100dvh}
.spacer{flex:1}
.muted{color:var(--muted)}
.num{font-variant-numeric:tabular-nums}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- header (ops-controls.js → mountNav) ----------
   Two rows on a computer: the brand with the person's corner, then the group tabs. The left
   rail lists the modules of the current group. The rail is fixed to the viewport under the
   header and the page beside it is padded by its width, so no page had to change its markup:
   every page is still .wrap > #appnav + its content, and the content keeps its own scroll. */
.apphead{flex:0 0 auto;background:var(--bg);border-bottom:1px solid var(--line)}
.ops-top{display:flex;align-items:center;gap:16px;padding:0 20px;height:var(--ops-top)}
.logomark{display:flex;align-items:center;gap:12px;line-height:1;text-decoration:none;color:var(--ink);min-width:0}
/* CRAFTSMAN alone (6.746 : 1) — the BANGKOK line was cut for the screen, where it was 4px of
   grey fuzz (Sunny, 2 Oct 2026). The letters are drawn from fine parallel lines that close up
   when small, so this is about the smallest it goes. Width is stated, not left to the SVG:
   an image with no size makes the header jump as it loads. */
.logoimg{height:22px;width:148px;display:block}
.logomark .ops-bt{display:flex;flex-direction:column;gap:3px;padding-left:12px;border-left:1px solid var(--line-2)}
.logomark .ops-bn{font-family:var(--serif);font-size:22px;font-weight:400;line-height:1;white-space:nowrap}
/* which build is on screen — quiet enough to ignore, there when it matters */
.logomark .ver{font-size:9.5px;font-weight:600;color:var(--soft);letter-spacing:.4px;
  font-variant-numeric:tabular-nums;white-space:nowrap}
.logomark .ver.stale{color:var(--bad);font-weight:700}
/* the right-hand cluster: date · person (or desk) · [room for one more icon button] · Sign out */
.ops-right{margin-left:auto;display:flex;align-items:center;gap:10px;min-width:0}
.ops-date{display:inline-flex;align-items:center;padding:3px 11px;border:1px solid var(--line-2);border-radius:999px;
  background:var(--surface);font-size:12px;color:var(--muted);white-space:nowrap}
.ops-date b{color:var(--ink);font-weight:600;margin-right:5px}
.user{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}

/* the group tabs: gold underline on the current one */
.ops-gtabs{display:flex;gap:2px;padding:0 12px;height:var(--ops-tabs);overflow-x:auto;scrollbar-width:none}
.ops-gtabs::-webkit-scrollbar{display:none}
.ops-gtab{display:flex;align-items:center;padding:0 14px;color:var(--muted);text-decoration:none;font-weight:600;
  font-size:13.5px;white-space:nowrap;border:0;border-bottom:3px solid transparent;background:none;
  font-family:inherit;cursor:pointer;margin-bottom:-1px}
.ops-gtab:hover{color:var(--ink)}
.ops-gtab[aria-current="page"],.ops-gtab.on{color:var(--ink);border-bottom-color:var(--accent)}
.ops-gtab.planned{color:var(--soft);font-weight:500}

/* the rail */
.ops-rail{display:none}
.wrap.has-rail{padding-left:var(--rail)}
.wrap.has-rail > #appnav{margin-left:calc(-1 * var(--rail))}
.wrap.has-rail > .ops-rail{display:flex;flex-direction:column;gap:3px;position:fixed;left:0;top:var(--ops-head);bottom:0;
  width:var(--rail);padding:16px 10px 20px 12px;overflow-y:auto;background:var(--bg);border-right:1px solid var(--line);z-index:5}
.ops-rsec{margin:2px 0 6px;padding:0 12px;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--accent-text)}
.ops-ri{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;color:var(--muted);
  text-decoration:none;font-weight:500;font-size:13.5px;line-height:1.25}
a.ops-ri:hover{background:var(--surface);color:var(--ink)}
a.ops-ri[aria-current="page"]{background:var(--ink);color:#fff;box-shadow:inset 3px 0 0 var(--accent)}
/* ?menu=plan only: a module that is not built yet. Never shown otherwise (no placeholders). */
.ops-ri.planned{color:var(--soft);cursor:default;font-weight:400}
.ops-rail .ops-ri.planned small{display:none}   /* 188px: the label wraps with it; muted is enough */
.ops-ri.planned small{margin-left:auto;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;
  border:1px solid var(--line);border-radius:999px;padding:0 6px}

/* the phone's menu button and drawer */
.ops-menu{display:none;flex:0 0 auto;width:36px;height:36px;border:1px solid var(--line-2);border-radius:8px;
  background:var(--surface);cursor:pointer;padding:0;align-items:center;justify-content:center}
.ops-menu i{display:block;width:16px;height:2px;background:var(--ink);border-radius:1px;box-shadow:0 -5px 0 var(--ink),0 5px 0 var(--ink)}
#ops-drawer{position:fixed;inset:0;z-index:300}
#ops-drawer .dr-bg{position:absolute;inset:0;background:rgba(27,42,65,.32)}
#ops-drawer .dr{position:absolute;top:0;left:0;bottom:0;width:min(300px,86vw);background:var(--bg);overflow-y:auto;
  box-shadow:10px 0 34px rgba(27,42,65,.18);padding:14px 12px 28px;display:flex;flex-direction:column;gap:3px}
#ops-drawer .dr-h{display:flex;align-items:center;gap:10px;padding:2px 4px 14px;margin-bottom:6px;border-bottom:1px solid var(--line)}
#ops-drawer .dr-h .logomark{flex-direction:column;align-items:flex-start;gap:4px}
#ops-drawer .dr-h .logoimg{height:18px;width:121px}
#ops-drawer .dr-h .ops-bn{display:block;font-family:var(--serif);font-size:19px;line-height:1}
#ops-drawer .dr-h .ops-bt{display:flex;border-left:0;padding-left:0}
#ops-drawer .dr-h .ver{display:block}
#ops-drawer .dr-h .logoimg{max-width:none}
#ops-drawer .dr-x{margin-left:auto;border:0;background:none;font-size:22px;line-height:1;color:var(--muted);
  cursor:pointer;padding:6px 8px;border-radius:8px;font-family:inherit}
#ops-drawer .ops-rsec{margin-top:12px}
#ops-drawer .ops-rsec:first-of-type{margin-top:2px}

/* a narrow computer or tablet: the date goes first, then the desk's email */
@media (max-width:1100px){ .ops-date{display:none} }
@media (max-width:920px){ .user.desk .dk-mail{display:none} }
@media (max-width:760px){
  /* one compact row: menu · logo · the desk's person and Lock · Sign out. The tabs and the
     rail live in the drawer; nine tabs scrolling sideways on a phone is a worse menu. */
  :root{--ops-top:52px}
  .ops-top{gap:8px;padding:0 10px}
  .ops-menu{display:inline-flex}
  .ops-gtabs,.wrap.has-rail > .ops-rail{display:none}
  .wrap.has-rail{padding-left:0}
  .wrap.has-rail > #appnav{margin-left:0}
  .logomark{flex:0 1 auto;min-width:64px}
  .logomark .ops-bt{border-left:0;padding-left:0}
  .logomark .ops-bn,.logomark .ver:not(.stale){display:none}
  .ops-top .logoimg{height:auto;width:100%;max-width:121px;aspect-ratio:6.746}
  .ops-right{gap:6px;flex:0 0 auto}
  .ops-date{display:none}
  .user{display:none}
}

/* ---------- the shared desk: who is in, and the PIN window ----------
   On the front office computer the login is nobody; the person is whoever entered their PIN
   (ops-controls.js, `desk`). Their nickname is the loudest thing in the header on purpose:
   whoever sits down next must see at a glance whose name their clicks would carry. */
.user.desk{display:flex;align-items:center;gap:8px;overflow:visible}
.user.desk .dk-mail{color:var(--soft)}
.user.desk .dk-who{color:var(--ink);font-weight:700;font-size:13px;padding:3px 11px;border-radius:999px;
  background:var(--accent-soft);border:1px solid var(--accent)}
@media (max-width:760px){
  .user.desk{display:flex;gap:6px}
  .user.desk .dk-mail{display:none}
  .user.desk .dk-who{padding:3px 9px;max-width:96px;overflow:hidden;text-overflow:ellipsis}
}
#ops-pin{position:fixed;inset:0;z-index:2000;background:rgba(27,42,65,.42);display:flex;
  align-items:center;justify-content:center;padding:16px;outline:none}
#ops-pin .pin-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;
  box-shadow:0 20px 60px rgba(27,42,65,.28);width:100%;max-width:320px;padding:22px 22px 14px;text-align:center}
#ops-pin .pin-t{font-family:var(--serif);font-size:24px;font-weight:400;line-height:1.15}
#ops-pin .pin-s{font-size:12px;color:var(--muted);margin-top:4px}
#ops-pin .pin-dots{display:flex;justify-content:center;gap:14px;margin:18px 0 6px}
#ops-pin .pin-dots i{width:14px;height:14px;border-radius:50%;border:2px solid var(--ink);display:block}
#ops-pin .pin-dots i.on{background:var(--accent);border-color:var(--accent-text)}
#ops-pin .pin-msg{min-height:20px;font-size:12.5px;color:var(--muted)}
#ops-pin .pin-msg.bad{color:var(--bad);font-weight:600}
#ops-pin .pin-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}
#ops-pin .pin-pad button{height:52px;border:1px solid var(--line);background:var(--surface);border-radius:10px;
  font-family:inherit;font-size:20px;font-weight:600;color:var(--ink);cursor:pointer;box-shadow:var(--shadow-1)}
#ops-pin .pin-pad button:hover{background:var(--bg);border-color:var(--line-2)}
#ops-pin .pin-pad button:active{background:var(--accent-soft)}
#ops-pin .pin-pad .pin-x{font-size:13px;font-weight:500;color:var(--muted);box-shadow:none;background:var(--bg)}
#ops-pin .pin-f{font-size:11px;color:var(--soft);margin-top:12px}
#ops-pin .shake{animation:pinshake .3s}
@keyframes pinshake{20%,60%{transform:translateX(-8px)}40%,80%{transform:translateX(8px)}}

/* ---------- buttons ----------
   .dark is navy — saving, confirming. .gold is the one "add something new" button of a page. */
.btn{border:1px solid var(--line-2);background:var(--surface);border-radius:8px;padding:8px 14px;cursor:pointer;
  font-size:13px;font-weight:500;color:var(--ink);font-family:inherit;text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;
  box-shadow:var(--shadow-1);transition:background-color .12s,border-color .12s}
.btn:hover{background:var(--surface-2);border-color:var(--ink)}
.btn:focus-visible{outline:none;box-shadow:var(--ring)}
.btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.btn:disabled:hover{background:var(--surface);border-color:var(--line-2)}
.btn.dark{background:var(--dark);border-color:var(--dark);color:#fff;font-weight:600}
.btn.dark:hover:not(:disabled){background:#2A3D5C;border-color:#2A3D5C}
.btn.dark:disabled:hover{background:var(--dark);border-color:var(--dark)}
.btn.gold{background:var(--accent);border-color:#B5924F;color:var(--accent-ink);font-weight:600;
  box-shadow:0 1px 0 rgba(255,255,255,.35) inset,var(--shadow-1)}
.btn.gold:hover:not(:disabled){background:#D6B67C;border-color:#A8853F}
.btn.sm{padding:5px 10px;font-size:12px;border-radius:7px}
.btn.danger{color:var(--bad)}
.btn.danger:hover{border-color:var(--bad);background:#fbefee}
.seg{display:flex;border:1px solid var(--line-2);border-radius:8px;overflow:hidden;height:var(--ctl);background:var(--surface)}
.seg button{flex:1;border:0;background:var(--surface);padding:0 12px;cursor:pointer;font-size:12.5px;
  font-weight:600;color:var(--muted);font-family:inherit;white-space:nowrap}
.seg button:hover{color:var(--ink);background:var(--bg)}
.seg button + button{border-left:1px solid var(--line)}
.seg button.on{background:var(--ink);color:#fff}

/* ---------- status chips ----------
   Colour means status. Found is amber because it is the one that needs somebody to do
   something: the item is not in the front office yet. */
.chip{display:inline-block;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:700;
  background:var(--surface-2);color:var(--muted);white-space:nowrap}
.chip.found{background:#f7e6c2;color:var(--warn)}
.chip.stored{background:#e1e8f4;color:var(--info)}
.chip.returned{background:#dcede2;color:var(--ok)}
.chip.disposed{background:var(--surface-2);color:var(--muted)}
.chip.void{background:var(--surface-2);color:var(--soft);text-decoration:line-through}

/* ---------- notices ---------- */
.errbar{background:#fbefee;border:1px solid #eccbc8;color:#8f2019;border-radius:10px;
  padding:10px 13px;font-size:12.5px}
.note{background:var(--accent-soft);border:1px solid #e3d2ae;color:var(--ink);border-radius:10px;
  padding:10px 13px;font-size:12.5px}
.warn{color:var(--bad);font-size:12.5px}

/* ---------- slide-over sheet ----------
   Rules settled on Freshy's Sell-a-voucher sheet (16 Sep 2026) and kept here:
   one thing per row · a label sits 4px above its own control and 13px below the row before ·
   a hairline under each row · every control one height · the button lives on the bottom
   panel, which never scrolls away. */
.sheetbg{position:fixed;inset:0;background:rgba(27,42,65,.3);z-index:110}
.sheet{position:fixed;top:0;right:0;bottom:0;width:460px;max-width:100vw;background:var(--surface);z-index:120;
  box-shadow:-10px 0 34px rgba(27,42,65,.18);display:flex;flex-direction:column;overflow:hidden}
.sheet .sh{padding:13px 18px;border-bottom:1px solid var(--line);display:flex;gap:11px;
  align-items:center;background:var(--bg);flex:0 0 auto}
.sheet .sh h2{margin:0;font-family:var(--serif);font-size:22px;font-weight:400;line-height:1.15}
.sheet .sb{flex:1;overflow:auto;padding:4px 18px 18px}
.sheet .sf{padding:12px 18px;border-top:1px solid var(--line);display:flex;gap:8px;
  align-items:center;background:var(--bg);flex:0 0 auto;flex-wrap:wrap}
.frow{padding:13px 0;border-bottom:1px solid var(--line2)}
.frow:last-child{border-bottom:0}
.frow > label,.flabel{display:block;font-size:10.5px;font-weight:700;letter-spacing:.6px;
  text-transform:uppercase;color:var(--soft);margin-bottom:4px}
.frow .hint{font-size:11.5px;color:var(--muted);margin-top:5px}
.req{color:var(--bad)}
.ctl,.frow input[type=text],.frow input[type=search],.frow input[type=datetime-local],
.frow input[type=email],.frow input[type=password],.frow select{
  height:var(--ctl);width:100%;min-width:0;border:1px solid var(--line-2);border-radius:8px;
  padding:0 11px;font-size:13px;font-family:inherit;color:var(--ink);background:var(--surface)}
.frow textarea{width:100%;min-height:64px;border:1px solid var(--line-2);border-radius:8px;
  padding:9px 11px;font-size:13px;font-family:inherit;color:var(--ink);background:var(--surface);resize:vertical}
.frow input:focus,.frow select:focus,.frow textarea:focus,.ctl:focus{outline:none;border-color:var(--accent);
  box-shadow:var(--ring)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.two > *{min-width:0}
/* what replaces a search box once something is chosen — the same height, so the row does
   not jump when it is filled in */
.picked{height:var(--ctl);border:1px solid var(--line);border-radius:8px;padding:0 6px 0 11px;
  display:flex;align-items:center;gap:8px;background:var(--accent-soft);font-weight:600}
.picked .sub{font-weight:400;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.picked button{margin-left:auto;border:0;background:none;cursor:pointer;color:var(--muted);
  font-size:14px;padding:6px 8px;border-radius:7px;font-family:inherit}
.picked button:hover{background:rgba(27,42,65,.08);color:var(--ink)}
.results{margin-top:6px;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:var(--shadow-2)}
.results button{display:flex;gap:8px;align-items:baseline;width:100%;text-align:left;border:0;
  background:var(--surface);padding:8px 11px;cursor:pointer;font-family:inherit;font-size:13px;color:var(--ink)}
.results button + button{border-top:1px solid var(--line2)}
.results button:hover{background:var(--bg)}
.results .sub{color:var(--muted);font-size:12px}
.quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.quick button{border:1px solid var(--line-2);background:var(--surface);border-radius:999px;padding:5px 11px;
  cursor:pointer;font-family:inherit;font-size:12px;color:var(--ink)}
.quick button:hover{border-color:var(--ink)}

/* ---------- centred panels ---------- */
.center{flex:1;display:flex;align-items:center;justify-content:center;padding:20px;background:var(--bg)}
.loginbox{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-2);
  padding:30px 26px 24px;width:100%;max-width:340px;display:flex;flex-direction:column}
.loginbox .logoimg{height:30px;width:202px;margin:0 auto 10px}
.loginbox .sub{text-align:center;font-family:var(--serif);font-size:22px;line-height:1.1;color:var(--ink);
  margin-bottom:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.loginbox .frow{border-bottom:0;padding:7px 0}
.loginbox .btn{margin-top:10px;height:var(--ctl)}
.spin{width:24px;height:24px;border:3px solid var(--line);border-top-color:var(--accent);
  border-radius:50%;animation:ops-sp .8s linear infinite}
@keyframes ops-sp{to{transform:rotate(360deg)}}
.empty{padding:56px 20px;text-align:center;color:var(--muted)}
.empty b{display:block;color:var(--ink);font-family:var(--serif);font-size:20px;font-weight:400;margin-bottom:4px}

/* ---------- toast (mounted by ops-controls.js) ---------- */
.ops-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--dark);
  color:#fff;padding:10px 17px;border-radius:10px;z-index:400;font-size:13px;max-width:86vw;
  text-align:center;box-shadow:0 10px 26px rgba(27,42,65,.3);border-bottom:3px solid var(--accent)}
.ops-toast.bad{background:var(--bad);border-bottom-color:#7d1a15}

/* ---------- 🔧 the request desk: the header button and its sheet (ops-controls.js) ----------
   The button sits between the person and Sign out, the slot kept for it. The count lives
   INSIDE the button (a badge hanging off a corner is clipped by the header's overflow), in the
   brown-gold of the rail labels, not red: it is seen all day and nothing in it is an emergency. */
.ops-dev{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;height:29px;padding:0 9px;border:1px solid var(--line-2);
  border-radius:7px;background:var(--surface);cursor:pointer;font-family:inherit;font-size:14px;line-height:1;color:var(--ink);
  box-shadow:var(--shadow-1)}
.ops-dev:hover{border-color:var(--ink);background:var(--surface-2)}
.ops-dev:focus-visible{outline:none;box-shadow:var(--ring)}
.ops-devn{font-size:10.5px;font-weight:700;line-height:1.25;background:var(--accent-text);color:#fff;border-radius:999px;
  padding:1px 6px;font-variant-numeric:tabular-nums}
.ops-devn[hidden]{display:none}
@media (max-width:760px){ .ops-dev{padding:0 7px} }

/* the two sheets of the shell sit above any page's own sheet (110/120), under the PIN window */
#ops-devbox .sheetbg,#ops-guide .sheetbg{z-index:130}
#ops-devbox .sheet,#ops-guide .sheet{z-index:140}
#ops-devbox[hidden]{display:none}
.devsheet .frow textarea{min-height:0}
.dv-drop{border:1.5px dashed var(--line-2);border-radius:10px;padding:14px 12px;text-align:center;cursor:pointer;
  color:var(--muted);font-size:12px;background:var(--bg);line-height:1.5}
.dv-drop b{display:block;color:var(--ink);font-weight:600;font-size:13px}
.dv-drop:hover,.dv-drop.over{border-color:var(--accent);background:var(--accent-soft)}
.dv-drop:focus-visible{outline:none;box-shadow:var(--ring)}
.dv-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.dv-thumbs:not(:empty){margin-top:8px}
.dv-thumbs .t{position:relative;width:76px;height:58px;border-radius:8px;border:1px solid var(--line);background:var(--shade) center/cover}
.dv-thumbs .t button{position:absolute;top:-7px;right:-7px;width:22px;height:22px;border-radius:50%;border:1px solid var(--line-2);
  background:var(--surface);font-size:11px;line-height:1;cursor:pointer;color:var(--muted);padding:0;font-family:inherit}
.dv-auto{font-size:11px;color:var(--soft);line-height:1.5;overflow-wrap:anywhere}
.devsheet .errbar{margin-top:10px}
.dv-link{font-size:12.5px;color:var(--accent-text);font-weight:600;text-decoration:none}
.dv-link:hover{text-decoration:underline}

/* ---------- the built-in guide: "? คู่มือ · Guide" bottom right, as the portal's ---------- */
.ops-guide-btn{position:fixed;right:16px;bottom:16px;z-index:90;display:inline-flex;align-items:center;gap:7px;
  border:1px solid var(--accent);background:var(--ink);color:#fff;border-radius:999px;padding:7px 14px 7px 8px;
  font:600 12.5px var(--sans);cursor:pointer;box-shadow:0 4px 14px rgba(27,42,65,.18)}
.ops-guide-btn .q{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;
  background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:12px}
.ops-guide-btn .en{font-weight:500;opacity:.8}
.ops-guide-btn:hover{background:#2A3D5C}
.ops-guide-btn:focus-visible{outline:none;box-shadow:var(--ring)}
@media (max-width:760px){
  .ops-guide-btn{right:12px;bottom:12px;padding:6px 11px 6px 6px}
  .ops-guide-btn .en{display:none}
}
.sheet.guide{width:540px}
.sheet.guide .sh h2 .en{display:block;font-family:var(--sans);font-size:12px;color:var(--muted);margin-top:2px}
.sheet.guide .sb{padding:14px 20px 22px;font-size:14px;line-height:1.6}
.sheet.guide .en{display:block;font-size:12.5px;color:var(--muted);line-height:1.5;margin-top:1px}
.sheet.guide .gd-intro{margin:0 0 4px}
.sheet.guide h3{margin:18px 0 8px;font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--accent-text)}
.sheet.guide h3 .en{display:inline;margin-left:6px;font-size:11px;letter-spacing:.06em;color:var(--soft)}
.sheet.guide ol,.sheet.guide ul{margin:0;padding-left:22px;display:grid;gap:9px}
.sheet.guide .gd-who{margin-top:18px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.sheet.guide .gd-who b{display:block;font-size:10.5px;letter-spacing:.6px;text-transform:uppercase;color:var(--soft);margin-bottom:3px}
@media print{ .ops-guide-btn,.ops-dev,#ops-devbox,#ops-guide{display:none!important} }
