/* Focused editor workspace from the approved Paper design; print page styles stay in styles.css. */
.studio-ui[data-route="editor"]:not(.export-render-body) { overflow: hidden; }
.studio-ui[data-route="editor"]:not(.export-render-body) .app-shell { height: 100dvh; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: 64px minmax(0, 1fr); }
.studio-ui[data-route="editor"]:not(.export-render-body) .topbar { height: 64px; min-height: 64px; padding: 0 24px; grid-column: 1; grid-row: 1; }
.studio-ui[data-route="editor"]:not(.export-render-body) .main { grid-column: 1; grid-row: 2; padding: 0; min-height: 0; overflow: hidden; }
.studio-ui[data-route="editor"]:not(.export-render-body) .mobile-menu-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid #c9a844; border-radius: 8px; background: transparent; }
.studio-ui[data-route="editor"]:not(.export-render-body) .sidebar { position: fixed; z-index: 55; inset: 64px auto 0 0; width: 264px; height: auto; min-height: 0; overflow: auto; transform: translateX(-105%); transition: transform 180ms ease; }
.studio-ui[data-route="editor"]:not(.export-render-body).sidebar-open .sidebar { transform: translateX(0); }
.studio-ui[data-route="editor"]:not(.export-render-body) .sidebar-scrim { display: block; position: fixed; z-index: 54; inset: 64px 0 0; border: 0; background: #17171750; opacity: 0; pointer-events: none; }
.studio-ui[data-route="editor"]:not(.export-render-body).sidebar-open .sidebar-scrim { opacity: 1; pointer-events: auto; }
.studio-ui[data-route="editor"]:not(.export-render-body) .sidebar-toggle { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-page { width: 100%; max-width: none; height: 100%; min-height: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-toolbar { display: flex; align-items: center; flex: 0 0 52px; min-height: 52px; gap: 16px; padding: 0 24px; background: #fff; border-bottom: 1px solid #e8e1d1; z-index: 25; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-back { display: flex; align-items: center; gap: 7px; flex-shrink: 0; padding-right: 20px; border-right: 1px solid #e8e1d1; color: #756e5f; font-size: 13px; text-decoration: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-info { min-width: 0; flex: 1; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-info h1 { margin: 0 0 3px; font: 700 18px/22px "DM Sans", sans-serif; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-info p { margin: 0; color: #756e5f; font-size: 12px; line-height: 16px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-info .editor-save-status::before { content: " · "; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions > details { position: relative; margin: 0; border: 0; background: none; padding: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions summary { list-style: none; display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 500; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions summary::-webkit-details-marker { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions details[open] summary { background: #fff1bc; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-popover { position: absolute; top: calc(100% + 12px); right: 0; width: 360px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 160px); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; background: #fff; border: 1px solid #e8e1d1; border-radius: 10px; box-shadow: 0 10px 32px #17171720; overflow: auto; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-popover .book-setup-controls { display: grid; grid-template-columns: 1fr; width: 100%; min-width: 0; gap: 14px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-popover .setup-select { width: 100%; min-width: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-popover .text-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-popover .text-toolbar .toolbar-label { width: 100%; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions > .credit-quote-support { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) #download-editor-pdf { min-height: 30px; padding: 5px 10px; border-radius: 8px; font-size: 13px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-subtoolbar { display: flex; align-items: center; flex: 0 0 40px; min-height: 40px; gap: 12px; padding: 0 24px; margin: 0; background: #fffdf7; border-bottom: 1px solid #e8e1d1; overflow: auto; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-subtoolbar > .btn { flex-shrink: 0; border: 0; background: none; box-shadow: none; font-size: 13px; padding: 7px 0; min-height: 34px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-mode-tabs { display: flex; gap: 2px; padding: 0 0 0 16px; border: 0; border-left: 1px solid #e8e1d1; border-radius: 0; background: none; flex-shrink: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-mode-tabs button { min-height: 32px; padding: 6px 14px; border: 0; border-radius: 7px; background: none; color: #171717; font-size: 13px; font-weight: 500; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-mode-tabs button.active { color: white; background: #171717; box-shadow: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .view-toggle { margin-left: auto; display: flex; flex-shrink: 0; padding: 2px; border: 1px solid #e8e1d1; border-radius: 7px; background: transparent; }
.studio-ui[data-route="editor"]:not(.export-render-body) .view-toggle button { min-height: 28px; padding: 3px 10px; font-size: 12px; border-radius: 5px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .view-toggle button.active { color: #171717; background: #fff; box-shadow: 0 1px 3px #17171712; }
.studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr); gap: 0; align-items: stretch; overflow: hidden; }
.studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor.inspector-collapsed { grid-template-columns: 220px minmax(0, 1fr); }
.studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor.pages-collapsed { grid-template-columns: minmax(0, 1fr) 320px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor.inspector-collapsed.pages-collapsed { grid-template-columns: minmax(0, 1fr); }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-panel-scrim { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor > .card { margin: 0; border: 0; border-radius: 0; box-shadow: none; min-height: 0; max-height: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-panel { position: static; width: auto; height: auto; padding: 12px 10px 0; background: #fffdf7; border-right: 1px solid #e8e1d1 !important; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-collapsed .pages-panel { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-panel .section-title { margin: 0; padding: 0 8px; font-size: 14px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-page-search { position: relative; display: block; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-page-search > svg { position: absolute; width: 14px; height: 14px; top: 11px; left: 10px; color: #756e5f; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-page-search .input { min-height: 36px; padding: 7px 8px 7px 30px; font-size: 12px; background: white; }
.studio-ui[data-route="editor"]:not(.export-render-body) .page-strip-list { flex: 1 1 0; min-height: 0; max-height: none; display: flex; flex-direction: column; gap: 2px; overflow: auto; padding-bottom: 6px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .page-strip { flex: 0 0 auto; display: grid; grid-template-columns: 22px minmax(0, 1fr) 20px; align-items: center; width: 100%; min-height: 42px; padding: 6px 8px; background: transparent; border: 1px solid transparent; }
.studio-ui[data-route="editor"]:not(.export-render-body) .page-strip[hidden] { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .page-strip.active { outline: none; border-color: #e5cf85; background: #fff1bc; }
.studio-ui[data-route="editor"]:not(.export-render-body) .page-strip-label strong { font-size: 12px; line-height: 17px; font-weight: 600; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-canvas-panel { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #f0eee7; }
.studio-ui[data-route="editor"]:not(.export-render-body) .book-canvas { flex: 1; min-height: 0; min-width: 0; width: 100%; padding: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden; background: #f0eee7; }
.studio-ui[data-route="editor"]:not(.export-render-body) .canvas-toolbar { flex: 0 0 34px; min-height: 34px; padding: 4px 16px 0; align-items: center; }
.studio-ui[data-route="editor"]:not(.export-render-body) .canvas-toolbar .editor-zoom-control { padding: 0; background: transparent; border: 0; box-shadow: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .canvas-stage { flex: 1; height: 0; min-height: 0; min-width: 0; width: 100%; padding: 18px 28px 22px; display: grid; place-items: center; overflow: auto; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-footer { flex: 0 0 36px; min-height: 36px; display: flex; justify-content: center; gap: 20px; padding: 8px 12px; background: #f0eee7; border: 0; font-size: 12px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-footer .btn { padding: 6px 8px; min-height: 30px; border: 0; background: transparent; font-size: 12px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .settings-panel { position: static; width: auto; padding: 0; display: flex; flex-direction: column; overflow: hidden; border-left: 1px solid #e8e1d1 !important; background: #fff; }
.studio-ui[data-route="editor"]:not(.export-render-body) .inspector-collapsed .settings-panel { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-toolbar { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0; padding: 8px 18px; border-bottom: 1px solid #e8e1d1; font-size: 13px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content { flex: 1; min-height: 0; padding: 20px; overflow: auto; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .section-title { font-size: 14px; margin-bottom: 18px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-form { gap: 16px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-field { min-width: 0; gap: 6px; font-size: 12px; font-weight: 500; line-height: 17px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content :is(.input, .select),
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-popover :is(.input, .select) { min-height: 36px; padding: 8px 10px; background: #fffdf7; border-color: #e8e1d1; border-radius: 7px; font-size: 13px; line-height: 19px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .textarea { min-height: 88px; resize: vertical; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-content-group { margin: 0; border: 0; border-top: 1px solid #e8e1d1; border-radius: 0; padding: 12px 0 0; background: transparent; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-content-group > summary { padding: 0 0 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-content-group > summary span { font-size: 11px; font-weight: 400; color: #756e5f; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-list-row { padding: 0 0 16px; margin-bottom: 14px; border-bottom: 1px solid #e8e1d1; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-row-heading strong { font-size: 11px; color: #756e5f; font-weight: 600; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-row-actions { display: flex; gap: 2px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-row-actions .btn { min-width: 28px; min-height: 28px; width: 28px; height: 28px; padding: 5px; border: 0; background: none; box-shadow: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-row-actions svg { width: 14px; height: 14px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-ingredient-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-field-wide { grid-column: 1 / -1; }
.studio-ui[data-route="editor"]:not(.export-render-body) .recipe-add-row { border: 0; background: none; padding: 6px 0; box-shadow: none; font-size: 13px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content :is(.assets-grid, .asset-grid, .template-assets-grid, .template-assets-columns, .image-inspector-grid) { grid-template-columns: minmax(0, 1fr); }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .template-assets-panel { padding: 0; border: 0; background: none; box-shadow: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-status-bar { flex: 0 0 32px; min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; border-top: 1px solid #e8e1d1; background: #fffdf7; color: #756e5f; font-size: 11px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-save-status[data-save-status="error"] { color: #a03024; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-save-retry { margin-left: 6px; border: 0; background: transparent; color: #a03024; font: inherit; text-decoration: underline; cursor: pointer; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-feedback { position: absolute; z-index: 24; left: 230px; right: 330px; bottom: 34px; max-height: 180px; overflow: auto; padding: 12px; border: 1px solid #e8e1d1; border-radius: 8px; background: #fffdf7; box-shadow: 0 8px 24px #17171716; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-feedback summary { cursor: pointer; font-size: 12px; font-weight: 600; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-feedback .form-message { margin: 8px 0 0; }

@media (max-width: 1000px) {
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor,
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor.inspector-collapsed,
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor.pages-collapsed { grid-template-columns: minmax(0, 1fr); }
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor .pages-panel,
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor .settings-panel { position: absolute; z-index: 22; top: 0; bottom: 0; width: min(340px, calc(100% - 40px)); display: none; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor .pages-panel { left: 0; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor .settings-panel { right: 0; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor.mobile-pages-open .pages-panel,
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor.mobile-inspector-open .settings-panel { display: flex; box-shadow: 0 0 32px #17171726; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .grid.editor:is(.mobile-pages-open, .mobile-inspector-open) .editor-panel-scrim { position: absolute; z-index: 21; inset: 0; display: block; border: 0; background: #17171740; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-feedback { left: 12px; right: 12px; }
}
@media (max-width: 600px) {
  .studio-ui[data-route="editor"]:not(.export-render-body) .topbar { padding: 0 12px; gap: 12px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .topbar-brand-group { gap: 8px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .topbar .logo { font-size: 13px; gap: 6px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .topbar .logo img { width: 30px; height: 30px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .topbar-actions { gap: 8px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .topbar :is(.product-context, .header-link span) { display: none; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .topbar .credit-pill { font-size: 10px; padding: 5px 7px; min-height: 30px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-toolbar { flex: 0 0 100px; min-height: 100px; flex-wrap: wrap; gap: 0 10px; align-content: center; padding: 8px 12px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-back { padding-right: 10px; font-size: 12px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-info { flex-basis: calc(100% - 100px); }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-info h1 { font-size: 15px; line-height: 20px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-info p { font-size: 10px; line-height: 15px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-info .editor-save-status { display: none; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions { width: 100%; justify-content: flex-end; gap: 6px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions summary { font-size: 12px; min-height: 34px; padding: 6px 8px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions .editor-popover { position: fixed; top: 164px; right: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 188px); }
  .studio-ui[data-route="editor"]:not(.export-render-body) #download-editor-pdf { min-height: 34px; padding: 6px 10px; font-size: 12px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-subtoolbar { position: relative; flex-wrap: wrap; flex: 0 0 86px; min-height: 86px; gap: 0 16px; padding: 4px 12px; overflow: hidden; align-content: center; justify-content: space-between; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-mode-tabs { order: 3; flex-basis: 100%; justify-content: space-between; padding: 5px 0 0; border: 0; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-mode-tabs button { min-height: 32px; padding: 6px 12px; font-size: 12px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-subtoolbar > .btn { min-height: 30px; font-size: 12px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .view-toggle { margin-left: 0; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .view-toggle button { padding: 3px 7px; font-size: 11px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .view-toggle svg { display: none; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .canvas-stage { padding: 10px 16px 16px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .canvas-toolbar { flex-basis: 38px; min-height: 38px; padding: 4px 12px 0; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-footer { flex-basis: 42px; min-height: 42px; gap: 10px; padding: 6px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-footer .btn { font-size: 11px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-status-bar { padding: 0 12px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-status-bar > span:last-child { display: none; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-ui[data-route="editor"]:not(.export-render-body) .sidebar { transition: none; }
}
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-subtoolbar .editor-mode-tabs { width: auto; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions > details { flex: 0 0 auto; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions summary { width: auto; white-space: nowrap; border: 0; background: transparent; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions summary svg { width: 16px; height: 16px; flex-shrink: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-export-details summary { padding: 8px 4px; }
@media (max-width: 600px) {
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-subtoolbar .editor-mode-tabs { width: 100%; }
}
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-quality-details { position: relative; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-quality-details summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-quality-details summary svg { width: 13px; height: 13px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-quality-details .editor-popover { top: auto; bottom: calc(100% + 14px); width: 400px; }
@media (max-width: 600px) {
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-quality-details { margin-left: auto; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-quality-details summary { max-width: 160px; font-size: 10px; }
}
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .asset-icon-grid { grid-template-columns: minmax(0, 1fr); }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .asset-groups-scroll { max-height: none; overflow: visible; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .template-assets-head { flex-wrap: wrap; }
@media (max-width: 600px) {
  .studio-ui[data-route="editor"]:not(.export-render-body) .topbar .logo span { display: inline; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions { gap: 5px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions summary { padding: 6px; font-size: 11px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-document-actions :is(.editor-style-disclosure, .editor-setup-disclosure) summary svg { display: none; }
  .studio-ui[data-route="editor"]:not(.export-render-body) #download-editor-pdf { white-space: nowrap; font-size: 11px; padding: 6px 8px; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-quality-details summary { font-size: 0; }
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-quality-details summary::before { content: "Print quality"; font-size: 11px; }
}
/* Keep navigation primary; image work belongs in the contextual inspector. */
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-panel > :not(.page-strip-list) { flex-shrink: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .page-strip-label strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-actions { position: relative; margin: 0; padding: 8px 0; gap: 5px; border-top: 1px solid #e8e1d1; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-summary { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; color: #756e5f; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-summary strong { color: #171717; font-weight: 600; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-actions .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 30px; height: auto; padding: 4px 7px; gap: 5px; border-radius: 6px; font-size: 11px; font-weight: 600; line-height: 17px; white-space: nowrap; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-summary .btn { width: auto; border: 0; background: transparent; box-shadow: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-actions .btn svg { flex: 0 0 14px; width: 14px; height: 14px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-actions .credit-chip { padding: 2px 5px; font-size: 10px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-cost > summary { cursor: pointer; width: fit-content; font-size: 11px; color: #756e5f; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-cost > div { position: absolute; z-index: 30; bottom: calc(100% + 6px); left: 0; width: 100%; padding: 12px; background: white; border: 1px solid #e8e1d1; border-radius: 8px; box-shadow: 0 4px 20px #17171718; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-empty-state { padding: 4px; grid-template-columns: 16px minmax(0, 1fr); gap: 6px; background: none; border: 0; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-empty-state > svg { width: 16px; height: 16px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-empty-state strong { font-size: 11px; font-weight: 500; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-empty-state span { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-actions .image-batch-progress { padding: 6px; gap: 4px; font-size: 11px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-actions .image-batch-progress p { display: none; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .btn { min-height: 30px; padding: 5px 8px; gap: 5px; font-size: 12px; line-height: 18px; border-radius: 6px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .btn svg { width: 15px; height: 15px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-toolbar .btn { min-height: 28px; width: 28px; height: 28px; padding: 5px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .canvas-toolbar .select { min-height: 28px; padding: 3px 24px 3px 8px; width: 88px; font-size: 12px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .canvas-toolbar .editor-zoom-control { gap: 6px; font-size: 11px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .candidate-gallery .empty-state { min-height: 72px; padding: 12px 0; text-align: left; justify-content: start; }
.studio-ui[data-route="editor"]:not(.export-render-body) .candidate-gallery .empty-state strong { font-size: 12px; line-height: 19px; font-weight: 400; color: #756e5f; }
@media (pointer: coarse) {
  .studio-ui[data-route="editor"]:not(.export-render-body) .pages-image-actions .btn,
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-content .btn,
  .studio-ui[data-route="editor"]:not(.export-render-body) .editor-inspector-toolbar .btn { min-height: 40px; }
}
.studio-ui[data-route="editor"]:not(.export-render-body) .image-action-grid .btn { font-size: 11px; }
.studio-ui[data-route="editor"]:not(.export-render-body) .image-action-grid .credit-chip { padding: 2px 4px; font-size: 10px; }
