/* Yetkazuvchi: the "Taklif E" look.
 *
 * Ported from the owner's design file (docs/superpowers/specs/2026-11-21-yetkazuvchi-e-look-design.md).
 * Its 33 phone screens share one stylesheet; this is that stylesheet, with three changes the web needs
 * and nothing else: the shell is fluid (the design draws a 390 px phone), the sheet and scrim are fixed
 * to the viewport (the design lays them over a frame that does not scroll), and the few patterns the
 * design writes inline on every screen (the stepper, the headers, the plate's figures) are classes.
 *
 * Dark only. One accent (--ac, cyan). Colours are named by meaning: --ok received, --ac on its way,
 * --warn waiting for a scan, --no failed, --mu quiet. Never colour alone: the words always say it.
 * Type: Plus Jakarta Sans 700/800 for titles, codes and sums; Inter for everything else, with tabular
 * digits so a column of figures lines up. No monospace anywhere.
 */

/* -- fonts: all served from /static/fonts (SIL OFL; the licences are beside them) ------------------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* One variable file for both weights. Latin only: Cyrillic names fall back to Inter. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* -- tokens (E1, "Rang") ----------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg:#0E1319; --s1:#151C24; --s2:#1B2530; --s3:#25313E; --s4:#303E4D;
  --tx:#EEF4F8; --mu:#9AA9B7; --ac:#5DECFF; --cta:#5DECFF; --on:#06222A; --onac:#06222A;
  --ok:#62DB96; --warn:#FFAE42; --no:#FF7A7A;
  --hair:rgba(255,255,255,.07);
  --raise:0 0 0 1px rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.4);
  --ring:rgba(255,255,255,.14); --dis:#6C7C8B; --knob:#EEF4F8;
  --glass:rgba(14,19,25,.84); --scrim:rgba(4,7,10,.62);
  --sheetsh:0 -1px 0 rgba(255,255,255,.08),0 -12px 40px rgba(0,0,0,.5);
  --hdl:rgba(255,255,255,.24); --invbg:#F2F5F7; --invtx:#10161C;
  --tint:rgba(93,236,255,.30); --wash:rgba(255,255,255,.05); --hover:rgba(255,255,255,.03);
  --oktoast:#1F8F55; --segon:#25313E;
  --nw:rgba(255,174,66,.11); --nn:rgba(255,122,122,.12); --nk:rgba(98,219,150,.11);
  --dgbg:rgba(255,122,122,.13); --dgfill:rgba(255,122,122,.26);
  --plate:#F4F1EB;
  --ease:cubic-bezier(.23,1,.32,1);
}
*, *::before, *::after { box-sizing: border-box; }     /* the sheet sits outside .app, so .app * alone would miss it */
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: Inter, system-ui, sans-serif;
  font-variant-numeric: tabular-nums; }
