:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --panel: #fff;
  --border: #edf0f3;
  --muted: #8b95a1;
  --text: #191f28;
  --secondary: #6b7684;
  --accent: #3182f6;
  --danger: #e5484d;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; color: var(--text); background: #fff; font-size: 14px; line-height: 1.65; word-break: keep-all; }
body.with-sidebar { background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 32px; font-weight: 700; line-height: 1.4; letter-spacing: -1.2px; }
h2 { font-size: 19px; letter-spacing: -.5px; }
h3 { font-size: 16px; letter-spacing: -.3px; }
small { font-size: 12px; color: var(--secondary); }
code, .mono { font-family: 'Cascadia Code', Consolas, monospace; }
code { color: #4e5968; font-size: 12px; overflow-wrap: anywhere; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.muted { color: var(--secondary); }
.small-text { font-size: 12px; }
.error-text, .danger-text { color: var(--danger) !important; }
.inline-link { color: var(--accent); font-weight: 600; }
.inline-link .icon { width: 15px; height: 15px; }
.inline-link:hover, .text-link:hover { color: #1b64da; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 750; letter-spacing: -.6px; min-width: 0; }
.brand > span:last-child { overflow-wrap: anywhere; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 36px; color: var(--accent); }
.brand-mark .icon { width: 28px; height: 28px; stroke-width: 2.6; }
.public-header { height: 86px; max-width: 1184px; margin: auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-header nav { display: flex; align-items: center; gap: 25px; white-space: nowrap; }
.text-link { color: var(--secondary); font-size: 13px; }
.main { max-width: 1370px; margin: 0 auto; padding: 42px 48px 80px; }
.with-sidebar .main { margin-left: 220px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 220px; background: #fff; padding: 29px 16px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.sidebar .brand { padding: 0 9px; margin-bottom: 44px; font-size: 19px; }
.nav-caption { padding: 0 14px; color: var(--muted); font-size: 11px; margin-bottom: 11px; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 11px 13px; margin-bottom: 5px; border-radius: 10px; font-size: 13px; color: var(--secondary); overflow-wrap: anywhere; }
.nav-item .icon { width: 18px; height: 18px; color: #b0b8c1; }
.nav-item:hover { background: #f7f8fa; }
.nav-item.active { background: #e8f3ff; color: #1b64da; font-weight: 600; }
.nav-item.active .icon { color: var(--accent); }
.sidebar-bottom { margin-top: auto; padding: 25px 13px 0; }
.connection-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; padding-bottom: 20px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #b0b8c1; flex-shrink: 0; vertical-align: middle; }
.dot.green { background: #20c997; }
.user-line { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.user-line strong, .user-line small { display: block; font-size: 12px; }
.user-line small { font-size: 10px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: #f2f4f6; color: #6b7684; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 0; border-radius: 11px; padding: 13px 19px; min-height: 46px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .15s; }
.button.primary { color: #fff; background: var(--accent); }
.button.primary:hover { background: #1b64da; }
.button.secondary { color: #4e5968; background: #f2f4f6; }
.button.secondary:hover { background: #e5e8eb; }
.button.small { min-height: 36px; font-size: 12px; padding: 8px 15px; }
.button .icon { width: 17px; height: 17px; }
.full-width { width: 100%; }
.text-button { border: 0; background: none; padding: 0; color: var(--secondary); font-size: 12px; }
.text-button:hover { color: var(--accent); }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 17px; }
.landing { max-width: 1184px; padding: 66px 32px 0; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 74px; align-items: center; min-height: 470px; padding-bottom: 85px; }
.hero h1 { font-size: 54px; line-height: 1.32; letter-spacing: -2.5px; }
.hero-copy { color: var(--secondary); font-size: 17px; line-height: 1.9; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-actions .button { min-height: 50px; padding: 14px 21px; font-size: 14px; }
.hero-note { font-size: 12px; color: var(--muted); margin-top: 17px; }
.product-preview { padding: 27px; border-radius: 26px; background: #f2f6fc; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 3px 18px; }
.preview-app { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #4e5968; }
.preview-app .icon { width: 17px; height: 17px; }
.preview-post { display: flex; gap: 14px; border-radius: 17px; background: #fff; padding: 25px 20px; box-shadow: 0 3px 15px #1d3c7010; }
.preview-avatar { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 11px; background: #e8f3ff; color: var(--accent); }
.preview-post h2 { font-size: 17px; margin: 2px 0 7px; }
.preview-post p { font-size: 12px; color: var(--secondary); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { border-radius: 5px; background: #f2f4f6; color: #6b7684; font-size: 10px; padding: 3px 7px; font-weight: 500; }
.tag.blue { background: #e8f3ff; color: #3182f6; }
.tag.red { background: #fff0f1; color: #e65160; }
.tag.purple { background: #f1ecff; color: #8057d9; }
.preview-sync { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 11px; color: #4c91e2; padding: 17px 0; }
.preview-sync .icon { width: 15px; height: 15px; }
.preview-github { display: flex; flex-direction: column; gap: 9px; padding: 19px 22px; border: 1px solid #dbe5f4; border-radius: 17px; background: #ffffffa8; }
.preview-github > strong { font-size: 14px; }
.feature-section { display: grid; grid-template-columns: 1fr 1.45fr; gap: 65px; border-top: 1px solid var(--border); padding: 70px 0; }
.feature-section > h2 { font-size: 30px; line-height: 1.6; letter-spacing: -1px; }
.feature-list { display: flex; flex-direction: column; gap: 38px; }
.feature-row { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; flex-shrink: 0; }
.feature-icon .icon { width: 23px; height: 23px; }
.blue-icon { color: #3182f6; background: #e8f3ff; }
.purple-icon { color: #8b6be9; background: #f3efff; }
.green-icon { color: #20b489; background: #e9faf3; }
.feature-row h3 { font-size: 18px; margin-bottom: 8px; }
.feature-row p { font-size: 13px; line-height: 1.9; color: var(--secondary); }
.getting-started { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 33px 35px; background: #f7f8fa; border-radius: 20px; margin-bottom: 65px; }
.getting-started h2 { font-size: 21px; }
.getting-started p { font-size: 13px; color: var(--secondary); margin-top: 8px; }
.getting-started .button.secondary { background: #e8f3ff; color: #1b64da; }
.landing-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 26px 0 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.landing-footer > div { display: flex; gap: 22px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb > span { color: #d1d6db; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.page-heading p { font-size: 13px; color: var(--secondary); margin-top: 10px; }
.page-copy { font-size: 15px; color: var(--secondary); line-height: 1.9; margin-top: 14px; }
.page-title { font-size: 32px; letter-spacing: -1.3px; }
.status-badge { display: flex; align-items: center; gap: 7px; color: var(--secondary); font-size: 11px; border-radius: 20px; padding: 7px 11px; background: #fff; white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 35px; }
.stat { padding: 22px 24px; border-radius: 15px; background: #fff; }
.stat > span { color: var(--secondary); font-size: 11px; }
.stat > strong { display: flex; align-items: baseline; gap: 6px; font-weight: 650; font-size: 29px; margin-top: 7px; }
.stat > strong > small { font-size: 11px; color: var(--muted); font-weight: 400; }
.stat > .stat-text { font-size: 16px; margin-top: 16px; }
.section-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.section-top h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; }
.count { background: #e5e8eb; color: #8b95a1; border-radius: 5px; font-size: 11px; padding: 0 6px; line-height: 20px; }
.server-grid, .repository-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.server-card { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 26px; border: 1px solid transparent; }
.server-card:hover { border-color: #c9e2ff; }
.server-avatar { width: 46px; height: 46px; border-radius: 16px; background: #e8f3ff; color: #3182f6; display: grid; place-items: center; font-size: 20px; font-weight: 600; }
.server-card p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.arrow { margin-left: auto; color: #b0b8c1; }
.panel { padding: 29px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.panel p { color: var(--secondary); font-size: 12px; line-height: 1.9; margin-top: 9px; }
.onboarding { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 30px; }
.onboarding h2 { font-size: 17px; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 40px 24px; background: #fff; border-radius: 16px; }
.empty-state h3 { margin: 13px 0 8px; font-size: 16px; }
.empty-state p { font-size: 12px; color: var(--secondary); margin-bottom: 20px; }
.empty-icon { display: inline-flex; color: #a6bfdc; }
.empty-icon .icon { width: 32px; height: 32px; }
.repository-card { padding: 25px; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.repo-card-top { display: flex; align-items: center; justify-content: space-between; }
.repo-icon { display: flex; color: #8b95a1; }
.repo-icon .icon { width: 22px; height: 22px; }
.mini-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; padding: 3px 8px; border-radius: 20px; color: #30a379; background: #eefaf4; }
.mini-pill.disabled { background: #f2f4f6; color: #8b95a1; }
.repository-card h3 { margin: 18px 0; font-size: 16px; overflow-wrap: anywhere; }
.repo-channels { display: flex; flex-direction: column; gap: 8px; }
.repo-channels > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.repo-channels span { font-size: 11px; color: var(--secondary); }
.repo-channels code { font-size: 11px; color: #8b95a1; }
.repo-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 18px; margin-top: 20px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.repo-card-bottom a { color: var(--accent); font-weight: 600; }
.activity-heading { margin-top: 34px; }
.live-indicator { display: flex; align-items: center; gap: 5px; color: #8b95a1; font-size: 9px; font-weight: 400; }
.live-indicator .dot { width: 4px; height: 4px; }
.table-panel { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; text-align: left; border-collapse: collapse; min-width: 530px; }
th { color: #8b95a1; font-size: 11px; font-weight: 500; background: #fcfcfd; padding: 14px 23px; }
td { border-top: 1px solid var(--border); padding: 16px 23px; font-size: 12px; }
td strong { font-size: 12px; font-weight: 500; }
td small { display: block; color: #8b95a1; font-size: 10px; margin-top: 4px; }
.job-status { font-size: 11px; padding: 4px 7px; border-radius: 5px; white-space: nowrap; }
.job-status.done { background: #e8faf2; color: #169b6d; }
.job-status.pending, .job-status.processing { background: #fff7e5; color: #ae811d; }
.job-status.failed { background: #fff0f1; color: #d75159; }
.job-error { display: block; color: #d75159; max-width: 350px; font-size: 11px; overflow-wrap: anywhere; margin-bottom: 6px; }
.table-empty { color: #8b95a1; text-align: center; padding: 35px; font-size: 12px; }
.settings-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 24px; align-items: start; }
.settings-form, .settings-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.section-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 26px; }
.section-heading h2 { font-size: 17px; }
.section-heading p { margin-top: 4px; }
.step-number { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; font-size: 12px; font-weight: 600; border-radius: 10px; color: #3182f6; background: #e8f3ff; }
input, select, textarea { width: 100%; min-width: 0; padding: 12px 14px; background: #fff; border: 1px solid #dfe3e8; border-radius: 10px; color: var(--text); transition: border-color .15s; }
input::placeholder, textarea::placeholder { color: #b0b8c1; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid #3182f61a; }
input[readonly] { background: #fafbfc; color: #6b7684; }
textarea { resize: vertical; line-height: 1.8; }
label { display: block; font-size: 12px; font-weight: 600; color: #4e5968; margin: 22px 0 8px; }
form > label:first-of-type { margin-top: 0; }
input + small, select + small, textarea + small { display: block; font-size: 11px; line-height: 1.8; margin-top: 8px; color: #8b95a1; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.form-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; margin-top: 25px; }
.input-suffix { display: flex; align-items: center; gap: 12px; color: var(--secondary); font-size: 12px; }
.input-suffix input { width: 100px; }
.role-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.role-group legend { font-size: 12px; color: #4e5968; font-weight: 600; margin: 16px 0 9px; }
.role-list { max-height: 200px; overflow-y: auto; padding: 6px 12px; border: 1px solid #dfe3e8; border-radius: 10px; min-height: 58px; }
.role-option { display: flex; align-items: center; gap: 9px; margin: 10px 0; font-weight: 400; }
.role-group > small { display: block; margin-top: 8px; font-size: 11px; line-height: 1.8; }
.save-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0 20px; }
.settings-aside .panel { padding: 23px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.tag-editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.tag-editor-heading h3, .fixed-tag-heading h3 { font-size: 13px; font-weight: 600; }
.tag-editor-heading p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.tag-count { margin-left: 5px; color: var(--accent); font-size: 11px; font-weight: 500; }
.tag-table-wrap { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; }
.tag-table, .fixed-tag-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.tag-table th, .fixed-tag-table th { text-align: left; color: var(--secondary); font-size: 11px; font-weight: 500; padding: 11px 9px; background: #f9fafb; border-bottom: 1px solid var(--border); }
.tag-table td { padding: 9px 7px; border-bottom: 1px solid var(--border); }
.tag-table tr:last-child td, .fixed-tag-table tr:last-child td { border-bottom: 0; }
.tag-emoji-col { width: 65px; }
.tag-actions-col { width: 93px; }
.tag-table input { font-size: 12px; padding: 10px; border-radius: 8px; }
.tag-actions { display: flex; gap: 1px; justify-content: flex-end; }
.icon-button { display: inline-grid; place-items: center; padding: 0; width: 27px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--secondary); }
.icon-button .icon { width: 16px; height: 16px; }
.icon-button:hover { background: #f2f4f6; color: var(--text); }
.icon-button.tag-remove:hover { background: #fff1f1; color: var(--danger); }
.icon-button:disabled, .button:disabled { opacity: .3; cursor: default; }
.tag-emoji-field { position: relative; width: 44px; height: 38px; border: 1px solid #dfe3e8; border-radius: 8px; background: #fff; }
.tag-emoji-field:focus-within { border-color: var(--accent); outline: 2px solid #3182f61a; }
.tag-emoji-field select { position: absolute; inset: 0; padding: 0; appearance: none; border: 0; outline: 0; background: transparent; color: transparent; cursor: pointer; }
.tag-emoji-field option { color: #191f28; background: #fff; }
.tag-emoji-preview { position: absolute; inset: 0 7px 0 0; display: grid; place-items: center; font-size: 21px; pointer-events: none; }
.tag-emoji-preview img { width: 23px; height: 23px; object-fit: contain; }
.tag-emoji-field > .icon { position: absolute; right: 3px; bottom: 5px; width: 9px; height: 9px; transform: rotate(90deg); color: var(--muted); pointer-events: none; }
.tag-empty { padding: 22px 12px; text-align: center; color: var(--muted); font-size: 12px; }
.tag-empty[hidden] { display: none; }
.fixed-tag-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 0 12px; }
.fixed-tag-heading h3 { display: flex; align-items: center; gap: 5px; color: #6b7684; }
.fixed-tag-heading .icon, .locked-tag .icon { width: 13px; height: 13px; }
.fixed-tag-heading > span { font-size: 10px; color: var(--muted); }
.fixed-tag-table-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.fixed-tag-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 11px; color: #6b7684; }
.fixed-tag-table th { padding: 10px 12px; }
.fixed-tag-table th:first-child { width: 36%; }
.fixed-tag-table th:last-child { width: 62px; }
.fixed-tag-table code { color: #8b95a1; font-size: 10px; overflow-wrap: anywhere; }
.fixed-tag-emoji { display: inline-block; margin-right: 7px; }
.locked-tag { display: flex; align-items: center; gap: 3px; font-size: 10px; color: #b0b8c1; white-space: nowrap; }
.tag-editor-help { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 13px; }
@media (max-width: 640px) {
  .tag-table thead, .tag-table colgroup { display: none; }
  .tag-table, .tag-table tbody { display: block; }
  .tag-table tr { display: grid; grid-template-columns: 48px minmax(0,1fr) 83px; gap: 8px; padding: 12px; border-bottom: 1px solid var(--border); }
  .tag-table tr:last-child { border-bottom: 0; }
  .tag-table td { display: block; min-width: 0; padding: 0; border: 0; }
  .tag-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .tag-table td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .tag-table td:nth-child(3) { grid-column: 2 / 4; grid-row: 2; }
  .tag-table td:nth-child(3)::before { content: 'GitHub 라벨'; display: block; font-size: 10px; color: var(--muted); margin-bottom: 5px; }
  .tag-table td:nth-child(4) { grid-column: 3; grid-row: 1; align-self: center; }
  .fixed-tag-table td, .fixed-tag-table th { padding: 10px 8px; }
  .fixed-tag-table th:first-child { width: 38%; }
  .fixed-tag-table th:last-child { width: 52px; }
  .tag-editor-heading .button { padding: 9px 11px; font-size: 11px; }
}
.settings-aside h2 { font-size: 16px; }
.settings-aside .button { font-size: 12px; padding: 11px 14px; gap: 7px; }
.copy-field { display: flex; align-items: stretch; margin-top: 9px; }
.copy-field input { font-size: 11px; border-radius: 9px 0 0 9px; }
.copy-field button { display: grid; place-items: center; padding: 0 12px; background: #f7f8fa; border: 1px solid #dfe3e8; border-left: 0; border-radius: 0 9px 9px 0; color: #8b95a1; }
.copy-field button .icon { width: 16px; height: 16px; }
.webhook-panel > form, .settings-aside .panel > form { margin-top: 20px; }
.webhook-panel > small { display: block; font-size: 10px; margin-top: 12px; line-height: 1.8; }
details { font-size: 12px; color: var(--secondary); margin-top: 20px; }
summary { cursor: pointer; font-weight: 500; }
.event-list { display: block; margin-top: 13px; white-space: pre-line; font-size: 10px; }
.steps { padding-left: 20px; margin: 18px 0; color: var(--secondary); font-size: 12px; line-height: 2.8; }
.subtle { background: transparent; }
.aside-note { display: flex; gap: 10px; padding: 0 7px; color: #8b95a1; }
.aside-note > .icon { margin-top: 3px; }
.aside-note p { font-size: 11px; line-height: 1.9; }
.aside-note code { font-size: 10px; }
.callout { padding: 17px 19px; margin-bottom: 24px; background: #f2f7ff; color: #4e7aa8; border-radius: 12px; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.callout.error { background: #fff3f3; color: #c54c55; }
.callout.success { background: #eefaF4; color: #2b986a; }
.setup-page { max-width: 850px; padding-top: 45px; }
.back-link { display: inline-block; color: #8b95a1; font-size: 12px; margin-bottom: 28px; }
.setup-page > .inline-link { display: inline-flex; align-items: center; margin-top: 17px; font-size: 13px; }
.narrow { max-width: 620px; margin-top: 32px; }
.narrow .button { margin-top: 25px; }
.form-stack > div { margin-top: 23px; }
.form-stack label { margin-top: 0; }
.error-page { max-width: 1000px; padding-top: 100px; }
.error-page h1 { font-size: 29px; max-width: 760px; }
.guide-page { max-width: 1120px; padding-top: 45px; }
.guide-heading { padding-bottom: 44px; }
.guide-heading h1 { font-size: 36px; }
.guide-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 38px; align-items: start; }
.guide-toc { display: flex; flex-direction: column; gap: 15px; position: sticky; top: 35px; padding-top: 6px; font-size: 13px; color: #8b95a1; }
.guide-toc a:hover { color: var(--accent); }
.guide-steps { display: flex; flex-direction: column; gap: 22px; }
.guide-step { padding: 29px 32px; }
.guide-step > h2 { margin: 18px 0 15px; font-size: 21px; }
.guide-step ol { padding-left: 20px; color: #4e5968; font-size: 13px; line-height: 2; }
.guide-step li { padding-left: 3px; margin: 9px 0; }
.guide-step > p { font-size: 13px; line-height: 2; }
.guide-step > .guide-tip { margin-top: 20px; padding: 15px 17px; background: #f7f8fa; border-radius: 10px; font-size: 12px; color: #8b95a1; }
.permission-table { min-width: 0; margin-top: 18px; }
.permission-table td { color: #6b7684; font-size: 11px; }
.permission-table th, .permission-table td { padding: 12px; }
.app-settings-page { max-width: 950px; }
.app-settings-page .panel { max-width: 650px; }
.app-settings-page .button { margin-top: 22px; }
#toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #333d4b; color: #fff; border-radius: 12px; padding: 13px 23px; font-size: 12px; box-shadow: 0 5px 20px #0001; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
#toast.visible { opacity: 1; }
@media (min-width: 1600px) { .with-sidebar .main { padding-left: 60px; padding-right: 60px; } }
@media (max-width: 1150px) {
  .main { padding: 33px 30px 60px; }
  .hero { gap: 35px; }
  .hero h1 { font-size: 46px; }
  .hero-copy { font-size: 15px; }
  .product-preview { padding: 22px; }
  .settings-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 18px; }
  .settings-aside .panel, .panel { padding: 23px; }
  .repository-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 25px; padding-bottom: 60px; }
  .hero h1 { font-size: 40px; }
  .hero-copy { font-size: 14px; }
  .hero-actions .button { min-height: 44px; padding: 12px 16px; font-size: 12px; }
  .preview-post { padding: 20px 15px; gap: 10px; }
  .preview-avatar { display: none; }
  .preview-post h2 { font-size: 16px; }
  .feature-section { gap: 30px; grid-template-columns: 1fr 1.4fr; }
  .feature-section > h2 { font-size: 25px; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .settings-aside .aside-note { grid-column: 1/-1; }
  .server-grid { grid-template-columns: 1fr; }
  .onboarding { align-items: flex-start; flex-direction: column; }
  .guide-layout { grid-template-columns: 170px minmax(0,1fr); gap: 22px; }
  .guide-step { padding: 25px; }
}
@media (max-width: 700px) {
  .public-header { height: 75px; padding: 0 23px; }
  .public-header .brand { font-size: 19px; }
  .public-header nav { gap: 14px; }
  .public-header .text-link { font-size: 12px; }
  .landing { padding: 42px 24px 0; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; }
  .hero h1 { font-size: 43px; line-height: 1.35; }
  .hero .eyebrow { font-size: 12px; }
  .hero-copy { font-size: 15px; line-height: 1.9; margin-top: 20px; }
  .hero-actions { margin-top: 25px; }
  .hero-actions .button { font-size: 13px; padding: 13px 18px; min-height: 47px; }
  .product-preview { max-width: 450px; padding: 24px 22px; border-radius: 22px; }
  .preview-avatar { display: grid; }
  .preview-post { gap: 12px; padding: 23px 17px; }
  .feature-section { display: block; padding: 45px 0; }
  .feature-section > h2 { margin-bottom: 32px; font-size: 27px; }
  .feature-list { gap: 28px; }
  .feature-row { gap: 15px; }
  .feature-row h3 { font-size: 17px; }
  .feature-row p { font-size: 12px; }
  .feature-row p br { display: none; }
  .getting-started { padding: 25px; align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 40px; }
  .getting-started h2 { font-size: 20px; }
  .getting-started p { font-size: 12px; }
  .landing-footer { font-size: 11px; }
  .sidebar { position: relative; width: 100%; padding: 19px 20px 13px; border-right: 0; border-bottom: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; gap: 5px; }
  .sidebar .brand { width: 100%; margin: 0 0 15px; padding: 0; }
  .nav-caption { display: none; }
  .sidebar .nav-item { font-size: 11px; padding: 8px 10px; margin: 0; }
  .sidebar .nav-item .icon { width: 15px; height: 15px; }
  .sidebar-bottom { position: absolute; right: 23px; top: 27px; margin: 0; padding: 0; }
  .sidebar-bottom .connection-status, .sidebar-bottom .user-line { display: none; }
  .with-sidebar .main { margin-left: 0; }
  .main { padding: 27px 21px 50px; }
  .page-heading { flex-wrap: wrap; margin-bottom: 26px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 12px; }
  .breadcrumb { font-size: 11px; margin-bottom: 22px; }
  .stats-grid { gap: 8px; }
  .stat { padding: 17px 12px; border-radius: 13px; }
  .stat > span { font-size: 9px; }
  .stat > strong { font-size: 25px; gap: 5px; }
  .stat > strong > small { font-size: 10px; }
  .section-top > .small-text { font-size: 10px; max-width: 140px; text-align: right; }
  .server-card { padding: 22px; }
  .panel { padding: 23px; }
  .form-columns { grid-template-columns: 1fr; gap: 0; }
  .settings-aside { display: flex; }
  .save-bar { flex-direction: column; align-items: stretch; }
  .save-bar > span { text-align: center; font-size: 10px; }
  .repo-channels code { font-size: 10px; }
  .page-title { font-size: 29px; }
  .page-copy { font-size: 14px; }
  .guide-page { padding-top: 30px; }
  .guide-heading { padding-bottom: 28px; }
  .guide-heading h1 { font-size: 29px; }
  .guide-layout { display: block; }
  .guide-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; padding: 17px; background: #f7f8fa; border-radius: 13px; gap: 12px; font-size: 11px; margin-bottom: 25px; }
  .guide-step { padding: 25px 22px; }
  .guide-step > h2 { font-size: 20px; }
  .permission-table { min-width: 280px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
