/* EDST administrator shell, phase 1. No business-form or table selectors. */
.edst-shell,.edst-login{--edst-bg:#f8fafc;--edst-border:#e2e8f0;--edst-navy:#14243c;--edst-blue:#2563eb;font-family:Pretendard,'Noto Sans KR','Malgun Gothic',sans-serif;color:#1e293b}
body:not(.customer-admin) .container.edst-shell{height:auto;min-height:100vh;background:var(--edst-bg)}
body:not(.customer-admin) .edst-shell>.header{height:64px;line-height:normal;background:#fff;border-bottom:1px solid var(--edst-border);padding:0 28px 0 264px;box-sizing:border-box}
body:not(.customer-admin) .edst-shell>.header>.center{max-width:none;height:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}
body:not(.customer-admin) .edst-shell>.header .header_1,body:not(.customer-admin) .edst-shell>.header .header_2{width:auto;font-size:13px;letter-spacing:0;word-spacing:normal;line-height:normal}
body:not(.customer-admin) .edst-shell>.header .view_header_list{background:transparent;color:#334155;padding:7px 0;margin:0;height:auto;line-height:1.5;font-weight:600}
body:not(.customer-admin) .edst-shell>.header .logout{background:#fff;border:1px solid var(--edst-border);border-radius:6px;color:#475569;padding:8px 13px;height:auto;line-height:1.5;margin:0;cursor:pointer}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu{position:fixed;inset:0 auto 0 0;width:232px;box-sizing:border-box;padding:28px 14px;background:var(--edst-navy);overflow-y:auto;z-index:5}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu:before{content:'에디스트 관리자 홈';display:block;padding:0 14px 30px;font-size:20px;font-weight:750;letter-spacing:1px;color:#fff}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu>.center{max-width:none}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu li{float:none;width:auto;text-align:left;background:transparent;margin:0 0 4px}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu li a{padding:12px 14px;line-height:1.5;color:#bdcadd;font-size:14px;border-radius:7px;text-decoration:none}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu li a:hover{background:#213651;color:white}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu li a[aria-current=page]{background:var(--edst-blue);color:#fff;font-weight:600}
body:not(.customer-admin) .edst-shell>.mid>.mid_contents{margin-left:232px;padding:28px;box-sizing:border-box;background:var(--edst-bg);min-width:0;overflow-x:auto}
body:not(.customer-admin) .edst-shell>.mid>.mid_contents>.center{max-width:none;min-width:0}
body:not(.customer-admin) .edst-shell>.mid>.mid_contents>.center>.mid_really_contents{position:static;width:auto;min-width:0}
.edst-shell .edst-nav-toggle{display:none}
.edst-shell>.header a:focus-visible,.edst-shell>.header .logout:focus-visible,.edst-shell>.mid>.mid_menu a:focus-visible,.edst-nav-toggle:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}
.login.edst-login{display:flex;min-height:100vh;height:auto;width:100%;align-items:center;justify-content:center;box-sizing:border-box;background:var(--edst-bg);padding:32px 20px}
.login.edst-login>.mid{display:block;width:100%;max-width:420px;height:auto;background:transparent}
.login.edst-login form{display:block;width:100%;height:auto;box-sizing:border-box;text-align:left;background:#fff;border:1px solid var(--edst-border);border-radius:14px;padding:36px}
.login.edst-login .contents{display:block}
.edst-login .edst-login-brand{font-size:13px;letter-spacing:2px;font-weight:750;color:var(--edst-blue);margin-bottom:22px}
.login.edst-login h1{font-size:26px;line-height:1.4;letter-spacing:-1px;color:#17243a;padding:0;margin:0 0 10px}
.edst-login .edst-login-description{font-size:14px;line-height:1.7;color:#64748b;margin:0 0 28px}
.edst-login label{display:block;font-size:13px;font-weight:600;color:#475569;margin:16px 0 8px}
.login.edst-login input{display:block;box-sizing:border-box;width:100%;height:46px;border:1px solid #cbd5e1;border-radius:7px;padding:10px 12px;margin:0;background:white;color:#0f172a;font:inherit;font-size:16px;text-indent:0}
.login.edst-login input:focus-visible{outline:3px solid #bfdbfe;outline-offset:1px;border-color:var(--edst-blue)}
.login.edst-login button[type=submit]{width:100%;height:46px;padding:10px;margin:24px 0 0;background:var(--edst-blue);color:white;border:0;border-radius:7px;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.login.edst-login button[type=submit]:hover{background:#1d4ed8}
.login.edst-login button[type=submit]:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}
.edst-login .edst-login-footnote{text-align:center;color:#94a3b8;font-size:12px;line-height:1.6;margin:20px 0 0}
/* Narrow layouts use document flow; no overlay, no forced member cards. */
@media(max-width:1000px){
body:not(.customer-admin) .edst-shell>.header{padding:0 20px;height:60px}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu{position:static;width:100%;padding:12px 16px;max-height:none}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu:before{font-size:15px;padding:4px 8px 12px}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu>.center{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu li{margin:0}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu li a{padding:12px 10px;font-size:13px}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu .clear{display:none}
body:not(.customer-admin) .edst-shell>.mid>.mid_contents{margin-left:0;padding:20px}
body:not(.customer-admin) .edst-shell.edst-nav-ready .edst-nav-toggle{display:block;box-sizing:border-box;width:100%;padding:13px 22px;min-height:46px;text-align:left;border:0;background:var(--edst-navy);color:white;font:inherit;font-size:14px;cursor:pointer}
body:not(.customer-admin) .edst-shell.edst-nav-ready:not(.edst-nav-open)>.mid>.mid_menu{display:none}
}
@media(max-width:520px){body:not(.customer-admin) .edst-shell>.mid>.mid_menu>.center{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.customer-admin) .edst-shell>.mid>.mid_contents{padding:16px 12px}.login.edst-login form{padding:28px 24px}.login.edst-login{padding:24px 16px}}
/* Clear legacy fixed login content width and hidden home link. */
.login.edst-login .contents{width:100%;text-align:left;box-sizing:border-box}
body:not(.customer-admin) .edst-shell>.header .view_header_list{display:inline-block}
.login.edst-login>.mid>form .contents{width:100%;text-align:left;box-sizing:border-box}
.login.edst-login>.mid>form .contents{display:block}
body:not(.customer-admin) .edst-shell>.mid>.mid_menu{display:block}
@media(max-width:1000px){body:not(.customer-admin) .edst-shell.edst-nav-ready:not(.edst-nav-open)>.mid>.mid_menu{display:none}}

.edst-nav-overlay{display:none}
.edst-shell .mid_menu .edst-site-shortcut{border-top:1px solid #40516a;margin-top:20px!important;padding-top:12px}
.edst-shell .mid_menu .edst-site-shortcut a{font-size:13px!important;color:#cbd5e1}
@media(max-width:1000px){
body:not(.customer-admin) .edst-shell>.mid>.mid_menu:before{content:'메뉴'}
body:not(.customer-admin) .edst-shell.edst-nav-ready>.mid>.mid_menu{position:fixed;top:106px;bottom:0;left:0;width:min(300px,85vw);z-index:20;overflow-y:auto}
body:not(.customer-admin) .edst-shell.edst-nav-ready>.mid>.mid_menu>.center{display:block}
.edst-shell.edst-nav-open .edst-nav-overlay{display:block;position:fixed;inset:106px 0 0;border:0;background:rgba(15,23,42,.35);z-index:19}
.edst-shell .edst-nav-toggle{position:relative;z-index:21}
}