body:has(.sheet) { overflow: hidden; }          /* a sheet is open: the page behind it keeps still */
a { color: var(--ac); text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* -- the shell: a phone-width column, centred; fluid up to 480 px ------------------------------ */
.app { width: 100%; max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
  box-sizing: border-box; display: flex; flex-direction: column; background: var(--bg);
  position: relative; overflow-x: clip; }
.app *, .app *::before, .app *::after { box-sizing: border-box; }
.app button, .app a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.app button { font-family: inherit; user-select: none; -webkit-user-select: none; cursor: pointer; }
.app input, .app textarea { font: 16px Inter, system-ui, sans-serif; color: var(--tx); }
.ic { display: inline-block; vertical-align: middle; }
.top-loader { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 20; background: var(--ac);
  transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.top-loader.loading { opacity: 1; transform: scaleX(.85); transition: transform 8s cubic-bezier(.1,.7,.2,1); }

/* -- type -------------------------------------------------------------------------------------- */
.d { font-family: 'Plus Jakarta Sans', Inter, sans-serif; }
.lt { margin: 0; font: 800 28px/1.1 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.02em; }
.sub { margin: 0; font-size: 14px; line-height: 1.4; color: var(--mu); }
.t1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.eb { font-size: 12px; font-weight: 600; color: var(--mu); letter-spacing: .02em; }

/* -- headers ----------------------------------------------------------------------------------- */
.hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 20px 14px; }
.hd > div:first-child { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hb { display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px; }
.hb h1 { margin: 0; font: 700 18px/1.25 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.01em; }

/* -- groups and rows --------------------------------------------------------------------------- */
.sec { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 22px 20px 8px;
  font-size: 13px; font-weight: 600; color: var(--mu); }
.sec b { color: var(--tx); font-weight: 600; }
.grp { margin: 0 16px; background: var(--s1); border-radius: 14px; box-shadow: var(--raise); overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; min-height: 58px; position: relative;
  color: inherit; text-decoration: none; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; height: 1px; background: var(--hair); }
.plain .row + .row::before { left: 14px; }
.ico { width: 36px; height: 36px; border-radius: 10px; background: var(--s3); display: flex; align-items: center;
  justify-content: center; flex: 0 0 36px; color: var(--ac); }
.av { width: 36px; height: 36px; border-radius: 50%; background: var(--s3); display: flex; align-items: center;
  justify-content: center; flex: 0 0 36px; font: 700 14px 'Plus Jakarta Sans', sans-serif; color: var(--tx); }
.ph { width: 44px; height: 44px; border-radius: 10px; background: var(--s3); display: flex; align-items: center;
  justify-content: center; flex: 0 0 44px; color: var(--mu); }
.bd { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.rt { font-size: 15px; font-weight: 600; line-height: 1.3; }
.rm { font-size: 13px; line-height: 1.35; color: var(--mu); }
.val { font: 700 15px 'Plus Jakarta Sans', sans-serif; white-space: nowrap; text-align: right; }
.val small { display: block; font: 500 12px Inter, sans-serif; color: var(--mu); }
.dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dot i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: currentColor; }

/* -- buttons ----------------------------------------------------------------------------------- */
.btn { height: 52px; border: 0; border-radius: 12px; padding: 0 18px; font-size: 16px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-width: 0;
  transition: transform 160ms var(--ease); }
.btn:active { transform: scale(.97); }
.dock > .btn, .col > .btn, .dock > form > .btn, .col > form > .btn { flex: 0 0 52px; }
.dock > form, .col > form { display: flex; flex-direction: column; margin: 0; }
.col { display: flex; flex-direction: column; gap: 8px; }
.cta { background: var(--cta); color: var(--on); }
.sc { background: var(--s3); color: var(--tx); }
.gh { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1px var(--ring); }
.dg { background: var(--dgbg); color: var(--no); }
.btn[disabled] { background: var(--s3); color: var(--dis); }
.sm { height: 36px; border-radius: 10px; padding: 0 12px; font-size: 14px; flex: 0 0 auto; }
.md { height: 44px; border-radius: 11px; font-size: 15px; }
.tx { background: none; border: 0; padding: 0; height: 44px; color: var(--ac); font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ib { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--s1); box-shadow: var(--raise);
  color: var(--tx); display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }

/* -- segmented controls, chips, search, fields ------------------------------------------------- */
.seg { margin: 0 16px; background: var(--s1); border-radius: 11px; padding: 3px; display: grid; gap: 2px;
  box-shadow: var(--raise); }
.seg span, .seg a { height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 14px; font-weight: 600; color: var(--mu); white-space: nowrap; }
.seg .on { background: var(--segon); color: var(--tx); box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.seg em { font-style: normal; font-size: 12px; color: var(--mu); }
.sg2 { background: var(--s3); border-radius: 9px; padding: 2px; display: inline-grid; grid-auto-flow: column; gap: 2px; }
.sg2 span, .sg2 a { height: 32px; padding: 0 12px; border-radius: 7px; display: flex; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--mu); white-space: nowrap; }
.sg2 .on { background: var(--tx); color: var(--bg); }
.chips { display: flex; gap: 8px; padding: 0 16px; overflow: hidden; }
.chip { height: 34px; padding: 0 12px; border-radius: 17px; background: var(--s1); box-shadow: var(--raise);
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mu);
  white-space: nowrap; flex: 0 0 auto; border: 0; }
.chip.on { background: var(--tx); color: var(--bg); box-shadow: none; }
.srch { margin: 0 16px; height: 44px; border-radius: 12px; background: var(--s1); box-shadow: var(--raise);
  display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--mu); }
