/* Admin dashboard ("Control room"). One set of parts for every tab: a KPI
   tile, a card, bar lists, people lists, logs and a line chart. Built on the
   site tokens in base.css. Motion is kept to opacity and transforms, and
   nothing here uses blur or large shadows, so scrolling stays smooth. */

/* Console mode: the dashboard takes the whole width. */
body.is-admin-console .developer-hero,
body.is-admin-console .developer-sidebar,
body.is-admin-console .developer-gate {
    display: none;
}

body.is-admin-console .developer-dashboard {
    grid-template-columns: minmax(0, 1fr);
}

body.is-admin-console .developer-shell {
    padding-top: 1.25rem;
}

.adm {
    --adm-ok: var(--accent-green);
    --adm-warn: var(--accent-gold);
    --adm-down: var(--accent-red);
    --adm-info: var(--accent-cyan);
    --adm-tile: rgba(255, 255, 255, 0.028);
    --adm-tile-hover: rgba(255, 255, 255, 0.05);
    font-variant-numeric: tabular-nums;
}

.developer-panel.adm {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    display: none;
    gap: 1rem;
}

.developer-panel.adm.is-active {
    display: grid;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.adm-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.adm-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.35rem;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.adm-badge {
    padding: 0.18rem 0.55rem;
    border-radius: var(--radius-pill);
    background: var(--surface-4);
    color: var(--accent-blue);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.adm-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.adm-sub {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.adm-top-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.adm-live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.8rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.adm-live b {
    color: var(--text-primary);
    font-family: var(--font-display);
}

.adm-live-dot {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--adm-ok);
}

.adm-live-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--adm-ok);
    animation: adm-ping 2.4s ease-out infinite;
}

@keyframes adm-ping {
    from { transform: scale(1); opacity: 0.6; }
    to { transform: scale(2.8); opacity: 0; }
}

.adm-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.2rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: var(--surface-4);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.adm-btn:hover {
    background: rgba(78, 161, 255, 0.2);
}

.adm-btn:active {
    transform: scale(0.97);
}

.adm-btn:focus-visible,
.adm-tabs a:focus-visible,
.adm-seg button:focus-visible,
.adm-link:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.adm-btn[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.adm-btn.is-busy svg {
    animation: adm-spin 0.9s linear infinite;
}

@keyframes adm-spin {
    to { transform: rotate(360deg); }
}

.adm-btn-quiet {
    border-color: var(--line-soft);
    background: transparent;
    color: var(--text-secondary);
}

.adm-btn-small {
    min-height: 1.9rem;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
}

/* ── Tabs ───────────────────────────────────────────────────────────────── */
.adm-tabs {
    position: sticky;
    top: var(--nav-height);
    z-index: 5;
    display: flex;
    gap: 0.15rem;
    margin: 0 -0.25rem;
    padding: 0.35rem 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--line-soft);
}

.adm-tabs::-webkit-scrollbar {
    display: none;
}

.adm-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.adm-tabs a:hover {
    color: var(--text-primary);
    background: var(--adm-tile-hover);
}

.adm-tabs a.is-active {
    color: var(--text-primary);
}

.adm-tabs a.is-active::after {
    content: '';
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: -0.36rem;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-brand);
}

.adm-count {
    min-width: 1.25rem;
    padding: 0 0.35rem;
    border-radius: var(--radius-pill);
    background: var(--surface-4);
    color: var(--accent-blue);
    font-size: 0.7rem;
    line-height: 1.25rem;
    text-align: center;
}

.adm-count-alert {
    background: rgba(245, 158, 11, 0.16);
    color: var(--adm-warn);
}

.adm-pane {
    display: grid;
    gap: 1rem;
    animation: adm-in 180ms ease-out;
}

.adm-pane[hidden] {
    display: none;
}

@keyframes adm-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

/* ── KPI tiles ──────────────────────────────────────────────────────────── */
.adm-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

/* Six tiles sit in two rows of three; a changing count fills the row. */
.adm-kpis:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adm-kpis-fit,
.adm-kpis-compact {
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.adm-kpi {
    display: grid;
    gap: 0.2rem;
    align-content: start;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--adm-tile);
}

.adm-kpi-label {
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.adm-kpi-value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.adm-kpi-hint {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.adm-kpi.is-warn .adm-kpi-value {
    color: var(--adm-warn);
}

.adm-delta {
    padding: 0.05rem 0.4rem;
    border-radius: var(--radius-pill);
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
}

.adm-delta.is-up {
    background: rgba(34, 197, 94, 0.14);
    color: var(--adm-ok);
}

.adm-delta.is-down {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
}

/* ── Cards and layouts ──────────────────────────────────────────────────── */
.adm .adm-card {
    min-width: 0;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--adm-tile);
}

.adm-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.85rem;
}

