@font-face { font-family: "SUIT"; src: url("./fonts/SUIT-Light.woff2") format("woff2"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "SUIT"; src: url("./fonts/SUIT-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "SUIT"; src: url("./fonts/SUIT-Medium.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "SUIT"; src: url("./fonts/SUIT-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "SUIT"; src: url("./fonts/SUIT-ExtraBold.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0e1016; --panel: #161923; --panel2: #1d2130; --line: rgba(255,255,255,.08);
  --ink: #eef0f6; --muted: #9aa1b5; --muted2: #6b7286;
  /* --muted2 는 ★비텍스트 전용★ 이다 — 상태 점 · 아이콘 · 테두리 · 장식 글리프(기준 3:1).
     ★본문·라벨·설명 텍스트에는 쓰지 않는다★(어떤 표면에서도 4.5:1 미달: bg 3.96 / panel 3.65 / panel2 3.33).
     텍스트에는 --muted 를 쓴다(bg 7.37 / panel 6.80 / panel2 6.20 — 전부 통과). */
  --brand: oklch(68% 0.16 275); --brand-soft: oklch(68% 0.16 275 / 0.16);
  --ok: oklch(74% 0.14 155); --ok-soft: oklch(74% 0.14 155 / 0.14);
  --danger: oklch(70% 0.17 25); --danger-soft: oklch(70% 0.17 25 / 0.14);
  --warn-soft: oklch(78% 0.14 85 / 0.14); --warn-ink: oklch(86% 0.09 85);
  --sans: "SUIT", -apple-system, system-ui, sans-serif;
  font: 400 16px/1.55 "SUIT", -apple-system, system-ui, sans-serif;
  color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
body { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand); }
.muted { color: var(--muted); font-size: 13px; }
.h1, h1 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.h2, h2 { margin: 0; font-size: 15px; font-weight: 700; }
.card, section { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.card { padding: 24px; }
section { padding: 24px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-head-copy { display: flex; flex-direction: column; gap: 4px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.row-card { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: var(--panel2); }

#account-nav { width: 240px; min-height: 100vh; position: sticky; top: 0; align-self: start; padding: 26px 18px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); background: var(--panel); }
.brand { display: flex; align-items: center; gap: 9px; padding: 6px 10px 26px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 22px; height: 22px; flex: 0 0 auto; }
.primary-nav { display: flex; flex-direction: column; gap: 6px; }
.primary-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--ink); background: var(--brand-soft); font-weight: 700; }
.primary-nav a:nth-child(4) { display: none; }
.nav-icon { display: none; }
.spacer { flex: 1; }
.account-menu { position: relative; }
.account-menu summary { padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 12px; background: var(--panel2); cursor: pointer; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.account-copy strong, .account-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy strong { font-size: 13px; }
.account-copy span { color: var(--muted); font-size: 12px; }
.account-menu-dropdown { position: absolute; left: 0; right: 0; bottom: 66px; z-index: 4; padding: 6px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.account-menu-dropdown a, .account-menu-dropdown button { min-height: 0; padding: 9px 12px; border: 0; border-radius: 9px; color: var(--ink); background: transparent; font-size: 13px; font-weight: 400; text-align: left; }
.account-menu-dropdown a:hover, .account-menu-dropdown button:hover { background: var(--brand-soft); }
.account-menu-dropdown button { color: var(--muted); }
.mobile-user { display: none; }
.mobile-full { display: none; }
main { width: 100%; min-width: 0; padding: 36px 44px 60px; display: flex; flex-direction: column; gap: 22px; }

.btn, .btn-primary, .btn-ghost, button { min-height: 38px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--panel2); font-family: var(--sans); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn:hover, .btn-primary:hover, .btn-ghost:hover, button:hover { border-color: color-mix(in oklch, var(--brand) 55%, transparent); }
.btn-brand, .btn-primary, button.primary { color: #0b0d14; background: var(--brand); border-color: transparent; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; }
.btn-primary:hover { color: #0b0d14; }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 32px; padding: 7px 14px; font-size: 12px; }
.act, .destructive { min-height: auto; padding: 6px; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 7px; background: transparent; font-family: var(--sans); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.act { color: var(--muted); }
.act:hover { color: var(--ink); border-color: transparent; background: transparent; }
.destructive { color: var(--danger); }
.destructive:hover { border-color: transparent; background: var(--danger-soft); }
.destructive-confirm { color: #fff; background: var(--danger); border-color: transparent; }
.act-icon { width: 13px; height: 13px; flex: 0 0 auto; }
.quiet-link { min-height: auto; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 500; }
.quiet-link:hover { color: var(--brand); border-color: transparent; background: transparent; }
.btn-danger-text { color: var(--danger); }
.mobile-copy { display: none; }
button:disabled { opacity: .45; cursor: not-allowed; }
.input, input, select { width: 100%; min-height: 42px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--panel2); font-size: 14px; }
input:disabled { opacity: .55; }
.label, label { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
label input, label select { margin-top: 6px; }
form.stack { align-items: stretch; }
.form-actions { display: flex; gap: 8px; align-items: center; }
.form-actions.end { justify-content: flex-end; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.chip-ok { color: var(--ok); background: var(--ok-soft); }
.chip-warn { color: var(--warn-ink); background: var(--warn-soft); }
.chip-muted { color: var(--muted); background: var(--panel2); }
.status-indicator { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.status-indicator > span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--muted2); }
.status-indicator.active > span { background: var(--ok); }
.status-indicator.revoked > span, .status-indicator.blocked > span { background: var(--muted2); }
#status { min-height: 20px; margin: 0; color: var(--ok); font-size: 13px; }
#status[data-error="true"] { color: var(--danger); }

#toast-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(6,8,14,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .16s ease;
}
#toast-backdrop.show { opacity: 1; }
#toast {
  position: fixed; left: 50%; top: 50%; z-index: 9999;
  transform: translate(-50%, -50%) scale(.94);
  max-width: min(88vw, 420px); padding: 22px 28px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--panel); color: var(--ok);
  font-size: 16px; font-weight: 800; line-height: 1.5; text-align: center;
  box-shadow: 0 28px 80px #000c;
  opacity: 0; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
#toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#toast[data-error="true"] { color: var(--danger); }

.home-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.home-copy { max-width: 620px; display: flex; flex-direction: column; gap: 12px; }
.home-copy h1 { font-size: 30px; }
.home-copy p { margin: 0; font-size: 14.5px; line-height: 1.7; }
.status-card { width: 300px; display: flex; flex-direction: column; gap: 12px; }
/* 공개 랜딩(비로그인) — .status-card 자리에 들어간다. */
.public-cta { width: 300px; display: flex; flex-direction: column; gap: 12px; }
.public-cta[hidden] { display: none; }
/* F1(designteamm1 발견 · 스펙 검증조건): 카드 폭 300px(문단 250px)에서 "설치·코드 없음" 이 음절 단위로
   쪼개진다 — 한글은 어절 단위로 끊고(keep-all), 한 덩어리로 읽혀야 하는 구절은 통째로 넘긴다. */
.public-cta p { margin: 0; word-break: keep-all; }
.public-cta .nowrap { white-space: nowrap; }
.public-nav { display: flex; flex-direction: column; gap: 8px; }
.metric { display: flex; justify-content: space-between; align-items: center; }
.how-flow { padding: 26px 28px; display: flex; align-items: stretch; gap: 18px; }
.how-tile { position: relative; flex: 1; display: flex; gap: 14px; }
.how-tile-link { position: absolute; inset: 0; border-radius: 14px; }
.how-icon-tile { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: var(--ink); background: var(--brand-soft); }
.how-icon { width: 22px; height: 22px; }
.how-copy { display: flex; flex-direction: column; gap: 6px; }
.how-copy p { margin: 0; line-height: 1.6; }
.flow-arrow { display: flex; align-items: center; color: var(--muted2); font-size: 20px; }

.auth-page { display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-shell { width: 380px; display: flex; flex-direction: column; gap: 26px; }
main.auth-shell { padding: 0; }
.auth-shell.signup { width: 420px; }
.auth-logo { justify-content: center; padding: 0; font-size: 21px; }
.auth-card { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.auth-shell:not(.signup) .auth-card { gap: 20px; }
.auth-card > button, .auth-card form > button { padding: 12px; }
.auth-card h1 { font-size: 21px; }
.auth-card p { margin: 4px 0 0; }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-note { color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }

.registration-link { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--bg); }
.registration-link code { min-width: 0; flex: 1; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.warning-box { padding: 11px 14px; display: flex; gap: 8px; align-items: flex-start; border-radius: 12px; color: var(--warn-ink); background: var(--warn-soft); font-size: 12.5px; line-height: 1.6; }
.warning-box svg { width: 14px; flex: 0 0 auto; margin-top: 2px; }
table { width: 100%; border-collapse: collapse; }
th { padding: 0 0 10px; color: var(--muted); font-size: 11.5px; font-weight: 700; text-align: left; }
td { padding: 13px 0; border-top: 1px solid var(--line); font-size: 13.5px; vertical-align: middle; }
.agent-mobile-list { display: none; }
.platform-cell { display: flex; align-items: center; gap: 6px; }
.platform-cell select { width: auto; min-height: 30px; padding: 5px 8px; font-size: 12px; }
.platform-badge { width: 40px; height: 40px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 12px; color: #fff; background: #6b7286; font-size: 18px; font-weight: 800; vertical-align: middle; }
.platform-badge img { width: 58%; height: 58%; display: block; }
.platform-badge.mine { box-shadow: 0 0 0 2px var(--brand); }
.platform-badge.unverified { outline: 2px dashed var(--warn-ink); outline-offset: 2px; }
.platform-badge.claude { background: #d97757; }
.platform-badge.chatgpt { color: #0b0d14; background: #fff; }
.platform-badge.gemini { background: #4e8df5; }
.platform-badge.grok { color: #0b0d14; background: #e6e8ee; }
.platform-badge.small { width: 18px; height: 18px; margin-right: 0; border-radius: 5px; font-size: 10px; }
.platform-warning, .platform-check { display: block; margin-top: 5px; color: var(--warn-ink); font-size: 11px; }
.platform-check.verified { color: var(--ok); }

.channel-actions { display: flex; gap: 10px; }
.tabs-row { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; }
.tabs-row > .tabs { flex: 1; min-width: 0; }
.tabs button, .tabs a { min-height: 36px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; border: 0; color: var(--muted); background: transparent; font-size: 13px; font-weight: 500; }
.tabs button[aria-selected="true"], .tabs a[aria-current="page"] { color: var(--ink); background: var(--brand-soft); font-weight: 700; }
.archive-link { margin-left: auto; padding: 6px; display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.archive-link:hover { color: var(--ink); }
.tab-badge { margin-left: 6px; padding: 1px 7px; border-radius: 999px; color: #fff; background: var(--danger); font-size: 11px; font-weight: 800; }
.tab-badge[hidden], [role="tabpanel"][hidden], [hidden] { display: none !important; }
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-chips::before { content: "보기"; color: var(--muted); font-size: 12px; }
.filter-chips button { min-height: 0; padding: 4px 11px; border: 0; color: var(--muted); background: var(--panel2); font-size: 11.5px; }
.filter-chips button[aria-pressed="true"] { color: var(--ink); background: var(--brand-soft); }
.channel-list, .request-list { display: flex; flex-direction: column; gap: 12px; }
.channel-card, .request-card { position: relative; padding: 16px 18px; display: grid; grid-template-columns: minmax(150px, 1fr) 120px minmax(150px, 1fr) 120px; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.channel-party { min-width: 0; padding: 12px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel2); }
.party-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.party-copy strong, .party-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.party-copy strong { font-size: 14px; }
.party-copy small, .party-label { color: var(--muted); font-size: 11.5px; }
.my-party { border: 1.5px solid var(--brand); background: var(--brand-soft); }
.my-party .party-label { color: var(--brand); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.channel-bridge { width: 120px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ok); text-align: center; }
.bridge-arrow { width: 64px; height: 24px; }
.channel-bridge small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.channel-bridge.closed { color: var(--muted2); }
.closed-channel { opacity: .6; }
.channel-action { display: flex; justify-content: flex-end; gap: 4px; }
.own-channel-chip { position: absolute; top: -10px; left: 16px; }
.pick-agent-slot, .undetermined-party { border-style: dashed; background: transparent; }
.pick-agent-slot { border-color: var(--brand); }
.pick-agent-slot .party-copy strong { color: var(--brand); }
.pick-hint { display: none; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.pick-agent-slot select { margin-top: 2px; padding: 5px 8px; min-height: 30px; font-size: 12px; }
.undetermined-party .platform-badge { border: 1px dashed var(--line); color: var(--muted); background: transparent; }
.accept-extra { display: none; }
#archive-list .channel-card { grid-template-columns: minmax(150px, 1fr) 120px minmax(150px, 1fr) 200px; }
.request-arrow { width: 120px; display: flex; flex-direction: column; align-items: center; color: var(--warn-ink); font-size: 22px; }
.request-arrow small { color: var(--muted); font-size: 11.5px; }
.request-sections { display: flex; flex-direction: column; gap: 20px; }
.request-section { display: flex; flex-direction: column; gap: 12px; }
.request-toggle { display: none; }
.empty { margin: 0; padding: 18px; color: var(--muted); font-size: 13px; text-align: center; }
.archive-mobile-tabs { display: none; }

.profile-card { display: flex; flex-direction: column; gap: 14px; }
.profile-head { display: flex; align-items: center; gap: 14px; }
#nickname { font-size: 18px; font-weight: 800; }
.profile-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); font-size: 20px; font-weight: 800; }
.profile-row { display: flex; justify-content: space-between; align-items: center; }
.profile-row.first { padding-top: 12px; border-top: 1px solid var(--line); }
.mobile-account-actions { display: none; }
.danger-card { border-color: var(--danger-soft); }
.danger-card h2 { color: var(--danger); }

dialog { width: min(440px, calc(100% - 28px)); padding: 26px 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; color: var(--ink); background: var(--panel); box-shadow: 0 24px 70px #000b; }
dialog::backdrop { background: rgba(6,8,14,.62); }
dialog h2 { font-size: 16px; }
dialog form { display: flex; flex-direction: column; gap: 14px; }
dialog p { margin: 0; color: var(--muted); line-height: 1.65; }
.confirmation-warning { color: var(--danger); font-weight: 700; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.modal-form { width: min(520px, calc(100% - 28px)); }

.agent-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; }
.connection-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.connection-section-head p { margin: 4px 0 0; }
.connection-search-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 10px; }
.connection-list { display: flex; flex-direction: column; gap: 10px; }
.connection-card { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 14px; background: var(--panel2); }
.connection-identity { min-width: 0; display: flex; align-items: center; gap: 11px; }
.connection-avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--brand-soft); font-size: 14px; font-weight: 800; }
.connection-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.connection-copy strong, .connection-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#connection-search-results .connection-copy strong, #member-route-results .connection-card > span {
  min-width: 0; white-space: normal; overflow-wrap: anywhere;
}
.connection-copy small { color: var(--muted); font-size: 11.5px; }
.connection-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.connection-request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.blocked-connection, .unavailable-connection { opacity: .62; }

@media (max-width: 760px) {
  .connection-search-form, .connection-request-grid { grid-template-columns: 1fr; }
  .connection-search-form button { width: 100%; }
  .connection-card { align-items: flex-start; flex-direction: column; }
  .connection-identity { width: 100%; }
  .connection-actions { width: 100%; flex-wrap: wrap; }
  .connection-actions .primary { flex: 1; }
  body { display: flex; flex-direction: column; min-width: 320px; padding: 0 0 70px; }
  #account-nav { width: 100%; min-height: 0; position: static; padding: 14px 16px; flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 0; font-size: 17px; }
  .brand-mark { width: 20px; height: 20px; }
  .mobile-user { margin-left: auto; display: block; color: var(--muted); font-size: 12.5px; }
  .primary-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); background: var(--panel); }
  .primary-nav a { padding: 10px 0 8px; flex-direction: column; gap: 4px; border-radius: 0; color: var(--muted); font-size: 11px; text-align: center; }
  .primary-nav a:nth-child(4) { display: flex; }
  .primary-nav a[aria-current="page"] { color: var(--ink); background: transparent; }
  .nav-icon { width: 22px; height: 22px; display: block; }
  .spacer, .account-menu { display: none; }
  main { padding: 20px 16px 40px; gap: 16px; }
  .h1, h1 { font-size: 20px; }
  .card, section { padding: 18px; }
  /* C1: 좁은 폭에서 h1 이 flex 압축으로 한 글자씩 쪼개진다(한글 min-content = 한 글자).
     제목은 줄이지 말고, 자리가 모자라면 CTA 줄을 아래로 내린다. */
  .page-head { align-items: flex-start; flex-wrap: wrap; }
  .page-head-copy { flex: 0 0 auto; }
  .page-head-copy h1 { white-space: nowrap; }
  .page-head .desktop-action { display: none; }
  .mobile-full { display: block; }
  .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .mobile-full { width: 100%; }
  .home-intro { flex-direction: column; gap: 16px; }
  .home-copy h1 { font-size: 22px; }
  .home-copy br { display: none; }
  .home-copy p { font-size: 13px; line-height: 1.65; }
  .status-card { width: 100%; padding: 16px 18px; flex-direction: row; justify-content: space-between; }
  .public-cta { width: 100%; }
  .public-nav { flex-direction: row; gap: 8px; margin-left: auto; }
  .public-nav .btn-primary, .public-nav .btn-ghost { min-height: 32px; padding: 7px 14px; font-size: 12px; }
  .status-card .metric { flex-direction: column; align-items: flex-start; }
  .status-card .metric:nth-child(2)::before { content: "에이전트"; }
  .status-card .metric:nth-child(3)::before { content: "채널"; }
  .status-card .metric:nth-child(4)::before { content: "받은 요청"; }
  .status-card > .muted, .status-card .metric > .muted { display: none; }
  .status-card .metric::before { color: var(--muted); font-size: 11px; }
  .status-card .metric > :last-child { font-size: 18px; font-weight: 800; }
  .status-card #request-count { padding: 0; color: var(--warn-ink); background: transparent; }
  .how-flow { padding: 20px 18px; flex-direction: column; gap: 16px; }
  .how-tile { position: relative; }
  .how-tile:not(:last-of-type)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: -16px; width: 2px; background: var(--line); }
  .flow-arrow { display: none; }
  .how-copy { gap: 4px; padding-top: 4px; }
  .desktop-copy, .desktop-inline, .page-head-copy > .muted { display: none; }
  .mobile-copy { display: block; }
  .auth-page { min-height: 100vh; padding: 22px; }
  .auth-shell, .auth-shell.signup { width: 100%; max-width: 420px; gap: 22px; }
  .auth-logo { font-size: 19px; }
  .auth-card { padding: 32px; }
  .signup-names { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .registration-link { flex-wrap: wrap; }
  .registration-link code { flex-basis: 100%; white-space: normal; word-break: break-all; }
  .agents-table { display: none; }
  .agent-mobile-list { display: flex; flex-direction: column; gap: 12px; }
  .channel-actions { width: 100%; gap: 8px; }
  .channel-actions button { min-width: 0; flex: 1; padding-inline: 8px; font-size: 12px; }
  .tabs-row { padding-bottom: 10px; }
  .tabs { flex: 2 1 0; min-width: 0; }
  .tabs button, .tabs a { flex: 1; justify-content: center; padding-inline: 10px; }
  .archive-link { flex: 1 1 0; margin-left: 0; min-width: 0; justify-content: center; padding: 9px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; }
  .archive-link .act-icon { display: none; }
  .filter-chips { gap: 6px; }
  .filter-chips::before { display: none; }
  .channel-card, .request-card, #archive-list .channel-card { padding: 14px; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 8px; }
  .channel-party { padding: 10px 6px; flex-direction: column; gap: 4px; text-align: center; }
  .channel-party .platform-badge { width: 34px; height: 34px; border-radius: 10px; }
  .party-copy { width: 100%; align-items: center; }
  .party-copy strong { width: 100%; font-size: 12.5px; }
  .party-copy small { font-size: 11px; }
  .channel-bridge, .request-arrow { width: 64px; }
  .channel-bridge small, .request-arrow small { display: none; }
  .channel-action { grid-column: 1 / -1; justify-content: space-between; align-items: center; }
  .channel-action::before { content: attr(data-status); color: var(--muted); font-size: 12px; }
  .request-card .channel-action { justify-content: flex-end; gap: 8px; }
  .request-card .channel-action::before { content: none; display: none; }
  .request-card .channel-action .primary { flex: 1; }
  .own-channel-chip { position: static; grid-column: 1 / -1; justify-self: start; margin-bottom: -2px; }
  .request-toggle { padding: 4px; display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 999px; background: var(--panel2); }
  .request-toggle button { min-height: 34px; padding: 8px; border: 0; color: var(--muted); background: transparent; font-size: 13px; font-weight: 400; }
  .request-toggle button[aria-pressed="true"] { color: var(--ink); background: var(--panel); font-weight: 700; }
  .request-section h2 { display: none; }
  /* 전환 UI(받은/보낸)의 ★비활성 쪽★ — "모바일에서 숨긴다"는 규칙이 아니라 상태 이름이다.
     (옛 이름은 "모바일에서 숨김"으로 읽혀 오독을 만들었다 — 그래서 상태 이름으로 바꿨다.) */
  .request-pane-inactive { display: none; }
  .pick-hint { display: block; white-space: nowrap; }
  .pick-agent-slot select { max-width: 120px; }
  .accept-extra { display: inline; }
  .profile-avatar { width: 44px; height: 44px; font-size: 17px; }
  #nickname { font-size: 16px; }
  .archive-desktop-head { display: none; }
  .archive-mobile-tabs { display: flex; }
  .archive-mobile-tabs .tabs { flex: 1; }
  .danger-card .form-actions { flex-direction: column; }
  .danger-card .form-actions button { width: 100%; justify-content: center; }
  .mobile-account-actions { padding: 6px 8px; display: flex; flex-direction: column; }
  .mobile-account-actions a, .mobile-account-actions button { width: 100%; padding: 12px 10px; display: flex; justify-content: space-between; border: 0; border-radius: 0; color: var(--ink); background: transparent; font-size: 14px; font-weight: 400; text-align: left; }
  .mobile-account-actions > :first-child { border-bottom: 1px solid var(--line); }
  dialog, dialog.modal-form { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: 100%; margin: 0; padding: 22px 18px 26px; max-height: min(90dvh, 100%); overflow: auto; border: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 18px 18px 0 0; }
  dialog form { gap: 12px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions button { width: 100%; }
}