.srch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0; }
.srch input::placeholder { color: var(--mu); }
.fl { color: var(--mu); font-size: 15px; flex: 0 0 auto; }
.in { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0; text-align: right;
  text-overflow: ellipsis; }
.stp { display: inline-flex; align-items: center; gap: 8px; }
.stp button { width: 44px; height: 44px; border: 0; border-radius: 11px; background: var(--s3); color: var(--tx);
  display: flex; align-items: center; justify-content: center; }
.stp b { min-width: 76px; text-align: center; font: 800 18px 'Plus Jakarta Sans', sans-serif; }
.sw { width: 50px; height: 30px; border-radius: 15px; background: var(--s3); position: relative; flex: 0 0 50px;
  display: inline-block; }
.sw i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--knob);
  box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.sw.on { background: var(--ac); } .sw.on i { left: 23px; }
.bar { height: 6px; border-radius: 3px; background: var(--s3); overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; background: var(--ac); }
.note { margin: 0 16px; border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.4; }
.kpi { display: grid; margin: 0 16px; background: var(--s1); border-radius: 14px; box-shadow: var(--raise); }
.kpi div { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi div + div { box-shadow: inset 1px 0 0 var(--hair); }
.kpi b { font: 800 22px/1.1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; }
.kpi span { font-size: 12px; color: var(--mu); }

/* -- the tab bar and the dock ------------------------------------------------------------------ */
.tabbar { margin-top: auto; position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px 8px calc(12px + env(safe-area-inset-bottom)); background: var(--glass);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--hair); z-index: 2; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 48px;
  justify-content: center; font-size: 11px; font-weight: 600; color: var(--mu); position: relative; }
.tabbar a.on { color: var(--ac); }
.tabbar u { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--no); color: var(--bg); font-size: 10px; font-weight: 700; display: flex; align-items: center;
  justify-content: center; padding: 0 4px; text-decoration: none; }
.dock { margin-top: auto; position: sticky; bottom: 0; padding: 12px 16px calc(18px + env(safe-area-inset-bottom));
  background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 var(--hair); display: flex; flex-direction: column; gap: 8px; z-index: 2; }

/* -- sheets, scrim, toast: fixed to the viewport, centred in the column ------------------------ */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 3; }
.sheet { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; bottom: 0;
  max-height: 92dvh; overflow-y: auto; background: var(--s2); border-radius: 20px 20px 0 0;
  padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); box-shadow: var(--sheetsh); z-index: 4;
  display: flex; flex-direction: column; gap: 12px; }
.sheet .grp, .sheet .seg { margin: 0; background: var(--s3); }
.sheet .ico, .sheet .stp button { background: var(--s4); }
.hdl { width: 36px; height: 5px; border-radius: 3px; background: var(--hdl); margin: 0 auto 4px; }
.toast { position: fixed; left: 16px; right: 16px; background: var(--invbg); color: var(--invtx); border-radius: 12px;
  padding: 10px 12px 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500;
  line-height: 1.3; box-shadow: 0 8px 28px rgba(0,0,0,.5); z-index: 5; }
.toast button { margin-left: auto; height: 32px; border: 0; border-radius: 8px; background: var(--invtx);
  color: var(--invbg); font-size: 13px; font-weight: 600; padding: 0 10px; flex: 0 0 auto; }