.adm-card-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.adm-note {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.adm-intro {
    max-width: 65ch;
    margin: -0.3rem 0 0.9rem;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.adm-link {
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.adm-link:hover {
    text-decoration: underline;
}

.adm-split {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
    gap: 1rem;
}

.adm-trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.adm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 1rem;
}

.adm-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adm-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.adm-seg {
    display: inline-flex;
    padding: 0.2rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-pill);
    background: var(--adm-tile);
}

.adm-seg button {
    padding: 0.4rem 0.8rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.adm-seg button.is-active {
    background: var(--surface-4);
    color: var(--text-primary);
}

.adm-seg-small button {
    padding: 0.28rem 0.65rem;
    font-size: 0.76rem;
}

.adm-empty {
    margin: 0;
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.adm-empty.is-error {
    color: #fca5a5;
}

.adm-skeleton {
    height: 5rem;
    border-radius: var(--radius-md);
    background: var(--adm-tile-hover);
    animation: adm-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes adm-pulse {
    from { opacity: 0.45; }
    to { opacity: 1; }
}

/* ── State dots and tags ────────────────────────────────────────────────── */
.adm-dot {
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--adm-info);
}

.adm-dot.is-ok { background: var(--adm-ok); }
.adm-dot.is-warn { background: var(--adm-warn); }
.adm-dot.is-down { background: var(--adm-down); }

.adm-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.5rem;
    border-radius: var(--radius-pill);
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.adm-tag.is-ok { background: rgba(34, 197, 94, 0.14); color: var(--adm-ok); }
.adm-tag.is-warn { background: rgba(245, 158, 11, 0.14); color: var(--adm-warn); }
.adm-tag.is-down { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }

/* ── Needs attention and health ─────────────────────────────────────────── */
.adm-attention,
.adm-health,
.adm-bars,
.adm-people,
.adm-rank,
.adm-log {
    display: grid;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.adm-attention li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.86rem;
}

.adm-attention li:last-child {
    border-bottom: 0;
}

.adm-attention li.is-quiet {
    color: var(--text-muted);
}

.adm-attention-clear {
    grid-template-columns: auto minmax(0, 1fr) !important;
    color: var(--text-secondary);
}

.adm-health li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.42rem 0;
    font-size: 0.86rem;
}

.adm-health em {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-style: normal;
}

/* ── Bar lists ──────────────────────────────────────────────────────────── */
.adm-bars li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem 0.75rem;
    padding: 0.4rem 0;
}

.adm-bar-label {
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-bar-value {
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 700;
}

.adm-bar-value small {
    margin-left: 0.4rem;
    color: var(--text-muted);
    font-weight: 600;
}

.adm-bar-track {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(148, 163, 184, 0.12);
}

.adm-bar-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--gradient-brand);
    transform-origin: left;
    animation: adm-grow 420ms ease-out;
}

.adm-bars li.is-warn .adm-bar-track i {
    background: var(--adm-warn);
}

@keyframes adm-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ── People, ranks, logs ────────────────────────────────────────────────── */
.adm-people li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0;
}

.adm-avatar {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--surface-4);
    color: var(--accent-blue);
    font-family: var(--font-display);
    font-weight: 700;
}

.adm-people-name {
    display: grid;
    min-width: 0;
    overflow: hidden;
    font-size: 0.88rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-people-name small,
.adm-people time,
.adm-log time {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 500;
}

.adm-rank li {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.25rem 0.6rem;
    padding: 0.4rem 0;
}

.adm-rank-n {
    color: var(--text-muted);
    font-family: var(--font-display);
    font-weight: 700;
}

.adm-rank li:nth-child(-n + 3) .adm-rank-n {
    color: var(--accent-gold);
}

.adm-rank-name {
    overflow: hidden;
    font-size: 0.88rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-rank-value {
    color: var(--text-secondary);
    font-size: 0.84rem;
}

.adm-rank .adm-bar-track {
    grid-column: 2 / -1;
}

.adm-log li {
    display: grid;
    grid-template-columns: 6.5rem auto minmax(0, 1fr);
    align-items: start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.84rem;
}

.adm-log li:last-child {
    border-bottom: 0;
}

.adm-log li > span:last-child {
    overflow-wrap: anywhere;
    color: var(--text-secondary);
}

/* ── Facts ──────────────────────────────────────────────────────────────── */
.adm-facts {
    display: grid;
    margin: 0;
}

.adm-facts div {
    display: grid;
    grid-template-columns: minmax(8rem, 0.9fr) minmax(0, 1.1fr);
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.86rem;
}

.adm-facts div:last-child {
    border-bottom: 0;
}

.adm-facts dt {
    color: var(--text-muted);
}

.adm-facts dd {
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* ── System checks ──────────────────────────────────────────────────────── */
.adm-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 0.6rem;
}

.adm-check {
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--adm-tile);
}

.adm-check.is-warn {
    border-color: rgba(245, 158, 11, 0.35);
}

.adm-check.is-down {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.06);
}

.adm-check header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.adm-check h3 {
    margin: 0;
    font-size: 0.92rem;
}

