/* 말틈 쪽빛판 · 바탕 모양. 화면마다의 모양은 판(design/*.dc.html)에서 가져와 화면을 열 때 끼운다. */
@font-face { font-family: "MaltumSerif"; src: url("../assets/fonts/GowunBatang-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MaltumSerif"; src: url("../assets/fonts/GowunBatang-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --jjok: #33508A; --bg: #F3F5F8; --ink: #171C2A; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body { font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; -webkit-text-size-adjust: 100%; }
#app { height: 100%; height: 100dvh; padding-top: env(safe-area-inset-top, 0px); overflow-y: auto; }
#app > div { min-height: 100%; }
button, input, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--jjok); outline-offset: 2px; }
nav[aria-label="주요 메뉴"] { padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)) !important; height: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
#mz-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px); max-width: min(420px, calc(100% - 32px));
  padding: 12px 16px; border-radius: 10px; background: #171C2A; color: #FFFFFF; font-size: 14px; line-height: 1.5; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 50; }
#mz-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 520px) { body { background: #E3E7EE; } #app > div { box-shadow: 0 0 0 1px #E6E9EF, 0 20px 60px -30px rgba(20,28,51,.35); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* 디자인 캔버스에서 상태를 바꿔 보던 칩 묶음. 앱에서는 숨긴다(상태는 MZ.app 값이 정한다). */
[role="group"][aria-label^="시험판"], [role="group"][aria-label="어떤 단추를 눌렀을 때"], [role="group"][aria-label="상황"] { display: none !important; }
