/* Kostoway app screens (login, dashboard, admin) on top of the Kosto system.
   Load after kosto/*.css and theme.css. Tokens only: no new colours, 1px borders, 8px radius.
   Type scale for app screens: 12 / 13 / 14 / 15 / 17 + display sizes (16 / 20 / 28 / 40 / 64+). */

html, body { overflow-x: clip; }

/* ================= type scale (app pages only) ================= */
body.sp-app { font-size: 14px; }
.sp-app .hint, .sp-app .kpi > small, .sp-app td .when, .sp-app .sp-axis, .sp-app .tip small { font-size: 12px; }
.sp-app thead th { text-transform: none; letter-spacing: 0; font-size: 12px; }
.sp-app .btn, .sp-app .btn.small, .sp-app .btn.primary, .sp-app .sp-status, .sp-app .kpi-top, .sp-app .help,
.sp-app .mono, .sp-app .ph2 p, .sp-app .form-error, .sp-app .key-new p, .sp-app .chk, .sp-app .snav .cnt { font-size: 13px; }
.sp-app .sh-right .btn, .sp-app .snav a, .sp-app td, .sp-app .copyrow code, .sp-app .key-new code { font-size: 14px; }
.sp-app h2, .sp-app .empty b { font-size: 16px; }
.sp-app dialog h2, .sp-app .sp-plan-name { font-size: 20px; }
.sp-app .ph2 h1, .sp-app .kpi-val b { font-size: 28px; }
.sp-app .kpi-of { font-size: 13px; }
@media (max-width: 700px) { .sp-app .ph2 h1 { font-size: 28px; } .sp-app .kpi-val b { font-size: 28px; } }

/* ================= brand + one header across the site ================= */
.sp-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 800 20px/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.sp-mark { width: 30px; height: 30px; flex: none; display: block; stroke: none; }
.sh .wrap { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
.sh-right .btn.sp-docs { border-color: var(--line-strong); background: var(--surface); }
.sh-right .btn.sp-docs:hover { border-color: var(--ink); }
.btn.sp-docs svg, .au-ghost.sp-docs svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-role { font: 600 12px/1 var(--font); color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 4px; padding: 4px 7px; white-space: nowrap; }
@media (max-width: 700px) { .sh .wrap { padding-left: 16px; padding-right: 16px; } }
.sh .sp-brand + .sp-role { margin-left: -16px; }
@media (max-width: 860px) { .sh .sp-brand + .sp-role { margin-left: -4px; } }
@media (max-width: 380px) { .sp-role { display: none; } }
.help.sp-price:empty { display: none; }

/* login header: same centred container as the landing */
.au { grid-template-columns: minmax(0, 1fr); }
.au-head { width: 100%; max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 24px; min-width: 0; }
.au-head-r { min-width: 0; gap: 8px; }
.au-head .sp-brand { min-width: 0; }
.au-ghost { white-space: nowrap; }
@media (max-width: 700px) {
  .au-head { padding: 0 16px; height: 64px; }
  .au-ghost.sp-docs { display: none; }
}
@media (max-width: 900px) {
  .au-stage { min-height: 0; align-content: start; justify-content: start; }
  .au-foot { align-items: center; }
}
.au-alt.sp-lost { margin-top: 18px; }
.au-alt + .au-alt { border-top: 0; padding-top: 0; margin-top: 4px; }
.au-msg .sp-inline-link { color: inherit; font-weight: 700; text-decoration: underline; }
.au-checking { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ---------- login stage card (illustrative, labelled) ---------- */
.sp-stage-card { border: 1px solid var(--stage-line); border-radius: 10px; padding: 20px 22px; display: grid; gap: 14px; max-width: 520px; background: color-mix(in srgb, var(--stage-ink) 4%, transparent); }
.sp-stage-card .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--stage-muted); font-size: 13px; font-weight: 600; }
.sp-stage-card .hd span:last-child { border: 1px dashed var(--stage-line); border-radius: 4px; padding: 1px 7px; font-size: 12px; }
.sp-stage-card .big { display: flex; align-items: flex-end; gap: 12px; }
.sp-stage-card .big b { font: 800 96px/.82 var(--display); letter-spacing: -0.05em; color: var(--stage-ink); }
.sp-stage-card .big span { font: 700 20px/1.1 var(--display); color: var(--stage-ink); padding-bottom: 4px; }
.sp-stage-card .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--stage-muted); }
.sp-stage-card .row b { color: var(--stage-ink); }
.sp-stage-card u { display: block; height: 8px; border-radius: 3px; background: var(--stage-line); overflow: hidden; text-decoration: none; }
.sp-stage-card u i { display: block; height: 100%; width: var(--w); background: var(--primary); border-radius: 3px; }
.sp-stage-card .bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.sp-stage-card .bars i { flex: 1; background: var(--stage-line); border-radius: 2px 2px 0 0; height: var(--h); }
.sp-stage-card .bars i.on { background: var(--primary); }

