.editor-body { background: #f0f2eb; font-size: 16px; }
.editor-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.account-brand { font-family: var(--serif); font-size: 37px; font-weight: 800; letter-spacing: -2.3px; line-height: 1; }
.editor-sidebar { background: #e8ecdf; padding: 32px 24px; border-right: 1px solid #d6dccb; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.editor-identity { display: flex; flex-direction: column; margin-top: 34px; margin-bottom: 28px; font-size: 14px; }
.editor-identity span { font-size: 12px; color: var(--muted); margin-top: 3px; }
.editor-sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.editor-sidebar nav a { padding: 11px 13px; font-size: 14px; line-height: 1.4; }
.editor-sidebar nav a[aria-current] { background: #253223; color: #fff; }
.editor-sidebar nav a:hover { background: #dae0ce; color: #263023; }
.editor-sidebar nav a[aria-current]:hover { background: #253223; color: #fff; }
.editor-bottom { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 15px; font-size: 13px; }
.editor-bottom button { border: none; background: transparent; padding: 0; }
.editor-main { padding: 38px 42px 70px; max-width: 1600px; width: 100%; }
.editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.editor-heading h1 { font-size: 30px; font-weight: 600; letter-spacing: -.7px; }
.panel { background: #fffefa; padding: 26px; border: 1px solid #dce0d2; }
.panel + .panel { margin-top: 27px; }
.flow > * + * { margin-top: 21px; }
.flow > input[type="hidden"] + * { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 26px; }
.stack .panel { margin-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; margin-bottom: 27px; }
.stat { display: flex; flex-direction: column; gap: 18px; padding: 22px; }
.stat strong { font-size: 33px; font-weight: 500; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.stat + .stat { margin-top: 0; }
.stat i { font-style: normal; }
.panel h2 { font-size: 22px; font-weight: 600; letter-spacing: -.3px; }
.panel h3 { font-size: 19px; }
.stats-grid + section { margin-top: 0; }
.editor-main > .panel + .panel { margin-top: 26px; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.admin-table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 610px; }
.admin-table td, .admin-table th { padding: 17px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table td:first-child, .admin-table th:first-child { padding-left: 0; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table th { color: var(--muted); font-size: 12px; font-weight: 600; padding-top: 0; }
.admin-table td:first-child { width: 44%; font-weight: 600; }
.admin-table small { display: block; font-weight: 400; color: var(--muted); margin-top: 7px; }
.status-chip { display: inline-block; background: #eeeede; color: #696447; font-size: 11px; padding: 5px 9px; white-space: nowrap; line-height: 1.3; }
.status-chip.published { background: #e5eedc; color: #466138; }
.status-chip.archived { background: #e9e9e4; color: #72746c; }
.record-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.record-list li { padding: 15px 0; border-top: 1px solid var(--line); }
.record-list time { display: block; font-size: 12px; margin-top: 4px; }
.record-list li:last-child { padding-bottom: 0; }
.filter-row { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.filter-row label { flex: 1; min-width: 180px; }
.filter-row > .button { flex: 0 0 auto; }
.filter-row .check { align-self: center; font-size: 14px; }
.editor-columns { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 26px; align-items: start; }
.editor-options .panel { padding: 23px; }
.editor-options .check { font-size: 13px; }
.article-input { font-size: 17px !important; line-height: 1.75 !important; }
.input-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.toolbar { display: flex; gap: 4px; border: 1px solid var(--line); border-bottom: 0; padding: 5px; flex-wrap: wrap; }
.toolbar button { background: transparent; border: none; padding: 6px 9px; font-size: 12px; }
.toolbar button:hover { background: #edf0e4; }
.editor-detail { border-top: 1px solid var(--line); padding-top: 17px; }
.editor-detail summary { cursor: pointer; font-size: 14px; font-weight: 600; padding-bottom: 5px; overflow-wrap: anywhere; }
.editor-detail summary .muted { font-size: 12px; display: block; margin-left: 16px; font-weight: 400; margin-top: 5px; }
.editor-detail > .flow { padding-top: 17px; }
fieldset { border: 1px solid var(--line); padding: 20px; min-width: 0; }
legend { font-weight: 600; font-size: 15px; padding: 0 8px; }
.url-preview { font-size: 12px; overflow-wrap: anywhere; background: var(--soft); padding: 10px 12px; color: #5c6852; }
.editor-options h2 { font-size: 18px; }
.editor-options .form-help { font-size: 12px; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; margin-top: 30px; }
.media-tile { padding: 17px; min-width: 0; }
.media-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 15px; background: var(--soft); }
.media-tile strong { font-size: 14px; display: block; }
.media-tile .muted { font-size: 12px; margin-top: 6px; }
.media-tile form { margin-top: 11px; }
.media-tile + .media-tile { margin-top: 0; }
.filter-tabs { display: flex; gap: 16px; border-bottom: 1px solid #c9cfbe; margin-bottom: 28px; flex-wrap: wrap; }
.filter-tabs a { padding: 12px 5px; font-size: 14px; }
.filter-tabs a[aria-current] { border-bottom: 2px solid #344b2c; color: #344b2c; font-weight: 600; }
.action-row, .record-header { display: flex; align-items: center; gap: 19px; justify-content: flex-start; flex-wrap: wrap; }
.record-header { justify-content: space-between; }
.record-header time { font-size: 12px; }
.message-text { overflow-wrap: anywhere; font-size: 16px; line-height: 1.7; }
.text-button { border: 0; background: transparent; padding: 6px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.danger { color: #a53727; }
.seo-links { display: flex; gap: 15px; flex-wrap: wrap; font-size: 14px; }
.account-page { width: min(460px, calc(100% - 36px)); margin: 65px auto; }
.account-page .account-brand { display: inline-block; margin-bottom: 45px; font-size: 44px; }
.account-page h1 { font-size: 30px; margin-bottom: 26px; }
.account-page .text-link { display: inline-block; margin-top: 25px; }
.account-page .panel { padding: 30px; }
.setup-page { width: min(760px, calc(100% - 36px)); }
.setup-page > .muted { font-size: 15px; margin-bottom: 25px; }
@media (max-width: 1320px) {
    .editor-layout { grid-template-columns: 208px minmax(0, 1fr); }
    .editor-main { padding: 32px 27px 55px; }
    .editor-sidebar { padding: 28px 18px; }
    .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .editor-columns { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
    .editor-columns > .panel { padding: 22px; }
}
@media (max-width: 1000px) {
    .editor-columns { grid-template-columns: 1fr; }
    .editor-options { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; }
    .editor-options .panel { height: 100%; }
    .media-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .editor-layout { display: block; }
    .editor-sidebar { height: auto; position: static; padding: 22px; display: block; border-right: 0; border-bottom: 1px solid #d6dccb; }
    .editor-sidebar > .account-brand { font-size: 30px; }
    .editor-identity { display: inline-flex; margin: 0 0 0 25px; vertical-align: middle; font-size: 12px; }
    .editor-identity span { font-size: 11px; }
    .editor-sidebar nav { flex-direction: row; overflow-x: auto; gap: 3px; margin-top: 20px; padding-bottom: 4px; }
    .editor-sidebar nav a { white-space: nowrap; padding: 9px 12px; font-size: 12px; }
    .editor-bottom { padding-top: 12px; flex-direction: row; gap: 20px; font-size: 11px; }
    .editor-main { padding: 27px 18px 50px; }
    .editor-heading { align-items: flex-start; gap: 18px; }
    .editor-heading h1 { font-size: 26px; }
    .editor-heading .button { padding: 9px 12px; font-size: 12px; }
    .panel { padding: 21px; }
    .stats-grid { gap: 12px; }
    .stat { padding: 18px; gap: 13px; }
    .stat strong { font-size: 29px; }
    .stat span { font-size: 12px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .editor-options { grid-template-columns: 1fr; }
    .media-grid { grid-template-columns: 1fr; }
    .panel { padding: 19px; }
    .editor-main .form-two { grid-template-columns: 1fr; }
    .account-page { margin-top: 37px; }
    .account-page .panel { padding: 23px; }
    .filter-row { gap: 14px; }
    .filter-row label { min-width: 100%; }
    .filter-row > .button { flex: 1; }
    .editor-columns { gap: 20px; }
}
