/* Shared account and publishing workspace; public navigation stays unchanged. */
body:has(.account-dashboard){background:#fff}
body:has(.account-dashboard) main{max-width:1440px;width:100%;margin:0 auto;padding:0;min-height:calc(100vh - 210px);box-sizing:border-box}
.account-dashboard{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 210px)}
.account-sidebar{padding:36px 22px;background:#f4f9fc;border-right:1px solid #dce7ef}
.dashboard-identity{display:flex;flex-direction:column;gap:6px;padding:0 10px 26px;border-bottom:1px solid #dce7ef;overflow-wrap:anywhere}
.dashboard-identity strong{font-size:18px}.dashboard-identity span{color:#657489}
.account-sidebar nav{display:flex;flex-direction:column;gap:6px;margin-top:26px}
.account-sidebar nav h2{font:600 12px/1.5 Inter,'Segoe UI',sans-serif;text-transform:uppercase;letter-spacing:.09em;color:#657489;margin:0 10px 8px}
.account-sidebar nav a{display:flex;align-items:center;gap:12px;min-height:46px;padding:9px 12px;border-radius:5px;text-decoration:none;color:#34465d;box-sizing:border-box;border-left:3px solid transparent}
.account-sidebar nav a[aria-current=page]{background:#e3f3fc;border-left-color:#3298dc;color:#0875b2;font-weight:650}
.account-sidebar nav a:hover{background:#eaf5fc}.account-sidebar img{object-fit:contain}
.account-main{padding:42px 44px 60px;min-width:0;background:#fff}
.account-main h1{font-family:Georgia,serif;font-size:44px;line-height:1.15;font-weight:400;margin:0 0 14px;color:#142135}
.account-main h2{font-size:22px;margin-top:28px}.account-main>p,.dashboard-heading p{color:#657489;max-width:65ch;line-height:1.6}
.dashboard-heading p{font-size:19px;margin:0 0 30px}
.artifact-actions{display:flex;gap:14px;flex-wrap:wrap;margin:28px 0 42px}.artifact-actions .button{display:inline-flex;align-items:center;min-height:46px;padding:10px 22px}.artifact-actions .primary{color:#fff;background:#258fd0}
.artifact-table{border-collapse:collapse;width:100%;font-size:15px}.artifact-table th{text-align:left;font-weight:400;color:#657489;padding:14px 10px;border-bottom:1px solid #dce7ef}.artifact-table td{padding:24px 10px;border-bottom:1px solid #dce7ef;vertical-align:middle}.artifact-table td:first-child{width:65%}.artifact-table td:first-child img{vertical-align:middle;margin-right:18px}.artifact-table td:first-child>a{color:#182b42;text-decoration:none}.artifact-table td:nth-child(2){white-space:nowrap;color:#657489}.artifact-table td:last-child{text-align:right}.artifact-table .button{display:inline-block;color:#137ebd;min-width:74px;text-align:center}
.artifact-empty{padding:38px 0;border-top:1px solid #dce7ef}.artifact-empty h2{margin:0 0 8px}.dashboard-note{padding:14px 16px;background:#eff8fd;border-radius:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.account-main-settings .page-intro{margin:0 0 28px;padding:0}.account-main-settings #signedIn{max-width:720px}.account-main-settings form{background:none;box-shadow:none;border:0;border-radius:0;padding:0;margin:20px 0}.account-main-settings input:not([type=checkbox]){max-width:480px}.account-main-settings #identity,.account-main-settings #workspaceState{display:none}.account-main-settings #signedIn>h2:not(#identity){padding-top:25px;border-top:1px solid #dce7ef}.account-main-settings section[aria-label="Account session security"]{max-width:720px;margin-top:32px;padding-top:24px;border-top:1px solid #dce7ef}
.account-main-pages #editor,.account-main-pages #copy,.account-main-posts #admin{max-width:820px}.account-main form,.account-main fieldset{min-width:0;box-sizing:border-box}.account-main textarea,.account-main input:not([type=checkbox]),.account-main select{max-width:100%;box-sizing:border-box}.account-main-pages #fields{border:0;padding:0;display:grid;gap:18px}.account-main-pages #fields>div,.account-main-pages #fields>label{margin:0}.account-main-pages #copy{margin-top:24px}.account-main-pages #copy>button{margin:12px 8px 0 0}.account-main label{line-height:1.5}.account-main-pages #previewFrame{width:100%;min-height:650px}
.account-main-posts #newPost{padding:0 0 24px;border:0;border-bottom:1px solid #dce7ef;background:none;margin-bottom:26px}.account-main-posts #newPost h2{margin-top:12px}.account-main-posts #publicationFields{border:0;padding:20px 0}.account-main-posts #publicationFields>label{display:block;margin:18px 0}.account-main-posts #publicationFields>button{margin:8px 8px 8px 0}.account-main-posts #posts>div{padding:16px 0;border-bottom:1px solid #dce7ef}.article-draft{border-block:1px solid #dce7ef;margin:22px 0;padding:24px 0}.article-draft label{display:block;margin-bottom:18px}.article-draft textarea{width:100%;min-height:360px;line-height:1.7}.article-draft button{margin-right:10px}
.account-main a:focus-visible,.account-main button:focus-visible,.account-sidebar a:focus-visible{outline:3px solid #3298dc;outline-offset:3px}
@media(min-width:1440px){body:has(.account-dashboard) .preview-header,body:has(.account-dashboard) .preview-footer{padding-inline:max(28px,calc((100% - 1440px)/2 + 28px))}}
@media(max-width:850px){.account-dashboard{grid-template-columns:205px minmax(0,1fr)}.account-sidebar{padding:28px 12px}.account-main{padding:32px 24px}.account-main h1{font-size:36px}.artifact-table td:first-child img{display:none}}
@media(max-width:600px){.account-dashboard{display:block}.account-sidebar{padding:18px 20px;border-right:0;border-bottom:1px solid #dce7ef}.dashboard-identity{padding:0 0 12px;flex-direction:row;justify-content:space-between;gap:12px}.dashboard-identity strong{font-size:16px}.account-sidebar nav{margin-top:12px;flex-direction:row;flex-wrap:wrap;gap:4px}.account-sidebar nav h2{width:100%;margin:0 0 4px}.account-sidebar nav a{min-height:40px;padding:6px 8px;font-size:14px;gap:7px}.account-sidebar nav a img{width:18px;height:18px}.account-main{padding:28px 20px 44px}.account-main h1{font-size:34px}.dashboard-heading p{font-size:17px}.artifact-actions{margin:22px 0 28px;gap:8px}.artifact-actions .button{padding:8px 14px}.artifact-table th:nth-child(2),.artifact-table td:nth-child(2){display:none}.artifact-table td{padding:20px 4px}.artifact-table td:first-child{overflow-wrap:anywhere}.account-main-posts #newPost input{width:100%}}

@media(min-width:601px){.account-sidebar{position:sticky;top:0;align-self:start;min-height:calc(100vh - 96px);max-height:100vh;overflow:auto}}
.account-main-posts form.article-draft{border:0;border-top:1px solid #dce7ef;border-radius:0;box-shadow:none;padding:22px 0}
.account-main-pages .home-visibility-control{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:auto;max-width:100%;white-space:normal}
.account-main-pages .home-visibility-control input[type=checkbox]{width:18px;min-width:18px;max-width:18px;flex:0 0 18px;margin:0}
.account-main-pages #copy label:not(.home-visibility-control){display:block}
.account-main-pages #copy textarea,.account-main-pages #copy input:not([type=checkbox]){display:block;width:100%;margin-top:7px}
.account-main-pages #section{display:block;min-height:42px;width:100%;margin-top:8px}

/* Administrative authoring uses the screen, not the public reading-page frame. */
body:has(.admin-editor-workspace){--preview-page-width:100%}
body:has(.admin-editor-workspace)>main{max-width:none;width:100%;padding:0;margin:0}
body:has(.admin-editor-workspace) .preview-header{padding-inline:24px;min-height:64px}
body:has(.admin-editor-workspace) .preview-header .studio-brand-lockup{width:170px;height:54px}
body:has(.admin-editor-workspace) .preview-footer{padding-inline:24px}
body .account-dashboard.admin-editor-workspace{max-width:none;grid-template-columns:200px minmax(0,1fr)}
.admin-editor-workspace .account-sidebar{padding:24px 14px;font-size:14px}
.admin-editor-workspace .dashboard-identity{padding:0 10px 20px}
.admin-editor-workspace .dashboard-identity strong{font-size:16px}
.admin-editor-workspace .account-sidebar nav{margin-top:22px}
.admin-editor-workspace .account-sidebar nav a{padding:8px;gap:8px}
.admin-editor-workspace .account-main{padding:0 0 32px;max-width:none}
.admin-editor-workspace .account-main>p:empty{display:none}
.admin-editor-workspace .account-main>p:not(:empty){margin:12px 24px}
.admin-editor-workspace .account-main>details{margin:20px 24px}
.admin-editor-workspace .account-main-posts>h1{font-size:28px;margin:24px 24px 12px}
.admin-editor-workspace .account-main-posts #admin{max-width:none;padding:0 24px}
.admin-editor-workspace .account-main-posts #admin:has(.block-editor){padding:0}
.admin-editor-workspace .account-main-posts #admin>form:not(:has(.block-editor)),
.admin-editor-workspace .account-main-posts #admin>label,
.admin-editor-workspace .account-main-posts #admin>h2,
.admin-editor-workspace .account-main-posts #admin>#posts{margin-inline:24px}
.admin-editor-workspace .account-main-posts #publication{max-width:960px;width:auto}
.admin-editor-workspace .account-main-posts #posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
@media(max-width:1000px){.account-dashboard.admin-editor-workspace{grid-template-columns:170px minmax(0,1fr)}.admin-editor-workspace .account-sidebar{padding-inline:8px}}
@media(max-width:700px){.account-dashboard.admin-editor-workspace{display:block}.admin-editor-workspace .account-sidebar{position:static;min-height:0;max-height:none;padding:12px 16px}.admin-editor-workspace .account-sidebar nav{flex-direction:row;flex-wrap:wrap;margin-top:10px}.admin-editor-workspace .account-sidebar nav h2{width:100%}.admin-editor-workspace .account-sidebar nav a{min-height:36px}.admin-editor-workspace .dashboard-identity{padding-bottom:10px}}

.account-main-posts:has(.block-editor)>h1,.account-main-posts:has(.block-editor)>h1+p{display:none}
.account-main-posts:has(.block-editor)>#message{font-size:13px;padding:8px 20px;margin:0;max-width:none;border-bottom:1px solid #e0e9f0;background:#f5faff}

/* Shared-login welcome and plan comparison. */
.account-intro{font-size:18px;color:#52677c;margin:12px 0 30px}
.account-welcome{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.4fr);gap:24px;align-items:start}
.account-access,.account-plan-card{background:#fff;border:1px solid #d5e3ed;border-radius:8px;padding:28px;min-width:0}
.account-access-tabs{display:flex;border-bottom:1px solid #d5e3ed;margin-bottom:24px}
.account-access-tabs button{flex:1;border:0;border-radius:0;background:transparent;padding:14px 8px;color:#52677c;border-bottom:3px solid transparent}
.account-access-tabs button[aria-selected=true]{color:#0079b8;border-bottom-color:#1599d6;font-weight:650}
.account-access h2,.account-plan-card h2{margin:0 0 18px;font-size:24px}
.account-access p{line-height:1.65;margin-bottom:22px}
.account-login-button{width:100%;margin:4px 0 12px;min-height:46px}
.account-access .account-access-note,.plan-note{font-size:14px;line-height:1.65;color:#52677c}
.plan-table-scroll{overflow-x:auto;border-radius:4px}
.plan-comparison{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}
.plan-comparison th,.plan-comparison td{padding:14px 10px;border-bottom:1px solid #d5e3ed;text-align:center;vertical-align:middle}
.plan-comparison th:first-child{text-align:left;width:44%;font-weight:400}
.plan-comparison thead{background:#eaf6fc}
.plan-comparison thead th{font-weight:650;white-space:nowrap}
.plan-comparison thead span{display:block;font-size:12px;font-weight:400;margin-top:5px}
.account-welcome button:focus-visible,.account-welcome a:focus-visible,.plan-table-scroll:focus-visible{outline:3px solid #168ed0;outline-offset:3px}
@media(max-width:900px){.account-welcome{grid-template-columns:1fr}.account-access,.account-plan-card{padding:22px}}
@media(max-width:480px){.account-plan-card{padding:14px}.plan-comparison th,.plan-comparison td{padding:12px 6px;font-size:12px}.plan-comparison thead span{font-size:11px}}

.admin-metrics{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}.admin-metrics>div{flex:1;min-width:140px;background:#f2f9fd;border:1px solid #d4e5ee;border-radius:8px;padding:18px}.admin-metrics span,.admin-metrics strong{display:block}.admin-metrics strong{font-size:1.6rem;margin-top:8px}.admin-feature{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid #d4e5ee}.admin-feature label span{display:block;margin-top:6px}.admin-feature select{width:150px;flex-shrink:0}.admin-user-search{display:flex;gap:12px;align-items:end;margin:24px 0}.admin-user-table{overflow-x:auto;margin-bottom:20px}.admin-user-table table{width:100%;border-collapse:collapse}.admin-user-table th,.admin-user-table td{text-align:left;padding:12px;border-bottom:1px solid #d4e5ee}.admin-settings .muted{font-size:.9rem;color:#52677c}@media(max-width:600px){.admin-feature{align-items:start;flex-direction:column;gap:10px}}
