/* Vitus Studio — дизайн тизими: телефон ва компьютер учун бир хил содда услуб */
:root {
  --bg: #F4F6FB; --card: #FFFFFF; --ink: #0F172A; --muted: #64748B; --line: #E4E8F0; --soft: #EEF1F8;
  --brand: #3B54F0; --brand-ink: #FFFFFF; --brand-soft: #E8ECFF;
  --ok: #16A34A; --ok-soft: #DCFCE7; --warn: #D97706; --warn-soft: #FEF3C7; --bad: #DC2626; --bad-soft: #FEE2E2;
  --blue: #2563EB; --blue-soft: #DBEAFE; --purple: #7C3AED; --purple-soft: #EDE9FE; --teal: #0D9488; --teal-soft: #CCFBF1;
  --orange: #EA580C; --orange-soft: #FFEDD5; --gray: #64748B; --gray-soft: #E2E8F0;
  --r: 18px; --r-sm: 12px; --shadow: 0 1px 2px rgba(15,23,42,.05), 0 6px 20px rgba(15,23,42,.06);
  --tab-h: 68px; --rail-w: 244px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #0B1020; --card: #141B2E; --ink: #E8ECF6; --muted: #94A3B8; --line: #25304A; --soft: #1B2440;
    --brand: #6C7FFF; --brand-ink: #0B1020; --brand-soft: #1E2749;
    --ok: #4ADE80; --ok-soft: #12301F; --warn: #FBBF24; --warn-soft: #3A2C0B; --bad: #F87171; --bad-soft: #3B1616;
    --blue: #60A5FA; --blue-soft: #16264A; --purple: #A78BFA; --purple-soft: #2A1F4D; --teal: #2DD4BF; --teal-soft: #0F2F2C;
    --orange: #FB923C; --orange-soft: #3A220F; --gray: #94A3B8; --gray-soft: #232C44;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
  }
}
:root[data-theme=dark] {
  --bg: #0B1020; --card: #141B2E; --ink: #E8ECF6; --muted: #94A3B8; --line: #25304A; --soft: #1B2440;
  --brand: #6C7FFF; --brand-ink: #0B1020; --brand-soft: #1E2749;
  --ok: #4ADE80; --ok-soft: #12301F; --warn: #FBBF24; --warn-soft: #3A2C0B; --bad: #F87171; --bad-soft: #3B1616;
  --blue: #60A5FA; --blue-soft: #16264A; --purple: #A78BFA; --purple-soft: #2A1F4D; --teal: #2DD4BF; --teal-soft: #0F2F2C;
  --orange: #FB923C; --orange-soft: #3A220F; --gray: #94A3B8; --gray-soft: #232C44;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.45 -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { flex: none; vertical-align: middle; }
.muted { color: var(--muted); } .small { font-size: 13px; } .bold { font-weight: 700; }
.nowrap { white-space: nowrap; } .grow { flex: 1; min-width: 0; } .right { text-align: right; }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.mt { margin-top: 14px; } .mb { margin-bottom: 14px; }
.pos { color: var(--ok); } .neg { color: var(--bad); }

/* ---- Макет ---- */
.shell { min-height: 100vh; }
.rail { display: none; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.topbar h1 { font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.main { padding: 4px 16px calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); max-width: 1180px; margin: 0 auto; }
.tabbar { position: fixed; inset: auto 0 0 0; z-index: 30; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: flex; background: var(--card); border-top: 1px solid var(--line); }
.tab { min-width: 0; padding: 0 2px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--muted); position: relative; }
.tab.on { color: var(--brand); }
.tab .ic { width: 24px; height: 24px; }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[hidden] { display: none !important; }
.tab .dot { position: absolute; top: 10px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 8px; background: var(--bad); color: #fff; font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px; }
.fab { position: fixed; right: 18px; bottom: calc(var(--tab-h) + 18px + env(safe-area-inset-bottom)); z-index: 31; width: 58px; height: 58px; border-radius: 20px; border: 0;
  background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(59,84,240,.45); cursor: pointer; }
.fab .ic { width: 28px; height: 28px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); position: relative; }
.icon-btn:hover { background: var(--soft); }
.icon-btn .dot { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--bad); color: #fff; font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px; }

@media (min-width: 900px) {
  .rail { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: var(--rail-w); padding: 20px 14px; background: var(--card); border-right: 1px solid var(--line); gap: 4px; z-index: 25; }
  .rail .logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-weight: 800; font-size: 18px; }
  .rail .logo i { width: 34px; height: 34px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; }
  .rail a.nav { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; position: relative; }
  .rail a.nav:hover { background: var(--soft); }
  .rail a.nav.on { background: var(--brand-soft); color: var(--brand); }
  .rail a.nav .badge { margin-left: auto; background: var(--bad); color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 7px; }
  .rail .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-top: 1px solid var(--line); }
  .rail .btn-new { margin: 6px 4px 14px; }
  .tabbar, .fab { display: none; }
  .topbar { padding: 18px 32px 10px; }
  .main { margin-left: var(--rail-w); max-width: none; padding: 6px 32px 48px; }
  .main > .page { max-width: 1120px; margin: 0 auto; }
  .topbar { margin-left: var(--rail-w); }
}

