/* Adapted from the user's supplied deep-blue 4XC template. Original theme: Mohammad Yousif. */
@font-face{font-family:Glancyr;src:url('fonts/Glancyr-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Glancyr;src:url('fonts/Glancyr-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Glancyr;src:url('fonts/Glancyr-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{--green:#102a56;--ink:#011840;--paper:#fff;--soft:#f3f5f8;--line:#d9dfe7;--muted:#596679;--color-primary:#102a56;--color-secondary:#011840;--color-accent:#081a38}
body{color:#011840;background:#fff;font-family:'DM Sans',Arial,sans-serif}h1,h2,h3,h4,.brand{font-family:Glancyr,'DM Sans',Arial,sans-serif;letter-spacing:0;font-weight:600}.site-header{min-height:94px;border-bottom:1px solid #eaecf0;padding-top:22px;padding-bottom:22px}.brand{font-size:35px;color:#102a56;font-weight:700;letter-spacing:-1.2px}.live-nav a{font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#011840}.header-right .text-button{border:1px solid #102a56;padding:12px 20px;border-radius:6px;font-size:12px;letter-spacing:.5px;font-weight:700;text-transform:uppercase}.header-right .primary-button{font-size:12px;letter-spacing:.5px;font-weight:700;text-transform:uppercase;padding:13px 20px}.primary-button,.card-button{background:#102a56;border-color:#102a56;border-radius:6px}.primary-button:hover,.card-button:hover{background:#081a38;border-color:#081a38}.secondary-button{border-color:#102a56;color:#102a56;border-radius:6px;font-weight:600}.finder-shell{max-width:1256px;margin-top:38px;padding:0 28px}.finder-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:54px;align-items:center;margin:0 0 35px;min-height:330px}.finder-heading>.eyebrow{display:inline-flex;padding:7px 11px;background:#edf0f4;border-radius:5px;letter-spacing:1.4px;color:#011840;font-size:10px;font-weight:700}.finder-intro h1{font:600 clamp(38px,4vw,57px)/1.13 Glancyr,'DM Sans',Arial,sans-serif;letter-spacing:0;margin:23px 0 19px;color:#011840}.finder-intro h1 span{color:#102a56}.finder-intro p{font-size:16px;line-height:1.65;max-width:490px;font-weight:450;color:#596679}.finder-photo{width:100%;max-width:460px;justify-self:end}.finder-photo img{width:100%;height:295px;border-radius:14px;object-position:50% 36%}.finder-photo figcaption{font-size:8px;padding-right:4px;margin-top:6px}.finder-form{padding:25px 28px;background:#fff;border:1px solid #d0d5dd;border-radius:12px;box-shadow:0 8px 24px #01184005}.finder-form-heading{align-items:center;margin-bottom:20px}.finder-form-heading h2{font-size:25px;font-weight:600;letter-spacing:0}.finder-form-heading p{font-size:13px}.finder-grid .form-field label{color:#344054!important;font-size:12px!important}.finder-grid input,.finder-grid select{border-color:#d0d5dd!important;color:#101828;border-radius:5px!important;font-size:13px!important}.finder-location{margin-top:19px;padding-top:18px;margin-bottom:18px}.finder-submit{text-transform:uppercase;font-size:12px;letter-spacing:.7px;padding:14px 22px}.finder-footnote{font-size:11px}.finder-results-mode{margin-top:25px}.finder-results-mode .finder-form{background:#f8f9fb;box-shadow:none}.finder-results .result-heading h2{font-family:Glancyr,'DM Sans',Arial,sans-serif;font-size:29px}.teacher-name-row h3{font-family:Glancyr,'DM Sans',Arial,sans-serif;font-size:23px;font-weight:600;letter-spacing:0}.teacher-card{border-radius:10px;border-color:#d0d5dd;padding:25px}.teacher-card .tagline{font-family:'DM Sans',Arial,sans-serif;font-size:15px;color:#011840}.teacher-card .location,.teacher-card .levels,.teacher-summary{color:#667085}.tag{background:#f2f4f7;color:#475467;border-radius:4px}.profile-label{background:#eef2f8;border-color:#dce3ee;color:#445a7e;font-size:9px;font-weight:600;letter-spacing:.2px}.teacher-actions strong{color:#011840}.teacher-actions .primary-button{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.live-portrait{border-radius:8px}.live-portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}.browse-subjects{max-width:1200px;margin-top:46px;margin-bottom:42px}.browse-subjects h2{font-size:29px;font-weight:600}.subject-links a{border-radius:9px;border-color:#d0d5dd;min-height:78px}.subject-links strong{font-family:Glancyr,'DM Sans',Arial,sans-serif;font-size:18px;font-weight:600}.subject-number{background:#edf1f7;border-radius:5px;padding:8px;font-weight:600;color:#102a56}.subject-links a:hover{background:#f6f8fc;border-color:#102a56}.learning-steps{max-width:1200px;gap:60px;padding-top:38px;margin-bottom:48px}.learning-steps h3{font-size:21px;font-weight:600}.learning-steps>div>span{color:#102a56;font-size:13px}.learning-steps p{font-size:14px;color:#667085}.teacher-invitation{max-width:1200px;background:#081a38;border-radius:14px;padding:45px 48px;color:#fff;margin-bottom:50px}.teacher-invitation h2{font-family:Glancyr,'DM Sans',Arial,sans-serif;font-weight:600;line-height:1.2;font-size:32px;letter-spacing:.2px;color:#fff}.teacher-invitation p{color:#cbd5e3;margin-top:12px;max-width:520px;font-size:14px}.teacher-invitation .secondary-button{color:#102a56;background:#fff;border-color:#fff;padding:14px 23px;white-space:nowrap;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.panel{border-radius:10px;border-color:#d0d5dd}.panel h2{font-family:Glancyr,'DM Sans',Arial,sans-serif;font-weight:600;letter-spacing:0}.modal-title{font-family:Glancyr,'DM Sans',Arial,sans-serif!important;letter-spacing:0}.profile-top .tag{font-size:10px}.notice{background:#f3f5f9;border-color:#dce3ee;color:#475467}footer{background:#011840;color:#cbd5e3;border-color:#011840;padding-top:35px;padding-bottom:35px}footer .brand{color:#fff}footer a.text-button{color:#fff}footer p{color:#cbd5e3}footer>span{color:#98a9c2}
@media(max-width:1250px){.browse-subjects,.learning-steps,.teacher-invitation{margin-left:28px;margin-right:28px}}
@media(max-width:850px){.site-header{padding:18px 24px;min-height:84px}.finder-intro{grid-template-columns:1.1fr 1fr;gap:25px;min-height:280px}.finder-intro h1{font-size:39px}.finder-photo img{height:255px}.finder-intro p{font-size:14px}.finder-form-heading{align-items:flex-start}.teacher-invitation{padding:32px}.teacher-invitation h2{font-size:27px}.learning-steps{gap:26px}.live-portrait{width:95px;height:110px}}
@media(max-width:600px){.site-header{padding:15px 18px;gap:13px;min-height:80px}.brand{font-size:29px}.header-right{gap:10px}.header-right .text-button{padding:9px 12px;font-size:10px}.header-right .primary-button{padding:10px 13px;font-size:10px}.live-nav{margin-top:2px;gap:22px}.live-nav a{font-size:10px}.finder-shell{padding:0 18px;margin-top:24px}.finder-intro{display:block;min-height:0;margin-bottom:24px}.finder-heading>.eyebrow{font-size:8px;padding:6px 8px;letter-spacing:1.1px}.finder-intro h1{font-size:35px;line-height:1.15;margin:17px 0 13px}.finder-intro p{font-size:13px;max-width:350px}.finder-photo{display:none}.finder-form{padding:20px 16px;border-radius:9px}.finder-form-heading{gap:4px;margin-bottom:20px}.finder-form-heading h2{font-size:23px}.finder-form-heading p{font-size:12px}.finder-grid{gap:15px 12px}.finder-grid input,.finder-grid select{font-size:12px!important}.finder-location{margin:19px 0;padding-top:18px}.finder-location .form-hint{font-size:11px}.finder-submit{font-size:11px}.finder-footnote{font-size:10px}.browse-subjects,.learning-steps,.teacher-invitation{margin:30px 18px}.browse-subjects h2{font-size:25px}.subject-links a{min-height:64px;padding:12px;gap:10px}.subject-links strong{font-size:14px}.subject-number{font-size:8px;padding:6px}.learning-steps{gap:25px}.learning-steps h3{font-size:20px}.learning-steps p{font-size:13px}.teacher-invitation{padding:27px 24px;border-radius:10px}.teacher-invitation h2{font-size:26px}.teacher-invitation p{font-size:13px;margin:13px 0 20px}.teacher-card{padding:17px}.teacher-name-row h3{font-size:20px}.teacher-card .tagline{font-size:14px}.live-portrait{height:82px;width:72px}.teacher-actions .primary-button{font-size:11px}.finder-results .result-heading h2{font-size:25px}.finder-results-mode .finder-form{padding:18px 16px}.page .panel h2{font-size:22px}footer{padding:28px 20px}.profile-top .tag{font-size:9px}.teacher-summary{font-size:12px}}

/* Keep the action row separate from optional location fields. */
.finder-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 18px;margin-top:22px;min-width:0}
.finder-form>.finder-location{margin-bottom:0}
.finder-form-actions .finder-submit{margin:0;max-width:100%}
.finder-form-actions .finder-footnote{margin:0}
@media(max-width:600px){
  .finder-form-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:22px;width:100%}
  .finder-form-actions .finder-submit{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;max-width:100%;min-height:48px;height:auto;margin:0;padding:14px 16px;line-height:1.4;white-space:normal;text-align:center}
  .finder-form-actions .finder-footnote{width:100%;margin:0;text-align:center;line-height:1.6}
}
.prototype-context{font-size:11px;line-height:1.6;color:#7b8492;margin:0 0 18px}.teacher-results-dialog .prototype-context{margin-top:-7px}.photo-attribution{display:inline-block;margin-top:15px;color:#8a929e;font-size:10px;text-decoration:underline}.teacher-hourly-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 6px;margin:3px 0 2px;color:#011840}.teacher-hourly-price>small{flex-basis:100%;font-size:10px;color:#667085}.teacher-hourly-price .price-currency{font-size:12px;font-weight:600}.teacher-actions .teacher-hourly-price strong{font-size:27px;line-height:1.15;font-weight:700;letter-spacing:-.7px}.teacher-hourly-price .price-unit{font-size:11px;color:#667085}.teacher-actions .lesson-duration{font-size:10px;color:#7b8492}.teacher-price-unavailable{font-size:12px;line-height:1.5;color:#667085;margin:8px 0}.profile-hourly-pricing{border-bottom:1px solid #e4e7ec;padding:0 0 19px;margin-bottom:20px}.profile-hourly-pricing h3{font-size:14px;margin-bottom:14px}.profile-rate-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:12px 0}.profile-rate-row>span{font-size:13px;color:#667085}.profile-rate-row>strong{font-size:20px;color:#011840}.profile-rate-row small{font-size:11px;font-weight:400;color:#667085}.profile-hourly-pricing .form-hint{font-size:11px;margin-top:14px}.teacher-price-editor form{margin-top:22px}.teacher-price-editor .table-wrap{margin-top:20px}
@media(max-width:850px){.teacher-actions .teacher-hourly-price{grid-column:1;grid-row:2}.teacher-actions .lesson-duration{grid-column:1;grid-row:3}.teacher-actions .primary-button{grid-row:1/5}.teacher-actions .teacher-hourly-price strong{font-size:25px}}
@media(max-width:600px){.teacher-actions .teacher-hourly-price strong{font-size:24px}.teacher-hourly-price .price-currency{font-size:11px}.profile-rate-row>strong{font-size:18px}.prototype-context{font-size:10px}.teacher-price-editor .detail-grid{grid-template-columns:1fr 1fr}}

.teacher-hourly-price{flex-wrap:wrap}.teacher-actions .form-hint{font-size:11px;max-width:210px}
/* Online search uses teacher preferences rather than the learner's distance. */
.online-preferences[hidden],.lesson-mode-buttons[hidden]{display:none!important}
.online-preferences{margin-top:24px;padding:20px;background:#f2f5fa;border:1px solid #dce4f0;border-radius:10px}
.online-preferences-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.online-preferences-heading h3{font-size:16px;margin:0;letter-spacing:0}
.online-preferences-heading p{font-size:12px;color:#596679;margin:4px 0 0}
.online-globe{display:grid;place-items:center;flex-shrink:0;background:#fff;border:1px solid #d9e2ef;color:#102a56;width:38px;height:38px;border-radius:50%;font-size:26px;line-height:1}
.online-preferences>.finder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.online-preferences select{width:100%;min-width:0;max-width:100%}
.lesson-mode-buttons{display:none}
.teaching-language{font-size:12px;color:#58677b;margin:10px 0}
@media(max-width:600px){
  .site-header{padding:15px 18px 12px;gap:12px;border-bottom:1px solid #e6eaf0}
  .live-nav{padding-top:10px;border-top:1px solid #edf0f4;gap:24px}
  .finder-shell{margin-top:18px;padding:0 16px}
  .finder-intro{display:grid;grid-template-columns:minmax(0,1fr);margin-bottom:20px;min-height:210px;isolation:isolate;overflow:hidden;border-radius:14px;background:#102a56}
  .finder-photo{display:block;grid-area:1/1;position:relative;width:100%;height:100%;min-height:210px;align-self:stretch;z-index:-1}
  .finder-photo img{width:100%;height:100%;min-height:210px;position:absolute;inset:0;object-fit:cover;object-position:67% 45%;border-radius:0}
  .finder-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,24,64,.92),rgba(1,24,64,.54) 63%,rgba(1,24,64,.1))}
  .finder-photo figcaption{position:absolute;right:9px;bottom:7px;z-index:1;font-size:7px;color:#fff;opacity:.8}
  .finder-heading{grid-area:1/1;align-self:center;padding:24px 20px;max-width:300px}
  .finder-heading>.eyebrow{display:none}
  .finder-intro h1{color:white;font-size:29px;line-height:1.08;letter-spacing:-.4px;margin:0 0 13px}
  .finder-intro h1 span{color:white}
  .finder-intro p{color:#e2e8f2;font-size:12px;line-height:1.55;max-width:250px;margin:0}
  .finder-form,.finder-results-mode .finder-form{padding:22px 18px;border-radius:14px;background:#fff;box-shadow:0 6px 25px #01184008}
  .finder-form-heading{gap:5px;margin-bottom:22px}
  .finder-form-heading h2{font-size:25px;line-height:1.15}
  .finder-form-heading p{font-size:12px}
  .finder-form>.finder-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 12px}
  .finder-form>.finder-grid>.form-field:has(#format){grid-column:1/-1;grid-row:1}
  .finder-form>.finder-grid>.form-field:has(#gender){grid-column:1/-1}
  .finder-grid .form-field{min-width:0}
  .finder-grid input,.finder-grid select{font-size:16px!important;min-height:50px;padding:12px!important;width:100%;max-width:100%;min-width:0}
  .form-field label{font-size:12px!important;margin-bottom:8px}
  .has-mode-shortcuts .lesson-format-select{position:absolute;width:1px!important;height:1px;min-height:0;padding:0!important;overflow:hidden;clip-path:inset(50%)}
  .lesson-mode-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;background:#eef2f7;border:1px solid #e0e6ef;border-radius:10px}
  .lesson-mode-buttons button{min-height:46px;border:0;background:transparent;color:#52617a;font:600 13px 'DM Sans',Arial,sans-serif;border-radius:7px;padding:9px 5px;cursor:pointer}
  .lesson-mode-buttons button[aria-pressed="true"]{background:#102a56;color:#fff;box-shadow:0 2px 5px #01184018}
  .lesson-mode-buttons button:focus-visible{outline:3px solid #7b9ad1;outline-offset:2px}
  .online-preferences{margin-top:22px;padding:17px 14px;border-radius:11px}
  .online-preferences-heading{align-items:flex-start;gap:10px;margin-bottom:18px}
  .online-preferences-heading h3{font-size:15px;line-height:1.3}
  .online-preferences-heading p{font-size:11px;line-height:1.5}
  .online-globe{width:30px;height:30px;font-size:22px}
  .online-preferences>.finder-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .finder-location>.finder-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .finder-form-actions .finder-submit{min-height:52px;border-radius:9px;font-size:12px;letter-spacing:.25px}
  .teacher-results-dialog{width:100%;height:100%;max-height:100vh;max-height:100dvh;inset:0;border:0;border-radius:0;margin:0}
  .teacher-results-dialog .finder-results{padding:0 14px 24px;background:#f5f7fa;min-height:100%}
  .teacher-results-dialog .result-heading{margin:0 -14px 18px;padding:calc(18px + env(safe-area-inset-top)) 16px 17px;border-bottom:1px solid #e1e6ed;background:#fff}
  .teacher-results-dialog .result-heading h2{font-size:23px;line-height:1.15;display:block}
  .teacher-results-dialog .result-heading h2 span{display:block;margin-top:6px;font-size:12px;font-family:'DM Sans',Arial,sans-serif;font-weight:500;letter-spacing:0}
  .teacher-results-dialog .result-heading p{font-size:11px}
  .teacher-results-dialog .results-modal-close{min-height:44px;padding:9px 12px;border-radius:8px}
  .teacher-card{display:grid;grid-template-columns:94px minmax(0,1fr);gap:8px 14px;padding:18px;border-radius:14px;border:1px solid #dce2ea;background:#fff;box-shadow:0 3px 12px #01184004;overflow:hidden}
  .teacher-content{display:contents}
  .teacher-card .live-portrait{grid-column:1;grid-row:1/4;width:94px;height:122px;border-radius:10px;align-self:start}
  .teacher-card .live-portrait img{object-position:50% 24%}
  .teacher-name-row{grid-column:2;grid-row:1;display:block;align-self:end;margin:0}
  .teacher-name-row h3{font-size:21px;line-height:1.15;overflow-wrap:anywhere}
  .teacher-name-row .profile-label{display:inline-block;margin-top:6px}
  .teacher-card .location{grid-column:2;grid-row:2;margin:0;font-size:11px;line-height:1.5}
  .teacher-card .tagline{grid-column:2;grid-row:3;align-self:start;font-size:13px;line-height:1.45;margin:0}
  .teacher-summary{grid-column:1/-1;grid-row:4;font-size:13px;line-height:1.65;margin:9px 0 2px}
  .teacher-card .teaching-language{grid-column:1/-1;grid-row:5;font-size:11px;margin:3px 0;color:#52617a}
  .teacher-card .tags{grid-column:1/-1;grid-row:6;margin:4px 0;gap:6px}
  .teacher-card .tag{font-size:10px;padding:5px 8px;border-radius:5px}
  .teacher-card .levels{grid-column:1/-1;grid-row:7;font-size:11px;line-height:1.5;margin:2px 0 4px}
  .teacher-card .teacher-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-items:center;border-top:1px solid #e7ebf1;border-left:0;padding:16px 0 0;margin-top:7px}
  .teacher-card .teacher-actions>p:not(.form-hint){display:none}
  .teacher-card .teacher-actions .teacher-hourly-price{grid-column:1;grid-row:1;gap:3px 5px;margin:0}
  .teacher-card .teacher-actions .teacher-hourly-price strong{font-size:24px;letter-spacing:-.7px;overflow-wrap:anywhere}
  .teacher-card .teacher-actions .primary-button{grid-column:2;grid-row:1;min-height:48px;width:auto;min-width:0;padding:13px 14px;border-radius:8px;font-size:10px;letter-spacing:.1px;margin:0}
  .teacher-card .teacher-actions .rating{grid-column:1/-1;grid-row:2;margin:0;font-size:11px}
  .teacher-card .teacher-actions .lesson-duration{grid-column:1/-1;grid-row:3;font-size:10px}
  .teacher-card .teacher-actions .form-hint{grid-column:1/-1;grid-row:4;max-width:none;font-size:10px;line-height:1.5;margin:0}
  .teacher-card .teacher-actions .tiny{display:none}
}
@media(prefers-reduced-motion:reduce){.lesson-mode-buttons button{transition:none}}
.online-scope[hidden]{display:none!important}
.online-scope{margin-top:24px}
.online-scope h3{font-size:16px;line-height:1.4;margin-bottom:14px;letter-spacing:0}
.online-scope-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.scope-choice{display:flex;align-items:flex-start;gap:11px;border:1px solid #d6dfe9;border-radius:10px;padding:17px;background:#fff;cursor:pointer;min-height:80px}
.scope-choice:has(input:checked){background:#f0f4fa;border-color:#102a56;box-shadow:inset 0 0 0 1px #102a56}
.scope-choice:focus-within{outline:3px solid #a8bde1;outline-offset:2px}
.scope-choice input[type=radio]{appearance:auto;inline-size:18px;block-size:18px;min-height:0;min-width:18px;padding:0;margin:2px 0 0;accent-color:#102a56}
.scope-choice span{display:grid;gap:5px;min-width:0}
.scope-choice strong{font-size:14px;font-weight:600;color:#102a56}
.scope-choice small{font-size:12px;line-height:1.5;color:#667085}
.online-scope .form-hint:empty{display:none}
@media(max-width:600px){.online-scope{margin-top:22px}.online-scope h3{font-size:15px}.online-scope-choices{grid-template-columns:minmax(0,1fr);gap:10px}.scope-choice{padding:15px;min-height:72px}.scope-choice strong{font-size:14px}.scope-choice small{font-size:11px}}