/* -- the code ---------------------------------------------------------------------------------- */
.otp { display: flex; gap: 10px; justify-content: center; }
.otp span { width: 60px; height: 68px; border-radius: 14px; background: var(--s1); box-shadow: var(--raise);
  display: flex; align-items: center; justify-content: center; font: 800 30px 'Plus Jakarta Sans', sans-serif; }
.otp .act { box-shadow: 0 0 0 2px var(--ac); }
.otp .act::after { content: ""; width: 2px; height: 28px; background: var(--ac); }
.cc { display: inline-flex; gap: 4px; }
.cc span { width: 30px; height: 36px; border-radius: 9px; background: var(--s3); display: flex; align-items: center;
  justify-content: center; font: 800 17px 'Plus Jakarta Sans', sans-serif; }

/* -- hold to confirm: the red fill grows while the button is held (JS); without JS it is a plain button */
.hold { position: relative; overflow: hidden; }
.hold i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--dgfill); }
.hold span { position: relative; display: inline-flex; align-items: center; gap: 8px; }

/* -- round buttons (every screen's .app is .app.pill) ------------------------------------------ */
.pill .btn { border-radius: 999px; }
.pill .ib, .pill .stp button { border-radius: 50%; }
.pill .toast button { border-radius: 999px; }
.pill .kp button { border-radius: 999px; }
.kp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kp button { height: 58px; border: 0; border-radius: 16px; background: var(--s1); box-shadow: var(--raise); color: var(--tx);
  font: 700 24px 'Plus Jakarta Sans', sans-serif; display: flex; align-items: center; justify-content: center;
  transition: transform 160ms var(--ease); }
.kp button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .row[href]:hover { background: var(--hover); } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .top-loader.loading { transition: none; } }

/* -- people: the cream plate under the characters, and the round avatar ------------------------ */
.plate { margin: 0 16px; border-radius: 28px; position: relative; overflow: hidden; flex: 0 0 auto;
  background: var(--plate); }
/* The figures are placed in the design's 358 px plate; the stage keeps that frame centred at any width. */
.plate .stage { position: absolute; top: 0; bottom: 0; left: 50%; width: 358px; margin-left: -179px; }
.plate img { position: absolute; display: block; }
.cav { border-radius: 50%; background: var(--plate); overflow: hidden; display: block; flex-shrink: 0; }
.cav img { display: block; }
.hero { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 28px 4px; text-align: center; }
.hero h1 { margin: 0; font: 800 26px/1.15 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.02em; }
.hero .sub { font-size: 15px; max-width: 310px; }
.stack { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 24px 0 8px; }

/* -- a label and its value on one row: Yuk / Piyoz 200 kg ------------------------------------- */
.kv { min-height: 52px; }
.fv { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 16px;
  font-weight: 500; text-align: right; }
.fv b { font-weight: 800; }

