@font-face {
  font-family: Pretendard;
  src: url("/site-assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --forest: #123226;
  --green: #28633f;
  --lime: #c6e8ae;
  --cream: #f8f7f3;
  --ink: #14231a;
  --muted: #637168;
  --line: #dce3d9;
  --orange: #b63d1e;
  --paper: #fffefa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; letter-spacing: -.025em; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .45; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { word-break: keep-all; text-wrap: balance; }
p { word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.045em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 780; }
h3 { font-size: 22px; font-weight: 750; }
:focus-visible { outline: 3px solid #cb6b3d; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 20px; z-index: 99; padding: 12px 20px; background: white; color: var(--forest); border-radius: 8px; }
.skip:focus { top: 12px; }
.site-header { background: var(--forest); color: #f5f8ef; }
.header { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 820; white-space: nowrap; letter-spacing: -.065em; }
.brand span { font-size: 11px; font-weight: 600; letter-spacing: .08em; opacity: .65; }
.header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; color: #c8d7ca; }
.header nav a { transition: color .15s; }
.header nav a:hover { color: var(--lime); }
.header .nav-cta { border: 1px solid #6b8a70; padding: 10px 18px; border-radius: 30px; color: var(--lime); display: flex; gap: 16px; }
.eyebrow { display: block; color: var(--green); font-size: 13px; line-height: 1.5; font-weight: 750; letter-spacing: .015em; margin-bottom: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 15px 22px; border: 1px solid transparent; border-radius: 13px; background: var(--green); color: white; font-weight: 680; font-size: 15px; transition: background .15s, transform .15s; }
.button:hover { background: var(--forest); transform: translateY(-1px); }
.quiet-button { border: 1px solid var(--line); background: var(--paper); padding: 9px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; }
.quiet-button:hover { border-color: #7d9a7e; }
.text-link { color: var(--green); text-underline-offset: 5px; text-decoration: underline; font-weight: 650; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.site-footer { background: #102a20; color: #b9cabd; }
.footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; padding-block: 56px; font-size: 13px; }
.footer .brand { color: #f1f6ed; font-size: 21px; }
.footer p { margin: 16px 0 10px; color: #9fb4a6; }
.footer small { font-size: 11px; color: #9fb4a6; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px 26px; padding-top: 8px; }
.footer nav a:hover { color: white; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
th { background: #f1f4ed; color: #53634f; font-weight: 650; }
th, td { padding: 14px 16px; border-bottom: 1px solid #e7ebe2; vertical-align: top; }
.table-scroll { overflow-x: auto; border: 1px solid #e0e6db; border-radius: 12px; margin: 18px 0; }
.table-scroll table { margin: 0; }
.table-scroll tr:last-child td { border-bottom: 0; }
.notice { padding: 18px 21px; border: 1px solid #ecd9b4; border-radius: 12px; background: #fff6e6; color: #78582a; font-size: 13px; line-height: 1.75; }
.policy-value { background: #f0f4eb; border-left: 3px solid #88a66f; padding: 16px 20px; border-radius: 0 10px 10px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.back-link { display: inline-flex; font-size: 13px; margin-bottom: 30px; }

/* Shared document shell: no changes to policy content or retention settings. */
.legal-hero { background: var(--forest); color: #f3f8ee; padding: 35px 0 64px; }
.legal-hero .back-link { color: #bacdbe; }
.legal-hero .eyebrow { color: var(--lime); font-size: 11px; letter-spacing: .13em; margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(32px, 4.8vw, 48px); }
.legal-lead { margin-top: 18px; font-size: 17px; color: #bacdbe; }
.legal-lead br { display: none; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; font-size: 12px; color: #d5e4d5; }
.legal-meta span { padding: 7px 12px; border: 1px solid #365647; border-radius: 8px; }
.legal-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; padding-block: 48px 88px; align-items: start; }
.legal-toc { position: sticky; top: 28px; display: grid; gap: 5px; padding-top: 12px; }
.legal-toc strong { font-size: 12px; color: #778270; margin: 0 12px 12px; }
.legal-toc a { font-size: 13px; color: #52654f; padding: 8px 12px; border-radius: 8px; }
.legal-toc a:hover { background: #e9efe3; color: var(--green); }
.legal-toc .toc-bottom { border-top: 1px solid var(--line); border-radius: 0; margin-top: 18px; padding-top: 18px; font-size: 12px; }
.legal { min-width: 0; }
.legal > .notice { margin-bottom: 22px; }
.legal > section { padding: 30px 32px; background: var(--paper); border: 1px solid #e2e7dc; border-radius: 18px; margin-bottom: 16px; scroll-margin-top: 28px; }
.legal h2 { font-size: 20px; margin-bottom: 18px; line-height: 1.5; }
.legal p { font-size: 14px; color: #566153; line-height: 1.9; margin: 12px 0; }
.legal td { min-width: 200px; color: #53604f; font-size: 13px; line-height: 1.8; }
.legal .button { margin-top: 10px; }
.delete-steps { padding-left: 22px; font-size: 14px; color: #52604e; line-height: 2; }
.delete-steps li { padding-left: 6px; margin-block: 8px; }
.delete-steps li::marker { color: var(--green); font-weight: 700; }

/* Operator console. Auth, actual analytics and privacy boundaries stay server-owned. */
.ops-page { background: #f3f5ee; }
.ops-header { min-height: 76px; padding: 16px 36px; background: var(--forest); color: #f4f7ef; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #315241; }
.ops-private { font-size: 12px; color: #c4d9bc; display: flex; gap: 9px; align-items: center; }
.ops-main { max-width: 1440px; padding: 32px 36px 60px; margin: auto; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 36px auto 20px; background: var(--paper); border: 1px solid #dce4d6; border-radius: 26px; overflow: hidden; box-shadow: 0 22px 60px #2339210b; }
.login-story { padding: 54px 42px; background: var(--forest); color: #f0f6e9; position: relative; overflow: hidden; }
.login-story::after { content: ""; width: 320px; height: 320px; position: absolute; right: -160px; bottom: -100px; border: 1px solid #3b6045; border-radius: 50%; box-shadow: 0 0 0 50px #3b60451a, 0 0 0 100px #3b604510; pointer-events: none; }
.login-story .eyebrow { color: var(--lime); font-size: 11px; letter-spacing: .12em; margin-top: 38px; }
.login-story h2 { font-size: 36px; line-height: 1.35; }
.login-story p { color: #bbccba; font-size: 14px; line-height: 1.9; margin-top: 22px; }
.login-story ul { list-style: none; padding: 28px 0 0; margin: 28px 0 0; border-top: 1px solid #36533f; font-size: 13px; color: #c1d5b9; }
.login-story li { display: flex; align-items: center; gap: 12px; margin: 13px 0; }
.login-panel { padding: 54px 42px; align-self: center; }
.login-panel .eyebrow { font-size: 11px; letter-spacing: .1em; }
.login-panel h1 { font-size: 29px; }
.login-panel > p { font-size: 14px; color: var(--muted); margin-top: 16px; line-height: 1.8; }
.login-panel form { margin: 26px 0; }
.login-panel label { display: block; font-size: 12px; font-weight: 680; margin-bottom: 9px; }
.login-panel input { width: 100%; padding: 13px 14px; color: var(--ink); border: 1px solid #cdd8c6; border-radius: 10px; background: #fafbf6; }
.login-panel input::placeholder { color: #7c8977; }
.login-panel .button { width: 100%; margin-top: 14px; }
.login-panel .tiny { font-size: 11px; line-height: 1.9; }
#feedback { color: #9b3b20; font-size: 13px; max-width: 1000px; margin: 0 auto 20px; }
#feedback:empty { display: none; }
#feedback:not(:empty) { padding: 15px 20px; border: 1px solid #ead9c5; background: #fff8ec; border-radius: 10px; }
.ops-shell { display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 28px; align-items: start; }
.ops-sidebar { position: sticky; top: 24px; padding: 20px 0; }
.ops-sidebar > span { display: block; font-size: 10px; letter-spacing: .14em; color: #74866b; font-weight: 750; padding: 0 14px 20px; }
.ops-sidebar a { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #586c50; border-radius: 9px; padding: 10px 14px; margin-bottom: 5px; }
.ops-sidebar a:first-of-type { background: #e0ebd6; color: var(--green); font-weight: 700; }
.ops-sidebar a:hover { background: #e8eee1; }
.ops-sidebar p { font-size: 11px; color: #76846e; line-height: 1.8; border-top: 1px solid #d9e2d0; padding: 20px 14px 0; margin-top: 24px; }
.ops-content { min-width: 0; }
.ops-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.ops-title .eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 10px; }
.ops-title h1 { font-size: 32px; }
.ops-title p { font-size: 12px; margin-top: 10px; }
.ops-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ops-controls label { font-size: 11px; color: var(--muted); }
.ops-controls select { font-size: 13px; padding: 9px 12px; border: 1px solid #d6e0cc; border-radius: 9px; background: var(--paper); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.metric { background: var(--paper); padding: 22px; border: 1px solid #dce5d3; border-radius: 16px; min-width: 0; }
.metric-label { font-size: 12px; color: #5e7055; font-weight: 600; }
.metric strong { display: block; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.04em; font-weight: 750; margin: 10px 0; overflow-wrap: anywhere; }
.metric small { font-size: 10px; color: #738069; line-height: 1.7; display: block; }
.metric.primary { background: var(--forest); border-color: var(--forest); color: var(--lime); }
.metric.primary .metric-label, .metric.primary small { color: #c2d3b9; }
.ops-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.panel { min-width: 0; background: var(--paper); border: 1px solid #dce5d3; border-radius: 16px; padding: 24px; margin-bottom: 20px; scroll-margin-top: 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.panel-heading h2 { font-size: 16px; }
.panel-heading > span { color: #76836f; font-size: 10px; text-align: right; }
.panel .table-scroll { border-radius: 8px; margin-bottom: 12px; }
.panel th, .panel td { white-space: nowrap; font-size: 11px; padding: 12px; }
.panel p.tiny { font-size: 11px; }
.empty-row { color: #7a8673; text-align: center; padding: 28px !important; }
.timeline { height: 142px; display: flex; align-items: stretch; gap: 4px; padding: 12px 0; }
.bar-slot { flex: 1; min-width: 2px; display: flex; align-items: center; }
.bar-slot svg { display: block; width: 100%; height: 100%; fill: #72945c; }
.chart-legend { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid #e7ecdf; color: #718168; font-size: 10px; }
.chart-legend span:first-child { color: var(--green); }
.platform-row { margin-bottom: 17px; }
.platform-label { display: flex; justify-content: space-between; font-size: 12px; }
.platform-label strong { font-weight: 650; }
.platform-label span { color: #57694f; }
.platform-row progress { display: block; width: 100%; height: 5px; margin: 9px 0 4px; border: 0; border-radius: 5px; overflow: hidden; accent-color: var(--green); background: #e9efe2; }
.platform-row progress::-webkit-progress-bar { background: #e9efe2; }
.platform-row progress::-webkit-progress-value { background: #72945c; border-radius: 5px; }
.platform-row progress::-moz-progress-bar { background: #72945c; }
.platform-row small { color: #7b8872; font-size: 10px; }
.queue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.queue-item { text-align: center; background: #f1f5eb; padding: 18px 6px; border-radius: 10px; }
.queue-item b { display: block; font-size: 23px; color: var(--green); }
.queue-item span { font-size: 11px; color: #728267; }
.limits > div { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; padding: 9px 0; border-bottom: 1px solid #e9ede2; }
.limits > div:last-child { border: 0; }
.limits span { color: #76836d; }
.limits b { font-weight: 650; text-align: right; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 20px; background: #edf0e7; color: #667357; font-size: 10px; font-weight: 650; }
.badge.succeeded { background: #e5efda; color: #41652c; }
.badge.failed { background: #fbe8df; color: #a14a2a; }
.badge.running { background: #e1ecef; color: #3d6871; }
.ops-notice { color: #7a856f; font-size: 11px; line-height: 1.8; margin-top: 8px; }
.ops-footer { text-align: center; padding: 24px; color: #7b8871; font-size: 10px; border-top: 1px solid #dce4d5; letter-spacing: .01em; }
@media (max-width: 1100px) {
  .ops-shell { grid-template-columns: 1fr; }
  .ops-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }
  .ops-sidebar > span, .ops-sidebar p { display: none; }
  .ops-title { align-items: flex-start; }
  .ops-controls { max-width: 270px; justify-content: flex-end; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .header { min-height: 78px; }
  .header nav { gap: 20px; font-size: 12px; }
  .header nav > a:nth-child(3) { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 5px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
  .legal-toc strong, .legal-toc .toc-bottom { display: none; }
  .legal-toc a { background: #edf1e7; font-size: 12px; padding: 6px 10px; }
  .login-layout { grid-template-columns: 1fr; margin-top: 8px; }
  .login-story { padding: 28px 32px; }
  .login-story .eyebrow { margin-top: 18px; }
  .login-story h2 { font-size: 26px; }
  .login-story p, .login-story ul { display: none; }
  .login-panel { padding: 32px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-grid { grid-template-columns: 1fr; gap: 0; }
  .ops-main { padding: 24px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 72px; gap: 12px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .header nav { gap: 14px; }
  .header nav > a:first-child { display: none; }
  .header .nav-cta { padding: 8px 12px; gap: 8px; font-size: 11px; }
  .footer { flex-direction: column; padding-block: 36px; gap: 24px; }
  .footer nav { gap: 16px; font-size: 12px; }
  .legal-hero { padding: 24px 0 40px; }
  .legal-hero h1 { font-size: 31px; }
  .legal-lead { font-size: 15px; }
  .legal-meta { gap: 8px; margin-top: 22px; font-size: 10px; }
  .legal-meta span { padding: 6px 9px; }
  .legal > section { padding: 22px 20px; border-radius: 14px; }
  .legal h2 { font-size: 18px; }
  .legal p { font-size: 13px; }
  .legal-toc a { font-size: 11px; }
  .legal .table-scroll { margin-inline: -4px; }
  .ops-header { padding: 16px 20px; min-height: 70px; }
  .ops-header .brand span { display: none; }
  .ops-private { font-size: 10px; }
  .ops-main { padding: 20px 16px 36px; }
  .ops-title { flex-direction: column; gap: 18px; }
  .ops-controls { max-width: none; justify-content: flex-start; }
  .ops-title h1 { font-size: 28px; }
  .metric { padding: 16px; }
  .metric-grid { gap: 10px; }
  .panel { padding: 18px; }
  .panel-heading { gap: 10px; }
  .panel-heading h2 { font-size: 15px; }
  .panel-heading > span { max-width: 140px; }
  .login-panel { padding: 28px 24px; }
  .login-story { padding: 28px 24px; }
  .queue-item b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
