:root {
  color-scheme: light;
  --ink: #202724;
  --muted: #69716d;
  --line: #dde3df;
  --paper: #ffffff;
  --ground: #f7f9f8;
  --emerald: #087a55;
  --emerald-dark: #056243;
  --mint: #edf7f1;
  --amber: #ba821c;
  --amber-bg: #fff7e7;
  --red: #a02f33;
  --red-bg: #fff2f1;
  --blue: #2f5c9e;
  --blue-bg: #e8eef7;
  font-family: "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--ground);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; color: inherit; letter-spacing: 0; }
button, select { cursor: pointer; }
button { touch-action: manipulation; }
button:disabled, select:disabled { cursor: not-allowed; opacity: .5; }
button, input, select { border-radius: 5px; }
input, select { min-height: 36px; border: 1px solid #cdd6d0; background: white; padding: 7px 10px; min-width: 0; }
input::placeholder { color: #7b837f; }
input:focus, select:focus { border-color: var(--emerald); }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 23px; font-weight: 650; line-height: 1.3; }
h2 { font-size: 14px; font-weight: 650; line-height: 1.4; }
h3 { font-size: 15px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 12px; background: white; padding: 10px; z-index: 100; color: var(--emerald); }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #cdd6d0; background: white; min-height: 36px; padding: 7px 12px; font-weight: 550; white-space: nowrap; transition: background .12s; }
.button:hover:not(:disabled) { background: #edf1ee; }
.button-primary { background: var(--emerald); color: white; border-color: var(--emerald); }
.button-primary:hover:not(:disabled) { background: var(--emerald-dark); }
.button-dark { background: transparent; border-color: #56605b; color: #edf3ef; }
.button-dark:hover:not(:disabled) { background: #39453e; }
.button-small { min-height: 30px; padding: 4px 10px; }
.icon-button { width: 34px; min-height: 34px; padding: 5px; font-size: 17px; flex: 0 0 34px; }
.muted { color: var(--muted); font-size: 12px; }
.boot { min-height: 100dvh; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); }
.spinner { display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; border: 2px solid #bfd3c7; border-top-color: var(--emerald); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.login-view { min-height: 100dvh; display: flex; flex-direction: column; background: white; border-top: 4px solid var(--emerald); }
.login-brand { padding: 28px 36px; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; background: var(--emerald); color: white; font-size: 17px; font-weight: 700; border-radius: 4px; }
.brand-caption { padding-left: 16px; margin-left: 6px; border-left: 1px solid #4b554f; color: #c0ccc5; font-weight: 400; font-size: 12px; }
.login-brand .brand-caption { border-color: var(--line); color: var(--muted); }
.login-main { display: flex; align-items: center; justify-content: center; flex: 1; padding: 60px 24px 110px; }
.login-form { width: 340px; max-width: 100%; display: flex; flex-direction: column; align-items: stretch; }
.section-kicker { color: var(--emerald); font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.login-form h1 { font-size: 27px; margin-bottom: 30px; }
.login-form label { margin: 0 0 8px; font-weight: 550; }
.login-form input { min-height: 44px; font-size: 16px; width: 100%; }
.login-form > input { margin-bottom: 20px; }
.password-field { position: relative; margin-bottom: 28px; }
.password-field input { padding-right: 88px; }
.password-toggle { position: absolute; right: 8px; top: 6px; min-height: 32px; padding: 4px; border: 0; color: var(--muted); background: transparent; font-size: 12px; }
.login-form .button-primary { min-height: 44px; }
.login-form .notice { margin: -8px 0 20px; }
.login-footer { display: flex; justify-content: space-between; padding: 20px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.topbar { min-height: 62px; background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; padding: 12px 32px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; }
.account { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; font-size: 12px; }
#account-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-role { color: #b5c2ba; }
.account-indicator { width: 6px; height: 6px; background: #58cb95; border-radius: 50%; flex: 0 0 6px; }
.account .button { min-height: 30px; margin-left: 10px; font-size: 12px; }
.workspace-nav { background: white; border-bottom: 1px solid var(--line); min-height: 46px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.view-tabs { display: flex; gap: 26px; align-self: stretch; }
.view-tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 13px 0 11px; background: none; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.view-tab.active { border-bottom-color: var(--emerald); color: var(--emerald-dark); font-weight: 650; }
.count-badge { min-width: 19px; height: 18px; padding: 1px 5px; background: #edf1ee; color: #55645b; font-size: 11px; border-radius: 4px; }
.count-badge.has-errors { background: var(--amber-bg); color: #8c610f; }
.sync-label { display: inline-flex; align-items: center; gap: 8px; color: var(--emerald); font-size: 12px; }
#main { max-width: 1920px; padding: 25px 32px 0; margin: 0 auto; outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
.heading-meta { display: flex; gap: 10px; align-items: center; margin-top: 7px; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.meta-divider { color: #bdc8c0; }
.metric-help { cursor: help; }
.help-mark { display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; width: 13px; height: 13px; border: 1px solid #a1afa6; border-radius: 50%; color: #6b7a71; vertical-align: 1px; margin-left: 3px; }
.page-actions { display: flex; gap: 8px; flex-shrink: 0; }
.page-actions .button > span[aria-hidden] { font-size: 19px; line-height: 16px; font-weight: 400; }
.filters { display: grid; grid-template-columns: 156px minmax(140px, 1fr) minmax(120px, .8fr) minmax(120px, .8fr) minmax(180px, 1.35fr) auto; align-items: end; gap: 12px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.filter-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.filter-field label { font-size: 11px; font-weight: 600; color: #58655d; }
.filter-field input, .filter-field select { width: 100%; }
.reset-button { border-color: transparent; color: var(--muted); padding-inline: 8px; font-size: 12px; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 4px; font-size: 13px; line-height: 1.5; margin: 16px 0; overflow-wrap: anywhere; }
.notice-error { background: var(--red-bg); color: var(--red); border: 1px solid #edc7c3; }
.notice-info { background: var(--mint); border: 1px solid #c8dfd1; color: #246146; }
.notice .button { flex-shrink: 0; }
.loading-line { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-top: 16px; min-height: 28px; }
#report-body[aria-busy="true"] { opacity: .55; pointer-events: none; }
.summary { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); padding: 25px 0 22px; gap: 0; }
.summary-item { min-width: 0; padding: 0 16px; border-left: 1px solid var(--line); }
.summary-item:first-child { padding-left: 0; border-left: 0; }
.summary-item:last-child { padding-right: 0; }
.summary-label { display: inline-flex; align-items: baseline; gap: 3px; font-size: 11px; color: #626d66; font-weight: 500; line-height: 1.5; min-height: 34px; }
.summary-value { display: block; font-size: 23px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.summary-value.long-value { font-size: 17px; }
.summary-item.emphasis .summary-value { color: var(--emerald); }
.summary-item.amber .summary-value { color: #97690d; }
.detail-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 24px; padding: 12px 0; align-items: center; flex-wrap: wrap; }
.secondary-summary { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 11px; color: var(--muted); }
.secondary-summary strong { color: var(--ink); font-weight: 550; margin-left: 5px; font-variant-numeric: tabular-nums; }
.currency-note { font-size: 11px; color: #8a6725; overflow-wrap: anywhere; }
.chart-section { padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.chart-heading h2 { display: inline; margin-right: 10px; }
.chart-legend { display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--muted); flex-shrink: 0; }
.chart-legend > span { display: flex; align-items: center; gap: 5px; }
.swatch { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.swatch.deposits { background: var(--emerald); }
.swatch.commission { background: var(--amber); }
.chart-wrap { height: 190px; width: 100%; position: relative; }
#chart { display: block; width: 100%; height: 100%; }
.chart-empty { padding: 26px 0; text-align: center; color: var(--muted); font-size: 12px; }
.table-section { padding-top: 20px; }
.table-toolbar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 16px; }
.table-toolbar > .muted { margin-left: auto; }
.group-control { display: flex; padding: 3px; margin: 0; border: 1px solid var(--line); background: #eef2ef; border-radius: 5px; min-width: 0; gap: 2px; }
.group-control label { position: relative; cursor: pointer; }
.group-control input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.group-control span { display: block; padding: 6px 10px; font-size: 12px; border-radius: 3px; color: #657069; white-space: nowrap; }
.group-control input:checked + span { color: var(--emerald-dark); background: white; box-shadow: 0 1px 3px #20362716; font-weight: 550; }
.group-control input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: 1px; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; background: white; scrollbar-color: #bdc9c1 #f0f3f1; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
th { background: #edf2ee; color: #56645a; text-align: left; font-weight: 550; font-size: 11px; border-bottom: 1px solid var(--line); }
th, td { padding: 12px 15px; height: 43px; }
td { border-bottom: 1px solid #e9eee9; }
tbody > tr:last-child > td { border-bottom: 0; }
tbody > tr:nth-child(even) > td { background: #fafcfb; }
tbody > tr:hover > td { background: #f0f7f3; }
.numeric { text-align: right; }
#report-table > thead > tr > th:first-child, #report-table > tbody > tr > td:first-child, #report-table > tfoot > tr > td:first-child { position: sticky; left: 0; z-index: 1; min-width: 200px; max-width: 280px; border-right: 1px solid var(--line); }
#report-table > thead > tr > th:first-child { z-index: 2; }
#report-table > tbody > tr > td:first-child { background: white; font-weight: 550; }
#report-table > tbody > tr:nth-child(even) > td:first-child { background: #fafcfb; }
#report-table > tbody > tr:hover > td:first-child { background: #f0f7f3; }
.cell-label { display: block; max-width: 248px; overflow: hidden; text-overflow: ellipsis; }
.cell-secondary { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; font-weight: 400; }
#report-table > tbody > tr > td.has-toggle { padding-left: 6px; }
.row-toggle { width: 20px; height: 20px; margin-right: 4px; padding: 0; border: 1px solid var(--border); border-radius: 5px; background: white; color: var(--muted); font-size: 10px; line-height: 1; cursor: pointer; display: inline-block; vertical-align: middle; transition: transform .12s ease; }
.row-toggle:hover { color: var(--text); border-color: var(--accent); }
.row-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.row-toggle.open { transform: rotate(90deg); }
#report-table > tbody > tr.breakdown-row:hover > td { background: #f6faf8; }
#report-table > tbody > tr.breakdown-row > td { padding: 0; background: #f6faf8; border-top: 0; border-bottom: 1px solid var(--border); }
.breakdown-caption { padding: 9px 14px 8px; border-left: 3px solid var(--emerald); color: var(--emerald-dark); font-size: 11px; font-weight: 650; background: #f0f7f3; }
.breakdown-table { margin: 0; font-size: 11px; background: #fbfdfc; }
.breakdown-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); background: #f0f7f3; }
.breakdown-table th.numeric { text-align: right; }
.breakdown-table td { padding: 7px 12px; border-bottom: 1px solid #e6efea; height: 34px; }
.breakdown-table td.numeric { text-align: right; }
.breakdown-table td:first-child { font-weight: 600; min-width: 200px; max-width: 248px; overflow: hidden; text-overflow: ellipsis; }
.breakdown-table tr:last-child td { border-bottom: 0; }
.breakdown-table tr:hover td { background: #eef6f2; }
.breakdown-table tr.breakdown-country td { background: #eef7f1; border-top: 1px solid #d8e9dd; font-weight: 650; }
.breakdown-table tr.breakdown-country td:first-child { color: var(--emerald-dark); }
.breakdown-table tr.breakdown-buyer td { background: #fff; font-weight: 400; }
.breakdown-table tr.breakdown-buyer td:first-child { font-weight: 550; }
.breakdown-table tr.breakdown-buyer.nested td:first-child { padding-left: 38px; border-left: 3px solid #a6d7b9; }
.breakdown-table tr.breakdown-country:hover td, .breakdown-table tr.breakdown-buyer:hover td { background: #e4f3e9; }
.breakdown-table .row-toggle { vertical-align: middle; margin-right: 8px; }
.breakdown-label { vertical-align: middle; }
.breakdown-field { margin-left: auto; }
.sort-button { padding: 0; border: 0; background: none; display: inline-flex; gap: 7px; align-items: center; font-size: inherit; font-weight: inherit; min-height: 24px; }
.sort-button span { color: #91a098; min-width: 10px; }
.sort-button.active { color: var(--emerald-dark); }
.sort-button.active span { color: var(--emerald); }
.oas-cell { color: var(--emerald-dark); font-weight: 600; }
tfoot td { font-weight: 600; background: #eef4ef; border-top: 1px solid #cbd9cf; border-bottom: 0; }
#report-table > tfoot > tr > td:first-child { background: #eef4ef; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 18px; gap: 12px; }
.pagination-controls { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.pagination-controls label { color: var(--muted); font-size: 11px; }
.pagination-controls select { min-height: 32px; padding: 5px 7px; }
#page-label { min-width: 68px; text-align: center; font-variant-numeric: tabular-nums; }
.empty-state { padding: 42px 20px; text-align: center; background: white; border-bottom: 1px solid var(--line); }
.empty-state p { color: var(--muted); margin: 10px 0 18px; font-size: 12px; }
.source-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 25px 0 16px; }
.sources-table { min-width: 1040px; }
.sources-table td { vertical-align: top; line-height: 1.5; }
.sources-table td:first-child { min-width: 170px; max-width: 250px; white-space: normal; overflow-wrap: anywhere; font-weight: 550; }
.source-message { min-width: 240px; max-width: 420px; white-space: normal; overflow-wrap: anywhere; color: var(--muted); }
.source-list { white-space: normal; min-width: 120px; max-width: 200px; overflow-wrap: anywhere; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; padding: 3px 7px; font-size: 11px; color: #516159; background: #edf1ee; }
.status-pill::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.ok { background: var(--mint); color: var(--emerald-dark); }
.status-pill.error { background: var(--red-bg); color: var(--red); }
.status-pill.never { background: var(--amber-bg); color: #926516; }
.status-pill.running { background: var(--blue-bg); color: var(--blue); }
.status-pill.running::before { animation: status-pulse 1.4s ease-in-out infinite; }
@keyframes status-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.report-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 15px 0 20px; color: var(--muted); font-size: 11px; }
#sources-view { padding-bottom: 24px; }
.tooltip { position: fixed; z-index: 100; max-width: 320px; width: max-content; background: #26362d; color: white; font-size: 12px; line-height: 1.5; padding: 10px 12px; border-radius: 5px; box-shadow: 0 4px 16px #162b2920; pointer-events: none; overflow-wrap: anywhere; }
.noscript { padding: 24px; color: var(--red); }
@media (min-width: 1550px) {
  .summary-value { font-size: 27px; }
  .summary-label { min-height: 27px; }
}
@media (max-width: 1190px) {
  .filters { grid-template-columns: 150px 1fr 1fr; }
  .reset-button { justify-self: end; }
  .summary { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 0; }
  .summary-item:nth-child(5) { padding-left: 0; border-left: 0; }
  .summary-label { min-height: 25px; }
  .summary-value { font-size: 25px; }
  .account-role { display: none; }
}
@media (max-width: 760px) {
  .topbar { padding: 12px 18px; }
  .brand .brand-caption { display: none; }
  .workspace-nav { padding: 0 18px; }
  #main { padding: 20px 18px 0; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .page-actions { width: 100%; }
  .page-actions .button { flex: 1; }
  h1 { font-size: 21px; }
  .filters { grid-template-columns: 1fr 1fr; gap: 12px; }
  .search-field { grid-column: 1 / -1; }
  .reset-button { justify-self: start; min-height: 30px; padding-left: 0; }
  .summary { gap: 22px 0; }
  .summary-item { padding: 0 10px; }
  .summary-value { font-size: 20px; }
  .summary-label { min-height: 36px; }
  .chart-heading { align-items: flex-start; }
  .chart-heading h2 { display: block; margin-bottom: 4px; }
  .chart-legend { gap: 8px; flex-direction: column; align-items: flex-start; }
  .table-toolbar { gap: 12px; }
  .group-control { order: 3; width: 100%; }
  .group-control label { flex: 1; text-align: center; }
  .group-control span { padding: 7px 5px; font-size: 11px; }
  .pagination { align-items: flex-start; flex-direction: column; }
  .pagination-controls { width: 100%; justify-content: flex-end; }
  .pagination-controls label { margin-right: auto; }
  #report-table > thead > tr > th:first-child, #report-table > tbody > tr > td:first-child, #report-table > tfoot > tr > td:first-child { min-width: 145px; max-width: 160px; padding-inline: 10px; }
  .cell-label { max-width: 139px; }
  th, td { padding-inline: 12px; }
  .report-footer { align-items: flex-start; flex-direction: column; }
  .source-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 440px) {
  .topbar { gap: 8px; padding-inline: 14px; }
  .brand { font-size: 16px; gap: 7px; }
  .account { gap: 6px; }
  #account-name { max-width: 85px; }
  .account .button { margin-left: 0; padding-inline: 8px; }
  .account-indicator { display: none; }
  .workspace-nav { padding-inline: 14px; }
  .view-tabs { gap: 20px; }
  .sync-label { max-width: 100px; font-size: 10px; gap: 5px; }
  #main { padding-inline: 14px; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .summary-item:nth-child(even) { padding-left: 18px; }
  .summary-value { font-size: 25px; }
  .summary-label { min-height: 25px; }
  .group-control span { font-size: 10px; padding-inline: 4px; }
  .pagination-controls { gap: 6px; }
  .pagination-controls label { max-width: 70px; }
  .login-brand { padding: 24px; }
  .login-brand .brand-caption { display: none; }
  .login-footer { padding-inline: 24px; gap: 16px; }
  .notice { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition: none !important; }
}

/* Column layout dialog */
.columns-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.columns-dialog::backdrop { background: rgba(20, 28, 24, .5); }
.columns-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
.columns-head h2 { margin: 0 0 4px; font-size: 17px; }
.columns-head p { margin: 0; max-width: 60ch; }
.columns-dialog .notice { margin: 12px 20px; }
.columns-list { max-height: min(52vh, 460px); overflow-y: auto; padding: 8px 20px; }
.columns-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.columns-row:last-child { border-bottom: 0; }
.columns-row.is-hidden { opacity: .55; }
.columns-order { display: flex; flex-direction: column; gap: 2px; }
.columns-order .icon-button { width: 26px; min-height: 24px; flex: 0 0 26px; font-size: 13px; padding: 2px; }
.columns-check { display: flex; align-items: center; height: 34px; }
.columns-check input { width: 17px; height: 17px; accent-color: var(--emerald); }
.columns-body { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.columns-label, .columns-formula, .columns-kind { min-height: 34px; padding: 6px 9px; border: 1px solid #cdd6d0; background: var(--paper); color: var(--ink); }
.columns-label { flex: 1 1 220px; font-weight: 550; }
.columns-formula { flex: 2 1 320px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.columns-formula.is-invalid { border-color: var(--red); background: var(--red-bg); }
.columns-kind { flex: 0 0 auto; }
.columns-fixed { flex: 1 1 100%; font-size: 12px; color: var(--muted); line-height: 1.5; }
.columns-tools { display: flex; align-items: center; gap: 8px; }
.columns-locked { font-size: 11px; color: var(--muted); text-transform: lowercase; }
.columns-help { padding: 0 20px 12px; font-size: 12px; color: var(--muted); }
.columns-help summary { cursor: pointer; padding: 6px 0; }
.columns-help-body { line-height: 1.6; }
.columns-help-body p { margin: 6px 0; }
.columns-help code { padding: 1px 4px; background: var(--ground); border: 1px solid var(--line); color: var(--ink); }
.columns-foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--ground); }
.columns-foot-actions { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 720px) {
  .columns-row { grid-template-columns: auto auto minmax(0, 1fr); }
  .columns-tools { grid-column: 2 / -1; justify-content: flex-end; }
  .columns-foot { flex-wrap: wrap; }
  .columns-foot-actions { margin-left: 0; width: 100%; justify-content: flex-end; }
}
