/* 제조닷 공통 상단 메뉴·하단 — jejo.kr 밖(erp.jejo.kr 첫 화면·로그인·회원가입·고객 화면)에서 쓴다.
 * 값은 site.css 의 메뉴·하단 부분과 같다. 모든 규칙은 .jejo-head(위) / .jejo-site(아래) 안으로 한정해
 * 그 화면의 다른 모양(Perfex·Bootstrap)에 영향을 주지 않는다. */
html{scroll-padding-top:72px}
.jejo-head{position:sticky;top:0;z-index:1030;background:#fff;font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif;line-height:1.6;color:#171717}
.jejo-head *,.jejo-head *::before,.jejo-head *::after{box-sizing:border-box}
.jejo-head nav.top{position:relative;margin:0;padding:0;background:#fff;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;min-height:0;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
.jejo-head nav.top .wrap{max-width:1160px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px}
.jejo-head .logo{display:inline;color:#171717;font-weight:900;font-size:26px;line-height:1.2;text-decoration:none;letter-spacing:-.02em;background:none;padding:0}
.jejo-head .logo span{color:#2563eb}
.jejo-head .logo:hover{text-decoration:none;color:#171717}
.jejo-head .menu{display:flex;align-items:center;gap:2px;flex-wrap:wrap;margin:0 0 0 auto;padding:0;list-style:none}
.jejo-head .menu a{display:inline-block;font-size:14px;font-weight:400;line-height:1.6;text-decoration:none;padding:7px 11px;border-radius:8px;color:#374151;white-space:nowrap;background:none}
.jejo-head .menu a:hover,.jejo-head .menu a:focus{background:#f1f5f9;color:#374151;text-decoration:none}
.jejo-head .menu a.on{color:#2563eb;font-weight:600}
.jejo-head .menu .sep{width:1px;height:18px;background:#e5e7eb;margin:0 6px}
.jejo-head #acct{display:flex;align-items:center;gap:2px}
.jejo-head .menu a.cta{background:#2563eb;color:#fff;font-weight:600;margin-left:4px;padding:7px 14px}
.jejo-head .menu a.cta:hover{background:#1d4ed8;color:#fff}
.jejo-head .menu a.erp{border:1px solid #bfdbfe;color:#1d4ed8;font-weight:600;padding:6px 13px;margin-left:4px}
.jejo-head .menu a.erp:hover,.jejo-head .menu a.erp.on{background:#eff6ff;color:#1d4ed8}
.jejo-head .burger{display:none}
.jejo-head .nav-dropdown{position:relative;margin:0;padding:0;border:0;background:transparent}
.jejo-head .nav-dropdown summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;color:#374151;font-size:14px;font-weight:400;padding:7px 11px;border-radius:8px;white-space:nowrap;margin:0}
.jejo-head .nav-dropdown summary::-webkit-details-marker{display:none}
.jejo-head .nav-dropdown summary::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin:-3px 1px 0 0}
.jejo-head .nav-dropdown[open]>summary::after{transform:rotate(225deg);margin-top:3px}
.jejo-head .nav-dropdown summary:hover,.jejo-head .nav-dropdown[open]>summary{background:#f1f5f9}
.jejo-head .nav-dropdown summary.on,.jejo-head .nav-dropdown-links a[aria-current=page]{color:#2563eb;font-weight:600}
.jejo-head .nav-dropdown-links{position:absolute;top:calc(100% + 5px);left:0;min-width:150px;padding:5px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 8px 18px rgba(15,23,42,.1);z-index:2}
.jejo-head .nav-dropdown-links a{display:block;padding:7px 11px;border-radius:8px;font-size:14px;color:#374151;text-decoration:none;white-space:nowrap}
.jejo-head .nav-dropdown-links a:hover{background:#f1f5f9}
.jejo-head .nav-dropdown-links hr{border:0;border-top:1px solid #e5e7eb;margin:5px 6px}
.jejo-head .acct-menu .nav-dropdown-links{left:auto;right:0;min-width:160px}
.jejo-head .nav-dropdown-links .cnt{display:inline-block;min-width:20px;margin-left:6px;padding:0 6px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:600;line-height:20px;text-align:center}
/* 고객 화면 아랫줄 (내 의뢰 · 견적서 …) */
.jejo-sub{background:#f8fafc;border-bottom:1px solid #e5e7eb}
.jejo-head .jejo-sub .wrap{max-width:1160px;margin:0 auto;padding:0 20px;display:flex;align-items:center;min-height:44px;justify-content:flex-start;gap:2px;overflow-x:auto;scrollbar-width:none}
.jejo-sub .wrap::-webkit-scrollbar{display:none}
.jejo-sub a{font-size:14px;color:#475569;text-decoration:none;padding:6px 11px;border-radius:8px;white-space:nowrap}
.jejo-sub a:hover,.jejo-sub a:focus{background:#eef2f7;color:#0f172a;text-decoration:none}
.jejo-sub a.on{color:#2563eb;font-weight:600;background:#eaf1ff}
.jejo-sub .who{margin-left:auto;font-size:13px;color:#94a3b8;white-space:nowrap;padding-left:12px}
/* 하단 (common.js 가 #foot 안을 jejo.kr 과 똑같이 채운다) */
.jejo-site{font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif;line-height:1.6;word-break:keep-all}
.jejo-site *,.jejo-site *::before,.jejo-site *::after{box-sizing:border-box}
.jejo-site footer.bottom{display:block;width:auto;height:auto;min-height:0;margin:0;border:0;background:#0b1220;color:#94a3b8;padding:48px 0 28px;font-size:13px;text-align:left}
.jejo-site footer.bottom:empty{padding:0}
.jejo-site .wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.jejo-site footer.bottom .fcols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:28px}
.jejo-site footer.bottom .flogo{font-weight:900;font-size:22px;line-height:1.2;color:#fff;letter-spacing:-.02em}
.jejo-site footer.bottom .flogo span{color:#60a5fa}
.jejo-site footer.bottom h4{color:#e2e8f0;font-size:13px;font-weight:600;line-height:1.6;margin:4px 0 12px}
.jejo-site footer.bottom a{display:block;color:#94a3b8;text-decoration:none;margin:0 0 8px}
.jejo-site footer.bottom a:hover,.jejo-site footer.bottom a:focus{color:#fff;text-decoration:none}
.jejo-site footer.bottom .biz{line-height:1.8;margin-top:12px;font-size:12px}
.jejo-site footer.bottom .copy{border-top:1px solid #1e293b;margin-top:32px;padding-top:18px;font-size:12px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.jejo-site footer.bottom .copy a{display:inline;margin:0 0 0 14px}
.jejo-site footer.bottom b{font-weight:700}
@media(max-width:860px){.jejo-site footer.bottom .fcols{grid-template-columns:1fr 1fr}}
@media(max-width:640px){
  .jejo-site footer.bottom{padding:36px 0 24px}
  .jejo-site footer.bottom .fcols{gap:22px}
  .jejo-site footer.bottom .fcols>div:first-child{grid-column:1/-1}
  .jejo-site footer.bottom .copy{flex-direction:column;gap:6px}
  .jejo-site footer.bottom .copy a{margin:0 14px 0 0}
}
@media(max-width:960px){
  .jejo-head .burger{display:flex;flex-direction:column;justify-content:center;gap:4px;width:40px;height:40px;border:0;background:none;cursor:pointer;padding:8px;margin-left:auto}
  .jejo-head .burger i{display:block;height:2px;background:#0f172a;border-radius:2px}
  .jejo-head .menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #e5e7eb;flex-direction:column;align-items:stretch;padding:8px 16px 16px;box-shadow:0 12px 24px rgba(15,23,42,.08);margin:0;max-height:calc(100vh - 60px);overflow-y:auto}
  .jejo-head nav.top.open .menu{display:flex}
  .jejo-head .menu a{display:block;padding:12px 10px;font-size:15px}
  .jejo-head .menu .sep{width:auto;height:1px;margin:6px 0}
  .jejo-head .menu .nav-dropdown summary{padding:12px 10px;font-size:15px}
  .jejo-head .menu .nav-dropdown .nav-dropdown-links{position:static;padding:0 0 0 16px;border:0;box-shadow:none}
  .jejo-head .menu .nav-dropdown-links a{padding:10px 11px;font-size:15px}
  .jejo-head #acct{flex-direction:column;align-items:stretch;gap:0}
  .jejo-head .menu a.cta{text-align:center;margin:8px 0 0;padding:12px 10px}
  .jejo-head .menu a.erp{text-align:center;margin:8px 0 0;padding:11px 10px}
  .jejo-sub .who{display:none}
}
