/* DIG Admin visual system — isolated navigation styles */
:root{--dig-navy:#132e55;--dig-ink:#19365a;--dig-gold:#d7ab60;--dig-bg:#f2f5fa;--dig-line:#e3e9f1}
body.dig-study-v140-shell{background:var(--dig-bg)!important;color:var(--dig-ink)}
#digStudyNavV1412{box-sizing:border-box;position:fixed;top:0;bottom:0;left:0;width:244px;background:linear-gradient(180deg,#153360,#0d254c);color:#fff;z-index:1002;display:flex;flex-direction:column;overflow:hidden;padding:0;box-shadow:none;font-family:inherit}
.dig-study-brand-v140{background:#fff;color:#17345f;padding:16px 18px 19px;min-height:155px;box-sizing:border-box}
.dig-study-brand-line-v140{display:flex;align-items:center;gap:12px}.dig-study-brand-line-v140 img{width:94px;height:93px;object-fit:contain}.dig-study-brand-line-v140 strong{font-size:18px;letter-spacing:2px}.dig-study-brand-v140 small{font-size:11px;font-weight:800;letter-spacing:.9px;white-space:nowrap}
.dig-study-menu-body-v140{padding:20px 13px;overflow:auto;flex:1}.dig-study-nav-group-v139{margin:18px 11px 7px;color:#92aaca;font-size:11px;font-weight:700;letter-spacing:.07em}
.dig-study-nav-item-v139{box-sizing:border-box;display:block;text-align:left;width:100%;background:transparent;border:0;border-left:3px solid transparent;border-radius:7px;color:#d5e1f2;padding:12px 14px;margin:2px 0;font:600 14px inherit;cursor:pointer}
.dig-study-nav-item-v139:hover{background:#294977;color:#fff}.dig-study-nav-active-v139,.dig-study-nav-active-v139:hover{background:#294977!important;border-left-color:var(--dig-gold)!important;color:#fff;font-weight:800}.dig-study-nav-planned-v139{opacity:.72}.dig-study-nav-planned-v139:after{content:' · 준비 중';font-size:10px;color:#b7c3d5}
#digStudyNavMessageV140{padding:2px 14px;font-size:12px;color:#f1cc83}.dig-study-profile-v140{padding:19px 22px;color:#b4c7df;border-top:1px solid #ffffff28;font-size:12px;font-weight:700}
#digStudyTopV140{position:sticky;top:0;z-index:1000;display:flex;justify-content:space-between;align-items:center;height:66px;padding:0 27px;background:#fff;border-bottom:1px solid var(--dig-line);box-sizing:border-box}
.dig-study-top-left-v140{display:flex;align-items:center;gap:17px;font-size:14px}.dig-study-top-left-v140 span{font-size:12px;color:#8194ad;letter-spacing:1px;font-weight:800}.dig-study-top-left-v140 strong{color:#183656}.dig-study-test-v140{background:#e8f6ee;border-radius:25px;color:#287c63;font-size:11px;padding:7px 12px}
@media(min-width:981px){body.dig-study-v140-shell{padding-left:244px!important}#digStudyNavToggleV139{display:none!important}}
#digStudyNavToggleV139{position:fixed;z-index:1005;bottom:16px;left:16px;padding:10px 15px;color:#fff;background:#153360;border:0;border-radius:22px;box-shadow:0 4px 16px #0003}
@media(max-width:980px){#digStudyNavV1412{transform:translateX(-100%);transition:transform .18s}.dig-study-nav-open-v139 #digStudyNavV1412{transform:translateX(0)}body.dig-study-v140-shell{padding-left:0!important}#digStudyTopV140{padding-left:24px}}

/* v1.0.40.1 icon + shared nav */
.dig-study-nav-item-v139{display:flex!important;align-items:center;gap:11px;min-height:42px}
.dig-study-nav-icon-v141{display:inline-flex;flex:0 0 19px;width:19px;align-items:center;justify-content:center;color:#bcd0e8;font-size:16px;line-height:1}
.dig-study-nav-active-v139 .dig-study-nav-icon-v141{color:#e9bf71}
body.dig-study-v140-shell > header:not(#digStudyTopV140){margin-left:0!important}

/* v1412: exactly one admin-like header and predictable section navigation */
body.dig-study-v1412-shell > header {display:none!important}
body.dig-study-v1412-shell .wrap{max-width:1200px}
body.dig-study-v1412-shell section{scroll-margin-top:88px}
body.dig-study-v1412-shell #digStudyTopV140{position:sticky;top:0;z-index:1001}
body.dig-study-v1412-shell #digStudyNavV1412{z-index:1004}
body.dig-study-v1412-shell .dig-study-nav-item-v139{display:flex!important;align-items:center;gap:12px;white-space:normal}
body.dig-study-v1412-shell .dig-study-nav-icon-v141{font-family:'Segoe UI Symbol','Malgun Gothic',sans-serif;min-width:20px}


/* V212: Student 360 is a focused workspace; list/dashboard return through the shared sidebar. */
body.dig-v212-student-workspace main > :not(#studentOverviewV143):not(#loginPanel):not(#loggedIn):not(#notice){display:none!important}
body.dig-v212-student-workspace #studentOverviewV143{display:block!important;max-width:none;margin:24px auto}
#studentOverviewV143 .dig-v212-workspace-back{margin:0 0 14px}