/* ---- Карточка, тугма, чип ---- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; }
.card + .card { margin-top: 14px; }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-head h2 { font-size: 17px; font-weight: 800; flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--card); font-weight: 700; cursor: pointer; transition: transform .06s, background .15s; text-align: center; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.soft { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn.lg { min-height: 56px; font-size: 17px; border-radius: 16px; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: var(--gray-soft); color: var(--gray); }
.chip.blue { background: var(--blue-soft); color: var(--blue); } .chip.purple { background: var(--purple-soft); color: var(--purple); }
.chip.orange { background: var(--orange-soft); color: var(--orange); } .chip.teal { background: var(--teal-soft); color: var(--teal); }
.chip.green, .chip.ok { background: var(--ok-soft); color: var(--ok); } .chip.red, .chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.warn { background: var(--warn-soft); color: var(--warn); } .chip.mute, .chip.gray { background: var(--gray-soft); color: var(--gray); }
.seg { display: inline-flex; background: var(--soft); border-radius: 12px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 700; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; white-space: nowrap; cursor: pointer; }
.pill.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

/* ---- Статистика ---- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; display: block; color: inherit; }
.stat .l { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat .v { font-size: 24px; font-weight: 800; letter-spacing: -.5px; margin-top: 2px; }
.stat .s { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.stat.hero { grid-column: 1 / -1; background: linear-gradient(135deg, var(--brand), #6A4DFF); color: #fff; }
.stat.hero .l, .stat.hero .s { color: rgba(255,255,255,.82); } .stat.hero .v { font-size: 32px; }
.stat.warn .v { color: var(--bad); } .stat.good .v { color: var(--ok); }

/* ---- Муддат чизиғи ---- */
.bar { height: 6px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--ok); }
.bar.yellow i { background: #EAB308; } .bar.orange i { background: var(--orange); } .bar.red i, .bar.overdue i { background: var(--bad); }
.bar.done i { background: var(--ok); }

/* ---- Вазифа карточкаси ---- */
.tcard { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 10px; border-left: 5px solid var(--line); }
.tcard.s-ok { border-left-color: var(--ok); } .tcard.s-warn { border-left-color: #EAB308; } .tcard.s-bad { border-left-color: var(--bad); }
.tcard .t { font-size: 17px; font-weight: 800; line-height: 1.25; }
.tcard .sub { color: var(--muted); font-size: 14px; }
.tcard .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.list { display: flex; flex-direction: column; gap: 12px; }
.tgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .tgrid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Қатор (рўйхат) ---- */
.rowitem { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); color: inherit; cursor: pointer; }
.rowitem:last-child { border-bottom: 0; }
.rowitem .ttl { font-weight: 700; } .rowitem .sub { color: var(--muted); font-size: 13.5px; }
.rowitem .ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--muted); flex: none; }

