:root {
    --navy: #141414;
    --navy2: #2b2b2b;
    --amber: #111111;
    --green: #2e2e2e;
    --red: #555555;
    --grey0: #f4f4f5;
    --grey1: #e4e4e7;
    --grey3: #6b7280;
}

h1:focus { outline: none; }
.validation-message { color: #e50000; }

/* ── Section headings ── */
.section-title { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.section-sub { font-size: 13px; color: var(--grey3); margin-bottom: 22px; }

/* ── Campaign cards grid ── */
.campaign-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.campaign-card {
    background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(13,27,42,.10);
    overflow: hidden; transition: transform .18s, box-shadow .18s; cursor: pointer; text-decoration: none;
}
.campaign-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(13,27,42,.16); }
.campaign-preview {
    height: 130px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #2b2b2b, #555);
    display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff;
}
.campaign-preview img { width: 100%; height: 100%; object-fit: cover; }
.campaign-status {
    position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .7px; padding: 4px 10px; border-radius: 20px;
}
.admins-role-label { display: block; font-size: 12px; font-weight: 600; color: var(--grey3); margin-top: 4px; }
.admins-role-select { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #d4d4d8; border-radius: 8px; font-size: 14px; background: #fff; }

.status-active { background: #27AE7A; color: #fff; }
.status-reg-closed { background: rgba(240, 185, 40, .6); color: #2b2100; }
.status-closed { background: rgba(0,0,0,.5); color: #ccc; }
.campaign-body { padding: 14px 16px; }
.campaign-id { font-size: 10px; color: #A8B4C2; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.campaign-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.campaign-desc { font-size: 11px; color: var(--grey3); line-height: 1.5; margin-bottom: 12px; min-height: 32px; }
.campaign-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cs-item { background: var(--grey0); border-radius: 8px; padding: 8px 10px; }
.cs-label { font-size: 10px; color: var(--grey3); font-weight: 600; }
.cs-value { font-size: 15px; font-weight: 800; color: var(--navy); }

/* ── Promise block (per-campaign card) ── */
.promise-block { margin: 12px 0 10px; display: flex; flex-direction: column; gap: 4px; }
.promise-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; }
.promise-label { color: var(--grey3); }
.promise-val { font-weight: 700; color: var(--navy); }
.promise-total { border-top: 1px dashed var(--grey1); padding-top: 5px; margin-top: 2px; }
.promise-total .promise-label, .promise-total .promise-val { font-weight: 800; font-size: 13px; }

/* ── Coverage badge ── */
.coverage { font-size: 11px; font-weight: 700; padding: 7px 10px; border-radius: 8px; margin-bottom: 10px; line-height: 1.35; }
.cov-ok { background: #ededed; color: #141414; border: 1px solid #d4d4d8; }
.cov-gap { background: #1a1a1a; color: #fff; }
.cov-none { background: var(--grey0); color: var(--grey3); }

/* ── Collected + progress bar ── */
.collected-block { margin-bottom: 10px; }
.collected-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.collected-label { font-size: 11px; color: var(--grey3); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.collected-val { font-size: 13px; font-weight: 800; color: var(--green); }
.progress-track { height: 9px; background: var(--grey1); border-radius: 6px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #1a1a1a, #666); border-radius: 6px; transition: width .4s; }
.collected-pct { font-size: 10px; color: var(--grey3); font-weight: 700; margin-top: 3px; text-align: right; }

/* ── Team leaders ── */
.leaders { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.leader { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 5px 8px; border-radius: 7px; background: var(--grey0); }
.leader-cap { font-weight: 700; color: var(--grey3); white-space: nowrap; }
.leader-name { font-weight: 700; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.leader-sum { font-weight: 800; color: var(--navy); white-space: nowrap; }
.leader-top { background: rgba(244,162,40,.12); }

/* ── Period summary cards (dark, premium) — 4 в ряд ── */
.period-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 18px; align-items: stretch; }
.period-card {
    position: relative; overflow: hidden;
    background: linear-gradient(158deg, #26262a 0%, #161618 55%, #0d0d0f 100%);
    color: #fff; border-radius: 20px; padding: 24px 24px 22px;
    box-shadow: 0 12px 32px rgba(0,0,0,.26);
    border: 1px solid rgba(255,255,255,.07);
}
/* м'який світловий акцент у кутку */
.period-card::after {
    content: ""; position: absolute; top: -45px; right: -45px;
    width: 150px; height: 150px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
    pointer-events: none;
}
.period-head { display: flex; align-items: center; gap: 11px; margin-bottom: 4px; position: relative; }
.period-emoji {
    font-size: 20px; line-height: 1;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
}
.period-title2 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.period-range { font-size: 12px; color: rgba(255,255,255,.5); margin: 8px 0 18px; font-weight: 600; }
.period-big { font-size: 38px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.8px; }
.period-big span { font-size: 19px; opacity: .5; font-weight: 700; }
.period-big-cap { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 7px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .6px; font-weight: 600; }
.period-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.period-metrics .pm { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 12px 13px; }
.period-metrics .pm-num { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.period-metrics .pm-cap { font-size: 11.5px; color: rgba(255,255,255,.55); font-weight: 600; margin-top: 7px; }
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chart-block { min-width: 0; }
.chart-cap { font-size: 11px; color: var(--grey3); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.bar-chart { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .chart-row { grid-template-columns: 1fr; } }
.period-rows { display: flex; flex-direction: column; gap: 6px; }
.period-rows > div { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--grey3); }
.period-rows > div b { color: var(--navy); font-weight: 800; }
.period-collected { color: var(--green) !important; }
.period-bar-row { flex-direction: column !important; align-items: stretch !important; gap: 4px; margin-top: 4px; }
.period-pct { font-size: 10px; color: var(--grey3); font-weight: 700; }

/* ── Filter bar (нативні select, працюють у Blazor-острові без MudBlazor-провайдерів) ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.filter-bar label { display: flex; flex-direction: column; font-size: 11px; color: var(--grey3); font-weight: 600; gap: 3px; }
.filter-bar select {
    font-size: 14px; color: var(--navy); padding: 8px 10px; border: 1px solid var(--grey1);
    border-radius: 8px; background: #fff; min-width: 150px; cursor: pointer;
}
.filter-bar select:focus { outline: none; border-color: var(--amber); }
.filter-bar input[type=search], .filter-bar input[type=date] {
    font-size: 14px; color: var(--navy); padding: 8px 10px; border: 1px solid var(--grey1);
    border-radius: 8px; background: #fff; min-width: 150px;
}
.filter-bar input:focus { outline: none; border-color: var(--amber); }
.filter-bar .chip-btn {
    font-size: 12px; font-weight: 600; color: var(--navy); padding: 8px 12px; border: 1px solid var(--grey1);
    border-radius: 999px; background: #fff; cursor: pointer; align-self: flex-end;
}
.filter-bar .chip-btn:hover { border-color: var(--amber); background: var(--grey0, #f7f7f7); }
.filter-count { font-size: 12px; color: var(--grey3); align-self: center; padding-bottom: 9px; }

.user-name-link {
    color: #fff; text-decoration: none; font-size: 14px; margin-right: 16px;
    padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18);
}
.user-name-link:hover { background: rgba(255,255,255,.1); }

.withdrawn-row { margin-top: 6px; font-size: 12px; color: var(--grey3); }

/* Інформаційний тултип на (ⓘ) — острів-сумісний (без MudPopover). */
.info-tip {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; margin-left: 6px; border-radius: 50%;
    border: 1px solid var(--grey1); color: var(--grey3); font-size: 12px; font-weight: 700;
    cursor: help; user-select: none; vertical-align: middle;
}
.info-tip:hover, .info-tip:focus { border-color: var(--navy); color: var(--navy); outline: none; }
.info-tip .info-pop {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 50;
    width: 340px; max-width: 80vw; padding: 12px 14px; border-radius: 10px;
    background: #1f1f23; color: #f4f4f5; font-size: 12.5px; font-weight: 400; line-height: 1.5;
    box-shadow: 0 8px 24px rgba(0,0,0,.25); opacity: 0; visibility: hidden;
    transform: translateY(-4px); transition: opacity .12s, transform .12s; text-align: left;
}
.info-tip:hover .info-pop, .info-tip:focus .info-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.info-tip .info-pop b { color: #fff; }
.info-tip .info-pop ol { margin: 0; padding-left: 16px; }
.info-tip .info-pop li { margin-bottom: 6px; }
.info-tip .info-pop li:last-child { margin-bottom: 0; }

/* ── Inline modal (без MudDialogProvider, який статичний у layout) ── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(13,27,42,.45); z-index: 1400; }
.modal-card {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #fff; border-radius: 14px; padding: 24px; width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 32px); overflow-y: auto; z-index: 1401;
    box-shadow: 0 12px 48px rgba(13,27,42,.30);
}
.modal-select-label { display: flex; flex-direction: column; font-size: 12px; color: var(--grey3); gap: 4px; margin-top: 8px; }
.modal-select-label select {
    font-size: 14px; color: var(--navy); padding: 9px 10px; border: 1px solid var(--grey1);
    border-radius: 8px; background: #fff; cursor: pointer;
}
.modal-select-label select:focus { outline: none; border-color: var(--amber); }

/* ── Quick-view (detail) modal ── */
.detail-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1500;
    display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto;
}
.detail-modal { background: #fff; border-radius: 18px; width: 700px; max-width: 100%; max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.detail-header-img {
    height: 130px; border-radius: 18px 18px 0 0; position: relative;
    background: linear-gradient(135deg, #2b2b2b, #555);
    display: flex; align-items: center; justify-content: center; font-size: 46px; color: #fff;
    cursor: pointer;
}
.detail-close {
    position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 8px; border: none;
    background: rgba(255,255,255,.2); color: #fff; font-size: 17px; cursor: pointer;
}
.detail-close:hover { background: rgba(255,255,255,.35); }
.detail-body { padding: 20px 24px; }
.detail-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
/* Назва як посилання — клік відкриває повні деталі збору. */
.detail-title-link { color: var(--green); cursor: pointer; width: fit-content; transition: opacity .15s; }
.detail-title-link:hover { opacity: .75; }
.detail-meta { font-size: 12px; color: var(--grey3); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 14px; }

.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.ds-card { background: var(--grey0); border-radius: 10px; padding: 12px 14px; }
.ds-label { font-size: 10px; color: var(--grey3); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.ds-value { font-size: 19px; font-weight: 800; color: var(--navy); }
.ds-sub { font-size: 11px; color: var(--grey3); margin-top: 2px; }

/* ── Team ranking ── */
.team-rank-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); margin-bottom: 6px; }
.team-rank { display: flex; flex-direction: column; gap: 4px; }
.tr-row { display: grid; grid-template-columns: 24px 1fr auto auto; gap: 10px; align-items: center; background: var(--grey0); border-radius: 8px; padding: 7px 10px; font-size: 12px; }
.tr-pos { font-weight: 800; color: var(--amber); text-align: center; }
.tr-name { font-weight: 700; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-goal { font-size: 11px; color: var(--grey3); }
.tr-bal { font-weight: 800; color: var(--green); white-space: nowrap; }

/* ── Participants table (modal) ── */
.participants-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.participants-table th { text-align: left; padding: 8px 10px; background: var(--grey0); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--grey3); }
.participants-table th:first-child { border-radius: 8px 0 0 8px; }
.participants-table th:last-child { border-radius: 0 8px 8px 0; }
.participants-table td { padding: 9px 10px; border-bottom: 1px solid var(--grey1); }
.participants-table tr:last-child td { border-bottom: none; }
.p-name { font-weight: 700; color: var(--navy); }
.p-amount { font-weight: 800; color: var(--navy); }
.p-mono { font-size: 11px; color: var(--green); font-weight: 700; }
.p-badge { font-size: 10px; padding: 3px 8px; border-radius: 20px; font-weight: 700; display: inline-block; }
.pb-team { background: #e4e4e7; color: #1a1a1a; }
.pb-solo { background: var(--grey0); color: var(--grey3); }
.pb-done { background: #1a1a1a; color: #fff; }
.pb-wait { background: #ededed; color: #555; border: 1px solid #d4d4d8; }
.pb-broken { background: #b23838; color: #fff; }

.detail-footer { padding: 14px 24px 18px; border-top: 1px solid var(--grey1); display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.df-left { font-size: 11px; color: var(--grey3); }
.df-right { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Top navigation (вкладки) ── */
.top-nav {
    display: flex; gap: 6px; flex-wrap: wrap; background: #fff; border-radius: 12px;
    padding: 6px; margin-bottom: 22px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.top-nav .tn-item {
    display: flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 8px;
    text-decoration: none; color: var(--grey3); font-weight: 700; font-size: 14px; transition: all .15s;
}
.top-nav .tn-item:hover { background: var(--grey0); color: var(--navy); }
.top-nav .tn-item.active { background: #141414; color: #fff; }
.top-nav .tn-ico { font-size: 16px; line-height: 1; }
.top-nav .tn-refresh {
    margin-left: auto; display: flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 8px;
    background: #141414; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; transition: opacity .15s;
}
.top-nav .tn-refresh:hover { opacity: .85; }

/* ── Brand wordmark (хедер) ── */
.brand-wordmark { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-wordmark .bw-mark {
    width: 26px; height: 26px; border-radius: 6px; background: #fff; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; color: #141414; font-weight: 900; font-size: 16px;
}
.brand-wordmark .bw-text { color: #fff; font-weight: 800; letter-spacing: 2px; font-size: 16px; }
.brand-wordmark .bw-text b { font-weight: 800; opacity: .65; }

/* ── Login card (чорна плитка, біле лого, біла кнопка) ── */
.login-card {
    background: #111111; border-radius: 18px; padding: 44px 34px; width: min(360px, calc(100vw - 32px));
    text-align: center; box-shadow: 0 24px 64px rgba(0,0,0,.35);
    display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.login-logo { width: 160px; height: auto; display: block; }
.login-btn {
    width: 100%; background: #fff; color: #111; border: none; border-radius: 11px;
    padding: 14px 24px; font-size: 15px; font-weight: 700; cursor: pointer; transition: opacity .15s;
}
.login-btn:hover { opacity: .85; }
.login-err { width: 100%; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; padding: 10px 14px; border-radius: 8px; }

/* ── Перевірити дизайн ── */
.cd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .cd-grid { grid-template-columns: 1fr; } }
.cd-fonts { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.cd-font { display: flex; align-items: center; justify-content: space-between; background: var(--grey0); border-radius: 8px; padding: 4px 6px 4px 12px; font-size: 13px; color: var(--navy); font-weight: 600; }
.cd-fontwarn { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--grey1); display: flex; flex-direction: column; gap: 4px; }
.cd-fontwarn-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--grey3); margin-bottom: 2px; }
.cd-fontwarn .fw-ok { font-size: 13px; color: #1e7e54; font-weight: 600; }
.cd-fontwarn .fw-miss { font-size: 13px; color: #9a4b00; font-weight: 700; }
.cd-fontwarn .fw-note { font-size: 12px; color: var(--grey3); margin-top: 4px; }

/* ── Campaign lifecycle status chip ── */
.cv-status { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 5px 13px; border-radius: 20px; white-space: nowrap; }
.cv-open { background: #27AE7A; color: #fff; }
.cv-regclosed { background: var(--grey1); color: #555; }
.cv-closed { background: #1a1a1a; color: #fff; }

/* Дії збору — в один рядок під назвою; за потреби горизонтальна прокрутка замість переносу. */
.cv-actions { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
.cv-actions .mud-button-root { flex: 0 0 auto; white-space: nowrap; }

/* ── Export column picker ── */
.export-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.export-col { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--navy); cursor: pointer; }
.export-col input { width: 16px; height: 16px; cursor: pointer; }

.sortable { cursor: pointer; user-select: none; white-space: nowrap; }

/* ── Колір команди (читабельність таблиці учасників) ── */
.team-chip { display: inline-block; padding: 3px 10px; border-radius: 20px; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }

/* Комірка з обрізанням довгого тексту в один рядок (напр. довге ім'я в таблиці учасників). */
.cell-ellipsis { display: inline-block; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }

/* Компактніші відступи між колонками в усіх таблицях (щільно, але не впритул). */
.mud-table-root .mud-table-cell,
.mud-table-dense .mud-table-cell { padding-left: 8px !important; padding-right: 8px !important; }
.mud-table-root .mud-table-cell:first-child,
.mud-table-dense .mud-table-cell:first-child { padding-left: 12px !important; }
.mud-table-root .mud-table-cell:last-child,
.mud-table-dense .mud-table-cell:last-child { padding-right: 12px !important; }

/* ── Import modal ── */
.imp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--grey1); font-size: 13px; color: var(--navy); font-weight: 600; }
.imp-warnings { margin-top: 8px; max-height: 160px; overflow-y: auto; font-size: 12px; color: #9a4b00; display: flex; flex-direction: column; gap: 3px; }

/* ── Pager у вікні швидкого перегляду ── */
.detail-pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--grey3); }
.detail-pager button { border: 1px solid var(--grey1); background: #fff; border-radius: 7px; padding: 5px 10px; font-size: 12px; font-weight: 700; color: var(--navy); cursor: pointer; }
.detail-pager button:disabled { opacity: .4; cursor: default; }
.detail-pager button:not(:disabled):hover { background: var(--grey0); }

/* ── Campaign form (створення/редагування) — секційна, повітряна ── */
.cform { max-width: 800px; }
.cform-lead { font-size: 13.5px; color: var(--grey3); margin: -2px 0 22px; }
.cform-section { background: #fff; border: 1px solid var(--grey1); border-radius: 16px; padding: 24px 26px; margin-bottom: 20px; }
.cform-shead { display: flex; align-items: center; gap: 12px; }
.cform-sico { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--grey0); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.cform-stitle { font-size: 16px; font-weight: 800; color: var(--navy); }
.cform-ssub { font-size: 12.5px; color: var(--grey3); line-height: 1.55; margin: 10px 0 18px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (max-width: 640px) { .cform-row { grid-template-columns: 1fr; } }
.cform-flabel { font-size: 12px; font-weight: 700; color: var(--grey3); text-transform: uppercase; letter-spacing: .5px; margin: 0 0 8px; display: block; }
.cform-select { display: block; width: 100%; padding: 12px 13px; border: 1px solid #cbcbd1; border-radius: 8px; font-size: 14px; background: #fff; color: var(--navy); cursor: pointer; }
.cform-select:hover { border-color: #a1a1aa; }
.cform-select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.cform-upload { border: 1.5px dashed #cbcbd1; border-radius: 12px; padding: 14px 16px; background: var(--grey0); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cform-upload-info { font-size: 12.5px; color: var(--grey3); }
.cform-upload-info.ok { color: #1e7e54; font-weight: 700; }
.cform-preview { height: 70px; border-radius: 8px; object-fit: cover; border: 1px solid var(--grey1); }
.cform-tags { background: var(--grey0); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: var(--grey3); line-height: 1.9; margin-bottom: 18px; }
.cform-tags code { background: #fff; border: 1px solid var(--grey1); border-radius: 5px; padding: 1px 6px; font-size: 12px; color: var(--navy); }
.cform-attach { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--grey0); border: 1px solid var(--grey1); border-radius: 10px; padding: 9px 8px 9px 13px; margin-bottom: 8px; font-size: 14px; }
.cform-actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }

.blazor-error-boundary { background: #b32121; padding: 1rem; color: white; }
.blazor-error-boundary::after { content: "Сталася помилка."; }
