/* Compact, accessible planner navigation — presentation only. */
.site-header .header-inner{gap:12px}
.site-header .header-actions{gap:6px;align-items:center}
.site-header .header-actions>.btn,
.site-header .header-actions>.planner-tools-menu>summary,
.site-header .header-actions>.language-switcher select{min-height:38px}
.site-header .quick-home-link{font-weight:650;white-space:nowrap}
.site-header .planner-tools-menu>summary{font-weight:650}
.site-header .account-icon-button{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  flex:0 0 auto;width:64px;min-width:64px;height:38px;min-height:38px;
  padding:7px 10px!important;font-size:0!important;white-space:nowrap;
}
.site-header .account-icon-button::after{content:none!important;display:none!important}
.site-header .account-icon-button svg{width:18px;height:18px;display:block;flex:none;stroke:currentColor}
.site-header .account-icon-button .account-sync-icon{width:16px;height:16px}
.site-header .account-icon-button .account-icons-divider{height:17px;width:1px;background:var(--line);flex:none}
.site-header .account-icon-button.synced{border-color:color-mix(in srgb,var(--accent) 38%,var(--line));color:var(--accent)}
.site-header .nav-recalculate{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:8px 11px;white-space:nowrap;font-size:12px;font-weight:690;
  border-color:color-mix(in srgb,var(--brand) 26%,var(--line));
}
.site-header .nav-recalculate[hidden]{display:none!important}
.site-header .nav-recalculate svg{width:16px;height:16px;flex:none}
.site-header .nav-recalculate:disabled{cursor:wait;opacity:.72}
.site-header .nav-recalculate:not(:disabled):hover{border-color:var(--brand);color:var(--brand)}
.site-header #openReportChat{font-size:12px}
.site-header .header-actions>.btn:focus-visible,
.site-header .header-actions .account-icon-button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
/* Accommodate compact laptop widths without a second navigation row. */
@media (min-width:761px) and (max-width:1100px){
 .site-header .brand strong,.site-header .brand small{display:none}
 .site-header .brand{min-width:38px}
 .site-header .header-inner{gap:8px}
 .site-header .header-actions{gap:5px}
 .site-header #openReportChat{font-size:0!important;width:53px;padding-inline:7px!important;justify-content:center}
 .site-header #openReportChat::before{content:'✦ AI';font-size:12px;white-space:nowrap}
 .site-header .language-switcher select{min-width:86px;max-width:105px}
 .site-header .nav-recalculate{padding-inline:9px}
}
/* Mobile: calculation and AI remain directly reachable, while Help and Tools
   retain the existing hamburger menu and the same handlers. */
@media(max-width:760px){
 .site-header .header-inner{gap:6px}
 .site-header .header-actions{gap:4px!important}
 .site-header .nav-recalculate{order:1;width:38px;min-width:38px;height:38px;padding:0!important}
 .site-header .nav-recalculate-label{display:none}
 .site-header .header-actions #openReportChat{order:2}
 .site-header .account-icon-button{order:3;width:58px;min-width:58px;padding:7px!important;gap:4px}
 .site-header .account-icon-button svg{width:16px;height:16px}
 .site-header .account-icon-button .account-sync-icon{width:15px;height:15px}
 .site-header .language-switcher{order:99}
 .site-header .mobile-menu-toggle{order:100}
}
@media(max-width:380px){
 .site-header .header-inner{gap:3px}
 .site-header .brand{min-width:30px;gap:0}
 .site-header .brand-mark{width:30px;height:30px}
 .site-header .header-actions{gap:3px!important}
 .site-header .nav-recalculate{width:33px;min-width:33px;height:36px;min-height:36px}
 .site-header .header-actions #openReportChat{min-width:45px;width:45px;max-width:45px;min-height:36px;height:36px}
 .site-header .account-icon-button{width:47px;min-width:47px;height:36px;min-height:36px;padding:4px!important;gap:3px}
 .site-header .account-icon-button svg{width:14px;height:14px}
 .site-header .account-icon-button .account-sync-icon{width:13px;height:13px}
 .site-header .account-icon-button .account-icons-divider{height:14px}
 .site-header .language-switcher select{width:76px;min-width:76px;max-width:76px;padding-left:5px;padding-right:16px;height:36px;min-height:36px}
 .site-header .mobile-menu-toggle{width:33px;height:36px;min-width:33px}
}
@media print{.site-header .nav-recalculate,.site-header .account-icon-button{display:none!important}}
/* Use one compact header row on phones and tablets. The navigation links remain
   available through the existing hamburger menu at these widths. */
