:root {
  color-scheme: dark;
  --background: #0B0F14;
  --surface: #11161D;
  --text: #C9D3DC;
  --strong: #E6EDF3;
  --user: #9FB0C0;
  --accent: #7EE0A6;
  --accent-hover: #A8F0C4;
  --muted: #5C6B7A;
  --divider: #1C2530;
  --payment: oklch(0.85 0.12 85);
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--text);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

button:not(:disabled),
a {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.brain-shell {
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  overflow: hidden;
}

.brain-bar {
  position: relative;
  z-index: 30;
  display: flex;
  min-height: 41px;
  align-items: center;
  gap: 16px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--divider);
  background: var(--background);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
}

.brain-word {
  color: var(--accent);
}

.brain-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.bar-action {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.bar-action:hover {
  color: var(--accent-hover);
}

.bar-action svg,
.empty-title svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.summon-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 18px;
  display: flex;
  min-width: 180px;
  flex-direction: column;
  padding: 6px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: var(--surface);
}

.summon-choice {
  padding: 8px 10px;
  border-radius: 5px;
  color: var(--text);
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
}

.summon-choice:hover,
.summon-choice:focus-visible {
  background: var(--divider);
  color: var(--strong);
}

.max-roster {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.roster-face {
  width: 26px;
  height: 26px;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: 5px;
}

.roster-face.is-speaking {
  border-color: var(--accent);
}

.roster-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crew-workspace {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: var(--divider);
}

.split {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  gap: 1px;
  background: var(--divider);
}

.split-row {
  flex-direction: row;
}

.split-column {
  flex-direction: column;
}

.split > * {
  min-width: 0;
  min-height: 0;
  flex: 1 1 0;
}

.crew-pane {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 16px 22px 14px;
  overflow: hidden;
  background: var(--background);
}

.crew-workspace.is-maximized .crew-pane {
  padding: 30px clamp(34px, 8.34vw, 120px) 24px;
}

.pane-header {
  display: flex;
  min-height: 26px;
  align-items: center;
  gap: 10px;
}

.face-button {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--surface);
}

.crew-workspace.is-maximized .face-button {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.crew-face,
.face-fallback {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.crew-face {
  display: block;
  object-fit: cover;
}

.face-fallback {
  background: var(--surface);
}

.pane-identity {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.crew-workspace.is-maximized .pane-identity {
  font-size: 15px;
}

.profile-link {
  margin-left: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.35;
}

.profile-link:hover {
  color: var(--text);
}

.crew-status {
  min-width: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.35;
  white-space: nowrap;
}

.crew-status:empty {
  display: none;
}

.pane-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.icon-button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--muted);
}

.icon-button:hover,
.icon-button:active {
  color: var(--text);
}

.icon-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.conversation {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 22px;
  padding: 22px 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: var(--divider) transparent;
}

.message-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 720px);
  gap: 14px;
  align-items: start;
}

.message-crew {
  grid-template-columns: 14px minmax(0, 1fr);
}

.speaker-mark {
  padding-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}

.message-crew .speaker-mark {
  color: var(--accent);
}

.message-content {
  width: 100%;
  min-width: 0;
}

