@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#173a40;--teal:#0f766e;--ivory:#f7f8f5;--text:#263b43;--muted:#687d82;--line:#e0e9e6;--shadow:0 20px 55px rgba(22,78,82,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:'DM Sans',Arial,sans-serif;background:#fff;font-size:15px;line-height:1.55}h1,h2,h3{font-family:Manrope,Arial,sans-serif;line-height:1.19;letter-spacing:-.04em;color:var(--navy)}h1{font-size:clamp(36px,4.4vw,66px);margin:18px 0 23px;font-weight:800}h2{font-size:clamp(27px,3vw,42px);margin:8px 0 18px}h3{font-size:19px;margin:0 0 10px}h1 em,h2 em{font-style:normal;color:var(--teal)}p{margin:0 0 16px;color:var(--muted)}a{text-decoration:none;color:var(--teal)}a:hover{color:#094d49}.container{width:min(1180px,calc(100% - 44px));margin:auto}.narrow{max-width:950px}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand img{display:block;width:204px;height:70px;object-fit:contain;object-position:left center}.site-header nav{display:flex;align-items:center;gap:27px}.site-header nav>a,.nav-link{font-weight:700;color:#304a50;font-size:13px}.site-header nav>a:hover,.nav-link:hover{color:var(--teal)}.site-header nav .btn{color:#fff}.menu-toggle{display:none;border:0;background:transparent;font-size:25px;color:var(--navy)}.btn{border:1px solid var(--teal);border-radius:10px;background:var(--teal);color:#fff!important;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 22px;font-weight:800;font-family:inherit;font-size:14px;cursor:pointer;transition:.2s;white-space:nowrap}.btn:hover{background:#0b5b55;transform:translateY(-1px)}.btn-small{padding:10px 16px;font-size:12px}.btn-outline{background:#fff;color:var(--teal)!important}.btn-light{background:#fff;border-color:#fff;color:var(--navy)!important}.full{width:100%}.inline{display:inline}.nav-link{border:0;background:none;cursor:pointer;font-family:inherit}.eyebrow{display:inline-block;color:var(--teal);font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.eyebrow.light{color:#9fe0d5}.hero{background:linear-gradient(115deg,#f6faf7 5%,#edf6f3 63%,#eaf4f5);padding:70px 0 0}.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:60px;align-items:center}.hero-copy{font-size:17px;max-width:510px}.hero-points{display:flex;gap:20px;flex-wrap:wrap;color:#3f6e69;font-size:12px;font-weight:700;margin:25px 0}.hero-art{position:relative;padding:0 0 15px}.hero-photo{border-radius:190px 190px 32px 32px;overflow:hidden;background:#c7e7df;max-height:440px}.hero-photo img{width:100%;height:430px;object-fit:cover}.floating-stat{position:absolute;bottom:32px;left:-30px;background:white;display:flex;align-items:center;gap:13px;border-radius:13px;padding:17px 20px;box-shadow:var(--shadow)}.floating-stat b,.floating-stat small{display:block}.floating-stat small{color:var(--muted);font-size:12px}.stat-icon{background:#e3f5ed;border-radius:9px;padding:12px;color:var(--teal);font-size:22px}.search-panel{position:relative;top:42px;background:#fff;box-shadow:0 18px 60px #143b3d18;border:1px solid #e3eeea;border-radius:16px;padding:23px 26px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.panel-head strong{font-size:18px;color:var(--navy)}.panel-head span{font-size:12px;color:var(--muted)}.search-fields{display:grid;grid-template-columns:1.2fr 1.1fr 1fr 1fr auto;gap:12px;align-items:end}.search-fields label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#557078}.search-fields input,.search-fields select{height:48px}.section{padding:100px 0}.section.slim{padding:55px 0 85px}.section.alt{background:var(--ivory)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:33px}.section-head p{max-width:310px}.category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.category-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;color:inherit;transition:.2s}.category-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}.category-card img{display:block;width:100%;height:155px;object-fit:cover}.category-info{padding:16px}.category-info h3{font-size:15px;letter-spacing:-.02em;margin:0 0 5px}.category-info p{font-size:12px;min-height:38px;margin:0 0 12px}.category-info span{font-size:11px;color:var(--teal);font-weight:800}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.steps>div{background:#fff;border:1px solid var(--line);padding:34px;border-radius:14px}.steps span{font-size:34px;font-weight:800;color:#a7d3ca}.steps h3{margin-top:16px}.cta{background:linear-gradient(110deg,#164e52,#0c6661);color:white;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:45px 55px;overflow:hidden}.cta h2{color:#fff}.cta p{color:#d4efea;max-width:550px}.cta img{width:280px;max-height:260px;object-fit:contain}.footer{background:#f6f9f7;border-top:1px solid var(--line);padding:48px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:70px}.footer-grid>div{display:flex;flex-direction:column;gap:12px}.footer-grid b{color:var(--navy)}.footer-grid a,.footer-grid span{font-size:13px}.footer-grid p{font-size:13px;max-width:350px}.footer-logo{width:190px;height:66px;object-fit:contain;object-position:left}.page-top{background:linear-gradient(120deg,#f3f8f5,#eaf6f2);padding:62px 0}.page-top h1{font-size:clamp(31px,4vw,48px);margin:12px 0}.page-top p{margin:0}.results-layout{display:grid;grid-template-columns:270px 1fr;gap:27px;align-items:start}.filter-card,.surface,.auth-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 5px 25px #153c4009}.filter-card{position:sticky;top:110px}.filter-card h3{margin-bottom:20px}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 17px}.field span{font-size:12px;color:#516b71;font-weight:800}input,select,textarea{width:100%;border:1px solid #dce7e3;border-radius:9px;padding:12px 13px;background:#fff;color:var(--navy);font:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f766e15}.subtle-link{display:block;text-align:center;font-size:12px;margin-top:15px}.results-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.results-heading h2{font-size:23px;margin:0 0 4px}.results-heading p{font-size:12px;margin:0}.pill{font-size:11px;color:#2d756b;background:#e9f5f0;border-radius:50px;padding:7px 11px;white-space:nowrap}.teacher-card{display:flex;align-items:center;gap:19px;border:1px solid var(--line);border-radius:14px;padding:23px;margin-bottom:14px;background:#fff}.avatar{width:64px;height:64px;flex:0 0 64px;border-radius:17px;background:#e1f1ec;display:flex;align-items:center;justify-content:center;color:var(--teal);font-weight:800;font-size:27px}.avatar.big{width:90px;height:90px;font-size:40px}.teacher-main{flex:1;min-width:0}.teacher-main p{font-size:13px;margin:5px 0}.teacher-main .teacher-meta{font-size:12px}.teacher-line{display:flex;align-items:center;gap:10px}.teacher-line h3{margin:0}.sponsored{font-size:10px;color:#6d571e;background:#fff5d5;border:1px solid #eedc9c;padding:3px 7px;border-radius:4px}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.tags span{font-size:11px;background:#f3f6f5;padding:5px 8px;border-radius:5px}.pagination{display:flex;gap:7px;justify-content:center;margin-top:24px}.pagination a{border:1px solid var(--line);padding:8px 13px;border-radius:8px}.pagination a.active{background:var(--teal);color:#fff}.empty{text-align:center;border:1px dashed var(--line);padding:60px 25px;border-radius:15px}.profile-head{display:flex;gap:23px;align-items:center;padding:30px;background:#eff7f4;border-radius:17px;margin:20px 0}.profile-head h1{font-size:36px;margin:7px 0}.profile-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.details>div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.details span{text-align:right;color:var(--muted)}.contact small{color:var(--muted)}.phone-reveal{background:#e6f6ee;color:var(--teal);font-size:23px;font-weight:800;padding:15px;border-radius:9px;margin:20px 0}.checkbox-line{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:var(--muted);margin:16px 0}.checkbox-line input{width:auto;margin-top:3px}.auth-section{background:#f6faf8;padding:68px 0}.auth-grid{display:grid;grid-template-columns:1fr 1.07fr;gap:60px;align-items:center}.auth-side{background:linear-gradient(135deg,#164e52,#0d716a);color:#fff;border-radius:22px;padding:50px 42px;overflow:hidden}.auth-side h1{color:#fff;font-size:42px}.auth-side p{color:#d1ece6}.auth-side img{width:100%;height:250px;object-fit:contain;margin-top:12px}.auth-benefits{line-height:2.4;font-size:13px;color:#e2f7f1}.auth-card h2{font-size:28px}.auth-card>p{font-size:13px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.auth-center{max-width:500px}.center-logo{text-align:center}.center-logo img{width:200px;height:95px;object-fit:contain}.right{text-align:right;font-size:12px;margin:0 0 18px}.auth-foot{text-align:center;margin:22px 0 0;font-size:13px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.metrics>div{border:1px solid var(--line);border-radius:13px;padding:21px;background:#fff}.metrics span{font-size:12px;color:var(--muted);display:block}.metrics strong{font-size:23px;color:var(--navy);display:block;margin-top:7px}.dashboard-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:20px}.side-stack{display:flex;flex-direction:column;gap:20px}.plan-option{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.plan-option strong{color:var(--teal)}.muted{font-size:12px}.lead-row{padding:12px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;font-size:13px}.lead-row small{color:var(--muted)}.admin-section{margin-bottom:22px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#f3f8f5;color:#52716f}th,td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:middle}td small{display:block;color:var(--muted)}.admin-action{display:flex;gap:8px}.admin-action select{min-width:105px}.password-inline{display:flex;align-items:end;gap:15px}.password-inline .field{flex:1}.legal h2{font-size:22px;margin-top:24px}.notice{padding:14px 18px;background:#e9f7ed;border-radius:9px;margin-top:15px;color:#235b44}.notice.error{background:#fff0ec;color:#a43e2e}.back{font-size:13px;font-weight:700}@media(max-width:1100px){.category-grid{grid-template-columns:repeat(3,1fr)}.search-fields{grid-template-columns:repeat(2,1fr)}.search-fields .btn{height:48px}.site-header nav{gap:13px}}@media(max-width:760px){.container{width:min(100% - 30px,1180px)}.header-inner{height:72px}.brand img{width:170px;height:60px}.menu-toggle{display:block}.site-header nav{display:none;position:absolute;top:72px;left:0;right:0;padding:22px;background:white;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.site-header nav.open{display:flex}.hero{padding:38px 0 0}.hero-grid,.auth-grid,.profile-grid,.dashboard-grid,.results-layout{grid-template-columns:1fr;gap:22px}.hero h1{font-size:40px}.hero-photo img{height:280px}.hero-art{max-width:440px;margin:auto}.floating-stat{left:10px;bottom:8px}.search-panel{top:20px;padding:20px}.search-fields,.form-row{grid-template-columns:1fr}.section{padding:65px 0}.section.slim{padding:32px 0 60px}.section-head{display:block}.category-grid{grid-template-columns:repeat(2,1fr);gap:12px}.category-card img{height:135px}.steps,.metrics{grid-template-columns:1fr 1fr}.cta{padding:30px;display:block}.cta img{width:220px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div:first-child{grid-column:span 2}.filter-card{position:static}.teacher-card{flex-wrap:wrap;padding:17px}.teacher-card>.btn{width:100%}.auth-section{padding:25px 0}.auth-side{padding:30px}.auth-side img{height:150px}.password-inline{display:block}.page-top{padding:40px 0}}@media(max-width:440px){.category-grid{grid-template-columns:1fr 1fr}.category-info{padding:11px}.category-info h3{font-size:13px}.category-card img{height:112px}.steps,.metrics{grid-template-columns:1fr}.teacher-card{gap:10px}.avatar{width:48px;height:48px;flex-basis:48px}.teacher-line h3{font-size:16px}.cta img{width:100%}}

