:root {
  color-scheme: light;
  --ink: #20201f;
  --muted: #72716e;
  --line: #e6e5e2;
  --canvas: #fbfbfa;
  --surface: #fff;
  --soft: #f4f3f1;
  --accent: #746388;
  --radius: 10px;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.65; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, .button-link { transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 2px solid #685378; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(30px, 3.3vw, 43px); font-weight: 600; line-height: 1.24; letter-spacing: -.055em; overflow-wrap: anywhere; }
h2 { font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.03em; }
h3 { font-size: 16px; font-weight: 600; }
code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .85em; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 18px; background: var(--ink); color: white; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.app-header { position: sticky; top: 0; z-index: 20; background: rgba(251,251,250,.97); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; min-height: 78px; margin: 0 auto; padding: 0 36px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand-symbol { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -.04em; }
.brand-product { margin-left: 3px; font-weight: 400; color: var(--muted); }
.header-nav { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.header-nav a { color: var(--muted); text-decoration: none; padding: 7px 0; white-space: nowrap; }
.header-nav a:hover { color: var(--ink); }
.nav-account { margin-left: auto; gap: 18px; flex-wrap: wrap; }
.page-mails .nav-mail, .page-detail .nav-mail, .page-admin .nav-admin, .page-users .nav-admin, .page-integrations .nav-admin, .page-password .nav-password { color: var(--ink); text-decoration: underline; text-decoration-color: #bbb3c2; text-decoration-thickness: 2px; text-underline-offset: 9px; }
.user-label { display: flex; align-items: center; gap: 7px; padding-left: 18px; border-left: 1px solid var(--line); font-size: 12px; white-space: nowrap; }
.user-name { max-width: 135px; overflow: hidden; text-overflow: ellipsis; }
.user-dot, .quiet-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #82718f; flex: 0 0 auto; }
.inline-form { display: inline-flex; margin: 0; }
.page-shell { width: min(1160px, calc(100% - 72px)); margin: 0 auto; padding: 58px 0 80px; flex: 1; }
.detail-shell { max-width: 1020px; padding-top: 32px; }
.account-shell { max-width: 760px; }
.page-heading { margin-bottom: 35px; }
.page-heading h1 + p { margin-top: 14px; }
.page-kicker, .eyebrow { font-family: "SFMono-Regular", Consolas, "Malgun Gothic", monospace; font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 13px; overflow-wrap: anywhere; }
.page-index { display: inline-block; border: 1px solid #dcd8e0; border-radius: 4px; padding: 2px 6px; color: #66586d; font-size: 9px; letter-spacing: .03em; white-space: nowrap; }
.heading-with-actions, .admin-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.mail-heading { position: relative; isolation: isolate; padding: 12px 0 10px; }
.mail-heading::before, .admin-intro::before { content: ""; position: absolute; z-index: -1; pointer-events: none; background: radial-gradient(ellipse, rgba(226,216,239,.38), transparent 65%); }
.mail-heading::before { inset: -50px 0 -55px 22%; }
.admin-intro { position: relative; isolation: isolate; padding-bottom: 20px; }
.admin-intro::before { inset: -50px 12% -70px 20%; }
.heading-note { color: var(--muted); font-size: 13px; line-height: 1.9; padding-bottom: 3px; }
.muted, .cache-time, .group-address, small { color: var(--muted); font-weight: 400; }
.muted { font-size: 14px; }
.group-address { font-size: 14px; letter-spacing: .01em; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: 12px; text-decoration: none; }
.back-link:hover { color: var(--ink); text-decoration: underline; }
label { display: block; font-size: 12px; font-weight: 600; line-height: 1.6; }
input:not([type=hidden]), select { display: block; width: 100%; min-width: 0; min-height: 46px; margin-top: 9px; border: 1px solid #dcdad6; border-radius: 6px; background: var(--surface); padding: 11px 13px; color: var(--ink); font-size: 14px; }
input::placeholder { color: #908d88; font-weight: 400; font-size: 12px; }
input:focus, select:focus { outline: 2px solid #bcb0c8; outline-offset: 2px; border-color: #8d7d9a; }
label small { display: block; margin-top: 8px; font-size: 11px; line-height: 1.8; }
.field-row { display: flex; align-items: center; gap: 8px; }
.field-row > * { min-width: 0; }
.field-row select { flex: 1; margin-top: 0; }
.group-picker { width: 315px; max-width: 100%; }
.group-picker .field-row { margin-top: 8px; }
.stack-lg { display: grid; gap: 22px; margin-top: 26px; }
button, .button-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; border: 1px solid transparent; border-radius: 6px; padding: 10px 18px; font-size: 12px; font-weight: 500; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.button-primary { color: white; background: #252523; border-color: #252523; box-shadow: 0 1px 2px #00000010; }
.button-primary:hover { background: #41413e; border-color: #41413e; }
.button-secondary { color: #504e4a; background: #fff; border-color: #dcdad6; }
.button-secondary:hover { background: #f4f2ef; border-color: #bdb9b3; }
.button-danger { color: #a94e43; background: #fff; border-color: #ecd5d0; }
.button-danger:hover { background: #fff1ee; }
.button-quiet { min-height: 32px; padding: 5px 0; border: 0; background: none; color: #504e4a; font-size: 12px; }
.button-quiet:hover { color: var(--ink); text-decoration: underline; }
.button-block { width: 100%; }
.button-small { min-height: 38px; padding: 8px 12px; font-size: 12px; }
.mail-results, .panel, .message-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.mail-results { overflow: hidden; min-height: 260px; }
.section-bar { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.section-bar h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.mail-count { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 21px; padding: 0 6px; background: #f3f1f5; color: #73657e; font-size: 10px; border-radius: 4px; font-weight: 400; }
.cache-time { margin-top: 4px; font-size: 11px; }
.mail-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 13px; }
.mail-table th { color: #77746f; background: #fafaf9; font-size: 11px; font-weight: 400; padding: 12px 28px; border-bottom: 1px solid var(--line); }
.mail-table th:first-child { width: 25%; }
.mail-table th:last-child { width: 20%; }
.mail-table td { padding: 24px 28px; border-bottom: 1px solid #eeedeb; vertical-align: middle; overflow-wrap: anywhere; }
.mail-table tbody tr:last-child td { border-bottom: 0; }
.mail-table tbody tr:hover { background: #fcfbfd; }
.mail-table td:first-child { font-size: 12px; color: #6c6964; }
.mail-table td:last-child { font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; color: var(--muted); white-space: nowrap; }
.mail-subject { position: relative; display: block; color: #5d5a55; text-decoration: none; line-height: 1.7; }
.mail-subject:hover { color: #655372; text-decoration: underline; }
.mail-unread .mail-subject { font-weight: 600; color: var(--ink); }
.mail-unread .mail-subject::before { content: ""; position: absolute; left: -13px; top: .65em; width: 4px; height: 4px; border-radius: 50%; background: #8f7ca2; }
.workspace-caption { margin-top: 18px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); }
.workspace-caption > span:last-child { letter-spacing: .04em; }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline; }
.notice { border: 1px solid; border-radius: 7px; padding: 15px 18px; font-size: 12px; line-height: 1.85; margin-bottom: 24px; }
.notice strong, .notice span { display: block; }
.notice strong { font-weight: 600; }
.notice-error { background: #fff6f3; border-color: #efdad3; color: #9b4738; }
.notice-success { background: #f3f8f4; border-color: #d6e8da; color: #366f4f; }
.notice-warning { background: #fbf8ef; border-color: #eee5c9; color: #856829; }
.mail-results > .notice { margin: 24px 28px; }
.stack-lg .notice { margin: 0; }
.empty-state { padding: 65px 24px 70px; color: var(--muted); text-align: center; font-size: 12px; }
.empty-state h3 { color: #57524e; margin: 12px 0 5px; font-size: 14px; }
.empty-mail-mark { display: inline-flex; width: 62px; height: 62px; align-items: center; justify-content: center; background: #f5f2f7; border-radius: 50%; color: #8b7d98; }
.message-card { overflow: hidden; }
.message-header { padding: 36px 38px 30px; border-bottom: 1px solid var(--line); }
.message-header h1 { font-size: clamp(25px, 3vw, 35px); letter-spacing: -.045em; }
.message-header .page-kicker { margin-bottom: 19px; }
.message-meta { margin: 28px 0 0; font-size: 12px; }
.message-meta > div { display: flex; gap: 18px; padding: 5px 0; }
.message-meta dt { flex: 0 0 75px; color: var(--muted); }
.message-meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.message-body-section { background: white; }
.message-body-frame { display: block; width: 100%; height: 680px; border: 0; background: #fff; }
.admin-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 20px; }
.admin-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 254px; gap: 9px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.admin-card:hover { border-color: #bab0c3; box-shadow: 0 8px 26px #30233d06; }
.admin-card .card-index { font-family: Consolas, monospace; font-size: 10px; color: #8b8781; margin-bottom: 30px; }
.admin-card-label { font-size: 12px; color: var(--muted); }
.admin-card strong { font-size: 29px; line-height: 1.4; font-weight: 500; letter-spacing: -.05em; }
.admin-card > span:not(.card-index):not(.admin-card-label):not(.card-arrow) { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.admin-card .card-arrow { position: absolute; right: 28px; top: 25px; color: #77716e; font-size: 21px; }
.admin-columns { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.4fr); gap: 22px; align-items: start; }
.panel { min-width: 0; padding: 29px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.panel-heading .page-kicker { margin-bottom: 13px; font-size: 9px; }
.panel-heading .muted { margin-top: 7px; font-size: 12px; }
.panel .stack-lg { margin-top: 0; }
.panel > h2 { margin-bottom: 24px; }
.responsive-list { width: 100%; }
.user-row, .group-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 23px 0; border-top: 1px solid var(--line); font-size: 13px; }
.user-row:first-child, .group-row:first-child { border-top: 0; padding-top: 6px; }
.user-row:last-child, .group-row:last-child { padding-bottom: 5px; }
.user-row > div:first-child, .group-row > div:first-child { min-width: 0; }
.user-row p, .group-row p { color: var(--muted); font-size: 12px; margin-top: 6px; overflow-wrap: anywhere; }
.user-row strong, .group-row strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.user-row { flex-wrap: wrap; }
.user-row .field-row { flex-wrap: wrap; gap: 7px; }
.badge { display: inline-block; vertical-align: middle; padding: 2px 6px; border-radius: 4px; background: #f1eef6; color: #6d5b7f; font-size: 11px; font-weight: 500; margin-left: 7px; }
.badge-muted { background: #f2f1ed; color: #66615b; }
.integration-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: stretch; margin-bottom: 22px; }
.integration-grid .integration-panel { margin-bottom: 0; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; border-radius: 20px; padding: 5px 9px; white-space: nowrap; font-size: 11px; line-height: 1.5; }
.status-dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-ok { color: #49765c; background: #f0f6f1; }
.status-error { color: #aa5145; background: #fcf1ed; }
.status-off { color: #69645e; background: #f3f2ef; }
.summary-list { margin: 12px 0 23px; font-size: 12px; }
.summary-list > div { display: grid; grid-template-columns: 112px minmax(0,1fr); padding: 14px 0; gap: 15px; border-bottom: 1px solid #eeedeb; }
.summary-list > div:last-child { border-bottom: 0; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; overflow-wrap: anywhere; }
.security-note { color: var(--muted); font-size: 11px; margin-top: 17px; line-height: 1.8; }
.password-panel { max-width: 600px; }
.password-panel .stack-lg { margin-top: 25px; }
.password-panel .button-primary { justify-self: start; min-width: 160px; }
.app-footer { margin-top: auto; width: 100%; }
.app-footer > div { max-width: 1208px; margin: 0 auto; padding: 22px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .045em; }
.footer-brand { font-weight: 600; }
.footer-brand > span { color: var(--muted); margin-left: 9px; font-family: Consolas, monospace; font-weight: 400; }
.footer-note { color: var(--muted); display: inline-flex; gap: 10px; }
.auth-topbar { width: min(1208px, calc(100% - 72px)); min-height: 84px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.access-label { display: flex; align-items: center; gap: 8px; font-family: Consolas, monospace; font-size: 9px; letter-spacing: .09em; color: var(--muted); }
.auth-layout { width: min(1080px, calc(100% - 100px)); margin: auto; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); align-items: center; gap: 96px; padding: 72px 0 68px; flex: 1; }
.auth-intro h1 { font-size: clamp(43px,4.7vw,62px); line-height: 1.35; font-weight: 500; letter-spacing: -.07em; }
.auth-intro .page-kicker { margin-bottom: 30px; font-size: 9px; }
.accent-word { position: relative; color: #5b4e65; }
.accent-word::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: #b5a8bf; }
.intro-description { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.auth-card { background: var(--surface); border: 1px solid #e2dfdf; border-radius: 12px; padding: 34px; box-shadow: 0 12px 40px #31223605; }
.auth-card-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
.auth-card-heading .page-kicker { margin: 0; font-size: 9px; }
.corner-mark { font-size: 22px; font-weight: 300; color: #7b746f; line-height: 1; }
.auth-card h2 { font-size: 31px; font-weight: 500; letter-spacing: -.055em; margin-bottom: 8px; }
.auth-card > .muted { font-size: 12px; }
.auth-card > .notice { margin: 22px 0 0; }
.auth-card .stack-lg { margin-top: 31px; gap: 23px; }
.auth-card .button-primary { margin-top: 5px; justify-content: space-between; min-height: 46px; }
.auth-note { color: var(--muted); font-size: 11px; margin: 23px 0; line-height: 1.9; }
.auth-note strong { color: #5a5551; font-weight: 500; }
.auth-card-footer { display: flex; align-items: center; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.mail-illustration { position: relative; height: 258px; width: 100%; margin-top: 22px; isolation: isolate; }
.mail-illustration::before { content: ""; position: absolute; inset: -15px -35px 5px -55px; z-index: -1; background: radial-gradient(ellipse at 27% 61%,#f0d7e8a8,transparent 56%),radial-gradient(ellipse at 65% 45%,#dad4f0b5,transparent 57%); filter: blur(14px); }
.illustration-note { position: absolute; width: 239px; height: 155px; border: 1px solid #dcd6e2; border-radius: 8px; background: rgba(255,255,255,.87); box-shadow: 0 8px 25px #44235008; }
.note-back { top: 22px; left: 76px; transform: rotate(8deg); background: #f9f6fb; padding: 24px; }
.note-back > span { display: block; margin: 11px 0; height: 4px; width: 120px; background: #e8e2ed; }
.note-back > span:last-child { width: 80px; }
.note-front { top: 53px; left: 19px; transform: rotate(-5deg); padding: 17px 21px 11px; }
.illustration-label { display: flex; align-items: center; gap: 9px; color: #7b6b88; font-family: Consolas,monospace; font-size: 9px; letter-spacing: .07em; }
.illustration-label i { height: 5px; width: 5px; border-radius: 50%; background: #aea1b9; margin-left: auto; }
.illustration-lines { display: grid; gap: 8px; padding: 18px 0; }
.illustration-lines span { height: 3px; width: 85%; background: #dfd9e5; }
.illustration-lines span:nth-child(2) { width: 69%; background: #e8e4ec; }
.illustration-lines span:nth-child(3) { width: 42%; background: #e8e4ec; }
.illustration-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; border-top: 1px solid #e9e3ec; color: #9c90a6; font-family: Consolas,monospace; font-size: 8px; letter-spacing: .1em; }
.illustration-bottom > span:last-child { font-size: 15px; }
.illustration-orbit { position: absolute; border: 1px solid #e6deea; border-radius: 50%; transform: rotate(-15deg); pointer-events: none; }
.orbit-one { top: 36px; left: -25px; width: 430px; height: 157px; }
.orbit-two { top: 5px; left: 97px; width: 187px; height: 211px; transform: rotate(45deg); }
.illustration-caption { position: absolute; bottom: 0; left: 0; color: #8c838e; font-size: 9px; letter-spacing: .02em; }
.handoff-page { background: radial-gradient(ellipse at 50% 30%, #eae4f0, transparent 55%), var(--canvas); }
.handoff-shell { width: min(480px, calc(100% - 40px)); margin: auto; padding: 60px 0; flex: 1; display: flex; align-items: center; }
.handoff-card { width: 100%; padding: 36px; border: 1px solid var(--line); background: #fff; border-radius: 12px; }
.handoff-card > .brand-symbol { margin-bottom: 30px; }
.handoff-card h1 { font-size: 28px; margin-bottom: 15px; }
.handoff-card .button-block { margin: 28px 0 20px; white-space: normal; }
.handoff-card .back-link { margin: 0; }
@media (max-width: 1280px) {
  .app-footer > div { margin-left: 36px; margin-right: 36px; }
  .header-inner { gap: 26px; }
  .header-nav { gap: 16px; }
  .auth-layout { gap: 65px; }
  .mail-table th, .mail-table td { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 1000px) {
  .header-inner { padding: 0 28px; gap: 26px; }
  .brand-product { display: none; }
  .auth-topbar .brand-product { display: inline; }
  .page-shell { width: calc(100% - 56px); }
  .auth-layout { width: calc(100% - 72px); gap: 40px; }
  .auth-intro h1 { font-size: 46px; }
  .auth-card { padding: 27px; }
  .admin-columns { grid-template-columns: minmax(270px,.85fr) minmax(0,1.2fr); }
  .panel { padding: 24px; }
  .summary-list > div { grid-template-columns: 95px minmax(0,1fr); gap: 10px; }
}
@media (max-width: 760px) {
  .header-inner { padding: 17px 24px 12px; flex-wrap: wrap; gap: 15px 24px; }
  .brand-name { font-size: 15px; }
  .nav-primary { margin-left: auto; }
  .nav-account { flex-basis: 100%; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 9px; gap: 18px; }
  .nav-account > a { margin-right: auto; }
  .header-nav { font-size: 11px; }
  .user-label { border: 0; padding-left: 0; font-size: 11px; }
  .button-quiet { font-size: 11px; }
  .page-shell { width: calc(100% - 40px); padding-top: 34px; padding-bottom: 50px; }
  .page-heading { margin-bottom: 27px; }
  .heading-with-actions, .admin-intro { align-items: flex-start; flex-direction: column; gap: 24px; }
  .heading-note { font-size: 12px; }
  .page-kicker { margin-bottom: 15px; }
  .group-picker { width: 100%; }
  .admin-grid { grid-template-columns: 1fr; gap: 12px; }
  .admin-card { min-height: 190px; padding: 24px; }
  .admin-card .card-index { margin-bottom: 12px; }
  .admin-card strong { font-size: 26px; }
  .admin-columns, .integration-grid { grid-template-columns: 1fr; }
  .panel { padding: 23px; }
  .mail-table th:first-child { width: 26%; }
  .mail-table th:last-child { width: 25%; }
  .mail-table th, .mail-table td { padding: 18px; }
  .message-header { padding: 26px 24px; }
  .message-body-frame { height: 620px; }
  .auth-layout { width: min(470px, calc(100% - 44px)); display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding: 44px 0; }
  .auth-intro .page-kicker { margin-bottom: 18px; }
  .auth-intro h1 { font-size: 36px; line-height: 1.35; }
  .intro-description { font-size: 12px; margin-top: 16px; }
  .mail-illustration { display: none; }
  .auth-intro { position: relative; isolation: isolate; }
  .auth-intro::before { content: ""; position: absolute; z-index: -1; inset: 0 -15px -20px; background: radial-gradient(ellipse at 75% 75%,#e7dff085,transparent 60%); }
  .auth-topbar { width: calc(100% - 44px); min-height: 70px; }
  .auth-topbar .brand-name { font-size: 14px; }
  .access-label { font-size: 8px; letter-spacing: 0; }
  .auth-topbar .brand-product { display: none; }
  .auth-card { padding: 28px; }
  .auth-card h2 { font-size: 28px; }
  .app-footer > div { margin-left: 22px; margin-right: 22px; flex-wrap: wrap; padding: 20px 0; gap: 8px; }
}
@media (max-width: 520px) {
  .section-bar { padding: 20px; min-height: 85px; }
  .mail-table, .mail-table tbody { display: block; }
  .mail-table thead { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
  .mail-table tr { display: flex; flex-direction: column; padding: 20px; gap: 8px; border-bottom: 1px solid var(--line); }
  .mail-table tr:last-child { border-bottom: 0; }
  .mail-table td { display: block; padding: 0; border: 0; }
  .mail-table td:first-child { font-size: 12px; }
  .mail-table td[data-label="제목"] { padding-left: 12px; }
  .mail-subject { font-size: 14px; }
  .mail-table td:last-child { margin-top: 3px; font-size: 11px; }
  .mail-results > .notice { margin: 20px; }
  .workspace-caption { font-size: 9px; gap: 8px; }
  .notice { font-size: 11px; padding: 14px 15px; }
  .message-meta > div { gap: 12px; }
  .message-meta dt { flex-basis: 60px; }
  .message-meta { font-size: 11px; }
  .message-header { padding: 24px 20px; }
  .message-header .page-kicker { flex-wrap: wrap; gap: 8px; font-size: 9px; }
  .message-body-frame { height: 550px; }
  .group-row { gap: 10px; }
  .group-row strong { font-size: 12px; }
  .group-row .badge { display: inline-block; font-size: 11px; margin-left: 5px; }
  .user-row .field-row { gap: 7px; }
  .panel-heading { gap: 12px; }
  .status-dot { font-size: 11px; padding: 5px 7px; }
  .summary-list > div { grid-template-columns: 88px minmax(0,1fr); }
  .auth-layout { padding-top: 32px; gap: 26px; }
  .auth-card { padding: 25px; }
  .auth-card-footer { font-size: 9px; }
  .empty-state { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
