/* FideLearn online JAMB schools: the centres' sign-up page, the school admin, student registration and dashboard. */

/* ================================================================ sign-up page for tutorial centres */
.os-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 120px;
  background: radial-gradient(900px 420px at 88% 0%, rgba(245,165,36,.28), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(37,99,235,.55), transparent 60%),
              linear-gradient(135deg, #0b1f4a 0%, #0f2a5f 45%, #173d8a 100%); }
.os-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.os-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.os-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18); font-size: .84rem; font-weight: 500; backdrop-filter: blur(6px); }
.os-kicker i { color: #fbbf24; }
.os-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; margin: 18px 0 16px; font-weight: 700; letter-spacing: -.02em; }
.os-hero h1 em { font-style: normal; background: linear-gradient(90deg, #fbbf24, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.os-hero p.lead { color: rgba(255,255,255,.86); font-size: 1.12rem; max-width: 560px; }
.os-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.os-cta .btn { border-radius: 999px; padding: 13px 24px; font-weight: 500; }
.btn-gold { background: linear-gradient(135deg, #f5a524, #fbbf24); color: #1f1300; border: 0; box-shadow: 0 12px 28px -12px rgba(245,165,36,.9); }
.btn-gold:hover, .btn-gold:focus-visible { color: #1f1300; filter: brightness(1.05); transform: translateY(-1px); }
.os-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: rgba(255,255,255,.78); font-size: .88rem; }
.os-trust span { display: inline-flex; align-items: center; gap: 7px; } .os-trust i { color: #86efac; }

/* the classroom picture in the hero, drawn in CSS */
.os-mock { position: relative; border-radius: 22px; padding: 14px; background: rgba(9,16,38,.72); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); }
.os-mock-top { display: flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: .78rem; margin-bottom: 10px; }
.os-mock-top .live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #dc2626; color: #fff; font-weight: 700; font-size: .7rem; }
.os-mock-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: osPulse 1.4s infinite; }
.os-mock-top b { color: #fff; font-weight: 500; } .os-mock-top .n { margin-left: auto; }
.os-mock-stage { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.os-board { aspect-ratio: 16 / 10; border-radius: 14px; background: #1f4d3a; position: relative; overflow: hidden; padding: 16px 18px;
  font-family: "Caveat", "Comic Sans MS", cursive; color: #f8fafc; font-size: 1.25rem; line-height: 1.35; }
.os-board .eq { color: #fde68a; } .os-board .hl { color: #86efac; }
.os-board svg { position: absolute; right: 12px; bottom: 10px; width: 46%; opacity: .9; }
.os-tutor { border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #334155, #1e293b); display: grid; place-items: center; position: relative; }
.os-tutor .face { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #f59e0b, #b45309); display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1.3rem; box-shadow: 0 0 0 4px rgba(34,197,94,.55); }
.os-tutor small { position: absolute; left: 8px; bottom: 6px; font-size: .68rem; color: #e2e8f0; }
.os-tutor .mic { position: absolute; right: 8px; top: 8px; color: #86efac; font-size: .8rem; }
.os-crowd { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 10px; }
.os-crowd span { aspect-ratio: 1; border-radius: 50%; background: var(--c, #64748b); opacity: .9; box-shadow: inset 0 -6px 0 rgba(0,0,0,.18); }
.os-crowd span.hand { box-shadow: 0 0 0 2px #fbbf24; }
.os-mock-foot { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.os-mock-foot i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #e2e8f0; font-size: .8rem; }
.os-mock-foot i.on { background: #2563eb; color: #fff; } .os-mock-foot i.end { background: #dc2626; color: #fff; }
.os-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; color: #1f2937;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); font-size: .82rem; animation: osFloat 6s ease-in-out infinite; }
.os-float i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.os-float b { display: block; font-size: .86rem; } .os-float small { color: #6b7280; }
.os-float.a { left: -26px; bottom: 54px; } .os-float.a i { background: #16a34a; }
.os-float.b { right: -18px; top: -18px; animation-delay: -3s; } .os-float.b i { background: #7c3aed; }
@keyframes osFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes osPulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.os-stats { position: relative; z-index: 2; margin-top: -64px; }
.os-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; }
.os-stats-in div { padding: 22px 24px; border-right: 1px solid var(--line); }
.os-stats-in div:last-child { border-right: 0; }
.os-stats-in b { display: block; font-family: var(--head-font); font-size: 1.9rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.os-stats-in span { color: var(--muted); font-size: .9rem; }

.os-sec { padding: 76px 0 10px; }
.os-sec-h { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.os-sec-h .t-eyebrow { background: var(--blue-soft); color: var(--blue-2); }
.os-sec-h h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 14px 0 10px; letter-spacing: -.01em; }
.os-sec-h p { color: var(--muted); font-size: 1.04rem; margin: 0; }
.os-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.os-step { position: relative; padding: 24px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); counter-increment: st; }
.os-step::before { content: counter(st); position: absolute; top: 18px; right: 18px; font-family: var(--head-font); font-weight: 700; font-size: 2.2rem; color: #eef2fb; line-height: 1; }
.os-step i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; background: var(--g, var(--blue)); margin-bottom: 14px; }
.os-step h3 { font-size: 1.05rem; margin: 0 0 6px; } .os-step p { color: var(--muted); font-size: .92rem; margin: 0; }
.os-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.os-feat { padding: 24px; border-radius: 20px; background: linear-gradient(180deg, #fff, #fafcff); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.os-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.os-feat i { font-size: 1.3rem; color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, #2563eb) 12%, #fff); width: 48px; height: 48px;
  border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.os-feat h3 { font-size: 1.04rem; margin: 0 0 6px; } .os-feat p { color: var(--muted); font-size: .92rem; margin: 0; }

.os-join { padding: 76px 0 80px; background: linear-gradient(180deg, transparent, #f3f6fd 30%); }
.os-join-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.os-join-side h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin: 14px 0 12px; }
.os-join-side p { color: var(--muted); }
.os-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.os-checks li { display: flex; gap: 12px; } .os-checks i { color: var(--green); margin-top: 4px; }
.os-checks b { display: block; color: var(--ink); font-weight: 500; } .os-checks span { color: var(--muted); font-size: .92rem; }
.os-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 30px; }
.os-form h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.os-form h3 span { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .84rem; display: grid; place-items: center; }
.os-form fieldset + fieldset { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.os-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.os-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.os-grid2 .full, .os-grid3 .full { grid-column: 1 / -1; }
.os-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.os-kinds label { cursor: pointer; } .os-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.os-kinds span { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 12px 8px; border-radius: 14px; border: 1.5px solid var(--line); font-size: .84rem; color: var(--body); transition: .15s; }
.os-kinds span i { font-size: 1.1rem; color: var(--muted); }
.os-kinds input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-2); }
.os-kinds input:checked + span i { color: var(--blue); }
.os-kinds input:focus-visible + span { outline: 3px solid rgba(37,99,235,.35); outline-offset: 2px; }
.os-faq { max-width: 820px; margin: 0 auto; }
.os-faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
.os-faq summary { cursor: pointer; font-weight: 500; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.os-faq summary::-webkit-details-marker { display: none; }
.os-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--blue); }
.os-faq details[open] summary::after { content: "–"; }
.os-faq p { color: var(--muted); margin: 10px 0 0; }

/* ================================================================ the school's admin */
.os-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding: 26px 0 60px; align-items: start; }
.os-side { position: sticky; top: calc(var(--bar) + 14px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.os-side-school { display: flex; gap: 10px; align-items: center; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.os-logo { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--navy), var(--blue)); font-family: var(--head-font); }
.os-side-school b { display: block; color: var(--ink); line-height: 1.2; font-size: .95rem; } .os-side-school small { color: var(--muted); font-size: .76rem; }
.os-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; color: var(--body); text-decoration: none; font-weight: 500; font-size: .93rem; }
.os-nav a i { width: 18px; text-align: center; color: var(--muted); }
.os-nav a:hover { background: var(--soft); color: var(--ink); }
.os-nav a.on { background: var(--blue-soft); color: var(--blue-2); } .os-nav a.on i { color: var(--blue); }
.os-nav a .cnt { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #fde68a; color: #7c4a03; font-size: .74rem; display: grid; place-items: center; }
.os-side-link { margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--soft); font-size: .8rem; color: var(--muted); }
.os-side-link b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.os-copy { display: flex; gap: 6px; margin-top: 6px; } .os-copy input { min-width: 0; flex: 1; font-size: .78rem; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; }
.os-copy button { border: 0; background: var(--blue); color: #fff; border-radius: 8px; padding: 0 10px; font-size: .78rem; }

.os-page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.os-page-h h1 { font-size: 1.6rem; font-weight: 700; margin: 0; } .os-page-h p { color: var(--muted); margin: 4px 0 0; }
.os-status { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; margin-bottom: 18px; border: 1px solid; }
.os-status i { font-size: 1.2rem; margin-top: 2px; }
.os-status.pending { background: #fffbeb; border-color: #fde68a; color: #7c4a03; }
.os-status.suspended, .os-status.rejected { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.os-status b { display: block; color: inherit; }
.os-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.os-kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: grid; grid-template-columns: 42px 1fr; gap: 0 12px; align-items: center; color: var(--ink); text-decoration: none; }
.os-kpi i { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.os-kpi.g i { background: var(--green-soft); color: var(--green); } .os-kpi.a i { background: #fff4dc; color: #b45309; } .os-kpi.p i { background: #f3e8ff; color: #7c3aed; }
.os-kpi b { font-family: var(--head-font); font-size: 1.45rem; line-height: 1.1; } .os-kpi span { color: var(--muted); font-size: .82rem; }
a.os-kpi:hover { border-color: var(--blue); color: var(--ink); }
.os-meter { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; margin-top: 8px; }
.os-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #60a5fa); }
.os-setup { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.os-setup li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.os-setup li > i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; flex: none; background: var(--soft); color: var(--muted); }
.os-setup li.done > i { background: var(--green); color: #fff; }
.os-setup li span { flex: 1; } .os-setup li span small { display: block; color: var(--muted); }
.os-setup li.done span b { color: var(--muted); text-decoration: line-through; font-weight: 400; }

.os-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.os-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.os-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.os-table tr:last-child td { border-bottom: 0; }
.os-table tr.go { cursor: pointer; } .os-table tr.go:hover td { background: var(--soft); }
.os-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; }
.os-av.lg { width: 112px; height: 112px; border-radius: 22px; }
.os-person { display: flex; align-items: center; gap: 10px; min-width: 0; } .os-person b { display: block; color: var(--ink); font-weight: 500; }
.os-person small { color: var(--muted); font-size: .8rem; }
.os-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 500; white-space: nowrap; background: var(--soft); color: var(--body); }
.os-pill.active, .os-pill.accepted, .os-pill.open { background: var(--green-soft); color: #047857; }
.os-pill.pending { background: #fff4dc; color: #92400e; }
.os-pill.rejected, .os-pill.declined, .os-pill.suspended, .os-pill.cancelled { background: #fef2f2; color: #b91c1c; }
.os-pill.live { background: #dc2626; color: #fff; }
.os-subj { display: inline-flex; padding: 2px 9px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-2); font-size: .76rem; font-weight: 500; margin: 2px 3px 2px 0; }
.os-filter { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.os-filter a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--body); text-decoration: none; font-size: .86rem; background: #fff; }
.os-filter a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.os-empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.os-empty i { font-size: 2rem; color: #c7d2fe; display: block; margin-bottom: 10px; }

.os-classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.os-class { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px;
  color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; overflow: hidden; }
.os-class::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--a, #2563eb), var(--b, #7c3aed)); }
a.os-class:hover { border-color: #c7d2fe; box-shadow: var(--shadow); color: var(--ink); }
.os-class h3 { font-size: 1.05rem; margin: 2px 0 0; } .os-class .sub { color: var(--muted); font-size: .84rem; }
.os-class .when { display: flex; gap: 8px; color: var(--body); font-size: .86rem; } .os-class .when i { color: var(--muted); margin-top: 3px; }
.os-class .tut { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: auto; font-size: .88rem; }
.os-class .tut.none { color: #b45309; }

.os-tt { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.os-tt-day { background: #fff; border: 1px solid var(--line); border-radius: 16px; min-height: 160px; padding: 10px; }
.os-tt-day.today { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.os-tt-day h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 8px; display: flex; justify-content: space-between; }
.os-tt-day h4 b { color: var(--ink); font-size: 1rem; letter-spacing: 0; }
.os-slot { display: block; border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; background: color-mix(in srgb, var(--a, #2563eb) 9%, #fff); border-left: 4px solid var(--a, #2563eb);
  color: var(--ink); text-decoration: none; font-size: .82rem; line-height: 1.35; }
.os-slot b { display: block; font-weight: 500; } .os-slot small { color: var(--muted); }
.os-slot.live { background: #fef2f2; border-left-color: #dc2626; } .os-slot.done { opacity: .55; }

.os-tutors { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.os-tutor-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.os-tutor-card.booked { background: #fafafa; }
.os-tutor-head { display: flex; gap: 12px; align-items: center; }
.os-tutor-head img, .os-tutor-head .ph { width: 58px; height: 58px; border-radius: 16px; object-fit: cover; background: var(--soft); flex: none; display: grid; place-items: center; color: var(--muted); }
.os-tutor-head b { display: block; color: var(--ink); font-weight: 500; } .os-tutor-head small { color: var(--muted); font-size: .82rem; }
.os-tutor-card p { color: var(--body); font-size: .9rem; margin: 0; }
.os-booked { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: #f3f4f6; color: #374151; font-size: .84rem; }
.os-booked.mine { background: var(--green-soft); color: #047857; }
.os-ask textarea { font-size: .9rem; }

.os-msg { background: var(--soft); border-radius: 14px; padding: 12px 14px; white-space: pre-line; color: var(--body); font-size: .92rem; }
.os-msg.reply { background: var(--blue-soft); }

/* ================================================================ student registration */
.os-reg-hero { padding: 40px 0 90px; color: #fff; background: radial-gradient(700px 300px at 90% 0%, rgba(245,165,36,.25), transparent 60%), linear-gradient(135deg, #0b1f4a, #173d8a); }
.os-reg-hero h1 { color: #fff; font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 12px 0 8px; }
.os-reg-hero p { color: rgba(255,255,255,.85); margin: 0; max-width: 640px; }
.os-reg-wrap { margin-top: -60px; position: relative; padding-bottom: 60px; }
.os-reg { max-width: 920px; margin: 0 auto; }
.os-photo-pick { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; padding: 16px; border: 1.5px dashed #c7d2fe; border-radius: 18px; background: #fafbff; }
.os-photo-prev { width: 140px; height: 140px; border-radius: 24px; background: #eef2ff center / cover no-repeat; display: grid; place-items: center; color: #a5b4fc; font-size: 2.6rem; overflow: hidden; }
.os-photo-prev.has i { display: none; }
.os-photo-pick ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: .86rem; }
.os-combo { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.os-combo label { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .9rem; background: #fff; }
.os-combo label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-2); }
.os-combo label.fixed { background: var(--soft); color: var(--muted); cursor: default; }
.os-combo-n { font-size: .84rem; color: var(--muted); margin-top: 8px; } .os-combo-n.ok { color: var(--green); }

/* ================================================================ the student's dashboard */
.os-st-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.os-st-head img { width: 76px; height: 76px; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow); }
.os-st-head h1 { font-size: 1.55rem; margin: 0; font-weight: 700; } .os-st-head p { margin: 2px 0 0; color: var(--muted); }
.os-now { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, #b91c1c, #ef4444); box-shadow: 0 20px 40px -20px rgba(220,38,38,.8); }
.os-now i.big { font-size: 1.6rem; } .os-now b { display: block; font-size: 1.05rem; } .os-now small { opacity: .9; }
.os-now .btn { margin-left: auto; background: #fff; color: #b91c1c; border-radius: 999px; font-weight: 500; }
.os-day { margin-bottom: 16px; }
.os-day h3 { font-size: .86rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 8px; }
.os-day h3.today { color: var(--blue); }
.os-meet { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; margin-bottom: 8px; border-left: 5px solid var(--a, #2563eb); }
.os-meet .tm b { display: block; font-family: var(--head-font); font-size: 1.05rem; } .os-meet .tm small { color: var(--muted); }
.os-meet .what b { display: block; font-weight: 500; color: var(--ink); } .os-meet .what small { color: var(--muted); }
.os-meet.done { opacity: .55; }

@media (max-width: 1100px) {
  .os-hero-grid, .os-join-grid { grid-template-columns: 1fr; }
  .os-mock { transform: none; max-width: 560px; }
  .os-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-tt { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .os-shell { grid-template-columns: minmax(0, 1fr); }
  .os-shell > *, .os-side { min-width: 0; }
  .os-side { position: static; }
  .os-nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; } .os-nav a { white-space: nowrap; }
  .os-side-link { display: none; }
  .os-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-stats-in div:nth-child(2) { border-right: 0; } .os-stats-in div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .os-hero { padding: 40px 0 100px; }
  .os-float { display: none; }
  .os-feats, .os-steps, .os-grid2, .os-grid3 { grid-template-columns: 1fr; }
  .os-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-form { padding: 20px 16px; border-radius: 20px; }
  .os-tt { grid-template-columns: 1fr; } .os-tt-day { min-height: 0; }
  .os-photo-pick { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .os-meet { grid-template-columns: 1fr; gap: 6px; }
  .os-table .hide-sm { display: none; }
  .os-crowd { grid-template-columns: repeat(10, 1fr); }
}

/* ================================================================ the school admin: an app of its own (sidebar, top bar, panels) */
body.osa { background: #f3f5f9; min-height: 100vh; }
.osa { --side-w: 268px; --ink-2: #344054; --panel-r: 18px; }
.osa-side { position: fixed; inset: 0 auto 0 0; width: var(--side-w); z-index: 1040; display: flex; flex-direction: column; gap: 14px; padding: 18px 14px;
  background: linear-gradient(180deg, #0b1736 0%, #0f2350 60%, #112a60 100%); color: #c7d2ea; overflow-y: auto; scrollbar-width: thin; }
.osa-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px; text-decoration: none; }
.osa-brand span { color: #fff; font-family: var(--head-font); font-weight: 500; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.2); }
.osa-school { display: flex; gap: 11px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.osa-logo { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-family: var(--head-font); font-weight: 700; color: #0b1736;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); font-size: 1.1rem; }
.osa-school b { display: block; color: #fff; font-weight: 500; line-height: 1.25; font-size: .92rem; }
.osa-school small { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: #9fb0d4; }
.osa-school .dot { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; } .osa-school .dot.active { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.2); }
.osa-school .dot.pending { background: #fbbf24; } .osa-school .dot.suspended, .osa-school .dot.rejected { background: #f87171; }
.osa-nav { display: grid; gap: 2px; }
.osa-h { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #7184ad; padding: 12px 12px 4px; }
.osa-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: #c7d2ea; text-decoration: none; font-size: .92rem; position: relative; transition: background .15s, color .15s; }
.osa-nav a i { width: 18px; text-align: center; color: #8ea2cc; }
.osa-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.osa-nav a.on { background: rgba(96,165,250,.16); color: #fff; } .osa-nav a.on i { color: #93c5fd; }
.osa-nav a.on::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: #60a5fa; }
.osa-cnt { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: .72rem; font-weight: 700;
  background: rgba(255,255,255,.14); color: #fff; } .osa-cnt.warn { background: #f59e0b; color: #1f1300; }
.osa-link { margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: .8rem; }
.osa-link b { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; margin-bottom: 6px; }
.osa-link input { background: rgba(0,0,0,.25) !important; border-color: rgba(255,255,255,.12) !important; color: #dbe4f6 !important; }
.osa-out { display: flex; align-items: center; gap: 8px; color: #8ea2cc; text-decoration: none; font-size: .82rem; padding: 4px 8px; } .osa-out:hover { color: #fff; }
.osa-scrim { display: none; }

.osa-main { margin-left: var(--side-w); min-width: 0; min-height: 100vh; }
.osa-top { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: 14px; padding: 12px 28px;
  background: rgba(243,245,249,.86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #e4e8f0; }
.osa-burger { display: none; border: 0; background: #fff; width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.osa-search { flex: 1; max-width: 520px; position: relative; }
.osa-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #98a2b3; font-size: .9rem; }
.osa-search input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid #e4e8f0; background: #fff; padding: 0 14px 0 40px; font-size: .92rem; }
.osa-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.osa-top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.osa-ic { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--ink-2);
  border: 1px solid #e4e8f0; text-decoration: none; } .osa-ic:hover { color: var(--blue); border-color: #c7d2fe; }
.osa-ic .t-dot { position: absolute; top: -5px; right: -5px; }
.osa-me { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e4e8f0; background: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; color: var(--ink-2); font-weight: 500; }
.osa-me > span:first-child { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.osa-me i { font-size: .7rem; color: #98a2b3; }
.osa-content { padding: 26px 28px 56px; max-width: 1440px; }
.osa .toasts { top: 76px; }

/* page head, panels, grids */
.osa .os-page-h { margin-bottom: 22px; align-items: flex-end; }
.osa .os-page-h h1 { font-size: 1.7rem; letter-spacing: -.01em; }
.os-eyebrow { margin: 0 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #667085; font-weight: 500; }
.osa-panel, .osa .t-card { background: #fff; border: 1px solid #e7ebf2; border-radius: var(--panel-r); padding: 20px 22px; margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.03); }
.osa-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.osa-panel-h h2, .osa .t-card-h { font-size: 1.02rem; font-weight: 500; margin: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.osa-panel-h h2 i, .osa .t-card-h i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #eff4ff; color: var(--blue); font-size: .85rem; }
.os-grid-2-1 { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px; }
.os-grid-1-1 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.os-grid-2-1 > *, .os-grid-1-1 > * { min-width: 0; }
.osa .t-cols2 { gap: 20px; }

/* KPI tiles: label, a big figure, a line of context */
.osa .os-kpis { gap: 16px; margin-bottom: 20px; }
.osa .os-kpi { position: relative; display: block; background: #fff; border: 1px solid #e7ebf2; border-radius: var(--panel-r); padding: 18px 20px; color: var(--ink);
  text-decoration: none; box-shadow: 0 1px 2px rgba(16,24,40,.04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.osa a.os-kpi:hover { border-color: #c7d2fe; box-shadow: 0 8px 24px -12px rgba(37,99,235,.35); transform: translateY(-1px); color: var(--ink); }
.osa .os-kpi > i { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #eff4ff; color: var(--blue); }
.osa .os-kpi.g > i { background: #ecfdf3; color: #067647; } .osa .os-kpi.a > i { background: #fffaeb; color: #b54708; } .osa .os-kpi.p > i { background: #f4f3ff; color: #5925dc; }
.osa .os-kpi > span { display: block; font-size: .84rem; color: #667085; margin-bottom: 6px; }
.osa .os-kpi > b { display: block; font-family: var(--head-font); font-size: 1.85rem; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.osa .os-kpi > b .of { font-size: 1rem; font-weight: 500; color: #98a2b3; }
.osa .os-kpi > small { display: block; margin-top: 6px; font-size: .8rem; color: #667085; }
.os-kpi small em { font-style: normal; font-weight: 600; margin-right: 4px; } .os-kpi small em i { margin-right: 3px; }
.os-kpi small em.up { color: #067647; } .os-kpi small em.down { color: #b42318; }
.osa .os-kpi .os-meter { height: 6px; margin-top: 12px; }

/* setup progress */
.os-steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.os-steps-row li { display: flex; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid #eef1f6; background: #fafbfd; }
.os-steps-row li > i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; background: #fff; color: #d0d5dd; border: 1.5px solid #d0d5dd; }
.os-steps-row li.done > i { background: #12b76a; border-color: #12b76a; color: #fff; }
.os-steps-row b { display: block; font-size: .86rem; font-weight: 500; color: var(--ink); line-height: 1.3; } .os-steps-row small { display: block; color: #667085; font-size: .76rem; margin-top: 2px; }
.os-steps-row li.done b { color: #667085; }

/* the income chart: one series from the baseline, recessive grid, the latest month labelled */
.os-chart { margin: 0; }
.os-chart-plot { position: relative; height: var(--h, 200px); margin: 8px 0 30px 56px; }
.os-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed #e4e8f0; }
.os-grid:last-child { border-top: 1px solid #d0d5dd; }
.os-grid span { position: absolute; right: calc(100% + 8px); top: -9px; font-size: .72rem; color: #98a2b3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.os-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.os-bar { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
.os-bar i { display: block; width: min(56%, 46px); border-radius: 4px 4px 0 0; background: #93b4f8; transition: background .15s; }
.os-bar.last i { background: #2563eb; }
.os-bar:hover i, .os-bar:focus-visible i { background: #1d4ed8; }
.os-bar:focus-visible { box-shadow: inset 0 0 0 2px rgba(37,99,235,.3); border-radius: 8px; }
.os-bar b { position: absolute; left: 50%; transform: translateX(-50%); font-size: .76rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.os-bar span { position: absolute; top: calc(100% + 8px); font-size: .74rem; color: #667085; }
.os-table-view summary { font-size: .8rem; color: #667085; cursor: pointer; } .os-table-view table { margin-top: 8px; font-size: .84rem; }
.os-tip { position: fixed; z-index: 2000; pointer-events: none; background: #101828; color: #fff; font-size: .8rem; padding: 7px 10px; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16,24,40,.25); transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap; }

/* students by where they stand: status colours always come with an icon and a label */
.os-mix-bar { display: flex; gap: 2px; height: 14px; border-radius: 999px; overflow: hidden; background: #f2f4f7; margin: 4px 0 16px; }
.os-mix-bar i { display: block; min-width: 6px; outline: none; } .os-mix-bar i:focus-visible { box-shadow: inset 0 0 0 2px #101828; }
.m-paid { background: #12b76a; } .m-expiring { background: #f79009; } .m-expired { background: #f04438; } .m-due { background: #98a2b3; } .m-free { background: #6172f3; } .m-none { background: #f2f4f7; }
.os-mix-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.os-mix-legend a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.os-mix-legend a:hover { background: #f8fafc; }
.os-mix-legend .sw { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .72rem; flex: none; }
.os-mix-legend b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink); } .os-mix-legend small { width: 40px; text-align: right; color: #98a2b3; font-variant-numeric: tabular-nums; }

/* a student's standing (subscription) */
.os-standing { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: .78rem; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent; }
.os-standing small { color: inherit; opacity: .75; font-weight: 400; }
.os-standing.s-paid { background: #ecfdf3; color: #067647; border-color: #abefc6; }
.os-standing.s-paid.soon { background: #fffaeb; color: #b54708; border-color: #fedf89; }
.os-standing.s-free { background: #eef4ff; color: #3538cd; border-color: #c7d7fe; }
.os-standing.s-expired { background: #fef3f2; color: #b42318; border-color: #fecdca; }
.os-standing.s-due, .os-standing.s-out { background: #f2f4f7; color: #475467; border-color: #e4e7ec; }
.os-standing.s-pending { background: #fffaeb; color: #b54708; border-color: #fedf89; }

/* tables and rows */
.osa .os-table th { background: #f9fafb; position: sticky; top: 0; z-index: 1; }
.os-table-lg td { padding: 13px 16px; } .os-table-lg th { padding: 11px 16px; }
.osa .os-person { text-decoration: none; }
.os-av-ph { display: inline-grid; place-items: center; background: linear-gradient(135deg, #dbeafe, #e0e7ff); color: #3538cd; font-weight: 600; font-family: var(--head-font); }
.os-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.os-row + .os-row { border-top: 1px solid #f2f4f7; } a.os-row:hover { background: #f9fafb; color: var(--ink); }
.os-row .grow { flex: 1; min-width: 0; } .os-row .grow b { display: block; font-weight: 500; } .os-row .grow small { color: #667085; font-size: .8rem; }
.os-row .amt { font-variant-numeric: tabular-nums; }
.os-tabs { display: flex; align-items: center; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid #eaecf0; overflow-x: auto; scrollbar-width: none; }
.os-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; color: #475467; text-decoration: none; font-weight: 500; font-size: .9rem;
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.os-tabs a b { min-width: 22px; padding: 0 7px; height: 20px; border-radius: 999px; display: grid; place-items: center; background: #f2f4f7; font-size: .72rem; color: #475467; }
.os-tabs a.on { color: var(--blue-2); border-bottom-color: var(--blue); } .os-tabs a.on b { background: #eff4ff; color: var(--blue-2); }
.os-tabs-q { margin-left: auto; font-size: .82rem; color: #667085; white-space: nowrap; } .os-tabs-q a { padding: 0 4px; border: 0; }
.osa-panel.p-0 .os-table td:first-child, .osa-panel.p-0 .os-table th:first-child { padding-left: 22px; }
.osa-panel.p-0 .os-empty { padding: 40px 16px; }
.os-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 12px; font-size: .9rem; } .os-dl dt { color: #667085; font-weight: 400; } .os-dl dd { margin: 0; }
.os-bank { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e4e8f0; border-radius: 14px; background: #f9fafb; }
.os-bank > i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--navy); border: 1px solid #e4e8f0; }
.os-bank b { display: block; font-weight: 500; } .os-bank small { color: #667085; }
.os-inline-setting { padding: 14px 20px; }

/* the student's subscription card */
.os-sub { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 20px; margin-bottom: 18px; border: 1px solid; }
.os-sub-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.os-sub-t { flex: 1; min-width: 220px; } .os-sub-t > b { display: block; font-size: 1.05rem; font-weight: 500; } .os-sub-t span { font-size: .9rem; }
.os-sub-pay { display: flex; gap: 8px; flex-wrap: wrap; } .os-sub-pay .form-select { width: auto; min-width: 180px; }
.os-sub-pay .btn { border-radius: 12px; font-weight: 500; }
.os-sub-note { font-size: .86rem; }
.os-sub.s-paid { background: #f6fef9; border-color: #abefc6; color: #054f31; } .os-sub.s-paid .os-sub-ic { background: #dcfae6; color: #067647; }
.os-sub.s-paid.soon { background: #fffcf5; border-color: #fedf89; color: #7a2e0e; } .os-sub.s-paid.soon .os-sub-ic { background: #fef0c7; color: #b54708; }
.os-sub.s-free { background: #f5f8ff; border-color: #c7d7fe; color: #2d31a6; } .os-sub.s-free .os-sub-ic { background: #e0eaff; color: #3538cd; }
.os-sub.s-expired, .os-sub.s-due { background: linear-gradient(135deg, #1e3a8a, #2563eb); border-color: transparent; color: #fff; box-shadow: 0 18px 40px -20px rgba(37,99,235,.9); }
.os-sub.s-expired { background: linear-gradient(135deg, #7a271a, #d92d20); box-shadow: 0 18px 40px -20px rgba(217,45,32,.8); }
.os-sub.s-expired .os-sub-ic, .os-sub.s-due .os-sub-ic { background: rgba(255,255,255,.16); color: #fff; }
.os-reg-fee { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px !important; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18); font-size: .9rem; } .os-reg-fee i { color: #fbbf24; } .os-reg-fee b { color: #fff; }

@media (max-width: 1280px) { .os-steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .os-grid-2-1 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 991.98px) {
  .osa-side { transform: translateX(-100%); transition: transform .25s var(--ease); box-shadow: 20px 0 60px rgba(0,0,0,.35); }
  body.osa-open .osa-side { transform: none; }
  .osa-scrim { position: fixed; inset: 0; z-index: 1035; background: rgba(15,23,42,.5); }
  body.osa-open .osa-scrim { display: block; }
  .osa-main { margin-left: 0; }
  .osa-burger { display: grid; place-items: center; }
  .osa-top { padding: 10px 16px; }
  .osa-content { padding: 20px 16px 48px; }
  .os-grid-1-1 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .osa-search { display: none; }
  .os-steps-row { grid-template-columns: minmax(0, 1fr); }
  .osa .os-kpi > b { font-size: 1.45rem; }
  .osa-panel, .osa .t-card { padding: 16px; }
  .os-chart-plot { margin-left: 48px; }
  .os-sub-pay, .os-sub-pay .form-select { width: 100%; }
}
/* the trend arrow inside a KPI's context line stays a small inline icon (an older rule styles every icon in a KPI as a chip) */
.osa .os-kpi small i { position: static; display: inline; width: auto; height: auto; background: none; border-radius: 0; color: inherit; grid-row: auto; }
/* on/off switches */
.osa .form-switch { padding-left: 3.1em; }
.osa .form-switch .form-check-input { width: 2.5em; height: 1.4em; margin-left: -3.1em; margin-top: .05em; border-radius: 2em; background-color: #d0d5dd; border-color: #d0d5dd;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); background-position: left center; }
.osa .form-switch .form-check-input:checked { background-color: var(--blue); border-color: var(--blue); background-position: right center; }
.os-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: 6px; border-top: 1px solid #f2f4f7; }

/* ================================================================ student registration: the school beside a guided form */
body.rg-page { background: #f3f5f9; }
.rg { display: grid; grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); min-height: calc(100vh - var(--bar)); }
.rg-side { position: relative; color: #dbe4f6; background: radial-gradient(700px 400px at 100% 0%, rgba(245,165,36,.18), transparent 60%),
  linear-gradient(165deg, #0b1736 0%, #0f2a5f 55%, #173d8a 100%); }
.rg-side-in { position: sticky; top: var(--bar); padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; min-height: calc(100vh - var(--bar)); }
.rg-school { display: flex; gap: 12px; align-items: center; }
.rg-logo { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-family: var(--head-font); font-weight: 700; font-size: 1.4rem;
  color: #0b1736; background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 10px 24px -10px rgba(245,158,11,.8); }
.rg-school b { display: block; color: #fff; font-size: 1.05rem; font-weight: 500; line-height: 1.25; }
.rg-school small { color: #9fb0d4; font-size: .84rem; } .rg-school small i { margin-right: 5px; }
.rg-side h1 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; line-height: 1.15; margin: 8px 0 0; letter-spacing: -.01em; }
.rg-side > .rg-side-in > p { margin: 0; color: #c7d2ea; }
.rg-fee { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.rg-fee span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #9fb0d4; }
.rg-fee b { display: block; font-family: var(--head-font); font-size: 1.8rem; color: #fff; line-height: 1.2; }
.rg-fee b::after { content: " / month"; font-size: .9rem; font-weight: 400; color: #9fb0d4; }
.rg-fee small { color: #c7d2ea; font-size: .8rem; }
.rg-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rg-perks li { display: flex; gap: 12px; } .rg-perks i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(96,165,250,.16); color: #93c5fd; }
.rg-perks b { display: block; color: #fff; font-weight: 500; font-size: .94rem; } .rg-perks span { font-size: .86rem; color: #b7c4e0; line-height: 1.45; }
.rg-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.rg-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .76rem; background: rgba(255,255,255,.07); color: #c7d2ea; }
.rg-trust i { color: #86efac; }
.rg-by { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .76rem; color: #7f91b8; } .rg-by img { opacity: .85; }

.rg-main { padding: 36px clamp(16px, 4vw, 56px) 56px; }
.rg-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #e7ebf2; border-radius: 24px; padding: 30px 32px; box-shadow: 0 30px 60px -36px rgba(15,42,95,.4); }
.rg-head h2 { font-size: 1.45rem; font-weight: 700; margin: 0; } .rg-head p { color: #667085; margin: 4px 0 0; font-size: .92rem; }
.rg-stepper { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 24px 0 10px; padding: 0; }
.rg-stepper li { display: flex; align-items: center; gap: 9px; color: #98a2b3; font-size: .86rem; }
.rg-stepper li span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .8rem; background: #f2f4f7; color: #667085; transition: .2s; }
.rg-stepper li b { font-weight: 500; white-space: nowrap; }
.rg-stepper li.on { color: var(--ink); } .rg-stepper li.on span { background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.rg-stepper li.done { color: #067647; cursor: pointer; } .rg-stepper li.done span { background: #dcfae6; color: #067647; font-size: 0; }
.rg-stepper li.done span::before { content: "\f00c"; font: 900 .72rem "Font Awesome 6 Free"; }
.rg-bar { height: 4px; border-radius: 4px; background: #f2f4f7; overflow: hidden; margin-bottom: 26px; }
.rg-bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--blue), #60a5fa); transition: width .35s var(--ease); }
form:not(.js) .rg-bar, form:not(.js) .rg-stepper { display: none; }
form:not(.js) .rg-step + .rg-step { margin-top: 30px; padding-top: 26px; border-top: 1px dashed #e4e8f0; }
.rg-alert { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fef3f2; color: #b42318; font-size: .9rem; margin-bottom: 20px; }
.rg-step h3 { font-size: 1.15rem; font-weight: 500; margin: 0 0 4px; } .rg-sub { color: #667085; font-size: .9rem; margin: 0 0 20px; }
.rg-photo { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.rg-photo-drop { width: 180px; height: 180px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 8px; cursor: pointer; text-align: center;
  border: 2px dashed #b2c5ff; background: #f5f8ff center / cover no-repeat; color: var(--blue); transition: border-color .2s, transform .2s; margin: 0; }
.rg-photo-drop:hover { border-color: var(--blue); transform: scale(1.02); }
.rg-photo-drop .rg-photo-cam { font-size: 1.8rem; } .rg-photo-drop span { font-size: .84rem; font-weight: 500; max-width: 120px; line-height: 1.3; }
.rg-photo-drop.has { border: 4px solid #fff; box-shadow: 0 0 0 2px var(--blue), 0 18px 36px -18px rgba(15,42,95,.5); }
.rg-photo-drop.has .rg-photo-cam, .rg-photo-drop.has span { display: none; }
.rg-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; color: var(--ink-2, #344054); }
.rg-rules i { margin-right: 8px; } .rg-rules .ok i { color: #12b76a; } .rg-rules .no i { color: #f04438; }
.rg-seg { display: flex; gap: 8px; } .rg-seg label { flex: 1; } .rg-seg input { position: absolute; opacity: 0; }
.rg-seg span { display: block; text-align: center; padding: 9px 12px; border-radius: 12px; border: 1.5px solid #e4e8f0; cursor: pointer; font-size: .92rem; }
.rg-seg input:checked + span { border-color: var(--blue); background: #eff4ff; color: var(--blue-2); font-weight: 500; }
.rg-seg input:focus-visible + span { outline: 3px solid rgba(37,99,235,.3); }
.rg-combo { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.rg-combo label { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid #e4e8f0; border-radius: 14px; cursor: pointer; font-size: .9rem; background: #fff; transition: .15s; }
.rg-combo input { position: absolute; opacity: 0; }
.rg-combo label i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #f2f4f7; color: #667085; flex: none; font-size: .85rem; }
.rg-combo label:has(input:checked) { border-color: var(--blue); background: #f5f8ff; color: var(--blue-2); }
.rg-combo label:has(input:checked) i { background: var(--blue); color: #fff; }
.rg-combo label:has(input:focus-visible) { outline: 3px solid rgba(37,99,235,.3); }
.rg-combo label.fixed { background: #f9fafb; cursor: default; } .rg-combo label.fixed i { background: #dcfae6; color: #067647; }
.rg-combo em { position: absolute; top: -8px; right: 10px; font-style: normal; font-size: .64rem; padding: 1px 7px; border-radius: 999px; background: #067647; color: #fff; }
.rg-pw { position: relative; } .rg-pw input { padding-right: 44px; }
.rg-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; width: 34px; height: 34px; color: #667085; }
.rg-strength { height: 4px; border-radius: 4px; background: #f2f4f7; margin-top: 8px; overflow: hidden; }
.rg-strength i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
.rg-strength i.l1 { background: #f04438; } .rg-strength i.l2 { background: #f79009; } .rg-strength i.l3 { background: #12b76a; } .rg-strength i.l4 { background: #067647; }
.rg-agree { padding: 14px 16px 14px 44px; border-radius: 14px; background: #f9fafb; font-size: .88rem; }
.rg-nav { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #f2f4f7; }
.rg-nav .btn { border-radius: 12px; }
.rg-closed { text-align: center; } .rg-closed > i { font-size: 2.4rem; color: #f59e0b; margin-bottom: 12px; } .rg-closed p { color: #667085; margin: 0; }

/* ================================================================ the library, watching a class, the test class */
.os-st-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid #e7ebf2; margin-bottom: 18px; }
.os-st-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; color: #475467; text-decoration: none; font-weight: 500; font-size: .92rem; }
.os-st-tabs a.on { background: var(--navy); color: #fff; }
.os-new { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; margin-bottom: 18px; text-decoration: none; color: #2d31a6;
  background: linear-gradient(135deg, #eef4ff, #f5f3ff); border: 1px solid #c7d7fe; }
.os-new > i:first-child { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #444ce7; }
.os-new span { flex: 1; } .os-new b { display: block; font-weight: 500; } .os-new small { color: #475467; }
.os-new:hover { border-color: #6172f3; color: #2d31a6; }
.os-start { background: #fff; border: 1px solid #e7ebf2; border-radius: 20px; padding: 20px 22px; margin-bottom: 20px; }
.os-start-h { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.os-start-h > span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; }
.os-start-h b { display: block; font-size: 1.05rem; font-weight: 500; } .os-start-h small { color: #667085; }
.os-start-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.os-start-list li { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: #f9fafb; border: 1px solid #f2f4f7; }
.os-start-list li > i { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #eff4ff; color: var(--blue); font-size: .8rem; }
.os-start-list li.done > i { background: #12b76a; color: #fff; }
.os-start-list b { display: block; font-weight: 500; font-size: .9rem; } .os-start-list small { color: #667085; font-size: .8rem; }
.os-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.os-lib-card { display: flex; flex-direction: column; border: 1px solid #e7ebf2; border-radius: 16px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s; }
.os-lib-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(15,42,95,.4); color: var(--ink); }
.os-lib-thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; font-size: 2rem;
  background: linear-gradient(135deg, var(--a, #2563eb), var(--b, #7c3aed)); }
.os-lib-thumb span { position: absolute; right: 8px; bottom: 8px; font-size: .72rem; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.45); }
.os-lib-meta { padding: 12px 14px; } .os-lib-meta b { display: block; font-weight: 500; font-size: .94rem; } .os-lib-meta small { color: #667085; font-size: .8rem; }
.os-lib-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.os-lib-tags span { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: #f2f4f7; color: #475467; }
.os-lib-tags span.ok { background: #ecfdf3; color: #067647; }
.os-mat-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #eff4ff; color: var(--blue); }
.os-mat-ic.k-guide { background: #ecfdf3; color: #067647; } .os-mat-ic.k-questions { background: #fffaeb; color: #b54708; } .os-mat-ic.k-summary { background: #f4f3ff; color: #5925dc; }
.os-watch { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.os-player { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0b1324; }
.os-player video { width: 100%; height: 100%; display: block; background: #000; }
.os-player-none { display: grid; place-content: center; justify-items: center; gap: 10px; color: #c7d2ea; text-align: center; padding: 20px; }
.os-player-none i { font-size: 2.2rem; color: #60a5fa; }
.os-watch-h { margin-top: 18px; } .os-watch-h h1 { font-size: 1.5rem; font-weight: 700; margin: 6px 0 4px; } .os-watch-h p { color: #667085; margin: 0; }
.os-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.os-notes a { display: block; border: 1px solid #e7ebf2; border-radius: 14px; overflow: hidden; text-decoration: none; color: #667085; background: #fff; }
.os-notes img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #f9fafb; } .os-notes span { display: block; padding: 6px 10px; font-size: .8rem; }
.os-test { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, #f5f8ff, #fff); }
.os-test-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #7c3aed, #2563eb); color: #fff; font-size: 1.1rem; }
.os-test .grow { flex: 1; min-width: 240px; } .os-test b { display: block; font-weight: 500; } .os-test small { color: #667085; font-size: .86rem; }
.os-test-f { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .os-test-f .form-select { width: auto; }

@media (max-width: 991.98px) {
  .rg { grid-template-columns: minmax(0, 1fr); }
  .rg-side-in { position: static; min-height: 0; padding: 26px 20px; }
  .rg-perks, .rg-by { display: none; }
  .os-watch { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rg-card { padding: 20px 16px; border-radius: 20px; }
  .rg-main { padding: 18px 12px 40px; }
  .rg-stepper li b { display: none; } .rg-stepper { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .rg-photo { grid-template-columns: 1fr; justify-items: center; }
  .rg-combo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================================================================ the timetable: a plain week calendar (time down, days across) */
.tt { padding: 0; overflow: hidden; }
.tt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid #eaecf0; }
.tt-nav { display: flex; align-items: center; gap: 6px; }
.tt-btn { height: 34px; min-width: 34px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid #d0d5dd; border-radius: 8px; color: #344054;
  text-decoration: none; font-size: .86rem; font-weight: 500; background: #fff; }
.tt-btn:hover { background: #f9fafb; color: #101828; } .tt-btn.on { background: #f2f4f7; }
.tt-range { margin-left: 8px; font-family: var(--head-font); font-weight: 500; font-size: 1.05rem; color: #101828; }
.tt-tools { display: flex; align-items: center; gap: 8px; } .tt-tools .form-select { min-width: 190px; }
.tt-seg { display: inline-flex; border: 1px solid #d0d5dd; border-radius: 8px; overflow: hidden; }
.tt-seg a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: .84rem; color: #344054; text-decoration: none; font-weight: 500; }
.tt-seg a + a { border-left: 1px solid #d0d5dd; } .tt-seg a.on { background: #f2f4f7; color: #101828; }
.tt-week { --hour: 56px; overflow-x: auto; }
.tt-head, .tt-body { display: grid; grid-template-columns: 64px repeat(7, minmax(120px, 1fr)); min-width: 940px; }
.tt-head { border-bottom: 1px solid #eaecf0; position: sticky; top: 0; background: #fff; z-index: 2; }
.tt-head span { padding: 10px 12px; display: flex; align-items: baseline; gap: 6px; border-left: 1px solid #f2f4f7; }
.tt-head span:first-child { border-left: 0; }
.tt-head small { color: #667085; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; } .tt-head b { font-weight: 500; color: #101828; font-size: 1rem; }
.tt-head span.today b { background: var(--blue); color: #fff; min-width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .86rem; }
.tt-body { position: relative; height: calc(var(--rows) * var(--hour)); }
.tt-hours { position: relative; }
.tt-hours span { display: block; height: var(--hour); padding: 0 10px 0 0; text-align: right; font-size: .72rem; color: #98a2b3; transform: translateY(-.55em); font-variant-numeric: tabular-nums; }
.tt-hours span:first-child { visibility: hidden; }
.tt-col { position: relative; border-left: 1px solid #f2f4f7; background-image: linear-gradient(#f2f4f7 1px, transparent 1px); background-size: 100% var(--hour); }
.tt-col.today { background-color: #fafcff; }
.tt-now { position: absolute; left: 0; right: 0; height: 2px; background: #f04438; z-index: 3; }
.tt-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #f04438; }
.tt-ev { position: absolute; z-index: 1; margin: 1px 2px; padding: 5px 8px; border-radius: 6px; overflow: hidden; text-decoration: none; line-height: 1.25;
  background: #eff4ff; border-left: 3px solid var(--blue); color: #1d2939; font-size: .76rem; transition: background .15s; }
.tt-ev:hover { background: #dbe7ff; color: #101828; z-index: 2; }
.tt-ev b { display: block; font-weight: 500; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-ev small { display: block; color: #475467; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-ev.none { background: #f9fafb; border-left-color: #98a2b3; } .tt-ev.past { opacity: .55; }
.tt-ev.live { border-left-color: #f04438; } .tt-ev em { font-style: normal; color: #b42318; font-weight: 600; }
.tt-list-sm { display: none; }
.tt-list-only { display: block; }
.tt-day { border-bottom: 1px solid #f2f4f7; padding: 10px 18px; display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: start; }
.tt-day:last-child { border-bottom: 0; }
.tt-day-h b { display: block; font-weight: 500; color: #101828; } .tt-day-h small { color: #667085; font-size: .8rem; }
.tt-day.today .tt-day-h b { color: var(--blue-2); }
.tt-day > .tt-row, .tt-day > .tt-free { grid-column: 2; }
.tt-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #101828; }
.tt-row:hover { background: #f9fafb; color: #101828; } .tt-row.past { opacity: .55; }
.tt-time { font-variant-numeric: tabular-nums; font-weight: 500; font-size: .9rem; } .tt-time small { display: block; color: #98a2b3; font-weight: 400; font-size: .74rem; }
.tt-what b { display: block; font-weight: 500; font-size: .92rem; } .tt-what small { color: #667085; font-size: .8rem; }
.tt-state { font-size: .8rem; color: #98a2b3; }
.tt-free { margin: 0; padding: 8px 10px; color: #98a2b3; font-size: .86rem; }
@media (max-width: 860px) {
  .tt-week { display: none; } .tt-list-sm { display: block; }
  .tt-day { grid-template-columns: 1fr; gap: 4px; } .tt-day > .tt-row, .tt-day > .tt-free { grid-column: 1; }
  .tt-tools { width: 100%; } .tt-tools form { flex: 1; } .tt-tools .form-select { min-width: 0; width: 100%; }
}

/* ================================================================ the tutors page: the school's tutors, and the market */
.os-tabs a i { font-size: .82rem; color: #98a2b3; } .os-tabs a.on i { color: var(--blue); }
.tm-wrap { padding: 18px 22px 22px; }
.tm-wrap > .table-responsive { margin: -18px -22px 0; }
.tm-table td { vertical-align: top; }
.tm-class { display: block; text-decoration: none; color: #101828; padding: 2px 0; } .tm-class + .tm-class { margin-top: 6px; }
.tm-class b { display: block; font-weight: 500; font-size: .9rem; } .tm-class small { color: #667085; font-size: .78rem; }
.tm-class:hover b { color: var(--blue-2); }
.tnum { font-variant-numeric: tabular-nums; }
.tm-waiting { margin-top: 16px; padding-top: 14px; border-top: 1px solid #f2f4f7; }
.tm-waiting h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #667085; font-weight: 500; margin: 0 0 6px; }
.tm-filter { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tm-filter .form-select { min-width: 220px; } .tm-filter p { flex: 1; min-width: 220px; }
.os-booked i.fa-briefcase { color: var(--navy); }

/* registration: the photo's check, shown at once */
.rg-photo-drop { position: relative; }
.rg-photo-drop.ok { box-shadow: 0 0 0 3px #12b76a, 0 18px 36px -18px rgba(15,42,95,.5); border-color: #fff; }
.rg-photo-drop.bad { box-shadow: 0 0 0 3px #f04438, 0 18px 36px -18px rgba(15,42,95,.5); border-color: #fff; }
.rg-photo-drop.checking { box-shadow: 0 0 0 3px #b2c5ff; }
.rg-photo-drop .rg-photo-badge { position: absolute; right: 6px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; display: none; place-items: center;
  border: 3px solid #fff; color: #fff; font-size: .95rem; line-height: 1; font-weight: 900; }   /* solid icons only draw at 900 */
.rg-photo-drop.ok .rg-photo-badge { display: grid; background: #12b76a; } .rg-photo-drop.bad .rg-photo-badge { display: grid; background: #f04438; }
.rg-photo-drop.checking .rg-photo-badge { display: grid; background: #2563eb; }
.rg-photo { align-items: start; }
.rg-photo-side { display: grid; gap: 14px; }
.rg-check { padding: 12px 14px; border-radius: 14px; border: 1px solid #e4e8f0; background: #fff; }
.rg-check-h { margin: 0 0 6px; font-weight: 600; font-size: .92rem; }
.rg-check-h.ok { color: #067647; } .rg-check-h.bad { color: #b42318; } .rg-check-h.checking { color: #344054; }
.rg-check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rg-check li { display: flex; gap: 9px; font-size: .86rem; } .rg-check li i { margin-top: 3px; }
.rg-check li b { display: block; font-weight: 500; color: #1d2939; } .rg-check li small { display: block; color: #667085; }
.rg-check li.ok i { color: #12b76a; } .rg-check li.no i { color: #f04438; } .rg-check li.tip i { color: #2563eb; }
.rg-check:has(.rg-check-h.ok) { border-color: #abefc6; background: #f6fef9; } .rg-check:has(.rg-check-h.bad) { border-color: #fecdca; background: #fffbfa; }