/* ================= dashboard ================= */
.sp-page { max-width: 1200px; margin: 0 auto; padding: 28px 24px 72px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 700px) { .sp-page { padding: 18px 16px 56px; } }
/* floating Telegram button is icon-only on phones: keep content clear of it */
@media (max-width: 560px) { .sp-page { padding-bottom: 84px; } }

.sp-notices { display: grid; gap: 8px; }
.sp-notices:empty { display: none; }
.sp-notices .notice { margin: 0; }
.notice { margin-bottom: 0; }
.notice.sp-bad { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 40%, transparent); color: var(--bad); }
.notice.sp-bad svg { color: var(--bad); }

/* hero: remaining credits */
.sp-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; background: var(--side-bg); color: var(--side-ink); border-radius: 10px; padding: 26px 28px; }
:root[data-theme="dark"] .sp-hero { background: var(--raised); border: 1px solid var(--line-strong); }
.sp-hero .lbl-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--side-muted); font-weight: 600; font-size: 14px; }
.sp-days { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.sp-days b { font: 800 clamp(64px, 8vw, 112px)/.85 var(--display); letter-spacing: -0.05em; color: var(--side-ink); font-variant-numeric: tabular-nums; }
.sp-days b.sp-inf, .sp-days b.sp-word { font-size: clamp(40px, 6vw, 64px); line-height: .95; letter-spacing: -0.04em; }
.sp-days span { font: 700 20px/1.1 var(--display); letter-spacing: -0.02em; padding-bottom: 4px; color: var(--side-ink); }
.sp-hero .sp-exp { margin-top: 14px; color: var(--side-muted); font-size: 14px; }
.sp-hero .sp-exp b { color: var(--side-ink); font-weight: 700; }
.sp-hero .sp-exp:empty { display: none; }
.sp-hero .btn { background: transparent; color: var(--side-ink); border-color: var(--side-line); }
.sp-hero .btn:hover { background: var(--side-hover); border-color: var(--side-muted); }
.sp-hero .btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.sp-hero .btn.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.sp-hero .sp-status--ok { color: #4ade80; }
.sp-hero .sp-status--warn, .sp-hero .sp-plan-name.warn, .sp-days b.warn { color: #fbbf24; }
.sp-hero .sp-status--bad, .sp-days b.bad { color: #f87171; }
:root[data-theme="dark"] .sp-hero { --side-ink: var(--ink); --side-muted: var(--muted); --side-line: var(--line-strong); --side-hover: var(--surface); }
.sp-plan { display: grid; gap: 4px; justify-items: end; text-align: right; }
.sp-plan-name { font: 800 20px/1.1 var(--display); letter-spacing: -0.02em; color: var(--side-ink); }
.sp-plan-sub { color: var(--side-muted); font-size: 14px; margin-bottom: 12px; }
.sp-buy { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.sp-pick select, .sp-custom input { min-height: 42px; max-width: 100%; border-radius: 6px; border: 1px solid var(--side-line); background-color: transparent; color: var(--side-ink); font: 600 14px var(--font); }
.sp-pick select { padding: 0 34px 0 12px; }
.sp-custom { display: flex; align-items: center; gap: 8px; }
.sp-custom[hidden] { display: none; }
.sp-custom input { width: 128px; padding: 0 12px; font-variant-numeric: tabular-nums; }
.sp-custom span { color: var(--side-muted); font-size: 14px; }
.sp-pick select:focus-visible, .sp-custom input:focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }
.sp-pick option { color: var(--ink); background: var(--surface); }
.sp-quote { color: var(--side-muted); font-size: 13px; text-align: right; min-height: 18px; }
.sp-quote b { color: var(--side-ink); }
.sp-quote.bad { color: #fbbf24; }
.sp-quote:empty { display: none; }
@media (max-width: 640px) {
  .sp-hero { grid-template-columns: 1fr; padding: 22px 20px; }
  .sp-plan { justify-items: start; text-align: left; }
  .sp-buy { justify-content: flex-start; }
  .sp-pick, .sp-pick select { width: 100%; }
  .sp-custom { width: 100%; }
  .sp-custom input { flex: 1; }
  .sp-quote { text-align: left; }
}

/* KPI ledgers */
.kpi-top { text-transform: none; letter-spacing: 0; font-weight: 600; }
.kpi-top i.on { --sw: var(--primary); }
.kpi-top i.bad { --sw: var(--bad); }
.kpi-val b.warn { color: var(--warn); }
.kpi-val b.bad, .kpi-val b.txt-bad { color: var(--bad); }
.kpis.sp-k4 { --n: 4; }
.kpis.sp-k3 { --n: 3; }
@media (max-width: 900px) {
  .kpis.sp-k4 { --n: 2; }
  .kpis.sp-k4 .kpi:nth-child(odd) { border-left: 0; }
  .kpis.sp-k4 .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .kpis.sp-k4 .kpi-top, .kpis.sp-k3 .kpi-top { white-space: normal; }
  .kpis.sp-k3 { --n: 2; }
  .kpis.sp-k3 .kpi:first-child { grid-column: 1 / -1; }
  .kpis.sp-k3 .kpi:nth-child(2) { border-left: 0; }
  .kpis.sp-k3 .kpi:nth-child(n+2) { border-top: 1px solid var(--line); }
}
.sp-cap { color: var(--muted); font-size: 13px; margin-top: -6px; }

/* 30-day bars */
.sp-chart { position: relative; }
.sp-chart svg, .sp-chart rect { stroke: none; }
.sp-chart svg { display: block; width: 100%; height: 180px; overflow: visible; }
.sp-chart .b { fill: var(--muted); opacity: .85; transition: opacity .15s, fill .15s; }
.sp-chart .b.zero { fill: var(--grid); opacity: 1; }
.sp-chart .b.today { fill: var(--primary); opacity: 1; }
.sp-chart g:hover .b, .sp-chart g:focus-within .b, .sp-chart g.on .b { opacity: 1; fill: var(--ink); }
.sp-chart .hit { fill: transparent; outline: 0; }
.sp-chart .base { stroke: var(--line-strong); stroke-width: 1; }
.sp-chart .base.dot { stroke-dasharray: 2 4; }
.sp-chart.sparse { padding-top: 24px; }
.sp-chart.sparse .b.zero { opacity: 0; }
.sp-chart .vals { position: absolute; left: 0; right: 0; top: 24px; height: 180px; pointer-events: none; }
.kpi[hidden] { display: none; }
.sp-chart .vals span { position: absolute; transform: translate(-50%, calc(-100% - 6px)); font: 700 13px/1 var(--font); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sp-chart:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; border-radius: 4px; }
.sp-axis { display: flex; justify-content: space-between; color: var(--muted); margin-top: 8px; }
.tip.sp-tip { position: absolute; }

/* key line + code */
.copyrow.sp-key { grid-template-columns: minmax(0, 1fr) auto auto; }
.copyrow.sp-key code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
pre.sp-code { margin: 0; padding: 14px 16px; background: var(--raised); border: 1px solid var(--line); border-radius: 6px; font: 500 13px/1.65 var(--mono); color: var(--ink); overflow-x: auto; white-space: pre; max-width: 100%; }
.sp-eye .off, .sp-eye[aria-pressed="true"] .on { display: none; }
.sp-eye[aria-pressed="true"] .off { display: block; }
.sp-snipseg { margin-bottom: 12px; max-width: 100%; overflow-x: auto; }
.sp-snipseg button { flex: none; padding: 6px 12px; }
.sp-stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.split2 > * { min-width: 0; }
.sp-costs td { white-space: normal; }
.sp-costs tr.sp-soon td { color: var(--muted); }
.sp-costs td.num b { font-variant-numeric: tabular-nums; }
table.sp-costs th, table.sp-costs td { padding: 8px 10px; }
table.sp-costs th:first-child, table.sp-costs td:first-child { padding-left: 0; }
table.sp-costs td:last-child, table.sp-costs th:last-child { white-space: nowrap; padding-right: 0; }

/* the floating Telegram button stays icon-only on the dashboard (it has its own CTA) */
body.sp-dash .sp-tg { width: 52px; padding: 0; justify-content: center; }
body.sp-dash .sp-tg span { display: none; }
@media (max-width: 560px) { body.sp-dash .sp-tg { width: 44px; } }

/* ================= admin ================= */
.appw.adm { max-width: 1200px; }
.snav a { cursor: pointer; }
.snav .cnt:empty { display: none; }
.snav a { border: 1px solid transparent; }
/* active item: same look in both themes */
#snav a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: inset 2px 0 0 var(--primary); border: 1px solid var(--line); }
#snav a[aria-current] svg { color: var(--ink); }
#snav a[aria-current] .cnt { background: var(--line-strong); color: var(--ink); }

/* six tiles in two rows of three: labels never truncate inside the 1200px column */
.kpis.sp-k6 { --n: 3; }
@media (min-width: 701px) {
  .kpis.sp-k6 .kpi:nth-child(3n+1) { border-left: 0; }
  .kpis.sp-k6 .kpi:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .kpis.sp-k6 { --n: 2; }
  .kpis.sp-k6 .kpi { border-left: 1px solid var(--line); }
  .kpis.sp-k6 .kpi:nth-child(odd) { border-left: 0; }
  .kpis.sp-k6 .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* one-line empty states */
.sp-empty { padding: 16px 18px; text-align: left; color: var(--muted); font-size: 14px; margin: 0; }
.card:not(.flush) > .sp-empty { padding: 0; }
.empty.sm { padding: 24px 16px; }

/* forms */
.sp-form { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px 16px; align-items: start; }
.sp-form .fld { margin: 0; min-width: 0; }
.sp-form .c2 { grid-column: span 2; } .sp-form .c3 { grid-column: span 3; } .sp-form .c4 { grid-column: span 4; } .sp-form .c5 { grid-column: span 5; } .sp-form .c12 { grid-column: 1 / -1; }
@media (max-width: 1100px) { .sp-form .c2, .sp-form .c3, .sp-form .c4 { grid-column: span 6; } .sp-form .c5 { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sp-form .c2, .sp-form .c3, .sp-form .c4, .sp-form .c5 { grid-column: 1 / -1; } }
.sp-form .fld.sp-chk-wrap { padding-top: 26px; }
.sp-form .fld.sp-chk-wrap label.chk { padding: 0; min-height: 42px; }
@media (max-width: 640px) { .sp-form .fld.sp-chk-wrap { padding-top: 0; } }
.fld input[type="search"] { width: 100%; }
.fld select { min-height: 42px; }
.sp-pw { position: relative; }
.sp-pw input { padding-right: 46px !important; }
.sp-pw .ghost-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.form-error { color: var(--bad); font-weight: 600; }
.form-error:empty { display: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.key-new[hidden] { display: none; }
.sp-adv { border-top: 1px solid var(--line); padding-top: 12px; }
.sp-adv summary { cursor: pointer; color: var(--ink-2); font-weight: 600; font-size: 14px; width: max-content; max-width: 100%; }
.sp-adv[open] summary { margin-bottom: 10px; }
.sp-adv .fld { max-width: 280px; }
.sp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.sp-two[hidden] { display: none; }
dialog .help, .fld .help { color: var(--muted); }
.help.sp-price { color: var(--ink-2); }
.help.sp-price b { color: var(--ink); }
dialog { box-shadow: none; max-height: calc(100dvh - 32px); overflow: auto; }
dialog .fld { margin: 0; }
dialog .chk { padding: 2px 0; }

/* collapsed "Yeni anahtar" card */
details.sp-newkey > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; margin: -16px -18px; padding: 12px 18px; min-height: 48px; font: 700 16px/1.3 var(--display); border-radius: var(--radius); }
details.sp-newkey > summary::-webkit-details-marker { display: none; }
details.sp-newkey > summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .2s var(--ease); }
details.sp-newkey[open] > summary svg { transform: rotate(45deg); }
details.sp-newkey > summary:hover { background: var(--raised); }
details.sp-newkey > summary:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
details.sp-newkey[open] > summary { margin-bottom: 14px; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
details.sp-newkey > summary .hint { font-family: var(--font); font-weight: 500; }

/* toolbar inside a flush card */
.toolbar.pad .input-ico input { width: 240px; }
.toolbar .seg { max-width: 100%; overflow-x: auto; }
.toolbar .seg.sp-filter { overflow-x: auto; scrollbar-width: none; }
.toolbar .seg.sp-filter::-webkit-scrollbar { display: none; }
.toolbar .seg.sp-filter button { flex: none; }
@media (max-width: 700px) {
  .toolbar.pad .input-ico, .toolbar.pad .input-ico input { width: 100%; }
  .toolbar .seg.sp-filter { max-width: 100%; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .toolbar .seg.sp-filter button { padding: 8px 12px; }
}

/* tables */
td .nm { font-weight: 700; color: var(--ink); }
td .when { display: block; color: var(--muted); }
td .mono { color: var(--ink-2); }
.keycell { display: inline-flex; align-items: center; gap: 2px; }
.acts { display: flex; gap: 6px; justify-content: flex-end; }
tr.off td, tr.off td .nm { color: var(--muted); }
.txt-warn { color: var(--warn); font-weight: 700; }
.txt-bad { color: var(--bad); font-weight: 700; }
.pending { display: inline-flex; align-items: center; gap: 8px; color: var(--warn); font-weight: 700; font-size: 13px; }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; flex: none; }
.sk.w-s { width: 60px; } .sk.w-l { width: 160px; }
table.sp-tbl th, table.sp-tbl td { padding: 8px 10px; }
table.sp-tbl th:first-child, table.sp-tbl td:first-child { padding-left: 18px; }
table.sp-tbl th:last-child, table.sp-tbl td:last-child { padding-right: 18px; }
table.sp-tbl .acts { flex-wrap: wrap; max-width: 300px; margin-left: auto; }
table.sp-tbl .acts.sp-one { flex-wrap: nowrap; }
table.sp-tbl .sp-note { min-width: 170px; }
.sp-topbars li { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(120px, auto); font-size: 14px; }
.sp-topbars b small { margin-left: 8px; color: var(--muted); font-weight: 500; }

/* row "…" menu */
.btn.sp-more { padding: 5px 8px; min-width: 32px; }
.btn.sp-more svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.btn.sp-more[aria-expanded="true"] { background: var(--raised); border-color: var(--ink); }
.sp-menu { position: fixed; z-index: 60; min-width: 184px; padding: 4px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; display: grid; gap: 1px; }
.sp-menu[hidden] { display: none; }
.sp-menu button { all: unset; box-sizing: border-box; display: flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; font: 600 14px/1.2 var(--font); color: var(--ink); cursor: pointer; }
.sp-menu button:hover, .sp-menu button:focus-visible { background: var(--raised); }
.sp-menu button:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.sp-menu button.danger { color: var(--bad); }
.sp-menu button.danger:hover, .sp-menu button.danger:focus-visible { background: var(--bad-soft); }
.sp-menu button[aria-disabled="true"] { color: var(--muted); cursor: not-allowed; background: none; }
.sp-menu hr { border: 0; border-top: 1px solid var(--line); margin: 3px 4px; }
@media (max-width: 700px) { .sp-menu button { min-height: 44px; } }

/* orders */
.sp-note { display: flex; gap: 6px; align-items: center; min-width: 200px; }
.sp-note input { min-width: 0; flex: 1; height: 32px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); font: 500 13px var(--font); }
.sp-note input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.sp-onote { white-space: normal; max-width: 28ch; }
td .link.when { display: block; margin-top: 4px; }

/* tables become cards on phones */
@media (max-width: 700px) {
  table.sp-cards, table.sp-cards tbody { display: block; }
  table.sp-cards thead { display: none; }
  table.sp-cards tr { display: grid; gap: 6px; padding: 14px 16px; border-top: 1px solid var(--line); }
  table.sp-cards tr:first-child { border-top: 0; }
  table.sp-cards td, table.sp-tbl.sp-cards td, table.sp-tbl.sp-cards td:first-child, table.sp-tbl.sp-cards td:last-child { display: block; position: relative; padding: 0 0 0 112px; border: 0; white-space: normal; text-align: left; min-width: 0; min-height: 20px; overflow-wrap: anywhere; }
  table.sp-cards td::before { content: attr(data-l); position: absolute; left: 0; top: 1px; width: 100px; color: var(--muted); font-size: 12px; font-weight: 600; }
  table.sp-cards td.acts-cell, table.sp-tbl.sp-cards td.acts-cell:last-child { padding: 8px 0 0; }
  table.sp-cards td.acts-cell::before { content: none; }
  table.sp-cards .acts, table.sp-tbl.sp-cards .acts { justify-content: flex-start; flex-wrap: wrap; margin-left: 0; max-width: none; }
  table.sp-cards .acts .btn.small { min-height: 40px; padding: 6px 12px; }
  table.sp-cards .acts .btn.sp-more { min-width: 44px; }
  table.sp-cards tr.empty-row td { display: block; padding: 0; }
  table.sp-cards tr.empty-row td::before { content: none; }
  table.sp-cards .sp-note { min-width: 0; }
  table.sp-cards .keycell { flex-wrap: wrap; }
}
