/* Earthlight visual layer. Access decisions remain with the existing gate. */
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] {
  --earth-glass: linear-gradient(145deg,rgba(40,109,162,.76),rgba(9,37,74,.91));
  --earth-line: rgba(177,231,255,.6);
  --carbi-hologram: none;
  --earth-background: linear-gradient(rgba(2,17,40,.22),rgba(2,20,45,.48)),url('/assets/carbi-earthlight-v1.png');
  background:#072446!important;
}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body {
  background-image:var(--earth-background)!important;
  background-size:cover!important;background-position:center!important;
  color:#f4f9ff!important;
}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body::before {display:none!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] .cag-page-shade {background:var(--earth-background) center/cover no-repeat!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 {
  background:var(--earth-background) center/cover no-repeat!important;
  color:#f4f9ff!important; padding: max(20px,env(safe-area-inset-top)) 20px calc(110px + env(safe-area-inset-bottom))!important;
}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 .cph-sky {max-width:940px!important}
.earth-header {display:flex;align-items:center;justify-content:space-between;max-width:940px;margin:0 auto}
.earth-symbol {width:94px;height:64px;object-fit:contain}
.earth-account {border:1px solid var(--earth-line);border-radius:99px;padding:12px 18px;background:rgba(15,50,85,.7);color:#fff;font:inherit;min-height:46px}
.earth-analyzer-hero {max-width:440px;margin:clamp(32px,7vh,80px) auto 30px;text-align:center}
.earth-eyebrow {letter-spacing:.16em;font-size:11px;font-weight:600;color:#d5ebff}
#carbi-premium-home-v3 .earth-analyzer-hero h1 {font-size:clamp(30px,6vw,43px)!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:18px 0 28px!important;color:#fff!important;text-shadow:0 2px 18px #09203a}
.earth-analyzer {width:100%;min-height:220px;border-radius:34px;border:1px solid #b2eaff;color:white;background:linear-gradient(140deg,rgba(38,160,239,.88),rgba(0,95,206,.87) 55%,rgba(12,81,156,.8));box-shadow:inset 0 1px 15px #93e9ff66,0 12px 38px #00193c88;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;cursor:pointer;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.earth-analyzer strong {font-size:36px;letter-spacing:-.035em}.earth-analyzer span {font-size:16px}
.earth-analyzer-hero>p:not(.earth-eyebrow) {font-size:16px;line-height:1.5;color:#f4f9ff;margin:20px 0}
.earth-input-actions {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.earth-input-actions button,.earth-talk {font:inherit;font-size:16px;color:#fff;min-height:56px;border:1px solid var(--earth-line);border-radius:18px;background:var(--earth-glass);padding:16px;cursor:pointer}
.earth-talk {margin-top:20px;width:100%;background:rgba(5,31,61,.8);border-color:transparent}
.earth-more {margin:26px auto 0;max-width:820px;border-top:1px solid #9ed6ee66;padding-top:18px}
.earth-more>summary {padding:15px;text-align:center;cursor:pointer;list-style-position:inside;color:#e4f5ff;font-size:16px}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 .cph-quick-card,
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 .cph-category,
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 .cph-emergency {background:var(--earth-glass)!important;border:1px solid var(--earth-line)!important;border-radius:20px!important;color:#fff!important;box-shadow:none!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 .cph-help-section h2 {background:transparent!important;color:#fff!important;font-size:22px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 .cph-bottom-nav {width:min(540px,calc(100% - 24px))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:max(10px,env(safe-area-inset-bottom))!important;border:1px solid var(--earth-line)!important;border-radius:26px!important;padding:8px!important;background:rgba(9,59,103,.94)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 6px 24px #001a36!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 .cph-bottom-nav button {border-radius:18px!important;background:transparent!important;color:#e5f5ff!important;min-height:58px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] #carbi-premium-home-v3 .cph-bottom-nav button.active {background:#12649b!important;color:white!important}
#carbi-premium-home-v3 #cph-tools-button {position:static!important;width:auto!important;height:auto!important;border-radius:14px!important;margin:22px auto!important;display:flex!important;padding:14px 24px!important;gap:8px!important}
#carbi-home-analyzer-entry-v1,#carbi-floating-mascot,.carbi-approved-home-mascot,.cph-robot {display:none!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(#carbi-access-gate,#cw-overlay,#carbi-visual-chat,#carbi-specialist-chat,#askcarbi-vision-panel) {background-image:var(--earth-background)!important;background-position:center!important;background-size:cover!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.cag-logo,.admin-logo) {font-size:0!important;color:transparent!important;background:transparent url('/assets/carbi-symbol-white-v1.svg') center/contain no-repeat!important;width:100px!important;height:68px!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.cag-logo,.admin-logo)::before,html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.cag-logo,.admin-logo)::after {display:none!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.cag-logo,.admin-logo)>* {visibility:hidden!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] .cw-orb img {content:url('/assets/carbi-symbol-white-v1.svg');width:82%!important;height:auto!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] .cw-orb {border:0!important;box-shadow:none!important;background:transparent!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] .cw-orb::before,html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] .cw-orb::after {display:none!important}
html[data-carbi-admin="true"] :is(.admin-card,.dashboard-header,.access-control,.free-access-control,.global-access-control,.metric,.table-card,.admin-table-wrap) {background:var(--earth-glass)!important;color:#f4f9ff!important;border:1px solid var(--earth-line)!important;box-shadow:0 12px 30px #021e3d55!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
html[data-carbi-admin="true"] :is(h1,h2,h3,p,small,label,th,td,.metric strong,.metric span) {color:#f4f9ff!important}
html[data-carbi-admin="true"] :is(input,select,textarea) {background:#12334f!important;color:#fff!important;border-color:#92c6df!important}
html[data-carbi-admin="true"] :is(table,th,td,thead,tbody) {background:#103452!important;border-color:#456c86!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.carbi-ai-avatar,.assistant .carbi-message-avatar,.csc-carbi .csc-message-avatar) {font-size:0!important;color:transparent!important;background:transparent url('/assets/carbi-symbol-white-v1.svg') center/90% auto no-repeat!important;border:0!important;box-shadow:none!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] .carbi-ai-avatar>* {visibility:hidden!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.awc-sheet,.avc-shell,.csc-shell,.ca-sheet,.cv-sheet,.cag-card,.cvc-shell,.carbi-assistant-shell,.carbi-screen-vision-panel,.carbi-tools-panel,.carbi-install-sheet,.carbi-language-card,.cam-card,.ccr-card,.cres-shell,#carbi-photo-help,#carbi-design-results,#clv-panel,.carbi-share-dialog) {background:var(--earth-glass)!important;border:1px solid var(--earth-line)!important;color:#f4f9ff!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.avc-body,.csc-messages,#csc-messages,.carbi-assistant-body) {background:rgba(6,30,60,.5)!important;color:#f4f9ff!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.avc-result,.avc-upload-card,.cag-hero) {background:rgba(12,49,87,.87)!important;color:#f4f9ff!important;border-color:var(--earth-line)!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.avc-header,.csc-header,.csc-composer) {background:rgba(8,38,70,.86)!important}
.carbi-share-dialog {width:min(500px,calc(100% - 28px));max-height:calc(100dvh - 40px);overflow:auto;border-radius:26px;padding:24px;font:16px/1.5 system-ui;color:#fff;background:#123c63;border:1px solid #b1dfff}
.carbi-share-dialog::backdrop {background:#00182ac9;backdrop-filter:blur(8px)}
.carbi-share-dialog h2 {font-size:25px;margin:16px 0}.carbi-share-preview img {display:block;max-width:100%;max-height:45vh;object-fit:contain;border-radius:16px;margin:auto}
.carbi-share-preview pre {white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:40vh;overflow:auto}
.carbi-share-preview label {display:flex;gap:12px;align-items:center;margin:16px 0}
.carbi-share-preview input {width:22px;height:22px}
.carbi-share-actions {display:grid;gap:10px}
.carbi-share-dialog button,.carbi-result-share-actions button {font:600 16px/1.4 system-ui;min-height:46px;padding:12px 18px;color:#fff;background:#125c98;border:1px solid #97ddff;border-radius:13px;cursor:pointer}
.carbi-result-share-actions {margin-top:14px;display:flex;gap:10px}
.carbi-message-row:has(>.carbi-result-share-actions) {flex-wrap:wrap}
.carbi-message-row>.carbi-result-share-actions {flex-basis:100%;margin-left:52px}
:is(.earth-analyzer,.earth-input-actions button,.earth-account,.earth-talk,.carbi-share-dialog button):focus-visible {outline:3px solid #fff;outline-offset:4px}
@media(max-width:600px) {.earth-analyzer-hero {margin-top:30px}.earth-analyzer {min-height:205px}.earth-symbol {width:80px;height:54px}}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto!important}}

html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] :is(.avc-backdrop,.csc-backdrop,.ca-backdrop,.cv-backdrop) {background:rgba(1,20,40,.25)!important}

/* Each full-screen surface owns its background; nested layers must not obscure it. */
html[data-carbi-design="earthlight"] body :is(#carbi-account-menu-panel,#carbi-account-panel,#carbi-verification-panel,#askcarbi-vision-panel,#csc-specialist-chat) {
  background:linear-gradient(#031a3930,#02173155),url('/assets/carbi-earthlight-v1.png') center/cover no-repeat!important;
}
html[data-carbi-design="earthlight"] body :is(#askcarbi-vision-panel .avc-shell,#csc-specialist-chat .csc-shell,.cvc-shell,.awc-sheet,#carbi-live-conversation,#carbi-photo-help,#carbi-design-results,.carbi-assistant-shell,.carbi-screen-vision-panel) {
  background:linear-gradient(135deg,#164a7770,#05234170),url('/assets/carbi-earthlight-v1.png') center/cover no-repeat!important;
  color:#f4faff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html[data-carbi-design="earthlight"] body #csc-specialist-chat :is(.csc-messages,#csc-messages),
html[data-carbi-design="earthlight"] body #askcarbi-vision-panel .avc-body {
  background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html[data-carbi-design="earthlight"] body :is(.cam-backdrop,.ca-backdrop,.cv-backdrop,.csc-backdrop,.avc-backdrop) {
  background:rgba(3,20,40,.14)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html[data-carbi-design="earthlight"] body #carbi-account-menu-panel .cam-card,
html[data-carbi-design="earthlight"] body :is(#carbi-account-panel .ca-sheet,#carbi-verification-panel .cv-sheet,#carbi-access-gate .cag-card) {
  background:linear-gradient(140deg,rgba(57,140,194,.38),rgba(5,35,71,.57))!important;
  border:1px solid rgba(199,238,255,.72)!important;
  box-shadow:inset 0 1px 0 #e7fbff88,0 18px 50px #00132766!important;
  backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important;
}
html[data-carbi-design="earthlight"] body :is(#carbi-account-menu-panel .cam-icon,#carbi-account-panel .ca-logo,#carbi-verification-panel .cv-logo) {
  background:transparent url('/assets/carbi-symbol-white-v1.svg') center/contain no-repeat!important;
  color:transparent!important;font-size:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  width:86px!important;height:62px!important;
}
html[data-carbi-design="earthlight"] body :is(.csc-header,.csc-composer,.avc-header,.carbi-chat-header) {
  background:rgba(6,35,67,.64)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
}
html[data-carbi-design="earthlight"] body :is(.avc-upload-card,.avc-result,.avc-notice,.carbi-message-bubble,#csc-specialist-chat .csc-message-bubble) {
  background:rgba(7,33,64,.76)!important;color:#f4faff!important;border:1px solid #a4dffa80!important;border-radius:22px!important;
}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer {
  border-radius:36px!important;border:1px solid #c0f1ff!important;
  background:linear-gradient(135deg,#42c8ff66,#087eff8c 48%,#00499666)!important;
  box-shadow:inset 0 1px 18px #c1f5ff70,0 12px 40px #001c4266,0 0 22px #00bbff40!important;
  backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important;
}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 :is(.earth-input-actions button,.earth-account,.earth-talk,.cph-bottom-nav) {
  border-radius:22px!important;background:linear-gradient(140deg,#398ec866,#07396aa6)!important;
  border:1px solid #c0eaff99!important;box-shadow:inset 0 1px 10px #b0eaff33!important;
  backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;
}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-input-actions button {display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-bottom-nav svg {width:25px;height:25px;display:block;margin:auto auto 5px}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-bottom-nav strong {font-size:12px!important;font-weight:500!important}
html[data-carbi-design="earthlight"] body #carbi-my-life-launch {display:none!important}
html[data-carbi-design="earthlight"] body #carbi-everywhere {bottom:calc(104px + env(safe-area-inset-bottom))!important}
html[data-carbi-design="earthlight"] body .carbi-result-share-actions button {font-size:14px!important;background:#13517f99!important;border-radius:14px!important}
@media(max-width:650px) {
  html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 {background-size:auto 180%!important;background-position:center 90%!important}
  html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-analyzer-hero {margin-top:64px!important}
}
/* Approved proportions and glass treatment override legacy component skins. */
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body {--earth-glass:linear-gradient(133deg,#68c5f073,#2567aa8a 42%,#0f437aab);--earth-background:linear-gradient(#001a3310,#001c4660),url('/assets/carbi-earthlight-v1.png')}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 {background-image:var(--earth-background)!important;background-position:82% bottom!important;background-size:auto 172%!important;padding:22px 18px 110px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-sky {max-width:940px!important;background:none!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-header {max-width:440px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-symbol {width:87px!important;height:58px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-account {border-radius:50%!important;padding:8px!important;min-height:42px!important;width:42px!important;background:transparent!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-analyzer-hero {margin:90px auto 0!important;max-width:440px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-analyzer-hero h1 {font:700 33px/1.15 Arial,sans-serif!important;letter-spacing:-1px!important;margin:0 0 20px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer {min-height:202px!important;border-radius:38px!important;background:linear-gradient(130deg,#258fdaa6,#0768e8a8 58%,#159ff077)!important;box-shadow:inset 0 2px 12px #9cf6ffc4,inset 0 -3px 13px #3ccfff70,0 0 22px #00b6ff4f!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;gap:4px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-analyzer-hero>p {font-size:16px!important;margin:17px 0 14px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-input-actions button {min-height:82px!important;border-radius:20px!important;background:var(--earth-glass)!important;padding:10px!important;font-size:15px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-talk {background:none!important;border:0!important;border-top:1px solid #afdcff44!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;font-size:14px!important;margin-top:18px!important;text-decoration:underline!important;min-height:47px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-bottom-nav {height:74px!important;max-width:440px!important;border-radius:30px!important;background:linear-gradient(140deg,#176999bb,#003058ed)!important;padding:8px 6px!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-bottom-nav button {min-height:52px!important;padding:0!important;border:0!important;box-shadow:none!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-bottom-nav button.active {background:none!important;color:#7ce4ff!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body :is(#askcarbi-vision-panel,.csc-shell,.cvc-shell,#carbi-account-menu-panel,#carbi-account-panel,#carbi-verification-panel,.carbi-share-dialog) {background-image:var(--earth-background)!important;background-position:82% bottom!important;background-size:auto 172%!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body :is(.avc-shell,.avc-body,.csc-messages,.cvc-messages) {background:transparent!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body :is(.avc-upload-card,.avc-result,.avc-notice,.cam-card,.ca-sheet,.cv-sheet,#csc-specialist-chat .csc-message-bubble,.carbi-share-preview) {background:var(--earth-glass)!important;border:1px solid #b6edffe0!important;border-radius:25px!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;box-shadow:inset 0 1px 1px #edffffaa,0 9px 25px #001a4b55!important}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body .carbi-share-dialog {padding:22px!important;border-radius:28px!important}
.carbi-share-brand {display:block;width:69px;height:46px;object-fit:contain;margin:0 auto}
.carbi-share-dialog h2 {text-align:center}
.carbi-share-preview {padding:14px}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body :is(.carbi-result-share-actions,.carbi-share-actions) button {background:linear-gradient(125deg,#1caaf5df,#0069efd9)!important;border:1px solid #a0e6ff!important;border-radius:16px!important;box-shadow:inset 0 1px 12px #8ef5ff99!important;min-height:56px!important}
.carbi-result-share-actions button {flex:1}
@media(min-width:800px){html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 {background-size:cover!important}.earth-header {max-width:940px!important}}
@media(max-height:740px){html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-analyzer-hero {margin-top:40px!important}}

/* One current brand identity for dynamically opened legacy panels. */
html body :is(.ca-logo,.cv-logo,.cag-logo,.cam-icon,.cst-menu-logo,.carbi-install-logo,.carbi-language-logo,.admin-logo,.cfh-brand-core,.carbi-assistant-logo) {
 background:transparent url('/assets/carbi-brand-lockup-v2.svg?v=brand-v2') center/contain no-repeat!important;
 width:200px!important;max-width:100%!important;height:60px!important;min-height:60px!important;font-size:0!important;color:transparent!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;flex-shrink:0!important;
}
html body :is(.ca-logo,.cv-logo,.cag-logo,.cam-icon,.cst-menu-logo,.carbi-install-logo,.carbi-language-logo,.admin-logo,.cfh-brand-core,.carbi-assistant-logo)>* {visibility:hidden!important}
html body :is(#carbi-floating-mascot,.carbi-approved-home-mascot,.cph-robot) {display:none!important}
html body .carbi-organized-brand-v3 img {width:220px!important;max-width:58vw!important;max-height:65px!important;object-fit:contain!important}

html body .earth-symbol{width:200px!important;height:58px!important}html body .carbi-share-brand{width:200px!important;height:60px!important}

/* Primary Analyzer: luminous scan lens, crisp type, and restrained glass sheen. */
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer {
 position:relative!important;isolation:isolate;overflow:hidden!important;min-height:220px!important;gap:7px!important;
 background:radial-gradient(ellipse at 50% 8%,#23bcff88,transparent 62%),linear-gradient(145deg,#0878cde8,#053b8bee 62%,#096cccdd)!important;
 border:1px solid #9aefff!important;border-radius:34px!important;
 box-shadow:inset 0 2px 1px #dcffffb3,inset 0 -2px 14px #19bfff70,0 12px 32px #001a6280,0 0 24px #00aeff40!important;
 backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;transition:transform .18s ease,box-shadow .18s ease!important;
}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer::before {
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,transparent 12%,#ffffff16 35%,transparent 36%),radial-gradient(ellipse at 50% 32%,#12d5ff33,transparent 55%);
}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer>svg {
 width:76px!important;height:76px!important;padding:15px!important;box-sizing:content-box!important;border-radius:50%!important;
 background:radial-gradient(circle,#17abfc66,#0454aa44 62%,#36dfff22)!important;border:1px solid #a5f3ff66!important;
 box-shadow:inset 0 1px 12px #5cdfff55,0 0 26px #0ce1ff44!important;filter:drop-shadow(0 0 5px #77eaff)!important;
}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer strong {
 font-size:35px!important;font-weight:700!important;letter-spacing:-.7px!important;text-shadow:0 2px 8px #001b4a66!important;line-height:1.12!important;
}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer span {font-size:15px!important;color:#dcf8ff!important;letter-spacing:.2px!important;text-shadow:none!important}
@media(hover:hover){html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer:hover{transform:translateY(-2px)!important;box-shadow:inset 0 2px 1px #dcffffb3,0 14px 36px #001a6280,0 0 32px #00caff70!important}}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer:active{transform:scale(.985)!important}
@media(prefers-reduced-motion:reduce){html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer{transition:none!important;transform:none!important}}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer>svg {
 background:url('/assets/carbi-symbol-white-v1.svg') center/76px 58px no-repeat,radial-gradient(circle,#17abfc66,#0454aa44 62%,#36dfff22)!important;
}
html[data-carbi-theme="stellar"][data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer>svg>* {visibility:hidden!important}

/* Responsive containment: preserve component behavior and allow vertical scrolling. */
html[data-carbi-design="earthlight"] body :is(#carbi-premium-home-v3,#carbi-organized-ai-home-v3,#askcarbi-vision-panel,#csc-specialist-chat,#carbi-visual-chat,#carbi-account-panel,#carbi-account-menu-panel,#carbi-verification-panel,.carbi-share-dialog,#admin-app) {box-sizing:border-box}
html[data-carbi-design="earthlight"] body :is(.cph-sky,.earth-header,.earth-analyzer-hero,.avc-body,.csc-messages,.cvc-messages,.ca-sheet,.cam-card,.cv-sheet,.carbi-share-preview,.dashboard,.dashboard-header) {min-width:0!important;max-width:100%!important}
html[data-carbi-design="earthlight"] body :is(.ca-sheet,.cam-card,.cv-sheet,.ccr-card,.carbi-share-dialog) {box-sizing:border-box!important;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain}
html[data-carbi-design="earthlight"] body :is(.avc-shell,.csc-shell,.cvc-shell,.awc-sheet) {box-sizing:border-box!important;min-width:0!important;max-width:100%!important;max-height:100vh!important;max-height:100dvh!important}
html[data-carbi-design="earthlight"] body :is(.avc-body,.ca-sheet,.cam-card,.cv-sheet,.carbi-share-dialog,.carbi-message-bubble,.csc-message-bubble,.dashboard) :is(input,textarea,select) {box-sizing:border-box;min-width:0;max-width:100%}
html[data-carbi-design="earthlight"] body :is(.avc-result,.carbi-message-bubble,.csc-message-bubble,.carbi-share-preview) {min-width:0!important;overflow-wrap:anywhere!important}
html[data-carbi-design="earthlight"] body :is(.avc-result,.carbi-message-bubble,.csc-message-bubble,.carbi-share-preview) :is(img,video) {max-width:100%!important;object-fit:contain}
html[data-carbi-design="earthlight"] body :is(.carbi-message-bubble,.csc-message-bubble,.carbi-share-preview) pre {max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
html[data-carbi-design="earthlight"] body :is(.carbi-message-bubble,.csc-message-bubble,.avc-result) table {display:block;max-width:100%;overflow-x:auto}
html[data-carbi-design="earthlight"] body .carbi-result-share-actions {flex-wrap:wrap!important;max-width:100%;min-width:0}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 {padding-left:max(14px,env(safe-area-inset-left))!important;padding-right:max(14px,env(safe-area-inset-right))!important;padding-bottom:calc(150px + env(safe-area-inset-bottom))!important}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-header {gap:12px!important}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-symbol {max-width:calc(100% - 60px)!important;object-fit:contain}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-analyzer-hero {width:100%!important;max-width:440px!important;margin-top:clamp(30px,10vh,90px)!important}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-analyzer-hero h1 {font-size:clamp(25px,7.5vw,33px)!important;overflow-wrap:normal!important}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-bottom-nav {box-sizing:border-box!important;width:min(440px,calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)))!important;bottom:max(9px,env(safe-area-inset-bottom))!important}
html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-bottom-nav button {min-width:0!important}
html[data-carbi-design="earthlight"] body #admin-app .dashboard {width:min(1180px,calc(100% - 24px))!important}
html[data-carbi-design="earthlight"] body #admin-app .dashboard-header {flex-wrap:wrap!important}
html[data-carbi-design="earthlight"] body #admin-app .dashboard-header>* {min-width:0;max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){
 html[data-carbi-design="earthlight"] body :is(.ca-sheet,.cam-card,.cv-sheet,.ccr-card,.carbi-share-dialog) {padding:18px!important}
 html[data-carbi-design="earthlight"] body :is(#askcarbi-vision-panel,#carbi-account-panel,#carbi-verification-panel,.carbi-share-dialog) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {font-size:16px!important}
 html[data-carbi-design="earthlight"] body :is(.avc-voice-actions,.carbi-share-actions) {flex-wrap:wrap!important}
 html[data-carbi-design="earthlight"] body #carbi-organized-ai-home-v3 .carbi-organized-brand-v3 {min-width:0!important}
 html[data-carbi-design="earthlight"] body #carbi-organized-ai-home-v3 .carbi-organized-brand-v3 img {max-width:100%!important}
}
@media(max-width:360px){
 html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-input-actions {gap:8px!important}
 html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-input-actions button {font-size:14px!important;padding:8px!important}
 html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .cph-category-grid {grid-template-columns:minmax(0,1fr)!important}
 html[data-carbi-design="earthlight"] body #askcarbi-vision-panel .avc-header {padding:14px!important;gap:8px!important}
 html[data-carbi-design="earthlight"] body #askcarbi-vision-panel .avc-body {padding:12px!important}
}
@media(max-height:500px) and (orientation:landscape){
 html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 .earth-analyzer-hero {margin-top:22px!important}
 html[data-carbi-design="earthlight"] body #carbi-premium-home-v3 button.earth-analyzer {min-height:180px!important}
 html[data-carbi-design="earthlight"] body :is(.ca-sheet,.cam-card,.cv-sheet,.ccr-card,.carbi-share-dialog) {max-height:calc(100dvh - 12px)!important}
}
