:root {
  color-scheme: light;
  --ink: #202536;
  --muted: #657087;
  --line: #e3e7ef;
  --paper: #fff;
  --soft: #f6f7fb;
  --accent: #5b47d6;
  --accent-hover: #4834be;
  --accent-soft: #eeebff;
  --green: #16715b;
  --warn: #8a5314;
  --radius: 16px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--soft); font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 10px; color: white; background: var(--accent); font-size: 14px; font-weight: 650; line-height: 1.45; text-decoration: none; cursor: pointer; transition: background .16s, border-color .16s, box-shadow .16s, transform .16s; }
button:hover, .button:hover { background: var(--accent-hover); }
button:disabled { opacity: .48; cursor: not-allowed; }
button.secondary, a.secondary { color: var(--ink); background: white; border-color: var(--line); }
button.secondary:hover, a.secondary:hover { border-color: #b6acce; background: #f9f8ff; }
button.text-button, .text-button { min-height: 44px; padding: 7px 8px; background: transparent; color: var(--accent); border-radius: 6px; font-size: 13px; }
button.text-button:hover { background: var(--accent-soft); }
button.text-button.muted { color: var(--muted); }
:focus-visible { outline: 3px solid #8977ed; outline-offset: 4px; }
input:focus-visible, textarea:focus-visible { outline: 3px solid #dcd6ff; outline-offset: 0; border-color: var(--accent); }
::selection { background: #ded8ff; color: #30206f; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.4; letter-spacing: -.045em; word-break: keep-all; overflow-wrap: anywhere; }
h2 { font-size: 25px; }
p { word-break: keep-all; overflow-wrap: anywhere; }
.icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--accent); font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: .1em; }
.eyebrow-line { width: 22px; height: 2px; background: var(--accent); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; color: white; background: var(--accent); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .public-main, .site-footer { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 780; letter-spacing: -.8px; line-height: 1; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; height: 34px; width: 34px; padding-bottom: 6px; color: white; background: var(--accent); border-radius: 10px; font: 800 31px/1 ui-rounded, system-ui, sans-serif; letter-spacing: -4px; }
.brand-mark > span { color: #c5bcff; font-size: 29px; margin-left: 1px; padding-top: 4px; }
.brand-dot { color: var(--accent); }
.public-nav { display: flex; align-items: center; gap: 28px; }
.public-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #566078; font-size: 14px; font-weight: 600; text-decoration: none; }
.public-nav a:hover { color: var(--accent); }
.header-note { margin-left: auto; display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font-size: 12px; }
.header-note .icon { width: 15px; height: 15px; }
.hero { display: grid; grid-template-columns: 1.26fr 1fr; align-items: center; gap: 55px; padding: 80px 0 92px; }
.hero-copy .eyebrow { font-size: 12px; letter-spacing: .025em; margin-bottom: 25px; }
.hero h1 { font-size: clamp(32px, 3.55vw, 49px); line-height: 1.38; letter-spacing: -.065em; margin-bottom: 22px; }
.hero h1 > span { color: var(--accent); }
.hero-copy > p { color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 29px; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.hero-actions .button { min-height: 50px; padding-inline: 22px; box-shadow: 0 4px 10px #5b47d615; }
.hero-guide { display: inline-flex; align-items: center; min-height: 44px; color: #566078; font-size: 13px; text-decoration: none; border-bottom: 1px solid #c8ceda; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.hero-benefits span { display: flex; align-items: center; gap: 5px; color: #637088; font-size: 12px; }
.hero-benefits .icon { width: 15px; height: 15px; color: var(--green); }
.hero-preview { position: relative; border: 1px solid #e1e3ed; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px #3830600a, 0 3px 10px #37305205; transform: rotate(1.2deg); }
.preview-top { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 20px; background: #fbfbfd; border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; color: var(--muted); font-size: 11px; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { height: 6px; width: 6px; background: #d8d9e4; border-radius: 50%; }
.preview-type { margin-left: auto; font: 600 11px ui-monospace, monospace; color: var(--muted); }
.preview-input { padding: 21px 26px 15px; }
.preview-label { display: block; margin-bottom: 11px; color: var(--muted); font-size: 11px; }
.preview-input code { font: 12px/1.85 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.preview-divider { display: flex; gap: 9px; align-items: center; margin: 0 26px; color: var(--accent); }
.preview-divider > span { display: grid; place-items: center; height: 25px; width: 25px; background: var(--accent-soft); border-radius: 50%; }
.preview-divider small { font-size: 11px; }
.preview-output { padding: 16px 26px 21px; }
.preview-output pre { margin: 0 0 16px; font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.code-gray { color: var(--muted); }
.code-purple { color: #6951b6; }
.code-green { color: #277d66; }
.code-orange { color: #a36727; }
.preview-finish { display: flex; align-items: center; gap: 7px; padding-top: 13px; border-top: 1px solid #edf0f5; color: var(--green); font-size: 11px; }
.preview-finish > span:last-child { margin-left: auto; color: var(--muted); font-size: 10px; }
.preview-check { display: grid; place-items: center; height: 17px; width: 17px; border-radius: 50%; background: #e7f5ed; }
.preview-caption { position: absolute; bottom: -28px; right: 8px; color: var(--muted); font-size: 10px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.section-heading h2 { margin: 0; font-size: 25px; }
.section-heading > p, .section-heading > .muted { margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.tool-count { display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; min-width: 25px; height: 25px; margin-left: 10px; border-radius: 7px; color: var(--accent); background: var(--accent-soft); font-size: 13px; letter-spacing: 0; }
.tool-directory { padding-bottom: 68px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-card { display: flex; flex-direction: column; padding: 27px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.tool-card:hover { border-color: #b9aff0; box-shadow: 0 10px 28px #46357a0d; transform: translateY(-3px); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
.tool-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.tool-icon .icon { width: 25px; height: 25px; }
.tool-icon.csv-check { background: #e8f5ef; color: #258267; }
.tool-icon.utm-builder { background: #fff2e2; color: #b27a29; }
.card-category { color: var(--muted); font-size: 11px; }
.tool-card h3 { font-size: 19px; margin-bottom: 11px; }
.tool-card > p { min-height: 66px; color: var(--muted); font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
.card-features { display: grid; gap: 5px; margin: 0 0 24px; padding: 0; list-style: none; color: #596276; font-size: 12px; }
.card-features li { display: flex; align-items: center; gap: 7px; }
.card-features .icon { width: 14px; height: 14px; color: #8a82b0; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid #edf0f5; font-size: 11px; color: var(--muted); }
.dot-separator { margin: 0 7px; }
.card-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 13px; font-weight: 650; }
.card-link .icon { width: 17px; height: 17px; }
.how-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 64px; padding: 43px 48px; border: 1px solid #e7e4f1; border-radius: 20px; background: #efedf8; }
.how-intro h2 { font-size: 27px; line-height: 1.5; margin-bottom: 13px; }
.how-intro > p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; }
.how-steps { display: grid; gap: 21px; margin: 0; padding: 0; list-style: none; }
.how-steps li { display: flex; gap: 18px; align-items: flex-start; }
.how-steps li > span { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 35px; color: var(--accent); background: white; border: 1px solid #e2dff1; border-radius: 10px; font-size: 11px; font-weight: 700; }
.how-steps h3 { font-size: 15px; margin: 2px 0 5px; }
.how-steps p { font-size: 12px; color: var(--muted); margin: 0; }
.site-footer { margin-top: 4px; padding: 32px 0; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; gap: 22px; }
.footer-top .brand { font-size: 19px; }
.footer-top .brand-mark { height: 28px; width: 28px; font-size: 26px; border-radius: 8px; }
.footer-top p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-top > a:last-child { display: flex; align-items: center; gap: 7px; margin-left: auto; min-height: 44px; color: #657087; text-decoration: none; font-size: 12px; }
.footer-top .icon { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 11px; }
/* Tool workspaces */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 24px; color: var(--muted); font-size: 12px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: #667087; text-decoration: none; }
.tool-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 31px; }
.tool-heading .tool-icon { width: 58px; height: 58px; border-radius: 15px; }
.title-row { display: flex; align-items: center; gap: 13px; }
.tool-heading h1 { font-size: 30px; margin: 0 0 6px; }
.tool-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.free-label { display: inline-flex; flex-shrink: 0; margin-bottom: 6px; padding: 3px 8px; color: var(--accent); background: var(--accent-soft); font-size: 11px; font-weight: 600; border-radius: 5px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 20px; }
.workspace-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 3px 10px #292a4103; }
.workspace-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 66px; padding: 10px 21px; border-bottom: 1px solid var(--line); }
.workspace-toolbar h2 { display: flex; align-items: center; gap: 9px; font-size: 15px; letter-spacing: -.02em; margin: 0; }
.step { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; background: var(--soft); color: var(--muted); border-radius: 6px; font-size: 11px; }
.output-panel .step { background: var(--accent-soft); color: var(--accent); }
.toolbar-actions { display: flex; align-items: center; }
.toolbar-divider { height: 13px; border-left: 1px solid var(--line); margin-inline: 1px; }
.local-label { color: var(--muted); font-size: 11px; }
.workspace-body { padding: 23px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
input, textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #d6dce7; border-radius: 9px; background: white; color: var(--ink); font-size: 14px; line-height: 1.6; }
input { min-height: 46px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { resize: vertical; }
.code-editor { display: block; min-height: 300px; max-height: 680px; font: 13px/1.85 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; tab-size: 2; white-space: pre; overflow: auto; padding: 16px; background: #fcfcfe; }
.json-format .code-editor { min-height: 350px; }
.file-picker { position: relative; display: flex; align-items: center; gap: 13px; padding: 15px; margin-bottom: 20px; background: #f8f9fd; border: 1px dashed #c7cbdf; border-radius: 10px; cursor: pointer; }
.file-picker:hover { border-color: var(--accent); background: #f4f2ff; }
.file-picker:focus-within { outline: 3px solid #8977ed; outline-offset: 3px; }
.file-picker .icon { color: #7a70ae; }
.file-picker strong { display: block; font-size: 12px; font-weight: 600; }
.file-picker small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.file-picker input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.editor-meta { min-height: 30px; margin-top: 8px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.run-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 11px; }
.keyboard-hint { font-size: 10px; color: var(--muted); white-space: nowrap; }
kbd { padding: 3px 5px; border: 1px solid #e3e7ed; border-radius: 4px; font-family: inherit; font-size: 10px; background: #fafbfd; }
.result-body { display: flex; flex-direction: column; min-height: 450px; }
.result { padding: 13px 15px; margin-bottom: 18px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.result.success { background: #eaf6ef; color: #166849; border-color: #d0eadd; }
.result.error { background: #fff0ed; color: #993e32; border-color: #f3d7d0; }
.result.warning { background: #fff6e7; color: #8b5517; border-color: #f0dfbb; }
.result.processing { background: var(--accent-soft); color: var(--accent); }
.output-empty { display: flex; flex: 1; min-height: 340px; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px 8px; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 21px; border: 1px solid #e6e7f0; background: #f6f5fb; color: #9b93b7; border-radius: 18px; }
.empty-icon .icon { width: 28px; height: 28px; }
.output-empty h3 { font-size: 16px; color: #606980; margin-bottom: 9px; }
.output-empty p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 25px; }
.empty-tip { max-width: 100%; padding: 7px 11px; border-radius: 6px; background: #f6f7fa; color: var(--muted); font-size: 10px; }
.output-editor { background: #f8f9fc; color: #45516a; min-height: 290px; }
.output-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 11px; }
.output-actions button { font-size: 12px; }
.output-actions .icon { width: 17px; height: 17px; }
.workspace-privacy { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 19px 0 47px; color: var(--muted); font-size: 11px; text-align: center; }
.workspace-privacy .icon { width: 14px; height: 14px; }
.field { margin-bottom: 19px; min-width: 0; }
.field > small { display: block; color: var(--muted); font-size: 10px; margin-top: 7px; }
.field label { display: flex; align-items: center; gap: 8px; }
.field label small { color: var(--muted); font-weight: 400; font-size: 11px; }
.required { color: var(--muted); font-size: 10px; font-weight: 400; }
.field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.optional-fields { padding: 14px 0; border-top: 1px solid #e9ecf2; border-bottom: 1px solid #e9ecf2; margin: 1px 0 13px; }
summary { cursor: pointer; }
.optional-fields summary { min-height: 24px; color: #59647c; font-size: 12px; }
.optional-fields summary > span { margin-left: 8px; color: var(--muted); font-size: 10px; }
.optional-fields .field-pair { margin-top: 15px; }
.optional-fields .field { margin-bottom: 0; }
.utm-builder .output-editor { min-height: 190px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tool-guide { margin-bottom: 32px; }
.tool-guide .section-heading h2 { font-size: 22px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.guide-item summary { min-height: 28px; font-size: 13px; font-weight: 600; }
.guide-item p { color: var(--muted); font-size: 12px; line-height: 1.85; margin: 8px 0 0; }
.feedback-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 52px; padding: 26px 30px; border-radius: 14px; background: #eeecf7; }
.feedback-panel h2 { font-size: 16px; margin-bottom: 6px; }
.feedback-panel p { margin: 0; font-size: 12px; color: var(--muted); }
.feedback-action { display: flex; align-items: flex-end; flex-direction: column; gap: 6px; flex-shrink: 0; }
.feedback-action button { font-size: 12px; }
.feedback-action [data-interest-status] { max-width: 300px; color: var(--muted); font-size: 11px; }
/* Operations dashboard shares the same typography and controls. */
.admin-shell { display: grid; grid-template-columns: 222px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; padding: 30px 19px 22px; border-right: 1px solid var(--line); background: white; }
.admin-sidebar .brand { font-size: 20px; margin: 0 5px 9px; }
.admin-sidebar .brand-mark { height: 30px; width: 30px; border-radius: 9px; font-size: 27px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 6px; margin-top: 34px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 10px 13px; color: #69738a; border-radius: 9px; font-size: 13px; font-weight: 550; text-decoration: none; }
.admin-sidebar nav a:hover, .admin-sidebar nav a[aria-current] { color: var(--accent); background: var(--accent-soft); }
.admin-main { width: 100%; max-width: 1440px; min-width: 0; padding: 29px 40px 40px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 29px; }
.admin-topbar h1 { margin: 0 0 6px; font-size: 28px; }
.admin-topbar p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-topbar .eyebrow { margin-bottom: 5px; }
.admin-section { margin-bottom: 33px; scroll-margin-top: 24px; }
.admin-section > h2 { font-size: 21px; margin-bottom: 6px; }
.admin-section > p { color: var(--muted); font-size: 12px; }
.admin-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 23px 25px; border: 1px solid #e4e0f3; border-radius: 14px; background: #eeecf8; margin-bottom: 19px; }
.admin-overview p { margin: 0 0 8px; color: #756d91; font-size: 11px; }
.admin-overview strong { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { min-width: 0; padding: 23px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.kpi > span, .kpi > p { display: block; color: var(--muted); font-size: 12px; margin: 0; }
.kpi > strong { display: block; margin: 10px 0 6px; font-size: 29px; font-weight: 720; line-height: 1.3; letter-spacing: -.04em; }
.kpi small { display: block; color: var(--muted); font-size: 11px; }
.admin-columns { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.admin-panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.panel-heading h2, .panel-heading h3 { margin: 0 0 4px; font-size: 16px; }
.panel-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.status-badge, .badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 9px; border-radius: 6px; color: #68738a; background: #eff1f6; font-size: 11px; font-weight: 600; line-height: 1.55; white-space: nowrap; }
.status-ok { background: #e7f4ee; color: #24785b; }
.status-warn, .badge.warn { background: #fff2df; color: #8d5b21; }
.status-error { background: #fcedea; color: #a4483c; }
.status-neutral { background: #eff1f6; color: #68738a; }
.experiment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.experiment-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.experiment-card h3 { font-size: 16px; margin: 0 0 8px; }
.experiment-card > p { font-size: 12px; color: var(--muted); }
.experiment-card header { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.experiment-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 20px 0; }
.experiment-metrics span { font-size: 11px; color: var(--muted); }
.experiment-metrics strong { display: block; color: var(--ink); font-size: 22px; line-height: 1.5; }
.experiment-card details { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.experiment-card summary { min-height: 30px; font-size: 12px; color: var(--muted); }
.experiment-card details p, .experiment-card details li { font-size: 12px; color: var(--muted); }
.detail-list { margin: 0; padding: 0; list-style: none; }
.detail-list li { padding: 13px 0; border-bottom: 1px solid #edf0f5; font-size: 12px; }
.detail-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-list li:first-child { padding-top: 0; }
dl.detail-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #edf0f5; }
.detail-list dt { font-size: 12px; color: var(--muted); }
.detail-list dd { margin: 0; font-size: 12px; text-align: right; overflow-wrap: anywhere; }
.table-wrap { max-width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: white; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { padding: 12px 15px; background: #f8f9fc; color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
td { padding: 14px 15px; border-top: 1px solid var(--line); vertical-align: top; color: #56627b; overflow-wrap: anywhere; }
td time { white-space: nowrap; font-size: 11px; }
td p { margin: 0; }
td details { max-width: 420px; }
td summary { min-height: 32px; color: var(--accent); }
td pre { white-space: pre-wrap; font-size: 11px; }
.empty-state { width: 100%; padding: 24px; text-align: center; background: #f8f9fc; border: 1px dashed #d9deea; border-radius: 12px; color: var(--muted); }
.empty-state h3 { margin-bottom: 7px; font-size: 15px; }
.empty-state p { font-size: 12px; margin: 0; }
progress { display: block; width: 100%; height: 7px; margin: 16px 0; border: 0; border-radius: 6px; overflow: hidden; accent-color: var(--accent); background: var(--accent-soft); }
progress::-webkit-progress-bar { background: var(--accent-soft); }
progress::-webkit-progress-value { background: var(--accent); border-radius: 6px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 6px; }
.admin-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 20px; letter-spacing: -.5px; text-decoration: none; }
.admin-brand > span { display: grid; place-items: center; width: 31px; height: 33px; border-radius: 9px; color: white; background: var(--accent); font-size: 20px; font-weight: 800; }
.admin-nav-label { margin: 12px 0 0 40px; font-size: 10px; color: var(--muted); }
.admin-sidebar-meta { display: grid; gap: 7px; margin-top: auto; padding: 20px 12px 0; border-top: 1px solid var(--line); }
.admin-sidebar-meta > span { color: var(--muted); font-size: 10px; }
.admin-sidebar-meta a { display: flex; min-height: 35px; align-items: center; gap: 8px; color: #67718a; font-size: 12px; text-decoration: none; }
.admin-sidebar-meta a::after { content: '↗'; margin-left: auto; }
.admin-nav a::before { content: ''; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .7; }
.admin-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.admin-actions .button { min-height: 42px; font-size: 12px; padding: 9px 13px; }
.refresh-status { flex-basis: 100%; text-align: right; font-size: 10px; min-height: 17px; }
.refresh-failed { color: #a13930; font-weight: 700; }
.connection-alert { position: sticky; top: 12px; z-index: 10; padding: 17px 21px; margin-bottom: 22px; border: 1px solid #e8c1bd; border-radius: 12px; background: #fff0ed; color: #923d34; box-shadow: 0 6px 20px #8c372016; }
.connection-alert strong { font-size: 14px; }
.connection-alert p { margin: 6px 0 0; font-size: 12px; }
.admin-section > .panel-heading { align-items: flex-end; }
.admin-section > .panel-heading h2 { font-size: 20px; margin: 0; }
.admin-section > .panel-heading .eyebrow { margin-bottom: 6px; font-size: 10px; }
.admin-section > .panel-heading > .muted, .admin-section > .panel-heading > a { color: var(--muted); font-size: 11px; }
.admin-panel h3 { margin-bottom: 17px; font-size: 16px; }
.admin-panel .panel-heading h3 { margin-bottom: 0; }
.admin-panel > p { margin-bottom: 15px; font-size: 12px; color: var(--muted); }
.admin-panel > p:last-child { margin-bottom: 0; }
.admin-panel + .admin-panel { margin-top: 18px; }
.admin-columns > .admin-panel + .admin-panel { margin-top: 0; }
.admin-panel [data-budget="used"] { font-size: 28px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); margin-right: 3px; }
.admin-panel [data-budget="month"] { font-size: 11px; color: var(--muted); }
.budget-track { width: 100%; height: 7px; background: #ece9f7; border-radius: 5px; overflow: hidden; margin: 18px 0; }
.budget-fill { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
.kpi .kpi-note { color: var(--muted); font-size: 10px; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.card-heading > div { min-width: 0; }
.card-heading .eyebrow { font-size: 9px; letter-spacing: .08em; margin-bottom: 9px; }
.experiment-card .experiment-reason { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; font-size: 11px; }
.experiment-card > .muted { font-size: 10px; margin-bottom: 0; }
.experiment-card .detail-list > div { display: grid; grid-template-columns: 63px minmax(0, 1fr); gap: 10px; }
.experiment-card .detail-list dd { text-align: left; font-size: 11px; }
.experiment-card .detail-list dt { font-size: 11px; }
.experiment-card h4 { font-size: 12px; margin: 17px 0 7px; }
.experiment-card ul { padding-left: 17px; }
.compact-list { margin: 0; padding: 0 !important; list-style: none; }
.compact-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.diagnostic-copy { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 300px; overflow: auto; padding: 13px; background: #f6f7fb; border-radius: 7px; font: 11px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; }
.admin-panel summary { min-height: 34px; font-size: 12px; }
.admin-panel summary + h3 { margin-top: 20px; }
.admin-panel .table-wrap + h3 { margin-top: 22px; }
.admin-panel ul[data-blocker-list] { padding-left: 18px; margin: 0; font-size: 12px; color: #657087; }
.admin-panel ul[data-blocker-list] li + li { margin-top: 12px; }
.admin-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 42px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.admin-footer p { margin: 0; }
.admin-footer > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #667087; }
.admin-body .notice { padding: 13px 18px; margin-bottom: 20px; background: #fff5e8; border: 1px solid #f0e1c9; border-radius: 10px; color: #805520; font-size: 12px; }
.admin-body .notice a { margin-left: 8px; color: #805520; font-weight: 600; }
@media (min-width: 1450px) { .admin-main { margin-inline: auto; padding-inline: 48px; } }
@media (max-width: 1150px) {
  .admin-main { padding: 27px 24px; }
  .admin-shell { grid-template-columns: 198px minmax(0, 1fr); }
  .admin-sidebar { padding-inline: 14px; }
  .admin-sidebar .brand { font-size: 18px; }
  .experiment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .hero { gap: 34px; }
  .tool-card { padding: 23px; }
  .keyboard-hint { display: none; }
}
@media (max-width: 900px) {
  .header-inner, .public-main, .site-footer { width: calc(100% - 48px); }
  .header-inner { gap: 35px; }
  .header-note { display: none; }
  .public-nav { margin-left: auto; }
  .hero { padding: 58px 0 67px; gap: 26px; grid-template-columns: 1.15fr 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { flex-wrap: wrap; gap: 10px 18px; }
  .hero-benefits { gap: 10px; margin-top: 18px; }
  .hero-benefits span { font-size: 10px; }
  .preview-top { padding-inline: 15px; gap: 10px; }
  .preview-top > span:nth-child(2) { font-size: 10px; }
  .preview-input, .preview-output { padding-inline: 18px; }
  .preview-output pre { font-size: 11px; }
  .preview-finish > span:last-child { display: none; }
  .tool-grid { gap: 13px; }
  .tool-card { padding: 20px; }
  .tool-card h3 { font-size: 17px; }
  .card-category { font-size: 10px; }
  .card-bottom { flex-wrap: wrap; row-gap: 10px; }
  .how-section { gap: 30px; padding: 33px; }
  .how-intro h2 { font-size: 23px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .result-body { min-height: 320px; }
  .output-empty { min-height: 290px; }
  .code-editor, .json-format .code-editor { min-height: 270px; }
  .guide-grid { gap: 12px; }
  .guide-item { padding: 17px; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; height: auto; padding: 20px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-sidebar nav { flex-direction: row; flex-wrap: wrap; gap: 4px; margin: 15px 0 12px; }
  .admin-sidebar nav a { padding: 8px 12px; font-size: 12px; }
  .admin-brand { font-size: 21px; }
  .admin-nav-label { margin: 6px 0 0 40px; }
  .admin-sidebar-meta { display: none; }
  .admin-main { padding: 26px 24px; }
}
@media (max-width: 650px) {
  .header-inner, .public-main, .site-footer { width: calc(100% - 36px); }
  .header-inner { min-height: 73px; gap: 15px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-mark { height: 30px; width: 30px; font-size: 27px; border-radius: 9px; }
  .public-nav { gap: 16px; }
  .public-nav a { font-size: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 43px 0 57px; }
  .hero h1 { font-size: clamp(29px, 7.5vw, 42px); }
  .hero-copy .eyebrow { font-size: 11px; margin-bottom: 19px; }
  .hero-copy > p { margin-bottom: 24px; }
  .hero-benefits { gap: 17px; margin-top: 20px; }
  .hero-benefits span { font-size: 11px; }
  .hero-preview { transform: none; max-width: 450px; width: 100%; justify-self: center; }
  .preview-input { padding-block: 17px 12px; }
  .preview-output { padding-block: 12px 15px; }
  .preview-output pre { font-size: 12px; margin-bottom: 11px; }
  .preview-finish > span:last-child { display: inline; }
  .preview-caption { bottom: -23px; }
  .section-heading { align-items: flex-start; gap: 14px; margin-bottom: 20px; flex-direction: column; }
  .section-heading h2 { font-size: 22px; }
  .section-heading > p { font-size: 12px; }
  .eyebrow { font-size: 10px; margin-bottom: 9px; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tool-card { padding: 23px; }
  .card-top { margin-bottom: 18px; }
  .tool-card h3 { font-size: 20px; }
  .tool-card > p { min-height: 0; margin-bottom: 17px; }
  .card-features { grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 20px; }
  .card-bottom { flex-wrap: nowrap; }
  .tool-directory { padding-bottom: 36px; }
  .how-section { grid-template-columns: minmax(0, 1fr); padding: 27px 23px; gap: 29px; margin-bottom: 39px; }
  .how-intro h2 { font-size: 24px; }
  .footer-top { flex-wrap: wrap; gap: 8px 18px; }
  .footer-top > p { flex-basis: 100%; order: 3; font-size: 11px; }
  .footer-bottom { flex-direction: column; gap: 5px; margin-top: 19px; font-size: 10px; }
  .breadcrumb { margin: 17px 0 20px; font-size: 10px; }
  .tool-heading { gap: 12px; align-items: flex-start; margin-bottom: 24px; }
  .tool-heading .tool-icon { width: 42px; height: 42px; border-radius: 11px; margin-top: 3px; }
  .tool-heading .icon { width: 22px; height: 22px; }
  .tool-heading h1 { font-size: 23px; }
  .tool-heading p { font-size: 12px; }
  .title-row { gap: 7px; flex-wrap: wrap; }
  .free-label { padding: 2px 6px; font-size: 10px; }
  .workspace { gap: 16px; }
  .workspace-toolbar { padding: 8px 15px; gap: 4px; }
  .workspace-toolbar h2 { font-size: 13px; gap: 6px; }
  .workspace-toolbar .text-button { font-size: 11px; padding-inline: 6px; }
  .workspace-body { padding: 17px; }
  input, textarea { font-size: 16px; }
  .code-editor { font-size: 13px; }
  .run-row button { width: 100%; }
  .output-actions button { flex: 1; padding-inline: 10px; font-size: 12px; }
  .workspace-privacy { align-items: flex-start; margin: 17px 0 34px; font-size: 10px; }
  .field-pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .optional-fields .field + .field { margin-top: 13px; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-item { padding: 16px 19px; }
  .feedback-panel { flex-direction: column; align-items: flex-start; gap: 17px; padding: 23px; margin-bottom: 32px; }
  .feedback-action { align-items: flex-start; max-width: 100%; }
  .feedback-action button { max-width: 100%; }
  .admin-sidebar { padding: 20px 18px 0; }
  .admin-sidebar nav a { min-height: 44px; padding-inline: 9px; font-size: 11px; }
  .admin-main { padding: 23px 18px; }
  .admin-topbar { gap: 14px; }
  .admin-topbar h1 { font-size: 25px; }
  .admin-columns, .experiment-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-kpis { gap: 12px; }
  .kpi { padding: 17px; }
  .kpi > strong { font-size: 25px; }
  .kpi > span { font-size: 11px; }
  .kpi small { font-size: 10px; }
  .admin-panel, .experiment-card { padding: 20px; }
  .admin-overview { padding: 20px; gap: 18px; }
  .admin-overview strong { font-size: 12px; }
  .admin-actions { justify-content: flex-start; }
  .refresh-status { flex-basis: auto; text-align: left; }
  .panel-heading { gap: 10px; flex-wrap: wrap; }
  .table-wrap table { min-width: 590px; }
}
@media (max-width: 370px) {
  .public-nav { gap: 10px; }
  .public-nav a { font-size: 11px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 27px; height: 27px; }
  .tool-heading h1 { font-size: 21px; }
  .card-features { grid-template-columns: 1fr; }
  .hero-guide { font-size: 12px; }
  .toolbar-divider { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tool-card:hover { transform: none; }
}
