/* SaaS V2.9 — bilingual onboarding and account UX, MPM design preserved */
.fee-auth-message{display:flex;align-items:flex-start;gap:13px;margin:15px 0;padding:18px;border:1px solid #cfdfcb;border-radius:18px;background:#f4f8eb;color:#073e31}
.fee-auth-message.hidden,.fee-trial-chip.hidden,.fee-plans.hidden{display:none!important}
.fee-auth-message[data-type="error"]{background:#fff5f1;border-color:#edc8bd;color:#85362b}
.fee-auth-message h3{font-size:1.08rem;line-height:1.25;margin:0 0 7px;color:inherit}.fee-auth-message p{margin:0 0 10px;line-height:1.55;font-size:.92rem}.fee-auth-message-actions{display:flex;flex-wrap:wrap;gap:8px}.fee-auth-message-actions button{min-height:38px}
.fee-auth-link{appearance:none;border:0;background:transparent;color:#07513e;text-decoration:underline;font-weight:700;cursor:pointer;display:block;margin:14px 0 2px;padding:4px;text-align:left}.fee-recover-form{display:grid;gap:10px;margin-top:15px}.fee-recover-form input{padding:14px;border:1px solid #d4e3d0;border-radius:12px}.fee-auth-reassurance{color:#678272;font-size:.75rem;line-height:1.5;text-align:center;margin-top:20px}
.head{position:relative}.fee-trial-chip{background:#f2f7e6;color:#073e31;border:1px solid #d5e3c4;border-radius:999px;padding:10px 14px;font-size:.8rem;font-weight:750;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:8px;margin-left:auto}.fee-trial-chip::before{content:'●';color:#91c400;font-size:.68rem}.fee-trial-chip.is-expired{background:#fff1e8;border-color:#f0d2ba}.fee-trial-chip.is-expired::before{color:#ae6546}
.fee-subscription-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.fee-subscription-heading h3{font-size:1.5rem;margin:7px 0}.fee-subscription-heading p{color:#6e887a;margin:0;font-size:.9rem}.fee-plan-state{display:inline-block;border:1px solid #d8e8c9;background:#f0f8e5;border-radius:99px;font-weight:700;padding:7px 12px;font-size:.76rem;white-space:nowrap}.fee-subscription-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:21px 0}.fee-subscription-grid>div{background:#f6f8f2;border:1px solid #e1e9dc;border-radius:15px;padding:15px}.fee-subscription-grid span{display:block;color:#678475;font-size:.8rem}.fee-subscription-grid strong{font-size:1.2rem;display:block;margin-top:8px}.fee-subscription-actions p{font-size:.8rem;color:#718c7f;margin-top:10px}.fee-plans{margin-top:17px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.fee-plans article{border:1px solid #deead9;border-radius:16px;padding:17px}.fee-plans article span{font-size:.65rem;color:#73906e;font-weight:750;letter-spacing:.08em}.fee-plans article h4{font-size:1.3rem;margin:9px 0}.fee-plans article p{font-size:.83rem;min-height:42px}.fee-plans article strong{font-size:.87rem}.fee-plans>p{grid-column:1/-1;color:#688275;font-size:.78rem}
@media(max-width:720px){.head{flex-wrap:wrap;gap:10px}.fee-trial-chip{order:3;margin-left:0;font-size:.72rem;padding:8px 11px}.fee-subscription-grid,.fee-plans{grid-template-columns:1fr}.fee-subscription-heading{flex-wrap:wrap}}

.fee-plans .fee-plan-featured{border-color:#91bd26;background:#f7fce8;box-shadow:inset 0 3px #b7e900}.fee-plans .fee-plan-price{font-size:1.15rem;color:#073e31}.fee-recovery-dialog{border:0;border-radius:22px;padding:0;max-width:min(420px,calc(100vw - 28px));box-shadow:0 24px 80px #001e1840}.fee-recovery-dialog::backdrop{background:#021b17a6}.fee-recovery-card{display:grid;gap:14px;padding:28px;background:#fff}.fee-recovery-card h2{font-size:1.45rem;color:#073e31}.fee-recovery-card input{padding:14px;border:1px solid #d9e8d6;border-radius:12px}.fee-recovery-card p{color:#a84430;font-size:.85rem}.fee-plans>p{line-height:1.55}@media(max-width:720px){.fee-plans{grid-template-columns:1fr}}

/* V2.9.1 — trial status belongs WITHIN the company identity in the header. */
body.logged-in .head{grid-template-columns:minmax(0,1fr) auto!important;row-gap:0!important;min-height:88px!important}
body.logged-in .head .tenant-context{display:flex!important;align-items:center!important;gap:12px!important;max-width:min(65vw,650px)!important;min-width:0!important;padding:10px 13px!important}
body.logged-in .head .tenant-context-copy{display:flex!important;min-width:0!important;flex:0 1 auto!important;align-items:flex-end!important}
body.logged-in .head .tenant-account-label{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:220px!important}
body.logged-in .head .tenant-divider{display:block!important;width:1px!important;height:29px!important;flex:0 0 1px!important;background:#dbe7d6!important}
body.logged-in .head .tenant-context .fee-trial-chip{position:static!important;order:initial!important;flex:0 0 auto!important;margin:0!important;padding:8px 11px!important;gap:6px!important;border-radius:10px!important;font-size:11px!important;font-weight:750!important;line-height:1.2!important;box-shadow:none!important;min-height:32px!important;white-space:nowrap!important}
body.logged-in .head .tenant-context .fee-trial-chip:hover{background:#eaf3d8!important;border-color:#b7d089!important}
body.logged-in .head .tenant-context .fee-trial-chip:focus-visible{outline:2px solid #83ae00!important;outline-offset:3px!important}
@media(max-width:700px){
 body.logged-in .head{grid-template-columns:minmax(0,1fr) auto!important;column-gap:8px!important;min-height:75px!important;padding:7px 0 11px!important}
 body.logged-in .head .brand-logo{width:clamp(104px,27vw,150px)!important;max-width:100%!important}
 body.logged-in .head .tenant-context{max-width:65vw!important;gap:7px!important;padding:8px!important;border-radius:12px!important}
 body.logged-in .head .tenant-account-label{font-size:11px!important;max-width:112px!important}
 body.logged-in .head .tenant-eyebrow{font-size:8px!important}
 body.logged-in .head .tenant-context .fee-trial-chip{font-size:10px!important;padding:6px 8px!important;white-space:normal!important;text-align:center!important;max-width:108px!important}
 body.logged-in .head .tenant-divider{height:24px!important}
}
@media(max-width:430px){
 body.logged-in .head .tenant-context{max-width:calc(100vw - 155px)!important}
 body.logged-in .head .tenant-context-copy{display:none!important}
 body.logged-in .head .tenant-divider{display:none!important}
 body.logged-in .head .tenant-context .fee-trial-chip{max-width:118px!important;min-width:0!important}
}
/* V2.9.2 · Invitations — same SaaS design system */
.fee-invite-box{margin:18px 0 24px;border:1px solid #dae7d7;border-radius:20px;background:#f8faf3;padding:clamp(16px,3vw,26px)}
.fee-invite-box h3{margin:0 0 6px;color:#073e31}.fee-invite-box p{color:#597468;margin:0 0 14px}
.fee-invite-fields{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr);gap:12px;margin:16px 0}.fee-invite-fields label{display:grid;gap:7px;font-size:13px;font-weight:650;color:#073e31}
.fee-invite-fields input,.fee-invite-fields select{width:100%;min-width:0;border:1px solid #cbdbce;border-radius:12px;background:#fff;min-height:44px;padding:10px;color:#073e31}
.fee-invite-feedback{min-height:19px;margin-top:10px!important;font-size:13px}.fee-invites-list h4{margin:16px 0 8px}.fee-invite-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e0eadb;padding:10px 0;font-size:13px;overflow-wrap:anywhere}
@media(max-width:680px){.fee-invite-fields{grid-template-columns:1fr}.fee-invite-row{align-items:flex-start}.fee-invite-row span{min-width:0}}

.fee-onboarding{background:#fff;border:1px solid #d8e5d9;padding:22px;border-radius:22px;margin:12px 0 22px;box-shadow:0 6px 22px rgba(7,62,49,.04)}.fee-onboarding h3{color:#073e31;margin:0 0 4px;font-size:20px}.fee-onboarding p{color:#5d7569;margin:0 0 12px}.fee-onboarding-step{display:flex;width:100%;align-items:center;gap:12px;background:transparent;border:0;border-top:1px solid #ebf0e8;text-align:left;min-height:52px;color:#073e31;padding:12px 3px;font:inherit;cursor:pointer}.fee-onboarding-step span:first-child{font-size:19px;color:#628f5e}.fee-onboarding-step span:nth-child(2){flex:1}.fee-onboarding-step span:last-child{color:#48765b}.fee-onboarding-step:disabled{color:#789083;cursor:default}