@media(max-width:900px){
 .site-header .header-inner{
   height:60px!important;min-height:60px!important;flex-wrap:nowrap!important;
   justify-content:space-between!important;gap:6px!important;padding-block:5px!important;
 }
 .site-header .brand{flex:0 0 auto;min-width:36px}
 .site-header .header-actions{
   width:auto!important;max-width:none!important;min-width:0!important;
   flex:0 1 auto!important;flex-wrap:nowrap!important;justify-content:flex-end!important;
   gap:5px!important;
 }
 .site-header .mobile-menu-panel{
   display:none;position:absolute;top:calc(100% + 12px);right:0;
   width:min(310px,calc(100vw - 20px));padding:9px;
   border:1px solid var(--line);border-radius:12px;background:var(--surface);
   box-shadow:0 18px 48px rgba(15,23,42,.20);z-index:130;
 }
 .site-header .header-actions.mobile-menu-open .mobile-menu-panel{
   display:flex;flex-direction:column;gap:7px;
 }
 .site-header .mobile-menu-panel>.btn,
 .site-header .mobile-menu-panel>a.btn,
 .site-header .mobile-menu-panel>label.btn{
   display:flex!important;width:100%;min-height:42px;align-items:center;
   justify-content:flex-start;text-align:left;padding:10px 12px;font-size:13px;
 }
 .site-header .mobile-menu-toggle{
   display:grid;place-items:center;width:38px;height:38px;min-width:38px;
   padding:0;border:1px solid var(--line);border-radius:9px;
   background:var(--surface);color:var(--text);font-size:0;
 }
 .site-header .mobile-menu-toggle::before{content:'☰';font-size:21px;line-height:1}
 .site-header .header-actions.mobile-menu-open .mobile-menu-toggle::before{content:'×';font-size:26px}
 .site-header .mobile-menu-panel>.planner-help-menu,
 .site-header .mobile-menu-panel>.planner-tools-menu{width:100%;display:block}
 .site-header .mobile-menu-panel>.planner-tools-menu>summary{width:100%;min-height:42px}
 .site-header .nav-recalculate{order:1;width:38px;min-width:38px;height:38px;padding:0!important}
 .site-header .nav-recalculate-label{display:none}
 .site-header .header-actions #openReportChat{
   order:2;display:inline-flex;align-items:center;justify-content:center;
   width:52px;min-width:52px;max-width:52px;height:38px;min-height:38px;
   font-size:0!important;padding:0!important;white-space:nowrap;
 }
 .site-header .header-actions #openReportChat::before{content:'✦ AI';font-size:12px;white-space:nowrap}
 .site-header .header-actions #openReportChat[hidden]{display:none!important}
 .site-header .account-icon-button{order:3;width:58px;min-width:58px}
 .site-header .language-switcher{order:99}
 .site-header .mobile-menu-toggle{order:100}
}
@media(max-width:380px){
 .site-header .header-inner{gap:3px!important}
 .site-header .header-actions{gap:3px!important}
 .site-header .brand{min-width:30px}
 .site-header .nav-recalculate{width:33px;min-width:33px;height:36px;min-height:36px}
 .site-header .header-actions #openReportChat{width:45px;min-width:45px;max-width:45px;height:36px;min-height:36px}
 .site-header .account-icon-button{width:47px;min-width:47px;height:36px;min-height:36px}
}


/* Share panel: the three privacy-safe summary actions and two full-plan actions
   form two consistent groups. The advisor action is injected into the second. */
.readiness-share-panel {
  display:block;
  padding:17px 19px 19px;
  background:var(--surface);
  border-color:var(--line);
}
.readiness-share-intro>strong {display:block;font-size:14px;font-weight:730;line-height:1.4}
.readiness-share-intro>p {max-width:920px;font-size:12px;line-height:1.55;margin:4px 0 0;color:var(--muted)}
.readiness-share-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:12px;
  margin-top:15px;
}
.readiness-share-group {
  min-width:0;
  padding:13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface-2);
}
.readiness-share-group-label {display:grid;gap:3px;margin-bottom:11px;min-height:36px}
.readiness-share-group-label strong {font-size:12px;font-weight:740;line-height:1.3}
.readiness-share-group-label small {font-size:11px;line-height:1.35;color:var(--muted)}
.readiness-share-buttons {display:grid;grid-template-columns:1fr;gap:8px}
.readiness-share-buttons>.btn {
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:normal;
  width:100%;
  min-height:40px;
  margin:0;
  text-align:center;
  line-height:1.32;
  padding:9px 10px;
  font-size:12px;
}
@media(max-width:700px){
  .readiness-share-panel{margin-left:14px;margin-right:14px;padding:14px}
  .readiness-share-actions {grid-template-columns:1fr;gap:10px}
  .readiness-share-group-label{min-height:0}
}

/* Section disclosures use the same chevron as Step 5. */
.home-info-collapsible.ui-expansion>.home-info-summary {display:flex;align-items:center;justify-content:space-between}
.home-info-collapsible.ui-expansion>.home-info-summary .ui-chevron {margin-left:auto;transform:rotate(0deg)}
.home-info-collapsible.ui-expansion[open]>.home-info-summary .ui-chevron {transform:rotate(180deg)}
.home-info-collapsible.ui-expansion>.home-info-summary:hover {background:color-mix(in srgb,var(--brand) 4%,var(--surface))}
