.admin-panel { margin-bottom: 22px; border: 1px solid var(--line); background: #fff; padding: clamp(24px, 4vw, 42px); }
.admin-panel.narrow { max-width: 520px; margin: 80px auto; }
.admin-panel h1, .admin-panel h2 { margin: 0 0 22px; font-family: var(--title-font); line-height: 1.3; }
.panel-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.panel-heading h1, .panel-heading h2 { margin: 0; }
.panel-heading > span { color: var(--muted); font-size: 12px; }
.editor-form, .admin-panel > form, .admin-panel-body > form { display: grid; gap: 18px; }
.admin-panel label { display: grid; gap: 7px; color: #48545c; font-size: 13px; font-weight: 800; }
.admin-panel input[type="text"], .admin-panel input[type="search"], .admin-panel input[type="password"], .admin-panel input[type="time"], .admin-panel input[type="file"], .admin-panel textarea, .admin-panel select {
    width: 100%;
    border: 1px solid #cbd3d7;
    border-radius: 4px;
    background: #fff;
    padding: 11px 12px;
    color: var(--ink);
    outline: 0;
}
.admin-panel textarea { resize: vertical; line-height: 1.75; }
.admin-panel input:focus, .admin-panel textarea:focus, .admin-panel select:focus { border-color: var(--naver); box-shadow: 0 0 0 3px rgba(3, 165, 106, .09); }
.label-note, .writing-help { color: #8a959c; font-size: 11px; font-weight: 500; }

.field-title {
    color: #17212b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.weekday-topic-block {
    grid-column: 1 / -1;
}

.weekday-topic-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weekday-topic-grid label {
    min-width: 0;
}

@media (max-width: 760px) {
    .weekday-topic-grid {
        grid-template-columns: 1fr;
    }
}
.writing-help { display: flex; justify-content: space-between; }
.inline-check { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; }
.inline-check input { width: auto !important; }
.ai-run-form { margin-top: 14px; }
.ai-settings-form {
    display: grid;
    gap: 16px;
}
.ai-settings-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}
.ai-config-card {
    display: grid;
    gap: 13px;
    align-content: start;
    min-width: 0;
    border: 1px solid rgba(63,134,166,.18);
    background: linear-gradient(180deg, rgba(63,134,166,.06), rgba(255,255,255,.88)), #fff;
    padding: 18px;
}
.news-config-card {
    border-color: rgba(3,165,106,.20);
    background: linear-gradient(180deg, rgba(3,165,106,.07), rgba(255,255,255,.90)), #fff;
}
.news-setting-group {
    display: grid;
    gap: 13px;
    min-width: 0;
    border: 1px solid rgba(3,165,106,.15);
    background: rgba(255,255,255,.66);
    padding: 15px;
}
.news-setting-group .field-title {
    margin-bottom: 0;
}
.news-setting-group textarea[name="ai_news_allowed_press"] {
    min-height: 190px;
}
.ai-config-head {
    display: grid;
    gap: 4px;
    border-bottom: 1px solid var(--soft-line);
    padding-bottom: 12px;
}
.ai-config-head h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--title-font);
    font-size: 20px;
}
.ai-config-head span {
    color: var(--muted);
    font-size: 12px;
}
.ai-run-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.ai-run-card {
    display: grid;
    gap: 14px;
    min-width: 0;
    border: 1px solid rgba(63,134,166,.18);
    background: linear-gradient(180deg, rgba(63,134,166,.06), rgba(255,255,255,.88)), #fff;
    padding: 18px;
}
.news-run-card {
    border-color: rgba(3,165,106,.20);
    background: linear-gradient(180deg, rgba(3,165,106,.07), rgba(255,255,255,.90)), #fff;
}
.ai-run-card .ai-run-form {
    margin-top: 0;
}
.ai-run-card .primary-button {
    width: 100%;
}
.scheduler-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px dashed rgba(63,134,166,.28);
    background: rgba(255,255,255,.72);
    padding: 12px;
}
.scheduler-copy strong,
.scheduler-copy span {
    display: block;
    min-width: 0;
}
.scheduler-copy strong {
    color: var(--ink);
    font-size: 13px;
}
.scheduler-copy span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}
.scheduler-copy button {
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
}
.ai-subsettings {
    display: grid;
    gap: 16px;
    border: 1px solid var(--line);
    background: rgba(57, 117, 168, .05);
    padding: 18px;
}
.ai-subsettings h3 { margin: 0; font-size: 16px; }
.system-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.dashboard-support-grid .system-status-grid {
    grid-template-columns: 1fr;
}
.system-status-card {
    display: grid;
    gap: 7px;
    min-width: 0;
    border: 1px solid var(--line);
    border-left: 4px solid #9aa6ad;
    background: linear-gradient(180deg, #fff, #f8fbfa);
    padding: 15px;
    box-shadow: 0 8px 20px rgba(29, 42, 53, .035);
}
.system-status-card.ok { border-left-color: var(--naver); }
.system-status-card.warn { border-left-color: #d8a31d; }
.system-status-card.bad { border-left-color: #d35a46; }
.system-status-card span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}
.system-status-card strong {
    color: var(--ink);
    font-size: 18px;
    overflow-wrap: anywhere;
}
.system-status-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.restore-history {
    display: grid;
    gap: 10px;
}
.restore-history article {
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    background: #fbfcfc;
    padding: 14px;
}
.restore-history strong {
    color: var(--ink);
    font-size: 14px;
}
.restore-history span,
.restore-history small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.news-log-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}
.news-log-grid div {
    display: grid;
    gap: 5px;
    min-width: 0;
    border-left: 4px solid transparent;
    background: #fff;
    padding: 16px;
}
.news-log-grid div.ok { border-left-color: var(--naver); }
.news-log-grid div.warn { border-left-color: #d8a31d; }
.news-log-grid div.bad { border-left-color: #d35a46; }
.news-log-grid span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}
.news-log-grid strong {
    color: var(--naver-dark);
    font-size: 19px;
    overflow-wrap: anywhere;
}
.news-log-grid small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.news-log-detail {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}
.news-log-detail p {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 14px;
    margin: 0;
    border-bottom: 1px solid var(--soft-line);
    padding: 9px 0;
    font-size: 13px;
}
.news-log-detail b { color: #3c4850; }
.news-log-detail span { min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
.news-event-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    border: 1px solid var(--soft-line);
    background: #fbfcfc;
    padding: 16px;
}
.news-event-list h3 { margin: 0 0 4px; font-size: 15px; }
.news-event-list p {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.news-event-list b { color: #3c4850; }
.news-event-list span { min-width: 0; overflow-wrap: anywhere; }
.login-history-list {
    display: grid;
    gap: 10px;
}
.login-history-list article {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    background: #fbfcfc;
    padding: 14px;
}
.login-history-list article.success { border-left: 4px solid var(--naver); }
.login-history-list article.failed { border-left: 4px solid #dc4c4c; }
.login-history-list article > div,
.login-history-list p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0;
}
.login-history-list strong {
    color: var(--ink);
    font-size: 14px;
}
.login-history-list article.success strong { color: var(--naver-dark); }
.login-history-list article.failed strong { color: #b83333; }
.login-history-list span,
.login-history-list small,
.login-history-list em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    overflow-wrap: anywhere;
}
.login-history-list p b {
    color: #37434b;
    font-size: 13px;
}
.admin-collapse-toggle { display: none; }
.admin-panel-body { display: contents; }
.editor-preview-box {
    border: 1px solid var(--line);
    background: #fbfcfc;
    padding: 18px;
}
.editor-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 14px;
}
.editor-preview-head h2 { margin: 0; font-size: 18px; }
.preview-refresh {
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: #43515a;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 800;
}
.preview-window-row {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 12px;
}
.preview-window-page {
    background: #eef2f3;
}
.preview-window-shell {
    width: min(860px, calc(100% - 28px));
    margin: 28px auto;
}
.post-preview {
    border: 1px solid var(--soft-line);
    background: #fff;
    padding: clamp(18px, 3vw, 28px);
}
.post-preview header {
    border-bottom: 1px solid var(--soft-line);
    padding-bottom: 14px;
    margin-bottom: 16px;
}
.post-preview header span {
    display: inline-block;
    color: var(--naver-dark);
    font-size: 12px;
    font-weight: 900;
}
.post-preview header h1 {
    margin: 6px 0 0;
    font-family: var(--title-font);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.post-preview .article-content { padding-bottom: 0; }
.missing-image {
    display: inline-block;
    border: 1px dashed #b9c4ca;
    border-radius: 4px;
    color: var(--muted);
    padding: 2px 7px;
    font-size: .88em;
}
.editor-toolbar { display: flex; gap: 5px; }
.editor-toolbar button {
    min-height: 32px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #f8fafa;
    color: #49555d;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}
.upload-dropzone {
    border: 1px dashed #9fb8c5;
    border-radius: 6px;
    background: rgba(3, 165, 106, .04);
    padding: 16px;
}
.upload-dropzone input[type="file"] { margin-top: 8px; }
.upload-dropzone.is-dragging {
    border-color: var(--naver);
    background: rgba(3, 165, 106, .12);
    box-shadow: inset 0 0 0 2px rgba(3, 165, 106, .16);
}
.dropzone-copy {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}
.selected-images, .existing-images { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.selected-images:empty { display: none; }
.selected-image, .existing-images label { overflow: hidden; border: 1px solid var(--line); background: #fafbfb; }
.selected-image img, .existing-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.selected-image span, .existing-images span { display: block; padding: 7px; color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inline-image-button { width: calc(100% - 12px); margin: 6px; border: 1px solid var(--line); background: #fff; padding: 6px 8px; color: #202a31; font-size: 11px; font-weight: 800; cursor: pointer; }
.inline-image-button:hover { border-color: var(--naver); color: var(--naver-dark); }
.upload-progress {
    display: grid;
    gap: 8px;
    border: 1px solid #cfe6dc;
    border-radius: 4px;
    background: #f3fbf7;
    padding: 13px 14px;
}
.upload-progress[hidden] { display: none; }
.upload-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #176347;
    font-size: 12px;
    font-weight: 800;
}
.upload-progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #dceee6;
}
.upload-progress-track span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--naver), var(--blue));
    transition: width .18s ease;
}
.upload-progress.error {
    border-color: #f0c9c0;
    background: #fff5f2;
}
.upload-progress.error .upload-progress-top { color: #8a3d31; }
.ai-progress {
    display: grid;
    gap: 10px;
    border: 1px solid #c9dded;
    border-radius: 4px;
    background: #f4f9fd;
    padding: 14px;
}
.ai-progress[hidden] { display: none; }
.ai-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #245978;
    font-size: 12px;
    font-weight: 800;
}
.ai-progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #dcebf5;
}
.ai-progress-track span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--naver));
    transition: width .35s ease;
}
.ai-progress-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ai-progress-steps li {
    min-width: 0;
    border: 1px solid #d7e4ec;
    border-radius: 4px;
    background: #fff;
    color: var(--muted);
    padding: 7px 8px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}
.ai-progress-steps li.active {
    border-color: var(--blue);
    color: #245978;
    background: #edf7fd;
}
.primary-button[disabled] { opacity: .68; cursor: wait; }
.ai-writing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}
.ai-writing-actions a {
    text-decoration: none;
}
.ai-writing-actions .primary-button,
.ai-writing-actions .draft-button,
.ai-writing-actions .panel-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ai-draft-list strong {
    font-size: 15px;
}
.ai-draft-list .draft-full-body {
    max-height: none;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.admin-list { border-top: 1px solid #343e45; }
.admin-list article { display: flex; justify-content: space-between; gap: 24px; padding: 18px 2px; border-bottom: 1px solid var(--soft-line); }
.admin-list article > div:first-child { min-width: 0; }
.admin-list strong, .admin-list span { display: block; }
.admin-list strong { overflow-wrap: anywhere; }
.admin-list span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.admin-list p { margin: 7px 0 0; color: #59656d; }
.admin-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(130px, .7fr) minmax(130px, .7fr) auto;
    gap: 10px;
    align-items: end;
    margin: 18px 0 10px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(3, 165, 106, .06), rgba(63, 134, 166, .05));
    padding: 14px;
}
.admin-filter-bar label {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.admin-filter-bar span,
.admin-filter-summary {
    color: var(--muted);
    font-size: 12px;
}
.admin-filter-bar span {
    font-weight: 800;
}
.admin-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.admin-filter-actions .primary-button {
    min-height: 40px;
}
.admin-filter-actions a {
    min-height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--muted);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
}
.admin-filter-summary {
    margin: 0 0 16px;
}
.row-actions { display: flex; gap: 10px; align-items: center; flex: 0 0 auto; }
.row-actions a, .link-button { border: 0; background: transparent; color: var(--blue); padding: 4px; font-size: 12px; font-weight: 800; }
.row-actions form { margin: 0; }
.font-preview { font-family: var(--title-font); font-size: 27px; }
.hint {
    max-width: 100%;
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.admin-panel .hint code {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.alert { margin: 0 0 18px; border-left: 4px solid; padding: 12px 14px; font-size: 13px; }
.alert.success { border-color: var(--naver); background: #eef9f4; color: #176347; }
.alert.error { border-color: var(--coral); background: #fff3f0; color: #8a3d31; }
.peter-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
}
.peter-toggle {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--naver-dark);
    color: #fff;
    padding: 12px 18px;
    font-weight: 900;
    box-shadow: var(--shadow);
}
.peter-panel {
    position: absolute;
    right: 0;
    bottom: 58px;
    width: min(360px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.peter-panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
}
.peter-panel header button {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
}
.peter-log {
    display: grid;
    gap: 9px;
    max-height: 320px;
    overflow: auto;
    padding: 14px;
}
.peter-log p {
    margin: 0;
    border-radius: 8px;
    background: #f0f5f4;
    padding: 10px 11px;
    color: #34444b;
    font-size: 13px;
    line-height: 1.55;
}
.peter-message.user {
    justify-self: end;
    max-width: 86%;
    background: var(--naver-dark);
    color: #fff;
}
.peter-message.bot { justify-self: start; max-width: 92%; }
.peter-message.error { background: #fff3f0; color: #8a3d31; }
.peter-memory-links {
    justify-self: start;
    width: min(100%, 360px);
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7fbf9;
    padding: 10px;
}
.peter-memory-links > strong {
    color: var(--green-dark);
    font-size: 11px;
    letter-spacing: .08em;
}
.peter-memory-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(10,36,48,.08);
    border-radius: 6px;
    background: #fff;
    padding: 8px;
    color: var(--ink);
    text-decoration: none;
}
.peter-memory-card.no-image {
    grid-template-columns: minmax(0, 1fr);
}
.peter-memory-card img {
    width: 58px;
    height: 58px;
    border-radius: 6px;
    object-fit: cover;
}
.peter-memory-card span {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.peter-memory-card b,
.peter-memory-card em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.peter-memory-card b {
    color: var(--ink);
    font-size: 13px;
}
.peter-memory-card small,
.peter-memory-card em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
}
.peter-memory-card:hover {
    border-color: rgba(47,125,82,.28);
    background: #f4faf7;
}
.peter-memory-map {
    display: block;
    margin: -5px 4px 2px;
    color: var(--naver-dark);
    font-size: 11px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.peter-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding: 12px;
}
.peter-panel input {
    min-width: 0;
    border: 1px solid #cbd3d7;
    border-radius: 4px;
    padding: 10px;
}
.peter-panel form button {
    border: 0;
    border-radius: 4px;
    background: var(--naver-dark);
    color: #fff;
    padding: 8px 12px;
    font-weight: 800;
}
.radio-panel {
    display: grid;
    gap: 18px;
}
.radio-player-card {
    display: grid;
    gap: 16px;
    border: 1px solid rgba(3,165,106,.20);
    background: linear-gradient(135deg, rgba(3,165,106,.08), rgba(63,134,166,.07)), #fff;
    padding: 20px;
}
.radio-now {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.radio-now span {
    color: var(--naver-dark);
    font-size: 11px;
    font-weight: 900;
}
.radio-now strong {
    color: var(--ink);
    font-family: var(--title-font);
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.2;
}
.radio-now small {
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}
.radio-player-card audio {
    width: 100%;
}
.radio-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 10px;
    align-items: end;
}
.radio-controls label {
    display: grid;
    gap: 7px;
    color: #48545c;
    font-size: 13px;
    font-weight: 800;
}
.radio-controls select {
    width: 100%;
    border: 1px solid #ccd3d7;
    background: #fff;
    padding: 10px;
}
.radio-controls button,
.radio-open-link,
.radio-station-grid button {
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
}
.radio-controls button,
.radio-open-link {
    min-height: 42px;
    padding: 10px 18px;
}
.radio-open-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    white-space: nowrap;
}
.radio-controls button:first-of-type {
    border-color: var(--naver-dark);
    background: var(--naver-dark);
    color: #fff;
}
.radio-status {
    margin: 0;
    border: 1px solid rgba(63,134,166,.22);
    background: rgba(255,255,255,.72);
    padding: 10px 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}
.radio-status[data-state="playing"] {
    border-color: rgba(3,165,106,.28);
    background: rgba(3,165,106,.10);
    color: #08724d;
}
.radio-status[data-state="loading"] {
    border-color: rgba(216,163,29,.28);
    background: rgba(216,163,29,.12);
    color: #8a6208;
}
.radio-status[data-state="error"] {
    border-color: rgba(190,49,68,.26);
    background: rgba(190,49,68,.10);
    color: #a12535;
}
.radio-station-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.radio-station-grid button {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 14px;
    text-align: left;
}
.radio-station-grid button:hover {
    border-color: rgba(3,165,106,.35);
    box-shadow: 0 10px 24px rgba(18, 28, 35, .08);
}
.radio-station-grid strong {
    overflow: hidden;
    color: var(--ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.radio-station-grid small {
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}
.radio-popup-page {
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(3,165,106,.10), rgba(63,134,166,.08)), #eef3f4;
}
.radio-popup-shell {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 18px;
}
.radio-popup-page .admin-panel {
    padding: 20px;
}
.radio-popup-page .panel-heading {
    align-items: start;
}
.radio-popup-page .radio-controls {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
}
.radio-popup-stations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 310px;
    overflow: auto;
    padding-right: 3px;
}

.background-jobs-panel {
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}
.background-jobs-panel .panel-heading.compact h2 {
    margin: 0;
    font-size: 22px;
}
.background-job-list {
    display: grid;
    gap: 8px;
    margin: 16px 0;
}
.background-job {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--line);
    border-left: 3px solid #81909a;
    padding: 12px 14px;
}
.background-job > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.background-job > div > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}
.background-job > div > small,
.background-job > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.background-job.running { border-left-color: #4b91ba; }
.background-job.completed { border-left-color: #44b989; }
.background-job.failed { border-left-color: #c4515e; }

@media (max-width: 720px) {
    .background-job,
    .background-job > div {
        grid-template-columns: 1fr;
    }
}