/* Multi-select subjects and skills */
.skill-field{display:block;min-width:0}.skill-field>span{display:block;font-weight:650;margin-bottom:10px}.skill-choices{border:1px solid #dce7e4;border-radius:12px;background:#fbfdfc;padding:12px;max-height:245px;overflow:auto}.skill-group{display:flex;flex-wrap:wrap;gap:8px}.skill-group[hidden]{display:none!important}.skill-choice{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #d9e6e1;border-radius:9px;background:white;cursor:pointer;font-size:13px;line-height:1.3;color:#164e52}.skill-choice:has(input:checked){background:#e2f4ef;border-color:#0f766e;font-weight:650}.skill-choice input{accent-color:#0f766e;width:15px;height:15px;margin:0;flex-shrink:0}.filter-card .skill-choices{max-height:280px}.filter-card .skill-choice{width:100%}


/* FMT professional UI refinement — safe visual-only overrides, 16 Oct 2026 */
:root{--navy:#173a40;--teal:#0f766e}
body{font-size:15px;line-height:1.62;-webkit-font-smoothing:antialiased}
h1,h2,h3{letter-spacing:-.032em;line-height:1.22}
.container{width:min(1180px,calc(100% - 48px))}
.header-inner{height:82px;gap:32px}
.brand{display:inline-flex;align-items:center;flex:0 0 auto}
.brand img{width:186px;height:60px;object-fit:contain;object-position:left center}
.site-header nav{gap:25px}
.site-header nav>a,.nav-link{font-size:13px;line-height:1.4;font-weight:700}
.btn,.site-header nav .btn{min-height:46px;padding:12px 21px;line-height:1.3;letter-spacing:0;font-weight:750;border-radius:10px;box-shadow:none}
.btn:hover{box-shadow:0 7px 18px rgba(15,118,110,.14)}
.btn:focus-visible,a:focus-visible{outline:3px solid #86d8cd;outline-offset:3px}
.hero{padding-top:66px}
.hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:66px}
.hero h1{font-size:clamp(38px,3.85vw,57px);line-height:1.17;max-width:590px;letter-spacing:-.042em;margin:21px 0 23px}
.hero-copy{font-size:16px;line-height:1.8;max-width:530px}
.hero-points{gap:12px 20px;margin:23px 0 12px}
.hero-art{max-width:520px;width:100%;justify-self:end}
.hero-photo img{height:410px}
.floating-stat{left:-15px;bottom:24px}
.search-panel{top:32px;padding:24px 28px}
.section{padding:84px 0}
.section.slim{padding:48px 0 75px}
.section-head{margin-bottom:29px}
.section-head h2{line-height:1.23}
.category-info{padding:17px}
.category-info h3{line-height:1.3}
/* Register CTA: deliberately bright button on dark background with reliable contrast */
.cta{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:52px;padding:48px 56px;border-radius:22px;background:linear-gradient(112deg,#164e52 0%,#0c6661 100%)}
.cta>div{min-width:0}
.cta h2{font-size:clamp(30px,3vw,42px);line-height:1.24;letter-spacing:-.03em;margin:13px 0 18px;color:#fff}
.cta p{font-size:15px;line-height:1.75;max-width:550px;margin-bottom:22px;color:#e0f4ef}
.cta img{display:block;width:100%;max-width:300px;max-height:235px;object-fit:contain;justify-self:center}
.cta .btn.btn-light,.cta a.btn.btn-light,.cta a.btn.btn-light:visited{background:#fff!important;border:2px solid #fff!important;color:#164e52!important;font-weight:800!important;min-height:50px;padding:13px 23px;box-shadow:0 6px 20px rgba(0,0,0,.09)}
.cta .btn.btn-light:hover,.cta a.btn.btn-light:hover{background:#e7f7f2!important;color:#0b4c49!important;border-color:#e7f7f2!important}
.footer{padding:42px 0}
.footer-grid{gap:50px}
.footer-logo{width:175px;height:58px}
@media(max-width:980px){.site-header nav{gap:14px}.site-header nav>a,.nav-link{font-size:12px}.brand img{width:165px}.hero-grid{gap:35px}.hero h1{font-size:clamp(36px,4.4vw,48px)}.cta{grid-template-columns:minmax(0,1fr) 230px;gap:22px;padding:38px}}
@media(max-width:760px){.container{width:min(100% - 30px,1180px)}.header-inner{height:72px}.brand img{width:158px;height:56px}.site-header nav{gap:15px}.hero{padding:40px 0 0}.hero-grid{grid-template-columns:1fr;gap:24px}.hero h1{font-size:clamp(34px,8.4vw,44px);line-height:1.19;margin:15px 0 19px}.hero-copy{font-size:15px}.hero-art{justify-self:center;max-width:440px}.hero-photo img{height:280px}.search-panel{top:24px;padding:20px}.section{padding:64px 0}.cta{grid-template-columns:1fr;gap:20px;padding:32px 27px;text-align:left}.cta h2{font-size:clamp(28px,7vw,36px)}.cta img{width:min(240px,100%);max-height:170px;justify-self:center}.cta .btn.btn-light{width:100%;white-space:normal}.footer{padding:35px 0}.footer-grid{gap:24px}}
@media(max-width:440px){.hero h1{font-size:34px}.hero-points{gap:8px 12px}.hero-points span{font-size:11px}.cta{padding:28px 23px}.cta h2{font-size:29px}.cta img{max-height:155px}.footer-logo{width:155px}}

/* FMT pricing, October 2026 */
.fmt-pricing{background:#fff;border:1px solid #dce8e3;border-radius:20px;padding:26px;margin:30px auto 0;max-width:1160px;box-shadow:0 12px 34px rgba(16,58,60,.05)}
.fmt-pricing-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.fmt-pricing-head h2{font-size:clamp(23px,3vw,32px);line-height:1.2;margin:7px 0}.fmt-pricing-head p{color:#64748b;margin:0}.fmt-save{background:#e1f4ec;color:#0c655d;border-radius:100px;padding:9px 14px;font-weight:800;font-size:12px;white-space:nowrap}.fmt-pricing-scroll{overflow-x:auto}.fmt-pricing-table{width:100%;border-collapse:collapse;min-width:670px;text-align:left}.fmt-pricing-table th,.fmt-pricing-table td{padding:16px 12px;border-bottom:1px solid #e4ebe8;vertical-align:top}.fmt-pricing-table thead th{background:#f2f8f6;color:#164e52;font-size:13px}.fmt-pricing-table tbody th{color:#164e52;font-size:14px;max-width:210px}.fmt-pricing-table td strong{display:block;color:#103b40;font-size:15px;white-space:nowrap}.fmt-pricing-table td small{display:block;color:#667d7e;font-size:12px;margin-top:6px}.fmt-pricing-note{font-size:12px;line-height:1.7;color:#64748b;margin:17px 0 0}.fmt-pricing-note a{color:#0f766e;text-decoration:underline}.plan-option strong{font-size:13px;text-align:right}@media(max-width:700px){.fmt-pricing{padding:16px;margin-top:24px}.fmt-pricing-head{align-items:flex-start;flex-direction:column;gap:10px}}

/* FMT lead notifications and compact dashboard upsell */
.fmt-lead-card{border:1px solid #dbe8e4;border-radius:14px;padding:17px;margin:13px 0;background:#f8fbf9}.fmt-lead-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.fmt-lead-card p{font-size:14px}.fmt-lead-meta{display:grid;gap:9px;padding:12px;background:#eef7f4;border-radius:10px;margin:12px 0;color:#164e52;font-size:14px}.fmt-locked{padding:12px;color:#596f70;font-size:13px;margin-bottom:10px}.fmt-upgrade-panel{border:1px solid #9fd6cc!important;background:linear-gradient(150deg,#f6fbf9,#eaf7f3)!important}.fmt-upgrade-price{margin:15px 0;font-size:14px}.fmt-upgrade-price strong{font-size:22px;color:#0f766e}.fmt-popup-backdrop[hidden]{display:none!important}.fmt-popup-backdrop{position:fixed;inset:0;z-index:9999;background:#071e24a8;display:flex;align-items:center;justify-content:center;padding:20px}.fmt-popup{background:white;border-radius:20px;max-width:480px;width:100%;padding:30px;position:relative;box-shadow:0 24px 70px #0003}.fmt-popup h2{font-size:25px;line-height:1.2;margin:12px 0}.fmt-popup .btn{margin-top:10px}.fmt-popup-close{position:absolute;right:17px;top:13px;border:0;background:transparent;font-size:27px;cursor:pointer;color:#164e52}@media(max-width:600px){.fmt-popup{padding:22px}.fmt-popup h2{font-size:21px}}

/* FMT admin importer */
.fmt-import-form{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:18px 0}.fmt-import-form .field{flex:1;min-width:250px}.fmt-export-row{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.btn-danger{background:#8b2635!important;color:#fff!important}.admin-action+.admin-action{margin-top:7px}tr[hidden]{display:none!important}

/* Respect native hidden on dynamically displayed Other inputs */
[hidden]{display:none!important}

/* Explicit fallback for browsers and cached layouts */
#fmt-home-other-wrap[hidden], #fmt-home-other-wrap[aria-hidden="true"]{display:none!important}

/* FMT 2026 mobile login and profile images */
.fmt-avatar-photo{display:block;object-fit:cover;object-position:center;border-radius:50%;background:#e1f1ec}
.fmt-photo-preview{margin:12px 0 18px}
.auth-center,.auth-card,.auth-card form{min-width:0}
.auth-card input,.auth-card select,.auth-card textarea{max-width:100%;min-width:0}
.auth-card input[type=email],.auth-card input[type=password],.auth-card input[type=text]{font-size:16px}
@media(max-width:760px){
 .site-header nav.open{display:flex!important;z-index:100;max-height:calc(100vh - 72px);overflow-y:auto}
 .site-header nav.open a,.site-header nav.open .nav-link{display:block;min-height:42px;padding:10px 5px}
 .auth-center{width:100%;max-width:100%}.auth-card{width:100%;padding:22px 18px!important}
 .auth-card form .btn{width:100%;min-height:48px}
 .menu-toggle{min-width:44px;min-height:44px;cursor:pointer}
}

/* FMT refined responsive tutor workspace */
:root{--fmt-forest:#164e52;--fmt-mint:#e9f3ef}
.dashboard-grid>.surface,.dashboard-grid .side-stack>.surface{border:1px solid #e1eae6;border-radius:20px;box-shadow:0 6px 28px rgba(21,60,57,.045)}
.dashboard-grid h2,.dashboard-grid h3{letter-spacing:-.025em}
.dashboard-grid input,.dashboard-grid select,.dashboard-grid textarea{min-height:44px;max-width:100%;border-radius:10px}
.dashboard-grid button{min-height:44px}
.fmt-photo-preview{min-height:115px;display:flex;align-items:center;justify-content:center;background:#f6faf8;border:1px dashed #bdd3cb;border-radius:16px;margin:14px 0;padding:14px}
.fmt-photo-preview .avatar{flex-shrink:0}
.fmt-classline{font-size:.91rem;color:#335751;margin:9px 0}
@media(max-width:800px){.dashboard-grid{display:flex!important;flex-direction:column;gap:16px}.dashboard-grid>.surface,.dashboard-grid>.side-stack{width:100%;min-width:0}.dashboard-grid .form-row{display:grid;grid-template-columns:1fr;gap:12px}.dashboard-grid .field,.dashboard-grid input,.dashboard-grid select,.dashboard-grid textarea{width:100%;box-sizing:border-box}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metrics>div{min-width:0;overflow-wrap:anywhere}.dashboard-grid .surface{padding:18px!important}.teacher-card{min-width:0}.fmt-mobile-actions{display:flex!important}}
@media(max-width:380px){.metrics{grid-template-columns:1fr}.dashboard-grid .surface{padding:14px!important}}
.fmt-mobile-actions{display:none;position:fixed;bottom:0;left:0;right:0;z-index:60;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:rgba(255,255,255,.93);backdrop-filter:blur(12px);border-top:1px solid #e1eae6;gap:9px}.fmt-mobile-actions a{flex:1;text-align:center;padding:12px 7px;border-radius:999px;background:#164e52;color:white;text-decoration:none;font-size:13px;font-weight:700}.fmt-mobile-actions a+a{background:#e6f2ee;color:#164e52}@media(max-width:800px){body{padding-bottom:75px}}


/* FMT Studio v9 — structural replacement, desktop and mobile */
body.fmt-dashboard-page{background:#eaf0f6;color:#183747}
body.fmt-dashboard-page .site-header{background:#fff}
body.fmt-dashboard-page .container{width:min(1320px,calc(100% - 48px));max-width:none}
body.fmt-dashboard-page .page-top{padding:20px 0 14px;background:#eaf0f6}
body.fmt-dashboard-page .page-top h1{font-size:clamp(25px,2.7vw,35px);margin:5px 0}
body.fmt-dashboard-page .page-top p{margin:0;color:#617789}
body.fmt-dashboard-page .section.slim{padding:10px 0 64px}
body.fmt-dashboard-page .metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}
body.fmt-dashboard-page .metrics>div{padding:14px 18px;border-radius:14px;border:1px solid #dae5ea;box-shadow:0 3px 12px rgba(22,56,80,.04);background:#fff}
body.fmt-dashboard-page .metrics>div:nth-child(1){background:#e3f6ee}
body.fmt-dashboard-page .metrics>div:nth-child(2){background:#fff2d8}
body.fmt-dashboard-page .metrics>div:nth-child(3){background:#e7efff}
body.fmt-dashboard-page .metrics>div:nth-child(4){background:#edf1fb}
body.fmt-dashboard-page .metrics strong{font-size:20px;color:#183747}
body.fmt-dashboard-page .fmt-dashboard-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
body.fmt-dashboard-page .fmt-dashboard-actions .btn{border-radius:11px;padding:10px 17px;min-height:40px}
body.fmt-dashboard-page .fmt-plan-cta{background:#16875e!important;border-color:#16875e!important;color:#fff!important}
body.fmt-dashboard-page .fmt-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:6px 0 15px}
body.fmt-dashboard-page .fmt-workspace-heading h2{font-size:23px;line-height:1.2;margin:4px 0}
body.fmt-dashboard-page .fmt-workspace-heading p{font-size:13px;color:#667e8c;margin:0}
body.fmt-dashboard-page .fmt-workspace-overline{font-size:10px;letter-spacing:.12em;font-weight:800;color:#11816c}
body.fmt-dashboard-page .fmt-workspace-version{white-space:nowrap;padding:8px 12px;border-radius:50px;background:#dcece9;color:#166c62;font-size:11px;font-weight:750}
body.fmt-dashboard-page .dashboard-grid{display:grid!important;grid-template-columns:minmax(240px, .85fr) minmax(0, 2.15fr)!important;gap:16px!important;align-items:start!important}
body.fmt-dashboard-page .dashboard-grid>.surface{background:#fff;border:1px solid #dce6eb;border-radius:16px;padding:20px;box-shadow:0 6px 20px rgba(22,56,80,.055);min-width:0}
body.fmt-dashboard-page .dashboard-grid>.fmt-photo-card{grid-column:1;text-align:center;position:static}
body.fmt-dashboard-page .dashboard-grid>.fmt-profile-card{grid-column:2;min-width:0}
body.fmt-dashboard-page .fmt-card-kicker{font-size:10px;font-weight:800;letter-spacing:.13em;color:#16816d;margin-bottom:7px}
body.fmt-dashboard-page .dashboard-grid h2{font-size:19px;line-height:1.25;margin:0 0 9px;color:#19394c}
body.fmt-dashboard-page .dashboard-grid h3{font-size:16px;color:#19394c}
body.fmt-dashboard-page .dashboard-grid p{font-size:13px;color:#6b7e89}
body.fmt-dashboard-page .fmt-photo-preview{background:#f2f7f9;border:1px dashed #b9d5d0;border-radius:16px;padding:17px;margin:12px auto;display:flex;align-items:center;justify-content:center;min-height:126px}
body.fmt-dashboard-page .fmt-photo-card .field{text-align:left}
body.fmt-dashboard-page .fmt-photo-card .btn{width:100%;background:#12816e;border-color:#12816e;color:white}
body.fmt-dashboard-page .fmt-profile-card .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
body.fmt-dashboard-page .dashboard-grid .field{min-width:0;margin-bottom:9px}
body.fmt-dashboard-page .dashboard-grid .field span{font-size:12px;font-weight:700;color:#345266}
body.fmt-dashboard-page .dashboard-grid input,body.fmt-dashboard-page .dashboard-grid select,body.fmt-dashboard-page .dashboard-grid textarea{width:100%;max-width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #d7e3e8;border-radius:9px;background:#f9fbfc;color:#203c4e;font-size:14px}
body.fmt-dashboard-page .dashboard-grid input[type=checkbox]{width:auto;min-height:0}
body.fmt-dashboard-page .dashboard-grid textarea{min-height:68px}
body.fmt-dashboard-page .fmt-profile-card button.btn{background:#193e61;color:#fff;border-color:#193e61}
body.fmt-dashboard-page .side-stack{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px;min-width:0;align-items:stretch}
body.fmt-dashboard-page .side-stack>.surface{min-width:0;background:#fff;border:1px solid #dce6eb;border-radius:16px;padding:18px;box-shadow:0 4px 16px rgba(22,56,80,.045)}
body.fmt-dashboard-page .side-stack>.fmt-upgrade-panel{background:#e5f8eb!important;border-color:#b5dec5!important}
body.fmt-dashboard-page .side-stack>.fmt-news-card{background:#eeefff!important}
body.fmt-dashboard-page .fmt-coming-soon{border:1px dashed #9bb7b2;border-radius:10px;padding:11px;color:#17766d;font-size:12px}
@media(max-width:1050px){body.fmt-dashboard-page .dashboard-grid{grid-template-columns:minmax(210px,.85fr) minmax(0,1.6fr)!important}body.fmt-dashboard-page .side-stack{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){body.fmt-dashboard-page .container{width:calc(100% - 26px)}body.fmt-dashboard-page .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body.fmt-dashboard-page .dashboard-grid{display:flex!important;flex-direction:column!important}body.fmt-dashboard-page .dashboard-grid>.surface{width:100%}body.fmt-dashboard-page .side-stack{display:flex!important;flex-direction:column!important;width:100%}body.fmt-dashboard-page .fmt-workspace-heading{align-items:start;flex-direction:column}body.fmt-dashboard-page .fmt-photo-card{position:static}}
@media(max-width:480px){body.fmt-dashboard-page .fmt-profile-card .form-row{grid-template-columns:1fr}body.fmt-dashboard-page .dashboard-grid>.surface{padding:16px}body.fmt-dashboard-page .metrics>div{padding:12px}body.fmt-dashboard-page .fmt-dashboard-actions .btn{flex:1;text-align:center}}

/* FMT fast discovery and callbacks */
.fmt-social-float{position:fixed;right:16px;bottom:94px;z-index:80}.fmt-social-float a{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#0a5a4e,#157c65 55%,#073d36);box-shadow:0 6px 22px #073d3644;border:1px solid #a0d5bf}.fmt-social-float svg{width:25px;height:25px}.fmt-mobile-actions button{font:inherit;border:0;cursor:pointer;background:transparent;color:inherit;font-weight:700;flex:1}.fmt-callback-tab{position:fixed;right:0;top:48%;z-index:85;background:#0e7566;color:#fff;border:0;padding:15px 17px;border-radius:12px 0 0 12px;box-shadow:0 8px 22px #073d3640;font-weight:750;cursor:pointer}.fmt-modal[hidden],#fmt-callback-pin-wrap[hidden]{display:none!important}.fmt-modal{position:fixed;inset:0;z-index:9999;background:#102a2dc4;display:flex;justify-content:center;align-items:center;padding:18px;overflow:auto}.fmt-modal-open{overflow:hidden}.fmt-modal-panel{background:#fff;border-radius:22px;width:min(100%,490px);padding:25px;box-shadow:0 25px 80px #0004;max-height:calc(100dvh - 36px);overflow-y:auto;color:#153b38}.fmt-modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.fmt-modal-brand{font-size:11px;letter-spacing:.13em;font-weight:800;color:#087d6d}.fmt-modal-top button{font-size:29px;line-height:1;background:#eef4f2;border:0;border-radius:50%;height:37px;width:37px;cursor:pointer;color:#153b38}.fmt-modal h2{font-size:clamp(21px,4vw,29px);margin:15px 0 8px}.fmt-modal p{font-size:14px;color:#5c7570;margin:0 0 18px}.fmt-progress{height:7px;border-radius:20px;background:#e4ece9;overflow:hidden}.fmt-progress>div{height:100%;background:linear-gradient(90deg,#0d7567,#16b49a);transition:width .16s}.fmt-progress-label{font-size:12px;color:#0c7567;text-align:right;margin-bottom:6px;font-weight:750}.fmt-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fmt-choice{min-height:65px;border:1px solid #dce8e3;border-radius:13px;background:#f8fbfa;color:#16463f;padding:13px;text-align:left;font-weight:750;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer}.fmt-choice:hover,.fmt-choice:focus-visible{background:#e4f5ef;border-color:#0b8a75}.fmt-wizard-footer{display:flex;justify-content:space-between;align-items:center;margin-top:19px;color:#72847f;font-size:12px}.fmt-back{background:none;border:0;color:#0b7568;font-weight:750;cursor:pointer;padding:9px 0}.fmt-modal label{display:block;font-size:13px;font-weight:700;margin:12px 0 6px}.fmt-modal label input:not([type=checkbox]),.fmt-modal label select{display:block;width:100%;border:1px solid #dce8e3;border-radius:10px;padding:12px;font:inherit;margin-top:5px;background:#fff;color:#153b38}.fmt-primary{background:#0c7868;color:#fff;border:0;border-radius:11px;padding:14px 18px;width:100%;font-weight:800;cursor:pointer;margin-top:14px}.fmt-consent{display:flex!important;gap:9px;align-items:flex-start;font-weight:500!important}.fmt-consent input{margin-top:3px}@media(max-width:640px){.fmt-social-float{bottom:85px;right:12px}.fmt-callback-tab{top:auto;bottom:154px;font-size:12px;padding:12px}.fmt-modal{align-items:flex-end;padding:0}.fmt-modal-panel{border-radius:22px 22px 0 0;max-height:92dvh;width:100%;padding:21px 18px calc(18px + env(safe-area-inset-bottom))}.fmt-choice-grid{grid-template-columns:1fr 1fr}.fmt-choice{min-height:62px}}

.fmt-social-float{display:flex;flex-direction:column;gap:8px}

/* FMT metallic sponsored badge */
.fmt-sponsored-badge,.sponsored-badge,.badge-sponsored,[data-sponsored-badge]{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:5px 12px;background:linear-gradient(120deg,#681622,#a83240 45%,#d15b68 60%,#721825);color:#fff!important;border:1px solid #c98088;box-shadow:inset 0 1px 1px #ffffff50,0 2px 7px #4c162633;font-size:11px;font-weight:800;letter-spacing:.075em;text-transform:uppercase;text-shadow:0 1px 2px #381019}
@media(max-width:768px){.fmt-sponsored-badge,.sponsored-badge,.badge-sponsored{font-size:10px;padding:4px 9px}}

.teacher-line .sponsored{display:inline-flex;align-items:center;border-radius:9px;padding:5px 12px;background:linear-gradient(120deg,#681622,#a83240 45%,#d15b68 60%,#721825);color:white!important;border:1px solid #c98088;box-shadow:inset 0 1px 1px #ffffff50,0 2px 7px #4c162633;font-size:11px;font-weight:800;letter-spacing:.075em;text-transform:uppercase;text-shadow:0 1px 2px #381019}

/* FMT Enquiries and admin analytics */
.fmt-enquiry-wrap{max-width:900px;margin:auto}.fmt-enquiry-card{padding:clamp(20px,4vw,42px)}.fmt-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.fmt-enquiry-consent{display:flex;gap:10px;align-items:flex-start;margin:20px 0}.fmt-enquiry-consent input{width:auto;margin-top:5px}.fmt-selected-tutor{background:#e8f5f0;padding:12px;border-radius:12px}.fmt-admin-nav{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0 25px}.fmt-admin-nav a{padding:12px 18px;border-radius:12px;background:#e6f1ef;color:#124a48;font-weight:700;text-decoration:none}.fmt-admin-nav a.active,.fmt-admin-nav a:hover{background:#136a62;color:white}.fmt-admin-graphs{padding:25px;background:white;border-radius:20px;margin:20px 0;box-shadow:0 8px 35px #173d5010}.fmt-graph-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 24px}.fmt-graph-row{display:grid;grid-template-columns:130px minmax(0,1fr) 32px;gap:10px;align-items:center;font-size:13px}.fmt-graph-track{background:#edf1f5;border-radius:12px;height:14px;overflow:hidden}.fmt-graph-track div{height:100%;border-radius:12px;min-width:0}.fmt-graph-row strong{text-align:right}.fmt-admin-graphs p{color:#697b85;font-size:12px}@media(max-width:700px){.fmt-form-grid,.fmt-graph-grid{grid-template-columns:1fr}.fmt-graph-row{grid-template-columns:110px minmax(0,1fr) 28px}.fmt-admin-nav a{flex:1;text-align:center;padding:10px;font-size:12px}}

/* FMT admin trial dashboard */
.fmt-trial-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.fmt-trial-stats>div{background:linear-gradient(135deg,#e7f8f0,#fff);padding:20px;border-radius:16px;border:1px solid #cde8dc;display:grid;gap:8px}.fmt-trial-stats>div:nth-child(2){background:linear-gradient(135deg,#fff0d7,#fff)}.fmt-trial-stats>div:nth-child(3){background:linear-gradient(135deg,#e4efff,#fff)}.fmt-trial-stats>div:nth-child(4){background:linear-gradient(135deg,#f4e7ff,#fff)}.fmt-trial-stats strong{font-size:2rem;color:#15483f}.fmt-trial-stats span{font-size:.86rem;color:#49645e}.fmt-trial-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.fmt-trial-duration{display:flex;gap:16px}.fmt-trial-duration>div{flex:1;background:#e8f6ed;padding:18px;border-radius:14px;display:grid;gap:4px}.fmt-trial-duration>div+div{background:#fff0df}.fmt-trial-duration strong{font-size:1.5rem;color:#1c6150}.fmt-trial-form{display:inline-block;margin:3px}.fmt-trial-form button{white-space:nowrap}@media(max-width:800px){.fmt-trial-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fmt-trial-grid{grid-template-columns:1fr}}

/* FMT accessible password visibility toggle */
.fmt-password-wrap{display:block;position:relative;width:100%}
.fmt-password-wrap>input{width:100%;padding-right:50px!important;box-sizing:border-box}
.fmt-password-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;background:transparent;color:#17655c;display:flex;align-items:center;justify-content:center;border-radius:9px;cursor:pointer;z-index:2}
.fmt-password-eye:hover,.fmt-password-eye:focus-visible{background:#e6f4ef;outline:2px solid transparent}
.fmt-password-eye[aria-pressed="true"]{background:#d9efe8;color:#124c43}

/* FMT Oxford Teal dashboard refresh — scoped to tutor and admin interfaces */
.fmt-v2-shell{display:grid;grid-template-columns:218px minmax(0,1fr);gap:0;max-width:1600px;margin:auto;background:#faf8f2;min-height:85vh}.fmt-v2-content{min-width:0;padding-bottom:35px}.fmt-v2-content .page-top{padding:18px 0 6px;background:transparent}.fmt-v2-content .page-top h1{font-size:clamp(24px,2.4vw,34px);margin:5px 0}.fmt-v2-content .section.slim{padding-top:10px}.fmt-v2-sidebar{padding:25px 12px;background:#fff;border-right:1px solid #e5ece9;display:flex;flex-direction:column;gap:7px}.fmt-v2-sidebar-title{font-size:11px;letter-spacing:1.3px;color:#65817b;font-weight:800;padding:6px 12px 15px}.fmt-v2-sidebar a{display:block;border-radius:9px;padding:12px 14px;color:#193c43;text-decoration:none;font-weight:600;font-size:14px}.fmt-v2-sidebar a:hover,.fmt-v2-sidebar .fmt-v2-active{background:#0d756b;color:#fff}.fmt-v2-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:62px;padding:10px 30px;background:#fff;border-bottom:1px solid #e5ece9;color:#5b7779;font-size:13px}.fmt-v2-user{position:relative}.fmt-v2-user summary{display:flex;gap:9px;align-items:center;cursor:pointer;list-style:none;color:#17363e}.fmt-v2-user summary::-webkit-details-marker{display:none}.fmt-v2-avatar{display:grid;place-items:center;background:#0d756b;color:#fff;width:35px;height:35px;border-radius:50%;font-weight:700}.fmt-v2-menu{position:absolute;right:0;top:43px;width:215px;background:#fff;border:1px solid #e2ece7;border-radius:13px;padding:8px;box-shadow:0 12px 32px #0b39331a;z-index:25}.fmt-v2-menu a,.fmt-v2-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:11px 12px;border-radius:7px;text-decoration:none;color:#193c43;font:inherit;font-size:14px;cursor:pointer}.fmt-v2-menu a:hover,.fmt-v2-menu button:hover{background:#e8f4f1}.fmt-v2-topcards{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;margin:0 0 20px}.fmt-v2-summary{padding:20px!important;border:1px solid #e1eae5;border-radius:17px!important;background:#fff!important}.fmt-v2-summary h2{font-size:22px;margin:8px 0}.fmt-v2-summary p{margin:6px 0 13px}.fmt-v2-summary a{color:#0d756b;font-weight:700}.fmt-v2-status{font-size:12px;border-radius:20px;padding:5px 9px;color:#17664c;background:#dcf4e7;vertical-align:middle}.fmt-v2-content .surface{border-radius:16px;box-shadow:0 3px 20px #24463b0a}.fmt-v2-content .fmt-news-card{padding:16px 18px!important;min-height:0!important}.fmt-v2-content .fmt-news-card h3{font-size:17px;margin:5px 0}.fmt-v2-content .fmt-news-card p{font-size:13px;margin:5px 0}.fmt-v2-content .fmt-news-card .fmt-coming-soon{padding:8px 12px;font-size:12px}.fmt-v2-password{margin-top:15px}.fmt-v2-password summary{cursor:pointer;font-weight:700;display:flex;justify-content:space-between;list-style:none}.fmt-v2-password summary::-webkit-details-marker{display:none}.fmt-v2-password form{margin-top:16px}.fmt-v2-admin-shell{background:#faf8f2;padding-bottom:25px}.fmt-v2-admin-top{display:flex;justify-content:space-between;gap:18px;align-items:center;max-width:1200px;margin:auto;padding:25px 22px 10px}.fmt-v2-admin-top h2{margin:4px 0;font-size:28px;color:#193c43}.fmt-v2-admin-top p{margin:0;color:#627c7a}.fmt-v2-admin-toplinks{display:flex;gap:8px;flex-wrap:wrap}.fmt-v2-admin-toplinks a{background:#fff;border:1px solid #c8e1db;color:#0d756b;text-decoration:none;padding:10px 13px;border-radius:9px;font-weight:700;font-size:13px}.fmt-v2-admin-toplinks a:hover{background:#0d756b;color:#fff}.fmt-v2-admin-shell .page-top{padding:16px 0;background:transparent}.fmt-v2-admin-shell .metrics>div{background:#fff;border:1px solid #dceae5;border-radius:15px;box-shadow:0 5px 22px #0d756b0b}.fmt-v2-admin-shell .surface,.fmt-v2-admin-shell .fmt-admin-graphs{border-radius:16px;box-shadow:0 4px 18px #193c4309}.fmt-v2-admin-shell .fmt-admin-nav a{border-radius:10px}.fmt-v2-admin-shell table tbody tr:hover{background:#eef8f5}.fmt-v2-admin-shell button,.fmt-v2-admin-shell select{transition:background .15s,box-shadow .15s}.fmt-v2-admin-shell button:focus-visible,.fmt-v2-admin-shell a:focus-visible,.fmt-v2-user summary:focus-visible{outline:3px solid #0d756b;outline-offset:2px}@media(max-width:900px){.fmt-v2-shell{grid-template-columns:1fr}.fmt-v2-sidebar{flex-direction:row;overflow-x:auto;padding:10px;gap:6px;position:static}.fmt-v2-sidebar-title{display:none}.fmt-v2-sidebar a{white-space:nowrap;font-size:12px;padding:9px 11px}.fmt-v2-topcards{grid-template-columns:1fr}.fmt-v2-toolbar{padding:10px 16px}.fmt-v2-admin-top{flex-direction:column;align-items:flex-start}}

/* FMT Oxford Teal final refinement: dashboard and admin only */
.fmt-dashboard-page .fmt-v2-shell{background:#faf8f2;color:#18343d}
.fmt-dashboard-page .fmt-v2-content .dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr) minmax(245px,.95fr);align-items:start;gap:16px}
.fmt-dashboard-page .fmt-v2-content .dashboard-grid>.fmt-photo-card,.fmt-dashboard-page .fmt-v2-content .dashboard-grid>.fmt-profile-card,.fmt-dashboard-page .fmt-v2-content .dashboard-grid>.side-stack{min-width:0;width:auto;max-width:none;margin:0}
.fmt-dashboard-page .fmt-v2-content .dashboard-grid>.side-stack{display:flex;flex-direction:column;gap:14px}
.fmt-dashboard-page .fmt-news-card{background:#fff!important;border:1px solid #dceae5!important;max-height:none;padding:15px!important}
.fmt-dashboard-page .fmt-news-card .eyebrow{font-size:10px;color:#0d756b}
.fmt-dashboard-page .fmt-news-card h3{font-size:16px;margin:3px 0 6px}
.fmt-dashboard-page .fmt-news-card p{font-size:12px;margin:0 0 7px}
.fmt-dashboard-page .fmt-news-card .fmt-coming-soon{background:#e9f4f1!important;color:#0d756b!important;border-radius:8px;padding:8px}
.fmt-dashboard-page .fmt-v2-content .surface,.fmt-v2-admin-shell .surface{background:#fff;border-color:#dceae5}
.fmt-dashboard-page .fmt-v2-content .metrics>div{background:#fff!important;border:1px solid #dceae5!important;color:#18343d!important}
.fmt-dashboard-page .fmt-v2-content .metrics strong{color:#0d756b!important}
.fmt-v2-admin-shell .fmt-trial-stats>div,.fmt-v2-admin-shell .fmt-trial-stats>div:nth-child(n){background:linear-gradient(135deg,#e8f4f1,#fff)!important;border-color:#d1e7df}
.fmt-v2-admin-shell .fmt-trial-duration>div,.fmt-v2-admin-shell .fmt-trial-duration>div+div{background:#e8f4f1!important}
.fmt-v2-admin-shell .fmt-admin-nav a.active{background:#0d756b;color:#fff}
.fmt-v2-user[open] .fmt-v2-menu{display:block}
.fmt-v2-user .fmt-v2-menu{max-width:min(250px,calc(100vw - 28px))}
@media(max-width:1250px){.fmt-dashboard-page .fmt-v2-content .dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.fmt-dashboard-page .fmt-v2-content .dashboard-grid>.side-stack{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:720px){.fmt-dashboard-page .fmt-v2-content .dashboard-grid,.fmt-dashboard-page .fmt-v2-content .dashboard-grid>.side-stack{display:flex;flex-direction:column}.fmt-dashboard-page .fmt-v2-content .dashboard-grid>*{width:100%!important}.fmt-v2-toolbar{gap:8px}.fmt-v2-user summary strong{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fmt-v2-menu{right:0}.fmt-v2-topcards{grid-template-columns:1fr}}

/* FMT tutor workspace: locked Oxford Teal design, focused sidebar navigation */
body.fmt-dashboard-page .site-header #nav,body.fmt-dashboard-page .site-header .menu-toggle{display:none!important}
body.fmt-dashboard-page .header-inner{justify-content:flex-start!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] [data-fmt-panel="profile"],body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] [data-fmt-panel="subscription"],body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] [data-fmt-panel="password"]{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] [data-fmt-panel]:not([data-fmt-panel="profile"]),body.fmt-dashboard-page .fmt-v2-content[data-current-view="enquiries"] [data-fmt-panel]:not([data-fmt-panel="enquiries"]),body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] [data-fmt-panel]:not([data-fmt-panel="subscription"]),body.fmt-dashboard-page .fmt-v2-content[data-current-view="news"] [data-fmt-panel]:not([data-fmt-panel="news"]),body.fmt-dashboard-page .fmt-v2-content[data-current-view="password"] [data-fmt-panel]:not([data-fmt-panel="password"]){display:none!important}
body.fmt-dashboard-page .fmt-v2-content:not([data-current-view="home"]) .fmt-v2-topcards,body.fmt-dashboard-page .fmt-v2-content:not([data-current-view="home"]) .metrics,body.fmt-dashboard-page .fmt-v2-content:not([data-current-view="home"]) .page-top{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-news-card{background:#f7fbf9!important;min-height:0!important;max-height:200px;overflow:auto}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-news-card p{margin:.3rem 0!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-coming-soon{padding:8px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .dashboard-grid{display:block!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .side-stack{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(300px,2fr);align-items:start;gap:16px}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .dashboard-grid{display:grid!important;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:16px}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .side-stack{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .dashboard-grid,body.fmt-dashboard-page .fmt-v2-content[data-current-view="enquiries"] .dashboard-grid,body.fmt-dashboard-page .fmt-v2-content[data-current-view="news"] .dashboard-grid,body.fmt-dashboard-page .fmt-v2-content[data-current-view="password"] .dashboard-grid{display:block!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-photo-card,body.fmt-dashboard-page .fmt-v2-content[data-current-view="enquiries"] .fmt-photo-card,body.fmt-dashboard-page .fmt-v2-content[data-current-view="news"] .fmt-photo-card,body.fmt-dashboard-page .fmt-v2-content[data-current-view="password"] .fmt-photo-card{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack,body.fmt-dashboard-page .fmt-v2-content[data-current-view="enquiries"] .side-stack,body.fmt-dashboard-page .fmt-v2-content[data-current-view="news"] .side-stack,body.fmt-dashboard-page .fmt-v2-content[data-current-view="password"] .side-stack{display:block!important}
body.fmt-dashboard-page .fmt-photo-edit{position:relative;width:max-content;max-width:100%;margin-inline:auto}
body.fmt-dashboard-page .fmt-photo-pencil{position:absolute;bottom:4px;right:4px;border:2px solid white;background:#0d756b;color:white;border-radius:50%;width:36px;height:36px;cursor:pointer;font-size:20px}
body.fmt-dashboard-page .fmt-photo-card form{margin-top:8px}body.fmt-dashboard-page .fmt-photo-card form .field{display:none!important}
body.fmt-dashboard-page .fmt-photo-card form:focus-within .field{display:block!important}
body.fmt-dashboard-page .fmt-photo-card{background:#fff!important}body.fmt-dashboard-page .fmt-v2-sidebar{background:#fff!important}
body.fmt-dashboard-page .fmt-side-logout button{border:0;background:transparent;color:inherit;font:inherit;padding:12px 14px;width:100%;text-align:left;cursor:pointer}
body.fmt-dashboard-page .fmt-side-logout button:hover{background:#e4f2ef}
body.fmt-dashboard-page .fmt-v2-content .fmt-news-card{background:#f7fbf9!important}
@media(max-width:800px){body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .side-stack{grid-template-columns:1fr}body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .dashboard-grid{grid-template-columns:1fr}body.fmt-dashboard-page .fmt-v2-sidebar{overflow-x:auto}}
/* Custom subject entry: show immediately when Other is selected. */
.skill-group .fmt-other-entry[hidden]{display:none!important}
.skill-group .fmt-other-entry:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;width:100%;margin-top:12px}
.skill-group .fmt-other-entry:not([hidden]) input{display:block!important;width:100%;min-height:44px}

/* FMT membership comparison – Oxford Teal, metallic gold and brown */
.fmt-plan-compare{margin-bottom:24px;background:#fff;border:1px solid #d9e8e4;border-radius:20px;padding:clamp(14px,2.3vw,28px);box-shadow:0 9px 28px rgba(18,65,62,.06)}
.fmt-plan-heading h2{margin:7px 0;color:#18343d}.fmt-plan-heading p{margin:0 0 16px;color:#557277}
.fmt-plan-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.fmt-plan-table{width:100%;min-width:590px;border-collapse:separate;border-spacing:0;text-align:center;overflow:hidden;border:1px solid #d8e5e2;border-radius:13px}
.fmt-plan-table th,.fmt-plan-table td{padding:13px 10px;border-bottom:1px solid #e5ecea}.fmt-plan-table tbody th{text-align:left;font-size:13px;color:#243e42;font-weight:600;background:#fff}.fmt-plan-table thead th{font-size:15px;color:#18343d;background:#f1f5f4}.fmt-plan-table thead th:first-child{text-align:left}.fmt-plan-table thead small{display:block;margin-top:5px;font-size:12px;font-weight:600}.fmt-plan-table .fmt-free-head{background:linear-gradient(135deg,#f8fafb,#cbd6d9)}.fmt-plan-table .fmt-leads-head{background:linear-gradient(120deg,#563720,#b77b39,#f6d78d,#704322);color:#fff}.fmt-plan-table .fmt-sponsored-head{background:linear-gradient(135deg,#063e3b,#0d756b,#052b2c);color:#fff}.fmt-plan-table tbody td:nth-child(3){background:#faf3e7}.fmt-plan-table tbody td:nth-child(4){background:#eaf7f3}.fmt-plan-table tbody tr:last-child td,.fmt-plan-table tbody tr:last-child th{border-bottom:0}.fmt-plan-answer{display:inline-block;white-space:nowrap;font-weight:700;font-size:12px}.fmt-yes{color:#0b7765}.fmt-no{color:#a05050}.fmt-plan-cost{font-weight:700}.fmt-plan-privacy{font-size:12px;color:#607679;line-height:1.6;margin:14px 0}.fmt-plan-search-preview{padding:14px;border:1px solid #dbe9e5;border-radius:12px;background:#f7fbfa}.fmt-plan-search-preview>strong{display:block;margin-bottom:12px}.fmt-plan-search-preview>div{display:flex;gap:10px;flex-wrap:wrap}.fmt-plan-search-preview span{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:10px;font-size:12px;font-weight:700;background:#fff;border:1px solid #dae6e3}.fmt-plan-search-preview .fmt-preview-leads{background:linear-gradient(110deg,#674224,#e8c27c,#76502d);color:#fff}.fmt-plan-search-preview .fmt-preview-sponsored{background:#e4f4ef;border-color:#0d756b}.fmt-plan-search-preview b,.fmt-p-badge{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;background:linear-gradient(140deg,#fce5a5,#bd873b,#f5d889);color:#513014;border:1px solid #9b6c2e;font-weight:800;font-size:12px;flex-shrink:0}.fmt-plan-search-preview em{font-style:normal;background:#0d756b;color:#fff;padding:3px 7px;border-radius:5px}.teacher-line .fmt-p-badge{margin-left:6px;vertical-align:middle}.teacher-line .sponsored{margin-left:6px}
@media(max-width:640px){.fmt-plan-compare{padding:12px}.fmt-plan-table th,.fmt-plan-table td{padding:11px 8px}.fmt-plan-search-preview>div{flex-direction:column}}

/* FMT locked premium comparison design – October 2026 */
body.fmt-dashboard-page .fmt-v2-sidebar{background:#fff!important}
body.fmt-dashboard-page .fmt-v2-menu{z-index:150!important}
body.fmt-dashboard-page .fmt-upgrade-panel{background:#faf8f2!important;padding:0!important;overflow:hidden;border:1px solid #e7ded0!important}
body.fmt-dashboard-page .fmt-plan-compare{background:#faf8f2!important;border:0!important;padding:0!important}
body.fmt-dashboard-page .fmt-plan-heading{display:none!important}
body.fmt-dashboard-page .fmt-plan-hero{background:linear-gradient(122deg,#0b2832 0%,#152e35 35%,#5d3d22 70%,#b88343 100%);color:white;display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,1.65fr);gap:20px;padding:30px 26px 18px;align-items:end}
body.fmt-dashboard-page .fmt-plan-hero-copy span{letter-spacing:.2em;color:#efc38c;font-size:11px;font-weight:800}
body.fmt-dashboard-page .fmt-plan-hero-copy h2{font-size:clamp(23px,2.5vw,39px);line-height:1.17;color:white;margin:10px 0 14px}
body.fmt-dashboard-page .fmt-plan-hero-copy h2 em{color:#f1c47f;font-style:normal}
body.fmt-dashboard-page .fmt-plan-hero-copy p{color:#f6eee3;font-size:14px}
body.fmt-dashboard-page .fmt-tier-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.fmt-dashboard-page .fmt-tier-card{position:relative;min-width:0;border-radius:18px 18px 0 0;padding:18px 13px 16px;min-height:200px;text-align:center;box-shadow:0 8px 22px #0002}
body.fmt-dashboard-page .fmt-tier-card h3{margin:6px 0;color:inherit;font-size:20px}
body.fmt-dashboard-page .fmt-tier-card p{font-size:12px;min-height:34px;margin:5px 0 12px;color:inherit}
body.fmt-dashboard-page .fmt-tier-card strong{font-size:29px;display:block;white-space:nowrap;line-height:1.2}
body.fmt-dashboard-page .fmt-tier-card strong small{font-size:12px}
body.fmt-dashboard-page .fmt-tier-card>small{display:block;margin-top:5px;font-size:11px}
body.fmt-dashboard-page .fmt-tier-icon{display:inline-grid;place-items:center;width:43px;height:43px;border-radius:50%;font-size:28px;background:#ffffff44;border:1px solid #ffffff77}
body.fmt-dashboard-page .fmt-tier-free{color:#1a2d37;background:linear-gradient(135deg,#fff,#c9d1d7)}
body.fmt-dashboard-page .fmt-tier-leads{color:#fff5e4;background:linear-gradient(135deg,#9b6a3a,#362015 58%,#764821);border:1px solid #d8a968}
body.fmt-dashboard-page .fmt-tier-sponsored{color:#fff;background:linear-gradient(140deg,#0d756b,#092d34 80%);border:1px solid #e6b966}
body.fmt-dashboard-page .fmt-tier-ribbon{position:absolute;top:-13px;right:9px;padding:5px 12px;border-radius:7px;background:linear-gradient(#f9d992,#bf8337);color:#332009;font-weight:800;font-size:11px}
body.fmt-dashboard-page .fmt-plan-scroll{margin:0 22px 16px;overflow-x:auto!important}
body.fmt-dashboard-page .fmt-plan-table{width:100%;min-width:660px;border-collapse:separate;border-spacing:0;box-shadow:0 8px 18px #0001;border-radius:12px;overflow:hidden}
body.fmt-dashboard-page .fmt-plan-table th,body.fmt-dashboard-page .fmt-plan-table td{padding:12px 11px!important;border-bottom:1px solid #d8dedc!important}
body.fmt-dashboard-page .fmt-plan-table thead th:first-child{background:linear-gradient(115deg,#182c34,#745135)!important;color:white!important}
body.fmt-dashboard-page .fmt-plan-table .fmt-free-head{background:linear-gradient(110deg,#d6dde2,#f4f4f4)!important;color:#1a2d37!important}
body.fmt-dashboard-page .fmt-plan-table .fmt-leads-head{background:linear-gradient(110deg,#63402a,#a37346)!important;color:white!important}
body.fmt-dashboard-page .fmt-plan-table .fmt-sponsored-head{background:linear-gradient(110deg,#0a5c57,#06343a)!important;color:white!important}
body.fmt-dashboard-page .fmt-plan-table tbody td:nth-child(2){background:#f1f3f4!important}
body.fmt-dashboard-page .fmt-plan-table tbody td:nth-child(3){background:#fbefe1!important}
body.fmt-dashboard-page .fmt-plan-table tbody td:nth-child(4){background:#dff2ef!important}
body.fmt-dashboard-page .fmt-plan-table tbody th{background:#fff!important;color:#1a3037!important}
body.fmt-dashboard-page .fmt-plan-privacy{padding:0 24px;font-size:12px}
body.fmt-dashboard-page .fmt-plan-search-preview{background:linear-gradient(120deg,#112d35,#5e442e 70%,#ba8a50);color:white;padding:23px;margin:12px 0 0;border-radius:0!important}
body.fmt-dashboard-page .fmt-plan-search-preview h3{color:white;font-size:24px;margin:0 0 4px}
body.fmt-dashboard-page .fmt-plan-search-preview>p{color:#f2e7d8;margin:0 0 18px}
body.fmt-dashboard-page .fmt-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.fmt-dashboard-page .fmt-search-sample{background:#fff;color:#172e39;border-radius:12px;min-width:0;overflow:hidden;position:relative;border:2px solid transparent}
body.fmt-dashboard-page .fmt-search-leads{border-color:#d7a76e}
body.fmt-dashboard-page .fmt-search-sponsored{border-color:#e8b953}
body.fmt-dashboard-page .fmt-search-sample-title{padding:9px 12px;background:#f0f2f3;font-weight:800;font-size:12px}
body.fmt-dashboard-page .fmt-search-leads .fmt-search-sample-title{background:#f8e3c7}
body.fmt-dashboard-page .fmt-search-sponsored .fmt-search-sample-title{background:#e9d4b0}
body.fmt-dashboard-page .fmt-search-sample-title span{font-weight:500;display:block;font-size:11px}
body.fmt-dashboard-page .fmt-search-sample-body{display:flex;align-items:center;gap:9px;padding:17px 10px;position:relative}
body.fmt-dashboard-page .fmt-search-sample-body strong{font-size:13px;display:block}
body.fmt-dashboard-page .fmt-search-sample-body small{display:block;color:#627681;font-size:10px;margin-top:4px}
body.fmt-dashboard-page .fmt-search-avatar{flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#d7eae6;display:grid;place-items:center;color:#0d756b;font-weight:800;font-size:22px}
body.fmt-dashboard-page .fmt-p-badge{margin-left:auto;align-self:flex-start;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;background:linear-gradient(#f7d78b,#ad6b27);color:#36210d}
body.fmt-dashboard-page .fmt-sponsored-tag{position:absolute;right:7px;top:7px;background:#604022;color:#ffe2a4;padding:3px 7px;border-radius:15px;font-size:10px;font-weight:800}
body.fmt-dashboard-page .fmt-upgrade-panel>.eyebrow,body.fmt-dashboard-page .fmt-upgrade-panel>h3,body.fmt-dashboard-page .fmt-upgrade-panel>p,body.fmt-dashboard-page .fmt-upgrade-panel>.fmt-upgrade-price,body.fmt-dashboard-page .fmt-upgrade-panel>.plan-option,body.fmt-dashboard-page .fmt-upgrade-panel>form{margin-left:24px!important;margin-right:24px!important}
body.fmt-dashboard-page .fmt-upgrade-panel>form{margin-bottom:25px!important}
@media(max-width:980px){body.fmt-dashboard-page .fmt-plan-hero{grid-template-columns:1fr}body.fmt-dashboard-page .fmt-preview-grid{grid-template-columns:1fr}}
@media(max-width:560px){body.fmt-dashboard-page .fmt-plan-hero{padding:22px 12px}body.fmt-dashboard-page .fmt-tier-cards{gap:5px}body.fmt-dashboard-page .fmt-tier-card{padding:12px 5px;min-height:165px}body.fmt-dashboard-page .fmt-tier-card h3{font-size:14px}body.fmt-dashboard-page .fmt-tier-card p{font-size:10px}body.fmt-dashboard-page .fmt-tier-card strong{font-size:20px}body.fmt-dashboard-page .fmt-tier-ribbon{font-size:9px;padding:3px 5px}body.fmt-dashboard-page .fmt-plan-scroll{margin:0 8px 15px}}

/* FMT compact profile + membership refinement — 2026-10-18 */
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card{display:grid!important;grid-template-columns:125px 100px minmax(0,1fr);align-items:center;column-gap:14px;padding:12px 18px!important;min-height:0!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card .fmt-card-kicker{grid-column:1/-1;margin-bottom:3px}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card h2{grid-column:1;grid-row:2;font-size:17px!important;margin:0!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card h2 small{display:block;font-size:10px;font-weight:400;color:#60777a}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-preview{grid-column:2;grid-row:2;width:72px!important;height:72px!important;min-height:72px!important;margin:0!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-preview img{width:72px!important;height:72px!important;object-fit:cover}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card>p{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card form{grid-column:3;grid-row:2;display:flex;align-items:center;gap:10px;margin:0!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card form .field{flex:1;min-width:0;margin:0!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card form .field>span,body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] #fmt-photo-hint{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card form input[type=file]{padding:6px!important;max-width:100%;font-size:12px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card form .btn{width:auto!important;white-space:nowrap;padding:10px 13px!important;font-size:12px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card{padding:16px 18px!important;min-width:0}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card h2{font-size:21px!important;margin:3px 0!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card>p{margin:3px 0 12px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card .form-row{gap:10px!important;margin-bottom:9px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card .field{margin-bottom:7px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card input,body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card select{min-height:40px!important;padding:8px 11px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card textarea{min-height:72px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card [data-skill-group]{max-height:170px!important;overflow:auto!important}
body.fmt-dashboard-page .fmt-plan-hero{padding:18px 20px!important;gap:12px!important}
body.fmt-dashboard-page .fmt-plan-hero-copy h2{font-size:clamp(23px,2.5vw,36px)!important;line-height:1.13!important}
body.fmt-dashboard-page .fmt-tier-cards{gap:8px!important}
body.fmt-dashboard-page .fmt-tier-card{padding:12px 8px!important;min-height:175px!important}
body.fmt-dashboard-page .fmt-tier-icon{font-family:Arial,sans-serif!important;font-size:23px!important;line-height:1!important}
body.fmt-dashboard-page .fmt-tier-card h3{margin:5px 0!important}
body.fmt-dashboard-page .fmt-tier-card p{min-height:0!important;margin:4px 0!important}
body.fmt-dashboard-page .fmt-plan-table th,body.fmt-dashboard-page .fmt-plan-table td{padding:9px 11px!important}
body.fmt-dashboard-page .fmt-plan-table thead th small{display:block!important;opacity:1!important;font-size:12px!important;font-weight:700!important;margin-top:4px!important;white-space:nowrap!important}
body.fmt-dashboard-page .fmt-plan-search-preview{background:#f9f7f1!important;color:#173b3b!important;padding:19px!important;border-top:1px solid #d5dfd9!important}
body.fmt-dashboard-page .fmt-plan-search-preview h3{color:#123e42!important}
body.fmt-dashboard-page .fmt-plan-search-preview>p{color:#526b6b!important}
body.fmt-dashboard-page .fmt-search-sample{min-height:0!important;box-shadow:0 3px 12px rgba(14,49,47,.08)!important}
body.fmt-dashboard-page .fmt-search-free{border-color:#cbd4d8!important}
body.fmt-dashboard-page .fmt-search-leads{border-color:#c59552!important}
body.fmt-dashboard-page .fmt-search-sponsored{border-color:#cfa84e!important}
@media(max-width:760px){body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card{grid-template-columns:80px 1fr!important;gap:8px!important}body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card h2{grid-column:1;grid-row:2}body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-preview{grid-column:2;grid-row:2}body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card form{grid-column:1/-1;grid-row:3;flex-wrap:wrap}body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-photo-card form .btn{flex-shrink:0}body.fmt-dashboard-page .fmt-v2-content[data-current-view="profile"] .fmt-profile-card{padding:12px!important}body.fmt-dashboard-page .fmt-plan-hero{padding:14px!important}}

/* FMT release: home overview contains no plan purchase forms or lead records. */
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] [data-fmt-panel="enquiries"],
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] [data-fmt-panel="subscription"],
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-upgrade-panel,
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-v2-password{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .side-stack{display:block!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-news-card{max-width:520px!important;min-height:0!important}

/* October 18: single compact sidebar news feed; no duplicate subscription on home. */
body.fmt-dashboard-page .fmt-sidebar-news{margin:12px 12px 0;padding:12px;border:1px solid #d5e6e1;border-radius:12px;background:#f5faf8;color:#153d42;font-size:12px;line-height:1.45}
body.fmt-dashboard-page .fmt-sidebar-news strong{display:block;font-size:13px;color:#0d756b;margin-bottom:5px}
body.fmt-dashboard-page .fmt-sidebar-news p{font-size:11px;margin:0 0 7px;color:#617a7c}
body.fmt-dashboard-page .fmt-sidebar-news-item{padding:8px;border-radius:7px;background:#e8f3f0;color:#0d756b;overflow-wrap:anywhere}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-upgrade-panel,
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-upgrade-price,
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .plan-option,
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] [data-fmt-panel="subscription"]{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .side-stack:empty{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .dashboard-grid{margin-bottom:0!important}

/* FMT October 18: clean home, subscription split into plan comparison and checkout. */
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .dashboard-grid{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="home"] .fmt-workspace-heading{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(290px,.85fr)!important;align-items:start;gap:14px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-upgrade-panel{min-width:0;margin:0!important;padding:12px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-payment-column{min-width:0;background:#fff;border:1px solid #d8e6e2;border-radius:14px;padding:18px;box-shadow:0 3px 12px rgba(13,65,62,.04)}
body.fmt-dashboard-page .fmt-payment-column .fmt-selected-price{font-size:28px;font-weight:800;color:#0c766c;padding:12px 0}
body.fmt-dashboard-page .fmt-payment-column h3{margin:8px 0;font-size:19px}
body.fmt-dashboard-page .fmt-payment-column select{width:100%;max-width:100%}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-hero{display:block!important;background:#f5faf8!important;color:#123e42!important;padding:12px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-hero-copy{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-tier-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-tier-card{min-height:130px!important;padding:9px 5px!important;border-radius:10px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-tier-card h3{font-size:16px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-tier-card p{font-size:11px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-tier-card strong{font-size:20px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-tier-icon{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-heading{display:none!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-table th,body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-table td{padding:7px 5px!important;font-size:11px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-table thead th small{font-size:10px!important;white-space:normal!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-search-preview{padding:10px!important}
body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-preview-grid{gap:7px!important}
@media(max-width:1100px){body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack{grid-template-columns:1fr!important}}
@media(max-width:650px){body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-tier-cards{grid-template-columns:1fr!important}body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-scroll{overflow-x:auto!important}body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .fmt-plan-table{min-width:520px!important}}

/* FMT FIX 2026-10-18: keep comparison and checkout side-by-side on desktop. */
@media (min-width: 761px) {
  body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .dashboard-grid > .side-stack {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 65fr) minmax(285px, 35fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }
  body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack > .fmt-upgrade-panel {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack > .fmt-payment-column {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    position: sticky;
    top: 18px;
  }
  body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack > .fmt-v2-password,
  body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack > .surface:not(.fmt-upgrade-panel) {
    grid-column: 2 !important;
  }
}
@media (max-width: 760px) {
  body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .dashboard-grid > .side-stack {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack > .fmt-upgrade-panel,
  body.fmt-dashboard-page .fmt-v2-content[data-current-view="subscription"] .side-stack > .fmt-payment-column {
    width: 100% !important;
    position: static !important;
  }
}

.fmt-join-icon{width:19px;height:19px;vertical-align:middle;margin-right:5px;object-fit:contain}.fmt-invalid{border:2px solid #c62828!important;background:#fff8f8!important}.fmt-field-error{display:block;color:#b71c1c;font-size:12px;margin:4px 0 8px}.fmt-join-icon{filter:brightness(0) invert(1)}

/* FMT V2.3: homepage layout containment and header alignment */
.site-header{isolation:isolate;z-index:100;background:#fff}
.site-header .header-inner{width:min(1180px,calc(100% - 44px));min-width:0;gap:22px}
.site-header .brand{display:flex;align-items:center;flex:0 0 auto;min-width:0}
.site-header .brand img{width:180px;max-width:100%;height:58px;object-fit:contain}
.site-header nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;min-width:0}
.site-header nav .btn{white-space:nowrap;display:inline-flex;align-items:center;gap:8px}
.hero{overflow:hidden;position:relative;isolation:isolate;padding:58px 0 50px}
.hero .hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:44px}
.hero .hero-grid>div{min-width:0}
.hero .hero-art{position:relative!important;inset:auto!important;transform:none!important;max-width:490px!important;width:100%!important;height:auto!important;min-height:0!important;justify-self:end;overflow:visible;z-index:1}
.hero .hero-photo{position:relative!important;inset:auto!important;transform:none!important;display:block;width:100%!important;max-width:100%!important;height:390px!important;max-height:390px!important;overflow:hidden!important;border-radius:36px!important;background:#d7eee7}
.hero .hero-photo img{position:static!important;display:block!important;float:none!important;transform:none!important;width:100%!important;max-width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
.hero .floating-stat{position:absolute;left:12px;bottom:-15px;z-index:2;max-width:calc(100% - 24px)}
.hero h1{font-size:clamp(35px,3.7vw,56px);max-width:590px;overflow-wrap:normal}
.hero .search-panel{position:relative;top:auto!important;margin:40px auto 0;z-index:2;box-shadow:0 16px 50px rgba(18,72,68,.09)}
@media(max-width:950px){.site-header nav{gap:10px}.site-header .brand img{width:150px}.hero .hero-grid{gap:25px}.hero .hero-photo{height:330px!important;max-height:330px!important}}
@media(max-width:760px){.site-header .header-inner{width:calc(100% - 30px)}.site-header nav{display:none;position:absolute;top:72px;left:0;right:0;padding:20px;background:#fff;box-shadow:0 12px 25px #153c4017;flex-direction:column;align-items:stretch}.site-header nav.open{display:flex}.hero{padding:36px 0 38px}.hero .hero-grid{grid-template-columns:minmax(0,1fr);gap:25px}.hero .hero-art{justify-self:center;max-width:460px!important}.hero .hero-photo{height:270px!important;max-height:270px!important}.hero .search-panel{margin-top:36px}.hero h1{font-size:clamp(34px,8vw,44px)}}

/* FMT V2.5: scope artwork to its actual sections, prevent header CTA overflow */
.site-header .header-inner{position:relative;z-index:2}
.site-header nav .btn .fmt-join-icon{display:inline-block!important;position:static!important;flex:0 0 18px!important;width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;margin:0 3px 0 0!important;vertical-align:middle!important;overflow:hidden!important}
.site-header nav .btn{overflow:hidden;max-width:100%;min-height:38px}
.auth-section .auth-center{width:min(100% - 32px,480px)!important;max-width:480px!important;margin:0 auto!important;display:block!important}
.auth-section .auth-center .auth-card{width:100%;max-width:480px;margin:0 auto;padding:30px!important}
.auth-section .auth-center .auth-card h2{margin-top:0}
.auth-section{min-height:calc(100vh - 90px)}
@media(max-width:760px){.auth-section .auth-center .auth-card{padding:22px 18px!important}}

/* FMT OTP: keep the verification form below the fixed/sticky header. */
.auth-section{padding:clamp(30px,5vw,68px) 0 70px!important;min-height:calc(100dvh - 90px);display:flex;align-items:flex-start;justify-content:center;overflow:visible}
.auth-section .auth-center{margin:0 auto!important;align-self:flex-start}
.auth-section .auth-card{position:relative!important;top:auto!important;transform:none!important;overflow:visible}
.auth-section .auth-card h2{margin:0 0 12px!important;line-height:1.25}
.fmt-otp-hint{display:block;margin-top:10px;color:#55736c;font-size:12px;line-height:1.5}
@media(max-width:760px){.auth-section{padding:24px 0 50px!important}}

/* FMT V2.8 category-specific teaching form */
.fmt-level-row{align-items:start;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fmt-level-row #fmt-teaching-modes{grid-column:2;grid-row:1}.fmt-level-row #fmt-academic-levels,.fmt-level-row #fmt-activity-levels{grid-column:1;grid-row:1}.fmt-level-row [hidden],#fmt-subject-section[hidden],#fmt-subject-section .skill-group[hidden],#fmt-edit .field[hidden]{display:none!important}.fmt-choice-field{min-width:0;border:1px solid #d7e7e5;border-radius:14px;padding:14px;background:#fff}.fmt-choice-field legend{padding:0 7px;font-size:13px;font-weight:700;color:#174c50}.fmt-choice-list{display:flex;flex-wrap:wrap;gap:9px}.fmt-choice-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #d6e7e5;border-radius:9px;padding:9px 12px;background:#f9fcfb;font-size:13px;font-weight:600;cursor:pointer}.fmt-choice-pill:has(input:checked){border-color:#0c7d73;background:#e7f7f2}.fmt-choice-pill input{accent-color:#087d71}@media(max-width:720px){.fmt-level-row{grid-template-columns:1fr}.fmt-level-row #fmt-teaching-modes,.fmt-level-row #fmt-academic-levels,.fmt-level-row #fmt-activity-levels{grid-column:1;grid-row:auto}}


/* FMT mobile form and navigation polish — no account/data changes */
:root { -webkit-text-size-adjust:100%; }
html,body { max-width:100%; }
*,*::before,*::after { box-sizing:border-box; }
input,select,textarea,button { font:inherit; }
input,select,textarea { max-width:100%; }
:where(.auth-card,.auth-section,.fmt-profile-card,.search-panel,.dashboard-grid,.fmt-v2-content) {
 min-width:0;
}
:where(.auth-card,.fmt-profile-card,.search-panel,.fmt-learner-search,.fmt-enquiry-form,.fmt-trial-form) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea) {
 width:100%; min-width:0; min-height:44px; border-radius:10px;
}
:where(.auth-card,.fmt-profile-card,.search-panel,.fmt-learner-search,.fmt-enquiry-form) textarea { min-height:100px; resize:vertical; }
:where(.auth-card,.fmt-profile-card,.search-panel,.fmt-learner-search,.fmt-enquiry-form) :where(input,select,textarea):focus-visible {
 outline:2px solid #0c8076; outline-offset:1px;
}
:where(.auth-card,.fmt-profile-card,.search-panel,.fmt-learner-search,.fmt-enquiry-form) label.field {
 min-width:0; max-width:100%;
}
:where(.auth-card,.fmt-profile-card,.search-panel,.fmt-learner-search,.fmt-enquiry-form) .form-row {
 align-items:start;
}
:where(.auth-card,.fmt-profile-card,.search-panel,.fmt-learner-search,.fmt-enquiry-form) .btn {
 min-height:44px; text-align:center;
}
@media(max-width:800px) {
 /* The duplicated fixed CTA obstructs registration and login inputs on phones. */
 .fmt-mobile-actions {display:none!important}
 body {padding-bottom:0!important}
 .auth-section,.auth-card,.fmt-join-page,.fmt-student-page,.fmt-dashboard-page {scroll-padding-bottom:20px}
 .fmt-social-float {right:10px;bottom:14px;gap:7px}
 .fmt-social-float a {width:40px;height:40px}
 .fmt-social-float svg {width:20px;height:20px}
 .auth-section ~ .fmt-social-float,
 body.fmt-dashboard-page .fmt-social-float,
 body.fmt-student-page .fmt-social-float {display:none!important}
 .container {max-width:100%}
 .auth-section .auth-center {width:min(100% - 24px,480px)!important}
 .auth-section .auth-card {padding:20px 16px!important;border-radius:16px}
 .auth-card .form-row,.auth-section .form-row,#fmt-join-form .form-row,
 #fmt-student-register .form-row,.fmt-enquiry-form .form-row,
 .fmt-profile-card .form-row,.search-panel .form-row {
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
 }
 #fmt-join-form .field,#fmt-student-register .field,.auth-card .field {
   width:100%!important;min-width:0!important;
 }
 #fmt-join-form :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
 #fmt-student-register :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
   width:100%!important;max-width:100%!important;font-size:16px!important;
 }
 :where(.auth-card,.fmt-profile-card,.search-panel,.fmt-learner-search,.fmt-enquiry-form)
 :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {font-size:16px!important}
 .fmt-choice-list {gap:8px}
 .fmt-choice-pill {min-height:42px;max-width:100%;line-height:1.35}
 .fmt-choice-field {padding:12px}
 .fmt-level-row {grid-template-columns:minmax(0,1fr)!important}
 .fmt-level-row #fmt-teaching-modes,.fmt-level-row #fmt-academic-levels,.fmt-level-row #fmt-activity-levels {
 grid-column:1!important;grid-row:auto!important;
 }
 .fmt-v2-content,.dashboard-grid,.fmt-profile-card {min-width:0!important}
 body.fmt-dashboard-page .fmt-profile-card .form-row {grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:600px) {
 .site-header .header-inner {width:calc(100% - 24px)!important}
 body.fmt-dashboard-page .site-header .brand img {max-width:100px!important;height:auto!important}
 body.fmt-dashboard-page .site-header .fmt-educator-actions {gap:3px!important}
 body.fmt-dashboard-page .site-header .fmt-educator-actions>a,
 body.fmt-dashboard-page .site-header .fmt-educator-actions>details>summary,
 body.fmt-dashboard-page .site-header .fmt-educator-disabled,
 body.fmt-dashboard-page .site-header .fmt-v2-user>summary {
  min-width:42px!important;min-height:46px!important;padding:5px 2px!important;
  font-size:10px!important;gap:2px!important;
 }
 body.fmt-dashboard-page .site-header .fmt-educator-actions svg {width:20px!important;height:20px!important}
 body.fmt-dashboard-page .site-header .fmt-educator-actions .fmt-nav-label {font-size:10px!important}
 body.fmt-dashboard-page .site-header .fmt-notification-popover {
   right:-90px!important;max-width:calc(100vw - 20px)!important;
 }
 body.fmt-student-page .site-header nav {gap:6px!important}
 body.fmt-student-page .site-header nav a {padding:8px 6px!important;font-size:11px!important}
 .fmt-callback-tab {display:none!important}
}
@media(max-width:390px) {
 body.fmt-dashboard-page .site-header .brand img {max-width:78px!important}
 body.fmt-dashboard-page .site-header .fmt-educator-actions>a,
 body.fmt-dashboard-page .site-header .fmt-educator-actions>details>summary,
 body.fmt-dashboard-page .site-header .fmt-educator-disabled,
 body.fmt-dashboard-page .site-header .fmt-v2-user>summary {min-width:38px!important;font-size:9px!important}
}
@media(prefers-reduced-motion:reduce) {
 html {scroll-behavior:auto!important}
}

/* FMT mobile search-first homepage — desktop unaffected */
@media (max-width: 767px) {
  body:not(.fmt-dashboard-page):not(.fmt-student-page) .hero {padding:0 0 24px!important;background:#f7faf8!important}
  .hero>.container.hero-grid {display:block!important;padding-top:14px!important;padding-bottom:0!important;min-height:0!important}
  .hero-grid>div:first-child {margin:0!important;padding:0!important}
  .hero .hero-art,.hero .hero-photo,.hero .floating-stat,.hero .hero-points,.hero .hero-copy,.hero .eyebrow {display:none!important}
  .hero h1 {font-size:clamp(23px,6.2vw,29px)!important;line-height:1.2!important;letter-spacing:-.7px!important;margin:4px 0 13px!important;max-width:100%!important}
  .hero h1 em {font-style:normal}
  .hero>.container:not(.hero-grid) {padding-top:0!important;padding-bottom:0!important}
  .hero #fmt-home-search.search-panel {position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;margin:0!important;padding:17px 14px!important;border:1px solid #dbeae5!important;border-radius:15px!important;box-shadow:0 6px 24px rgba(18,57,56,.07)!important;width:100%!important;max-width:100%!important}
  #fmt-home-search .panel-head {display:block!important;margin:0 0 13px!important}
  #fmt-home-search .panel-head strong {display:block!important;font-size:17px!important;line-height:1.35!important}
  #fmt-home-search .panel-head span {display:block!important;font-size:12px!important;margin-top:2px!important}
  #fmt-home-search .search-fields {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important;align-items:stretch!important}
  #fmt-home-search .search-fields>label {display:flex!important;flex-direction:column!important;gap:5px!important;width:100%!important;min-width:0!important;margin:0!important;font-size:12px!important}
  #fmt-home-search .search-fields :is(input,select) {display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:46px!important;min-height:46px!important;font-size:16px!important;border-radius:9px!important}
  #fmt-home-search .search-fields>button {width:100%!important;min-height:48px!important;margin-top:3px!important;border-radius:10px!important;font-size:15px!important}
  #fmt-home-search [hidden],#fmt-home-search [aria-hidden="true"] {display:none!important}
  .hero+.section {padding-top:38px!important}
  .site-header {position:relative}
}


/* FMT adaptive app-like experience: phones and tablets */
@media (max-width:1024px) {
 html {scroll-padding-top:76px;scroll-behavior:smooth}
 body {width:100%;max-width:100%;overflow-x:clip;overscroll-behavior-y:contain}
 .site-header {position:sticky!important;top:0!important;z-index:700!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid #e2ece9}
 .site-header .header-inner {min-height:64px!important;max-width:100%!important}
 main,section,.container,.hero,.hero-grid,.dashboard-grid,.fmt-v2-content,.fmt-search-card {min-width:0;max-width:100%}
 .container {width:min(100% - 28px,900px)!important;margin-inline:auto!important}
 .section {padding-block:34px!important}
 .card,.auth-card,.search-panel,.fmt-profile-card {border-radius:16px!important}
 .form-row {min-width:0}
 input:not([type=checkbox]):not([type=radio]),select,textarea {font-size:16px!important;max-width:100%;min-height:44px}
 button,.btn,[role=button] {touch-action:manipulation}
 .btn {min-height:44px}
 .fmt-search-card {grid-template-columns:64px minmax(0,1fr)!important;gap:12px!important}
 .fmt-search-actions {grid-column:1/-1!important;justify-content:flex-start!important;padding-top:6px!important}
 .fmt-search-actions .btn {white-space:normal!important}
 .fmt-social-float {display:none!important}
 .fmt-mobile-actions {display:none!important}
 .site-header .fmt-notification-popover {max-width:min(360px,calc(100vw - 24px))!important}
 .fmt-v2-content,.dashboard-grid {overflow-wrap:anywhere}
}
@media (min-width:768px) and (max-width:1024px) {
 .hero-grid {gap:24px!important}
 .hero h1 {font-size:clamp(30px,4vw,42px)!important}
 .search-panel {max-width:100%!important}
 .search-fields {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
 .search-fields>* {min-width:0!important}
 .search-fields>button {width:100%!important}
 .auth-card {width:min(100%,660px)!important;margin-inline:auto}
 .fmt-profile-card .form-row {gap:14px!important}
}
@media (max-width:767px) {
 :root {color-scheme:light}
 html {scroll-padding-top:72px}
 .site-header .header-inner {min-height:62px!important}
 .site-header .brand img {max-height:48px!important;width:auto!important;max-width:115px!important;object-fit:contain}
 .hero>.container.hero-grid {padding-top:12px!important}
 .hero #fmt-home-search.search-panel {padding:16px 14px!important}
 .search-panel .search-fields,.auth-card .form-row,.fmt-profile-card .form-row,
 #fmt-join-form .form-row,#fmt-student-register .form-row {grid-template-columns:minmax(0,1fr)!important}
 .search-panel .search-fields>*,.auth-card .form-row>*,.fmt-profile-card .form-row>* {min-width:0!important;width:100%!important}
 .search-panel .search-fields button[type=submit],.auth-card button[type=submit],#fmt-join-form button[type=submit],#fmt-student-register button[type=submit] {
   width:100%!important;min-height:48px!important;border-radius:11px!important
 }
 .fmt-search-card {padding:14px 12px!important;gap:10px!important}
 .fmt-search-actions {display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 .fmt-search-actions .btn {flex:1 1 135px}
 .fmt-search-actions .fmt-contact-icon {flex:0 0 42px;min-height:42px}
 .fmt-choice-list {display:flex;flex-wrap:wrap;gap:8px}
 .fmt-choice-pill {max-width:100%}
 .fmt-notification-popover {max-height:min(65dvh,460px)!important;overscroll-behavior:contain}
 body.fmt-dashboard-page .site-header .fmt-educator-actions {flex-wrap:nowrap!important;gap:2px!important}
 body.fmt-dashboard-page .site-header .fmt-educator-actions svg {width:21px!important;height:21px!important}
 body.fmt-dashboard-page .site-header .fmt-educator-actions>a,
 body.fmt-dashboard-page .site-header .fmt-educator-actions>details>summary,
 body.fmt-dashboard-page .site-header .fmt-educator-disabled,
 body.fmt-dashboard-page .site-header .fmt-v2-user>summary {min-height:44px!important}
 .fmt-v2-menu {max-width:calc(100vw - 24px)!important}
}
@media (max-width:390px) {
 .container {width:calc(100% - 20px)!important}
 .site-header .header-inner {width:calc(100% - 16px)!important}
 body.fmt-dashboard-page .site-header .brand img {max-width:75px!important}
 body.fmt-dashboard-page .site-header .fmt-educator-actions>a,
 body.fmt-dashboard-page .site-header .fmt-educator-actions>details>summary,
 body.fmt-dashboard-page .site-header .fmt-educator-disabled,
 body.fmt-dashboard-page .site-header .fmt-v2-user>summary {min-width:36px!important;padding:4px 1px!important}
}
@supports(padding:env(safe-area-inset-bottom)) {
 @media(max-width:1024px) {
  body {padding-bottom:env(safe-area-inset-bottom)!important}
  .site-header {padding-top:env(safe-area-inset-top)}
 }
}

/* FMT student mobile navigation: scoped to learners, preserve educator layout */
@media(max-width:767px){
body.fmt-student-page .site-header{position:relative;z-index:1001}
body.fmt-student-page .site-header .header-inner{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:10px!important;min-height:60px!important}
body.fmt-student-page .site-header .brand{margin-right:auto!important;min-width:0!important}
body.fmt-student-page .site-header .brand img{display:block!important;max-width:105px!important;width:auto!important;height:auto!important;max-height:44px!important;object-fit:contain!important}
body.fmt-student-page .fmt-student-search-quick{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;color:#075d61;text-decoration:none}
body.fmt-student-page .menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;flex:0 0 44px!important;margin:0!important;position:static!important}
body.fmt-student-page #nav{display:none!important;position:absolute!important;top:100%!important;right:10px!important;left:auto!important;width:min(290px,calc(100vw - 20px))!important;max-height:calc(100dvh - 80px);overflow-y:auto;z-index:1100!important;background:#fff!important;border:1px solid #dae6e7!important;border-radius:14px!important;box-shadow:0 12px 35px rgba(0,32,42,.14)!important;padding:10px!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important}
body.fmt-student-page #nav.open{display:flex!important}
body.fmt-student-page #nav>a,body.fmt-student-page #nav .nav-link{display:flex!important;align-items:center!important;min-height:44px!important;width:100%!important;padding:11px 13px!important;text-align:left!important;border-radius:9px!important;font-size:14px!important;color:#12383e!important;text-decoration:none!important}
body.fmt-student-page #nav .fmt-student-search{display:none!important}
body.fmt-student-page #nav form.fmt-student-logout{display:block!important;width:100%!important;margin-top:6px!important;padding-top:6px!important;border-top:1px solid #e5eeee!important}
body.fmt-student-page #nav form.fmt-student-logout button{background:transparent!important;border:0!important;cursor:pointer!important}
body.fmt-student-page .container,body.fmt-student-page .surface,body.fmt-student-page .card{max-width:100%;min-width:0}
body.fmt-student-page main{overflow-x:clip}
body.fmt-student-page input,body.fmt-student-page select,body.fmt-student-page textarea{max-width:100%;min-width:0;box-sizing:border-box}
body.fmt-student-page .fmt-social-float{z-index:90!important}
}
@media(min-width:768px){.fmt-student-search-quick{display:none!important}.fmt-student-menu-link{display:none!important}.fmt-student-search{display:inline-flex;gap:7px;align-items:center}.fmt-student-search svg{width:17px;height:17px}}

/* Premium enquiries + consent + actionable notifications */
.fmt-contact-consent{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:start!important;gap:12px!important;padding:14px 16px!important;width:100%!important;max-width:100%!important;min-width:0!important;border:1px solid #d9e9e6!important;background:#f3f9f7!important;border-radius:12px!important;line-height:1.5!important;color:#173b43!important;cursor:pointer}
.fmt-contact-consent input[type="checkbox"]{appearance:auto!important;display:block!important;flex:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;margin:2px 0 0!important;padding:0!important;position:static!important;accent-color:#087b73!important;box-shadow:none!important}
.fmt-contact-consent>span{display:block!important;min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;font-size:13px!important;font-weight:500!important;line-height:1.55!important}
.fmt-contact-consent>span small{display:block!important;margin-top:5px!important;color:#56757b!important;font-size:12px!important;font-weight:400!important}
.fmt-opportunities-panel .fmt-opportunity-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,34%)!important;align-items:center!important;gap:20px!important;padding:19px 0!important;border-top:1px solid #e4edeb!important;min-width:0!important}
.fmt-opportunities-panel .fmt-opportunity-card>div{min-width:0!important;width:auto!important;max-width:100%!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important}
.fmt-opportunities-panel .fmt-opportunity-card strong{line-height:1.35!important}
.fmt-opportunities-panel .fmt-opportunity-card p{margin:0!important;line-height:1.5!important}
.fmt-opportunities-panel .fmt-opportunity-card .fmt-premium-contact{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;margin:2px 0!important;max-width:100%!important}
.fmt-opportunities-panel .fmt-opportunity-card a{overflow-wrap:anywhere!important}
.fmt-opportunities-panel .fmt-opportunity-card>div:last-child>a[data-fmt-view]{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:5px 0!important;font-weight:650!important;text-decoration:none!important;color:#087c73!important}
.fmt-opportunities-panel .fmt-opportunity-card>div:last-child>a[data-fmt-view]:hover{text-decoration:underline!important}
body.fmt-dashboard-page .site-header .fmt-notification-item>a.fmt-notification-open{display:block!important;flex:1 1 auto!important;min-width:0!important;color:inherit!important;text-decoration:none!important;padding:3px 4px!important;border-radius:8px!important;white-space:normal!important}
body.fmt-dashboard-page .site-header .fmt-notification-item>a.fmt-notification-open:hover,body.fmt-dashboard-page .site-header .fmt-notification-item>a.fmt-notification-open:focus-visible{background:#e9f5f2!important;outline:2px solid transparent!important}
body.fmt-dashboard-page .site-header .fmt-notification-cta{display:inline-block!important;margin-top:7px!important;color:#087b73!important;font-size:12px!important;font-weight:700!important}
@media(max-width:760px){.fmt-opportunities-panel .fmt-opportunity-card{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:16px 0!important}.fmt-opportunities-panel .fmt-opportunity-card>div:last-child{gap:5px!important}.fmt-contact-consent{padding:12px!important}}

/* FMT mobile: social shortcuts on left centre, away from chat composer. */
@media(max-width:767px){
 body.fmt-student-page .fmt-social-float,
 body.fmt-dashboard-page .fmt-social-float{display:flex!important;position:fixed!important;left:8px!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;flex-direction:column!important;gap:8px!important;z-index:90!important}
 body.fmt-student-page .fmt-social-float a,
 body.fmt-dashboard-page .fmt-social-float a{width:36px!important;height:36px!important}
 body.fmt-student-page .fmt-social-float svg,
 body.fmt-dashboard-page .fmt-social-float svg{width:19px!important;height:19px!important}
}

/* FMT social placement: consistent left-centre, except messaging screens. */
.fmt-social-float{position:fixed!important;left:10px!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;display:flex!important;flex-direction:column!important;gap:9px!important;z-index:80!important}
.fmt-social-float a{width:42px!important;height:42px!important}
.fmt-social-float svg{width:21px!important;height:21px!important}
body.fmt-messages-page .fmt-social-float{display:none!important}
@media(max-width:767px){.fmt-social-float{left:6px!important;gap:7px!important}.fmt-social-float a{width:34px!important;height:34px!important}.fmt-social-float svg{width:18px!important;height:18px!important}}

/* FMT homepage connection-first hero — scoped to hero only */
@media(min-width:768px){.hero .hero-grid h1{font-size:clamp(30px,3vw,45px);line-height:1.15;margin:14px 0 15px}.hero .hero-grid .hero-copy{font-size:13px;line-height:1.55;margin-bottom:14px}.fmt-hero-audiences{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fmt-hero-audience{background:#ffffffd9;border:1px solid #cce5dd;border-radius:12px;padding:12px 13px;box-shadow:0 4px 14px #154f4a09}.fmt-hero-audience strong{display:block;font-size:13px;color:#0b756c;margin-bottom:5px}.fmt-hero-audience p{font-size:12px;line-height:1.45;margin:0}.fmt-hero-motto{font-size:13px;font-weight:800;color:#173a40;margin:14px 0 4px}.fmt-hero-motto span{color:#0f766e}.hero .hero-grid{align-items:center}.hero{padding-top:48px}}
@media(max-width:767px){.fmt-hero-audiences,.fmt-hero-motto{display:none!important}.fmt-mobile-search-intro .fmt-mobile-hero-motto{font-size:11px!important;font-weight:800!important;color:#0f766e!important;margin-top:9px!important}}
