html.field-subapp-mode { background: #edf6f5; }
html.field-subapp-mode body.field-subapp-view {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  padding: 0 0 calc(92px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #e9f6f4 0, #f7fbfb 220px, #f7fbfb 100%);
  color: #08263a;
}

body.field-subapp-view .shell-page { display: block !important; min-height: 0 !important; }
body.field-subapp-view .shell-header,
body.field-subapp-view [data-site-search-trigger],
body.field-subapp-view .page-search-toolbar,
body.field-subapp-view .lead-intake-hero,
body.field-subapp-view .hero-search-anchor { display: none !important; }

body.field-subapp-view.pay-issue-page .lead-intake-hero {
  display: grid !important;
}

.field-subapp-nav {
  position: fixed;
  z-index: 900;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 10px;
  width: min(calc(100% - 20px), 620px);
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(var(--field-subapp-nav-count, 5), 1fr);
  gap: 4px;
  margin: auto;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 23px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 48px rgba(0,37,43,.22);
  backdrop-filter: blur(18px);
}
.field-subapp-nav a,
.field-subapp-nav button { display: grid; place-items: center; align-content: center; gap: 3px; border: 0; border-radius: 16px; color: #245c63; background: transparent; font: inherit; font-size: 10px; font-weight: 850; text-decoration: none; cursor: pointer; }
.field-subapp-nav :is(a, button).active { background: #004f62; color: #fff; }
.field-subapp-nav svg { width: 22px; height: 22px; color: #006e74; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field-subapp-nav :is(a, button).active svg { color: #fff; }
.field-subapp-nav .field-settings-gear { color: #006e74; fill: currentColor; stroke: none; }
.field-subapp-nav .field-settings-gear circle { fill: #fff; }

html[data-nav-theme="dark"] .field-subapp-nav {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(0, 63, 78, .96);
  box-shadow: 0 18px 48px rgba(0, 26, 38, .4);
}
html[data-nav-theme="dark"] .field-subapp-nav :is(a, button) { color: rgba(255, 255, 255, .74); }
html[data-nav-theme="dark"] .field-subapp-nav svg,
html[data-nav-theme="dark"] .field-subapp-nav .field-settings-gear { color: #fff; }
html[data-nav-theme="dark"] .field-subapp-nav .field-settings-gear circle { fill: #004f62; }
html[data-nav-theme="dark"] .field-subapp-nav :is(a, button).active { background: #fff; color: #004f62; }
html[data-nav-theme="dark"] .field-subapp-nav :is(a, button).active svg { color: #004f62; }

.field-subapp-sheet {
  width: min(calc(100% - 20px), 520px);
  max-height: min(82svh, 620px);
  margin: auto auto 10px;
  padding: 0 20px calc(24px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 25px;
  color: #08263a;
  background: #f9fcfc;
  box-shadow: 0 24px 70px rgba(0, 31, 40, .34);
}
.field-subapp-sheet::backdrop { background: rgba(0, 39, 45, .56); backdrop-filter: blur(4px); }
.field-subapp-sheet[open] { animation: field-subapp-sheet-in .2s ease-out; }
@keyframes field-subapp-sheet-in { from { opacity: 0; transform: translateY(22px); } }
.field-subapp-sheet form { position: absolute; top: 17px; right: 17px; }
.field-subapp-sheet-close { width: 38px; height: 38px; border: 0; border-radius: 50%; color: #42636a; background: #e7f1f1; font-size: 25px; cursor: pointer; }
.field-subapp-sheet-header { margin: 0 -20px 20px; padding: 25px 20px 23px; border-radius: 25px 25px 0 0; color: #fff; background: linear-gradient(135deg, #003d46 0%, #005f68 100%); }
.field-subapp-sheet-header > p { margin: 2px 0 5px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 950; letter-spacing: .16em; }
.field-subapp-sheet .field-subapp-sheet-header h2 { margin-bottom: 0; color: #fff; }
.field-subapp-sheet-header .field-subapp-sheet-close { border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.14); }
.field-subapp-sheet h2 { max-width: calc(100% - 48px); margin: 0 0 20px; font-size: 25px; line-height: 1.08; letter-spacing: -.03em; }
.field-subapp-sheet-actions { display: grid; gap: 10px; }
.field-subapp-sheet-actions a { min-height: 76px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 15px 17px; border: 1px solid #d2e4e3; border-radius: 17px; color: #08263a; background: #fff; box-shadow: 0 8px 21px rgba(2, 61, 70, .07); text-decoration: none; }
.field-subapp-sheet-actions strong { font-size: 16px; }
.field-subapp-sheet-actions span { grid-column: 1; color: #607b82; font-size: 12px; font-weight: 650; }
.field-subapp-sheet-actions b { grid-column: 2; grid-row: 1 / span 2; color: #7f9fa4; font-size: 25px; font-weight: 400; }
.field-subapp-settings-sheet { overflow-y: auto; }
.field-subapp-theme-setting { margin-bottom: 14px; }
.field-subapp-theme-heading { display: grid; gap: 3px; margin-bottom: 10px; }
.field-subapp-theme-heading > strong { font-size: 14px; }
.field-subapp-theme-heading > small { color: #67808c; font-size: 11px; }
.field-subapp-theme-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.field-subapp-theme-options > button { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: center; gap: 9px; padding: 10px; border: 1px solid rgba(0,61,70,.12); border-radius: 16px; background: #fff; color: #08263a; text-align: left; cursor: pointer; }
.field-subapp-theme-options > button[aria-pressed="true"] { border-color: rgba(0,139,143,.52); background: #ecf9f7; box-shadow: 0 0 0 2px rgba(0,139,143,.1); }
.field-subapp-theme-options > button > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.field-subapp-theme-options strong { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.field-subapp-theme-options small { color: #67808c; font-size: 9px; line-height: 1.2; }
.field-subapp-theme-options b { color: transparent; font-size: 16px; }
.field-subapp-theme-options > button[aria-pressed="true"] b { color: #008b8f; }
.field-subapp-theme-preview { width: 42px; height: 42px; display: grid; grid-template-columns: repeat(3, 1fr); align-content: end; gap: 3px; padding: 7px; border-radius: 12px; background: linear-gradient(145deg, #11aaa9, #008b8f); }
.field-subapp-theme-preview.is-dark { background: linear-gradient(145deg, #07687a, #003e53); }
.field-subapp-theme-preview i { height: 18px; border-radius: 3px; background: rgba(255,255,255,.95); }
.field-subapp-theme-preview i:nth-child(2) { height: 13px; }
.field-subapp-theme-preview i:nth-child(3) { height: 9px; }
.field-subapp-nav-preview { align-content: center; border: 1px solid rgba(0,61,70,.1); background: #f7fbfb; }
.field-subapp-nav-preview.is-dark { border-color: transparent; background: #004f62; }
.field-subapp-nav-preview i,
.field-subapp-nav-preview i:nth-child(2),
.field-subapp-nav-preview i:nth-child(3) { width: 7px; height: 7px; justify-self: center; border-radius: 50%; background: #008b8f; }
.field-subapp-nav-preview.is-dark i { background: #fff; }
.field-subapp-nav-preview i:first-child { width: 11px; height: 20px; border-radius: 5px; }
.field-subapp-notification-setup { width: 100%; min-height: 76px; display: grid; grid-template-columns: 42px minmax(0,1fr) 48px; align-items: center; gap: 12px; margin: 0; padding: 13px 14px; border: 1px solid rgba(0,61,70,.12); border-radius: 18px; color: #08263a; background: #fff; text-align: left; box-shadow: 0 8px 21px rgba(2,61,70,.07); cursor: pointer; }
.field-subapp-notification-setup[hidden] { display: none; }
.field-subapp-notification-setup:disabled { opacity: .72; cursor: wait; }
.field-subapp-notification-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #005f68; background: #e8f8f5; }
.field-subapp-notification-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field-subapp-notification-setup > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.field-subapp-notification-setup strong { font-size: 14px; }
.field-subapp-notification-setup small { color: #67808c; font-size: 11px; line-height: 1.3; }
.field-subapp-notification-toggle { width: 46px; height: 27px; display: flex; align-items: center; padding: 3px; border-radius: 999px; background: #cbd9da; transition: background .18s ease; }
.field-subapp-notification-toggle i { width: 21px; height: 21px; display: block; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,38,43,.2); transition: transform .18s ease; }
.field-subapp-notification-setup[data-enabled="true"] .field-subapp-notification-toggle { background: #008b8f; }
.field-subapp-notification-setup[data-enabled="true"] .field-subapp-notification-toggle i { transform: translateX(19px); }
.field-subapp-logout-button { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 14px; border: 1px solid #efc9c5; border-radius: 16px; background: #fff; color: #b42318; font-size: 14px; font-weight: 850; cursor: pointer; }
.field-subapp-logout-button:disabled { opacity: .68; cursor: wait; }
.field-subapp-logout-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

body.field-subapp-view .shell-main {
  width: min(100%, 900px) !important;
  max-width: 900px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 12px 10px 24px !important;
}
body.field-subapp-view .command-strip.hero-only { margin: 0 0 10px !important; }
body.field-subapp-view .hero.page-top-card { min-height: 0 !important; margin: 0 !important; padding: 17px !important; border-radius: 20px !important; }
body.field-subapp-view .hub-hero-title { font-size: clamp(27px, 8vw, 38px) !important; }
body.field-subapp-view .page-hero-copy { font-size: 13px !important; line-height: 1.4 !important; }
body.field-subapp-view .section-band { margin-inline: 0 !important; border-radius: 20px !important; }

body.field-subapp-view[data-page-key="ava-battery"] .shell-main {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
}
body.field-subapp-view[data-page-key="ava-battery"] .section-band { padding: 18px 14px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .band-head { margin-bottom: 15px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .band-head h2 { margin-bottom: 8px !important; font-size: clamp(24px, 7vw, 31px) !important; line-height: 1.08 !important; }
body.field-subapp-view[data-page-key="ava-battery"] .ava-policy-note { font-size: 13px !important; line-height: 1.48 !important; }
body.field-subapp-view[data-page-key="ava-battery"] .adder-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .adder-panel { min-width: 0 !important; padding: 15px !important; border-radius: 18px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .field-stack { gap: 7px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .field-input { min-height: 50px !important; font-size: 16px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .adder-actions { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: 9px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .adder-actions .resource-link { min-height: 48px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .adder-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .adder-stat { min-width: 0 !important; padding: 12px 10px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .signal-list { gap: 9px !important; }
body.field-subapp-view[data-page-key="ava-battery"] .signal-item { padding: 13px !important; border-radius: 15px !important; }

body.field-subapp-view[data-page-key="solar-spec-sheets"] .shell-main {
  width: min(100%, 720px) !important;
  max-width: 720px !important;
}
body.field-subapp-view[data-page-key="solar-spec-sheets"] .section-band { padding: 16px 13px !important; }
body.field-subapp-view[data-page-key="solar-spec-sheets"] .band-head { align-items: center !important; margin-bottom: 13px !important; }
body.field-subapp-view[data-page-key="solar-spec-sheets"] .band-head h3 { font-size: 20px !important; }
body.field-subapp-view[data-page-key="solar-spec-sheets"] .band-head p { font-size: 12px !important; line-height: 1.35 !important; }
body.field-subapp-view[data-page-key="solar-spec-sheets"] .batteries-section-badge { width: 46px !important; height: 46px !important; border-radius: 14px !important; }
body.field-subapp-view[data-page-key="solar-spec-sheets"] .batteries-resource-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }

body.field-subapp-view[data-page-key="solar-prepaid-hack"] .shell-page {
  width: 100% !important;
  margin: 0 !important;
}
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .shell-main {
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  padding: 10px !important;
}
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hack-tool { gap: 12px !important; padding-bottom: 0 !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 18px !important;
  border-radius: 22px !important;
}
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero-heading { align-items: flex-start !important; gap: 12px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero-eagle-button { width: 64px !important; height: 56px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero-title-row { align-items: flex-start !important; flex-wrap: wrap !important; gap: 8px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero h1 { font-size: clamp(25px, 7.5vw, 34px) !important; line-height: 1.03 !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-google-link { width: 42px !important; height: 42px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-google-link img { width: 32px !important; height: 32px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero-stat { min-width: 0 !important; padding: 13px 15px !important; border-radius: 14px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero-stat strong { font-size: 32px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] :is(.prepaid-panel, .prepaid-flow-card, .prepaid-summary-card) {
  min-width: 0 !important;
  padding: 15px !important;
  border-radius: 18px !important;
}
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-panel-head { align-items: flex-start !important; padding-right: 0 !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-utility-picker { max-width: 100%; gap: 14px !important; overflow-x: auto; scrollbar-width: none; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-utility-picker::-webkit-scrollbar { display: none; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-utility-logo img { max-width: 132px !important; height: 50px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-utility-logo[data-value="pge"] img { width: 56px !important; height: 56px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] :is(.prepaid-choice-grid, .prepaid-product-groups, .prepaid-control-grid, .prepaid-flow-grid, .prepaid-summary-grid) {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 11px !important;
}
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-product-groups { gap: 15px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-choice-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-choice { min-height: 64px !important; padding: 12px 8px !important; border-radius: 14px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-choice strong { font-size: 17px !important; line-height: 1.12 !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-choice small { font-size: 11px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-field input { min-height: 50px !important; height: 50px !important; font-size: 18px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-slider-wrap { gap: 10px !important; padding: 15px !important; border-radius: 15px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-slider-label { align-items: flex-start !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-slider-label strong { font-size: 26px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-slider { min-height: 36px; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-flow-card h2,
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-summary-card h2 { font-size: 24px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-summary-head { align-items: flex-start !important; flex-direction: column !important; gap: 10px !important; margin-bottom: 13px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-metric { min-height: 0 !important; padding: 15px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-metric strong { font-size: 34px !important; }
body.field-subapp-view[data-page-key="solar-prepaid-hack"] :is(.ira-overview-dialog, .ira-settings-dialog) { width: calc(100vw - 18px) !important; max-height: calc(100svh - 18px) !important; }

body.field-subapp-view .solar-core-panel .field-core-platform-card {
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column;
  padding: 18px !important;
}
body.field-subapp-view .solar-core-panel .field-core-platform-card > .logo-chip { display: none !important; }
body.field-subapp-view .solar-core-panel .field-core-platform-name {
  max-width: none !important;
  margin: 0 0 15px !important;
  color: #08263a !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}
body.field-subapp-view .solar-core-panel .field-core-platform-card .resource-actions { margin-top: auto; }

body.field-subapp-view .batteries-stack-panel .field-resource-launch-card,
body.field-subapp-view[data-page-key="batteries"] .solar-resource-stack-copy .field-resource-launch-card {
  min-height: 76px !important;
  height: auto !important;
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 61, 70, .1) !important;
  border-radius: 19px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(0, 45, 51, .1) !important;
  transform: none !important;
}
body.field-subapp-view .batteries-stack-panel .field-resource-launch-card::before,
body.field-subapp-view .batteries-stack-panel .field-resource-launch-card::after { display: none !important; }
body.field-subapp-view .field-resource-launch-card > .batteries-resource-icon,
body.field-subapp-view .field-resource-launch-card > .field-resource-original-title,
body.field-subapp-view .field-resource-launch-card > .resource-actions { display: none !important; }
body.field-subapp-view .field-resource-card-launch {
  position: relative;
  z-index: 1;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #08263a;
  text-decoration: none;
}
body.field-subapp-view .field-resource-card-launch strong { min-width: 0; font-size: 16px; font-weight: 900; line-height: 1.2; }
body.field-subapp-view .field-resource-card-launch b { color: #7c9da2; font-size: 28px; font-weight: 400; line-height: 1; }
body.field-subapp-view .field-resource-launch-card:has(> .lender-card-phone:not([hidden])) .field-resource-card-launch { min-height: 88px; padding-top: 32px; }
body.field-subapp-view .field-resource-launch-card > .lender-card-phone {
  position: absolute !important;
  z-index: 3;
  top: 10px !important;
  right: 48px !important;
  max-width: calc(100% - 96px) !important;
  transform: none !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  text-align: right;
  white-space: nowrap;
}
body.field-subapp-view .field-resource-launch-card > .lender-card-phone a { color: #087d83 !important; font-weight: 850; text-decoration: none; }
body.field-subapp-view .field-resource-card-launch:active { background: #f2faf9; }

.field-resource-jump-nav { display: none; }
body.field-subapp-view[data-page-key="solar-helpful-resources"] .shell-page {
  width: 100% !important;
  margin: 0 !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .shell-main {
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  gap: 12px !important;
  padding: 10px 10px 24px !important;
  box-sizing: border-box;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .command-strip.hero-only {
  margin: 0 !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .hero.page-top-card {
  padding: 21px 18px !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 23px !important;
  background:
    radial-gradient(circle at 90% 5%, rgba(46, 213, 205, .42), transparent 34%),
    linear-gradient(135deg, #004f5b 0%, #008b8f 100%) !important;
  box-shadow: 0 15px 34px rgba(0, 87, 92, .2) !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .hero.page-top-card h2 {
  max-width: 330px;
  font-size: clamp(27px, 7.5vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .field-resource-jump-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  gap: 7px;
  margin: 0 -2px;
  padding: 7px 2px 10px;
  overflow-x: auto;
  background: linear-gradient(180deg, #edf8f6 72%, rgba(237,248,246,0));
  scrollbar-width: none;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .field-resource-jump-nav::-webkit-scrollbar { display: none; }
body.field-subapp-view[data-page-key="solar-helpful-resources"] .field-resource-jump-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid rgba(0, 105, 111, .13);
  border-radius: 999px;
  color: #076d72;
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 15px rgba(2,61,70,.07);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .field-resource-jump-nav a:active {
  color: #fff;
  background: #008b8f;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .section-band {
  scroll-margin-top: 62px;
  margin: 0 !important;
  padding: 15px !important;
  border: 1px solid rgba(0, 79, 87, .1) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 11px 28px rgba(2,61,70,.09) !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .band-head {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  margin-bottom: 14px !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] :is(.solar-section-badge, .batteries-section-badge) {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 14px !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .band-head h3 {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.08 !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .band-head p {
  margin: 4px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] :is(.solar-primary-grid, .batteries-resource-grid) {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 9px !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .solar-core-panel .field-core-platform-card {
  padding: 15px !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 20px rgba(2,61,70,.07) !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .solar-core-panel .field-core-platform-name {
  margin-bottom: 11px !important;
  font-size: 17px !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .solar-core-panel .resource-actions {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .solar-core-panel .resource-link {
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 10px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .batteries-stack-panel .field-resource-launch-card {
  min-height: 64px !important;
  border-radius: 17px !important;
  box-shadow: 0 7px 18px rgba(2,61,70,.07) !important;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .field-resource-card-launch {
  min-height: 64px;
  padding: 14px 15px;
}
body.field-subapp-view[data-page-key="solar-helpful-resources"] .field-resource-card-launch strong {
  font-size: 14px;
}

body.field-subapp-view.lead-intake-page { padding-inline: 0 !important; }
body.field-subapp-view .lead-intake-shell { width: min(100%, 720px) !important; margin: 0 auto !important; padding: 12px 10px 24px !important; }
body.field-subapp-view .lead-intake-card { margin: 0 !important; padding: 17px 14px !important; border-radius: 20px !important; box-shadow: 0 12px 34px rgba(0,61,70,.1) !important; }
body.field-subapp-view .lead-intake-card > .band-head { margin-bottom: 14px !important; }
body.field-subapp-view .lead-intake-card > .band-head h2 { font-size: 22px !important; }
body.field-subapp-view .lead-intake-form { gap: 14px !important; }
body.field-subapp-view .auth-field input,
body.field-subapp-view .auth-field select,
body.field-subapp-view .auth-field textarea { min-height: 48px; font-size: 16px !important; }
body.field-subapp-view.lead-intake-page .frame-actions { position: static; z-index: auto; bottom: auto; padding: 10px 0 2px; background: none; }
body.field-subapp-view .frame-actions .resource-link { width: 100%; min-height: 50px; }
body.field-subapp-view.phone-number-request-page .phone-request-actions .frame-actions {
  position: static;
  padding: 0;
  background: none;
}
body.field-subapp-view.pay-issue-page .phone-request-actions .frame-actions {
  position: static;
  padding: 0;
  background: none;
}

body.field-subapp-view[data-page-key="calendar"] .calendar-dashboard-shell,
body.field-subapp-view[data-page-key="calendar"] .calendar-bottom-agenda { margin-inline: 0 !important; border-radius: 20px !important; }
body.field-subapp-view[data-page-key="calendar"] .calendar-product-legend { overflow-x: auto; justify-content: flex-start !important; scrollbar-width: none; }
body.field-subapp-view[data-page-key="calendar"] .calendar-product-legend::-webkit-scrollbar { display: none; }
body.field-subapp-view[data-page-key="calendar"] .calendar-range-actions .calendar-rep-settings-button,
body.field-subapp-view[data-page-key="calendar"] .calendar-range-actions .calendar-create-block-button {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.field-subapp-view[data-page-key="calendar"] .calendar-range-actions .calendar-rep-settings-button:hover,
body.field-subapp-view[data-page-key="calendar"] .calendar-range-actions .calendar-rep-settings-button:focus-visible,
body.field-subapp-view[data-page-key="calendar"] .calendar-range-actions .calendar-create-block-button:hover,
body.field-subapp-view[data-page-key="calendar"] .calendar-range-actions .calendar-create-block-button:focus-visible {
  background: transparent !important;
}
body.field-subapp-view[data-page-key="calendar"] .calendar-office-toolbar-button {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #008b8f;
  box-shadow: 0 6px 14px rgba(0, 139, 143, .24);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}
body.field-subapp-view[data-page-key="calendar"] .calendar-office-toolbar-button[hidden] { display: none !important; }
body.field-subapp-view[data-page-key="calendar"] .calendar-office-toolbar-button:disabled { opacity: .72; }
body.field-subapp-view[data-page-key="calendar"] .calendar-toolbar:has(.calendar-office-toolbar-button:not([hidden])) {
  grid-template-columns: 104px minmax(0, 1fr) auto !important;
}
body.field-subapp-view[data-page-key="calendar"] .calendar-toolbar:has(.calendar-office-toolbar-button:not([hidden])) .calendar-view-switcher {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: min(100%, 252px) !important;
  min-width: 0 !important;
}

.calendar-office-checkin-modal {
  width: min(calc(100% - 20px), 480px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #08263a;
  background: #f8fcfb;
  box-shadow: 0 28px 80px rgba(0, 36, 43, .35);
}
.calendar-office-checkin-modal::backdrop { background: rgba(0, 39, 45, .58); backdrop-filter: blur(4px); }
.calendar-office-checkin-modal form { display: grid; gap: 18px; padding: 0 20px 20px; }
.calendar-office-checkin-modal header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 0 -20px; padding: 20px; border-radius: 24px 24px 0 0; color: #fff; background: linear-gradient(135deg, #005f68, #008f92); }
.calendar-office-checkin-modal header > div { display: grid; gap: 4px; }
.calendar-office-checkin-modal header span { color: rgba(255,255,255,.78); font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.calendar-office-checkin-modal h2 { margin: 0; font-size: 25px; line-height: 1.08; }
.calendar-office-checkin-modal header > button { min-width: 74px; min-height: 44px; display: grid; place-items: center; padding: 0 14px; border: 0; border-radius: 14px; color: #08263a; background: #fff; font-size: 0; font-weight: 900; cursor: pointer; }
.calendar-office-checkin-modal header > button::after { content: "Cancel"; font-size: 13px; }
.calendar-office-activity-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.calendar-office-activity-options label { min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #d3e5e3; border-radius: 15px; background: #fff; font-size: 14px; font-weight: 850; cursor: pointer; }
.calendar-office-activity-options input { width: 20px; height: 20px; margin: 0; accent-color: #008b8f; }
.calendar-office-checkin-modal form > p { min-height: 18px; margin: 0; color: #08777c; font-size: 12px; font-weight: 800; }
.calendar-office-checkin-modal form > p.is-error { color: #b42318; }
.calendar-office-checkin-modal footer { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.calendar-office-checkin-modal footer button { min-height: 48px; }

body.field-subapp-view .calendar-office-checkin-modal form {
  gap: 10px;
  padding: 0 20px 16px;
}
body.field-subapp-view .calendar-office-checkin-modal header {
  padding: 16px 20px;
}
body.field-subapp-view .calendar-office-checkin-modal header > button {
  display: none;
}
body.field-subapp-view .calendar-office-activity-options {
  gap: 8px;
}
body.field-subapp-view .calendar-office-activity-options label {
  min-height: 50px;
  padding: 10px 12px;
  border-color: #d5e1ee;
  background: #f5f8fc;
}
body.field-subapp-view .calendar-office-checkin-modal form > p:empty {
  display: none;
}
body.field-subapp-view .calendar-office-checkin-modal footer {
  display: flex;
  grid-template-columns: none;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 2px;
}
body.field-subapp-view .calendar-office-checkin-modal footer button {
  flex: 0 0 auto;
  width: auto;
  min-width: 112px;
  min-height: 44px;
  padding-inline: 18px;
}
body.field-subapp-view .calendar-office-checkin-modal footer .resource-link.primary {
  border-color: #008b8f !important;
  background: linear-gradient(135deg, #008b8f, #05bfc4) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(0, 139, 143, .2) !important;
}

@media (max-width: 720px) {
  body.field-subapp-view .resource-grid,
  body.field-subapp-view .library-grid,
  body.field-subapp-view .solar-primary-grid { grid-template-columns: 1fr !important; }
  body.field-subapp-view .resource-card { min-width: 0 !important; }
  body.field-subapp-view .lead-intake-grid,
  body.field-subapp-view .lead-intake-address-grid,
  body.field-subapp-view .deal-intake-location-grid,
  body.field-subapp-view .deal-submission-grid { grid-template-columns: 1fr !important; }
  body.field-subapp-view[data-page-key="calendar"] .calendar-toolbar { gap: 12px !important; }
  body.field-subapp-view[data-page-key="calendar"] .calendar-view-switcher { width: 100% !important; min-width: 0 !important; }
  body.field-subapp-view[data-page-key="calendar"] .calendar-view-switcher .mini-link { min-width: 0 !important; flex: 1 1 0 !important; }
  body.field-subapp-view[data-page-key="calendar"] .calendar-layout { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 430px) {
  body.field-subapp-view[data-page-key="ava-battery"] .adder-actions { grid-template-columns: minmax(0, 1fr) !important; }
  body.field-subapp-view[data-page-key="ava-battery"] .adder-actions .resource-link { width: 100% !important; }
  body.field-subapp-view[data-page-key="ava-battery"] .adder-stats { grid-template-columns: minmax(0, 1fr) !important; }
  body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero-heading { display: grid !important; grid-template-columns: 54px minmax(0, 1fr) !important; gap: 10px !important; }
  body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero-eagle-button { width: 54px !important; height: 48px !important; }
  body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-hero h1 { font-size: clamp(23px, 7.3vw, 30px) !important; }
  body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-google-link { width: 36px !important; height: 36px !important; }
  body.field-subapp-view[data-page-key="solar-prepaid-hack"] .prepaid-google-link img { width: 28px !important; height: 28px !important; }
  body.field-subapp-view[data-page-key="calendar"] .calendar-toolbar:has(.calendar-office-toolbar-button:not([hidden])) { grid-template-columns: 96px minmax(0, 1fr) !important; }
  body.field-subapp-view[data-page-key="calendar"] .calendar-toolbar:has(.calendar-office-toolbar-button:not([hidden])) .calendar-view-switcher { grid-column: 2 !important; }
  body.field-subapp-view[data-page-key="calendar"] .calendar-office-toolbar-button { min-width: 0; padding-inline: 10px; font-size: 11px; }
}
