/* Team member portal: clean onboarding layout (teal theme, mobile-first) */
.tw-page{background:#f4f8f7;padding:24px 0 64px;min-height:70vh}
.tw-wrap{max-width:820px;margin:0 auto;padding:0 16px}
.tw-eyebrow{margin:0 0 10px;font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-link,#007563)}
.tw-status{font-size:16px;color:#3d4544}
.tw-demo{background:#fff6d6;border:1px solid #e6cf7a;color:#5b4a08;border-radius:12px;padding:12px 14px;margin:0 0 16px;font-size:15px;line-height:1.45}
.tw-card{background:#fff;border:1px solid #dfe9e7;border-radius:16px;padding:22px 18px;margin:0 0 16px;box-shadow:0 1px 2px rgba(13,19,18,.04)}
.tw-card h1{font-size:clamp(1.6rem,6vw,2.1rem);line-height:1.15;margin:0 0 10px;color:var(--ink,#0d1312);letter-spacing:-.02em}
.tw-card h2{font-size:1.15rem;margin:0 0 12px;color:var(--teal-dk,#16474c)}
/* sign-in */
.tw-login label,.tw-field label{display:block;font-weight:600;margin:14px 0 6px;color:#1f2a29;font-size:15px}
.tw-login input,.tw-field input,.tw-field select,.tw-field textarea{width:100%;box-sizing:border-box;min-height:48px;padding:10px 12px;border:1px solid #9fb9b5;border-radius:10px;font:inherit;font-size:16px;background:#fff;color:#0d1312}
.tw-field textarea{min-height:92px;resize:vertical}
.tw-login input:focus,.tw-field :is(input,select,textarea):focus{outline:3px solid #59d8b3;outline-offset:1px;border-color:var(--teal-btn,#00615c)}
.tw-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:14px;width:100%}
@media (min-width:560px){.tw-btn{width:auto;padding-left:26px;padding-right:26px}}
.tw-link{background:none;border:0;color:var(--teal-link,#007563);text-decoration:underline;font:inherit;font-weight:600;min-height:44px;padding:8px 0;cursor:pointer}
.tw-err{color:#a4161a;font-weight:600;margin:6px 0 0;font-size:15px}
.tw-ok{color:var(--teal-link,#007563);font-weight:600;margin:10px 0 0}
.tw-fine{font-size:14px;color:#4a5150;line-height:1.5;margin:12px 0 0}
.tw-fine a,.tw-card p a,.tw-foot-help a,.tw-panel a:not(.tw-go){color:var(--teal-link,#007563);text-decoration:underline}
/* welcome card */
.tw-hero{background:linear-gradient(135deg,#0f4f52 0%,#00615c 60%,#00796b 100%);color:#fff;border-radius:20px;padding:24px 20px 20px;margin:0 0 22px;box-shadow:0 8px 24px rgba(0,70,66,.18)}
.tw-hero .tw-eyebrow{color:#bdf3e3;margin:0}
.tw-hero-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.tw-badge{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;background:#fff;color:#0f4f52;font-weight:700;font-size:13.5px;letter-spacing:.02em}
.tw-hero h1{color:#fff;font-size:clamp(1.55rem,6vw,2.15rem);line-height:1.15;margin:14px 0 4px;letter-spacing:-.02em}
.tw-meta{margin:0;color:#d6f5ec;font-size:14.5px}
.tw-meta b{color:#fff;letter-spacing:.06em;font-variant-numeric:tabular-nums}
.tw-start{margin-top:18px;width:100%;min-height:52px;background:#fff!important;color:#0f4f52!important;border:0;font-size:17px;font-weight:700;border-radius:12px;box-shadow:0 2px 0 rgba(0,0,0,.08)}
.tw-start:hover,.tw-start:focus-visible{background:#e8fbf5!important}
.tw-start:focus-visible{outline:3px solid #bdf3e3;outline-offset:3px}
@media (min-width:560px){.tw-start{width:auto;padding:0 34px}}
.tw-prog{margin-top:20px}
.tw-prog-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:14.5px;font-weight:600;color:#fff}
.tw-prog-items{font-weight:400;color:#d6f5ec}
.tw-progress{height:10px;background:rgba(255,255,255,.22);border-radius:99px;overflow:hidden;margin:8px 0 0}
.tw-progress span{display:block;height:100%;width:0;background:#7ff0cd;border-radius:99px;transition:width .5s}
.tw-hero .tw-fine{color:#d6f5ec}.tw-hero .tw-fine a{color:#fff}
/* stepper */
.tw-stepper{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:12px}
.tw-step{background:#fff;border:1px solid #dfe9e7;border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(13,19,18,.04);scroll-margin-top:84px}
.tw-step.is-next{border:2px solid var(--teal,#00b99b);box-shadow:0 6px 18px rgba(0,185,155,.14)}
.tw-step-h{margin:0;font-size:inherit}
.tw-step-btn{width:100%;display:flex;align-items:center;gap:14px;padding:18px 16px;background:none;border:0;text-align:left;font:inherit;color:inherit;cursor:pointer;min-height:64px}
.tw-step-btn:focus-visible{outline:3px solid #59d8b3;outline-offset:-3px;border-radius:16px}
.tw-num{flex:0 0 38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;background:#e7f3f1;color:#0f4f52}
.tw-step.is-next .tw-num{background:var(--teal-btn,#00615c);color:#fff}
.tw-step.is-done .tw-num{background:#00615c;color:#fff}
.tw-num .tw-ic{width:20px;height:20px}
.tw-step-txt{flex:1;min-width:0;display:flex;flex-direction:column}
.tw-step-k{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#4a6662}
.tw-step-txt b{font-size:1.12rem;color:#0d1312;line-height:1.3}
.tw-step-txt small{font-size:14.5px;color:#4a5150;line-height:1.4;margin-top:2px}
.tw-state{flex:0 0 auto;font-size:13px;font-weight:700;color:#3d5553;background:#eef3f2;border-radius:999px;padding:5px 10px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.tw-state.is-next{background:#d9f7ee;color:#00514b}
.tw-state.is-done{background:#e3f4ef;color:#00514b}
.tw-state .tw-ic{width:14px;height:14px}
.tw-chev{flex:0 0 20px;color:#4a6662;transition:transform .2s}
.tw-chev .tw-ic{width:20px;height:20px}
.tw-step-btn[aria-expanded="true"] .tw-chev{transform:rotate(180deg)}
@media (max-width:420px){.tw-step-btn{flex-wrap:wrap}.tw-state{order:3;margin-left:52px}.tw-step-txt{flex-basis:calc(100% - 92px)}}
.tw-step-body{padding:0 16px 18px;border-top:1px solid #edf3f2}
.tw-items{list-style:none;margin:0;padding:0}
.tw-item{border-bottom:1px solid #edf3f2;padding:14px 0}
.tw-item:last-child{border-bottom:0}
.tw-item-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.tw-item-ic{flex:0 0 40px;height:40px;border-radius:12px;background:#eaf6f3;color:#00615c;display:inline-flex;align-items:center;justify-content:center}
.tw-item.is-done .tw-item-ic{background:#00615c;color:#fff}
.tw-ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tw-item-txt{flex:1 1 200px;min-width:0}
.tw-item-txt b{font-size:16px;color:#0d1312;line-height:1.35}
.tw-desc{display:block;font-size:14.5px;color:#4a5150;margin-top:2px;line-height:1.4}
.tw-tag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;background:#eef3f2;color:#3d5553;font-size:12px;font-weight:700;vertical-align:2px}
.tw-go{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:104px;padding:8px 16px;border-radius:10px;border:2px solid var(--teal-btn,#00615c);background:#fff;color:var(--teal-btn,#00615c)!important;font:inherit;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none!important;margin-left:auto}
.tw-go:hover,.tw-go:focus-visible{background:var(--teal-btn,#00615c);color:#fff!important}
.tw-item.is-done .tw-go{border-color:#c5d8d4}
@media (max-width:480px){.tw-go{margin-left:54px}}
.tw-panel{margin:12px 0 0 54px;padding:14px;background:#f7fbfa;border:1px solid #e3efed;border-radius:12px}
@media (max-width:480px){.tw-panel{margin-left:0}}
.tw-panel p{margin:0 0 8px;line-height:1.5}
.tw-soon{margin-top:10px;padding-top:12px;border-top:1px dashed #d5e3e0}
.tw-soon h3{margin:0;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#4a5654}
.tw-soon h3 span{font-weight:400}
.tw-soon p{margin:2px 0 4px;font-size:14px;color:#4a5654}
.tw-items.is-soon .tw-item{padding:10px 0}
.tw-items.is-soon .tw-item-ic{background:#f1f4f3;color:#55605e;width:34px;height:34px;flex-basis:34px;border-radius:10px}
.tw-items.is-soon .tw-item-txt b{font-size:15px;color:#3f4847;font-weight:600}
.tw-items.is-soon .tw-desc{font-size:14px;color:#525b5a}
/* agreement */
.tw-agree{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:10px 0;font-weight:600;cursor:pointer}
.tw-agree input{width:24px;height:24px;flex:0 0 24px;margin:1px 0 0;accent-color:#00615c}
/* roadmap, videos */
.tw-stages{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:8px}
@media (min-width:560px){.tw-stages{grid-template-columns:1fr 1fr}}
.tw-stages li{background:#fff;border:1px solid #e3efed;border-radius:10px;padding:10px 12px;font-weight:600;color:#1f2a29}
.tw-stages b{color:var(--teal-link,#007563);margin-right:8px}
.tw-links{list-style:none;margin:0;padding:0}
.tw-links li{border-top:1px solid #e3efed}.tw-links li:first-child{border-top:0}
.tw-links a{display:flex;justify-content:space-between;gap:6px;min-height:48px;align-items:center;padding:6px 0;color:var(--teal-dk,#16474c)!important;font-weight:600}
.tw-links a span{font-weight:400;color:#4a5150;font-size:14px}
/* forms */
.tw-form .tw-field:first-child label{margin-top:0}
/* tier */
.tw-tierbox h2{font-size:1.05rem}
.tw-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tw-chips li{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#eef7f5;color:#16474c;font-size:14px;font-weight:600;line-height:1.3}
.tw-chips .tw-ic{width:16px;height:16px;color:#00897b}
.tw-foot-help{padding:4px 4px 0;color:#3d4544;font-size:15px}
.tw-foot-help p{margin:0 0 6px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tw-done-pill{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:700;color:#00514b;background:#e3f4ef;border-radius:999px;padding:6px 12px}.tw-done-pill .tw-ic{width:16px;height:16px}
@media (max-width:480px){.tw-done-pill{margin-left:54px}}