/* -- a route (from, to), a timeline, a table, the printed paper -------------------------------- */
.rte { display: flex; gap: 12px; padding: 14px; }
.rl { display: flex; flex-direction: column; align-items: center; padding: 5px 0; width: 12px; flex: 0 0 12px; }
.rl i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--mu); flex: 0 0 10px; }
.rl i.e { background: var(--ac); box-shadow: none; }
.rl b { flex: 1; width: 2px; background: var(--s3); margin: 4px 0; border-radius: 1px; }
.rb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.rs { display: flex; align-items: center; gap: 10px; justify-content: space-between; min-width: 0; }
.tb { width: 100%; border-collapse: collapse; font-size: 15px; }
.tb th { font-size: 12px; font-weight: 600; color: var(--mu); text-align: left; padding: 10px 14px 6px; }
.tb td { padding: 11px 14px; box-shadow: inset 0 1px 0 var(--hair); }
.tb .n { text-align: right; white-space: nowrap; font-weight: 600; }
.ev { display: flex; gap: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.35; }
.ev + .ev { box-shadow: inset 0 1px 0 var(--hair); }
.ev time { color: var(--mu); flex: 0 0 auto; min-width: 46px; font-variant-numeric: tabular-nums; }
.paper { margin: 0 16px; background: #fff; color: #111; border-radius: 6px; padding: 16px; box-shadow: 0 0 0 3px #111 inset; }
.paper .eb { color: #555; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.paper .leg { border-top: 2px solid #111; padding: 9px 0; }
.paper .leg b { display: block; font-size: 18px; }
.paper p { margin: 0; }
.paper table { width: 100%; border-collapse: collapse; margin: 6px 0 2px; font-size: 15px; }
.paper td { padding: 6px 0; border-bottom: 1px solid #ccc; }
.paper td.n { text-align: right; white-space: nowrap; }
.cnt { width: 84px; height: 40px; border-radius: 10px; background: var(--s3); border: 0; outline: 0; text-align: center;
  font-weight: 600; }

/* -- the five-step bar of a load (Tayinlandi, Yuklash, Yo'lda, Yetkazdim, Qabul) -------------- */
.steps { display: flex; margin: 6px 16px 0; }
.steps > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; min-width: 0; }
.steps .ln { position: absolute; top: 10px; left: calc(-50% + 15px); right: calc(50% + 15px); height: 2px; border-radius: 1px;
  background: var(--s3); }
.steps .done .ln, .steps .cur .ln { background: var(--ac); }
.steps .c { width: 22px; height: 22px; border-radius: 50%; display: block; position: relative;
  box-shadow: inset 0 0 0 2px var(--s3); }
.steps .done .c { background: var(--ac); box-shadow: none; display: flex; align-items: center; justify-content: center;
  color: var(--onac); }
.steps .cur .c { box-shadow: inset 0 0 0 6px var(--ac); }
.steps .t { font-size: 11px; font-weight: 600; max-width: 100%; color: var(--mu); }
.steps .done .t, .steps .cur .t { color: var(--tx); }

/* -- sign-up: the vehicle chips are radio buttons, so the choice works without JavaScript ------- */
.opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.opts .chip { height: 40px; border-radius: 20px; font-size: 14px; cursor: pointer; }
.opts .chip:has(input:checked) { background: var(--tx); color: var(--bg); box-shadow: none; }
.opts .chip:has(input:focus-visible) { outline: 2px solid var(--ac); outline-offset: 2px; }
.other { display: none; margin-top: 12px; }
.opts:has(input[value="Boshqa"]:checked) + .other { display: block; }
.hint { margin: 8px 20px 0; display: flex; gap: 6px; align-items: center; }

/* -- a vertical timeline of steps: done, now, to come (Y04) ------------------------------------- */
.tl { margin: 18px 28px 0; }
.tl > div { display: flex; gap: 12px; }
.tl .m { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 2px; }
.tl .c { width: 24px; height: 24px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 2px var(--s3); }
.tl .done .c { background: var(--ac); box-shadow: none; display: flex; align-items: center; justify-content: center;
  color: var(--onac); }
.tl .cur .c { box-shadow: inset 0 0 0 7px var(--ac); }
.tl .m i { flex: 1; width: 2px; min-height: 18px; border-radius: 1px; background: var(--s3); }
.tl .done .m i { background: var(--ac); }
.tl .bd { padding-bottom: 18px; }
.tl .rt { color: var(--tx); }
.tl .todo .rt { color: var(--mu); }

/* -- a listing card: day and price, the route, the load, the button ---------------------------- */
.card { margin-bottom: 12px; }
.ch { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px 0; }
.ch .val { font-size: 18px; }
.cb { padding: 0 14px 14px; }
.cb .lines { font-size: 14px; font-weight: 500; }
.act { display: flex; padding: 0 14px 14px; }
.legend { margin: 2px 20px 0; display: flex; gap: 8px; }
.empty-act { display: flex; justify-content: center; padding: 14px 16px 0; }
.empty-act .btn { flex: 0 0 auto; padding: 0 22px; }
.sheet h2 { margin: 0; font: 800 20px/1.2 'Plus Jakarta Sans', Inter, sans-serif; letter-spacing: -.01em; }
.tx.plain { justify-content: center; color: var(--tx); }
.note .btn { flex: 0 0 auto; }

/* -- a list row that starts at the top (code, route, status), a quiet call button ----------------- */
.row.top { align-items: flex-start; gap: 12px; }
.mt4 { margin-top: 4px; }
.ib.s3 { background: var(--s3); box-shadow: none; color: var(--tx); }
.side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: 0 0 auto; }
.big-code { padding: 16px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.big-code .rm { text-align: center; }

/* -- the loading checklist: a row is a checkbox, so it works without script ------------------------ */
.chk { cursor: pointer; }
.chk .on { display: none; }
.chk:has(input:checked) .off { display: none; }
.chk:has(input:checked) .on { display: block; }
.chk:has(input:focus-visible) { outline: 2px solid var(--ac); outline-offset: -2px; }

/* -- inside a sheet: reasons to pick, and a box to write in ------------------------------------- */
.sheet .opts { padding: 0; }
.sheet .chip { background: var(--s3); }
.sheet .chip.on { background: var(--tx); color: var(--bg); }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > span { font-size: 13px; line-height: 1.35; color: var(--mu); font-weight: 600; }
.fld textarea { background: var(--s3); border: 0; border-radius: 12px; padding: 12px 14px; resize: none; outline: 0;
  width: 100%; }
.fld textarea:focus-visible { box-shadow: 0 0 0 2px var(--ac); }

/* -- the code search and its scan button (Y18) --------------------------------------------------- */
.searchrow { display: flex; gap: 8px; margin: 0 16px; }
.searchrow .srch { margin: 0; flex: 1; }
.ib.scan { width: 44px; height: 44px; flex-basis: 44px; background: var(--cta); color: var(--on); box-shadow: none; }

/* -- two buttons side by side in a dock; a count box that differs from the label ------------------- */
/* A grid, not flex: one side is a link with padding and the other a form without, and flex would give the
   padded one a head start. */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.pair > form { display: flex; margin: 0; }
.pair > form > .btn { flex: 1; }
.dock > .sub { margin: 0 0 2px; }
.cnt.diff { box-shadow: 0 0 0 2px var(--warn); }

/* -- the label (Y29): black on white, on the dark page; printing keeps only the paper ---------------- */
.paper .code { font-size: 68px; font-weight: 800; letter-spacing: .08em; line-height: 1.05; margin: 2px 0 8px; }
.paper .ink { color: #555; }
.paper .weight { font-weight: 700; text-align: right; margin: 4px 0 12px; }
.paper .banner { background: #111; color: #fff; padding: 8px 12px; font-weight: 600; margin: 4px 0 10px; }
.paper .qr { width: 188px; max-width: 100%; margin: 12px auto 6px; }
.paper .qr svg { display: block; width: 100%; height: auto; }
.paper .hint { display: block; margin: 0; text-align: center; font-size: 13px; color: #333; }
@media print {
  html, body { background: #fff; }
  .app > :not(.paper) { display: none !important; }
  .app { max-width: none; min-height: 0; background: #fff; }
  .paper { margin: 0; box-shadow: none; border: 3px solid #111; border-radius: 0; }
}

/* -- the operator's list: the buttons under a delivery ------------------------------------------- */
.row.acts { min-height: 0; padding: 0 14px 14px; gap: 8px; }
.row.acts .btn { flex: 1; }
.sg2 a[aria-current="true"] { background: var(--tx); color: var(--bg); }
