/* Дополнения к site.css (взят из панели) для админки бота «Транспорт». */
.page-heading h1 { font-size: 24px; letter-spacing: -.6px; font-weight: 700; margin: 0 0 4px; }

/* Компактная шапка панели: заголовок, пояснение и действие в одну строку. */
.admin-head { display: flex; align-items: baseline; gap: 14px; margin: 4px 0 14px; flex-wrap: wrap; }
.admin-head h1 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; margin: 0; }
.admin-head .admin-head-note { color: var(--muted); font-size: 13px; }
.admin-head .admin-head-action { margin-left: auto; }

.eyebrow { text-transform: uppercase; }
.metric strong { font-variant-numeric: tabular-nums; }
.metrics-grid { gap: 12px; }
.metrics-grid .metric { padding: 14px; }
.metrics-grid .metric strong { font-size: 24px; margin: 8px 0 4px; }
.metrics-grid .metric > span { font-size: 13px; line-height: 1.35; }

.section-label { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.admin-log {
    margin: 0;
    max-height: 320px;
    overflow: auto;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--canvas);
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.admin-log:empty::before { content: "записей пока нет"; color: var(--muted); }

.content-section-row textarea { min-height: 96px; font-family: inherit; font-size: 14px; }
.content-section-row .form-control { font-size: 14px; }
.content-section-row td { vertical-align: top; }
.content-section-row .code-input { text-transform: lowercase; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.schedule-editor {
    min-height: 420px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre;
    overflow: auto;
}
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.admin-actions .admin-hint { color: var(--muted); font-size: 13px; }
.admin-file { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.state-value { overflow-wrap: anywhere; }
@media (max-width: 767px) {
    .page-heading { flex-direction: column; align-items: stretch; }
    .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
