:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif; color: #1e3034; background: #f4f7f6; font-synthesis: none; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
a { color: #176452; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #6bac93; outline-offset: 4px; }
.site-header { width: min(1080px, 100%); margin: 0 auto; padding: 25px 32px; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #1e3034; font-size: 19px; font-weight: 750; letter-spacing: -.4px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: white; background: #246855; font-family: Georgia, serif; font-size: 26px; padding-bottom: 3px; }
nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 13px; }
nav a { color: #536861; }
.account-layout { flex: 1; display: grid; place-items: center; padding: 35px 20px 64px; }
.account-card { width: 100%; max-width: 440px; background: white; border: 1px solid #e1e8e4; border-radius: 20px; padding: 38px; box-shadow: 0 14px 44px #264c3510; }
.eyebrow { margin: 0 0 14px; color: #397360; font-size: 10px; font-weight: 750; letter-spacing: 2px; }
h1 { margin: 0 0 12px; font-size: 27px; line-height: 1.45; font-weight: 750; letter-spacing: -.9px; word-break: keep-all; }
.description { margin: 0 0 28px; color: #6a7975; font-size: 14px; line-height: 1.85; word-break: keep-all; }
form { margin-top: 20px; }
label { display: block; margin: 19px 0 8px; color: #344c43; font-size: 13px; font-weight: 650; }
input:not([type=hidden]) { appearance: none; display: block; width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cbd8d1; border-radius: 9px; background: #fff; color: #1e3034; font: inherit; font-size: 16px; }
input:focus { outline: 3px solid #5b9c7826; border-color: #397360; }
button { font: inherit; cursor: pointer; }
.primary { display: block; width: 100%; margin-top: 27px; padding: 13px 18px; border: 1px solid #246855; border-radius: 9px; background: #246855; color: #fff; text-align: center; font-size: 14px; font-weight: 650; line-height: 1.5; }
.primary:hover { background: #195342; text-decoration: none; }
.secondary { display: block; padding: 13px; margin-top: 9px; text-align: center; font-size: 14px; }
.footnote { margin: 25px 0 0; color: #7b8882; font-size: 12px; text-align: center; line-height: 1.9; word-break: keep-all; }
.field-help { margin: 7px 0 0; color: #708077; font-size: 12px; line-height: 1.65; }
.notice { margin: 19px 0; padding: 13px 15px; border-radius: 9px; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.error { background: #fff0ed; color: #96362c; border: 1px solid #f2d9d1; }
.success { background: #eaf5ec; color: #2a6640; border: 1px solid #d0e7d5; }
.back-link { display: inline-block; margin-bottom: 24px; color: #688076; font-size: 12px; }
.portal-layout { flex: 1; width: min(980px, 100%); margin: 0 auto; padding: 60px 32px 90px; }
.welcome h1 { font-size: 34px; overflow-wrap: anywhere; }
.welcome .description { margin-bottom: 36px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 24px; }
.tool-card { display: block; padding: 30px; border: 1px solid #d8e5dc; border-radius: 18px; background: white; color: #1e3034; box-shadow: 0 6px 24px #264c3508; transition: border-color .15s, box-shadow .15s; }
.tool-card:hover { border-color: #84b49c; box-shadow: 0 10px 30px #264c3510; text-decoration: none; }
.tool-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 13px; background: #eaf2e9; color: #39714c; font-size: 29px; }
.tool-category { color: #829088; font-size: 10px; font-weight: 650; letter-spacing: 1.2px; }
.tool-card h2 { margin: 10px 0 12px; font-size: 23px; letter-spacing: -.7px; }
.tool-card p { margin: 0; font-size: 14px; line-height: 1.85; color: #6a7975; word-break: keep-all; }
.tool-action { display: flex; justify-content: space-between; align-items: center; margin-top: 27px; padding-top: 18px; border-top: 1px solid #edf1ee; color: #276d54; font-size: 13px; font-weight: 700; }
.site-footer { padding: 16px 24px 25px; text-align: center; color: #9aa59f; font-size: 11px; }
@media (max-width: 520px) { .site-header { padding: 21px 22px; gap: 14px; align-items: flex-start; } .brand { font-size: 17px; } nav { justify-content: flex-end; gap: 10px 14px; font-size: 11px; padding-top: 8px; } .account-layout { padding: 22px 18px 40px; } .account-card { padding: 28px 24px; border-radius: 16px; } h1 { font-size: 25px; } .portal-layout { padding: 40px 22px 60px; } .welcome h1 { font-size: 28px; } .tool-card { padding: 25px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
