.hidden { display:none!important; }
.admin-shell { width:min(1040px,calc(100% - 48px)); margin:0 auto; padding:28px 0 80px; }
.admin-header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:64px; }
.header-actions { display:flex; align-items:center; gap:12px; }
.appearance { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:13px; }
.appearance select { min-height:44px; max-width:135px; padding:0 12px; border:1px solid var(--line); border-radius:13px; color:var(--text); background:var(--surface); }
.login { max-width:520px; margin:0 auto; border-radius:28px; padding:36px; }
.login h1,.dashboard-title h1 { font-size:clamp(32px,5vw,46px); font-weight:650; letter-spacing:-.045em; line-height:1.12; margin:0; }
.login>p:not(.eyebrow),.dashboard-title p { color:var(--muted); line-height:1.6; font-size:15px; }
.login label,.field { display:block; color:var(--muted); font-weight:550; font-size:14px; margin:22px 0; }
.login input,.field input,.field textarea,.field select { display:block; width:100%; min-height:48px; margin-top:8px; border:1px solid var(--line); background:var(--field); color:var(--text); border-radius:12px; padding:12px 14px; font:inherit; }
.field input[type="color"] { padding:6px; }
.field textarea { min-height:120px; resize:vertical; line-height:1.5; }
.login input:focus,.field input:focus,.field textarea:focus,.field select:focus { border-color:var(--accent); }
.login .primary-button { width:100%; margin-top:22px; }
details { color:var(--muted); font-size:13px; }
summary { cursor:pointer; padding:10px 0; }
.form-status { min-height:20px; font-size:13px; line-height:1.5; color:var(--danger); overflow-wrap:anywhere; }
.dashboard-title { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:32px; }
.dashboard-title>div>p:last-child { max-width:540px; }
.admin-list { display:grid; gap:12px; }
.source-card { display:flex; align-items:center; gap:20px; padding:24px; border-radius:24px; margin-bottom:36px; }
.source-card>img { flex:none; border-radius:16px; object-fit:cover; }
.source-copy { flex:1; min-width:0; }
.source-copy h2 { margin:0; font-size:21px; overflow-wrap:anywhere; }
.source-copy>p:not(.eyebrow) { color:var(--muted); font-size:14px; line-height:1.5; margin:8px 0; overflow-wrap:anywhere; }
.source-color { display:inline-block; width:14px; height:14px; border-radius:50%; border:1px solid var(--line); }
.source-icon-preview { display:block; width:80px; height:80px; object-fit:cover; border-radius:18px; margin:12px 0; }
button:disabled { opacity:.55; cursor:wait; }
.admin-item { width:100%; text-align:left; font:inherit; color:var(--text); border:1px solid var(--line); background:var(--surface); border-radius:20px; padding:18px 20px; display:flex; align-items:center; gap:16px; cursor:pointer; transition:border-color .16s; }
.admin-item:hover { background:var(--accent-soft); border-color:var(--accent); }
.admin-item-mark { flex:none; width:52px; height:52px; display:grid; place-items:center; border-radius:14px; background:var(--accent-soft); color:var(--accent); font-weight:650; font-size:13px; }
.admin-item-copy { min-width:0; }
.item-title,.item-description { margin:0; }
.item-title { display:block; font-size:17px; font-weight:600; }
.item-description { display:block; color:var(--muted); font-size:13px; margin-top:5px; overflow-wrap:anywhere; line-height:1.4; }
.pin-label { display:inline-block; margin-top:7px; color:var(--accent); font-size:12px; font-weight:600; }
.admin-item .chevron { margin-left:auto; color:var(--muted); font-size:24px; }
.editor-body { padding:34px; }
.editor-body h2 { font-size:28px; font-weight:650; letter-spacing:-.025em; margin:0 0 24px; overflow-wrap:anywhere; }
.editor-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.editor-actions span { flex:1; }
.danger-button { min-height:46px; border:1px solid var(--line); background:var(--surface); color:var(--danger); border-radius:14px; padding:0 16px; font-weight:600; }
@media(max-width:650px) {
  .admin-shell { width:calc(100% - 32px); padding-top:20px; }
  .admin-header { align-items:flex-start; margin-bottom:36px; flex-wrap:wrap; }
  .header-actions { margin-left:auto; }
  .appearance>span { display:none; }
  .login { padding:26px; }
  .dashboard-title { align-items:stretch; flex-direction:column; gap:12px; }
  .source-card { flex-wrap:wrap; gap:14px; padding:20px; }
  .source-card>button { width:100%; }
  .editor-body { padding:24px; }
  .editor-actions { display:grid; grid-template-columns:1fr 1fr; }
  .editor-actions span { display:none; }
  .danger-button { grid-column:1/-1; }
  .admin-item { padding:16px; gap:12px; }
}
