body.account-page,body.legal-page{margin:0;background:#f3f6f3;color:#1b2822;font-family:"Segoe UI",Arial,sans-serif}.account-shell{width:min(620px,calc(100% - 32px));margin:5vh auto;background:#fff;border:1px solid #dbe3de;padding:2.2rem;box-shadow:0 20px 50px rgba(16,45,39,.1)}.account-brand{display:inline-block;width:min(270px,72%);margin-bottom:.45rem}.account-brand img{display:block;width:100%;height:auto;object-fit:contain}.account-shell h1,.legal-content h1{font:700 2.4rem Georgia;margin:.8rem 0}.account-shell p,.legal-content p{color:#65736c;line-height:1.7}.account-form{display:grid;gap:.65rem}.account-form label{font-size:.75rem;font-weight:850}.account-form input,.account-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfd9d3;padding:.8rem;font:inherit}.account-form button{margin-top:.6rem}.account-check{display:flex;align-items:center;gap:.55rem;width:max-content;cursor:pointer}.account-form .account-check input{width:auto;margin:0;padding:0;accent-color:#1d7253}.account-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-top:1.25rem}.account-secondary-link{margin-top:1rem;font-size:.82rem}.field-validation-error,.validation-summary-errors{color:#a53c2f;font-size:.8rem}.account-links{display:flex;justify-content:space-between;gap:1rem;margin-top:1.2rem;font-size:.82rem}.account-message,.review-note{background:#e8f3ed;border-left:4px solid #1d7253;padding:1rem}.legal-header{background:#fff;border-bottom:1px solid #dbe3de}.legal-header>.landing-shell{min-height:76px;display:flex;align-items:center;justify-content:space-between}.legal-header nav{display:flex;align-items:center;gap:1rem}.legal-content{min-height:65vh;padding:4rem 0}.legal-content h2{margin-top:2rem}.honeypot{position:absolute!important;left:-10000px!important}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.settings-card{border:1px solid #dbe3de;padding:1.2rem}.settings-fact{display:flex;justify-content:space-between;border-bottom:1px solid #edf1ee;padding:.6rem 0}.billing-plan-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-top:1.4rem}.billing-plan-heading h3{margin:0}.billing-plan-heading p{font-size:.75rem;margin:.35rem 0 0;color:#65736c}.billing-plan-heading>span{white-space:nowrap;background:#e8f3ed;color:#1d7253;font-size:.7rem;font-weight:850;padding:.4rem .55rem}.billing-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:1rem}.billing-plan-card{display:flex;flex-direction:column;border:1px solid #dbe3de;background:#fff;padding:1rem;min-height:165px}.billing-plan-card.selected{border-color:#1d7253;box-shadow:inset 0 3px #1d7253}.billing-plan-card h4{font-size:.9rem;margin:0}.billing-plan-card>p{display:flex;flex-direction:column;margin:.8rem 0;color:#65736c}.billing-plan-card>p strong{font:700 1.55rem Georgia;color:#1b2822}.billing-plan-card>p span{font-size:.68rem}.billing-plan-card form{margin-top:auto}.billing-plan-card .btn{width:100%;font-size:.72rem}.billing-plan-card.enterprise{background:#f7f9f7}.billing-plan-card.enterprise>a{margin-top:auto}@media(max-width:900px){.settings-grid{grid-template-columns:1fr}}@media(max-width:650px){.billing-plan-heading{flex-direction:column}.billing-plan-grid{grid-template-columns:1fr}.legal-header nav>a:not(.landing-button){display:none}}
.settings-grid--resubscribe .settings-card--billing{grid-column:1/-1;grid-row:1;padding:1.5rem}.settings-grid--resubscribe .settings-card--profile{grid-column:1/-1;max-width:620px}.subscription-ended-state{background:#f7f5ee;border-left:4px solid #c36f36;padding:1.25rem 1.35rem}.subscription-ended-state h2{font:700 1.8rem Georgia;margin:.35rem 0}.subscription-ended-state>p{color:#65736c;margin:0;max-width:680px}.previous-subscription-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dde3de;border:1px solid #dde3de;margin-top:1.2rem}.previous-subscription-summary>div{display:flex;flex-direction:column;background:#fff;padding:.85rem 1rem}.previous-subscription-summary span{color:#65736c;font-size:.65rem;font-weight:750;text-transform:uppercase;letter-spacing:.06em}.previous-subscription-summary strong{font-size:.9rem;margin-top:.25rem}.settings-card--resubscribe .billing-plan-heading{margin-top:1.75rem}.settings-card--resubscribe .billing-plan-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.billing-secondary-action{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;margin-top:1.25rem}.billing-secondary-action>span{color:#65736c;font-size:.72rem}.settings-card--resubscribe .billing-secondary-action{padding-top:1rem;border-top:1px solid #edf1ee}.settings-card--resubscribe .billing-secondary-action .btn{padding:.55rem .85rem;font-size:.72rem}@media(max-width:1050px){.settings-card--resubscribe .billing-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.settings-grid--resubscribe .settings-card--billing{padding:1rem}.previous-subscription-summary{grid-template-columns:1fr}.settings-card--resubscribe .billing-plan-grid{grid-template-columns:1fr}}

/* Authenticated account and subscription overview. */
.account-settings-heading{padding-bottom:.35rem}.account-settings-heading h1{margin-bottom:.35rem}.account-settings-heading p{max-width:560px}.account-settings{display:grid;gap:1.25rem;padding-bottom:2rem}.account-settings-overview{display:grid;grid-template-columns:minmax(270px,340px) minmax(0,1fr);gap:1.1rem;align-items:start}.settings-card{background:#fff;border:1px solid #dbe3de;padding:1.35rem;box-shadow:0 10px 28px rgba(16,45,39,.035)}.settings-card-heading{margin-bottom:1.1rem}.settings-card-heading--split{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.settings-card-heading h2,.account-private-rate h2{font:700 1.55rem Georgia,serif;margin:.25rem 0 0}.settings-card--profile .account-form button{justify-self:start}.subscription-status-badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;background:#eef2ef;color:#4f5f57;padding:.42rem .68rem;font-size:.67rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.subscription-status-badge--active,.subscription-status-badge--trialing{background:#e3f1e9;color:#176443}.subscription-status-badge--canceled,.subscription-status-badge--pastdue{background:#f7e9e3;color:#963f2e}.subscription-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e3e9e5;background:#e3e9e5;gap:1px}.subscription-status-grid>div{display:flex;flex-direction:column;gap:.3rem;min-height:72px;background:#f9fbf9;padding:.8rem .9rem}.subscription-status-grid span{color:#65736c;font-size:.64rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}.subscription-status-grid strong{font-size:.86rem;line-height:1.35}.subscription-access-reason{color:#65736c;font-size:.78rem;line-height:1.55;margin:1rem 0}.settings-card--status .subscription-ended-state{margin-bottom:1rem;padding:1rem 1.1rem}.settings-card--status .subscription-ended-state h3{font:700 1.25rem Georgia,serif;margin:0 0 .3rem}.settings-card--status .subscription-ended-state p{margin:0;color:#65736c;font-size:.8rem}.settings-card--status .account-capacity{margin-top:1rem}.billing-secondary-action{padding-top:1rem;border-top:1px solid #edf1ee}.account-private-rate{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.account-private-rate p{color:#65736c;margin:.4rem 0 0}.account-trial-note{font-size:.78rem}.account-plan-selection{border:1px solid #dbe3de;background:#f8faf8;padding:1.5rem}.account-plan-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem}.account-plan-heading h2{font:700 1.8rem Georgia,serif;margin:.25rem 0 .45rem}.account-plan-heading p{max-width:700px;color:#65736c;margin:0;line-height:1.55}.account-plan-heading>a{white-space:nowrap;font-size:.75rem;font-weight:750;color:#1d7253}.account-trial-offer{display:flex;align-items:center;gap:.75rem;background:#e8f3ed;border-left:4px solid #1d7253;margin-top:1.15rem;padding:.8rem 1rem}.account-trial-offer strong{color:#155a40;font-size:.82rem}.account-trial-offer span{color:#4f6459;font-size:.75rem}.account-plan-billing-note{color:#65736c;font-size:.75rem;margin:1rem 0 0}.account-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-top:1.15rem}.account-plan-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #d8e0db;padding:1.05rem}.account-plan-card--previous{border-color:#1d7253;box-shadow:inset 0 3px #1d7253}.account-plan-card-heading{display:flex;justify-content:space-between;gap:.4rem;color:#6c7b73;font-size:.61rem;font-weight:850;letter-spacing:.08em}.account-plan-card-heading small{color:#1d7253;font-size:.61rem;letter-spacing:0}.account-plan-card h3{font:700 1.22rem Georgia,serif;margin:.55rem 0 0}.account-plan-price{display:flex;flex-direction:column;margin:.85rem 0}.account-plan-price strong{font:700 1.8rem Georgia,serif}.account-plan-price span{color:#65736c;font-size:.68rem;margin-top:.1rem}.account-plan-capacity{min-height:42px;color:#46574e;font-size:.75rem;line-height:1.45}.account-plan-card ul{display:grid;gap:.42rem;margin:.65rem 0 1rem;padding:0;list-style:none;color:#5d6d65;font-size:.71rem;line-height:1.35}.account-plan-card li{position:relative;padding-left:.9rem}.account-plan-card li:before{content:"";position:absolute;left:0;top:.48em;width:5px;height:5px;border-radius:50%;background:#1d7253}.account-plan-future{display:flex;align-items:center;gap:.4rem;color:#697870;font-size:.64rem;margin:auto 0 .85rem}.account-plan-future span{background:#edf1ee;color:#4b5d54;padding:.2rem .3rem;font-size:.52rem;font-weight:850;letter-spacing:.05em}.account-plan-card form,.account-plan-card>.btn{margin-top:auto}.account-plan-card .btn{width:100%;font-size:.72rem}.account-plan-card--enterprise{background:#1e3028;border-color:#1e3028;color:#fff}.account-plan-card--enterprise .account-plan-card-heading,.account-plan-card--enterprise .account-plan-price span,.account-plan-card--enterprise .account-plan-capacity,.account-plan-card--enterprise ul,.account-plan-card--enterprise .account-plan-future{color:#c9d5ce}.account-plan-card--enterprise li:before{background:#8fc2a8}.account-plan-card--enterprise .account-plan-future span{background:#32473d;color:#dce8e1}
@media(max-width:1100px){.account-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.account-settings-overview{grid-template-columns:1fr}.settings-card--profile{max-width:none}.account-plan-heading{align-items:flex-start;flex-direction:column}.account-plan-heading>a{white-space:normal}.account-private-rate{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.account-plan-selection{padding:1rem}.account-plan-grid,.subscription-status-grid{grid-template-columns:1fr}.account-trial-offer{align-items:flex-start;flex-direction:column;gap:.25rem}.settings-card-heading--split{align-items:flex-start;flex-direction:column}.account-plan-card{padding:1rem}.account-plan-heading h2{font-size:1.5rem}}

/* Company team management. */
.team-member-list{border:1px solid #dbe3de}.team-member-header,.team-member-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(190px,1.35fr) minmax(135px,.9fr) minmax(120px,.75fr) minmax(320px,1.6fr);gap:1rem;align-items:center;padding:.85rem 1rem}.team-member-header{background:#f3f6f3;color:#65736c;font-size:.64rem;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.team-member-row{border-top:1px solid #e7ece9;font-size:.78rem}.team-member-row:first-of-type{border-top:0}.team-member-name,.team-member-email{min-width:0;overflow-wrap:anywhere}.team-member-status{display:inline-flex;border-radius:999px;background:#edf1ee;color:#536159;padding:.32rem .52rem;font-size:.62rem;font-weight:850;white-space:nowrap}.team-member-status--active{background:#e3f1e9;color:#176443}.team-member-status--pending{background:#fff1d6;color:#805b10}.team-member-status--inactive{background:#f3e8e4;color:#8b4335}.team-member-actions{display:flex;flex-wrap:wrap;gap:.4rem}.team-member-actions form{margin:0}.team-member-actions .btn{padding:.42rem .58rem;font-size:.63rem}
@media(max-width:920px){.team-member-header{display:none}.team-member-row{grid-template-columns:1fr 1fr}.team-member-row>div:before{display:block;color:#77847d;font-size:.58rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase;margin-bottom:.2rem}.team-member-name:before{content:"Name"}.team-member-email:before{content:"Email"}.team-member-row>div:nth-child(3):before{content:"Role"}.team-member-row>div:nth-child(4):before{content:"Status"}.team-member-actions:before{content:"Actions";flex-basis:100%}.team-member-actions{grid-column:1/-1}}
@media(max-width:560px){.team-member-row{grid-template-columns:1fr}.team-member-actions{grid-column:auto}}

/* Polished customer account settings. */
.account-settings-overview--polished{grid-template-columns:minmax(280px,.85fr) minmax(0,1.35fr)}.settings-card-heading>p{color:#65736c;font-size:.76rem;line-height:1.5;margin:.45rem 0 0}.account-profile-email{display:flex;flex-direction:column;gap:.25rem;background:#f5f8f6;border:1px solid #e2e8e4;margin-bottom:1rem;padding:.8rem .9rem}.account-profile-email span{color:#65736c;font-size:.63rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}.account-profile-email strong{font-size:.82rem;overflow-wrap:anywhere}.settings-card--profile .account-form input:disabled{background:#f5f7f5;color:#59675f}.account-team-entry{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid #e5eae7;margin-top:1.25rem;padding-top:1.15rem}.account-team-entry>div{display:flex;flex-direction:column;gap:.22rem}.account-team-entry strong{font-size:.82rem}.account-team-entry span{color:#65736c;font-size:.7rem;line-height:1.4}.account-team-entry .btn{flex:0 0 auto}.subscription-status-grid--customer{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:.25rem}.account-internal-summary{background:#f5f8f6;border-left:4px solid #1d7253;padding:1rem 1.1rem}.account-internal-summary h3{font:700 1.25rem Georgia,serif;margin:0}.account-internal-summary p{color:#65736c;font-size:.78rem;line-height:1.5;margin:.4rem 0 1rem}

/* Compact team invitation and member administration. */
.team-invite-card{padding:1.2rem 1.35rem}.team-invite-form{grid-template-columns:minmax(160px,.8fr) minmax(240px,1.2fr) auto;align-items:end;gap:.85rem}.team-invite-form>.validation-summary{grid-column:1/-1;margin:0}.team-invite-form>div:not(.validation-summary){display:grid;grid-template-rows:18px 44px;gap:.4rem;min-width:0}.team-invite-form label{display:flex;align-items:center;justify-content:space-between;height:18px;line-height:18px;margin:0}.team-invite-form label span{color:#7b8881;font-size:.6rem;font-weight:650;text-transform:none}.account-form.team-invite-form input,.account-form.team-invite-form input:focus,.account-form.team-invite-form input:autofill,.account-form.team-invite-form input:-webkit-autofill{box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0;padding:.72rem .8rem;border-width:1px;border-style:solid;line-height:1.2;outline-offset:0}.account-form.team-invite-form input:focus{border-color:#1d7253;box-shadow:0 0 0 3px rgba(29,114,83,.14);outline:0}.account-form.team-invite-form .input-validation-error{border-color:#a53c2f;box-shadow:0 0 0 1px rgba(165,60,47,.08)}.account-form.team-invite-form input:-webkit-autofill{-webkit-text-fill-color:#1b2822;-webkit-box-shadow:0 0 0 1000px #fff inset;transition:background-color 9999s ease-out}.team-invite-form button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;min-height:44px;margin:0;padding-block:0;line-height:1;white-space:nowrap}.team-members-card{padding:1.35rem}.team-seat-usage{display:inline-flex;white-space:nowrap;border-radius:999px;background:#e8f3ed;color:#176443;padding:.45rem .7rem;font-size:.67rem;font-weight:850}.team-final-admin-note{display:block;max-width:190px;color:#77847d;font-size:.63rem;line-height:1.35}
@media(max-width:920px){.account-settings-overview--polished{grid-template-columns:1fr}.team-invite-form{grid-template-columns:1fr 1fr}.team-invite-form button{justify-self:start}.team-members-card{padding:1rem}}
@media(max-width:600px){.subscription-status-grid--customer,.team-invite-form{grid-template-columns:1fr}.account-team-entry{align-items:flex-start;flex-direction:column}.team-invite-form button{width:100%}}
.team-invite-form>.validation-summary-valid{display:none}
.account-settings--member{max-width:680px}.settings-card--member-profile{padding:1.5rem}.member-account-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;background:#dfe6e1;border:1px solid #dfe6e1}.member-account-facts>div{min-width:0;background:#f8faf8;padding:1rem}.member-account-facts dt{color:#65736c;font-size:.63rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.member-account-facts dd{margin:.3rem 0 0;font-size:.86rem;font-weight:750;overflow-wrap:anywhere}

/* Align invitation controls from their top edge so validation or injected browser UI cannot shift a sibling field. */
.team-invite-form{align-items:start}.team-invite-form>.team-invite-field{display:grid;grid-template-rows:18px 44px auto;align-content:start;gap:.4rem;min-width:0}.team-invite-field>span{min-height:0;font-size:.68rem}.team-invite-form>button{margin-top:calc(18px + .4rem)}

/* Stable, readable team actions with a restrained destructive treatment. */
.team-member-actions{align-items:stretch}.team-member-actions form{display:flex}.team-member-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;line-height:1.15;text-align:center}.team-member-actions .team-action-danger{background:#fff5f2;border-color:#e8c9c0;color:#8b3b2d}.team-member-actions .team-action-danger:hover,.team-member-actions .team-action-danger:focus{background:#f8e5df;border-color:#d8afa4;color:#702d22}
.team-seat-summary{display:inline-flex;margin-top:.7rem;border-radius:999px;background:#e8f3ed;color:#176443;padding:.45rem .7rem;font-size:.7rem;font-weight:850}.team-seat-summary--full{background:#fff1d6;color:#805b10}.team-seat-summary--over,.team-seat-usage--over{background:#f5e2de;color:#8b3b2d}.team-capacity-message{display:flex;align-items:flex-start;flex-direction:column;gap:.55rem;border-left:4px solid #ba851f;background:#fff8e9;padding:1rem 1.1rem}.team-capacity-message--over{border-left-color:#9b4436;background:#fff4f1}.team-capacity-message strong{font-size:.84rem}.team-capacity-message p{max-width:760px;margin:0;color:#59675f;font-size:.75rem;line-height:1.5}.team-member-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:.4rem}.team-member-actions form,.team-member-actions .btn{width:100%}.team-member-actions .team-action-danger{order:10}
@media(max-width:600px){.member-account-facts{grid-template-columns:1fr}.team-invite-form>button{margin-top:0}}
@media(max-width:560px){.team-member-actions{grid-template-columns:1fr 1fr}}
.project-scope-tabs{display:flex;gap:.35rem;margin:-.45rem 0 1rem}.project-scope-tabs a{padding:.5rem .8rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.72rem;font-weight:800}.project-scope-tabs a.active{background:#eef5f0;border-color:#8eb39f;color:var(--green)}
.project-assignment{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;margin:-.4rem 0 1rem}.project-assignment label{font-size:.7rem;font-weight:850}.project-assignment select{min-width:190px;padding:.55rem;border:1px solid var(--line);background:#fff}
@media(max-width:650px){.project-assignment{align-items:stretch;flex-direction:column}.project-assignment select{width:100%}}
/* Company Form Sets and per-user workspace preferences */
.account-experience-mode { margin-bottom: 1.25rem; }
.experience-mode-form { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem 1.25rem; }
.experience-mode-form label { display:flex; align-items:center; gap:.45rem; margin:0; font-weight:700; }
.form-set-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1rem; }
.form-set-card { display:flex; flex-direction:column; justify-content:space-between; gap:1rem; }
.form-set-card dl { display:flex; gap:2rem; margin:0; }
.form-set-card dl div { display:flex; flex-direction:column; }
.form-set-editor { max-width:860px; margin-bottom:1rem; }
.form-set-editor form { display:grid; gap:.65rem; }
.form-set-editor input:not([type=checkbox]), .form-set-editor select, .form-set-editor textarea, .project-form-set-picker select { width:100%; }
.project-form-set-picker { margin-bottom:1.25rem; }
.project-form-set-picker form { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; }
.project-form-set-picker select { flex:1 1 280px; }
.inventory-row small { display:block; color:var(--fc-muted, #667085); }
@media (max-width: 640px) { .experience-mode-form, .project-form-set-picker form { align-items:stretch; flex-direction:column; } }
