/* ─────────────────────────────────────────────────────────────────────────────
   Vision ERP — interactive demo ("mini-app")
   Loads AFTER styles.css, which supplies the warm-indigo token block, the font
   stacks and .mono/.tnum. Everything here is the app shell + the six screens,
   rebuilt faithfully from the real modules (see the plan file for sources).
   Legacy-styled screens (QC, WIP, production dashboard) are harmonised onto
   these tokens; only the semantic green/red/amber are kept literal.
   ───────────────────────────────────────────────────────────────────────────── */

/* the app's sidebar tokens, ported from src/css/main.css:76-92 */
:root {
    --sidebar-bg: var(--surface);
    --sidebar-text-2: var(--ink-faint);
    --sidebar-hover: var(--paper-2);
    --sidebar-active-bg: var(--indigo-tint);
    --sidebar-active-text: var(--indigo-deep);
    --sidebar-active-border: var(--indigo);
    --grid-line: oklch(0.935 0.005 75);
    --today: oklch(0.600 0.175 25);
    --pause: oklch(0.660 0.150 55);
    --pause-bg: oklch(0.955 0.045 60);
    --info: oklch(0.600 0.130 250);
    --info-bg: oklch(0.955 0.035 250);
    --shell-h: 100vh;
}

/* ── shell ────────────────────────────────────────────────────────────────── */
.app { display: flex; height: var(--shell-h); overflow: hidden; background: var(--paper); }

.sb {
    width: 232px; flex: none;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column;
    min-height: 0;
}
.sb__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-bottom: 1px solid var(--line); }
.sb__mark {
    width: 34px; height: 34px; border-radius: 8px; flex: none;
    background: linear-gradient(135deg, var(--indigo-bright), var(--indigo));
    display: grid; place-items: center; position: relative;
}
.sb__mark svg { width: 19px; height: 19px; }
.sb__dot {
    position: absolute; bottom: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--done); border: 2px solid var(--surface);
    animation: rtPulse 2s ease-out infinite;
}
@keyframes rtPulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in oklch, var(--done) 55%, transparent); }
    70%  { box-shadow: 0 0 0 6px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}
.sb__name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }

.sb__org {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; font-size: 12px; color: var(--ink-3);
    border-bottom: 1px solid var(--line-soft);
}
.sb__org svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.sb__nav { flex: 1; overflow-y: auto; padding: 10px 0; min-height: 0; }
.sb__nav::-webkit-scrollbar { width: 6px; }
.sb__nav::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.sb__item {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 14px; width: 100%;
    font-size: 14px; color: var(--ink-3);
    background: none; border: 0; cursor: pointer; text-align: left;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    transition: background .15s, color .15s, transform .15s;
}
.sb__item svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.sb__item:hover { background: var(--sidebar-hover); color: var(--ink); transform: translateX(2px); }
.sb__item.on {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-text);
    font-weight: 600;
    border-left: 2px solid var(--sidebar-active-border);
    border-right: 3px solid var(--sidebar-active-border);
}
.sb__sec { padding: 12px 14px 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); }

