/* ==========================================================================
   Lentur Plastik — design system
   Referensi: Panze POS & inventory dashboard (sidebar navy, panel putih radius
              besar di atas latar abu, kartu dalam, angka tebal, ikon kotak),
              Shipora order management (tabel + panel detail, chip status).
   Lihat study-cases/plastic-packaging-manufacturer-website/design-system.md
   ========================================================================== */

/* ---------- Token ---------- */
:root {
  --font: "Public Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --navy: #12131f;       /* sidebar, panel gambar teknik, tombol sekunder gelap */
  --navy-2: #232536;     /* item aktif sidebar */
  --navy-3: #3a3d52;     /* garis di atas navy */
  --ink: #12131f;
  --ink-2: #5d6072;      /* meta */
  --ink-3: #8b8ea0;      /* placeholder */
  --line: #e4e5ec;
  --bg: #eff0f4;         /* latar kerja abu netral */
  --panel: #ffffff;
  --soft: #f5f6f9;       /* kartu dalam panel */
  --brand: #d81920;      /* merah brand asli, warna aksi */
  --brand-ink: #b01218;
  --brand-bg: #fdecec;
  --ok: #0c7c71;   --ok-bg: #e2f4f1;
  --warn: #a35f07; --warn-bg: #fcf0dc;
  --info: #3450c4; --info-bg: #e8ecfb;
  --off: #5d6072;  --off-bg: #e9eaf0;

  --r-xl: 24px;   /* panel */
  --r-lg: 16px;   /* kartu dalam, foto */
  --r-md: 12px;   /* tombol, field */
  --r-sm: 8px;    /* chip, ikon kecil */
  --pad: 24px;
  --gap: 16px;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.5 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[data-lucide] { width: 18px; height: 18px; stroke-width: 1.75; flex: none; }
.i-sm { width: 16px; height: 16px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Router layar (dipakai lapak.js) */
[data-screen] { display: none; }
[data-screen].is-active { display: block; }

.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }
.muted { color: var(--ink-2); }

/* ---------- Tipografi ---------- */
.t-hero { font: 800 46px/1.08 var(--font); letter-spacing: -.03em; }
.t-h1 { font: 800 30px/1.15 var(--font); letter-spacing: -.02em; }
.t-h2 { font: 700 21px/1.25 var(--font); letter-spacing: -.015em; }
.t-h3 { font: 700 16px/1.35 var(--font); letter-spacing: -.005em; }
.t-meta { font-size: 14px; color: var(--ink-2); }
.t-small { font-size: 13px; color: var(--ink-2); }
.t-value { font: 800 26px/1.15 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .t-hero { font-size: 32px; } .t-h1 { font-size: 25px; } .t-h2 { font-size: 19px; } }

/* ---------- Kerangka aplikasi ---------- */
.app { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; }
.app:has([data-screen="mesin"].is-active) { grid-template-columns: minmax(0, 1fr); }
.app:has([data-screen="mesin"].is-active) .side { display: none; }

.side { position: sticky; top: 0; height: 100vh; background: var(--navy); color: #c9cbd8; display: flex; flex-direction: column; gap: 22px; padding: 26px 16px 16px; overflow-y: auto; scrollbar-width: none; }
.logo { font: 800 25px/1 var(--font); letter-spacing: -.045em; color: #fff; padding: 0 12px; }
.side__nav { display: flex; flex-direction: column; gap: 4px; }
.side__link { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 23px; font-weight: 500; white-space: nowrap; }
.side__link:hover { background: var(--navy-2); }
.side__link.is-active { background: var(--navy-2); color: #fff; }
.side__count { margin-left: auto; min-width: 24px; height: 24px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; padding: 0 7px; }
.side__sub { display: flex; flex-direction: column; margin: 2px 0 8px 44px; border-left: 1px solid var(--navy-3); }
.side__sub a { padding: 5px 0 5px 14px; font-size: 14px; color: #a4a7b8; }
.side__sub a:hover { color: #fff; }
.side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.side__card { background: var(--navy-2); border-radius: var(--r-lg); padding: 14px; font-size: 13px; line-height: 1.45; display: flex; flex-direction: column; gap: 10px; }
.side__card b { color: #fff; font-size: 14px; }
.side__card .btn { width: 100%; }

.main { min-width: 0; padding: 0 28px 28px; }
.topbar { min-height: 76px; display: flex; align-items: center; gap: 12px; }
.topbar__title { font: 500 18px/1.3 var(--font); color: var(--ink-2); }
.topbar__right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: var(--gap); }

@media (max-width: 1024px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; padding: 16px 16px 10px; gap: 12px; overflow: visible; }
  .side__nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .side__nav::-webkit-scrollbar { display: none; }
  .side__sub, .side__foot { display: none; }
  .side__link { height: 40px; flex: none; padding: 0 12px; font-size: 14px; }
  .logo { padding: 0; }
  .main { padding: 0 16px 16px; }
}

/* ---------- Tombol ---------- */
.btn { height: 44px; padding: 0 18px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--soft); }
.btn-ghost { background: var(--navy-2); color: #fff; }
.btn-ghost:hover { background: var(--navy-3); }
.btn-sm { height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; flex: none; }
.icon-btn:hover { background: var(--soft); }
.icon-btn.is-added { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Panel & kartu ---------- */
.panel { background: var(--panel); border-radius: var(--r-xl); padding: var(--pad); min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.card { background: var(--soft); border-radius: var(--r-lg); padding: 18px; min-width: 0; }
.tile-icon { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--navy); color: #fff; }
.tile-icon--red { background: var(--brand); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 1180px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .main .grid-4.facts { grid-template-columns: minmax(0, 1fr); } }

.photo { position: relative; aspect-ratio: var(--ar, 4 / 3); border-radius: var(--r-lg); overflow: hidden; background: var(--off-bg); }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }

/* ---------- Beranda ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 368px; gap: var(--gap); }
.hero__main { display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.hero__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hero__strip { flex: 1; min-height: 240px; display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 8px; }
.hero__strip .photo { aspect-ratio: auto; height: 100%; min-height: 0; }
@media (max-width: 1180px) { .hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .hero__main { padding: 18px; } .hero__strip { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px; min-height: 0; flex: none; } .hero__strip .photo:first-child { grid-column: 1 / -1; } }

.quick { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.quick .t-meta { color: #a4a7b8; }
.quick__out { background: var(--navy-2); border-radius: var(--r-lg); padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quick__out small { display: block; font-size: 13px; color: #a4a7b8; }
.quick__out b { font: 800 25px/1.2 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact { display: flex; gap: 14px; align-items: center; background: var(--panel); border-radius: 20px; padding: 18px; min-width: 0; }
.fact b { display: block; font: 800 20px/1.2 var(--font); letter-spacing: -.015em; }

/* Perbandingan material: tabel + meter tiga tingkat */
.compare { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
.uses { display: flex; flex-direction: column; gap: 6px; }
.use { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-md); font-weight: 600; font-size: 14px; text-align: left; background: var(--soft); width: 100%; }
.use.is-active { background: var(--navy); color: #fff; }
.mtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.mtable th { text-align: left; font-weight: 600; font-size: 13px; color: var(--ink-2); padding: 0 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mtable td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mtable tr:last-child td { border-bottom: 0; }
.mtable tr.is-match td { background: var(--brand-bg); }
.mtable tr.is-match td:first-child { border-radius: 10px 0 0 10px; }
.mtable tr.is-match td:last-child { border-radius: 0 10px 10px 0; }
.level { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--ink-2); min-width: 62px; }
.level__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.level__bar i { height: 6px; background: var(--line); }
.level__bar i:first-child { border-radius: 3px 0 0 3px; }
.level__bar i:last-child { border-radius: 0 3px 3px 0; }
.level[data-l="1"] i:nth-child(-n+1), .level[data-l="2"] i:nth-child(-n+2), .level[data-l="3"] i { background: var(--navy); }
.level[data-l="v"] i { background: repeating-linear-gradient(135deg, var(--ink-3) 0 2px, transparent 2px 5px); }
@media (max-width: 1180px) { .compare { grid-template-columns: minmax(0, 1fr); } .uses { flex-direction: row; overflow-x: auto; scrollbar-width: none; } .use { width: auto; flex: none; white-space: nowrap; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step { display: flex; flex-direction: column; gap: 10px; }
.step__n { font: 500 13px/1 var(--mono); color: var(--brand); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); }
@media (max-width: 1180px) { .split { grid-template-columns: minmax(0, 1fr); } }
.industry { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; }
.industry + .industry { border-top: 1px solid var(--line); }
.quote { display: flex; flex-direction: column; gap: 12px; }
.who { display: flex; gap: 10px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--off-bg); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.guarantee { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: var(--pad); display: flex; gap: 16px; align-items: center; }
.guarantee p { color: #c9cbd8; }

.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 4px 0; font-size: 13px; color: var(--ink-2); }
.foot__cols { display: flex; gap: 40px; flex-wrap: wrap; }
.foot b { display: block; color: var(--ink); margin-bottom: 4px; }

/* ---------- Pencari spesifikasi ---------- */
.seg { display: inline-flex; background: var(--soft); border-radius: var(--r-md); padding: 4px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { height: 34px; padding: 0 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.seg button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(18, 19, 31, .12); }
.seg--dark { background: var(--navy-2); }
.seg--dark button { color: #a4a7b8; }
.seg--dark button.is-active { background: var(--brand); color: #fff; box-shadow: none; }

.finder { display: grid; grid-template-columns: auto auto 120px minmax(120px, 1fr) auto; gap: 20px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.input, .select, .textarea { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 0 12px; font-size: 15px; }
.textarea { height: 76px; padding: 10px 12px; resize: vertical; }
.quick .input, .quick .select { background: var(--navy-2); border-color: var(--navy-3); color: #fff; }
.quick .field > span { color: #a4a7b8; }
.input-unit { position: relative; }
.input-unit em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--ink-3); pointer-events: none; }
.input-unit .input { padding-right: 36px; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; height: 42px; margin: 0; accent-color: var(--brand); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; min-height: 42px; align-items: center; }
.swatch { width: 28px; height: 28px; border-radius: 50%; background: var(--c); border: 1px solid rgba(18, 19, 31, .22); position: relative; flex: none; }
.swatch--clear { background: repeating-linear-gradient(135deg, #fff 0 4px, #dfe1e9 4px 8px); }
.swatch.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid rgba(18, 19, 31, .25); vertical-align: -2px; margin-right: 6px; }
.dot--clear { background: repeating-linear-gradient(135deg, #fff 0 2px, #cfd2dd 2px 4px); }
.toggle { display: inline-flex; align-items: center; gap: 8px; height: 42px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.toggle input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
@media (max-width: 1320px) { .finder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .finder { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: var(--gap); align-items: start; }
@media (max-width: 1180px) { .cat-layout { grid-template-columns: minmax(0, 1fr); } }
.sku-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sku-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sku-table td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sku-table tbody tr { cursor: pointer; }
.sku-table tbody tr:hover td { background: var(--soft); }
.sku-table tbody tr.is-picked td { background: var(--brand-bg); }
.sku-table tbody tr.is-picked td:first-child { border-radius: 10px 0 0 10px; }
.sku-table tbody tr.is-picked td:last-child { border-radius: 0 10px 10px 0; }
.sku-table .name { font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; background: var(--off-bg); color: var(--off); white-space: nowrap; }
.chip svg { width: 13px; height: 13px; }
.chip--ok { background: var(--ok-bg); color: var(--ok); }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--info { background: var(--info-bg); color: var(--info); }
.chip--red { background: var(--brand-bg); color: var(--brand-ink); }
@media (max-width: 720px) { .hide-m { display: none; } .sku-table td, .sku-table th { padding-left: 6px; padding-right: 6px; } .sku-table .name { white-space: normal; } }

.detail { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 7px 18px; font-size: 14px; }
.spec dt { color: var(--ink-2); }
.spec dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini .card { padding: 12px 14px; }
.mini b { display: block; font: 800 20px/1.2 var(--font); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
@media (max-width: 1180px) { .detail { position: static; } }

/* ---------- Konfigurator ---------- */
.config { display: grid; grid-template-columns: 372px minmax(0, 1fr); gap: 20px; }
@media (max-width: 1240px) { .config { grid-template-columns: minmax(0, 1fr); } }
.config__form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; align-content: start; }
.config__form .wide { grid-column: 1 / -1; }
.blueprint { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.blueprint svg { width: 100%; height: 340px; display: block; }
.blueprint text { font-family: var(--mono); fill: #fff; }
.formula { font-family: var(--mono); font-size: 13px; color: #c9cbd8; border-top: 1px solid var(--navy-3); padding-top: 10px; overflow-wrap: anywhere; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 8px; margin-top: 8px; }
.results .card { padding: 14px; }
.meter { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 8px 0; }
.meter i { display: block; height: 100%; background: var(--ok); border-radius: 4px 0 0 4px; }
.meter.is-short i { background: var(--warn); }
.linkbtn { color: var(--brand-ink); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 720px) { .results { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .results .card:last-child { grid-column: 1 / -1; } .blueprint svg { height: 260px; } .t-value { font-size: 21px; } }

.rfq-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.rfq-form .wide { grid-column: span 3; }
.rfq-form__end { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1024px) { .rfq-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rfq-form .wide { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rfq-form { grid-template-columns: minmax(0, 1fr); } }
.done { max-width: 620px; display: flex; flex-direction: column; gap: 14px; padding: 12px 0; }

/* ---------- Papan mesin ---------- */
.ops { display: grid; grid-template-columns: 76px minmax(0, 1fr); min-height: 100vh; background: var(--bg); }
.rail { background: var(--navy); color: #a4a7b8; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 0; }
.rail span { font: 800 15px/1 var(--font); letter-spacing: -.03em; color: #fff; margin-bottom: 14px; }
.rail a { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; }
.rail a.is-active { background: var(--navy-2); color: #fff; }
.ops__main { min-width: 0; padding: 14px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.ops__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ops__grid { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 12px; align-items: start; }
.board { padding: 12px 14px 14px; }
.gantt-wrap { overflow-x: auto; }
.gantt { display: grid; grid-template-columns: 84px repeat(9, minmax(92px, 1fr)) 48px; grid-auto-rows: 66px; min-width: 960px; position: relative; font-size: 12.5px; }
.g-day { grid-row: 1; height: 26px; font-weight: 700; font-size: 13px; padding-left: 8px; align-self: start; }
.gantt { grid-template-rows: 26px 26px; }
.g-shift { grid-row: 2; color: var(--ink-2); padding-left: 8px; border-bottom: 1px solid var(--line); line-height: 26px; white-space: nowrap; }
.g-mach { padding-right: 6px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.g-mach b { font: 600 13.5px/1.2 var(--mono); }
.g-mach small { color: var(--ink-2); font-size: 12px; line-height: 1.25; }
.g-cell { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.g-cell.is-daystart { border-left: 1px solid var(--ink-3); }
.g-util { border-bottom: 1px solid var(--line); display: grid; place-items: center end; font-weight: 700; font-variant-numeric: tabular-nums; }
.job { margin: 5px 3px; border-radius: var(--r-sm); padding: 5px 8px; text-align: left; overflow: hidden; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; min-width: 0; z-index: 1; border-left: 3px solid var(--bar); background: var(--tint); }
.job b { font: 600 12.5px/1.25 var(--mono); display: flex; gap: 4px; align-items: center; white-space: nowrap; }
.job b svg { width: 12px; height: 12px; }
.job span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.job--siap { --bar: var(--ok); --tint: var(--ok-bg); }
.job--bahan { --bar: var(--warn); --tint: var(--warn-bg); }
.job--acc { --bar: var(--info); --tint: var(--info-bg); }
.job--rawat { --bar: var(--off); --tint: var(--off-bg); }
.job.is-picked { box-shadow: 0 0 0 2px var(--ink); }
.job.is-new { box-shadow: 0 0 0 2px var(--brand); }
.is-faded { opacity: .28; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-left: auto; align-items: center; }
.ops__side { display: flex; flex-direction: column; gap: 12px; }
.ops__side .panel { padding: 16px; border-radius: 20px; }
.queue { display: flex; flex-direction: column; gap: 8px; }
.q-item { background: var(--soft); border-radius: var(--r-md); padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.q-item p { font-size: 13px; line-height: 1.35; }
@media (max-width: 1280px) { .ops__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .ops { grid-template-columns: minmax(0, 1fr); }
  .rail { flex-direction: row; padding: 10px 16px; justify-content: flex-start; }
  .rail span { margin: 0 12px 0 0; }
  .rail a { width: 38px; height: 38px; }
  .ops__main { padding: 12px; }
  .legend { margin-left: 0; }
}
