/* Taaleva Student Portal — uses the Taaleva theme colours, with fallbacks. */
.tvp{--p:var(--tv-peacock,#063F45);--d:var(--tv-deep,#0B2F34);--iv:var(--tv-ivory,#F7F3EC);--g:var(--tv-gold,#FFC857);--gd:var(--tv-gold-deep,#B8701A);--t:var(--tv-teal,#3FE0C8);--c:var(--tv-coral,#FF7FA0);--r:var(--tv-rule-light,#E2DACD);
  max-width:1180px;margin:0 auto;padding:clamp(24px,4vw,56px) clamp(16px,3vw,32px);color:var(--d);font-size:16px;line-height:1.55;box-sizing:border-box}
.tvp *,.tvp *::before,.tvp *::after{box-sizing:border-box}
.tvp h2{font-size:clamp(26px,3.4vw,38px);line-height:1.15;margin:0 0 6px;color:var(--p)}
.tvp h3{font-size:14px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 14px;color:var(--gd);font-weight:600}
.tvp p{margin:0 0 8px}
.tvp a{color:var(--gd);font-weight:600;text-decoration:none}
.tvp a:hover{text-decoration:underline}
.tvp-eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:var(--gd);margin-bottom:8px !important}
.tvp-muted{color:#5a6b6d;font-size:15px}
.tvp-card{background:#fff;border:1px solid var(--r);border-radius:20px;padding:24px 24px 20px}
.tvp-grid3,.tvp-grid2{display:grid;gap:18px;margin-top:18px}
.tvp-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tvp-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:900px){.tvp-grid3{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.tvp-grid3,.tvp-grid2{grid-template-columns:1fr}}

/* Header band */
.tvp-hello{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;background:var(--p);color:var(--iv);border-radius:24px;padding:28px 28px 26px;position:relative;overflow:hidden}
.tvp-hello::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;border:22px solid var(--g);opacity:.35;pointer-events:none}
.tvp-hello.tvp-dance::after{border-color:var(--c)}
.tvp-hello.tvp-wellness::after{border-color:var(--t)}
.tvp-hello > *{position:relative;z-index:1}
@media (max-width:640px){.tvp-hello{flex-direction:column-reverse;align-items:stretch;padding:22px}.tvp-logout{align-self:flex-end}.tvp-hello::after{right:-90px;top:-90px;opacity:.25}}
.tvp-hello h2{color:var(--iv)}
.tvp-hello p{color:#BFE3E0;margin:0}
.tvp-hello .tvp-eyebrow{color:var(--g)}
.tvp-logout{position:relative;z-index:1;color:var(--iv) !important;border:1px solid rgba(255,255,255,.35);padding:8px 16px;border-radius:999px;font-size:14px;white-space:nowrap}

/* Stats */
.tvp-big{font-size:30px;font-weight:600;line-height:1.1;color:var(--p);margin-bottom:6px !important}
.tvp-due{color:#B3261E}
.tvp-paid{color:#0b7a6b}
.tvp-btn{display:inline-block;background:var(--p);color:var(--iv) !important;border-radius:999px;padding:10px 20px;margin-top:4px}
.tvp-btn:hover{text-decoration:none !important;background:var(--d)}
.tvp-dots{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 6px}
.tvp-dot{display:inline-block;width:14px;height:14px;border-radius:50%;background:#ddd;vertical-align:-2px}
.tvp-dot.tvp-p{background:#16a394}
.tvp-dot.tvp-a{background:#e5534b}
.tvp-dot.tvp-l{background:var(--g)}
.tvp-legend{font-size:13px;color:#5a6b6d}
.tvp-legend .tvp-dot{width:10px;height:10px;margin:0 4px 0 10px}
.tvp-legend .tvp-dot:first-child{margin-left:0}

/* Lists */
.tvp ul{list-style:none;margin:0;padding:0}
.tvp-notes li,.tvp-res li,.tvp-notices li{padding:12px 0;border-bottom:1px solid var(--r)}
.tvp-notes li:first-child,.tvp-res li:first-child,.tvp-notices li:first-child{padding-top:0}
.tvp-notes li:last-child,.tvp-res li:last-child,.tvp-notices li:last-child{border-bottom:0}
.tvp-notes p{font-size:16px;margin:0 0 4px}
.tvp-notes span,.tvp-notices span{font-size:13px;color:#5a6b6d}
.tvp-res p,.tvp-notices p{font-size:15px;margin:2px 0 4px;color:#3b4b4d}
.tvp-actions li{border-bottom:1px solid var(--r)}
.tvp-actions li:last-child{border-bottom:0}
.tvp-actions a{display:block;padding:12px 0}
.tvp-actions a::after{content:" →"}

/* Table */
.tvp-table{width:100%;border-collapse:collapse;font-size:15px}
.tvp-table th,.tvp-table td{text-align:left;padding:9px 6px;border-bottom:1px solid var(--r)}
.tvp-table th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5a6b6d;font-weight:600}
.tvp-tag{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600}
.tvp-tag-paid{background:#d7f5ee;color:#0b5d52}
.tvp-tag-due{background:#fde2e1;color:#8a1f17}
.tvp-dl{display:grid;grid-template-columns:110px 1fr;gap:6px 12px;margin:0 0 12px}
.tvp-dl dt{color:#5a6b6d;font-size:14px}
.tvp-dl dd{margin:0;font-weight:500}

/* Admin preview bar */
.tvp-preview{background:#fffbe6;border:1px solid #f0d27a;border-radius:14px;padding:10px 14px;margin-bottom:18px;font-size:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tvp-preview select{font:inherit;padding:4px 8px;border-radius:8px}

/* Login */
.tvp-login{max-width:520px}
.tvp-login-card{padding:32px 30px 26px}
.tvp-login form p{margin:0 0 14px}
.tvp-login label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.tvp-login input[type=text],.tvp-login input[type=password]{width:100%;font:inherit;font-size:16px;padding:12px 14px;border:1px solid var(--r);border-radius:12px}
.tvp-login input[type=text]:focus,.tvp-login input[type=password]:focus{outline:2px solid var(--g);border-color:var(--g)}
.tvp-login .login-remember label{display:flex;gap:8px;align-items:center;font-weight:400}
.tvp-login input[type=submit]{background:var(--p);color:var(--iv);border:0;border-radius:999px;padding:13px 28px;font:inherit;font-weight:600;font-size:16px;cursor:pointer;width:100%}
.tvp-login input[type=submit]:hover{background:var(--d)}
.tvp-alert{background:#fde2e1;color:#8a1f17;border-radius:10px;padding:10px 12px;font-size:15px}
.tvp-ok{background:#d7f5ee;color:#0b5d52;border-radius:10px;padding:10px 12px;font-size:15px}
.tvp-links{font-size:14px;text-align:center;margin-top:10px !important}
.tvp-new{text-align:center;margin-top:16px !important;font-size:15px}

/* Admission form */
.tvp-join{max-width:760px}
.tvp-join-card{padding:32px 30px 26px}
.tvp-form h3{margin:22px 0 10px}
.tvp-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;margin-bottom:14px;color:var(--d)}
.tvp-form input[type=text],.tvp-form input:not([type]),.tvp-form input[type=tel],.tvp-form input[type=email],.tvp-form select{width:100%;font:inherit;font-weight:400;font-size:16px;padding:12px 14px;border:1px solid var(--r);border-radius:12px;background:#fff;color:var(--d)}
.tvp-form input:focus,.tvp-form select:focus{outline:2px solid var(--g);border-color:var(--g)}
.tvp-row{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
@media (max-width:640px){.tvp-row{grid-template-columns:1fr}}
.tvp-pills{border:0;padding:0;margin:0 0 14px;display:flex;gap:10px;flex-wrap:wrap}
.tvp-pills legend{font-size:14px;font-weight:600;margin-bottom:8px;padding:0}
.tvp-form .tvp-pill{flex-direction:row;margin:0;cursor:pointer}
.tvp-pill input{position:absolute;opacity:0;width:1px;height:1px}
.tvp-pill span{display:inline-block;padding:10px 20px;border-radius:999px;border:1.5px solid var(--r);font-weight:600;font-size:15px;background:#fff}
.tvp-pill input:checked + span{background:var(--g);border-color:var(--g);color:var(--p)}
.tvp-pill input:focus-visible + span{outline:2px solid var(--p);outline-offset:2px}
.tvp-form .tvp-check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:15px;line-height:1.5}
.tvp-check input{margin-top:4px;width:18px;height:18px;flex:none}
.tvp-submit{background:var(--p);color:var(--iv);border:0;border-radius:999px;padding:14px 30px;font:inherit;font-weight:600;font-size:16px;cursor:pointer}
.tvp-submit:hover{background:var(--d)}
.tvp-hp{position:absolute !important;left:-9999px !important;height:1px;overflow:hidden}

/* Teachers and live classes (1.2.0) */
.tvp-hello.tvp-teacher::after{border-color:var(--t)}
.tvp-section{margin:28px 0 12px !important}
.tvp-mt{margin-top:18px}
.tvp-small{font-size:14px !important}
.tvp-flash{margin:16px 0 0 !important}
.tvp-classes{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
@media (max-width:640px){.tvp-classes{grid-template-columns:1fr}}
.tvp-class{border-top:5px solid var(--r)}
.tvp-class.tvp-live{border-top-color:#16a394;box-shadow:0 10px 30px rgba(22,163,148,.15)}
.tvp-class.tvp-open{border-top-color:var(--g)}
.tvp-class.tvp-ended{opacity:.92}
.tvp-class-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.tvp-time{font-size:22px;font-weight:600;color:var(--p);margin:0 !important}
.tvp-class h4{font-size:19px;margin:0 0 4px;color:var(--d)}
.tvp-chip{display:inline-block;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;background:var(--iv);color:var(--d);white-space:nowrap}
.tvp-chip-live{background:#d7f5ee;color:#0b5d52}
.tvp-chip-open{background:#fff1cc;color:#7a4a00}
.tvp-chip-done{background:#eef0f0;color:#5a6b6d}
.tvp-btn.tvp-go{background:var(--g);color:var(--d) !important;font-size:17px;padding:13px 26px;margin:6px 0 4px}
.tvp-btn.tvp-go:hover{background:#ffd679}
.tvp-btn.tvp-btn-ghost{background:transparent;border:1.5px solid var(--r);color:var(--p) !important;font-size:15px;padding:9px 18px}
.tvp-btn.tvp-btn-off{background:var(--iv);color:#5a6b6d !important;cursor:default}
.tvp-pulse{animation:tvpPulse 1.8s ease-in-out infinite}
@keyframes tvpPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,200,87,.7)}50%{box-shadow:0 0 0 10px rgba(255,200,87,0)}}
@media (prefers-reduced-motion:reduce){.tvp-pulse{animation:none}}
.tvp-att{margin-top:14px;border-top:1px solid var(--r);padding-top:12px}
.tvp-att summary{cursor:pointer;font-weight:600;color:var(--p);list-style:none}
.tvp-att summary::-webkit-details-marker{display:none}
.tvp-att summary::after{content:" ▾";color:var(--gd)}
.tvp-att[open] summary::after{content:" ▴"}
.tvp-att form{margin-top:10px}
.tvp-linkbtn{background:none;border:0;padding:0;font:inherit;font-size:14px;font-weight:600;color:var(--gd);cursor:pointer}
.tvp-att-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--r);flex-wrap:wrap}
.tvp-att-list strong{display:block;font-size:15px}
.tvp-att-list span{font-size:13px;color:#5a6b6d}
.tvp-segs{display:flex;gap:4px}
.tvp-seg input{position:absolute;opacity:0;width:1px;height:1px}
.tvp-seg span{display:inline-block;padding:6px 10px;border-radius:999px;border:1.5px solid var(--r);font-size:13px !important;font-weight:600;color:var(--d) !important;cursor:pointer;background:#fff}
.tvp-seg input:checked + span{background:var(--p);border-color:var(--p);color:#fff !important}
.tvp-seg input[value=A]:checked + span{background:#e5534b;border-color:#e5534b}
.tvp-seg input[value=L]:checked + span{background:var(--g);border-color:var(--g);color:var(--d) !important}
.tvp-seg input:focus-visible + span{outline:2px solid var(--g);outline-offset:2px}
.tvp-att .tvp-btn{border:0;font:inherit;font-weight:600;cursor:pointer;margin-top:12px}
.tvp-cover{display:inline-block;background:#fff1cc;color:#7a4a00;font-size:13px;font-weight:600;border-radius:999px;padding:3px 12px;margin:0 0 6px !important}
.tvp-tag-cover{background:#fff1cc;color:#7a4a00;margin-left:4px}

/* =====================================================================
 * Taaleva Console (admins) — 1.3.0
 * ===================================================================== */
.tvp:has(.tvc){max-width:1240px}
.tvc{--p:#063F45;--d:#0B2F34;--iv:#F7F3EC;--g:#FFC857;--gd:#B8701A;--r:#E2DACD;color:var(--d);font-size:15px}
.tvc-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;background:var(--p);color:var(--iv);border-radius:24px;padding:26px 28px;position:relative;overflow:hidden}
.tvc-top::after{content:"";position:absolute;right:-70px;top:-70px;width:210px;height:210px;border-radius:50%;border:22px solid var(--g);opacity:.25}
.tvc-top > *{position:relative;z-index:1}
.tvc-top h2{color:var(--iv) !important;margin:0 0 4px !important}
.tvc-top p{color:#BFE3E0;margin:0}
.tvc-top .tvp-eyebrow{color:var(--g) !important}
.tvc-top-actions{display:flex;gap:8px;flex-wrap:wrap}
.tvc-ghost{color:var(--iv) !important;border:1px solid rgba(255,255,255,.35);padding:8px 16px;border-radius:999px;font-size:14px;white-space:nowrap}
.tvc-ghost:hover{border-color:var(--g);color:var(--g) !important;text-decoration:none !important}
.tvc-nav{display:flex;gap:6px;overflow-x:auto;padding:14px 2px 6px;margin:0 0 6px;scrollbar-width:thin;position:sticky;top:0;z-index:5;background:var(--iv,#F7F3EC)}
.tvc-nav a{flex:none;padding:9px 16px;border-radius:999px;font-weight:600;font-size:14px;color:var(--d) !important;background:#fff;border:1px solid var(--r);white-space:nowrap}
.tvc-nav a:hover{border-color:var(--g);text-decoration:none !important}
.tvc-nav a.is-on{background:var(--p);border-color:var(--p);color:#fff !important}
.tvc-badge{display:inline-block;min-width:20px;padding:1px 6px;border-radius:999px;background:#e5534b;color:#fff;font-size:11px;line-height:18px;text-align:center;margin-left:4px}
.tvc-body{margin-top:8px}
.tvc-card{background:#fff;border:1px solid var(--r);border-radius:20px;padding:22px 24px;margin:16px 0}
.tvc-card-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.tvc-small{font-size:13px !important}
.tvc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:10px}
@media (max-width:800px){.tvc-stats{grid-template-columns:1fr 1fr}}
.tvc-stat{background:#fff;border:1px solid var(--r);border-radius:18px;padding:18px 20px;color:var(--d) !important;display:block;transition:border-color .2s,transform .2s}
.tvc-stat:hover{border-color:var(--g);transform:translateY(-1px);text-decoration:none !important}
.tvc-stat b{display:block;font-size:26px;line-height:1.1;color:var(--p);margin-bottom:4px}
.tvc-stat span{font-size:13px;color:#5a6b6d;font-weight:500}
.tvc-stat.is-warn b{color:#b3261e}
.tvc-stat.is-new{border-color:var(--g);background:#fffbef}
.tvc-classes{list-style:none;margin:8px 0 0;padding:0}
.tvc-class{display:grid;grid-template-columns:90px 1fr 170px auto;gap:14px;align-items:center;padding:14px 0;border-top:1px solid #EFE8DC}
.tvc-class:first-child{border-top:0}
.tvc-class.tvc-live{background:linear-gradient(90deg,rgba(22,163,148,.08),transparent 60%);border-radius:12px;padding-left:10px}
.tvc-time{font-weight:600;font-size:17px;color:var(--p);line-height:1.1}
.tvc-time small,.tvc-state small{display:block;font-size:12px;color:#5a6b6d;font-weight:400;margin-top:3px}
.tvc-what strong{display:block;font-size:16px}
.tvc-what span{font-size:13px;color:#5a6b6d}
.tvc-act{display:flex;gap:12px;font-size:14px}
@media (max-width:700px){.tvc-class{grid-template-columns:70px 1fr;}.tvc-state,.tvc-act{grid-column:2}}
.tvc-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:8px}
@media (max-width:700px){.tvc-quick{grid-template-columns:1fr 1fr}}
.tvc-quick a{display:block;padding:14px 16px;border-radius:14px;background:var(--iv);color:var(--p) !important;font-weight:600}
.tvc-quick a:hover{background:#fff1cc;text-decoration:none !important}
.tvc-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.tvc-more .tvc-card{margin:16px 0 0}
.tvc-inline{display:flex;gap:8px;margin:10px 0 0;flex-wrap:wrap}
.tvc-links{list-style:none;margin:6px 0 0;padding:0}
.tvc-links li{padding:10px 0;border-top:1px solid #EFE8DC}
.tvc-links li:first-child{border-top:0}
.tvc-links span{display:block;font-size:13px;color:#5a6b6d}

/* Reused admin screens, in Taaleva style */
.tvc .wrap{margin:0}
.tvc .wrap > h1,.tvc .wrap h1.wp-heading-inline{font-size:26px;color:var(--p);margin:18px 12px 10px 0;display:inline-block;font-weight:600}
.tvc .wrap h2{font-size:18px;color:var(--p);margin:20px 0 8px}
.tvc .wp-header-end{border:0;margin:0 0 6px;height:0}
.tvc .page-title-action{display:inline-block;padding:7px 14px;border:1.5px solid var(--p);border-radius:999px;font-size:13px;color:var(--p) !important;margin:0 4px 6px 0;vertical-align:4px}
.tvc .page-title-action:hover{background:var(--p);color:#fff !important;text-decoration:none !important}
.tvc .button,.tvc button.button,.tvc input.button{display:inline-block;padding:8px 16px;border-radius:999px;border:1.5px solid var(--r);background:#fff;color:var(--p);font:inherit;font-size:14px;font-weight:600;cursor:pointer;line-height:1.3;text-decoration:none}
.tvc .button:hover{border-color:var(--g);text-decoration:none !important}
.tvc .button-primary,.tvc input.button-primary{background:var(--g) !important;border-color:var(--g) !important;color:var(--d) !important}
.tvc .button-primary:hover{background:#ffd679 !important}
.tvc .button-small{padding:5px 12px;font-size:13px}
.tvc .button-link,.tvc .button-link-delete{background:none;border:0;padding:0;color:var(--gd);font:inherit;font-weight:600;cursor:pointer}
.tvc .button-link-delete,.tvc .delete,.tvc input.delete{color:#b3261e !important}
.tvc input[type=submit].delete{background:#fff;border:1.5px solid #f2c2bf;border-radius:999px;padding:8px 16px;font-weight:600;cursor:pointer}
.tvc .notice{background:#fff;border:1px solid var(--r);border-left:4px solid var(--g);border-radius:12px;padding:10px 16px;margin:12px 0;position:relative}
.tvc .notice p{margin:4px 0}
.tvc .notice-success{border-left-color:#16a394;background:#f2fbf8}
.tvc .notice-error{border-left-color:#e5534b;background:#fff6f5}
.tvc .notice-warning{border-left-color:var(--g);background:#fffbef}
.tvc .notice-dismiss{display:none}
.tvc table.widefat{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--r);border-radius:16px;overflow:hidden;font-size:14px;margin:8px 0 16px}
.tvc .widefat thead th,.tvc .widefat thead td{background:var(--iv);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5a6b6d;font-weight:600;text-align:left;padding:11px 12px;border-bottom:1px solid var(--r)}
.tvc .widefat td,.tvc .widefat tbody th{padding:12px;border-top:1px solid #F1EBE0;vertical-align:top;text-align:left}
.tvc .widefat tbody tr:first-child td{border-top:0}
.tvc .striped > tbody > :nth-child(odd){background:#FFFDF9}
.tvc .widefat tr:hover td{background:#fffbef}
.tvc .row-actions{font-size:13px;margin-top:4px;color:#b8b0a3}
.tvc .row-actions a{font-weight:600}
.tvc .form-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--r);border-radius:16px;overflow:hidden;margin:8px 0}
.tvc .form-table th{width:210px;text-align:left;padding:14px 16px;font-size:14px;font-weight:600;vertical-align:top;background:#FFFDF9}
.tvc .form-table td{padding:12px 16px}
.tvc .form-table tr+tr th,.tvc .form-table tr+tr td{border-top:1px solid #F1EBE0}
@media (max-width:700px){.tvc .form-table th,.tvc .form-table td{display:block;width:auto;border:0 !important}.tvc .form-table th{padding-bottom:0;background:none}}
.tvc input[type=text],.tvc input[type=email],.tvc input[type=url],.tvc input[type=number],.tvc input[type=date],.tvc input[type=month],.tvc input[type=time],.tvc input:not([type]),.tvc select,.tvc textarea{font:inherit;font-size:15px;padding:8px 12px;border:1px solid var(--r);border-radius:10px;background:#fff;color:var(--d);max-width:100%}
.tvc input:focus,.tvc select:focus,.tvc textarea:focus{outline:2px solid var(--g);border-color:var(--g)}
.tvc .regular-text{width:100%;max-width:420px}
.tvc .small-text{width:90px}
.tvc .widefat input[type=text],.tvc .widefat input:not([type]){width:100%;min-width:120px}
.tvc .description{font-size:13px;color:#5a6b6d}
.tvc p.submit{margin:14px 0}
.tvc .subsubsub{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:6px 0 12px}
.tvc .subsubsub li{font-size:0}
.tvc .subsubsub a{font-size:13px;display:inline-block;padding:6px 14px;border-radius:999px;background:#fff;border:1px solid var(--r);color:var(--d) !important}
.tvc .subsubsub a.current{background:var(--p);color:#fff !important;border-color:var(--p)}
.tvc .subsubsub .count{opacity:.7}
.tvc .tvsp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:12px 0}
.tvc .tvsp-stat{background:#fff;border:1px solid var(--r);border-radius:16px;padding:14px 16px;font-size:13px;color:#5a6b6d}
.tvc .tvsp-stat b{display:block;font-size:24px;line-height:1.2;color:var(--p)}
.tvc .tvsp-stat.tvsp-warn b{color:#b3261e}
.tvc .tvsp-tag{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600}
.tvc .tvsp-tag.paid{background:#d7f5ee;color:#0b5d52}.tvc .tvsp-tag.due{background:#fde2e1;color:#8a1f17}.tvc .tvsp-tag.none{background:#f0f0f1;color:#50575e}
.tvc .tvsp-box{background:#fff;border:1px solid var(--r);border-radius:16px;padding:18px 20px;margin:16px 0}
.tvc .tvsp-att label{margin-right:14px;white-space:nowrap;font-size:14px}
.tvc .tvsp-cred{background:#fffbef;border:1px solid #f0d27a;border-radius:16px;padding:16px 20px;margin:12px 0}
.tvc .tvsp-filter,.tvc .tvsp-sched-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.tvc .tvsp-week-label{font-size:15px;margin:0 8px}
.tvc .tvsp-inline{margin-left:auto}
.tvc .tvsp-day{font-size:16px;margin:24px 0 6px;padding-bottom:6px;border-bottom:2px solid var(--r);color:var(--p)}
.tvc .tvsp-day.is-today{border-color:var(--g)}
.tvc .tvsp-day span{background:var(--g);color:var(--d);font-size:12px;padding:2px 10px;border-radius:999px;margin-left:6px}
.tvc .tvsp-pill{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;background:#f0f0f1;color:#3c434a}
.tvc .tvsp-pill.live{background:#d7f5ee;color:#0b5d52}.tvc .tvsp-pill.soon{background:#fff1cc;color:#7a4a00}.tvc .tvsp-pill.done{background:#e8eaeb;color:#50575e}
.tvc .tvsp-none{color:#b3261e}
.tvc .tvsp-cover{color:#7a4a00;font-weight:600}
.tvc .tvsp-reassign{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tvc .tvsp-reassign select{max-width:160px}
.tvc .tvsp-reassign label{font-size:12px;white-space:nowrap}
.tvc .tvsp-sched-table td small{color:#5a6b6d}
.tvc .widefat{display:table}
@media (max-width:900px){.tvc .widefat{display:block;overflow-x:auto;white-space:normal}}
.tvc .card{background:#fff;border:1px solid var(--r);border-radius:16px;padding:16px 20px;margin:12px 0;max-width:none}
.tvp.tvp-console{max-width:1240px}
.tvc a{text-decoration:none}
.tvc a:hover{text-decoration:underline}
.tvc .tvc-nav a:hover,.tvc .tvc-stat:hover,.tvc .tvc-quick a:hover,.tvc .button:hover,.tvc .page-title-action:hover,.tvc .tvc-ghost:hover{text-decoration:none}
body:has(.tvc) .tv-wa{display:none}
@media (max-width:640px){.tvc-top{flex-direction:column;align-items:flex-start;padding:22px}.tvc-top-actions{width:100%}}
.tvc .tvsp-amt{white-space:nowrap}.tvc .tvsp-cur{width:auto;min-width:0;padding:8px 6px;font-size:13px}

/* Login page, two columns (1.3.1) */
.tvp-login.tvp-login2{max-width:980px}
.tvp-login-wrap{display:grid;grid-template-columns:1fr 1.05fr;border-radius:26px;overflow:hidden;box-shadow:0 30px 60px -36px rgba(6,63,69,.45);border:1px solid var(--r)}
.tvp-login2 .tvp-login-card{border:0;border-radius:0;padding:40px 40px 30px}
.tvp-login-aside{background:var(--p);color:#BFE3E0;padding:40px 36px;position:relative;overflow:hidden}
.tvp-login-aside::after{content:"";position:absolute;right:-80px;bottom:-80px;width:240px;height:240px;border-radius:50%;border:24px solid var(--g);opacity:.22}
.tvp-login-aside > *{position:relative;z-index:1}
.tvp-login-aside .tvp-eyebrow{color:var(--g) !important}
.tvp-login-aside h3{font-size:28px !important;letter-spacing:0 !important;text-transform:none !important;color:var(--iv) !important;line-height:1.2;margin:0 0 22px !important;font-weight:600}
.tvp-login-aside ul{list-style:none;margin:0;padding:0}
.tvp-login-aside li{display:flex;gap:12px;align-items:center;padding:9px 0;font-size:16px;color:var(--iv)}
.tvp-login-aside li span{flex:none;width:34px;height:34px;border-radius:10px;background:rgba(255,200,87,.16);color:var(--g);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}
.tvp-aside-foot{margin-top:22px !important;font-size:14px;color:#BFE3E0;border-top:1px solid rgba(191,227,224,.2);padding-top:16px}
@media (max-width:820px){.tvp-login-wrap{grid-template-columns:1fr}.tvp-login-aside{display:none}.tvp-login2 .tvp-login-card{padding:30px 24px 24px}.tvp-login.tvp-login2{max-width:520px}.tvp-login-wrap{border-radius:20px}}
.tvp-hint{font-size:13px;color:#5a6b6d;margin:-8px 0 14px !important}
.tvp-pw{position:relative;display:block}
.tvp-pw input{padding-right:50px !important}
.tvp-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:10px;background:transparent;cursor:pointer;color:#5a6b6d}
.tvp-eye::before{content:"";position:absolute;inset:8px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
.tvp-eye.is-on::after{content:"";position:absolute;left:9px;right:9px;top:50%;height:2px;background:currentColor;transform:rotate(-40deg)}
.tvp-eye:hover,.tvp-eye:focus-visible{background:var(--iv);color:var(--p);outline:0}
.tvp-login input[type=checkbox]{accent-color:var(--p);width:18px;height:18px}
body:has(.tvp-login) .tv-wa{display:none}

/* ---- 1.3.2: gallery in the console ---- */
.tvg-status{background:#fff8e6;border:1px solid #f1d58f;border-radius:12px;padding:14px 16px;margin:16px 0 22px;font-size:14.5px;line-height:1.5}
.tvg-status.is-live{background:#e8f7f3;border-color:#9ed9cb}
.tvg-bar{display:block;height:6px;background:rgba(0,0,0,.08);border-radius:6px;margin-top:10px;overflow:hidden}
.tvg-bar i{display:block;height:100%;background:var(--tv-gold-deep,#B8701A);border-radius:6px}
.tvg-forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-bottom:26px}
.tvg-card{background:#fff;border:1px solid rgba(11,47,52,.1);border-radius:14px;padding:18px 18px 20px}
.tvg-card h2{margin-top:0 !important}
.tvg-card input[type=text],.tvg-card input[type=url],.tvg-card select{width:100%;max-width:100%}
.tvg-card input[type=file]{max-width:100%}
.tvg-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.tvg-admin-item{background:#fff;border:1px solid rgba(11,47,52,.1);border-radius:12px;overflow:hidden}
.tvg-admin-img{position:relative;aspect-ratio:4/3;background:#eee}
.tvg-admin-img img{width:100%;height:100%;object-fit:cover;display:block}
.tvg-admin-img .tvg-play{position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;background:rgba(6,63,69,.82)}
.tvg-admin-img .tvg-play::after{content:"";position:absolute;left:16px;top:12px;border-left:12px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent}
.tvg-admin-item form{padding:10px;display:flex;flex-direction:column;gap:6px}
.tvg-admin-item select,.tvg-admin-item input[type=text]{width:100%;font-size:13px}
.tvg-admin-actions{display:flex;justify-content:space-between;align-items:center}
.tvg-del{color:#b32d2e !important}

/* Quick batch picker on the Students list */
.tvsp-qb{margin:0}.tvsp-qb select{max-width:230px;font-size:13px}
.tvsp-qb-none select{border-color:#d63638 !important;background:#fff5f5 !important;color:#8a1f17 !important;font-weight:600}

/* 1.4.0 Enquiries */
.tve{--ep:var(--p,#063F45);--eg:var(--g,#F5B83D);--er:var(--r,#E6DCCB);--ed:var(--d,#1d2b2d);--ei:var(--iv,#F7F3EC);max-width:1000px}
.tvc input[type=tel],.tvc input[type=search]{font:inherit;font-size:15px;padding:8px 12px;border:1px solid var(--r);border-radius:10px;background:#fff;color:var(--d);max-width:100%}
.tve-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:8px 0 6px}
@media (max-width:760px){.tve-stats{grid-template-columns:1fr 1fr}}
.tve-stat{background:#fff;border:1px solid var(--er);border-radius:16px;padding:14px 16px}
.tve-stat b{display:block;font-size:24px;line-height:1.15;color:var(--ep)}
.tve-stat span{font-size:13px;color:#5a6b6d}
.tve-stat.is-warn{border-color:#f2c2bf;background:#fff6f5}.tve-stat.is-warn b{color:#b3261e}
.tve-src{font-size:13px;color:#5a6b6d;margin:4px 0 12px}
.tve-add,.tve-tpl{background:#fff;border:1.5px solid var(--eg);border-radius:18px;padding:0;margin:14px 0}
.tve-tpl{border-color:var(--er);margin-top:28px}
.tve-add > summary,.tve-tpl > summary{cursor:pointer;list-style:none;padding:16px 20px;font-weight:700;font-size:17px;color:var(--ep)}
.tve-tpl > summary{font-size:15px}
.tve-add > summary::-webkit-details-marker,.tve-tpl > summary::-webkit-details-marker{display:none}
.tve-add > summary small{font-weight:400;font-size:13px;color:#5a6b6d;margin-left:6px}
.tve-addform,.tve-tpl form{padding:0 20px 18px}
.tve-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.tve label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:#3c4a4c}
.tve label input,.tve label select,.tve label textarea{width:100%;box-sizing:border-box;font-weight:400}
.tve .tve-wide{margin-top:12px}
.tve .tve-wide small{font-weight:400;color:#5a6b6d}
.tve-more{margin-top:10px}
.tve-more > summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--ep);padding:4px 0}
.tve-more .tve-grid{margin-top:8px}
.tve-addfoot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:14px;font-weight:600}
.tve-when{display:inline-flex;flex-wrap:wrap;gap:6px;margin-left:6px;vertical-align:middle}
.tve .tve-when label{flex-direction:row;align-items:center;gap:6px;background:var(--ei);border-radius:999px;padding:6px 12px;font-weight:500;cursor:pointer}
.tve .tve-when label:has(input:checked){background:var(--ep);color:#fff}
.tve .tve-when input[type=radio]{margin:0;accent-color:var(--eg)}
.tve .tve-when input[type=date]{width:auto;padding:2px 6px;font-size:13px}
.tve-bar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0 4px}
.tve-views{display:flex;gap:6px;flex-wrap:wrap}
.tve-views a{padding:7px 14px;border-radius:999px;background:#fff;border:1px solid var(--er);color:var(--ed) !important;font-size:14px;font-weight:600;text-decoration:none !important}
.tve-views a span{opacity:.6;font-weight:500}
.tve-views a.is-on{background:var(--ep);border-color:var(--ep);color:#fff !important}
.tve-search{display:flex;gap:6px}
.tve-search input{min-width:200px}
.tve h2.tve-h{font-size:15px !important;text-transform:uppercase;letter-spacing:.06em;margin:22px 0 8px !important;color:#5a6b6d !important}
.tve h2.tve-h span{background:var(--ei);color:var(--ed);border-radius:999px;padding:1px 9px;font-size:12px;margin-left:4px}
.tve h2.tve-h-late{color:#b3261e !important}.tve h2.tve-h-late span{background:#fde2e1;color:#8a1f17}
.tve h2.tve-h-today{color:var(--ep) !important}.tve h2.tve-h-today span{background:var(--eg)}
.tve-card{background:#fff;border:1px solid var(--er);border-left:5px solid var(--er);border-radius:16px;padding:16px 18px;margin:10px 0;scroll-margin-top:90px}
.tve-card.tve-n-late{border-left-color:#e5534b}.tve-card.tve-n-today{border-left-color:var(--eg)}
.tve-card.tve-s-joined{border-left-color:#16a394}.tve-card.tve-s-lost{opacity:.8}
.tve-card:target{box-shadow:0 0 0 3px rgba(245,184,61,.45)}
.tve-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.tve-card h3{margin:0 !important;font-size:18px !important;color:var(--ed)}
.tve-chip{display:inline-block;font-size:12px;font-weight:600;padding:2px 9px;border-radius:999px;background:var(--ei);color:var(--ep);vertical-align:3px;margin-left:4px}
.tve-s-new .tve-chip{background:#fff1cc;color:#7a4a00}.tve-s-trial .tve-chip,.tve-s-trialdone .tve-chip{background:#e3efff;color:#1b4b8a}
.tve-s-joined .tve-chip{background:#d7f5ee;color:#0b5d52}.tve-s-lost .tve-chip{background:#f0f0f1;color:#50575e}
.tve-meta,.tve-what{margin:3px 0 0 !important;font-size:13px;color:#5a6b6d}
.tve-what{color:var(--ed)}
.tve-next{text-align:right;font-weight:700;font-size:14px;white-space:nowrap;color:var(--ep)}
.tve-next small{display:block;font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#5a6b6d}
.tve-next-late,em.tve-next-late{color:#b3261e}
.tve-last{margin:10px 0 0 !important;font-size:14px;background:var(--ei);border-radius:10px;padding:8px 12px}
.tve-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tve-acts a{display:inline-flex;align-items:center;gap:4px;padding:8px 14px;border-radius:999px;font-size:14px;font-weight:600;text-decoration:none !important;border:1.5px solid var(--er);color:var(--ep) !important;background:#fff}
.tve-acts a.tve-call{background:var(--ep);border-color:var(--ep);color:#fff !important}
.tve-acts a.tve-wa::before{content:"";width:14px;height:14px;background:#25D366;border-radius:50%;display:inline-block}
.tve-acts a.tve-wa.is-suggest{border-color:#25D366;background:#effcf3}
.tve-sent{margin:6px 0 0 !important;font-size:13px;color:#0b5d52;min-height:0}
.tve-sent:empty{display:none}
.tve-form{margin-top:12px;border-top:1px dashed var(--er);padding-top:12px}
.tve-row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.tve-row .tve-note{flex:1 1 220px}
.tve-row label:not(.tve-note){flex:0 1 170px}
.tve-quick{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px;font-size:13px;color:#5a6b6d}
.tve-quick span{margin-left:4px}
.tve .tve-quick .button{padding:5px 12px !important;font-size:13px !important}
.tve-convert{margin:10px 0 0 !important}
.tve-convert .button{border-color:#16a394 !important;color:#0b5d52 !important}
.tve .tve-del{color:#b3261e !important;margin-left:10px}
.tve-hist{margin-top:8px}
.tve-hist summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--ep)}
.tve-hist ul{list-style:none;margin:6px 0 0;padding:0;font-size:13px}
.tve-hist li{padding:6px 0;border-top:1px solid #F1EBE0}
.tve-hist small{color:#8a8f90;margin-left:4px}
.tve-empty{background:#fff;border:1px dashed var(--er);border-radius:16px;padding:22px;text-align:center;color:#5a6b6d;margin:12px 0}
@media (max-width:600px){.tve-head{flex-direction:column}.tve-next{text-align:left}.tve-row label:not(.tve-note){flex:1 1 45%}.tve-search,.tve-search input{width:100%;min-width:0}.tve-addfoot .button{width:100%}}
.tvc-enqlist{list-style:none;margin:8px 0 0;padding:0}
.tvc-enqlist li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #EFE8DC}
.tvc-enqlist li:first-child{border-top:0}
.tvc-enqlist a{color:var(--d) !important}
.tvc-enqlist strong{display:block}
.tvc-enqlist span{font-size:13px;color:#5a6b6d}
.tvc-enqlist em{font-style:normal;font-weight:600;font-size:13px;white-space:nowrap;color:var(--p)}
.tvc-enq{border-color:var(--g)}
.tve [hidden]{display:none !important}
