:root{
  --ink:#39292d;--muted:#806f70;--green:#7b1026;--green-dark:#5b0d1d;--mint:#f2e5df;
  --paper:#fffdfa;--bg:#fbf7f1;--line:#eadfd6;--orange:#b98945;--blue:#916a67;
  --red:#7b1026;--shadow:0 16px 42px #5522270c;--radius:18px
}
body{background:var(--bg);color:var(--ink)}
.sidebar{background:#7b1026;border-color:#7b1026;box-shadow:8px 0 30px #5b0d1d18}
.brand-mark{background:#c9a35d;color:#7b1026}
.brand-name{font-family:Fraunces,serif;color:#fffaf5;font-size:23px;letter-spacing:-1px}
.brand-caption,.nav-label{color:#e4cfc4}
.nav-item{color:#f1e4dd}
.nav-item:hover{background:#8d2438;color:#fffaf5}
.nav-item.active{background:#ead8ae;color:#5b0d1d}
.school-switch{border-color:#9a3c4d}
.school-avatar{background:#c9a35d;color:#5b0d1d}
.school-name{color:#fffaf5}
.school-location{color:#e4cfc4}
.logout{color:#e8d8d1}
.topbar{background:#fffdfaE8;border-color:var(--line)}
.avatar{background:#ead9d8;color:#7b1026}
.profile-name{color:#39292d}
.profile-role{color:#806f70}
.eyebrow{color:#a06f35}
.page-head h1{font-family:Fraunces,serif;color:#7b1026}
.btn-primary{background:#7b1026;color:#fffaf5;box-shadow:0 5px 12px #7b102624}
.btn-primary:hover{background:#5b0d1d}
.btn-light{background:#fffdfa;color:#7b1026;border-color:var(--line)}
.btn-light:hover{background:#fbf1eb}
.btn-quiet{color:#7b1026}
.card{background:#fffdfa;border-color:var(--line);box-shadow:var(--shadow)}
.metric-icon{background:#f2e3df;color:#7b1026}
.metric-number{color:#7b1026}
.chart-line,.chart-point{stroke:#7b1026}
.chart-fill{fill:url(#chartFade)}
.legend-dot{background:#7b1026}
.donut{background:conic-gradient(#7b1026 0deg 245deg,#f0e2db 245deg 360deg)}
.bar-track{background:#f1e8e2}.bar-fill{background:#c9a35d}
.schedule-marker{background:#c9a35d}
.detail-hero{background:linear-gradient(120deg,#fffdfa 60%,#f4e6df)}
.progress{background:#f1e8e2}.progress i{background:#c9a35d}
.table-wrap{overscroll-behavior-x:contain}
.form-field input:focus,.form-field select:focus,.filter-select:focus,.input:focus{border-color:#b98288;box-shadow:0 0 0 3px #f1e0e2}
.nav-item:focus-visible,.btn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c9a35d;outline-offset:3px}
.auth-wrap{background:#fbf7f1}
.auth-art{background:#7b1026}
.auth-brand{font-family:Fraunces,serif;color:#fffaf5;font-size:30px}
.auth-copy h1{font-family:Fraunces,serif;color:#fffaf5}
.auth-copy p{color:#eadfdc}
.auth-image{background:linear-gradient(0deg,#5b0d1ddd 0%,#7b102655 55%,#7b102622 100%),url('/public/vento-arena-community-v1.jpg') center/cover}
.auth-panel{background:#fbf7f1}
.auth-form h2{font-family:Fraunces,serif;color:#7b1026;font-size:31px}
.auth-form>.muted{color:#806f70}
.form-field span{color:#4f393c}
.form-field input,.form-field select{background:#fffdfa;border-color:var(--line)}
.auth-form .btn-primary{background:#7b1026}
.text-link{color:#7b1026}
.auth-divider:before,.auth-divider:after{background:var(--line)}
.demo-box{background:#f2e7e0;color:#806f70}
@media(max-width:760px){
  .sidebar{background:#7b1026;box-shadow:14px 0 42px #39292d30}
  .topbar{background:#fffdfaeF}
  .content{background:var(--bg)}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.school-context{min-width:0;flex:1}.school-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.school-picker select{max-width:174px;width:100%;height:27px;margin-top:5px;padding:0 5px;border:1px solid #eadfd6;border-radius:7px;background:#fffdfa;color:#806f70;font-size:10px}.school-picker select:focus-visible{outline:3px solid #c9a35d;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


/* LOGIN REFERENCE: light Vento composition */
.auth-reference{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);
  background:#f8f2eb;
  color:#2d2021;
  padding:12px;
  gap:18px;
  font-family:Manrope,sans-serif;
}
.auth-reference-photo,.auth-reference-panel{
  border:1px solid #dfd2ca;
  border-radius:18px;
  overflow:hidden;
  min-height:calc(100vh - 24px);
}
.auth-reference-photo{
  position:relative;
  background:
    linear-gradient(180deg,#7b10260a 0%,#7b102677 100%),
    url('/public/vento-login-footvolley-red-v1.jpg') center/cover;
  color:#fffaf5;
}
.auth-reference-photo:before{
  content:"";
  position:absolute;
  width:180px;height:90px;
  border-top:5px solid #d8b86f;
  border-radius:50%;
  top:35px;right:25px;
  transform:rotate(-20deg);
}
.auth-reference-photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#7b102655 0%,#7b102622 55%,transparent 100%);
  pointer-events:none;
}
.auth-reference-swoosh{position:absolute;z-index:2;left:36px;top:30px;width:170px;height:95px;border-top:4px solid #d8b86f;border-radius:50%;transform:rotate(-23deg)}
.auth-reference-ball{position:absolute;z-index:2;right:68px;top:30px;color:#d8b86f;font-size:46px}
.auth-reference-brand{position:absolute;z-index:3;left:44px;top:34%;font:600 47px/1 Fraunces,serif;color:#fffaf5;letter-spacing:-2px}
.auth-reference-brand span{color:#d8b86f}
.auth-reference-copy{position:absolute;z-index:3;left:44px;bottom:70px;max-width:480px}
.auth-reference-copy small{font-size:10px;letter-spacing:2.4px;font-weight:900;color:#e9c985}
.auth-reference-copy h1{font:600 43px/1.02 Fraunces,serif;margin:12px 0 0;color:#fffaf5}
.auth-reference-copy em{color:#e5c47c;font-style:italic}
.auth-reference-panel{background:#fffaf5;display:flex;align-items:center;justify-content:center}
.auth-reference-form{width:min(100%,420px);padding:42px}
.auth-reference-logo{font:600 39px/1 Fraunces,serif;color:#7b1026;text-align:center;letter-spacing:-2px;margin-bottom:38px;position:relative}
.auth-reference-logo:before{content:"";position:absolute;width:48px;height:16px;border-top:2px solid #c8a15b;border-radius:50%;top:-3px;right:43%;transform:rotate(-16deg)}
.auth-reference-form .eyebrow{color:#9a6c38;font-size:9px;letter-spacing:2px;font-weight:900}
.auth-reference-form h2{font:700 30px/1.05 Fraunces,serif;color:#7b1026;margin:8px 0}
.auth-reference-form>p{font-size:12px;line-height:1.55;color:#4f4143;margin:0 0 22px}
.auth-reference-form .form-field{display:block;position:relative;margin:15px 0}
.auth-reference-form .form-field span{display:block;font-size:10px;font-weight:800;color:#322729;margin:0 0 7px}
.auth-reference-form .form-field input,.auth-reference-form .form-field select{width:100%;height:38px;border:1px solid #cfc2bc;border-radius:7px;background:#fffaf5;color:#2d2021;padding:0 12px;font-size:11px;box-sizing:border-box}
.auth-reference-form .form-field input:focus,.auth-reference-form .form-field select:focus{border-color:#b78688;box-shadow:0 0 0 3px #7b102613;outline:0}
.auth-reference-form .password-field input{padding-right:40px}
.password-eye{position:absolute;right:7px;bottom:5px;width:30px;height:28px;border:0;background:none;color:#6c5b5d;cursor:pointer}
.reference-login-submit{margin-top:16px;height:40px}
.auth-reference-form .reference-forgot{margin:18px auto 0}
.auth-reference-bottom{display:flex;justify-content:space-between}
.auth-reference-form .reference-login-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:35px;padding-top:18px;border-top:1px solid #e4d8d1;font-size:9px;color:#8a7a7b}
.auth-reference-form .text-link{border:0;background:none;color:#7b1026;font-size:10px;cursor:pointer}
@media(max-width:800px){
 .auth-reference{grid-template-columns:1fr;padding:8px}.auth-reference-photo{min-height:300px;height:300px}.auth-reference-panel{min-height:auto}.auth-reference-copy{left:28px;bottom:30px}.auth-reference-copy h1{font-size:31px}.auth-reference-brand{left:28px;top:26px;font-size:38px}.auth-reference-form{padding:32px 25px}
}


/* FINAL INTERNAL VENTO VISUAL SYSTEM: approved light identity */
:root{
 --vento-wine:#7b1026;
 --vento-wine-dark:#5d0d1d;
 --vento-gold:#c8a15b;
 --vento-gold-soft:#e4c47d;
 --vento-ivory:#f8f2eb;
 --vento-paper:#fffaf5;
 --vento-ink:#302426;
 --vento-muted:#786a6c;
 --vento-line:#dfd2ca;
}
body{background:var(--vento-ivory);color:var(--vento-ink)}
.app-shell{background:var(--vento-ivory)}
.sidebar{background:var(--vento-wine);border:0;box-shadow:8px 0 30px #5d0d1d18}
.brand{padding:0 11px}
.brand-mark{background:var(--vento-gold);color:var(--vento-wine);border-radius:50%}
.brand-name{font-family:Fraunces,serif;color:#fffaf5;font-size:23px}
.brand-caption,.nav-label{color:#eadbd2}
.nav-item{color:#f5e9e3}
.nav-item:hover{background:#8e273d;color:#fffaf5}
.nav-item.active{background:var(--vento-gold-soft);color:#5d281e}
.nav-icon{color:inherit}
.school-switch{border-color:#9c4053;background:#741124}
.school-avatar{background:var(--vento-gold);color:var(--vento-wine)}
.school-name{color:#fffaf5}.school-location{color:#eadbd2}.school-picker select{background:#fffaf5;color:#5d4b4e;border-color:#dfd2ca}
.logout{color:#eadbd2}
.main-area{background:var(--vento-ivory)}
.topbar{background:#fffaf5ee;border-color:var(--vento-line)}
.breadcrumb{color:#8a7a7c}.breadcrumb b{color:#3d2c2f}
.avatar{background:#f0e0df;color:var(--vento-wine)}
.profile-name{color:#39282b}.profile-role{color:#8a7a7c}
.content{background:var(--vento-ivory)}
.page-head h1,.section-title,.class-card h3{font-family:Fraunces,serif;color:var(--vento-wine)}
.eyebrow{color:#9a6c38}
.card,.metric-card,.class-card,.modal{background:var(--vento-paper);border-color:var(--vento-line);box-shadow:0 12px 34px #5d0d1d0a}
.btn-primary{background:var(--vento-wine);color:#fffaf5;box-shadow:0 5px 13px #7b102624}
.btn-primary:hover{background:var(--vento-wine-dark)}
.btn-light{background:var(--vento-paper);color:var(--vento-wine);border-color:var(--vento-line)}
.btn-quiet,.text-link{color:var(--vento-wine)}
.metric-icon{background:#f3e4df;color:var(--vento-wine)}
.metric-number{color:var(--vento-wine)}
.metric-note .up{color:#a06f35}
.chart-line,.chart-point{stroke:var(--vento-wine)}.legend-dot{background:var(--vento-wine)}
.chart-fill{fill:url(#chartFade)}
.donut{background:conic-gradient(var(--vento-wine) 0deg 245deg,#eee3dc 245deg 360deg)}
.bar-track,.progress{background:#eee4de}.bar-fill,.progress i{background:var(--vento-gold)}
th{color:#817173;background:#f4ebe5;border-color:var(--vento-line)}
td{color:#6f6062;border-color:#eadfd8}.cell-main{color:#3a292c}.cell-sub{color:#88797b}
.badge-green{background:#eee9df;color:#715d37}.badge-blue{background:#f0e6e5;color:#755a61}.badge-orange{background:#f5e7c9;color:#8b6326}.badge-red{background:#f3e0df;color:#8d3946}
.schedule-marker{background:var(--vento-gold)}
.tabs{border-color:var(--vento-line)}.tab.active{border-color:var(--vento-wine);color:var(--vento-wine)}
.day-pill{background:var(--vento-paper);border-color:var(--vento-line)}.day-pill.selected{background:var(--vento-gold-soft);border-color:#d1ad69;color:#4e291f}.day-pill.selected b{color:#4e291f}
.detail-hero{background:linear-gradient(115deg,var(--vento-paper) 52%,#f3e4dc)}
.form-field span{color:#4b393b}.form-field input,.form-field select,.search-box input,.filter-select,.input{background:var(--vento-paper);border-color:var(--vento-line)}
.form-field input:focus,.form-field select:focus,.filter-select:focus,.input:focus{border-color:#b78688;box-shadow:0 0 0 3px #7b102613}
.student-welcome{background-image:linear-gradient(90deg,#7b1026e8 0%,#7b1026bb 53%,#7b102640 100%),url('/public/vento-footvolley-hero-v3.jpg');color:#fffaf5}
.student-welcome p{color:#f1e5e0}.student-welcome .eyebrow{color:#e6c47b!important}.student-welcome .btn{background:var(--vento-gold-soft);color:#4f291f}
.auth-wrap{background:var(--vento-ivory)}.auth-panel{background:var(--vento-paper)}
.auth-art{background-image:linear-gradient(115deg,#7b1026d9 0%,#7b102677 65%,#7b102633 100%),url('/public/vento-login-footvolley-red-v1.jpg');background-size:cover;background-position:center}
.auth-brand{font-family:Fraunces,serif;color:#fffaf5}.auth-brand span{color:var(--vento-gold-soft)}
.auth-copy .eyebrow{color:#e5c27b!important}.auth-copy h1{font-family:Fraunces,serif;color:#fffaf5}.auth-copy h1 span{color:var(--vento-gold-soft)!important}.auth-copy p{color:#eadfdc}
.auth-form .eyebrow{color:#9a6c38}.auth-form h2{font-family:Fraunces,serif;color:var(--vento-wine)}.auth-form>.muted{color:var(--vento-muted)}.auth-form .btn-primary{background:var(--vento-wine);color:#fffaf5}
.demo-box{background:#f3e7df;border-color:#e3d2c8;color:#756667}
.student-welcome h1{font-family:Fraunces,serif}
@media(max-width:760px){.sidebar{background:var(--vento-wine)}.topbar{background:#fffaf5ee}.content{background:var(--vento-ivory)}}


/* ==========================================================
   VENTO INTERNALS
   Same editorial identity, adapted to operational screens.
   ========================================================== */
.app-shell{font-family:'DM Sans',sans-serif}
.sidebar{
  position:fixed;overflow:hidden;
}
.sidebar:after{
  content:"";position:absolute;width:250px;height:250px;border:1px solid #ffffff16;border-radius:50%;
  right:-160px;top:210px;box-shadow:0 0 0 34px #ffffff09,0 0 0 72px #ffffff05;pointer-events:none
}
.sidebar .brand,.sidebar .nav-group,.sidebar .nav-bottom{position:relative;z-index:2}
.brand-mark{font-family:Fraunces,serif!important}
.brand-name{font-weight:600!important}
.nav-label{font-family:Manrope,sans-serif;font-size:8px!important;letter-spacing:1.8px!important}
.nav-item{border-radius:999px!important;height:40px!important}
.nav-item.active{box-shadow:inset 0 0 0 1px #c8a15b44}
.main-area{background:var(--vento-ivory)}
.topbar{box-shadow:0 5px 25px #5d0d1d08;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.content{padding-top:34px}
.page-head{margin-bottom:27px}
.page-head h1{font-size:31px!important;letter-spacing:-.9px!important}
.page-head .subhead{color:#857577}
.metric-grid{gap:14px}
.metric-card{min-height:145px!important;border-radius:16px!important;position:relative;overflow:hidden}
.metric-card:after{
  content:"";position:absolute;width:95px;height:95px;border:1px solid #c8a15b18;border-radius:50%;
  right:-52px;bottom:-55px
}
.metric-label{font-size:9px!important;letter-spacing:.8px;color:#89797a!important;text-transform:uppercase}
.metric-number{font-family:Manrope,sans-serif;font-size:30px!important;letter-spacing:-1px}
.metric-note{color:#89797a}
.card{border-radius:17px!important}
.card-head{padding-bottom:16px!important}
.section-title{font-family:Fraunces,serif!important;color:var(--vento-wine)!important;font-size:19px!important}
.section-sub{color:#8a7a7c!important}
.dashboard-grid,.detail-columns,.split-grid{gap:16px!important}
.table-card table{border-radius:12px;overflow:hidden}
.table-card th{font-size:8px!important;letter-spacing:1px!important}
.btn{border-radius:999px!important}
.btn-primary{font-weight:800!important}
.btn-light{box-shadow:0 4px 14px #5d0d1d08}
.modal{border-radius:20px!important}
.modal-head h2{font-family:Fraunces,serif!important;color:var(--vento-wine)!important;font-size:24px!important}
.toast{background:var(--vento-wine)!important;border:1px solid #c8a15b55}

.student-welcome{
  min-height:250px!important;border-radius:22px!important;
  background-position:center!important;box-shadow:0 20px 45px #5d0d1d18!important
}
.student-welcome:before{
  content:"";position:absolute;right:38px;top:30px;width:150px;height:150px;border:1px solid #d9b66e35;border-radius:50%;
}
.student-welcome h1{font-size:31px!important;letter-spacing:-1px}
.student-welcome .btn{border-radius:999px!important}

.class-card{border-radius:16px!important;transition:transform .2s,box-shadow .2s}
.class-card:hover{transform:translateY(-3px);box-shadow:0 20px 38px #5d0d1d10}
.class-card h3{font-size:20px!important}
.day-pill{border-radius:999px!important}
.day-pill.selected{box-shadow:0 6px 18px #c8a15b25}

.auth-wrap{
  min-height:100vh!important;
  padding:12px!important;
  gap:18px!important;
}
.auth-art,.auth-panel{border-radius:20px!important;border:1px solid var(--vento-line)!important}
.auth-art{min-height:calc(100vh - 24px)!important;position:relative;overflow:hidden}
.auth-art:after{
  content:"";position:absolute;width:300px;height:300px;border:1px solid #d8b66e35;border-radius:50%;
  right:-130px;top:40px;box-shadow:0 0 0 40px #d8b66e08,0 0 0 80px #d8b66e05
}
.auth-panel{box-shadow:0 18px 50px #5d0d1d0d}
.auth-form{max-width:430px!important}
.auth-form h2{font-size:34px!important;letter-spacing:-1px}
.auth-form .btn-primary{height:46px!important;border-radius:999px!important}
.auth-form .form-field input,.auth-form .form-field select{height:43px!important;border-radius:9px!important}
.demo-box{border:1px solid #e3d2c8!important;border-radius:12px!important}

@media(max-width:760px){
  .content{padding-top:25px}
  .page-head h1{font-size:27px!important}
  .metric-card{min-height:125px!important}
  .auth-wrap{padding:0!important}
  .auth-art,.auth-panel{border-radius:0!important;border:0!important}
  .student-welcome{min-height:220px!important}
}
