/* GAR ACADEMY V13 — APP / GMS EXACT VISUAL SYSTEM */
:root{
 --v13-bg:#fffaf7;--v13-paper:#fff;--v13-ink:#101b2b;--v13-text:#44505e;--v13-muted:#89919b;
 --v13-green:#006b5d;--v13-green2:#007d6c;--v13-dark:#132c3b;--v13-dark2:#0d2432;
 --v13-mint:#ccf7ee;--v13-mint2:#6edbc5;--v13-gold:#f8b83e;--v13-gold2:#ffd77a;
 --v13-blue:#e9f5ff;--v13-purple:#f1edff;--v13-pink:#fff0ed;--v13-cream:#fff7e8;
 --v13-line:rgba(27,47,62,.075);--v13-shadow:0 10px 34px rgba(32,45,58,.07);--v13-shadow2:0 18px 60px rgba(32,45,58,.11);
 --v13-r:18px;--v13-max:1460px;
}
html,body{background:#fffaf7!important;color:var(--v13-text)!important}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
.wrap,.appbar-in{max-width:var(--v13-max)!important}
.wrap{padding-top:4px!important}
.nav-ico svg,.mobile-bottom svg,.gms-notify svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* STUDENT / AUTH HEADER */
body:not(.gar-admin-app) .appbar{background:rgba(255,255,255,.98)!important;border-bottom:1px solid var(--v13-line)!important;box-shadow:none!important}
body:not(.gar-admin-app) .appbar-in{min-height:70px!important}
.student-logo-mark{width:40px;height:40px;display:grid;place-items:center;border:2px solid #e7b64f;border-radius:50%;font-size:9px;font-weight:950;color:#c78c20;background:#fff8e9}
.student-logo-copy{display:flex;flex-direction:column;gap:2px}.student-logo-copy b{font-size:16px;color:var(--v13-ink)}.student-logo-copy small{font-size:8px;letter-spacing:.13em;color:var(--v13-green);font-weight:900}
body:not(.gar-admin-app) .logo:before{display:none!important}.logo small{padding-left:0!important}.logo{flex-direction:row!important;align-items:center!important;gap:10px!important}
body:not(.gar-admin-app) .nav{margin-left:auto!important}.nav a{font-size:12px!important;font-weight:750!important}.nav a.active{background:var(--v13-mint)!important;color:var(--v13-green)!important}

/* GENERIC COMPONENTS */
.card{border:1px solid var(--v13-line)!important;border-radius:18px!important;box-shadow:none!important;background:#fff!important}
.card:hover{box-shadow:0 10px 30px rgba(25,45,60,.045)!important}
.hero{background:linear-gradient(135deg,#fff 0%,#fffaf5 58%,#effcf9 100%)!important;border-color:var(--v13-line)!important;box-shadow:none!important}
.tag,.eyebrow{background:#e5faf5!important;color:#137867!important;border:0!important;font-size:10px!important;letter-spacing:.12em!important;font-weight:900!important}
.tag.gold{background:#fff2d6!important;color:#a36a00!important}.tag.warn{background:#fff1df!important;color:#a96700!important}.tag.red{background:#fff0ed!important;color:#c05950!important}.tag.gray{background:#f3f5f5!important;color:#76818a!important}
.btn{background:var(--v13-green)!important;border-radius:12px!important;font-weight:850!important;min-height:44px!important}.btn.soft{background:linear-gradient(180deg,#ffc85b,#f4aa28)!important;color:#182230!important}.btn.light{background:#fff!important;border:1px solid var(--v13-line)!important;color:var(--v13-ink)!important}
.progress{background:#eff1ef!important;height:6px!important}.progress i{background:linear-gradient(90deg,#39c9aa,#72ddc9)!important;border-radius:999px!important}
.stat{color:var(--v13-ink)!important;font-weight:900!important}.muted{color:var(--v13-muted)!important}
.section-title{margin-top:24px!important;margin-bottom:12px!important}.section-title h2{font-size:20px!important;color:var(--v13-ink)!important;margin:0!important}.section-title p{font-size:12px!important;color:var(--v13-muted)!important}
input,select,textarea{background:#fff!important;border:1px solid #e5e9ea!important;border-radius:12px!important;box-shadow:none!important}input:focus,select:focus,textarea:focus{border-color:#7ad8c6!important;box-shadow:0 0 0 3px rgba(79,207,181,.12)!important}
.table-wrap,.table{background:#fff!important}.table-wrap{border:1px solid var(--v13-line)!important;border-radius:17px!important;box-shadow:none!important}.table th{background:#fbfcfc!important;color:#7b858e!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.08em}.table td{font-size:12px!important;color:#394653!important}

/* AUTH: registration/login as centered app card */
.auth-shell{min-height:calc(100vh - 100px)!important;display:grid!important;place-items:start center!important;padding:48px 0 90px!important}
.auth-card{width:min(100%,560px)!important;background:#fff!important;padding:30px!important;border:1px solid var(--v13-line)!important;border-radius:24px!important;box-shadow:var(--v13-shadow)!important}
.auth-card h1{font-size:30px!important;letter-spacing:-.04em!important;color:var(--v13-ink)!important;margin:14px 0 8px!important}.auth-lead{font-size:13px!important;color:var(--v13-muted)!important;line-height:1.6!important}.auth-card .field{margin-top:14px!important}.auth-card .field label{font-size:11px!important;color:#26343f!important}.auth-main-btn{width:100%!important;margin-top:17px!important;background:linear-gradient(180deg,#ffc85b,#f4aa28)!important;color:#182230!important}.consent-row{align-items:flex-start!important;font-size:11px!important;color:#6c7780!important}.consent-row input{min-height:auto!important;width:17px!important;height:17px!important;border-radius:5px!important}.auth-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}.auth-divider{border-color:var(--v13-line)!important}.auth-foot{font-size:12px!important;color:#7a858d!important}

/* STUDENT HOME — like native app */
body.gar-student-app{background:#fffaf7!important}
body.gar-student-app .wrap{max-width:1120px!important;margin-top:18px!important}
.student-dashboard{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.7fr);gap:16px}
.student-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 2px 12px}
.student-welcome h1{font-size:28px!important;line-height:1.05!important;margin:0!important;color:var(--v13-ink)!important;letter-spacing:-.04em!important}.student-welcome p{font-size:12px!important;margin:7px 0 0;color:var(--v13-muted)!important}
.student-avatar{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#f7cf9e,#e8a36c);color:#fff;font-size:20px;font-weight:900;border:4px solid #fff;box-shadow:0 8px 24px rgba(104,68,36,.14)}
.program-summary{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-radius:17px;background:linear-gradient(135deg,#c8f6ec,#e7faf6)!important;border:0!important;margin-bottom:12px}.program-summary h3{margin:0!important;font-size:16px!important}.program-summary p{margin:4px 0 0!important;font-size:11px!important;color:#52706a!important}.program-summary .arrow{font-size:24px;color:#1d5b50}
.student-course-list{display:grid;gap:10px}.student-course-card{padding:15px 16px!important;border-radius:16px!important}.course-topline{display:flex;gap:10px;align-items:center}.course-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#fff0dc,#f4ddff);font-size:20px}.course-copy{flex:1;min-width:0}.course-copy h3{font-size:13px!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.course-copy p{font-size:10px!important;margin:3px 0 0!important;color:var(--v13-muted)!important}.course-pct{font-size:11px;font-weight:800;color:#5d6a73}.student-course-card .progress{margin-top:10px!important}.student-course-actions{display:flex;gap:8px;margin-top:10px}.student-course-actions .btn{min-height:36px!important;font-size:10px!important;padding:0 12px!important}
.student-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.student-quick{padding:16px!important;border-radius:16px!important;display:flex!important;align-items:center!important;gap:10px!important}.student-quick .qicon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px}.student-quick:nth-child(1) .qicon{background:#f0ecff;color:#6b59db}.student-quick:nth-child(2) .qicon{background:#e7fbf4;color:#1ca67e}.student-quick:nth-child(3) .qicon{background:#fff0ee;color:#ee6a59}.student-quick:nth-child(4) .qicon{background:#fff3df;color:#e79b17}.student-quick b{display:block;font-size:12px;color:var(--v13-ink)}.student-quick span{font-size:10px;color:var(--v13-muted)}
.student-side-card{padding:18px!important;border-radius:18px!important}.student-side-card h3{font-size:15px!important;margin:0 0 10px!important}.student-side-card .mini-stat{font-size:42px;font-weight:900;color:var(--v13-ink);line-height:1}.student-side-card .btn{width:100%;margin-top:12px}

/* GMS DESKTOP */
body.gar-admin-app{background:#f8faf9!important}
body.gar-admin-app .appbar{display:none!important}
.gms-sidebar{position:fixed;z-index:400;left:0;top:0;bottom:0;width:210px;background:linear-gradient(180deg,#152e3d,#102837);padding:18px 12px 15px;color:#fff;display:flex;flex-direction:column;box-shadow:none}
.gms-brand{display:flex;align-items:center;gap:10px;padding:7px 8px 18px;border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:12px}.gms-mark{width:39px;height:39px;border:2px solid #d5a844;border-radius:50%;display:grid;place-items:center;color:#e9bd5c;font-size:9px;font-weight:950}.gms-brand b{display:block;font-size:13px}.gms-brand small{display:block;font-size:7px;letter-spacing:.12em;color:#9cb0ba;margin-top:2px}
.gms-nav{display:grid;gap:3px}.gms-nav a,.gms-sidebar-foot a{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;color:#d8e1e5;font-size:11px;font-weight:680}.gms-nav a:hover,.gms-nav a.active{background:rgba(255,255,255,.10);color:#fff}.gms-nav .nav-ico,.gms-sidebar-foot .nav-ico{width:19px;height:19px;display:grid;place-items:center}.gms-sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.07);padding-top:8px}
.gms-topbar{position:fixed;left:210px;right:0;top:0;height:62px;z-index:300;background:rgba(255,255,255,.98);border-bottom:1px solid var(--v13-line);display:flex;align-items:center;justify-content:space-between;padding:0 24px}.gms-topbar>div:first-of-type b{display:block;font-size:14px;color:var(--v13-ink)}.gms-topbar>div:first-of-type span{display:block;font-size:9px;color:var(--v13-muted);margin-top:1px}.gms-top-actions{display:flex;align-items:center;gap:12px}.gms-notify{position:relative;width:36px;height:36px;border-radius:11px;border:1px solid var(--v13-line);display:grid;place-items:center;background:#fff}.gms-notify i{position:absolute;right:7px;top:6px;width:6px;height:6px;background:#ff574d;border:2px solid #fff;border-radius:50%}.gms-user-chip{padding:8px 11px;background:#fff;border:1px solid var(--v13-line);border-radius:999px;color:#4c5963;font-size:10px}.gms-menu-toggle{display:none}
body.gar-admin-app .gms-main{max-width:none!important;margin:0 0 70px 210px!important;padding:82px 22px 30px!important;width:auto!important}
.gms-dashboard-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}.gms-dashboard-head h1{margin:0;color:var(--v13-ink);font-size:23px;letter-spacing:-.035em}.gms-dashboard-head p{margin:4px 0 0;color:var(--v13-muted);font-size:11px}.gms-actions{display:flex;gap:7px;flex-wrap:wrap}.gms-actions .btn{min-height:36px!important;font-size:10px!important}
.gms-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.gms-stat-card{padding:16px;border:1px solid var(--v13-line);border-radius:15px;background:#fff}.gms-stat-card:nth-child(1){background:linear-gradient(135deg,#eefbf8,#fff)}.gms-stat-card:nth-child(2){background:linear-gradient(135deg,#f4f0ff,#fff)}.gms-stat-card:nth-child(3){background:linear-gradient(135deg,#eef8ff,#fff)}.gms-stat-card:nth-child(4){background:linear-gradient(135deg,#fff8e9,#fff)}.gms-stat-label{font-size:9px;color:#7d8991;display:flex;align-items:center;gap:6px}.gms-stat-value{font-size:28px;font-weight:900;color:var(--v13-ink);line-height:1;margin-top:10px}.gms-stat-foot{font-size:9px;color:#30a271;margin-top:8px}
.gms-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:10px;margin-top:10px}.gms-panel{background:#fff;border:1px solid var(--v13-line);border-radius:16px;padding:16px}.gms-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.gms-panel-head h2{margin:0;font-size:13px;color:var(--v13-ink)}.gms-panel-head a{font-size:9px;color:var(--v13-green);font-weight:800}.gms-order-list,.gms-notice-list{display:grid;gap:4px}.gms-order{display:grid;grid-template-columns:34px minmax(0,1fr) 92px 75px 70px;align-items:center;gap:8px;padding:9px 0;border-top:1px solid #f0f2f2;font-size:10px}.gms-order:first-child{border-top:0}.gms-order-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#f1d4b1;color:#7b542a;font-weight:900}.gms-order b{font-size:10px;color:#26333e}.gms-order span{font-size:8.5px;color:var(--v13-muted)}.gms-price{font-weight:800;color:#293640}.status-pill{display:inline-flex;padding:5px 7px;border-radius:999px;font-size:8px;font-weight:800;justify-content:center}.status-paid{background:#e6f9ef;color:#16895f}.status-wait{background:#fff1da;color:#ad7100}.gms-notice-item{padding:11px;border-radius:12px;background:#fbfcfc;display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:start}.gms-notice-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#e9fbf6;color:#1da987}.gms-notice-item b{display:block;font-size:9.5px;color:#27343e}.gms-notice-item span{font-size:8px;color:var(--v13-muted)}.gms-notice-item time{font-size:7.5px;color:#a0a7ad}
.gms-alert-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}.gms-mini-panel{background:#fff;border:1px solid var(--v13-line);border-radius:15px;padding:14px}.gms-mini-panel h3{font-size:12px;margin:0 0 8px;color:var(--v13-ink)}.attention-item{font-size:10px!important;padding:9px 11px!important;border-radius:10px!important;background:#fbfcfc!important;border-color:#eef1f1!important}

/* Other GMS pages inherit clean surfaces */
body.gar-admin-app .hero{padding:18px!important;border-radius:16px!important;background:#fff!important}.gar-admin-app .hero h1{font-size:22px!important}.gar-admin-app .quick-actions{gap:7px!important}.gar-admin-app .quick-actions a{font-size:10px!important;border-radius:10px!important;background:#fff!important;border:1px solid var(--v13-line)!important}.gar-admin-app .card{border-radius:15px!important}.gar-admin-app .section-title h2{font-size:17px!important}

/* MOBILE APPLICATION */
.mobile-bottom{background:#fff!important;border:1px solid #e8eceb!important;box-shadow:0 8px 32px rgba(25,40,52,.12)!important}.mobile-bottom a b{height:21px!important}.mobile-bottom a b svg{width:19px;height:19px}.mobile-bottom a:hover,.mobile-bottom a:active{background:transparent!important;color:var(--v13-green)!important}
@media(max-width:1000px){
 .gms-sidebar{transform:translateX(-105%);transition:.25s}.gms-menu-open .gms-sidebar{transform:translateX(0)}.gms-topbar{left:0;padding:0 14px;height:58px}.gms-menu-toggle{display:block;border:0;background:transparent;font-size:22px;color:var(--v13-ink)}.gms-topbar>div:first-of-type{margin-right:auto;margin-left:9px}.gms-user-chip{display:none}body.gar-admin-app .gms-main{margin-left:0!important;padding:72px 12px 86px!important}.gms-stats{grid-template-columns:repeat(2,1fr)}.gms-dashboard-grid,.gms-alert-strip{grid-template-columns:1fr}.gms-order{grid-template-columns:34px minmax(0,1fr) 78px}.gms-order .hide-mobile{display:none}.gms-dashboard-head{align-items:flex-start;flex-direction:column}.gms-actions{width:100%}
}
@media(max-width:760px){
 body.gar-student-app .appbar-in{padding-left:14px!important;padding-right:14px!important}.student-logo-copy b{font-size:13px}.student-logo-mark{width:34px;height:34px}.student-dashboard{grid-template-columns:1fr}.student-welcome{padding-top:5px}.student-welcome h1{font-size:21px!important}.student-avatar{width:52px;height:52px}.program-summary{padding:15px}.student-quick-grid{grid-template-columns:1fr 1fr}.student-side-card{display:none}.student-course-actions .btn.light{display:none}.student-course-actions .btn{width:100%}.auth-shell{padding:18px 0 90px!important}.auth-card{border:0!important;border-radius:20px!important;padding:22px 17px!important;box-shadow:none!important}.auth-card h1{font-size:26px!important}.auth-actions{grid-template-columns:1fr!important}.gms-stats{grid-template-columns:1fr 1fr}.gms-stat-value{font-size:23px}.gms-panel{padding:13px}.gms-order{font-size:9px}.mobile-bottom{left:7px!important;right:7px!important;bottom:7px!important;border-radius:18px!important}.mobile-bottom a{font-size:8px!important}
}
