/* A responsive refinement layer that preserves the existing Word Truth Spirit visual language. */
:root{--admin-surface:#fff;--admin-soft:#f5f6fa;--admin-shadow:0 16px 42px rgba(15,13,63,.08);--admin-radius:14px}
.admin-body{background:radial-gradient(circle at 100% 0,#e9e9f4 0,transparent 27%),#f6f6f9}.admin-sidebar{width:268px;padding:22px 14px;background:linear-gradient(180deg,#111044 0%,#0a092e 100%);border-right:1px solid rgba(255,255,255,.08);box-shadow:12px 0 36px rgba(10,8,46,.08)}.admin-brand{margin:2px 10px 25px}.admin-brand:after{content:"";position:absolute;top:22px;right:24px;width:7px;height:7px;background:#b89b5e;border-radius:50%;box-shadow:0 0 0 5px rgba(184,155,94,.12)}.admin-sidebar nav{gap:3px}.admin-sidebar nav p{margin:20px 10px 7px;color:#8588b6}.admin-sidebar nav a{min-height:40px;padding:9px 11px;border:1px solid transparent;border-radius:8px;transition:background .16s ease,transform .16s ease}.admin-sidebar nav a:hover{transform:translateX(2px);background:rgba(255,255,255,.08)}.admin-sidebar nav a.active{background:linear-gradient(100deg,#393776,#25225d);border-color:rgba(255,255,255,.09);box-shadow:0 8px 18px rgba(0,0,0,.15)}.admin-sidebar-bottom{margin-top:22px}.admin-shell{margin-left:268px}.admin-topbar{height:76px;padding:0 clamp(22px,4vw,56px);background:rgba(255,255,255,.9);border-bottom:1px solid rgba(19,16,65,.08);backdrop-filter:blur(14px)}.admin-topbar-context{gap:13px}.admin-topbar-context>span{color:#3f4057;font-size:12px}.admin-topbar-sprite{width:29px;height:29px}.admin-profile-chip{border-color:#e4e4ec;background:#fff;box-shadow:0 4px 12px rgba(16,14,61,.05)}.admin-main{max-width:1600px;margin:auto;padding:clamp(26px,4vw,52px)}.admin-title{margin-bottom:30px;align-items:flex-end}.admin-title h1{font-size:clamp(38px,4.2vw,58px)}.admin-title>div>p:last-child{max-width:720px;color:#77788a;font-size:13px}.admin-panel{border:1px solid #e7e7ee;border-radius:var(--admin-radius);box-shadow:var(--admin-shadow)}.admin-panel>h2{font-size:30px}.admin-stats>a,.journal-admin-stats a,.ad-workspace-stats>div{border:1px solid #e5e5ed;border-radius:12px;box-shadow:0 8px 24px rgba(19,16,64,.045);transition:transform .16s ease,box-shadow .16s ease}.admin-stats>a:hover,.journal-admin-stats a:hover,.ad-workspace-stats>div:hover{transform:translateY(-2px);box-shadow:0 15px 28px rgba(19,16,64,.09)}.admin-form label{font-size:10px}.admin-form input,.admin-form select,.admin-form textarea,.settings-section input,.settings-section select,.settings-section textarea{border-color:#d9d9e5;border-radius:7px;box-shadow:inset 0 1px 1px rgba(15,13,63,.02)}.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus,.settings-section input:focus,.settings-section select:focus,.settings-section textarea:focus{border-color:#6866a4;box-shadow:0 0 0 4px rgba(75,71,150,.12);outline:0}.button{min-height:43px;border-radius:7px;transition:transform .16s ease,box-shadow .16s ease}.button:hover{transform:translateY(-1px)}.button-primary{box-shadow:0 7px 15px rgba(13,10,79,.16)}.admin-table{border-collapse:separate;border-spacing:0 7px}.admin-table thead th{border:0}.admin-table tbody tr{background:#fafafd;box-shadow:0 3px 10px rgba(19,16,64,.025)}.admin-table tbody td{border-block:1px solid #ececf2}.admin-table tbody td:first-child{border-left:1px solid #ececf2;border-radius:8px 0 0 8px}.admin-table tbody td:last-child{border-right:1px solid #ececf2;border-radius:0 8px 8px 0}.dashboard-actions{background:linear-gradient(120deg,#17144f,#34306f);border:0}.dashboard-actions h2,.dashboard-actions p{color:#fff}.dashboard-actions .kicker{color:#e5c982}.analytics-dashboard{padding:0}.analytics-dashboard>header{padding:26px 28px}.analytics-kpis{padding:0 28px 25px}.traffic-chart,.analytics-list{box-shadow:none}.editor-app-topbar{box-shadow:0 3px 12px rgba(17,20,31,.04)}

.ads-admin-layout{align-items:start;gap:24px}.ads-list,.ad-editor{border-radius:var(--admin-radius)}.ads-list article{padding:17px 0}.ads-list article.selected{border-radius:10px}.ad-editor{position:sticky;top:98px}.ad-live-preview{border-radius:11px;box-shadow:0 14px 28px rgba(18,15,60,.14)}.ads-filter-bar{margin:16px 0 8px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) 150px 130px;gap:9px;background:#f6f6fa;border:1px solid #e5e5ed;border-radius:10px}.ads-filter-bar input,.ads-filter-bar select{width:100%;margin:0;min-height:38px;border:1px solid #d9d9e4;border-radius:6px;background:#fff;font:11px var(--sans)}.ad-manager-tip{margin:0 0 15px;padding:11px 13px;color:#60542d;background:#fbf5df;border-left:3px solid #b89b5e;border-radius:0 7px 7px 0;font-size:10px}.ads-list article[hidden]{display:none}.ads-filter-empty{padding:24px 5px;color:#737486;font-size:11px;text-align:center}.ad-form-sections{display:grid;gap:18px}.ad-form-section{padding:18px;background:#fafafd;border:1px solid #e7e7ef;border-radius:10px}.ad-form-section h3{margin:0 0 4px;font-size:20px}.ad-form-section>p{margin:0 0 16px;color:#77788a;font-size:10px}.ad-editor .button-row{position:sticky;bottom:-1px;margin:0 -2px -2px;padding:18px 2px 2px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%)}

.home-top-ad-zone{padding:24px clamp(20px,5vw,76px);background:linear-gradient(90deg,#efede4,#f8f7f2);border-color:#dfdbcf}.home-top-ad-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.ad-card-top{height:100%;min-height:0;border:1px solid #e4e0d7;border-left:4px solid var(--navy);border-radius:10px;box-shadow:0 10px 24px rgba(11,9,47,.07)}.home-page-layout.has-ad-sidebar{grid-template-columns:minmax(0,1fr) 330px}.home-ad-sidebar{padding:28px 18px;background:#f7f6f1}.ad-card-sidebar{border-radius:11px;box-shadow:0 12px 25px rgba(9,7,47,.08)}.author-section{grid-template-columns:minmax(0,1.25fr) minmax(220px,.55fr);background:linear-gradient(110deg,#efeff4,#e8e7ef)}.author-principles{padding:30px;display:grid;align-content:center;gap:12px;color:#17144f;background:#fff;border:1px solid #dddde7;border-radius:12px;box-shadow:0 18px 35px rgba(19,16,64,.08)}.author-principles span{color:#74708a;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.author-principles span:before{content:"✦";margin-right:8px;color:#b89b5e}.author-principles p{margin:8px 0 0;padding-top:18px;border-top:1px solid #e5e5eb;color:#5f6073;font:19px/1.45 var(--serif)}.home-ad-sidebar-sticky>header{padding-bottom:10px;border-bottom:1px solid #dedbd1}

@media(max-width:1120px){.admin-sidebar{width:244px}.admin-shell{margin-left:244px}.home-page-layout.has-ad-sidebar{grid-template-columns:1fr}.home-ad-sidebar{border-top:1px solid #dedbd1;border-left:0}.home-ad-sidebar-sticky{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.home-ad-sidebar-sticky>header{grid-column:1/-1}.ad-editor{position:static}}
@media(max-width:850px){.admin-sidebar{width:280px}.admin-shell{margin-left:0}.admin-main{padding:24px 16px 40px}.admin-topbar{height:66px;padding:0 16px}.admin-title{align-items:flex-start;flex-direction:column}.ads-filter-bar{grid-template-columns:1fr 1fr}.ads-filter-bar input{grid-column:1/-1}.author-section{grid-template-columns:1fr}.author-principles{max-width:none}.home-top-ad-list{grid-template-columns:1fr}.home-hero{min-height:0}.admin-table-wrap{overflow-x:auto}}
@media(max-width:560px){.admin-profile-chip{padding-right:7px}.admin-topbar-context>span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-title h1{font-size:38px}.admin-panel{border-radius:11px}.ads-filter-bar{grid-template-columns:1fr}.ads-filter-bar input{grid-column:auto}.ad-form-section{padding:15px}.home-top-ad-zone{padding:18px}.author-section{padding:58px 24px}.author-principles{padding:24px}.principle-list{margin-top:30px}.home-ad-sidebar{padding:22px 16px}}

.site-account-link{margin-left:10px;padding:8px 11px;color:var(--royal);border:1px solid #d8d7e3;border-radius:99px;font-size:9px;font-weight:700;letter-spacing:.04em;text-decoration:none;white-space:nowrap}.site-account-link:hover{color:#fff;background:var(--navy);border-color:var(--navy)}.member-auth-page,.member-dashboard,.member-profile-page{min-height:68vh;padding:clamp(46px,8vw,90px) clamp(18px,6vw,88px);background:linear-gradient(150deg,#f5f3ee,#f8f8fb)}.member-auth-card,.member-profile-card{width:min(540px,100%);margin:auto;padding:clamp(28px,5vw,52px);background:#fff;border:1px solid #e2e0d9;border-top:4px solid var(--gold);border-radius:12px;box-shadow:0 22px 55px rgba(18,15,60,.1)}.member-auth-card h1,.member-dashboard h1,.member-profile-card h1{margin:7px 0 13px;font-size:clamp(38px,5vw,58px)}.member-auth-card>p,.member-profile-card>p,.member-dashboard>header>p{color:#626375;font:17px/1.6 var(--serif)}.member-auth-card form,.member-panel form{display:grid;gap:14px;margin-top:24px}.member-auth-switch,.member-profile-link,.comment-account-prompt{margin-top:20px!important;font-size:11px!important}.member-dashboard{max-width:1400px;margin:auto}.member-dashboard>header{max-width:680px;margin-bottom:30px}.member-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.member-panel{padding:28px;background:#fff;border:1px solid #e4e3eb;border-radius:12px;box-shadow:0 12px 32px rgba(18,15,60,.06)}.member-panel h2{margin:0 0 8px;font-size:29px}.member-panel>p{color:#747586;font-size:11px}.member-history-note{padding:10px 12px;background:#faf5e5;border-left:3px solid var(--gold)}.purchase-history{margin-top:18px;border-top:1px solid #ebeaf0}.purchase-history article{display:flex;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid #ebeaf0}.purchase-history strong,.purchase-history small{display:block}.purchase-history small{margin-top:3px;color:#838492;font-size:10px}.purchase-history article>div:last-child{text-align:right}.member-empty{padding:34px 0;text-align:center}.member-empty span,.member-avatar{color:var(--gold);font-size:28px}.member-profile-page{display:grid;place-items:center}.member-profile-card{text-align:center}.member-avatar{width:72px;height:72px;margin:auto;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--navy),var(--royal));border-radius:50%;font:30px var(--serif)}.comment-member-note{margin:18px 0;padding:12px 14px;color:#505166;background:#f3f3f7;border-left:3px solid var(--gold);font-size:11px}.public-comment header strong a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(23,20,79,.25)}.author-article{padding-bottom:70px}.post-navigation a,.related-reflections article{border-radius:10px}.article-subscribe{border-radius:12px}
@media(max-width:1050px){.site-header nav{gap:15px}.site-header nav a{font-size:9px}.member-dashboard-grid{grid-template-columns:1fr}.site-account-link{margin-left:0}}@media(max-width:850px){.site-account-link{margin:0 54px 0 0}.member-dashboard{padding:42px 18px}.member-panel{padding:22px}}@media(max-width:560px){.site-account-link{position:absolute;right:62px;top:19px;padding:6px 8px;font-size:8px}.member-auth-card,.member-profile-card{padding:30px 22px}.purchase-history article{align-items:flex-start;flex-direction:column}.purchase-history article>div:last-child{text-align:left}}

/* Screenshot-audit fixes: denser navigation, balanced workspaces, and an unshifted editor. */
.admin-brand img,.editor-rail-brand img{filter:none;object-fit:contain}.admin-sidebar{padding-block:15px}.admin-brand{min-height:48px;margin-bottom:10px}.admin-brand img{width:38px;height:38px}.admin-sidebar nav{gap:1px}.admin-sidebar nav p{margin:10px 10px 4px}.admin-sidebar nav a{min-height:32px;padding:6px 10px;font-size:11px}.admin-sidebar-bottom{margin-top:12px;padding-top:12px}.admin-main{padding:34px clamp(24px,3vw,46px)}.admin-title{margin-bottom:24px}.admin-title h1{font-size:clamp(38px,3.25vw,52px)}.admin-stats{gap:16px;margin-bottom:24px}.admin-stats>a,.admin-stats>div{min-height:108px;padding:22px 26px;border:1px solid #e5e5ed;border-top:3px solid var(--royal);border-radius:12px;box-shadow:0 8px 24px rgba(19,16,64,.045)}.admin-stats strong{font-size:42px}.dashboard-actions{padding:30px 34px}.dashboard-actions h2{margin:6px 0 10px;font-size:clamp(36px,3vw,50px)}.dashboard-actions .button-outline{color:#fff;border-color:rgba(255,255,255,.55)}.dashboard-actions .button-outline:hover{color:var(--navy);background:#fff}.admin-two-column{align-items:start}.journal-admin-stats{gap:16px}.journal-admin-stats a{min-height:96px;padding:22px 26px}.journal-admin-panel{padding:28px}.admin-table th,.admin-table td{padding:13px 14px}.admin-body.editor-workspace-body .editor-workspace-shell{width:100%;height:100%;min-height:0;margin:0!important}.admin-body.editor-workspace-body .editor-workspace-main{width:100%;height:100%;min-height:0;max-width:none;margin:0!important;padding:0!important}.admin-body.editor-workspace-body .dedicated-post-editor{width:100%;max-width:none}.editor-rail-brand{padding:12px 18px}.editor-rail-brand img{width:42px;height:42px}.editor-document-inner{padding-top:32px}.editor-headline{font-size:clamp(44px,4vw,64px)}.ad-state-controls{margin:0 0 18px;padding:12px 14px;display:grid;gap:8px;background:#fff;border:1px solid #e5e5ed;border-radius:8px}.status-archived{color:#5b5c68;background:#e5e5e9}.ads-list-actions button:disabled{cursor:not-allowed;opacity:.45}
@media(max-width:1120px){.admin-body.editor-workspace-body .editor-workspace-shell{margin:0!important}.admin-main{padding-inline:28px}}
@media(max-width:850px){.admin-main{padding:24px 16px 40px}.admin-sidebar{padding-block:15px}.admin-sidebar nav a{min-height:36px}.admin-body.editor-workspace-body .editor-workspace-main{padding:0!important}}
.admin-brand img,.editor-rail-brand img{filter:brightness(0) invert(1);opacity:.92}

/* Modern admin workspace: calm surfaces, readable density, and adaptive controls. */
:root{--admin-sidebar-width:276px;--admin-page-width:1720px;--admin-space:clamp(24px,3vw,48px);--admin-radius:12px;--admin-shadow:0 8px 28px rgba(18,16,61,.055)}
.admin-body{color:#24233a;background:#f4f5f8}
.admin-sidebar{width:var(--admin-sidebar-width);padding:22px 18px;background:#11103f;box-shadow:none}
.admin-shell{margin-left:var(--admin-sidebar-width)}
.admin-brand{margin:0 8px 20px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.1)}
.admin-brand:after,.admin-winged-sprite{display:none}
.admin-brand small{margin-top:6px;color:#a9acd0}
.admin-sidebar nav{gap:4px}
.admin-sidebar nav p{margin:22px 10px 7px;color:#9296bd;font-size:10px}
.admin-sidebar nav a{min-height:44px;padding:10px 12px;border:0;border-radius:7px;color:#d5d6e7;font-size:12px}
.admin-sidebar nav a:hover{transform:none;background:rgba(255,255,255,.07)}
.admin-sidebar nav a.active{background:#35336f;box-shadow:inset 3px 0 #dec57f}
.admin-sidebar-bottom{margin-top:28px;padding:18px 10px 4px}
.admin-topbar{height:72px;padding:0 var(--admin-space);background:rgba(255,255,255,.94);box-shadow:0 1px 0 rgba(18,16,61,.06)}
.admin-main{width:100%;max-width:var(--admin-page-width);padding:var(--admin-space)}
.admin-title{margin-bottom:32px;align-items:center;gap:32px}
.admin-title h1{margin:5px 0 10px;font-size:clamp(36px,3vw,50px);line-height:1.05}
.admin-title>div>p:last-child{max-width:780px;margin-bottom:0;color:#66687b;font-size:14px;line-height:1.65}
.admin-panel,.admin-auth{padding:clamp(24px,2.4vw,38px);border:1px solid #e1e3ea;border-top:1px solid #e1e3ea;border-radius:var(--admin-radius);box-shadow:var(--admin-shadow)}
.admin-panel>h2,.settings-section h2,.campaign-history h2{margin-top:0;font-size:clamp(26px,2vw,34px)}
.admin-form-grid{gap:22px 28px}
.admin-body label{line-height:1.45}
.admin-body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:46px;padding:11px 13px;border-color:#cfd2dc;border-radius:7px;background:#fff;font-size:13px;line-height:1.45}
.admin-body textarea{min-height:110px}
.admin-body :is(input,select,textarea):focus-visible{outline:3px solid rgba(70,67,145,.2);outline-offset:1px;border-color:#555293}
.button{min-height:44px;padding:11px 18px;font-size:11px}
.admin-stats,.journal-admin-stats,.ad-workspace-stats{gap:18px;margin-bottom:28px}
.admin-stats>a,.admin-stats>div,.journal-admin-stats a,.ad-workspace-stats>div{min-height:112px;padding:24px 26px;border-top:1px solid #e1e3ea;box-shadow:var(--admin-shadow)}
.admin-table{border-spacing:0 8px}
.admin-table th,.admin-table td{padding:16px;font-size:13px}
.admin-table td:last-child{min-width:max-content;flex-wrap:wrap}
.settings-layout{max-width:1240px}
.settings-section{margin-bottom:24px}
.ads-admin-layout{grid-template-columns:minmax(480px,.95fr) minmax(520px,1.05fr);gap:28px}
.ads-list,.ad-editor{padding:clamp(24px,2.3vw,36px)}
.ads-list article{padding:22px 0;gap:18px}
.ads-filter-bar{margin:20px 0 12px;padding:14px;grid-template-columns:minmax(180px,1fr) minmax(150px,.5fr) minmax(140px,.45fr);gap:12px}
.ads-filter-bar input,.ads-filter-bar select{min-height:44px;font-size:12px}
.ad-form-sections{gap:22px}
.ad-form-section{padding:24px;background:#f8f9fb;border-color:#e3e5eb}
.ad-form-section>p{font-size:11px;line-height:1.55}
.ad-editor{top:94px;max-height:calc(100dvh - 112px);overflow-y:auto;scrollbar-gutter:stable}
.admin-menu-button{min-height:40px;align-items:center;gap:7px}
@media(max-width:1280px){:root{--admin-sidebar-width:248px}.ads-admin-layout{grid-template-columns:1fr}.ad-editor{position:static;max-height:none;overflow:visible}.seo-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:950px){.admin-form-grid,.admin-form-grid.three{grid-template-columns:1fr}.admin-table-wrap{margin-inline:-8px;padding-inline:8px}.analytics-grid{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.admin-sidebar{width:min(310px,88vw)}.admin-shell{margin-left:0}.admin-menu-button{display:inline-flex}.admin-main{padding:26px 18px 48px}.admin-title{align-items:flex-start;flex-direction:column}.admin-title>.button{width:100%}.seo-layout{grid-template-columns:1fr}.analytics-grid{grid-template-columns:1fr}.admin-panel,.admin-auth{padding:24px}.ads-list article{grid-template-columns:64px minmax(0,1fr)}.ads-list-actions{grid-column:2;align-items:flex-start}.ads-list-primary-actions,.ads-list-secondary-actions{justify-content:flex-start}}
@media(max-width:560px){.admin-topbar{height:64px;padding-inline:14px}.admin-topbar-sprite{display:none}.admin-main{padding-inline:14px}.admin-title h1{font-size:36px}.admin-panel,.admin-auth,.ads-list,.ad-editor{padding:20px 16px}.admin-stats,.journal-admin-stats,.ad-workspace-stats{grid-template-columns:1fr}.admin-stats>a,.admin-stats>div,.journal-admin-stats a,.ad-workspace-stats>div{min-height:96px;padding:20px}.ads-filter-bar{grid-template-columns:1fr}.ads-filter-bar input{grid-column:auto}.ads-list article{grid-template-columns:52px minmax(0,1fr)}.ads-list-image{width:52px;height:56px}.ads-list-actions{grid-column:1/-1}.ad-form-section{padding:18px 14px}.button-row{align-items:stretch}.button-row .button{flex:1 1 100%}.push-settings-details{grid-template-columns:1fr}}
