:root {
  --ink: #1c2430;
  --muted: #5c6775;
  --line: #e3ddd4;
  --paper: #f4f1eb;
  --card: #ffffff;
  --navy: #1e3a5f;
  --navy-2: #16304f;
  --amber: #8a4b12;
  --ok: #1f6b45;
  --danger: #8d2b2b;
  --shadow: 0 8px 24px rgba(30, 42, 58, 0.05);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.45 "Segoe UI", sans-serif;
}

a { color: var(--navy); }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  background: var(--navy);
  color: white;
}

.top a { color: white; text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.top nav a { padding: 6px 12px; border-radius: 999px; }
.top nav a:hover { background: rgba(255, 255, 255, 0.12); }

.brand { font-weight: 700; letter-spacing: 0.12em; font-size: 14px; }
.brand small { display: block; font-weight: 400; letter-spacing: 0; opacity: 0.72; font-size: 12px; margin-top: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 28px 24px 56px; }
.wrap.wide { max-width: 1440px; }

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 0 0 18px;
}

.page-head h1 { font-size: 28px; letter-spacing: -0.03em; }
.side-tag {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e7eef6;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.side-tag.buy { background: #f6efe6; color: var(--amber); }
.page-head p, .lede { margin: 6px 0 0; color: var(--muted); }

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.num {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 16px;
  padding: 16px 18px 14px;
  box-shadow: var(--shadow);
}

.num:nth-child(2) { border-top-color: var(--ok); }
.num:nth-child(3) { border-top-color: var(--amber); }
.numbers.four { grid-template-columns: repeat(4, 1fr); }
.numbers.four .num:nth-child(4) { border-top-color: #5c6775; }
.report-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; margin-bottom: 14px; }
.panel-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 14px; box-shadow: var(--shadow); margin-bottom: 14px; }
.panel-card h2 { margin: 0 0 12px; font-size: 16px; }
.panel-card .bar form { display: flex; gap: 8px; align-items: center; }
.panel-card select { width: auto; min-width: 14rem; }
.chart-row { display: grid; grid-template-columns: 42px 1fr 96px; gap: 8px; align-items: center; margin: 5px 0; font-size: 13px; }
.chart-row b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.name-row { grid-template-columns: 168px 1fr 96px; }
.name-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart-track { display: block; height: 10px; background: #efeae3; border-radius: 999px; overflow: hidden; }
.chart-bar { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
.chart-bar.s5 { background: #1e3a5f; }
.chart-bar.s4 { background: #2f5d8a; }
.chart-bar.s3 { background: #5c7ea3; }
.chart-bar.s2 { background: #c4a574; }
.chart-bar.s1 { background: #c9bfb2; }
.dots { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: middle; }
.dots i { width: 8px; height: 8px; border-radius: 2px; background: #efeae3; }
.dots i.on.s5 { background: #1e3a5f; }
.dots i.on.s4 { background: #2f5d8a; }
.dots i.on.s3 { background: #5c7ea3; }
.dots i.on.s2 { background: #c4a574; }
.dots i.on.s1 { background: #b7aea3; }
.chart-bar.iyi { background: var(--ok); }
.chart-bar.orta { background: #c4a574; }
.chart-bar.zayif, .chart-bar.az { background: #c9bfb2; }
.winner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.winner { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px; box-shadow: var(--shadow); }
.winner.on { border-color: var(--navy); }
.winner .brand-name { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.winner strong { font-size: 22px; letter-spacing: -0.03em; color: var(--navy); }
.winner em { font-style: normal; color: var(--muted); font-size: 13px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pills a { text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: white; color: var(--ink); }
.pills a.on { background: var(--navy); color: white; border-color: var(--navy); }
.share-line { display: grid; grid-template-columns: 1fr 52px; gap: 8px; align-items: center; min-width: 180px; }
.share-line b { text-align: right; font-variant-numeric: tabular-nums; }
.brand-link { text-decoration: none; color: inherit; }
.could-list { display: flex; flex-wrap: wrap; gap: 6px; }
.could-list span { background: #f4f1eb; border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.tabs { display: flex; gap: 8px; margin: 0 0 16px; }
.tabs a { text-decoration: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.tabs a.on { background: var(--navy); color: white; border-color: var(--navy); }
.table-wrap select { width: auto; }

.num span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.num strong { display: block; margin-top: 6px; font-size: 26px; letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.num em { display: block; margin-top: 6px; color: var(--muted); font-style: normal; font-size: 13px; }

.search {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  padding: 6px 6px 6px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.search input { flex: 1; border: 0; background: transparent; padding-left: 0; }
.search input:focus { outline: none; }

.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.door {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 132px;
  padding: 22px 22px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.door strong { font-size: 26px; letter-spacing: -0.03em; color: var(--navy); }
.door:hover { border-color: var(--navy); transform: translateY(-1px); }
.door-sales { border-top: 3px solid var(--navy); }
.door-buy { border-top: 3px solid var(--amber); }
.door-proforma { border-top: 3px solid var(--navy); }
.door-invoice { border-top: 3px solid var(--ok); }

.door-facts, .door-count { color: var(--muted); font-size: 14px; }
.door-facts { display: flex; gap: 16px; }
.door-facts b, .door-count b { color: var(--ink); font-variant-numeric: tabular-nums; }

.year-head {
  margin: 8px 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.months {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.month {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 92px;
  padding: 14px 16px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.month:hover { border-color: var(--navy); }
.month-name { font-size: 17px; font-weight: 700; color: var(--navy); }
.month-count { margin-top: auto; padding-top: 10px; color: var(--muted); font-size: 13px; }
.month-count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.month-amount { color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.month.is-empty {
  background: transparent;
  box-shadow: none;
}
.month.is-empty .month-name { color: var(--muted); font-weight: 600; }

.total-strip {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 18px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.total-strip span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.total-strip strong { color: var(--navy); font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

a.door:focus-visible, a.month:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 14px;
}

h1 { font-size: 22px; margin: 0; }
h2 { font-size: 16px; margin: 0 0 10px; }

.btn, button.btn {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.btn.secondary { background: transparent; color: var(--navy); border: 1px solid #c9bfb2; }
.btn.danger { background: var(--danger); }
.btn[hidden] { display: none; }
.btn.ghost { background: white; color: var(--ink); border: 1px solid var(--line); }

.table-wrap, .sheet, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
tfoot td { font-weight: 700; color: var(--navy); border-bottom: 0; }
.right { text-align: right; }
.empty { padding: 28px; color: var(--muted); }

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  background: #efe7da;
  font-size: 12px;
}
.tag.gonderildi, .tag.onaylandi, .tag.alindi, .tag.aktif { background: #e5f3ea; color: var(--ok); }
.tag.pasif { background: #f8efe4; color: var(--amber); }
.tag.kullanilmadi { background: #f3f1ee; color: var(--muted); }
.tag.iyi { background: #e5f3ea; color: var(--ok); }
.tag.yok { background: #f3f1ee; color: var(--muted); }
.tag.orta { background: #f8efe4; color: var(--amber); }
.tag.zayif, .tag.az { background: #f3f1ee; color: var(--muted); }

.supplier-layout { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.brand-list { max-height: 70vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
.brand-list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.brand-list a.on, .brand-list a:hover { background: #e7eef6; }
.supplier-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.supplier-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.supplier-card h2 { margin: 0; font-size: 18px; }
.tabs { display: flex; gap: 8px; margin: 0 0 14px; }
.tabs a { text-decoration: none; color: var(--navy); border: 1px solid #c9bfb2; border-radius: 999px; padding: 6px 14px; background: white; }
.tabs a.on { background: var(--navy); color: white; border-color: var(--navy); }
.edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.edit-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.edit-grid .wide { grid-column: 1 / -1; }
.edit-grid textarea.short { min-height: 52px; }
.new-firm { margin-bottom: 12px; }
.note.ok { color: var(--ok); }
.note.warn { color: var(--danger); }
.supplier-card .code { color: var(--muted); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.chip { background: #e7eef6; color: var(--navy); border-radius: 999px; padding: 2px 8px; font-size: 12px; text-decoration: none; }
.info-note { background: #fbf6ea; border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.supplier-card form { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; margin-top: 10px; }
.supplier-card form label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.supplier-card select, .supplier-card form input { width: auto; }

.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.check input { width: auto; }
.receipts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.receipts li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.receipts form { display: flex; gap: 8px; align-items: center; }
.receipts input { width: auto; }

.panel { padding: 16px; margin-top: 16px; }
.mail label { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.mail textarea { min-height: 160px; white-space: pre-wrap; }
.panel summary { cursor: pointer; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid label, .customer label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.customer label[hidden] { display: none; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d9d1c6;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  color: var(--ink);
  background: white;
}
textarea { min-height: 90px; font-family: Consolas, monospace; font-size: 13px; }

.customer { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.span-2 { grid-column: span 2; }

.lines input { padding: 7px 8px; }
.lines input[readonly] { background: #f6f3ee; }
.lines td { padding: 6px; }
.error {
  background: #fdecec;
  color: var(--danger);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ask { color: var(--danger); font-size: 13px; font-weight: 700; }
.actions input { width: 9rem; }
.approve { display: flex; gap: 8px; align-items: flex-end; }
.approve label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.approve input { width: 7rem; }

.sheet { padding: 28px 32px; }
.sheet-head { display: flex; justify-content: space-between; gap: 24px; }
.sheet-head h1 { font-size: 20px; letter-spacing: 0.08em; }
.meta { min-width: 240px; }
.meta div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 4px 0; }
.party { margin: 18px 0; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 20px; }
.party h2 { color: var(--muted); font-size: 12px; letter-spacing: 0.06em; }
.bank { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 14px; }
.note { color: var(--muted); font-size: 13px; margin-top: 8px; }
.login {
  max-width: 380px;
  margin: 12vh auto 0;
  background: var(--card);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.login h1 { margin: 0 0 8px; }
.login label { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; font-size: 13px; color: var(--muted); }
.login .path { font-family: Consolas, monospace; }

.banner { border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.banner.ok { background: #e5f3ea; color: var(--ok); }
.banner.bad { background: #fdecec; color: var(--danger); }
.drop {
  border: 1.5px dashed #c9bfb2;
  border-radius: 12px;
  padding: 22px;
  background: white;
}
.drop.over { border-color: var(--navy); background: #f3f7fb; }
.scroll { max-height: 480px; overflow: auto; }
tr.bad td { background: #fdecec; }

.wrap.homewide { max-width: 1180px; }
.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.82fr);
  gap: 22px;
  align-items: stretch;
}
.home-desk { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-desk .panel { margin-top: 0; }
.home-hero {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 26px 26px 22px;
  border-radius: 22px;
  color: white;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(145deg, #244872 0%, #1e3a5f 48%, #14283f 100%);
  box-shadow: 0 16px 40px rgba(20, 40, 63, 0.18);
}
.home-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}
.home-hero h1 { margin: 0; color: white; font-size: 40px; letter-spacing: -0.04em; }
.home-hero p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.74); }
.home-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.meter {
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.meter span { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.meter strong { display: block; margin-top: 8px; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.meter em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; line-height: 1.35; opacity: 0.68; }
.home-work { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.work {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 168px;
  padding: 20px 20px 16px 22px;
  border-radius: 18px;
  text-decoration: none;
  color: white;
  border: 0;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(155deg, #2f5d8a 0%, #1e3a5f 55%, #14283f 100%);
  box-shadow: 0 16px 32px rgba(20, 40, 63, 0.16);
}
.work.buy {
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(255, 255, 255, 0.2), transparent 70%),
    linear-gradient(155deg, #c4843a 0%, #8a4b12 58%, #5c3010 100%);
  box-shadow: 0 16px 32px rgba(92, 48, 16, 0.16);
}
.work:hover { transform: translateY(-2px); }
.work-label { position: relative; z-index: 1; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.work h2 { position: relative; z-index: 1; margin: 4px 0 0; font-size: 30px; letter-spacing: -0.04em; color: white; }
.work-stats { position: relative; z-index: 1; display: flex; gap: 10px; }
.work-stats div { min-width: 84px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); }
.work-stats b { display: block; font-size: 24px; letter-spacing: -0.03em; color: white; font-variant-numeric: tabular-nums; }
.work-stats span { color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.home-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 14px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.lane {
  margin: 4px 10px 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tool-list a {
  flex: 1;
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  background: #f6f3ee;
}
.tool-list a:hover { background: #efeae3; }
.tool-list .chip { width: 8px; height: 42px; border-radius: 999px; background: #1e3a5f; }
.tool-list a.report .chip { background: #8a4b12; }
.tool-list a.micro .chip { background: #1f6b45; }
.tool-list a.perf .chip { background: #0e4c5c; }
.tool-list a.lists .chip { background: #3e5c4a; }
.tool-list a.price .chip { background: #5c3d73; }
.tool-list strong { display: block; font-size: 17px; letter-spacing: -0.02em; }
.tool-list em { display: block; margin-top: 3px; font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.35; }
.queue-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: end; margin-bottom: 8px; }
.file-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 14px; max-height: 280px; overflow: auto; }
.file-list label { display: flex; gap: 8px; align-items: center; color: var(--ink); font-size: 14px; }
.job-box { margin-top: 8px; }
.job-box ul { margin: 8px 0 0; padding-left: 18px; }
.job-box li { margin: 3px 0; }
.funnel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.step { border-radius: 16px; padding: 16px 16px 14px; color: white; }
.step span { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.78; }
.step strong { display: block; margin-top: 6px; font-size: 28px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.step em { display: block; margin-top: 4px; font-style: normal; opacity: 0.82; }
.step.ask { background: linear-gradient(160deg, #2f5d8a, #1e3a5f); }
.step.quote { background: linear-gradient(160deg, #c4843a, #8a4b12); }
.step.win { background: linear-gradient(160deg, #2d8a5a, #1f6b45); }
.step.miss { background: linear-gradient(160deg, #b55242, #8d3a2b); }
.step.count { background: linear-gradient(160deg, #3d6f8f, #24536f); }
.job-spec { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; }
.spec-list { display: grid; grid-template-columns: 120px 1fr; gap: 7px 12px; margin: 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }
.pick-card { border-top: 4px solid var(--ok); }
.pick-name { margin: 0; font-size: 22px; letter-spacing: -0.03em; color: var(--navy); }
.pick-price { margin: 8px 0 0; font-size: 28px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ok); }
.pick-price em { margin-left: 8px; font-style: normal; font-size: 15px; color: var(--muted); }
.tag.pick { background: #e5f3ea; color: var(--ok); }
.tag.low { background: #f8efe4; color: var(--amber); }
.tag.fast { background: #e7eef6; color: var(--navy); }
table.cedvel tr.pick td { background: #e7f2eb; }
table.cedvel tr.low td { background: #fbf6ef; }
table.cedvel tr.fast td { background: #f3f7fb; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 16px; }
.choice {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  min-height: 124px;
  padding: 20px 22px;
  border-radius: 18px;
  color: white;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(30, 42, 58, 0.12);
}
.choice.win { background: linear-gradient(155deg, #2d8a5a 0%, #1f6b45 100%); }
.choice.miss { background: linear-gradient(155deg, #c45a48 0%, #8d3a2b 100%); }
.choice.on { outline: 3px solid #1c2430; outline-offset: 3px; }
.choice span { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.choice strong { display: block; margin-top: 6px; font-size: 36px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.choice em { font-style: normal; font-size: 14px; opacity: 0.88; }
.cedvel-card { padding: 16px 6px 8px; }
.cedvel-card h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 14px; }
.cedvel-card h2 span { font-size: 13px; font-weight: 400; color: var(--muted); }
.cedvel-card.win { border-top: 4px solid #1f6b45; }
.cedvel-card.miss { border-top: 4px solid #8d3a2b; }
.cedvel-scroll { overflow-x: auto; }
table.cedvel th, table.cedvel td { padding: 11px 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.cedvel th small { display: block; margin-top: 2px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
table.cedvel thead tr.groups th { text-align: center; border-bottom: 0; padding-bottom: 2px; }
table.cedvel th.group-win, table.cedvel td.win { background: #f3f8f5; }
table.cedvel th.group-miss, table.cedvel td.miss { background: #fbf4f2; }
table.cedvel th.group-win { color: #1f6b45; }
table.cedvel th.group-miss { color: #8d3a2b; }
table.cedvel tbody tr:hover td { background: #f7f4ef; }
table.cedvel tbody tr:hover td.win { background: #e7f2eb; }
table.cedvel tbody tr:hover td.miss { background: #f6e8e4; }
table.cedvel .bar-cell { min-width: 150px; white-space: normal; }
table.cedvel tfoot td { background: #f7f4ef; }
.pager { display: flex; align-items: center; gap: 10px; margin: 14px; }
.pager span { color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .numbers, .grid, .customer, .party, .bank, .doors, .supplier-layout, .supplier-cards, .report-grid, .winner-grid, .home-split, .home-work, .home-meters, .funnel, .choice-row, .job-spec { grid-template-columns: 1fr; }
  .name-row, .chart-row { grid-template-columns: 72px 1fr 72px; }
  .months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2 { grid-column: auto; }
  .top, .bar, .sheet-head, .page-head { flex-direction: column; align-items: flex-start; }
}

@media print {
  .top, .no-print { display: none !important; }
  body { background: white; }
  .wrap { max-width: none; padding: 0; }
  .sheet { border: 0; box-shadow: none; }
}