.adm-check header .adm-note {
    margin-left: auto;
}

.adm-check p {
    margin: 0.4rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ── Messages ───────────────────────────────────────────────────────────── */
.adm-inbox {
    display: grid;
    gap: 0.6rem;
}

.adm-message {
    padding: 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.adm-message header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
}

.adm-message header div {
    display: grid;
    min-width: 0;
}

.adm-message header strong {
    font-size: 0.9rem;
}

.adm-message header span,
.adm-message time {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-overflow: ellipsis;
}

.adm-message p {
    max-width: 75ch;
    margin: 0.7rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.adm-message footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.adm-message footer .adm-btn {
    margin-left: auto;
}

/* ── Chart ──────────────────────────────────────────────────────────────── */
.adm-chart {
    min-height: 220px;
}

.adm-chart-box {
    position: relative;
}

.adm-chart svg {
    display: block;
    max-width: 100%;
    height: auto;
    touch-action: pan-y;
    overflow: visible;
}

.adm-grid-line {
    stroke: var(--line-soft);
    stroke-width: 1;
}

.adm-axis {
    fill: var(--text-muted);
    font-family: var(--font-body);
    font-size: 11px;
}

.adm-area {
    fill: var(--accent-cyan);
    fill-opacity: 0.12;
    stroke: none;
}

.adm-line {
    fill: none;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.adm-line-0 { stroke: var(--accent-cyan); }
.adm-line-1 { stroke: var(--accent-green); }
.adm-end-0 { fill: var(--accent-cyan); }
.adm-end-1 { fill: var(--accent-green); }

.adm-guide {
    opacity: 0;
    stroke: var(--text-muted);
    stroke-dasharray: 3 3;
    stroke-width: 1;
}

.adm-tip {
    position: absolute;
    top: 0;
    z-index: 2;
    display: grid;
    gap: 0.1rem;
    min-width: 8.5rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.76rem;
    pointer-events: none;
    transform: translateX(-50%);
}

.adm-tip strong {
    color: var(--text-primary);
    font-size: 0.78rem;
}

.adm-tip b {
    float: right;
    margin-left: 0.6rem;
    color: var(--text-primary);
}

.adm-legend {
    display: flex;
    gap: 1rem;
    margin: -0.4rem 0 0.5rem;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.adm-legend span::before {
    content: '';
    display: inline-block;
    width: 0.65rem;
    height: 3px;
    margin-right: 0.4rem;
    vertical-align: middle;
    border-radius: 2px;
    background: var(--accent-cyan);
}

.adm-legend .adm-legend-1::before {
    background: var(--accent-green);
}

/* ── Existing admin sections inside the console ─────────────────────────── */
.adm .admin-blog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.adm .admin-chart {
    min-height: 0;
}

.adm .adm-kpis-compact .adm-kpi-value {
    font-size: 1.25rem;
}

.adm label.adm-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.adm label.adm-checkbox input {
    width: auto;
}

/* ── Smaller screens ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .adm-trio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .adm-kpis,
    .adm-kpis:has(> :nth-child(6):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adm-split,
    .adm-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .adm-trio {
        grid-template-columns: minmax(0, 1fr);
    }

    .adm-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adm-kpi-value {
        font-size: 1.2rem;
    }

    .adm-top-actions {
        width: 100%;
    }

    .adm-live {
        flex: 1 1 100%;
        justify-content: center;
    }

    .adm-log li {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .adm-log li time {
        grid-column: 1 / -1;
    }

    .adm-facts div {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .adm-pane,
    .adm-bar-track i,
    .adm-live-dot::after,
    .adm-skeleton,
    .adm-btn.is-busy svg {
        animation: none;
    }
}

.adm-subhead {
    margin: 1rem 0 0.3rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line-soft);
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Export PDF menu ────────────────────────────────────────────────────── */
.adm-export {
    position: relative;
}

.adm-export-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 30;
    display: grid;
    gap: 0.6rem;
    width: min(22rem, calc(100vw - 2rem));
    padding: 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: 0 18px 40px rgba(2, 10, 22, 0.45);
}

.adm-export-menu[hidden] {
    display: none;
}

.adm-export-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
}

.adm-export-list {
    display: grid;
    gap: 0.35rem;
}

.adm-export-list button {
    display: grid;
    gap: 0.1rem;
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: var(--adm-tile);
    color: var(--text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.adm-export-list button strong {
    font-size: 0.86rem;
}

.adm-export-list button span {
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.adm-export-list button:hover,
.adm-export-list button.is-suggested {
    border-color: var(--accent-cyan);
    background: var(--adm-tile-hover);
}

.adm-export-list button:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.adm-export-list button[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.adm-export-status {
    min-height: 1.1em;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.adm-export-status:empty {
    display: none;
}

@media (max-width: 560px) {
    .adm-export-menu {
        position: fixed;
        top: auto;
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        width: auto;
    }
}
