/* Three permanent primary sections, separate from the four Log sub-navigation tabs. */
.unified-switch{grid-template-columns:repeat(3,minmax(0,1fr));max-width:780px;gap:4px;min-width:0}
.unified-switch button{min-width:0;font-size:clamp(12px,3vw,15px);padding:9px 4px;white-space:nowrap}
.unified-logged .unified-log-subtabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:2px;width:100%;max-width:none;min-width:0}
.unified-logged .unified-log-subtabs button{min-width:0;white-space:normal;line-height:1.2;padding:10px 4px;font-size:clamp(11px,2.7vw,14px);border-radius:0}
@media(max-width:360px){.unified-logged .unified-log-subtabs button{font-size:10.5px;padding:9px 2px}}
.unified-account-shell .account-recovery-trigger{border:0!important;padding:4px!important;margin:8px 0!important;color:var(--indigo)!important;background:transparent!important;text-decoration:underline;font-weight:650!important}
.unified-account-shell .account-recovery-form{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}
.unified-account-shell .account-recovery-form button:not(.secondary){background:var(--indigo)}
/* Override older mobile no-wrap, scrollable tabs. All four now fit the row. */
.unified-logged .log-nav.unified-log-subtabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;flex-wrap:initial!important;overflow:visible!important;gap:1px!important;max-width:100%!important}
.unified-logged .log-nav.unified-log-subtabs button{flex:initial!important;min-width:0!important;width:100%!important;white-space:normal!important;padding:11px 3px!important;font-size:clamp(10px,2.7vw,14px)!important}

/* v14.15.1: signed-in recovery cancellation is not a navigation tab. */
.recovery-pending-banner{padding:16px;margin:14px 0 20px;border:1px solid #d9b65e;border-radius:14px;background:#fff8e7;color:#382d12}
.recovery-pending-banner strong{font-weight:800}
.recovery-pending-banner p{margin:8px 0 12px;line-height:1.4}
.recovery-pending-banner button{background:#a24523;color:#fff;border:0;border-radius:10px;padding:11px 16px;font-weight:700}

.global-recovery-banner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:10px 16px 12px;padding:12px 15px;font-size:14px}
.global-recovery-banner[hidden]{display:none!important}
.global-recovery-banner button{min-width:130px;cursor:pointer}

/* v14.16.3: the log mini-navigation must not appear on My Account or Simulator.
   The older !important grid rule otherwise overrides the HTML hidden attribute. */
.unified-logged .log-nav.unified-log-subtabs[hidden]{display:none!important}
