/* Components migrated from workspace-v64.css */
/* PubSpace v6.4: platform and publisher administration workspace */
.adminlayout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:start;padding-block:24px;max-width:1570px}.adminlayout>.sidebar{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;background:#fff;border:1px solid #e3e9f0;border-radius:15px;box-shadow:0 9px 32px rgba(19,42,69,.05);padding:20px}.adminlayout>.sidebar a{display:block;padding:11px 13px;border-radius:10px;margin:2px 0;color:#354761;text-decoration:none;font-weight:600;font-size:14px}.adminlayout>.sidebar a:hover,.adminlayout>.sidebar a.ps64-current{background:#eaf2fa;color:#14507b}.adminlayout .ps64-nav-group{font-size:10px;letter-spacing:.11em;font-weight:800;color:#8793a5;margin:21px 13px 9px}.adminlayout>main{min-width:0}.ps64-hero{background:linear-gradient(120deg,#123452,#236a8a);color:#fff;border-radius:19px;padding:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 14px 36px rgba(14,67,100,.14)}.ps64-eyebrow{font-weight:800;font-size:11px;letter-spacing:.15em;color:#438fc1}.ps64-hero .ps64-eyebrow{color:#a4dbee}.ps64-hero h1{font-size:clamp(25px,2.7vw,36px);margin:8px 0;font-weight:800;color:#fff}.ps64-hero p{font-size:14px;line-height:1.55;opacity:.94;max-width:550px;margin:8px 0}.ps64-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.ps64-button-strong,.ps64-button-light{font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;border-radius:9px;padding:11px 14px}.ps64-button-strong{color:#14435d;background:#fff}.ps64-button-light{color:#fff;border:1px solid #a1cfe2}.ps64-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:19px 0}.ps64-stat{background:#fff;border:1px solid #e6ecf2;border-radius:14px;padding:20px;display:flex;flex-direction:column;box-shadow:0 4px 16px rgba(21,42,80,.03)}.ps64-stat span{font-size:13px;color:#52667b;font-weight:650}.ps64-stat strong{font-size:34px;color:#173851;margin:8px 0 3px;font-variant-numeric:tabular-nums}.ps64-stat small{font-size:11px;color:#718499}.ps64-section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:29px 0 13px}.ps64-section-heading h2{font-size:21px;margin:0;color:#1a344d}.ps64-section-heading p{font-size:13px;color:#75869a;margin:4px 0}.ps64-section-heading a{font-weight:650;font-size:13px}.ps64-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.ps64-action{background:#fff;border:1px solid #e4ebf3;padding:18px;border-radius:14px;display:flex;align-items:center;gap:12px;text-decoration:none!important;color:#23435d!important;min-width:0;transition:box-shadow .15s,border-color .15s}.ps64-action:hover{box-shadow:0 10px 27px rgba(20,70,98,.08);border-color:#b9d6e9}.ps64-action-icon{background:#eff6fb;color:#25668c;border-radius:11px;flex:0 0 39px;height:39px;display:grid;place-items:center;font-size:21px}.ps64-action>span:nth-child(2){min-width:0;flex:1}.ps64-action strong,.ps64-action small{display:block}.ps64-action strong{font-size:14px}.ps64-action small{font-size:11px;line-height:1.5;color:#7b8a99;margin-top:4px}.ps64-action-arrow{margin-left:auto;color:#7e9cb4}.ps64-journal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ps64-journal-card,.ps64-sso-box{background:#fff;border:1px solid #e4ebf3;border-radius:15px;padding:19px}.ps64-journal-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.ps64-journal-code{background:#eaf3ff;color:#24658c;border-radius:7px;padding:5px 9px;font-size:11px;font-weight:800;letter-spacing:.06em}.ps64-status{font-size:11px;font-weight:700;padding:5px 9px;border-radius:50px}.ps64-status.is-active{color:#16683f;background:#e2f6eb}.ps64-status.is-suspended{color:#aa5237;background:#fff0e7}.ps64-journal-card h3,.ps64-sso-box h3{font-size:16px;color:#1b334c;margin:17px 0 6px}.ps64-journal-card p,.ps64-sso-box p{font-size:12px;color:#728398;margin:0}.ps64-journal-actions{margin-top:17px;border-top:1px solid #ecf0f4;padding-top:12px;display:flex;gap:18px;flex-wrap:wrap;font-size:12px;font-weight:700}.ps64-publisher-list{display:grid;gap:9px}.ps64-publisher-list>a{background:#fff;border:1px solid #e5edf3;border-radius:12px;padding:14px 17px;display:flex;align-items:center;gap:18px;text-decoration:none!important}.ps64-publisher-list strong{color:#25445f}.ps64-publisher-list small{color:#7d8ca0}.ps64-publisher-list span{margin-left:auto}.ps64-empty{padding:29px;background:#fff;border:1px dashed #c9dbe9;border-radius:13px;color:#718398}.ps64-pagehead{border-bottom:1px solid #e2eaf1;padding:0 0 18px;margin-bottom:22px}.ps64-pagehead h1{margin:9px 0 8px}.ps64-pagehead p{max-width:700px;color:#687e93}.ps64-sso-box{margin:0 0 15px}.ps64-sso-links{display:flex;gap:18px;margin:17px 0;font-size:13px;font-weight:700}.ps64-sso-box .box{box-shadow:none}.ps64-editor-intro{padding:17px 19px;border-radius:13px;background:#f0f6fc;border:1px solid #d6e6f1;margin:14px 0 20px}.ps64-editor-intro a{font-weight:700}.ps64-publisher-tool-links{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0 18px}.ps64-publisher-tool-links a{border:1px solid #cbdce9;padding:8px 13px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:700}.ps64-legacy-warning{font-size:13px;color:#7d5962}.ps64-sso-box .tablewrap{overflow-x:auto}
@media(max-width:1150px){.ps64-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.ps64-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.adminlayout{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:760px){.adminlayout{display:block}.adminlayout>.sidebar{position:static;max-height:none;margin-bottom:20px}.ps64-hero{flex-direction:column;align-items:start}.ps64-actions,.ps64-journal-grid{grid-template-columns:1fr}.ps64-publisher-list>a{flex-wrap:wrap}.ps64-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){.ps64-stats{grid-template-columns:1fr}}

.ps64-publisher-login-link{font-size:12px;text-decoration:underline;text-underline-offset:3px;margin-left:16px;color:inherit}

.ps64-section-index{background:#fff;border:1px solid #dbe7ef;border-radius:13px;padding:17px;margin:15px 0}.ps64-section-index>strong{font-size:14px;color:#263f56}.ps64-section-index>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.ps64-section-index a{font-size:12px;color:#285a83;text-decoration:none;border:1px solid #d8e6f1;background:#f5f9fc;padding:7px 9px;border-radius:7px}.ps64-section-index a:hover{background:#e3f1fc}

/* Components migrated from workspace-v65.css */
/* PubSpace SaaS 6.5 administration and minimal publisher presentation */
:root{--ps-ink:#172f47;--ps-muted:#728299;--ps-line:#e2eaf2;--ps-soft:#f6f9fc;--ps-blue:#24658b}
body{background:#f7f9fc;color:var(--ps-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal!important}
.adminlayout{grid-template-columns:245px minmax(0,1fr);gap:24px}
.adminlayout>.sidebar{border:1px solid #dfe9f0;border-radius:17px;padding:21px 16px;box-shadow:0 7px 25px #25344a0a}
.adminlayout>.sidebar .ps-admin-brand{padding:14px 9px;border-radius:12px;background:#f5f9fc;display:flex;align-items:center;gap:10px}
.adminlayout>.sidebar .ps-admin-brand img{max-width:43px;max-height:43px;object-fit:contain;background:white;border-radius:10px;padding:4px}
.adminlayout>.sidebar .ps64-nav-group{letter-spacing:normal;color:#8796a8}
.adminlayout>.sidebar a{font-weight:570;padding:11px 12px;border-radius:9px}
.adminlayout>main>.box,.adminlayout>main>.section>.box{border:1px solid var(--ps-line);border-radius:15px;box-shadow:0 3px 17px #1f3b4d08;padding:23px;margin-bottom:19px}
.adminlayout .box h2{font-size:20px;font-weight:750;margin:0 0 14px}
.adminlayout h1{letter-spacing:normal}
.ps64-hero{background:linear-gradient(115deg,#143e60,#226b87);border:1px solid #265a78;border-radius:17px;box-shadow:none;padding:27px 30px}
.ps64-hero h1{letter-spacing:normal}
.ps64-action,.ps64-journal-card,.ps64-stat,.ps64-sso-box{box-shadow:0 4px 20px #10263a06!important;border-color:var(--ps-line)}
.ps64-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ps64-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ps65-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:4px 0 22px}
.ps65-heading span{display:block;color:#4688aa;font-size:12px;font-weight:750;letter-spacing:normal}
.ps65-heading h1{font-size:30px;margin:7px 0 4px;font-weight:800}
.ps65-heading p{margin:6px 0;color:var(--ps-muted);font-size:14px}
.ps65-info{border-radius:12px;border:1px solid #d4e8f1;background:#edf8fd;padding:18px 20px;margin-bottom:20px;color:#1b5a78}
.ps65-info strong{font-weight:750;font-size:15px}
.ps65-info p{font-size:13px;margin:7px 0 0}
.ps65-logo-preview{max-width:235px;max-height:95px;object-fit:contain;background:#fff;border:1px solid #e1e6eb;padding:12px;border-radius:9px;margin:12px 0;display:block}
.ps65-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}
.ps65-quick-grid>a.box{display:flex;flex-direction:column;gap:9px;text-decoration:none;color:#1a3e59}
.ps65-quick-grid>a.box:hover{border-color:#8ebbd4}
.ps65-quick-grid strong{font-size:15px}.ps65-quick-grid small{color:#758aa0;font-size:12px}
.ps65-quick-grid>div{border:1px solid var(--ps-line);border-radius:12px;background:#f7fafc;padding:15px}
.ps65-quick-grid>div p{font-size:13px;color:#536f81;margin:7px 0 0}
.ps65-tree{font-size:13px;line-height:1.8;color:#234158;overflow:auto;border:1px solid var(--ps-line);background:#f7fafd;padding:20px;border-radius:10px;white-space:pre}
.box details{border:1px solid #e2e9f0;border-radius:8px;padding:12px;margin:9px 0;background:#fafcfe}
.box details summary{font-weight:650;cursor:pointer}
.ps65-public{padding-top:23px;padding-bottom:55px}
.ps65-public-hero{background:linear-gradient(105deg,#173d5c,#265a73);color:#fff;border-radius:22px;padding:clamp(25px,5vw,60px);text-align:left}
.ps65-public-hero h1{font-size:clamp(31px,4vw,52px);color:#fff;margin:10px 0}
.ps65-public-hero p{font-size:16px;line-height:1.65;max-width:700px}
.ps65-publisher-logo{background:#fff;max-width:min(280px,80vw);height:auto;max-height:95px;object-fit:contain;padding:12px;border-radius:11px;margin-bottom:17px}
.ps65-section-title{margin-bottom:25px}.ps65-section-title h2{font-size:29px}.ps65-section-title p{color:var(--ps-muted)}
.ps65-journals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ps65-journal-card{background:white;border:1px solid var(--ps-line);box-shadow:0 7px 30px #183f5d0a;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.ps65-journal-card>img{max-height:230px;height:210px;width:100%;object-fit:contain;background:#f6f8fa;padding:14px}
.ps65-journal-card>div{padding:22px}.ps65-journal-card span{font-size:11px;font-weight:800;color:#3b8aaa}.ps65-journal-card h3{font-size:18px;line-height:1.45;margin:7px 0 20px;min-height:50px}
.ps65-faq{max-width:980px}.ps65-faq h2{font-size:28px;margin:0 0 22px}
.ps65-faq details{border:1px solid #dbe7f1;border-radius:12px;background:#fff;margin:11px 0;padding:17px 20px}
.ps65-faq summary{cursor:pointer;color:#1a425e;font-weight:700}
.ps65-faq details p{color:#5c7284;line-height:1.75}
@media(max-width:1100px){.ps65-journals{grid-template-columns:repeat(2,minmax(0,1fr))}.ps64-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.adminlayout{display:block}.ps64-actions,.ps65-quick-grid,.ps65-journals{grid-template-columns:1fr}.ps65-heading{display:block}.ps65-heading>a{display:inline-flex;margin-top:15px}}

/* Components migrated from scholarly-admin.css */
/* PubSpace 6.6 • scholarly administration only. Public journals/themes are untouched. */
:root{--ps66-navy:#142c3e;--ps66-deep:#0c2735;--ps66-accent:#0d786c;--ps66-gold:#c6a266;--ps66-muted:#687a84;--ps66-line:#e2e9e8;--ps66-surface:#fff;--ps66-bg:#f5f7f5}
body.ps66-dashboard,body.ps66-login{margin:0;background:var(--ps66-bg);color:var(--ps66-navy);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;line-height:1.6}
.ps66-dashboard *,.ps66-login *{box-sizing:border-box}
.ps66-dashboard a,.ps66-login a{color:#0c6a65}
.ps66-dashboard h1,.ps66-dashboard h2,.ps66-dashboard h3,.ps66-login h1,.ps66-login h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.025em;font-weight:600}
.ps66-dashboard h1{font-size:clamp(29px,3.1vw,45px)}
.ps66-shell{display:grid;grid-template-columns:268px minmax(0,1fr);min-height:100vh;max-width:100%;gap:0}
.ps66-sidebar{position:sticky;top:0;align-self:start;height:100vh;overflow:auto;z-index:60;background:var(--ps66-deep);color:#e5edef;padding:27px 16px 35px;scrollbar-width:thin;scrollbar-color:#3e6370 transparent}
.ps66-sidebar a{display:block;color:#b7c9cf;text-decoration:none;font-size:13px;font-weight:600;padding:11px 13px;border-radius:9px;transition:background .16s,color .16s}
.ps66-sidebar a:hover,.ps66-sidebar a.ps64-current{background:#214654;color:#fff}
.ps66-sidebar a.ps64-current{border-left:3px solid var(--ps66-gold);padding-left:10px}
.ps66-sidebar hr{border:0;border-top:1px solid #315361;margin:22px 5px}
.ps66-sidebar .ps64-nav-group{font-size:10px;letter-spacing:.15em;color:#9baeb5;margin:24px 13px 9px;font-weight:800}
.ps66-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:#fff!important;margin:0 5px 26px}
.ps66-brand img{height:52px;width:52px;object-fit:contain;border-radius:13px;background:#fff;padding:7px}
.ps66-brand strong{display:block;font-size:18px;font-family:Georgia,serif;font-weight:650;line-height:1.12}.ps66-brand small{font-size:10px;color:#aac4cc;letter-spacing:.11em;text-transform:uppercase}
.ps66-sidebar-profile{background:#173b49;border:1px solid #2d515e;border-radius:12px;padding:15px;margin:0 5px 21px}
.ps66-sidebar-profile b{display:block;color:#fff;font-size:13px}.ps66-sidebar-profile span{display:block;color:#b0c5cd;font-size:12px}
.ps66-main{min-width:0}
.ps66-topbar{height:76px;background:#fff;border-bottom:1px solid var(--ps66-line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(18px,3vw,49px)}
.ps66-crumb{color:#314b5a;font-weight:700;font-size:13px}.ps66-crumb span{color:#8b9ba1;font-weight:500}
.ps66-toplinks{display:flex;align-items:center;gap:20px}.ps66-toplinks a{font-size:12px;font-weight:750;text-decoration:none}
.ps66-account{display:flex;align-items:center;gap:10px;border-left:1px solid var(--ps66-line);padding-left:18px}
.ps66-account strong,.ps66-account small{display:block;line-height:1.35}.ps66-account strong{font-size:12px}.ps66-account small{font-size:10px;color:#6f8188}
.ps66-avatar{border-radius:50%;height:37px;width:37px;display:grid;place-items:center;color:#fff;background:#0b716a;font-weight:700}
.ps66-signout{border:1px solid var(--ps66-line);padding:9px 12px;border-radius:7px}
.ps66-mobile,.ps66-backdrop{display:none}
.ps66-body{max-width:1550px;margin:0 auto;padding:32px clamp(17px,3vw,46px) 72px;min-width:0}
.ps66-welcome{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(160px,.7fr);min-height:270px;background:radial-gradient(circle at 80% 20%,#296c6b 0%,transparent 43%),linear-gradient(115deg,#102e40,#0b504e);border-radius:19px;padding:39px clamp(24px,3.4vw,49px);color:#fff;overflow:hidden;position:relative}
.ps66-welcome-copy{position:relative;z-index:1}.ps66-overline{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--ps66-accent);text-transform:uppercase}
.ps66-welcome .ps66-overline{color:#e6d0a6}.ps66-welcome h1{font-size:clamp(29px,3vw,46px);line-height:1.18;margin:13px 0 13px;max-width:680px;color:#fff}.ps66-welcome h1 em{color:#f3d5a2;font-weight:400}
.ps66-welcome p{color:#d6e8e7;font-size:13px;max-width:665px;line-height:1.75}
.ps66-welcome-links{display:flex;gap:11px;margin-top:24px;flex-wrap:wrap}.ps66-welcome-links a{border-radius:8px;padding:11px 17px;font-size:12px;font-weight:800;text-decoration:none}
.ps66-primary{background:#e4c28a;color:#183743!important}.ps66-secondary{border:1px solid #85acad;color:#e7f3ef!important}
.ps66-welcome-art{position:relative;display:grid;place-items:center}
.ps66-art-orbit{width:min(25vw,255px);height:min(25vw,255px);border:1px solid #86b0a65a;border-radius:50%;position:absolute;box-shadow:0 0 0 27px #8cb8ac13,0 0 0 55px #8cb8ac0a}
.ps66-art-book{font-size:clamp(70px,11vw,140px);font-family:Georgia,serif;color:#edcf9e;opacity:.75}.ps66-art-caption{position:absolute;bottom:4px;font-size:10px;letter-spacing:.08em;color:#d7e8e4}
.ps66-notice{background:#ebf5f2;border:1px solid #d0e7dd;border-left:4px solid #118272;border-radius:11px;display:flex;gap:14px;align-items:flex-start;padding:17px 20px;margin:20px 0;color:#244d4a}
.ps66-notice>span{color:#0d8476;font-size:20px}.ps66-notice strong{font-size:13px}.ps66-notice p{margin:4px 0 0;font-size:12px;color:#486c68}
.ps66-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0 36px}
.ps66-metrics article{background:#fff;border:1px solid var(--ps66-line);border-radius:14px;padding:20px 21px;min-width:0;position:relative;box-shadow:0 5px 24px #0b343708}
.ps66-metrics article>p{font-size:12px;color:#6a7a83;margin:15px 0 5px;font-weight:650}.ps66-metrics article>strong{display:block;font-size:31px;font-family:Georgia,serif;line-height:1.15;color:#152f40;font-weight:600}.ps66-metrics article>small{display:block;color:#83929a;font-size:11px;margin-top:5px}
.ps66-metric-icon{display:grid;place-items:center;background:#e7f3ef;color:#0b766a;font-size:20px;width:40px;height:40px;border-radius:11px}
.ps66-progress{height:4px;margin:11px 0 0;border-radius:10px;background:#e8efee}.ps66-progress span{display:block;height:100%;border-radius:10px;background:#158574}
.ps66-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:31px 0 18px}
.ps66-section-head h2{font-size:27px;margin:4px 0 0}.ps66-section-head p{font-size:12px;margin:5px 0 0;color:#788991}
.ps66-section-head>a{font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}
.ps66-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ps66-shortcut{display:flex;align-items:center;gap:14px;padding:18px;background:#fff;border:1px solid var(--ps66-line);border-radius:13px;text-decoration:none!important;min-height:100px;transition:transform .18s,border-color .18s,box-shadow .18s}
.ps66-shortcut:hover{transform:translateY(-2px);border-color:#a6d2c5;box-shadow:0 11px 28px #164b4b14}
.ps66-shortcut-symbol{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:12px;background:#eef4ee;color:#187667;font-size:23px}
.ps66-shortcut strong,.ps66-shortcut small{display:block}.ps66-shortcut strong{color:#253e4b;font-size:13px}.ps66-shortcut small{color:#7a8b92;font-size:11px;margin-top:5px}.ps66-shortcut b{margin-left:auto;color:#77998d;font-size:17px}
.ps66-journals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ps66-journal{padding:21px 22px;border:1px solid var(--ps66-line);background:#fff;border-radius:13px}.ps66-journal-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.ps66-code{font-size:10px;letter-spacing:.075em;font-weight:850;background:#eaf4f1;border-radius:5px;color:#116e61;padding:5px 9px}
.ps66-pill{padding:5px 10px;border-radius:50px;font-size:10px;font-weight:750}.ps66-pill.active{background:#e6f5e9;color:#217146}.ps66-pill.paused{background:#f9e9e5;color:#974f3b}
.ps66-journal h3{font-family:Georgia,serif;font-size:19px;margin:17px 0 7px;line-height:1.35;color:#203d4f}.ps66-journal p{margin:0;font-size:12px;color:#7b8d93}
.ps66-journal>div:last-child{display:flex;gap:14px;border-top:1px solid var(--ps66-line);padding-top:13px;margin-top:18px;flex-wrap:wrap}.ps66-journal>div:last-child a{font-size:12px;font-weight:750;text-decoration:none}
.ps66-empty{border:1px dashed #cbd7d4;background:#fff;padding:35px;border-radius:14px;color:#6e8086}
.ps66-page-intro h1{font-size:36px;margin:6px 0 4px}.ps66-page-intro p{font-size:13px;color:#6b808a;max-width:820px}
.ps66-restore-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
.ps66-restore-grid .box{border:1px solid var(--ps66-line);box-shadow:0 6px 25px #0e35350a;border-radius:15px;padding:25px}
.ps66-restore-grid .box h2{font-size:24px;margin:8px 0}.ps66-restore-grid .box p{font-size:12px;color:#788991}
.ps66-check{display:flex;gap:9px;align-items:flex-start;margin:14px 0;font-size:12px;color:#455f66;line-height:1.5}.ps66-check input{margin-top:3px;accent-color:#087469}
.ps66-backup-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.ps66-backup-card{padding:23px;background:#fff;border:1px solid var(--ps66-line);border-radius:13px}
.ps66-backup-card h3{margin:10px 0 5px;font-size:21px}.ps66-backup-card p{color:#72848e;font-size:12px}.ps66-backup-card form{border-top:1px solid var(--ps66-line);padding-top:10px;margin-top:17px}
.ps66-dashboard .ps66-body .box{border:1px solid var(--ps66-line);box-shadow:none;border-radius:13px}.ps66-dashboard .ps66-body .field input,.ps66-dashboard .ps66-body .field select,.ps66-dashboard .ps66-body .field textarea{border-radius:8px;border-color:#cfdbd9}
.ps66-dashboard .ps66-body .btn{background:#087567;border-radius:8px;padding:11px 17px}.ps66-dashboard .ps66-body .btn.alt{background:#e9f2ed;color:#1b665a}
.ps66-dashboard .ps66-body table th{background:#edf4f1;color:#2c5961}.ps66-dashboard .ps66-body a:focus-visible,.ps66-dashboard .ps66-body button:focus-visible{outline:3px solid #b6d9c0;outline-offset:2px}
/* Dedicated account sign-in, no public-site navigation/footer */
.ps66-auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr)}
.ps66-auth-story{display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 80% 25%,#207166 0%,transparent 43%),linear-gradient(142deg,#0d2c3d,#104d48);padding:clamp(32px,5vw,86px);color:#fff;position:relative;overflow:hidden}
.ps66-auth-story:after{content:"";position:absolute;border:1px solid #d8c28d50;border-radius:50%;height:430px;width:430px;bottom:-170px;right:-90px;box-shadow:0 0 0 60px #c3d9c707,0 0 0 130px #d4e8cb0a}
.ps66-auth-brand{font-family:Georgia,serif;font-weight:650;font-size:24px;letter-spacing:-.03em;position:relative;z-index:1}.ps66-auth-brand span{color:#e6c28a}
.ps66-auth-story .ps66-overline{color:#efcf9a}.ps66-auth-story h1{font-size:clamp(38px,4.6vw,66px);max-width:700px;line-height:1.15;margin:21px 0}.ps66-auth-story h1 em{color:#ecd1a5;font-weight:400}.ps66-auth-story p{font-size:15px;color:#d2e6e0;max-width:510px;line-height:1.9}
.ps66-auth-foot{position:relative;z-index:1;font-size:11px;letter-spacing:.05em;color:#c2d7d0}
.ps66-auth-panel{display:grid;place-items:center;background:#f7f9f7;padding:clamp(22px,5vw,70px)}
.ps66-auth-card{width:min(100%,430px)}.ps66-auth-card .ps66-overline{margin:25px 0 11px;display:block}.ps66-auth-logo{max-width:235px;max-height:92px;object-fit:contain;display:block;margin-bottom:32px}
.ps66-auth-card h2{font-size:34px;margin:0 0 7px}.ps66-auth-card>p{font-size:13px;color:#6f838b;margin:0 0 27px}
.ps66-auth-card label{font-size:12px;font-weight:750;display:block;margin:0 0 7px}.ps66-auth-card input{width:100%;border:1px solid #cddbd8;background:#fff;border-radius:9px;padding:14px;font:inherit;font-size:14px;margin-bottom:21px;outline:none;transition:border-color .2s,box-shadow .2s}
.ps66-auth-card input:focus{border-color:#158575;box-shadow:0 0 0 3px #bfe4d877}
.ps66-auth-card button{width:100%;padding:15px;background:#0c7467;border:0;border-radius:9px;color:white;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.ps66-auth-card button:hover{background:#07574f}
.ps66-auth-card .error{font-size:12px;margin-bottom:15px}.ps66-auth-meta{font-size:11px;color:#8b9c9c;margin-top:28px;text-align:center}
@media(max-width:1250px){.ps66-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.ps66-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.ps66-shell{grid-template-columns:minmax(0,1fr)}.ps66-sidebar{position:fixed;left:0;top:0;height:100vh;width:275px;transform:translateX(-104%);transition:transform .2s;box-shadow:10px 0 35px #0d28302e}.ps66-sidebar.ps66-open{transform:translateX(0)}.ps66-mobile{display:block;background:#f0f5f2;color:#25554e;border:0;border-radius:8px;padding:9px 12px;cursor:pointer;font-size:18px}.ps66-backdrop.ps66-open{display:block;position:fixed;inset:0;background:#122e3788;z-index:50}.ps66-topbar{height:65px}.ps66-restore-grid{grid-template-columns:1fr}}
@media(max-width:650px){.ps66-body{padding:20px 14px 45px}.ps66-welcome{grid-template-columns:1fr;min-height:0;padding:29px 21px}.ps66-welcome-art{display:none}.ps66-welcome h1{font-size:32px}.ps66-metrics{gap:10px;margin-bottom:25px}.ps66-metrics article{padding:14px}.ps66-metrics article>strong{font-size:27px}.ps66-shortcuts,.ps66-journals,.ps66-backup-list{grid-template-columns:1fr}.ps66-shortcut{min-height:82px;padding:14px}.ps66-account,.ps66-top-home{display:none!important}.ps66-toplinks{gap:4px}.ps66-crumb span{display:none}.ps66-section-head{align-items:center}.ps66-section-head h2{font-size:24px}.ps66-auth{grid-template-columns:1fr}.ps66-auth-story{min-height:160px;padding:25px}.ps66-auth-story h1{font-size:27px;margin:9px 0}.ps66-auth-story p,.ps66-auth-foot{display:none}.ps66-auth-panel{padding:28px 22px;place-items:start center}.ps66-auth-logo{margin:0 0 20px}.ps66-auth-card h2{font-size:29px}}
@media(min-width:651px) and (max-width:980px){.ps66-auth{grid-template-columns:1fr 1fr}.ps66-auth-story{padding:33px}.ps66-auth-story h1{font-size:37px}}
@media(prefers-reduced-motion:reduce){.ps66-shortcut,.ps66-sidebar{transition:none}}

/* Components migrated from scholarly-refine.css */
/* PubSpace SaaS v6.7 — shared platform/publisher administration refinements */
.ps67-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.ps66-top-home{display:inline-flex;align-items:center;gap:9px;color:#244755!important;background:#eef5f1;padding:9px 13px;border-radius:9px}
.ps66-top-home .ps67-icon{width:18px;height:18px;color:var(--ps67-brand,#087469)}
.ps66-sidebar a:not(.ps66-brand){display:flex;align-items:center;gap:11px}
.ps66-sidebar a:not(.ps66-brand) .ps67-icon{width:17px;height:17px;stroke-width:1.75;opacity:.9}
.ps66-sidebar a.ps64-current .ps67-icon{color:#efd5a5;opacity:1}
.ps66-sidebar a span{min-width:0}
.ps66-metric-icon{display:inline-flex!important;justify-content:center;align-items:center;color:var(--ps67-brand,#087469)!important;background:#e7f2ee!important;width:43px;height:43px;border-radius:12px;font-size:initial!important}
.ps66-metric-icon .ps67-icon{width:23px;height:23px;stroke-width:2}
.ps66-shortcut-symbol{display:inline-flex!important;justify-content:center;align-items:center;width:45px!important;height:45px!important;border-radius:12px!important;background:#eaf3ee!important;color:var(--ps67-brand,#087469)!important;font-size:initial!important;flex:none}
.ps66-shortcut-symbol .ps67-icon{width:23px;height:23px}
.ps66-art-book .ps67-icon{width:99px;height:99px;stroke:#efd4a7;stroke-width:1.15;filter:drop-shadow(0 6px 14px #0b2732aa)}
.ps66-dashboard .ps66-body .btn:not(.alt),.ps66-auth-card button{background:var(--ps67-brand,#087469)}
.ps66-dashboard .ps66-body .btn.alt{background:#e9f3ef;color:#185f54}
.ps66-dashboard .ps66-body a:focus-visible,.ps66-dashboard .ps66-body button:focus-visible{outline-color:var(--ps67-brand,#087469)}
.ps66-sidebar .ps64-nav-group{color:#b3c4c9}
.ps66-body .ps67-theme-toggle{margin-bottom:18px;border:1px solid #d5e8df;background:linear-gradient(125deg,#fff,#f4faf6);display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.6fr);gap:22px}
.ps67-theme-toggle>div>p{max-width:690px;font-size:13px;color:#678087}
.ps67-theme-toggle form{align-self:center;border:1px solid #d5e8df;padding:21px;background:white;border-radius:12px}
.ps67-toggle-label{display:flex;align-items:center;gap:12px;font-size:14px;color:#2b4d55}
.ps67-toggle-label input{appearance:none;position:relative;width:44px;height:25px;background:#cbd6d2;border-radius:99px;cursor:pointer;flex:none;margin:0;transition:background .16s}
.ps67-toggle-label input:checked{background:var(--ps67-brand,#087469)}
.ps67-toggle-label input:before{content:"";position:absolute;width:19px;height:19px;background:#fff;border-radius:50%;left:3px;top:3px;transition:transform .16s;box-shadow:0 1px 3px #0002}
.ps67-toggle-label input:checked:before{transform:translateX(19px)}
.ps67-toggle-label input:disabled{cursor:not-allowed;opacity:.5}
.ps67-sso-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ps67-sso-buttons .btn{white-space:normal;font-size:12px;line-height:1.35}
.ps66-topbar .ps66-signout{display:inline-flex;align-items:center;gap:7px}
.ps66-body .box,.ps66-body .ps64-sso-box{box-shadow:0 6px 24px #0c373d0a;border-radius:13px}
.ps66-shortcut:hover .ps66-shortcut-symbol{background:#d8ece3!important}
@media(max-width:850px){.ps66-body .ps67-theme-toggle{grid-template-columns:1fr}.ps66-topbar{padding:0 14px}.ps66-toplinks{gap:8px}}
@media(max-width:560px){.ps66-crumb{font-size:11px}.ps66-topbar{height:62px}.ps67-sso-buttons{flex-direction:column;align-items:stretch}.ps67-sso-buttons .btn{width:100%;text-align:center}.ps66-body .ps67-theme-toggle{padding:16px}}

@media(max-width:650px){.ps66-top-home{display:inline-flex!important;padding:8px!important}.ps66-top-home .ps67-overview-label{display:none}.ps66-top-home .ps67-icon{display:block!important}.ps66-toplinks{margin-left:auto}}

/* Components migrated from v68-theme.css */
/* PubSpace 6.8 - accessible, responsive platform & publisher administration refinements */
.ps68-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.ps68-upload{border:1px solid #dbe5e9;border-radius:13px;padding:17px;background:#f8fafb;min-width:0}
.ps68-upload label{display:block;font-weight:730;margin-bottom:9px}
.ps68-upload input[type=file]{width:100%;max-width:100%}
.ps68-upload small{display:block;margin-top:8px;color:#587078}
.ps68-preview{display:flex;align-items:center;justify-content:center;height:106px;margin-bottom:11px;border-radius:9px;border:1px solid #dee7e9;background:#fff}
.ps68-preview img{max-height:90px;max-width:92%;object-fit:contain}
.ps68-palettes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}
.ps68-palette{display:flex;min-height:70px;align-items:center;gap:9px;padding:10px;border:1px solid #d8e3e8;border-radius:11px;cursor:pointer;box-sizing:border-box;background:#fafcfd;color:#1e3c4b;min-width:0;font-size:12px}
.ps68-palette:has(input:checked){outline:2px solid var(--ps66-accent,#087469);background:#f3faf7;border-color:transparent}
.ps68-palette input{width:16px;height:16px;accent-color:var(--ps66-accent,#087469);flex:none}
.ps68-swatch{width:25px;height:25px;flex:none;border-radius:50%;background:var(--swatch);border:2px solid #ffffff;box-shadow:0 0 0 1px #cadbe2}
.ps68-custom-swatch{background:conic-gradient(#e05b65,#f2bb51,#36aa81,#497ac2,#b161c1,#e05b65)}
.ps68-palette span:last-child{overflow-wrap:anywhere}
.ps68-palette small{display:block;color:#738592;font-size:10px;margin-top:3px}
.ps68-picker{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ps68-picker input[type=color]{width:70px;height:43px;border:1px solid #ccdce1;border-radius:9px;padding:4px;cursor:pointer}
.ps68-options{display:grid;gap:13px}.ps68-inline-check{display:inline-flex!important;align-items:center!important;gap:10px!important;line-height:1.5!important;margin:0!important;font-weight:600!important}.ps68-inline-check input{display:block!important;flex:0 0 19px!important;width:19px!important;height:19px!important;accent-color:var(--ps66-accent,#087469);margin:0!important}
.ps68-savebar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 26px}.ps68-savebar .btn{margin:0!important}
.ps68-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:19px 0}.ps68-summary>div{padding:18px;border:1px solid #dce8ec;border-radius:13px;background:#fff;box-shadow:0 8px 24px #143e4709}.ps68-summary span{display:block;color:#657983;font-size:12px}.ps68-summary strong{display:block;font-size:24px;color:#173849;margin-top:6px}
.ps68-directory{padding:0!important;overflow-x:auto}.ps68-directory table{min-width:1100px;width:100%}.ps68-directory td{font-size:13px;vertical-align:top}.ps68-directory td div{margin-top:4px}.ps68-directory td small{color:#58717a}.ps68-directory-note{color:#73838b;font-size:12px;margin:12px 0 20px}
.ps68-storage-line{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin:15px 0 24px;padding:15px 19px;border-radius:13px;border:1px solid #d9e9e3;background:linear-gradient(100deg,#f5fbf8,#fff);font-size:13px;color:#46616b}.ps68-storage-line span:first-child{display:inline-flex;align-items:center;gap:7px;color:#1b4b51}.ps68-storage-line a{margin-left:auto;font-weight:700}.ps68-storage-line b{color:#1c3f4b}
.ps68-smtp-picker{border:1px solid #d8e7e4;border-radius:11px;padding:14px 16px;background:#f7faf9;margin-bottom:17px}.ps68-smtp-picker label{display:block;font-weight:700;margin-bottom:7px}.ps68-smtp-picker select{width:100%}.ps68-smtp-picker small{display:block;color:#536f74;margin-top:6px}
.ps68-publisher-square{width:78px;height:78px;object-fit:contain;border-radius:15px;box-shadow:0 8px 18px #102f4d21;margin:6px auto 14px;display:block}
.ps66-body .two{column-gap:18px!important;row-gap:14px!important}
.ps66-body form .btn+ .btn,.ps66-body .btn+ .btn,.ps66-body a.btn+ a.btn{margin-left:0!important}
.ps66-body :is(.headrow,.ps65-heading,.ps67-sso-buttons,.ps66-welcome-links,.ps65-quick-grid){gap:12px!important}
.ps66-body form:has(>.btn){display:flex;gap:10px;flex-wrap:wrap}
.ps66-body :is(.btn,button.btn){line-height:1.4;min-height:39px}
@media(max-width:1060px){.ps68-palettes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.ps68-grid{grid-template-columns:1fr}.ps68-palettes{grid-template-columns:repeat(2,minmax(0,1fr))}.ps68-summary{grid-template-columns:1fr}.ps68-savebar{align-items:stretch}.ps68-savebar .btn{flex:1;text-align:center}.ps68-storage-line a{margin-left:0;width:100%}}
@media(max-width:380px){.ps68-palettes{grid-template-columns:1fr}}

.ps66-welcome{background:radial-gradient(circle at 82% 20%,color-mix(in srgb,var(--ps67-brand) 78%,#fff) 0%,transparent 46%),linear-gradient(115deg,#102e40,color-mix(in srgb,var(--ps67-brand) 65%,#082631))!important}
.ps66-sidebar a.ps64-current{border-left-color:var(--ps67-brand,#087469)}
.ps66-shortcut:focus-visible,.ps68-palette:focus-within{outline:3px solid var(--ps67-brand,#087469);outline-offset:2px}
.ps68-summary strong{color:var(--ps67-brand,#087469)}
.ps66-body .btn:not(.alt),.ps66-body button.btn:not(.alt){background:var(--ps67-brand,#087469)!important;color:white!important}
.ps68-directory td a{color:var(--ps67-brand,#087469);font-weight:650}

.ps68-index-publisher-logo{display:block;height:74px;width:74px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid #d9e4e6;box-shadow:0 5px 18px #14364712;margin:0 0 15px;padding:6px}

.ps66-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px;display:block}

/* v6.9: compact, consistently spaced dashboard controls; leave journal CSS untouched. */
body.ps66-dashboard .ps66-body :is(a.btn,button.btn,input.btn){
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  min-height:34px!important;height:auto!important;max-height:none;
  padding:7px 13px!important;font-size:13px;line-height:1.3!important;
  vertical-align:middle;align-self:flex-start;margin-bottom:12px!important;
}
body.ps66-dashboard .ps66-body :is(form,.headrow,.ps68-savebar,.ps67-sso-buttons,.ps66-welcome-links) :is(a.btn,button.btn,input.btn){margin-top:0}
body.ps66-dashboard .ps66-body form:has(> .btn){column-gap:10px;row-gap:4px;align-items:center}
body.ps66-dashboard .ps66-body .ps68-savebar{gap:10px 12px}
body.ps66-dashboard .ps66-body .ps68-savebar .btn{margin-bottom:0!important}
body.ps66-dashboard .ps66-body .btn + .btn{margin-left:8px!important}
body.ps66-dashboard .ps66-body :is(.ps68-savebar,.ps67-sso-buttons,.ps66-welcome-links) .btn + .btn{margin-left:0!important}
body.ps66-dashboard .ps66-topbar :is(.btn,button){min-height:34px;height:auto;padding:7px 11px;font-size:12px;line-height:1.3}
.ps69-auth-method{margin:17px 0 9px;max-width:580px}
.ps69-auth-method label{display:block;font-weight:750;margin-bottom:6px}
.ps69-auth-method select{display:block;width:100%;max-width:580px;padding:10px 12px;background:#fff;border:1px solid #cbd9de;border-radius:8px}
.ps69-token-field,.ps69-password-field{margin:13px 0 18px;max-width:680px}
.ps69-token-field .field,.ps69-password-field .field{margin-bottom:5px}
@media(max-width:680px){body.ps66-dashboard .ps66-body :is(a.btn,button.btn,input.btn){white-space:normal;text-align:center}body.ps66-dashboard .ps66-body .btn + .btn{margin-left:0!important}}
.ps69-token-field[hidden],.ps69-password-field[hidden]{display:none!important}

.ps69-token-field[hidden],.ps69-password-field[hidden]{display:none!important}

/* Components migrated from v70-admin.css */
/* v7 consistent controls, toolbar layout and usage panels */
.ps66-shell:has(~ .never){height:auto}.ps66-shell .btn,.ps66-shell button.btn,.ps66-shell .ps66-primary,.ps66-shell .ps66-secondary{min-height:35px!important;height:auto!important;line-height:1.35!important;padding:8px 14px!important;margin-bottom:9px!important;vertical-align:middle}.ps66-shell form{margin-bottom:12px}.ps66-shell form .btn+.btn,.ps66-shell a.btn+.btn,.ps66-shell .btn+a.btn{margin-left:9px}.ps66-shell .ps66-welcome-links{display:flex;gap:12px;flex-wrap:wrap}.ps66-shell .ps66-welcome-links a{margin-bottom:8px}.ps66-shell .ps68-savebar{display:flex;flex-wrap:wrap;gap:12px}.ps70-usage{margin:20px 0;padding:18px 22px;border:1px solid #dce8ef;border-radius:13px;background:#fff}.ps70-usage-item{margin:13px 0}.ps70-usage-item>div:first-child{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.ps70-meter{height:9px;background:#edf4f7;border-radius:99px;overflow:hidden;margin:10px 0}.ps70-meter i{display:block;height:100%;background:var(--ps66-accent,#087469);border-radius:inherit}.ps70-stars{color:#b57e22;font-size:18px}.ps70-cta{padding:34px;border-radius:18px;background:#f0f7fa}.ps66-shell .ps68-inline-check{display:inline-flex!important;align-items:center;gap:8px}.ps66-shell .ps68-inline-check input{width:auto!important;margin:0!important}.ps66-shell .ps68-inline-check span{display:inline!important}.ps70-palette{display:flex;gap:9px;flex-wrap:wrap;margin-top:10px}.ps70-palette label{border:1px solid #dce8ef;border-radius:8px;padding:6px 10px}.ps66-shell .ps70-topbar-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.ps70-topbar-controls label{display:flex;align-items:center;gap:8px}.ps70-topbar-controls input{width:auto!important}.ps70-bar+.ps66-shell .ps66-sidebar,.ps70-bar+.ps66-shell .ps66-main{height:calc(100vh - 43px)}@media(max-width:680px){.ps66-shell .btn{white-space:normal}.ps66-shell .ps66-welcome-links{gap:8px}.ps66-shell .ps68-savebar{gap:10px}.ps70-usage{padding:12px}}

/* v7.1: real per-plan edit controls */
.ps66-shell .ps71-plan-list .ps71-plan-edit{display:inline-flex;min-height:32px!important;padding:6px 12px!important;font-size:12px!important;margin:0!important;white-space:nowrap}
.ps66-shell .ps71-plan-selected{background:#eef8f6}
.ps66-shell .ps71-plan-features{font-size:12px;color:#667d86}
.ps66-shell .ps71-plan-editor-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.ps66-shell .ps71-plan-checks{display:flex;gap:12px 20px;flex-wrap:wrap;margin:12px 0 20px}
.ps66-shell .ps71-plan-checks label{display:inline-flex;align-items:center;gap:8px;font-size:13px}
.ps66-shell .ps71-plan-checks input{margin:0!important;width:auto!important;height:auto!important}
.ps66-shell .ps71-plan-editor input[type=number],.ps66-shell .ps71-plan-create input[type=number]{min-width:0}
@media(max-width:650px){.ps66-shell .ps71-plan-list{min-width:750px}.ps66-shell .ps71-plan-editor-header{align-items:stretch}}

.ps66-shell .ps71-cpanel-note,.ps66-shell .ps71-cpanel-guide{border-radius:10px;padding:12px 16px;margin:16px 0;background:#f4f9fa;border:1px solid #dbe6e9;font-size:13px;line-height:1.6}.ps66-shell .ps71-cpanel-guide h3{margin:0 0 8px;font-size:16px}.ps66-shell .ps71-cpanel-guide p{margin:8px 0}

/* Components migrated from v76-storage.css */
/* Scoped PubSpace SaaS v7.6 platform/publisher resource overview */
.ps76-storage-overview{margin:22px 0;padding:24px}
.ps76-storage-overview h2,.ps76-editorial h2{margin:0 0 14px;font-size:1.35rem}
.ps76-storage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
.ps76-storage-grid>div,.ps76-stat{border:1px solid #dae3ec;background:linear-gradient(145deg,#fff,#f4f8fb);border-radius:14px;padding:18px;min-width:0}
.ps76-storage-grid small{display:block;color:#52677d;line-height:1.4}
.ps76-storage-grid strong{font-size:1.35rem;display:block;margin-top:8px;color:#103b54}
.ps76-storage-overview>p{margin:15px 0 0}
.ps76-editorial{margin:26px 0}.ps76-section-heading p{color:#52677d;margin:0 0 14px}
.ps76-editorial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ps76-stat{display:flex;gap:15px;align-items:flex-start}
.ps76-stat .material-symbols-outlined{color:var(--ps67-brand,#0b6b69);font-size:28px;background:#e8f5f5;border-radius:11px;padding:9px}
.ps76-stat small{display:block;color:#5c7081}.ps76-stat strong{display:block;font-size:1.9rem;line-height:1.2;margin:3px 0;color:#16364a}.ps76-stat p{font-size:.82rem;line-height:1.4;color:#65788a;margin:0}
.ps76-square-preview{width:108px;height:108px;object-fit:contain;background:#fff;border:1px solid #d5e1eb;border-radius:14px;padding:9px}
@media(max-width:1000px){.ps76-editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ps76-editorial-grid{grid-template-columns:1fr}.ps76-storage-overview{padding:16px}.ps76-storage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ps76-storage-grid strong{font-size:1.08rem}}

/* Components migrated from v761-toolbar-fix.css */
/* v7.6.1: Platform/Publisher SaaS dashboards reserve toolbar space explicitly.
   Adminbar output includes its own <link> and <script>, so the old adjacent-sibling
   .ps70-bar + .ps66-shell selector could never apply. The active marker is set on
   the shell only when the server actually rendered an authenticated toolbar. */
body.ps66-dashboard .ps66-shell.ps761-toolbar-active {
  margin-top:44px !important;
  padding-top:0 !important;
  min-height:calc(100vh - 44px) !important;
  min-height:calc(100dvh - 44px) !important;
}
body.ps66-dashboard .ps66-shell.ps761-toolbar-active > .ps66-sidebar {
  top:44px !important;
  height:calc(100vh - 44px) !important;
  height:calc(100dvh - 44px) !important;
}
body.ps66-dashboard .ps66-shell.ps761-toolbar-active .ps66-topbar {
  position:relative;
  z-index:1;
}
/* When the toolbar is disabled the shell has no active marker; no gap is reserved. */
@media (max-width:991px) {
  body.ps66-dashboard .ps66-shell.ps761-toolbar-active > .ps66-sidebar {
    top:44px !important;
    height:calc(100dvh - 44px) !important;
  }
}

/* Components migrated from v766-ui.css */
/* PubSpace v7.6.6 — SaaS automation, storage and scoped appearance */
.ps766-panel{background:#fff;border:1px solid #dce5eb;border-radius:16px;padding:24px;margin:18px 0;box-shadow:0 7px 25px #16283e09}
.ps766-panel h2,.ps766-panel h3{margin:0 0 11px;font-weight:720;color:#1b3443}.ps766-panel p{color:#516678;line-height:1.6}
.ps766-toggle{display:flex!important;align-items:center!important;gap:12px!important;border:1px solid #e1e8ed;border-radius:12px;padding:12px 16px;margin:12px 0;cursor:pointer;line-height:1.4}
.ps766-toggle input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important}
.ps766-track{display:block!important;flex:0 0 43px;width:43px;height:24px;border-radius:99px;background:#a1b1bc;position:relative;transition:background .18s}
.ps766-track:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:white;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .18s}
.ps766-toggle input:checked+.ps766-track{background:var(--ps66-accent,#087469)}.ps766-toggle input:checked+.ps766-track:after{transform:translateX(19px)}
.ps766-toggle input:focus-visible+.ps766-track{outline:3px solid #6eade0;outline-offset:3px}
.ps766-toggle span:last-child{min-width:0}.ps766-toggle b{display:block;font-size:13px}.ps766-toggle small{display:block;font-size:12px;color:#5a7180;margin-top:4px}
.ps766-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:19px 0}.ps766-card{padding:20px;border:1px solid #dee6ee;background:#fff;border-radius:14px;box-shadow:0 3px 15px #16283e08}.ps766-card small{display:block;color:#577084}.ps766-card strong{display:block;margin-top:9px;font-size:18px;overflow-wrap:anywhere}
.ps766-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.ps766-inner{border:1px solid #e5ecf1;border-radius:12px;padding:16px;min-width:0;display:flex;flex-direction:column;gap:10px}.ps766-inner h4{font-size:17px}.ps766-inner label:not(.ps766-toggle){display:block;font-weight:650;font-size:13px}.ps766-inner .form-control{margin-top:7px;width:100%;max-width:100%;height:39px}.ps766-inner .ps766-toggle{padding:10px;border:0;margin:0}.ps766-inner button{width:max-content;max-width:100%}.ps766-command{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:#0f2738;color:#e6f4fc;padding:17px 20px;border-radius:11px}
.ps766-storage-journals{padding:20px;border:1px solid #dce5eb;border-radius:14px;background:#fff;margin:18px 0}.ps766-section-title h3{font-size:17px;margin:0 0 5px}.ps766-section-title p{font-size:12px;color:#5c7383;margin:0 0 15px}.ps766-journal-storage-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.ps766-journal-storage-list>div{background:#f6f9fb;padding:11px 15px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.ps766-journal-storage-list strong{overflow-wrap:anywhere}.ps766-journal-storage-list span{white-space:nowrap;font-weight:750;color:var(--ps66-accent,#087469)}.ps766-storage-more{margin-top:13px}.ps766-storage-more summary{cursor:pointer;font-weight:700;color:var(--ps66-accent,#087469);padding:12px}.ps766-palette{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:11px;margin:20px 0}.ps766-palette label{border:1px solid #dbe6ec;padding:13px;border-radius:11px;display:flex;align-items:center;gap:9px;cursor:pointer}.ps766-palette i{width:26px;height:26px;border-radius:7px;border:1px solid #0002;flex:none}.ps766-palette input{width:auto!important;margin:0!important}.ps766-color-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.ps766-color-row>label:first-child{display:flex;align-items:center;gap:8px}.ps766-color-row input[type=color]{width:57px;height:40px}
/* Desktop sidebar: platform and publisher share branding but have independent color settings. */
.ps66-sidebar .ps66-brand{justify-content:center;margin:0 4px 5px;padding:11px}.ps66-sidebar .ps66-brand .ps766-logo-full{display:block!important;width:min(100%,190px)!important;height:70px!important;object-fit:contain!important;padding:7px!important;background:#fff!important;border-radius:10px!important}.ps66-sidebar .ps66-brand .ps766-logo-square{display:none!important}
.ps766-collapse{display:block;margin:0 9px 15px auto;background:#ffffff18;color:#fff;border:1px solid #ffffff35;border-radius:8px;padding:6px 12px;font-size:18px;cursor:pointer}.ps766-collapse:hover{background:#ffffff28}
@media(min-width:981px){body.ps766-collapsed .ps66-shell{grid-template-columns:78px minmax(0,1fr)}body.ps766-collapsed .ps66-sidebar{padding-left:6px;padding-right:6px}body.ps766-collapsed .ps66-sidebar .ps66-brand .ps766-logo-full{display:none!important}body.ps766-collapsed .ps66-sidebar .ps66-brand .ps766-logo-square{display:block!important;width:48px!important;height:48px!important;object-fit:contain!important;padding:4px!important;border-radius:9px!important;background:#fff!important}body.ps766-collapsed .ps66-sidebar .ps64-nav-group,body.ps766-collapsed .ps66-sidebar .ps66-sidebar-profile,body.ps766-collapsed .ps66-sidebar a:not(.ps66-brand) span{display:none!important}body.ps766-collapsed .ps66-sidebar a:not(.ps66-brand){display:flex;align-items:center;justify-content:center;padding:13px 5px;font-size:0}body.ps766-collapsed .ps66-sidebar a:not(.ps66-brand) .ps67-icon{width:21px;height:21px}body.ps766-collapsed .ps766-collapse{margin:8px auto 16px}}
@media(max-width:980px){.ps766-collapse{display:none}.ps766-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ps766-grid,.ps766-two,.ps766-journal-storage-list{grid-template-columns:minmax(0,1fr)}.ps766-panel{padding:16px}.ps766-journal-storage-list>div{flex-wrap:wrap}}
/* Native toggle styling for the older platform/publisher checkbox screens. */
.ps66-body .ps68-options input[type=checkbox],
.ps66-body .ps70-topbar-controls input[type=checkbox],
.ps66-body .ps71-plan-checks input[type=checkbox]{-webkit-appearance:none;appearance:none;position:relative;display:inline-block!important;width:42px!important;height:24px!important;min-width:42px!important;padding:0!important;margin:0 8px 0 0!important;border:0!important;border-radius:30px;background:#9fb1bd;vertical-align:middle;cursor:pointer;transition:background .18s}
.ps66-body .ps68-options input[type=checkbox]::before,
.ps66-body .ps70-topbar-controls input[type=checkbox]::before,
.ps66-body .ps71-plan-checks input[type=checkbox]::before{content:"";display:block;position:absolute;left:3px;top:3px;width:18px;height:18px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .18s}
.ps66-body .ps68-options input[type=checkbox]:checked,
.ps66-body .ps70-topbar-controls input[type=checkbox]:checked,
.ps66-body .ps71-plan-checks input[type=checkbox]:checked{background:var(--ps66-accent,#087469)}
.ps66-body .ps68-options input[type=checkbox]:checked::before,
.ps66-body .ps70-topbar-controls input[type=checkbox]:checked::before,
.ps66-body .ps71-plan-checks input[type=checkbox]:checked::before{transform:translateX(18px)}
.ps66-body .ps68-options input[type=checkbox]:focus-visible,
.ps66-body .ps70-topbar-controls input[type=checkbox]:focus-visible,
.ps66-body .ps71-plan-checks input[type=checkbox]:focus-visible{outline:3px solid #6eade0;outline-offset:3px}

/* Components migrated from v767-ui.css */
/* v7.7.0: accessible circular collapse control mounted on sidebar border. */
@media (min-width:981px) {
 .ps66-sidebar {padding-top:0!important;}
 .ps66-sidebar .ps66-brand {background:#fff!important;border-radius:0!important;margin:0 -16px 24px!important;padding:13px 17px!important;height:96px!important;box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;border-bottom:1px solid #e3ebef;}
 .ps66-sidebar .ps66-brand .ps766-logo-full {max-height:68px!important;height:auto!important;width:min(100%,205px)!important;object-fit:contain!important;padding:0!important;background:none!important;border-radius:0!important;}
 .ps66-sidebar .ps66-brand .ps766-logo-square {display:none!important;}
 .ps766-collapse {position:fixed!important;left:251px!important;top:110px!important;margin:0!important;width:34px!important;height:34px!important;border:1px solid #d6e2e7!important;border-radius:50%!important;background:#fff!important;color:var(--ps66-accent,#087469)!important;box-shadow:0 3px 12px #0f35421f!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;font-size:24px!important;padding:0!important;z-index:75!important;line-height:1!important;}
 .ps766-collapse:hover {box-shadow:0 4px 16px #0f35423c!important;}
 body.ps766-collapsed .ps66-sidebar .ps66-brand {margin:0 -6px 24px!important;padding:12px 7px!important;height:96px!important;}
 body.ps766-collapsed .ps66-sidebar .ps66-brand .ps766-logo-full {display:none!important;}
 body.ps766-collapsed .ps66-sidebar .ps66-brand .ps766-logo-square {display:block!important;width:52px!important;height:52px!important;max-width:100%!important;object-fit:contain!important;margin:0 auto!important;padding:0!important;border-radius:0!important;background:none!important;}
 body.ps766-collapsed .ps766-collapse {left:61px!important;top:110px!important;margin:0!important;}
 .ps766-collapse span {display:inline-flex;align-items:center;justify-content:center;font-size:27px;font-family:Arial,sans-serif;line-height:1;height:27px;}
 .ps66-sidebar .ps64-nav-group,.ps66-sidebar >a:not(.ps66-brand),.ps66-sidebar-profile{position:relative;}
 .ps66-shell.ps761-toolbar-active .ps766-collapse{top:154px!important;}
}
.ps767-brand-assets{display:grid;gap:16px;margin-top:20px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.ps767-brand-panel{background:white;border:1px solid #dce6e9;border-radius:14px;padding:20px;gap:10px}
.ps767-brand-panel h3{font-size:17px;margin:7px 0}.ps767-brand-panel p{font-size:13px;color:#607682;line-height:1.5}
.ps767-brand-preview{background:#f9fbfc;border:1px dashed #d9e5e8;border-radius:12px;display:grid;place-items:center;height:126px;margin-bottom:12px}
.ps767-brand-preview img{width:auto;max-width:100%;max-height:110px;object-fit:contain}
.ps767-brand-panel input[type=file]{max-width:100%;margin:10px 0}
.ps767-profile{max-width:950px}
.ps767-toggle-row{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #deeaed;border-radius:12px;margin-bottom:14px}
.ps767-toggle-row input[type=checkbox]{width:21px;height:21px;accent-color:var(--ps66-accent,#087469)}
.ps767-platform-card{border-radius:14px;border:1px solid #e1e8ed;background:white;padding:22px;margin-bottom:22px}
.ps767-platform-card h2{margin-top:0}
.ps767-platform-card p{color:#5d7380}
.ps767-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:14px}
.ps767-info-grid>div{background:#f5f9fa;border:1px solid #deebee;border-radius:12px;padding:14px}
.ps767-info-grid small{display:block;color:#5f7480;margin-bottom:8px}.ps767-info-grid strong{font-size:18px}

/* Components migrated from v780-ui.css */
/* PubSpace v7.8.1: repair v7.8.0 platform/publisher admin grid regression.
   The sidebar MUST remain an in-flow grid item on desktop. A fixed-position
   sidebar removes that grid item and makes .ps66-main occupy the 268px track. */
@media (min-width:981px) {
  .ps66-shell > .ps66-sidebar {
    position:sticky!important;
    align-self:start!important;
    grid-column:1!important;
    grid-row:1!important;
    top:0!important;
    height:100vh!important;
    height:100dvh!important;
    min-width:0!important;
    overflow-y:auto!important;
    scrollbar-width:thin;
  }
  .ps66-shell > .ps66-main {
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
  }
  /* The admin bar reserves 44px above the shell. Avoid hiding its sidebar. */
  .ps66-shell.ps761-toolbar-active > .ps66-sidebar {
    top:44px!important;
    height:calc(100vh - 44px)!important;
    height:calc(100dvh - 44px)!important;
  }
  /* The logo band stays visible while only the sidebar navigation scrolls. */
  .ps66-sidebar .ps66-brand {
    height:77px!important;
    min-height:77px!important;
    position:sticky!important;
    top:0!important;
    z-index:20!important;
    margin:0 -16px 18px!important;
    background:#fff!important;
    box-shadow:0 2px 8px #122f3912!important;
    padding:8px 14px!important;
    justify-content:center!important;
  }
  .ps66-sidebar .ps66-brand .ps766-logo-full {
    height:57px!important;
    max-height:57px!important;
    object-fit:contain!important;
  }
  .ps766-collapse {
    left:251px!important;
    top:88px!important;
    overflow:visible!important;
    font-size:21px!important;
  }
  .ps766-collapse .ps780-collapse-arrow {
    line-height:1;
    height:25px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .ps766-collapse .ps780-collapse-name {
    position:absolute;
    top:5px;
    left:42px;
    font-size:12px;
    white-space:nowrap;
    color:#546873;
    background:#fff;
    border-radius:7px;
    padding:4px 6px;
    box-shadow:0 1px 6px #213b521c;
  }
  body.ps766-collapsed .ps66-sidebar .ps66-brand {
    margin:0 -6px 18px!important;
    padding:8px!important;
    justify-content:center!important;
  }
  body.ps766-collapsed .ps66-sidebar .ps66-brand .ps766-logo-square {
    width:54px!important;
    height:54px!important;
    object-fit:contain!important;
    margin:0 auto!important;
  }
  body.ps766-collapsed .ps766-collapse {
    top:88px!important;
    left:61px!important;
  }
  body.ps766-collapsed .ps780-collapse-name {left:42px;}
  .ps66-shell.ps761-toolbar-active .ps766-collapse {top:132px!important;}
  body.ps766-collapsed .ps66-shell.ps761-toolbar-active .ps766-collapse {top:132px!important;}
}
/* Mobile: the navigation is intentionally a slide-out overlay, not a grid item. */
@media (max-width:980px) {
  .ps66-shell > .ps66-main {grid-column:1!important;min-width:0!important;width:100%!important;}
}
