/* HMGS Testi · Ekim 2026 (doğal palet: turuncu, beyaz, siyah, kırmızı, mavi)
   Ortak renk ve erişilebilirlik katmanı. Ders işlevleri ve yerel ilerleme korunur. */
:root{
  --navy:#143453;--navy2:#102b47;--blue:#2164ad;--gold:#ed641c;--orange:#ed641c;
  --ink:#1f3349;--text:#1f3349;--muted:#64748b;--line:#dce5ee;--bg:#f5f7fb;
  --panel:#fff;--card:#fff;--soft:#edf4fd;--chip:#edf4fd;--red:#cc3e40;
  --shadow:0 12px 34px rgba(20,52,83,.07);--theme-orange:#ed641c;
  --theme-orange-dark:#b9420a;--theme-orange-soft:#fff2e8;--theme-blue-soft:#edf4fd;
  --theme-red-soft:#fff0f0;--theme-radius:18px;
}
html{scroll-padding-top:88px;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--ink)}
*,*:before,*:after{box-sizing:border-box}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #2164ad;outline-offset:3px}
input,select,textarea{accent-color:var(--blue)}
::selection{background:#ffd9c3;color:#143453}
[hidden]{display:none!important}

/* Ana site, hesap ve yönetim */
.site-header{border-top:4px solid var(--orange);box-shadow:0 3px 16px #14345306}
.nav{min-height:78px}
.brand{gap:12px}.brand-mark{background:var(--orange);box-shadow:0 4px 12px #ed641c1c;border-radius:13px}
.brand img{flex:0 0 auto}.brand b{font-size:19px;letter-spacing:-.5px}.brand small{font-size:10px;color:#64748b}
.main-nav{gap:7px;align-items:center}.main-nav a{font-size:13px;padding:10px 13px;color:var(--navy)}
.main-nav a:hover{background:var(--theme-orange-soft);color:var(--theme-orange-dark)}
.main-nav a.nav-cta{background:var(--blue);color:#fff}
body:not(.hmgs-hub):not(.hmgs-course) .hero{background:linear-gradient(110deg,#fff 45%,#fff4ec);color:var(--navy);padding:70px 0;border-bottom:1px solid #f1ddcf}
body:not(.hmgs-hub):not(.hmgs-course) .hero:after{border-color:#f8ddca;width:530px;height:530px;right:-240px;top:-290px}
body:not(.hmgs-hub):not(.hmgs-course) .hero-grid{gap:58px;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)}
body:not(.hmgs-hub):not(.hmgs-course) .hero h1{font-size:clamp(36px,4.8vw,60px);line-height:1.1;letter-spacing:-.05em;max-width:780px}
body:not(.hmgs-hub):not(.hmgs-course) .hero h1 em{font-style:normal;color:var(--theme-orange-dark)}
body:not(.hmgs-hub):not(.hmgs-course) .hero p{color:#526780;line-height:1.85;font-size:16px;max-width:650px}
.eyebrow{color:var(--theme-orange-dark);letter-spacing:.12em;font-size:11px;font-weight:850}
.eyebrow.dark{color:var(--theme-orange-dark)}
body:not(.hmgs-hub):not(.hmgs-course) .hero .eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;background:var(--theme-orange-soft);border:1px solid #f4cfb7;border-radius:8px}
body:not(.hmgs-hub):not(.hmgs-course) .trust-row{color:#53677d;font-weight:650;font-size:12px;gap:10px 20px;margin-top:22px}
.btn{min-height:44px;border-radius:10px;font-size:13px;font-weight:750;transition:background .15s,border-color .15s,box-shadow .15s;gap:8px}
.btn.primary{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 4px 12px #ed641c22}
.btn.primary:hover{background:#d65412;border-color:#d65412;filter:none;box-shadow:0 5px 18px #ed641c30}
.btn.ghost{background:#fff;color:var(--blue);border-color:#b9cde4}
.btn.ghost:hover{background:var(--theme-blue-soft);border-color:#7fa6d2}
body:not(.hmgs-hub):not(.hmgs-course) .hero .btn.ghost{background:#fff;color:var(--blue);border-color:#b9cde4}
.btn.small{min-height:38px}.btn:disabled{box-shadow:none}
body:not(.hmgs-hub):not(.hmgs-course) .hero-card{background:#fff;border:1px solid #d7e3ef;border-top:4px solid var(--blue);color:var(--navy);border-radius:20px;padding:26px;box-shadow:0 20px 50px #1434530d;backdrop-filter:none}
body:not(.hmgs-hub):not(.hmgs-course) .hero-card-top{border-color:var(--line);padding-bottom:16px;margin-bottom:8px}
body:not(.hmgs-hub):not(.hmgs-course) .hero-card-top span{color:var(--muted)}
body:not(.hmgs-hub):not(.hmgs-course) .hero-card-top b{color:var(--blue)}
body:not(.hmgs-hub):not(.hmgs-course) .hero-card .weight{border-color:#edf1f6;padding:13px 0}
body:not(.hmgs-hub):not(.hmgs-course) .hero-card .weight strong{color:var(--theme-orange-dark);font-size:23px}
body:not(.hmgs-hub):not(.hmgs-course) .hero-card .weight span{color:#526780;font-size:13px}
.section{padding:64px 0}.section.soft{background:#edf3fa;border-color:#dbe6f0}
.section-head h2{font-size:clamp(28px,3vw,38px);line-height:1.2}.section-head p{font-size:14px;line-height:1.8}
.cards{gap:18px}.card{padding:24px;border-radius:18px;box-shadow:0 5px 16px #14345305}
.card:nth-child(4n+1) .icon{background:var(--theme-orange-soft);color:#b9420a}
.card:nth-child(4n+2) .icon{background:var(--theme-blue-soft);color:var(--blue)}
.card:nth-child(4n+3) .icon{background:var(--theme-red-soft);color:#b83235}
.card:nth-child(4n+4) .icon{background:#eaf0f8;color:var(--navy)}
.icon{height:44px;width:44px;border-radius:12px}.card h3{font-size:18px}.card p{line-height:1.75}
.tag{background:var(--theme-orange-soft);color:var(--theme-orange-dark);border-color:#f3cfb8;padding:5px 9px}
.step{border-radius:15px;padding:20px}.step>span{background:var(--blue);border-radius:10px}.step:nth-child(3)>span{background:var(--orange)}.step:nth-child(4)>span{background:var(--red)}
.auth-card,.member-box{border-radius:20px;padding:28px;box-shadow:0 8px 28px #14345307}.auth-card h3,.member-box h3{font-size:24px}
.auth-card{border-top:3px solid var(--blue)}.auth-card:last-child{border-top-color:var(--orange)}
body:not(.hmgs-course):not(.hmgs-hub) label{font-weight:700;color:#3d526b}
body:not(.hmgs-course):not(.hmgs-hub) input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body:not(.hmgs-course):not(.hmgs-hub) select,body:not(.hmgs-course):not(.hmgs-hub) textarea{min-height:45px;border:1px solid #c9d6e4;border-radius:9px;background:#fff;font:inherit;font-size:14px;color:var(--navy)}
body:not(.hmgs-course):not(.hmgs-hub) input:focus,body:not(.hmgs-course):not(.hmgs-hub) select:focus,body:not(.hmgs-course):not(.hmgs-hub) textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2164ad15}
.form-note{font-size:11px;line-height:1.55}
.flash{font-size:13px;line-height:1.7}.flash.success{background:#eef5ff;border-color:#c3d8f0;color:#1d558d}.flash.error{background:#fff0f0;border-color:#eabfc0;color:#a52930}
.status{font-size:11px;padding:5px 10px}.status.approved,.shopier-check.verified{background:#edf5ff;color:#1d558d;border-color:#b8d0ed}.status.pending,.shopier-check.unavailable{background:#fff2e7;color:#a54210;border-color:#f2c4a4}.status.rejected,.shopier-check.mismatch{background:#fff0f0;color:#b32f35;border-color:#ebbec0}
body:not(.hmgs-course) footer{background:var(--navy2);border-top:4px solid var(--orange);color:#e8eff8}.footer-inner span,.footer-inner p{color:#bfd0e2;font-size:12px}
.admin-body{background:#f3f6fa}.admin-top{background:var(--navy);border-bottom:4px solid var(--orange)}.admin-top-inner{min-height:74px;gap:16px}.admin-top b{font-size:17px}.admin-top span{font-size:11px;margin-top:2px}
.admin-login-card{border-top:4px solid var(--orange);padding:30px;border-radius:20px}
.admin-main{padding:34px 0 60px}.admin-title h1{font-size:32px;line-height:1.2}.admin-quick-actions{gap:8px}
.admin-stats{gap:12px;margin:24px 0}.admin-stats>div{border-bottom:3px solid #bcd2ea;padding:18px}.admin-stats>div:first-child{border-bottom-color:var(--orange)}.admin-stats>div:nth-child(3){border-bottom-color:var(--red)}.admin-stats span{font-size:12px}
.admin-panel{border-radius:16px;box-shadow:0 4px 18px #14345304}.panel-head{padding:20px;background:#fbfcfe}.panel-head h2{font-size:18px}.panel-head p{font-size:12px;line-height:1.65}
.admin-table th{padding:13px;background:#edf3fa;white-space:nowrap;font-size:11px;letter-spacing:.01em}.admin-table td{padding:14px 12px;line-height:1.6}.admin-table tbody tr:hover{background:#fafcff}.admin-table td small{font-size:11px}
.mini{font-size:11px;padding:7px 9px;min-height:34px}.mini.approve,.mini.extend{background:#edf5ff;border-color:#b8d0ed;color:#1d558d}.mini.reject,.mini.danger{background:#fff0f0;border-color:#ebbec0;color:#b32f35}.mini.deactivate{background:#f2f4f7;color:#52647b}
body .mini-days{min-height:34px!important}.actions-cell{gap:6px}.mini-disabled{font-size:11px;padding:7px 9px}

/* Şifre kurtarma / e-posta ayarları */
.recovery-body{background:linear-gradient(155deg,#fff5ec 0,#f4f7fc 60%)}
.recovery-header{border-top:4px solid var(--orange);border-bottom-color:var(--line);padding-top:17px;padding-bottom:17px}
.recovery-brand,.recovery-home{color:var(--navy)}.recovery-brand b{color:var(--theme-orange-dark)}
.recovery-card{border-top-color:var(--orange);box-shadow:0 14px 42px #14345308}.recovery-symbol{background:var(--theme-orange-soft);color:var(--theme-orange-dark);border-color:#f3cfb8}
.recovery-eyebrow,.recovery-detail>span:first-child{color:var(--theme-orange-dark)}
.recovery-card h1,.smtp-heading h1{color:var(--navy)}.recovery-note{background:var(--theme-orange-soft);border-color:#f3cfb8;color:#994010}
body .recovery-footer{background:transparent;border:0;color:var(--muted)}
.smtp-confirm{gap:20px}.smtp-check input{accent-color:var(--blue)}.smtp-last{background:var(--theme-blue-soft)}

/* =========================================================
   Üye çalışma merkezi (hmgs.html) — ana sayfa paleti:
   turuncu · beyaz · siyah · kırmızı · mavi. Lacivert kullanılmaz.
   ========================================================= */
.hmgs-hub,.hmgs-course{
  --ink:#1c1d21;--text:#1c1d21;--navy:#1c1d21;--navy2:#2b2c31;
  --muted:#5f6570;--line:#e4e6ea;--bg:#f6f7f9;--soft:#f3f4f6;--chip:#f3f4f6;
  --blue:#2164ad;--red:#cc3e40;--gold:#ed641c;--orange:#ed641c;
  --charcoal:#1c1d21;--charcoal-2:#2b2c31;
}
.hmgs-hub{--side-w:278px;--card-radius:18px;background:var(--bg);color:var(--ink)}
.hmgs-hub .hero{background:#fff;color:var(--ink);border-top:4px solid var(--orange);border-bottom:1px solid var(--line)}
.hmgs-hub .hero:after{border-color:#fdf0e5}
.hmgs-hub .hero h1{color:var(--ink)}.hmgs-hub .lead{color:#4d535d}
.hmgs-hub .hero .eyebrow,.hmgs-hub .hero .eyebrow-home{color:var(--theme-orange-dark)}
.hmgs-hub .hmgs-top-banner{background:#fff;border:0;box-shadow:none;color:var(--ink);padding:15px 8px;border-radius:0}
.hmgs-hub .banner-symbol{background:var(--theme-orange-soft);border:1px solid #f3ccb2;color:var(--theme-orange-dark);box-shadow:none}
.hmgs-hub .banner-brand b{color:var(--ink)}.hmgs-hub .banner-brand strong{color:var(--theme-orange-dark)}
.hmgs-hub .banner-title{color:var(--ink)}.hmgs-hub .banner-copy small{color:var(--muted)}
.hmgs-hub .banner-home{background:var(--orange);color:#fff;padding:11px 16px;border-radius:10px}
.hmgs-hub .stat{background:#fff;border-color:var(--line);color:var(--ink)}.hmgs-hub .stat span{color:var(--muted)}
.hmgs-hub .toolbar{background:rgba(246,247,249,.97);border-bottom-color:var(--line)}
.hmgs-hub .hmgs-account-nav{display:flex;justify-content:flex-end;padding:8px max(18px,calc((100% - 1454px)/2));background:#fff;border-bottom:1px solid var(--line)}
.hmgs-hub .hmgs-account-nav a{display:inline-flex;align-items:center;gap:18px;min-height:32px;color:var(--blue);font-size:12px;font-weight:750;text-decoration:none}
.hmgs-hub .hmgs-account-nav a:hover{text-decoration:underline;text-underline-offset:4px}
.hmgs-hub .searchbox input{border-color:#d3d7dd;border-radius:10px;min-height:46px;box-shadow:none;color:var(--ink)}
.hmgs-hub .searchbox input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2164ad1a}
.hmgs-hub .resultcount{color:var(--muted);border-color:var(--line);border-radius:10px}
.hmgs-hub .menu-toggle{border-color:#d3d7dd}.hmgs-hub .menu-toggle span{background:var(--ink)}

/* Sol menü: beyaz zemin, siyah yazı, turuncu vurgu */
.hmgs-hub .side-menu{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 20px #1c1d210a}
.hmgs-hub .side-brand{border-bottom-color:var(--line)}
.hmgs-hub .side-home{color:var(--ink)}.hmgs-hub .side-home b{color:var(--ink)}
.hmgs-hub .side-logo{background:var(--orange);color:#fff;border:0;box-shadow:none}
.hmgs-hub .side-home b span{color:var(--theme-orange-dark)}.hmgs-hub .side-home small{color:var(--muted)}
.hmgs-hub .side-scroll{scrollbar-color:#c9cdd3 transparent}
.hmgs-hub .side-label{color:#8a8f98}
.hmgs-hub .side-link{min-height:44px;font-size:11px;color:#2f3237}
.hmgs-hub .side-link:hover{background:#f4f5f7;color:var(--ink)}
.hmgs-hub .side-link.active{background:var(--theme-orange-soft);color:var(--theme-orange-dark);box-shadow:inset 3px 0 var(--orange)}
.hmgs-hub .side-icon{background:var(--theme-orange-soft);color:var(--theme-orange-dark);font-weight:800}
.hmgs-hub .side-link em{background:#f1f2f4;color:var(--muted)}
.hmgs-hub .side-link.special,.hmgs-hub .side-exams-bottom .side-link.special{background:var(--theme-red-soft);color:#a8292e}
.hmgs-hub .side-link.special .side-icon{background:#fff;color:var(--red)}
.hmgs-hub .side-exams-bottom{border-top-color:var(--line)}
.hmgs-hub .side-exams-bottom .side-label{color:var(--red)}
.hmgs-hub .side-exam-link{color:#4a4f57}.hmgs-hub .side-exam-link:hover{background:#f6f7f9;color:var(--ink)}
.hmgs-hub .side-exam-link:before{border-color:var(--red)}
.hmgs-hub .side-footer{border-top-color:var(--line);color:var(--muted)}.hmgs-hub .side-footer b{color:var(--ink)}
.hmgs-hub .menu-overlay{background:rgba(20,20,22,.42)}

/* Ders kartları */
.hmgs-hub .visual-card{background:#fff;box-shadow:0 3px 14px #1c1d2108!important;border-color:var(--line)!important}
.hmgs-hub .subject.high{border-top-color:var(--orange)!important}
.hmgs-hub .subject.mid{border-top-color:var(--blue)!important}
.hmgs-hub .subject.low{border-top-color:#8d929a!important}
.hmgs-hub .sectionhead,.hmgs-hub #denemeler .exam-head{background:#fff;border-bottom-color:var(--line)}
.hmgs-hub .section-art,
.hmgs-hub .subject.high .section-art,.hmgs-hub .subject.mid .section-art,.hmgs-hub .subject.low .section-art{
  background:var(--theme-orange-soft);color:var(--theme-orange-dark);border-color:#f3cfb8;box-shadow:none;border-radius:14px}
.hmgs-hub .exam-art{background:var(--theme-red-soft);color:var(--red);border-color:#efc5c6}
.hmgs-hub .rank{background:#fff;border-color:var(--line);color:var(--ink);box-shadow:none}
.hmgs-hub .sectionhead h2,.hmgs-hub .exam-head h2{color:var(--ink);font-size:18px}
.hmgs-hub .sectionhead p,.hmgs-hub .exam-head p{color:var(--muted);font-size:11px;line-height:1.5}
.hmgs-hub .weight{box-shadow:none;border-color:var(--line)}.hmgs-hub .weight strong{color:var(--ink)}
.hmgs-hub .visual-card .topics{background:#f7f8fa;gap:10px}
.hmgs-hub .visual-card .topic{box-shadow:none;border-radius:12px;border-color:var(--line)!important}
.hmgs-hub .visual-card .topic:hover{border-color:#f0b68f!important;background:#fffaf6;box-shadow:none}
.hmgs-hub .num{background:#f3f4f6;border-color:var(--line);color:var(--ink)}
.hmgs-hub .topic:hover .num{background:var(--theme-orange-soft);border-color:#f3cfb8;color:var(--theme-orange-dark)}
.hmgs-hub .topictext strong{color:var(--ink)}
.hmgs-hub .open,.hmgs-hub .open-pill{color:var(--blue)}.hmgs-hub .open-pill{background:var(--theme-blue-soft)}
.hmgs-hub .exam-box.visual-card{border-top-color:var(--red)!important}
.hmgs-hub .exam-badge{background:var(--red);color:#fff}
.hmgs-hub .exam-box .topics .topic{background:#fff}
.hmgs-hub .exam-box .num{background:var(--theme-red-soft);border-color:#efc5c6;color:var(--red)}

/* Alt bilgi ve footer: siyah zemin, turuncu çizgi */
.hmgs-hub .hmgs-bottom-info{background:var(--charcoal);box-shadow:none;border-bottom:4px solid var(--orange)}
.hmgs-hub .bottom-eyebrow{color:#ff9a62}.hmgs-hub .hmgs-bottom-info h2{color:#fff}
.hmgs-hub .hmgs-bottom-info p{color:#c9cbd0}
.hmgs-hub .bottom-stat{background:#ffffff0b;border-color:#ffffff1c}
.hmgs-hub .bottom-stat b{color:#ff9a62}.hmgs-hub .bottom-stat span{color:#c9cbd0}
body.hmgs-hub footer{background:var(--charcoal);border-top:4px solid var(--orange);color:#e6e7e9;padding-top:26px}
body.hmgs-hub footer span,body.hmgs-hub footer p{color:#b9bcc2}
.hmgs-hub .to-top{color:var(--ink);border-color:var(--line)}
.hmgs-hub .empty{border-color:var(--line)}
.hmgs-hub .source-note{background:var(--theme-orange-soft);color:#814521;border-color:#f3cfb8;border-left-color:var(--orange)}.hmgs-hub .source-note b{color:#693510}
.hmgs-hub .quick a{background:#f4f5f7;border-color:var(--line)}.hmgs-hub .quick a:hover{background:var(--theme-orange-soft);border-color:#f3cfb8}

/* =========================================================
   Ders kitapları, hızlı ders konuları ve testler (.hmgs-course)
   ========================================================= */
.hmgs-course{--pale:#f3f4f6;--warn:#fff2e8;--rose:#fff0f0;--card:#fff;color:var(--ink);line-height:1.75;background:var(--bg)}
.hmgs-course [data-hmgs-sitebar]{min-height:64px;padding:12px max(16px,calc((100% - 1200px)/2));border-top:4px solid var(--orange);border-bottom:1px solid var(--line);background:#fff;white-space:normal;overflow:visible;max-width:none;margin:0}
.hmgs-course [data-hmgs-sitebar],.hmgs-course [data-hmgs-sitebar] a{color:var(--ink)}
.hmgs-course [data-hmgs-sitebar] b{color:var(--theme-orange-dark)}.hmgs-course [data-hmgs-sitebar] img{width:32px;height:32px;border-radius:8px}
.hmgs-course [data-hmgs-sitebar] .hmgs-sitebar-back{padding:8px 12px;border-radius:8px;background:var(--theme-blue-soft);color:var(--blue);font-size:12px}

/* Başlık alanı: bilinen yapı (kicker + lead) beyaz–turuncu; bilinmeyen yapılarda siyah zemin */
.hmgs-course>header,.hmgs-course>.hero{background:var(--charcoal);color:#fff;border-bottom:4px solid var(--orange)}
.hmgs-course>header h1,.hmgs-course>.hero h1{color:#fff;border-bottom-color:#ffb68a}
.hmgs-course>header p,.hmgs-course>.hero p{color:#d6d8dc}
.hmgs-course>.hero:has(.kicker){background:linear-gradient(110deg,#fff 50%,#fff3ea);color:var(--ink);border-bottom:1px solid #f1ddcf;box-shadow:inset 0 -4px 0 var(--orange)}
.hmgs-course>.hero:has(.kicker) .kicker{color:var(--theme-orange-dark)}
.hmgs-course>.hero:has(.kicker) h1{color:var(--ink)}
.hmgs-course>.hero:has(.kicker) .lead,.hmgs-course>.hero:has(.kicker) p{color:#4d535d}
.hmgs-course>.hero:has(.kicker) .stat{background:#fff;border:1px solid var(--line);border-top:3px solid var(--blue);color:var(--ink)}
.hmgs-course>.hero:has(.kicker) .stat:nth-child(3n+2){border-top-color:var(--orange)}
.hmgs-course>.hero:has(.kicker) .stat:nth-child(3n+3){border-top-color:var(--red)}
.hmgs-course>.hero:has(.kicker) .stat b{color:var(--ink)}
.hmgs-course>.hero:has(.kicker) .stat span{color:var(--muted)}

/* Konu çipleri */
.hmgs-course .navwrap{background:#fff;border-bottom-color:var(--line);box-shadow:0 4px 14px #1c1d210a}
.hmgs-course .navwrap nav a{background:#f3f4f6;color:var(--ink)}
.hmgs-course .navwrap nav a:hover{background:var(--theme-orange-soft);color:var(--theme-orange-dark)}

/* Kutular ve tablolar */
.hmgs-course main{border-radius:14px;min-width:0}
.hmgs-course main>h1{color:var(--ink);border-bottom-color:var(--orange);line-height:1.35}
.hmgs-course h2,.hmgs-course h3,.hmgs-course h4{color:var(--ink);line-height:1.45}
.hmgs-course a{color:var(--blue)}
.hmgs-course .intro{background:#fff;border-left-color:var(--orange)}
.hmgs-course .warning{background:var(--theme-orange-soft);border-color:#f3cfb8}
.hmgs-course :is(.intro,.warning,.matrix,.tools,.maps,.atlas,.questions,.status,.chapter){border-color:var(--line)}
.hmgs-course .tools input,.hmgs-course .tools select,.hmgs-course .atlas input{border-color:#d3d7dd}
.hmgs-course .bar{background:#eceef1}.hmgs-course .bar i{background:linear-gradient(90deg,var(--orange),#f5894d)}
.hmgs-course th{background:#f3f4f6;color:var(--ink)}
.hmgs-course th.grp{background:var(--theme-orange-soft);color:var(--theme-orange-dark)}
.hmgs-course :is(th,td){border-color:#e1e4e8}
.hmgs-course td.k{color:var(--ink)}
.hmgs-course .matrix a,.hmgs-course .maps a{color:var(--blue)}
.hmgs-course :is(.formula,.key,.f,.k):not(td){background:var(--theme-orange-soft);border-left-color:var(--orange);border-radius:7px;color:#613a25}
.hmgs-course :is(.box,.note,.n,.ans,.answer,.b):not(td):not(b){background:var(--theme-blue-soft);border-left:4px solid var(--blue);border-radius:7px}
.hmgs-course :is(.trap,.t,.r,.warn){background:var(--theme-red-soft);border-left-color:var(--red);border-radius:7px}
.hmgs-course .trap>b:first-child{color:#a8292e}
.hmgs-course .note>b:first-child{color:var(--blue)}
.hmgs-course .notice{background:var(--theme-orange-soft);border-color:#f3cfb8;border-left-color:var(--orange)}
.hmgs-course .u{text-decoration-color:var(--orange)}
.hmgs-course .kart3>div,.hmgs-course .cards>div{background:#fff;border-color:var(--line)}
.hmgs-course .kart3>div>b{color:var(--ink)}

/* Ünite başlıkları: beyaz zemin, turuncu üst çizgi */
.hmgs-course .chapter{border-top:4px solid var(--orange)}
.hmgs-course .chapter>header{background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
.hmgs-course .chapter>header h2{color:var(--ink)}
.hmgs-course .chapter>header .unit{color:var(--theme-orange-dark)}
.hmgs-course .chapter>header p{color:var(--muted)}
.hmgs-course .chapter>header label{background:var(--theme-blue-soft);color:var(--blue)}
.hmgs-course .chapter>header input{accent-color:var(--orange)}

/* Soru ve test sayfaları */
.hmgs-course details{border-color:var(--line);background:#fafafb;border-radius:8px}.hmgs-course summary{color:var(--ink);min-height:32px}
.hmgs-course .qa summary span{background:var(--theme-orange-soft);color:var(--theme-orange-dark)}
.hmgs-course .qa b{color:var(--blue)}
.hmgs-course .btn.primary{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:none}
.hmgs-course .btn.primary:hover{background:#d65412;border-color:#d65412}
.hmgs-course .btn{min-height:38px}.hmgs-course .qno{background:var(--ink);color:#fff}
.hmgs-course .subject-nav a{background:#f3f4f6;color:var(--ink);border-color:var(--line)}
.hmgs-course .subject-nav a:hover{background:var(--theme-orange-soft);color:var(--theme-orange-dark)}
.hmgs-course input[type=radio],.hmgs-course input[type=checkbox]{accent-color:var(--orange)}
.hmgs-course .opt{min-height:44px}.hmgs-course .opt input{flex:0 0 auto}
.hmgs-course .question{border-radius:14px;box-shadow:0 3px 12px #1c1d2106;border-color:var(--line)}
.hmgs-course .empty{background:var(--theme-red-soft);border-color:#efc5c6}

/* Alt bilgi */
.hmgs-course footer{background:var(--charcoal);border-top:4px solid var(--orange);color:#c9cbd0}
.hmgs-course footer a{color:#fff}


@media(max-width:1000px){
 body:not(.hmgs-hub):not(.hmgs-course) .hero-grid{grid-template-columns:1fr 1fr;gap:30px}
 .main-nav{gap:0}.main-nav a{padding:9px;font-size:12px}
}
@media(max-width:760px){
 .nav{min-height:70px;gap:10px}.brand b{font-size:17px}.brand small{font-size:9px}
 body:not(.hmgs-hub):not(.hmgs-course) .hero{padding:40px 0}
 body:not(.hmgs-hub):not(.hmgs-course) .hero-grid{grid-template-columns:1fr;gap:28px}
 body:not(.hmgs-hub):not(.hmgs-course) .hero-card{padding:22px;max-width:none}
 body:not(.hmgs-hub):not(.hmgs-course) .hero h1{font-size:clamp(33px,7vw,43px);line-height:1.14}
 body:not(.hmgs-hub):not(.hmgs-course) .hero p{font-size:14px;line-height:1.8}
 .section{padding:42px 0}.auth-card,.member-box{padding:23px}.cards{gap:12px}.card{padding:20px}
 .admin-top-inner{align-items:flex-start;flex-direction:column;padding-top:16px;padding-bottom:16px;gap:12px}
 .admin-top-inner>div:last-child{flex-wrap:wrap}.admin-title h1{font-size:28px}.admin-stats{gap:9px}.admin-stats>div{padding:14px}
 body:not(.hmgs-course):not(.hmgs-hub) input:not([type=hidden]):not([type=checkbox]):not([type=radio]),body:not(.hmgs-course):not(.hmgs-hub) select,body:not(.hmgs-course):not(.hmgs-hub) textarea{font-size:16px}
 .hmgs-course main{max-width:100%;border-radius:0;padding-left:18px;padding-right:18px}.hmgs-course main>h1{font-size:clamp(24px,6vw,30px)}
 .hmgs-course table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .hmgs-course .table-scroll table{display:table}
}
@media(max-width:480px){
 .brand-mark{width:37px;height:37px}.main-nav a{font-size:11px;padding:8px}
 .hero-actions .btn{flex:1 1 auto}.hero-actions .inline-form{display:flex;flex:1 1 auto}
 .hmgs-course [data-hmgs-sitebar]{gap:8px;padding:10px 12px;min-height:60px}
 .hmgs-course [data-hmgs-sitebar] .hmgs-sitebar-brand{font-size:14px;gap:6px}.hmgs-course [data-hmgs-sitebar] img{width:28px;height:28px}
 .hmgs-course [data-hmgs-sitebar] .hmgs-sitebar-back{padding:8px;font-size:11px}
 .hmgs-hub .banner-title{font-size:24px}.hmgs-hub .banner-home{padding:9px 12px}.hmgs-hub .banner-copy small{font-size:10px}
 .hmgs-hub .sectionhead h2{font-size:16px}.hmgs-hub .topictext strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{
 :root{--bg:#fff;--panel:#fff;--ink:#111;--text:#111}
 body{background:#fff!important;color:#111!important}
 .hmgs-course [data-hmgs-sitebar]{display:none!important}
 .hmgs-course main{box-shadow:none!important;border-radius:0}
 .hmgs-course table{display:table;overflow:visible}
}
.hmgs-course [data-hmgs-sitebar]{max-width:none;margin:0}