/* Editorial presentation reuses Arcwize's typefaces, reading palette and house compositions. */
.editorial-render{max-width:1160px;margin:auto;padding:44px 36px 72px;color:var(--ink);background:var(--paper)}
.editorial-render .article-head{padding:0;max-width:850px;margin:0 auto 32px}
.editorial-render .article-head h1{font-family:var(--fashion);font-size:clamp(36px,5.2vw,74px);line-height:1.05;letter-spacing:-.035em}
.editorial-render .article-head .dek{max-width:760px;font-size:clamp(19px,2.3vw,25px);line-height:1.5}
.editorial-render .editorial-copy{padding:0;margin:32px auto 0;max-width:780px;font:20px/1.8 var(--serif);display:flow-root;overflow-wrap:anywhere}
.editorial-copy h2,.editorial-copy h3{font:bold 26px/1.3 var(--serif);margin:32px 0 16px;break-after:avoid}
.editorial-copy p{margin:0 0 24px}.editorial-copy blockquote{break-inside:avoid;font:italic 28px/1.5 var(--serif);border-left:2px solid currentColor;margin:32px 0;padding:8px 24px}
/* House treatments apply to rendered content, including ordinary pasted articles. */
.editorial-copy .layout-dropcap:not(:empty)::first-letter{float:left;font:500 70px/.9 var(--fashion);padding:8px 7px 0 0}
.editorial-copy .design-subtitle{font:italic 24px/1.5 var(--serif);margin-bottom:30px}
.editorial-copy .layout-bold{font:800 clamp(30px,4vw,56px)/1.05 Inter,Arial,sans-serif;letter-spacing:-.04em}
.editorial-copy .design-display{font:500 clamp(30px,4vw,48px)/1.15 var(--fashion)}
.editorial-copy .layout-quote{font:600 28px/1.25 var(--fashion);border:0;padding:18px 0;margin:22px 0}
.editorial-copy .layout-quote::before{content:'“';display:block;font-size:60px;line-height:.7}
.editorial-copy .layout-question{font:700 17px/1.5 Inter,Arial,sans-serif;margin:26px 0 10px}
.editorial-copy .layout-dedication{font:italic 26px/1.5 var(--fashion);text-align:center;max-width:850px;margin:20px auto 45px}
.editorial-photo{margin:30px 0;break-inside:avoid;max-width:100%;height:auto}
.editorial-photo img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:#f0f0ed}
.editorial-photo .caption{font:12px/1.6 Inter,Arial,sans-serif;margin:10px 0;color:#666}
.editorial-photo .caption a{text-decoration:underline}.editorial-opening>.editorial-photo{max-width:100%;margin:28px auto}
.editorial-missing{display:grid;place-items:center;min-height:200px;padding:28px;border:1px dashed #a5b3b9;background:#eff2f1;color:#536970;text-align:center;font:14px/1.6 Inter,Arial,sans-serif}
.editorial-layout-feature .editorial-opening,.editorial-layout-profile .editorial-opening,.editorial-layout-interview .editorial-opening{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:42px;align-items:center}
.editorial-layout-feature .editorial-opening>.editorial-photo,.editorial-layout-profile .editorial-opening>.editorial-photo,.editorial-layout-interview .editorial-opening>.editorial-photo{margin:0;width:100%}
.editorial-layout-feature .editorial-opening img,.editorial-layout-profile .editorial-opening img,.editorial-layout-interview .editorial-opening img{max-height:650px}
.editorial-layout-interview .editorial-opening .article-head{grid-column:2;grid-row:1}.editorial-layout-interview .editorial-opening>.editorial-photo{grid-column:1;grid-row:1}
.editorial-layout-feature .editorial-copy,.editorial-layout-profile .editorial-copy,.editorial-layout-culture .editorial-copy,.editorial-layout-interview .editorial-copy{max-width:950px}
.editorial-layout-feature .editorial-photo-left,.editorial-layout-profile .editorial-photo-left,.editorial-layout-culture .editorial-photo-left,.editorial-layout-interview .editorial-photo-left{float:left;width:42%;margin:15px 32px 24px 0;clear:both}
.editorial-layout-feature .editorial-photo-right,.editorial-layout-profile .editorial-photo-right,.editorial-layout-culture .editorial-photo-right,.editorial-layout-interview .editorial-photo-right{float:right;width:42%;margin:15px 0 24px 32px;clear:both}
.editorial-layout-news .editorial-copy{max-width:960px;columns:2;column-gap:42px}.editorial-layout-news .editorial-photo{column-span:all;max-width:100%;clear:both}
.editorial-layout-tribute .article-head{text-align:center}.editorial-layout-tribute .editorial-opening>.editorial-photo{max-width:420px}.editorial-layout-tribute .editorial-copy{max-width:1000px;columns:3;column-gap:32px;font-size:18px}
.editorial-layout-tribute .editorial-photo{column-span:all;max-width:620px;margin:28px auto}
.editorial-layout-photo .editorial-opening>.editorial-photo{width:100%}.editorial-layout-photo .editorial-copy{max-width:1000px}.editorial-layout-photo .editorial-copy>.editorial-photo{margin:48px 0;clear:both}
.editorial-layout-culture .article-head{max-width:1000px}.editorial-layout-culture .editorial-opening>.editorial-photo{max-width:650px}
.editorial-layout-blank .editorial-copy,.editorial-layout-original .editorial-copy{max-width:780px}
.editorial-selector{--layout-text:var(--glass-text,#182b35);--layout-muted:var(--glass-muted,#536970);--layout-edge:var(--glass-edge,#ced8dc);color:var(--layout-text);background:#24343e;border:1px solid var(--layout-edge);border-radius:20px;padding:0;width:min(1460px,96vw);height:94dvh;max-height:94dvh;max-width:96vw;box-shadow:0 24px 100px #0005}
.editorial-selector[open]{display:flex;flex-direction:column}.editorial-selector::backdrop{background:#09131e99;backdrop-filter:blur(8px)}
body[data-glass-theme=light] .editorial-selector{background:#edf3f4}
.layout-selector-head{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:26px 30px;border-bottom:1px solid var(--layout-edge)}
.layout-selector-head h2{font:500 36px/1.2 var(--fashion);margin:8px 0}.layout-selector-head p{font:13px/1.6 Inter,Arial;margin:0;color:var(--layout-muted)}
.layout-selector-body{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:0;flex:1}
.layout-selector-options{overflow:auto;padding:20px;border-right:1px solid var(--layout-edge)}.layout-template-list{display:grid;gap:12px}
.layout-option{padding:12px;border:1px solid var(--layout-edge);border-radius:12px;background:var(--glass-inset,#fff);color:inherit;text-align:left;display:grid;gap:8px}
.layout-option[aria-pressed=true]{border:2px solid var(--glass-accent,#30566b);padding:11px;background:var(--glass-selected,#e6edf0)}
.layout-option strong{font:500 20px var(--fashion)}.layout-option>span{font:11px/1.6 Inter,Arial;color:var(--layout-muted)}
.layout-option .template-mini{height:98px;padding:10px;gap:6px;border-radius:6px;pointer-events:none}.layout-option .template-mini span{height:35px}.layout-option .template-mini .mini-head{height:12px}.layout-option .mini-feature .mini-head,.layout-option .mini-profile .mini-head{height:50px}.layout-option .template-mini .mini-image{height:48px}
.layout-preview-area{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--glass-inset,#dce3e5)}
.layout-preview-tools{padding:14px 20px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.layout-preview-tools strong{margin-right:auto}
.layout-preview-panes{display:flex;gap:12px;flex:1;min-height:0;padding:0 16px 16px;overflow:auto;align-items:stretch;justify-content:center}
.layout-preview-panes iframe{width:100%;min-width:0;border:0;background:white;border-radius:4px}.layout-preview-panes iframe[hidden]{display:none}.layout-preview-panes iframe.mobile{width:390px;max-width:100%;flex-shrink:0}
.layout-selector-footer{padding:14px 24px;border-top:1px solid var(--layout-edge);display:flex;gap:12px;justify-content:space-between;align-items:center;font:11px/1.5 Inter,Arial}
.layout-selector-footer>div{display:flex;gap:8px;flex-wrap:wrap}.layout-selector-footer>span{max-width:260px;color:var(--layout-muted)}
.layout-media-panel{margin-top:22px;font:12px/1.6 Inter,Arial}.layout-media-panel summary{font-weight:600;cursor:pointer}.layout-media-panel>p{color:var(--layout-muted);margin:12px 0}
.layout-photo-form{display:grid;gap:10px;border-top:1px solid var(--layout-edge);padding:20px 0}.layout-photo-form label{display:grid;gap:5px}.layout-photo-form img{max-height:180px;object-fit:contain;width:100%}
.layout-photo-form :is(input,select){background:var(--glass-inset,#fff);color:inherit;border:1px solid var(--layout-edge);border-radius:6px;padding:9px;min-width:0;width:100%}
.layout-photo-form .upload{padding:10px;margin:0}.layout-media-placeholder{padding:24px;background:var(--glass-inset,#dfe8ea);border:1px dashed var(--layout-edge);text-align:center}
.editorial-selector button:focus-visible,.editorial-selector input:focus-visible,.editorial-selector select:focus-visible{outline:2px solid var(--glass-accent,#30566b);outline-offset:3px}
@media(max-width:740px){
 html{overflow-x:clip;overscroll-behavior-x:none}
 body{max-inline-size:100%;overflow-x:clip;overscroll-behavior-x:none}
 body.workspace-mode.glass-dashboard #app:has(.review-layout),body.workspace-mode.glass-dashboard #app:has(.editor-layout){touch-action:pan-y pinch-zoom}
 .editorial-render,.article-template-page{min-inline-size:0;max-inline-size:100%;touch-action:pan-y pinch-zoom;overflow-wrap:anywhere}
 .editorial-opening>*{min-inline-size:0}
 .editorial-copy table{width:100%;table-layout:fixed}
 .editorial-copy :is(td,th){overflow-wrap:anywhere}
 .article-page .card-grid,.editorial-render+.wrap .card-grid{grid-template-columns:minmax(0,1fr)!important}
 .editorial-copy .layout-dropcap:not(:empty)::first-letter{font-size:60px;padding-top:7px}
 .editorial-render{padding:28px 22px 48px}.editorial-render .editorial-copy{font-size:18px;line-height:1.75;columns:1}.editorial-render .editorial-opening{display:flex;flex-direction:column;gap:18px}.editorial-render .article-head{width:100%;margin-bottom:12px}
 .editorial-render .editorial-copy>.editorial-photo{float:none;width:100%;margin:28px 0}.editorial-copy h2,.editorial-copy h3{font-size:23px}.editorial-copy blockquote{font-size:23px;padding-left:20px}
 .editorial-selector{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.layout-selector-head{padding:16px 18px}.layout-selector-head h2{font-size:27px}
 .editorial-selector{overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
 .layout-selector-body{display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;min-width:0;overscroll-behavior-x:none}.layout-selector-options{max-height:35%;min-height:140px;min-width:0;overflow-x:hidden;overflow-y:auto;border-right:0;border-bottom:1px solid var(--layout-edge);padding:12px}.layout-template-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.layout-option{min-width:0;width:100%;overflow-wrap:anywhere}.layout-option>span{display:none}.layout-option .template-mini{height:60px}
 .layout-preview-area{min-height:420px;flex:1}.layout-preview-tools{padding:10px;font-size:11px}.layout-preview-panes{padding:0 8px 8px;flex-direction:column;overflow-x:hidden;overflow-y:auto;justify-content:flex-start;overscroll-behavior-x:none}.layout-preview-panes iframe,.layout-preview-panes iframe.mobile{width:100%;max-width:100%;min-height:360px;flex:1 0 360px}.layout-selector-footer{padding:10px;display:block}.layout-selector-footer>span{display:block;max-width:none;margin-bottom:8px}.layout-selector-footer .button{font-size:10px;padding:7px}.layout-media-panel[open]{min-height:400px}
}

.editorial-layout-feature .article-head,.editorial-layout-profile .article-head,.editorial-layout-interview .article-head{text-align:left}
