/* ---- Просмотрщик: окно облегает медиа, положение задаёт скрипт ---- */
body.image-viewer-open, body.post-editor-open { overflow: hidden; }
img:not(#image-viewer-image) { cursor: zoom-in; }
.image-viewer { position: fixed; inset: 0; z-index: 1000; overflow: hidden; background: var(--modal-dim); }
.image-viewer-window { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; min-width: 90px; padding: 0 6px 6px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55); cursor: pointer; touch-action: none; user-select: none; will-change: transform; }
.image-viewer.is-dragging .image-viewer-window { cursor: grabbing; }
.image-viewer-header { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 2px 0 0 6px; }
.image-viewer-file { flex: 0 1 auto; min-width: 0; overflow: hidden; color: var(--text); font: 13px var(--mono); text-overflow: ellipsis; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.image-viewer-file:not([href]) { text-decoration: none; cursor: inherit; }
.image-viewer-position, .image-viewer-post { flex: none; color: var(--muted); font-size: 12px; }
.image-viewer-position { font-family: var(--mono); }
.image-viewer-rocket { flex: none; display: grid; place-items: center; width: 30px; height: 28px; margin-left: auto; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; font-size: 17px; }
.image-viewer-rocket:hover { background: var(--surface-3); }
.image-viewer-stage { position: relative; display: block; line-height: 0; }
.image-viewer-stage.is-loading { min-width: 120px; min-height: 120px; }
.image-viewer-stage img, .image-viewer-stage video { display: block; border-radius: 4px; object-fit: contain; background: #000; }
.image-viewer-stage img { cursor: grab; }
.image-viewer-stage img:active { cursor: grabbing; }
.image-viewer-stage video { cursor: pointer; }
.image-viewer-video-hit { position: absolute; inset: 0 0 56px 0; display: none; cursor: grab; }   /* клик по кадру видео закрывает окно, зажатая кнопка — двигает */
.image-viewer.is-video .image-viewer-video-hit { display: block; }
/* Стрелки перелистывания: полупрозрачные полосы на всю высоту по краям медиа; видны только если медиа несколько */
/* Фон у обеих стрелок затухает к центру: у левой — от левого края, у правой — от правого. Без рамок и обводок в любом состоянии. */
/* Стрелки листания — снаружи окна, у краёв экрана; стиль кнопок сайта: жёлтая заливка, чёрная рамка, жёсткая тень */
.image-viewer-nav { position: fixed; top: 50%; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; padding: 0; border: var(--border) solid var(--line-strong); border-radius: var(--radius); color: var(--accent-text); background: var(--accent); box-shadow: var(--shadow-btn); cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.image-viewer-nav { transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s; }
.image-viewer-nav:hover, .image-viewer.hover-prev .image-viewer-nav.is-prev, .image-viewer.hover-next .image-viewer-nav.is-next { transform: none scale(1.22); box-shadow: 0 6px 6px 18px rgba(5, 6, 14, .45); background: var(--text); color: var(--accent); }
.image-viewer.is-flip { cursor: pointer; }
.image-viewer-nav:active { transform: none; box-shadow: none; }
.image-viewer-nav:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.image-viewer-nav.is-prev { left: 20px; }
.image-viewer-nav.is-next { right: 20px; }
.image-viewer-nav svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .image-viewer-nav { width: 44px; height: 44px; margin-top: -22px; } .image-viewer-nav.is-prev { left: 8px; } .image-viewer-nav.is-next { right: 8px; } }
.image-viewer-nav[hidden] { display: none; }
.image-viewer-status { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; gap: 10px; justify-items: center; width: max-content; max-width: calc(100% - 24px); padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font-size: 14px; line-height: 1.4; text-align: center; transform: translate(-50%, -50%); cursor: default; }
.image-viewer-status a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
/* Кнопки видео: «матовое стекло» внизу кадра, видно на паузе и под курсором; заливка полос — радуга */
.video-controls { position: absolute; right: 8px; bottom: 8px; left: 8px; z-index: 3; display: none; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 6px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; background: linear-gradient(160deg, rgba(30, 30, 34, 0.78), rgba(12, 12, 14, 0.82)); backdrop-filter: blur(14px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55); line-height: normal; opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; }
.image-viewer.is-video .video-controls { display: flex; }
.image-viewer-stage:hover .video-controls, .video-controls.is-paused, .video-controls:focus-within { opacity: 1; transform: none; }
.vc-btn { flex: none; color: #fff; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; transition: background 0.15s, transform 0.15s; }
.vc-btn:hover { background: rgba(255, 255, 255, 0.1); transform: scale(1.08); }
.vc-btn svg { width: 18px; height: 18px; fill: currentColor; }
.vc-icon-play, .is-paused .vc-icon-pause, .vc-icon-muted, .is-muted .vc-icon-sound { display: none; }
.is-paused .vc-icon-play, .is-muted .vc-icon-muted { display: block; }
.vc-time { flex: none; color: rgba(255, 255, 255, 0.8); font: 11px var(--mono); white-space: nowrap; }
.vc-slider { position: relative; height: 22px; cursor: pointer; touch-action: none; }
.vc-slider:focus-visible { outline: none; }
.vc-slider:focus-visible .vc-track { box-shadow: 0 0 0 2px var(--accent); }
.vc-progress { flex: 1; min-width: 60px; }
.vc-volume { flex: none; width: 70px; }
.vc-track { position: absolute; top: 50%; right: 0; left: 0; height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.14); transform: translateY(-50%); transition: height 0.15s; }
.vc-slider:hover .vc-track, .vc-slider.is-dragging .vc-track { height: 7px; }
.vc-buffered { position: absolute; inset: 0 auto 0 0; background: rgba(255, 255, 255, 0.18); }
.vc-fill { position: absolute; inset: 0; background: var(--accent); }
.image-viewer-stage.is-fullscreen { background: #000; }
.image-viewer-stage.is-fullscreen video { width: 100% !important; height: 100% !important; border-radius: 0; }
.image-viewer-stage.is-fullscreen .video-controls { right: 24px; bottom: 24px; left: 24px; }

/* ---- Редактор поста ---- */
.pe-overlay { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 16px; background: var(--modal-dim); animation: pe-fade 0.18s ease-out; }
.pe-window { position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: min(1240px, 100%); height: min(880px, calc(100dvh - 32px)); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); animation: pe-rise 0.22s cubic-bezier(0.2, 0.9, 0.3, 1); }
@keyframes pe-fade { from { opacity: 0; } }
@keyframes pe-rise { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.pe-header, .pe-section-head, .pe-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pe-heading { display: flex; align-items: center; gap: 10px; }
.pe-heading h2 { margin: 0; font-size: 20px; }
.pe-icon { font-size: 22px; }
.pe-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 14px; }
.pe-close:hover { border-color: var(--line-strong); background: var(--surface-2); color: var(--text); }
.pe-chips, .pe-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-chips { margin-top: -4px; }
.pe-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-size: 13px; }
.pe-chip-label { color: var(--faint); }
button.pe-chip-when::after { content: '▾'; color: var(--faint); }
button.pe-chip-when:hover { border-color: var(--line-strong); background: var(--surface-3); }
.pe-target { position: relative; display: inline-flex; }
button.pe-chip-target:hover { border-color: var(--line-strong); background: var(--surface-3); }
.pe-target-menu { position: absolute; top: 100%; left: 0; z-index: 5; display: grid; gap: 2px; min-width: 220px; margin-top: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-2); }
.pe-target-menu[hidden] { display: none; }
.pe-target-menu button { padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: inherit; text-align: left; font-size: 13px; }
.pe-target-menu button:hover { background: var(--surface-3); }
.pe-target-menu button.is-current { font-weight: 700; }
.pe-target-option { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.pe-target-option:hover { background: var(--surface-3); }
.pe-target-option input { margin: 0; accent-color: var(--accent); }
.pe-poll-options { display: flex; flex-direction: column; gap: 8px; }
.pe-poll-row { display: flex; align-items: center; gap: 8px; }
.pe-poll-row .pe-input { flex: 1; min-width: 0; }
button.pe-chip-poll.is-on { border-color: var(--accent); color: var(--text); }
.pe-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-content: start; gap: 20px; flex: 1; min-height: 0; overflow: auto; padding: 2px 4px 16px 2px; scrollbar-gutter: stable; }
.pe-section[hidden] { display: none; }
.pe-body > .pe-section { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pe-body > .pe-compatibility { grid-column: 1 / -1; }
.pe-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px,100%),1fr)); gap: 8px; }
.pe-check { display: grid; gap: 5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; overflow-wrap: anywhere; }
.pe-check span { color: var(--muted); font-size: 12px; }
.pe-check.is-error span { color: var(--danger); }
.pe-window > .pe-header, .pe-window > .pe-chips, .pe-window > .pe-footer { flex: none; }
.pe-target-menu { max-height: min(320px, 50dvh); overflow: auto; max-width: calc(100vw - 40px); }
.pe-add:disabled, .pe-chip:disabled { opacity: .45; cursor: not-allowed; }
.pe-section { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pe-section-head h3 { margin: 0; color: var(--muted); font-size: 12px; }
.pe-attachments { display: flex; flex-wrap: wrap; gap: 6px; }
.pe-attachment { padding: 7px 11px; font-size: 12px; }
.pe-attachment:disabled { opacity: .4; cursor: not-allowed; }
.pe-file-preview { display: grid; gap: 8px; align-content: center; padding: 12px; height: 100%; box-sizing: border-box; background: var(--surface-2); overflow: hidden; }
.pe-file-preview span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.pe-file-preview audio { width: 100%; height: 32px; }
.pe-poll-setting { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pe-count, .pe-counter, .pe-summary { color: var(--faint); font: 12px var(--mono); }
.pe-counter.is-over, .pe-note, .pe-warning { color: var(--danger); }
.pe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.pe-card, .pe-add { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 9px; }
.pe-card { border: 1px solid var(--line); background: #000; cursor: grab; transition: transform 0.15s, border-color 0.15s, opacity 0.15s; }
.pe-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pe-card.is-dragging { opacity: 0.4; }
.pe-card.is-over { border-color: var(--accent); }
.pe-card img, .pe-card video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pe-order { position: absolute; top: 6px; left: 6px; padding: 1px 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.65); color: #fff; font: 600 11px var(--mono); }
.pe-card .video-mark { top: 6px; left: auto; right: 6px; }
.pe-card-tools { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; gap: 4px; padding: 18px 6px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); opacity: 0; transition: opacity 0.15s; }
.pe-card:hover .pe-card-tools, .pe-card:focus-within .pe-card-tools { opacity: 1; }
.pe-tool { width: 28px; height: 28px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 6px; background: rgba(20, 20, 22, 0.85); color: #fff; font-size: 14px; line-height: 1; }
.pe-tool:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); }
.pe-tool-danger:hover:not(:disabled) { border-color: var(--danger); color: var(--danger); }
.pe-add { display: grid; place-content: center; justify-items: center; gap: 2px; border: 1.5px dashed var(--line-strong); background: transparent; color: var(--muted); font-size: 12px; }
.pe-add:hover { border-color: var(--muted); background: var(--surface-2); color: var(--text); }
.pe-add-plus { font-size: 26px; font-weight: 300; line-height: 1; }
.pe-empty { display: grid; place-items: center; grid-column: 1 / -1; padding: 18px; border: 1.5px dashed var(--line); border-radius: 9px; color: var(--faint); font-size: 13px; text-align: center; }
.pe-url-row { display: flex; gap: 8px; }
.pe-input, .pe-text { box-sizing: border-box; width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font-size: 14px; }
.pe-input:focus, .pe-text:focus { outline: none; border-color: var(--muted); }
 .pe-text { min-height: 320px; resize: vertical; line-height: 1.5; }
.pe-note, .pe-warning { margin: 0; font-size: 12px; }
.pe-note:empty { display: none; }
.pe-warning { font-size: 13px; }
.pe-chip-btn { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; }
.pe-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.pe-tags-label { color: var(--muted); font-size: 12px; cursor: help; }
.pe-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 13px; }
.pe-tag-del { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.pe-tag-del:hover { background: var(--red); color: #ffffff; }
.pe-tag-input { width: 110px; min-width: 0; padding: 4px 10px; border: 1px dashed var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 13px; }
.pe-tag-hints { display: flex; flex-wrap: wrap; gap: 4px; flex-basis: 100%; }
.pe-tag-hints:empty { display: none; }
.pe-tag-hint { padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.pe-tag-hint:hover { border-color: var(--text); color: var(--text); }
.pe-chip-btn:hover:not(:disabled) { border-color: var(--line-strong); color: var(--text); }
.pe-chip-ai { border-color: var(--line-strong); background: var(--accent); color: var(--accent-text); font-weight: 700; }
.pe-chip-ai:hover:not(:disabled) { color: var(--accent-text); transform: none; box-shadow: 0 2px 2px 18px rgba(5, 6, 14, .45); }
.pe-ai-note { margin: 0; color: var(--muted); font-size: 12px; }
.pe-ai-note:empty { display: none; }
.pe-style { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; }
.pe-style summary { cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 700; }
.pe-style[open] { display: grid; gap: 8px; }
.pe-style[hidden] { display: none; }
.pe-style-text { box-sizing: border-box; width: 100%; min-height: 96px; resize: vertical; font-size: 13px; }
.pe-footer { flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.pe-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-btn { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; font-size: 14px; font-weight: 600; }
.pe-btn:hover:not(:disabled) { background: var(--surface-2); }
.pe-btn-ghost { border-color: var(--line); color: var(--muted); font-weight: 500; white-space: nowrap; }
.pe-btn-primary { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }
.pe-btn-primary:hover:not(:disabled) { filter: brightness(1.06); }
/* Та же радужная полоса, что у поиска контента (.search-progress-*) */
.pe-progress-wrap { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.pe-progress-label { flex: none; max-width: 55%; overflow: hidden; font-size: 12px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.pe-progress-bar { flex: 1; height: 6px; overflow: hidden; border-radius: 999px; background: var(--line); }
.pe-progress-fill {
    width: 0; height: 100%; border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width 0.8s ease;
}
.pe-progress-wrap.is-indeterminate .pe-progress-fill { width: 35%; transition: none; animation: search-slide 1.6s ease-in-out infinite; }
.pe-progress-text { min-width: 28px; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .pe-overlay { padding: 0; } .pe-window { gap: 12px; padding: 14px; height: 100dvh; max-height: 100dvh; border-radius: 0; } .pe-body { grid-template-columns: 1fr; gap: 12px; } .pe-body > .pe-section { padding: 12px; } .pe-text { min-height: 230px; } .pe-actions { width: 100%; } .pe-actions .pe-btn { flex: 1; padding: 10px; } .pe-card-tools { opacity: 1; } .pe-url-row { flex-wrap: wrap; } }

/* ---- Выбор даты и времени ---- */
.dtp-overlay { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; background: var(--modal-dim); }
.dtp-window { display: flex; flex-direction: column; gap: 12px; width: 300px; max-width: calc(100vw - 32px); padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); }
.dtp-head { display: flex; align-items: center; justify-content: space-between; }
.dtp-title { font-size: 14px; font-weight: 600; }
.dtp-nav { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); font-size: 18px; line-height: 1; }
.dtp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dtp-weekday { padding-bottom: 4px; color: var(--faint); font-size: 11px; text-align: center; }
.dtp-day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 6px; background: transparent; font-size: 13px; }
.dtp-nav:hover, .dtp-day:hover:not(:disabled), .dtp-actions button:hover:not(:disabled) { background: var(--surface-3); }
.dtp-day:disabled { opacity: 0.4; cursor: default; }
.dtp-day.is-today { border-color: var(--line-strong); }
.dtp-day.is-selected { background: var(--accent); color: var(--accent-text); font-weight: 600; }
.dtp-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.dtp-chip { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; }
.dtp-chip:hover { border-color: var(--line-strong); color: var(--text); }
.dtp-time { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.dtp-time span { margin-right: auto; }
.dtp-select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); font-size: 14px; }
.dtp-summary { font-size: 13px; text-align: center; }
.dtp-summary.is-error { color: var(--danger); }
.dtp-actions { display: flex; gap: 6px; }
.dtp-actions button { flex: 1; padding: 9px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); font-size: 13px; }
.dtp-actions .dtp-done { border-color: transparent; background: var(--accent); color: var(--accent-text); font-weight: 600; }

/* Вкладка «Радар» (только владелец) */
.radar-panel summary { cursor: pointer; list-style-position: inside; }
.radar-summary { display: inline; }
.admin-action { display: grid; grid-template-columns: minmax(220px, auto) 1fr; align-items: center; gap: 12px; }
.admin-action > button { justify-self: start; }
@media (max-width: 640px) { .admin-action { grid-template-columns: 1fr; gap: 6px; } }
.radar-stack { display: grid; gap: 10px; }
.radar-row { display: flex; align-items: center; gap: 10px; }
.radar-row.radar-wrap { flex-wrap: wrap; gap: 6px; }
.radar-row input[type="text"] { flex: 1; min-width: 0; }
.radar-field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.radar-field select, .radar-field textarea, .radar-row input[type="text"] { padding: 9px 10px; border: var(--border) solid var(--line-strong); border-radius: var(--radius);
    background: var(--surface-2); color: var(--text); font: inherit; font-size: 14px; }
.radar-field textarea { resize: vertical; }
.radar-list { display: grid; margin: 0; padding: 0; list-style: none; }
.radar-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.radar-list input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.radar-grow { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.radar-sub { display: block; color: var(--muted); font-size: 12px; }
.radar-bad, .radar-error { color: var(--danger); }
.radar-error { margin: 0; font-size: 13px; }
.radar-error:empty { display: none; }
.radar-log { height: 260px; margin: 0; padding: 12px; overflow: auto; border-radius: var(--radius); background: #0b0d1a; color: var(--text);
    font: 12px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.radar-item { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); }
.radar-item p { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.radar-item a { color: var(--link); }
.account-secondary.is-on { border-color: var(--line-strong); background: var(--accent); color: var(--accent-text); }
.radar-row > button { flex-shrink: 0; white-space: nowrap; }

