:root{--ink:#2d3e4c;--deep:#253744;--accent:#8b7156;--muted:#66727a;--line:#dce1df;--paper:#f4f6f3;--white:#fff;--error:#913e32;--green:#417260;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 var(--sans)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2rem,4vw,3.2rem)}h2{font-size:1.75rem}h3{font-size:1.2rem}p+p{margin-top:1rem}a{color:inherit;text-underline-offset:4px}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.46}a,button,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #bf9666;outline-offset:3px}input,textarea,select{width:100%;border:1px solid #aeb9b8;background:white;border-radius:3px;padding:.7rem .8rem;min-height:45px}textarea{resize:vertical;min-height:110px;line-height:1.6}input[type=number]{max-width:250px}label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.45rem}button:disabled:hover{transform:none}button,.button{border-radius:3px}.button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.75rem 1.15rem;min-height:45px;background:var(--ink);color:white;border:1px solid var(--ink);font-size:.875rem;line-height:1.35;text-align:center;text-decoration:none;font-weight:600;transition:background .15s}.button:hover:not(:disabled){background:#405b67}.button-outline{background:white;color:var(--ink);border-color:#aab7b7}.button-outline:hover:not(:disabled){background:#eef1ed}.button[aria-disabled=true]{opacity:.46;cursor:default}.text-button{padding:.2rem 0;background:none;border:0;border-bottom:1px solid currentColor;font-size:.875rem;text-align:left;border-radius:0;line-height:1.4}.text-button:hover{color:var(--accent)}.button-row{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}.eyebrow{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--accent);line-height:1.5}.field-help{font-size:.8rem;color:var(--muted);font-weight:400;margin-top:.35rem;line-height:1.55}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:absolute;top:-100px;left:1rem;z-index:100;background:white;padding:.8rem}.skip-link:focus{top:1rem}.boot-view{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem}.notice{padding:1rem 1.2rem;border:1px solid #c9dbd1;background:#eef5ef;color:#315d4c;font-size:.9rem;margin-bottom:1.2rem;border-radius:3px}.notice.is-error,.form-error{border-color:#e7c7bf;background:#fff2ee;color:var(--error)}.form-error{font-size:.9rem;border:1px solid #e7c7bf;padding:.8rem 1rem;margin:1rem 0;border-radius:3px}.notice.is-info{border-color:#d5dde3;background:#f0f4f7;color:var(--ink)}
.auth-view{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-intro{background:var(--ink);color:#fff;padding:clamp(2rem,6vw,6.5rem);display:flex;flex-direction:column;align-items:start;justify-content:center}.auth-brand{font-family:var(--serif);font-size:1.5rem;text-decoration:none;margin-bottom:5rem}.auth-intro .eyebrow{color:#c4b099;margin-bottom:1.3rem}.auth-intro h1{font-size:clamp(2.5rem,4.2vw,4.5rem);max-width:700px}.auth-intro>p:not(.eyebrow){color:#e2e8e8;max-width:440px;margin-top:1.5rem;font-size:.96rem;line-height:1.85}.auth-intro .subtle-link{font-size:.85rem;color:#d7e0de;margin-top:2rem}.auth-card{width:min(100%,520px);margin:auto;padding:3rem 2.7rem}.auth-card>.eyebrow{margin-bottom:1.2rem}.auth-card h2{font-size:2.1rem;margin-bottom:1rem}.auth-card h2+p{color:var(--muted);font-size:.92rem;margin-bottom:1.9rem}.auth-card label{margin-top:1.15rem}.auth-card form>.button{width:100%;margin-top:1.5rem}.auth-help{border-top:1px solid var(--line);padding-top:1.4rem;margin-top:1.7rem!important;font-size:.82rem;color:var(--muted)}.auth-card .text-button{margin-top:1.4rem}.auth-card>.notice{margin-top:1.5rem}
.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:var(--ink);color:#fff;padding:2.2rem 1.65rem;display:flex;flex-direction:column;z-index:30}.sidebar-brand{font-family:var(--serif);text-decoration:none;line-height:1.05;font-size:1.5rem;display:block;padding-left:.2rem}.sidebar-brand strong{display:block;font-weight:400;font-size:2.35rem}.sidebar-caption{font-size:.72rem;color:#c5d0d1;letter-spacing:.02em;margin-top:1.25rem}.editor-nav{display:flex;flex-direction:column;gap:.5rem;margin:2.7rem -.5rem 1rem}.editor-nav button{background:transparent;color:#dce4e4;border:0;display:flex;align-items:baseline;gap:.8rem;text-align:left;padding:.8rem .7rem;line-height:1.5;font-size:.86rem}.editor-nav button span{font-size:.65rem;letter-spacing:.05em;color:#9eb0b6}.editor-nav button[aria-current=page]{background:#ffffff12;color:white}.editor-nav button[aria-current=page] span{color:#d7c1a8}.editor-nav button:hover{background:#ffffff0b}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff24;padding-top:1.5rem}.sidebar-bottom a{font-size:.8rem;color:#fff;text-decoration:none;display:flex;justify-content:space-between;align-items:center;gap:.7rem}.sidebar-bottom a:hover{text-decoration:underline}.sidebar-bottom p{font-size:.72rem;line-height:1.8;color:#adbdc2;margin-top:1.3rem}.workspace-shell{margin-left:235px;min-height:100vh;display:flex;flex-direction:column}.topbar{background:#fff;border-bottom:1px solid var(--line);padding:1.1rem clamp(1.3rem,3.5vw,4.5rem);display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:84px}.topbar .eyebrow{font-size:.6rem;margin-bottom:.2rem}.topbar p:not(.eyebrow){font-size:.87rem}.account-actions{display:flex;align-items:center;gap:1.3rem;font-size:.85rem}.account-actions>span{font-weight:600}.account-actions .text-button{font-size:.78rem;color:var(--muted)}.workspace{max-width:1620px;width:100%;padding:2.6rem clamp(1.3rem,3.5vw,4.5rem) 4rem;margin:auto;flex:1}.workspace-heading{display:flex;align-items:end;justify-content:space-between;gap:1.5rem;margin-bottom:2.1rem}.workspace-heading h1{margin-top:.7rem}.workspace-heading>p{color:var(--muted);font-size:.87rem;line-height:1.7}.action-toolbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;background:#fff;padding:1.1rem 1.2rem;border:1px solid var(--line);border-radius:4px;margin-bottom:1.8rem;box-shadow:0 6px 15px #2d3e4c04}.toolbar-buttons{display:flex;gap:.55rem;flex-wrap:wrap;justify-content:end}.toolbar-buttons .button{font-size:.78rem;padding:.7rem .8rem;min-height:42px}.draft-indicator{display:flex;align-items:start;gap:.6rem;min-width:170px}.draft-indicator>span{width:7px;height:7px;border-radius:50%;background:var(--green);margin-top:.47rem;flex-shrink:0}.draft-indicator>span.is-dirty{background:#b18a4d}.draft-indicator>span.is-conflict{background:var(--error)}.draft-indicator strong{display:block;font-size:.79rem;line-height:1.5}.draft-indicator div>span{display:block;font-size:.69rem;color:var(--muted);line-height:1.5;margin-top:.15rem;max-width:225px}.panel-intro{color:var(--muted);font-size:.91rem;max-width:760px;margin-bottom:1.6rem}.field-section{background:#fff;padding:1.8rem 2rem;border:1px solid var(--line);border-radius:4px;margin-bottom:1.3rem}.field-section>h2{font-size:1.6rem;margin-bottom:1.5rem}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem 1.6rem}.setting-field.is-wide{grid-column:1/-1}.setting-field textarea{min-height:120px}.field-heading{display:flex;justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:.45rem}.field-heading label{margin:0}.character-count{font-size:.67rem;color:#82908f;white-space:nowrap}.number-setting{display:flex;align-items:center;gap:.6rem}.number-setting input{width:100%;max-width:220px}.cover-preview{margin:1rem 0 0;max-width:320px}.cover-preview img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:3px}.cover-preview figcaption{font-size:.75rem;color:var(--muted);margin-top:.4rem}.conflict-banner{padding:1.3rem 1.5rem;border:1px solid #dfb795;background:#fff4e8;margin-bottom:1.5rem;border-radius:4px}.conflict-banner h2{font:600 .96rem/1.5 var(--sans);letter-spacing:0;margin-bottom:.5rem}.conflict-banner p{font-size:.86rem;color:#755338;max-width:860px}.conflict-banner .button-row{margin-top:1rem}.conflict-banner .button{font-size:.78rem;min-height:40px;padding:.65rem .9rem}.conflict-banner .text-button{font-size:.78rem}
.upload-section{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;margin-top:1.5rem}.upload-section h2{margin:.65rem 0}.upload-section p:not(.eyebrow){font-size:.85rem;color:var(--muted);max-width:380px}.upload-section input[type=file]{font-size:.8rem;padding:.6rem;min-height:45px}.upload-section input[type=file]::file-selector-button{background:#edf1ed;border:0;border-radius:2px;color:var(--ink);padding:.5rem .65rem;margin-right:.65rem;font:inherit;cursor:pointer}.upload-section form>.button{margin-top:1rem;min-height:40px;font-size:.8rem}.gallery-toolbar{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin:2rem 0 1.3rem}.gallery-toolbar h2{font-size:1.75rem}.gallery-toolbar label{font-size:.7rem;font-weight:400;color:var(--muted);margin:0;min-width:180px}.gallery-toolbar select{display:block;font-size:.8rem;margin-top:.25rem;padding:.5rem .6rem;min-height:40px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem}.photo-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:4px;overflow:hidden}.photo-card.is-hidden{background:#f9faf8}.photo-image{position:relative;background:#e6ebe7}.photo-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.photo-card.is-hidden .photo-image img{opacity:.42;filter:grayscale(.45)}.photo-badge{position:absolute;left:.65rem;top:.65rem;background:#fffef1ed;border-radius:2px;padding:.22rem .45rem;font-size:.65rem;font-weight:600}.photo-badge.is-hidden{background:#2d3e4c;color:white}.photo-card-body{padding:1rem}.photo-card label{font-size:.7rem;margin-bottom:.3rem}.photo-card input,.photo-card select{font-size:.8rem;min-height:39px;padding:.48rem .6rem}.photo-card .photo-category-label{margin-top:.7rem}.photo-actions{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:1rem;padding-top:.8rem}.photo-order{display:flex;align-items:center;gap:.3rem}.photo-order button{border:1px solid #bcc6c2;background:#fff;width:30px;height:31px;display:grid;place-items:center;font-size:.9rem;padding:0}.photo-order button:hover:not(:disabled){background:#eef1ed}.photo-order input{padding:.2rem;width:49px;min-height:31px;text-align:center;font-size:.72rem}.photo-actions .text-button{font-size:.72rem}.empty-state{padding:3rem 1.5rem;background:white;text-align:center;border:1px dashed var(--line);color:var(--muted);font-size:.9rem}.history-top{display:flex;justify-content:space-between;gap:1.5rem;align-items:center;margin:1.4rem 0 2rem}.history-top p{color:var(--muted);font-size:.85rem}.history-top .text-button{font-size:.8rem}.history-list{padding:0;margin:0;list-style:none;background:#fff;border:1px solid var(--line);border-radius:4px}.history-list li{padding:1.3rem 1.5rem;display:grid;grid-template-columns:35px 1fr;gap:1rem}.history-list li+li{border-top:1px solid var(--line)}.history-initial{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eef1ed;font-size:.8rem;font-weight:600}.history-line{display:flex;justify-content:space-between;gap:1rem;align-items:baseline}.history-line strong{font-size:.86rem}.history-line time{font-size:.74rem;white-space:nowrap;color:var(--muted)}.history-summary{color:var(--muted);font-size:.8rem;line-height:1.6;margin-top:.3rem}.history-revision{display:inline-block;font-size:.65rem;color:#8b7156;margin-top:.35rem}.editor-footer{padding:1.5rem clamp(1.3rem,3.5vw,4.5rem);display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);font-size:.72rem;color:var(--muted)}
dialog{max-width:min(94vw,560px);padding:0;border:1px solid var(--line);border-radius:5px;color:var(--ink);box-shadow:0 20px 70px #112c3940}dialog::backdrop{background:#142c3c70}.action-dialog-content{padding:2rem 2.2rem}.action-dialog-content h2{font-size:2rem;margin:.75rem 0 1rem}.action-dialog-content>p:not(.eyebrow){font-size:.9rem;color:var(--muted);line-height:1.8}.action-dialog-content .button-row{margin-top:1.7rem;justify-content:end}
@media(min-width:1600px){.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){.action-toolbar{align-items:flex-start;flex-direction:column;gap:.85rem}.draft-indicator div>span{max-width:100%}.toolbar-buttons{width:100%;justify-content:start}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.sidebar{width:195px;padding:1.8rem 1.2rem}.workspace-shell{margin-left:195px}.editor-nav button{font-size:.79rem;gap:.6rem}.sidebar-caption{font-size:.67rem}.settings-grid{grid-template-columns:1fr}.setting-field.is-wide{grid-column:auto}.upload-section{grid-template-columns:1fr;gap:1.3rem}.upload-section p:not(.eyebrow){max-width:none}.auth-intro{padding:3rem}.auth-brand{margin-bottom:3.5rem}.auth-card{padding:3rem 2rem}.workspace-heading>p{display:none}.field-section{padding:1.6rem}.history-line{display:block}.history-line time{display:block;margin-top:.2rem}}
@media(max-width:720px){.sidebar{position:relative;width:auto;padding:1.1rem 1.2rem .7rem}.sidebar-brand{font-size:1rem;display:flex;align-items:baseline;gap:.35rem;padding:0}.sidebar-brand strong{display:inline;font-size:1.35rem}.sidebar-caption,.sidebar-bottom{display:none}.editor-nav{margin:.9rem -.3rem 0;flex-direction:row;gap:.25rem;overflow-x:auto;padding:.1rem .1rem .25rem;white-space:nowrap}.editor-nav button{font-size:.72rem;padding:.55rem .6rem;gap:.35rem;flex-shrink:0}.editor-nav button span{font-size:.57rem}.workspace-shell{margin:0}.topbar{padding:.85rem 1.2rem;min-height:69px}.topbar .eyebrow{display:none}.topbar p:not(.eyebrow){font-size:.8rem}.account-actions{gap:.65rem}.account-actions>span{font-size:.75rem}.account-actions .text-button{font-size:.7rem}.workspace{padding:1.7rem 1.2rem 2.5rem}.workspace-heading{margin-bottom:1.3rem}.workspace-heading .eyebrow{font-size:.6rem}.workspace-heading h1{font-size:2rem;margin-top:.5rem}.action-toolbar{padding:.9rem;margin-bottom:1.4rem}.toolbar-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.toolbar-buttons .button{font-size:.72rem;padding:.65rem .55rem}.toolbar-buttons .button:last-child{grid-column:1/-1}.draft-indicator strong{font-size:.75rem}.draft-indicator div>span{font-size:.65rem}.panel-intro{font-size:.85rem}.field-section{padding:1.2rem}.field-section>h2{font-size:1.5rem;margin-bottom:1.2rem}.gallery-toolbar{gap:1rem}.gallery-toolbar h2{font-size:1.5rem}.gallery-toolbar label{min-width:155px}.photo-grid{gap:.8rem}.photo-card-body{padding:.8rem}.photo-actions{gap:.65rem}.photo-order button{width:28px}.history-top{align-items:start;flex-direction:column;gap:.8rem}.history-list li{padding:1.1rem;gap:.7rem}.editor-footer{padding:1.2rem;font-size:.65rem;display:block}.editor-footer span{display:block;margin-top:.3rem}.auth-view{grid-template-columns:1fr}.auth-intro{padding:1.7rem 1.5rem 2.2rem}.auth-brand{font-size:1.2rem;margin-bottom:2rem}.auth-intro .eyebrow{font-size:.62rem;margin-bottom:.85rem}.auth-intro h1{font-size:2.45rem}.auth-intro>p:not(.eyebrow){font-size:.85rem;line-height:1.75;margin-top:1.1rem;max-width:100%}.auth-intro .subtle-link{font-size:.75rem;margin-top:1.2rem}.auth-card{max-width:560px;padding:2.2rem 1.5rem}.auth-card h2{font-size:1.9rem}.auth-card>.eyebrow{font-size:.62rem}.action-dialog-content{padding:1.6rem}.action-dialog-content h2{font-size:1.75rem}}
@media(max-width:600px){.editor-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;margin:.9rem 0 0;padding:0;overflow:visible;white-space:normal}.editor-nav button{min-width:0;min-height:44px;width:100%;padding:.6rem .5rem;font-size:14px;align-items:center;gap:.4rem;line-height:1.4}.editor-nav button span{font-size:11px;flex-shrink:0}}
@media(max-width:420px){.photo-grid{grid-template-columns:1fr}.photo-image img{aspect-ratio:3/2}.gallery-toolbar{align-items:start;flex-direction:column;gap:.8rem}.gallery-toolbar label{width:100%}.photo-actions{flex-wrap:nowrap}.photo-card-body{padding:1rem}.photo-card input,.photo-card select{font-size:.85rem}.photo-card label{font-size:.75rem}.action-toolbar{top:0}.field-section{padding:1.1rem}.character-count{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* The visual pane shares the ordinary draft and publication toolbar. */
.workspace.is-visual{max-width:none;padding-left:clamp(1rem,2.4vw,2.4rem);padding-right:clamp(1rem,2.4vw,2.4rem)}.visual-zone-picker{display:flex;align-items:end;gap:1.5rem;margin:1.3rem 0 1.1rem;padding:1.1rem 1.2rem;background:#fff;border:1px solid var(--line);border-radius:5px}.visual-zone-picker>label{margin:0;min-width:220px;max-width:390px;flex:1;font-size:14px}.visual-zone-picker select{margin-top:.4rem;font-size:16px;min-height:44px}.visual-zone-picker .field-help{max-width:530px;font-size:14px;margin:0 0 .25rem;flex:1}.visual-render-note{font-size:14px;color:var(--muted);max-width:1050px;margin:1.1rem 0}.visual-loading{padding:1.3rem;background:#fff;border:1px solid var(--line);color:var(--muted)}
@media(max-width:720px){.visual-zone-picker{align-items:stretch;flex-direction:column;gap:.8rem;padding:1rem}.visual-zone-picker>label{max-width:none;min-width:0}.workspace.is-visual{padding-left:1rem;padding-right:1rem}.visual-zone-picker .field-help{margin:0}.visual-render-note{font-size:14px}.editor-nav button{white-space:normal}}
