:root {
  color-scheme: light;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --paper: #f8f9fc;
  --surface: #fff;
  --ink: #19213c;
  --muted: #56627a;
  --quiet: #626e84;
  --line: #e5e9f3;
  --soft: #f2f4fa;
  --primary: #454bc4;
  --primary-hover: #343aa9;
  --primary-soft: #edeeff;
  --indigo: #222847;
  --good: #157351;
  --good-soft: #e7f5ee;
  --warn: #8c5311;
  --warn-soft: #fff1d9;
  --danger: #a52c46;
  --danger-soft: #fcecf0;
  font-weight: 450;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-size: .875rem; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .57; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #5d67dd; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.23; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: 2rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
strong { font-weight: 750; }
svg { vertical-align: middle; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 12; padding: 10px 14px; background: var(--surface); border: 2px solid var(--primary); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.initial { min-height: 100vh; display: grid; justify-items: center; align-content: center; gap: 14px; color: var(--muted); }
.initial-mark { width: 44px; height: 44px; border-radius: 13px; background: var(--primary); }
.shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); padding: 26px 18px 18px; z-index: 2; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--ink); width: fit-content; font-size: 1.16rem; font-weight: 800; letter-spacing: -.026em; }
.logo:hover { text-decoration: none; }
.logo-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: white; background: var(--primary); }
.logo-mark .icon { width: 22px; height: 22px; }
.sidebar .logo { margin-left: 10px; }
.workspace { display: flex; align-items: center; gap: 10px; margin: 34px 2px 25px; padding: 11px 10px; background: var(--soft); border-radius: 11px; min-width: 0; }
.workspace > div:last-child { min-width: 0; }
.workspace strong, .workspace small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.workspace small { color: var(--quiet); font-size: .72rem; margin-top: 1px; }
.avatar { flex: 0 0 auto; display: grid; place-items: center; width: 31px; height: 31px; background: #e6e8fb; color: #454ab0; border-radius: 9px; font-weight: 800; }
.nav-label { color: var(--quiet); font-size: .72rem; font-weight: 700; margin: 0 10px 8px; }
.nav { display: grid; gap: 5px; }
.nav a { display: flex; align-items: center; gap: 11px; min-height: 43px; border-radius: 9px; padding: 0 11px; color: var(--muted); font-weight: 650; white-space: nowrap; }
.nav a:hover { background: var(--soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); font-weight: 780; }
.sidebar-foot { margin-top: auto; padding: 12px 10px 4px; display: flex; align-items: center; gap: 8px; color: var(--quiet); font-size: .75rem; }
.sidebar-foot .icon { width: 16px; height: 16px; }
.topbar { min-height: 65px; padding: 10px 30px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; gap: 9px; color: var(--quiet); }
.crumbs .icon { width: 14px; height: 14px; }
.crumbs strong { color: var(--ink); }
.top-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.top-controls .field { min-width: 132px; max-width: 235px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; font-size: .72rem; font-weight: 750; line-height: 1.45; white-space: nowrap; background: var(--soft); color: var(--muted); }
.badge::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.badge.good { color: var(--good); background: var(--good-soft); }
.badge.warn { color: var(--warn); background: var(--warn-soft); }
.badge.demo { color: #524ab1; background: #eeecff; }
.badge.error { color: var(--danger); background: var(--danger-soft); }
.page { padding: 27px 30px 36px; max-width: 1500px; margin: auto; }
.page-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 19px; }
.page-header p, .section-sub { color: var(--muted); margin-top: 6px; }
.actions, .range-controls, .button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 7px 13px; border: 1px solid transparent; border-radius: 8px; font-weight: 730; font-size: .81rem; line-height: 1.35; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn .icon { width: 16px; height: 16px; }
.btn.primary { color: #fff; background: var(--primary); }
.btn.primary:hover:not(:disabled) { background: var(--primary-hover); }
.btn.secondary { color: var(--ink); background: var(--surface); border-color: #dce1ef; }
.btn.secondary:hover:not(:disabled), .btn.quiet:hover:not(:disabled) { background: var(--soft); }
.btn.quiet { color: var(--muted); background: transparent; }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.small { min-height: 32px; padding: 5px 10px; font-size: .75rem; }
.period-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #eef0f8; }
.segmented button { min-height: 31px; color: var(--muted); background: transparent; border: 1px solid transparent; padding: 4px 11px; border-radius: 7px; font-size: .77rem; font-weight: 700; }
.segmented button:hover { color: var(--primary); }
.segmented button[aria-pressed="true"] { background: var(--surface); border-color: #dce0ef; color: var(--primary); }
.date-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .77rem; font-weight: 650; }
.date-label .icon { width: 16px; height: 16px; }
.banner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 17px; padding: 10px 13px; border-radius: 9px; color: #4e469d; background: #eeecfd; }
.banner p { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; }
.banner p .icon { width: 16px; height: 16px; margin-top: 1px; }
.banner.error { background: var(--danger-soft); color: var(--danger); }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.overview-board { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(225px, 1fr); min-height: 192px; overflow: hidden; border-radius: 15px; background: var(--indigo); color: #fff; }
.board-story { align-self: center; padding: 22px 24px; }
.board-story h2 { font-size: 1.55rem; font-weight: 790; }
.board-story p { max-width: 52ch; color: #d4daf7; margin: 8px 0 15px; }
.board-story .btn { color: white; border-color: #65719c; background: #363e66; }
.board-story .btn:hover { background: #444d79; }
.board-pattern { position: relative; min-height: 162px; align-self: stretch; display: grid; place-items: center; background: #2a3157; overflow: hidden; }
.board-pattern svg { width: min(100%, 350px); height: auto; display: block; }
.metric-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 15px 0; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.metric { min-width: 0; padding: 15px 17px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .78rem; font-weight: 680; }
.metric-label .icon { width: 16px; height: 16px; color: var(--primary); }
.metric-value { display: block; font-size: 1.57rem; line-height: 1.25; font-variant-numeric: tabular-nums; margin-top: 7px; letter-spacing: -.022em; overflow-wrap: anywhere; }
.metric-caption { display: block; color: var(--quiet); font-size: .72rem; margin-top: 2px; }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 15px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; min-width: 0; }
.panel + .panel.stacked { margin-top: 15px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; padding: 16px 17px 10px; }
.panel-head .section-sub { font-size: .76rem; margin-top: 4px; }
.panel-body { padding: 8px 17px 17px; }
.panel-body > .empty { margin-top: 3px; }
.chart { margin: 0; }
.chart-svg { width: 100%; max-height: 235px; overflow: visible; }
.chart-svg text { fill: var(--muted); font: 12px inherit; font-size: 12px; font-family: inherit; }
.chart-grid { stroke: #e9ecf6; stroke-width: 1; }
.chart figcaption { color: var(--quiet); margin: 2px 0 0; font-size: .74rem; }
.chart-select { min-width: 100px; }
.channels { list-style: none; margin: 0; padding: 0; }
.channel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 44px; padding: 6px 0; }
.channel + .channel { border-top: 1px solid #eef0f6; }
.channel-title, .channel-details { display: block; overflow-wrap: anywhere; }
.channel-title { font-size: .81rem; }
.channel-details { font-size: .71rem; color: var(--quiet); margin-top: 1px; }
.social { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: .74rem; font-weight: 800; color: white; }
.social .icon { width: 17px; height: 17px; }
.social.instagram { background: #a83372; }
.social.x, .social.tiktok { background: #24273d; }
.social.youtube { background: #bc2449; }
.social.facebook { background: #275bac; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: .81rem; }
th { font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--soft); }
th, td { padding: 10px 11px; border-bottom: 1px solid var(--line); }
td:first-child, th:first-child { padding-left: 13px; }
td:last-child, th:last-child { padding-right: 13px; }
tbody tr:last-child td { border-bottom: 0; }
td.wrapped { white-space: normal; min-width: 190px; }
.table-platform { display: flex; align-items: center; gap: 7px; }
.table-platform .social { width: 24px; height: 24px; border-radius: 6px; }
.table-platform .icon { width: 14px; height: 14px; }
.amount { font-variant-numeric: tabular-nums; }
.block { margin-top: 16px; }
.field { border: 1px solid #d9dfed; border-radius: 8px; background: var(--surface); color: var(--ink); padding: 7px 9px; min-height: 36px; width: 100%; }
.field::placeholder { color: var(--quiet); }
label { color: var(--ink); font-weight: 670; font-size: .79rem; }
label > .field { display: block; margin-top: 5px; }
.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span { grid-column: 1 / -1; }
.form-grid .button-row { margin-top: 3px; }
.form-help { color: var(--quiet); font-size: .75rem; }
.form-error { color: var(--danger); font-weight: 680; }
.signup-password > label { display: block; }
.signup-password-rules { list-style: none; margin: 6px 0 10px; padding: 0; }
.signup-password-rules li, .signup-password-match {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--quiet);
  font-size: .75rem;
}
.signup-password-rules .icon, .signup-password-match .icon { width: 14px; height: 14px; visibility: hidden; }
.signup-password [data-state="valid"] { color: var(--good); }
.signup-password [data-state="valid"] .icon { visibility: visible; }
.signup-password [data-state="invalid"] { color: var(--danger); }
.signup-password .field[aria-invalid="true"] { border-color: var(--danger); }
.signup-password-match { margin-top: 4px; }
.signup-password-match[data-state="pending"] .icon { display: none; }
[data-signup-password]:is(:autofill, :-webkit-autofill) { animation: signup-password-autofill 1ms; }
@keyframes signup-password-autofill { from { --signup-autofill: 0; } to { --signup-autofill: 1; } }
.empty { display: grid; justify-items: center; text-align: center; align-content: center; gap: 8px; padding: 23px 16px; min-height: 130px; background: var(--soft); border-radius: 10px; }
.empty .icon { color: var(--primary); width: 23px; height: 23px; }
.empty p { color: var(--muted); max-width: 55ch; font-size: .8rem; }
.empty .btn { margin-top: 3px; }
.steps { padding-left: 20px; margin: 9px 0 0; color: var(--muted); }
.steps li + li { margin-top: 5px; }
.guide-list { display: grid; gap: 10px; }
.guide { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guide summary { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 13px 15px; cursor: pointer; list-style: none; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary > .icon { color: var(--quiet); transition: transform 160ms; }
.guide[open] summary > .icon { transform: rotate(180deg); }
.guide-title { display: inline-flex; align-items: center; gap: 9px; }
.guide-body { border-top: 1px solid var(--line); padding: 13px 15px 15px; color: var(--muted); }
.guide-body .button-row { margin-top: 13px; }
.guide-note { margin-top: 10px; font-size: .77rem; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.plan { display: flex; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.plan.current { border-color: #9399ea; }
.plan h2 { font-size: 1.15rem; }
.plan-price { display: block; margin: 12px 0 1px; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.plan ul { padding: 0; margin: 15px 0; list-style: none; display: grid; gap: 7px; }
.plan li { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.plan li .icon { width: 16px; height: 16px; color: var(--primary); }
.plan .btn { margin-top: auto; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0; }
.meta div { padding: 9px 0; }
.meta dt { color: var(--quiet); font-size: .76rem; }
.meta dd { margin: 3px 0 0; font-weight: 720; overflow-wrap: anywhere; }
.report-preview .overview-board { margin: 0; }
.report-version { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.report-version select { min-width: 170px; width: auto; max-width: 100%; }
.list { margin: 0; padding: 0; list-style: none; }
.list > li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 11px 0; gap: 8px; }
.list > li + li { border-top: 1px solid var(--line); }
.list small { color: var(--quiet); }
.notice { position: fixed; bottom: 15px; right: 15px; z-index: 10; max-width: min(400px, calc(100% - 30px)); padding: 11px 14px; background: var(--indigo); color: white; border-radius: 9px; }
.notice:empty { display: none; }
.auth { min-height: 100vh; padding: 22px; display: grid; place-items: center; }
.auth-inner { width: min(100%, 850px); display: grid; grid-template-columns: 1fr minmax(290px, 1fr); background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.auth-story { display: flex; flex-direction: column; justify-content: space-between; gap: 25px; padding: 30px; background: var(--indigo); color: white; }
.auth-story .logo { color: white; }
.auth-story h1 { font-size: 1.9rem; margin: 0 0 9px; }
.auth-story p { color: #d4daf7; }
.auth-story .board-pattern { border-radius: 10px; }
.auth-content { padding: 28px; align-self: center; }
.auth-content .form-grid { margin-top: 15px; }
.auth-content .segmented { margin-top: 16px; }
.auth-demo { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 13px; }
.policy-footer { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--surface); color: var(--quiet); font-size: .75rem; text-align: center; }
.policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 8px; }
.consent-list { display: grid; gap: 14px; padding: 16px 0; margin: 0; border: 0; border-block: 1px solid var(--line); }
.consent-list legend { padding: 0 0 10px; font-weight: 750; }
.consent-row { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 8px; }
.consent-row input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--primary); }
.consent-row label { display: block; font-weight: 650; }
.consent-row p { margin-top: 5px; color: var(--muted); font-size: .75rem; font-weight: 450; line-height: 1.65; }
.consent-summary { display: grid; gap: 12px; margin: 0; padding-left: 20px; color: var(--muted); }
.consent-summary strong { color: var(--ink); }
.consent-panel .form-grid { margin-top: 18px; }
.consent-panel .policy-links { justify-content: flex-start; margin-top: 12px; }
.screen-reader { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  .shell { grid-template-columns: 188px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .page, .topbar { padding-inline: 20px; }
  .split { grid-template-columns: minmax(0, 1.25fr) minmax(230px, 1fr); }
}
@media (max-width: 790px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px 5px; }
  .sidebar .logo { margin-left: 0; }
  .workspace, .nav-label, .sidebar-foot { display: none; }
  .nav { display: flex; overflow-x: auto; margin: 8px -6px 0; padding: 1px 6px 4px; }
  .nav a { min-height: 36px; padding: 0 8px; gap: 5px; font-size: .75rem; }
  .nav a .icon { width: 15px; height: 15px; }
  .topbar { min-height: 48px; padding: 6px 16px; }
  .page { padding: 17px 16px 28px; }
  .page-header { margin-bottom: 13px; }
  h1 { font-size: 1.65rem; }
}
@media (max-width: 610px) {
  .split, .plans, .auth-inner { grid-template-columns: minmax(0, 1fr); }
  .auth { padding: 12px; }
  .auth-story { padding: 19px; gap: 13px; }
  .auth-story .board-pattern { display: none; }
  .auth-story h1 { font-size: 1.45rem; }
  .auth-content { padding: 19px; }
  .overview-board { grid-template-columns: minmax(0, 1fr); }
  .board-story { padding: 16px; }
  .board-story h2 { font-size: 1.33rem; }
  .board-pattern { min-height: 115px; max-height: 126px; }
  .board-pattern svg { max-height: 126px; }
  .metric { padding: 11px 8px; }
  .metric-label { gap: 4px; font-size: .71rem; }
  .metric-label .icon { width: 13px; height: 13px; }
  .metric-value { font-size: 1.15rem; }
  .metric-caption { font-size: .65rem; }
  .crumbs > :not(strong) { display: none; }
  .top-controls { gap: 6px; }
  .top-controls .field { min-width: 92px; max-width: 132px; font-size: .75rem; }
  .range-controls { width: 100%; }
  .form-grid.two { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
textarea.field { font: inherit; min-height: 69px; resize: vertical; }
fieldset { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
fieldset legend { padding: 0 4px; color: var(--muted); font-size: .76rem; }
.check-label { display: inline-flex; align-items: center; gap: 5px; }
.check-label input { width: 16px; height: 16px; accent-color: var(--primary); }
.share-link { flex: 1 1 180px; }
.brand-logo { display: block; flex: 0 0 auto; border-radius: 7px; object-fit: cover; background: white; }
.report-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.report-notes { margin: 0; display: grid; gap: 10px; }
.report-notes dt { color: var(--muted); font-weight: 700; }
.report-notes dd { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.data-details { margin-top: 6px; }
.data-details summary { cursor: pointer; color: var(--primary); font-size: .76rem; }
.data-details > div { margin-top: 5px; }
.post-metric { display: inline-flex; gap: 3px; margin: 0 10px 1px 0; }
.form-grid .banner, .auth-content .banner { margin: 8px 0 0; }
.auth-hint { margin-top: 6px; }
.pricing-link { display: inline-block; margin-top: 9px; font-size: .79rem; font-weight: 680; }
.public-top { justify-content: space-between; }
.public-pricing { max-width: 1080px; }
.chart-select { width: auto; max-width: 100%; }
.post-featured { display: inline-block; padding: 2px 6px; margin-right: 6px; border-radius: 5px; color: var(--primary); background: var(--primary-soft); font-size: .71rem; font-weight: 750; }
.report-trends > h2 { margin: 0 0 10px; }
.report-trends > .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 610px) {
  .report-trends > .split { grid-template-columns: minmax(0, 1fr); }
}
.auth-links { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-top: 12px; }
.text-button { padding: 3px 0; color: var(--primary); font-weight: 700; background: transparent; border: 0; }
.text-button:hover { text-decoration: underline; }
.pilot-banner { align-items: center; }
.pilot-banner > p { flex: 1 1 260px; }
.admin-top { padding-inline: max(20px, calc((100vw - 1220px) / 2)); }
.admin-page { max-width: 1280px; }
.admin-nav { margin-bottom: 15px; }
.admin-mfa { max-width: 290px; }
.admin-table td.wrapped { min-width: 88px; vertical-align: top; }
.admin-table td.wrapped:first-child { min-width: 125px; }
.admin-form { display: grid; min-width: 175px; gap: 5px; justify-items: start; }
.admin-form .field { min-height: 32px; }
.admin-note { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 610px) {
  .admin-top { padding-inline: 16px; align-items: flex-start; }
  .admin-top .actions { justify-content: flex-end; }
}
.admin-plan-label { display: block; width: 100%; }
.admin-plan-label .field { margin-top: 2px; }
