/* Global navigation shared by rule guide, campaign helper, and card atlas. */
.eu-global-header{position:sticky;top:0;z-index:600;flex:0 0 auto;width:100%;background:#17374b;color:#fff;box-shadow:0 2px 10px #061d2c1c;font:13px/1.3 'Pretendard Variable','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif}
.eu-header-inner{height:57px;max-width:1100px;margin:auto;padding:6px 12px;display:flex;align-items:center;gap:10px;justify-content:space-between}
.eu-brand-source{display:inline-flex;align-items:center;flex:0 0 auto;gap:5px;min-width:0;color:#fff;background:transparent;border:1px solid transparent;border-radius:8px;padding:3px 4px;cursor:pointer}
.eu-brand-source:hover{background:#ffffff12}.eu-brand-source:focus-visible{outline:3px solid #f1c77e;outline-offset:2px}
.eu-brand-source img{width:29px;height:29px;border-radius:6px;object-fit:contain}
.eu-brand-name{font-size:14px;font-weight:900;letter-spacing:-.04em;white-space:nowrap}
.eu-pdf-indicator{display:inline-block;font-size:9px;font-weight:850;color:#ffcfb9;background:#63352e;border-radius:999px;padding:2px 4px;white-space:nowrap}
.eu-pdf-indicator.ready{background:#194a39;color:#a6f0bd}
.eu-global-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:1;max-width:480px;min-width:0}
.eu-global-nav>a{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;min-height:39px;border-radius:8px;text-decoration:none!important;color:#cbdce4;font-size:13px;font-weight:800;padding:8px 3px;white-space:nowrap}
.eu-global-nav>a:hover{color:#fff;background:#ffffff15}
.eu-global-nav>a[aria-current="page"]{color:#fff;background:#33647b;box-shadow:inset 0 -3px #f0c684}
.eu-header-balance{flex:0 0 94px}
body.eu-shell-page #pdf-library-root{display:none!important}
body.home-compact.eu-shell-page .site-header{display:none!important}
body.home-compact.eu-shell-page .app-stage{height:100%;min-height:0}
body.eu-shell-page:not(.home-compact) header.top{display:none!important}
body.eu-embedded .eu-global-header,body.eu-embedded header.top{display:none!important}
body.home-compact .eu-guide-controls.tool-bar{display:flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;padding:0 0 6px;border-bottom:1px solid #ccdde4;margin:0}
body.home-compact .eu-guide-controls .home-mode-bar{display:flex;flex:1;align-items:center;justify-content:center;gap:5px;max-width:none;min-width:0}
body.home-compact .eu-guide-controls .home-mode-tab{flex:1 1 auto;min-height:37px;min-width:0;max-width:200px;border:1px solid #b9cdd5;border-radius:9px;background:#fff;color:#2e5367;font-size:12px;font-weight:800;padding:5px 7px}
body.home-compact .eu-guide-controls .home-mode-tab[aria-pressed="true"]{background:#2b5367;color:#fff;border-color:#2b5367}
body.home-compact .eu-guide-controls .home-default-toggle{min-width:31px;min-height:36px;padding:4px;border-radius:8px}
body.home-compact .eu-guide-controls .home-recent-toggle{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;gap:4px;height:37px;min-height:37px;border:1px solid #b9cdd5;border-radius:9px;background:#fff;color:#295064;font-size:12px;font-weight:800;padding:5px 8px;white-space:nowrap}
body.home-compact .eu-guide-controls .recent-label{display:inline!important}
body.eu-shell-page .pdf-library-card{color:#1c303b}
@media(max-width:640px){
 .eu-header-inner{height:51px;padding:5px 6px;gap:3px}
 .eu-brand-source{padding:2px 0;gap:3px}
 .eu-brand-source img{width:25px;height:25px}
 .eu-brand-name{font-size:12px}
 .eu-pdf-indicator{font-size:8px;padding:1px 3px}
 .eu-global-nav{gap:2px}
 .eu-global-nav>a{min-height:38px;font-size:11px;border-radius:6px;padding:6px 1px}
 .eu-header-balance{display:none}
 body.home-compact .eu-guide-controls.tool-bar{gap:4px}
 body.home-compact .eu-guide-controls .home-mode-bar{gap:3px}
 body.home-compact .eu-guide-controls .home-mode-tab{font-size:10.5px;min-height:35px;padding:4px 2px}
 body.home-compact .eu-guide-controls .home-default-toggle{min-width:26px;font-size:14px;min-height:34px}
 body.home-compact .eu-guide-controls .home-recent-toggle{font-size:10px;min-height:35px;height:35px;padding:4px 5px}
}
@media(max-width:350px){.eu-brand-source img{width:22px;height:22px}.eu-brand-name{font-size:11px}.eu-global-nav>a{font-size:10.5px}}

body.home-compact .eu-guide-controls .home-mode-bar{background:transparent;border:0;padding:0;box-shadow:none}
body.home-compact .eu-guide-controls .home-default-toggle{border:1px solid #b9cdd5;border-radius:8px;background:#fff;color:#9d7627}
body.home-compact .eu-guide-controls .home-default-toggle[aria-pressed="true"]{color:#b17c15;background:#fff5df}


/* Preserve the original war workspace's functional in-page navigation as a compact secondary row. */
body.eu-shell-page .top:not(header){position:sticky;top:57px;z-index:500;box-shadow:0 1px 7px #0b263322}
body.eu-shell-page .top:not(header) .topin{height:auto;min-height:38px;max-width:100%;padding:1px 8px;justify-content:center}
body.eu-shell-page .top:not(header) .brand{display:none!important}
body.eu-shell-page .top:not(header) .topnav{display:flex;align-items:center;gap:2px;max-width:100%;overflow-x:auto}
body.eu-shell-page .top:not(header) .topnav button{padding:7px 10px;font-size:12px}
body.eu-shell-page .top:not(header) .topnav a{font-size:12px;white-space:nowrap}
body.eu-embedded .top{display:none!important}
@media(max-width:640px){body.eu-shell-page .top:not(header){top:51px}body.eu-shell-page .top:not(header) .topnav button{padding:7px 6px;font-size:11px}}

/* The embedded war guide still needs its local action/section navigation. */
body.eu-embedded .top:not(header){display:block!important;position:sticky;top:0;z-index:20}
body.eu-embedded .top:not(header) .brand{display:none!important}
body.eu-embedded .top:not(header) .topin{height:auto;min-height:38px;justify-content:center;padding:1px 6px}
body.eu-embedded .top:not(header) .topnav{display:flex;overflow-x:auto;gap:2px;max-width:100%}
body.eu-embedded .top:not(header) .topnav button{padding:6px 7px;font-size:11px}

/* A single shared header and compact in-page action tabs. */
.eu-global-header .eu-global-nav>a[aria-current="page"]{background:#33647b!important;color:#fff!important;box-shadow:inset 0 -3px #f0c684}
.eu-global-header .eu-global-nav>a:not([aria-current="page"]){background:transparent;color:#cbdce4;box-shadow:none}
body.eu-shell-workspace{--eu-header-height:57px}
body.eu-shell-workspace.eu-embedded{--eu-header-height:0px}
body.eu-shell-workspace.eu-embedded>.top,
body.eu-shell-workspace.eu-embedded>.hero,
body.eu-shell-workspace .ww-header,
body.eu-shell-workspace .mg-header{display:none!important}
body.eu-shell-workspace #mg-app,body.eu-shell-workspace #warWorkspace{top:var(--eu-header-height);bottom:0;background:#edf2f3}
body.eu-shell-workspace .ww-nav,body.eu-shell-workspace .mg-nav{
 order:-2;flex:0 0 auto;height:auto;min-height:38px;max-width:1100px;width:100%;
 margin:0 auto;padding:3px 7px;gap:4px;background:transparent;border:0;box-shadow:none;z-index:2
}
body.eu-shell-workspace .ww-nav button,body.eu-shell-workspace .mg-nav button{
 border:1px solid #c5d7de;background:#fff;color:#456476;border-radius:7px;min-height:35px;padding:5px 2px;
 font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap;flex-direction:row;gap:3px
}
body.eu-shell-workspace .ww-nav button span,body.eu-shell-workspace .mg-nav button span{display:none}
body.eu-shell-workspace .ww-nav button[aria-current="page"],body.eu-shell-workspace .mg-nav button[data-active="true"]{background:#dcebf0;color:#174c63;border-color:#7ca7b7}
body.eu-shell-workspace .eu-workspace-tools{order:-1;flex:0 0 auto;min-height:30px;max-width:1100px;width:100%;margin:0 auto;padding:2px 9px 4px;display:flex;justify-content:flex-end;align-items:center;gap:6px}
body.eu-shell-workspace .eu-workspace-tools #ww-cost-caption{flex:1;min-width:0;font-size:11px;color:#56727f;white-space:normal;line-height:1.3}
body.eu-shell-workspace .eu-workspace-tools a,body.eu-shell-workspace .eu-workspace-tools button{display:inline-flex;align-items:center;justify-content:center;background:#f7fbfc;color:#305e74!important;border:1px solid #bed3dc;border-radius:6px;font-size:11px;font-weight:750;text-decoration:none;padding:4px 8px;min-height:27px;white-space:nowrap}
body.eu-shell-workspace .ww-body{padding:5px 7px max(8px,env(safe-area-inset-bottom));max-width:1100px}
body.eu-shell-workspace #mg-main{padding:5px 7px max(8px,env(safe-area-inset-bottom));max-width:1100px;margin-inline:auto}
body.eu-shell-workspace .mg-panel{max-width:1100px}
@media(max-width:640px){body.eu-shell-workspace:not(.eu-embedded){--eu-header-height:51px}body.eu-shell-workspace .ww-nav,body.eu-shell-workspace .mg-nav{padding:3px 3px;gap:3px}body.eu-shell-workspace .ww-nav button,body.eu-shell-workspace .mg-nav button{font-size:10.5px;min-height:34px}body.eu-shell-workspace .eu-workspace-tools{padding-inline:4px}}
