﻿:root {
  --bg-1: #fff6e9;
  --bg-2: #eef6ff;
  --ink: #1f2a44;
  --ink-soft: #4b5e78;
  --line: rgba(31, 42, 68, 0.14);
  --card: rgba(255, 255, 255, 0.86);
  --brand: #006d77;
  --accent: #ef7d00;
  --danger: #bf0603;
  --ok: #2a9d8f;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 16px 36px rgba(20, 33, 61, 0.12);
  --font-ui: "Pretendard Variable", "Pretendard", "SUIT Variable", "IBM Plex Sans KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-accent: "Pretendard Variable", "SUIT Variable", "IBM Plex Sans KR", "Noto Sans KR", sans-serif;
  --font-display: "IBM Plex Sans KR", "Pretendard Variable", "SUIT Variable", "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: radial-gradient(1300px 620px at -8% -16%, #ffe3b8 0%, transparent 55%), radial-gradient(980px 520px at 108% 116%, #cfe4ff 0%, transparent 52%), linear-gradient(140deg, var(--bg-1), var(--bg-2));
  overflow-x: hidden;
  line-height: 1.55;
}

.hidden {
  display: none !important;
}

.bg-blob {
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.44;
  z-index: 0;
}

.blob-a {
  width: 520px;
  height: 520px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle at 30% 30%, #ffd6a5, #ffb4a2);
}

.blob-b {
  width: 470px;
  height: 470px;
  right: -160px;
  bottom: -140px;
  background: radial-gradient(circle at 65% 60%, #a0c4ff, #bde0fe);
}

.auth-gate {
  position: relative;
  z-index: 1;
  width: min(1180px, 94vw);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 26px 0 56px;
}

.auth-shell {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 420px);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
}

.auth-left {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.2em;
  color: var(--brand);
  font: 700 0.82rem/1 var(--font-accent);
}

.auth-left h1 {
  margin: 0;
  font: 700 clamp(2rem, 4.1vw, 3.75rem) / 1.08 var(--font-accent);
  letter-spacing: -0.02em;
}

.auth-copy {
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.62;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
}

.auth-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 11px;
}

.auth-points li {
  position: relative;
  padding-left: 25px;
  color: #23365a;
  line-height: 1.5;
  font-weight: 500;
}

.auth-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #1d4ed8);
}

.auth-sub {
  margin: 22px 0 0;
  color: #65738f;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.login-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
  box-shadow: 0 26px 56px rgba(20, 33, 61, 0.2);
  backdrop-filter: blur(8px);
  padding: 26px 22px 20px;
  position: relative;
}

.login-panel::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #0ea5a8, #2563eb, #ef7d00);
}

.login-panel h2 {
  margin: 0;
  font: 700 1.2rem/1.2 var(--font-accent);
  letter-spacing: -0.01em;
}

.google-slot {
  margin-top: 14px;
  min-height: 44px;
}

.login-help {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.shell {
  position: relative;
  z-index: 1;
  width: min(1320px, 94vw);
  margin: 24px auto 84px;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0;
  font: 700 clamp(1.45rem, 2.65vw, 2.26rem) / 1.2 var(--font-accent);
}

.hero-copy {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.hero-side {
  min-width: 250px;
  text-align: right;
}

.hero-side p {
  margin: 0 0 6px;
  color: var(--ink-soft);
}

.user-email {
  font-weight: 700;
  color: var(--ink);
}

.hero-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}

.ghost-btn-danger {
  border-color: rgba(191, 6, 3, 0.24);
  color: #8b0000;
}

.metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.metric {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow);
}

.metric p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.metric strong {
  margin-top: 8px;
  display: block;
  font: 700 1.65rem/1 var(--font-accent);
}

.alerts {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow);
}

.alerts h2 {
  margin: 0 0 10px;
  font: 700 1.03rem/1.1 var(--font-accent);
}

