:root { color-scheme: dark; --bg: #08090b; --panel: #121417; --panel-2: #181b20; --line: #2a2f36; --text: #f4f5f6; --muted: #9097a1; --accent: #1976ff; --danger: #cf3b3b; } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } button, input, textarea { font: inherit; } .admin-shell { display: grid; grid-template-columns: 360px minmax(0, 1fr); min-height: 100vh; } .sidebar { border-right: 1px solid var(--line); background: #0d0f12; padding: 20px; overflow: auto; } .sidebar-head, .editor-head, .actions, .button-row, .toggle-row { display: flex; align-items: center; } .sidebar-head, .editor-head { justify-content: space-between; gap: 16px; } .eyebrow { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; } h1, h2 { margin: 4px 0 0; font-size: 24px; line-height: 1.05; letter-spacing: 0; } .regions { display: grid; gap: 18px; margin-top: 24px; } .region-title { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; } .block-list { display: grid; gap: 8px; } .block-btn { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); cursor: pointer; padding: 11px 12px; text-align: left; } .block-btn:hover, .block-btn.active { border-color: var(--accent); } .block-btn.disabled { color: #5f6670; } .block-meta { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; } .editor { min-width: 0; padding: 24px; } .editor-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; } .actions, .button-row { gap: 8px; flex-wrap: wrap; } .primary-btn, .ghost-btn, .danger-btn, .icon-btn { border: 1px solid var(--line); border-radius: 8px; color: var(--text); cursor: pointer; min-height: 36px; padding: 8px 12px; text-decoration: none; } .primary-btn { border-color: var(--accent); background: var(--accent); } .ghost-btn, .icon-btn { background: var(--panel-2); } .danger-btn { border-color: #5d2525; background: #241010; color: #ffb9b9; } .icon-btn { width: 36px; padding: 0; } .empty-state { margin-top: 24px; max-width: 680px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); line-height: 1.45; padding: 16px; } .block-form { display: grid; gap: 18px; margin-top: 24px; } .hidden { display: none; } .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .content-panel { border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.02); padding: 16px; } .section-title { margin-bottom: 14px; color: var(--text); font-size: 14px; font-weight: 800; } .content-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .content-fields .wide { grid-column: 1 / -1; } .content-fields .empty-note { grid-column: 1 / -1; color: var(--muted); font-size: 14px; line-height: 1.4; } label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; } input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); outline: none; padding: 10px 12px; } input:focus, textarea:focus { border-color: var(--accent); } .toggle-row { justify-content: flex-start; gap: 10px; } .toggle-row input { width: 18px; height: 18px; } .json-field textarea { min-height: 360px; resize: vertical; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; line-height: 1.45; } .status { min-height: 24px; margin: 18px 0 0; color: var(--muted); white-space: pre-wrap; } @media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } .sidebar { border-right: 0; border-bottom: 1px solid var(--line); max-height: 48vh; } .editor-head { align-items: flex-start; flex-direction: column; } .field-grid { grid-template-columns: 1fr; } .content-fields { grid-template-columns: 1fr; } }