/* Official 2026 identity. This shared layer only changes presentation. */
body {
  --blue: var(--rota-mint); --cyan: var(--rota-mint); --red: #20A995;
  --ui-bg: #F3F7F6; --ui-surface: #FFFFFF; --ui-soft: #EAF2F0;
  --ui-text: #0D1722; --ui-muted: #536B70; --ui-line: #CDDDDA;
  --ui-accent: #007567; --ui-rose: #A82C43; --ui-grid: #00756709;
  --ui-highlight: #FFFFFFCC;
  font-family: var(--rota-font);
}
body[data-theme="dark"], body.landing-redesign {
  --ui-bg: #0D1722; --ui-surface: #14212B; --ui-soft: #1B2D36;
  --ui-text: #F4FAF9; --ui-muted: #A2B6BB; --ui-line: #2A4048;
  --ui-accent: #4FFFE2; --ui-rose: #F4A4B0; --ui-grid: #4FFFE20B;
  --ui-highlight: #FFFFFF08;
}
body[data-theme] {
  --bg: var(--ui-bg); --panel: var(--ui-surface); --panel-strong: var(--ui-soft);
  --surface: var(--ui-surface); --surface-soft: var(--ui-soft);
  --text: var(--ui-text); --muted: var(--ui-muted); --line: var(--ui-line);
  --line-strong: var(--ui-accent);
  background: var(--ui-bg); color: var(--ui-text);
}
body :is(h1,h2,h3,h4,h5,h6) { font-family: var(--rota-display-font); letter-spacing: 0; }
body :is(button,input,select,textarea) { font-family: var(--rota-font); }
body :focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
body[data-theme] .plan-change-modal { padding: 20px; overflow-y: auto; }
body[data-theme] .plan-change-card {
  width: min(100%, 540px); max-height: calc(100dvh - 40px); overflow-y: auto;
  padding: 30px; border-radius: 8px; border-color: var(--ui-line);
  border-top: 3px solid var(--ui-accent); background: var(--ui-surface); color: var(--ui-text);
}
body[data-theme] .plan-change-card:focus { outline: none; }
body[data-theme] .plan-change-card > span { color: var(--ui-accent); font-weight: 600; }
body[data-theme] .plan-change-card h3 { color: var(--ui-text); font-size: 24px; line-height: 1.3; }
body[data-theme] .plan-change-card :is(p,small) { color: var(--ui-muted); font-size: 13px; }
body[data-theme] .plan-change-card small { border-color: var(--ui-line); font-size: 12px; }
body[data-theme] .plan-change-price { margin: 18px 0; color: var(--ui-text); font-size: 32px; font-weight: 650; line-height: 1.3; }
body[data-theme] .plan-change-price span { color: var(--ui-muted); font-size: 14px; font-weight: 400; }
body[data-theme] .plan-change-comparison { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 14px; padding: 18px 0; margin: 0; border-block: 1px solid var(--ui-line); }
body[data-theme] .plan-change-comparison dt { color: var(--ui-muted); font-size: 11px; line-height: 1.5; }
body[data-theme] .plan-change-comparison dd { color: var(--ui-accent); font-size: 18px; font-weight: 600; margin: 7px 0 0; }
body[data-theme] .plan-change-card .plan-change-generation { margin: 10px 0 18px; font-size: 11px; }
body[data-theme] .plan-change-card .plan-change-gain { margin: 0 0 16px; color: var(--ui-text); font-weight: 550; }
body[data-theme] .plan-change-close { color: var(--ui-muted); background: var(--ui-soft); border-color: var(--ui-line); }
body[data-theme] .plan-change-actions .primary-button { color: #0D1722; background: #4FFFE2; border-color: #4FFFE2; box-shadow: none; text-shadow: none; }
body[data-theme] .plan-change-actions .primary-button:hover { background: #8CFFEB; border-color: #8CFFEB; }
body[data-theme] .plan-change-actions .secondary-button { color: var(--ui-text); background: var(--ui-soft); border-color: var(--ui-line); box-shadow: none; }
body[data-theme] .plan-change-actions > * { font-size: 13px; }
body[data-theme] .plan-dialog-heading { text-align: center; padding: 0 22px; }
body[data-theme] .plan-dialog-heading > span { display: block; color: var(--ui-muted); font-size: 11px; font-weight: 600; }
body[data-theme] .plan-dialog-heading h3 { margin: 10px 0 0; }
body[data-theme] .plan-dialog-heading .plan-change-price { color: var(--ui-accent); margin: 10px 0 16px; }
body[data-theme] .plan-dialog-mark { display: block; margin: 0 auto 16px; object-fit: contain; }
body[data-theme] .plan-dialog-badge { display: inline-block; margin: 0 0 14px; color: var(--ui-accent); font-size: 11px; font-style: normal; font-weight: 650; }
body[data-theme] .plan-change-card .plan-dialog-inherits { color: var(--ui-accent); font-weight: 600; padding-block: 10px; border-block: 1px solid var(--ui-line); margin: 0 0 16px; }
body[data-theme] .plan-change-card .plan-dialog-reason { color: var(--ui-text); border-left: 2px solid var(--ui-accent); padding-left: 12px; margin: 0 0 18px; }
body[data-theme] .plan-dialog-benefits { display: grid; gap: 9px; list-style: none; padding: 0; margin: 18px 0; }
body[data-theme] .plan-dialog-benefits li { position: relative; padding-left: 25px; font-size: 13px; line-height: 1.5; color: var(--ui-text); }
body[data-theme] .plan-dialog-benefits li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; background: var(--ui-accent); mask: url('/icons/check.svg') center / contain no-repeat; }
body[data-theme] .plan-dialog-limits { border-block: 1px solid var(--ui-line); margin: 16px 0; padding: 10px 0; }
body[data-theme] .plan-dialog-limits summary { font-size: 12px; color: var(--ui-muted); cursor: pointer; }
body[data-theme] .plan-dialog-limits p { margin: 10px 0 0; font-size: 12px; }
body[data-theme] .plan-change-card #planChangeDescription { margin: 14px 0; font-size: 12px; line-height: 1.6; }
body[data-theme] .plan-change-card > small { margin: 12px 0; padding-top: 12px; font-size: 11px; line-height: 1.6; }
body[data-theme] .plan-change-card .plan-dialog-note { font-size: 12px; }
body[data-theme] .plan-change-actions { margin-top: 18px; }
@media (max-width: 560px) {
  body[data-theme] .plan-change-modal { padding: 12px; }
  body[data-theme] .plan-change-card { padding: 22px; max-height: calc(100dvh - 24px); }
  body[data-theme] .plan-change-card h3 { font-size: 22px; }
  body[data-theme] .plan-change-comparison { gap: 10px; }
  body[data-theme] .plan-change-comparison dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .plan-change-modal { transition: none; } }
body[data-theme] :is(.mining-heading,.mining-workspace,.plugin-workspace) {
  --work-bg: var(--ui-surface); --work-soft: var(--ui-soft); --work-text: var(--ui-text);
  --work-muted: var(--ui-muted); --work-line: var(--ui-line); --work-accent: var(--ui-accent);
  --work-selected: color-mix(in srgb,var(--ui-accent) 10%,var(--ui-surface));
  --work-grid: var(--ui-grid); --work-highlight: var(--ui-highlight);
}
body[data-theme] .app-shell { --finish-accent: var(--ui-accent); }
body[data-theme] .app-shell .sidebar { background: #0D1722; border-color: #2A4048; }
body[data-theme] .app-shell .nav-item.active { color: #FFFFFF; background: #193934; border-color: #2F6259; box-shadow: inset 2px 0 #4FFFE2; }
body[data-theme] .app-shell .nav-item.active::before { background: #4FFFE2; }
body[data-theme] .app-shell .nav-item.active .nav-icon { color: #4FFFE2; }
body[data-theme] .app-shell .sidebar-panel { border-color: #2A4048; }
body[data-theme] .profile-button { background: #4FFFE2; color: #0D1722; border-color: #4FFFE2; box-shadow: none; }
body[data-theme] .profile-button span { color: #0D1722; }
body[data-theme] .app-shell .primary-button:not(:disabled), body[data-theme] .workspace-send,
#authScreen .auth-submit {
  background: #4FFFE2; border-color: #4FFFE2; color: #0D1722;
  box-shadow: none; text-shadow: none;
}
body[data-theme] .app-shell .primary-button:hover:not(:disabled), body[data-theme] .workspace-send:hover:not(:disabled),
#authScreen .auth-submit:hover { background: #8CFFEB; border-color: #8CFFEB; color: #0D1722; box-shadow: none; }
body[data-theme] .workspace-send img { filter: brightness(0); }
body[data-theme] .app-shell :is(.agent-usage-fill,.agent-usage-progress > span,.agent-usage-track > span) { background: var(--ui-accent); box-shadow: none; }
body[data-theme] .app-shell :is(.agent-usage-track,.agent-usage-progress) { border-color: var(--ui-line); background: var(--ui-soft); }
body[data-theme] .top-usage i { background: var(--ui-soft); box-shadow: inset 0 0 0 1px var(--ui-line); }
body[data-theme] .top-usage i b { background: var(--ui-accent); min-width: 0; box-shadow: none; }
body[data-theme] .top-usage.is-blocked :is(span,strong) { color: var(--ui-rose); }
body[data-theme] .top-usage.is-blocked i b { background: var(--ui-rose); }
body[data-theme] .background-grid { background-image: linear-gradient(var(--ui-grid) 1px,transparent 1px),linear-gradient(90deg,var(--ui-grid) 1px,transparent 1px); }
body[data-theme] .app-shell :is(.secondary-button,.ghost-button) { border-color: var(--ui-line); background: var(--ui-soft); color: var(--ui-text); box-shadow: none; }
body[data-theme] .app-shell :is(.secondary-button,.ghost-button):hover { border-color: var(--ui-accent); }
body[data-theme] .research-header::before { background: #4FFFE2; }
body[data-theme] .research-header { background: color-mix(in srgb,var(--ui-accent) 5%,var(--ui-surface)); }
body[data-theme] .research-quota-notice { border-color: var(--ui-rose); }
body[data-theme] .research-quota-notice .research-text-button { display: block; width: fit-content; margin-top: 8px; padding: 0; color: var(--ui-accent); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body[data-theme] .research-board-header { border-top-color: var(--ui-accent); }
body[data-theme] .research-stepper [aria-current] > span { background: #4FFFE2; border-color: #4FFFE2; color: #0D1722; }
body[data-theme] .research-step-final.is-current { color: var(--ui-accent); }
body[data-theme] .tone-blue { --tone: var(--ui-accent); }
body[data-theme] .tone-rose { --tone: #BC8DDB; }
body[data-theme] .research-choices .research-specialty-choice { border-color: var(--ui-accent); box-shadow: inset 0 0 0 1px var(--ui-accent); }
body[data-theme] .research-choices .research-specialty-choice::after { background: #4FFFE2; color: #0D1722; }
body[data-theme] :is(.research-choices,.plugin-language,.plugin-visual-choices) input,
body[data-theme] .research-progress progress, body[data-theme] .hotmart-range input { accent-color: var(--ui-accent); }
body[data-theme] .plugin-tab { --agent-accent: var(--ui-accent) !important; }
body[data-theme] .plugin-tab .nav-lock { color: var(--ui-muted); filter: none; }
body[data-theme] #agentQuotaUpgrade[hidden] { display: none; }
body[data-theme] .plugin-workspace { --active-agent: var(--ui-accent) !important; }
body[data-theme] :is(.research-header-art,.plugin-agent-art,.plugin-illustration img,.library-empty > img,.research-empty-results > img) {
  padding: 9px; border-radius: 8px; background: #4FFFE2; filter: none;
  box-sizing: border-box; object-fit: contain;
}
body[data-theme] .plugin-workspace .plugin-agent-art { width: 44px; height: 44px; flex-basis: 44px; padding: 10px; border-radius: 8px; background: #4FFFE2; }
body[data-theme] .plugin-illustration { width: 120px; margin-bottom: 22px; }
body[data-theme] .plugin-illustration img { padding: 30px; }
body[data-theme] :is(.library-empty > img,.research-empty-results > img) { width: 100px; height: 100px; padding: 26px; }
body[data-theme] .app-shell :is(.hotmart-preview-price,.hotmart-range output,.eyebrow) { color: var(--ui-accent); }
body[data-theme] .app-shell .hotmart-code-card { border-top-color: var(--ui-accent); }
body[data-theme] .app-shell .hotmart-tab.active { background: var(--ui-soft); color: var(--ui-accent); border-color: var(--ui-accent); }
.brand img, .sidebar img, .site-footer img, .boot-logo, .auth-logo { filter: none !important; }
.boot-screen { background: #0D1722; }
.boot-card #bootStatus { text-align: center; }
.boot-card #bootRetry { color: #0D1722 !important; }
.boot-mark, .boot-progress span { background: #4FFFE2; }
body[data-theme] .sidebar-toggle { background: #18322E; color: #4FFFE2; border-color: #2F6259; box-shadow: none; }
body[data-theme] .sidebar-toggle span { border-color: #4FFFE2; }
body[data-theme] .hotmart-segmented { background: var(--ui-soft); }
/* The authentic interface capture replaces the retired 3D logo mockup. */
#authScreen { background: #0D1722; color: #F4FAF9; }
#authScreen .auth-hero { background: #0D1722; }
#authScreen .auth-hero::before, #authScreen .auth-hero::after { display: none; }
#authScreen .auth-generated-dashboard {
  left: 50%; width: 90%; max-height: 66vh; height: auto; object-fit: contain;
  transform: translate(-50%,-50%); filter: none; opacity: 1; animation: none;
  border: 1px solid #2A4048; border-radius: 8px; box-shadow: 0 22px 50px #00000033;
}
#authScreen .auth-panel { background: #14212B; border-color: #2A4048; box-shadow: none; align-content: safe center; }
#authScreen .auth-form input { background: #0D1722; color: #FFFFFF; border-color: #3B545C; }
#authScreen .auth-form input:focus { border-color: #4FFFE2; }
#authScreen .auth-form :is(.auth-link,.auth-forgot-link), #authScreen .auth-legal a:hover { color: #4FFFE2; }
@media (min-width: 861px) and (max-height: 800px) {
  #authScreen .auth-panel { padding: 32px 48px; }
  #authScreen .auth-panel-logo { width: 260px; margin-bottom: 20px; }
  #authScreen .auth-form { padding: 0; }
  #authScreen .auth-form h2 { font-size: 40px; }
  #authScreen .auth-form > p { margin-bottom: 24px; font-size: 17px; }
  #authScreen .auth-form label { margin-bottom: 14px; }
  #authScreen .auth-form input, #authScreen .auth-submit { min-height: 56px; }
}
.plan-gate-modal .gate-popup-visual, .plan-gate-lock-img { display: none; }
.plan-gate-modal .rota-gate-card { background: var(--ui-surface); border-color: var(--ui-line); box-shadow: 0 24px 70px #00000033; }
.plan-gate-modal .gate-brand-panel { background: #0D1722; border-color: #2A4048; display: flex; align-items: center; justify-content: center; }
.plan-gate-modal .gate-brand-panel > img { width: min(85%,260px); height: auto; filter: none; }
.plan-gate-modal .gate-copy-panel { background: var(--ui-surface); color: var(--ui-text); }
.plan-gate-modal .gate-copy-panel :is(h3,p) { color: var(--ui-text); }
.plan-gate-modal .gate-benefits span { color: var(--ui-accent); background: var(--ui-soft); border-color: var(--ui-line); }
/* Shared plan cards keep the same prices, copy, ordering and disabled states. */
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card) {
  --plan-bg: var(--ui-surface); --plan-text: var(--ui-text); --plan-muted: var(--ui-muted);
  --plan-line: var(--ui-line); --plan-accent: var(--ui-accent); --plan-soft: var(--ui-soft); --plan-red: var(--ui-accent);
  background: var(--ui-surface); border-color: var(--ui-line); box-shadow: inset 0 3px #2F6259;
}
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card).featured {
  background: linear-gradient(155deg,#4FFFE20A,transparent 50%),var(--ui-surface);
  border-color: var(--ui-accent); box-shadow: inset 0 3px var(--ui-accent);
}
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card) > em {
  border-color: var(--ui-line); background: var(--ui-soft); color: var(--ui-accent);
}
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card).featured > em { border-color: var(--ui-accent); background: var(--ui-soft); color: var(--ui-accent); }
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card) > :is(a,.plan-choice-button):not(:disabled) {
  background: var(--ui-soft); color: var(--ui-text); border-color: var(--ui-line); box-shadow: none;
}
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card) > :is(a,.plan-choice-button):not(:disabled):hover { border-color: var(--ui-accent); background: var(--ui-soft); }
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card).featured > :is(a,.plan-choice-button):not(:disabled) {
  background: #4FFFE2; border-color: #4FFFE2; color: #0D1722; box-shadow: none;
}
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card).featured > :is(a,.plan-choice-button):not(:disabled):hover { background: #8CFFEB; border-color: #8CFFEB; }
body[data-theme] .app-shell .landing-plan-card.current { border-color: var(--ui-accent); box-shadow: inset 0 3px var(--ui-accent); }
body[data-theme] .app-shell .landing-plan-card.current > em { color: var(--ui-accent); border-color: var(--ui-accent); background: var(--ui-soft); }
:is(.landing-redesign,body[data-theme] .app-shell) :is(.price-card,.landing-plan-card).featured,
body[data-theme] .plan-change-card.is-scale {
  border-color: color-mix(in srgb,var(--ui-accent) 84%,var(--ui-text));
  box-shadow: inset 0 3px var(--ui-accent),0 0 0 1px color-mix(in srgb,var(--ui-accent) 20%,transparent),0 0 18px color-mix(in srgb,var(--ui-accent) 14%,transparent);
}
/* Landing: restrained mint details across the existing composition. */
body.landing-redesign {
  --bg: #0D1722; --panel: #14212B; --panel-2: #1B2D36; --text: #F4FAF9;
  --muted: #A2B6BB; --line: #2A4048; --line-strong: #4FFFE2;
  background: #0D1722; color: #F4FAF9;
}
.landing-redesign .site-header, .landing-redesign .site-header.is-scrolled, .landing-redesign .site-header.menu-is-open { background: #0D1722; border-bottom-color: #2A4048; }
.landing-redesign .brand img, .landing-redesign .footer-brand img { width: 180px; height: 42px; object-fit: contain; object-position: left center; }
.landing-redesign .hero-panel { background: #0D1722; }
.landing-redesign > main, .landing-redesign .section { background-color: #0D1722; }
.landing-redesign .hero-panel::before { background-image: linear-gradient(to right,#4FFFE212 1px,transparent 1px),linear-gradient(to bottom,#4FFFE212 1px,transparent 1px); }
.landing-redesign .hero-panel::after { background: radial-gradient(ellipse at 50% 45%,#0D172200 28%,#0D17228C 66%,#0D1722FA 100%); }
.landing-redesign :is(h1,h2,h3) .headline-highlight { background: none; color: #4FFFE2; -webkit-text-fill-color: #4FFFE2; }
.landing-redesign .hero-copy .status-chip, .landing-redesign .section .section-kicker { color: #AEF4E7; border-color: #4FFFE238; background: #4FFFE208; }
.landing-redesign .hero-copy .status-chip::before { background: #4FFFE2; box-shadow: 0 0 0 4px #4FFFE214; }
.landing-redesign :is(.hero-actions,.closing-card) .primary-button,
.landing-redesign .site-header .header-plans {
  color: #0D1722; background: #4FFFE2; border-color: #4FFFE2;
  box-shadow: inset 0 1px #FFFFFF66,0 4px 24px #4FFFE218; text-shadow: none;
}
.landing-redesign :is(.hero-actions,.closing-card) .primary-button:hover,
.landing-redesign .site-header .header-plans:hover { color: #0D1722; background: #8CFFEB; border-color: #8CFFEB; box-shadow: 0 4px 24px #4FFFE218; }
.landing-redesign .site-header .header-signin { background: transparent; color: #F4FAF9; border-color: #2A4048; }
.landing-redesign .site-header .header-signin:hover { background: #14212B; border-color: #4FFFE2; }
.landing-redesign .site-header .section-menu a:hover { color: #4FFFE2; background: #4FFFE209; }
.landing-redesign .site-header .section-menu-button { color: #FFFFFF; background: #14212B; border-color: #2A4048; }
.landing-redesign .flow-node { background: #14292E; border-color: #3A625F; box-shadow: none; }
.landing-redesign .flow-node svg { stroke: #8EE6D5; }
.landing-redesign .flow-node-three { background: #1A3B37; border-color: #4FFFE2; }
.landing-redesign .flow-node-five { background: #152C30; border-color: #3A625F; }
.landing-redesign .flow-link { color: #366359; }
.landing-redesign .flow-link::after { background: #4FFFE2; }
.landing-redesign :is(.brief-block-grid article,.refined-function-grid article,.audience-card) { background: #14212B; border-color: #2A4048; box-shadow: inset 0 1px #FFFFFF06; }
.landing-redesign .brief-block-grid article:nth-child(3) { border-top-color: #4FFFE2; box-shadow: inset 0 2px #4FFFE2; }
.landing-redesign :is(.icon-image,.audience-map-icon,.audience-card img) { filter: brightness(0) saturate(100%) invert(91%) sepia(39%) saturate(818%) hue-rotate(94deg) brightness(105%) contrast(101%); padding: 8px; object-fit: contain; }
.landing-redesign .audience-role-panel img { filter: brightness(0) saturate(100%) invert(91%) sepia(39%) saturate(818%) hue-rotate(94deg) brightness(105%) contrast(101%); mix-blend-mode: normal; }
.landing-redesign .system-feature figure { border-color: #2A4048; background: #0D1722; box-shadow: none; }
.landing-redesign .system-feature .system-icon { width: 44px; height: 44px; }
.landing-redesign :is(.section::before,.mini-bar,.feature-line) { background: #4FFFE2; }
.landing-redesign .closing-card { border-color: #2A4048; border-top-color: #4FFFE2; background: #14212B; box-shadow: none; }
.landing-redesign .closing-card > img { filter: none; }
.landing-redesign .faq-grid details { border-color: #2A4048; background: #14212B; }
.landing-redesign .site-footer { background: #0D1722; border-color: #2A4048; }
body:has(.legal-main) { color: #F4FAF9; background: #0D1722; }
.legal-header, .legal-main section, .legal-footer { border-color: #2A4048; }
.legal-main > span, .legal-main a { color: #4FFFE2; }
.legal-main h1 { font-size: 48px; }
@media (max-width: 600px) { .legal-main h1 { font-size: 34px; overflow-wrap: anywhere; } }
@media (max-width: 800px) { body[data-theme] .research-header-art { padding: 5px; } }
@media (max-width: 760px) {
  .landing-redesign .site-header .section-menu { background: #0D1722; border-color: #2A4048; }
  .landing-redesign .brand img { width: 148px; height: 35px; }
}
@media (prefers-reduced-motion: reduce) { .auth-generated-dashboard { animation: none !important; } }
@media (forced-colors: active) { .landing-redesign :is(h1,h2,h3) .headline-highlight { color: CanvasText; -webkit-text-fill-color: CanvasText; } }
