/* Usta Hisob — qurilish uslubidagi dizayn */
:root {
  --bg: #16181c;
  --bg2: #1d2025;
  --card: #24272d;
  --card2: #2c3038;
  --line: #383d46;
  --text: #eef0f2;
  --muted: #9aa1ab;
  --yellow: #f5b800;
  --yellow2: #ffcf3d;
  --yellow-ink: #1a1500;
  --orange: #ff7a1a;
  --red: #ff5a4e;
  --green: #3ccf7a;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0, 0, 0, .35);
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Oswald', 'Roboto Condensed', 'Arial Narrow', Impact, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font: 15px/1.45 var(--font);
  color: var(--text);
  background-color: var(--bg);
  /* beton teksturasi */
  background-image:
    radial-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, .25) 1px, transparent 1px),
    linear-gradient(180deg, #1b1e23 0%, #141619 100%);
  background-size: 7px 7px, 11px 11px, 100% 100%;
  background-position: 0 0, 3px 5px, 0 0;
  background-attachment: fixed;
}
body.noscroll { overflow: hidden; }
a { color: var(--yellow); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; margin: 0; }
h3 { font-size: 17px; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.green { color: var(--green) !important; }
.red { color: var(--red) !important; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.big { width: 54px; height: 54px; opacity: .35; }
button { font: inherit; color: inherit; }

.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, #111 14px 28px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

/* ---------- yuqori panel ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: rgba(22, 24, 28, .96);
  backdrop-filter: blur(6px);
}
.topbar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, #111 14px 28px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand b { display: block; font-family: var(--font-head); font-size: 20px; letter-spacing: .06em; line-height: 1.1; color: var(--yellow); }
.brand small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand.big { justify-content: center; margin: 10px 0 18px; }
.brand.big img { width: 64px; height: 64px; border-radius: 14px; }
.brand.big b { font-size: 30px; }
.brand.big small { font-size: 13px; }

.lang-toggle {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); cursor: pointer;
}
.lang-toggle span { padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 12.5px; color: var(--muted); }
.lang-toggle span.on { background: var(--yellow); color: var(--yellow-ink); }

main#main { max-width: 860px; margin: 0 auto; padding: 24px 16px calc(150px + var(--safe-b)); }

/* ---------- pastki navigatsiya ---------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-around;
  background: #121417; border-top: 3px solid var(--yellow);
  padding: 6px 0 calc(6px + var(--safe-b));
}
.bottomnav a {
  flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 500; padding: 4px 0;
}
.bottomnav a .ic { width: 24px; height: 24px; }
.bottomnav a.on { color: var(--yellow); }

/* ---------- tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
  transition: transform .08s, filter .15s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; pointer-events: none; }
.btn.primary { background: linear-gradient(180deg, var(--yellow2), var(--yellow)); color: var(--yellow-ink); box-shadow: 0 3px 0 #b88900; }
.btn.dark { background: #0f1113; color: var(--yellow); border: 1px solid #3a3f47; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger-ghost { background: transparent; color: var(--red); border: 1px solid rgba(255, 90, 78, .45); }
.btn.link { background: none; color: var(--yellow); text-transform: none; font-weight: 500; }
.btn.block { display: flex; width: 100%; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none; border-radius: 11px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); cursor: pointer; font-size: 24px; line-height: 1;
}
.icon-btn.yellow { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }

.fab {
  position: fixed; z-index: 25; right: 16px; bottom: calc(82px + var(--safe-b));
  display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 54px; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, var(--yellow2), var(--yellow)); color: var(--yellow-ink);
  font-weight: 800; font-size: 15px; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 4px 0 #b88900, 0 10px 24px rgba(0, 0, 0, .5);
}
.fab .ic { width: 24px; height: 24px; stroke-width: 3; }

/* ---------- kartochkalar ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow);
}

.stats { display: grid; gap: 12px; margin-bottom: 14px; }
.stat-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2b2f36, #212429); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px 14px 20px; box-shadow: var(--shadow);
}
.stat-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 8px, #111 8px 16px);
}
.stat-cur { font-family: var(--font-head); font-size: 15px; color: var(--yellow); letter-spacing: .08em; margin-bottom: 6px; }
.stat-cur small { color: var(--muted); font-family: var(--font); letter-spacing: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-grid small { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; }
.stat-grid b { font-family: var(--font-head); font-size: 19px; font-weight: 600; word-break: break-word; }

.toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.search { position: relative; margin-bottom: 12px; }
.toolbar .search { margin-bottom: 0; }
.search .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 42px !important; }
.chips { display: flex; gap: 8px; overflow-x: auto; }
.chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--muted); font-weight: 500; white-space: nowrap; cursor: pointer;
}
.chip.on { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); font-weight: 700; }

.olist { display: grid; gap: 12px; }
@media (min-width: 720px) { .olist { grid-template-columns: 1fr 1fr; } .stats { grid-template-columns: 1fr 1fr; } }
.ocard {
  display: block; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--yellow);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); transition: transform .1s;
}
.ocard:active { transform: scale(.985); }
.ocard.done { border-left-color: var(--green); }
.ocard-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ocard-top b { font-size: 16.5px; line-height: 1.25; }
.ocard-sum { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.ocard-sum small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; }
.ocard-sum b { font-size: 14.5px; word-break: break-word; }
.progress { height: 6px; background: #15171a; border-radius: 99px; margin-top: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--green)); border-radius: 99px; }

.badge {
  display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.badge.active { background: rgba(245, 184, 0, .15); color: var(--yellow); }
.badge.done { background: rgba(60, 207, 122, .15); color: var(--green); }
.badge.cur { background: #0f1113; color: var(--text); border: 1px solid var(--line); }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty.small { padding: 26px 16px; }
.empty p { margin: 8px 0 0; }
.loading { display: flex; justify-content: center; padding: 40px; }
.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 4px solid rgba(245, 184, 0, .2); border-top-color: var(--yellow); animation: spin .8s linear infinite;
}
.spinner.small { width: 18px; height: 18px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.boot img { width: 84px; height: 84px; border-radius: 18px; }

/* ---------- obyekt sahifasi ---------- */
.page-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.page-head h1 { flex: 1; font-size: 23px; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.hint { margin: -6px 0 12px; }
.ohead-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.info-line { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; }
.info-line .ic { width: 17px; height: 17px; color: var(--yellow); margin-top: 2px; }
.notes { margin-top: 10px; padding: 10px 12px; background: var(--bg2); border-radius: 10px; color: var(--muted); white-space: pre-wrap; font-size: 14px; }

.totals { padding: 6px 16px; }
.trow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.trow:last-child { border-bottom: 0; }
.trow span { color: var(--muted); }
.trow b { text-align: right; }
.trow.grand {
  margin: 4px -16px; padding: 12px 16px; border: 0;
  background: linear-gradient(180deg, var(--yellow2), var(--yellow)); color: var(--yellow-ink);
}
.trow.grand span { color: var(--yellow-ink); font-family: var(--font-head); font-size: 18px; letter-spacing: .06em; }
.trow.grand b { font-family: var(--font-head); font-size: 22px; }

.tabs { display: flex; gap: 6px; background: #111316; padding: 5px; border-radius: 13px; margin-bottom: 12px; border: 1px solid var(--line); }
.tab {
  flex: 1; padding: 10px 6px; border: 0; border-radius: 9px; background: transparent; color: var(--muted);
  font-weight: 700; font-size: 14px; cursor: pointer; text-transform: uppercase; letter-spacing: .02em;
}
.tab i { font-style: normal; display: inline-block; min-width: 20px; padding: 0 5px; border-radius: 99px; background: var(--card2); font-size: 11.5px; margin-left: 2px; }
.tab.on { background: var(--yellow); color: var(--yellow-ink); }
.tab.on i { background: rgba(0, 0, 0, .18); }

.irow {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
}
.irow:active { background: var(--card2); }
.irow-no {
  flex: none; width: 26px; height: 26px; border-radius: 7px; background: #111316; color: var(--yellow);
  display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700;
}
.irow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.irow-main b { font-weight: 500; overflow-wrap: anywhere; }
.irow-main small { color: var(--muted); font-size: 12.5px; }
.calcline { color: var(--muted); font-size: 13px; }
.irow-sum { font-weight: 700; text-align: right; white-space: nowrap; font-size: 15px; }
.irow-sum.prices { display: flex; flex-direction: column; font-weight: 500; font-size: 13.5px; }
.subtotal {
  display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px;
  background: rgba(245, 184, 0, .1); border: 1px dashed rgba(245, 184, 0, .45); color: var(--yellow); font-weight: 700;
}

.action-bar {
  position: fixed; z-index: 25; left: 0; right: 0; bottom: calc(66px + var(--safe-b));
  display: flex; gap: 10px; padding: 10px 16px; max-width: 860px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(22, 24, 28, 0), rgba(22, 24, 28, .95) 35%);
}
.action-bar .btn { min-height: 52px; }
.action-bar .btn.primary { flex: 1; }
.action-bar .btn .ic { stroke-width: 2.6; }

/* ---------- formalar ---------- */
.form label { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.field-label { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 5px;
  padding: 12px 13px; border-radius: 11px; border: 1px solid var(--line);
  background: #121417; color: var(--text); font: 16px var(--font); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245, 184, 0, .18); }
input[type=date] { min-height: 46px; }
textarea { resize: vertical; }
.search input { margin-top: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.with-btn { display: flex; gap: 6px; align-items: stretch; margin-top: 5px; }
.with-btn input { margin-top: 0; }
.with-btn .icon-btn { height: auto; width: 46px; }
.expr-hint { display: block; color: var(--yellow); font-size: 12.5px; min-height: 16px; margin-top: 3px; }
.check { display: flex !important; align-items: center; gap: 10px; color: var(--text) !important; font-size: 15px !important; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--yellow); }

.segmented { display: flex; gap: 6px; background: #111316; padding: 4px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 14px; }
.segmented label { flex: 1; margin: 0 !important; }
.segmented input { display: none; }
.segmented span {
  display: block; text-align: center; padding: 10px 6px; border-radius: 9px; cursor: pointer;
  color: var(--muted); font-weight: 700; font-size: 14px;
}
.segmented input:checked + span { background: var(--yellow); color: var(--yellow-ink); }

.unit-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.unit-chips label { margin: 0 !important; }
.unit-chips input { display: none; }
.unit-chips span {
  display: block; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line); background: #121417;
  color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; min-width: 52px; text-align: center;
}
.unit-chips input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-ink); box-shadow: 0 2px 0 #b88900; }

.live-total {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px; margin-bottom: 14px; border-radius: 12px;
  background: #0f1113; border: 2px dashed rgba(245, 184, 0, .5);
}
.live-total span { color: var(--muted); }
.live-total b { color: var(--yellow); font-family: var(--font-head); font-size: 24px; }

.suggest-wrap { position: relative; }
.suggest {
  position: static; margin-top: 6px;
  background: var(--card2); border: 1px solid var(--yellow); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
}
.suggest button {
  display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 13px; border: 0;
  background: transparent; text-align: left; cursor: pointer; border-bottom: 1px solid var(--line); color: var(--text);
}
.suggest button:last-child { border-bottom: 0; }
.suggest button:hover, .suggest button:focus { background: rgba(245, 184, 0, .12); }
.suggest small { color: var(--muted); white-space: nowrap; }

.calc-results { display: grid; gap: 8px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: #121417; border: 1px solid var(--line); }
.calc-row.match { border-color: var(--yellow); }
.calc-row small { display: block; color: var(--muted); font-size: 12.5px; }
.calc-row b { font-family: var(--font-head); font-size: 20px; color: var(--yellow); }
.calc-btns { display: flex; gap: 6px; flex: none; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); animation: fade .15s; }
.modal-box {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto;
  background: var(--card); border-top: 4px solid var(--yellow); border-radius: 18px 18px 0 0;
  padding: 0 16px calc(16px + var(--safe-b)); animation: up .2s ease-out; overscroll-behavior: contain;
}
@media (min-width: 640px) {
  .modal { align-items: center; }
  .modal-box { border-radius: 18px; max-height: 88vh; }
}
.modal-head {
  position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--card); padding: 14px 0 12px; margin-bottom: 4px;
}
.modal-head h3 { margin: 0; font-size: 19px; color: var(--text); }
.modal-actions { display: flex; gap: 8px; margin-top: 6px; }
.modal-actions .btn { flex: 1; }
.modal-actions .btn.danger-ghost { flex: none; width: 50px; padding: 0; }
.confirm-text { font-size: 16px; margin: 4px 0 18px; }
.sheet-list { display: flex; flex-direction: column; gap: 4px; }
.sheet-item {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 12px; border: 0; border-radius: 11px;
  background: transparent; text-align: left; font-size: 16px; cursor: pointer;
}
.sheet-item .ic { color: var(--yellow); }
.sheet-item:active, .sheet-item:hover { background: var(--card2); }
.sheet-item.danger, .sheet-item.danger .ic { color: var(--red); }
.pdf-actions { display: grid; gap: 10px; margin-top: 16px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- toast ---------- */
#toast-root { position: fixed; z-index: 200; left: 0; right: 0; bottom: calc(150px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast {
  background: #0f1113; color: var(--text); border-left: 5px solid var(--green); padding: 12px 16px;
  border-radius: 10px; box-shadow: var(--shadow); font-weight: 500; max-width: 480px; transition: opacity .4s, transform .4s;
  animation: fade .2s;
}
.toast.error { border-left-color: var(--red); }
.toast.hide { opacity: 0; transform: translateY(10px); }

/* ---------- sozlamalar ---------- */
.file-btn { margin: 10px 0 0; color: var(--text) !important; font-size: 15px !important; }
.server-backups { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sb-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.sb-row .ic { color: var(--yellow); width: 17px; height: 17px; }
.sb-row span { flex: 1; }
.server-backups .btn { margin-top: 10px; }
.trash-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.trash-row:last-child { border-bottom: 0; }
.trash-row small { display: block; }
.about { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }

/* ---------- kirish / o'rnatish ---------- */
.auth, .install-wrap { max-width: 420px; margin: 0 auto; padding: 24px 16px 40px; position: relative; }
.auth-lang { display: flex; justify-content: flex-end; }
.auth-art {
  height: 120px; margin-top: 24px; border-radius: var(--radius); opacity: .5;
  background:
    linear-gradient(rgba(245, 184, 0, .14) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(245, 184, 0, .14) 1px, transparent 1px) 0 0 / 20px 20px;
  border: 1px dashed rgba(245, 184, 0, .3);
}
.alert { background: rgba(255, 90, 78, .12); border: 1px solid rgba(255, 90, 78, .5); color: #ffb1aa; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; }
.ok-msg { font-size: 17px; color: var(--green); margin: 0 0 14px; }
.lang-links { text-align: center; color: var(--muted); }
.lang-links a { color: var(--muted); }
.lang-links a.on { color: var(--yellow); font-weight: 700; }
.install h3 { margin-top: 6px; }

@media (max-width: 380px) {
  .stat-grid b { font-size: 16px; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .fab span { display: none; }
  .fab { width: 58px; padding: 0; justify-content: center; }
}

/* ---------- soddalashtirilgan hisob sahifasi ---------- */
.ph-title { flex: 1; min-width: 0; }
.ph-title h1 { font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.section-title { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-family: var(--font-head); font-size: 17px; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); }
.calcline b { color: var(--text); font-weight: 700; }
.subtotal { align-items: center; gap: 10px; margin-bottom: 16px; }
.subtotal b { font-size: 17px; white-space: nowrap; }
.vols { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vols.right { justify-content: flex-end; }
.vol { background: #111316; border: 1px solid var(--line); color: var(--text); border-radius: 7px; padding: 2px 8px; font-size: 13px; font-weight: 700; }
.totals h3 { margin: 10px 0 2px; }
.trow .vols { margin-top: 0; }
.empty-add {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%;
  padding: 26px 16px; margin-bottom: 16px; border-radius: var(--radius); cursor: pointer;
  background: rgba(245, 184, 0, .07); border: 2px dashed rgba(245, 184, 0, .6); color: var(--yellow); text-align: center;
}
.empty-add .ic { width: 40px; height: 40px; stroke-width: 2.6; }
.empty-add b { font-family: var(--font-head); font-size: 20px; text-transform: uppercase; letter-spacing: .04em; }
.empty-add small { color: var(--muted); font-size: 13.5px; }
.extras { display: flex; gap: 8px; margin: 4px 0 10px; }
.extra-body { margin-bottom: 14px; }
.extra-body .btn { margin-top: 4px; }
.center { text-align: center; }
details.more { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #1b1e23; }
details.more summary { cursor: pointer; padding: 12px 0; color: var(--muted); font-size: 14px; font-weight: 500; }
details.more[open] summary { margin-bottom: 6px; }
.segmented.big span { padding: 14px 6px; font-size: 16px; }
.btn.big { min-height: 56px; font-size: 17px; }