.message-user .message-content {
  color: var(--user);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.message-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.message-attachment-chip {
  display: inline-flex;
  max-width: min(100%, 320px);
  padding: 2px 6px;
  overflow: hidden;
  border: 1px solid var(--divider);
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
}

.answer-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.answer-paragraph {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.answer-paragraph strong {
  font-weight: 500;
}

.answer-paragraph code {
  font-family: var(--mono);
}

.answer-paragraph a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.raw-item,
.raw-answer {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.raw-item {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
}

.raw-answer {
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.8;
}

.message-crew.is-streaming .answer-flow::after {
  width: 8px;
  height: 16px;
  content: "";
  background: var(--accent);
  animation: cursor-blink 900ms steps(1, end) infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.turn-event {
  display: flex;
  min-height: 19px;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  transition: opacity 160ms ease;
}

.turn-event.is-expired {
  opacity: 0;
}

.turn-event.is-expired:hover,
.turn-event.is-expired:focus-within {
  opacity: 1;
}

.turn-event[data-turn-event="payment"] {
  color: var(--payment);
}

.event-choice {
  color: inherit;
  font-family: var(--mono);
  font-size: 12px;
}

.event-choice:last-child {
  color: var(--muted);
}

.action-card {
  display: flex;
  width: min(560px, 100%);
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.action-card:hover .card-open {
  color: var(--accent-hover);
}

.card-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.card-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.card-title {
  overflow: hidden;
  color: var(--strong);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta,
.card-open {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-open {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12.5px;
}

.turn-queue {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0 0 28px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 6px;
}

.queue-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-cancel {
  width: 24px;
  height: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}

.queue-cancel:hover,
.queue-cancel:active {
  color: var(--text);
}

.composer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.turn-queue:not([hidden]) + .composer {
  padding-top: 6px;
  border-top: 0;
}

.prompt-mark {
  padding-top: 2px;
  color: var(--accent);
  line-height: 1.6;
}

.composer textarea {
  width: 100%;
  min-height: 23px;
  max-height: 132px;
  padding: 0;
  overflow-y: auto;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}

.composer textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.attachment-button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--muted);
}

.attachment-button:hover {
  color: var(--text);
}

.attachment-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.attachment-list,
.attachment-error,
.composer-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
}

.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.attachment-item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.attachment-item [data-attachment-name] {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-item button {
  color: var(--accent);
  font-size: 11.5px;
}

.empty-pane {
  align-items: center;
  justify-content: center;
}

.empty-pane-tools {
  position: absolute;
  top: 15px;
  right: 22px;
}

.empty-call {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.empty-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
}

.empty-title svg {
  width: 18px;
  height: 18px;
}

.empty-crew-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.empty-crew-choice {
  padding: 6px 10px;
  border: 1px solid var(--divider);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
}

.empty-crew-choice:hover {
  color: var(--strong);
  border-color: var(--muted);
}

.empty-help {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.profile-panel {
  position: absolute;
  z-index: 20;
  inset: 0;
  overflow: auto;
  background: var(--background);
}

.profile-layout {
  position: relative;
  display: grid;
  min-height: 100%;
  grid-template-columns: 190px minmax(0, 1fr);
}

.profile-nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  padding: 34px 28px;
  border-right: 1px solid var(--divider);
}

.profile-nav a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  text-decoration: none;
}

.profile-nav a:first-child,
.profile-nav a:hover {
  color: var(--accent);
}

.profile-close {
  position: absolute;
  z-index: 2;
  top: 25px;
  right: 34px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
}

.profile-close:hover {
  color: var(--text);
}

.profile-content {
  display: flex;
  width: min(100%, 760px);
  flex-direction: column;
  padding: 30px 42px 40px;
}

.profile-section {
  padding: 30px 0;
  border-top: 1px solid var(--divider);
  scroll-margin-top: 24px;
}

.profile-section:first-of-type {
  padding-top: 4px;
  border-top: 0;
}

.profile-heading {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 70px;
}

.profile-face {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 8px;
  object-fit: cover;
}

.profile-name {
  margin: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.profile-role {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
}

.profile-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.profile-intro li,
.profile-line,
.skill-line {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.profile-lines,
.skill-group,
.journal-list,
.report-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-group + .skill-group {
  margin-top: 18px;
}

.skill-group-title {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.journal-entry {
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}

.journal-entry:first-child {
  padding-top: 0;
}

.journal-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.journal-preview,
.journal-rest {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 7px;
}

.journal-line {
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.journal-more-button {
  margin-top: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.profile-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.setting-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.setting-label,
.setting-options label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.model-input {
  width: min(100%, 320px);
  padding: 7px 9px;
  border: 1px solid var(--divider);
  border-radius: 6px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
}

.model-input:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 24%, transparent);
}

.setting-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.setting-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

.setting-options input {
  margin: 0;
  accent-color: var(--accent);
}

.setting-row.is-disabled .setting-options,
.composer.is-disabled textarea,
.composer.is-disabled .prompt-mark {
  opacity: 0.45;
}

.settings-save {
  align-self: flex-start;
  padding: 7px 12px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.settings-save:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.settings-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

@media (max-width: 1024px) {
  body {
    overflow: auto;
  }

  .brain-shell {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }

  .brain-bar {
    position: sticky;
    top: 0;
  }

  .crew-workspace {
    display: flex;
    overflow: visible;
    flex-direction: column;
  }

  .crew-pane {
    min-height: calc(100vh - 41px);
    min-height: calc(100dvh - 41px);
    flex: none;
    border-bottom: 1px solid var(--divider);
  }

  .crew-pane:last-child {
    border-bottom: 0;
  }

  .pane-tools {
    display: none;
  }

  .profile-layout {
    display: block;
  }

  .profile-nav {
    display: none;
  }

  .crew-pane.profile-open {
    min-height: calc(100dvh - 41px);
    height: auto;
    overflow: visible;
  }

  .crew-pane.profile-open > :not(.profile-panel) {
    display: none;
  }

  .crew-pane.profile-open .profile-panel {
    position: relative;
    min-height: calc(100dvh - 41px);
    overflow: visible;
  }
}

@media (max-width: 520px) {
  .brain-bar {
    gap: 11px;
    padding: 8px 14px;
  }

  .bar-action span {
    display: none;
  }

  .crew-pane {
    padding: 22px 20px 18px;
  }

  .pane-header {
    flex-wrap: wrap;
  }

  .face-button {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .pane-identity {
    font-size: 14px;
  }

  .crew-status {
    order: 2;
    width: 100%;
    padding-left: 34px;
  }

  .conversation {
    gap: 20px;
    padding-top: 22px;
  }

  .message-row {
    grid-template-columns: 13px minmax(0, 1fr);
    gap: 14px;
  }

  .action-card {
    padding: 12px;
  }

  .profile-close {
    top: 20px;
    right: 20px;
  }

  .profile-content {
    padding: 22px 20px 30px;
  }

  .profile-section:first-of-type {
    padding-top: 26px;
  }

  .profile-hero {
    align-items: flex-start;
    padding-right: 54px;
  }

  .profile-name {
    font-size: 18px;
  }

  .profile-intro li,
  .profile-line,
  .skill-line {
    font-size: 14.5px;
  }

  .setting-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .message-crew.is-streaming .answer-flow::after {
    animation: none;
  }

  .turn-event {
    transition: none;
  }
}

/* ── 트랙 A(2026-09-05) — 사람 칸·사람 홈·사수·결재함 ─────────────── */
/* 사수: 이름 옆에 붙는 작은 글자. 색만으로 구분하지 않는다(색없이도읽힘). */
.crew-mentor {
  opacity: 0.72;
}

/* 사람 홈 — 업무일지 노트는 눌러서 본문을 편다 */
.profile-journal-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.person-note {
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.7rem;
  white-space: pre-wrap;
  overflow-x: auto;
  border: 1px solid currentColor;
  border-radius: 4px;
  opacity: 0.92;
}

/* 결재함으로 보낸 결과 — 글자로 말한다 */
.event-approval-status {
  margin-left: 0.4rem;
  opacity: 0.85;
}

.event-approval-status[data-approval-ok="0"]::before {
  content: "🔴 ";
}

.event-approval-status[data-approval-ok="1"]::before {
  content: "✅ ";
}

/* 사람 홈 — 사진이 없을 때의 첫 글자 원형은 얼굴과 같은 자리·같은 크기여야 한다.
   (실물 2026-09-05: 스타일이 없어 막대로 늘어나고 이름이 두 줄로 깨졌다) */
.profile-face-fallback {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 24px;
}

.profile-hero-text {
  min-width: 0;
}

.profile-hero-text .profile-name {
  white-space: nowrap;
}

/* ── 출근 문(P2a · D450) — 로그인 화면 · 로고 · 자리 클로드 연결 ───────── */
.brain-tile {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  flex: none;
}

.brain-bar-logo {
  height: 16px;
  width: auto;
  opacity: 0.9;
  flex: none;
}

.brain-bar-tile {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  margin-left: -8px;
}

.login-body {
  overflow: auto;
}

.login-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 88px 24px;
}

.login-mark {
  position: absolute;
  top: 28px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-mark-logo {
  height: 20px;
  width: auto;
  opacity: 0.9;
}

.login-host {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.login-card {
  display: flex;
  width: min(100%, 520px);
  flex-direction: column;
  gap: 22px;
  padding: 44px 48px 40px;
  border: 1px solid #1e2a36;
  border-radius: 14px;
  background: #0e141b;
}

.login-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-card-logo {
  height: 26px;
  width: auto;
}

.login-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}

.login-title {
  margin: 0;
  color: var(--strong);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.login-lead {
  margin: 0;
  color: #8a9aa8;
  font-size: 15px;
  line-height: 1.6;
}

.login-google {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  border-radius: 10px;
  background: #f2f3f5;
  color: #17181c;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.login-google:hover {
  background: #ffffff;
}

.login-google-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
}

.login-pending {
  display: none;
  margin: 6px 0 0;
  padding: 18px 0;
  border: 1px dashed var(--divider);
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
}

.login-body[data-google="pending"] .login-google {
  display: none;
}

.login-body[data-google="pending"] .login-pending {
  display: block;
}

.login-error {
  margin: 0;
  color: var(--payment);
  font-size: 13px;
  line-height: 1.6;
}

.login-notes {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
}

.login-foot {
  position: absolute;
  right: 40px;
  bottom: 28px;
  left: 40px;
  display: flex;
  justify-content: space-between;
  color: #3d4b58;
  font-family: var(--mono);
  font-size: 12px;
}

/* 자리 홈 — 클로드 연결 */
.seat-claude {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: #0e141b;
}

.seat-claude[data-state="connected"] {
  border-color: #1f3a2e;
  background: #0e1a16;
}

.seat-claude-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.seat-claude-title {
  color: var(--strong);
  font-size: 15px;
  font-weight: 700;
}

.seat-claude-state {
  color: var(--payment);
  font-family: var(--mono);
  font-size: 12px;
}

.seat-claude[data-state="connected"] .seat-claude-state {
  color: var(--accent);
}

.seat-claude-note {
  color: #8a9aa8;
  font-size: 13px;
  line-height: 1.6;
}

.seat-claude-steps {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}

.seat-claude-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seat-claude-button {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--background);
  font-size: 14px;
  font-weight: 700;
}

.seat-claude-button:hover {
  background: var(--accent-hover);
}

.seat-claude-button:disabled {
  opacity: 0.5;
}

.seat-claude-quiet {
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  color: #8a9aa8;
  font-size: 13px;
}

.seat-claude-paste {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: var(--background);
  color: var(--strong);
  font-family: var(--mono);
  font-size: 12px;
}

.seat-claude-error {
  margin: 0;
  color: var(--payment);
  font-size: 13px;
  line-height: 1.6;
}