/* ---- Канбан ---- */
.board { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x proximity; align-items: flex-start; }
.col { flex: 0 0 min(82vw, 300px); background: var(--soft); border-radius: var(--r); padding: 10px; scroll-snap-align: start; min-height: 140px; }
.col.over { outline: 3px dashed var(--brand); }
.col-h { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font-weight: 800; }
.col-h .n { margin-left: auto; background: var(--card); border-radius: 10px; padding: 1px 9px; font-size: 13px; }
.ocard { background: var(--card); border-radius: 14px; padding: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.08); cursor: grab; margin-bottom: 10px; display: block; color: inherit; }
.ocard:active { cursor: grabbing; }
.ocard .num { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.ocard .t { font-weight: 800; margin: 2px 0 6px; }
.ocard.dragging { opacity: .45; }

/* ---- Босқичлар (stepper) ---- */
.steps { display: flex; gap: 4px; }
.step { flex: 1; min-width: 0; overflow-wrap: anywhere; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--muted); position: relative; padding-top: 14px; }
.step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 4px; background: var(--soft); }
.step.done::before { background: var(--ok); } .step.cur::before { background: var(--brand); } .step.cur { color: var(--brand); }
button.step { border: 0; background: transparent; cursor: pointer; }

/* ---- Форма ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full, .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field small { color: var(--muted); font-size: 12.5px; }
.req { color: var(--bad); }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); outline: none; }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
input[type=checkbox] { width: 22px; min-height: 22px; }
.search { position: relative; }
.search input { padding-left: 44px; }
.search .ic { position: absolute; left: 14px; top: 14px; color: var(--muted); }
.note { background: var(--brand-soft); color: var(--brand); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.note.warn { background: var(--warn-soft); color: var(--warn); }

/* ---- Ойна ---- */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-back { position: absolute; inset: 0; background: rgba(6,10,24,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s; }
.sheet { position: relative; width: 100%; max-height: 92vh; background: var(--card); border-radius: 24px 24px 0 0; display: flex; flex-direction: column;
  transform: translateY(40px); opacity: 0; transition: transform .2s, opacity .2s; padding-bottom: env(safe-area-inset-bottom); }
.sheet-wrap.open .sheet-back { opacity: 1; } .sheet-wrap.open .sheet { transform: none; opacity: 1; }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 8px auto 0; }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 20px; }
.sheet-head h2 { flex: 1; font-size: 19px; font-weight: 800; }
.sheet-body { overflow-y: auto; padding: 8px 20px 22px; }
.sheet-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.sheet-actions .btn { flex: 1; }
.confirm-text { font-size: 16.5px; margin-bottom: 16px; }
@media (min-width: 700px) {
  .sheet-wrap { align-items: center; }
  .sheet { width: 520px; border-radius: 24px; max-height: 88vh; } .sheet.wide { width: 760px; }
  .sheet-grip { display: none; }
  .sheet-actions .btn { flex: 0 0 auto; min-width: 140px; }
}
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 24px); transform: translate(-50%, 20px); opacity: 0; transition: .25s; background: #0F172A; color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; z-index: 200; max-width: 90vw; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.bad { background: var(--bad); } .toast.ok { background: #0F172A; }
@media (min-width: 900px) { .toast { bottom: 28px; } }

