/* Tutor Connect page only — scoped selectors avoid global/header regressions. */
.tc-shell{width:min(1050px,calc(100% - 32px));margin:36px auto 70px;color:#18324c;font-family:Inter,"Segoe UI",Arial,sans-serif}
.tc-shell *{box-sizing:border-box}
.tc-shell .tc-hero{margin:0 0 20px;max-width:none;padding:32px;border-radius:18px;background:linear-gradient(120deg,#0755a5,#073b76);color:#fff;text-align:left;box-shadow:0 12px 30px rgba(5,66,128,.14)}
.tc-shell .tc-hero span{font-size:.79rem;font-weight:800;letter-spacing:.13em;color:#cbeaff}
.tc-shell .tc-hero h1{max-width:780px;margin:10px 0;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.22;color:#fff}
.tc-shell .tc-hero p{max-width:790px;margin:0;color:#e5f2ff;line-height:1.65}
.tc-mode-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}
.tc-mode-tabs a{padding:12px 20px;border:1px solid #cadced;border-radius:10px;background:#fff;color:#095399;text-decoration:none;font-weight:750}
.tc-mode-tabs a.active,.tc-mode-tabs a:hover{background:#0755a5;color:#fff;border-color:#0755a5}
.tc-card{padding:clamp(18px,3vw,36px);background:#fff;border:1px solid #dde8f2;border-radius:18px;box-shadow:0 12px 32px rgba(14,48,81,.08)}
.tc-card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:24px}
.tc-card-head span{font-size:.77rem;font-weight:800;letter-spacing:.1em;color:#0879ab}.tc-card-head h2{margin:5px 0 0;font-size:1.45rem;color:#123b65}.tc-card-head>b{font-size:.78rem;color:#48708f}
.tc-form fieldset{margin:0 0 23px;padding:22px;border:1px solid #deebf4;border-radius:12px;min-width:0}
.tc-form legend{padding:0 9px;color:#0a4e8f;font-weight:800;font-size:1.08rem}
.tc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}
.tc-form label{display:block;color:#24405d;font-size:.88rem;font-weight:730;line-height:1.45}
.tc-form label span:not(.tc-consent span){color:#bc3340}
.tc-form label small{color:#637991;font-weight:500}
.tc-form input:not([type=checkbox]),.tc-form select,.tc-form textarea{display:block;width:100%;min-width:0;margin-top:7px;padding:12px 13px;border:1px solid #bfcfdf;border-radius:9px;background:#fff;color:#17344f;font:inherit;font-weight:450;line-height:1.4}
.tc-form input:focus-visible,.tc-form select:focus-visible,.tc-form textarea:focus-visible{outline:2px solid #2c8fd1;outline-offset:1px;border-color:#2c8fd1}
.tc-form .wide{grid-column:1/-1}.tc-form textarea{resize:vertical;min-height:105px}
.tc-form .tc-consent{display:flex;align-items:flex-start;gap:10px;margin-bottom:17px;font-size:.89rem;font-weight:500}.tc-consent input{margin-top:4px;flex:0 0 auto}.tc-consent span{color:#334e68}
.tc-safety{color:#60758c;font-size:.83rem;line-height:1.65}
.tc-submit{display:inline-flex;align-items:center;gap:12px;justify-content:center;min-height:48px;padding:12px 23px;border:0;border-radius:10px;background:#087b43;color:#fff;font:inherit;font-weight:800;cursor:pointer}.tc-submit:hover{background:#086c3c}
.tc-message{margin:0 0 18px;padding:13px 16px;border-radius:10px;border:1px solid}.tc-message.success{background:#edf9f1;color:#146b36;border-color:#b6e2c4}.tc-message.error{background:#fff1f1;color:#9c2531;border-color:#f2b9bf}
.tc-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.tc-footer{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;padding:25px;color:#658097;font-size:.85rem}.tc-footer strong{color:#0755a5}
@media(max-width:650px){.tc-shell{width:calc(100% - 20px);margin:18px auto 44px}.tc-shell .tc-hero{padding:22px}.tc-card{padding:17px}.tc-grid{grid-template-columns:1fr}.tc-form fieldset{padding:14px}.tc-card-head h2{font-size:1.2rem}.tc-submit{width:100%}}

/* Progressive registration — scoped exclusively to Tutor Connect */
.tc-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:4px 0 28px}
.tc-progress span{padding:11px 8px;text-align:center;border-bottom:3px solid #dbe6f1;background:#f4f8fc;color:#687e92;font-weight:800;border-radius:9px 9px 0 0}
.tc-progress span small{display:block;font-size:.75rem;line-height:1.3;font-weight:650;color:inherit}
.tc-progress span.is-active{border-bottom-color:#0755a5;background:#eaf3ff;color:#0755a5}
.tc-form .tc-step{margin-bottom:20px}
.tc-step h3{font-size:1.2rem;letter-spacing:-.02em;color:#123b65;margin:0 0 5px}
.tc-step-intro{margin:0 0 22px;color:#64748b;line-height:1.5}
.tc-form .tc-step[hidden],.tc-form .tc-conditional[hidden],.tc-form .tc-back[hidden],.tc-form .tc-next[hidden],.tc-form .tc-submit[hidden]{display:none!important}
.tc-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.tc-back,.tc-next{border:1px solid #cbdcec;background:#f7fafc;color:#164a78;border-radius:10px;padding:13px 22px;font:inherit;font-weight:800;cursor:pointer}
.tc-next{background:#0755a5;border-color:#0755a5;color:white;margin-left:auto}
.tc-next:hover{background:#05457f}.tc-back:hover{background:#e9f3fc}
.tc-form input:invalid:focus,.tc-form select:invalid:focus{border-color:#d94848}
@media(max-width:650px){.tc-progress span{font-size:.86rem;padding:10px 3px}.tc-progress span small{font-size:.67rem}.tc-actions{flex-wrap:wrap}.tc-next,.tc-submit{flex:1}.tc-back{min-width:105px}}
