/* ============================================================
   SellerQI Blog + Admin styles
   Builds on assets/site.css tokens (--bg, --coral, --ink, fonts)
   ============================================================ */

/* ============ PUBLIC BLOG INDEX ============ */
.blog-head { padding: 64px 0 12px; }
.blog-head .crumb { padding-top: 0; }
.blog-head h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1.0; letter-spacing: -0.035em; margin: 14px 0 16px; font-variation-settings: "opsz" 144; }
.blog-head h1 em { font-style: italic; font-weight: 300; color: var(--coral); }
.blog-head .ph-sub { font-size: 18px; color: var(--ink-2); line-height: 1.6; font-weight: 300; max-width: 560px; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.bf-chip { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-3); cursor: pointer; transition: all 0.15s; }
.bf-chip:hover { border-color: var(--line-s); color: var(--ink); }
.bf-chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0 80px; }
.bpost { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.bpost:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -24px rgba(15,17,21,0.22); border-color: var(--line-s); }
.bpost-cover { aspect-ratio: 16 / 9; background: var(--bg-alt); background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.bpost-cover .bp-mono { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--line-s); }
.bpost-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.bpost-cat { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--coral); margin-bottom: 12px; }
.bpost h3 { font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 11px; font-variation-settings: "opsz" 72; text-wrap: balance; }
.bpost p { font-size: 14px; color: var(--ink-3); line-height: 1.6; font-weight: 300; margin-bottom: 20px; flex: 1; }
.bpost-meta { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.bp-ava { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.bp-author { font-size: 13px; font-weight: 500; color: var(--ink); }
.bp-date { font-family: var(--mono); font-size: 10px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.06em; }
.bp-feat { grid-column: 1 / -1; flex-direction: row; }
.bp-feat .bpost-cover { aspect-ratio: auto; width: 46%; min-height: 320px; }
.bp-feat .bpost-body { padding: 44px 48px; justify-content: center; }
.bp-feat h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.bp-feat p { font-size: 16px; }
.blog-empty { text-align: center; padding: 80px 0; color: var(--ink-3); font-weight: 300; grid-column: 1 / -1; }

/* ============ PUBLIC ARTICLE ============ */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.article-head { padding: 48px 0 0; }
.article-cat { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--coral); margin-bottom: 16px; display: inline-block; }
.article-head h1 { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 56px); font-weight: 400; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 22px; font-variation-settings: "opsz" 144; text-wrap: balance; }
.article-byline { display: flex; align-items: center; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-byline .bp-ava { width: 38px; height: 38px; font-size: 13px; }
.ab-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.ab-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.06em; }
.article-cover { aspect-ratio: 16 / 8; background: var(--bg-alt); background-size: cover; background-position: center; border-radius: 16px; margin: 36px 0; }
/* Reserve space for hero image to prevent layout shift (CLS) */
.article-img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-alt); }
.article-body { margin: 40px 0 64px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.atag { font-family: var(--mono); font-size: 11px; padding: 5px 12px; border-radius: 100px; background: var(--bg-alt); color: var(--ink-3); }

/* ============ AUTH / LOGIN ============ */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { background: var(--bg-deep); padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-aside::before { content: ''; position: absolute; top: -140px; right: -80px; width: 540px; height: 420px; background: radial-gradient(ellipse, rgba(232,74,61,0.12) 0%, transparent 70%); pointer-events: none; }
.auth-logo { display: inline-block; width: 150px; height: 34px; background: url(../assets/sellerqi-logo.png) left center / contain no-repeat; filter: brightness(0) invert(1); opacity: 0.95; }
.auth-aside-copy { position: relative; }
.auth-kicker { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: #FCA89E; margin-bottom: 18px; }
.auth-aside h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; line-height: 1.06; letter-spacing: -0.03em; color: #F0EEE8; margin-bottom: 18px; font-variation-settings: "opsz" 144; }
.auth-aside h2 em { font-style: italic; font-weight: 300; color: var(--coral); }
.auth-aside p { font-size: 16px; color: #9A988F; line-height: 1.6; font-weight: 300; max-width: 380px; }
.auth-foot { font-family: var(--mono); font-size: 11px; color: #4A4844; text-transform: uppercase; letter-spacing: 0.08em; position: relative; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px; background: var(--bg); }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -0.03em; margin-bottom: 8px; font-variation-settings: "opsz" 144; }
.auth-card .auth-sub { font-size: 15px; color: var(--ink-3); font-weight: 300; margin-bottom: 32px; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-4); margin-bottom: 8px; }
.auth-field input { width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 15px; outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.auth-field input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(232,74,61,0.1); }
.auth-btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; margin-top: 6px; }
.auth-error { background: var(--coral-soft); color: var(--coral-h); font-size: 13px; padding: 11px 14px; border-radius: 9px; margin-bottom: 18px; display: none; }
.auth-error.show { display: block; }
.auth-hint { margin-top: 26px; padding: 16px 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 11px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.auth-hint strong { color: var(--ink); font-weight: 600; }
.auth-hint code { font-family: var(--mono); font-size: 12px; background: var(--card); padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line); }

/* ============ ADMIN SHELL ============ */
.admin { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.admin-side { background: var(--bg-deep); padding: 24px 18px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.admin-side-logo { display: inline-block; width: 132px; height: 30px; background: url(../assets/sellerqi-logo.png) left center / contain no-repeat; filter: brightness(0) invert(1); opacity: 0.95; margin: 6px 8px 4px; }
.admin-side-tag { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: #5A5852; margin: 0 8px 28px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.admin-nav button { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; padding: 11px 12px; border-radius: 9px; font-family: var(--sans); font-size: 14px; font-weight: 500; color: #9A988F; transition: background 0.12s, color 0.12s; }
.admin-nav button:hover { background: rgba(255,255,255,0.05); color: #F0EEE8; }
.admin-nav button.active { background: var(--coral); color: #fff; }
.admin-nav button svg { width: 17px; height: 17px; flex-shrink: 0; }
.admin-nav .nav-sep { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: #5A5852; padding: 18px 12px 8px; }
.admin-user { display: flex; align-items: center; gap: 11px; padding: 12px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 12px; }
.admin-user .bp-ava { width: 34px; height: 34px; font-size: 12px; }
.au-name { font-size: 13px; font-weight: 500; color: #F0EEE8; }
.au-role { font-family: var(--mono); font-size: 10px; color: #7A7870; text-transform: uppercase; letter-spacing: 0.06em; }
.au-logout { background: transparent; border: none; cursor: pointer; color: #7A7870; padding: 6px; border-radius: 7px; transition: color 0.12s, background 0.12s; margin-left: auto; }
.au-logout:hover { color: #FCA89E; background: rgba(255,255,255,0.05); }
.au-logout svg { width: 16px; height: 16px; display: block; }

.admin-main { background: var(--bg); overflow-y: auto; max-height: 100vh; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; padding: 22px 40px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(247,244,237,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 20; }
.admin-bar h1 { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.025em; font-variation-settings: "opsz" 72; }
.admin-bar .ab-sub { font-size: 13px; color: var(--ink-3); font-weight: 300; margin-top: 2px; }
.admin-content { padding: 32px 40px 64px; }

/* dashboard stats */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.dstat { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px 24px; }
.dstat-n { font-family: var(--serif); font-size: 40px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; font-variation-settings: "opsz" 144; }
.dstat-n.coral { color: var(--coral); }
.dstat-n.sage { color: var(--sage); }
.dstat-l { font-family: var(--mono); font-size: 10px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 10px; }

/* posts table */
.posts-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.posts-search { flex: 1; max-width: 320px; position: relative; }
.posts-search input { width: 100%; font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 9px; padding: 10px 13px 10px 36px; outline: none; transition: border-color 0.15s; }
.posts-search input:focus { border-color: var(--coral); }
.posts-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink-4); }
.posts-tabs { display: flex; gap: 4px; background: var(--bg-alt); padding: 3px; border-radius: 9px; }
.posts-tabs button { background: transparent; border: none; cursor: pointer; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); padding: 7px 14px; border-radius: 7px; transition: all 0.12s; }
.posts-tabs button.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

.posts-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.posts-table th { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 500; text-align: left; padding: 14px 20px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.posts-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.posts-table tr:last-child td { border-bottom: none; }
.posts-table tbody tr { transition: background 0.1s; }
.posts-table tbody tr:hover { background: var(--bg); }
.pt-title { font-weight: 500; color: var(--ink); cursor: pointer; }
.pt-title:hover { color: var(--coral); }
.pt-title .pt-cat { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-4); margin-top: 3px; font-weight: 400; }
.pt-author { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.pt-author .bp-ava { width: 26px; height: 26px; font-size: 10px; }
.pt-date { font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.badge { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 100px; font-weight: 500; white-space: nowrap; }
.badge-pub { background: var(--sage-soft); color: var(--sage); }
.badge-draft { background: var(--amber-soft); color: var(--amber); }
.pt-actions { display: flex; gap: 6px; justify-content: flex-end; }
.icon-btn { background: transparent; border: 1px solid var(--line-2); cursor: pointer; width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3); transition: all 0.12s; }
.icon-btn:hover { border-color: var(--line-s); color: var(--ink); background: var(--bg-alt); }
.icon-btn.danger:hover { border-color: var(--coral); color: var(--coral); background: var(--coral-soft); }
.icon-btn svg { width: 15px; height: 15px; }

/* ============ EDITOR ============ */
.editor-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.editor-main { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.editor-titlein { width: 100%; border: none; outline: none; background: transparent; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -0.025em; color: var(--ink); padding: 28px 32px 12px; font-variation-settings: "opsz" 144; }
.editor-titlein::placeholder { color: var(--ink-4); }
.editor-excerpt { width: 100%; border: none; outline: none; background: transparent; font-family: var(--sans); font-size: 16px; font-weight: 300; color: var(--ink-2); line-height: 1.5; padding: 0 32px 20px; resize: none; }
.editor-excerpt::placeholder { color: var(--ink-4); }

.editor-toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: 8px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); position: sticky; top: 0; z-index: 5; }
.etb { background: transparent; border: none; cursor: pointer; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 7px; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px; transition: background 0.1s, color 0.1s; }
.etb:hover { background: rgba(15,17,21,0.06); color: var(--ink); }
.etb.active { background: var(--ink); color: var(--bg); }
.etb svg { width: 16px; height: 16px; }
.etb-sep { width: 1px; align-self: center; height: 20px; background: var(--line-2); margin: 0 6px; }
.etb-label { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.02em; }

.editor-body { min-height: 420px; padding: 28px 32px 48px; outline: none; font-size: 17px; line-height: 1.7; color: var(--ink-2); font-weight: 300; }
.editor-body:empty::before { content: attr(data-placeholder); color: var(--ink-4); }
.editor-body h2 { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.02em; margin: 28px 0 12px; color: var(--ink); font-variation-settings: "opsz" 72; }
.editor-body h3 { font-size: 18px; font-weight: 600; margin: 22px 0 8px; color: var(--ink); }
.editor-body p { margin-bottom: 16px; }
.editor-body p.lead { font-size: 19px; color: var(--ink); }
.editor-body ul, .editor-body ol { margin: 0 0 18px 22px; }
.editor-body li { margin-bottom: 6px; }
.editor-body a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.editor-body blockquote { border-left: 3px solid var(--coral); padding: 4px 0 4px 20px; margin: 20px 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); }
.editor-body img { max-width: 100%; border-radius: 10px; margin: 16px 0; }

/* editor sidebar */
.editor-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.eside-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 20px; }
.eside-card h4 { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-4); margin-bottom: 16px; }
.efield { margin-bottom: 16px; }
.efield:last-child { margin-bottom: 0; }
.efield label { display: block; font-size: 12px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.efield input, .efield select { width: 100%; font-family: var(--sans); font-size: 13px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 11px; outline: none; transition: border-color 0.15s; }
.efield input:focus, .efield select:focus { border-color: var(--coral); }
.efield .ehelp { font-size: 11px; color: var(--ink-4); margin-top: 5px; line-height: 1.4; }
.efield .ehelp code { font-family: var(--mono); }

.cover-drop { border: 1px dashed var(--line-s); border-radius: 10px; aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; background: var(--bg); background-size: cover; background-position: center; transition: border-color 0.15s; position: relative; overflow: hidden; }
.cover-drop:hover { border-color: var(--coral); }
.cover-drop .cd-icon { color: var(--ink-4); }
.cover-drop .cd-text { font-size: 12px; color: var(--ink-4); }
.cover-drop.has-img .cd-icon, .cover-drop.has-img .cd-text { display: none; }
.cover-clear { position: absolute; top: 8px; right: 8px; background: rgba(15,17,21,0.7); color: #fff; border: none; cursor: pointer; width: 26px; height: 26px; border-radius: 7px; display: none; align-items: center; justify-content: center; }
.cover-drop.has-img .cover-clear { display: flex; }
.cover-clear svg { width: 14px; height: 14px; }

.status-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; }

.editor-actions { display: flex; gap: 10px; }
.save-toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); font-size: 14px; padding: 12px 22px; border-radius: 100px; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.4); opacity: 0; transition: all 0.25s; pointer-events: none; z-index: 200; display: flex; align-items: center; gap: 9px; }
.save-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.save-toast svg { width: 16px; height: 16px; color: #7EC9A8; }

.tag-input-wrap { display: flex; flex-wrap: wrap; gap: 6px; padding: 7px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; }
.tag-chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; background: var(--coral-soft); color: var(--coral-h); padding: 4px 6px 4px 9px; border-radius: 6px; }
.tag-chip button { background: transparent; border: none; cursor: pointer; color: var(--coral); font-size: 14px; line-height: 1; padding: 0; display: flex; }
.tag-input-wrap input { flex: 1; min-width: 80px; border: none; outline: none; background: transparent; font-family: var(--sans); font-size: 13px; padding: 4px; }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .es-icon { color: var(--ink-4); margin-bottom: 18px; }
.empty-state h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--ink-3); font-weight: 300; margin-bottom: 24px; }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(15,17,21,0.5); display: none; align-items: center; justify-content: center; z-index: 300; padding: 20px; }
.modal-back.show { display: flex; }
.modal { background: var(--card); border-radius: 16px; padding: 32px; max-width: 400px; width: 100%; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4); }
.modal h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 10px; }
.modal p { font-size: 14px; color: var(--ink-3); font-weight: 300; line-height: 1.6; margin-bottom: 26px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

@media (max-width: 1080px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .bp-feat { flex-direction: column; }
  .bp-feat .bpost-cover { width: 100%; min-height: 240px; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-side { position: static; }
}
@media (max-width: 820px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .admin { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; }
  .admin-side-tag, .admin-nav .nav-sep { display: none; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-side-logo { margin: 0 12px 0 0; }
  .admin-user { border-top: none; margin: 0 0 0 auto; padding: 0; }
  .admin-main { max-height: none; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .posts-table thead { display: none; }
  .article-wrap { padding: 0 24px; }
}
