/* Identidade Editorial da home. Somente a interface Vionze usa este arquivo;
   canvas, miniaturas e documentos em iframe mantêm os estilos de cada modelo. */
body.vionze-theme {
  color-scheme:light;
  --paper:#f3efe5; --ink:#282c28; --line:#d9d4c7; --muted:#626558;
  --accent:#b35032; --on-accent:#fffaf2; --surface:#fcfaf5; --soft:#eae4d7;
  --ui-bg:var(--paper); --ui-panel:var(--surface); --ui-panel-raised:var(--surface);
  --ui-panel-hover:var(--soft); --ui-line:var(--line); --ui-line-strong:#bcb5a5;
  --ui-text:var(--ink); --ui-muted:var(--muted); --ui-accent:var(--accent);
  --ui-accent-soft:#b3503214; --ui-positive:#27633f;
  background:var(--paper); color:var(--ink); font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.vionze-theme :is(.portal-topbar,.topbar,.editor-topbar,.top) {
  background:var(--paper); border-color:var(--line); box-shadow:none;
}
body.vionze-theme :is(.portal-brand,.brand,.editor-brand,.aurenze-wordmark,.wordmark) { color:var(--ink); }
body.vionze-theme :is(.portal-topbar nav,.portal-topbar button,.admin-navigation a,.save-state,.template-picker,.style-picker) { color:var(--muted); }
body.vionze-theme .admin-navigation a[aria-current=page] { color:var(--accent); }
body.vionze-theme :is(.eyebrow,.portal-brand span,.modal-kicker,.step-heading p,.journey h1 em) { color:var(--accent); }
body.vionze-theme :is(.access-story h1,.panel-heading h1,.journey h1,.step-heading h2,.selection-shell h1,.guide h1,.guide h2,.access-form h2,.finish-card h2,.modal-card h2,.publish-review-dialog h2,.catalog-dialog-heading h2) {
  font-family:Georgia,'Times New Roman',serif; font-weight:400; letter-spacing:-.045em; line-height:1.08;
}
body.vionze-theme :is(.access-story h1 em,.guide h1 em) { color:var(--accent); }
body.vionze-theme :is(.access-story,.journey) { background:var(--soft); border-color:var(--line); }
body.vionze-theme :is(.access-card,.site-card,.choice-card,.admin-card,.admin-stat,.live-preview,.help-card,.finish-card,.modal-card,.publish-review-dialog,.catalog-editor-dialog) {
  background:var(--surface); color:var(--ink); border-color:var(--line); border-radius:6px; box-shadow:0 16px 45px #282c2808;
}
body.vionze-theme :is(.access-story > div > p:not(.eyebrow),.access-note,.access-form > p,.benefit-list span,.panel-heading p:last-child,.site-card p,.choice-card p,.admin-card p,.admin-stat small,.admin-footnote,.admin-activity small,.key-row small,.choice-link small,.field small,.field small b,.field > span,.field label,.step-heading small,.help-card,.live-preview-hint,.live-preview-note,.live-preview-contact,.live-style-label,.live-preview-toolbar,.selection-intro,.template-card__number,.template-card > small,.finish-card > p:not(.eyebrow),.result-note,.guide p,.guide li,.catalog-manager p,.catalog-detail-preview p) { color:var(--muted); }
body.vionze-theme :is(.help-card strong,.library-note strong,.structured-item-panel__heading span,.workspace-toolbar strong,.published-url label) { color:var(--ink); }
body.vionze-theme :is(.field input,.field textarea,.field select,.published-url-row input,.live-style-label select,.admin-section-heading input,.billing-controls input,.template-picker select,.style-picker select) {
  background:var(--surface); color:var(--ink); border-color:#bcb5a5; border-radius:4px;
}
body.vionze-theme :is(.field input,.field textarea,.field select,.template-picker select,.style-picker select):hover { background:#fffdf8; border-color:var(--accent); }
body.vionze-theme :is(.field input,.field textarea,.field select):focus { background:#fffdf8; border-color:var(--accent); box-shadow:0 0 0 3px var(--ui-accent-soft); }
body.vionze-theme :is(.primary-button,.next-button,.primary-action,.button.primary,.editor-launch,.open-live-preview) {
  background:var(--accent); color:var(--on-accent); border-color:var(--accent); border-radius:3px; clip-path:none; box-shadow:none;
}
body.vionze-theme :is(.primary-button,.next-button,.primary-action,.button.primary,.editor-launch):hover { background:#963f26; color:var(--on-accent); filter:none; }
body.vionze-theme :is(.secondary-button,.secondary-action,.back-button,.sample-button,.direct-editor-button,.button.secondary,.history-actions button,.device-switch button,.live-preview-toolbar button,.publish-issue-targets button,.catalog-item-tools button,.revision-entry button,.publication-entry button,.site-actions a,.site-actions button,.admin-row-actions a,.billing-actions button) {
  background:var(--surface); color:var(--ink); border-color:var(--line); border-radius:4px; box-shadow:none;
}
body.vionze-theme :is(.secondary-button,.history-actions button,.workspace-toolbar button):hover { background:var(--soft); color:var(--ink); border-color:#bcb5a5; }
body.vionze-theme :is(.text-button,.workspace-toolbar button,#closeLivePreview) { color:var(--muted); }
body.vionze-theme :is(.access-tabs,.device-switch,.account-strip,.mobile-progress div) { background:var(--soft); border-color:var(--line); }
body.vionze-theme :is(.access-tabs button,.device-switch button) { color:var(--muted); }
body.vionze-theme :is(.access-tabs button.active,.device-switch button.active,.live-preview-toolbar button[aria-pressed=true]) { background:var(--ink); color:var(--surface); }
body.vionze-theme :is(.account-strip div,.choice-link,.site-row,.site-empty,.key-row,.billing-row,.template-card,.catalog-manager,.structured-items-editor,.structured-item-panel,.action-field,.library-note,.fake-url,.site-address,.revision-entry,.publication-entry,.publish-review-list) {
  background:var(--surface); border-color:var(--line); color:var(--ink);
}
body.vionze-theme :is(.account-strip small,.key-row small,.billing-row small,.notification-row small,.publication-entry small,.revision-entry small,.admin-table th,.admin-table td small,.library-block small,.library-note p,.action-field__help,.structured-items-editor__label small,.structured-item-panel__heading small,.structured-item-disclosure > summary i) { color:var(--muted); }
body.vionze-theme :is(.choice-link > span:first-child,.site-empty span,.benefit-list i,.help-card > span,.activity-mark,.badge) { background:var(--soft); color:var(--accent); }
body.vionze-theme :is(.admin-table td,.admin-table th,.admin-activity article,.notification-row,.form-actions,.publish-review-actions,.catalog-manager li,.publish-review-summary,.publish-review-summary div) { border-color:var(--line); }
body.vionze-theme .admin-table td { color:var(--ink); }
body.vionze-theme :is(.status,.admin-status) { background:#f3e6c7; color:#745217; }
body.vionze-theme :is(.admin-status.status-published,.admin-status.status-active,.success-icon) { background:#e2eddf; color:#27633f; }
body.vionze-theme :is(.admin-status.status-unpublished,.admin-status.status-expired) { background:#f6e4df; color:#953d2e; }
body.vionze-theme :is(.site-actions button[data-unpublish],.key-row button,.admin-row-actions button,.danger-button) { background:#f6e4df; color:#953d2e; border-color:#d8b5aa; }
body.vionze-theme .form-message { color:#953d2e; }
body.vionze-theme .form-message.success { color:#27633f; }
body.vionze-theme .key-output { background:var(--soft); border-color:var(--accent); }
body.vionze-theme .key-output code { color:var(--accent); }
body.vionze-theme .journey li { color:var(--muted); }
body.vionze-theme .journey li.active { background:var(--surface); border-color:var(--line); color:var(--ink); }
body.vionze-theme :is(.journey li b,.step-heading > span) { border-color:#bcb5a5; color:var(--accent); }
body.vionze-theme .journey li.active b { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
body.vionze-theme .journey li.done b { color:#27633f; border-color:#27633f; }
body.vionze-theme .goal-grid label > span { background:var(--surface); color:var(--ink); border-color:var(--line); }
body.vionze-theme .goal-grid input:checked + span { background:var(--soft); border-color:var(--accent); box-shadow:inset 4px 0 var(--accent); }
body.vionze-theme .style-card.active { border-color:var(--accent); box-shadow:0 0 0 3px var(--ui-accent-soft); }
body.vionze-theme .style-card .check { background:var(--accent); color:var(--on-accent); }
body.vionze-theme .live-preview-viewport { background:var(--soft); border-color:var(--line); }
body.vionze-theme .mobile-progress i { background:var(--accent); }
body.vionze-theme :is(.publish-review-warning,.publish-review-dialog .publish-review-warning) { background:var(--soft); color:var(--ink); border-color:var(--accent); }
body.vionze-theme :is(#creatorReviewDescription,.publish-review-summary dt,.publish-review-list ul,.publish-review-ready,.publish-review-ready span,.mobile-progress > span) { color:var(--muted); }
body.vionze-theme .publish-issue-message { color:#953f26; }
body.vionze-theme :is(.finish-modal,.modal) { background:#282c288c; }
body.vionze-theme :is(.catalog-editor-dialog,.publish-review-dialog)::backdrop { background:#282c288c; }
body.vionze-theme .selection-shell > h1 { font-size:clamp(46px,7vw,94px); }
body.vionze-theme .template-card { border-radius:4px; }
body.vionze-theme .template-card:hover { border-color:var(--accent); }
body.vionze-theme .guide h1 { font-size:clamp(42px,5vw,74px); }
body.vionze-theme .guide h2 { font-size:clamp(28px,3vw,38px); }
body.vionze-theme .page-footer { color:var(--muted); }

/* Editor: controles da aplicação, sem selecionar elementos do page-canvas. */
body.vionze-theme :is(.panel,.block-library,.inspector-form,.workspace-toolbar,.catalog-dialog-heading,.structured-item-disclosure,.structured-image-menu),body.vionze-theme.editor-shell-v2 .panel-heading { background:var(--surface); border-color:var(--line); color:var(--ink); box-shadow:none; }
body.vionze-theme :is(.workspace,.canvas-stage) { background:var(--soft); }
body.vionze-theme .canvas-stage { background-image:radial-gradient(#bcb5a5 1px,transparent 1px); background-size:22px 22px; }
body.vionze-theme .preview-frame { border-color:var(--line); box-shadow:0 12px 40px #282c2814; }
body.vionze-theme :is(.library-block,.library-block.is-present,.library-add,.library-icon,.variant-switcher,.variant-dots button,.image-upload,.block-background-control,.block-text-control,.uploaded-image-library,.photo-library,.structured-item-disclosure > summary,.structured-image-menu summary) { background:var(--surface); border-color:var(--line); color:var(--ink); }
body.vionze-theme :is(.library-block:hover,.library-add:hover,.structured-item-disclosure > summary:hover,.structured-item-disclosure[open] > summary,.structured-image-menu[open] summary) { background:var(--soft); color:var(--ink); border-color:var(--accent); }
body.vionze-theme .library-add[data-count]:not([data-count="0"])::after { background:var(--soft); color:var(--ink); }
body.vionze-theme :is(.variant-switcher > button,.variant-dots button.active) { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
body.vionze-theme :is(.variant-switcher > span,.action-field > label,.structured-items-editor__label span,.catalog-edit-item small) { color:var(--accent); }
body.vionze-theme :is(.catalog-detail-form [data-catalog-error],.workspace-toolbar .model-prototype-note) { color:#953f26; }
body.vionze-theme :is(.block-library,.inspector-form,.canvas-stage) { scrollbar-color:#bcb5a5 transparent; }
body.vionze-theme .block-toolbar button { background:var(--surface); color:var(--ink); border-color:var(--line); }
body.vionze-theme .block-toolbar > span { color:var(--on-accent); }
body.vionze-theme :is(.field input,.field textarea,.field select)[aria-invalid=true],body.vionze-theme :is(.field input,.field textarea,.field select).invalid { border-color:#953d2e; }
body.vionze-theme :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline:2px solid var(--accent); outline-offset:3px; box-shadow:0 0 0 4px var(--paper); }
body.vionze-theme .goal-grid input:focus-visible + span { outline:2px solid var(--accent); outline-offset:3px; box-shadow:0 0 0 4px var(--paper); }
@media(max-width:600px) {
  body.vionze-theme .portal-topbar { flex-wrap:wrap; padding-block:14px; gap:12px; }
  body.vionze-theme .portal-topbar nav { flex-wrap:wrap; gap:12px; }
  body.vionze-theme .access-shell { grid-template-columns:minmax(0,1fr); }
  body.vionze-theme .access-story h1 { font-size:clamp(42px,11vw,64px); }
}
@media(prefers-reduced-motion:reduce) {
  body.vionze-theme .access-form { animation:none; }
}
