:root {
    --bg: #09090b;
    --ink: #fafafa;
    --muted: #a1a1aa;
    --line: #27272a;
    --card: #18181b;
    --brand: #10b981;
    --brand-dark: #6ee7b7;
    --topbar: rgba(9, 9, 11, 0.88);
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
}
a { color: var(--brand-dark); }
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: var(--topbar);
    backdrop-filter: blur(12px);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 28px 20px 72px; }
.page-title { margin: 0 0 20px; font-size: 28px; letter-spacing: -0.03em; }
.brand { display: flex; align-items: center; text-decoration: none; color: inherit; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 14px; font-weight: 700; color: var(--ink); }
.brand-text span { font-size: 11px; font-weight: 500; color: var(--muted); }
.brand-logo { display: block; height: 112px; width: 112px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.btn {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
}
.btn-primary { background: var(--brand); border-color: var(--brand); color: #052e16; }
.btn-outline { background: transparent; border-color: #3f3f46; color: var(--ink); }
.btn.active { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.45); color: var(--brand-dark); }
.btn-danger { background: rgba(153, 27, 27, 0.35); border-color: transparent; color: #fecaca; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.hero { margin: 8px 0 28px; max-width: 720px; }
.hero h2 { margin: 0 0 8px; font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; }
.muted { color: var(--muted); font-size: 15px; line-height: 1.55; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 32px; font-weight: 750; letter-spacing: -0.03em; }
.price-period { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-vat { font-size: 14px; font-weight: 500; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.public .card { max-width: 480px; }
.public .card.card-wide { max-width: 720px; }
.methods { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.methods label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    margin: 0;
}
.methods input { width: auto; margin-top: 3px; }
.iban { font-family: ui-monospace, Consolas, monospace; font-size: 16px; letter-spacing: 0.04em; word-break: break-all; }
.banner { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }
.banner.info { background: rgba(16, 185, 129, 0.12); color: var(--brand-dark); }
.banner.ok { background: rgba(22, 101, 52, 0.35); color: #bbf7d0; }
.banner.error { background: rgba(153, 27, 27, 0.28); color: #fecaca; }
.banner a { color: inherit; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
input, textarea, select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #3f3f46;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #09090b;
    color: var(--ink);
}
textarea { min-height: 72px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); }
.field { margin-bottom: 14px; }
ul.specs { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.plan p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.plan .btn { margin-top: auto; text-align: center; }
.grid2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.grid3 { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; }
.tile strong { display: block; font-size: 28px; margin-bottom: 4px; letter-spacing: -0.03em; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; background: #27272a; color: #d4d4d8; }
.badge.ok { background: rgba(22, 101, 52, 0.4); color: #bbf7d0; }
.badge.warn { background: rgba(146, 64, 14, 0.4); color: #fde68a; }
.badge.err { background: rgba(153, 27, 27, 0.4); color: #fecaca; }
.badge.off { background: #27272a; color: #d4d4d8; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.92em; }
@media (max-width: 800px) {
    .topbar-inner { align-items: stretch; flex-direction: column; }
    .nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 2px; }
    .nav .btn { flex: 0 0 auto; }
    .grid2, .grid3 { grid-template-columns: 1fr; }
    .hide-sm { display: none; }
    .hero h2 { font-size: 32px; }
}
