@media screen{
/* Shared geometry. Headers stay in document flow; the existing navigation controls remain fixed. */
body:not(.home-root) .toeic-page-header{box-sizing:border-box;position:static!important;top:auto!important;min-height:80px;height:auto;margin:0 0 18px!important;padding:18px 128px 18px 32px!important;display:flex;align-items:center;gap:12px;background:linear-gradient(110deg,#18313e,#112235 80%);border:0;border-bottom:1px solid #385366;box-shadow:none;max-width:none}
body:not(.home-root) .toeic-page-header .top{box-sizing:border-box;width:100%;min-height:0;padding:0!important;margin:0;gap:10px;display:flex;align-items:center}
body:not(.home-root) .toeic-page-header :is(h1,.brand,.menu-header-title,#brand){box-sizing:border-box;min-width:0;max-width:100%;margin:0!important;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:20px!important;font-weight:750;letter-spacing:-.035em;line-height:1.5;color:#e7f5ee;text-decoration:none;display:flex;align-items:center;flex-wrap:nowrap;gap:10px}
body:not(.home-root) .toeic-page-header>div{min-width:0;max-width:100%;width:100%}
body:not(.home-root) .toeic-page-header .official-mark{box-sizing:border-box;width:40px!important;height:40px!important;flex:0 0 40px!important;margin:0!important;object-fit:contain}
body:not(.home-root) .toeic-page-header :is(.screen-title-text,.dictation-title){min-width:0;white-space:normal;line-height:1.5;display:block}
body:not(.home-root) .toeic-page-header :is(.title-brand,.menu-program-name){font-size:20px!important;font-weight:750;white-space:nowrap;line-height:1.5;color:#d8f6e8;flex:none}
body:not(.home-root) .toeic-page-header :is(.title-context,.menu-section-title){font-size:18px!important;font-weight:600;color:#b5cddc;white-space:normal!important;overflow-wrap:anywhere;word-break:keep-all;line-height:1.6;flex-shrink:1!important;min-width:0}
body:not(.home-root) .toeic-page-header>.tag{display:none}
body:not(.home-root) .shell:has(>.toeic-page-header){padding-top:0!important;margin-top:0!important}
body:not(.home-root) .shell>.toeic-page-header{width:100vw;margin-left:calc(50% - 50vw)!important;max-width:100vw}
body:not(.home-root) .toeic-home-button{box-sizing:border-box;top:calc(20px + env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));width:40px;height:40px;min-width:40px;min-height:40px;padding:0!important;display:grid;place-items:center;border:1px solid #587b88;border-radius:12px;background:#1c3647;color:#b3e5d6;box-shadow:inset 0 1px 0 #ffffff08;line-height:0}
body:not(.home-root) .toeic-home-button.toeic-back-button{right:calc(max(20px,env(safe-area-inset-right)) + 48px)}
body:not(.home-root) .toeic-home-button svg{width:22px;height:22px;display:block;margin:0;transform:none}
body:not(.home-root) .toeic-home-button:hover{background:#2b514f;border-color:#84c5b1}
body:not(.home-root) .toeic-home-button[hidden]{display:none!important}
@media(max-width:790px){body:not(.home-root) .toeic-page-header{min-height:72px;padding:12px 106px 12px 14px!important;margin-bottom:14px!important;gap:9px}body:not(.home-root) .toeic-page-header :is(h1,.brand,.menu-header-title,#brand){font-size:16px!important;line-height:1.5;gap:9px}body:not(.home-root) .toeic-page-header .official-mark{width:32px!important;height:32px!important;flex-basis:32px!important}body:not(.home-root) .toeic-page-header :is(.title-brand,.menu-program-name){font-size:16px!important}body:not(.home-root) .toeic-page-header :is(.title-context,.menu-section-title){font-size:14px!important;line-height:1.6}body:not(.home-root) .toeic-home-button{top:calc(18px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:36px;height:36px;min-width:36px;min-height:36px;border-radius:10px}body:not(.home-root) .toeic-home-button.toeic-back-button{right:calc(max(12px,env(safe-area-inset-right)) + 44px)}body:not(.home-root) .toeic-home-button svg{width:21px;height:21px}}
@media(max-width:360px){body:not(.home-root) .toeic-page-header{padding-left:12px!important}body:not(.home-root) .toeic-page-header :is(h1,.brand,.menu-header-title,#brand){gap:7px}body:not(.home-root) .toeic-page-header :is(.title-context,.menu-section-title){font-size:13px!important}}
}