.sb__foot { border-top: 1px solid var(--line); padding: 11px 14px; display: flex; align-items: center; gap: 10px; }
.sb__ava {
    width: 33px; height: 33px; border-radius: 50%; flex: none;
    background: linear-gradient(135deg, var(--indigo-bright), var(--indigo-deep));
    color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.sb__who { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.sb__u { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.sb__r { display: block; font-size: 11px; color: var(--ink-faint); }

/* main column */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.top {
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    flex: none;
}
.top__crumb { font-size: 12px; color: var(--ink-faint); font-weight: 500; }
.top__crumb b { color: var(--ink-3); font-weight: 500; }
.top__t { margin: 2px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.top__right { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.chip-demo {
    font-family: var(--mono); font-size: 10.5px; font-weight: 500;
    color: var(--indigo-deep); background: var(--indigo-tint);
    padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.scroll { flex: 1; overflow: auto; min-height: 0; padding: 18px 22px 40px; }

/* ── shared bits ──────────────────────────────────────────────────────────── */
.seg { display: inline-flex; background: var(--paper-2); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button {
    padding: 6px 12px; font-size: 12.5px; font-weight: 600; border: 0; background: transparent;
    color: var(--ink-3); border-radius: 7px; cursor: pointer; white-space: nowrap; transition: all .15s;
}
.seg button.on { background: var(--surface); color: var(--indigo-deep); font-weight: 700; box-shadow: var(--shadow-sm); }
.seg--solid button.on { background: var(--indigo); color: #fff; box-shadow: none; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 11px; margin-bottom: 16px; }
.kpi {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 11px 13px; display: flex; flex-direction: column; gap: 5px; position: relative; overflow: hidden;
}
.kpi__l { font-size: 11.5px; color: var(--ink-3); font-weight: 500; }
.kpi__v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.kpi__u { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; opacity: .55; }
.kpi__s { font-size: 11px; color: var(--ink-faint); }

.dtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.dtab {
    padding: 6px 12px; font-size: 13px; border-radius: var(--r-sm);
    background: transparent; color: var(--ink-2); border: 0; cursor: pointer; transition: all .14s;
}
.dtab:hover { background: var(--paper-2); }
.dtab.on { background: var(--indigo); color: #fff; font-weight: 600; }
.dtab span { font-size: 11.5px; opacity: .7; margin-left: 4px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
    padding: 9px 13px; text-align: left; font-size: 10.5px; font-weight: 700; color: var(--ink-3);
    letter-spacing: .04em; text-transform: uppercase; background: var(--paper-2); white-space: nowrap;
}
.tbl td { padding: 10px 13px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tbody tr:hover { background: var(--paper); }
.r { text-align: right; }

.sec-t { margin: 0 0 9px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }

.bar { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; }

.empty { padding: 30px 14px; text-align: center; color: var(--ink-faint); font-size: 12.5px; }

/* ── 1. job cards board ───────────────────────────────────────────────────── */
.board { display: flex; gap: 13px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; }
.col { flex: 1; min-width: 234px; display: flex; flex-direction: column; gap: 9px; }
.col__h { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.col__d { width: 8px; height: 8px; border-radius: 99px; flex: none; }
.col__d.live { animation: pulseDot 1.4s infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.col__n { font-size: 13px; font-weight: 700; }
.col__c { font-size: 12px; color: var(--ink-faint); }
.col__b { display: flex; flex-direction: column; gap: 9px; }
.col__e { font-size: 12px; color: var(--ink-faint); text-align: center; padding: 16px 0; border: 1px dashed var(--line-soft); border-radius: var(--r-sm); }

.jc {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 11px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm);
    transition: box-shadow .18s, border-color .18s, transform .18s;
}
.jc:hover { box-shadow: var(--shadow-md); border-color: color-mix(in oklch, var(--indigo) 25%, var(--line)); }
.jc__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jc__code { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--indigo-deep); }
.jc__clock { font-family: var(--mono); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.jc__mid { display: flex; align-items: center; gap: 8px; }
.jc__ava { width: 38px; height: 38px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; border: 1px solid var(--paper-2); }
.jc__txt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.jc__proj { display: block; font-size: 11px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc__prod { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc__prod span { font-family: var(--mono); font-size: 10px; color: var(--ink-faint); }
.jc__pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 6px; background: var(--paper-2); color: var(--ink-3); }
.tag--p { background: none; padding: 0; color: var(--ink-faint); }
.tag--warn { font-family: var(--font); font-size: 10px; font-weight: 700; text-transform: uppercase; background: var(--pause-bg); color: var(--pause); }
.jc__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line-soft); padding-top: 8px; }
.jc__who { font-size: 11.5px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc__acts { display: flex; gap: 5px; flex: none; }
.mini {
    font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 6px;
    border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: all .14s;
}
.mini:hover { border-color: currentColor; transform: translateY(-1px); }

/* ── 2. WIP table ─────────────────────────────────────────────────────────── */
.wipbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.live {
    display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600;
    color: var(--done); background: var(--done-bg); padding: 5px 11px; border-radius: 999px;
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--done); animation: pulseDot 1.6s infinite; }
.exp { cursor: pointer; user-select: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: inherit; font-size: 13px; padding: 0; }
.exp span { color: var(--ink-faint); font-size: 10px; width: 10px; }
.det { background: var(--paper); }
.det ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.det li {
    font-family: var(--mono); font-size: 11px; padding: 5px 9px; background: var(--surface);
    border: 1px solid var(--line-soft); border-left: 3px solid var(--indigo); border-radius: 4px;
}
.idle { display: inline-block; padding: 2px 7px; border-radius: 999px; background: var(--run-bg); color: var(--pause); font-size: 10.5px; font-weight: 600; margin-left: 6px; }
.done-row { opacity: .5; text-decoration: line-through; }

/* ── 3. QC ────────────────────────────────────────────────────────────────── */
.qtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.qtab {
    padding: 10px 14px; font-size: 12.5px; font-weight: 500; border: 0; background: none; cursor: pointer;
    color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.qtab.on { color: var(--ink); font-weight: 700; }
.qc2 { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.chk { display: flex; align-items: flex-start; gap: 9px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--paper-2); font-size: 12.5px; cursor: pointer; margin-bottom: 5px; }
.chk.on { background: var(--done-bg); }
.chk input { margin-top: 2px; accent-color: var(--done); }
.chk b { display: block; font-weight: 600; color: var(--ink); }
.chk i { display: block; font-style: normal; color: var(--ink-faint); font-size: 11px; margin-top: 1px; }
.dec { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 12px 0; }
.dec button { padding: 10px 8px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 700; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: all .15s; }
.dec button.ok.on { background: var(--done); border-color: var(--done); color: #fff; }
.dec button.no.on { background: var(--cancel); border-color: var(--cancel); color: #fff; }
.note-box { background: var(--info-bg); border: 1px solid color-mix(in oklch, var(--info) 30%, transparent); border-radius: var(--r-sm); padding: 10px 12px; font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.res { padding: 11px 13px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 600; margin-top: 11px; }
.res.ok { background: var(--done-bg); color: var(--done); }
.res.no { background: var(--cancel-bg); color: var(--cancel); }
textarea.ta, input.tf, select.sel {
    width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--paper); font-size: 13px; font-family: inherit; color: inherit;
}
textarea.ta:focus, input.tf:focus, select.sel:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-ring); }

/* ── 4. gantt ─────────────────────────────────────────────────────────────── */
.g-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.g-scroll { overflow: auto; max-height: 60vh; position: relative; }
.g-inner { display: flex; min-width: 100%; }
.g-left { width: 300px; flex: none; position: sticky; left: 0; z-index: 6; background: var(--surface); border-right: 1px solid var(--line); }
.g-lh, .g-rh { height: 42px; position: sticky; top: 0; background: var(--paper-2); border-bottom: 1px solid var(--line); z-index: 7; }
.g-lh { display: flex; align-items: center; padding: 0 13px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.g-row { display: flex; align-items: center; height: 50px; padding: 0 13px; border-bottom: 1px solid var(--line-soft); cursor: pointer; gap: 8px; }
.g-row:hover { background: var(--paper); }
.g-row.on { background: var(--indigo-tint); }
.g-row--ph { height: 32px; background: var(--paper-2); font-size: 12px; color: var(--ink-3); }
.g-cav { position: relative; flex: none; }
.g-rh { z-index: 5; }
.g-brow { position: relative; border-bottom: 1px solid var(--line-soft); }
.g-bar { position: absolute; top: 50%; transform: translateY(-50%); height: 25px; border-radius: 7px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: grab; }
.g-bar:active { cursor: grabbing; }
.g-fill { position: absolute; inset: 0; opacity: .92; }
.g-lab { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 10px; gap: 7px; font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.2); pointer-events: none; }
.g-hand { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; display: grid; place-items: center; z-index: 4; }
.g-hand i { width: 3px; height: 52%; border-radius: 2px; background: rgba(255,255,255,.7); }
.g-ms { position: absolute; top: 50%; transform: translateY(-50%) rotate(45deg); width: 11px; height: 11px; background: var(--surface); border: 2px solid var(--indigo-deep); border-radius: 2px; z-index: 3; }
.g-today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--today); z-index: 4; }
.g-today b { position: absolute; top: 3px; left: -21px; font-size: 10px; font-weight: 700; color: #fff; background: var(--today); padding: 1px 7px; border-radius: 99px; }
.g-grid { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--grid-line); }
.g-mh { position: absolute; height: 100%; border-left: 1px solid var(--line); display: flex; align-items: center; padding-left: 9px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.g-leg { display: flex; align-items: center; gap: 15px; padding: 9px 14px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.g-leg i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.g-pill {
    position: fixed; z-index: 95; background: var(--ink); color: var(--paper); padding: 7px 11px;
    border-radius: var(--r-sm); font-size: 11.5px; font-family: var(--mono); pointer-events: none; white-space: nowrap;
    box-shadow: var(--shadow-lg);
}

/* ── 5. HR ────────────────────────────────────────────────────────────────── */
.chips { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.stat-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; background: var(--surface);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); cursor: pointer;
    font: inherit; transition: all .14s;
}
.stat-chip i { width: 8px; height: 8px; border-radius: 99px; flex: none; }
.stat-chip b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.stat-chip span { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.stat-chip.on { background: var(--indigo); border-color: var(--indigo); }
.stat-chip.on i { background: rgba(255,255,255,.85) !important; }
.stat-chip.on b, .stat-chip.on span { color: #fff !important; }
.divider { width: 1px; height: 22px; background: var(--line); margin: 0 2px; }
.doctrine {
    display: flex; align-items: center; gap: 9px; padding: 10px 13px; background: var(--paper-2);
    border: 1px solid var(--line-soft); border-radius: var(--r-md); font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px;
}
.doctrine svg { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 11px; }
.wk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 11px 12px; box-shadow: var(--shadow-sm); }
.wk__r { display: flex; align-items: center; gap: 10px; }
.wk__n { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk__s { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 11.5px; }
.wk__s i { width: 7px; height: 7px; border-radius: 99px; flex: none; }
.dept-h { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; }
.dept-h b { font-size: 13.5px; font-weight: 700; }
.dept-h span { font-size: 11.5px; font-weight: 600; color: var(--ink-faint); background: var(--paper-2); padding: 2px 9px; border-radius: 999px; }
.dept-h i { flex: 1; height: 1px; background: var(--line-soft); }

/* ── 6. production dashboard ──────────────────────────────────────────────── */
.greet h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.015em; }
.greet p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.prow { display: grid; grid-template-columns: 200px 1fr 54px 78px; gap: 11px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 12px; }
.prow--h { border: 0; padding: 7px 0 4px; font-size: 10px; color: var(--ink-faint); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pbar { position: relative; height: 11px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.pbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--indigo); }
.pbar u { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, var(--cancel) 0 3px, transparent 3px 6px); }
.allclear { padding: 28px 16px; text-align: center; color: var(--ink-2); font-size: 13px; }
.allclear b { display: block; font-size: 21px; color: var(--done); margin-bottom: 5px; }

/* ── pills (shared) ───────────────────────────────────────────────────────── */
.p {
    display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 600; white-space: nowrap;
}
.p i { width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.p--open { color: var(--open); background: var(--open-bg); }
.p--run { color: var(--run); background: var(--run-bg); }
.p--pause { color: var(--pause); background: var(--pause-bg); }
.p--done { color: var(--done); background: var(--done-bg); }
.p--cancel { color: var(--cancel); background: var(--cancel-bg); }
.p--info { color: var(--info); background: var(--info-bg); }
.p--flat { font-family: var(--mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border-radius: 4px; padding: 2px 6px; }

/* ── landing-page teaser (compact live board inside the .frame chrome) ────── */
.teaser { background: var(--paper); padding: 14px 16px 18px; }
.teaser__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.teaser__t { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; }
.teaser__load { padding: 34px 10px; text-align: center; color: var(--ink-faint); font-size: 13px; }
.teaser .board { overflow-x: auto; }
.teaser .col { min-width: 210px; }
.teaser__cta {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-top: 22px;
}
.teaser__cta .muted { font-size: 13.5px; }

/* ── mobile ───────────────────────────────────────────────────────────────── */
.sb__burger { display: none; }
@media (max-width: 900px) {
    .app { position: relative; }
    .sb {
        position: absolute; inset: 0 auto 0 0; z-index: 40; transform: translateX(-100%);
        transition: transform .22s ease; box-shadow: var(--shadow-lg);
    }
    .app.nav-open .sb { transform: translateX(0); }
    .app.nav-open::after {
        content: ""; position: absolute; inset: 0; background: oklch(0.3 0.02 70 / .3); z-index: 30;
    }
    .sb__burger {
        display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
        border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer;
    }
    .sb__burger svg { width: 19px; height: 19px; stroke: var(--ink-2); fill: none; stroke-width: 2; stroke-linecap: round; }
    .qc2, .two { grid-template-columns: 1fr; }
    .scroll { padding: 14px 14px 32px; }
    .top { padding: 11px 14px; }
    .g-left { width: 176px; }
    .col { min-width: 220px; }
}
@media (max-width: 560px) {
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .top__t { font-size: 17px; }
    .prow { grid-template-columns: 1fr 70px; }
    .prow > :nth-child(2) { display: none; }
}

/* ── motion off ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* â•â• shared utilities used by the newer screens â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.ovl { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.muted2 { color: var(--ink-faint); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 99px; display: inline-block; flex: none; }
.dot.live { animation: pulse-dot 1.4s infinite; }
.ava { width: 22px; height: 22px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700; flex: none; letter-spacing: .01em; }
.ava--sm { width: 18px; height: 18px; font-size: 8.5px; }
.crew { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 2px; background: var(--paper-2);
  border-radius: 99px; font-size: 11.5px; font-weight: 500; }
.bar--sm { height: 4px; }
.tbl--tight td, .tbl--tight th { padding: 8px 11px; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.chipx { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3);
  background: var(--paper-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600;
  padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.furn { flex: none; }
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* â•â• PM home â€” project matrix â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pmkpis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.pmk { position: relative; text-align: left; padding: 10px 11px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; font-family: var(--font); }
.pmk__v { display: block; font-family: var(--mono); font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.pmk__l { display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: .04em; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmk__dot { position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border-radius: 99px; animation: pulse-dot 1.6s infinite; }
.pmsearch { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 2px 12px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.pmsearch__i svg { width: 17px; height: 17px; stroke: var(--ink-faint); }
.pmsearch__sort { font-size: 12px; color: var(--ink-faint); font-weight: 600; white-space: nowrap; }
.pmsearch__sort b { color: var(--ink); }
.pmatt { margin-bottom: 16px; }
.pmatt__h { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 13.5px; }
.pmatt__h svg { width: 15px; height: 15px; stroke: var(--cancel); }
.pmatt__c { flex: 0 0 auto; width: 232px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  border-left: 3px solid var(--cancel); background: var(--surface); box-shadow: var(--shadow-sm); }
.pmatt__k { display: inline-flex; padding: 2px 8px; border-radius: 99px; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; }
.pmatt__n { font-size: 13px; font-weight: 700; color: var(--ink); margin: 6px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmatt__s { font-size: 11.5px; color: var(--ink-3); }
.mxwrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.mxgrid { display: grid; }
.mxc { border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); min-width: 0; }
.mxcorner { position: sticky; top: 0; left: 0; z-index: 6; background: var(--surface); padding: 10px 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.mxhead { position: sticky; top: 0; z-index: 5; background: var(--surface); padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; }
.mxhead__n { font-size: 10.5px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mxhead__c { font-family: var(--mono); font-size: 12.5px; font-weight: 800; color: var(--ink); }
.mxproj { position: sticky; left: 0; z-index: 4; background: var(--surface); border-right: 1px solid var(--line); padding: 12px; }
.mxproj__n { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.mxproj__hold { font-size: 9.5px; font-weight: 800; color: var(--cancel); background: var(--cancel-bg);
  padding: 2px 6px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; }
.mxproj__m { font-size: 11px; color: var(--ink-faint); margin-top: 3px; }
.mxproj__r { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.mxproj__pm { font-size: 12px; color: var(--ink-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mxproj__v { margin-left: auto; font-family: var(--mono); font-size: 12.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.mxproj__b { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.mxb { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 7px; border: 1px solid;
  font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.mxproj__ship { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); font-weight: 600; }
.mxempty { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--line); }
.mxagg { padding: 9px; }
.mxagg__t { display: flex; align-items: center; gap: 5px; margin-bottom: 7px; }
.mxagg__n { font-family: var(--mono); font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1; }
.mxagg__b { margin-left: auto; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 99px; color: #fff;
  font-family: var(--mono); font-size: 9.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.mxagg__bar { display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: var(--paper-2); gap: 1.5px; }

/* â•â• my dept queue â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.dqcap { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); overflow: hidden; margin-bottom: 12px; }
.dqs { padding: 12px 15px; border-right: 1px solid var(--line); }
.dqs:last-child { border-right: none; }
.dqs__l { display: block; font-size: 10px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.dqs__v { display: block; font-family: var(--mono); font-size: 17px; font-weight: 800; color: var(--ink); margin: 4px 0 3px; line-height: 1; }
.dqs__s { display: block; font-size: 10.5px; color: var(--ink-3); }
.dqweek { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; margin-bottom: 16px; }
.dqweek__h { display: flex; align-items: baseline; gap: 9px; margin-bottom: 10px; flex-wrap: wrap; font-size: 11px; }
.dqweek__p { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.dqweek__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.dqday__h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; font-size: 10px; font-weight: 700; color: var(--ink-faint); }
.dqday.on .dqday__h > span:first-child { color: var(--indigo); }
.dqday__b { height: 8px; border-radius: 3px; overflow: hidden; background: var(--line-soft); }
.dqday__b i { display: block; height: 100%; }
.dqday__f { font-size: 9.5px; margin-top: 4px; color: var(--ink-faint); }
.dqmain { display: grid; grid-template-columns: 1fr 264px; gap: 16px; align-items: start; }
.dqsec { margin-bottom: 18px; }
.dqsec__h { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.dqsec__h h3 { margin: 0; font-size: 12px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.dqside { border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); padding: 14px; }
.dqp { display: inline-flex; align-items: center; gap: 9px; }
.dqp__c { display: block; font-size: 10px; color: var(--ink-faint); margin-top: 1px; }
.dqest { font-size: 10.5px; font-weight: 600; color: var(--run); background: var(--run-bg); border: 1px solid var(--run-bg); padding: 2px 7px; border-radius: 5px; }
.wch { padding: 9px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 6px; }
.wch__t { display: flex; align-items: center; gap: 8px; }
.wch__i { min-width: 0; }
.wch__i b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }
.wch__s { display: block; font-size: 10px; font-weight: 600; margin-top: 1px; }
.wch__l { display: block; font-size: 9.5px; font-weight: 700; margin-top: 4px; }

/* â•â• my inbox â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.tkstats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.tks { display: flex; align-items: center; gap: 11px; padding: 10px 16px 10px 13px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); }
.tks__i { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tks__i svg { width: 17px; height: 17px; }
.tks__v { display: block; font-family: var(--mono); font-size: 20px; font-weight: 800; line-height: 1; }
.tks__l { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.tktabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.tktabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600; cursor: pointer; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); font-family: var(--font); }
.tktabs button.on { border-color: var(--indigo); background: var(--indigo); color: #fff; }
.tktabs__n { font-family: var(--mono); font-size: 11px; font-weight: 700; min-width: 18px; height: 17px; padding: 0 5px;
  border-radius: 99px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper-2); color: var(--ink-3); }
.tktabs button.on .tktabs__n { background: rgba(255,255,255,.24); color: #fff; }
.tkmain { display: grid; grid-template-columns: minmax(340px, 1fr) minmax(380px, 1fr); gap: 16px; align-items: start; }
.tklist { display: flex; flex-direction: column; gap: 9px; }
.tkrow { position: relative; display: flex; gap: 12px; padding: 12px 15px 12px 16px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: background .14s, border-color .14s; }
.tkrow:hover { background: var(--paper-2); }
.tkrow.on { border-color: var(--indigo); background: var(--indigo-tint); }
.tkrow__rail { position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 99px; opacity: .6; }
.tkrow__b { flex: 1; min-width: 0; }
.tkrow__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.tkrow__pr { font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.tkrow__t { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkrow__m { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-3); }
.tkrow__cnt { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--ink-faint); font-size: 11.5px; }
.tkrow__cnt svg { width: 13px; height: 13px; vertical-align: -2px; }
.tkdet { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; max-height: 640px; overflow: hidden; }
.tkd__scroll { flex: 1; overflow-y: auto; padding: 20px 22px 14px; }
.tkd__top { display: flex; align-items: center; gap: 8px; }
.tkd__h { margin: 10px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.22; color: var(--ink); }
.tkd__code { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.tkd__ban { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 8px; margin-top: 14px; font-size: 13px; }
.tkd__hero { margin-top: 16px; display: flex; justify-content: center; }
.tkd__r { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.tkd__l { width: 120px; flex: none; color: var(--ink-3); font-size: 12.5px; }
.tkd__v { font-size: 13px; font-weight: 500; color: var(--ink); }
.tl { position: relative; padding-left: 2px; }
.tl__i { display: flex; gap: 13px; padding: 3px 0 13px; position: relative; }
.tl__i::before { content: ""; position: absolute; left: 8px; top: 16px; bottom: -3px; width: 2px; background: var(--line); }
.tl__i:last-child::before { display: none; }
.tl__d { width: 18px; height: 18px; border-radius: 99px; flex: none; z-index: 1; background: var(--surface);
  border: 2px solid; display: inline-flex; align-items: center; justify-content: center; }
.tl__d i { width: 6px; height: 6px; border-radius: 99px; display: block; }
.tl__t { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.tl__t b { color: var(--ink); }
.tkd__foot { border-top: 1px solid var(--line); padding: 13px 22px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tkbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 99px; font-size: 13px;
  font-weight: 600; cursor: pointer; border: 1px solid transparent; font-family: var(--font); }
.tkd__note { font-size: 12px; color: var(--done); font-weight: 600; flex: 1; min-width: 0; }

/* â•â• HR dashboard â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hrgrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 16px; align-items: start; }
.hrgrid--2 { grid-template-columns: 1.3fr 1fr; }
.pnl { padding: 0; overflow: hidden; }
.pnl__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft); }
.pnl__h h3 { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.pnl__lg { font-size: 11.5px; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 5px; }
.sw { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.pnl__b { padding: 18px; }
.pnl__b--ring { display: flex; align-items: center; gap: 18px; }
.hraz { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }
.hra { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface); text-align: left; cursor: pointer; font-family: var(--font); }
.hra__i { width: 34px; height: 34px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; }
.hra__i svg { width: 17px; height: 17px; }
.hra__n { display: block; font-family: var(--mono); font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1; }
.hra__l { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.hra__c { margin-left: auto; color: var(--ink-faint); }
.hra__c svg { width: 15px; height: 15px; }
.ring { position: relative; width: 92px; height: 92px; flex: none; }
.ring__v { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 23px; font-weight: 700; color: var(--ink); }
.rleg { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.rleg__r { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-2); }
.rleg__r b { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.dbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dbar__n { font-size: 12.5px; color: var(--ink-2); font-weight: 500; width: 110px; flex: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbar__t { position: relative; flex: 1; height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.dbar__all, .dbar__pr { position: absolute; left: 0; top: 0; height: 100%; border-radius: 99px; display: block; }
.dbar__all { background: linear-gradient(90deg, oklch(0.62 0.14 270), oklch(0.70 0.15 270)); }
.dbar__pr { background: linear-gradient(90deg, oklch(0.62 0.14 158), oklch(0.70 0.15 158)); }
.dbar__v { font-size: 12px; font-weight: 700; color: var(--ink); min-width: 42px; text-align: right; }
.hrm { display: flex; align-items: center; gap: 11px; padding: 8px 4px; border-bottom: 1px solid var(--line-soft); }
.hrm:last-child { border-bottom: none; }
.hrm__i { width: 34px; height: 34px; flex: none; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.hrm__i svg { width: 16px; height: 16px; }
.hrm__b { flex: 1; min-width: 0; }
.hrm__b b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.hrm__s { display: block; font-size: 11px; color: var(--ink-faint); }
.hrm__t { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 6px; letter-spacing: .03em; }
.hrwh { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hrwh__b { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 9px; padding: 14px 16px; }
.hrwh__v { font-family: var(--mono); font-size: 25px; font-weight: 800; line-height: 1; }
.hrwh__l { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.hrwh__s { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }

/* â•â• product library â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 15px; }
.pcard { border: 1px solid var(--line); border-radius: 13px; padding: 13px; background: var(--surface);
  cursor: pointer; transition: border-color .14s, box-shadow .14s, transform .14s; }
.pcard:hover { border-color: var(--indigo); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pcard__img { border-radius: 9px; overflow: hidden; margin-bottom: 11px; display: flex; justify-content: center; }
.pcard__img .furn { width: 100%; height: auto; }
.pcard__n { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__d { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.35; min-height: 31px; }
.pcard__u { font-size: 11px; color: var(--ink-faint); margin-top: 5px; }
.pcard__s { font-size: 13.5px; font-weight: 700; color: var(--done); margin-top: 7px; }
.pcard__c { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }

/* â•â• responsive â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1100px) {
  .pmkpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tkmain, .dqmain, .hrgrid, .hrgrid--2 { grid-template-columns: 1fr; }
  .tkdet { max-height: none; }
}
@media (max-width: 760px) {
  .pmkpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dqcap { grid-template-columns: repeat(2, 1fr); }
  .dqs { border-bottom: 1px solid var(--line); }
  .hraz, .hrwh { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .pnl__b--ring { flex-direction: column; align-items: flex-start; }
  .rleg { width: 100%; }
}

