:root {
  --bg: #0E1116;
  --bg-2: #14181F;
  --bg-3: #10141A;
  --card: #171B22;
  --line: #232830;
  --line-2: #262C35;
  --txt: #ffffff;
  --txt-2: #C9D2DE;
  --txt-3: #8A93A0;
  --txt-4: #5A626E;
  --accent: #61BAA8;        /* Imprion tirkizna (poenoteno z ikonami) */
  --green: #61BAA8;         /* Imprion tirkizna */
  --green-bg: #13261F;
  --amber: #F4C775;
  --amber-bg: #2A2113;
  --blue: #85B7EB;
  --blue-bg: #102236;
  /* stanja artiklov (za teme) */
  --ready-fg: #5DCAA5; --ready-bg: #13261F;
  --prep-fg: #F4C775;  --prep-bg: #2A2113;
  --new-fg: #8A93A0;   --new-bg: #1B2129;  --new-dot: #5A626E;
  --storno: #F09595;      /* stornirano (preklic) */
  --surface-2: #1B2129;   /* gumbi/vnosi temno */
  --input-bg: #11151B;
  --card-scale: 1;        /* velikost kartic (admin → Prikaz) */
  --btn-scale: 1;         /* velikost gumbov na karticah */
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================ SVETLA TEMA (Imprion v2.imprion.dev) ============================ */
html[data-theme="light"] {
  --bg: #eef3f4;
  --bg-2: #ffffff;
  --bg-3: #e8f2f3;
  --card: #ffffff;
  --line: #e3e8ea;
  --line-2: #e8ebed;
  --txt: #1c3540;        /* ink */
  --txt-2: #4a6470;      /* slate */
  --txt-3: #6c7a80;      /* muted */
  --txt-4: #98a3a8;
  --green: #4fa896;
  --green-bg: #eff8f6;   /* primary-tint */
  --amber: #b8791a;
  --amber-bg: #fdf3e0;
  --blue: #2f73c9;
  --blue-bg: #e6eef9;
  --ready-fg: #4fa896; --ready-bg: #eff8f6;
  --prep-fg: #b8791a;  --prep-bg: #fdf3e0;
  --new-fg: #6c7a80;   --new-bg: #eef2f3;  --new-dot: #b6bdc0;
  --storno: #d0454f;
  --surface-2: #f4f7f7;
  --input-bg: #ffffff;
}
/* komponentni popravki za svetlo temo (trdo kodirana temna ozadja → svetla) */
html[data-theme="light"] .iconbtn { background: var(--bg-3); }
html[data-theme="light"] .iconbtn#rem.on { background: var(--amber-bg); }
html[data-theme="light"] .tab { background: #fff; border: 1px solid var(--line); }
html[data-theme="light"] .tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
html[data-theme="light"] .ticket { box-shadow: 0 1px 3px #1c35400f; }
html[data-theme="light"] .t-items::-webkit-scrollbar-thumb { background: #cfd8da; }
html[data-theme="light"] .otype.dine { background: var(--blue-bg); color: var(--blue); }
html[data-theme="light"] .otype.pickup { background: var(--amber-bg); color: var(--amber); }
html[data-theme="light"] .course-block { border-top-color: var(--line); }
html[data-theme="light"] .course-h { color: var(--txt-3); }
html[data-theme="light"] .line .nm { color: var(--txt); }
html[data-theme="light"] .line .sicon { color: var(--txt-4); }
html[data-theme="light"] .coursing { border-top-color: var(--line); }
html[data-theme="light"] .rem-note.now { color: var(--amber); }
html[data-theme="light"] .act-call { color: #fff; }
html[data-theme="light"] .act-serve { background: var(--bg-3); color: var(--green); }
html[data-theme="light"] .strip.kiosk { background: #e8f2f3; }
html[data-theme="light"] .recall-chip { background: #fff; border-color: var(--line); }
html[data-theme="light"] .k-mini { background: #fff; }
html[data-theme="light"] .k-mini .nm { color: var(--txt); }
html[data-theme="light"] .bar-track { background: var(--line); }
/* login / admin (inline temna ozadja) */
html[data-theme="light"] .pin-input,
html[data-theme="light"] .fld input,
html[data-theme="light"] .adm-table input,
html[data-theme="light"] .adm-table select { background: #fff; border-color: var(--line); color: var(--txt); }
html[data-theme="light"] .keypad button { background: #fff; border-color: var(--line); color: var(--txt); }
html[data-theme="light"] .keypad button:active { background: var(--bg-3); }
html[data-theme="light"] .seg { background: #fff; border-color: var(--line); }
html[data-theme="light"] .atab { background: #fff; border-color: var(--line); }
html[data-theme="light"] .btn { background: #fff; border-color: var(--line); }
html[data-theme="light"] .btn.primary { background: var(--green); color: #fff; }
html[data-theme="light"] .adm-table th { background: var(--bg-3); }
html[data-theme="light"] .icon-x { background: #fdeced; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
button { font-family: inherit; cursor: pointer; border: none; }

.app { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }

/* ---- top bar ---- */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 34px 12px 18px; background: var(--bg-2);   /* desno dlje od roba zaslona (ura, ikone) */
  border-bottom: 1px solid var(--line); flex: none;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px;
}
.logo-img { height: 60%; width: auto; display: block; }   /* Imprion heksagon znak */
.brand .name { font-size: 18px; font-weight: 500; }
.brand .sub { font-size: 12px; color: var(--txt-3); }
.bar-right { display: flex; align-items: center; gap: 16px; }
.conn { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; }
.conn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.iconbtn {
  background: #1B2129; color: var(--green); width: 36px; height: 36px;
  border-radius: 9px; font-size: 20px; display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.iconbtn#rem { color: var(--txt-4); }
.iconbtn#rem.on { color: var(--amber); background: #2A2113; }
.clock { font-family: var(--mono); font-size: 16px; }

/* verzija aplikacije — diskreten značke v vsakem pogledu (vbrizgano prek {{VERSION}}) */
.appver {
  position: fixed; right: 9px; bottom: 6px; z-index: 50;
  font-family: var(--mono); font-size: 10px; line-height: 1; letter-spacing: .3px;
  color: var(--txt-4); opacity: .55; pointer-events: none; user-select: none;
}

/* ---- station tabs ---- */
.tabs { display: flex; gap: 8px; padding: 10px 34px 4px 18px; background: var(--bg-3); flex: none; }
.tab {
  flex: 1; background: #1B2129; color: var(--txt-2); padding: 10px;
  border-radius: 9px; font-size: 14px; display: flex; align-items: center;
  justify-content: center; gap: 6px;
}
.tab.active { background: var(--accent); color: #fff; }

/* ---- metrics ---- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 10px 34px 10px 18px; background: var(--bg-3); border-bottom: 1px solid var(--line); flex: none; }   /* desno poravnano z zgornjo vrstico */
.metric { background: var(--card); border-radius: 9px; padding: 8px 12px; }
.metric .lbl { color: var(--txt-3); font-size: 11px; }
.metric .val { font-size: 22px; font-weight: 500; margin-top: 2px; }

/* ---- board ---- */
/* plošča: kartice se polnijo od zgoraj navzdol, nato v stolpec desno; stolpec nikoli ni višji od zaslona.
   Več naročil, kot jih gre na zaslon → drsenje levo/desno (s prstom) + oznaka »še N naročil →« */
.board-wrap { position: relative; flex: 1; min-height: 0; display: flex; }
.board {
  position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px; flex: 1; min-width: 0;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.board-col { flex: 0 0 var(--col-w, 230px); width: var(--col-w, 230px); display: flex; flex-direction: column; gap: 12px;
  scroll-snap-align: start; scroll-margin-left: 16px; }
.board::-webkit-scrollbar { height: 12px; }
.board::-webkit-scrollbar-thumb { background: #3A4350; border-radius: 6px; border: 3px solid var(--bg); }
.more-rail { flex: none; width: 68px; margin: 16px 0; border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; background: var(--prep-fg); color: #2A2113; font-weight: 800;
  font-size: 22px; line-height: 1; cursor: pointer; }
.more-rail small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.more-rail i { font-size: 26px; }
#more-l { margin-left: 18px; }
#more-r { margin-right: 22px; }   /* odmik od roba zaslona */
.more-rail:disabled { background: var(--bg-3); color: var(--txt-4); cursor: default; }
.more-rail[hidden] { display: none; }
.empty { flex: 1; text-align: center; color: var(--txt-4); padding: 50px 0; }
.empty i { font-size: 32px; }
.empty div { margin-top: 10px; font-size: 14px; }

.ticket {
  background: var(--card); border: 1px solid var(--line-2); border-left: 6px solid #888;
  border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; max-height: var(--col-h, 62vh);
}
.t-head { flex: none; }
.t-items { overflow-y: auto; min-height: 0; overscroll-behavior: contain; touch-action: pan-y; }
.t-items::-webkit-scrollbar { width: 12px; }
.t-items::-webkit-scrollbar-thumb { background: #3A4350; border-radius: 6px; border: 2px solid var(--card); }
.t-count { font-size: 11px; color: var(--txt-3); margin-left: 4px; }
.ticket.late { animation: blink 1.1s infinite; }
@keyframes blink { 0%,100%{ border-color: var(--line-2);} 50%{ border-color: var(--accent);} }

.t-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.t-id { display: flex; align-items: center; gap: 8px; }
.t-pill { color: #0E1116; font-weight: 500; font-size: calc(14px * var(--card-scale)); padding: 3px 9px; border-radius: 7px; }
.t-where { font-size: calc(14px * var(--card-scale)); }
.otype { font-size: 11px; padding: 2px 8px; border-radius: 6px; display: inline-flex;
  align-items: center; gap: 4px; font-weight: 500; }
.otype.dine { background: #102236; color: #85B7EB; }
.otype.pickup { background: #2A2113; color: #F4C775; }
.t-time { font-family: var(--mono); font-size: 14px; color: var(--txt-3); }
.t-time.late { color: #F09595; }
.t-items { border-top: 1px solid var(--line-2); padding-top: 4px; }

.course-block { padding: 6px 0 8px; border-top: 1px dashed #2A323C; }
.course-block:first-child { border-top: none; padding-top: 2px; }
.course-h { display: flex; align-items: center; gap: 5px; color: #7E8794;
  font-size: calc(10px * var(--card-scale)); text-transform: uppercase; letter-spacing: .5px; margin: 8px 0 2px; }
.course-block .course-h { margin-top: 2px; }
.line { display: flex; gap: 9px; padding: 3px 0; align-items: flex-start; }
.line .qty { color: var(--txt-2); font-weight: 500; min-width: 20px; font-size: calc(14px * var(--card-scale)); }
.line .nm { color: #E7ECF2; font-size: calc(14px * var(--card-scale)); line-height: 1.35; flex: 1; }
.line .nm.done { text-decoration: line-through; opacity: .5; }
.line .mod { color: var(--txt-3); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }   /* opomba cela, prelom samo vizualno */
.line .sdot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; }
.line .sicon { color: #6B7480; font-size: 14px; margin-top: 2px; }

.coursing { margin-top: 9px; border-top: 1px dashed #2A323C; padding-top: 8px; }
.coursing .hd { color: var(--txt-3); font-size: 10px; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 5px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rem-note { display: flex; align-items: center; gap: 6px; font-size: 12px; margin: 6px 0 4px;
  color: var(--txt-3); }
.rem-note.now { color: #F4C775; font-weight: 500; }
/* gumb za potrditev postaje — mora biti očitno, da se ga pritisne */
.chip { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: calc(40px * var(--btn-scale)); padding: calc(7px * var(--btn-scale)) calc(11px * var(--btn-scale));
  border-radius: 8px; border: 1.5px solid transparent; font-size: calc(13px * var(--btn-scale)); cursor: pointer; }
.chip .chip-st { display: flex; align-items: center; gap: 5px; font-weight: 500; }
.chip .chip-act { display: flex; align-items: center; gap: 4px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .3px; font-size: calc(12px * var(--btn-scale)); }
.chip.s-new { background: var(--prep-bg); color: var(--prep-fg); border-color: var(--prep-fg); }
.chip.s-prep { background: var(--green); color: #04342C; border-color: var(--green); }
.chip.s-ready { background: var(--ready-bg); color: var(--ready-fg); cursor: default; opacity: .75; }
.chip.mine:not(.s-ready) { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 35%, transparent); }
.chip:not(.s-ready):active { transform: scale(.97); }

/* stornirano (preklic) — prečrtano, vidno kuharju */
.storno-block { margin-top: 9px; border-top: 1px dashed var(--line-2); padding-top: 8px; }
.storno-h { display: flex; align-items: center; gap: 5px; color: var(--storno); font-weight: 600;
  font-size: calc(10px * var(--card-scale)); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.line.cancelled .qty, .line.cancelled .nm { text-decoration: line-through; color: var(--storno); opacity: .9; }

.act {
  margin-top: 9px; width: 100%; padding: calc(9px * var(--btn-scale)); border-radius: 8px;
  font-size: calc(14px * var(--btn-scale)); font-weight: 500;
}
.act-call { background: var(--blue); color: #042C53; }
.act-notify { background: var(--green); color: #04342C; }
.act-done { text-align: center; background: var(--green-bg); color: var(--green);
  font-size: 13px; padding: 8px; border-radius: 8px; }
.act-serve { margin-top: 7px; width: 100%; background: #1B2129; color: #9FE1CB;
  padding: calc(8px * var(--btn-scale)); border-radius: 8px; font-size: calc(13px * var(--btn-scale)); }

/* ---- bottom strips ---- */
.strip { padding: 10px 18px; background: var(--bg-3); border-top: 1px solid var(--line); flex: none; }
.strip.kiosk { background: #0B0E12; }
.strip-h { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 8px; color: var(--txt-3); }
.strip.kiosk .strip-h { color: var(--green); }
.strip-body { display: flex; gap: 10px; flex-wrap: wrap; min-height: 30px; }
.recall-chip { background: #1B2129; color: var(--txt-2); border: 1px solid #2A323C;
  border-left: 4px solid #888; padding: 7px 11px; border-radius: 9px; font-size: 12px; }
.k-mini { display: flex; align-items: center; gap: 12px; background: #15191F;
  border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 14px; }
.k-mini.fresh { background: var(--green-bg); border-color: #1D9E75; animation: pulse 1s ease 3; }
.k-mini .num { font-size: 26px; font-weight: 500; color: var(--green); font-family: var(--mono); }
.k-mini .nm { color: #fff; font-size: 14px; font-weight: 500; }
.k-mini .st { color: var(--txt-3); font-size: 11px; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(93,202,165,0);} 50%{ box-shadow: 0 0 0 4px rgba(93,202,165,.35);} }

.muted { color: var(--txt-4); font-size: 13px; align-self: center; }

/* ---- launcher (index) ---- */
.launcher { display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100vh; height: 100dvh; gap: 28px; padding: 24px; }
.launcher h1 { font-weight: 500; font-size: 26px; margin: 0; }
.launcher .tag { color: var(--txt-3); margin: -16px 0 8px; }
.choices { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.choice { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 28px 32px; width: 220px; text-align: center; color: var(--txt); text-decoration: none; }
.choice:hover { border-color: var(--accent); }
.choice i { font-size: 44px; color: var(--accent); }
.choice .ttl { font-size: 18px; font-weight: 500; margin-top: 14px; }
.choice .ds { color: var(--txt-3); font-size: 13px; margin-top: 6px; line-height: 1.4; }
.hint { color: var(--txt-4); font-size: 13px; text-align: center; max-width: 460px; line-height: 1.5; }

/* ---- pickup kiosk (full screen, large) ---- */
.k-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); flex: 1; overflow: hidden; }
.k-col { padding: 20px 22px; overflow-y: auto; }
.k-col.prep { background: var(--bg); }
.k-col.ready { background: #0B130F; }
.k-col-h { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.k-col.prep .k-col-h { color: var(--amber); }
.k-col.ready .k-col-h { color: var(--green); }
.k-list { display: flex; flex-direction: column; gap: 12px; }
.k-row { display: flex; align-items: center; gap: 16px; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 18px; }
.k-row .num { font-size: clamp(30px, 5vw, 46px); font-weight: 500; font-family: var(--mono);
  color: var(--txt-2); min-width: 2.4em; }
.k-row .who { color: #9AA3AF; font-size: clamp(15px, 2vw, 19px); }
.k-row.r { background: #10241C; border: 2px solid #1a3b30; }
.k-row.r .num { color: var(--green); }
.k-row.r .who { color: #fff; font-weight: 500; }
.k-row.r .sub { color: var(--green); font-size: 13px; }
.k-row.r .arrow { margin-left: auto; color: var(--green); font-size: 24px; }
.k-row.fresh { animation: pulse 1s ease 4; }
.k-foot { padding: 14px 22px; background: var(--bg-2); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--txt-3); font-size: 14px; flex: none; }

/* ---- statistika ---- */
.stats-scroll { flex: 1; overflow-y: auto; padding: 16px 18px 28px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; }
.stat-card .lbl { color: var(--txt-3); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.stat-card .val { font-size: 30px; font-weight: 500; margin-top: 6px; }
.stat-card .val small { font-size: 15px; color: var(--txt-3); font-weight: 400; }
.stat-card .note { color: var(--txt-3); font-size: 12px; margin-top: 4px; }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; }
.panel.wide { grid-column: 1 / -1; }
.panel h3 { font-size: 14px; font-weight: 500; margin: 0 0 12px; display: flex; align-items: center; gap: 7px; color: var(--txt); }
.panel h3 .hint { color: var(--txt-3); font-size: 12px; font-weight: 400; margin-left: auto; }

.bar-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.bar-lab { width: 130px; font-size: 13px; color: var(--txt-2); flex: none; }
.bar-lab span { color: var(--txt-4); font-size: 11px; display: block; }
.bar-track { flex: 1; height: 14px; background: #11151B; border-radius: 7px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 7px; }
.bar-val { width: 64px; text-align: right; font-family: var(--mono); font-size: 13px; color: var(--txt-2); flex: none; }

.cook-row { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.cook-row:first-of-type { border-top: none; }
.cook-id { display: flex; align-items: center; gap: 9px; }
.cook-av { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; flex: none; }
.cook-id .nm { font-size: 14px; }
.cook-id .sub { font-size: 11px; color: var(--txt-3); }
.dv { position: relative; height: 16px; background: #11151B; border-radius: 8px; }
.dv-center { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--txt-4); }
.dv-fill { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; }
.cook-pct { text-align: right; font-family: var(--mono); font-size: 14px; font-weight: 500; }

.hours { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 6px; }
.hcol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.hbar { width: 70%; background: #1D9E75; border-radius: 4px 4px 0 0; min-height: 2px; }
.hcol .hn { font-size: 10px; color: var(--txt-4); }
.hcol .hv { font-size: 11px; color: var(--txt-3); font-family: var(--mono); }

.linkbtn { background: #1B2129; color: var(--txt-2); border: 1px solid var(--line-2);
  padding: 8px 12px; border-radius: 9px; font-size: 13px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; }

/* ---- zgodovina ---- */
.hist-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; background: var(--bg-3); border-bottom: 1px solid var(--line); flex: none; }
.hist-search { display: flex; align-items: center; gap: 8px; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 9px; padding: 0 10px; color: var(--txt-3); min-width: 280px; }
.hist-search input { background: transparent; border: none; outline: none; color: var(--txt);
  font-size: 14px; padding: 9px 0; flex: 1; font-family: var(--sans); }
.hist-search .iconbtn { width: 26px; height: 26px; font-size: 15px; background: transparent; color: var(--txt-3); }
.hist-filters { display: flex; gap: 7px; flex-wrap: wrap; flex: 1; }
.hf { background: #1B2129; color: var(--txt-2); border: 1px solid var(--line-2);
  padding: 6px 11px; border-radius: 999px; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.hf.on { border-color: var(--c, var(--accent)); color: var(--c, #fff); }
.hist-count { color: var(--txt-3); font-size: 12px; white-space: nowrap; }

.hist-log { flex: 1; overflow-y: auto; padding: 8px 18px 24px; }
.hrow { display: grid; grid-template-columns: 72px 130px 1fr; align-items: center; gap: 14px;
  padding: 9px 4px; border-bottom: 1px solid var(--line); }
.htime { font-family: var(--mono); font-size: 13px; color: var(--txt-3); }
.htype { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500;
  padding: 4px 9px; border-radius: 7px; justify-self: start; }
.hbody { min-width: 0; }
.hlink { background: transparent; border: none; color: var(--txt); font-size: 14px; padding: 0;
  text-align: left; font-family: var(--sans); }
.hlink:hover { color: var(--blue); text-decoration: underline; }
.hdetail { color: var(--txt-3); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