.alert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alert-chip {
  border-radius: 999px;
  border: 1px solid rgba(239, 125, 0, 0.27);
  background: rgba(239, 125, 0, 0.12);
  font-size: 0.88rem;
  padding: 7px 12px;
}

.alert-chip.muted {
  border-color: rgba(42, 157, 143, 0.24);
  background: rgba(42, 157, 143, 0.12);
}

.grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card h2 {
  margin: 0 0 12px;
  font: 700 1.04rem/1.2 var(--font-accent);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.card-head input[type="search"] {
  width: min(280px, 100%);
}

.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}

.weekday-row span {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.month-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.month-nav button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.month-nav p {
  margin: 0;
  min-width: 112px;
  text-align: center;
  font: 700 0.95rem/1 var(--font-accent);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.day-btn {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  min-height: 84px;
  text-align: left;
  padding: 7px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.day-btn:hover {
  border-color: rgba(0, 109, 119, 0.55);
}

.day-btn.muted {
  opacity: 0.46;
}

.day-btn.selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.day-btn.today .date-num {
  background: var(--brand);
  color: #fff;
}

.day-btn.urgent {
  border-color: rgba(191, 6, 3, 0.35);
}

.date-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.78rem;
}

.dot {
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 2px 6px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dot-doc {
  background: #1d4ed8;
}

.dot-interview {
  background: #006d77;
}

.dot-task {
  background: #ef7d00;
}

.dot-result {
  background: #2a9d8f;
}

.dot-etc {
  background: #5c677d;
}

.sub-card {
  margin-top: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  padding: 12px;
}

.sub-card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(31, 42, 68, 0.1);
  padding: 6px 0;
}

.badge {
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge.서류,
.stage.관심 {
  background: #1d4ed8;
}

.badge.면접,
.stage.면접예정 {
  background: #006d77;
}

.badge.과제,
.stage.서류합격 {
  background: #ef7d00;
}

.badge.결과,
.stage.오퍼 {
  background: #2a9d8f;
}

.badge.기타,
.stage.지원완료,
.stage.불합격 {
  background: #5c677d;
}

.form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.form.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form input,
.form select,
.form textarea,
.card-head input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  background: #fff;
}

.form textarea {
  grid-column: span 2;
  min-height: 88px;
  resize: vertical;
}

.form button {
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  padding: 10px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

thead {
  background: rgba(0, 109, 119, 0.09);
}

th,
td {
  border-bottom: 1px solid rgba(31, 42, 68, 0.09);
  padding: 8px;
  font-size: 0.88rem;
  text-align: left;
  vertical-align: top;
}

td input,
td select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
}

.tiny-btn {
  border: 0;
  border-radius: 8px;
  background: rgba(191, 6, 3, 0.12);
  color: var(--danger);
  font-weight: 700;
  padding: 6px 8px;
  cursor: pointer;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
  overflow: auto;
}

.kanban-col {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px;
  min-height: 130px;
}

.kanban-col h4 {
  margin: 0 0 8px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.kanban-item {
  border: 1px solid rgba(31, 42, 68, 0.12);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  font-size: 0.79rem;
  margin-bottom: 6px;
}

.story-list,
.portfolio-list {
  display: grid;
  gap: 8px;
}

.story,
.portfolio {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.story-head,
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.story h4,
.portfolio h4 {
  margin: 0;
  font-size: 0.98rem;
}

.story p,
.portfolio p {
  margin: 6px 0;
  font-size: 0.88rem;
}

.story .role {
  color: var(--ink-soft);
  margin: 2px 0 0;
}

.portfolio a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.portfolio a:hover {
  text-decoration: underline;
}

.timeline {
  padding-left: 14px;
}

.timeline-item {
  border-left: 2px solid rgba(31, 42, 68, 0.14);
  padding: 0 0 12px 12px;
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: -6px;
  top: 3px;
}

.timeline-item h4 {
  margin: 0;
  font-size: 0.9rem;
}

.timeline-item p {
  margin: 4px 0 6px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.progress {
  margin-top: 8px;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(31, 42, 68, 0.1);
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--ok));
}

.todo-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.todo-item.done .todo-text {
  text-decoration: line-through;
  color: var(--ink-soft);
}

.priority {
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
}

.priority.High {
  background: var(--danger);
}

.priority.Medium {
  background: #f4a261;
}

.priority.Low {
  background: #5c677d;
}

.muted {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.muted-text {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (max-width: 1100px) {
  .auth-gate {
    min-height: auto;
    padding-top: 42px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .auth-left {
    max-width: 720px;
  }

  .login-panel {
    width: min(440px, 100%);
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .auth-gate {
    padding-top: 28px;
  }

  .auth-left h1 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .login-panel {
    width: 100%;
    border-radius: 24px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-side {
    width: 100%;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .form,
  .form.compact,
  .split {
    grid-template-columns: 1fr;
  }

  .form textarea {
    grid-column: span 1;
  }
}



/* Typography Refresh */
.eyebrow {
  letter-spacing: 0.24em;
  font: 800 0.78rem/1 var(--font-accent);
  text-transform: uppercase;
}

.auth-left h1 {
  color: #1a2e4f;
  font: 700 clamp(2rem, 4.1vw, 3.75rem) / 1.14 var(--font-display);
  letter-spacing: -0.015em;
}

.auth-copy {
  line-height: 1.68;
  font-weight: 500;
}

.login-panel h2 {
  font: 800 1.2rem/1.2 var(--font-accent);
  letter-spacing: -0.015em;
}

.hero h1 {
  color: #1f3154;
  font: 700 clamp(1.5rem, 2.8vw, 2.34rem) / 1.2 var(--font-display);
}

.hero-copy {
  font-weight: 500;
}

.ghost-btn {
  font-family: var(--font-accent);
}

.metric strong {
  color: #173055;
  font: 800 1.62rem/1 var(--font-accent);
}

@media (max-width: 780px) {
  .auth-left h1 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }
}

/* Sales-Inspired Auth Refresh */
:root {
  --font-ui: "Pretendard Variable", "Pretendard", "SUIT Variable", "IBM Plex Sans KR", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-accent: "Pretendard Variable", "SUIT Variable", "IBM Plex Sans KR", "Noto Sans KR", sans-serif;
  --font-display: "IBM Plex Sans KR", "Pretendard Variable", "SUIT Variable", "Noto Sans KR", sans-serif;
}

body {
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at 8% 12%, rgba(49, 100, 255, 0.15) 0%, transparent 38%),
    radial-gradient(circle at 91% 0%, rgba(255, 186, 76, 0.2) 0%, transparent 32%),
    linear-gradient(180deg, #f5f7fb 0%, #f0f4f8 52%, #edf2f7 100%);
}

.bg-blob {
  opacity: 0.3;
}

.auth-gate {
  width: min(1220px, 94vw);
  padding: 30px 0 56px;
}

.auth-shell {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 408px);
  gap: clamp(28px, 6vw, 84px);
}

.auth-left {
  max-width: 720px;
  display: grid;
  gap: 0;
}

.auth-left .eyebrow {
  margin-bottom: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f5af6;
  font: 800 0.78rem/1 var(--font-accent);
}

.auth-left h1 {
  margin: 0;
  color: #0f1e3a;
  font: 800 clamp(2.15rem, 5.2vw, 4.25rem) / 1.04 var(--font-display);
  letter-spacing: -0.028em;
}

.auth-copy {
  margin: 20px 0 0;
  color: #394a65;
  line-height: 1.72;
  font-size: clamp(0.99rem, 1.6vw, 1.14rem);
  max-width: 55ch;
}

.auth-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.auth-points li {
  position: relative;
  padding-left: 24px;
  color: #1e355b;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.auth-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(130deg, #1f5af6, #09a384);
}

.auth-visual {
  margin-top: 18px;
  position: relative;
  height: min(43vw, 380px);
  min-height: 290px;
}

.visual-phone {
  position: absolute;
  width: min(33vw, 250px);
  height: min(56vw, 390px);
  max-height: 390px;
  border-radius: 34px;
  border: 1px solid #d5deee;
  background: linear-gradient(164deg, #ffffff 0%, #f4f7ff 100%);
  overflow: hidden;
  box-shadow: 0 28px 56px rgba(16, 36, 86, 0.2);
}

.visual-phone-back {
  left: 40px;
  top: 22px;
  transform: rotate(-11deg);
  opacity: 0.82;
  animation: vibeFloatBack 7.2s ease-in-out infinite;
}

.visual-phone-front {
  left: 202px;
  top: 0;
  transform: rotate(8deg);
  animation: vibeFloatFront 6.5s ease-in-out infinite;
}

.visual-screen {
  margin: 16px;
  border-radius: 24px;
  border: 1px solid #dbe5f4;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  height: calc(100% - 32px);
  padding: 18px 15px;
}

.visual-label {
  margin: 0;
  font-size: 0.8rem;
  color: #60708a;
  letter-spacing: 0.02em;
}

.auth-visual h3 {
  margin: 8px 0 12px;
  color: #11284f;
  font: 800 2rem/1 var(--font-display);
  letter-spacing: -0.02em;
}

.visual-bar {
  height: 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #1f5af6, #09a384);
}

.bar-a {
  width: 87%;
}

.bar-b {
  width: 63%;
}

.bar-c {
  width: 74%;
}

.visual-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.visual-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d8e2f1;
  border-radius: 11px;
  padding: 9px 10px;
  font-size: 0.84rem;
  color: #2f4364;
  background: rgba(255, 255, 255, 0.9);
}

.visual-list strong {
  color: #18396a;
  font: 800 0.95rem/1 var(--font-display);
}

.visual-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.orb-a {
  width: 120px;
  height: 120px;
  left: 12px;
  bottom: 26px;
  background: radial-gradient(circle, rgba(31, 90, 246, 0.28), rgba(31, 90, 246, 0));
}

.orb-b {
  width: 140px;
  height: 140px;
  right: 26px;
  top: 6px;
  background: radial-gradient(circle, rgba(9, 163, 132, 0.24), rgba(9, 163, 132, 0));
}

@keyframes vibeFloatFront {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }

  50% {
    transform: rotate(8deg) translateY(-9px);
  }
}

@keyframes vibeFloatBack {
  0%,
  100% {
    transform: rotate(-11deg) translateY(0);
  }

  50% {
    transform: rotate(-11deg) translateY(8px);
  }
}

.login-panel {
  border-radius: 24px;
  border: 1px solid #d6dfef;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 62px rgba(16, 31, 61, 0.16);
  padding: 26px 22px 22px;
}

.login-panel::before {
  left: 20px;
  right: 20px;
  background: linear-gradient(90deg, #1f5af6, #09a384, #ff9f1c);
}

.login-panel h2 {
  margin-bottom: 4px;
  color: #102449;
  font: 800 1.18rem/1.2 var(--font-display);
  letter-spacing: -0.01em;
}

#authStatusMessage {
  margin-top: 0;
  color: #51617d;
  line-height: 1.5;
}

.google-slot {
  margin-top: 14px;
}

.login-help {
  margin-top: 14px;
  color: #637692;
  font-size: 0.83rem;
}

@media (max-width: 1150px) {
  .auth-gate {
    min-height: auto;
    padding-top: 42px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .auth-visual {
    height: 330px;
  }

  .visual-phone {
    width: 228px;
    height: 355px;
  }

  .visual-phone-front {
    left: 174px;
  }

  .login-panel {
    width: min(440px, 100%);
  }
}

@media (max-width: 780px) {
  .auth-gate {
    padding-top: 26px;
  }

  .auth-left h1 {
    font-size: clamp(1.95rem, 10vw, 2.9rem);
    line-height: 1.08;
  }

  .auth-copy {
    margin-top: 16px;
    font-size: 0.95rem;
  }

  .auth-points {
    margin-top: 16px;
  }

  .auth-visual {
    margin-top: 8px;
    height: 290px;
    min-height: 290px;
  }

  .visual-phone {
    width: 176px;
    height: 280px;
    border-radius: 24px;
  }

  .visual-screen {
    margin: 12px;
    height: calc(100% - 24px);
    border-radius: 16px;
    padding: 12px;
  }

  .auth-visual h3 {
    font-size: 1.45rem;
    margin: 8px 0 10px;
  }

  .visual-phone-back {
    left: 6px;
    top: 10px;
  }

  .visual-phone-front {
    left: 112px;
    top: 0;
  }

  .orb-a,
  .orb-b {
    display: none;
  }

  .login-panel {
    width: 100%;
    border-radius: 20px;
    padding: 22px 18px 18px;
  }
}

/* Service Dashboard Tabs + Application Stage Bars */
.top-tabs {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.tab-btn {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #32445f;
  font: 700 0.92rem/1.2 var(--font-accent);
  padding: 11px 10px;
  cursor: pointer;
}

.tab-btn.is-active {
  background: #ffffff;
  color: #17418a;
  box-shadow: 0 10px 18px rgba(16, 38, 73, 0.08);
}

.tab-panel {
  margin-top: 12px;
}

.application-bars {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.app-bar-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.app-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.app-bar-head h3 {
  margin: 0;
  color: #162f56;
  font: 700 1rem/1.2 var(--font-display);
}

.app-bar-head p {
  margin: 4px 0 0;
  color: #5c6d86;
  font-size: 0.88rem;
}

.stage-bar {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.stage-bar li {
  position: relative;
}

.stage-bar li span {
  min-height: 54px;
  border-radius: 12px;
  border: 1px solid #d6deec;
  background: #f7f9fc;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 8px 6px;
  color: #5b6b83;
  font-size: 0.74rem;
  font-weight: 700;
}

.stage-bar li.done span {
  border-color: rgba(9, 163, 132, 0.32);
  background: rgba(9, 163, 132, 0.13);
  color: #0e6f5d;
}

.stage-bar li.current span {
  border-color: rgba(31, 90, 246, 0.5);
  background: rgba(31, 90, 246, 0.12);
  color: #18429f;
  box-shadow: inset 0 0 0 1px rgba(31, 90, 246, 0.3);
}

.app-bar-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.app-bar-controls label {
  display: grid;
  gap: 6px;
}

.app-bar-controls label > span {
  font-size: 0.79rem;
  color: #5d6d87;
  font-weight: 700;
}

.app-bar-controls .memo-field {
  grid-column: 1 / -1;
}

.app-bar-controls textarea {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  resize: vertical;
  background: #fff;
}

.gmail-insight-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.gmail-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.gmail-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.gmail-card-head h3 {
  margin: 0;
  color: #15345c;
  font: 700 0.98rem/1.2 var(--font-display);
}

.gmail-card-head p {
  margin: 4px 0 0;
  color: #5f6d84;
  font-size: 0.82rem;
}

.gmail-subject {
  margin: 0;
  color: #1f2f4e;
  font-weight: 700;
  font-size: 0.9rem;
}

.gmail-from,
.gmail-snippet {
  margin: 0;
  color: #4b5c75;
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .top-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .top-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab-btn {
    font-size: 0.84rem;
    padding: 10px 8px;
  }

  .app-bar-controls {
    grid-template-columns: 1fr;
  }

  .stage-bar {
    gap: 5px;
  }

  .stage-bar li span {
    min-height: 48px;
    font-size: 0.71rem;
  }
}