.empty { text-align: center; color: var(--muted); padding: 34px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: 14px; } .kv dd { margin: 0; font-weight: 600; text-align: right; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.timeline li { position: relative; font-size: 14.5px; }
.timeline li::before { content: ''; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline time { display: block; color: var(--muted); font-size: 12.5px; }
.two { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 980px) { .two { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.big-qr { display: grid; place-items: center; padding: 8px; }
.big-qr svg, .big-qr img { width: min(260px, 70vw); height: auto; }
.pct { background: var(--soft); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.pct .chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pct input { min-height: 40px; width: 120px; }
.pct .pill { padding: 6px 12px; }
.sk { background: linear-gradient(90deg, var(--soft), var(--card), var(--soft)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 14px; height: 90px; }
@keyframes sk { to { background-position: -200% 0; } }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(1200px 500px at 50% -10%, var(--brand-soft), transparent); }
.login-card { width: min(420px, 100%); background: var(--card); border-radius: 28px; padding: 30px 24px; box-shadow: var(--shadow); }
.login-card .logo { width: 56px; height: 56px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800; margin-bottom: 16px; }
@media print { .rail, .tabbar, .fab, .topbar, .toast, .no-print { display: none !important; } .main { margin: 0 !important; padding: 0 !important; } body { background: #fff; } .card { box-shadow: none; border: 1px solid #ddd; } }
@media (min-width: 900px) { .col { flex: 1 0 232px; } }
.seg button { white-space: nowrap; }

/* Вазифа ойнаси */
.tf { display: flex; flex-direction: column; gap: 18px; }
.tf-l { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .opt-grid { grid-template-columns: repeat(4, 1fr); } }
.opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); font-weight: 700; cursor: pointer; color: var(--muted); font-size: 14px; }
.opt.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; max-height: 240px; overflow-y: auto; padding: 2px; }
.emp { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; min-width: 0; }
.emp b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emp small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emp .avatar { width: 36px; height: 36px; font-size: 13px; }
.emp.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.paybox { margin-top: 10px; padding: 14px; border-radius: 16px; background: var(--soft); }
.tf-preview { margin: 10px 0 6px; font-size: 16px; }

/* ===== Ойналар: умумий дизайн ===== */
.sheet-head { padding: 10px 14px 6px 20px; }
.sheet-head .grow h2 { font-size: 19px; line-height: 1.2; }
.sheet-head .grow p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sheet-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-right: 12px; flex: none; }
.sheet-ic.bad { background: var(--bad-soft); color: var(--bad); } .sheet-ic.ok { background: var(--ok-soft); color: var(--ok); } .sheet-ic.warn { background: var(--warn-soft); color: var(--warn); }
.sheet-body { padding: 10px 20px 0; }
.sheet-actions { position: sticky; bottom: 0; background: var(--card); padding: 14px 0 20px; margin-top: 10px; z-index: 2; box-shadow: 0 -14px 14px -10px var(--card); }
.sheet-actions .btn { min-height: 52px; font-size: 16px; }
.sheet-actions .btn.primary, .sheet-actions .btn.ok, .sheet-actions .btn.danger { flex: 1.4; }
.sec-title { font-size: 12.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.sec-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.money { position: relative; }
.money input { font-size: 22px; font-weight: 800; letter-spacing: -.3px; padding-right: 64px; min-height: 58px; }
.money i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: var(--muted); }
.choice .opt-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.choice .opt-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.choice .opt-grid.c4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .choice .opt-grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.choice .opt { padding: 12px 6px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px 14px; border: 2px dashed var(--line); border-radius: 18px; background: var(--soft); cursor: pointer; color: var(--muted); }
.drop:hover, .drop.has { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.drop b { font-size: 15px; color: var(--ink); word-break: break-all; } .drop small { font-size: 12.5px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.kpi-strip { display: flex; gap: 10px; background: var(--soft); border-radius: 16px; padding: 12px 14px; align-items: center; }
.kpi-strip > div { flex: 1; min-width: 0; } .kpi-strip small { display: block; color: var(--muted); font-size: 12.5px; } .kpi-strip b { font-size: 17px; }
.listbtn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 12px; border: 0; border-radius: 16px; background: transparent; text-align: left; cursor: pointer; color: var(--ink); text-decoration: none; }
.listbtn:hover { background: var(--soft); }
.listbtn .li { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.listbtn .li.bad { background: var(--bad-soft); color: var(--bad); } .listbtn .li.ok { background: var(--ok-soft); color: var(--ok); }
.listbtn b { display: block; font-size: 16px; } .listbtn small { display: block; color: var(--muted); font-size: 13.5px; }
.confirm-text { font-size: 17px; line-height: 1.5; margin: 8px 0 4px; }
.pct { margin-top: -4px; }
