:root{color-scheme:light;--ink:#202d39;--muted:#6c7985;--line:#e1e7eb;--paper:#fff;--bg:#f4f6f8;--accent:#176b60;--tint:#e8f3ef;--sidebar:242px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.55}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button,summary{cursor:pointer}a,button,input,textarea,select,summary{outline-offset:4px}:focus-visible{outline:3px solid #259a88}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin-bottom:0}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:16px}p{margin-bottom:14px}small{font-size:12px}fieldset{border:0;padding:0;margin:0;min-width:0}label{display:block;font-size:13px;font-weight:600;margin-bottom:18px}label small{display:block;font-weight:400;color:var(--muted);margin-top:6px}input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid #cdd7de;border-radius:7px;padding:11px 12px;background:white;color:var(--ink);margin-top:7px;min-height:44px}textarea{resize:vertical;line-height:1.7}input[readonly],fieldset:disabled input,fieldset:disabled textarea,fieldset:disabled select{background:#f7f8fa;color:#60707d}input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);vertical-align:middle;margin-right:8px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 17px;border-radius:7px;border:1px solid #ccd7dd;background:white;color:var(--ink);font-weight:600;font-size:13px;gap:6px;text-align:center}.button:hover{background:#eef3f3;text-decoration:none}.button.primary{background:var(--accent);color:white;border-color:var(--accent)}.button.primary:hover{background:#115248}.button:disabled{opacity:.5;cursor:not-allowed}.text-button{border:0;background:none;color:var(--muted);padding:12px 3px;font-size:12px}.skip-link{position:fixed;top:-80px;left:10px;padding:12px;background:white;z-index:20}.skip-link:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:32px 22px 22px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5;overflow-y:auto}.studio-brand{display:flex;gap:11px;align-items:center;color:var(--ink);font-size:14px;font-weight:750;line-height:1.5;white-space:nowrap}.studio-brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:35px;height:40px;background:var(--ink);color:white;font-family:Georgia,serif;font-size:29px}.studio-brand small{display:block;font-size:9px;letter-spacing:2.2px;color:var(--muted);font-weight:600}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#94a0a9;margin:42px 12px 12px}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:13px;padding:12px 13px;color:#667480;border-radius:7px;font-weight:550}.sidebar nav a:hover{background:#f3f6f6;text-decoration:none}.sidebar nav a[aria-current]{background:var(--tint);color:var(--accent)}.nav-dot{width:13px;height:13px;border:1.5px solid currentColor;border-radius:4px;opacity:.8}.sidebar-bottom{margin-top:auto;padding:40px 12px 4px;font-size:12px}.sidebar-bottom p{color:var(--muted);margin-bottom:8px}.studio-body{margin-left:var(--sidebar);min-width:0}.studio-topbar{position:sticky;top:0;z-index:4;min-height:80px;background:#fffffff5;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:14px 38px;gap:18px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#bdc5cd}.breadcrumb strong{font-weight:550;color:var(--ink)}.profile{display:flex;align-items:center;gap:11px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e5ede9;color:var(--accent);font-weight:700}.profile-name{font-size:12px;font-weight:600}.profile-name small{display:block;font-size:9px;letter-spacing:.5px;color:var(--muted)}.profile form{margin-left:8px}.workspace{max-width:1550px;margin:auto;padding:34px 38px 50px;min-height:calc(100vh - 150px)}.workspace-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted);margin-bottom:8px}.page-intro{color:var(--muted);max-width:850px;margin-bottom:25px}.welcome-panel{display:grid;grid-template-columns:1fr 230px;gap:30px;align-items:center;padding:34px 38px;background:#e9f0eb;border:1px solid #dce6df;border-radius:12px;margin-bottom:26px;overflow:hidden}.welcome-panel h2{font-family:Georgia,serif;font-size:34px;letter-spacing:-1px;line-height:1.2;max-width:450px;margin-bottom:14px}.welcome-panel p:not(.eyebrow){color:#63756d;max-width:470px;margin-bottom:22px}.welcome-panel .eyebrow{color:#6d8375}.editorial-art{transform:rotate(-6deg);background:#fffdf5;padding:22px 24px 18px;box-shadow:10px 10px 0 #becfc0;position:relative;color:#234b3f;max-width:200px}.editorial-art>span{font-family:Georgia,serif;font-size:31px;line-height:1.05;display:block;font-weight:bold;border-top:3px solid #234b3f;padding-top:9px;letter-spacing:-1px}.art-line{display:block;width:100%;height:3px;background:#d69f55;margin:12px 0}.editorial-art small{font-size:8px;letter-spacing:1px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat-card{padding:20px 23px;background:white;border:1px solid var(--line);border-radius:10px;color:var(--ink)}.stat-card:hover{border-color:#81ac9f;text-decoration:none}.stat-card>span{font-size:12px;color:var(--muted)}.stat-card strong{display:block;font-size:32px;letter-spacing:-1px;font-weight:650;margin:5px 0}.stat-card small{color:var(--accent);font-size:11px}.panel{background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:24px;padding:24px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:19px}.panel-heading h2{margin:0}.panel-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}.panel-heading>a{font-size:12px;font-weight:600;white-space:nowrap}.table-scroll{overflow-x:auto;max-width:100%;border-radius:6px}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{color:var(--muted);font-size:10px;letter-spacing:.6px;font-weight:600;text-transform:uppercase;background:#f7f9fa;white-space:nowrap}th,td{padding:15px 14px;border-bottom:1px solid #edf0f2}td{vertical-align:middle}tbody tr:last-child td{border-bottom:0}.story-cell{min-width:220px;max-width:440px}.story-cell>a{font-size:13px;font-weight:600;color:var(--ink)}.story-cell small{display:block;color:var(--muted);margin-top:5px}.nowrap{white-space:nowrap;color:var(--muted)}.badge{display:inline-block;border-radius:5px;background:#edf0f3;color:#677584;padding:4px 8px;font-size:10px;font-weight:650;white-space:nowrap}.badge-published,.badge-visible,.badge-active{color:#247252;background:#e8f4eb}.badge-in_review,.badge-pending{color:#9d6a1a;background:#fcf2d9}.badge-scheduled{color:#386aa8;background:#edf3ff}.badge-rejected,.badge-hidden{color:#a95151;background:#fbeaea}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tool-card{border:1px solid var(--line);border-radius:7px;padding:20px;color:var(--ink)}.tool-card:hover{background:#f6faf8;text-decoration:none}.tool-card strong{font-size:13px;display:flex;justify-content:space-between}.tool-card p{font-size:12px;color:var(--muted);margin:9px 0 0}.filter-form{display:flex;align-items:end;gap:15px;margin-bottom:20px}.filter-form label{margin-bottom:0}.grow{flex:1}.filter-form select{min-width:170px}.empty{text-align:center;padding:50px 20px;color:var(--muted)}.empty h2{color:var(--ink)}.pager{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:24px;font-size:12px;color:var(--muted)}.notice{padding:15px 20px;border:1px solid #bbdccb;background:#eaf6ee;border-radius:8px;margin-bottom:22px}.notice.error{border-color:#e9bfbf;background:#fff0ef;color:#993e38}.muted{color:var(--muted);font-size:12px}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.preview-notice{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;font-size:12px;color:var(--muted)}.preview-notice .badge{margin-right:10px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.editor-main{padding:28px}.editor-main .headline-input{font-size:25px;letter-spacing:-.5px;font-weight:650;padding:14px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.check-row{display:flex;gap:20px;flex-wrap:wrap;margin:18px 0}.check-row label{margin:0;font-size:12px;font-weight:500}.editor-save{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.editor-aside .panel{padding:21px}.editor-aside h2{font-size:15px}.editor-aside .button{width:100%}.revision-list{list-style:none;padding:0;margin:0}.revision-list li{border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.revision-list small{display:block;color:var(--muted);font-size:10px;margin:4px 0}.revision-list p{margin-bottom:0;font-size:11px;overflow-wrap:anywhere}.format-toolbar{display:flex;gap:5px;flex-wrap:wrap;border:1px solid #cdd7de;border-radius:7px;padding:6px;background:#f8faf9;margin:12px 0 5px}.format-toolbar button{background:white;border:1px solid #dde4e8;border-radius:4px;padding:8px 12px;color:var(--ink)}#article-body{font-family:ui-monospace,Consolas,monospace;font-size:13px}#writing-status{margin-top:10px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.media-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:white;margin:0}.media-card img,.missing-image{width:100%;aspect-ratio:16/10;object-fit:cover;background:#e3e9ec}.missing-image{display:grid;place-items:center;color:var(--muted)}.media-card figcaption{padding:18px;font-size:12px}.media-card figcaption strong{display:block}.media-card figcaption p{color:var(--muted);margin:6px 0}.media-card figcaption small{color:#87939c;font-size:10px}.upload-panel summary{font-weight:600;padding:3px}.upload-panel form{margin-top:25px}.tabs{display:flex;gap:7px;margin-bottom:23px;overflow-x:auto}.tabs a{white-space:nowrap;padding:10px 16px;color:var(--muted);border-radius:7px;font-size:13px}.tabs a[aria-current]{background:var(--tint);color:var(--accent);font-weight:600}.moderation-card blockquote{margin:20px 0;padding:16px 20px;border-left:3px solid #c2d7ce;background:#f7faf8;overflow-wrap:anywhere}.review-item{padding:24px 0;border-top:1px solid var(--line)}.story-preview{max-width:900px;margin:0 auto;padding:45px 65px}.story-preview h1{font-family:Georgia,serif;font-size:42px;line-height:1.15;margin-bottom:20px}.story-deck{font-family:Georgia,serif;font-size:21px;line-height:1.5;color:#607078}.story-preview figure{margin:30px -20px}.story-preview figure img{width:100%}.story-preview figcaption{font-size:11px;color:var(--muted);margin-top:8px}.article-copy{font:19px/1.85 Georgia,serif;overflow-wrap:anywhere}.article-copy h2{font:700 26px/1.3 Georgia,serif}.article-copy h3{font:700 22px/1.3 Georgia,serif}.article-copy blockquote{border-left:3px solid var(--accent);padding-left:20px}.studio-footer{display:flex;justify-content:space-between;padding:22px 38px;border-top:1px solid var(--line);color:#8b969e;font-size:10px;gap:15px}.mobile-menu{display:none}.auth-workspace{max-width:520px;padding:50px 24px 70px;margin:auto;min-height:calc(100vh - 75px)}.auth-card{margin-top:45px;background:white;border:1px solid var(--line);border-radius:12px;padding:35px}.auth-card h1{font:34px/1.15 Georgia,serif;letter-spacing:-.8px;margin-bottom:20px}.auth-card>p{color:var(--muted)}.auth-card form{margin:27px 0}.auth-card .button{width:100%}.studio-auth .studio-footer{justify-content:center}.studio-auth .studio-footer span:last-child{display:none}
@media(min-width:1700px){:root{--sidebar:265px}.workspace{padding-top:45px}.welcome-panel{padding:40px 50px}}
@media(max-width:1200px){:root{--sidebar:215px}.sidebar{padding:28px 15px}.studio-topbar{padding:14px 24px}.workspace{padding:28px 24px}.editor-layout{grid-template-columns:minmax(0,1fr) 250px}.editor-main{padding:22px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-panel{grid-template-columns:1fr 170px;padding:28px}.editorial-art{padding:18px}.editorial-art>span{font-size:27px}.stat-grid{gap:12px}.stat-card{padding:17px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.editor-layout{grid-template-columns:1fr}.editor-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.editor-aside .panel{margin:0}.profile-name{display:none}.welcome-panel h2{font-size:29px}.welcome-panel{gap:20px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{display:none}.studio-body{margin-left:0}.studio-topbar{padding:10px 18px;min-height:65px}.breadcrumb{display:none}.mobile-menu{display:block}.mobile-menu summary{list-style:none;font-size:20px;padding:7px 5px}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu summary span{font-size:14px;font-weight:650;vertical-align:middle;margin-left:7px}.mobile-menu nav{position:absolute;left:12px;right:12px;top:64px;background:white;border:1px solid var(--line);border-radius:9px;padding:8px;box-shadow:0 18px 35px #202d3920;max-height:calc(100dvh - 90px);overflow-y:auto}.mobile-menu nav a{display:block;padding:13px 15px;color:var(--ink);border-radius:6px}.mobile-menu nav a[aria-current]{background:var(--tint);color:var(--accent)}.workspace{padding:25px 18px 35px}.workspace-heading{margin-bottom:22px;align-items:end}h1{font-size:26px}.workspace-heading .button{padding:10px 12px;font-size:12px}.welcome-panel{grid-template-columns:1fr 135px;padding:25px 22px}.welcome-panel h2{font-size:28px}.welcome-panel .eyebrow{font-size:8px}.editorial-art>span{font-size:24px}.editorial-art{padding:16px;box-shadow:7px 7px 0 #becfc0}.editorial-art small{font-size:6px}.welcome-panel p:not(.eyebrow){font-size:12px}.panel{padding:20px 17px}.filter-form{flex-wrap:wrap;gap:12px}.filter-form .grow{flex-basis:100%}.filter-form label:not(.grow){flex:1}.filter-form select{min-width:0}.media-grid{gap:15px}.studio-footer{padding:22px 18px}.studio-footer span:last-child{display:none}.preview-notice{align-items:start;flex-wrap:wrap}.story-preview{padding:28px 24px}.story-preview h1{font-size:34px}.story-preview figure{margin:25px -8px}.article-copy{font-size:18px}.auth-workspace{padding-top:30px}.auth-card{margin-top:28px;padding:27px}.auth-card h1{font-size:32px}}
@media(max-width:480px){.welcome-panel{grid-template-columns:1fr;position:relative}.welcome-panel>div:first-child{position:relative;z-index:1}.welcome-panel h2{max-width:240px}.welcome-panel .editorial-art{display:none}.tool-grid,.field-grid,.editor-aside{grid-template-columns:1fr}.stat-card{padding:16px}.stat-card strong{font-size:28px}.workspace-heading h1{font-size:24px}.eyebrow{font-size:9px}.button{min-height:44px}.media-grid{grid-template-columns:1fr}.editor-main .headline-input{font-size:22px}.editor-save{align-items:start;flex-direction:column}.editor-save .button{width:100%}.story-preview h1{font-size:30px}.story-deck{font-size:19px}.profile{gap:8px}.panel-heading{align-items:start}.panel-heading h2{font-size:16px}.tabs{gap:0}.tabs a{font-size:12px;padding:10px 12px}input:not([type=checkbox]),select,textarea{font-size:16px}.studio-footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

[hidden]{display:none!important}

/* Visual article composer */
.rich-controls{position:sticky;top:80px;z-index:2;background:var(--paper);padding:1px 0 7px}
.rich-controls .format-toolbar{margin:0;gap:6px;padding:7px;align-items:center}
.rich-controls .format-toolbar button,.rich-controls .format-toolbar select{margin:0;min-height:42px;border:1px solid #cdd7de;border-radius:5px;padding:7px 10px;font-size:13px;background:white}
.rich-controls .format-toolbar select{width:auto;max-width:100%}
.rich-controls .format-toolbar button:hover,.rich-controls .format-toolbar button[aria-pressed=true]{background:var(--tint);color:var(--accent);border-color:#9ac7b9}
.rich-link{margin:7px 0 0;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}
.rich-link label{margin-bottom:5px}.rich-link-fields{display:flex;flex-wrap:wrap;gap:8px}.rich-link-fields input:not([type=checkbox]){flex:1;min-width:min(100%,200px);margin:0}.rich-link p{margin:5px 0 0}.rich-link p:empty{display:none}
.article-composer{min-height:330px;border:1px solid #cdd7de;border-radius:8px;padding:20px 24px;background:var(--paper);position:relative;white-space:pre-wrap;line-height:1.65}
.article-composer p,.article-composer h2,.article-composer h3,.article-composer blockquote,.article-composer ol,.article-composer ul{margin:0 0 14px}.article-composer h2{font-size:26px}.article-composer h3{font-size:22px}.article-composer :last-child{margin-bottom:0}
.article-composer.is-empty:before{content:attr(data-placeholder);position:absolute;color:var(--muted);pointer-events:none;font-style:italic}
.article-composer a{text-decoration:underline}.article-composer[contenteditable]:focus{outline:2px solid var(--accent);outline-offset:2px}
#article-writing-error{margin:12px 0 0}
@media(max-width:760px){.rich-controls{top:65px}.article-composer{padding:16px;min-height:280px}.rich-controls .format-toolbar button,.rich-controls .format-toolbar select{min-height:44px}}

.article-cover{margin:22px 0 28px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#f8faf9}
.article-cover h2{margin-bottom:12px}.article-cover figure{margin:0 0 16px}.article-cover img{width:100%;max-height:360px;object-fit:contain;border-radius:6px;background:#e9eeeb}.article-cover figcaption{margin-top:7px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.article-cover figcaption:empty{display:none}
/* A compact seal balances the wordmark without crowding the sidebar. */
.studio-brand{gap:10px;white-space:normal;font-size:13px;line-height:1.45}
.studio-brand .brand-mark{display:block;width:30px;height:30px;flex:none;object-fit:contain;background:transparent;border-radius:50%}
.studio-brand small{font-size:8px;letter-spacing:1.8px;margin-top:3px}
.auth-workspace>.studio-brand{gap:12px;font-size:15px}
.auth-workspace>.studio-brand .brand-mark{width:40px;height:40px}

.editor-intro{color:var(--muted);margin:0 0 24px;line-height:1.6}
.editor-options{margin-top:18px;border:1px solid var(--line);border-radius:8px}
.editor-options>summary{padding:16px;cursor:pointer;font-weight:600;line-height:1.6}
.editor-options>summary .muted{display:block;font-weight:400;margin-left:15px}
.editor-options-body{padding:6px 18px 18px}
.editor-options .article-cover{margin:0;border:0;border-radius:0;background:transparent}
#article-cover-upload summary{font-weight:600;color:var(--accent);padding:8px 0}#article-cover-upload[open] summary{margin-bottom:10px}#article-cover-status{margin:10px 0 0}#article-cover-status:empty{display:none}
