/* Focus rules: one obvious action per screen, clear button hierarchy,
   advanced options tucked away, details shown only when relevant. */

/* Hero: the secondary action is a quiet text link. */
.hero .btn-outline[data-i18n="hero.ctaSecondary"],[data-i18n="hero.ctaSecondary"].btn-outline{background:none!important;border-color:transparent!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:4px;opacity:.85}
[data-i18n="hero.ctaSecondary"].btn-outline:hover{opacity:1}

/* Signup: password rules always listed under the field; each turns from a red ✗ to a green ✓
   as it is met (password-requirements.js). */
#signupForm .pw-reqs{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:4px 12px;font-size:12.5px;line-height:1.4}
#signupForm .pw-reqs li{display:flex;align-items:center;gap:7px;color:#ff8a8a;transition:color .15s}
#signupForm .pw-reqs li.is-met{color:#5fd38d}
#signupForm .pw-icon{flex:none;width:15px;height:15px;border-radius:50%;background:currentColor;-webkit-mask:var(--pw-x) center/100% no-repeat;mask:var(--pw-x) center/100% no-repeat;--pw-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7m0-7l-7 7' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
#signupForm .pw-reqs li.is-met .pw-icon{--pw-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#signupForm .pw-reqs .pw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Today: only the next open mission gets a filled button. */
#appShell .mission.done .go-mission{display:none}
#appShell .mission:not(.done) .go-mission{background:var(--teal);border-color:var(--teal);color:var(--deep)}
#appShell .mission:not(.done)~.mission:not(.done) .go-mission{background:transparent;border-color:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:3px}

/* Sidebar: rarely used pages live under "More". */
#appShell .bz-nav-more{margin:0}
#appShell .bz-nav-more>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;color:#647796;font:600 10px/1 'Space Grotesk',sans-serif;letter-spacing:.13em;text-transform:uppercase;padding:13px 12px 8px;border-radius:8px}
#appShell .bz-nav-more>summary::-webkit-details-marker{display:none}
#appShell .bz-nav-more>summary::after{content:'+';font-size:13px;letter-spacing:0}
#appShell .bz-nav-more[open]>summary::after{content:'−'}
#appShell .bz-nav-more>summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px}

/* Weekly review: one primary, the rest are quiet links. */
#appShell .review-actions #customizeCoach,#appShell .review-actions .trustpilot-button{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--muted)!important}
#appShell .review-actions #customizeCoach:hover,#appShell .review-actions .trustpilot-button:hover{color:var(--soft)!important}
#appShell .review-actions #completeReview{order:-1}

/* Profile: "Remove photo" only exists once there is a photo. */
#profilePhotoRemove:disabled{display:none}

/* Upgrade modal: Free is a link, Teams an outline, Plus the filled choice. */
.profile-pricing-card[data-plan-card="free"] .profile-plan-action:not(:disabled){background:transparent!important;border-color:transparent!important;text-decoration:underline;text-underline-offset:3px}
/* Compact icon rail: the "More" toggle is a dots icon. */
@media(min-width:1051px){
#appShell.sidebar-compact:not(.sidebar-peek) .bz-nav-more>summary{font-size:0;justify-content:center;padding:12px 0}
#appShell.sidebar-compact:not(.sidebar-peek) .bz-nav-more>summary::after{content:'•••';font-size:12px;letter-spacing:2px;color:#a5b5c5}
}
/* Dashboard: "Continue the mission" is the only filled/boxed action. */
#appShell #home aside .btn:not(.btn-primary),#appShell #home .focus-actions .btn-ghost{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--teal2,#7ddedd)!important;text-decoration:underline;text-underline-offset:3px}
