/* v2.9.2 targeted fixes — settings/mobile, public scale/colors, compact add-on actions, dashboard polish */
:root{--v292-public-bg:#f7f9fc;--v292-public-soft:#f0f4f8;--v292-public-card:#fff;--v292-public-line:#dde5ee;--v292-public-text:#132238;--v292-public-muted:#68778d}
html[data-resolved-theme="dark"]{--v292-public-bg:#07111e;--v292-public-soft:#0a1625;--v292-public-card:#0d1a2a;--v292-public-line:#1e334d;--v292-public-text:#f3f7fd;--v292-public-muted:#9fb0c6}

/* Public pages: one coherent palette + slightly larger type + more useful width */
body.redesign-v290.guest-shell{background:var(--v292-public-bg)!important;color:var(--v292-public-text)!important}
body.redesign-v290.guest-shell .v24-main,body.redesign-v290.guest-shell .v25-public,body.redesign-v290.guest-shell .pricing-redesign-shell{background:var(--v292-public-bg)!important;color:var(--v292-public-text)!important}
body.redesign-v290.guest-shell .public-container{width:min(1380px,calc(100% - 48px))!important}
body.redesign-v290.guest-shell .public-section{background:var(--v292-public-bg)!important}
body.redesign-v290.guest-shell .public-section.soft{background:var(--v292-public-soft)!important}
body.redesign-v290.guest-shell .public-card,body.redesign-v290.guest-shell .public-plan,body.redesign-v290.guest-shell .pricing-redesign-card,body.redesign-v290.guest-shell .public-step,body.redesign-v290.guest-shell .public-payment,body.redesign-v290.guest-shell .feature2926-ai-agent,body.redesign-v290.guest-shell .request-flow-section,body.redesign-v290.guest-shell .provider-privacy-section,body.redesign-v290.guest-shell .fire-products-section,body.redesign-v290.guest-shell .features-two-panel,body.redesign-v290.guest-shell .supported-panels-redesign{background:var(--v292-public-card)!important;border-color:var(--v292-public-line)!important;color:var(--v292-public-text)!important}
body.redesign-v290.guest-shell :where(.public-section-head p,.public-card p,.public-step p,.public-plan li,.pricing-feature-list li,.features-power-grid p,.features-highlight-row p,.feature2926-ai-copy p,.pricing-redesign-head p){color:var(--v292-public-muted)!important}
body.redesign-v290.guest-shell .public-section-head h2{font-size:clamp(2rem,3vw,3rem)!important;line-height:1.15!important}
body.redesign-v290.guest-shell .public-section-head p{font-size:15px!important;line-height:1.75!important}
body.redesign-v290.guest-shell .public-card h3,body.redesign-v290.guest-shell .features-power-grid h3,body.redesign-v290.guest-shell .features-highlight-row h3{font-size:17px!important}
body.redesign-v290.guest-shell .public-card p,body.redesign-v290.guest-shell .features-power-grid p,body.redesign-v290.guest-shell .features-highlight-row p{font-size:13.5px!important;line-height:1.7!important}
body.redesign-v290.guest-shell .public-hero p,body.redesign-v290.guest-shell .features-hero-copy p{font-size:16px!important;line-height:1.8!important}
body.redesign-v290.guest-shell .public-hero h1{font-size:clamp(46px,4.7vw,72px)!important;max-width:12ch!important}
body.redesign-v290.guest-shell .features-hero-copy h1{font-size:clamp(44px,4.5vw,68px)!important;max-width:14ch!important}

/* Capability strip now supports Panel Tickets cleanly */
body.redesign-v290 .landing291-capability-strip>.public-container{grid-template-columns:repeat(5,minmax(0,1fr))!important}

/* Free trial label from admin plan.trial_days */
body.redesign-v290 .public-trial-badge{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;margin:0 0 10px!important;padding:6px 10px!important;border-radius:999px!important;background:color-mix(in srgb,#10b981 13%,var(--v292-public-card))!important;border:1px solid color-mix(in srgb,#10b981 28%,var(--v292-public-line))!important;color:#0a8f63!important;font-size:11px!important;font-weight:800!important;line-height:1.25!important}
html[data-resolved-theme="dark"] body.redesign-v290 .public-trial-badge{color:#72e2b5!important;background:rgba(16,185,129,.1)!important;border-color:rgba(16,185,129,.28)!important}
body.redesign-v290 .pricing-trial-badge{margin-top:2px!important}
body.redesign-v290 .register-trial-badge{display:block!important;color:#0a8f63!important;font-weight:800!important;margin:4px 0!important;font-size:10px!important}

/* Restore the old full footer, consistently */
body.redesign-v290 .public-footer-old{background:#172238!important;color:#c9d2e1!important;padding:46px 0 30px!important}
body.redesign-v290 .public-footer-old .public-footer-grid{display:grid!important;grid-template-columns:1.55fr repeat(3,minmax(0,1fr))!important;gap:42px!important}
body.redesign-v290 .public-footer-old .public-brand{color:#fff!important;display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important}
body.redesign-v290 .public-footer-old .public-footer-logo{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:#1389c7!important;color:#fff!important}
body.redesign-v290 .public-footer-old h4{color:#fff!important;font-size:14px!important;margin:0 0 12px!important}
body.redesign-v290 .public-footer-old p{color:#9eabc0!important;font-size:13px!important;line-height:1.75!important;max-width:460px!important}
body.redesign-v290 .public-footer-old a{color:#aebbd0!important;text-decoration:none!important;margin:9px 0!important;font-size:12.5px!important}
body.redesign-v290 .public-footer-old a:hover{color:#fff!important}
body.redesign-v290 .public-footer-old .public-footer-bottom{display:flex!important;justify-content:space-between!important;gap:20px!important;margin-top:30px!important;padding-top:20px!important;border-top:1px solid rgba(255,255,255,.1)!important;color:#8f9cb0!important;font-size:11px!important}

/* Settings: hard reset the layout that was overflowing / overlapping */
body.redesign-v290.route-settings .settings-form{width:min(100%,1320px)!important;max-width:1320px!important;margin-inline:auto!important;gap:16px!important}
body.redesign-v290.route-settings .settings-control-hero{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:24px!important;padding:24px 26px!important}
body.redesign-v290.route-settings .settings-control-hero h2{font-size:25px!important;line-height:1.2!important}
body.redesign-v290.route-settings .settings-control-hero p{font-size:12.5px!important;line-height:1.7!important;max-width:760px!important}
body.redesign-v290.route-settings .settings-workbench{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:16px!important;align-items:start!important;direction:ltr!important;width:100%!important;min-width:0!important}
body.redesign-v290.route-settings .settings-workbench>*{direction:rtl!important;min-width:0!important;width:100%!important}
html[dir="ltr"] body.redesign-v290.route-settings .settings-workbench>*{direction:ltr!important}
body.redesign-v290.route-settings .settings-control-nav{grid-column:2!important;grid-row:1 / span 30!important;position:sticky!important;top:64px!important;display:flex!important;flex-direction:column!important;overflow:visible!important;width:190px!important;padding:8px!important}
body.redesign-v290.route-settings .settings-control-nav button{width:100%!important;min-height:38px!important;font-size:11.5px!important;padding:8px 10px!important;justify-content:flex-start!important}
body.redesign-v290.route-settings .settings-workbench>[data-settings-section],body.redesign-v290.route-settings .settings-workbench>.section-pair{grid-column:1!important;grid-row:auto!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
body.redesign-v290.route-settings .settings-form .card{padding:20px!important;border-radius:18px!important}
body.redesign-v290.route-settings .settings-form .card-head h2{font-size:16px!important}
body.redesign-v290.route-settings .settings-form .card-head p{font-size:11.5px!important;line-height:1.65!important}
body.redesign-v290.route-settings .settings-form label{font-size:12px!important}
body.redesign-v290.route-settings .settings-form label small,body.redesign-v290.route-settings .settings-form .hint{font-size:10.5px!important;line-height:1.6!important}
body.redesign-v290.route-settings .settings-form input:not([type=checkbox]):not([type=radio]),body.redesign-v290.route-settings .settings-form select{min-height:42px!important;font-size:12px!important}
body.redesign-v290.route-settings .save-dock{position:sticky!important;bottom:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 12px!important}
body.redesign-v290.route-settings .save-dock .button{width:auto!important;min-width:180px!important}

/* Add-on pages: normal-sized buttons only, not giant/full-row actions */
body.redesign-v290.route-smart-assistant .assistant2921-page .button,body.redesign-v290.route-auto-publish .fire2919-page .button{width:auto!important;min-width:0!important;min-height:35px!important;height:auto!important;padding:7px 12px!important;border-radius:10px!important;font-size:10.5px!important;line-height:1.2!important;justify-content:center!important}
body.redesign-v290.route-smart-assistant .assistant2921-page .button.large,body.redesign-v290.route-auto-publish .fire2919-page .button.large{min-height:38px!important;padding:8px 14px!important;font-size:11px!important}
body.redesign-v290.route-smart-assistant .assistant2921-page .actions,body.redesign-v290.route-auto-publish .fire2919-page .actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-start!important}
body.redesign-v290.route-smart-assistant .assistant2921-page .actions>*,body.redesign-v290.route-auto-publish .fire2919-page .actions>*{width:auto!important;flex:0 0 auto!important}

/* Dashboard: subtle refresh, larger useful type, original composition */
body.redesign-v290.route-home .dash-command-hero{padding:30px!important;border-radius:24px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--ui-accent) 8%,var(--ui-surface)),var(--ui-surface))!important}
body.redesign-v290.route-home .dash-hero-copy h2{font-size:30px!important;line-height:1.15!important}
body.redesign-v290.route-home .dash-hero-copy p{font-size:12.5px!important;line-height:1.7!important;max-width:720px!important}
body.redesign-v290.route-home .dash-metrics-grid{gap:12px!important}
body.redesign-v290.route-home .dash-metric{min-height:105px!important;padding:18px!important;border-radius:18px!important}
body.redesign-v290.route-home .dash-metric small{font-size:10.5px!important}
body.redesign-v290.route-home .dash-metric strong{font-size:21px!important}
body.redesign-v290.route-home .dash-main-grid,body.redesign-v290.route-home .dash-bottom-grid{gap:14px!important}
body.redesign-v290.route-home .dash-chart-card,body.redesign-v290.route-home .dash-health,body.redesign-v290.route-home .dash-quick,body.redesign-v290.route-home .dash-bottom-grid>.card{border-radius:20px!important}

/* Auth forms: calmer status and no massive controls */
body.redesign-v290.route-login .public-auth-card,body.redesign-v290.route-register .public-auth-card{font-size:14px!important}
body.redesign-v290 .public-auth-card button[disabled]{opacity:.7!important;cursor:wait!important;transform:none!important}

@media(max-width:980px){
  body.redesign-v290 .landing291-capability-strip>.public-container{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.redesign-v290.route-settings .settings-workbench{grid-template-columns:1fr!important;direction:inherit!important}
  body.redesign-v290.route-settings .settings-workbench>*{direction:inherit!important}
  body.redesign-v290.route-settings .settings-control-nav{grid-column:1!important;grid-row:auto!important;position:sticky!important;top:54px!important;width:100%!important;display:flex!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;z-index:20!important;padding:7px!important}
  body.redesign-v290.route-settings .settings-control-nav button{width:auto!important;flex:0 0 auto!important;min-width:max-content!important}
  body.redesign-v290.route-settings .settings-workbench>[data-settings-section],body.redesign-v290.route-settings .settings-workbench>.section-pair{grid-column:1!important;width:100%!important;max-width:100%!important}
  body.redesign-v290.route-settings .settings-control-hero{align-items:flex-start!important;flex-direction:column!important}
}
@media(max-width:680px){
  body.redesign-v290.guest-shell .public-container{width:min(100% - 22px,1380px)!important}
  body.redesign-v290 .landing291-capability-strip>.public-container{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.redesign-v290 .landing291-capability-strip>.public-container>div:last-child{grid-column:1/-1!important}
  body.redesign-v290 .public-footer-old .public-footer-grid{grid-template-columns:1fr 1fr!important;gap:26px 18px!important}
  body.redesign-v290 .public-footer-old .public-footer-about{grid-column:1/-1!important}
  body.redesign-v290 .public-footer-old .public-footer-bottom{flex-direction:column!important;align-items:flex-start!important}
  body.redesign-v290.route-settings .settings-control-hero{padding:18px!important}
  body.redesign-v290.route-settings .settings-control-hero h2{font-size:22px!important}
  body.redesign-v290.route-settings .settings-control-hero p{font-size:11.5px!important}
  body.redesign-v290.route-settings .settings-form .card{padding:15px!important;overflow:hidden!important}
  body.redesign-v290.route-settings .settings-form .grid.two,body.redesign-v290.route-settings .settings-form .grid.three,body.redesign-v290.route-settings .settings-form .grid.four{grid-template-columns:minmax(0,1fr)!important}
  body.redesign-v290.route-settings .settings-form label,body.redesign-v290.route-settings .settings-form input,body.redesign-v290.route-settings .settings-form select,body.redesign-v290.route-settings .settings-form textarea{min-width:0!important;max-width:100%!important;width:100%!important}
  body.redesign-v290.route-settings .save-dock{position:static!important;flex-direction:column!important;align-items:stretch!important}
  body.redesign-v290.route-settings .save-dock .button{width:100%!important;min-width:0!important}
  body.redesign-v290.route-smart-assistant .assistant2921-page .actions>*,body.redesign-v290.route-auto-publish .fire2919-page .actions>*{width:auto!important;max-width:100%!important}
  body.redesign-v290.route-smart-assistant .assistant2921-page .button,body.redesign-v290.route-auto-publish .fire2919-page .button{width:auto!important;max-width:100%!important}
}

/* Theme-specific public color lock: prevents old page-specific navy/white blocks from leaking through. */
html[data-resolved-theme="light"] body.redesign-v290.guest-shell .v25-public,
html[data-resolved-theme="light"] body.redesign-v290.guest-shell .v25-public>main,
html[data-resolved-theme="light"] body.redesign-v290.guest-shell .pricing-redesign-shell,
html[data-resolved-theme="light"] body.redesign-v290.guest-shell .public-section{background:#f7f9fc!important;color:#132238!important}
html[data-resolved-theme="light"] body.redesign-v290.guest-shell .public-section.soft{background:#f0f4f8!important}
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .v25-public,
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .v25-public>main,
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .pricing-redesign-shell,
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .public-section{background:#07111e!important;color:#f3f7fd!important}
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .public-section.soft{background:#0a1625!important}
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .public-card,
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .public-plan,
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .pricing-redesign-card,
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .public-step,
html[data-resolved-theme="dark"] body.redesign-v290.guest-shell .public-payment{background:#0d1a2a!important;border-color:#1e334d!important;color:#f3f7fd!important}
