/* Presentation tokens apply last; the existing responsive layout is preserved. */
html[data-camufla-theme],html[data-camufla-theme] .sales-page,html[data-camufla-theme] .commerce-surface{
  --bg:var(--custom-background)!important;--panel:var(--custom-surface)!important;--panel-raised:var(--custom-raised)!important;--raised:var(--custom-raised)!important;
  --border:var(--custom-border)!important;--border-soft:color-mix(in srgb,var(--custom-border) 65%,transparent)!important;--line:var(--custom-border)!important;--soft-line:color-mix(in srgb,var(--custom-border) 65%,transparent)!important;
  --text:var(--custom-text)!important;--muted:var(--custom-muted)!important;--soft:var(--custom-muted)!important;--dim:var(--custom-muted)!important;--silver:var(--custom-primary)!important;--accent:var(--custom-primary)!important;
  --danger:var(--custom-danger)!important;--success:var(--custom-success)!important;
  --v-bg:var(--custom-background)!important;--v-panel:var(--custom-surface)!important;--v-line:var(--custom-border)!important;--v-text:var(--custom-text)!important;--v-muted:var(--custom-muted)!important}
html[data-camufla-theme] body{background-color:var(--custom-background)!important;color:var(--custom-text)!important}
html[data-camufla-theme] :is(.sidebar,.commerce-sidebar,.topbar,.commerce-topbar,.public-topbar,.v-header,.v-mobile-menu,.mobile-navigation,.auth-panel,.commerce-dialog,.user-menu-popover,.consent-banner){background:var(--custom-surface)!important;border-color:var(--custom-border)!important;color:var(--custom-text)!important}
html[data-camufla-theme] :is(.editor-panel,.preview-panel,.text-card,.text-image-stage,.media-preview-panel,.media-image-stage,.panel,.metric-card,.plan-card,.integration-card,.v-tool-card,.v-plan-card,.v-demo-panel,.v-mini-editor,.v-demo-settings,.v-small-card,.v-pricing-empty,.v-faq-list details,.v-workflow-steps>div,.v-comparison,.cover-generator,.cover-generator-body,.cover-admin-panel,.auth-art,.media-workspace .editor,.metadata-formats span){background-color:var(--custom-surface)!important;border-color:var(--custom-border)!important;color:var(--custom-text)!important}
html[data-camufla-theme] :is(.cover-generator,.workspace-label,.workspace-switch,.sidebar-note,.account-hero,.advanced-settings,.media-advanced,.upload-icon,.text-symbol,.media-hero-icon,.v-ai-visual,.v-demo-sculpture,.v-final-orbit,.auth-story){background:linear-gradient(135deg,var(--custom-raised),var(--custom-surface))!important;border-color:var(--custom-border)!important}
html[data-camufla-theme] :is(.upload-card,.media-upload,.profile,.format-option,.step,.workspace-avatar,.workspace-symbol,.avatar,.auth-mark,.pill,.preview-format,.preview-empty,.media-preview-label,.text-options,.text-image-settings,.cover-setup,.process-panel,.message,.result,.form-message,.notice,.badge,.provider-mark,.v-mini-toolbar,.v-mini-tag,.v-file-art,.v-text-art,.v-wave-art,.v-demo-toolbar,.v-demo-profile-label,.v-profile-switch,.v-plan-tag,.empty-icon,.mini-summary-icon,.activity-icon,.period-select){background-color:var(--custom-raised)!important;border-color:var(--custom-border)!important;color:var(--custom-text)!important}
html[data-camufla-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),select,textarea){background-color:var(--custom-background)!important;border-color:var(--custom-border)!important;color:var(--custom-text)!important}
html[data-camufla-theme] :is(input,textarea)::placeholder{color:var(--custom-muted)!important;opacity:.85}
html[data-camufla-theme] :is(input[type=checkbox],input[type=radio],input[type=range],progress){accent-color:var(--custom-primary)!important}
html[data-camufla-theme] :is(.primary-button,.cover-primary,.button.primary,.v-button-light,.v-skip,.skip-link){background:var(--custom-primary)!important;border-color:var(--custom-primary)!important;color:var(--custom-button-text)!important}
html[data-camufla-theme] :is(.primary-button,.cover-primary,.button.primary,.v-button-light):hover:not(:disabled){background:color-mix(in srgb,var(--custom-primary) 88%,var(--custom-text))!important;border-color:var(--custom-primary)!important;color:var(--custom-button-text)!important}
html[data-camufla-theme] :is(.primary-button,.cover-primary,.button.primary,.v-button-light):disabled{background:var(--custom-raised)!important;border-color:var(--custom-border)!important;color:var(--custom-muted)!important}
html[data-camufla-theme] :is(.button:not(.primary),.cover-secondary,.help-button,.choose-file,.outline-button,.menu-button,.icon-button,.v-button-outline,.v-comparison-controls button,.v-retry-button,.media-remove){background-color:var(--custom-raised)!important;border-color:var(--custom-border)!important;color:var(--custom-text)!important}
html[data-camufla-theme] :is(.nav-link,.sidebar-link,.v-desktop-nav a,.v-nav-login,.v-mobile-menu a,.auth-toplink,.auth-switch a,.text-link,.text-button,.v-text-link){color:var(--custom-text)!important}
html[data-camufla-theme] :is(.nav-link,.sidebar-link):hover{background:var(--custom-raised)!important;color:var(--custom-text)!important}
html[data-camufla-theme] :is(.nav-link.active,.sidebar-link.active,.section-tabs .active,.v-profile-switch button[aria-pressed=true]){background:color-mix(in srgb,var(--custom-primary) 13%,var(--custom-surface))!important;color:var(--custom-primary)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--custom-primary) 35%,var(--custom-border))!important}
html[data-camufla-theme] :is(.profile:has(input:checked),.format-option:has(input:checked),.provider-choice:has(input:checked)){background:color-mix(in srgb,var(--custom-primary) 8%,var(--custom-surface))!important;border-color:var(--custom-primary)!important}
html[data-camufla-theme] :is(.profile:has(input:checked) .radio-mark,.nav-dot,.status-dot,.v-live-dot,.usage-bar>span,.spinner,.v-comparison-line){border-color:var(--custom-primary)!important}
html[data-camufla-theme] :is(.nav-dot,.status-dot,.v-live-dot,.usage-bar>span,.profile:has(input:checked) .radio-mark){background-color:var(--custom-primary)!important}
html[data-camufla-theme] :is(.radio-mark,.profile-rule,.film-line,.sequence-block,.frame-corner,.empty-card,.frame,.v-mini-timeline,.v-mini-timeline>span,.v-screen-corners i,.v-comparison-line){border-color:var(--custom-border)!important}
html[data-camufla-theme] :is(.profile:has(input:checked) .mode-icon,.v-plan-features .v-icon,.plan-features .c-icon,.profile:has(input:checked) .profile-spec,.v-plan-tag,.v-ai-status,.v-demo-profile-label,.result-check){color:var(--custom-primary)!important}
html[data-camufla-theme] :is(.brand-light,.brand-lockup .light,.brand span span,.v-brand>span>span,.mobile-brand>span,.v-footer-wordmark>span){color:var(--custom-muted)!important}
html[data-camufla-theme] :is(h1,h2,h3,h4,h5,h6,strong,.v-price,.plan-price,.metric-value,.section-heading h3,.cover-generator summary,.v-mini-play,.cover-result strong,.cover-setup strong,.breadcrumbs strong,.breadcrumb strong){color:var(--custom-text)!important}
html[data-camufla-theme] :is(h1>span,.v-hero h1 span,.auth-story h1 span,.text-intro h1 span,.media-workspace h1 span){color:var(--custom-muted)!important}
html[data-camufla-theme] :is(.nav-caption,.sidebar-signature,.sidebar-mini,.workspace-label div>span,.workspace-switch small,.eyebrow,.v-eyebrow,.breadcrumb,.breadcrumbs,.service-badge,.hero-content>p,.hero-specs,.hero-edition,.project-status,.section-meta,.section-heading p,.upload-card label>span:not(.upload-icon):not(.choose-file),.upload-card small,.profile-desc,.profile-spec,.preset-info,.export-hint,.section-kicker,.export-summary strong>span,.meta,.range-label output,.settings-grid label,.checkbox-label,.preview-empty>p,.preview-placeholder-meta,.preview-meta,.sequence small,.timeline-note,.precision-note p,.preview-format,.workflow-content>p,.text-intro p,.text-card-heading p,.text-input-meta,.text-page-note,.text-image-footnote,.text-image-empty,.text-message,.text-options legend,.text-details,.local-note,.text-image-settings label,.media-aside-copy,.media-select-label,.media-preset-note,.media-preview-bottom,.media-storage-note,.metadata-scope,.cover-help,.cover-optional,.cover-generator summary small,.cover-generator-body>p,.cover-setup p,.cover-result span,.field-note,.auth-description,.auth-footnote,.auth-story-content>p,.auth-story-footer,.auth-switch,.page-heading p,.panel-head p,.panel-label,.muted,.dim,.metric-top,.metric-bottom,.plan-description,.plan-subprice,.pricing-note,.pricing-head p,.plan-features,.table-toolbar p,.data-table th,.panel-foot,.commerce-footer,.topbar-date,.notice p,.mini-summary-row p,.empty-state p,.settings-note,.security-list,.v-hero-copy>p,.v-hero-bottom,.v-hero-coordinate,.v-hero-signature,.v-section-heading p,.v-section-footnote,.v-tool-card p,.v-card-number,.v-mini-bottom,.v-demo-caption,.v-demo-explanation,.v-demo-toolbar,.v-control-copy>p,.v-comparison-controls,.v-ai-copy>p,.v-ai-status,.v-pricing-heading>p,.v-plan-copy,.v-plan-period,.v-plan-features,.v-pricing-fineprint,.v-faq-list details>p,.v-final-section p,.v-footer,.v-footer-bottom,.v-workflow-steps p){color:var(--custom-muted)!important}
html[data-camufla-theme] :is(.v-desktop-nav a:hover,.v-text-link:hover,.text-link:hover,.auth-switch a:hover){color:var(--custom-primary)!important}
html[data-camufla-theme] :is(.v-plan-featured,.plan-card.featured,.v-plan-featured:before){border-color:var(--custom-primary)!important}
html[data-camufla-theme] :is(.cover-help.is-error,.error,.bad,.danger,.button.danger,.form-message.error){color:var(--custom-danger)!important;border-color:color-mix(in srgb,var(--custom-danger) 50%,var(--custom-border))!important}
html[data-camufla-theme] :is(.good,.success,.form-message.success){color:var(--custom-success)!important;border-color:color-mix(in srgb,var(--custom-success) 50%,var(--custom-border))!important}
html[data-camufla-theme] :is(.profile-heading,.export-panel,.sequence-heading,.precision-note,.sidebar-signature,.text-options-divider,.text-card-heading,.text-input-meta,.cover-generator summary,.cover-generator-body,.cover-result,.panel-head,.panel-foot,.mini-summary-row,.data-table th,.data-table td,.table-toolbar,.integration-foot,.user-menu-info,.form-actions,.v-header,.v-footer-top,.v-footer-bottom,.v-section,.v-faq-list details,.v-spec-strip,.v-plan-top,.v-mini-toolbar,.v-timeline-head){border-color:var(--custom-border)!important}
html[data-camufla-theme] .hero-shade{background:linear-gradient(90deg,color-mix(in srgb,var(--custom-background) 92%,transparent),color-mix(in srgb,var(--custom-background) 65%,transparent) 32%,transparent 76%)!important}
html[data-camufla-theme] .workflow-shade{background:linear-gradient(90deg,var(--custom-background),color-mix(in srgb,var(--custom-background) 68%,transparent) 38%,transparent 90%)!important}
html[data-camufla-theme] .v-hero-shade{background:linear-gradient(90deg,color-mix(in srgb,var(--custom-background) 96%,transparent),color-mix(in srgb,var(--custom-background) 54%,transparent) 45%,transparent 80%),linear-gradient(0deg,var(--custom-background),transparent 24%)!important}
html[data-camufla-theme] .auth-art .frame{border-color:var(--custom-border)!important;background:linear-gradient(145deg,var(--custom-raised),var(--custom-background))!important}
html[data-camufla-theme] :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--custom-primary)!important}
html[data-camufla-theme] ::selection{background:var(--custom-primary);color:var(--custom-button-text)}
.personalized-logo{object-fit:contain;flex-shrink:0}
html[data-camufla-inspect=true] body :is(a,button,label,p,h1,h2,h3,h4,span,img,summary,input,textarea):hover{outline:1px dashed var(--custom-primary,var(--ui-fg-a8bfffff,#a8bfff));outline-offset:3px;cursor:crosshair!important}
html[data-camufla-preview=true] [data-personalization-editor]{display:none!important}
@media(prefers-reduced-motion:reduce){html[data-camufla-theme] *{scroll-behavior:auto}}

html[data-camufla-theme]{--primary:var(--custom-primary);--button-text:var(--custom-button-text)}html[data-camufla-theme] .plan-card.current-plan{border-color:var(--custom-primary)!important;border-width:2px;background:linear-gradient(135deg,var(--custom-raised),var(--custom-surface))!important}html[data-camufla-theme] .current-plan-pill,html[data-camufla-theme] .plan-card.current-plan>.button:disabled{background:var(--custom-primary)!important;color:var(--custom-button-text)!important;border-color:var(--custom-primary)!important}
