@font-face { font-family: "Fira Sans"; src: url(/fonts/FiraSans-Light.ttf); font-weight: 300; }
@font-face { font-family: "Fira Sans"; src: url(/fonts/FiraSans-Regular.ttf); font-weight: 400; }
@font-face { font-family: "Fira Sans"; src: url(/fonts/FiraSans-Medium.ttf); font-weight: 500; }
@font-face { font-family: "Fira Sans"; src: url(/fonts/FiraSans-SemiBold.ttf); font-weight: 600; }
@font-face { font-family: "Fira Sans"; src: url(/fonts/FiraSans-Bold.ttf); font-weight: 700; }
:root {
  --bg: #f3f3f5; --card: #fff; --ink: #0d0e12; --muted: #8a8d98; --line: #ececf0; --soft: #f6f6f8;
  --side: #000; --accent: #e8462b; --accent-2: #5b5fc7; --ok: #12805c; --warn: #b45309; --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.45 "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
a { color: var(--accent-2); text-decoration: none; }
h1 { font-size: 24px; margin: 0 0 4px; letter-spacing: -.02em; font-weight: 600; }
h2 { font-size: 17px; margin: 0 0 12px; font-weight: 600; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 20px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* sidebar */
#app { display: flex; min-height: 100vh; }
.side { width: 248px; background: var(--side); color: #d6d7dc; display: flex; flex-direction: column; padding: 26px 16px 20px; position: sticky; top: 0; height: 100vh; flex-shrink: 0; }
.brand { font-weight: 700; font-size: 24px; color: #fff; padding: 0 8px 26px; letter-spacing: -.03em; line-height: 1; }
.brand span { display: block; font-weight: 500; font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .16em; margin-top: 6px; }
.brand.big { color: var(--ink); font-size: 30px; padding: 0 0 18px; }
.label-switch { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: #6f7280; text-transform: uppercase; letter-spacing: .1em; padding: 0 8px 18px; }
.label-switch select { background: #16171c; color: #fff; border: 1px solid #26272e; text-transform: none; letter-spacing: 0; font-size: 14px; border-radius: 10px; padding: 9px 10px; }
nav a { display: flex; align-items: center; justify-content: space-between; color: #c9cad1; padding: 10px 12px; border-radius: 10px; margin-bottom: 2px; font-size: 15px; position: relative; }
nav a:hover { background: #121317; color: #fff; }
nav a.active { background: #1b1c21; color: #fff; }
nav a.active::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
nav .nav-cta { color: #fff; background: var(--accent); margin: 6px 0 8px; justify-content: center; font-weight: 600; }
nav .nav-cta:hover, nav .nav-cta.active { filter: brightness(.93); background: var(--accent); }
nav .nav-cta.active::before { display: none; }
.nav-sep { height: 1px; background: #1d1e23; margin: 12px 4px; }
.badge { background: var(--accent); color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 10px; }
.me { margin-top: auto; padding: 12px 10px 0; font-size: 12px; display: flex; justify-content: space-between; color: #7a7d89; border-top: 1px solid #1d1e23; }
.me a { color: #7a7d89; }
main { flex: 1; padding: 30px 40px 70px; min-width: 0; max-width: 1480px; }

/* layout */
.page-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.page-title h1 { margin: 0; }
.pt-ic { width: 34px; height: 34px; border-radius: 50%; background: #2a2b31; color: #fff; display: grid; place-items: center; }
.pt-ic svg { width: 18px; height: 18px; }
.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.card { background: var(--card); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.card.flush { padding: 6px 0; }
.sec-h { font-size: 18px; margin: 26px 0 12px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 12px; }
.sec-head .sec-h { margin: 0; }
.head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.loading { color: var(--muted); padding: 40px; text-align: center; }

/* segmented tabs */
.segtabs { display: inline-flex; flex-wrap: wrap; gap: 2px; background: #fff; border-radius: 12px; padding: 5px; margin-bottom: 14px; }
.segtabs button { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: #9a9ca6; padding: 7px 12px; border-radius: 9px; cursor: pointer; }
.segtabs button:hover { color: var(--ink); }
.segtabs button.on { background: var(--ink); color: #fff; }

/* filters */
.filters2 { margin-bottom: 8px; padding-bottom: 16px; border-bottom: 1px solid #e4e4e8; }
.bigrow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.1fr); gap: 12px; margin-bottom: 10px; }
.bigsel { position: relative; display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 0 12px; height: 46px; gap: 8px; color: var(--accent-2); }
.bigsel select { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; font-size: 15px; color: var(--ink); appearance: none; -webkit-appearance: none; padding: 0 22px 0 0; height: 100%; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.chiprow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 3px; background: #fff; border-radius: 8px; padding: 0 8px 0 6px; height: 28px; color: var(--ink); font-size: 12px; }
.chip svg { width: 13px; height: 13px; color: #555; }
.chip select { border: 0; background: transparent; font: inherit; font-size: 12px; appearance: none; -webkit-appearance: none; padding: 0; cursor: pointer; max-width: 150px; outline: none; color: inherit; }
.chip.on { background: var(--ink); color: #fff; }
.chip.on svg { color: #fff; }
.chip-sep { flex: 1; }
.custom-period { display: flex; gap: 10px; margin-top: 10px; }
.custom-period label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.seg { display: inline-flex; background: #fff; border-radius: 9px; padding: 3px; gap: 2px; align-items: center; }
.seg button { border: 0; background: none; padding: 5px 10px; cursor: pointer; font: inherit; font-size: 12px; color: var(--muted); border-radius: 7px; }
.seg button.on { background: var(--ink); color: #fff; }
.seg.mini { padding: 3px; }
.seg .muted { padding: 0 6px; }

/* old filter bar (other pages) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; background: var(--card); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.filters label, .form label { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); gap: 4px; }
input, select, textarea { font: inherit; padding: 8px 10px; border: 1px solid #e1e2e7; border-radius: 9px; background: #fff; color: var(--ink); min-width: 0; }
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #d9daf5; border-color: var(--accent-2); }

/* buttons */
.btn { font: inherit; border: 0; background: #fff; color: var(--ink); padding: 8px 15px; border-radius: 10px; cursor: pointer; white-space: nowrap; box-shadow: inset 0 0 0 1px #e3e4e9; }
.btn:hover { box-shadow: inset 0 0 0 1px #c9cad2; }
.btn.primary { background: var(--accent); color: #fff; font-weight: 600; box-shadow: none; }
.btn.primary:hover { filter: brightness(.93); }
.btn.dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.btn.link { background: none; box-shadow: none; color: var(--accent-2); padding: 0; }
.btn.danger { color: #c0301f; }
.btn:disabled { opacity: .5; cursor: default; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.kpi { background: var(--card); border-radius: var(--radius); padding: 16px 18px; }
.kpi .k { font-size: 12px; color: var(--muted); }
.kpi .v { font-size: 22px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kpi.hl { background: var(--ink); color: #fff; }
.kpi.hl .k { color: #a5a7b0; }
.kpi.hl .v { color: #fff; }
.kpi .hint { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* charts & legends */
.chart-box { position: relative; height: 300px; }
.chart-box.tall { height: 360px; }
.legend-table { margin-top: 18px; }
.lt-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.lt-row b { font-variant-numeric: tabular-nums; }
.lt-row .ln { display: inline-block; width: 16px; height: 2px; vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.lt-row.total span { padding-left: 26px; }
.legend-inline { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend-inline i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.tops { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.top-card { background: #fff; border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; }
.top-card .ic { width: 22px; height: 22px; color: var(--accent-2); margin-bottom: 10px; }
.top-card .ic svg { width: 22px; height: 22px; }
.top-card .k { font-size: 12px; color: #3f4150; }
.top-card .v { font-size: 17px; font-weight: 600; margin: 2px 0 18px; letter-spacing: -.01em; }
.top-card .foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* ranked lists */
.rank { display: grid; grid-template-columns: 34px 78px minmax(160px, 1.3fr) minmax(180px, 1.6fr) 100px 130px 140px; gap: 12px; align-items: center; padding: 13px 22px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rank:last-child { border-bottom: 0; }
.rank.head { font-size: 12px; color: var(--muted); padding-top: 12px; padding-bottom: 10px; }
.rank.click { cursor: pointer; }
.rank.click:hover { background: #fafafb; }
.rank .tt { display: flex; flex-direction: column; min-width: 0; }
.rank .tt b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank .tt small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n { text-align: right; white-space: nowrap; }
.pill-dark { display: inline-block; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.splitbar { display: flex; flex-direction: column; gap: 3px; }
.sb { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: #eef0f3; }
.sb i { display: block; height: 100%; }
.sb-labels { display: flex; font-size: 10.5px; color: var(--muted); height: 13px; }
.sb-labels em { font-style: normal; text-align: right; overflow: hidden; }
.more { text-align: center; padding: 14px; }
.trow, .t3 { display: grid; gap: 12px; align-items: center; padding: 13px 22px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.trow { grid-template-columns: 1fr 120px 90px 150px; }
.t3 { grid-template-columns: 1fr 160px 140px 160px; }
.trow.head, .t3.head { font-size: 12px; color: var(--muted); }
.trow.total, .t3.total { background: #f6f6f8; font-weight: 600; border-bottom: 0; border-radius: 0 0 var(--radius) var(--radius); }
.t3 small { display: block; font-size: 11px; color: var(--muted); }
.t3 .t3-names { display: block; margin-top: 2px; }
.t3 .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.stack100 { display: flex; height: 22px; border-radius: 7px; overflow: hidden; margin-bottom: 14px; }
.stack100 i { display: flex; align-items: center; padding-left: 7px; font-size: 10.5px; font-style: normal; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; }
.geo { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 6px 28px; }
.geo-row { display: grid; grid-template-columns: 150px 1fr 70px; gap: 10px; align-items: center; font-size: 13px; }
.geo-bar { height: 8px; background: #eef0f3; border-radius: 4px; overflow: hidden; }
.geo-bar i { display: block; height: 100%; background: linear-gradient(90deg, #8f84f3, #6c5ce7); border-radius: 4px; }

/* tables */
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 9px 8px; white-space: nowrap; }
th.sortable { cursor: pointer; }
td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
td.n, th.n { text-align: right; white-space: nowrap; }
tr.click { cursor: pointer; }
tr.click:hover td { background: #fafafb; }
tfoot td { font-weight: 600; border-bottom: 0; background: #f6f6f8; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 12px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 8px 12px; font: inherit; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.page-tabs { display: inline-flex; gap: 2px; background: #fff; border-radius: 12px; padding: 5px; margin-bottom: 18px; border: 0; }
.page-tabs a { padding: 7px 14px; color: #9a9ca6; border-radius: 9px; font-weight: 500; font-size: 15px; }
.page-tabs a.on { background: var(--ink); color: #fff; }
.pill { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #eef0f4; color: #374151; }
.pill.ok { background: #dcf5ea; color: var(--ok); }
.pill.warn { background: #fdecd8; color: var(--warn); }
.pill.new { background: #e6e7fb; color: var(--accent-2); }
.drop { border: 2px dashed #d5d6de; border-radius: var(--radius); padding: 40px; text-align: center; background: #fff; cursor: pointer; display: block; }
.drop.over { border-color: var(--accent); background: #fff6f4; }
.drop b { font-size: 16px; }
.drop.small-drop { padding: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.map-grid { display: grid; grid-template-columns: 240px 1fr; gap: 8px 14px; align-items: center; }
.map-grid .f.req::after { content: " *"; color: var(--accent); }
.map-cell { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.map-cell select { min-width: 220px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.form .wide { grid-column: 1 / -1; }
.scroll { overflow-x: auto; }
.raw td { font-size: 12px; white-space: nowrap; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.modal { position: fixed; inset: 0; background: rgba(10, 10, 14, .45); display: flex; align-items: flex-start; justify-content: center; z-index: 50; padding: 60px 20px; overflow-y: auto; }
.modal-card { background: #fff; border-radius: 18px; padding: 24px; width: 720px; max-width: 100%; }
.modal-card .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; z-index: 60; max-width: 80vw; }
.toast.err { background: #b42318; }
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(1200px 600px at 20% 10%, #1b1c22, #000); }
.login-card { background: #fff; padding: 34px; border-radius: 20px; width: 360px; display: flex; flex-direction: column; gap: 14px; }
.login-card label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.err { color: #b42318; font-size: 13px; min-height: 1em; }
.note { background: #fff; border-radius: 12px; padding: 11px 14px; font-size: 13px; color: #3c3f4c; }
.note.warn { background: #fff7ed; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
@media (max-width: 1100px) { .rank { grid-template-columns: 30px 70px 1fr 1fr 110px; } .rank > :nth-child(5), .rank > :nth-child(6) { display: none; } .bigrow { grid-template-columns: 1fr; } }
@media (max-width: 900px) { #app { flex-direction: column; } .side { width: 100%; height: auto; position: static; } main { padding: 16px; } .map-grid { grid-template-columns: 1fr; } }

/* legal entities */
.ent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.ent-card { display: flex; flex-direction: column; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 20px 22px; color: var(--ink); text-decoration: none; transition: box-shadow .15s; }
.ent-card:hover { box-shadow: 0 6px 24px rgba(20,20,40,.08); }
.ent-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 18px; }
.ent-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ent-kpis span { display: block; font-size: 11.5px; color: var(--muted); }
.ent-kpis b { font-size: 17px; font-variant-numeric: tabular-nums; }
.vat-line { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.check { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border-radius: 12px; padding: 12px 16px; border-left: 4px solid #c9cbd3; }
.check.warn { border-left-color: var(--warn); background: #fffaf3; }
.check.error { border-left-color: #e8462b; }
.check .small { color: #555a68; margin-top: 2px; }
.vat-card { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: center; margin-top: 14px; }
.vat-card.warn { background: #fff7ed; }
.vat-bar { display: flex; flex-direction: column; gap: 6px; }
.trow.cal { grid-template-columns: 96px 1fr 120px; }
.trow.ar { grid-template-columns: 1fr 100px 110px 100px 100px; }
.trow.ct { grid-template-columns: 1.3fr 1.3fr 0.9fr 110px 1.1fr 100px 120px 90px; }
.btn.sm { padding: 5px 10px; font-size: 12.5px; }
.ent-two { display: grid; grid-template-columns: minmax(380px, 1fr) minmax(520px, 1.25fr); gap: 18px; align-items: start; }
@media (max-width: 1200px) { .ent-two { grid-template-columns: 1fr; } }
.trow.ar { grid-template-columns: minmax(140px, 1fr) 96px 110px 96px 96px; }
.trow.ar a { color: var(--ink); font-weight: 500; }

/* label economics */
.eco-kpis { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1300px) { .eco-kpis { grid-template-columns: repeat(3, 1fr); } }
.kpi .hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.kpi.hl .hint { color: #b9bbc6; }
.flow { display: flex; height: 34px; border-radius: 10px; overflow: hidden; margin: 6px 0 16px; background: #eef0f3; }
.flow i { display: block; height: 100%; }
.flow-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; }
.flow-legend div { display: grid; grid-template-columns: 1fr auto 52px; gap: 10px; font-size: 13.5px; align-items: center; font-variant-numeric: tabular-nums; }
.flow-legend span i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.flow-legend em { font-style: normal; color: var(--muted); text-align: right; }
.cascade > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; font-size: 14px; }
.cascade > div:not(.top):not(.sub) span { color: #6b6e7a; padding-left: 12px; }
.cascade .sub { font-weight: 600; }
.cascade .top { font-weight: 700; font-size: 15.5px; }
.cascade > div.top:last-of-type { background: var(--ink); color: #fff; border-radius: 10px; padding: 11px 12px; border: 0; margin-top: 6px; }
.trow.ag { grid-template-columns: 1.2fr 120px repeat(5, 1fr); }
tr.click { cursor: pointer; }
.trow.sp { grid-template-columns: 1fr 1.3fr 1fr 110px 120px 120px 100px 120px; padding: 11px 4px; }
#split { padding-bottom: 8px; }

/* switches */
.switches { background: #f6f6f8; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sw-title { font-weight: 600; font-size: 14px; color: var(--ink); }
label.sw { display: grid !important; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; cursor: pointer; color: var(--ink); }
label.sw input { position: absolute; opacity: 0; pointer-events: none; }
label.sw i { width: 38px; height: 22px; border-radius: 11px; background: #c9cbd3; position: relative; transition: background .15s; margin-top: 1px; }
label.sw i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
label.sw input:checked + i { background: var(--ink); }
label.sw input:checked + i::after { left: 19px; }
label.sw input:disabled + i { opacity: .5; }
label.sw span b { display: block; font-weight: 500; font-size: 14px; }
label.sw span small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.sw-state { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 4px; }

.vault-ic { font-size: 30px; line-height: 1; }
#vault .login-card { width: 400px; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
pre.log { white-space: pre-wrap; background: #f6f6f8; border-radius: 8px; padding: 8px 10px; max-height: 120px; overflow: auto; margin: 10px 0 0; }
