:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --page: #0d1117;
  --surface: #141923;
  --panel: #191f2c;
  --edge: #2c3442;
  --text: #f0f3f8;
  --muted: #a0aec0;
  --faint: #78879c;
  --accent: #90a8ff;
  --accent-bg: #28355c;
}
* { box-sizing: border-box; }
html { min-width: 300px; }
body { min-height: 100vh; margin: 0; color: var(--text); background: var(--page); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #a6b7ff; outline-offset: 4px; border-radius: 6px; }
button,
input,
select,
textarea { font: inherit; }
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #c2ccff;
  outline-offset: 3px;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled { cursor: not-allowed; opacity: .55; }
.skip-link { position: absolute; left: 16px; top: -90px; z-index: 10; padding: 10px 16px; background: #fff; color: #111; }
.skip-link:focus { top: 10px; }
.app-frame { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; min-height: 650px; padding: 27px 17px 22px; border-right: 1px solid var(--edge); background: #111620; }
.brand { display: flex; align-items: center; gap: 10px; padding: 3px 10px 34px; }
.brand-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #e1e8ff; color: #101728; font-size: 25px; font-weight: 850; letter-spacing: -.08em; }
.brand-icon span { color: #6876d2; }
.brand-words { display: flex; flex-direction: column; gap: 2px; }
.brand-words strong { letter-spacing: .02em; font-size: 14px; font-weight: 750; }
.brand-words small { letter-spacing: .22em; font-size: 9px; color: var(--faint); }
.site-switcher { display: flex; align-items: center; gap: 11px; padding: 12px; margin-bottom: 32px; border: 1px solid var(--edge); border-radius: 12px; background: #1a2230; }
.site-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #36467a; color: #e5eaff; font-weight: 800; }
.site-switcher > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.site-switcher small { font-size: 9px; color: var(--faint); letter-spacing: .12em; }
.site-switcher strong { font-size: 12px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-indicator { width: 6px; height: 6px; border-radius: 50%; background: #6bc7a9; margin-left: auto; flex: 0 0 auto; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.nav-caption { padding: 0 11px 10px; font-size: 10px; letter-spacing: .14em; color: var(--faint); font-weight: 750; }
.modules-caption { margin-top: 27px; }
.nav-link { display: flex; align-items: center; gap: 11px; border-radius: 9px; padding: 11px 13px; color: #a7b4c6; font-size: 13px; font-weight: 550; transition: background .15s, color .15s; }
.nav-link:hover { background: #212b3c; color: #f7f9ff; }
.nav-link.active { background: var(--accent-bg); color: #e8ecff; font-weight: 700; }
.nav-symbol { font-size: 19px; line-height: 1; color: #92a5c1; width: 21px; text-align: center; }
.nav-link.active .nav-symbol { color: #d1daff; }
.sidebar-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 13px 10px 0; border-top: 1px solid var(--edge); color: #b2bfcb; font-size: 11px; }
.sidebar-bottom small { display: block; width: 100%; margin-left: 14px; color: var(--faint); font-size: 10px; }
.online-dot { width: 6px; height: 6px; border-radius: 50%; background: #68c5a6; }
.main-column { display: flex; min-width: 0; flex-direction: column; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 4.5%; border-bottom: 1px solid var(--edge); min-height: 76px; }
.path { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--faint); }
.path strong { color: #dbe2ed; font-weight: 650; }
.path-slash { color: #4c5b6f; }
.top-actions { display: flex; gap: 19px; align-items: center; }
.environment-tag { padding: 7px 11px; border-radius: 8px; border: 1px solid #3a536b; background: #172a36; color: #a5e3d4; letter-spacing: .1em; font-size: 10px; font-weight: 750; }
.user-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #303d57; color: #dce6ff; font-size: 12px; font-weight: 800; }
.content { width: min(1230px, 100%); margin: 0 auto; padding: 51px clamp(22px, 4.5vw, 70px) 84px; flex: 1; }
.hero { border: 1px solid #364261; border-radius: 20px; background: radial-gradient(ellipse at 90% 0%, #2d3861 0, transparent 54%), linear-gradient(115deg,#1b2440,#181e30 66%,#171d2b); padding: clamp(30px,4.2vw,62px); }
.eyebrow { display: inline-block; color: #a6b5d2; font-size: 10px; letter-spacing: .17em; font-weight: 800; }
.hero h1 { max-width: 750px; margin: 19px 0; font-size: clamp(32px,4.6vw,60px); line-height: 1.13; letter-spacing: -.045em; }
.hero p { max-width: 640px; margin: 0; color: #b9c5d8; line-height: 1.7; font-size: 14px; }
.hero p strong { color: #f6f8ff; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.hero-tags span { padding: 8px 11px; border-radius: 99px; border: 1px solid #495777; color: #c7d4f2; font-size: 11px; }
.section { margin-top: 48px; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-header h2 { margin: 7px 0 0; font-size: 25px; letter-spacing: -.025em; }
.count { color: var(--faint); font-size: 12px; }
.module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.module-card { display: flex; flex-direction: column; gap: 10px; min-height: 227px; padding: 21px; border: 1px solid var(--edge); border-radius: 15px; background: var(--surface); transition: border-color .16s, transform .16s, background .16s; }
.module-card:hover { border-color: #6e80b4; background: #1b2232; transform: translateY(-2px); }
.module-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.module-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: #263757; font-size: 17px; color: #c4d1ff; font-weight: 800; }
.card-arrow { color: #a9b7d1; font-size: 20px; }
.module-card strong { font-size: 17px; }
.muted { color: #a0adc0; font-size: 12px; line-height: 1.6; }
.card-foot { margin-top: auto; padding-top: 14px; font-size: 11px; color: #bdcaff; font-weight: 700; }
.card-foot span { margin-left: 5px; }
.foundation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.status-card { padding: 25px; border-radius: 14px; border: 1px solid var(--edge); background: #121822; }
.status-card h3 { margin: 12px 0 8px; font-size: 16px; }
.status-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.breadcrumbs { display: flex; gap: 13px; color: var(--faint); font-size: 12px; margin-bottom: 30px; }
.breadcrumbs a { color: #bfcbf8; }
.module-hero { padding: 26px 0 34px; }
.heading-line { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.heading-line h1 { margin: 13px 0; font-size: clamp(36px,5vw,60px); line-height: 1.1; letter-spacing: -.05em; }
.pill { border: 1px solid #385f58; border-radius: 99px; padding: 7px 10px; font-size: 11px; color: #b6e8d7; background: #18342d; }
.module-hero p { color: var(--muted); max-width: 650px; line-height: 1.65; }
.module-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(240px,1fr); align-items: start; gap: 18px; }
.work-panel,
.info-panel { min-width: 0; border: 1px solid var(--edge); border-radius: 16px; padding: 27px; background: var(--surface); }
.panel-icon { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 15px; background: #293758; color: #d3dcff; font-size: 30px; }
.work-panel h2,
.info-panel h2 { margin: 24px 0 10px; font-size: 20px; }
.work-panel p { max-width: 560px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.planned { display: flex; flex-direction: column; gap: 11px; margin-top: 46px; padding: 20px; border: 1px dashed #40516d; border-radius: 12px; background: #192336; }
.planned strong { font-size: 13px; font-weight: 650; line-height: 1.5; }
.info-panel h2 { margin: 0 0 23px; }
.info-panel h3 { margin: 24px 0 10px; font-size: 12px; }
.info-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-size: 12px; color: var(--muted); }
code { color: #c2d0ff; font-size: 11px; overflow-wrap: anywhere; }
.info-panel ul { margin: 0; padding-left: 18px; color: #c2cad7; font-size: 12px; line-height: 2; }
.footer { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 22px 4.5%; border-top: 1px solid var(--edge); font-size: 11px; color: var(--faint); }
@media (max-width: 1120px){
.app-frame { grid-template-columns: 216px minmax(0,1fr); }
.module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px){
.app-frame { display: block; }
.sidebar { position: static; height: auto; min-height: auto; padding: 14px 17px; border-right: 0; border-bottom: 1px solid var(--edge); }
.brand { padding: 0 0 14px; }
.site-switcher,
.sidebar-bottom,
.nav-caption { display: none; }
.sidebar nav { flex-direction: row; gap: 7px; overflow-x: auto; padding-bottom: 4px; }
.nav-link { flex: 0 0 auto; white-space: nowrap; font-size: 12px; padding: 10px 12px; }
.topbar { min-height: 58px; }
.content { padding-top: 24px; }
.hero { padding: 29px; }
}
@media (max-width: 560px){
.module-grid,
.foundation-grid,
.module-layout { grid-template-columns: 1fr; }
.module-card { min-height: 190px; }
.environment-tag { display: none; }
.hero h1 { font-size: 35px; }
.hero-tags span { font-size: 10px; }
.section { margin-top: 30px; }
.work-panel,
.info-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce){
html { scroll-behavior: auto; }
*,
*::before,
*::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active){
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid Highlight;
  }
.nav-link.active,
.block-row.active {
    outline: 2px solid Highlight;
  }
}
.page-list-head,
.document-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.page-list-head { padding: 4px 4px 15px; }
.page-list-head h2 { margin: 7px 0 0; font-size: 19px; }
.page-list { display: flex; flex-direction: column; gap: 8px; }
.document-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 22px 0; overflow: hidden; border: 1px solid var(--edge); border-radius: 12px; background: var(--edge); }
.document-meta > div { display: flex; min-width: 0; flex-direction: column; gap: 8px; padding: 14px; background: #121822; }
.document-meta span { color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.document-meta strong { font-size: 12px; }
.document-section { padding-top: 7px; }
.document-section-head { margin-bottom: 12px; }
.block-list { list-style: none; margin: 0; padding: 0; }
.block-list .block-list { margin: 7px 0 0 17px; padding-left: 13px; border-left: 1px solid #344159; }
.block-list li + li { margin-top: 7px; }
.block-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid #2d3748; border-radius: 9px; background: #111722; }
.block-type { min-width:0; overflow:hidden; display:flex; flex-direction:column; gap:2px; color:#d4dcef; }
.block-label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:700; }
.block-type small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#75849b; font-size:9px; font-weight:600; }
.block-row code { flex: 0 1 auto; color: #8190a7; }
.empty-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
@media (max-width: 980px){
.page-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px){
.page-list { grid-template-columns: 1fr; }
.document-meta { grid-template-columns: 1fr; }
}
.draft-pill { border-color: #6b5d31; background: #2f2817; color: #f0d78b; }
.draft-editor { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--edge); }
.draft-editor h3 { margin: 6px 0 0; font-size: 16px; }
.draft-editor p { margin: 10px 0 17px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.draft-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: end; margin-top: 15px; }
.draft-form label { grid-column: 1 / -1; color: #bdc7d8; font-size: 11px; font-weight: 650; }
.draft-form input[type="text"],
.draft-form input:not([type]),
.draft-form select { min-width: 0; width: 100%; border: 1px solid #3b485e; border-radius: 9px; padding: 11px 12px; background: #0f151f; color: var(--text); }
.draft-form input:focus,
.draft-form select:focus { outline: 2px solid #7d91d1; outline-offset: 1px; border-color: transparent; }
.draft-form button,
.secondary-button { border: 1px solid #6176b0; border-radius: 9px; padding: 11px 14px; background: #2d3d69; color: #f4f7ff; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.draft-form button:hover,
.secondary-button:hover { background: #374a7d; }
.discard-form { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.secondary-button { border-color: #465166; background: #171e2a; color: #c9d2df; }
.discard-form span { color: var(--faint); font-size: 10px; }
@media (max-width: 680px){
.draft-form { grid-template-columns: 1fr; }
.draft-form button { width: 100%; }
}
.draft-message { margin-top: 15px; padding: 10px 12px; border: 1px solid #6b5d31; border-radius: 9px; background: #2f2817; color: #f0d78b; font-size: 11px; line-height: 1.5; }
.language-switcher { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--edge); border-radius: 9px; background: #111722; }
.language-link { padding: 6px 8px; border-radius: 6px; color: var(--faint); font-size: 10px; font-weight: 700; }
.language-link:hover { color: var(--text); background: #1b2433; }
.language-link.active { color: #eef2ff; background: #2d3b65; }
@media (max-width: 680px){
.language-link { padding: 6px; }
}
.content-language-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:20px 0; padding:12px 14px; border:1px solid var(--edge); border-radius:11px; background:#111722; }
.content-language-bar > div:first-child { display:flex; flex-direction:column; gap:4px; }
.content-language-bar small { color:var(--faint); font-size:10px; }
.content-language-switcher { display:flex; gap:5px; flex-wrap:wrap; }
.content-language-link { min-width:38px; padding:7px 9px; border:1px solid #38455b; border-radius:7px; text-align:center; color:#aab6c9; font-size:10px; font-weight:750; }
.content-language-link:hover { color:#fff; border-color:#6074a5; }
.content-language-link.active { color:#fff; background:#2d3b65; border-color:#7085bc; }
.block-row { text-decoration:none; cursor:pointer; }
.block-row:hover { border-color:#526587; background:#192234; }
.block-row.active { border-color:#7085bc; background:#202b46; }
.block-tree-shell[data-drag-enabled="true"] .block-tree-item { cursor:grab; }
.block-tree-shell[data-drag-enabled="true"] .block-tree-item:active { cursor:grabbing; }
.block-tree-item.is-drag-source > .block-row { opacity:.45; }
.block-tree-item.drop-before > .block-row { box-shadow:inset 0 3px 0 #9fb0d2; }
.block-tree-item.drop-after > .block-row { box-shadow:inset 0 -3px 0 #9fb0d2; }
.block-tree-item.drop-inside > .block-row { border-color:#8ca0cf; outline:2px solid rgba(140,160,207,.35); outline-offset:2px; }
.block-drag-hint { margin:9px 0 0; color:var(--faint); font-size:10px; line-height:1.5; }
.block-multi-check { position:absolute; z-index:3; left:7px; top:10px; display:grid; place-items:center; width:20px; height:20px; cursor:pointer; }
.block-multi-check input { position:absolute; opacity:0; pointer-events:none; }
.block-multi-check span { display:grid; place-items:center; width:16px; height:16px; border:1px solid #4a5870; border-radius:4px; background:#0d141e; color:transparent; font-size:10px; font-weight:900; transition:.12s ease; }
.block-multi-check input:focus-visible + span { outline:2px solid #9fb0d2; outline-offset:2px; }
.block-multi-check input:checked + span { border-color:#cf57e8; background:#6f2e7e; color:#fff; }
.block-tree-shell[data-multi-select="true"] .block-tree-item { position:relative; }
.block-tree-shell[data-multi-select="true"] .block-tree-item > .block-row { padding-left:34px; }
.block-tree-item.multi-selected > .block-row { border-color:#b24fc8; box-shadow:inset 3px 0 0 #cf57e8; background:#26172c; }
.block-batch-toolbar { display:grid; gap:9px; margin-top:11px; padding:11px 12px; border:1px solid #3a4255; border-radius:9px; background:#0f151f; }
.block-batch-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.block-batch-head strong { color:#dce5f5; font-size:9px; }
.block-batch-actions { display:flex; gap:7px; flex-wrap:wrap; }
.block-batch-actions button { font-size:9px; padding:7px 9px; }
.block-batch-toolbar > small { color:#7f91b1; font-size:8px; line-height:1.5; }
@media (max-width:680px){
.block-batch-head { align-items:flex-start; flex-direction:column; }
.block-batch-actions { display:grid; grid-template-columns:1fr 1fr; }
.block-batch-actions button { width:100%; }
}
.block-inspector { margin-top:18px; padding:18px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.block-inspector-empty { padding:14px 16px; }
.live-surface { margin:18px 0; padding:16px; border:1px solid var(--edge); border-radius:12px; background:#0c1119; }
.live-surface-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:12px; }
.live-surface-head > div:first-child { display:flex; flex-direction:column; gap:5px; }
.live-surface-head small { color:var(--faint); font-size:10px; line-height:1.45; }
.live-surface-head .live-resize-hint { color:#9fb0d2; }
.live-viewport-actions { display:flex; gap:6px; flex-wrap:wrap; }
.live-viewport-actions .secondary-button { padding:8px 10px; font-size:9px; }
.live-viewport-actions .secondary-button.active { border-color:#7085bc; background:#2d3b65; color:#fff; }
.live-surface-stage { width:100%; margin-inline:auto; transition:max-width .18s ease; border:1px solid #2d384a; border-radius:10px; overflow:hidden; background:#fff; box-shadow:0 12px 30px rgba(0,0,0,.25); }
.live-surface-stage[data-live-viewport-stage="desktop"] { max-width:100%; }
.live-surface-stage[data-live-viewport-stage="tablet"] { max-width:768px; }
.live-surface-stage[data-live-viewport-stage="mobile"] { max-width:390px; }
.live-surface-frame { display:block; width:100%; height:620px; border:0; background:#fff; }
@media (max-width:680px){
.live-surface-head { flex-direction:column; }
.live-viewport-actions { width:100%; }
.live-viewport-actions .secondary-button { flex:1; }
.live-surface-frame { height:520px; }
}
.publication-panel { margin-top:18px; padding:18px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.publication-status { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid #2e394b; border-radius:9px; background:#0f151f; }
.publication-status span { color:var(--faint); font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
.publication-status strong { color:#dbe4f7; font-size:11px; text-align:right; }
.publication-actions { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; align-items:end; margin-top:12px; }
.publication-actions > form:first-child { margin:0; }
.publication-actions > form:first-child button { border:1px solid #4f7f68; border-radius:9px; padding:11px 14px; background:#1c4935; color:#e6fff2; font:inherit; font-size:11px; font-weight:750; cursor:pointer; }
.publication-schedule-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; margin:0; }
.publication-schedule-form label { grid-column:1 / -1; color:#bdc7d8; font-size:10px; font-weight:700; }
.publication-schedule-form input { width:100%; border:1px solid #3b485e; border-radius:8px; padding:10px 11px; background:#0f151f; color:var(--text); font:inherit; font-size:11px; color-scheme:dark; }
.scheduled-publication { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:12px; padding:10px 12px; border:1px solid #695f35; border-radius:9px; background:#2c2718; }
.scheduled-publication span { color:#c7b66a; font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
.scheduled-publication strong { flex:1; color:#f0df9b; font-size:11px; }
.scheduled-publication form { margin:0; }
.publication-history { margin-top:16px; padding-top:14px; border-top:1px solid var(--edge); }
.publication-revision-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; padding:10px 12px; border:1px solid #293446; border-radius:8px; background:#0e141e; }
.publication-revision-row > div { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr); gap:3px 8px; align-items:center; }
.publication-revision-row strong { color:#eef3ff; font-size:11px; }
.publication-revision-row code { overflow:hidden; text-overflow:ellipsis; color:#9aaccc; }
.publication-revision-row small { grid-column:1 / -1; color:var(--faint); font-size:9px; }
.publication-revision-row form { margin:0; }
.publication-current-dot { color:#62d79c; font-size:10px; }
@media (max-width:680px){
.publication-actions { grid-template-columns:1fr; }
.publication-actions > form:first-child button { width:100%; }
.publication-schedule-form { grid-template-columns:1fr; }
.publication-schedule-form button { width:100%; }
.publication-status { align-items:flex-start; flex-direction:column; }
.publication-status strong { text-align:left; }
}
.block-breadcrumb { margin:14px 0 10px; }
.block-breadcrumb-links { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:8px; font-size:10px; }
.block-breadcrumb-links a { color:#9fb0d2; text-decoration:none; }
.block-breadcrumb-links a:hover { color:#fff; text-decoration:underline; }
.block-breadcrumb-links span[aria-current="page"] { color:#f2f5ff; font-weight:750; }
.block-breadcrumb-separator { color:#56647a; }
.block-inspector-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; margin:14px 0 18px; border:1px solid var(--edge); border-radius:9px; overflow:hidden; background:var(--edge); }
.block-inspector-meta > div { display:flex; flex-direction:column; gap:6px; padding:11px; background:#0f151f; }
.block-inspector-meta span { color:var(--faint); font-size:9px; text-transform:uppercase; letter-spacing:.07em; }
.block-fields-head { margin-bottom:10px; }
.block-field-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:end; margin-top:10px; }
.block-field-form label { grid-column:1 / -1; color:#bdc7d8; font-size:10px; font-weight:700; }
.block-field-form textarea,
.block-field-form input,
.block-field-form select { width:100%; border:1px solid #3b485e; border-radius:8px; padding:10px 11px; background:#0f151f; color:var(--text); font:inherit; font-size:11px; line-height:1.5; }
.block-field-form textarea { min-height:76px; resize:vertical; }
.block-field-form textarea:focus,
.block-field-form input:focus,
.block-field-form select:focus { outline:2px solid #7d91d1; outline-offset:1px; border-color:transparent; }
.block-field-form button { border:1px solid #6176b0; border-radius:8px; padding:10px 12px; background:#2d3d69; color:#f4f7ff; font:inherit; font-size:10px; font-weight:750; cursor:pointer; }
.block-field-readonly { margin-top:10px; padding:10px 11px; border:1px solid #303a4b; border-radius:8px; background:#0f151f; }
.block-field-readonly span { color:var(--faint); font-size:9px; text-transform:uppercase; }
.block-field-readonly p { margin:6px 0 0; color:#c9d3e1; font-size:11px; line-height:1.55; }
@media (max-width: 680px){
.content-language-bar { align-items:flex-start; flex-direction:column; }
.block-inspector-meta { grid-template-columns:1fr; }
.block-field-form { grid-template-columns:1fr; }
.block-field-form button { width:100%; }
}
.draft-history-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; padding:10px 12px; border:1px solid var(--edge); border-radius:9px; background:#101722; }
.draft-history-actions { display:flex; gap:7px; }
.draft-history-actions form { margin:0; }
.secondary-button:disabled { opacity:.38; cursor:not-allowed; }
.block-order-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0 16px; padding:10px 12px; border:1px solid var(--edge); border-radius:9px; background:#0f151f; }
.block-order-actions { display:flex; gap:7px; flex-wrap:wrap; }
.block-order-actions form { margin:0; }
.block-position-zone { margin:0 0 16px; padding:12px; border:1px solid var(--edge); border-radius:9px; background:#0f151f; }
.block-position-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:end; margin-top:9px; }
.block-position-form label { grid-column:1 / -1; color:#bdc7d8; font-size:10px; font-weight:700; }
.block-position-form select { min-width:0; width:100%; border:1px solid #3b485e; border-radius:8px; padding:10px 11px; background:#0f151f; color:var(--text); font:inherit; font-size:11px; }
.block-position-form select:focus { outline:2px solid #7d91d1; outline-offset:1px; border-color:transparent; }
@media (max-width:680px){
.block-position-form { grid-template-columns:1fr; }
.block-position-form button { width:100%; }
}
.block-danger-zone { margin-top:18px; padding-top:16px; border-top:1px solid var(--edge); }
.block-danger-zone form { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0; }
.block-danger-zone span { color:var(--faint); font-size:10px; }
.danger-button { border:1px solid #7c4650; border-radius:8px; padding:10px 12px; background:#2b171b; color:#ffd9df; font:inherit; font-size:10px; font-weight:750; cursor:pointer; }
.danger-button:hover { background:#3a1d23; }
.block-duplicate-zone { margin-top:18px; padding-top:16px; border-top:1px solid var(--edge); }
.block-duplicate-zone .draft-form { margin-top:0; }
.zone-hint { display:block; margin-top:7px; color:var(--faint); font-size:10px; }
.block-create-zone { margin-top:20px; padding-top:18px; border-top:1px solid var(--edge); }
.block-create-form { grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; }
.block-create-form label { grid-column:auto; }
.draft-form button:disabled { opacity:.38; cursor:not-allowed; }
@media (max-width: 820px){
.block-create-form { grid-template-columns:1fr; }
.block-create-form label { grid-column:1; }
}
.block-description { margin: 8px 0 14px; color: var(--faint); font-size: 11px; line-height: 1.55; }
.field-help { grid-column: 1 / -1; color: var(--faint); font-size: 9px; line-height: 1.45; }
.block-create-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto; }
@media (max-width: 980px){
.block-create-form { grid-template-columns: 1fr 1fr; }
.block-create-form button { align-self: end; }
}
@media (max-width: 680px){
.block-create-form { grid-template-columns: 1fr; }
}
.presentation-editor { margin:18px 0; padding-top:16px; border-top:1px solid var(--edge); }
.presentation-viewport { margin-top:9px; border:1px solid #2e394b; border-radius:9px; background:#0f151f; overflow:hidden; }
.presentation-viewport summary { cursor:pointer; padding:10px 12px; color:#d8e1f3; font-size:10px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.presentation-viewport[open] summary { border-bottom:1px solid #2e394b; }
.presentation-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:12px; }
.presentation-form > label { display:flex; flex-direction:column; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.presentation-form input,
.presentation-form select { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.presentation-spacing { grid-column:1 / -1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin:0; padding:9px; border:1px solid #2f3a4c; border-radius:8px; }
.presentation-spacing legend { padding:0 5px; color:var(--faint); font-size:9px; }
.presentation-form > button { grid-column:1 / -1; justify-self:start; }
@media (max-width:680px){
.presentation-form { grid-template-columns:1fr; }
.presentation-spacing { grid-template-columns:repeat(2,minmax(0,1fr)); }
.presentation-form > button { width:100%; }
}
.optional-fields-head { margin-top: 20px; }
.optional-field-form { border-style: dashed; }
.optional-field-remove-form { display:flex; justify-content:flex-end; margin:6px 0 12px; }
.optional-field-remove-form .secondary-button { font-size:9px; padding:7px 9px; }
.media-upload-panel { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; margin:18px 0; padding:18px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.media-upload-panel p { margin:6px 0 0; max-width:72ch; color:var(--faint); font-size:10px; line-height:1.55; }
.media-file-picker { display:inline-flex; align-items:center; justify-content:center; min-width:150px; border:1px solid #4c608b; border-radius:9px; padding:11px 14px; background:#22304f; color:#eef3ff; font-size:10px; font-weight:800; cursor:pointer; }
.media-file-picker input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.media-upload-panel output { grid-column:1 / -1; min-height:1em; color:#aebddd; font-size:10px; }
.media-language-bar { margin:14px 0; }
.media-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:14px 0; }
.media-toolbar > div { display:flex; gap:7px; flex-wrap:wrap; }
.media-toolbar .secondary-button { text-decoration:none; }
.media-toolbar .secondary-button.active { border-color:#7085bc; background:#2d3b65; color:#fff; }
.media-toolbar strong { color:#cbd5e8; font-size:10px; }
.media-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:14px; }
.media-card { overflow:hidden; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.media-preview { display:grid; place-items:center; aspect-ratio:4 / 3; background:#0a0f16; border-bottom:1px solid var(--edge); overflow:hidden; }
.media-preview img { width:100%; height:100%; object-fit:contain; display:block; }
.media-file-placeholder { display:grid; place-items:center; width:64px; height:64px; border:1px solid #334057; border-radius:14px; color:#8fa4ce; font-size:28px; }
.media-card-body { padding:14px; }
.media-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.media-card-head > div { min-width:0; display:flex; flex-direction:column; gap:4px; }
.media-card-head strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#f1f5ff; font-size:11px; }
.media-card-head code { color:#8295ba; font-size:9px; }
.media-facts { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 0; }
.media-facts div { padding:8px 9px; border:1px solid #293446; border-radius:8px; background:#0e141e; }
.media-facts dt { color:var(--faint); font-size:8px; text-transform:uppercase; letter-spacing:.06em; }
.media-facts dd { margin:4px 0 0; color:#dce5f5; font-size:10px; }
.media-metadata-form { display:grid; gap:9px; margin:0; }
.media-metadata-form label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.media-metadata-form input { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.media-metadata-form select { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.media-collection-fieldset { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:6px; margin:0; padding:9px; border:1px solid #2f3a4c; border-radius:8px; }
.media-collection-fieldset legend { padding:0 5px; color:var(--faint); font-size:9px; font-weight:700; }
.media-collection-choice { display:flex !important; flex-direction:row; align-items:center; gap:7px !important; padding:7px; border:1px solid #283345; border-radius:7px; background:#0b1119; }
.media-collection-choice input { width:auto; }
.media-reference-panel { margin-top:12px; padding:10px; border:1px solid #283548; border-radius:8px; background:#0b1119; }
.media-reference-panel ul { display:grid; gap:5px; margin:8px 0; padding:0; list-style:none; }
.media-reference-panel li { display:flex; justify-content:space-between; gap:8px; padding:6px 7px; border:1px solid #263144; border-radius:6px; font-size:8px; }
.media-reference-panel li span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#cbd5e8; }
.media-reference-panel li code { color:#7f91b1; }
.media-reference-panel p,
.media-reference-panel small { margin:7px 0 0; color:#7f91b1; font-size:8px; line-height:1.45; }
.media-organization { margin:16px 0; padding:16px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.media-organization-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:12px; }
.media-organization-create,
.media-organization-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:9px; padding:10px; border:1px dashed #334159; border-radius:9px; background:#0e141e; }
.media-organization-form { border-style:solid; }
.media-organization-create label,
.media-organization-form label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.media-organization-create input,
.media-organization-create select,
.media-organization-form input,
.media-organization-form select { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:8px 9px; background:#0b1119; color:var(--text); font:inherit; font-size:9px; }
.media-organization-form code { display:flex; align-items:center; min-height:33px; padding:7px 8px; border:1px solid #283548; border-radius:7px; color:#95a6c5; background:#090e15; }
.media-organization-list { display:grid; gap:8px; margin-top:9px; }
.media-organization-card { border:1px solid #293548; border-radius:9px; background:#0c121b; overflow:hidden; }
.media-organization-delete { display:flex; justify-content:flex-end; padding:0 10px 10px; }
.media-filter-form { display:flex; align-items:end; gap:7px; flex-wrap:wrap; }
.media-filter-form label { display:grid; gap:4px; color:#93a3bf; font-size:8px; font-weight:700; }
.media-filter-form select { min-width:130px; border:1px solid #3b485e; border-radius:8px; padding:7px 8px; background:#0b1119; color:var(--text); font:inherit; font-size:9px; }
.media-card-actions button:disabled { opacity:.35; cursor:not-allowed; }
.media-metadata-form button { justify-self:start; }
.media-card-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; padding-top:12px; border-top:1px solid #283345; }
.media-card-actions form { margin:0; }
.media-delete-warning { display:block; margin-top:8px; color:#c69ca5; font-size:9px; line-height:1.45; }
@media (max-width:680px){
.media-upload-panel { grid-template-columns:1fr; }
.media-file-picker { width:100%; }
.media-toolbar { align-items:flex-start; flex-direction:column; }
.media-grid { grid-template-columns:1fr; }
.media-organization-grid { grid-template-columns:1fr; }
.media-organization-create,
.media-organization-form { grid-template-columns:1fr; }
.media-filter-form { align-items:stretch; flex-direction:column; width:100%; }
.media-filter-form select,
.media-filter-form button { width:100%; }
}
.catalog-language-bar { margin:14px 0; }
.catalog-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.catalog-column { min-width:0; padding:16px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.catalog-create-form,
.catalog-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:12px 0; }
.catalog-create-form label,
.catalog-form label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.catalog-create-form input,
.catalog-create-form select,
.catalog-form input,
.catalog-form select,
.catalog-form textarea { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.catalog-form textarea { resize:vertical; }
.catalog-create-form button,
.catalog-form > button { align-self:end; justify-self:start; }
.catalog-form-wide { grid-column:1 / -1; }
.catalog-checkbox { display:flex !important; flex-direction:row; align-items:center; gap:7px !important; }
.catalog-checkbox input { width:auto; }
.catalog-card-list { display:grid; gap:10px; margin-top:14px; }
.catalog-card { padding:12px; border:1px solid #2d384b; border-radius:10px; background:#0e141e; }
.catalog-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:8px; }
.catalog-card-head strong { color:#eef3ff; font-size:11px; }
.catalog-card-head code { color:#8799bc; font-size:9px; }
.catalog-delete-form { margin:10px 0 0; padding-top:10px; border-top:1px solid #283345; }
@media (max-width:900px){
.catalog-columns { grid-template-columns:1fr; }
}
@media (max-width:560px){
.catalog-create-form,
.catalog-form { grid-template-columns:1fr; }
.catalog-form-wide { grid-column:1; }
.catalog-create-form button,
.catalog-form > button { width:100%; }
}
.products-language-bar { margin:14px 0; }
.product-create-panel,
.products-list { margin-top:16px; }
.product-create-panel { padding:16px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.products-list { display:grid; gap:12px; }
.products-filter-panel { margin:14px 0; padding:14px; border:1px solid var(--edge); border-radius:11px; background:#111722; }
.products-filter-form { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:10px; align-items:end; }
.products-filter-form label { display:grid; gap:5px; color:#aebbd1; font-size:9px; font-weight:700; }
.products-filter-form input,
.products-filter-form select,
.products-bulk-form select { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:8px 9px; background:#0b1119; color:var(--text); font:inherit; font-size:9px; }
.products-filter-form button { align-self:end; }
.products-bulk-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0 0 14px; }
.products-bulk-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; padding:12px; border:1px solid #35425a; border-radius:10px; background:#0e141e; }
.products-bulk-form .eyebrow,
.products-bulk-form small { grid-column:1/-1; }
.products-bulk-form small { color:#8294b4; font-size:8px; line-height:1.45; }
.product-bulk-check { display:flex; align-items:center; gap:7px; margin:8px 12px 0; color:#aebbd1; font-size:9px; font-weight:700; }
.product-bulk-check input { width:auto; accent-color:#7f62b8; }
.variant-bulk-check { margin:0 0 9px; padding-bottom:8px; border-bottom:1px solid #283548; }
.product-card { border:1px solid var(--edge); border-radius:12px; background:#111722; overflow:hidden; }
.product-card > summary { display:flex; align-items:center; gap:10px; padding:13px 15px; cursor:pointer; color:#eef3ff; }
.product-card > summary span:first-child { flex:1; font-weight:800; }
.product-card > summary code { color:#8799bc; font-size:9px; }
.product-card-body { padding:15px; border-top:1px solid var(--edge); }
.product-form,
.variant-form,
.product-option-form { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.product-form label,
.variant-form label,
.product-option-form label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.product-form input,
.product-form select,
.product-form textarea,
.variant-form input,
.variant-form select,
.product-option-form input { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.product-form textarea { resize:vertical; }
.product-form-wide { grid-column:1 / -1; }
.product-assignment { margin:0; padding:9px; border:1px solid #2f3a4c; border-radius:8px; }
.product-assignment legend { padding:0 5px; color:var(--faint); font-size:9px; }
.product-assignment label { display:flex; flex-direction:row; align-items:center; gap:7px; margin:5px 0; }
.product-assignment input { width:auto; }
.product-form > button,
.variant-form > button,
.product-option-form > button { justify-self:start; align-self:end; }
.product-delete-form { margin:10px 0 0; padding-top:10px; border-top:1px solid #283345; }
.product-subsection { margin-top:18px; padding-top:16px; border-top:1px solid var(--edge); }
.product-option-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; margin-top:9px; }
.product-option-row > form:last-child { margin:0; }
.product-option-create { margin-top:10px; }
.variant-list { display:grid; gap:9px; margin-top:10px; }
.variant-card { padding:11px; border:1px solid #2d384b; border-radius:9px; background:#0e141e; }
.variant-create-form { margin-top:12px; padding:12px; border:1px dashed #3a4860; border-radius:9px; }
@media (max-width:980px){
.products-filter-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
.products-bulk-grid { grid-template-columns:1fr; }
.product-form,
.variant-form,
.product-option-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px){
.products-filter-form,
.products-bulk-form { grid-template-columns:1fr; }
.products-bulk-form .eyebrow,
.products-bulk-form small { grid-column:1; }
.products-bulk-form button { width:100%; }
.product-form,
.variant-form,
.product-option-form { grid-template-columns:1fr; }
.product-form-wide { grid-column:1; }
.product-option-row { grid-template-columns:1fr; }
.product-form > button,
.variant-form > button,
.product-option-form > button { width:100%; }
}
.branding-language-bar { margin:14px 0; }
.branding-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.branding-panel,
.branding-token-workspace { padding:16px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.branding-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:12px; }
.branding-form label,
.branding-token-form label,
.branding-token-add label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.branding-form input,
.branding-form select,
.branding-token-form input,
.branding-token-add input { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.branding-form-wide { grid-column:1 / -1; }
.branding-form > button { justify-self:start; align-self:end; }
.branding-token-workspace { margin-top:16px; }
.branding-token-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px; }
.branding-token-group { min-width:0; padding:12px; border:1px solid #2d384b; border-radius:10px; background:#0e141e; }
.branding-token-list { display:grid; gap:8px; }
.branding-token-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; }
.branding-token-form { display:grid; grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr) auto; gap:8px; align-items:end; margin:0; }
.branding-token-form label:first-of-type code { display:flex; min-height:34px; align-items:center; padding:8px 9px; border:1px solid #293446; border-radius:8px; background:#0b1119; }
.branding-token-row > form:last-child { margin:0; }
.branding-token-add { display:grid; grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr) auto; gap:8px; align-items:end; margin-top:10px; padding-top:10px; border-top:1px dashed #334057; }
.branding-reset-zone { margin-top:16px; padding:15px; border:1px solid #47323a; border-radius:10px; background:#171116; }
.branding-reset-zone form { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0; }
.branding-reset-zone span { color:#bba5aa; font-size:9px; line-height:1.45; }
.branding-reset-zone button:disabled { opacity:.35; cursor:not-allowed; }
@media (max-width:980px){
.branding-grid,
.branding-token-groups { grid-template-columns:1fr; }
}
@media (max-width:680px){
.branding-form { grid-template-columns:1fr; }
.branding-form-wide { grid-column:1; }
.branding-token-row { grid-template-columns:1fr; }
.branding-token-form,
.branding-token-add { grid-template-columns:1fr; }
.branding-form > button,
.branding-token-form > button,
.branding-token-add > button { width:100%; }
}
.auth-body { min-height:100vh; background:#0b1017; color:var(--text); }
.auth-shell { min-height:100vh; display:grid; place-items:center; padding:24px; }
.auth-card { width:min(460px,100%); padding:24px; border:1px solid #29364b; border-radius:16px; background:#111722; box-shadow:0 24px 70px rgba(0,0,0,.35); }
.auth-brand { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.auth-brand .brand-mark { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; background:#eef3ff; color:#111722; font-weight:900; }
.auth-brand div { display:flex; flex-direction:column; }
.auth-brand strong { color:#f4f7ff; font-size:11px; letter-spacing:.08em; }
.auth-brand small { color:#8092b3; font-size:7px; letter-spacing:.17em; }
.auth-language-switcher { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:24px; }
.auth-card h1 { margin:7px 0 9px; color:#fff; font-size:clamp(25px,5vw,36px); line-height:1.06; }
.auth-card > p { margin:0 0 18px; color:#aeb9cd; font-size:11px; line-height:1.65; }
.auth-error { margin:0 0 14px; padding:10px 12px; border:1px solid #754752; border-radius:9px; background:#321d24; color:#ffd7df; font-size:10px; }
.auth-form { display:grid; gap:12px; margin:0; }
.auth-form label { display:grid; gap:6px; color:#c8d1e2; font-size:10px; font-weight:750; }
.auth-form input { width:100%; border:1px solid #3b485e; border-radius:9px; padding:11px 12px; background:#0b1119; color:#f2f6ff; font:inherit; font-size:12px; }
.auth-form small { color:#788aa9; font-size:8px; font-weight:500; }
.auth-form button { margin-top:3px; padding:12px 14px; border:1px solid #5873b6; border-radius:9px; background:#304a8c; color:#fff; font:inherit; font-size:11px; font-weight:850; cursor:pointer; }
.sidebar-user { margin-top:auto; padding:12px 10px; border-top:1px solid var(--edge); display:grid; gap:9px; }
.sidebar-user > div { min-width:0; display:grid; gap:3px; }
.sidebar-user strong,
.sidebar-user small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sidebar-user strong { color:#e9efff; font-size:10px; }
.sidebar-user small { color:#7f91b1; font-size:8px; }
.sidebar-user form { margin:0; }
.sidebar-user button { width:100%; }
.sidebar-user + .sidebar-bottom { margin-top:0; }
.auth-language-bar { margin:14px 0; }
.auth-admin-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:16px; align-items:start; }
.auth-admin-column { min-width:0; padding:16px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.auth-create-card,
.auth-user-card,
.auth-role-card { padding:12px; border:1px solid #2d384b; border-radius:10px; background:#0e141e; }
.auth-create-card { margin:12px 0 14px; border-style:dashed; }
.auth-card-list { display:grid; gap:10px; }
.auth-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:10px; }
.auth-card-head > div:first-child { min-width:0; display:grid; gap:3px; }
.auth-card-head strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#eef3ff; font-size:11px; }
.auth-card-head small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8497b9; font-size:8px; }
.auth-card-badges { display:flex !important; flex-direction:row; gap:6px !important; flex-wrap:wrap; justify-content:flex-end; }
.auth-user-form,
.auth-role-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.auth-user-form label,
.auth-role-form label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.auth-user-form input,
.auth-user-form select,
.auth-role-form input { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.auth-user-form label > code { display:flex; min-height:34px; align-items:center; padding:8px 9px; border:1px solid #293446; border-radius:8px; background:#0b1119; color:#9fb0cf; }
.auth-form-wide { grid-column:1 / -1; }
.auth-user-form > button,
.auth-role-form > button { justify-self:start; align-self:end; }
.auth-role-fieldset { grid-column:1 / -1; display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:7px; margin:0; padding:9px; border:1px solid #2f3a4c; border-radius:8px; }
.auth-role-fieldset legend { padding:0 5px; color:var(--faint); font-size:9px; font-weight:700; }
.auth-role-choice { display:flex !important; flex-direction:row; align-items:center; gap:7px !important; padding:7px; border:1px solid #283345; border-radius:7px; background:#0b1119; }
.auth-role-choice input { width:auto; }
.auth-role-choice span { min-width:0; display:grid; gap:2px; }
.auth-role-choice strong { color:#dfe7f7; font-size:9px; }
.auth-role-choice small { color:#7183a4; font-size:7px; }
.auth-delete-form { margin:10px 0 0; padding-top:10px; border-top:1px solid #283345; }
.auth-delete-form button:disabled { opacity:.35; cursor:not-allowed; }
.auth-role-card.readonly { background:#0c121b; }
.auth-capability-list { display:block; overflow-wrap:anywhere; padding:9px; border:1px solid #263144; border-radius:7px; background:#090e15; color:#9fb0cf; font-size:8px; line-height:1.55; }
.auth-role-hint { display:block; margin-top:7px; color:#7385a5; font-size:8px; line-height:1.45; }
.auth-protection-note { margin:10px 0 14px; padding:9px 10px; border:1px solid #4b3c32; border-radius:8px; background:#1b1712; color:#cbb89f; font-size:9px; line-height:1.5; }
@media (max-width:980px){
.auth-admin-grid { grid-template-columns:1fr; }
}
@media (max-width:620px){
.auth-user-form,
.auth-role-form { grid-template-columns:1fr; }
.auth-form-wide,
.auth-role-fieldset { grid-column:1; }
.auth-user-form > button,
.auth-role-form > button { width:100%; }
}
.commerce-admin-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:16px; align-items:start; }
.commerce-admin-column { min-width:0; padding:16px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.commerce-card-list { display:grid; gap:10px; margin-top:12px; }
.commerce-order-card,
.commerce-cart-card { padding:12px; border:1px solid #2d384b; border-radius:10px; background:#0e141e; }
.commerce-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.commerce-card-head > div { min-width:0; display:grid; gap:3px; }
.commerce-card-head strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#eef3ff; font-size:11px; }
.commerce-card-head small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8497b9; font-size:8px; }
.commerce-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0; }
.commerce-facts div { min-width:0; padding:8px 9px; border:1px solid #293446; border-radius:8px; background:#0b1119; }
.commerce-facts dt { color:#7d8eac; font-size:7px; text-transform:uppercase; letter-spacing:.06em; }
.commerce-facts dd { margin:4px 0 0; overflow:hidden; text-overflow:ellipsis; color:#dce5f5; font-size:9px; }
.commerce-lines { margin-top:10px; }
.commerce-lines ul,
.commerce-cart-items { display:grid; gap:6px; margin:7px 0 0; padding:0; list-style:none; }
.commerce-lines li,
.commerce-cart-items li { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; align-items:center; padding:7px 8px; border:1px solid #263144; border-radius:7px; background:#090e15; font-size:8px; }
.commerce-lines li span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#d8e1f2; }
.commerce-lines li code,
.commerce-cart-items code { color:#8093b6; }
.commerce-lines li strong,
.commerce-cart-items span { color:#b9c6dc; font-size:8px; }
.commerce-transition-form { display:grid; grid-template-columns:minmax(160px,1fr) auto; gap:8px; align-items:end; margin-top:12px; padding-top:10px; border-top:1px solid #283345; }
.commerce-transition-form label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.commerce-transition-form select { width:100%; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.commerce-cart-card form { margin:10px 0 0; }
@media (max-width:980px){
.commerce-admin-grid { grid-template-columns:1fr; }
}
@media (max-width:620px){
.commerce-facts { grid-template-columns:1fr; }
.commerce-lines li,
.commerce-cart-items li { grid-template-columns:1fr; }
.commerce-transition-form { grid-template-columns:1fr; }
.commerce-transition-form button { width:100%; }
}
.automation-provider-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:14px 0; padding:12px 14px; border:1px solid var(--edge); border-radius:10px; background:#111722; }
.automation-provider-bar > div { display:flex; gap:7px; flex-wrap:wrap; }
.automation-provider-bar code { padding:6px 8px; border:1px solid #31405a; border-radius:7px; background:#0b1119; color:#aebddd; font-size:8px; }
.automation-admin-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr); gap:16px; align-items:start; }
.automation-admin-column { min-width:0; padding:16px; border:1px solid var(--edge); border-radius:12px; background:#111722; }
.automation-card-list { display:grid; gap:10px; }
.automation-workflow-card { padding:12px; border:1px solid #2d384b; border-radius:10px; background:#0e141e; }
.automation-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:10px; }
.automation-card-head > div { min-width:0; display:grid; gap:3px; }
.automation-card-head strong { color:#eef3ff; font-size:11px; }
.automation-card-head small { color:#8395b7; font-size:8px; }
.automation-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.automation-form label,
.automation-test-form label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.automation-form input,
.automation-form textarea,
.automation-test-form input,
.automation-test-form textarea { width:100%; min-width:0; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.automation-form textarea,
.automation-test-form textarea { resize:vertical; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; line-height:1.45; }
.automation-form-wide { grid-column:1/-1; }
.automation-form > button { justify-self:start; align-self:end; }
.automation-test-form { display:grid; gap:9px; padding:12px; border:1px dashed #34425a; border-radius:9px; background:#0e141e; }
.automation-section-head { margin-top:18px; }
.automation-execution-list,
.automation-event-list { display:grid; gap:7px; margin-top:9px; }
.automation-execution-row,
.automation-event-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 10px; align-items:center; padding:9px 10px; border:1px solid #283548; border-radius:8px; background:#0b1119; }
.automation-execution-row > div,
.automation-event-row > div { min-width:0; display:grid; gap:2px; }
.automation-execution-row strong,
.automation-event-row strong { color:#e1e8f5; font-size:9px; }
.automation-execution-row small,
.automation-event-row small,
.automation-event-row time { color:#7f91b1; font-size:7px; }
.automation-execution-row code,
.automation-event-row code { grid-column:1/-1; overflow-wrap:anywhere; color:#98a9c7; font-size:7px; }
@media (max-width:980px){
.automation-admin-grid { grid-template-columns:1fr; }
}
@media (max-width:620px){
.automation-provider-bar { align-items:flex-start; flex-direction:column; }
.automation-form { grid-template-columns:1fr; }
.automation-form-wide { grid-column:1; }
.automation-form > button { width:100%; }
}
.commerce-payment-create-form { display:grid; grid-template-columns:minmax(160px,1fr) auto; gap:8px; align-items:end; margin-top:12px; padding-top:10px; border-top:1px dashed #34425a; }
.commerce-payment-create-form label { display:grid; gap:5px; color:#bdc7d8; font-size:9px; font-weight:700; }
.commerce-payment-create-form select { width:100%; border:1px solid #3b485e; border-radius:8px; padding:9px 10px; background:#0b1119; color:var(--text); font:inherit; font-size:10px; }
.commerce-payment-create-form small { grid-column:1/-1; color:#7e90af; font-size:8px; line-height:1.45; }
.commerce-payment-head { margin-top:18px; }
.commerce-payment-card { padding:12px; border:1px solid #2d384b; border-radius:10px; background:#0e141e; }
@media (max-width:620px){
.commerce-payment-create-form { grid-template-columns:1fr; }
.commerce-payment-create-form small { grid-column:1; }
.commerce-payment-create-form button { width:100%; }
}
.live-surface-stage { position: relative; }
.live-surface-selection-layer { position: absolute; inset: 0; z-index: 2; cursor: crosshair; background: transparent; }
.live-surface-parent-resize { position:absolute; width:24px; height:24px; z-index:4; border:2px solid #fff; border-radius:5px; background:#4f6bbe; cursor:ew-resize; touch-action:none; pointer-events:auto; box-shadow:0 1px 5px rgba(0,0,0,.4); }
.live-surface-parent-resize[hidden] { display:none; }
.live-surface-parent-resize:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.live-surface-image-move { position:absolute; z-index:6; width:32px; height:32px; border:2px solid white; border-radius:8px; background:#174e87; color:#fff; font-size:20px; line-height:1; cursor:grab; touch-action:none; pointer-events:auto; box-shadow:0 2px 10px #0009; }
.live-surface-image-move:active { cursor:grabbing; }
.live-surface-image-move[hidden] { display:none; }
.live-surface-image-move:focus-visible { outline:3px solid #ffdc8a; outline-offset:3px; }
.live-surface-element-move { background:#145f74; }
.live-layout-toolbar { position:sticky; bottom:12px; z-index:9; display:flex; flex-wrap:wrap; align-items:end; gap:8px; width:max-content; max-width:calc(100% - 20px); margin:10px auto; padding:10px; border:1px solid #819ab9; border-radius:12px; background:#142438f5; box-shadow:0 7px 30px #0008; color:#fff; font-size:12px; }
.live-layout-toolbar[hidden] { display:none; }
.live-layout-toolbar label { display:flex; align-items:center; gap:5px; color:#eff5ff; }
.live-layout-toolbar select { max-width:105px; padding:7px; color:#fff; border:1px solid #7389aa; border-radius:6px; background:#253a54; font:inherit; }
.live-layout-toolbar button { padding:8px 12px; border:1px solid #bddef9; border-radius:7px; background:#275c86; color:#fff; font-weight:650; cursor:pointer; }
.live-layout-toolbar :focus-visible { outline:3px solid #ffd56c; outline-offset:2px; }
.live-layout-container {display:flex;align-items:center;gap:6px;border:1px solid #567e91;padding:5px;border-radius:8px;min-width:0}
.live-layout-container[hidden] {display:none}
.live-layout-container select {max-width:75px}
.live-surface-snap-guide { position:absolute; z-index:7; height:0; border-top:2px solid #00d4ff; pointer-events:none; box-shadow:0 0 0 1px #063e5e,0 0 10px #00d4ffaa; }
.live-surface-snap-guide[hidden] { display:none; }
.live-surface-move-feedback { position:absolute; left:12px; bottom:12px; z-index:7; max-width:calc(100% - 24px); padding:9px 13px; background:#173450; border:1px solid #d7e6ff; border-radius:9px; color:#fff; font-size:13px; pointer-events:none; }
.live-surface-move-feedback[hidden] { display:none; }
.live-surface-drag-marker { position:absolute; width:36px; height:24px; border:2px dashed #dc47ff; border-radius:5px; background:rgba(220,71,255,.18); z-index:5; pointer-events:none; }
.live-surface-drag-marker.valid-target { border-style:solid; background:rgba(79,107,190,.26); }
.live-surface-drag-marker[hidden] { display:none; }
.ux-home { max-width: 1120px; margin: 0 auto; padding: clamp(14px,3vw,36px) 0; }
.ux-home h1 { font-size: clamp(27px,3vw,43px); line-height: 1.16; margin: 13px 0 10px; }
.ux-home > p { color: var(--muted, #a9b9cb); }
.ux-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 27px 0; }
.ux-home-actions a { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 12px; text-decoration: none; min-height: 48px; box-sizing: border-box; }
.ux-home-primary { background: #4d7aff; color: #fff; font-weight: 750; }
.ux-home-preview { border: 1px solid var(--edge); color: inherit; }
.ux-home-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.ux-home-card { display: flex; align-items: center; gap: 17px; min-height: 116px; padding: 22px; color: inherit; text-decoration: none; background: var(--surface, #161e2b); border: 1px solid var(--edge); border-radius: 17px; transition: border-color .15s, transform .15s; }
.ux-home-card:hover,
.ux-home-card:focus-visible { border-color: #80a0ff; transform: translateY(-2px); }
.ux-home-icon { display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 47px; border-radius: 13px; background: #2a3752; font-size: 22px; }
.ux-home-card strong,
.ux-home-card small { display: block; }
.ux-home-card strong { font-size: 17px; margin-bottom: 7px; }
.ux-home-card small { color: var(--muted, #a9b9cb); line-height: 1.5; }
.ux-home-arrow { margin-left: auto; font-size: 23px; }
.ux-home-local { margin-top: 22px; font-size: 12px; }
.ux-home-more { margin-top: 27px; border-top: 1px solid var(--edge); padding-top: 18px; }
.ux-home-more summary,
.ux-sidebar-more summary { cursor: pointer; }
.ux-home-more > div { display: flex; flex-wrap: wrap; gap: 13px; padding: 16px 0; }
.ux-home-more a { color: inherit; }
.ux-sidebar-more { margin-top: 10px; border-top: 1px solid var(--edge); padding-top: 12px; }
.ux-sidebar-more summary { font-size: 12px; padding: 10px; color: #afc0d9; }
.ux-sidebar-more .nav-link { margin-top: 4px; }
@media(max-width: 680px){
.ux-home-grid { grid-template-columns: minmax(0,1fr); }
.ux-home-card { min-height: 86px; padding: 15px; }
.ux-home h1 { font-size: 27px; }
.ux-home-actions a { width: 100%; }
}
@media (min-width: 981px){
.live-surface { padding: 10px; }
.live-surface-frame { height: min(72vh, 920px); min-height: 620px; }
}
.ux-maintenance-details { margin: 8px 0 14px; padding: 10px 12px; border: 1px solid var(--edge); border-radius: 10px; background: #111722; }
.ux-maintenance-details > summary { cursor: pointer; color: #d7e0ef; font-size: 12px; font-weight: 700; padding: 4px 2px; }
.ux-maintenance-details[open] > summary { margin-bottom: 12px; }
.ux-maintenance-details .studio-backup-panel { margin: 0; padding: 10px; }
.ux-maintenance-details .studio-backup-panel input { max-width: 100%; }
.ux-maintenance-details button { min-height: 40px; }
@media (max-width: 680px){
.live-surface { padding: 8px; }
.live-surface-frame { height: 65vh; min-height: 360px; }
}
.live-layout-edges { display:flex; align-items:center; flex-wrap:wrap; gap:6px; border:1px solid #465672; border-radius:8px; padding:5px 8px; min-width:0; }
.live-layout-edges summary { cursor:pointer; color:#dce6fb; font-size:11px; font-weight:650; }
.live-layout-edges[open] { flex-basis:100%; }
.live-layout-edges[open] summary { width:100%; }
.live-layout-edges label { display:inline-flex; gap:5px; align-items:center; font-size:10px; }
.live-layout-edges input { width:58px; min-width:0; border-radius:6px; padding:5px; background:#111b2e; color:#f1f5ff; border:1px solid #50617c; }
.live-layout-edges input:focus-visible { outline:2px solid #91aaff; outline-offset:1px; }
.visual-menu-manager {max-height:75vh;overflow:auto;padding:12px;background:#172a29;border:1px solid #5c7871;border-radius:10px}
.visual-menu-manager h2 {margin:0 0 10px;font-size:1.2rem}
.visual-menu-manager form {display:flex;flex-wrap:wrap;gap:7px;padding:8px 0}
.visual-menu-manager label {display:grid;gap:4px;min-width:120px;flex:1;font-size:.84rem}
.visual-menu-manager input,
.visual-menu-manager select {width:100%;max-width:100%;box-sizing:border-box;padding:7px;border-radius:5px}
.visual-menu-manager button {padding:7px 10px;min-height:36px}
.visual-menu-category {padding:12px 0;border-top:1px solid #70847e}
.visual-menu-dish {padding:10px;margin:8px 0;background:#27413d;border-radius:7px}
.visual-menu-dish form:first-child {display:grid;grid-template-columns:1fr;gap:6px}
.visual-menu-manager :focus-visible {outline:3px solid #ffdc89;outline-offset:2px}
.visual-menu-image {display:grid;gap:9px;margin:12px 0;padding:12px;border:1px solid #70847e;border-radius:9px}
.visual-menu-image img {display:block;width:min(100%,240px);height:145px;object-fit:cover;border-radius:7px}
.visual-menu-image label {display:grid;gap:5px;min-width:0}
.visual-menu-image input[type=file] {width:100%;max-width:100%}
.visual-gallery-item {display:grid;gap:9px}
.visual-gallery-item>img {display:block;width:min(100%,300px);height:180px;object-fit:cover;border-radius:9px}
.visual-gallery-item :focus-visible {outline:3px solid #ffdc89;outline-offset:2px}
.visual-contact-manager {padding:16px;background:#172a29;border:1px solid #5c7871;border-radius:10px}
.visual-contact-manager form {display:grid;gap:12px}
.visual-contact-manager label {display:grid;gap:5px;font-size:.9rem}
.visual-contact-manager textarea {min-height:75px;resize:vertical}
.visual-contact-manager textarea,
.visual-contact-manager input {width:100%;box-sizing:border-box;padding:10px;border-radius:6px}
.visual-contact-manager :focus-visible {outline:3px solid #ffdc89;outline-offset:2px}
.canvas-page-navigator {
  display:flex; flex-wrap:wrap; align-items:center; gap:7px;
  margin:0 0 10px; padding:8px 10px; border-radius:12px;
  background:#182437; border:1px solid #485c75;
}
.canvas-page-navigator a {
  display:inline-flex; min-height:40px; align-items:center;
  padding:8px 13px; border:1px solid #647793; border-radius:8px;
  text-decoration:none; color:#fff; font-weight:650; background:#26364c;
}
.canvas-page-navigator a[aria-current="page"] {
  color:#241b12; background:#ebd2a0; border-color:#ebd2a0;
}
.canvas-page-navigator a:focus-visible { outline:3px solid #eab76f; outline-offset:2px; }
@media(max-width:680px){
.canvas-page-navigator { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-inline:contain; }
.canvas-page-navigator a { flex:none; min-height:44px; }
}
.canvas-page-navigator .canvas-preview-link {
  margin-inline-start:auto;
  border-color:#c9a36f;
  background:#55402c;
  color:#fff0d3;
  white-space:nowrap;
}
@media(max-width:680px){
.canvas-page-navigator .canvas-preview-link { margin-inline-start:0; }
}
.visual-menu-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 8px 0 12px;
  background: inherit;
  border-bottom: 1px solid rgba(91, 105, 96, .26);
}
.visual-menu-manager-header h2 { margin: 0; min-width: 0; }
.visual-menu-close {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.visual-menu-close:hover { background: rgba(91, 105, 96, .10); }
.visual-menu-close:focus-visible {
  outline: 3px solid #176c7b;
  outline-offset: 3px;
}
body.independent-editor-mode {margin:0;background:#090f1b;color:#ecf2ff}
/* Designer owns its document directly. The generic admin shell is not
   rendered for /studio?module=pages, so no hidden duplicate navigation
   or legacy main-column is needed. */
body.independent-editor-mode .studio-native-root {
  display:block;width:100%;max-width:none;margin:0;padding:0;min-width:0;
  min-height:100dvh;
}
.nova-native {--native-bg:#090f1b;--native-surface:#121e30;--native-layer:#17263b;--native-border:#34465f;--native-text:#edf3ff;--native-muted:#b6c5dc;--native-accent:#7899f6;display:flex;flex-direction:column;min-height:100dvh;color:var(--native-text);background:var(--native-bg);font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.nova-native * {box-sizing:border-box}
.nova-native :is(button,select,input,textarea) {font:inherit}
.nova-native :is(button,a,summary,input,select,textarea):focus-visible {outline:3px solid #9fb9ff;outline-offset:2px}
.nova-native a {color:#dce9ff;text-decoration:none}
.nova-native :is(button,summary) {cursor:pointer}
.nova-native-header {min-height:72px;background:#0c1524;border-bottom:1px solid var(--native-border);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px;position:relative;z-index:4}
.nova-native-logo {font-weight:800;letter-spacing:.13em;font-size:13px;white-space:nowrap}
.nova-native-breadcrumb {display:flex;align-items:center;gap:10px;min-width:0;color:var(--native-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nova-native-breadcrumb strong {color:var(--native-text)}
.nova-native-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nova-native-actions form {margin:0}
.nova-native-onboarding {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:14px 24px;border-bottom:1px solid #5979b0;background:#1c3150}
.nova-native-onboarding-copy {min-width:0;flex:1}
.nova-native-onboarding h2 {margin:0 0 4px;color:#f6f8ff;font-size:16px}
.nova-native-onboarding p {margin:0;color:#d4e1f6;font-size:12px;line-height:1.55}
.nova-native-onboarding-actions {display:flex;gap:8px;flex-wrap:wrap}
.nova-native-onboarding-actions button {min-height:40px;padding:8px 13px;border:1px solid #7796db;border-radius:8px;background:#365caa;color:#fff;font-weight:600}
.nova-native-onboarding-actions .nova-native-onboarding-skip {background:#1c3150;border-color:#5a7090}
@media(max-width:580px){
.nova-native-onboarding {align-items:stretch;flex-direction:column;padding:12px}
.nova-native-onboarding-actions button {flex:1}
}
.nova-native-draft-status {font-size:11px;color:#c4d4ee;padding:4px 8px;border:1px solid #465c7d;border-radius:7px;line-height:1.4;white-space:nowrap}
.nova-native :is(.nova-native-actions button,.nova-native-actions a,.nova-native-block,.nova-native-inspector-head button) {display:inline-flex;align-items:center;justify-content:center;min-height:37px;border:1px solid #4a6080;background:#1b2b45;color:#eaf1ff;padding:8px 12px;border-radius:8px}
.nova-native :is(button:hover,a:hover,summary:hover) {border-color:#8aa6f6;color:white}
.nova-native button:disabled {opacity:.48;cursor:not-allowed}
.nova-native-main {display:grid;grid-template-columns:minmax(225px,265px) minmax(0,1fr) minmax(280px,345px);min-height:calc(100dvh - 72px);height:calc(100dvh - 72px)}
.nova-native-rail,
.nova-native-inspector {min-height:0;overflow-y:auto;overflow-x:hidden;background:#111b2b;padding:20px 15px;scrollbar-color:#4c6284 transparent}
.nova-native-rail {border-right:1px solid var(--native-border)}
.nova-native-inspector {border-left:1px solid var(--native-border);background:#131e30}
.nova-native h2 {font-size:13px;font-weight:750;margin:10px 0 13px;color:var(--native-text);letter-spacing:.02em}
.nova-native-page-list {display:grid;gap:6px;margin-bottom:15px}
.nova-native-page {display:block;border:1px solid transparent;border-radius:8px;padding:10px 11px;color:#d4e1f6;overflow-wrap:anywhere}
.nova-native-page:hover,
.nova-native-page.is-active {background:#213659;border-color:#5374a7}
.nova-native-page.is-active {font-weight:740;color:white}
.nova-native summary {border:1px solid var(--native-border);background:#1b2b43;padding:10px;border-radius:9px;font-weight:650;color:#e5edff}
.nova-native details {margin:15px 0}
.nova-native details[open]>summary {border-color:#7193df}
.nova-native :is(.nova-native-add-page,.nova-native-management)>form {margin:12px 0;display:grid;gap:10px}
.nova-native label {display:grid;gap:6px;font-size:12px;font-weight:650;color:#e0e9f9}
.nova-native :is(input,select,textarea) {width:100%;max-width:100%;border:1px solid #4c6080;background:#0d1726;color:#f4f7ff;padding:8px 10px;border-radius:7px;min-height:36px}
.nova-native :is(.nova-native-add-page,.nova-native-management) button {border:1px solid #7293ed;background:#3058a5;color:white;padding:9px;border-radius:7px}
.nova-native-block-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.nova-native-block {font-size:11px!important;min-height:50px!important;overflow-wrap:anywhere;white-space:normal}
.nova-native-stage {min-width:0;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#0b1220}
.nova-native-locales {display:flex;align-items:center;gap:6px}
.nova-native-locales a {padding:7px 13px;border:1px solid #364e73;border-radius:7px}
.nova-native-locales a[aria-current] {background:#294873;border-color:#7295de}
.nova-native-stage>.live-surface {min-width:0;flex:1;display:flex;flex-direction:column;margin:0;padding:10px;background:#131d2c;border:1px solid #3a5172;border-radius:12px}
.nova-native-stage .live-surface-head {gap:12px;flex-wrap:wrap}
.nova-native-stage .live-surface-stage {min-height:420px;flex:1;display:flex;justify-content:center;align-items:stretch;overflow:auto}
.nova-native-stage .live-surface-frame {width:100%;height:100%;min-height:420px;background:white}
.nova-native-inspector-head {display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #334766;padding-bottom:12px;margin-bottom:15px}
.nova-native-inspector .block-inspector,
.nova-native-inspector .draft-editor,
.nova-native-inspector .publication-panel,
.nova-native-inspector .document-section {display:block;max-width:100%;min-width:0}
.nova-native-inspector :is(.document-section,.block-inspector,.draft-editor,.publication-panel) {margin:10px 0;padding:12px;background:#18283c;border:1px solid #344f70;border-radius:10px}
.nova-native-inspector :is(form,.block-field-form) {max-width:100%}
.nova-native-inspector form {display:grid;gap:8px;margin:8px 0 16px}
.nova-native-inspector form button {min-height:35px;padding:8px 10px;border:1px solid #7190e8;background:#3159b3;border-radius:7px;color:white}
.nova-native-inspector small,
.nova-native-inspector .zone-hint {color:#b7c8e2}
.nova-native-inspector .block-tree-shell {max-width:100%;overflow:auto}
.nova-native-inspector .draft-message {padding:12px;border-radius:9px;background:#213e54;color:#e9f5ff}
.nova-native-inspector-extra>summary {margin-bottom:14px}
.nova-native [hidden] {display:none!important}
@media(max-width:1150px){
.nova-native-main {grid-template-columns:220px minmax(0,1fr) 285px}
.nova-native-header {padding:12px}
.nova-native-breadcrumb {display:none}
}
@media(max-width:900px){
.nova-native-main {grid-template-columns:minmax(0,1fr);height:auto;min-height:calc(100dvh - 70px)}
.nova-native-stage {min-height:calc(100dvh - 110px);grid-row:1}
.nova-native-rail {grid-row:2;border-top:1px solid var(--native-border);border-right:0;overflow:visible}
.nova-native-inspector {display:none;position:fixed;inset:65px 0 0 auto;width:min(440px,100vw);overflow:auto;z-index:50;box-shadow:-15px 0 35px #0008}
.nova-native-inspector.is-open {display:block}
.nova-native-header {min-height:65px}
}
@media(max-width:580px){
.nova-native-header {align-items:flex-start;flex-wrap:wrap;gap:9px;padding:10px 12px}
.nova-native-actions {width:100%;justify-content:space-between;gap:5px}
.nova-native-actions :is(button,a) {font-size:11px;min-height:34px;padding:5px 8px}
.nova-native-stage {padding:8px;min-height:calc(100dvh - 145px)}
.nova-native-stage .live-surface-stage,
.nova-native-stage .live-surface-frame {min-height:380px}
.nova-native-inspector {top:112px}
}
@media(prefers-reduced-motion:reduce){
.nova-native *,
.nova-native *:before,
.nova-native *:after {scroll-behavior:auto;animation-duration:.01ms!important;transition-duration:.01ms!important}
}
.nova-native-stage .live-surface-head {justify-content:flex-end;margin-bottom:9px}
.nova-native-stage .live-surface-head>div:first-child {display:none}
.nova-native-inspector :is(.draft-form,.block-field-form,.block-create-form,.block-position-form,.publication-schedule-form),
.nova-native-inspector form {display:grid;grid-template-columns:minmax(0,1fr)!important;align-items:stretch;gap:9px}
.nova-native-inspector form>:is(label,input,select,textarea,button,fieldset,.block-field-help) {grid-column:1/-1;min-width:0;max-width:100%}
.nova-native-inspector label {grid-column:1/-1;display:grid;gap:7px;min-width:0;line-height:1.4;overflow-wrap:anywhere}
.nova-native-inspector :is(input,textarea,select) {min-width:0;width:100%;min-height:40px}
.nova-native-inspector textarea {min-height:90px}
.nova-native-inspector form>button {width:100%;min-height:40px;justify-self:stretch}
.nova-native-inspector :is(.block-create-form,.draft-form,.block-field-form,.block-position-form)>label {width:100%}
.nova-native-inspector :is(.block-field-form,.block-position-form) button {min-width:0}
.nova-native-publish button {border-color:#88a4ff!important;background:#395fd0!important;color:white!important;font-weight:750}
@media(min-width:901px){
.nova-native-inspector {padding:20px 18px}
.nova-native-inspector .draft-form {margin:10px 0 17px}
}
.nova-native-rail .nova-native-site-form,
.nova-native-rail .nova-native-layout-form {display:grid;gap:12px;margin:13px 0}
.nova-native-rail .nova-native-site-form :is(input,select) {min-height:42px}
.nova-native-rail .nova-native-site-form button,
.nova-native-layout-form button {
  border:1px solid #7395e5;border-radius:8px;padding:10px 12px;
  background:#294b89;color:#f5f7ff;min-height:42px;cursor:pointer
}
.nova-native-rail .nova-native-check {display:flex;flex-direction:row;align-items:center;gap:10px}
.nova-native-check input[type=checkbox] {width:18px;min-height:18px;flex:0 0 18px;accent-color:#8ea7f7}
.nova-native-layout-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.nova-native-layout-grid button {font-size:12px;text-align:center;overflow-wrap:anywhere;white-space:normal}
.nova-native-media {background:#19283e;border:1px solid #364d71;margin:10px 0}
.nova-native-search-label {margin:8px 0 11px;display:grid;gap:5px;color:#c7d6ec}
.nova-native-template-preview {display:flex;align-items:center;justify-content:center;min-height:40px;border:1px solid #607cb6;border-radius:8px;padding:8px 10px;color:#e6f0ff}
.nova-native-stage .live-surface-stage {position:relative}
.nova-native-inline-trigger {position:absolute;z-index:12;display:inline-flex;align-items:center;min-height:36px;max-width:180px;padding:8px 11px;border:2px solid #fff;border-radius:8px;color:white;background:#3254c6;box-shadow:0 4px 16px #0009;font-size:12px;font-weight:750;cursor:pointer}
.nova-native-inline-popup {position:absolute;z-index:13;width:min(310px,calc(100% - 10px));max-height:65%;overflow:auto;padding:15px;border:1px solid #668fe0;border-radius:10px;background:#121e30;box-shadow:0 18px 35px #000b;display:grid;gap:9px}
.nova-native-inline-popup[hidden] {display:none}
.nova-native-inline-popup form {display:grid;gap:10px}
.nova-native-inline-popup label {display:grid;gap:6px;color:#dce8fc}
.nova-native-inline-popup :is(textarea,input,select) {max-width:100%;width:100%;min-height:42px;background:#0e1829;color:white;border:1px solid #64799e;border-radius:7px;padding:9px}
.nova-native-inline-popup textarea {min-height:100px;resize:vertical}
.nova-native-inline-popup button {border:1px solid #718de2;border-radius:8px;padding:9px 12px;background:#2e55a8;color:white;min-height:40px}
.nova-native-inline-close {justify-self:end}
@media(max-width:560px){
.nova-native-inline-popup {max-height:56%;width:min(285px,calc(100% - 10px))}
}
.nova-native-tabs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:12px 0 14px}
.nova-native-tabs [role=tab] {font-size:11px;min-width:0;padding:10px 3px;border:1px solid #324967;border-radius:7px;background:#16243a;color:#a9bada;overflow-wrap:anywhere;cursor:pointer}
.nova-native-tabs [aria-selected=true] {background:#294472;color:#fff;border-color:#7d9bea}
.nova-native-tab-panel {display:block;min-width:0}
.nova-native-tab-panel[hidden] {display:none!important}
.nova-native-tab-panel>form {margin:10px 0;padding:12px;border:1px solid #344f70;border-radius:9px;background:#192940}
.nova-native-hint {line-height:1.55;color:#bbcae0;padding:12px;border-radius:8px;background:#17263d}
@media(max-width:380px){
.nova-native-tabs {grid-template-columns:repeat(2,minmax(0,1fr))}
}
.nova-native-template-preview {display:grid;gap:9px;padding:12px;border:1px solid #354c70;border-radius:10px;background:#102039;margin:12px 0}
.nova-native-template-preview[hidden] {display:none}
.nova-native-template-controls {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.nova-native-template-preview iframe {display:block;width:100%;height:260px;border:1px solid #4e6992;border-radius:9px;background:white}
.nova-native-template-preview[data-device=mobile] iframe {max-width:210px;margin:0 auto}
.nova-native-template-note {margin:0;color:#b2c4df;line-height:1.45;font-size:11px}
.nova-native-starter-description {margin:5px 0 10px;color:#c6d8ef;font-size:12px;line-height:1.5}
.nova-native-starter-preview:not([hidden]) {display:inline-block;margin:4px 0 10px;color:#a6dcff;text-decoration:underline;text-underline-offset:3px}
.nova-native-starter-preview[hidden] {display:none !important}
.nova-native-save-status {display:inline-flex;align-items:center;color:#c0d2f4;font-size:11px;min-height:30px}
.nova-native-more {position:relative;margin:0}
.nova-native-more>summary {display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:8px 12px;border:1px solid #4a6080;border-radius:8px;background:#1b2b45;color:#eaf1ff;cursor:pointer;list-style:none}
.nova-native-more>summary::-webkit-details-marker {display:none}
.nova-native-more-actions {position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:190px;max-width:min(320px,calc(100vw - 20px));padding:10px;border:1px solid #5273a1;border-radius:11px;background:#172840;box-shadow:0 10px 35px #000a;display:grid;gap:8px}
.nova-native-more:not([open])>.nova-native-more-actions {display:none}
.nova-native-more-actions button {min-height:42px;display:flex;justify-content:flex-start;text-align:left}
.nova-native-first-run {border:1px solid #526c9b;border-radius:13px;padding:14px 17px;background:#172942;color:#f0f6ff}
.nova-native-first-run[hidden] {display:none}
.nova-native-first-run h2 {font-size:17px;margin:0 0 4px}
.nova-native-first-run p {color:#c2d0e5;margin:0 0 11px}
.nova-native-first-actions {display:flex;flex-wrap:wrap;gap:8px}
.nova-native-first-actions button {background:#254877;border:1px solid #6688be;color:white;border-radius:8px;padding:8px 11px;min-height:40px}
@media(max-width:580px){
.nova-native-more-actions {right:0}
.nova-native-first-run {padding:11px}
.nova-native-first-actions button {flex:1 1 125px}
}

/* AUTAMATRIX Premium Studio 2.0 — presentation of the one independent editor.
   The document, inspector forms and safe server endpoints remain canonical. */
body.independent-editor-mode {background:#070b14}
.nova-native {
  --native-bg:#080d17; --native-surface:#101827; --native-layer:#172234;
  --native-border:#28364c; --native-text:#f1f5fc; --native-muted:#96a9c3;
  --native-accent:#7596ff; --native-focus:#a4b8ff;
  background:#080d17;color:var(--native-text);
  font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;font-size:13px;line-height:1.5;
}
.nova-native :is(button,a,summary,input,select,textarea):focus-visible {
  outline:2px solid var(--native-focus);outline-offset:2px;
}
.nova-native-header {
  min-height:62px;height:62px;padding:8px 17px;gap:16px;
  background:#0a111e;border-color:#253149;box-shadow:0 2px 20px #0003;
}
.nova-native-logo {display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.14em;color:#fff!important}
.nova-native-breadcrumb {font-size:12px;gap:9px}
.nova-native-actions {gap:6px;justify-content:flex-end;flex-wrap:nowrap}
.nova-native :is(.nova-native-actions button,.nova-native-actions a,.nova-native-inspector-head button) {
  font-size:12px;min-height:34px;padding:7px 11px;border:1px solid #34445e;
  background:#162338;color:#e4ecfc;border-radius:8px;box-shadow:none;white-space:nowrap;
}
.nova-native :is(.nova-native-actions button,.nova-native-actions a,.nova-native-inspector-head button):hover:not(:disabled) {
  background:#243958;border-color:#7897d6;color:white;
}
.nova-native-draft-status {font-size:11px;background:#0d1a29;border-color:#354c6b;padding:6px 9px}
.nova-native-publish button {
  background:linear-gradient(105deg,#2e67e9,#8457e5)!important;
  border:1px solid #758efb!important;box-shadow:0 2px 12px #3566e233;
}
.nova-native-main {
  display:grid;grid-template-columns:62px minmax(246px,284px) minmax(0,1fr) minmax(292px,320px);
  height:calc(100dvh - 62px);min-height:0;background:#080d17;
}
.nova-native-toolrail {
  background:linear-gradient(180deg,#101929,#0c1421);border-right:1px solid #28374e;
  display:flex;flex-direction:column;align-items:stretch;gap:7px;
  padding:17px 7px;min-width:0;overflow-y:auto;
}
.nova-native-toolrail [role=tab] {
  border:1px solid transparent;background:transparent;color:#92a6c4;border-radius:10px;
  padding:10px 2px;min-height:66px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:600;
  line-height:1.1;cursor:pointer;transition:background .14s,border-color .14s;
}
.nova-native-toolrail [role=tab] svg {width:21px;height:21px;flex:none}
.nova-native-toolrail [role=tab]:hover {background:#1d2c45;color:#eff4ff}
.nova-native-toolrail [role=tab][aria-selected=true] {
  color:white;background:#223658;border-color:#5474b0;box-shadow:inset 3px 0 #7d9fff;
}
.nova-native-rail,.nova-native-inspector {
  background:#0f1827;scrollbar-width:thin;scrollbar-color:#314766 transparent;
  padding:14px 15px 22px;
}
.nova-native-rail {border-right:1px solid #27364e}
.nova-native-inspector {border-left:1px solid #2c3c54;background:#101a2a}
.nova-native-sidebar-heading {display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #2b3b52;padding:6px 0 13px;margin-bottom:11px;position:relative}
.nova-native-overline {font-size:9px;font-weight:800;letter-spacing:.18em;color:#7090c2}
.nova-native-sidebar-heading h2 {font-size:17px;line-height:1.2;margin:0;letter-spacing:-.025em}
.nova-native-close-sidebar {display:none}
.nova-native-workspace-panel {min-width:0}
.nova-native-workspace-panel[hidden],.nova-native-block[hidden] {display:none!important}
.nova-native-workspace-help {font-size:12px;line-height:1.55;color:#a7b7d0;margin:10px 1px 17px}
.nova-native-rail h2 {font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.07em;color:#cbd8ed;margin:17px 1px 9px}
.nova-native :is(.nova-native-rail summary,.nova-native-inspector-extra>summary) {
  background:#17253b;border:1px solid #30425e;border-radius:8px;
  padding:10px 11px;color:#e5edfa;font-size:12px;font-weight:600;
}
.nova-native details {margin:10px 0}
.nova-native details[open]>summary {border-color:#6589d8;background:#203454}
.nova-native-page-list {gap:3px;margin:8px 0 13px}
.nova-native-page {font-size:12px;border-radius:8px;padding:10px 11px;color:#bdcce4}
.nova-native-page.is-active {color:#fff;background:#243a61;border-color:#4e74ba;box-shadow:inset 2px 0 #7da4ff}
.nova-native-search-label {margin:8px 0}
.nova-native :is(input,select,textarea) {
  background:#101c2e;border:1px solid #344760;color:#edf3ff;border-radius:8px;
  min-height:35px;padding:7px 10px;font-size:12px;
}
.nova-native :is(input,select,textarea):focus {border-color:#769eff}
.nova-native-component-heading {display:grid;gap:4px;border-top:1px solid #2a3a52;margin-top:16px;padding-top:6px}
.nova-native-component-heading h2 {margin:5px 0 3px}
.nova-native-component-search {margin:0 0 9px}
.nova-native-component-search input {font-size:12px;min-height:35px}
.nova-native-block-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.nova-native .nova-native-block {
  display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;
  min-height:79px!important;padding:10px 5px!important;background:#152135!important;
  border:1px solid #30415a!important;border-radius:9px;color:#dbe7fc;
  font-size:11px!important;font-weight:600;line-height:1.2;transition:border-color .15s,background .15s;
  overflow-wrap:anywhere;
}
.nova-native .nova-native-block:hover {background:#243a5b!important;border-color:#809ff9!important;color:#fff}
.nova-native-component-glyph {
  display:flex;justify-content:center;align-items:center;width:28px;height:28px;
  font-size:19px;font-weight:500;color:#9eb9ef;line-height:1;
}
.nova-native-rail .block-tree-shell {
  background:#0d1726;border:1px solid #2a3b56;border-radius:9px;max-width:100%;overflow:auto;
}
.nova-native-rail .document-section {margin:4px 0;padding:0;background:transparent;border:0}
.nova-native-rail .document-section-head {display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:9px}
.nova-native-rail .document-section-head .count {color:#9ab2d6;font-size:10px}
.nova-native-rail .block-batch-toolbar {margin:12px 0;min-width:0}
.nova-native-rail .block-batch-actions {display:flex;flex-wrap:wrap;gap:5px}
.nova-native-rail .block-batch-actions button {min-height:33px;font-size:11px}
.nova-native-media {margin-top:16px!important;border-color:#5371a6;background:#1b304e!important}
.nova-native-stage {
  min-width:0;min-height:0;overflow:hidden;padding:16px 17px 18px;gap:10px;
  background:radial-gradient(ellipse at 50% 5%,#1a263d 0,#0b1320 58%,#080e18 100%);
}
.nova-native-locales {gap:5px}
.nova-native-locales a {
  display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:6px 10px;
  border-radius:7px;border-color:#364762;background:#111d30;font-size:11px;
}
.nova-native-locales a[aria-current] {color:#fff;background:#283c60;border-color:#7299ee}
.nova-native-stage>.live-surface {
  padding:11px!important;border:1px solid #2f425e;border-radius:13px;
  background:#101a2a;box-shadow:0 12px 36px #0005;
}
.nova-native-stage .live-surface-head {margin:0 0 9px;justify-content:flex-end}
.nova-native-stage .live-surface-stage {
  border:1px solid #445a7a;border-radius:9px;min-height:0;box-shadow:0 8px 27px #0008;
}
.nova-native-stage .live-surface-frame {min-height:0}
.nova-native-stage .live-viewport-actions {display:flex;gap:5px}
.nova-native-stage .live-viewport-actions button {
  min-height:30px;min-width:55px;padding:4px 9px;background:#111e31;
  border:1px solid #354a69;border-radius:7px;color:#acc0db;font-size:11px;
}
.nova-native-stage .live-viewport-actions button.active,
.nova-native-stage .live-viewport-actions button[aria-pressed=true] {
  background:#2c4269;border-color:#8aa9fa;color:white;
}
.nova-native-inspector-head {padding:4px 0 13px;margin-bottom:11px;border-color:#2c3b52}
.nova-native-inspector-head h2 {font-size:15px;letter-spacing:-.02em;margin:0}
.nova-native-inspector .nova-native-tabs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:12px 0}
.nova-native-inspector .nova-native-tabs [role=tab] {
  padding:9px 2px;border-color:#334661;border-radius:8px;background:#131f32;
  color:#a2b5ce;font-size:10px;line-height:1.2;min-height:38px;
}
.nova-native-inspector .nova-native-tabs [role=tab][aria-selected=true] {
  color:white;background:#283e62;border-color:#7d9fef;
}
.nova-native-inspector :is(.document-section,.block-inspector,.draft-editor,.publication-panel) {
  background:#141f30;border:1px solid #283c57;border-radius:10px;padding:12px;margin:10px 0;
}
.nova-native-inspector .block-inspector h3 {font-size:13px}
.nova-native-inspector :is(input,select,textarea) {background:#0e1a2a;border-color:#374c68}
.nova-native-inspector form {margin:8px 0 12px;gap:7px}
.nova-native-inspector form button {background:#3157a6;border:1px solid #6b88d4;color:white}
.nova-native-hint {border:1px solid #293b57;border-radius:8px;background:#142137;color:#bdcae0}
.nova-native-inline-trigger {
  background:#173d8a!important;border:1px solid #9ab6ff!important;border-radius:7px!important;
  box-shadow:0 5px 20px #0007;color:white!important;
}
.nova-native-inline-popup {background:#101d30;border-color:#7195eb;box-shadow:0 18px 42px #000b}
@media(max-width:1380px){
  .nova-native-main {grid-template-columns:56px 244px minmax(0,1fr) 292px}
  .nova-native-toolrail {padding:12px 4px}
  .nova-native-rail,.nova-native-inspector {padding:12px 11px}
  .nova-native-stage {padding:11px}
}
@media(max-width:1190px){
  .nova-native-main {grid-template-columns:56px minmax(220px,255px) minmax(0,1fr)}
  .nova-native-stage {grid-column:3;grid-row:1}
  .nova-native-inspector {
    display:none;position:fixed;z-index:50;inset:62px 0 0 auto;
    width:min(355px,100vw);overflow:auto;box-shadow:-18px 0 40px #0009;
  }
  .nova-native-inspector.is-open {display:block}
  .nova-native-breadcrumb {display:none}
  .nova-native-actions {margin-left:auto}
}
@media(max-width:900px){
  .nova-native-main {grid-template-columns:56px minmax(0,1fr);height:calc(100dvh - 62px);min-height:0}
  .nova-native-toolrail {grid-column:1;grid-row:1;position:relative;z-index:8;padding:12px 4px}
  .nova-native-stage {grid-column:2;grid-row:1;min-height:0;overflow:hidden}
  .nova-native-rail {
    display:none;position:fixed;z-index:39;top:62px;left:56px;bottom:0;
    width:min(310px,calc(100vw - 56px));max-width:none;overflow:auto;
    border-right:1px solid #54719c;box-shadow:15px 0 45px #000a;
  }
  .nova-native-rail.is-open {display:block}
  .nova-native-close-sidebar {
    display:flex;align-items:center;justify-content:center;position:absolute;right:0;top:6px;
    height:32px;min-width:32px;border:1px solid #445b7b;border-radius:8px;
    background:#1d2b42;color:#fff;
  }
  .nova-native-header {padding:8px 12px}
  .nova-native-actions {gap:4px;min-width:0}
  .nova-native-draft-status {display:none}
  .nova-native-inspector {inset:62px 0 0 auto}
  .nova-native-stage>.live-surface {min-height:0}
}
@media(max-width:620px){
  .nova-native-header {min-height:100px;height:auto;align-items:center;flex-wrap:wrap;gap:6px;padding:8px 10px}
  .nova-native-logo {flex:1 1 100%;font-size:11px}
  .nova-native-actions {flex:1;width:100%;gap:4px;justify-content:flex-start;overflow-x:auto;padding-bottom:3px}
  .nova-native-actions :is(button,a) {min-height:31px;font-size:10px;padding:5px 8px}
  .nova-native-main {height:calc(100dvh - 100px);grid-template-columns:47px minmax(0,1fr)}
  .nova-native-toolrail {padding:8px 3px}
  .nova-native-toolrail [role=tab] {min-height:59px;font-size:9px}
  .nova-native-toolrail [role=tab] svg {width:19px;height:19px}
  .nova-native-rail {top:100px;left:47px;width:min(310px,calc(100vw - 47px))}
  .nova-native-inspector {top:100px}
  .nova-native-stage {padding:7px;min-height:0}
  .nova-native-stage>.live-surface {padding:5px!important;border-radius:9px}
  .nova-native-stage .live-surface-head {margin-bottom:5px}
  .nova-native-stage .live-viewport-actions {flex-wrap:wrap}
  .nova-native-stage .live-viewport-actions button {min-width:48px;padding:4px 6px}
  .nova-native-stage .live-surface-stage,.nova-native-stage .live-surface-frame {min-height:260px}
}
@media(prefers-reduced-motion:reduce){
  .nova-native-toolrail [role=tab],.nova-native .nova-native-block {transition:none}
}

.nova-native-assets-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.nova-native-asset-card {min-width:0;display:grid;gap:5px;border:1px solid #31455f;border-radius:9px;background:#142237;padding:7px;text-decoration:none}
.nova-native-asset-card:hover {border-color:#86a6ff;background:#223856}
.nova-native-asset-card img {width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:5px;background:#0a1120}
.nova-native-asset-card span {color:#dce8fb;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


/* Premium 2.0: real selected block chrome atop the sandboxed preview. */
.nova-native-canvas-selection {
  position:absolute;z-index:10;pointer-events:none;
  border:2px solid #8dadff;border-radius:3px;
  box-shadow:0 0 0 1px #071428,0 0 0 4px #668bfc44,0 0 18px #315def55;
  min-width:1px;min-height:1px;
}
.nova-native-canvas-selection[hidden] {display:none}
.nova-native-canvas-selection-label {
  position:absolute;bottom:calc(100% + 6px);left:0;display:flex;align-items:center;
  gap:8px;max-width:min(380px,calc(100vw - 100px));padding:5px 10px;
  background:#3157b9;border:1px solid #a2bcff;border-radius:7px;color:#fff;
  box-shadow:0 4px 12px #0009;font-size:11px;line-height:1.4;white-space:nowrap;
  pointer-events:none;
}
.nova-native-canvas-selection-label strong {font-weight:750}
.nova-native-canvas-selection-label span {color:#d4e5ff;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.nova-native-canvas-selection-tools {
  position:absolute;left:0;top:calc(100% + 7px);display:flex;gap:5px;
  padding:4px;background:#101d30;border:1px solid #506994;border-radius:9px;
  box-shadow:0 6px 24px #000b;max-width:min(310px,calc(100vw - 85px));
  pointer-events:auto;
}
.nova-native-canvas-selection-tools button {
  min-height:29px;padding:5px 10px;border:1px solid #3d5277;
  border-radius:6px;background:#1a2e4b;color:#e7efff;white-space:nowrap;
  font-size:11px;font-weight:600;cursor:pointer;
}
.nova-native-canvas-selection-tools button:hover {border-color:#87a7fe;background:#274a88}
.nova-native-canvas-selection.is-tight .nova-native-canvas-selection-label {bottom:auto;top:4px;left:4px}
.nova-native-canvas-selection.is-tight .nova-native-canvas-selection-tools {top:calc(100% + 7px)}
.nova-native-rail .block-row.active {outline:1px solid #86a6ff;outline-offset:-2px;box-shadow:inset 3px 0 #8bafff;background:#253b61}
@media(max-width:620px) {
  .nova-native-canvas-selection-label span {display:none}
  .nova-native-canvas-selection-label {font-size:10px;padding:4px 7px}
  .nova-native-canvas-selection-tools {gap:3px;padding:3px}
  .nova-native-canvas-selection-tools button {font-size:10px;min-height:28px;padding:4px 6px}
}


/* Contextual inspector: only actual server-backed design controls are exposed. */
.nova-native-inspector .nova-native-tabs {
  grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;
  position:sticky;top:-14px;z-index:6;padding:10px 0;
  margin:0 0 8px;background:#101a2a;
}
.nova-native-inspector .nova-native-tabs [role=tab] {font-size:11px;min-height:40px}
.nova-native-inspector-group {
  margin:12px 0;border:1px solid #344864;border-radius:10px;
  background:#131e30;overflow:visible;
}
.nova-native-inspector-group>summary {
  font-size:12px;font-weight:700;color:#e6efff;letter-spacing:.01em;
  border:0!important;background:#1b2941!important;border-radius:9px;
  padding:11px 12px;cursor:pointer;
}
.nova-native-inspector-group[open]>summary {border-bottom:1px solid #385071!important;border-radius:9px 9px 0 0}
.nova-native-inspector-group>.presentation-editor {padding:8px;margin:0}
.nova-native-inspector-layout .presentation-viewport {
  background:#111d30;border:1px solid #2d405d;border-radius:8px;
  padding:7px;margin:8px 0;
}
.nova-native-inspector-layout .presentation-viewport>summary {
  color:#dce9ff;font-size:11px;background:#20334f;border-color:#46618c;
  border-radius:7px;padding:8px 10px;
}
.nova-native-inspector .presentation-form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:11px 5px 8px}
.nova-native-inspector .presentation-form>label {grid-column:auto!important;min-width:0}
.nova-native-inspector .presentation-form :is(.presentation-spacing,label:has(input[name=backgroundToken]),label:has(input[name=colorToken]),label:has(input[name=radiusToken]),label:has(select[name=hidden]),button[type=submit]) {grid-column:1/-1!important}
.nova-native-inspector .presentation-form button[type=submit] {margin-top:4px}
.nova-native-inspector .presentation-spacing {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;min-width:0}
.nova-native-inspector .presentation-spacing input {min-width:0;width:100%;padding:6px 3px;text-align:center;min-height:33px}
.nova-native-inspector .block-fields-head {margin-top:17px;padding:9px 0;border-top:1px solid #293b55}
.nova-native-inspector :is(.block-field-form,.scalar-field-form) {
  margin:8px 0;padding:11px;border:1px solid #2e425e;
  border-radius:9px;background:#18273b;
}
.nova-native-inspector-structure {padding:0 0 8px}
.nova-native-inspector-structure>:not(summary) {margin:10px 9px;max-width:calc(100% - 18px)}
.nova-native-inspector .block-description {font-size:11px;color:#a7bdd8}
.nova-native-asset-card:is(button) {
  appearance:none;width:100%;text-align:left;cursor:pointer;
  font:inherit;color:inherit;
}
.nova-native-asset-card:is(button):focus-visible {outline:2px solid #a6baff;outline-offset:3px}
.nova-native-asset-card:is(button):hover {border-color:#86a6ff;background:#223856}
@media(max-width:620px){
  .nova-native-inspector .nova-native-tabs {top:-12px}
  .nova-native-inspector .presentation-form {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .nova-native-inspector .presentation-form>label {grid-column:auto!important}
}


/* Visual acceptance: the canvas layout palette must be a floating toolbar,
   never a flex-stretched sheet obscuring half the preview. */
.nova-native-stage .live-surface-stage {position:relative}
.nova-native-stage .live-layout-toolbar {
  position:absolute;left:50%;bottom:12px;top:auto;
  transform:translateX(-50%);align-self:auto;flex:0 0 auto;align-content:flex-start;
  width:max-content;max-width:calc(100% - 24px);height:auto;max-height:min(38vh,330px);
  overflow-x:hidden;overflow-y:auto;margin:0;padding:8px 10px;
  background:#14253bf5;border-color:#6584b4;border-radius:11px;
  box-shadow:0 8px 28px #000c;
}
.nova-native-stage .live-layout-toolbar label {white-space:nowrap;font-size:11px}
.nova-native-stage .live-layout-toolbar select {min-height:30px;max-width:110px}
.nova-native-stage .live-layout-toolbar .live-layout-edges[open] {width:100%}
.nova-native-stage .live-layout-toolbar .live-layout-container {flex-wrap:wrap}
.nova-native-canvas-selection-tools {
  left:auto;right:0;top:auto;bottom:calc(100% + 6px);
}
.nova-native-canvas-selection.is-compact .nova-native-canvas-selection-label span {display:none}
.nova-native-canvas-selection.is-tight .nova-native-canvas-selection-tools {
  top:4px;bottom:auto;right:4px;
}
@media(max-width:620px){
  .nova-native-stage .live-layout-toolbar {
    bottom:6px;padding:6px;max-width:calc(100% - 10px);
    max-height:min(38vh,300px);
  }
  .nova-native-stage .live-layout-toolbar .live-layout-container {gap:4px}
  .nova-native-stage .live-layout-toolbar select {max-width:90px}
  .nova-native-canvas-selection-tools {max-width:calc(100vw - 75px)}
}


/* Mobile: genuine actions wrap instead of disappearing beyond a scroll strip.
   Overlay drawer insets follow the measured Studio header, not a guessed size.
   The header must outrank the toolrail's stacking context so the genuine
   restaurant action dropdown receives pointer clicks on narrow phones. */
@media(max-width:620px){
  .nova-native-header {min-height:0;height:auto;gap:7px;padding:9px 10px;z-index:50}
  .nova-native-actions {
    width:100%;flex:1 1 100%;flex-wrap:wrap;justify-content:flex-start;
    gap:5px;overflow:visible;padding:0;
  }
  .nova-native-actions :is(button,a) {white-space:nowrap;min-height:32px;padding:5px 9px}
  .nova-native-main {height:calc(100dvh - var(--native-header-height,100px));min-height:0}
  .nova-native-rail {top:var(--native-header-height,100px)}
  .nova-native-inspector {top:var(--native-header-height,100px)}
  .nova-native-stage {height:100%;min-height:0}
}

/* AUTAMATRIX designer surface refinement — visual-only; retain canonical
   geometry and pointer targets validated by browser acceptance. */
.independent-editor-mode .nova-native {
  --native-border: #30343c;
  --native-muted: #a4a9b3;
  --native-text: #eff0f3;
  color: var(--native-text);
}
.independent-editor-mode .nova-native-header {
  background: linear-gradient(180deg,#17191d,#131519);
  border-bottom-color: #35383e;
}
.independent-editor-mode .nova-native-logo {
  letter-spacing: .065em;
  color: #f6f7f8;
}
.independent-editor-mode .nova-native-rail {
  background: #191b20;
  border-right-color: #35373d;
}
.independent-editor-mode .nova-native-inspector {
  background: #1b1d22;
  border-left-color: #35373d;
}
.independent-editor-mode .nova-native-toolrail {
  background: #15171a;
  border-right-color: #33363b;
}
.independent-editor-mode .nova-native-stage {
  background: #101215;
}
.independent-editor-mode .nova-native-stage > .live-surface {
  background: #15171b;
  border-color: #353941;
  border-radius: 6px;
}
.independent-editor-mode .nova-native-sidebar-heading,
.independent-editor-mode .nova-native-inspector-head {
  border-bottom-color: #363940;
}
.independent-editor-mode .nova-native :is(button,a,select,input,textarea):focus-visible {
  outline: 2px solid #ff8a39;
  outline-offset: 3px;
}
.independent-editor-mode .nova-native :is(.nova-native-page,.nova-native-block) {
  transition: background-color .14s ease, border-color .14s ease;
}
@media (prefers-reduced-motion: reduce) {
  .independent-editor-mode .nova-native :is(.nova-native-page,.nova-native-block) {
    transition: none;
  }
}


/* AUTAMATRIX HIGH-TECH STUDIO — structural designer shell.
   Canonical draft actions, selection, inspector forms and preview remain real. */
.independent-editor-mode .nova-native {
  --native-bg:#080b10;
  --native-surface:#10141b;
  --native-layer:#151b25;
  --native-border:#303640;
  --native-text:#f5f7fa;
  --native-muted:#abb3c2;
  --native-accent:#ff6a1b;
  color:var(--native-text);
  background:var(--native-bg);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.independent-editor-mode .nova-native-header {
  display:grid;grid-template-columns:minmax(192px,247px) minmax(125px,1fr) auto auto;
  align-items:center;min-height:64px;height:64px;padding:0 14px 0 20px;
  gap:16px;background:linear-gradient(180deg,#11161e,#0b0e14);
  border-bottom:1px solid #343944;
  box-shadow:0 7px 30px #0005;
}
.independent-editor-mode .nova-native-logo {
  display:flex;align-items:center;gap:12px;min-width:0;color:#fff!important;
  font-weight:850;letter-spacing:.105em;font-size:16px;
}
.independent-editor-mode .nova-native-logo .am-mark {
  width:37px;height:37px;flex:none;color:#ff651a;
  filter:drop-shadow(0 0 12px #ff68263d);
}
.independent-editor-mode .nova-native-breadcrumb {display:flex;gap:12px;min-width:0}
.independent-editor-mode .nova-native-project-link {
  display:flex;align-items:center;gap:9px;padding:9px 12px;
  max-width:240px;border:1px solid #343a45;border-radius:8px;
  color:#f1f3f7;white-space:nowrap;background:linear-gradient(#171c24,#11161e);
}
.independent-editor-mode .nova-native-project-link strong {
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:12px;font-weight:700;color:inherit;
}
.independent-editor-mode .nova-native-project-link svg {
  width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none;
}
.independent-editor-mode .nova-native-current-page {
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:11px;max-width:155px;color:#aab6c8;
}
.independent-editor-mode .nova-native-device-switch {
  display:flex;align-items:center;gap:3px;padding:4px 6px;
  background:#0a0f16;border:1px solid #303844;border-radius:10px;
}
.independent-editor-mode .nova-native-device-switch button {
  display:grid;place-items:center;width:35px;height:34px;min-height:34px;
  padding:5px;border:1px solid transparent;border-radius:7px;
  background:transparent;color:#aab2bf;
}
.independent-editor-mode .nova-native-device-switch button[aria-pressed=true] {
  background:linear-gradient(155deg,#2d2322,#171b25);color:#fff;
  border-color:#f76d32;box-shadow:inset 0 0 0 1px #fc682433,0 0 13px #fc6a2850;
}
.independent-editor-mode .nova-native-device-switch button:disabled {
  opacity:.45;cursor:not-allowed;
}
.independent-editor-mode .nova-native-device-switch button svg,
.independent-editor-mode .nova-native-icon-action svg,
.independent-editor-mode .nova-native-preview-action svg,
.independent-editor-mode .nova-native-navigator-search-toggle svg {
  width:19px;height:19px;fill:none;stroke:currentColor;
  stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75;
}
.independent-editor-mode .nova-native-device-switch output {
  padding:0 8px 0 5px;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums;color:#e5e8ee;
}
.independent-editor-mode .nova-native-actions {display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap;min-width:0}
.independent-editor-mode .nova-native-actions form {margin:0}
.independent-editor-mode .nova-native :is(.nova-native-actions button,.nova-native-actions a) {
  border:1px solid #333b46;border-radius:8px;background:#171b24;
  color:#e9edf3;box-shadow:none;white-space:nowrap;min-height:35px;
  padding:8px 11px;font-size:12px;
}
.independent-editor-mode .nova-native :is(.nova-native-actions button,.nova-native-actions a):hover:not(:disabled) {
  border-color:#f38a50;color:#fff;background:#292023;
}
.independent-editor-mode .nova-native-actions .nova-native-icon-action,
.independent-editor-mode .nova-native-actions .nova-native-preview-action {
  width:35px;min-width:35px;display:inline-flex;justify-content:center;padding:5px;
}
.independent-editor-mode .nova-native-actions .nova-native-draft-status {
  max-width:170px;overflow:hidden;text-overflow:ellipsis;
  font-size:10px;border-color:#25473f;background:#11211d;color:#8ad9ad;
}
.independent-editor-mode .nova-native-actions .nova-native-publish button {
  background:linear-gradient(120deg,#ff8a23 0%,#ff6400 60%,#f14e03 100%)!important;
  border:1px solid #ff933b!important;border-radius:9px;color:white;
  min-width:100px;font-weight:800;
  box-shadow:0 0 0 1px #fb651d2d,0 0 20px #fb5b143f,inset 0 1px #ffb06f;
}
.independent-editor-mode .nova-native-inspector-toggle {display:none}
.independent-editor-mode .nova-native-main {
  display:grid;grid-template-columns:78px minmax(230px,272px) minmax(0,1fr) minmax(270px,302px);
  min-height:0;height:calc(100dvh - 64px);
  background:#090d13;
}
.independent-editor-mode .nova-native-toolrail {
  display:flex;align-items:stretch;gap:7px;padding:12px 5px;
  background:linear-gradient(180deg,#10151d,#090d13);border-right:1px solid #343b45;
}
.independent-editor-mode .nova-native-toolrail [role=tab],
.independent-editor-mode .nova-native-toolrail :is(.nova-native-components-shortcut,.nova-native-toolrail-link) {
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  min-height:68px;border:1px solid transparent;border-radius:9px;
  padding:8px 2px;background:transparent;color:#aab5c3;
  font:600 10px/1.2 inherit;text-align:center;
}
.independent-editor-mode .nova-native-toolrail [role=tab] svg,
.independent-editor-mode .nova-native-toolrail :is(.nova-native-components-shortcut,.nova-native-toolrail-link) svg {
  width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;
}
.independent-editor-mode .nova-native-toolrail :is([role=tab],.nova-native-components-shortcut,.nova-native-toolrail-link):hover {
  background:#24222a;color:#fff;border-color:#655247;
}
.independent-editor-mode .nova-native-toolrail [role=tab][aria-selected=true] {
  color:#ffb07e;border-color:#e85c18;
  background:linear-gradient(120deg,#452414,#231c1e);
  box-shadow:inset 0 0 0 1px #ff772426,0 0 18px #f7691838;
}
.independent-editor-mode .nova-native-components-shortcut:disabled {opacity:.45}
.independent-editor-mode .nova-native-rail {
  background:linear-gradient(180deg,#151a22,#10151c);
  border-right:1px solid #343a45;
  scrollbar-color:#454c58 transparent;padding:14px 13px 20px;
}
.independent-editor-mode .nova-native-sidebar-heading {
  display:grid;grid-template-columns:1fr 28px 28px;align-items:center;
  gap:6px;border-bottom:1px solid #343a45;padding:2px 0 13px;
  margin-bottom:12px;
}
.independent-editor-mode .nova-native-overline {grid-column:1/-1;font-size:9px;color:#788595;letter-spacing:.13em}
.independent-editor-mode .nova-native-sidebar-heading h2 {
  font-size:14px!important;text-transform:none!important;
  letter-spacing:-.025em!important;color:#f4f5f7!important;margin:0!important;
}
.independent-editor-mode .nova-native-navigator-search-toggle {
  width:28px;height:28px;padding:5px;background:#1e242e;color:#c9d3df;
  border:1px solid #343b46;border-radius:7px;
}
.independent-editor-mode .nova-native-navigator-search[hidden] {display:none!important}
.independent-editor-mode .nova-native-navigator-search input {
  width:100%;background:#0c1017;color:#fafafa;margin:0 0 11px;
  border-color:#38414d;
}
.independent-editor-mode .nova-native-rail .nova-native-page {
  padding:8px 10px;border-radius:7px;color:#bbc5d2;
}
.independent-editor-mode .nova-native-rail .nova-native-page:is(:hover,.is-active) {
  border-color:#7c4631;background:linear-gradient(90deg,#34221e,#201b20);color:#fff;
}
.independent-editor-mode .nova-native-rail .block-tree-shell {
  background:transparent;border:0;overflow:visible;border-radius:0;
}
.independent-editor-mode .nova-native-rail .block-row.active {
  background:linear-gradient(90deg,#3b271f,#292024);
  outline:1px solid #e46b3c;box-shadow:inset 3px 0 #ff6b1b;
}
.independent-editor-mode .nova-native-component-heading {
  display:grid;gap:2px;border-top:1px solid #38404a;padding-top:14px;margin-top:16px;
}
.independent-editor-mode .nova-native-component-heading h2 {
  color:#fafafa!important;letter-spacing:-.012em!important;
  text-transform:none!important;font-size:14px!important;margin:0!important;
}
.independent-editor-mode .nova-native-library-subhead {
  color:#97a3b3;font-size:10px;margin-bottom:7px;
}
.independent-editor-mode .nova-native-component-search input {
  background:#0b1017;border:1px solid #414956;min-height:38px;
}
.independent-editor-mode .nova-native-block-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
}
.independent-editor-mode .nova-native .nova-native-block {
  min-height:79px!important;padding:8px 4px!important;
  background:linear-gradient(165deg,#232831,#161b24)!important;
  border:1px solid #3a414b!important;border-radius:8px!important;color:#e8edf3!important;
  box-shadow:inset 0 1px #fff00006;
}
.independent-editor-mode .nova-native .nova-native-block:hover {
  border-color:#ff792a!important;background:linear-gradient(160deg,#42291e,#1a1c24)!important;
  box-shadow:0 0 14px #ff6c1d26;
}
.independent-editor-mode .nova-native-component-glyph {
  font-size:23px;width:30px;height:30px;color:#dce4ec;
}
.independent-editor-mode .nova-native-stage {
  min-width:0;min-height:0;overflow:hidden;
  background:radial-gradient(ellipse at 52% 8%,#202633,#0b1018 55%,#070b10);
  padding:12px;gap:7px;
}
.independent-editor-mode .nova-native-locales {gap:5px}
.independent-editor-mode .nova-native-locales a {
  color:#bfc6d2;background:#151923;border-color:#363e48;
  min-width:34px;border-radius:7px;padding:5px 8px;
}
.independent-editor-mode .nova-native-locales a[aria-current] {
  background:#402219;border-color:#ed6b2e;color:#fff;
}
.independent-editor-mode .nova-native-stage>.live-surface {
  min-height:0;min-width:0;flex:1;display:flex;flex-direction:column;
  border-radius:12px;padding:9px!important;
  background:#0e131b;border:1px solid #353c46;
  box-shadow:0 18px 48px #0009;
}
.independent-editor-mode .nova-native-stage .live-surface-head {
  margin:0 0 7px;align-items:center;
}
.independent-editor-mode .nova-native-stage .live-surface-stage {
  flex:1;min-height:0;border-radius:7px;
  border:1px solid #5c4134;
  box-shadow:0 0 0 1px #ff681a17,0 18px 40px #000b;
}
.independent-editor-mode .nova-native-stage .live-surface-frame {background:#090d13}
.independent-editor-mode .nova-native-canvas-selection {
  border-color:#ff711e!important;
}
.independent-editor-mode .nova-native-canvas-selection-label,
.independent-editor-mode .nova-native-stage .live-layout-toolbar button:hover {
  background:#ff6b1b;color:#fff;
}
.independent-editor-mode .nova-native-canvas-selection-tools {
  background:#151a22;border-color:#d66a36;
}
.independent-editor-mode .nova-native-canvas-selection-tools button:hover {
  background:#432819;border-color:#ff8a3d;
}
.independent-editor-mode .nova-native-inspector {
  background:linear-gradient(180deg,#151b24,#0d1219);
  border-left:1px solid #363d47;
  padding:0 12px 22px;scrollbar-color:#494f58 transparent;
}
.independent-editor-mode .nova-native-inspector-head {
  min-height:58px;padding:12px 0 9px;margin-bottom:0;border-bottom:1px solid #343b45;
}
.independent-editor-mode .nova-native-inspector-head h2 {
  display:flex;gap:10px;align-items:center;color:#f6f7fa;font-size:14px;margin:0;
}
.independent-editor-mode .nova-native-selected-mark {font-size:22px;color:#aa6bff}
.independent-editor-mode .nova-native-inspector-jump {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;
  position:sticky;top:0;z-index:15;background:#131923;padding:9px 0;
  border-bottom:1px solid #393e48;
}
.independent-editor-mode .nova-native-inspector-jump button {
  min-height:34px;border:0;border-bottom:2px solid transparent;border-radius:0;
  background:transparent;color:#adb8c5;padding:7px 2px;font-size:11px;font-weight:650;
}
.independent-editor-mode .nova-native-inspector-jump button[aria-current=true] {
  color:#fff;border-bottom-color:#ff6e22;
  box-shadow:0 8px 11px -11px #ff6e22;
}
.independent-editor-mode .nova-native-inspector :is(.document-section,.block-inspector,.draft-editor,.publication-panel) {
  background:#141a22;border:1px solid #333a46;
  border-radius:9px;padding:10px;margin:12px 0;
}
.independent-editor-mode .nova-native-inspector :is(label,.eyebrow) {color:#c4ceda}
.independent-editor-mode .nova-native-inspector :is(input,select,textarea) {
  background:#090e15;border:1px solid #424b58;border-radius:6px;color:#f4f5f8;
}
.independent-editor-mode .nova-native-inspector :is(form button,.secondary-button) {
  background:#29242a;border-color:#855039;color:#ffdcc7;
}
.independent-editor-mode .nova-native-inspector :is(form button,.secondary-button):hover {
  border-color:#ff772e;background:#40302c;color:white;
}
.independent-editor-mode .nova-native-inspector-group {
  background:#141a22;border-color:#333b46;
}
.independent-editor-mode .nova-native-inspector-group>summary {
  background:#1b222b!important;color:#f4f6f9;border-bottom-color:#3b4350;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs {
  background:#111721;border-color:#313945;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab][aria-selected=true] {
  background:#3d261b;border-color:#ff6b1b;color:#fff;
}
.independent-editor-mode .nova-native:focus-within :is(.nova-native-toolrail button,.nova-native-project-link,.nova-native-inspector-jump button):focus-visible,
.independent-editor-mode .nova-native :is(button,a,input,select,textarea,summary):focus-visible {
  outline:2px solid #ff9a56;outline-offset:2px;
}
@media(min-width:1600px) {
  .independent-editor-mode .nova-native-main {
    grid-template-columns:80px minmax(270px,295px) minmax(0,1fr) 320px;
  }
}
@media(max-width:1350px) and (min-width:1101px) {
  .independent-editor-mode .nova-native-header {grid-template-columns:205px minmax(90px,1fr) auto auto;gap:9px;padding-left:12px}
  .independent-editor-mode .nova-native-logo {font-size:13px;letter-spacing:.08em;gap:7px}
  .independent-editor-mode .nova-native-logo .am-mark {width:29px;height:29px}
  .independent-editor-mode .nova-native-current-page {display:none}
  .independent-editor-mode .nova-native-main {grid-template-columns:65px minmax(216px,247px) minmax(0,1fr) 270px}
  .independent-editor-mode .nova-native-toolrail [role=tab] {font-size:9px}
  .independent-editor-mode .nova-native-device-switch output {display:none}
  .independent-editor-mode .nova-native-draft-status {display:none}
}
@media(max-width:1100px) {
  .independent-editor-mode .nova-native-header {
    display:flex;gap:10px;min-height:62px;height:auto;padding:9px 12px;flex-wrap:wrap;
  }
  .independent-editor-mode .nova-native-logo {flex:none}
  .independent-editor-mode .nova-native-breadcrumb {flex:1}
  .independent-editor-mode .nova-native-current-page {display:none}
  .independent-editor-mode .nova-native-device-switch {order:4}
  .independent-editor-mode .nova-native-main {height:calc(100dvh - var(--native-header-height,62px))}
}
@media(max-width:900px) {
  .independent-editor-mode .nova-native-main {grid-template-columns:56px minmax(0,1fr)}
  .independent-editor-mode .nova-native-rail {top:var(--native-header-height,62px);left:56px}
  .independent-editor-mode .nova-native-inspector {top:var(--native-header-height,62px)}
  .independent-editor-mode .nova-native-inspector-toggle {display:inline-flex}
  .independent-editor-mode .nova-native-toolrail {padding:8px 3px}
  .independent-editor-mode .nova-native-toolrail [role=tab],
  .independent-editor-mode .nova-native-toolrail :is(.nova-native-components-shortcut,.nova-native-toolrail-link) {min-height:58px;font-size:9px}
  .independent-editor-mode .nova-native-stage {padding:7px}
}
@media(max-width:620px) {
  .independent-editor-mode .nova-native-header {padding:8px 10px;gap:6px}
  .independent-editor-mode .nova-native-logo {flex:1 1 100%;font-size:12px}
  .independent-editor-mode .nova-native-logo .am-mark {width:28px;height:28px}
  .independent-editor-mode .nova-native-actions {flex:1 1 100%;justify-content:flex-start;flex-wrap:wrap;overflow:visible}
  .independent-editor-mode .nova-native-device-switch {order:3}
  .independent-editor-mode .nova-native-project-link {max-width:170px}
  .independent-editor-mode .nova-native-main {grid-template-columns:47px minmax(0,1fr)}
  .independent-editor-mode .nova-native-rail {left:47px}
  .independent-editor-mode .nova-native-stage {padding:5px}
  .independent-editor-mode .nova-native-device-switch output {display:none}
}
@media(prefers-reduced-motion:reduce) {
  .independent-editor-mode .nova-native * {scroll-behavior:auto;transition:none}
}


/* Verified Chromium regression: the inspector's sticky tabs used to overlay
   the real restaurant menu button when Playwright scrolled it into view.
   Keep the existing canonical tabs in normal flow; never block pointer input. */
.independent-editor-mode .nova-native-inspector .nova-native-tabs {
  position:static!important;top:auto!important;z-index:auto!important;
  padding:10px 0 12px;display:grid;gap:4px;
  background:transparent;border-bottom:1px solid #383f4c;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab] {
  min-height:38px;border:0;border-bottom:2px solid transparent;
  border-radius:0;background:transparent;color:#b9c0cd;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab][aria-selected=true] {
  border-bottom:2px solid #ff7021!important;
  color:#fff!important;background:#32221d!important;
}
.independent-editor-mode .nova-native-block-categories {display:grid;gap:11px}
.independent-editor-mode .nova-native-block-category {
  min-width:0;border-top:1px solid #333b45;padding-top:9px;
}
.independent-editor-mode .nova-native-block-category h3 {
  color:#bcc6d3;font-size:11px;letter-spacing:.045em;
  font-weight:750;margin:0 0 9px;
}
.independent-editor-mode .nova-native-block-category .nova-native-block-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
}
.independent-editor-mode .nova-native-block-category[hidden] {display:none!important}


/* Visual artifact correction, independently confirmed in real cross-engine screenshots:
   accessible device/action labels must not render across the viewport icons. */
.independent-editor-mode .nova-native-header .sr-only,
.independent-editor-mode .nova-native-device-switch .sr-only {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;border:0!important;
}
@media(min-width:901px) {
  .independent-editor-mode .nova-native-actions .nova-native-inspector-toggle {display:none!important}
}
.independent-editor-mode .nova-native-device-switch button {
  flex:0 0 35px;position:relative;overflow:hidden;
}
@media(max-width:620px) {
  .independent-editor-mode .nova-native-header {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:auto auto auto;
    height:auto!important;min-height:0!important;align-items:center;
    gap:7px 9px;padding:8px 9px!important;
  }
  .independent-editor-mode .nova-native-logo {
    grid-column:1;grid-row:1;flex:none;min-width:0;margin:0;
    white-space:nowrap;font-size:11px;gap:6px;
  }
  .independent-editor-mode .nova-native-breadcrumb {
    display:flex!important;grid-column:2;grid-row:1;min-width:0;
  }
  .independent-editor-mode .nova-native-project-link {width:100%;max-width:100%;min-width:0;padding:7px}
  .independent-editor-mode .nova-native-actions {
    grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-start;
    align-items:center;flex-wrap:wrap;width:100%;margin:0;gap:5px;
  }
  .independent-editor-mode .nova-native-device-switch {
    grid-column:1/-1;grid-row:3;order:initial;justify-self:start;
    width:auto;margin:0;
  }
  .independent-editor-mode .nova-native-inspector-toggle {display:inline-flex!important}
  .independent-editor-mode .nova-native-device-switch button {width:35px}
}


/* Designer reference: genuine workspace navigation and block ancestry.
   All interaction elements use the canonical persisted PageDraft/editor. */
.independent-editor-mode .nova-native-header {
  grid-template-columns:minmax(190px,225px) 39px minmax(115px,1fr) auto auto;
  gap:10px;background:linear-gradient(180deg,#111823,#0a0e15);
  box-shadow:0 1px #ff811b21,0 0 24px #05070c;
}
.independent-editor-mode .nova-native-add-trigger {
  display:grid;place-items:center;width:39px;height:40px;min-height:40px;
  background:radial-gradient(circle at 50% 40%,#54311b,#1a1b22 70%)!important;
  border:1px solid #7d4735;border-radius:9px;color:#ff9d52;
  box-shadow:0 0 13px #ff72243d,inset 0 1px #ffaf6744;
}
.independent-editor-mode .nova-native-add-trigger svg {
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;
}
.independent-editor-mode .nova-native-add-trigger:hover {
  border-color:#ff9040;color:#fff;box-shadow:0 0 17px #fb76236e;
}
.independent-editor-mode .nova-native-rail {
  background:linear-gradient(155deg,#151d28 0,#0d131b 75%);
  box-shadow:inset -1px 0 #313946;
}
.independent-editor-mode .nova-native-sidebar-heading {margin-bottom:7px}
.independent-editor-mode .nova-native-navigator-tree {
  padding:3px 0 13px;margin:0 0 12px;border-bottom:1px solid #343f4c;
  max-height:min(43vh,480px);overflow-y:auto;
  scrollbar-width:thin;scrollbar-color:#394454 transparent;
}
.independent-editor-mode .nova-native-navigator-tree:empty {display:none}
.independent-editor-mode .nova-native-navigator-tree .document-section {
  margin:0;padding:0;background:transparent;border:0;
}
.independent-editor-mode .nova-native-navigator-tree .document-section-head {
  margin:0 0 8px;padding:0 1px;
}
.independent-editor-mode .nova-native-navigator-tree .block-tree-shell {
  border:0;background:transparent;overflow:visible;
}
.independent-editor-mode .nova-native-navigator-tree .block-row {
  border-radius:6px;min-height:32px;
}
.independent-editor-mode .nova-native-navigator-tree .block-row.active {
  background:linear-gradient(90deg,#533021,#2b1c1a)!important;
  outline:1px solid #d76837;box-shadow:inset 3px 0 #ff7d28;
}
.independent-editor-mode .nova-native-navigator-tree .block-drag-hint {
  font-size:10px;color:#a9b3c0;
}
.independent-editor-mode .nova-native-page-list {padding:2px 0}
.independent-editor-mode .nova-native-rail .nova-native-component-heading {
  position:relative;padding-top:15px;
}
.independent-editor-mode .nova-native-block-category h3 {color:#e6e7ea}
.independent-editor-mode .nova-native-block-category .nova-native-block-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.independent-editor-mode .nova-native .nova-native-block {
  border-color:#414651!important;
  background:linear-gradient(155deg,#1f2934,#131924)!important;
}
.independent-editor-mode .nova-native .nova-native-block:is(:hover,:focus-visible) {
  background:linear-gradient(160deg,#4c2a20,#1b202b)!important;
  border-color:#ff782b!important;
  box-shadow:0 0 0 1px #ee712322,0 0 19px #f7682455;
}
.independent-editor-mode .nova-native-stage {
  background:
    radial-gradient(ellipse at 47% 2%,#232028 0,transparent 58%),
    linear-gradient(122deg,#0c121b,#080b11 55%,#0b101a);
}
.independent-editor-mode .nova-native-stage>.live-surface {
  border:1px solid #5a3e2f;border-radius:12px;
  box-shadow:0 0 0 1px #c75e2222,0 10px 35px #0009;
}
.independent-editor-mode .nova-native-stage .live-surface-stage {
  border-color:#d76a31;
  box-shadow:0 0 0 1px #f9782b29,0 0 20px #f4661a3b,0 15px 40px #000b;
}
.independent-editor-mode .nova-native-canvas-selection {
  border-color:#ff782c!important;
  box-shadow:0 0 0 1px #ff742a5e,0 0 15px #ff6b2434;
}
.independent-editor-mode .nova-native-canvas-selection-label {
  color:#fff;background:linear-gradient(100deg,#ff7d22,#ff540a);
  box-shadow:0 0 15px #ff681c60;
}
.independent-editor-mode .nova-native-canvas-path {
  flex:none;display:flex;align-items:center;min-width:0;gap:2px;
  min-height:39px;margin-top:1px;padding:3px 6px;
  background:linear-gradient(180deg,#19212c,#111923);
  border:1px solid #333e4b;border-radius:9px;box-shadow:0 8px 22px #0006;
  overflow-x:auto;scrollbar-width:thin;
}
.independent-editor-mode .nova-native-canvas-path .nova-native-path-item {
  display:inline-flex;align-items:center;gap:8px;flex:none;
  min-height:28px;padding:4px 8px;color:#c4cfda;border:1px solid transparent;
  font-size:11px;border-radius:5px;white-space:nowrap;
}
.independent-editor-mode .nova-native-canvas-path .nova-native-path-item:hover {
  background:#2b303a;border-color:#505866;color:#fff;
}
.independent-editor-mode .nova-native-canvas-path .nova-native-path-item[aria-current] {
  color:#ffb281;
}
.independent-editor-mode .nova-native-path-chevron {font-size:17px;color:#758396;line-height:1}
.independent-editor-mode .nova-native-fullscreen {
  flex:none;display:grid;place-items:center;min-width:31px;min-height:30px;
  margin-left:auto;padding:5px;border:1px solid #49515f;border-radius:6px;
  background:#1b2531;color:#e5ecf4;
}
.independent-editor-mode .nova-native-fullscreen svg {
  width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
.independent-editor-mode .nova-native-fullscreen:hover {
  border-color:#ff8c40;background:#34241e;
}
.independent-editor-mode .nova-native-stage:fullscreen {
  padding:15px;background:#090d13;
}
.independent-editor-mode .nova-native-stage:fullscreen>.live-surface {
  height:calc(100dvh - 68px);
}
.independent-editor-mode .nova-native-inspector {
  background:linear-gradient(180deg,#141d28,#0d131c);
  box-shadow:inset 1px 0 #333b46;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab][aria-selected=true] {
  box-shadow:0 7px 11px -10px #ff8b3a;
}
.independent-editor-mode .nova-native-inspector-group[open]>summary {
  box-shadow:inset 3px 0 #ff8b3a;
}
@media(max-width:1500px) and (min-width:1101px) {
  .independent-editor-mode .nova-native-header {
    grid-template-columns:minmax(168px,202px) 37px minmax(100px,1fr) auto auto;gap:6px;
  }
  .independent-editor-mode .nova-native-add-trigger {width:37px;height:36px;min-height:36px}
  .independent-editor-mode .nova-native-current-page {display:none}
  .independent-editor-mode .nova-native-main {
    grid-template-columns:72px minmax(225px,265px) minmax(0,1fr) minmax(267px,296px);
  }
}
@media(max-width:1100px) {
  .independent-editor-mode .nova-native-header {display:flex;flex-wrap:wrap}
  .independent-editor-mode .nova-native-add-trigger {width:36px;min-height:36px;height:36px}
  .independent-editor-mode .nova-native-canvas-path {max-width:100%;min-height:36px}
}
@media(max-width:620px) {
  .independent-editor-mode .nova-native-add-trigger {grid-column:1;grid-row:2;justify-self:start}
  .independent-editor-mode .nova-native-actions {grid-row:3}
  .independent-editor-mode .nova-native-device-switch {grid-row:4}
  .independent-editor-mode .nova-native-header {grid-template-rows:auto auto auto auto}
  .independent-editor-mode .nova-native-navigator-tree {max-height:37vh}
  .independent-editor-mode .nova-native-canvas-path .nova-native-path-item {font-size:10px;padding:4px 5px}
}


/* Firefox phone: constrain nested grid and independently scrollable panels.
   Never let a selection overlay, breadcrumb or media block widen the document. */
@media(max-width:900px) {
  .independent-editor-mode,
  .independent-editor-mode .nova-native {
    max-width:100%;min-width:0;overflow-x:clip;
  }
  .independent-editor-mode .nova-native-main,
  .independent-editor-mode .nova-native-stage,
  .independent-editor-mode .nova-native-stage>.live-surface,
  .independent-editor-mode .nova-native-stage .live-surface-stage {
    min-width:0;max-width:100%;box-sizing:border-box;
  }
  .independent-editor-mode .nova-native-canvas-path {
    width:100%;max-width:100%;min-width:0;overflow-x:auto;
    overscroll-behavior-x:contain;
  }
  .independent-editor-mode .nova-native-header {
    max-width:100%;min-width:0;box-sizing:border-box;
  }
}
@media(max-width:620px) {
  .independent-editor-mode .nova-native-header {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    width:100%;overflow-x:clip;
  }
  .independent-editor-mode .nova-native-header > *,
  .independent-editor-mode .nova-native-breadcrumb,
  .independent-editor-mode .nova-native-actions {
    min-width:0;max-width:100%;
  }
  .independent-editor-mode .nova-native-device-switch {
    min-width:0;max-width:100%;width:max-content;
  }
  .independent-editor-mode .nova-native-stage .live-surface-head {
    min-width:0;max-width:100%;
  }
}


/* Real AUTAMATRIX professional inspector — original persisted forms and tokens. */
.independent-editor-mode .nova-native-inspector .presentation-editor {
  margin:0;padding:0;border:0;min-width:0;
}
.independent-editor-mode .nova-native-inspector .presentation-editor>.document-section-head {
  display:flex;align-items:center;margin-bottom:5px;
}
.independent-editor-mode .nova-native-inspector .presentation-viewport {
  margin:9px 0 11px;min-width:0;border:1px solid #374352;
  background:linear-gradient(160deg,#111924,#0b1119);
  border-radius:9px;overflow:hidden;
}
.independent-editor-mode .nova-native-inspector .presentation-viewport[open] {
  border-color:#654635;box-shadow:inset 3px 0 #ff77233b,0 0 17px #ff6a190d;
}
.independent-editor-mode .nova-native-inspector .presentation-viewport>summary {
  padding:12px 13px;color:#e8eef6;letter-spacing:.085em;font-size:10px;
  background:linear-gradient(100deg,#1c2530,#121924);
}
.independent-editor-mode .nova-native-inspector .presentation-viewport[open]>summary {
  color:#ffb783;border-bottom:1px solid #5d4234;
}
.independent-editor-mode .nova-native-inspector .presentation-form {
  display:flex;flex-direction:column;gap:12px;
  padding:10px;min-width:0;background:transparent;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;min-width:0;padding:10px;border:1px solid #34404d;
  border-radius:8px;background:linear-gradient(145deg,#18222d,#101822);
  box-shadow:inset 0 1px #ffffff09;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group h4 {
  grid-column:1/-1;display:flex;align-items:center;gap:8px;
  margin:0 0 2px;padding:0 0 8px;border-bottom:1px solid #37414e;
  font-size:11px;font-weight:750;letter-spacing:.025em;color:#eaf0f7;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group h4:before {
  content:"";width:3px;height:13px;flex:none;border-radius:3px;
  background:linear-gradient(#ffad5d,#ff631e);box-shadow:0 0 9px #ff762855;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group>label {
  display:flex;flex-direction:column;min-width:0;gap:5px;
  font-size:10px;font-weight:620;color:#b5c1d0;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group :is(input,select) {
  width:100%;max-width:100%;min-width:0;min-height:35px;padding:7px 8px;
  background:#0a1018;border:1px solid #475263;border-radius:7px;
  color:#f5f6f9;font-size:11px;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group :is(input,select):hover {
  border-color:#9f6544;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group :is(input,select):focus-visible {
  outline:2px solid #ff9b52;outline-offset:2px;border-color:#ff8a44;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group--spacing {
  grid-template-columns:minmax(0,1fr);gap:10px;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group--spacing .presentation-spacing {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;
  grid-column:1;max-width:100%;min-width:0;
  margin:0;padding:9px 6px 7px;border:1px solid #45515e;
  border-radius:8px;background:radial-gradient(ellipse at center,#24252a,#101923);
}
.independent-editor-mode .nova-native-inspector .presentation-spacing legend {
  font-size:10px;color:#f0c5a8;padding:0 6px;
}
.independent-editor-mode .nova-native-inspector .presentation-spacing input {
  min-width:0;padding:7px 2px;text-align:center;font-size:10px;font-variant-numeric:tabular-nums;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group--surface {
  grid-template-columns:minmax(0,1fr);
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group--visibility {
  grid-template-columns:minmax(0,1fr);
}
.independent-editor-mode .nova-native-inspector .presentation-form>button[type=submit] {
  align-self:stretch;min-height:38px;margin-top:1px;
  color:#fff!important;font-weight:760;border:1px solid #ff9b53!important;
  background:linear-gradient(120deg,#f77b21,#ed560d)!important;
  box-shadow:inset 0 1px #ffbd79,0 0 12px #ff621a39;
}
.independent-editor-mode .nova-native-inspector .nova-native-inspector-pending {
  min-height:15px;display:block;color:#ffc38b;font-size:10px;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group[aria-label] {
  scroll-margin-top:18px;
}
@media(max-width:900px) {
  .independent-editor-mode .nova-native-inspector .nova-native-property-group {
    max-width:100%;min-width:0;
  }
}
@media(prefers-reduced-motion:reduce) {
  .independent-editor-mode .nova-native-inspector .nova-native-property-group * {
    transition:none!important;
  }
}


/* AUTAMATRIX designer target · reference artboard 1536 × 1024.
   Pixel measurements refer to the shell, not to a user's website content. */
@media (min-width:1420px) {
 .independent-editor-mode .nova-native-header {
   min-height:68px;height:68px;gap:8px;
   grid-template-columns:minmax(192px,218px) 40px minmax(164px,1fr) auto auto;
   padding:0 16px;
 }
 .independent-editor-mode .nova-native-main {
   height:calc(100dvh - 68px);min-height:calc(100dvh - 68px);
   grid-template-columns:78px 262px minmax(0,1fr) 286px;
 }
 .independent-editor-mode .nova-native-toolrail {padding:10px 6px;gap:6px}
 .independent-editor-mode .nova-native-toolrail [role=tab],
 .independent-editor-mode .nova-native-toolrail :is(.nova-native-components-shortcut,.nova-native-toolrail-link) {
   min-height:74px;border-radius:9px;
 }
 .independent-editor-mode .nova-native-rail {padding:13px 11px 17px}
 .independent-editor-mode .nova-native-stage {padding:12px 8px 9px;gap:7px}
 .independent-editor-mode .nova-native-inspector {padding:0 12px 16px}
}
.independent-editor-mode .nova-native {
 background:#070b12;
 --native-accent:#ff701d;
 --native-border:#34404c;
 --native-muted:#a6b2bf;
 color:#eef3f8;
}
.independent-editor-mode .nova-native-header {
 border-bottom:1px solid #27313d;
 background:linear-gradient(180deg,#101720 0%,#080c13 100%);
 box-shadow:0 2px 0 #ff71100b,0 4px 20px #0009;
}
.independent-editor-mode .nova-native-logo {
 font-weight:800;letter-spacing:.29em;
 text-shadow:0 0 9px #ff752723;
}
.independent-editor-mode .nova-native-logo .am-mark {
 color:#ff7c26;filter:drop-shadow(0 0 6px #ff702a77);
}
.independent-editor-mode .nova-native-add-trigger {
 border:1px solid #98512a!important;border-radius:9px!important;
 box-shadow:0 0 0 1px #f8772a12,0 0 14px #fb751b75,inset 0 1px #ffae7861!important;
 background:linear-gradient(145deg,#36211b,#111721)!important;
}
.independent-editor-mode .nova-native-device-switch {
 background:#0c1119;border-color:#394451;border-radius:10px;
 box-shadow:inset 0 1px #fff00009;
}
.independent-editor-mode .nova-native-device-switch button[aria-pressed=true] {
 background:linear-gradient(165deg,#4b2719,#191d24)!important;
 border-color:#ff792d!important;
 box-shadow:inset 0 0 0 1px #ff7a2344,0 0 16px #f66d2480!important;
}
.independent-editor-mode .nova-native-actions .nova-native-publish button {
 background:linear-gradient(125deg,#ff8a1a,#ff6300 70%,#eb5000)!important;
 box-shadow:0 0 19px #fb5d1488,inset 0 1px #ffb96e!important;
 font-weight:760;
}
.independent-editor-mode .nova-native-toolrail {
 background:linear-gradient(180deg,#101620,#080d14);
 border-right:1px solid #2d3945;
}
.independent-editor-mode .nova-native-toolrail [role=tab][aria-selected=true] {
 background:linear-gradient(135deg,#5a2d17,#251c1b 80%);
 color:#ffad69;border-color:#ff7922;
 box-shadow:0 0 16px #ff661c85,inset 0 0 0 1px #ff9b4b32;
}
.independent-editor-mode .nova-native-rail {
 background:linear-gradient(145deg,#141d29,#090e16 85%);
 border-right-color:#303c48;
}
.independent-editor-mode .nova-native-sidebar-heading h2 {font-size:14px!important;font-weight:710!important}
.independent-editor-mode .nova-native-navigator-tree {
 border-bottom-color:#394451;background:transparent;
}
.independent-editor-mode .nova-native-page-list .nova-native-page:is(.is-active,:hover) {
 background:linear-gradient(90deg,#43251c,#211c20);
 border-color:#b85e31;
}
.independent-editor-mode .nova-native-component-heading {
 background:linear-gradient(180deg,#33201847,transparent 96%);
 border-top:1px solid #3d3937;border-radius:8px 8px 0 0;
}
.independent-editor-mode .nova-native-block-category h3 {
 color:#e3e8ef;font-weight:750;
}
.independent-editor-mode .nova-native .nova-native-block {
 min-height:74px!important;
 border:1px solid #3b4551!important;
 background:linear-gradient(145deg,#202934,#121922)!important;
 border-radius:7px!important;
 box-shadow:inset 0 1px #ffffff0c;
}
.independent-editor-mode .nova-native .nova-native-block:is(:focus-visible,:hover) {
 border-color:#ff7828!important;
 background:linear-gradient(145deg,#4a291d,#151a23)!important;
 box-shadow:0 0 16px #fa6a2266,inset 0 1px #ffa25a66;
}
.independent-editor-mode .nova-native-stage {
 background:
 radial-gradient(ellipse at 67% 49%,#50281745 0,transparent 47%),
 radial-gradient(ellipse at 23% 10%,#1c2737 0,transparent 55%),
 linear-gradient(135deg,#090e16,#05080f);
}
.independent-editor-mode .nova-native-stage > .live-surface {
 background:linear-gradient(180deg,#0c111a,#070b12);
 border:1px solid #363f4b;
 border-radius:12px;
 box-shadow:0 15px 35px #000a;
}
.independent-editor-mode .nova-native-stage .live-surface-stage {
 border:1px solid #aa541f;
 border-radius:9px;
 box-shadow:0 0 0 1px #e46b212c,0 0 20px #ff611a37,0 15px 38px #000c;
}
.independent-editor-mode .nova-native-canvas-selection {
 border:1.5px solid #ff8024!important;
 box-shadow:0 0 0 1px #ff641e55,0 0 15px #ff7a1e29;
}
.independent-editor-mode .nova-native-canvas-selection-label {
 border:1px solid #ff9739;
 background:linear-gradient(105deg,#ff8f1e,#ff5508);
 box-shadow:0 0 13px #ff681b93,inset 0 1px #ffbd75;
}
.independent-editor-mode .nova-native-canvas-path {
 border:1px solid #3b4654;background:linear-gradient(#1a2430,#0d131d);
 min-height:44px;border-radius:10px;
 box-shadow:0 6px 22px #0008;
}
.independent-editor-mode .nova-native-inspector {
 border-left:1px solid #2f3a47;
 background:linear-gradient(160deg,#131c28,#090e17);
}
.independent-editor-mode .nova-native-inspector-head {
 min-height:65px;border-bottom-color:#333c47;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs {
 grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
 background:transparent;border-bottom:1px solid #343e4b;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab] {
 border-radius:0!important;border:0!important;border-bottom:2px solid transparent!important;
 padding:12px 2px;font-weight:650;min-height:40px;color:#bac5d2;
 background:transparent!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab][aria-selected=true] {
 border-bottom-color:#ff701c!important;color:#fff;
 background:transparent!important;box-shadow:0 8px 13px -10px #ff8b2f!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group {
 gap:8px;padding:10px;
 background:linear-gradient(145deg,#192431,#0e1620);
 border:1px solid #384552;border-radius:8px;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group h4 {
 color:#f0f3f8;font-size:11px;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group :is(input,select) {
 min-height:34px;background:#0a111a;border-color:#3f4c5a;color:#f7f8fb;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group--typography,
.independent-editor-mode .nova-native-inspector .nova-native-property-group--surface,
.independent-editor-mode .nova-native-inspector .nova-native-property-group--effects {
 grid-template-columns:repeat(2,minmax(0,1fr));
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group--typography>label:first-of-type,
.independent-editor-mode .nova-native-inspector .nova-native-property-group--surface>label:first-of-type {
 grid-column:1/-1;
}
.independent-editor-mode .nova-native-inspector .nova-native-color-well {
 width:36px!important;height:32px!important;min-height:32px!important;
 padding:2px!important;border:1px solid #546275!important;
 background:#10151c;border-radius:7px;cursor:pointer;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group--effects input {
 font-variant-numeric:tabular-nums;
}
.independent-editor-mode .nova-native-inspector .presentation-form > button[type=submit] {
 min-height:40px;
 background:linear-gradient(115deg,#ff8a22,#f2570b)!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group--typography input:focus-visible,
.independent-editor-mode .nova-native-inspector .nova-native-property-group--effects input:focus-visible {
 outline:2px solid #ff9a47;outline-offset:2px;
}
@media (max-width:900px){
 .independent-editor-mode .nova-native-inspector .nova-native-property-group {
   max-width:100%;min-width:0;
 }
}
@media (prefers-reduced-motion: reduce){
 .independent-editor-mode .nova-native * {
   animation-duration:.01ms!important;transition-duration:.01ms!important;
 }
}


/* Actual navigator uses dense tree rows, not administrative content cards. */
.independent-editor-mode .nova-native-header-shortcuts {
  display:flex;align-items:center;justify-content:flex-start;gap:4px;min-width:0;
}
.independent-editor-mode .nova-native-header-shortcuts button {
  display:grid;place-items:center;flex:0 0 34px;width:34px;height:36px;
  padding:7px;background:transparent;border:1px solid transparent;
  border-radius:7px;color:#b3bece;
}
.independent-editor-mode .nova-native-header-shortcuts button:hover {
  color:#ffad70;background:#34251d;border-color:#a75b34;
}
.independent-editor-mode .nova-native-header-shortcuts svg {
  width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;
  stroke-linecap:round;stroke-linejoin:round;
}
.independent-editor-mode .nova-native-navigator-tree {
  max-height:min(32vh,345px);min-height:0;scrollbar-width:thin;
}
.independent-editor-mode .nova-native-navigator-tree .block-list,
.independent-editor-mode .nova-native-navigator-tree .block-list li {
  margin-top:0;margin-bottom:0;
}
.independent-editor-mode .nova-native-navigator-tree .block-row {
  min-height:32px;padding:5px 6px 5px 30px;gap:5px;
  border:1px solid transparent;background:transparent;
  box-shadow:none;border-radius:6px;
}
.independent-editor-mode .nova-native-navigator-tree .block-type {
  display:flex;flex-direction:row;align-items:center;gap:6px;
  overflow:hidden;min-width:0;
}
.independent-editor-mode .nova-native-navigator-tree .block-type small {
  display:none;
}
.independent-editor-mode .nova-native-navigator-tree .block-label {
  font-size:11px;font-weight:630;color:#dae1e9;
}
.independent-editor-mode .nova-native-navigator-tree .block-row code {
  display:none;
}
.independent-editor-mode .nova-native-navigator-tree .block-row:is(:hover,.active) {
  background:linear-gradient(90deg,#40251e,#202029);
  border-color:#ad603b;
}
.independent-editor-mode .nova-native-navigator-tree .block-multi-check {
  top:7px;left:5px;width:19px;height:19px;
}
.independent-editor-mode .nova-native-navigator-tree .block-drag-hint {
  font-size:10px;color:#a3adbd;margin:7px 0;
}
@media(min-width:1420px) {
  .independent-editor-mode .nova-native-header {
    grid-template-columns:minmax(190px,218px) 40px 114px minmax(130px,1fr) auto auto;
    gap:7px;
  }
}
@media(min-width:1101px) and (max-width:1419px){
  .independent-editor-mode .nova-native-header {
    grid-template-columns:minmax(155px,192px) 34px 100px minmax(92px,1fr) auto auto;
    gap:6px;
  }
  .independent-editor-mode .nova-native-header-shortcuts button {
    width:30px;flex-basis:30px;
  }
}
@media(max-width:1100px){
  .independent-editor-mode .nova-native-header-shortcuts {
    display:none;
  }
}


/* Reference screenshot exterior: 14px lateral inset, slim top frame and a
   separation between global toolbar and the three-panel workspace. */
@media(min-width:1420px) {
  .independent-editor-mode .nova-native {
    width:calc(100% - 28px);
    min-height:calc(100dvh - 22px);
    height:calc(100dvh - 22px);
    margin:8px 14px 14px;
    border:1px solid #303641;
    border-radius:13px;
    overflow:hidden;
    box-shadow:0 0 25px #000b,inset 0 0 0 1px #ff6b1409;
  }
  .independent-editor-mode .nova-native-header {
    min-height:58px;height:58px;
    border-radius:12px 12px 0 0;
  }
  .independent-editor-mode .nova-native-main {
    flex:1;min-height:0;
    height:calc(100dvh - 22px - 58px - 8px);
    margin-top:8px;
    border-radius:0 0 12px 12px;
    overflow:hidden;
  }
  .independent-editor-mode .nova-native-stage {
    padding-top:5px;
  }
}


/* AUTAMATRIX / owner screenshot reconciliation, 2026-10-15.
   Deliberately changes the Studio chrome, never the rendered site/theme. */
.independent-editor-mode .nova-native {
  --native-bg:#070b12;
  --native-surface:#121925;
  --native-layer:#151d28;
  --native-border:#303a46;
  --native-text:#f1f4f9;
  --native-muted:#a9b4c1;
  --native-accent:#ff7827;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.independent-editor-mode .nova-native-header {
  border-bottom:1px solid #373a40;
  background:linear-gradient(180deg,#121821 0%,#090e16 100%);
}
.independent-editor-mode .nova-native-main {
  background:#080d15;
}
.independent-editor-mode .nova-native-toolrail {
  background:linear-gradient(170deg,#111924,#090e16 72%);
}
.independent-editor-mode .nova-native-rail {
  display:flex;flex-direction:column;min-width:0;
  background:linear-gradient(145deg,#131b27,#090e17 85%);
  box-shadow:inset -1px 0 #3a3d40;
}
.independent-editor-mode .nova-native-sidebar-heading {
  min-height:44px;margin-bottom:0;padding:6px 2px 8px;
  border-bottom:1px solid #38404b;
}
.independent-editor-mode .nova-native-sidebar-heading .nova-native-overline {
  display:none;
}
.independent-editor-mode .nova-native-sidebar-heading h2 {
  font-size:14px!important;font-weight:720!important;letter-spacing:0;
  margin:0;
}
.independent-editor-mode .nova-native-workspace-panel[data-native-workspace-panel="pages"] {
  display:flex;flex-direction:column;gap:6px;
  flex:0 0 auto;min-height:0;
  /* The workspace scrolls as one vertical column. Flex shrinking this
     section makes its children paint below their box and intercepts
     clicks on the page-management disclosure. */
}
.independent-editor-mode .nova-native-navigator-tree {
  flex:none;max-height:min(36vh,352px);min-height:68px;
  overflow-y:auto;overflow-x:hidden;
  border:0;border-bottom:1px solid #37414d;
  margin:0 0 5px;padding:8px 2px 8px 0;
  scrollbar-color:#3c4d5b transparent;
}
.independent-editor-mode .nova-native-navigator-tree .document-section-head {
  display:none;
}
.independent-editor-mode .nova-native-navigator-tree .block-row {
  min-height:30px!important;margin:1px 0!important;
  padding:4px 6px 4px 26px!important;
  border-radius:6px!important;
}
.independent-editor-mode .nova-native-navigator-tree .block-list ul {
  border-left:1px solid #475160;
  margin-left:15px;padding-left:6px;
}
.independent-editor-mode .nova-native-navigator-tree .block-label {
  font-size:11px!important;font-weight:650!important;
  color:#e1e6ee!important;
}
.independent-editor-mode .nova-native-navigator-tree .block-row.active {
  background:linear-gradient(90deg,#623326,#271e23)!important;
  border:1px solid #f37732!important;
  box-shadow:0 0 12px #fe722a20,inset 3px 0 #ff8b36!important;
}
.independent-editor-mode .nova-native-navigator-tree .block-row:hover:not(.active) {
  background:#202c39!important;border-color:#405264!important;
}
.independent-editor-mode .nova-native-page-management {
  margin:1px 0 8px!important;
  border:1px solid #364454!important;
  border-radius:8px!important;
  background:#111a26!important;
  overflow:visible!important;
  flex:none;
}
.independent-editor-mode .nova-native-page-management>summary {
  min-height:32px;padding:7px 10px!important;
  background:#151f2d!important;border:0!important;
  font-size:11px!important;letter-spacing:0;
  color:#dce5ee!important;
}
.independent-editor-mode .nova-native-page-management[open]>summary {
  border-bottom:1px solid #445061!important;
}
.independent-editor-mode .nova-native-page-management-content {
  padding:8px;
}
.independent-editor-mode .nova-native-page-management-content h2 {
  font-size:11px;margin:2px 0 6px;
}
.independent-editor-mode .nova-native-page-management-content .nova-native-page {
  min-height:29px;padding:5px 8px;border-radius:5px;
  font-size:11px;
}
.independent-editor-mode .nova-native-site-starter {
  margin:2px 0 8px!important;
}
.independent-editor-mode .nova-native-site-starter>summary {
  background:#121e2c!important;border:1px solid #3a4757!important;
  padding:8px 10px!important;font-size:11px!important;
}
.independent-editor-mode .nova-native-component-heading {
  flex:none;margin:8px 0 0;padding:10px 6px 6px;
  border-radius:9px 9px 0 0;border:1px solid #393e45;
  background:linear-gradient(180deg,#281c1b,#151d28 80%);
}
.independent-editor-mode .nova-native-component-heading h2 {
  font-size:12px!important;font-weight:740;margin:0 0 5px;
}
.independent-editor-mode .nova-native-library-subhead {
  display:none;
}
.independent-editor-mode .nova-native-component-search input {
  min-height:34px!important;background:#0a111b!important;
  border-color:#47505e!important;
}
.independent-editor-mode .nova-native-block-create {
  flex:0 0 auto;
  background:linear-gradient(180deg,#131a25,#0c131d);
  border:1px solid #363f4b;border-top:0;border-radius:0 0 9px 9px;
  padding:7px;
}
.independent-editor-mode .nova-native-block-category {
  padding-top:6px;margin-top:6px;
}
.independent-editor-mode .nova-native-block-category h3 {
  font-size:10px!important;margin:0 0 7px!important;
}
.independent-editor-mode .nova-native-block-category .nova-native-block-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
}
.independent-editor-mode .nova-native .nova-native-block {
  min-height:69px!important;padding:8px 4px!important;
  background:linear-gradient(160deg,#202934,#101822)!important;
  border:1px solid #414a56!important;border-radius:7px!important;
}
.independent-editor-mode .nova-native .nova-native-block:hover,
.independent-editor-mode .nova-native .nova-native-block:focus-visible {
  border-color:#ff7c2a!important;
  box-shadow:0 0 15px #ff75283e,inset 0 1px #ffa65a35!important;
}
/* Canvas gets one compact context bar, not three separate admin strips. */
.independent-editor-mode .nova-native-stage {
  min-width:0;padding:8px 9px 9px!important;gap:7px;
  background:
    radial-gradient(ellipse at 56% 35%,#71361822,transparent 58%),
    linear-gradient(135deg,#080d16,#060a12 78%);
}
.independent-editor-mode .nova-native-locales {
  align-self:flex-end;order:1;gap:2px;
  padding:2px;border-radius:7px;
  background:#131c2a;border:1px solid #394350;
}
.independent-editor-mode .nova-native-locales a {
  min-height:25px;padding:3px 7px;border-color:transparent;
  font-size:10px;
}
.independent-editor-mode .nova-native-locales a[aria-current] {
  background:linear-gradient(#623521,#3b251f);
  border-color:#c86b37;color:#fff;
}
.independent-editor-mode .nova-native-stage>.live-surface {
  order:2;flex:1;min-height:0;margin:0!important;
  padding:7px!important;border-radius:10px!important;
  border:1px solid #47404a!important;
  background:linear-gradient(145deg,#0c141f,#0a1018)!important;
  box-shadow:inset 0 0 0 1px #ff8a1b15,0 12px 24px #000a!important;
}
.independent-editor-mode .nova-native-stage .canvas-page-navigator {
  gap:4px;padding:4px;margin:0 0 6px;
  border:0;border-bottom:1px solid #34404e;border-radius:0;
  background:transparent;
  scrollbar-width:thin;
}
.independent-editor-mode .nova-native-stage .canvas-page-navigator a {
  min-height:29px;padding:5px 9px;
  color:#b8c5d3;font-size:10px;
  border:1px solid #3b4654;border-radius:5px;
  background:#172230;box-shadow:none;
}
.independent-editor-mode .nova-native-stage .canvas-page-navigator a[aria-current="page"] {
  background:linear-gradient(120deg,#743a22,#43241f);
  color:#fff;border-color:#fa7b2e;
}
.independent-editor-mode .nova-native-stage .canvas-page-navigator .canvas-preview-link {
  background:linear-gradient(#3b2a1f,#211f21);
  color:#ffca9f;border-color:#ae6d3e;
}
.independent-editor-mode .nova-native-stage .live-surface-head {
  min-height:30px;gap:4px;margin-bottom:6px;
  flex-wrap:nowrap!important;align-items:center!important;
}
.independent-editor-mode .nova-native-stage .live-surface-head>div:first-child {
  display:none!important;
}
.independent-editor-mode .nova-native-stage .live-viewport-actions {
  flex-wrap:nowrap;margin-left:auto;gap:4px;
}
.independent-editor-mode .nova-native-stage .live-viewport-actions button {
  min-height:27px;padding:4px 9px!important;
  font-size:10px!important;border-radius:6px;
}
.independent-editor-mode .nova-native-stage .live-surface-stage {
  min-height:0;flex:1;
  border:1px solid #f4762b!important;border-radius:8px!important;
  box-shadow:0 0 0 1px #ef772a25,0 0 14px #ff712535,0 12px 38px #0008!important;
}
.independent-editor-mode .nova-native-stage .live-surface-frame {
  height:100%;min-height:440px;
}
.independent-editor-mode .nova-native-stage .nova-native-canvas-path {
  order:3;flex:none;margin:0!important;min-height:38px;
  background:linear-gradient(180deg,#172230,#101723);
}
.independent-editor-mode .nova-native-inspector {
  padding:0 9px 15px!important;
  background:linear-gradient(170deg,#141d29,#090e17 80%)!important;
}
.independent-editor-mode .nova-native-inspector-head {
  min-height:46px;padding:7px 0!important;margin:0!important;
}
.independent-editor-mode .nova-native-inspector-head h2 {
  font-size:12px!important;font-weight:740!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs {
  margin-bottom:6px;border-bottom-color:#3f4752;
}
.independent-editor-mode .nova-native-inspector .presentation-viewport {
  margin:5px 0 9px;background:#101823;
}
.independent-editor-mode .nova-native-inspector .presentation-viewport>summary {
  min-height:34px;padding:7px 9px!important;
  font-size:10px;letter-spacing:.03em;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group {
  padding:8px;gap:7px;border-color:#384452;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group h4 {
  font-size:10px!important;margin:0;padding:0 0 7px;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group>label {
  font-size:10px;color:#c3cdd8;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group :is(input,select) {
  min-height:32px;padding:6px 7px;
}
@media(max-width:900px){
  .independent-editor-mode .nova-native-stage {
    min-width:0;padding:8px!important;
  }
  .independent-editor-mode .nova-native-navigator-tree {
    max-height:36vh;
  }
  .independent-editor-mode .nova-native-stage>.live-surface {
    min-height:480px;
  }
}
@media(prefers-reduced-motion:reduce){
  .independent-editor-mode .nova-native-stage .live-surface-stage {
    transition:none!important;
  }
}

/* PR #211: compact-view editor interaction geometry.
   The independent flex rail must not override the compact off-canvas
   display:none state. Otherwise its invisible/closed drawer intercepts
   the real inline-edit control underneath on tablet and phone. */
@media(max-width:900px) {
  .independent-editor-mode .nova-native-rail:not(.is-open) {
    display:none;
  }
  .independent-editor-mode .nova-native-rail.is-open {
    display:flex;
  }
}

/* Canvas Add is a real fourth contextual action; on narrow devices the
   toolbar wraps rather than extending beyond the selectable artboard. */
@media(max-width:620px){
  .independent-editor-mode .nova-native-canvas-selection-tools {
    flex-wrap:wrap;max-width:calc(100vw - 75px);
  }
}

/* A real one-click Duplicate action shares the selected Canvas toolbar.
   Preserve legible labels and keep all five controls reachable at compact
   breakpoints without obscuring the preview or creating page overflow. */
.independent-editor-mode .nova-native-canvas-selection-tools {
  max-width:min(430px,calc(100vw - 85px));
  flex-wrap:wrap;
}
.independent-editor-mode .nova-native-canvas-selection-tools button {
  min-height:32px;
  padding:5px 8px;
}
@media(max-width:620px) {
  .independent-editor-mode .nova-native-canvas-selection-tools {
    max-width:calc(100vw - 75px);
  }
}

/* Mobile selection tools must stay inside the artboard hit area. The
   selected block's right-aligned toolbar can otherwise extend into the
   clipped scroll gutter (particularly in Firefox smartphone layout). */
@media(max-width:620px){
  .independent-editor-mode .nova-native-canvas-selection-tools,
  .independent-editor-mode .nova-native-canvas-selection.is-tight .nova-native-canvas-selection-tools{
    left:3px;right:auto;width:max-content;max-width:calc(100% - 6px);
  }
}

/* Premium designer contextual authoring: canonical actions and clear placement. */
.independent-editor-mode .nova-native-insert-context {
  display:block;min-height:21px;margin:4px 0 10px;padding:3px 8px;
  border-left:2px solid #ff832c;color:#d7e0eb;background:#1e2731;
  font-size:11px;line-height:1.5;overflow-wrap:anywhere;
}
.independent-editor-mode .nova-native-filter-result {
  display:block;margin:5px 0 9px;color:#ffbd8b;font-size:11px;
}
.independent-editor-mode .nova-native-filter-result[hidden],
.independent-editor-mode .nova-native .block-tree-item[hidden],
.independent-editor-mode .nova-native-page-list .nova-native-page[hidden] {
  display:none!important;
}
.independent-editor-mode .nova-native-canvas-more {
  position:relative;display:inline-flex;align-self:center;pointer-events:auto;
}
.independent-editor-mode .nova-native-canvas-more>summary {
  display:grid;place-items:center;min-width:34px;min-height:32px;
  padding:3px 9px;list-style:none;cursor:pointer;color:#e9eff9;
  background:#252f3c;border:1px solid #526071;border-radius:6px;
  font-size:20px;line-height:1;
}
.independent-editor-mode .nova-native-canvas-more>summary::-webkit-details-marker {display:none}
.independent-editor-mode .nova-native-canvas-more[open]>summary,
.independent-editor-mode .nova-native-canvas-more>summary:hover {
  border-color:#ff913c;background:#42291c;
}
.independent-editor-mode .nova-native-canvas-more-menu {
  position:absolute;top:calc(100% + 8px);right:0;z-index:20;
  display:grid;gap:5px;width:156px;padding:6px;
  border:1px solid #5c6878;border-radius:9px;background:#141c27;
  box-shadow:0 15px 38px #000c;pointer-events:auto;
}
.independent-editor-mode .nova-native-canvas-more-menu button {
  width:100%;min-height:38px;white-space:normal;text-align:left;
}
.independent-editor-mode .nova-native-canvas-more-menu button.is-danger {
  color:#ffc3b3;border-color:#995444;background:#3c2426;
}
.independent-editor-mode .nova-native-canvas-more>summary:focus-visible,
.independent-editor-mode .nova-native-canvas-more-menu button:focus-visible {
  outline:2px solid #ffa05a;outline-offset:2px;
}
.independent-editor-mode .nova-native-canvas-more-menu button.is-danger:hover {
  background:#61302a;border-color:#ff9776;
}
@media(max-width:620px){
  /* Anchor inward from the toolbar instead of clipping to the stage left. */
  .independent-editor-mode .nova-native-canvas-more-menu {left:0;right:auto;width:min(148px,calc(100vw - 32px))}
}

/* Shared premium-ateliers shell: direct routes to actual native workspaces. */
.atelier-switcher{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px clamp(16px,4.5vw,64px);background:linear-gradient(90deg,#071522,#111826);border-bottom:1px solid #20506c}
.atelier-switch-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:9px 15px;border:1px solid #31516b;border-radius:10px;color:#c4d8e9;background:#102031;font-size:12px;font-weight:650;white-space:nowrap;transition:border-color .15s,background .15s}
.atelier-switch-link:hover,.atelier-switch-link:focus-visible{border-color:#19d8fd;color:white;background:#15304a}
.atelier-switch-link.active{border-color:#19dbfc;color:#d8faff;background:#0c3043;box-shadow:inset 0 0 0 1px #17bde45a,0 0 16px #00c8ff36}
.atelier-switch-link>span{font-size:19px;color:#38dfff}
.atelier-sidebar-links{display:flex;flex-direction:column;gap:5px;margin:12px 0;padding:10px 0;border-block:1px solid #26394d}
.atelier-sidebar-links .atelier-switch-link{justify-content:flex-start;min-width:0;width:100%;white-space:normal}
.premium-series-hero{margin:0 0 14px;padding:28px;border:1px solid #125579;border-radius:16px;background:radial-gradient(ellipse at right top,#063756 0%,transparent 65%),linear-gradient(135deg,#0a1929,#0f1726)}
.premium-series-hero h1{font-size:clamp(30px,3.5vw,48px)}
.premium-ateliers-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 22px}
.premium-ateliers-stat-grid>div{display:flex;flex-direction:column;gap:8px;padding:17px;border:1px solid #244d66;border-radius:12px;background:linear-gradient(145deg,#10283d,#0d1724)}
.premium-ateliers-stat-grid span{color:#a4c2d6;font-size:11px}
.premium-ateliers-stat-grid strong{font-size:28px;line-height:1;color:#d9f6ff}
@media(max-width:900px){.atelier-sidebar-links{display:none}.atelier-switcher{gap:5px;padding:8px 12px}.atelier-switch-link{flex:1 1 auto;padding:9px;font-size:11px}.premium-ateliers-stat-grid>div{padding:10px}}
@media(max-width:440px){.atelier-switch-link{font-size:10px;white-space:normal;text-align:center;min-height:48px}.atelier-switch-link>span{display:none}.premium-ateliers-stat-grid{gap:5px}.premium-ateliers-stat-grid strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.atelier-switch-link{transition:none}}

/* The compact Pages drawer must stay above its sticky editor header.
   Otherwise the header intercepts the real Close button after switching
   from the shared atelier shell (Chromium phone pointer hit testing). */
@media(max-width:900px){
  .independent-editor-mode .nova-native-rail.is-open{z-index:70!important}
  .independent-editor-mode .nova-native-close-sidebar{z-index:1}
}

/* Premium product atelier: one canonical product model, truthful metrics,
   reversible media-backed cards and server-owned forms. */
.products-hero{padding:25px;border:1px solid #1b6082;border-radius:15px;
  background:radial-gradient(ellipse at right top,#0b3b66 0,transparent 64%),linear-gradient(120deg,#0b1727,#111b2d)}
.products-hero h1{font-size:clamp(30px,3.7vw,50px)}
.premium-product-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:0 0 22px}
.premium-product-metric{padding:15px;display:flex;flex-direction:column;gap:8px;min-width:0;
  border:1px solid #24536e;border-radius:12px;background:linear-gradient(140deg,#10293e,#0b1828)}
.premium-product-metric span{font-size:11px;color:#a0c0d5}
.premium-product-metric strong{font-size:clamp(22px,2vw,31px);font-weight:750;color:#e8fbff;line-height:1}
.products-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.products-list>.document-section-head,.products-list>.empty-note{grid-column:1/-1}
.products-list .premium-product-card{border-color:#28506c;border-radius:12px;
  background:#0a1725;box-shadow:0 8px 30px #0004;min-width:0}
.products-list .premium-product-card:hover{border-color:#12c9ef}
.products-list .premium-product-card>summary{display:flex;flex-direction:column;align-items:stretch;gap:0;
  padding:0;min-height:0}
.products-list .premium-product-cover{display:block;width:100%;height:clamp(145px,15vw,220px);
  object-fit:cover;object-position:center;background:radial-gradient(circle at 60% 35%,#16496e,#091523 72%)}
.products-list .premium-product-cover-empty{display:grid;place-items:center;color:#49b6e5;
  font-size:65px;opacity:.75}
.products-list .premium-product-card-caption{display:grid;gap:5px;min-width:0;
  padding:14px 14px 9px;color:#ecf8ff}
.products-list .premium-product-card-caption strong{font-size:15px;font-weight:700;
  overflow-wrap:anywhere}
.products-list .premium-product-card-caption small{color:#9abbd0;font-size:10px;
  overflow-wrap:anywhere}
.products-list .premium-product-card-details{color:#a7c8d8;font-size:10px}
.products-list .premium-product-card>summary>.pill{align-self:flex-start;margin:0 14px 12px;
  border-color:#245b69;background:#102f3d;color:#aaf4db}
.products-list .premium-product-card[open]{grid-column:span 2}
.products-list .premium-product-card[open]>summary{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center}
.products-list .premium-product-card[open] .premium-product-cover{height:115px}
.products-list .premium-product-card[open]>summary>.pill{margin:8px 14px}
.products-list .premium-product-card .product-card-body{background:#0f1a28;border-top-color:#2c506b}
@media(max-width:1100px){.premium-product-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:730px){.products-list{grid-template-columns:1fr}.products-list .premium-product-card[open]{grid-column:1}
  .products-list .premium-product-card[open]>summary{grid-template-columns:110px minmax(0,1fr)}
  .products-list .premium-product-card[open]>summary>.pill{grid-column:2;margin:0 12px 12px}
  .premium-product-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.premium-product-metric{padding:11px}.premium-product-stats{gap:6px}
  .products-list .premium-product-card[open] .premium-product-cover{height:95px}}

/* JIMILLENIUM study, AUTAMATRIX implementation: editor-only return and
   nine real canonical PageDraft component submitters. No public-site change. */
.independent-editor-mode .nova-native-return-navigator{
  flex:0 0 auto;display:grid;place-items:center;min-width:38px;min-height:38px;
  border:1px solid #3897bf;border-radius:9px;background:#11324a;
  color:#dcfaff;font-size:20px;box-shadow:0 0 13px #09c7eb30;
}
.independent-editor-mode .nova-native-return-navigator[hidden]{display:none!important}
.independent-editor-mode .nova-native-return-navigator:hover{background:#164968;border-color:#5aefff}
.independent-editor-mode .nova-native-return-navigator:focus-visible{
  outline:3px solid #b3fbff;outline-offset:2px;
}
.independent-editor-mode .nova-native-quick-palette{
  flex:0 0 auto;position:relative;margin:8px 0 14px;padding:11px 8px;
  border:1px solid #307797;border-radius:12px;
  background:radial-gradient(ellipse at 95% 0%,#42317e70,transparent 55%),#0c2237;
  box-shadow:inset 0 1px #b8f4ff29,0 0 18px #0abce42b;
}
.independent-editor-mode .nova-native-quick-palette h3{
  margin:0 2px 9px;font-size:13px;line-height:1.45;letter-spacing:.02em;color:#e7faff;
}
.independent-editor-mode .nova-native-quick-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:3px;min-height:49px;min-width:0;margin:0;padding:5px 3px;
  border:1px solid #4590ba;border-radius:8px;background:#102f49;
  box-shadow:inset 0 1px #d5ffff35,0 0 12px #18b9f42a;
  color:#edfaff;font-size:11px;font-weight:650;line-height:1.25;
  white-space:normal;overflow-wrap:anywhere;text-align:center;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button .nova-native-component-glyph{
  color:#61e8ff;font-size:20px;line-height:1;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button:nth-child(3n){
  border-color:#987ae7;background:#242147;box-shadow:inset 0 1px #f4dcff2e,0 0 12px #9769ff3c;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button:hover{
  color:white;border-color:#99ffff;background:#174b68;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button:focus-visible{
  outline:3px solid #c6ffff;outline-offset:2px;
}
/* Layered, static sci-fi beams inside the workspaces, not the website iframe.
   No motion, canvas overlay, network image or JavaScript paint loop. */
.independent-editor-mode .nova-native-main{
  background-image:
    radial-gradient(circle at 2% 15%,#a9f9ff 0 1px,transparent 2px),
    radial-gradient(circle at 98% 9%,#be9cff 0 1px,transparent 2px),
    radial-gradient(circle at 85% 91%,#91ddff 0 1px,transparent 2px),
    linear-gradient(138deg,transparent 8%,#2872dd28 8.3%,transparent 8.7%,transparent 85%,#8d62fa28 85.3%,transparent 85.8%),
    radial-gradient(ellipse at 0% 21%,#0b629e68,transparent 38%),
    radial-gradient(ellipse at 100% 12%,#5c36a57a,transparent 42%),
    linear-gradient(130deg,#050d1d,#0a1428 60%,#130d2c)!important;
}
.independent-editor-mode :is(.nova-native-toolrail,.nova-native-rail,.nova-native-inspector){
  background-image:
    radial-gradient(circle at 4% 12%,#b0f8ff 0 1px,transparent 2px),
    radial-gradient(circle at 93% 79%,#c5a3ff 0 1px,transparent 2px),
    linear-gradient(153deg,transparent 15%,#20c9ff33 15.15%,transparent 15.75%,transparent 83%,#835efb37 83.15%,transparent 83.8%),
    linear-gradient(34deg,transparent 14%,#147bcc25 14.2%,transparent 14.9%),
    radial-gradient(ellipse at 0% 15%,#075481a3,transparent 46%),
    radial-gradient(ellipse at 100% 78%,#61309f92,transparent 55%),
    linear-gradient(156deg,#0a1c31,#080e1e 64%,#17112b)!important;
  background-repeat:no-repeat!important;background-size:100% 100%!important;
  color:#e8f6ff;
}
.independent-editor-mode .nova-native-rail{border-right-color:#267fa0;box-shadow:inset -1px 0 #87dfff46,0 0 16px #1acaff37}
.independent-editor-mode .nova-native-inspector{border-left-color:#8a65c9;box-shadow:inset 1px 0 #bd9bff5e,0 0 19px #8859ee3c}
/* The Reference's improved readable Inspector: labels 14px, help 13px.
   Keep existing form ownership, tab semantics and security unchanged. */
.independent-editor-mode .nova-native-inspector :is(.presentation-form label,.nova-native-property-group>label,.block-inspector label,.draft-editor label){
  color:#e1f2ff!important;font-size:14px!important;line-height:1.55!important;
}
.independent-editor-mode .nova-native-inspector :is(small,.zone-hint,.block-field-help){
  color:#caddf3!important;font-size:13px!important;line-height:1.55!important;
}
.independent-editor-mode .nova-native-inspector :is(input,select,textarea,.presentation-form button){
  font-size:13px!important;min-height:38px;
}
.independent-editor-mode .nova-native-inspector :is(.nova-native-tabs [role=tab],.nova-native-property-group h4){
  font-size:13px!important;line-height:1.4!important;color:#eaf8ff;
}
.independent-editor-mode .nova-native-rail :is(.block-row,.nova-native-page,.nova-native-block-category h3){
  font-size:13px!important;line-height:1.45!important;
}
@media(min-width:1180px) and (min-height:760px){
  .independent-editor-mode .nova-native-quick-grid .nova-native-quick-button{min-height:55px}
}
@media(max-width:900px){
  .independent-editor-mode .nova-native-quick-palette{margin-block:5px 10px}
  .independent-editor-mode .nova-native-quick-grid .nova-native-quick-button{min-height:44px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .independent-editor-mode .nova-native-quick-grid .nova-native-quick-button,
  .independent-editor-mode .nova-native-return-navigator{transition:none!important}
}

/* Refactored native document: permanent atelier shortcuts, no second
   toolbar, safe access for both pointer and keyboard users. */
.independent-editor-mode .nova-native-toolrail {
  overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;
}
.independent-editor-mode .nova-native-ateliers-link {
  border-top:1px solid #2a516d;
  min-height:59px;
  color:#b9e7fa;
}
.independent-editor-mode .nova-native-ateliers-link:is(:hover,:focus-visible) {
  color:#eafcff;
  background:linear-gradient(145deg,#0f354e,#152342);
  border-color:#55dfff;
}
@media(max-width:620px) {
  .independent-editor-mode .nova-native-ateliers-link {
    min-height:51px;
  }
}

/* True editable Canvas focus: no browser Fullscreen, no alternate editor DOM.
   Keep the full canonical iframe and selection overlay mounted and active. */
.independent-editor-mode .nova-native-focus-action {
  display:inline-flex;align-items:center;gap:6px;justify-content:center;
  min-height:38px;padding:7px 11px;border:1px solid #48bce2;
  border-radius:9px;background:linear-gradient(145deg,#102a44,#122444);
  color:#e3faff;font-size:12px;font-weight:700;
  box-shadow:inset 0 1px #ffffff23,0 0 13px #1dcbf840;
  white-space:nowrap;
}
.independent-editor-mode .nova-native-focus-action svg {width:17px;height:17px;flex:0 0 17px}
.independent-editor-mode .nova-native-focus-action:hover,
.independent-editor-mode .nova-native-focus-action[aria-pressed=true] {
  background:linear-gradient(145deg,#11547b,#24296c);
  border-color:#8af2ff;box-shadow:0 0 17px #3cc9ff64;
}
.independent-editor-mode .nova-native-focus-action:focus-visible{
  outline:3px solid #c7ffff;outline-offset:2px;
}
.independent-editor-mode .nova-native.is-focus-mode .nova-native-main {
  display:grid;grid-template-columns:minmax(0,1fr)!important;
}
.independent-editor-mode .nova-native.is-focus-mode .nova-native-toolrail,
.independent-editor-mode .nova-native.is-focus-mode .nova-native-rail,
.independent-editor-mode .nova-native.is-focus-mode .nova-native-inspector {
  display:none!important;
}
.independent-editor-mode .nova-native.is-focus-mode .nova-native-stage {
  grid-column:1!important;grid-row:1!important;
  width:100%;min-width:0;min-height:0;padding:8px;
}
.independent-editor-mode .nova-native.is-focus-mode .nova-native-stage>.live-surface {
  min-width:0;width:100%;height:100%;
}
@media(max-width:620px){
  .independent-editor-mode .nova-native-focus-action {min-height:36px;padding:6px 9px}
  .independent-editor-mode .nova-native-focus-action span {font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .independent-editor-mode .nova-native-focus-action{transition:none}
}

/* Owner reference reconciliation: isolated native Designer chrome.
   Do not style the rendered website, published content, or old admin modules. */
.independent-editor-mode .nova-native {
  --native-bg:#050d1c;--native-surface:#0c1b34;--native-layer:#112746;
  --native-border:#274565;--native-text:#f3faff;--native-muted:#bad0e5;
  --native-accent:#23d4fc;--native-focus:#a2f6ff;
  background:#050d1c;color:#f3faff;
}
.independent-editor-mode .nova-native :is(button,a,input,select,textarea,summary):focus-visible {
  outline:2px solid #9df2ff!important;outline-offset:2px!important;
}
.independent-editor-mode .nova-native-header{
  display:flex!important;align-items:center;flex-wrap:nowrap;
  min-height:70px;height:70px;gap:9px;padding:8px 15px;
  background:linear-gradient(180deg,#0c1b35,#071225)!important;
  border-bottom:1px solid #27466a;box-shadow:0 3px 23px #0008;
}
.independent-editor-mode .nova-native-logo{
  flex:none;gap:8px;letter-spacing:.09em;font-size:16px!important;color:#f3faff!important;
}
.independent-editor-mode .nova-native-logo .am-mark {
  width:35px;height:35px;color:#18bdff!important;filter:drop-shadow(0 0 7px #3ecbff5c);
}
.independent-editor-mode .nova-native-add-trigger {
  border:1px solid #3c8bb4!important;background:#0b2b48!important;
  color:#94efff!important;box-shadow:0 0 11px #1cc9ff32!important;
}
.independent-editor-mode .nova-native-breadcrumb{flex:1 1 90px;min-width:0;gap:7px}
.independent-editor-mode .nova-native-project-link{
  background:#0d203a;border-color:#2b506c;max-width:150px;padding:7px 8px;
}
.independent-editor-mode .nova-native-current-page{max-width:100px}
.independent-editor-mode .nova-native-device-switch{
  gap:2px;background:#0b1930;border:1px solid #315073;padding:4px;border-radius:10px;
}
.independent-editor-mode .nova-native-device-switch button{
  display:flex!important;align-items:center;justify-content:center;
  gap:6px;width:auto!important;min-width:68px;min-height:36px;padding:6px 8px;
  border:1px solid transparent;color:#d2e4f5;
}
.independent-editor-mode .nova-native-device-name{font-size:11px;font-weight:650}
.independent-editor-mode .nova-native-device-switch button[aria-pressed=true]{
  background:linear-gradient(150deg,#114164,#102947)!important;
  border-color:#28ccff!important;color:#f5ffff!important;
  box-shadow:inset 0 1px #b8f8ff44,0 0 14px #1bd5ff70!important;
}
.independent-editor-mode .nova-native-device-switch output{border-left:1px solid #28486a;color:#eaf8ff}
.independent-editor-mode .nova-native-actions{flex:0 1 auto;gap:5px;min-width:0}
.independent-editor-mode .nova-native :is(.nova-native-actions button,.nova-native-actions a){
  min-height:37px;padding:7px 9px;border:1px solid #2d5075;
  background:linear-gradient(160deg,#132845,#0b1c33);
  color:#f0f8ff;border-radius:9px;
}
.independent-editor-mode .nova-native :is(.nova-native-actions button,.nova-native-actions a):hover:not(:disabled){
  border-color:#50dafa;background:#143f64;color:#fff;
}
.independent-editor-mode .nova-native-actions .nova-native-preview-action{
  width:auto;min-width:82px;gap:6px;
}
.independent-editor-mode .nova-native-action-label{font-size:11px;font-weight:650}
.independent-editor-mode .nova-native-actions .nova-native-publish button{
  background:linear-gradient(105deg,#11d9e9,#348ffd 62%,#9655ee)!important;
  border:1px solid #58e9ff!important;color:#06182c!important;
  box-shadow:0 0 17px #18caff55,inset 0 1px #f4ffffa8!important;
}
.independent-editor-mode .nova-native-actions .nova-native-draft-status{
  background:#0b2c25;border-color:#276157;color:#bee9d6;
}
.independent-editor-mode .nova-native-main{
  grid-template-columns:86px minmax(238px,260px) minmax(0,1fr) 280px;
  min-height:0;height:calc(100dvh - var(--native-header-height,70px));
  background:#071226;
}
.independent-editor-mode :is(.nova-native-toolrail,.nova-native-rail,.nova-native-inspector){
  background-image:none!important;border-color:#274366!important;box-shadow:none!important;
}
.independent-editor-mode .nova-native-toolrail{
  background:linear-gradient(165deg,#0b203a,#081327)!important;
  padding:9px 4px;gap:5px;scrollbar-width:thin;
}
.independent-editor-mode .nova-native-toolrail [role=tab],
.independent-editor-mode .nova-native-toolrail :is(.nova-native-components-shortcut,.nova-native-toolrail-link){
  min-height:67px;gap:6px;padding:8px 3px;color:#c2daf3;font-size:11px;
  border-radius:9px;border:1px solid transparent;
}
.independent-editor-mode .nova-native-toolrail :is([role=tab],.nova-native-components-shortcut,.nova-native-toolrail-link):hover{
  background:#153757;border-color:#397da9;color:#fff;
}
.independent-editor-mode .nova-native-toolrail [role=tab][aria-selected=true]{
  color:#e7ffff!important;background:linear-gradient(130deg,#0a4167,#102b51)!important;
  border-color:#30ccff!important;
  box-shadow:inset 3px 0 #17d5ff,0 0 15px #19d3ff43!important;
}
.independent-editor-mode .nova-native-rail{
  padding:12px 10px 21px;
  background:linear-gradient(150deg,#0e223d,#09142a 75%)!important;
  scrollbar-color:#32658a transparent;
}
.independent-editor-mode .nova-native-sidebar-heading{
  border-bottom:1px solid #294568;margin-bottom:9px;min-height:43px;
}
.independent-editor-mode .nova-native-sidebar-heading h2{
  font-size:15px!important;font-weight:750!important;
}
.independent-editor-mode .nova-native-navigator-search{display:block;margin:0 0 9px}
.independent-editor-mode .nova-native-navigator-search input,
.independent-editor-mode .nova-native-component-search input,
.independent-editor-mode .nova-native-rail .nova-native-search-label input{
  background:#0a1a32;min-height:38px;border:1px solid #315273;
  color:#ecf9ff;border-radius:8px;font-size:12px;
}
.independent-editor-mode .nova-native-page-management{
  margin:0 0 10px;padding:7px;background:#0d203a;
  border:1px solid #28476c;border-radius:10px;
}
.independent-editor-mode .nova-native-page-management>summary{
  margin:0;min-height:36px;padding:8px;background:transparent!important;
  color:#f1f9ff!important;border:0!important;font-size:13px;font-weight:740;
}
.independent-editor-mode .nova-native-page-management-content{padding:4px 0 0}
.independent-editor-mode .nova-native-page-list{
  display:grid;gap:4px;max-height:240px;overflow:auto;padding:3px;
}
.independent-editor-mode .nova-native-rail .nova-native-page{
  min-height:35px;border:1px solid transparent;border-radius:7px;
  color:#d3e4f7;padding:8px 10px;font-size:12px!important;
}
.independent-editor-mode .nova-native-rail .nova-native-page:is(:hover,.is-active){
  background:linear-gradient(100deg,#164470,#102848)!important;
  border-color:#478ec2!important;box-shadow:inset 3px 0 #30caff!important;
  color:#fff!important;
}
.independent-editor-mode .nova-native-page-management .nova-native-add-page>summary{
  background:#142f4d;color:#c8f0ff;border-color:#345e85;
}
.independent-editor-mode .nova-native-navigator-tree{
  min-height:0;max-height:112px;border-color:#304d6d;
}
.independent-editor-mode .nova-native-navigator-tree .block-row.active{
  background:#133d68!important;outline:1px solid #29caff!important;
  box-shadow:inset 3px 0 #2bcaff!important;
}
.independent-editor-mode .nova-native-quick-palette{
  background:linear-gradient(155deg,#112845,#0a1a34)!important;
  border:1px solid #305276;border-radius:12px;
  padding:11px 7px;margin:10px 0 12px;box-shadow:inset 0 1px #abedff20!important;
}
.independent-editor-mode .nova-native-quick-palette h3{
  font-size:14px;margin:0 5px 10px;color:#edf9ff;
}
.independent-editor-mode .nova-native-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button{
  min-height:71px!important;gap:6px;padding:7px 3px!important;
  background:linear-gradient(160deg,#182f4c,#0c1a32)!important;
  border:1px solid #365f84!important;border-radius:9px!important;
  box-shadow:inset 0 1px #dcfaff17!important;color:#e8f5ff!important;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button:nth-child(3n){
  background:linear-gradient(150deg,#1b3154,#111d3d)!important;
  border-color:#425f8b!important;box-shadow:none!important;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button .nova-native-component-glyph{
  color:#4bdbff;font-size:22px;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button:is(:hover,:focus-visible),
.independent-editor-mode .nova-native .nova-native-block:is(:hover,:focus-visible){
  background:linear-gradient(150deg,#134c6c,#212c61)!important;
  border-color:#6ceeff!important;color:#fff!important;
  box-shadow:0 0 14px #24cfff47!important;
}
.independent-editor-mode .nova-native-stage{
  background:radial-gradient(ellipse at 50% 0%,#12335d70,transparent 68%),#061026!important;
  padding:9px;gap:7px;
}
.independent-editor-mode .nova-native-stage>.live-surface{
  background:#0a1a33!important;border:1px solid #31577b!important;
  border-radius:11px;box-shadow:0 11px 36px #0009!important;
}
.independent-editor-mode .nova-native-stage .live-surface-stage{
  border:1px solid #2989ba!important;border-radius:11px!important;
  box-shadow:0 0 0 1px #19b0eb40,0 0 15px #14cfff27,0 15px 30px #0009!important;
}
.independent-editor-mode .nova-native-canvas-selection{
  border:2px solid #20c9ff!important;box-shadow:0 0 0 1px #2cafea70,0 0 12px #1abfff40!important;
}
.independent-editor-mode .nova-native-canvas-selection-label{
  background:linear-gradient(100deg,#1066a1,#113c75)!important;
  border:1px solid #68dfff!important;box-shadow:0 0 12px #28caff3c!important;
}
.independent-editor-mode .nova-native-canvas-selection-tools{
  background:#0d2440!important;border:1px solid #3878a8!important;
}
.independent-editor-mode .nova-native-canvas-selection-tools button:hover{
  background:#185177!important;border-color:#59dfff!important;
}
.independent-editor-mode .nova-native-inline-trigger{
  background:#15558c!important;border-color:#45cbff!important;
  box-shadow:0 0 11px #1cbeff3b!important;
}
.independent-editor-mode .nova-native-inline-popup{background:#102642;border-color:#399dce}
.independent-editor-mode .nova-native-stage .live-layout-toolbar{
  border-color:#285983;background:#09203be8;box-shadow:0 10px 27px #000a;
}
.independent-editor-mode .nova-native-stage .live-layout-toolbar :is(button,summary):hover{
  background:#155275!important;border-color:#50dfff!important;
}
.independent-editor-mode .nova-native-canvas-path{
  background:#0d2039;border-color:#2e5078;box-shadow:none;
}
.independent-editor-mode .nova-native-canvas-path [aria-current]{color:#65dfff!important}
.independent-editor-mode .nova-native-inspector{
  padding:0 11px 18px!important;
  background:linear-gradient(180deg,#0c203b,#08162b)!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;
  position:sticky;top:0;z-index:20;margin:0 0 10px;padding:10px 0 8px;
  background:#0b1d36;border-bottom:1px solid #2c4e73;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab]{
  min-height:39px;padding:7px 3px;border:0;border-bottom:2px solid transparent;
  border-radius:0;background:transparent;color:#cce0f4;
  font-size:12px!important;font-weight:650;word-break:normal;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab][aria-selected=true]{
  background:linear-gradient(180deg,#15426a,#0b2442)!important;
  border-color:#21d1ff!important;color:#f6feff!important;
  box-shadow:0 5px 12px -10px #20e6ff!important;
}
.independent-editor-mode .nova-native-inspector-head{
  border-bottom:1px solid #325272;min-height:49px;padding:7px 4px!important;
}
.independent-editor-mode .nova-native-selected-mark{color:#50d9ff!important}
.independent-editor-mode .nova-native-inspector :is(.document-section,.block-inspector,.draft-editor,.publication-panel){
  border:1px solid #2a4e75;background:#0d1e38;padding:11px;border-radius:10px;
}
.independent-editor-mode .nova-native-inspector-group>summary{
  background:#102947!important;color:#e9f7ff!important;border-color:#2f5479!important;
}
.independent-editor-mode .nova-native-inspector-group[open]>summary{
  box-shadow:inset 3px 0 #2bd3ff!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group{
  background:#0d203a;border:1px solid #2a4b70;padding:9px;gap:7px;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group h4{
  color:#f3fbff!important;font-size:13px!important;
  border-bottom:1px solid #2e5579;padding-bottom:7px;
}
.independent-editor-mode .nova-native-inspector :is(input,select,textarea){
  background:#091a30;border-color:#376186;color:#f1faff;min-height:39px;
}
.independent-editor-mode .nova-native-inspector :is(form button,.secondary-button){
  background:#15405f;border-color:#387fa8;color:#e7faff;
}
.independent-editor-mode .nova-native-inspector :is(form button,.secondary-button):hover{
  background:#165d81;border-color:#4fe4ff;color:#fff;
}
@media(max-width:1540px) and (min-width:1101px){
  .independent-editor-mode .nova-native-header-shortcuts{display:none}
  .independent-editor-mode .nova-native-current-page{display:none}
  .independent-editor-mode .nova-native-device-switch button{min-width:43px;padding-inline:6px}
  .independent-editor-mode .nova-native-device-name{display:none}
  .independent-editor-mode .nova-native-actions .nova-native-draft-status{display:none}
  .independent-editor-mode .nova-native-main{grid-template-columns:82px minmax(238px,252px) minmax(0,1fr) 280px}
}
@media(max-width:1100px){
  .independent-editor-mode .nova-native-header{height:auto;flex-wrap:wrap}
  .independent-editor-mode .nova-native-header-shortcuts{display:none}
  .independent-editor-mode .nova-native-device-name{display:none}
  .independent-editor-mode .nova-native-device-switch button{min-width:44px}
  .independent-editor-mode .nova-native-main{height:calc(100dvh - var(--native-header-height,70px))}
}
@media(max-width:900px){
  .independent-editor-mode .nova-native-main{grid-template-columns:60px minmax(0,1fr)}
  .independent-editor-mode .nova-native-rail{top:var(--native-header-height,70px);left:60px}
  .independent-editor-mode .nova-native-rail:not(.is-open){display:none!important}
  .independent-editor-mode .nova-native-rail.is-open{display:flex!important}
  .independent-editor-mode .nova-native-inspector{top:var(--native-header-height,70px)}
}
@media(max-width:620px){
  .independent-editor-mode .nova-native-header{gap:6px;padding:8px}
  .independent-editor-mode .nova-native-logo{font-size:13px!important}
  .independent-editor-mode .nova-native-breadcrumb{display:none}
  .independent-editor-mode .nova-native-device-switch{order:2}
  .independent-editor-mode .nova-native-actions{order:3;flex:1 1 100%;flex-wrap:wrap}
  .independent-editor-mode .nova-native-action-label{display:none}
  .independent-editor-mode .nova-native-actions .nova-native-preview-action{min-width:38px;width:38px}
  .independent-editor-mode .nova-native-inspector{width:min(380px,calc(100vw - 60px))}
  .independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab]{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
  .independent-editor-mode .nova-native :is(button,a,summary){transition:none!important;animation:none!important}
}

/* Keep actionable Page and component controls above the fold; do not
   duplicate the page-name search or hide canonical PageDraft submitters. */
.independent-editor-mode .nova-native-page-management-content>.sr-only{position:absolute}
.independent-editor-mode .nova-native-site-starter{
  order:30;flex:none;border-color:#2a4a70;background:#0c2039;
}
.independent-editor-mode .nova-native-inspector .presentation-viewport{
  border-color:#2b5077;background:#0b203a;
}
.independent-editor-mode .nova-native-inspector .presentation-viewport[open]{
  border-color:#3884b7!important;
  box-shadow:inset 3px 0 #23cfff57,0 0 11px #1ccfff18!important;
}
.independent-editor-mode .nova-native-inspector .presentation-viewport[open]>summary{
  color:#8eeaff!important;border-bottom-color:#28567e!important;
  background:linear-gradient(90deg,#11345b,#10233c)!important;
}

/* Assistive names remain in the accessibility tree, not visibly duplicated
   as heading text beside the permanent Navigator search. */
.independent-editor-mode .nova-native-rail .sr-only{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;border:0!important;
}


/* The canonical Layout/spacing palette remains operable without obscuring
   the authored website. Its compact toggle is keyboard/touch-accessible. */
.independent-editor-mode .nova-native-stage .live-layout-toolbar.is-collapsed {
  position:absolute;left:auto;right:11px;bottom:11px;transform:none;
  width:auto;max-width:max-content;max-height:none;min-height:0;
  margin:0;padding:4px;background:#0b213cf2;
  border:1px solid #397bae;border-radius:10px;
  box-shadow:0 2px 13px #000a,0 0 10px #1ac5ff24;
  overflow:visible;
}
.independent-editor-mode .nova-native-stage .live-layout-toolbar.is-collapsed > :not(.live-layout-toggle) {
  display:none!important;
}
.independent-editor-mode .nova-native-stage .live-layout-toolbar .live-layout-toggle {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:37px;min-width:44px;padding:7px 12px;
  font-size:12px;font-weight:700;white-space:nowrap;
  color:#e2f9ff;background:#114067;
  border:1px solid #55c5e6;border-radius:8px;
  box-shadow:inset 0 1px #c8f7ff20;
}
.independent-editor-mode .nova-native-stage .live-layout-toolbar .live-layout-toggle:hover {
  background:#185b80;border-color:#85f0ff;
}
@media(max-width:620px){
  .independent-editor-mode .nova-native-stage .live-layout-toolbar.is-collapsed {
    left:auto;right:6px;bottom:6px;max-width:calc(100% - 12px);
  }
  .independent-editor-mode .nova-native-stage .live-layout-toolbar.is-collapsed .live-layout-toggle {
    min-height:35px;padding:6px 9px;font-size:11px;
  }
  /* A compact, one-line tool strip is a touch-friendly access layer, not a
     stack of buttons obstructing the entire phone preview. All original
     actions remain distinct real buttons with localized accessible names. */
  .independent-editor-mode .nova-native-canvas-selection-tools {
    flex-wrap:nowrap!important;width:max-content;max-width:calc(100vw - 79px);
    gap:3px;padding:3px;align-items:center;
  }
  .independent-editor-mode .nova-native-canvas-selection-tools > button[data-native-canvas-action] {
    display:inline-flex!important;align-items:center;justify-content:center;
    width:32px;min-width:32px;max-width:32px;height:34px;min-height:34px;
    padding:3px!important;overflow:hidden;white-space:nowrap;
    font-size:0!important;line-height:0;
  }
  .independent-editor-mode .nova-native-canvas-selection-tools > button[data-native-canvas-action]::before {
    font-size:19px;line-height:1;font-weight:600;
  }
  .independent-editor-mode .nova-native-canvas-selection-tools > button[data-native-canvas-action="edit"]::before {content:"✎"}
  .independent-editor-mode .nova-native-canvas-selection-tools > button[data-native-canvas-action="add"]::before {content:"+"}
  .independent-editor-mode .nova-native-canvas-selection-tools > button[data-native-canvas-action="duplicate"]::before {content:"⧉"}
  .independent-editor-mode .nova-native-canvas-selection-tools > button[data-native-canvas-action="design"]::before {content:"◈"}
  .independent-editor-mode .nova-native-canvas-selection-tools > button[data-native-canvas-action="layers"]::before {content:"▤"}
  .independent-editor-mode .nova-native-canvas-more>summary {
    min-width:32px;min-height:34px;padding:3px 6px;
  }
}

/* Single real device controller in the global header. The legacy-internal
   viewport buttons stay mounted and still own presentation updates; hide the
   duplicate strip only after the native header is wired successfully. */
.independent-editor-mode .nova-native.is-native-controls-ready .nova-native-stage .live-surface-head{
  display:none!important;
}
@media(max-width:620px){
  /* Compact responsive header: existing secure action forms flow alongside
     the same three breakpoint buttons instead of occupying a separate row.
     display:contents removes only a nonsemantic wrapper, never its controls. */
  .independent-editor-mode .nova-native-header{
    display:flex!important;flex-wrap:wrap!important;align-content:start;
    gap:5px 6px;padding:7px 8px!important;height:auto!important;
    min-height:0!important;
  }
  .independent-editor-mode .nova-native-header>.nova-native-logo{
    order:0;flex:0 1 auto!important;min-width:0;font-size:12px!important;
    letter-spacing:.045em;white-space:nowrap;
  }
  .independent-editor-mode .nova-native-header .nova-native-logo .am-mark{
    width:27px;height:27px;
  }
  .independent-editor-mode .nova-native-header>.nova-native-add-trigger{
    order:0;flex:0 0 34px;width:34px;min-width:34px;height:34px;min-height:34px;
  }
  .independent-editor-mode .nova-native-header>.nova-native-breadcrumb{
    order:0;display:flex!important;flex:1 1 80px;min-width:70px;
    overflow:hidden;
  }
  .independent-editor-mode .nova-native-header .nova-native-project-link{
    max-width:100%;min-width:0;padding:6px 7px;overflow:hidden;
  }
  .independent-editor-mode .nova-native-header .nova-native-project-link strong{
    font-size:10px;overflow:hidden;text-overflow:ellipsis;
  }
  .independent-editor-mode .nova-native-header>.nova-native-device-switch{
    order:1;flex:0 0 auto;align-self:center;
    min-height:36px;margin:0 3px 0 0;
  }
  .independent-editor-mode .nova-native-header>.nova-native-actions{
    display:contents!important;
  }
  .independent-editor-mode .nova-native-header>.nova-native-actions>*{
    order:2;flex:0 0 auto;align-self:center;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions :is(button,a,summary){
    min-height:35px;padding:6px 8px;font-size:11px;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions :is(.nova-native-icon-action,.nova-native-preview-action){
    min-width:35px;width:35px;padding:5px!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions .nova-native-draft-status{
    display:none!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions .nova-native-save-status{
    max-width:72px;font-size:10px;line-height:1.25;
  }
  .independent-editor-mode .nova-native-stage>.live-surface{
    min-height:0;
  }
}
@media(max-width:365px){
  .independent-editor-mode .nova-native-header .nova-native-logo{font-size:11px!important}
  .independent-editor-mode .nova-native-header .nova-native-project-link{padding:5px}
  .independent-editor-mode .nova-native-header>.nova-native-device-switch{
    margin-right:0;
  }
}

/* Clear reference-led navigator hierarchy: pages first, then searchable
   element tree, then nine immediate authentic component submitters. */
.independent-editor-mode .nova-native-workspace-panel[data-native-workspace-panel="pages"]{
  display:flex;flex-direction:column;
}
.independent-editor-mode .nova-native-workspace-panel[data-native-workspace-panel="pages"]>.nova-native-page-management{
  order:-1;
}
.independent-editor-mode .nova-native-workspace-panel[data-native-workspace-panel="pages"]>.nova-native-navigator-tree{
  order:1;
}
.independent-editor-mode .nova-native-component-extended{
  flex:none;display:block;min-width:0;margin:3px 0 10px;
  border:1px solid #305278;border-radius:10px;background:#0b1e36;
}
.independent-editor-mode .nova-native-component-extended>summary{
  display:flex;align-items:center;justify-content:space-between;
  min-height:41px;margin:0;padding:9px 12px;
  color:#d9f5ff;background:linear-gradient(155deg,#122d4d,#0b213b);
  border:0;border-radius:9px;font-size:12px;font-weight:700;
  list-style:none;
}
.independent-editor-mode .nova-native-component-extended>summary::-webkit-details-marker{display:none}
.independent-editor-mode .nova-native-component-extended>summary::after{
  content:"⌄";font-size:17px;line-height:1;color:#6cdbff;
}
.independent-editor-mode .nova-native-component-extended[open]>summary::after{content:"⌃"}
.independent-editor-mode .nova-native-component-extended>summary:hover{
  background:#174066;color:#fff;
}
.independent-editor-mode .nova-native-component-extended[open]{
  border-color:#3b86b9;box-shadow:0 0 12px #22bfff19;
}
.independent-editor-mode .nova-native-component-extended>.nova-native-component-heading{
  margin:0;padding:12px 8px 2px;border-top:1px solid #315170;
}
.independent-editor-mode .nova-native-component-extended>.nova-native-block-create{
  border:0;margin:0;padding:8px;background:transparent;
}
@media(prefers-reduced-motion:reduce){
  .independent-editor-mode .nova-native-component-extended,
  .independent-editor-mode .nova-native-component-extended>summary{transition:none!important}
}


/* Owner reference: selected Canvas has a small non-obscuring action disclosure.
   Each real Edit / Add / Duplicate / Design / Layers button is still the same
   authenticated action, revealed only when requested. */
.independent-editor-mode .nova-native-canvas-selection-tools.is-condensed{
  display:inline-flex!important;flex-wrap:nowrap!important;align-items:center;
  width:max-content;max-width:calc(100vw - 90px);padding:3px!important;gap:0;
  background:#091e35f5!important;border:1px solid #398aba!important;
  box-shadow:0 3px 12px #0008,0 0 9px #12bbee25!important;
}
.independent-editor-mode .nova-native-canvas-selection-tools.is-condensed > button[data-native-canvas-action],
.independent-editor-mode .nova-native-canvas-selection-tools.is-condensed > .nova-native-canvas-more{
  display:none!important;
}
.independent-editor-mode .nova-native-canvas-selection-tools > .nova-native-canvas-tools-toggle{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:34px!important;width:auto!important;min-width:76px!important;
  max-width:130px!important;padding:6px 10px!important;
  background:linear-gradient(125deg,#0b4a70,#123359)!important;
  border:1px solid #46b6e3!important;color:#e7faff!important;
  border-radius:7px;font-size:11px!important;line-height:1.25!important;
  font-weight:740;white-space:nowrap!important;cursor:pointer;
}
.independent-editor-mode .nova-native-canvas-selection-tools > .nova-native-canvas-tools-toggle:hover{
  background:#14638d!important;border-color:#7fe7ff!important;
  box-shadow:0 0 10px #13ccff43!important;
}
.independent-editor-mode .nova-native-canvas-selection-tools:not(.is-condensed){
  gap:4px;align-items:center;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;padding-inline:0!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab]{
  font-size:11px!important;letter-spacing:-.015em!important;
  padding-inline:1px!important;min-width:0!important;
  white-space:nowrap!important;overflow-wrap:normal!important;
  word-break:keep-all!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-inspector-head{
  margin-bottom:8px;
}
@media(max-width:620px){
  .independent-editor-mode .nova-native-canvas-selection-tools.is-condensed{
    flex-wrap:nowrap!important;width:max-content!important;
    max-width:calc(100vw - 86px)!important;
  }
  .independent-editor-mode .nova-native-canvas-selection-tools > .nova-native-canvas-tools-toggle{
    min-width:76px!important;width:auto!important;max-width:130px!important;
    min-height:34px!important;font-size:11px!important;padding:5px 8px!important;
  }
}


/* AUTAMATRIX owner screenshot alignment • 2026-10-16.
   Native shell only. Never paint the iframe document or the public website.
   Reference artboard: 1672 × 941, header 70, toolrail ~90, navigator ~258,
   inspector ~280. Pixel fidelity remains subject to actual visual QA. */
.independent-editor-mode .nova-native{
  --reference-deep:#061121;
  --reference-panel:#0a1b34;
  --reference-line:#294567;
  --reference-cyan:#20d8ff;
  color:#f3f9ff;background:#061121;
}
.independent-editor-mode .nova-native-header{
  min-height:70px;height:70px;padding:7px 16px;gap:9px;
  background:radial-gradient(ellipse at 45% -110%,#174e8b9c,transparent 70%),#071222!important;
  border-bottom:1px solid #284e70;
}
.independent-editor-mode .nova-native-header-shortcuts{display:none!important}
.independent-editor-mode .nova-native-header .nova-native-logo{
  font-size:19px!important;letter-spacing:.055em;gap:8px;
  margin-right:1px;
}
.independent-editor-mode .nova-native-header .nova-native-logo::after{
  content:"STUDIO";font-size:11px;font-weight:500;
  letter-spacing:.02em;color:#a676f9;
  border-left:1px solid #345779;margin-left:4px;padding-left:9px;
}
.independent-editor-mode .nova-native-header .nova-native-logo .am-mark{
  width:38px;height:38px;
  filter:drop-shadow(0 0 12px #1ccaff80);
}
.independent-editor-mode .nova-native-breadcrumb{flex:0 1 125px}
.independent-editor-mode .nova-native-current-page{display:none!important}
.independent-editor-mode .nova-native-device-switch{
  gap:3px;min-height:47px;
  background:linear-gradient(160deg,#102039,#08162b)!important;
  box-shadow:inset 0 1px #5783b525;
}
.independent-editor-mode .nova-native-device-switch button{
  min-height:37px;min-width:70px;
}
.independent-editor-mode .nova-native-actions :is(.nova-native-focus-action,.nova-native-preview-action){
  box-shadow:inset 0 1px #729bc224;
}
.independent-editor-mode .nova-native-header .nova-native-publish button{
  background:linear-gradient(115deg,#05d7eb,#3898ff 60%,#9160f9)!important;
  color:#071827!important;
  box-shadow:0 0 16px #19caff65!important;
}
.independent-editor-mode .nova-native-main{
  grid-template-columns:90px minmax(240px,258px) minmax(0,1fr) 280px;
  background:#050f22;
}
.independent-editor-mode .nova-native-toolrail{
  background:linear-gradient(155deg,#081c35 0%,#071428 70%,#070f20)!important;
  border:1px solid #1c3658!important;border-radius:13px 0 0 13px;
  padding:10px 6px;
}
.independent-editor-mode .nova-native-toolrail [role=tab],
.independent-editor-mode .nova-native-toolrail :is(.nova-native-components-shortcut,.nova-native-toolrail-link){
  display:flex;flex-flow:column nowrap;justify-content:center;
  min-height:66px;gap:5px;border-radius:8px;
  font-size:11px!important;color:#c8dcf1!important;
}
.independent-editor-mode .nova-native-toolrail :is(.nova-native-design-shortcut,.nova-native-tools-shortcut){
  appearance:none;width:100%;cursor:pointer;
  text-align:center;border:1px solid transparent;
  background:transparent;font:inherit;
}
.independent-editor-mode .nova-native-toolrail :is(.nova-native-design-shortcut,.nova-native-tools-shortcut):disabled{
  opacity:.48;cursor:not-allowed;
}
.independent-editor-mode .nova-native-toolrail :is(.nova-native-design-shortcut,.nova-native-tools-shortcut):hover:not(:disabled){
  border-color:#49cfff;background:#113b61;
}
.independent-editor-mode .nova-native-toolrail [role=tab][aria-selected=true]{
  background:linear-gradient(150deg,#133c68,#0d2648)!important;
  border-color:#31d0ff!important;box-shadow:inset 3px 0 #27daff,0 0 13px #21caff30!important;
}
.independent-editor-mode .nova-native-rail{
  background:linear-gradient(163deg,#0b1c35,#08142c 80%)!important;
  border-right:1px solid #2a4365;
  padding:14px 12px 22px;
}
.independent-editor-mode .nova-native-sidebar-heading{
  margin-bottom:9px;min-height:40px;border-bottom:0;
}
.independent-editor-mode .nova-native-sidebar-heading h2{
  font-size:15px!important;font-weight:750;
}
.independent-editor-mode .nova-native-navigator-search{
  position:relative;margin-bottom:12px;
}
.independent-editor-mode .nova-native-navigator-search input,
.independent-editor-mode .nova-native-quick-filter input{
  background:#0b1c33!important;border:1px solid #29476b!important;
  min-height:41px;color:#e3f2ff!important;border-radius:8px;
  font-size:12px!important;
}
.independent-editor-mode .nova-native-navigator-search input:focus,
.independent-editor-mode .nova-native-quick-filter input:focus{
  border-color:#36d9ff!important;box-shadow:0 0 0 2px #19d4ff23;
}
.independent-editor-mode .nova-native-page-management{
  margin:0 0 12px;padding:11px 9px 9px;
  border:1px solid #213b5c;border-radius:11px;
  background:linear-gradient(180deg,#0c1d38,#0a162c)!important;
}
.independent-editor-mode .nova-native-page-management>summary{
  font-size:13px;font-weight:760;min-height:33px;padding:5px 2px 9px;
  color:#f0f7ff;
}
.independent-editor-mode .nova-native-page-list{
  gap:3px;max-height:260px;overflow-y:auto;padding:1px 0;
}
.independent-editor-mode .nova-native-page-item{
  position:relative;display:flex;align-items:stretch;
  min-height:36px;border-radius:8px;
}
.independent-editor-mode .nova-native-rail .nova-native-page-item>.nova-native-page{
  flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:10px;
  margin:0;padding:8px 32px 8px 9px;border-radius:7px;
  font-size:12px!important;line-height:1.2;overflow:hidden;
}
.independent-editor-mode .nova-native-page-item .nova-native-page-glyph{
  flex:0 0 20px;font-size:18px;line-height:1;
  text-align:center;color:#afcfee;
}
.independent-editor-mode .nova-native-page-item .nova-native-page span:last-child{
  display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.independent-editor-mode .nova-native-page-options{
  position:absolute;z-index:21;right:3px;top:3px;
}
.independent-editor-mode .nova-native-page-options>summary{
  list-style:none;display:flex;align-items:center;justify-content:center;
  width:29px;height:29px;cursor:pointer;
  background:transparent;border:1px solid transparent;border-radius:6px;
  font-size:17px;line-height:1;color:#bcd6f0;
}
.independent-editor-mode .nova-native-page-options>summary::-webkit-details-marker{display:none}
.independent-editor-mode .nova-native-page-options>summary:hover,
.independent-editor-mode .nova-native-page-options[open]>summary{
  background:#1b4265;border-color:#438bb0;color:#f4fbff;
}
.independent-editor-mode .nova-native-page-options>div{
  position:absolute;top:32px;right:0;width:150px;
  z-index:23;background:#102640;border:1px solid #4078a0;
  padding:5px;box-shadow:0 12px 25px #000a;border-radius:8px;
}
.independent-editor-mode .nova-native-page-options button{
  appearance:none;display:block;text-align:left;width:100%;
  padding:9px 8px;border:0;border-radius:6px;color:#f0faff;
  background:#163454;cursor:pointer;font-size:11px;
}
.independent-editor-mode .nova-native-page-options button:hover{
  background:#1e527c;
}
.independent-editor-mode .nova-native-rail .nova-native-page-item>.nova-native-page.is-active{
  background:linear-gradient(100deg,#17406d,#122d50)!important;
  border-color:#285681!important;color:#fff!important;
  box-shadow:inset 3px 0 #67aaff!important;
}
.independent-editor-mode .nova-native-page-management .nova-native-add-page>summary{
  border-radius:8px;min-height:37px;padding:8px 10px;
  font-size:12px;
}
.independent-editor-mode .nova-native-tree-disclosure{
  margin:3px 0 4px;border:1px solid #2a4468;border-radius:8px;
  background:#0b1a31;
}
.independent-editor-mode .nova-native-tree-disclosure>summary{
  padding:9px 11px;min-height:37px;cursor:pointer;
  color:#cae9ff;font-size:12px;font-weight:690;
}
.independent-editor-mode .nova-native-tree-disclosure[open]>summary{
  border-bottom:1px solid #29486f;color:#83e6ff;
}
.independent-editor-mode .nova-native-tree-disclosure .nova-native-navigator-tree{
  max-height:175px;overflow-y:auto;padding:5px;
}
.independent-editor-mode .nova-native-quick-palette{
  padding:10px 0 15px;margin:6px 0 11px;
  background:transparent!important;border:0!important;
  box-shadow:none!important;
}
.independent-editor-mode .nova-native-quick-head{
  display:flex;align-items:center;justify-content:space-between;
  gap:5px;margin:0 0 10px;
}
.independent-editor-mode .nova-native-quick-head h3{
  margin:0 0 0 1px;color:#f5fbff;font-size:13px;
}
.independent-editor-mode .nova-native-all-components{
  appearance:none;background:transparent;color:#62d8ff;
  border:0;padding:6px 0;font-size:11px;white-space:nowrap;
  cursor:pointer;
}
.independent-editor-mode .nova-native-all-components:hover{
  color:#b8faff;text-decoration:underline;
}
.independent-editor-mode .nova-native-quick-filter{
  position:relative;display:block;margin:0 0 10px;
}
.independent-editor-mode .nova-native-quick-filter svg{
  pointer-events:none;position:absolute;left:9px;top:50%;
  width:17px;height:17px;transform:translateY(-50%);
  stroke:#83aac9;
}
.independent-editor-mode .nova-native-quick-filter input{
  width:100%;box-sizing:border-box;padding:8px 7px 8px 33px;
  background:#081729!important;min-width:0;
}
.independent-editor-mode .nova-native-quick-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button{
  display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;
  min-height:73px!important;width:100%;padding:8px 3px!important;
  border-radius:9px!important;
  background:linear-gradient(150deg,#12263f,#0a172c)!important;
  border:1px solid #294562!important;
  box-shadow:inset 0 1px #d8f8ff15!important;
  color:#eef6ff!important;font-size:11px!important;
  line-height:1.25!important;font-weight:660;
  overflow-wrap:anywhere;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button:where(:hover,:focus-visible){
  border-color:#57d9ff!important;background:#163956!important;
  box-shadow:0 0 12px #22d9ff32!important;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button[hidden]{
  display:none!important;
}
.independent-editor-mode .nova-native-quick-grid .nova-native-quick-button .nova-native-component-glyph{
  color:#73dfff!important;font-size:24px;line-height:1;
}
.independent-editor-mode .nova-native-stage{
  background:radial-gradient(ellipse at 50% -30%,#144b894d,transparent 68%),#061122!important;
}
.independent-editor-mode .nova-native-stage .live-surface-stage{
  box-shadow:0 0 0 1px #2ad7ff36,0 12px 35px #0009!important;
}
.independent-editor-mode .nova-native-canvas-selection-tools{
  box-shadow:0 5px 17px #0009,0 0 10px #12cfff17!important;
}
.independent-editor-mode .nova-native-inspector{
  background:linear-gradient(180deg,#0b1d39,#08162b)!important;
  border-left:1px solid #2b4b70!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs{
  min-height:51px;margin-bottom:12px;
}
.independent-editor-mode .nova-native-inspector .nova-native-tabs [role=tab]{
  font-size:11px!important;font-weight:680;
  line-height:1.2!important;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group{
  border-radius:9px;
}
.independent-editor-mode .nova-native-inspector .nova-native-property-group h4{
  border-bottom:1px solid #294b6c;
}
.independent-editor-mode .nova-native-inspector .presentation-form>label,
.independent-editor-mode .nova-native-inspector .presentation-form fieldset{
  font-size:12px;color:#d9e9f9;
}
@media(max-width:1540px) and (min-width:1101px){
  .independent-editor-mode .nova-native-main{
    grid-template-columns:82px minmax(236px,252px) minmax(0,1fr) 280px;
  }
  .independent-editor-mode .nova-native-header .nova-native-logo{font-size:16px!important}
  .independent-editor-mode .nova-native-breadcrumb{flex:0 1 90px}
  .independent-editor-mode .nova-native-device-switch button{min-width:43px}
}
@media(max-width:900px){
  .independent-editor-mode .nova-native-main{grid-template-columns:60px minmax(0,1fr)}
  .independent-editor-mode .nova-native-rail{
    width:min(292px,calc(100vw - 60px));left:60px;
  }
  .independent-editor-mode .nova-native-toolrail{border-radius:0}
  .independent-editor-mode .nova-native-header .nova-native-logo::after{display:none}
}
@media(max-width:620px){
  .independent-editor-mode .nova-native-header .nova-native-logo{font-size:13px!important}
  .independent-editor-mode .nova-native-header .nova-native-logo .am-mark{width:27px;height:27px}
  .independent-editor-mode .nova-native-page-options>div{
    width:140px;
  }
}
@media(prefers-reduced-motion:reduce){
  .independent-editor-mode .nova-native .nova-native-page-options :is(summary,button),
  .independent-editor-mode .nova-native .nova-native-quick-button{
    transition:none!important;animation:none!important;
  }
}


/* In the reference Inspector the selected item's readable summary is compact.
   Existing path, ID, type and hierarchy remain available to power users. */
.independent-editor-mode .nova-native-inspector .nova-native-selection-details{
  margin:9px 0 12px;border:1px solid #29476a;
  border-radius:8px;background:#0a1a30;
}
.independent-editor-mode .nova-native-inspector .nova-native-selection-details>summary{
  display:flex;justify-content:space-between;align-items:center;
  min-height:35px;cursor:pointer;
  padding:8px 10px;font-size:11px;font-weight:690;color:#b9d6ee;
}
.independent-editor-mode .nova-native-inspector .nova-native-selection-details>summary:hover{
  background:#153452;color:#ecfaff;
}
.independent-editor-mode .nova-native-inspector .nova-native-selection-details[open]>summary{
  border-bottom:1px solid #355c80;color:#72dfff;
}
.independent-editor-mode .nova-native-inspector .nova-native-selection-details>:not(summary){
  margin:8px;max-width:calc(100% - 16px);
}
.independent-editor-mode .nova-native-inspector .block-inspector>.document-section-head{
  margin-bottom:6px;
}
.independent-editor-mode .nova-native-inspector .block-inspector .block-description{
  margin:5px 0 10px;font-size:11px;line-height:1.45;
  color:#b3cbe0;
}


/* Browser-verified tablet repair: a wrapping header must grow with its
   genuine controls. A forced 70px row causes the left toolrail to cover the
   Desktop pointer target on 820px viewports. */
@media(max-width:1100px){
  .independent-editor-mode .nova-native-header{
    height:auto!important;min-height:70px!important;
    flex-wrap:wrap!important;position:relative;z-index:60;
    overflow:visible;
  }
  .independent-editor-mode .nova-native-main{
    height:calc(100dvh - var(--native-header-height,70px));
  }
}
@media(max-width:620px){
  .independent-editor-mode .nova-native-header{
    height:auto!important;min-height:0!important;
  }
}


/* The desktop reference button widths must not leak into compact phones:
   3×70px devices force an unnecessary extra 53px toolbar row.
   Retain the proven 44px icon-only hit areas at tablet/phone widths. */
@media(max-width:1100px){
  .independent-editor-mode .nova-native-header .nova-native-device-switch button{
    min-width:44px!important;width:44px!important;
    min-height:36px;padding:5px!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-device-name{
    display:none!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-device-switch output{
    padding-inline:4px;font-size:10px;
  }
}
@media(max-width:620px){
  .independent-editor-mode .nova-native-header .nova-native-logo::after{display:none!important}
  .independent-editor-mode .nova-native-header .nova-native-actions :is(button,a,summary){
    padding-inline:6px;
  }
}


/* Owner reference: use the ORIGINAL authenticated Create Page disclosure as
   the small + in Website Pages heading, never a duplicated form. */
@media(min-width:901px){
  .independent-editor-mode .nova-native-sidebar-heading{min-height:32px;margin-bottom:5px}
  .independent-editor-mode .nova-native-navigator-search{margin-bottom:8px}
}
.independent-editor-mode .nova-native-page-management{position:relative}
.independent-editor-mode .nova-native-page-management .nova-native-add-page{
  border:0;margin:0;padding:0;background:transparent;
}
.independent-editor-mode .nova-native-page-management .nova-native-add-page:not([open]){height:0;min-height:0}
.independent-editor-mode .nova-native-page-management .nova-native-add-page>summary{
  position:absolute;top:7px;right:9px;
  display:grid;place-items:center;width:30px;height:30px;min-height:30px!important;
  padding:0!important;overflow:hidden;font-size:0!important;line-height:0!important;
  background:linear-gradient(145deg,#173b60,#102946)!important;
  border:1px solid #4b8bb0!important;border-radius:7px;color:#d7f9ff!important;
}
.independent-editor-mode .nova-native-page-management .nova-native-add-page>summary::after{
  content:"+";font-size:23px;line-height:1;font-weight:400;
}
.independent-editor-mode .nova-native-page-management .nova-native-add-page>summary:hover{
  background:#20587e!important;box-shadow:0 0 11px #27dbff41;
}
.independent-editor-mode .nova-native-page-management .nova-native-add-page[open] form{
  margin:11px 0 3px;padding:8px 4px;border-top:1px solid #36587b;
}
.independent-editor-mode .nova-native-tree-disclosure:not([open]){
  margin:0;border:0;background:transparent;
}
.independent-editor-mode .nova-native-tree-disclosure:not([open])>summary{
  min-height:27px;padding:4px 7px;color:#7bbae4;font-size:10px;
}
.independent-editor-mode .nova-native-quick-palette{margin-top:4px}

/* AUTAMATRIX Premium Studio · shared presentation layer, 2026-10-17.
   Retains native editor, page/project data, forms, publishing and permissions.
   No promotional demo data or simulated actions. */
:root {
  --am-premium-bg: #07111f;
  --am-premium-surface: #101d30;
  --am-premium-surface-raised: #16263e;
  --am-premium-line: #314763;
  --am-premium-cyan: #59dcf5;
  --am-premium-violet: #a396ff;
  --am-premium-foreground: #f1f7ff;
  --am-premium-secondary: #b6c9dc;
  --page: var(--am-premium-bg);
  --surface: var(--am-premium-surface);
  --panel: var(--am-premium-surface-raised);
  --edge: var(--am-premium-line);
  --text: var(--am-premium-foreground);
  --muted: var(--am-premium-secondary);
  --faint: #95abc4;
  --accent: var(--am-premium-cyan);
  --accent-bg: #173b58;
}
body { background: radial-gradient(ellipse at 52% -22%, #17305b 0, transparent 62%), var(--am-premium-bg); }
.sidebar { background: linear-gradient(180deg, #101c30, #0b1729); }
.topbar { background: linear-gradient(100deg, #111f38, #10192e 65%, #211e43); }
.brand-icon, .module-mark, .panel-icon {
  border: 1px solid #5084b1;
  background: linear-gradient(135deg,#194763,#292f62);
  color: #eafaff;
}
.nav-link.active, .language-link.active, .content-language-link.active {
  background: linear-gradient(105deg, #175777, #302f72);
  color: #f2fdff;
  box-shadow: inset 3px 0 var(--am-premium-cyan);
}
.nav-link:hover, .module-card:hover { border-color: #54829c; }
.hero, .module-card, .work-panel, .info-panel, .status-card {
  border-color: var(--am-premium-line);
  box-shadow: 0 10px 32px #020a1938;
}
.hero { background: radial-gradient(ellipse at 90% 0%, #43357572, transparent 50%),
  linear-gradient(125deg, #182d49, #101c33 75%); }
.draft-form button, .secondary-button {
  min-height: 42px;
  border: 1px solid #638ca7;
  background: linear-gradient(110deg,#184f74,#373c85);
  color: #f5fcff;
}
.draft-form button:hover, .secondary-button:hover { border-color: #7bddf1; box-shadow: 0 0 13px #35c9e22b; }
.draft-form input, .draft-form select, input, select, textarea {
  accent-color: var(--am-premium-cyan);
}
:where(.sidebar, .main-column, .independent-editor-mode) :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible {
  outline: 3px solid #9bedff;
  outline-offset: 3px;
}
:where(.sidebar, .main-column, .independent-editor-mode) button {
  touch-action: manipulation;
}
@media (max-width: 820px) {
  .sidebar { position: relative; height: auto; background: #101b2d; }
  .top-actions { gap: 10px; flex-wrap: wrap; }
  .content { min-width: 0; }
}
@media (max-width: 560px) {
  .topbar { padding: 13px 18px; }
  .content { padding-inline: 16px; }
  .draft-form button, .secondary-button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .module-card:hover { transform: none; }
}
@media (forced-colors: active) {
  .nav-link.active { box-shadow: none; outline: 2px solid Highlight; }
}

/* Premium Studio — scoped native designer shell, preserving native editor handlers. */
.independent-editor-mode .nova-native {
  --native-bg:#07111f;--native-surface:#101e32;--native-layer:#182a45;
  --native-border:#36516c;--native-text:#f0f8ff;--native-muted:#b8cde0;
  --native-accent:#68ddf4;
  background:radial-gradient(ellipse at 48% -12%,#1c3157,transparent 54%),var(--native-bg);
}
.independent-editor-mode .nova-native-header {
  background:linear-gradient(95deg,#0c1c32,#132747 62%,#25214a);
  border-bottom:1px solid #3c5976;
  box-shadow:0 8px 25px #0006;
}
.independent-editor-mode .nova-native-rail {
  background:linear-gradient(180deg,#101f35,#0b182b);
  border-right:1px solid var(--native-border);
}
.independent-editor-mode .nova-native-inspector {
  background:linear-gradient(180deg,#172842,#111d30);
  border-left:1px solid var(--native-border);
}
.independent-editor-mode .nova-native-stage {
  background:radial-gradient(circle at 50% 0,#1b2e4a,#0a1424 68%);
}
.independent-editor-mode .nova-native :is(.nova-native-page.is-active, details[open]>summary) {
  border-color:#5ac5e1;
  box-shadow:inset 3px 0 #53dff3;
}
.independent-editor-mode .nova-native :is(input,select,textarea) {
  min-width:0;color:#f4faff;background:#0d1b2e;border-color:#57718a;
}
.independent-editor-mode .nova-native :is(button,summary,a,input,select,textarea):focus-visible {
  outline:3px solid #94ecff;outline-offset:2px;
}
.independent-editor-mode .nova-native :is(button,summary) {touch-action:manipulation;}
@media (prefers-reduced-motion:reduce) {
  .independent-editor-mode .nova-native :is(button,summary,a) {transition:none!important;}
}
@media (forced-colors:active) {
  .independent-editor-mode .nova-native .nova-native-page.is-active {
    box-shadow:none;outline:2px solid Highlight;
  }
}

/* Real page-search results and consistent hidden-state semantics. */
.independent-editor-mode .nova-native .nova-native-page-list a[hidden] {display:none!important;}
.independent-editor-mode .nova-native-page-search-status {
  min-height:1.4em;margin:6px 0 12px;padding:0 6px;
  color:#b8d9e9;font-size:12px;line-height:1.5;
}
.independent-editor-mode .nova-native-page-search-status:empty {display:none;}

/* Premium dashboard uses authenticated current-site data, not synthetic projects. */
.premium-project-dashboard {width:min(1260px,100%);}
.premium-dashboard-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:28px;}
.premium-dashboard-heading h1 {font-size:clamp(30px,4vw,48px);line-height:1.14;margin:12px 0;}
.premium-dashboard-heading p {color:#c2d2e3;line-height:1.6;}
.premium-current-project {border:1px solid #365876;border-radius:20px;padding:clamp(18px,3vw,32px);background:radial-gradient(ellipse at 100% 0%,#34306c77,transparent 58%),linear-gradient(125deg,#172d49,#101c30);box-shadow:0 16px 40px #020b2047;margin-bottom:32px;}
.premium-project-identity {display:flex;align-items:center;gap:20px;min-width:0;}
.premium-project-identity h2 {margin:6px 0 0;font-size:clamp(21px,2.6vw,32px);overflow-wrap:anywhere;}
.premium-project-monogram {display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border-radius:16px;border:1px solid #5dcbe5;background:linear-gradient(135deg,#16607b,#493a87);font-size:26px;font-weight:800;color:#fff;}
.premium-project-scope {color:#b6ccde;font-size:13px;line-height:1.65;max-width:780px;}
.premium-project-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.premium-project-actions .secondary-button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;}
.premium-workspace-heading {font-size:20px;letter-spacing:-.02em;margin:25px 0 12px;}
@media(max-width:650px){.premium-dashboard-heading>.secondary-button{width:100%;text-align:center}.premium-project-identity{align-items:flex-start}.premium-project-monogram{width:48px;height:48px;flex-basis:48px;font-size:21px}.premium-project-actions{display:grid;grid-template-columns:1fr}.premium-current-project{padding:18px}}

/* Premium dashboard: resilient labels, keyboard cues and OS contrast modes. */
.premium-project-dashboard,
.premium-current-project,
.premium-project-identity,
.premium-project-identity > * { min-width: 0; }
.premium-project-dashboard :is(h1,h2,p,a) { overflow-wrap: anywhere; }
.premium-project-actions a:focus-visible,
.premium-dashboard-heading a:focus-visible {
  outline: 3px solid #9bedff;
  outline-offset: 3px;
}
.premium-project-actions a { touch-action: manipulation; }
@media (forced-colors: active) {
  .premium-current-project,
  .premium-project-monogram,
  .premium-project-actions a { border: 1px solid CanvasText; }
  .premium-project-actions a:focus-visible,
  .premium-dashboard-heading a:focus-visible { outline-color: Highlight; }
}


/* Genuine current-site preview: sandboxed and non-interactive; the link opens
   the authoritative local website in a separate tab. */
.premium-project-preview{margin:24px 0 18px;overflow:hidden;border:1px solid #436384;border-radius:16px;background:#081525;box-shadow:0 18px 40px #0005}
.premium-project-preview-browser{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#14253c;border-bottom:1px solid #324963}
.premium-project-preview-browser>span{height:8px;width:8px;border-radius:50%;background:#507b99}
.premium-project-preview-browser>small{margin-left:12px;color:#c4d9ed;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.premium-project-preview-frame{position:relative;aspect-ratio:16/7;min-height:180px;overflow:hidden;background:linear-gradient(140deg,#122943,#0e192a)}
.premium-project-preview-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none;background:#fff}
.premium-project-preview-frame>a{position:absolute;inset:0;z-index:1}
.premium-project-preview-frame>a:focus-visible{outline:4px solid #89e9ff;outline-offset:-6px}
.premium-project-actions>a:first-child{border-color:#64d7ed;background:linear-gradient(110deg,#126280,#44489c);font-weight:750}
@media(max-width:650px){.premium-project-preview{margin-block:16px}.premium-project-preview-frame{aspect-ratio:4/3;min-height:150px}}

/* A persistent mobile view switcher occupies the workspace itself, never a
   full screen-sized navigator overlay over the first visible canvas. */
.nova-native-mobile-switcher{display:none}
@media(max-width:900px){
  .independent-editor-mode .nova-native-main{position:relative;padding-top:50px;box-sizing:border-box}
  .independent-editor-mode .nova-native-mobile-switcher{
    display:flex;position:absolute;top:0;left:0;right:0;z-index:65;
    height:50px;align-items:center;gap:5px;padding:4px 8px;
    border-bottom:1px solid #355674;background:#0a1a30;
  }
  .independent-editor-mode .nova-native-mobile-switcher button{
    flex:1 1 0;min-width:0;min-height:42px;border-radius:9px;
    border:1px solid #395574;background:#13283f;color:#e5f3ff;
    font:inherit;font-size:13px;font-weight:700;cursor:pointer;
  }
  .independent-editor-mode .nova-native-mobile-switcher button[aria-pressed=true]{
    border-color:#65e2f6;background:#195277;color:#fff;box-shadow:inset 0 -3px #5fe4ff;
  }
  .independent-editor-mode .nova-native-mobile-switcher button:focus-visible{
    outline:3px solid #9bedff;outline-offset:1px;
  }
  .independent-editor-mode .nova-native[data-native-mobile-view="canvas"] .nova-native-rail,
  .independent-editor-mode .nova-native[data-native-mobile-view="canvas"] .nova-native-inspector{display:none!important}
  .independent-editor-mode .nova-native[data-native-mobile-view="navigator"] .nova-native-rail{
    display:flex!important;top:calc(var(--native-header-height,70px) + 50px)!important;
    max-height:calc(100dvh - var(--native-header-height,70px) - 50px);
  }
  .independent-editor-mode .nova-native[data-native-mobile-view="inspector"] .nova-native-inspector{
    display:block!important;top:calc(var(--native-header-height,70px) + 50px)!important;
    max-height:calc(100dvh - var(--native-header-height,70px) - 50px);
  }
  .independent-editor-mode .nova-native[data-native-mobile-view="navigator"] .nova-native-stage,
  .independent-editor-mode .nova-native[data-native-mobile-view="inspector"] .nova-native-stage{
    visibility:hidden;pointer-events:none;
  }
}


/* Focus always outranks the mobile view state (all three engines).
   Preserve the canonical inspector and its form DOM, hide only its display. */
@media(max-width:900px){
  .independent-editor-mode .nova-native.is-focus-mode[data-native-mobile-view] .nova-native-rail,
  .independent-editor-mode .nova-native.is-focus-mode[data-native-mobile-view] .nova-native-inspector,
  .independent-editor-mode .nova-native.is-focus-mode[data-native-mobile-view] .nova-native-toolrail,
  .independent-editor-mode .nova-native.is-focus-mode[data-native-mobile-view] .nova-native-mobile-switcher{
    display:none!important;
  }
  .independent-editor-mode .nova-native.is-focus-mode[data-native-mobile-view] .nova-native-stage{
    visibility:visible!important;pointer-events:auto!important;
  }
  .independent-editor-mode .nova-native.is-focus-mode .nova-native-main{padding-top:0}
}


/* Explicit security-respecting project preview fallback: real website opens
   externally, while the dashboard never displays a broken sandbox frame. */
.premium-project-preview-fallback{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:11px;padding:26px;background:radial-gradient(ellipse at 50% 0%,#314c8d80,transparent 65%),linear-gradient(140deg,#112741,#0b152a)}
.premium-project-preview-mark{display:grid;place-items:center;width:54px;height:54px;border:1px solid #60c9e5;border-radius:13px;background:#153f60;font-size:27px;color:#9ff5ff}
.premium-project-preview-fallback strong{font-size:clamp(19px,2.4vw,27px);overflow-wrap:anywhere;color:#f5faff}
.premium-project-preview-fallback p{max-width:540px;margin:0;color:#c5d8ec;font-size:13px;line-height:1.6}
.premium-project-preview-fallback a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:5px;text-decoration:none}
@media(max-width:650px){.premium-project-preview-fallback{min-height:160px;padding:18px 12px}.premium-project-preview-fallback p{font-size:12px}}

/* Owner decision 20 Oct 2026: Canvas First — tools on demand.
   Pure presentation: canonical PageDraft, overlay and inspector forms unchanged. */
@media (min-width:901px) {
  .independent-editor-mode .nova-native-main {
    grid-template-columns:90px minmax(0,1fr)!important;
  }
  .independent-editor-mode .nova-native-main:has(>.nova-native-rail.is-open) {
    grid-template-columns:90px minmax(240px,258px) minmax(0,1fr)!important;
  }
  .independent-editor-mode .nova-native-main:has(>.nova-native-inspector.is-open) {
    grid-template-columns:90px minmax(0,1fr) 280px!important;
  }
  .independent-editor-mode .nova-native-rail:not(.is-open),
  .independent-editor-mode .nova-native-inspector:not(.is-open) {
    display:none!important;
  }
  .independent-editor-mode .nova-native-rail.is-open,
  .independent-editor-mode .nova-native-inspector.is-open {
    display:block!important;
  }
}
.independent-editor-mode .nova-native-page-picker {
  display:flex;align-items:center;gap:7px;max-width:min(260px,25vw);
  color:#c9e4fa;font-size:12px;white-space:nowrap;
}
.independent-editor-mode .nova-native-page-picker select {
  min-width:0;max-width:195px;min-height:36px;padding:6px 8px;
  color:#f5fbff;background:#0c2744;border:1px solid #477b9f;border-radius:8px;
}
/* The permanent page picker must not squeeze device controls over Undo/Redo. */
.independent-editor-mode .nova-native-header {
  height:auto!important;flex-wrap:wrap!important;
}
.independent-editor-mode .nova-native-header>.nova-native-device-switch {
  flex:0 0 auto;
}
.independent-editor-mode .nova-native-header>.nova-native-actions {
  flex:0 0 auto;max-width:100%;flex-wrap:wrap;
}
@media (max-width:900px) {
  .independent-editor-mode .nova-native-page-picker {max-width:170px}
  .independent-editor-mode .nova-native-page-picker select {max-width:110px}
}

/* D-109 official original Studio emblem — no customer-site branding changes. */
.independent-editor-mode .nova-native-header .nova-native-logo.am-official-brand{display:inline-flex!important;align-items:center!important;gap:8px!important;min-width:0;max-width:100%;letter-spacing:normal!important;color:#fff!important;text-shadow:none!important;text-decoration:none;line-height:1.05}
.independent-editor-mode .nova-native-header .am-official-brand::after{content:none!important;display:none!important;border:0!important}
.independent-editor-mode .nova-native-header .am-official-emblem{display:block;flex:none;width:38px;height:34px;object-fit:contain;filter:none!important}
.independent-editor-mode .nova-native-header .am-official-wordmark{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0}
.independent-editor-mode .nova-native-header .am-official-name{color:#fff!important;font-size:17px!important;font-weight:800;letter-spacing:.075em;line-height:1.05;white-space:nowrap}
.independent-editor-mode .nova-native-header .am-official-studio{color:#a87aff!important;font-size:10px!important;font-weight:700;letter-spacing:.19em;line-height:1;white-space:nowrap}
.independent-editor-mode .nova-native-header .am-official-brand:focus-visible{outline:2px solid #b999ff;outline-offset:4px;border-radius:5px}
@media(max-width:900px){.independent-editor-mode .nova-native-header .am-official-brand{gap:6px!important}.independent-editor-mode .nova-native-header .am-official-emblem{width:32px;height:30px}.independent-editor-mode .nova-native-header .am-official-name{font-size:14px!important}.independent-editor-mode .nova-native-header .am-official-studio{font-size:9px!important}}
@media(max-width:620px){.independent-editor-mode .nova-native-header .am-official-emblem{width:27px;height:27px}.independent-editor-mode .nova-native-header .am-official-name{font-size:12px!important;letter-spacing:.045em}.independent-editor-mode .nova-native-header .am-official-studio{font-size:8px!important;letter-spacing:.13em}}

/* D-115: The existing Canvas owns all editing. Preview actions only install
   an independent project draft and take the owner into that Canvas. */
.nova-native-preview-create{display:grid;gap:10px;margin:12px 0 0;padding:13px;
  border:1px solid #466990;border-radius:10px;background:#101b31;color:#dfeaff}
.nova-native-preview-create label{display:grid;gap:5px;font-size:12px;font-weight:650}
.nova-native-preview-create input[name="siteName"]{width:100%;min-height:42px;
  border:1px solid #6b83b0;border-radius:7px;background:#0c172b;color:#fff;
  padding:8px 11px;font:inherit}
.nova-native-preview-create button{min-height:43px;cursor:pointer;border-radius:8px;
  border:1px solid #71d9f0;background:#38458c;color:#fff;padding:10px;font-weight:700}
.nova-native-preview-create a{color:#a9e7ff;font-size:12px}
.nova-native-preview-create :focus-visible{outline:3px solid #c4a9ff;outline-offset:3px}
@media(max-width:640px){.nova-native-preview-create{padding:10px;gap:8px}}

/* D-116 — Canvas First. Six primary tools, a compact control bar, one drawer.
   All form DOM and the script-disabled website frame remain canonical. */
.independent-editor-mode .nova-native-header{
  padding:10px 14px!important;gap:10px!important;
  background:linear-gradient(110deg,#0b1326,#101c33 65%,#15162f)!important;
  border-bottom:1px solid #344469!important;
}
.independent-editor-mode .nova-native-header :is(.nova-native-header-shortcuts,.nova-native-breadcrumb,.nova-native-add-trigger,.nova-native-draft-status){display:none!important}
.independent-editor-mode .nova-native-header .nova-native-actions{gap:6px!important;margin-left:auto}
.independent-editor-mode .nova-native-header .nova-native-device-switch{min-height:40px;background:#0a1428!important;border-color:#334768!important}
.independent-editor-mode .nova-native-device-switch button{min-width:38px!important;min-height:36px!important}
.independent-editor-mode .nova-native-device-name{display:none!important}
.independent-editor-mode .nova-native-header [data-native-save]{font-size:12px;min-height:38px;border-color:#54749c}
.independent-editor-mode .nova-native-save-status{font-size:11px;color:#b2d0de;max-width:140px}
.independent-editor-mode .nova-native-header .nova-native-publish button{background:linear-gradient(115deg,#64e5ef,#a093ff)!important;box-shadow:none!important;font-size:12px}
.independent-editor-mode .nova-native-stage{padding:8px!important;background:radial-gradient(ellipse at top,#15233b,#080f1f 70%)!important}
.independent-editor-mode .nova-native-toolrail{display:flex!important;flex-direction:column;gap:5px!important;padding:12px 5px!important;border-radius:0!important;background:#0b1528!important}
.independent-editor-mode .nova-native-toolrail>[data-native-workspace-tab=elements]{order:1}
.independent-editor-mode .nova-native-toolrail>[data-native-workspace-tab=pages]{order:2}
.independent-editor-mode .nova-native-toolrail>[data-native-workspace-tab=layout]{order:3}
.independent-editor-mode .nova-native-toolrail>[data-native-workspace-tab=assets]{order:4}
.independent-editor-mode .nova-native-toolrail>[data-native-open-design]{order:5}
.independent-editor-mode .nova-native-toolrail>[data-native-workspace-tab=layers]{order:6}
.independent-editor-mode .nova-native-toolrail :is([role=tab],[data-native-open-design]){width:100%;min-height:57px!important;flex:none;font-size:10px!important;border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;color:#b8c9df!important}
.independent-editor-mode .nova-native-toolrail [role=tab][aria-expanded=true],
.independent-editor-mode .nova-native-toolrail [data-native-open-design][aria-pressed=true]{border-color:#52619d!important;background:#1b2948!important;color:#8feaf4!important;box-shadow:inset 2px 0 #9f87ff!important}
.independent-editor-mode .nova-native-rail{background:#101b30!important;border-color:#334160!important}
.independent-editor-mode .nova-native-rail .nova-native-workspace-panel[hidden]{display:none!important}
.independent-editor-mode .nova-native-inspector{background:#101b30!important}
.independent-editor-mode .nova-native-secondary-tools{margin:16px 0 8px;border-top:1px solid #354362;padding-top:12px;font-size:12px}
.independent-editor-mode .nova-native-secondary-tools :is(a,button){display:flex;align-items:center;gap:9px;min-height:44px;padding:6px;color:#c7d8ec;background:transparent;border:0;font:inherit;text-decoration:none}
.independent-editor-mode .nova-native-secondary-tools svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}
.independent-editor-mode .nova-native-layouts{display:block!important}
.independent-editor-mode .nova-native-layout-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.independent-editor-mode .nova-native-layout-grid button{min-height:62px!important;background:#182742;border:1px solid #43577d;border-radius:8px;color:#e1edff;cursor:pointer}
.independent-editor-mode .nova-native :is(button,a,select,input,textarea,summary):focus-visible{outline:2px solid #b7a2ff!important;outline-offset:3px}
@media(min-width:901px){
  .independent-editor-mode .nova-native-main{grid-template-columns:var(--native-nav-width,72px) minmax(0,1fr)!important;height:calc(100dvh - var(--native-header-height,66px) - 20px)!important}
  .independent-editor-mode .nova-native-main:has(>.nova-native-rail.is-open){grid-template-columns:var(--native-nav-width,72px) 280px minmax(0,1fr)!important}
  .independent-editor-mode .nova-native-main:has(>.nova-native-inspector.is-open){grid-template-columns:var(--native-nav-width,72px) minmax(0,1fr) 310px!important}
}
@media(min-width:1250px){
  .independent-editor-mode .nova-native-header{flex-wrap:nowrap!important}
  .independent-editor-mode .nova-native-header .nova-native-actions{flex-wrap:nowrap!important}
}
@media(max-width:900px){
  .independent-editor-mode .nova-native-header{gap:7px!important;padding:8px!important}
  .independent-editor-mode .nova-native-header .nova-native-actions{flex:1 1 100%!important;justify-content:flex-start!important;margin:0;gap:5px!important}
  .independent-editor-mode .nova-native-page-picker{margin-left:auto;max-width:165px}
  .independent-editor-mode .nova-native-header .nova-native-device-switch{order:2;margin:0}
  .independent-editor-mode .nova-native-header .nova-native-actions{order:3}
  .independent-editor-mode .nova-native-save-status{flex:1 1 95px;max-width:125px}
  .independent-editor-mode .nova-native-main{grid-template-columns:60px minmax(0,1fr)!important}
  .independent-editor-mode .nova-native-mobile-switcher{height:44px;padding:2px 8px;background:#0d182d}
  .independent-editor-mode .nova-native-mobile-switcher button{min-height:38px;font-size:12px}
  .independent-editor-mode .nova-native-toolrail{gap:3px!important;padding-top:5px!important}
  .independent-editor-mode .nova-native-toolrail :is([role=tab],[data-native-open-design]){min-height:51px!important}
  .independent-editor-mode .nova-native-inline-popup{position:fixed!important;left:70px!important;right:10px!important;top:auto!important;bottom:14px!important;width:auto!important;max-width:none!important;max-height:65dvh;overflow-y:auto;z-index:100}
  .independent-editor-mode .nova-native-inline-popup :is(input,select,textarea){font-size:16px!important;min-height:44px}
  .independent-editor-mode .nova-native-inline-popup button{min-height:44px}
}
@media(max-width:400px){
  .independent-editor-mode .nova-native-save-status{font-size:10px;max-width:112px}
  .independent-editor-mode .nova-native-header .nova-native-actions [data-native-save]{padding:6px 8px;font-size:11px}
}
/* Hide duplicate editor navigation only after the permanent picker is mounted. */
.independent-editor-mode .nova-native:has(.nova-native-page-picker) .canvas-page-navigator{display:none!important}
.independent-editor-mode .nova-native-toolrail [role=tab][aria-selected=true][aria-expanded=false]{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:#b8c9df!important}
.independent-editor-mode .nova-native-secondary-tools .nova-native-more{margin-top:8px}
@media(max-width:900px){
  .independent-editor-mode .nova-native-header .am-official-brand{flex:1 1 calc(50% - 7px)}
  .independent-editor-mode .nova-native-header .nova-native-page-picker{flex:1 1 calc(50% - 7px);justify-content:flex-end;margin:0;max-width:50%}
  .independent-editor-mode .nova-native-header .nova-native-device-switch{flex:0 0 145px;order:2;margin:0!important}
  .independent-editor-mode .nova-native-header .nova-native-actions{display:contents!important}
  .independent-editor-mode .nova-native-actions>form,
  .independent-editor-mode .nova-native-actions>.nova-native-focus-action,
  .independent-editor-mode .nova-native-actions>.nova-native-preview-action{order:2;flex:none;margin:0!important}
  .independent-editor-mode .nova-native-actions>.nova-native-focus-action{padding:6px!important;min-width:57px!important;font-size:11px}
  .independent-editor-mode .nova-native-actions>.nova-native-focus-action svg{width:16px;height:16px}
  .independent-editor-mode .nova-native-actions>.nova-native-preview-action{width:34px!important;min-width:34px!important}
  .independent-editor-mode .nova-native-actions>form:not(.nova-native-publish) .nova-native-icon-action{width:32px!important;min-width:32px!important;padding:5px!important}
  .independent-editor-mode .nova-native-actions>[data-native-save],
  .independent-editor-mode .nova-native-actions>.nova-native-save-status,
  .independent-editor-mode .nova-native-actions>.nova-native-publish{order:3}
  .independent-editor-mode .nova-native-actions>[data-native-save]{flex:0 0 68px}
  .independent-editor-mode .nova-native-actions>.nova-native-save-status{flex:1 1 80px;text-align:center}
  .independent-editor-mode .nova-native-actions>.nova-native-publish{margin-left:auto!important}
  .independent-editor-mode .nova-native-actions>.nova-native-inspector-toggle{display:none!important}
}

/* Direct Canvas entry: compact project menu and the canonical starter in the canvas. */
.nova-native-projects{position:relative;min-width:0;max-width:230px;color:#dceaff;font-size:12px}
.nova-native-projects>summary{cursor:pointer;min-height:40px;padding:10px;border:1px solid #354a68;border-radius:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nova-native-projects>nav{position:absolute;z-index:120;top:100%;right:0;width:min(300px,80vw);max-height:65vh;overflow:auto;padding:9px;background:#101b30;border:1px solid #3c5977;border-radius:10px;box-shadow:0 14px 40px #0009}
.nova-native-projects nav a,.nova-native-projects nav button{display:block;width:100%;padding:11px;text-align:left;color:#e0efff;border-radius:7px;overflow-wrap:anywhere}
.nova-native-projects nav a:hover,.nova-native-projects nav a[aria-current]{background:#283c65;color:#67e4ff}
.nova-native-create{width:min(560px,calc(100% - 28px));margin:clamp(24px,7vh,90px) auto;padding:clamp(20px,4vw,40px);border:1px solid #375778;border-radius:18px;background:linear-gradient(145deg,#132743,#11162c);color:#edf6ff;box-shadow:0 24px 80px #0005}
.nova-native-create h1{font-size:clamp(25px,4vw,38px);line-height:1.15;overflow-wrap:anywhere}
.nova-native-create p{color:#a9c0da}.nova-native-create form,.nova-native-create label{display:grid;gap:12px}.nova-native-create form{margin-top:24px}
.nova-native-create input,.nova-native-create select{width:100%;min-width:0;min-height:44px;background:#0b1527;color:#ecf4ff;border:1px solid #496082;border-radius:8px;padding:11px;font:inherit}
.nova-native-create button{min-height:46px;background:linear-gradient(110deg,#127fa3,#6552cb);color:white;border:1px solid #69dbed;border-radius:9px;font:600 14px system-ui}
@media(max-width:600px){.nova-native-projects{max-width:160px;flex:1}.nova-native-create{margin:20px auto}}
.nova-native-account{display:block;padding:10px;color:#9fb9d6;font-size:11px}
.independent-editor-mode .nova-native:has([data-editor-create]) :is(.nova-native-add-trigger,.nova-native-header-shortcuts,.nova-native-device-switch,.nova-native-actions,.nova-native-toolrail,.nova-native-locales,.nova-native-mobile-switcher){display:none!important}
.independent-editor-mode .nova-native:has([data-editor-create]) .nova-native-main{grid-template-columns:minmax(0,1fr)!important;padding-top:0!important}
.independent-editor-mode .nova-native:has([data-editor-create]) .nova-native-stage{grid-column:1/-1!important}
.independent-editor-mode .nova-native:has(.nova-native-projects[open]) .nova-native-header{position:relative!important;z-index:150!important}

/* D-117: editor-owned movement aids; authored page styles remain untouched. */
.live-surface-selection-layer.is-moving{cursor:grabbing;touch-action:none}
.live-surface-snap-guide.is-container{border:2px dashed #57e5ec;background:#37daef15;border-radius:6px;box-sizing:border-box}
.live-surface-move-feedback.is-error{background:#38213b;border-color:#f29cb6}
.live-surface-move-panel{position:absolute;z-index:110;right:12px;top:48px;width:min(370px,calc(100% - 24px));max-height:70%;overflow:auto;padding:16px;border:1px solid #5dbbd1;border-radius:12px;background:#101d34;color:#e8f3ff;box-shadow:0 15px 40px #0008;font:13px/1.45 system-ui}
.live-surface-move-panel[hidden]{display:none}
.live-surface-move-panel p{margin:0 0 12px;color:#b4c9de}
.live-surface-move-panel label{display:grid;gap:8px}
.live-surface-move-panel select{width:100%;min-width:0;min-height:44px;color:inherit;background:#0c1627;border:1px solid #536b8e;border-radius:7px}
.live-surface-move-panel>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.live-surface-move-panel button{min-height:42px;border:1px solid #527b9c;border-radius:7px;background:#193b5c;color:#eef6ff;padding:8px 12px;cursor:pointer}
.live-surface-move-panel :is(button,select):focus-visible{outline:3px solid #8aeaf0;outline-offset:2px}
.live-surface-move-panel button:disabled{opacity:.55;cursor:wait}
.nova-native-parent-outline{position:absolute;pointer-events:none;border:1px dashed #a29ee29c;z-index:1;box-sizing:border-box}
.nova-native-parent-outline[hidden]{display:none}
.live-layout-toolbar [data-layout-field=backgroundColorHex]{max-width:110px;min-width:80px}
@media(max-width:620px){.independent-editor-mode .live-surface-move-panel{position:fixed;left:70px;right:10px;top:auto;bottom:16px;width:auto;max-height:65dvh}.live-surface-move-panel>div{display:grid;grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.live-surface-move-panel,.live-surface-snap-guide,.nova-native-parent-outline{transition:none!important;animation:none!important}}

/* D-118: the existing starter belongs to the single demand-panel rail. */
.independent-editor-mode .nova-native-toolrail>[data-native-workspace-tab=quickstart]{order:0}
.nova-native-rail .nova-native-first-run{padding:0;border:0;border-radius:0;background:transparent}
.nova-native-rail .nova-native-first-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.nova-native-rail .nova-native-first-actions button{width:100%;text-align:left;min-height:44px;background:#172d49;border:1px solid #416584;border-radius:8px}
/* U1-B: long localized action labels must wrap at 320px and short heights. */
.nova-native-rail .nova-native-first-actions button{white-space:normal;overflow-wrap:anywhere;line-height:1.4;height:auto;}
.nova-native-rail .nova-native-first-actions button:hover{background:#28395e;border-color:#69c6de;color:#b5f5ff}
.nova-native-rail .nova-native-first-actions button:focus-visible{outline:3px solid #ad9cf5;outline-offset:2px}
.nova-native-rail:has([data-native-workspace-panel=quickstart]:not([hidden])) :is(.nova-native-navigator-search,.nova-native-navigator-search-toggle){display:none}

/* D-119: editing remains in the actual script-disabled website preview. */
.nova-native-direct-bar[hidden]{display:none}
.nova-native-direct-bar{position:absolute;left:6px;right:6px;top:6px;z-index:30;display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px;background:#101e36;border:1px solid #48dfff;border-radius:9px;box-shadow:0 8px 24px #0009;max-width:100%;font-size:12px}
.nova-native-direct-bar output{flex:1 1 180px;color:#e8f5ff}
.nova-native-direct-bar button{min-height:40px;border:1px solid #597eaa;background:#1b3557;color:#fff;border-radius:7px;padding:6px 12px}
.nova-native-direct-bar button:focus-visible{outline:3px solid #bb98ff;outline-offset:2px}
.is-direct-text-editing .live-surface-selection-layer{pointer-events:none}
.is-direct-text-editing :is(.nova-native-canvas-selection,.nova-native-inline-trigger,.live-surface-element-move,.live-layout-toolbar){visibility:hidden}
.nova-native-inline-popup [data-native-direct-start],.nova-native-inline-popup [data-native-image-library]{min-height:44px;margin-top:8px;width:100%;background:#23436b;border:1px solid #5edfff;color:#fff}
.nova-native-design-scope{padding:10px;background:#142941;border:1px solid #416584;border-radius:8px;margin-bottom:12px;font-size:12px;line-height:1.6}
.nova-native-design-scope p{margin:0 0 6px;color:#c4daf2}
.nova-native-design-scope a{display:block;color:#68e6ff;min-height:32px}
.is-direct-text-editing .live-surface-parent-resize{visibility:hidden}

/* P2-CANVAS-USABILITY-20261107: shared mobile layout.
   Reserve actual editor space for inline text controls; preserve iframe and
   all original authenticated forms, rather than cover the authored content. */
@media (max-width:900px) {
  .independent-editor-mode .nova-native.is-direct-text-editing .nova-native-stage {
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
  }
  .independent-editor-mode .nova-native.is-direct-text-editing .nova-native-stage>.nova-native-direct-bar {
    position:relative!important;
    order:-1;
    inset:auto!important;
    width:100%;
    max-width:100%;
    margin:0;
    flex:0 0 auto;
    align-self:stretch;
    z-index:30;
  }
  .independent-editor-mode .nova-native.is-direct-text-editing .nova-native-stage>.live-surface {
    flex:1 1 auto;
    min-height:0!important;
    overflow:auto;
  }
  .independent-editor-mode .nova-native-direct-bar output {
    flex:1 1 100%;
    min-width:0;
    font-size:11px;
    line-height:1.35;
  }
  .independent-editor-mode .nova-native-direct-bar button {
    min-height:44px;
    padding:5px 8px;
    font-size:11px;
    flex:0 0 auto;
  }
  .independent-editor-mode .nova-native-direct-bar [data-native-direct-format] {
    min-width:44px;
    width:44px;
    padding:5px;
    font-size:0;
  }
  .independent-editor-mode .nova-native-direct-bar [data-native-direct-format]::before {
    content:"Aa";
    font-size:16px;
    font-weight:750;
    line-height:1;
  }
}
/* P2 short-landscape vertical budget: genuinely one header row, not a
   second row of real forms. Keep Save/Publish in front, remaining controls
   scrollable without removal; the project menu can expand on demand.
   While editing, content-language and breadcrumb navigation are intentionally
   out of the focus path. They restore immediately on Apply/Cancel (canonical
   dirty-state guard); no customer-site styles or storage are changed. */
@media (max-width:900px) and (max-height:520px) and (orientation:landscape) {
  .independent-editor-mode .nova-native-header {
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:4px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:3px 6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-padding-inline:8px;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
  }
  .independent-editor-mode .nova-native-header:has(.nova-native-projects[open]) {
    height:auto!important;
    max-height:none!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
  }
  .independent-editor-mode .nova-native-header>.nova-native-logo {
    order:0!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-page-picker {
    order:1!important;
    flex:0 0 130px!important;
    max-width:130px!important;
    margin:0!important;
  }
  .independent-editor-mode .nova-native-header>.nova-native-actions {
    display:contents!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions>[data-native-save] {
    order:2!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions>.nova-native-publish {
    order:3!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-projects {
    order:4!important;
    flex:0 0 146px!important;
    max-width:146px!important;
    margin:0!important;
  }
  .independent-editor-mode .nova-native-header>.nova-native-device-switch {
    order:5!important;
    flex:0 0 auto!important;
    min-height:35px;
    margin:0!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions>
  :not([data-native-save]):not(.nova-native-publish) {
    order:6!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  .independent-editor-mode .nova-native-header :is(button,a,summary,select):focus-visible {
    outline-offset:-2px!important;
  }
  .independent-editor-mode .nova-native-main {
    padding-top:36px!important;
  }
  .independent-editor-mode .nova-native-mobile-switcher {
    height:36px!important;
    min-height:36px;
    padding:1px 6px;
  }
  .independent-editor-mode .nova-native-mobile-switcher button {
    min-height:32px!important;
  }
  .independent-editor-mode .nova-native-toolrail {
    overflow-y:auto;
    scrollbar-width:thin;
  }
  .independent-editor-mode .nova-native.is-direct-text-editing
  .nova-native-stage>.nova-native-locales,
  .independent-editor-mode .nova-native.is-direct-text-editing
  .nova-native-stage>.nova-native-canvas-path {
    display:none!important;
  }
  .independent-editor-mode .nova-native-direct-bar output {
    flex:1 1 auto;
    font-size:11px;
  }
}

/* P2 compact 320px short portrait: reserve a full 40%-height website canvas.
   Retain the same live header links/forms, with primary save/publish first.
   At this edge size non-primary commands remain keyboard/touch-scrollable. */
@media (max-width:380px) and (max-height:650px) and (orientation:portrait) {
  .independent-editor-mode .nova-native-header {
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    align-items:center!important;
    align-content:center!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    gap:4px!important;
    padding:3px 6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:thin;
    overscroll-behavior-x:contain;
  }
  .independent-editor-mode .nova-native-header:has(.nova-native-projects[open]) {
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
    flex-wrap:wrap!important;
  }
  .independent-editor-mode .nova-native-header>.nova-native-logo {
    order:0!important;
    flex:0 0 31px!important;
    margin:0!important;
  }
  .independent-editor-mode .nova-native-header .am-official-wordmark {
    display:none!important;
  }
  .independent-editor-mode .nova-native-header .am-official-emblem {
    width:27px!important;
    height:27px!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-page-picker {
    order:1!important;
    flex:0 0 118px!important;
    max-width:118px!important;
    margin:0!important;
    font-size:10px;
  }
  .independent-editor-mode .nova-native-header .nova-native-page-picker select {
    max-width:78px!important;
    min-height:34px;
  }
  .independent-editor-mode .nova-native-header>.nova-native-actions {
    display:contents!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions>[data-native-save] {
    order:2!important;
    flex:0 0 67px!important;
    min-height:35px;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions>.nova-native-publish {
    order:3!important;
    flex:0 0 auto!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-projects {
    order:4!important;
    flex:0 0 154px!important;
    max-width:154px!important;
  }
  .independent-editor-mode .nova-native-header>.nova-native-device-switch {
    order:5!important;
    flex:0 0 auto!important;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions>
  :not([data-native-save]):not(.nova-native-publish) {
    order:6!important;
    flex:0 0 auto!important;
  }
  .independent-editor-mode .nova-native-mobile-switcher {
    height:35px!important;
    min-height:35px;
    padding:1px 5px;
  }
  .independent-editor-mode .nova-native-mobile-switcher button {
    min-height:31px!important;
  }
}


/* P3-B-MOBILE-INPUT-FIX-20261107: put the two real primary actions before
   the overflowed page picker on a compact phone. Keep one canonical form
   and all secondary actions; keyboard focus reveals overflowed commands. */
@media (max-width:380px) and (max-height:650px) and (orientation:portrait) {
  .independent-editor-mode .nova-native-header>.nova-native-logo{order:0!important}
  .independent-editor-mode .nova-native-header .nova-native-actions>[data-native-save]{
    order:1!important;
    flex:0 0 auto!important;
    min-width:67px;
    min-height:36px;
    white-space:nowrap;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions>.nova-native-publish{
    order:2!important;
    flex:0 0 auto!important;
    min-width:max-content;
  }
  .independent-editor-mode .nova-native-header .nova-native-actions>.nova-native-publish button{
    white-space:nowrap;
    min-height:36px;
  }
  .independent-editor-mode .nova-native-header .nova-native-page-picker{order:3!important}
  .independent-editor-mode .nova-native-header .nova-native-projects{order:4!important}
  .independent-editor-mode .nova-native-header>.nova-native-device-switch{order:5!important}
  .independent-editor-mode .nova-native-header .nova-native-actions>
    :not([data-native-save]):not(.nova-native-publish){order:6!important}
  .independent-editor-mode .nova-native-header{scroll-padding-inline:6px}
}


/* COLLAPSIBLE-NAVIGATION-IMPLEMENTATION-20261108
   One canonical toolrail; the new toggle is outside its ARIA tablist.
   On touch/tablet, labels overlay briefly instead of permanently shrinking
   the P2/P3 website canvas. No duplicate actions or extra panel controller. */
.independent-editor-mode .nova-native-main{position:relative}
.independent-editor-mode .nova-native-nav-toggle{
  position:absolute;top:8px;left:8px;z-index:85;
  display:flex;align-items:center;justify-content:center;gap:12px;
  width:56px;height:46px;min-width:44px;min-height:44px;
  padding:7px 11px;border:1px solid #486883;border-radius:10px;
  background:#15243d;color:#ecf7ff;
  font-family:inherit;font-size:12px;font-weight:650;line-height:1.25;cursor:pointer;white-space:nowrap;
  box-shadow:0 3px 13px #0004;
}
.independent-editor-mode .nova-native-nav-toggle svg{
  display:block;width:24px;height:24px;flex:0 0 24px;
}
.independent-editor-mode .nova-native-nav-toggle:hover{
  background:#233b5e;border-color:#69dfee;
}
.independent-editor-mode .nova-native-nav-toggle:focus-visible{
  outline:3px solid #a9edff!important;outline-offset:2px!important;
}
.independent-editor-mode .nova-native-nav-toggle>span{display:none}
.independent-editor-mode .nova-native-toolrail{
  padding-top:68px!important;
  align-items:stretch!important;
}
.independent-editor-mode .nova-native[data-native-nav-wide="false"][data-native-nav-peek="false"]
  .nova-native-toolrail :is([data-native-workspace-tab],[data-native-open-design])>span{
  display:none!important;
}
.independent-editor-mode .nova-native[data-native-nav-wide="false"][data-native-nav-peek="false"]
  .nova-native-toolrail :is([data-native-workspace-tab],[data-native-open-design]){
  min-height:48px!important;
  width:100%;min-width:44px;
  align-items:center;justify-content:center;
  padding:8px 2px!important;
}
.independent-editor-mode .nova-native:is([data-native-nav-wide="true"],[data-native-nav-peek="true"])
  .nova-native-toolrail :is([data-native-workspace-tab],[data-native-open-design]){
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex-direction:row!important;gap:13px!important;
  min-height:48px!important;
  padding:8px 13px!important;text-align:left!important;
  white-space:nowrap!important;
}
.independent-editor-mode .nova-native:is([data-native-nav-wide="true"],[data-native-nav-peek="true"])
  .nova-native-toolrail :is([data-native-workspace-tab],[data-native-open-design]) svg{
  width:22px!important;height:22px!important;flex:0 0 22px!important;
}
.independent-editor-mode .nova-native:is([data-native-nav-wide="true"],[data-native-nav-peek="true"])
  .nova-native-nav-toggle{
  width:224px;justify-content:flex-start;padding-left:15px;
}
.independent-editor-mode .nova-native:is([data-native-nav-wide="true"],[data-native-nav-peek="true"])
  .nova-native-nav-toggle>span{display:inline}
@media(min-width:1200px){
  .independent-editor-mode .nova-native[data-native-nav-wide="true"] .nova-native-main{
    grid-template-columns:240px minmax(0,1fr)!important;
    transition:grid-template-columns .16s ease-out;
  }
  .independent-editor-mode .nova-native[data-native-nav-wide="true"] .nova-native-main:has(>.nova-native-rail.is-open){
    grid-template-columns:240px 280px minmax(0,1fr)!important;
  }
  .independent-editor-mode .nova-native[data-native-nav-wide="true"] .nova-native-main:has(>.nova-native-inspector.is-open){
    grid-template-columns:240px minmax(0,1fr) 310px!important;
  }
}
@media(max-width:1199px){
  .independent-editor-mode .nova-native[data-native-nav-peek="true"] .nova-native-toolrail{
    position:relative;z-index:75;width:min(240px,calc(100vw - 12px))!important;
    max-width:none!important;
    box-shadow:15px 14px 36px #000a;
    border-right:1px solid #6595b9;
  }
}
@media(max-width:900px){
  .independent-editor-mode .nova-native-nav-toggle{top:49px;left:6px;width:48px;height:44px}
  .independent-editor-mode .nova-native[data-native-nav-peek="true"] .nova-native-nav-toggle{width:222px}
  .independent-editor-mode .nova-native-toolrail{padding-top:58px!important}
}
@media(max-width:620px){
  .independent-editor-mode .nova-native-nav-toggle{top:48px;left:5px;width:50px}
}
@media(max-width:380px) and (max-height:650px) and (orientation:portrait){
  .independent-editor-mode .nova-native-nav-toggle{top:39px}
}
@media(max-width:900px) and (max-height:520px) and (orientation:landscape){
  .independent-editor-mode .nova-native-nav-toggle{top:40px}
}
@media(prefers-reduced-motion:reduce){
  .independent-editor-mode .nova-native-main{transition:none!important}
  .independent-editor-mode .nova-native-nav-toggle{transition:none!important}
}
.independent-editor-mode .nova-native.is-focus-mode .nova-native-nav-toggle{display:none!important}

/* U2-B2: one existing Inspector, project-scoped styling. No extra mobile
   drawer/header or permanent Canvas reduction. */
.nova-native-website-design{
  display:grid;gap:12px;min-width:0;max-width:100%;padding:12px 0;
  color:#ecf4ff;
}
.nova-native-website-design h3{margin:2px 0 0;font-size:17px;line-height:1.3}
.nova-website-design-project{
  margin:0;padding:9px 11px;border-radius:9px;
  background:#152940;border:1px solid #52708e;color:#ddecff;
  overflow-wrap:anywhere;
}
.nova-website-design-revisions{
  display:flex;flex-wrap:wrap;gap:6px;font-size:12px;
}
.nova-website-design-revisions span{
  border:1px solid #466788;background:#152638;border-radius:8px;
  padding:5px 7px;color:#e2f5ff;
}
.nova-native-website-design form{display:grid;gap:12px;min-width:0}
.nova-native-website-design fieldset{
  display:grid;gap:12px;min-width:0;margin:0;padding:13px 11px;
  border:1px solid #47617f;border-radius:12px;background:#131f33;
}
.nova-native-website-design legend{
  padding:0 5px;color:#bfe7ff;font-weight:750;font-size:13px;
}
.nova-native-website-design label{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:650}
.nova-website-design-color-row{
  display:grid;grid-template-columns:44px minmax(0,1fr);
  gap:9px;align-items:center;min-width:0;
}
.nova-website-design-color-row input[type="color"]{
  appearance:auto;width:44px;height:44px;min-height:44px;padding:2px;
  border:1px solid #7992b4;border-radius:8px;background:#122037;cursor:pointer;
}
.nova-native-website-design input[type="text"],
.nova-native-website-design select{
  width:100%;min-width:0;min-height:44px;
  background:#102036;border:1px solid #7285a3;
  border-radius:8px;color:#fff;padding:9px 10px;
  font:inherit;font-size:13px;
}
.nova-website-design-range-row{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(52px,auto);
  align-items:center;gap:9px;min-width:0;
}
.nova-website-design-range-row input[type="range"]{
  width:100%;min-width:0;min-height:44px;accent-color:#73dafa;cursor:pointer;
}
.nova-website-design-range-row output{
  font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;
  color:#dbeeff;text-align:end;min-width:53px;
}
.nova-website-design-status{
  margin:0;padding:8px 9px;border-left:3px solid #8cafff;
  background:#142339;color:#f0f6ff;font-size:12px;
}
.nova-website-design-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.nova-native-website-design button{
  width:100%;min-height:44px;padding:9px 12px;
  border:1px solid #6692b6;border-radius:9px;
  background:#1a3f5b;color:#f0faff;font:inherit;font-size:12px;font-weight:750;
  cursor:pointer;overflow-wrap:anywhere;
}
.nova-native-website-design button:hover{background:#245476}
.nova-native-website-design button:disabled{opacity:.6;cursor:not-allowed}
.nova-website-design-actions button:first-child,
.nova-native-website-design .nova-website-design-publish{background:#15546a;border-color:#88d6ec;color:#f7ffff}
.nova-native-website-design a{color:#a5e9ff;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.nova-native-website-design :focus-visible{
  outline:3px solid #cdb5ff;outline-offset:3px;
}
.nova-website-design-history{
  border:1px solid #536e91;border-radius:11px;min-width:0;padding:9px;
}
.nova-website-design-history summary{
  cursor:pointer;font-weight:700;padding:5px 2px;line-height:1.5;
}
.nova-website-design-history ul{
  margin:11px 0;padding-left:20px;display:grid;gap:8px;
  max-height:240px;overflow:auto;
}
.nova-website-design-history li{font-size:12px;overflow-wrap:anywhere;line-height:1.55}
.nova-website-design-history li a{margin-left:5px}
.nova-website-design-confirm{
  display:grid!important;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:9px;
  font-weight:500!important;line-height:1.45;
}
.nova-website-design-confirm input[type="checkbox"]{
  width:20px;height:20px;accent-color:#6bd5f2;
}
.nova-native-website-design .nova-native-hint{font-size:12px;line-height:1.5}
@media(max-width:420px){
  .nova-website-design-actions{grid-template-columns:minmax(0,1fr)}
  .nova-native-website-design fieldset{padding:10px 8px}
}
@media(prefers-reduced-motion:reduce){
  .nova-native-website-design *,
  .nova-native-website-design *::before,
  .nova-native-website-design *::after{transition-duration:0s!important;animation-duration:0s!important}
}

/* U2-B2 base WCAG contrast guidance: helpful without reducing Canvas area. */
.nova-native-website-design .nova-website-design-contrast{
  margin:0;padding:9px 11px;border-left:3px solid #5ca7c6;
  border-radius:3px 7px 7px 3px;
  background:#142638;color:#ebf8ff;
  font-size:12px;line-height:1.5;overflow-wrap:anywhere;
}
.nova-native-website-design .nova-website-design-contrast[data-contrast-state="invalid"]{
  border-left-color:#ffab81;color:#fff0e5;background:#382923;
}
.nova-native-website-design .nova-website-design-contrast[data-contrast-state="warning"]{
  border-left-color:#ffd37f;color:#fff4d6;background:#302c1e;
}
.nova-native-website-design input[aria-invalid="true"]{
  border-color:#ffab81;outline-offset:2px;
}

/* U2-C: reusable recipes within the existing elements workspace. */
.nova-native-recipe-library{margin-block:12px;border:1px solid #526c8c;border-radius:11px;background:#122237;min-width:0}
.nova-native-recipe-library>summary{cursor:pointer;padding:12px 13px;font-weight:750;color:#ebf8ff}
.nova-native-recipe-library>.nova-native-workspace-help{padding:0 13px;margin:2px 0 12px;color:#d7eafa;line-height:1.55}
.nova-native-recipe-library>h3{margin:18px 13px 9px;color:#f1f7ff;font-size:14px}
.nova-native-recipe-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:0 12px 15px}
.nova-native-recipe-card{min-width:0;padding:12px;border:1px solid #567592;border-radius:11px;background:#1a3048;color:#f5fbff}
.nova-native-recipe-card h3{margin:0 0 7px;font-size:14px;line-height:1.3}
.nova-native-recipe-card>p{margin:0 0 9px;line-height:1.55;font-size:12px;color:#e0f1ff}
.nova-native-recipe-card .nova-native-recipe-outline{padding:7px 9px;background:#10263c;border-left:3px solid #81d9ee}
.nova-native-recipe-card form{display:grid;gap:9px;min-width:0}
.nova-native-recipe-card label{display:grid;gap:4px;font-size:12px;font-weight:650}
.nova-native-recipe-card input,.nova-native-recipe-card select{
  box-sizing:border-box;width:100%;min-width:0;min-height:44px;
  color:#fff;background:#10233c;border:1px solid #91aac5;border-radius:8px;
  padding:9px;font:inherit;font-size:13px
}
.nova-native-recipe-card button{box-sizing:border-box;min-height:44px;max-width:100%;
  border-radius:8px;border:1px solid #7fd9ec;background:#195777;
  color:#f6ffff;padding:10px 12px;font-weight:750;cursor:pointer}
.nova-native-recipe-card button:hover{background:#236b8b}
.nova-native-recipe-card button:disabled{opacity:.6;cursor:not-allowed}
.nova-native-recipe-card :focus-visible{outline:3px solid #c8b2ff;outline-offset:2px}
.nova-native-recipe-card .nova-native-recipe-media-note{color:#ffe4ae;font-size:12px;line-height:1.5}
@media(prefers-reduced-motion:reduce){
  .nova-native-recipe-card *{animation-duration:0s!important;transition-duration:0s!important}
}


/* U2-D1: one optional reference choice inside the existing Service creation form. */
.nova-native-clarity-choice{margin:14px 0;padding:14px;border:1px solid #63839a;
  border-radius:12px;background:#122b3c;color:#f3fbff;min-width:0}
.nova-native-clarity-choice[hidden]{display:none!important}
.nova-native-clarity-choice legend{padding:0 7px;color:#edfaff;font-weight:750}
.nova-native-clarity-choice p{line-height:1.55;color:#e5f0f6;margin:9px 0;font-size:13px}
.nova-native-clarity-choice label{display:grid;gap:7px;color:#fff;min-width:0}
.nova-native-clarity-choice label.nova-native-check{display:flex;align-items:center;gap:9px}
.nova-native-clarity-choice select{width:100%;max-width:100%;min-width:0;min-height:44px;
  border:1px solid #a9c5da;border-radius:7px;padding:8px;background:#162e42;color:#fff}
.nova-native-clarity-choice a{display:inline-flex;align-items:center;min-height:44px;
  padding:8px 12px;border:1px solid #a9c5da;border-radius:8px;color:#e8faff}
.nova-native-clarity-choice .nova-native-clarity-warning{color:#ffe2b3}
.nova-native-clarity-choice :focus-visible{outline:3px solid #efd3ff;outline-offset:2px}

/* GUIDED-TEMPLATE-ONBOARDING-20261109
   Integrated into the existing starter form; never a second editor shell. */
.nova-native-guided{margin:12px 0 18px;padding:16px;border:1px solid #58698b;border-radius:13px;background:#141f34;color:#f5f8ff;max-width:100%;min-width:0}
.nova-native-guided [hidden]{display:none!important}
.nova-native-guided [data-guide-open]{display:block;width:100%;text-align:left;background:#293c65;color:#fff;padding:13px 16px;border:1px solid #9bacdf;border-radius:9px;font-weight:750;min-height:44px;cursor:pointer}
.nova-native-guided [data-guide-open]:hover{background:#354e80}
.nova-native-guide-panel{display:grid;gap:14px;margin-top:16px;min-width:0}
.nova-native-guide-panel h3,.nova-native-guide-panel h4{font-size:clamp(1.08rem,2vw,1.4rem);margin:0;color:#fff}
.nova-native-guide-panel h5{margin:0;font-size:1.02rem;color:#fff}
.nova-native-guide-panel p,.nova-native-guide-panel small{line-height:1.55;color:#c4d2e6}
.nova-native-guide-panel [data-guide-progress]{color:#95dbd9;font-size:.85rem;letter-spacing:.015em;margin:0}
.nova-native-guide-panel label{display:grid;gap:8px;font-size:.95rem;color:#f7f8ff;min-width:0}
.nova-native-guide-panel select{min-height:44px;width:100%;max-width:100%;border:1px solid #8f9db9;background:#192640;color:#f2f6ff;border-radius:8px;padding:9px 12px}
.nova-native-guide-panel fieldset{padding:14px;border:1px solid #536582;border-radius:9px;min-width:0}
.nova-native-guide-panel legend{font-weight:650;padding:0 5px;line-height:1.45}
.nova-native-guide-panel .nova-native-guide-check{display:flex;align-items:center;gap:10px;margin:8px 0;min-height:36px;font-size:.9rem}
.nova-native-guide-panel .nova-native-guide-check input{width:18px;height:18px;accent-color:#8fbbf9;flex:0 0 auto}
.nova-native-guide-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0}
.nova-native-guide-swatches span{display:grid;place-items:center;min-width:0;min-height:72px;border-radius:8px;border:1px solid #72839b;font-size:28px}
.nova-native-guide-swatches [data-guide-swatch="minimal"]{background:#f8f7f3;color:#183c4d;font-family:Georgia,serif}
.nova-native-guide-swatches [data-guide-swatch="warm"]{background:#eddbbc;color:#6a4533;font-family:Georgia,serif}
.nova-native-guide-swatches [data-guide-swatch="bold"]{background:#333b7e;color:#bff0fa;font-family:Arial,sans-serif;font-weight:800}
.nova-native-guide-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.nova-native-guide-actions button,.nova-native-guide-result-actions button,.nova-native-guided [data-guide-all]{min-height:44px;border:1px solid #9aaed1;background:#2b3f68;color:#fff;padding:10px 14px;border-radius:8px;cursor:pointer;font-weight:650}
.nova-native-guide-actions button:hover,.nova-native-guide-result-actions button:hover,.nova-native-guided [data-guide-all]:hover{background:#38588c}
.nova-native-guide-actions [data-guide-free]{background:transparent}
.nova-native-guide-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}
.nova-native-guide-result{display:flex;flex-direction:column;gap:10px;min-width:0;padding:16px;background:#202c42;border:1px solid #5a7093;border-radius:10px}
.nova-native-guide-result p{margin:0;flex:1;overflow-wrap:anywhere}
.nova-native-guide-result small{color:#b0e7de}
.nova-native-guide-result-actions{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}
.nova-native-guide-result-actions button{flex:1 1 140px}
.nova-native-guide-result-actions button:last-child{background:#476bb4}
.nova-native-guide-preview{display:grid;gap:11px;min-width:0;margin-top:12px}
.nova-native-guide-preview iframe{display:block;width:100%;max-width:100%;height:460px;min-height:270px;margin-inline:auto;border:1px solid #7186ab;border-radius:8px;background:#fff}
.nova-native-guide-preview[data-device="tablet"] iframe{width:min(100%,768px)}
.nova-native-guide-preview[data-device="mobile"] iframe{width:min(100%,390px)}
@media(max-width:600px){.nova-native-guided{padding:12px}.nova-native-guide-results{grid-template-columns:minmax(0,1fr)}.nova-native-guide-preview iframe{height:430px}.nova-native-guide-actions>*{flex:1 1 90px}}

/* P1-GUIDED-ONBOARDING-SCROLL-FIX-20261109
   The original Canvas is deliberately clipped; an EMPTY website project
   instead contains a tall, growing form and needs its existing stage as
   the sole vertical scroll owner. Never change normal PageDraft Canvas. */
.independent-editor-mode .nova-native:has([data-editor-create]) .nova-native-stage {
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  scroll-padding-block:16px 28px;
  -webkit-overflow-scrolling:touch;
}
.independent-editor-mode .nova-native:has([data-editor-create]) .nova-native-create {
  flex:0 0 auto;
  min-width:0;
  margin:clamp(12px,4dvh,44px) auto 28px;
}

/* GUIDED-WEBSITE-ASSISTANT-V2-20261110: information remains legible
   in the existing P1-scrolling Stage even with longer DE/TR explanations. */
.nova-native-guide-result-intro{margin:0;color:#b9cde7;line-height:1.6}
.nova-native-guide-result .nova-native-guide-result-fact{
  margin:0;padding-top:9px;border-top:1px solid #475777;
  overflow-wrap:anywhere;line-height:1.55;color:#c6d6ee
}
.nova-native-guide-result-fact strong{color:#f3f7ff;font-weight:700}
.nova-native-guide-panel [data-guide-focus-help],.nova-native-guide-panel [data-guide-readiness-help]{
  color:#bbd1e8;line-height:1.5
}
.nova-native-guide-panel [data-guide-step="focus"],
.nova-native-guide-panel [data-guide-step="pages"],
.nova-native-guide-panel [data-guide-step="readiness"]{min-width:0}
@media (prefers-reduced-motion:reduce){
  .nova-native-guided *, .nova-native-guided *::before,.nova-native-guided *::after{
    scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important
  }
}
