/* Elementor owns the outer width; TEC only arranges the contents. */
.tec-form.tec-account{width:100%;max-width:none;min-width:0;height:auto;min-height:0;box-sizing:border-box;margin:0;padding:0;border:0;box-shadow:none;background:transparent;container-type:inline-size}
.tec-account .tec-account-header{padding:clamp(1.25rem,3vw,2rem);margin:0 0 1.5rem;background:var(--tec-surface);border-radius:var(--tec-card-radius)}
.tec-account .tec-profile-eyebrow{margin:0 0 .6rem;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--tec-text-muted)}
.tec-account .tec-account-header h2{font-size:clamp(1.4rem,3vw,1.9rem);line-height:1.25;margin:0 0 .8rem}
.tec-account .tec-account-message{margin:0;color:var(--tec-text);font-size:1rem;line-height:1.65;max-width:75ch}
.tec-account .tec-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem 1.5rem;margin-top:1.25rem;font-size:.9rem}
.tec-account [data-tec-account-action]:empty{display:none}
.tec-account-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;align-items:start}
.tec-account .tec-account-module{min-width:0;padding:clamp(1.15rem,2.5vw,1.75rem);border:1px solid var(--tec-border);border-radius:var(--tec-card-radius);background:var(--tec-background)}
.tec-account .tec-account-module h3{font-size:1.15rem;line-height:1.35;margin:0 0 .6rem}
.tec-account .tec-account-module p{font-size:.92rem;line-height:1.65;color:var(--tec-text-muted)}
.tec-account .tec-account-intro{margin:0 0 1.5rem}.tec-account-help p{margin:0 0 1rem}
.tec-account .tec-account-steps{list-style:none;margin:0;padding:0}
.tec-account .tec-account-step{position:relative;display:grid;grid-template-columns:1.85rem minmax(0,1fr);gap:.85rem;margin:0;padding:0 0 1.7rem}
.tec-account .tec-account-step:last-child{padding-bottom:0}
.tec-account-step:not(:last-child)::before{content:'';position:absolute;inset-inline-start:.9rem;top:1.85rem;bottom:0;border-inline-start:1px solid var(--tec-border)}
.tec-account-step.is-complete:not(:last-child)::before{border-color:var(--tec-status-success)}
.tec-step-marker{display:flex;align-items:center;justify-content:center;width:1.85rem;height:1.85rem;box-sizing:border-box;border:1px solid var(--tec-border);border-radius:50%;color:var(--tec-text-muted);background:var(--tec-background);font-size:.8rem;line-height:1;z-index:1}
.is-complete>.tec-step-marker{color:var(--tec-status-success);background:var(--tec-status-success-bg);border-color:var(--tec-status-success)}
.is-current>.tec-step-marker{color:var(--tec-status-info);background:var(--tec-status-info-bg);border-color:var(--tec-status-info);border-width:2px}
.tec-step-heading{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .75rem;min-height:1.85rem}
.tec-account .tec-step-heading h4{flex:1 1 11rem;margin:0;color:var(--tec-text);font-size:.98rem;font-weight:600;line-height:1.4}
.tec-account .is-complete .tec-step-heading h4{font-weight:500}
.tec-account .tec-step-content>p{margin:.4rem 0 .65rem}.tec-account .tec-step-content>p:last-child{margin-bottom:0}
.tec-account .tec-step-content .tec-step-provider{font-size:.8rem}.tec-account .tec-step-content form{margin:.75rem 0 0}
.tec-account .tec-step-content{min-width:0;overflow-wrap:anywhere}
@container(min-width:760px){.tec-account-grid{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)}}
/* Shared editorial hierarchy and profile reading mode. Scoped to TEC. */
.tec-form.tec-account h2,.tec-form.tec-account h3,.tec-form.tec-profile h2,.tec-form.tec-profile h3,.tec-form.tec-profile h4,.tec-profile .tec-module-toggle{font-weight:700;line-height:1.3}
.tec-profile .tec-profile-section>h3,.tec-profile .tec-linking-panel>h3{font-size:1.15rem;margin-bottom:1rem}
.tec-account .tec-account-actions form{margin:0}.tec-account .tec-account-actions .tec-button{font-size:.9rem;padding:.7rem 1rem;min-height:44px}
.tec-avatar-link{float:inline-end;position:relative;margin:0 0 .75rem 1rem;display:inline-flex;color:var(--tec-link-color,var(--tec-primary))}
.tec-avatar-link img,.tec-profile-photo img{border-radius:50%;object-fit:cover;display:block;max-width:100%}
.tec-avatar-link img{width:64px;height:64px}.tec-avatar-link span{position:absolute;right:-2px;bottom:0;background:var(--tec-background);border:1px solid var(--tec-border);border-radius:50%;width:24px;height:24px;text-align:center}
.tec-profile .tec-profile-photo{padding:1rem 0;margin-bottom:1rem;border-bottom:1px solid var(--tec-border)}
.tec-profile-photo form{display:flex;gap:.75rem 1rem;align-items:center;flex-wrap:wrap}.tec-profile-photo p{font-size:.85rem;margin:0}.tec-profile-photo label{font-weight:600}.tec-profile-photo input{display:block;max-width:100%;font-size:.85rem}.tec-profile-photo [data-tec-photo-status]{flex-basis:100%}
.tec-profile .tec-profile-read-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;margin:0 0 1.25rem}.tec-profile-read-grid dt{font-weight:600;font-size:.85rem;color:var(--tec-text-muted)}.tec-profile-read-grid dd{margin:.3rem 0 0;overflow-wrap:anywhere;color:var(--tec-text)}
.tec-profile [data-tec-edit-actions]{display:flex;gap:.75rem;flex-wrap:wrap}.tec-profile [data-tec-section-conflict]{margin-top:1rem;padding:1rem;border:1px solid var(--tec-border);border-radius:var(--tec-card-radius)}
.tec-profile [data-tec-kept-draft]{margin-top:1rem}.tec-profile-timeline>summary{font-weight:600;cursor:pointer;padding:.75rem 0}.tec-profile-timeline .tec-account-steps{margin-top:1rem}.tec-profile-timeline .tec-account-step{padding-bottom:1.1rem}
.tec-profile [hidden],.tec-account [hidden]{display:none!important}
@media(max-width:600px){.tec-profile .tec-profile-read-grid{grid-template-columns:1fr}.tec-avatar-link img{width:48px;height:48px}.tec-account .tec-account-actions{gap:.75rem}.tec-profile-photo form{align-items:flex-start}.tec-profile-photo img{width:64px;height:64px}.tec-profile .tec-profile-section>h3{font-size:1.05rem}}
