.editor-heading{padding:32px 0}.editor-heading h1{font-family:Georgia,"Noto Serif SC",serif;font-size:clamp(28px,4vw,44px);color:#17234e}.editor-heading p{max-width:780px;line-height:1.8}.editor-status{display:flex;gap:20px;flex-wrap:wrap;padding:18px 24px;background:#152048;color:#f7e7bd;border-radius:12px;margin-bottom:24px}.site-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:start}.editor-form{padding:24px!important;min-width:0}.editor-group{border:1px solid #d9c398;border-radius:10px;margin-bottom:16px;overflow:hidden}.editor-group>summary{padding:18px;cursor:pointer;background:#f5ebd9;font-weight:700;color:#25335a}.editor-fields{padding:18px}.editor-field{margin-bottom:20px}.editor-field label{display:block;margin-bottom:8px}.editor-field input:not([type=checkbox]),.editor-field textarea,.editor-field select,.editor-note input{max-width:100%;width:100%;box-sizing:border-box}.editor-field input[type=checkbox]{accent-color:#a72948}.editor-field #id_featured_items{max-height:320px;overflow:auto;border:1px solid #e6d6b4;border-radius:7px;padding:12px}.editor-field #id_featured_items label{display:flex;align-items:start;gap:10px;font-size:14px;line-height:1.7}.editor-note{margin:20px 0}.editor-preview{position:sticky;top:20px;min-width:0;border:1px solid #ccb477;background:#fffaf0;border-radius:14px;padding:18px;box-shadow:0 16px 45px #17214810}.preview-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.preview-toolbar button{padding:7px 12px;font-size:13px}.preview-window{width:100%;height:660px;overflow:auto;background:#e8dfd2;border-radius:8px}.preview-window iframe{border:0;width:100%;height:100%;display:block;margin:auto;background:#fffaf0}.preview-window.is-mobile iframe{width:375px;max-width:100%}.publish-form{padding-top:16px}.publish-form p,.editor-preview>p{font-size:13px;line-height:1.7;color:#776975}.preview-placeholder{padding:70px 24px;text-align:center;border:1px dashed #c7ac71;margin-top:20px}.preview-placeholder>span{font-size:54px;color:#b78d38}.editor-history{margin-top:30px}.editor-history article{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #d9c39866;padding:20px 0}.editor-history article>div:last-child{display:flex;gap:16px;align-items:center}.editor-history article p{font-size:13px;color:#786b71}.editor-history form{margin:0}.site-preview-banner,.site-announcement{padding:14px 24px;text-align:center;background:#f5e8c9;color:#302548;line-height:1.7;overflow-wrap:anywhere}.site-preview-banner{background:#9e2d47;color:#fff7e9;position:relative;z-index:30}.editor-save-state{font-size:14px;color:#9e2d47}.admin-hub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.admin-hub a{display:block;border:1px solid #cfb77f;border-radius:12px;padding:26px;background:#fff9ef;color:#18264d;text-decoration:none;transition:transform .18s,box-shadow .18s}.admin-hub a:hover{transform:translateY(-3px);box-shadow:0 10px 25px #121d3812}.admin-hub strong{display:block;font-size:22px;font-family:Georgia,serif;margin-bottom:10px}.admin-hub span{display:block;line-height:1.8;color:#796873}.admin-hub .hub-primary{background:#17244f;color:#f6dfab}.admin-hub .hub-primary span{color:#e0d9cd}@media(max-width:1000px){.site-editor-grid{grid-template-columns:1fr}.editor-preview{position:static}}@media(max-width:600px){.admin-hub{grid-template-columns:1fr}.editor-history article{align-items:start;flex-direction:column}.editor-form{padding:12px!important}.editor-fields{padding:12px}.preview-window{height:580px}}@media(prefers-reduced-motion:reduce){.admin-hub a{transition:none}}
.admin-hub .hub-primary strong{color:#f6dfab}
.preview-toolbar button[aria-pressed="true"]{background:#17244f;color:#f6dfab;border-color:#c7ac71;box-shadow:inset 0 0 0 1px #c7ac71}
.preview-toolbar button[aria-pressed="false"]{background:#fff9ef;color:#8f2944;border-color:#ccb477;box-shadow:none}

.editor-history{scroll-margin-top:24px}
.history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.history-heading h2{margin:0 0 6px}.history-heading p{margin:0;color:#786b71;font-size:13px}
.history-retention{font-size:12px;color:#786b71;background:#f4eddc;border-radius:20px;padding:5px 10px}
.history-help{font-size:13px;line-height:1.7;color:#786b71;margin:14px 0 18px}
.history-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:14px;background:#f7f2e8;border:1px solid #d9c39866;border-radius:10px}
.history-filters>div{min-width:140px}.history-filters .history-search{flex:1;min-width:200px}
.history-filters label{display:block;font-size:12px;margin-bottom:5px;color:#786b71}
.history-filters input,.history-filters select{width:100%;min-height:40px;margin:0;background:#fffcf6}
.history-filters button{min-height:40px;padding:8px 18px}.history-filters>a{font-size:13px;align-self:center;margin-top:18px}
.history-results{font-size:12px;color:#786b71;padding:14px 0 8px}
.editor-history .history-row{gap:16px;padding:13px 0}
.history-info{flex:1;min-width:0}.history-title{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;overflow-wrap:anywhere}
.history-title strong{flex:1;min-width:0;font-size:14px;line-height:1.6}.history-number{font-size:12px;font-variant-numeric:tabular-nums;color:#786b71}
.history-badge{font-size:11px;line-height:1.5;white-space:nowrap;border-radius:5px;padding:2px 7px}
.history-badge.is-online{color:#315b47;background:#e8f0e7}.history-badge.is-draft{color:#8f2944;background:#f6e5e9}
.editor-history .history-row p{display:flex;gap:7px;flex-wrap:wrap;margin:5px 0 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.editor-history .history-row .history-actions{gap:14px;flex-shrink:0}.history-actions>a{font-size:13px;white-space:nowrap}
.history-actions button{background:#fff9ef;color:#8f2944;border:1px solid #d7b3b6;padding:7px 12px;font-size:12px;box-shadow:none;min-height:36px}
.history-actions button:hover{background:#f6e5e9}.history-empty{text-align:center;padding:28px 12px;color:#786b71;line-height:1.7}
.history-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #d9c39866;padding-top:16px;margin-top:4px}
.history-pagination nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.history-pagination nav a,.history-pagination nav span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:36px;padding:5px 9px;border:1px solid #d9c39866;border-radius:6px;font-size:13px;box-sizing:border-box;text-decoration:none}
.history-pagination .is-current{background:#17244f;color:#fff9ef;border-color:#17244f}.history-pagination nav .history-ellipsis{border-color:transparent;padding:0;min-width:16px;color:#786b71}
.editor-history .history-jump{display:flex;align-items:center;gap:7px;font-size:12px;color:#786b71}
.history-jump input[type="number"]{width:65px;min-height:36px;margin:0;padding:6px 8px}.history-jump button{min-height:36px;padding:6px 10px;font-size:12px}
body.backend-page main.page-shell .editor-history{padding:24px}
body.backend-page main.page-shell .editor-history .history-heading h2{margin:0 0 6px}
body.backend-page main.page-shell .editor-history .history-filters input[type="search"]{min-height:40px;padding:8px 10px;font-size:14px}
body.backend-page main.page-shell .editor-history .history-filters button{min-height:40px;padding:8px 16px;font-size:13px}
body.backend-page main.page-shell .editor-history .history-filters button.themed-trigger{background:#fffcf6;color:#302548;border-color:#cfc2aa;text-align:left;font-weight:400;font-size:14px;box-shadow:none}
body.backend-page main.page-shell .editor-history .history-filters :is(input[type=search],button){height:44px;min-height:44px;box-sizing:border-box;padding:10px 12px;font-size:14px;line-height:1.5}
body.backend-page main.page-shell .editor-history .history-actions button{min-height:36px;padding:6px 12px;background:#fff9ef;color:#8f2944;border-color:#d7b3b6;font-size:12px;box-shadow:none}
body.backend-page main.page-shell .editor-history .history-actions button:hover{background:#f6e5e9}
body.backend-page main.page-shell .editor-history .history-jump input[type="number"]{width:65px;min-height:36px;padding:6px 8px;font-size:12px}
body.backend-page main.page-shell .editor-history .history-jump button{min-height:36px;padding:6px 10px;font-size:12px}
@media(max-width:600px){.editor-history{padding:18px!important}.history-filters{gap:10px;padding:12px}.history-filters .history-search{flex-basis:100%;min-width:0}.history-filters>div{flex:1;min-width:0}.history-filters>a{margin-top:0;flex-basis:100%}.editor-history .history-row{gap:8px}.editor-history .history-row .history-actions{align-self:flex-end}.history-title strong{font-size:13px}.history-pagination{gap:12px}.history-pagination nav{gap:4px}.history-pagination nav a,.history-pagination nav span{min-width:30px;padding:5px 7px}.editor-history .history-jump{margin-left:auto}}
