:root {
  color-scheme: light;
  --page: #f3f4ef;
  --paper: #fff;
  --ink: #1b211c;
  --muted: #59645b;
  --line: #e0e5dc;
  --dark: #172019;
  --dark-line: #344039;
  --accent: #dcee9f;
  --green: #316148;
  --green-light: #edf4dc;
  --danger: #992e34;
  --r: 17px;
  font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 290px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled, select:disabled { cursor: default; opacity: .58; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #729857; outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; transform: translateY(-160%); background: white; color: var(--ink); padding: 9px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; align-self: start; position: sticky; top: 0; height: 100dvh; overflow-y: auto; padding: 26px 17px 17px; background: var(--dark); color: #f8faf3; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 24px; font-weight: 720; line-height: 1.04; letter-spacing: -.06em; }
.brand small { display: block; margin-top: 6px; color: #b6c2b9; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.brand-mark { flex: none; width: 39px; height: 39px; padding: 3px; object-fit: contain; }
.sidebar > .brand { margin: 0 7px 30px; }
.site-switch { display: block; margin: 0 2px 25px; padding: 11px 12px; background: #232e26; border: 1px solid var(--dark-line); border-radius: 11px; }
.site-switch label { display: block; color: #b9c9b9; font-size: 11px; }
.site-switch select { width: 100%; padding: 4px 0 0; border: 0; background: transparent; color: #fff; font-weight: 650; color-scheme: dark; }
.side-nav { display: grid; align-content: start; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 8px 10px; border: 1px solid transparent; border-radius: 9px; color: #cdd8cf; text-decoration: none; font-size: 14px; }
.side-nav a:hover { background: #242f28; color: #fff; }
.side-nav a[aria-current="page"] { border-color: #3e4e41; background: #314238; color: #eff8dd; font-weight: 650; }
.side-nav a[aria-current="page"] .ico { color: var(--accent); }
.side-nav hr { border: 0; border-top: 1px solid var(--dark-line); margin: 13px 3px; }
.side-foot { margin-top: auto; padding-top: 30px; }
.account { display: flex; align-items: center; gap: 9px; padding: 11px 2px 0; border-top: 1px solid var(--dark-line); }
.account .avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: #34473d; color: #f1f8d5; font-weight: 750; }
.account .account-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.account small { display: block; color: #b6c2b9; font-size: 11px; }
.account button { display: grid; place-items: center; padding: 6px; color: #d7e2d9; background: none; border: 0; border-radius: 7px; }
.account button:hover { background: #34473d; }
.topbar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 10px clamp(17px, 3vw, 42px); background: #fbfcf8; border-bottom: 1px solid var(--line); z-index: 4; }
.crumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
.crumb strong { color: var(--ink); }
.crumb-sep { opacity: .6; margin: 0 8px; }
.topbar-actions, .actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.topbar-actions { margin-left: auto; flex-wrap: nowrap; }
.topbar > .brand-mark { display: none; }
.mobile-nav { display: none; }
.workspace { width: min(100%, 1500px); margin-inline: auto; padding: clamp(24px, 4vw, 46px) clamp(17px, 3vw, 42px) 48px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 23px; }
.page-head h1, .hero h1 { margin: 0; font-size: clamp(32px, 4vw, 47px); line-height: 1.03; font-weight: 710; letter-spacing: -.06em; overflow-wrap: anywhere; }
.page-head p, .hero p { margin: 9px 0 0; }
.page-head p { color: var(--muted); }
.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: end; justify-content: space-between; gap: 25px; min-height: 208px; margin-bottom: 19px; padding: clamp(22px, 4vw, 36px); border-radius: 22px; background: #21332a; color: #fafcf1; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 65%; height: 160%; right: -12%; top: -30%; transform: rotate(-31deg); border-radius: 50%; background: repeating-radial-gradient(ellipse at center, transparent 0 12px, #b8d28e30 13px 14px, transparent 15px 26px); mask-image: linear-gradient(110deg, transparent 5%, black 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 87% 0%, #465f3c, transparent 65%); }
.hero p { color: #e4ecdf; max-width: 550px; }
.hero .eyebrow { color: var(--accent); }
.hero .btn { flex: none; }
.eyebrow { margin: 0 0 9px !important; color: var(--green); font-size: 11px; font-weight: 740; text-transform: uppercase; letter-spacing: .13em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 8px 13px; border: 1px solid #d5ddd2; border-radius: 9px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.25; text-decoration: none; text-align: center; }
.btn:hover { border-color: #afbdae; background: #f3f6ef; }
.btn-primary { background: #315440; border-color: #315440; color: #fff; }
.btn-primary:hover { background: #244733; border-color: #244733; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #263822; }
.btn-accent:hover { background: #e8f6bb; border-color: #e8f6bb; }
.btn-quiet { background: transparent; border-color: transparent; }
.btn-small { min-height: 32px; padding: 6px 9px; font-size: 12px; }
.btn-danger { color: var(--danger); }
.btn-icon { width: 38px; min-width: 38px; padding: 0; }
.ico { display: inline-grid; place-items: center; flex: none; width: 19px; font-size: 19px; line-height: 1; font-weight: 600; }
.icon-chip { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: #eaf2de; color: #315440; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.metric { min-width: 0; min-height: 111px; padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.metric-top { display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.metric strong { display: block; overflow-wrap: anywhere; font-size: clamp(23px, 3vw, 32px); line-height: 1.15; font-weight: 700; letter-spacing: -.05em; }
.metric p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.layout-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 17px; align-items: start; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.panel + .panel { margin-top: 15px; }
#new-page-form { margin-bottom: 15px; }
.layout-two > .panel + .panel, .cards > .panel + .panel { margin-top: 0; }
.panel-pad { padding: clamp(15px, 2.4vw, 23px); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 15px; }
.panel-head h2, .panel h2 { margin: 0; font-size: 19px; line-height: 1.22; font-weight: 700; letter-spacing: -.025em; }
.panel-head h3, .panel h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.subtle { color: var(--muted); font-size: 12px; }
.stack { display: grid; gap: 14px; }
.full-width { width: 100%; }
.summary-list { margin: 0; padding: 0; list-style: none; }
.summary-list li + li { border-top: 1px solid var(--line); }
.summary-row { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 7px 0; text-decoration: none; }
.summary-row:hover .summary-title { text-decoration: underline; text-underline-offset: 3px; }
.summary-title { display: block; overflow-wrap: anywhere; font-weight: 650; }
.summary-row > :last-child { margin-left: auto; }
.pill { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 4px 8px; border-radius: 7px; background: #edf0ec; color: #425046; font-size: 11px; font-weight: 690; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.live { color: #2b6744; background: #e7f2e7; }
.pill.draft { color: #775718; background: #fcf0d7; }
.pill.base { color: #44546d; background: #ebeff6; }
.filter-bar { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; padding: 16px; border-bottom: 1px solid var(--line); }
.filter-bar .search { flex: 1 1 220px; }
.filter-bar .field { flex: 0 1 150px; }
.tree-switch { align-self: end; }
.tree-switch button[aria-pressed="true"] { background: var(--green-light); border-color: #b6cba8; color: var(--green); }
.page-tree { list-style: none; margin: 0; padding: 0; }
.page-tree .page-tree { margin-left: clamp(9px, 2vw, 26px); border-left: 1px solid var(--line); }
.tree-row { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px clamp(8px, 1.6vw, 16px); border-bottom: 1px solid var(--line); }
.tree-row > .ico { color: var(--green); }
.tree-row > .path { min-width: 0; overflow-wrap: anywhere; }
.tree-title { font-weight: 670; text-decoration: none; }
.tree-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.tree-spacer { flex: 1; }
.tree-actions { flex: none; flex-wrap: nowrap; gap: 0; }
.tree-modified { min-width: 90px; text-align: right; }
.tree-row .content-thumbnail { --thumbnail-width: 44px; }
.tree-row > .path { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
summary.tree-row { cursor: pointer; list-style: none; }
summary.tree-row::-webkit-details-marker { display: none; }
summary.tree-row::before { content: "›"; display: inline-block; flex: none; width: 10px; color: var(--green); font-size: 19px; line-height: 1; }
details[open] > summary.tree-row::before { transform: rotate(90deg); }
.lang-badge { display: inline-block; min-width: 32px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; }
.editorial-create { margin-bottom: 15px; }
.editorial-upload { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.editorial-upload .field { flex: 1 1 220px; }
.editorial-upload .btn { flex: none; }
.seo-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-result { margin-bottom: 15px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fcfdf9; }
.seo-result .path { margin: 12px 0 2px; }
.seo-title { margin: 2px 0; color: #315440; font-size: 20px; font-weight: 670; }
.seo-result .editor-note { margin: 5px 0 12px; }
.audit-list .summary-row { gap: 12px; }
.seo-sources { margin-top: 12px; }
.content-scope { margin: -9px 0 17px; }
.content-copy-notice { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.content-copy-notice strong, .content-copy-notice span { display: block; }
.thumb-cell { width: 75px; }
.content-thumbnail { display: inline-grid; position: relative; place-items: center; width: var(--thumbnail-width, 58px); aspect-ratio: 1.32; border-radius: 7px; color: var(--green); background: #e6eee0; overflow: hidden; flex: none; vertical-align: middle; }
.content-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; background: #e6eee0; }
.seo-badge { display: inline-flex; align-items: center; gap: 5px; width: max-content; min-height: 27px; padding: 3px 7px; border-radius: 7px; font-size: 11px; font-weight: 680; text-decoration: none; line-height: 1.1; }
.seo-badge:hover { text-decoration: underline; text-underline-offset: 3px; }
.seo-badge span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.seo-green { color: #285d3f; background: #e9f4e3; }
.seo-orange { color: #80500f; background: #fff1d5; }
.seo-red, .pill.error { color: #9c3333; background: #fbe9e9; }
.seo-pending { color: var(--muted); background: #eff2ee; }
.table-actions { gap: 2px; }
.table-actions .btn { flex: none; }
.input, .field input, .field select, .field textarea { display: block; width: 100%; min-height: 41px; padding: 8px 11px; border: 1px solid #d3ddd2; border-radius: 8px; background: #fff; color: var(--ink); }
.field textarea { min-height: 85px; resize: vertical; }
.field textarea[rows="2"] { min-height: 65px; }
.field { display: grid; min-width: 0; gap: 5px; font-size: 13px; font-weight: 630; }
.field small, .field-help { font-size: 12px; font-weight: 450; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.full { grid-column: 1 / -1; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
th { color: var(--muted); font-size: 12px; font-weight: 650; background: #fbfcf9; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f9fbf6; }
.row-link { font-weight: 700; text-decoration: none; }
.row-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.path { color: var(--muted); font: 11px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.table-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.editor-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.editor-tabs button { padding: 9px 13px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 13px; font-weight: 650; }
.editor-tabs button[aria-pressed="true"] { color: var(--green); border-bottom-color: var(--green); }
.editor-item + .editor-item { margin-top: 12px; }
.editor-item { border: 1px solid var(--line); padding: 12px; border-radius: 10px; }
.editor-item[open] { background: #fcfdf9; }
.editor-item summary { cursor: pointer; font-size: 13px; font-weight: 670; overflow-wrap: anywhere; }
.editor-item summary + * { margin-top: 11px; }
.editor-label { display: inline-block; margin-right: 7px; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; color: var(--green); }
.editor-title { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.editor-back { margin-bottom: 14px; }
.editor-image { width: 100%; max-height: 160px; object-fit: contain; object-position: left center; margin-bottom: 10px; border-radius: 8px; }
.use-media { margin-top: 9px; }
.editor-note { color: var(--muted); font-size: 13px; }
.editor-count { padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); white-space: nowrap; font-size: 12px; }
.sticky-actions { position: sticky; top: 80px; }
.sticky-actions .panel-head, .sticky-actions .editor-note { margin: 0; }
.editor-layout { grid-template-columns: minmax(0, 1fr) minmax(215px, 270px); }
.page-preview { display: block; width: 100%; min-height: 390px; height: min(60vh, 650px); border: 1px solid var(--line); border-radius: 9px; background: #e7ece5; }
.notice { padding: 12px 14px; border: 1px solid #d7e3ce; border-radius: 9px; background: #eff6e7; color: #3a523e; font-size: 13px; }
.notice.error { border-color: #e5c4c6; background: #fff0f0; color: var(--danger); }
.notice.warn { border-color: #e5d7ba; background: #fcf5e6; color: #70551e; }
.empty { padding: 28px; color: var(--muted); text-align: center; }
.empty p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 15px; }
.card { display: flex; flex-direction: column; align-items: start; gap: 12px; padding: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 13px; }
.card .actions { margin-top: auto; padding-top: 4px; }
.card-icon { width: 43px; height: 43px; }
.card-header { display: flex; width: 100%; justify-content: space-between; align-items: start; gap: 8px; }
.settings-panel { margin-top: 17px; }
.google-values { width: 100%; display: grid; gap: 7px; margin: 1px 0; }
.google-values > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 6px; font-size: 13px; }
.google-values dt { color: var(--muted); }
.google-values dd { margin: 0; font-weight: 720; text-align: right; white-space: nowrap; }
.metrics-error:not(:empty) { margin-bottom: 15px; }
.card .site-domain { overflow-wrap: anywhere; }
.upload-panel { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.upload-panel .field { flex: 1 1 240px; }
.upload-panel .upload-category { flex: 0 1 190px; }
.upload-panel input { height: auto; }
.upload-panel input::file-selector-button { padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--page); color: var(--ink); cursor: pointer; margin-right: 8px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 13px; }
.media-grid .panel + .panel { margin-top: 0; }
.media-card { overflow: hidden; }
.media-visual { display: grid; place-items: center; aspect-ratio: 16 / 10; background: #e7ece3; overflow: hidden; }
.media-visual img { width: 100%; height: 100%; object-fit: cover; }
.media-body { padding: 12px; }
.media-body h2 { font-size: 15px; overflow-wrap: anywhere; }
.media-body p { margin: 3px 0 7px; }
.media-tools, .media-tools form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.media-tools { margin-bottom: 15px; }
.media-tools form { margin-left: auto; }
.media-category-field { margin: 8px 0; }
.media-category-field select { min-height: 34px; padding-block: 4px; }
.media-link-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px; }
.media-pagination, .picker-filters { margin-top: 12px; }
.picker-filters { margin-bottom: 12px; align-items: end; }
.manual-copy { margin-bottom: 6px; }
.media-picker { width: min(94vw, 820px); max-height: 86dvh; padding: clamp(15px, 3vw, 23px); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); background: var(--page); }
.media-picker::backdrop { background: #17201999; }
.media-picker h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.media-picker .media-body h2 { font-size: 15px; }
.duplicate-dialog { width: min(94vw, 510px); }
.duplicate-dialog .editor-note { margin: 0; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.toggle-row input { width: 17px; height: 17px; accent-color: var(--green); }
.toast-area { position: fixed; z-index: 15; right: 16px; bottom: 17px; max-width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { padding: 12px 17px; border: 1px solid #50715c; border-radius: 10px; background: #244433; color: #fff; box-shadow: 0 8px 30px #18271b25; }
.toast.error { border-color: #ad5154; background: #852d31; }
.boot-screen, .noscript { display: grid; place-items: center; min-height: 100dvh; margin: 0; background: var(--dark); color: #e4ecdf; }
.boot-screen { align-content: center; gap: 14px; }
.brand-centered { text-align: left; }
.login-layout { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(330px, 1.05fr); min-height: 100dvh; }
.login-visual { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: space-between; min-height: 450px; padding: clamp(24px, 6vw, 72px); background: #22362b; color: #fff; }
.login-visual::before { content: ""; display: block; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 100% 5%, #425d3b, transparent 75%); }
.login-visual::after { content: ""; display: block; position: absolute; z-index: -1; inset: 12% -40% -50% -20%; transform: rotate(-24deg); border-radius: 50%; background: repeating-radial-gradient(ellipse at 55% 40%, transparent 0 18px, #c0d88233 19px 20px, transparent 21px 36px); mask-image: linear-gradient(25deg, transparent, black); }
.login-visual h2 { max-width: 640px; margin: 0; font-size: clamp(40px, 6.6vw, 92px); font-weight: 690; line-height: .96; letter-spacing: -.075em; }
.login-visual h2 span { color: var(--accent); }
.login-visual p { max-width: 380px; margin: 19px 0 0; color: #dce8df; }
.login-panel { display: grid; place-items: center; padding: 23px; }
.login-form { width: min(100%, 380px); }
.login-form h1 { margin: 0; font-size: clamp(34px, 5vw, 50px); line-height: 1; letter-spacing: -.06em; }
.login-form > p { margin: 9px 0 22px; color: var(--muted); }
.login-form .btn { width: 100%; min-height: 44px; margin-top: 8px; }
.login-help { margin-top: 18px; font-size: 13px; }
.login-notice { margin-bottom: 14px; }
.demo-login { margin-top: 20px; }
.demo-login summary { cursor: pointer; color: var(--green); font-weight: 650; }
.demo-login form { margin-top: 14px; }
@media (max-width: 1030px) {
  .shell { grid-template-columns: 206px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-two { grid-template-columns: 1fr; }
  .editor-layout { grid-template-columns: minmax(0, 1fr) minmax(195px, 230px); }
  .sticky-actions { position: static; }
}
@media (max-width: 930px) {
  .editor-layout { grid-template-columns: 1fr; }
  .tree-actions, .tree-modified { display: none; }
}
@media (max-width: 710px) {
  .shell { display: block; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(82vw, 248px); transform: translateX(-105%); visibility: hidden; }
  .shell.nav-open .sidebar { transform: none; visibility: visible; }
  .shell.nav-open .mobile-shade { display: block !important; position: fixed; z-index: 4; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; background: #18271b70; }
  .mobile-nav { display: inline-flex; }
  .topbar { min-height: 55px; gap: 9px; }
  .topbar > .brand-mark { display: block; width: 34px; height: 34px; filter: drop-shadow(0 0 1px var(--dark)); }
  .workspace { padding-top: 25px; }
  .page-head, .hero { display: grid; align-items: start; }
  .hero { align-content: end; justify-items: start; min-height: 185px; }
  .form-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .compact-hide { display: none; }
  .tree-row > .path { display: none; }
  .tree-row .content-thumbnail { --thumbnail-width: 34px; }
  .tree-row > .ico { display: none; }
  .tree-row { gap: 5px; }
  .seo-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  th, td { padding-inline: 9px; }
  .page-preview { min-height: 300px; }
  .login-layout { display: block; }
  .login-visual { min-height: 0; gap: 40px; }
  .login-visual h2 { font-size: clamp(35px, 8vw, 52px); }
  .login-visual p { display: none; }
  .login-panel { min-height: 45vh; }
}
@media (max-width: 370px) {
  .topbar-actions .btn { padding-inline: 7px; }
  .crumb-site, .crumb-sep { display: none; }
}

.page-title-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.page-visualize { flex: none; white-space: nowrap; }
@media (max-width: 760px) {
  .page-visualize-compact { padding-inline: 5px; }
  .page-visualize-compact .visualize-text {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}
.page-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr)); gap: 13px; padding: 14px; }
.page-preview-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.page-preview-card > .content-thumbnail { --thumbnail-width: 100%; width: 100%; max-width: none; height: auto; aspect-ratio: 16 / 8; border: 0; border-radius: 0; }
.page-preview-card-body { padding: 12px; }
.page-preview-card h2 { margin: 0; font-size: 15px; }
.page-preview-card .path { overflow-wrap: anywhere; }
.page-preview-meta { margin-block: 9px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; }
