@font-face { font-family: 'Geist'; src: url('/vendor/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/vendor/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #FBFAF8;
  --panel: #FFFFFF;
  --ink: #1A1A19;
  --ink-2: #5F5E59;
  --ink-3: #9B9993;
  --line: #ECEAE4;
  --line-2: #E2DFD8;
  --hover: #F4F2EE;
  --accent: #F2542D;
  --accent-soft: #FDEEE9;
  --ok: #2F7D4F;
  --danger: #C8341A;
  --r: 10px;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.45 var(--font); font-feature-settings: 'ss01', 'cv11'; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
::selection { background: #FAD9CF; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.accent { color: var(--accent); }

/* ── Каркас ── */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1160px; margin: 0 auto; height: 56px; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.brand { font-weight: 650; font-size: 18px; letter-spacing: -0.04em; display: flex; align-items: baseline; }
.brand i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; margin-left: 2px; }
.nav { display: flex; gap: 22px; height: 100%; }
.nav a { display: flex; align-items: center; color: var(--ink-2); position: relative; font-weight: 450; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); }
.nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--ink); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.me-pic { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--line); }
main { max-width: 1160px; margin: 0 auto; padding: 36px 24px 96px; }

/* ── Типографика ── */
h1 { font-size: 30px; line-height: 1.15; letter-spacing: -0.035em; font-weight: 620; margin: 0; }
h2 { font-size: 13px; font-weight: 550; margin: 0 0 12px; color: var(--ink-2); letter-spacing: 0; }
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head .sub { color: var(--ink-3); font-size: 15px; margin-left: 2px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.back { display: inline-flex; gap: 6px; color: var(--ink-3); margin-bottom: 18px; }
.back:hover { color: var(--ink); }

/* ── Кнопки и поля ── */
.btn { height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: #33322F; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--hover); color: var(--ink); }
.btn.danger { color: var(--danger); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); text-decoration-color: currentColor; }
.x { background: none; border: 0; color: var(--ink-3); width: 26px; height: 26px; border-radius: 6px; font-size: 16px; line-height: 1; opacity: 0; }
.x:hover { background: var(--hover); color: var(--danger); }
tr:hover .x, .row:hover .x, .x:focus { opacity: 1; }

.input, .select, textarea.input { height: 36px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); padding: 0 11px; outline: none; width: 100%; transition: border-color .12s, box-shadow .12s; }
textarea.input { height: auto; min-height: 84px; padding: 9px 11px; resize: vertical; }
.input:focus, .select:focus { border-color: #BDB9B0; box-shadow: 0 0 0 3px #F1EFEA; }
.input.bad { border-color: #E9A08F; }
.input::placeholder { color: #B6B3AC; }
.select { appearance: none; padding-right: 28px; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239B9993' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search .input { padding-left: 34px; }
.search svg { position: absolute; left: 11px; top: 11px; color: var(--ink-3); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.field > span em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.switch { position: relative; width: 34px; height: 20px; flex: none; }
.switch input { opacity: 0; position: absolute; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 20px; background: #DAD7D0; transition: background .15s; }
.switch i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .15s; }
.switch input:checked + i { background: var(--ink); }
.switch input:checked + i::after { transform: translateX(14px); }

/* ── Фото ── */
.pic { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #EFEDE8; flex: none; }
.pic.sm { width: 32px; height: 32px; border-radius: 8px; }
.pic.lg { width: 132px; height: 132px; border-radius: 22px; }
div.pic { display: grid; place-items: center; color: #C9C5BC; }

/* ── Главная ── */
.home { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.hello { margin-bottom: 36px; }
.hello h1 { font-size: 40px; }
.hello p { margin: 10px 0 0; font-size: 16px; color: var(--ink-2); max-width: 560px; }
.hello p b { color: var(--ink); font-weight: 550; }
.group { margin-bottom: 34px; }
.group-title { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 550; }
.bd { display: grid; grid-template-columns: 54px 40px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 13px 10px; margin: 0 -10px; border-radius: 10px; border-bottom: 1px solid transparent; transition: background .1s; }
.bd + .bd { box-shadow: 0 -1px 0 var(--line); }
.bd:hover { background: var(--hover); box-shadow: none; }
.bd:hover + .bd { box-shadow: none; }
.bd-date { line-height: 1.05; }
.bd-date b { display: block; font-size: 22px; font-weight: 560; letter-spacing: -0.03em; }
.bd-date span { font-size: 12px; color: var(--ink-3); }
.bd-name { font-weight: 550; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-meta { color: var(--ink-3); font-size: 13px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-right { text-align: right; font-size: 13px; }
.bd-right .when { color: var(--ink-2); }
.bd-right .gift { color: var(--ink-3); margin-top: 2px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-right .gift.has { color: var(--ink); }
.bd.today .bd-date b, .bd.today .when { color: var(--accent); }
.today-band { background: var(--accent-soft); border-radius: 14px; padding: 6px 16px; margin: 0 -16px 34px; }
.today-band .bd { margin: 0 -6px; padding: 14px 6px; }
.today-band .bd:hover { background: transparent; }
.today-band .bd + .bd { box-shadow: 0 -1px 0 #F7D8CE; }
.today-label { font-size: 13px; font-weight: 600; color: var(--accent); padding: 10px 0 2px; }
.aside-block { margin-bottom: 36px; }
.ev-mini { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ev-mini:first-of-type { border-top: 1px solid var(--line); }
.ev-mini b { font-weight: 550; display: block; }
.ev-mini span { color: var(--ink-3); font-size: 13px; }
.ev-mini:hover b { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.stat { font-size: 34px; letter-spacing: -0.04em; font-weight: 560; line-height: 1; }
.stat-sub { color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.empty { padding: 56px 0; color: var(--ink-2); max-width: 420px; }
.empty b { display: block; color: var(--ink); font-size: 17px; font-weight: 580; margin-bottom: 6px; }
.empty .btns { display: flex; gap: 8px; margin-top: 18px; }

/* ── Таблицы ── */
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs button { background: none; border: 0; padding: 10px 0; color: var(--ink-2); position: relative; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); font-weight: 520; }
.tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--ink); }
.tabs sup { font-size: 11px; color: var(--ink-3); margin-left: 3px; top: -.4em; }
table.list { width: 100%; border-collapse: collapse; }
.list th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--ink-3); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; user-select: none; }
.list th.sort { cursor: pointer; }
.list th.sort:hover, .list th.on { color: var(--ink); }
.list th .arr { display: inline-block; width: 10px; margin-left: 3px; }
.list td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.list tbody tr { cursor: pointer; transition: background .1s; }
.list tbody tr:hover { background: var(--hover); }
.list td:first-child, .list th:first-child { padding-left: 6px; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who b { font-weight: 540; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who span { color: var(--ink-3); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r { text-align: right !important; }
.soon-0 { color: var(--accent); font-weight: 550; }
.pager { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--ink-3); font-size: 13px; }
.pager .pages { margin-left: auto; display: flex; gap: 2px; }
.pager button { min-width: 30px; height: 30px; border-radius: 7px; border: 0; background: none; color: var(--ink-2); }
.pager button:hover:not(:disabled) { background: var(--hover); color: var(--ink); }
.pager button.on { background: var(--ink); color: #fff; }
.pager button:disabled { opacity: .35; cursor: default; }

/* ── Карточка человека ── */
.person-head { display: flex; gap: 28px; align-items: flex-end; margin-bottom: 40px; }
.person-head .photo-btn { position: relative; border: 0; padding: 0; background: none; border-radius: 22px; }
.person-head .photo-btn::after { content: 'Сменить'; position: absolute; inset: 0; border-radius: 22px; background: rgba(26,26,25,.45); color: #fff; font-size: 13px; display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.person-head .photo-btn:hover::after { opacity: 1; }
.person-head h1 { font-size: 36px; }
.person-head .line { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.person-head .line b { color: var(--ink); font-weight: 550; }
.person-head .line .accent { font-weight: 550; }
.person-head .tags { color: var(--ink-3); margin-top: 6px; }
.person-head .actions { margin-left: auto; display: flex; gap: 6px; align-self: flex-start; }
.person-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; }
dl.info { margin: 0; }
dl.info div { padding: 11px 0; border-bottom: 1px solid var(--line); }
dl.info div:first-child { border-top: 1px solid var(--line); }
dl.info dt { font-size: 12.5px; color: var(--ink-3); margin-bottom: 3px; }
dl.info dd { margin: 0; word-break: break-word; }
dl.info dd a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.desc { white-space: pre-wrap; color: var(--ink-2); margin-top: 22px; line-height: 1.55; }
.balance { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.balance > div { padding: 16px 0; }
.balance > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.balance .stat { font-size: 28px; }
.add-gift { display: grid; grid-template-columns: minmax(0, 1fr) 120px 124px auto; gap: 8px; margin: 14px 0 6px; }
.gift-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 26px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.gift-row .t { min-width: 0; }
.gift-row .t b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-row .t a b:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.gift-row .t span { font-size: 12.5px; color: var(--ink-3); }
.gift-row.done .t b { color: var(--ink-2); }
.gift-row .amt { font-variant-numeric: tabular-nums; }
.year { font-size: 12.5px; color: var(--ink-3); padding: 18px 0 6px; font-weight: 500; }

/* ── События ── */
.new-event { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 8px; max-width: 620px; margin-bottom: 26px; }
.ev-row td b { font-weight: 550; }
.progress { display: inline-block; width: 64px; height: 4px; border-radius: 4px; background: var(--line); vertical-align: middle; margin-right: 8px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ink); }
.ev-summary { display: flex; gap: 48px; margin: -6px 0 28px; }
.ev-summary .stat { font-size: 26px; }
.ev-table td { vertical-align: top; }
.ev-table .who { padding-top: 4px; }
.ev-table tbody tr { cursor: default; }
.ev-table tbody tr:hover { background: transparent; }
.ev-gifts { display: flex; flex-direction: column; gap: 6px; }
.ev-gift { display: grid; grid-template-columns: 20px minmax(0, 1fr) 110px 26px; gap: 8px; align-items: center; }
.ev-gift .input { height: 32px; border-color: transparent; background: transparent; padding: 0 8px; }
.ev-gift .input:hover { border-color: var(--line-2); background: var(--panel); }
.ev-gift .input:focus { border-color: #BDB9B0; background: var(--panel); }
.ev-gift .amt-in { text-align: right; }
.ev-gift.done .input:not(.amt-in) { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); }
.ev-gift a.go { font-size: 12px; color: var(--ink-3); }
.adder { position: relative; max-width: 520px; margin-bottom: 18px; }
.drop { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 12px 32px rgba(26,26,25,.10); padding: 4px; z-index: 30; max-height: 340px; overflow: auto; }
.drop button { display: flex; width: 100%; align-items: center; gap: 10px; text-align: left; background: none; border: 0; padding: 7px 8px; border-radius: 7px; }
.drop button:hover, .drop button.hl { background: var(--hover); }
.drop .meta { color: var(--ink-3); font-size: 12.5px; margin-left: auto; }
.drop .note { padding: 8px; color: var(--ink-3); font-size: 13px; }

/* ── Настройки ── */
.settings section { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 30px 0; border-top: 1px solid var(--line); }
.settings section:first-of-type { border-top: 0; padding-top: 6px; }
.settings h3 { margin: 0; font-size: 15px; font-weight: 580; }
.settings section > div:first-child p { color: var(--ink-3); margin: 6px 0 0; font-size: 13px; }
.settings .body { max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.setting-line { display: flex; align-items: center; gap: 12px; }
.setting-line .input { width: 64px; text-align: center; height: 30px; padding: 0 6px; }
.cat-row, .user-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cat-row .input { border-color: transparent; background: transparent; height: 30px; padding: 0 6px; margin-left: -6px; }
.cat-row .input:hover { border-color: var(--line-2); }
.inline-add { display: flex; gap: 8px; }
.tg-ok { display: flex; align-items: center; gap: 10px; }
.tg-ok b { font-weight: 550; }
.import-res { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 14px 16px; font-size: 13.5px; }
.import-res ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); }
.import-res .err { color: var(--danger); }

/* ── Панель справа ── */
.scrim { position: fixed; inset: 0; background: rgba(26,26,25,.18); z-index: 50; animation: fade .15s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--bg); z-index: 51; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(26,26,25,.12); animation: slide .2s cubic-bezier(.2,.8,.2,1); }
.drawer-head { display: flex; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head b { font-size: 16px; font-weight: 600; }
.drawer-head .btn { margin-left: auto; }
.drawer-body { flex: 1; overflow: auto; padding: 22px 24px 32px; display: flex; flex-direction: column; gap: 16px; }
.drawer-foot { padding: 14px 24px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.drawer-foot .err { color: var(--danger); font-size: 13px; margin-right: auto; }
.photo-pick { display: flex; align-items: center; gap: 16px; }
.photo-pick .pic { width: 72px; height: 72px; border-radius: 16px; }
.photo-pick .btns { display: flex; gap: 6px; }
.sep { height: 1px; background: var(--line); margin: 4px 0; }
.addr { position: relative; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13.5px; z-index: 80; animation: up .2s; max-width: calc(100vw - 32px); }
.toast.err { background: var(--danger); }

/* ── Вход ── */
.login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-l { padding: 48px; display: flex; flex-direction: column; }
.login-l .brand { font-size: 22px; }
.login-form { margin: auto 0; max-width: 360px; }
.login-form h1 { font-size: 44px; letter-spacing: -0.045em; }
.login-form p { color: var(--ink-2); font-size: 16px; margin: 14px 0 32px; }
.gbtn { height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); display: inline-flex; align-items: center; gap: 10px; font-weight: 550; font-size: 15px; }
.gbtn:hover { background: var(--hover); }
.login-err { margin-top: 18px; color: var(--danger); font-size: 13.5px; }
.login-r { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.cal { font-family: var(--mono); font-size: 13px; color: #8A8883; }
.cal .m { color: #fff; font-family: var(--font); font-size: 15px; font-weight: 550; margin: 26px 0 12px; }
.cal .m:first-child { margin-top: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 34px); gap: 6px; }
.cal-grid span { height: 34px; display: grid; place-items: center; border-radius: 8px; }
.cal-grid span.b { background: var(--accent); color: #fff; }
.cal-grid span.t { box-shadow: inset 0 0 0 1px #55534F; color: #fff; }

@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes up { from { transform: translate(-50%, 8px); opacity: 0; } }

.only-m { display: none; }
@media (max-width: 960px) {
  .home, .person-body { grid-template-columns: 1fr; gap: 36px; }
  .settings section { grid-template-columns: 1fr; gap: 14px; }
  .login { grid-template-columns: 1fr; }
  .login-r { display: none; }
}
@media (max-width: 640px) {
  .top-in { padding: 0 16px; gap: 18px; }
  .nav { gap: 14px; font-size: 13.5px; }
  .nav a:first-child { display: none; }
  .nav a, .top-right a { white-space: nowrap; }
  .only-m { display: block; }
  table.list td { vertical-align: top; }
  main { padding: 24px 16px 80px; }
  h1, .hello h1 { font-size: 28px; }
  .person-head { flex-wrap: wrap; gap: 18px; }
  .person-head h1 { font-size: 28px; }
  .person-head .pic.lg { width: 96px; height: 96px; }
  .person-head .actions { margin-left: 0; }
  .hide-m { display: none; }
  .bd { grid-template-columns: 44px 36px minmax(0, 1fr); }
  .bd .bd-right { grid-column: 3; text-align: left; margin-top: -8px; }
  .bd .pic { width: 36px; height: 36px; }
  .add-gift { grid-template-columns: 1fr 1fr; }
  .add-gift .input:first-child { grid-column: 1 / -1; }
  .grid2 { grid-template-columns: 1fr; }
  .new-event { grid-template-columns: 1fr 1fr; }
  .new-event .input:first-child { grid-column: 1 / -1; }
  .ev-gift { grid-template-columns: 20px minmax(0, 1fr) 80px 26px; }
  .ev-summary { gap: 28px; }
  .x { opacity: 1; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .adder { flex-basis: 100% !important; }
  .ev-table thead { display: none; }
  .ev-table tr { display: grid; grid-template-columns: minmax(0, 1fr) 30px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ev-table td { border: 0 !important; padding: 0 !important; }
  .ev-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; }
  .ev-table td:nth-child(3) { grid-column: 2; grid-row: 1; }
}
