/* Automic CRM — добавления к общему стилю бухгалтерии (base.css + theme.css). */

/* ---------- Общие мелочи ---------- */
.brand { text-decoration: none !important; color: inherit; }
.org-txt { min-width: 0; }
.org-name, .org-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty-t { font-weight: 600; color: var(--text-2); }
.empty-s { margin-top: 4px; font-size: 13px; }
.empty.boot { padding-top: 30vh; }
.spinner.big { display: inline-block; width: 22px; height: 22px; }
.confirm-t { margin: 0; color: var(--text-2); }
.btn.red { background: var(--neg); border-color: var(--neg); color: #fff; }
.btn.left { margin-right: auto; }
.menu-host { position: relative; }
.menu.right { top: calc(100% + 6px); right: 0; }
.menu.left { top: calc(100% + 6px); left: 0; }
.menu { max-height: 70vh; overflow-y: auto; }
.menu button.danger { color: var(--neg); }
.menu-sep, .menu-title { padding: 8px 10px 4px; font-size: 12px; color: var(--faint); font-weight: 600; }
.menu-title { color: var(--text); font-size: 13.5px; }
.menu.bell { width: 340px; max-width: 86vw; }
.menu.bell button span { white-space: normal; }
.avatar-btn { padding: 0 !important; border: 0 !important; background: none !important; height: auto !important; }
.ava { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 700; flex: none; }
.ava.sm { width: 22px; height: 22px; font-size: 9.5px; }
.ava.lg { width: 40px; height: 40px; font-size: 14px; }
.grow { flex: 1 1 240px; min-width: 180px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 6px; background: var(--hover); color: var(--text-2); margin: 1px 4px 1px 0; }
.fdot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex: none; }
.fdot.lg { width: 14px; height: 14px; border-radius: 5px; }
.fdot.nav-dot { margin: 0 4.5px; }
.icon.inline { display: inline-block; vertical-align: -2px; color: var(--accent); }
h3.neg { color: var(--neg); }
.sec-h { margin: 18px 0 8px; font-size: 13px; font-weight: 650; color: var(--text-2); }
.sec-h.flat, h3.flat { margin: 0 0 8px; }
.sec-title { font-size: 17px; letter-spacing: -0.01em; margin: 28px 0 12px; }
.lead-p { max-width: 720px; margin: 0; }
.table-top { margin-bottom: 12px; gap: 12px; }
.more-row { padding: 12px; text-align: center; border-top: 1px solid var(--line); }
.span2 { grid-column: 1 / -1; }
.drawer.wide { width: min(620px, 100vw); }
.drawer-f { border-top: 1px solid var(--line); }
.form-extra { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-note { margin: 10px 0 0; font-size: 13px; }
.content.wide { max-width: none; }
code { font: 12.5px ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--hover); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.bulk .bulk-x { margin-left: auto; color: inherit; }
.bulk .btn { background: var(--surface); color: var(--text); }
.bulk .btn.ghost { background: none; color: var(--bg); }

/* ---------- Меню: группы и режим настройки ---------- */
.ng { margin-bottom: 6px; }
.ng-h { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; cursor: pointer; padding: 10px 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.ng-h:hover { color: var(--text-2); }
.ng-h .icon { opacity: 0; }
.ng-h:hover .icon { opacity: 1; }
.nav-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav a .count { margin-left: 0; }
.sidebar.editing { width: 300px; }
.nav-hint { font-size: 12.5px; margin: 0 2px 8px; }
.ng-edit { display: flex; gap: 4px; align-items: center; padding: 8px 2px 4px; }
.ng-edit .input { font-weight: 600; }
.nav-edit { display: flex; align-items: center; gap: 7px; padding: 6px 6px 6px 4px; border: 1px dashed var(--line-strong); border-radius: 9px; margin: 3px 2px; background: var(--surface); cursor: grab; font-size: 13px; }
.nav-edit:active { cursor: grabbing; }
.nav-edit .grip { color: var(--faint); }
.ne-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.mini { width: 24px; height: 24px; border: 0; background: none; border-radius: 6px; display: grid; place-items: center; cursor: pointer; color: var(--muted); flex: none; padding: 0; }
.mini:hover { background: var(--hover); color: var(--text); }
.add-item { width: 100%; justify-content: flex-start; color: var(--muted); }
.ng .menu-host { margin: 2px; }
.add-group { margin: 6px 2px; }
.nav-save { justify-content: flex-end; padding: 4px 2px; gap: 6px; }
.side-ov { z-index: 65; }

/* ---------- Доска сделок ---------- */
.board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 16px; align-items: flex-start; min-height: 60vh; }
.col { flex: 0 0 272px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; max-height: calc(100vh - 230px); }
.col.over { border-color: var(--accent); background: var(--accent-soft); }
.col-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; }
.col-name { font-weight: 650; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col.won .col-name { color: var(--pos); }
.col.lost .col-name { color: var(--muted); }
.count { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--hover); border-radius: 20px; padding: 0 7px; line-height: 19px; }
.col-sum { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.col-b { padding: 4px 8px 10px; display: grid; gap: 8px; overflow-y: auto; }
.col-empty, .col-more { font-size: 12.5px; color: var(--faint); text-align: center; padding: 14px 6px; border: 1px dashed var(--line-strong); border-radius: 10px; }
.col-more { border: 0; padding: 4px; }
.kcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; display: grid; gap: 4px; }
.kcard:hover { border-color: var(--line-strong); }
.kcard.dragging { opacity: 0.4; }
.kcard-t { font-weight: 600; font-size: 13.5px; line-height: 1.3; overflow-wrap: anywhere; }
.kcard-c { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard-f { display: flex; align-items: center; gap: 6px; margin-top: 4px; min-height: 22px; }
.kcard-amt { font-weight: 650; font-size: 13px; font-variant-numeric: tabular-nums; margin-right: auto; white-space: nowrap; }
.kcard-f .left-pill { display: inline-flex; gap: 4px; align-items: center; padding: 2px 7px; }
.kcard-f .left-pill .icon { width: 12px; height: 12px; }
.idle { font-size: 11.5px; color: var(--warn); font-weight: 600; white-space: nowrap; }

/* ---------- Карточка сделки, компания ---------- */
.stage-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.step-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 4px 11px; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.step-btn:hover { border-color: var(--line-strong); color: var(--text); }
.step-btn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.step-btn.on.won { background: var(--pos); border-color: var(--pos); color: #fff; }
.step-btn.on.lost { background: var(--neg); border-color: var(--neg); color: #fff; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.kv.one { grid-template-columns: 1fr; gap: 8px; }
.kv > div { min-width: 0; }
.kv.one > div { display: flex; justify-content: space-between; gap: 12px; }
.kv > div > span { display: block; font-size: 12px; color: var(--muted); }
.kv b, .kv a { font-weight: 560; overflow-wrap: anywhere; }
.kv.one > .kv-wide { display: block; padding-top: 8px; border-top: 1px solid var(--line); }
.kv-wide p { margin: 2px 0 0; white-space: pre-wrap; color: var(--text-2); }
.note-box { margin: 12px 0 0; padding: 10px 12px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); white-space: pre-wrap; color: var(--text-2); font-size: 13.5px; }
.drawer-actions { margin-top: 14px; gap: 6px; }

/* ---------- История ---------- */
.tl { display: grid; gap: 2px; }
.tl-compose { margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-right: auto; }
.chip { border: 1px solid var(--line); background: none; border-radius: 20px; padding: 2px 9px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.chip.on { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.tl-empty { padding: 6px 0; }
.tl-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 0; }
.tl-ico { width: 28px; height: 28px; border-radius: 9px; background: var(--hover); color: var(--text-2); display: grid; place-items: center; flex: none; }
.tl-item.email_in .tl-ico, .tl-item.meeting .tl-ico { background: var(--pos-soft); color: var(--pos); }
.tl-item.email_out .tl-ico, .tl-item.call .tl-ico, .tl-item.message .tl-ico { background: var(--info-soft); color: var(--info); }
.tl-item.automation .tl-ico { background: var(--accent-soft); color: var(--accent); }
.tl-body { min-width: 0; flex: 1; }
.tl-head { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 12.5px; }
.tl-head b { font-size: 13px; }
.tl-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); font-size: 13.5px; }
.tl-item.system .tl-text { color: var(--muted); font-size: 13px; }
.tl-del { margin-left: auto; border: 0; background: none; color: var(--faint); cursor: pointer; padding: 0; opacity: 0; }
.tl-item:hover .tl-del { opacity: 1; }

/* ---------- Задачи ---------- */
.li.task { cursor: default; }
.li.task .li-main { cursor: pointer; }
.li.task.done .li-title { text-decoration: line-through; color: var(--muted); }
.li.task .li-title { display: flex; gap: 5px; align-items: center; }
.icon.prio { color: var(--neg); }
.quick { display: flex; align-items: center; gap: 10px; padding: 4px 14px; color: var(--muted); }
.quick input { flex: 1; border: 0; outline: none; background: none; height: 40px; font-size: 14px; }

/* ---------- Главная: виджеты ---------- */
.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); min-width: 0; }
.widget.full { grid-column: 1 / -1; }
.widget.bare { background: none; border: 0; box-shadow: none; }
.widget.editing { border-style: dashed; border-color: var(--line-strong); }
.w-tools { display: flex; gap: 2px; }
.w-link { font-size: 12.5px; font-weight: 600; }
.w-add { margin-top: 8px; }
.w-text { margin: 0 0 12px; }
.edit-hint { margin-bottom: 14px; }
.metric-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.metric-top b { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@container content (max-width: 900px) { .wgrid { grid-template-columns: 1fr; } }

/* ---------- Графики ---------- */
.chart .bar-in { fill: var(--accent); }
.chart .bar-in.hov { fill: var(--accent-hover); }
.chart .line-main { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line-dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.hbar-track i { background: var(--accent); }
.funnel { display: grid; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px 190px; gap: 12px; align-items: center; font-size: 13px; }
.funnel-name { font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.funnel-bar { height: 22px; background: var(--hover); border-radius: 6px; overflow: hidden; }
.funnel-bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.funnel-bar i.won { background: var(--pos); }
.funnel-num { display: flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.funnel-now { text-align: right; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container content (max-width: 900px) { .funnel-row { grid-template-columns: 110px minmax(0, 1fr) 70px; } .funnel-now, .funnel-num .faint { display: none; } }

/* ---------- Автоматизации ---------- */
.keybox { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.keybox code { flex: 1; background: none; padding: 0; font-size: 13px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.checks .check { align-items: flex-start; }
.checks code { font-size: 11.5px; }
.pre { position: relative; margin: 8px 0 12px; }
.pre pre { margin: 0; padding: 12px 44px 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; font: 12.5px/1.55 ui-monospace, "Cascadia Code", Consolas, monospace; overflow-x: auto; white-space: pre; }
.pre-copy { position: absolute; top: 6px; right: 6px; }
.howto p, .howto li { color: var(--text-2); max-width: 820px; }
.howto ol { padding-left: 20px; margin: 6px 0 10px; }
.howto li { margin: 4px 0; }
.recipe { margin-bottom: 8px; }
.recipe-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; border: 0; background: none; padding: 14px 18px; cursor: pointer; text-align: left; }
.recipe-h b { display: block; font-size: 14px; }
.recipe-h span { font-size: 12.5px; }
.recipe-b { padding-top: 0; }
.t.docs td { white-space: normal; vertical-align: top; }
.input.unit { width: 90px; }
.t .input.sm { min-width: 120px; }

/* ---------- Настройки ---------- */
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.set-row:last-child { border-bottom: 0; }
.set-row > div:first-child b { display: block; }
.set-row > div:first-child span { font-size: 12.5px; }
.set-ctl select.input { width: auto; min-width: 200px; }
.name-in { max-width: 260px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; padding: 0; }
.swatch.on { box-shadow: 0 0 0 2px var(--text); }
.perms { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.perm { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; cursor: pointer; }
.perm-note { margin: 12px 0 0; font-size: 13px; }
.edit-row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.edit-row.stage, .edit-head { display: grid; grid-template-columns: minmax(0, 1fr) 120px 130px 96px; gap: 8px; }
.edit-head { font-size: 12px; color: var(--muted); font-weight: 600; margin: 10px 0 4px; }
.pl-edit { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.row.tight { gap: 0; }
.fin-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 10px; }
.fin-bar .btn { margin-left: auto; }
.fin-frame { width: 100%; height: calc(100vh - 140px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fin-card { display: flex; gap: 14px; align-items: flex-start; }
.fin-card p { margin: 4px 0 12px; max-width: 640px; }

/* ---------- Компактная плотность ---------- */
body.compact .t td { padding-top: 6px; padding-bottom: 6px; }
body.compact .nav a { padding-top: 6px; padding-bottom: 6px; }
body.compact .li { padding: 6px 0; }
body.compact .kcard { padding: 8px 10px; }
body.compact .card-b { padding: 10px 14px 14px; }

/* ---------- Страницы входа ---------- */
body.auth { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.auth-card { width: 100%; max-width: 420px; padding: 26px 26px 28px; box-shadow: var(--shadow-card); }
.auth-card .brand { padding: 0 0 18px; }
.auth-card h1 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; }
.auth-card p { margin: 0 0 16px; }
.auth-card .stack { gap: 14px; }
.auth-err { background: var(--neg-soft); color: var(--neg); border-radius: 11px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 14px; }
.input.code { font-size: 20px; letter-spacing: 0.3em; text-align: center; height: 46px; font-variant-numeric: tabular-nums; }
.auth-qr { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.auth-qr .qr svg { width: 132px; height: 132px; border-radius: 6px; }
.auth-qr p { margin: 2px 0 6px; font-size: 12.5px; }
.auth-qr code { font-size: 12px; }

@media (max-width: 900px) {
  .col { flex-basis: 82vw; max-height: none; }
  .board { min-height: 0; }
  .checks, .kv { grid-template-columns: 1fr; }
  .edit-row.stage, .edit-head { grid-template-columns: minmax(0, 1fr) 70px 104px; }
  .edit-row.stage > :last-child, .edit-head > :last-child { grid-column: 1 / -1; }
  .fin-frame { height: calc(100vh - 220px); }
  .auth-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sidebar.editing { width: min(320px, 100vw); }
  .tl-del { opacity: 1; }
}

/* ---------- Плитки цифр: ровная сетка ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.sec-tabs { margin-bottom: 14px; }
@container content (max-width: 700px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis .kpi.lead { grid-column: 1 / -1; } }

/* ---------- Страница компании и режим настройки меню ---------- */
.g-company { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
@container content (max-width: 860px) { .g-company { grid-template-columns: 1fr; } }
.app:has(.sidebar.editing) { grid-template-columns: 300px 1fr; }
.sidebar.editing .side-foot { position: sticky; bottom: -18px; background: var(--surface); padding: 10px 0 14px; border-top: 1px solid var(--line); z-index: 2; }
@media (max-width: 900px) { .app:has(.sidebar.editing) { grid-template-columns: 1fr; } }
/* ---------- Реклама Meta ---------- */
.date-in { width: 150px; }
.ads-warn { margin-bottom: 12px; }
.filter-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; }
.filter-chip button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0; display: flex; }
.t th.sortable { cursor: pointer; user-select: none; }
.t th.sortable:hover { color: var(--text); }
.ads-t td.r, .ads-t th.r { font-variant-numeric: tabular-nums; }
.ads-t .cell-main, .ads-t .cell-sub { max-width: 300px; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.ad-card { padding: 16px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-card); }
.ad-top { display: flex; gap: 12px; min-width: 0; }
.ad-thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; background: var(--hover); border: 1px solid var(--line); }
.ad-thumb.none { display: grid; place-items: center; color: var(--faint); }
.ad-info { min-width: 0; display: grid; gap: 2px; align-content: start; }
.ad-badges { gap: 6px; margin-top: 4px; font-size: 12.5px; }
.ad-body { margin: 0; font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.ad-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ad-stats span { display: block; font-size: 11.5px; color: var(--muted); }
.ad-stats b { font-variant-numeric: tabular-nums; font-weight: 650; }
.bd-card { margin-bottom: 16px; }
.bd-bars { max-width: 720px; }
.ads-mini { margin-bottom: 10px; }
.ads-mini .v { font-size: 17px; }
.table-top select.input { width: auto; min-width: 220px; }

/* ---------- Приложения ---------- */
.app-row { display: flex; gap: 14px; align-items: flex-start; }
.app-row > div:last-child { min-width: 0; }
.app-row p { margin: 2px 0 8px; }
.app-steps { margin: 6px 0 14px; padding-left: 20px; color: var(--text-2); max-width: 760px; }
.app-steps li { margin: 5px 0; }

/* ---------- Стрічка: источники ---------- */
.sec-title.first { margin-top: 6px; }
.conn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.conn-main { flex: 1 1 260px; min-width: 0; }
.conn-main .li-sub { white-space: normal; }
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 12px; }
.conn-card { display: grid; gap: 6px; align-content: start; padding: 16px; text-align: left; cursor: pointer; color: inherit; text-decoration: none !important; font: inherit; box-shadow: var(--shadow-card); }
.conn-card:hover { border-color: var(--accent); }
.conn-card b { font-size: 14px; margin-top: 4px; }
.conn-card .muted { font-size: 12.5px; line-height: 1.45; }
.conn-foot { font-size: 11.5px; font-weight: 600; color: var(--accent); margin-top: 4px; }
.tl-link { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
/* ---------- Бухгалтерия — раздел CRM ---------- */
.fin-head { display: flex; align-items: center; gap: 10px; margin: 2px 0 8px; }
.fin-tabs { flex: 1; min-width: 0; margin: 0; }
.fin-book { font-size: 12.5px; white-space: nowrap; }
.fin-frame { height: calc(100vh - 128px); border-radius: 14px; }
@media (max-width: 900px) { .fin-book { display: none; } .fin-frame { height: calc(100vh - 210px); } }