﻿:root {
  --bg: #07070a;
  --surface: #111119;
  --surface-2: #181824;
  --surface-3: #20132d;
  --line: #28283a;
  --text: #f6f3ff;
  --muted: #a6a0b8;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --green: #22c55e;
  --warning: #f59e0b;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 0%, rgba(139, 92, 246, 0.22), transparent 34%),
    radial-gradient(circle at 20% 18%, rgba(236, 72, 153, 0.13), transparent 28%),
    linear-gradient(180deg, #09090d, var(--bg));
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

button, input { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px 1fr;
  transition: grid-template-columns 0.24s ease;
}
.app-shell.dashboard-collapsed {
  grid-template-columns: 88px 1fr;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: rgba(10, 10, 15, 0.95);
  color: #fff;
  backdrop-filter: blur(18px);
  transition: padding 0.24s ease, gap 0.24s ease;
}
.sidebar-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 8px;
  color: #ecfdf5;
  background: rgba(34, 197, 94, 0.1);
  font-size: 12px;
  font-weight: 900;
}
.toggle-icon {
  position: relative;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  inset: 2px 4px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.toggle-icon::after {
  inset: 2px 1px;
  opacity: 0.55;
}
.sidebar.is-collapsed {
  gap: 14px;
  padding: 18px 10px;
}

.brand {
  position: relative;
  min-height: 112px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(236, 72, 153, 0.34);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(139, 92, 246, 0.12)), #050507;
  box-shadow: inset 0 0 24px rgba(139, 92, 246, 0.16), 0 14px 34px rgba(0, 0, 0, 0.26);
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.2) 46%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-130%);
}

.brand:hover::after {
  animation: logoSparkle 0.82s ease forwards;
}

.brand-logo {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "phone love" ". korean";
  align-items: end;
  column-gap: 7px;
  line-height: 1;
}

.neon-logo { filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.4)); }
.brand-phone { grid-area: phone; color: #fff; font-size: 23px; font-weight: 900; text-shadow: 0 0 18px rgba(139, 92, 246, 0.78); }
.brand-love { grid-area: love; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 5px; border-radius: 7px; color: #fff; background: linear-gradient(135deg, #4c1d95 8%, #8b5cf6 48%, #ec4899); font-size: 21px; font-weight: 900; animation: logoHeartbeat 2.3s ease-in-out infinite; }
.brand-korean { grid-area: korean; margin-top: 5px; color: #fff; font-size: 10px; font-weight: 800; justify-self: end; opacity: 0.9; }
.logo-heart { position: relative; width: 12px; height: 12px; display: inline-block; background: #fff; transform: rotate(45deg); border-radius: 3px 3px 2px 2px; box-shadow: 0 0 17px rgba(236, 72, 153, 0.86); animation: heartBeat 1.65s ease-in-out infinite; }
.logo-heart::before, .logo-heart::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 999px; background: inherit; }
.logo-heart::before { left: -6px; top: 0; }
.logo-heart::after { left: 0; top: -6px; }

.brand strong { position: relative; z-index: 1; font-size: 15px; }
.brand small { position: relative; z-index: 1; color: rgba(255,255,255,0.62); font-size: 11px; }

.side-nav { display: grid; gap: 8px; }
.nav-guide-group {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(132, 204, 22, 0.12), transparent 34%),
    rgba(34, 197, 94, 0.06);
  box-shadow: inset 0 0 18px rgba(34, 197, 94, 0.05);
}
.nav-guide-group.active {
  border-color: rgba(132, 204, 22, 0.42);
  box-shadow:
    inset 0 0 20px rgba(34, 197, 94, 0.07),
    0 0 18px rgba(34, 197, 94, 0.08);
}
.nav-link {
  min-height: 58px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  border: 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 900;
  text-align: left;
  background: transparent;
  appearance: none;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-link-parent {
  grid-template-columns: 48px 1fr 20px;
  min-height: 70px;
  padding: 12px;
  width: 100%;
}
.nav-label {
  min-width: 0;
}
.nav-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.nav-copy strong {
  color: inherit;
  font-size: 15px;
  line-height: 1.15;
}
.nav-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
.nav-link-parent.active .nav-copy small,
.nav-link-parent:hover .nav-copy small {
  color: #bbf7d0;
}
.nav-sub-links {
  display: grid;
  gap: 6px;
  max-height: 140px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.24s ease, opacity 0.2s ease;
}
.nav-guide-group.is-collapsed {
  gap: 0;
}
.nav-guide-group.is-collapsed .nav-sub-links {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.nav-guide-group.is-collapsed .nav-chevron {
  transform: rotate(-45deg);
}
.nav-sub-link {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.14);
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.nav-chevron {
  width: 10px;
  height: 10px;
  justify-self: end;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-sub-link:hover,
.nav-sub-link.active {
  color: #ecfdf5;
  border-color: rgba(132, 204, 22, 0.34);
  background: rgba(34, 197, 94, 0.11);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.08);
}
.nav-sub-link:hover {
  transform: translateX(3px);
}
.nav-love-icon {
  position: relative;
  width: 44px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.92), rgba(139, 92, 246, 0.86), rgba(236, 72, 153, 0.8));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 0 16px rgba(139, 92, 246, 0.3);
}
.nav-love-icon b {
  position: absolute;
  left: 7px;
  top: 12px;
  width: 9px;
  height: 9px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 3px 3px 2px 2px;
  box-shadow: 0 0 12px rgba(255,255,255,0.78), 0 0 18px rgba(236, 72, 153, 0.72);
  animation: miniHeartBeat 1.65s ease-in-out infinite;
}
.nav-love-icon b::before,
.nav-love-icon b::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: inherit;
}
.nav-love-icon b::before { left: -5px; top: 0; }
.nav-love-icon b::after { left: 0; top: -5px; }
.nav-love-icon em {
  position: relative;
  z-index: 1;
  margin-left: 11px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255,255,255,0.42);
}
.nav-link:hover .nav-love-icon,
.nav-link.active .nav-love-icon {
  animation: navGlow 1.8s ease-in-out infinite;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(236, 72, 153, 0.16));
}
.nav-link-parent,
.nav-link-parent.active,
.nav-link-parent:hover {
  color: #ecfdf5;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(132, 204, 22, 0.08));
}
.nav-link:hover { transform: translateX(4px); box-shadow: 0 12px 26px rgba(139, 92, 246, 0.12); }

.sidebar-note {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.1);
}
.sidebar-note span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.sidebar-note strong { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; }
.contact-channels { display: grid; gap: 8px; margin: 10px 0 0; }
.contact-channels div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.contact-channels dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.contact-channels dd { margin: 0; color: #fff; font-size: 12px; font-weight: 900; text-align: right; }

.main { min-width: 0; padding: 28px 28px 48px; }
.eyebrow { margin: 0 0 10px; color: #c4b5fd; font-size: 12px; font-weight: 900; text-transform: uppercase; }

.login-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 76px);
}
.login-panel h1 { max-width: 760px; margin-top: 8px; font-size: 38px; line-height: 1.15; }
.login-panel p { margin-top: 12px; color: var(--muted); line-height: 1.6; }

.login-card, .panel, .notice-card, .resource-card, .account-card, .metric-grid article, .ai-resource-card {
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: 8px;
  background: rgba(17, 17, 25, 0.86);
  box-shadow: var(--shadow);
}

.login-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(17, 17, 25, 0.94), rgba(32, 19, 45, 0.82));
}

label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 800; }
input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
  outline: none;
}
input:focus { border-color: rgba(236, 72, 153, 0.72); box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12); }

.login-card button, .settlement-form button, .resource-card button, .text-button, .topbar-actions button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.18);
}
.login-card p { margin: 0; font-size: 12px; }

.workspace.is-locked { display: none; }
.workspace { display: grid; gap: 22px; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 72, 153, 0.12)), #101018;
  box-shadow: var(--shadow);
}
.topbar h1 { max-width: 760px; margin-top: 6px; font-size: 28px; line-height: 1.25; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.status-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; border-radius: 8px; color: #bbf7d0; background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.38); font-size: 12px; font-weight: 900; white-space: nowrap; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric-grid article { padding: 18px; background: rgba(17, 17, 25, 0.78); }
.metric-grid span, .metric-grid small { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.metric-grid strong { display: block; margin: 7px 0; color: #fff; font-size: 26px; line-height: 1.15; }

.view { display: none; }
.view.active { display: grid; gap: 18px; }
.section-title { display: grid; gap: 7px; }
.panel h2, .section-title h2 { font-size: 24px; }
.panel p, .notice-card p, .resource-card p, .account-card p { color: var(--muted); line-height: 1.6; }

.notice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.notice-card { padding: 18px; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.notice-card:hover { border-color: rgba(236, 72, 153, 0.56); transform: translateY(-2px); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(236, 72, 153, 0.14); }
.notice-card span { display: inline-flex; min-height: 28px; align-items: center; padding: 0 9px; border-radius: 8px; color: #f5e8ff; background: rgba(139, 92, 246, 0.22); font-size: 12px; font-weight: 900; }
.notice-card.required span { color: #fff7ed; background: rgba(245, 158, 11, 0.18); border: 1px solid rgba(245, 158, 11, 0.34); }
.notice-card h3 { margin-top: 10px; }
.notice-card p { margin-top: 7px; }
.notice-card strong {
  color: #f7fee7;
  font-size: 1.06em;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(132, 204, 22, 0.38);
}
.notice-card mark {
  display: inline;
  border-radius: 6px;
  padding: 1px 5px;
  color: #07110c;
  background: linear-gradient(135deg, #f7fee7, #bef264);
  font-weight: 900;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 0 14px rgba(132, 204, 22, 0.2);
}
.notice-card time { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 800; }

.process-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 18px; border: 1px solid rgba(139, 92, 246, 0.24); border-radius: 8px; background: rgba(17, 17, 25, 0.86); }
.process-list strong { color: #fff; }
.process-list span { color: var(--muted); }

.settlement-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.panel { padding: 20px; }
.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.account-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}
.account-head h3 {
  margin: 4px 0 0;
  color: #f8fff4;
}
.mypage-sections {
  display: grid;
  gap: 16px;
}
.mypage-section {
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(132, 204, 22, 0.12), transparent 30%),
    rgba(9, 14, 13, 0.76);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(34, 197, 94, 0.06),
    0 0 22px rgba(34, 197, 94, 0.08);
  overflow: hidden;
}
.mypage-section > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}
.mypage-section > summary::-webkit-details-marker {
  display: none;
}
.mypage-section > summary span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(190, 242, 100, 0.42);
  border-radius: 8px;
  color: #052e16;
  background: linear-gradient(135deg, #d9f99d, #22c55e);
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.22);
}
.mypage-section > summary strong {
  color: #fff;
  font-size: 21px;
  line-height: 1.3;
}
.mypage-section > summary em {
  color: #d9f99d;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.profile-request-section[open] {
  border-color: rgba(190, 242, 100, 0.62);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(190, 242, 100, 0.14),
    0 0 30px rgba(132, 204, 22, 0.16);
}
.profile-request-section > summary {
  animation: profileHeroGlow 2.4s ease-in-out infinite;
}
.mypage-section > .profile-request-message,
.mypage-section > .account-info-grid,
.mypage-section > .profile-request-form,
.mypage-section > .account-notice {
  margin-left: 18px;
  margin-right: 18px;
}
.mypage-section > .profile-request-form,
.mypage-section > .account-info-grid {
  margin-bottom: 18px;
}
.mypage-section > .account-notice {
  margin-bottom: 18px;
}
.profile-request-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(132, 204, 22, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 20%, rgba(132, 204, 22, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(20, 83, 45, 0.48), rgba(8, 14, 13, 0.86));
  box-shadow:
    0 0 0 1px rgba(132, 204, 22, 0.12),
    0 0 30px rgba(34, 197, 94, 0.14);
  animation: profileHeroGlow 2.4s ease-in-out infinite;
}
.profile-request-hero span,
.profile-form-guide span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(190, 242, 100, 0.42);
  border-radius: 8px;
  color: #ecfdf5;
  background: rgba(34, 197, 94, 0.22);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(132, 204, 22, 0.16);
}
.profile-request-hero strong,
.profile-form-guide strong {
  display: block;
  margin-top: 9px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
  text-shadow: 0 0 18px rgba(132, 204, 22, 0.22);
}
.profile-request-hero p {
  margin-top: 6px;
  color: #d9f99d;
  font-weight: 800;
}
.profile-request-cta,
.profile-request-hero-button,
.profile-form-actions button[type="submit"] {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  color: #06110a;
  background: linear-gradient(135deg, #d9f99d, #86efac 48%, #22c55e);
  font-weight: 1000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(132, 204, 22, 0.3),
    0 12px 28px rgba(34, 197, 94, 0.2);
  animation: profileButtonPulse 1.8s ease-in-out infinite;
}
.profile-request-cta:hover,
.profile-request-hero-button:hover,
.profile-form-actions button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 26px rgba(190, 242, 100, 0.46),
    0 16px 34px rgba(34, 197, 94, 0.28);
}
.account-info-grid,
.profile-request-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.account-info-grid div,
.profile-request-form label {
  min-width: 0;
  border: 1px solid rgba(132, 204, 22, 0.24);
  border-radius: 8px;
  background: rgba(9, 14, 13, 0.74);
  padding: 12px;
}
.account-info-grid dt,
.profile-request-form span {
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 900;
}
.account-info-grid dd {
  margin: 6px 0 0;
  color: #ffffff;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.profile-request-form {
  margin-top: 14px;
}
.profile-form-guide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(190, 242, 100, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.42), rgba(8, 14, 13, 0.92));
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.12);
}
.profile-request-form input,
.profile-request-form select {
  width: 100%;
  min-height: 40px;
  margin-top: 7px;
  border: 1px solid rgba(132, 204, 22, 0.28);
  border-radius: 8px;
  background: rgba(3, 8, 9, 0.8);
  color: #f7fee7;
  padding: 0 10px;
  outline: 0;
}
.profile-request-form input:focus,
.profile-request-form select:focus {
  border-color: rgba(190, 242, 100, 0.72);
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.14), 0 0 24px rgba(132, 204, 22, 0.14);
}
.profile-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.profile-form-actions button:first-child {
  min-height: 42px;
  border: 1px solid rgba(190, 242, 100, 0.54);
  border-radius: 8px;
  background: linear-gradient(135deg, #22c55e, #bef264);
  color: #07110c;
  padding: 0 16px;
  font-weight: 900;
}
.profile-request-message {
  margin: 0 0 14px;
  color: #d9f99d;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(132, 204, 22, 0.18);
}
.settlement-form { display: grid; grid-template-columns: 1fr 120px 1fr auto; gap: 12px; align-items: end; }
.important-work-link {
  border: 1px solid rgba(132, 204, 22, 0.38);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(132, 204, 22, 0.08));
}
.important-work-link:not(:hover):not(.active) {
  color: var(--muted);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.important-work-link:hover,
.important-work-link.active {
  color: #ecfdf5;
  border-color: rgba(132, 204, 22, 0.58);
  background:
    radial-gradient(circle at 92% 12%, rgba(132, 204, 22, 0.17), transparent 34%),
    linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(132, 204, 22, 0.1));
  box-shadow:
    inset 0 0 16px rgba(34, 197, 94, 0.07),
    0 0 20px rgba(34, 197, 94, 0.12);
}
.important-icon {
  animation: importantIconPulse 1.45s ease-in-out infinite;
}
.important-icon::after {
  content: "!";
  position: absolute;
  right: 5px;
  top: 4px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #07110c;
  background: #bef264;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(132, 204, 22, 0.72);
}
.work-check-layout {
  display: grid;
  gap: 16px;
}
.work-check-metrics {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(360px, 1.45fr);
  gap: 12px;
}
.work-check-metrics article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 8px;
  background: rgba(17, 17, 25, 0.86);
  box-shadow: var(--shadow);
}
.work-check-metrics .goal-metric-card {
  min-height: 160px;
  border-color: rgba(59, 130, 246, 0.32);
  background:
    radial-gradient(circle at 95% 0%, rgba(37, 99, 235, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(10, 17, 32, 0.94), rgba(18, 15, 28, 0.9));
}
.work-check-metrics span,
.work-check-metrics small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.work-check-metrics strong {
  display: block;
  margin: 8px 0;
  color: #f7fee7;
  font-size: 30px;
  text-shadow: 0 0 18px rgba(132, 204, 22, 0.35);
}
.goal-progress {
  height: 10px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.28);
}
.goal-progress i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #60a5fa, #a78bfa);
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.52);
  transition: width 0.35s ease;
}
.goal-tier-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.goal-tier-list b {
  min-height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}
.goal-tier-list b.current {
  color: #bfdbfe;
  border-color: rgba(59, 130, 246, 0.48);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.16);
}
.goal-tier-list b.achieved {
  color: #07110c;
  border-color: rgba(132, 204, 22, 0.5);
  background: linear-gradient(135deg, #dcfce7, #bef264);
}
.bonus-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.bonus-preview em {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.08);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}
.bonus-preview strong {
  margin: 0;
  color: #fff;
  font-size: 16px;
  text-shadow: 0 0 14px rgba(96, 165, 250, 0.42);
}
.work-check-form {
  display: grid;
  grid-template-columns: 1fr 210px 180px 1.2fr auto;
  gap: 12px;
  align-items: end;
}
.manual-picker-field {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.manual-picker-field input {
  min-width: 0;
}
.picker-trigger {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: #07110c;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(135deg, #f0fdf4, #bef264);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 14px rgba(132, 204, 22, 0.2);
}
.native-picker {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.work-file-field input {
  padding-top: 10px;
}
.work-check-form button:disabled {
  cursor: default;
  opacity: 0.76;
  transform: none;
}
.work-check-message {
  margin-top: 12px;
  color: #bbf7d0;
  font-size: 13px;
  font-weight: 800;
}
.work-check-list {
  display: grid;
  gap: 10px;
}
.work-check-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}
.work-check-item.pending {
  border-color: rgba(248, 113, 113, 0.58);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.1), 0 0 28px rgba(239, 68, 68, 0.08);
}
.work-check-item.approved {
  border-color: rgba(96, 165, 250, 0.66);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.16), 0 0 34px rgba(37, 99, 235, 0.12);
}
.work-check-item.rejected {
  border-color: rgba(248, 113, 113, 0.48);
}
.work-history-status-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 144px;
  padding: 16px;
  border: 1px solid rgba(248, 113, 113, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(248, 113, 113, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(8, 15, 11, 0.94), rgba(18, 15, 28, 0.92));
  box-shadow: inset 0 0 18px rgba(248, 113, 113, 0.07), 0 0 24px rgba(239, 68, 68, 0.08);
}
.work-history-status-card span {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(248, 113, 113, 0.6);
  border-radius: 8px;
  color: #fff1f2;
  background: linear-gradient(135deg, #dc2626, #fb7185);
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.42);
}
.work-check-item.approved .work-history-status-card {
  border-color: rgba(96, 165, 250, 0.46);
  background:
    radial-gradient(circle at 20% 0%, rgba(96, 165, 250, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(8, 15, 26, 0.96), rgba(15, 23, 42, 0.92));
  box-shadow: inset 0 0 20px rgba(37, 99, 235, 0.1), 0 0 30px rgba(59, 130, 246, 0.14);
}
.work-check-item.approved .work-history-status-card span {
  color: #eff6ff;
  border-color: rgba(96, 165, 250, 0.68);
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.48);
}
.work-check-item.rejected .work-history-status-card span {
  color: #fff1f2;
  border-color: rgba(248, 113, 113, 0.58);
  background: linear-gradient(135deg, #7f1d1d, #ef4444);
}
.work-history-status-card strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
}
.work-history-status-card small {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 800;
}
.work-history-content {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.work-history-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.work-history-meta article,
.work-history-file {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(132, 204, 22, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.work-history-meta span,
.work-history-file span {
  display: block;
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 1000;
}
.work-history-meta strong,
.work-history-file strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.work-history-file img {
  width: min(220px, 100%);
  max-height: 140px;
  margin-top: 10px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(132, 204, 22, 0.24);
}
.progress { height: 14px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.08); }
.progress span { display: block; width: 60%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--pink)); transition: width 0.2s ease; }

.table-wrap { overflow-x: auto; border: 1px solid rgba(139, 92, 246, 0.22); border-radius: 8px; background: rgba(9, 9, 14, 0.86); box-shadow: var(--shadow); }
table { width: 100%; min-width: 680px; border-collapse: collapse; color: #eef1f7; font-size: 14px; }
th, td { padding: 13px 14px; border-bottom: 1px solid rgba(168, 85, 247, 0.16); text-align: left; }
th { color: #d8d2e7; background: #191425; font-size: 13px; font-weight: 800; }

.resource-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.resource-tabs button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  color: #d6d1e5;
  background: #181822;
  font-weight: 900;
  white-space: nowrap;
}
.resource-tabs button.selected { color: #111; background: #fff; }
.ai-resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ai-resource-card {
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ai-resource-card:hover {
  border-color: rgba(236, 72, 153, 0.64);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(236, 72, 153, 0.14);
  transform: translateY(-2px);
}
.ai-resource-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  background: #0b0b11;
}
.ai-resource-card div { padding: 14px; }
.ai-resource-card span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  color: #f5e8ff;
  background: rgba(139, 92, 246, 0.22);
  font-size: 11px;
  font-weight: 900;
}
.ai-resource-card h3 { margin-top: 10px; font-size: 15px; line-height: 1.35; }
.ai-resource-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 0 13px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.resource-card { overflow: hidden; }
.resource-art { min-height: 118px; display: grid; place-items: center; border-radius: 8px 8px 0 0; color: #fff; font-weight: 900; }
.pink { background: linear-gradient(135deg, #ec4899, #7c3aed); }
.violet { background: linear-gradient(135deg, #6366f1, #4c1d95); }
.mint { background: linear-gradient(135deg, #14b8a6, #166534); }
.resource-card h3, .resource-card p, .resource-card button { margin-left: 16px; margin-right: 16px; }
.resource-card h3 { margin-top: 16px; }
.resource-card p { margin-top: 7px; }
.resource-card button { margin-top: 14px; margin-bottom: 16px; }

.account-card { padding: 20px; }
.account-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.account-card div { padding: 14px; border: 1px solid rgba(139, 92, 246, 0.18); border-radius: 8px; background: rgba(0, 0, 0, 0.18); }
.account-card dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.account-card dd { margin: 6px 0 0; color: #fff; font-size: 18px; font-weight: 900; }
.account-notice {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(236, 72, 153, 0.26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.08));
}
.account-notice strong {
  display: block;
  color: #fff;
  font-size: 15px;
}
.account-notice p {
  margin-top: 8px;
}


.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.workflow-card,
.process-note,
.settlement-type-card,
.settlement-bonus-panel,
.settlement-info-list article {
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: 8px;
  background: rgba(17, 17, 25, 0.86);
  box-shadow: var(--shadow);
}
.workflow-card {
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.workflow-card:hover,
.settlement-type-card:hover,
.settlement-info-list article:hover {
  border-color: rgba(236, 72, 153, 0.58);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.26), 0 0 0 1px rgba(236,72,153,0.14);
}
.workflow-head span,
.settlement-type-card span,
.panel-heading span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 8px;
  color: #f5e8ff;
  background: rgba(139, 92, 246, 0.22);
  font-size: 11px;
  font-weight: 900;
}
.workflow-head h3,
.settlement-type-card h3,
.panel-heading h3 {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.3;
}
.flow-steps {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
  counter-reset: flow;
}
.flow-steps li {
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px 9px 42px;
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 8px;
  color: #efeaff;
  background: rgba(0, 0, 0, 0.2);
  font-weight: 800;
}
.flow-steps li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: 10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}
.flow-steps small {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #fbcfe8;
  background: rgba(236, 72, 153, 0.14);
  font-size: 11px;
  font-weight: 900;
}
.process-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}
.process-note strong {
  min-width: max-content;
  color: #fff;
  font-size: 18px;
}
.process-note span {
  color: var(--muted);
  line-height: 1.55;
}
.settlement-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.settlement-type-card {
  padding: 20px;
  background: linear-gradient(145deg, rgba(17, 17, 25, 0.92), rgba(38, 20, 55, 0.7));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.settlement-type-card.featured,
.settlement-type-card.premium {
  border-color: rgba(139, 92, 246, 0.24);
}
.settlement-type-card strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
}
.settlement-type-card p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}
.settlement-bonus-panel {
  padding: 20px;
}
.panel-heading {
  margin-bottom: 14px;
}
.bonus-table-wrap {
  overflow-x: auto;
}
.bonus-table {
  min-width: 620px;
}
.settlement-info-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.settlement-info-list article {
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.settlement-info-list strong {
  color: #fff;
  font-size: 15px;
}
.settlement-info-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
@keyframes miniHeartBeat {
  0%, 70%, 100% { transform: rotate(45deg) scale(1); }
  80% { transform: rotate(45deg) scale(1.22); }
  90% { transform: rotate(45deg) scale(0.96); }
}
@keyframes navGlow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 0 12px rgba(139,92,246,0.24); }
  50% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 0 22px rgba(236,72,153,0.52); }
}
@keyframes logoHeartbeat { 0%, 74%, 100% { transform: scale(1); } 82% { transform: scale(1.045); } 90% { transform: scale(0.985); } }
@keyframes heartBeat { 0%, 70%, 100% { transform: rotate(45deg) scale(1); } 80% { transform: rotate(45deg) scale(1.26); } 90% { transform: rotate(45deg) scale(0.96); } }
@keyframes logoSparkle { 0% { opacity: 0; transform: translateX(-130%); } 32% { opacity: 1; } 100% { opacity: 0; transform: translateX(130%); } }

@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .side-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-guide-group { grid-column: 1 / -1; }
  .login-panel, .settlement-layout, .work-check-form { grid-template-columns: 1fr; }
  .workflow-grid, .settlement-type-grid, .work-check-metrics { grid-template-columns: 1fr; }
  .settlement-info-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-grid, .notice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settlement-form { grid-template-columns: 1fr 1fr; }
  .work-check-item, .work-history-meta { grid-template-columns: 1fr; }
  .profile-request-hero,
  .profile-form-guide {
    grid-template-columns: 1fr;
  }
  .profile-form-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .main { padding: 16px; }
  .login-panel h1, .topbar h1 { font-size: 25px; }
  .topbar, .topbar-actions { align-items: flex-start; flex-direction: column; }
  .side-nav, .metric-grid, .notice-list, .resource-grid, .ai-resource-grid, .account-card dl, .settlement-form, .settlement-info-list, .work-check-metrics, .work-check-form { grid-template-columns: 1fr; }
  .work-check-item, .work-history-meta { grid-template-columns: 1fr; }
  .account-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-request-hero,
  .profile-form-guide {
    grid-template-columns: 1fr;
  }
  .profile-request-cta,
  .profile-request-hero-button,
  .profile-form-actions button {
    width: 100%;
  }
  .mypage-section > summary {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .mypage-section > summary em {
    grid-column: 2;
  }
  .process-note { align-items: flex-start; flex-direction: column; }
  .process-list li { grid-template-columns: 1fr; }
}


.workflow-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.arrow-flow {
  gap: 18px;
}
.arrow-flow li {
  min-height: 76px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 13px 12px 13px 46px;
  border-color: rgba(139, 92, 246, 0.24);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.13), rgba(236, 72, 153, 0.07)),
    rgba(0, 0, 0, 0.22);
}
.arrow-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(236, 72, 153, 0.86);
  border-bottom: 2px solid rgba(236, 72, 153, 0.86);
  transform: translateX(-50%) rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.74));
  animation: arrowPulse 1.35s ease-in-out infinite;
}
.arrow-flow li strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}
.arrow-flow li em {
  color: #d8b4fe;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}
.arrow-flow li:first-child,
.arrow-flow li:last-child {
  border-color: rgba(236, 72, 153, 0.48);
  box-shadow: inset 0 0 18px rgba(236, 72, 153, 0.08), 0 0 18px rgba(139, 92, 246, 0.1);
}
.arrow-flow li:first-child::before,
.arrow-flow li:last-child::before {
  background: linear-gradient(135deg, #fff, #f0abfc);
  animation: stepNumberGlow 1.8s ease-in-out infinite;
}
.bonus-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.bonus-heading h3 {
  margin-top: 0;
  flex: 1 1 360px;
}
.bonus-heading strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(236, 72, 153, 0.46);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.16));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.18);
  animation: highlightPulse 2s ease-in-out infinite;
}
.settlement-type-card span,
.workflow-head span,
.panel-heading span {
  animation: chipGlow 2.2s ease-in-out infinite;
}
.settlement-type-card strong,
.bonus-table td:nth-child(2),
.bonus-table td:nth-child(3) {
  color: #fff;
  text-shadow: 0 0 14px rgba(236, 72, 153, 0.42);
}
@keyframes arrowPulse {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) translateY(-1px) rotate(45deg); }
  50% { opacity: 1; transform: translateX(-50%) translateY(3px) rotate(45deg); }
}
@keyframes stepNumberGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(236, 72, 153, 0.3); }
  50% { box-shadow: 0 0 18px rgba(236, 72, 153, 0.72); }
}
@keyframes highlightPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 12px rgba(236, 72, 153, 0.16); }
  50% { transform: translateY(-1px); box-shadow: 0 0 22px rgba(236, 72, 153, 0.42); }
}
@keyframes chipGlow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 0 0 rgba(139, 92, 246, 0); }
  50% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 14px rgba(139, 92, 246, 0.28); }
}
@keyframes importantIconPulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.32));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(132, 204, 22, 0.72));
    transform: scale(1.06);
  }
}
@media (max-width: 720px) {
  .bonus-heading { align-items: flex-start; flex-direction: column; }
  .bonus-heading h3 { flex-basis: auto; }
}

#process .workflow-head span {
  color: #ecfdf5;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(132, 204, 22, 0.2));
  border: 1px solid rgba(132, 204, 22, 0.52);
  text-shadow: 0 0 10px rgba(187, 247, 208, 0.45);
  animation: greenChipGlow 2s ease-in-out infinite;
}
#process .workflow-card:hover {
  border-color: rgba(132, 204, 22, 0.62);
  box-shadow: 0 18px 42px rgba(0,0,0,0.26), 0 0 0 1px rgba(132,204,22,0.16), 0 0 24px rgba(34,197,94,0.12);
}
#process .arrow-flow li:first-child,
#process .arrow-flow li:last-child {
  border-color: rgba(132, 204, 22, 0.58);
  box-shadow: inset 0 0 18px rgba(34, 197, 94, 0.1), 0 0 18px rgba(132, 204, 22, 0.12);
}
#process .arrow-flow li:first-child::before,
#process .arrow-flow li:last-child::before {
  background: linear-gradient(135deg, #ecfdf5, #bef264);
  animation: greenStepGlow 1.8s ease-in-out infinite;
}
#process .arrow-flow li:not(:last-child)::after {
  border-right-color: rgba(132, 204, 22, 0.92);
  border-bottom-color: rgba(132, 204, 22, 0.92);
  filter: drop-shadow(0 0 8px rgba(132, 204, 22, 0.78));
}
#process .arrow-flow li em {
  color: #bbf7d0;
}
#process .flow-steps small {
  color: #d9f99d;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(132, 204, 22, 0.24);
}

#process .workflow-card {
  display: grid;
  grid-template-rows: 148px 1fr;
  align-content: start;
}

#process .workflow-head {
  min-height: 148px;
}

#process .flow-steps {
  margin-top: 0;
  align-self: start;
}

#process .arrow-flow li {
  min-height: 75px;
}

@media (max-width: 1080px) {
  #process .workflow-card {
    grid-template-rows: auto 1fr;
  }

  #process .workflow-head {
    min-height: 0;
  }

  #process .flow-steps {
    margin-top: 16px;
  }
}
@keyframes greenChipGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(132, 204, 22, 0); }
  50% { box-shadow: 0 0 18px rgba(132, 204, 22, 0.38); }
}
@keyframes greenStepGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 20px rgba(132, 204, 22, 0.78); }
}
@keyframes profileHeroGlow {
  0%, 100% {
    border-color: rgba(132, 204, 22, 0.34);
    box-shadow:
      0 0 0 1px rgba(132, 204, 22, 0.1),
      0 0 22px rgba(34, 197, 94, 0.12);
  }
  50% {
    border-color: rgba(190, 242, 100, 0.68);
    box-shadow:
      0 0 0 1px rgba(190, 242, 100, 0.18),
      0 0 34px rgba(132, 204, 22, 0.22);
  }
}
@keyframes profileButtonPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

@media (min-width: 721px) {
  #process .workflow-grid {
    align-items: stretch;
  }

  #process .workflow-card {
    grid-template-rows: 166px 1fr !important;
  }

  #process .workflow-head {
    height: 166px !important;
    min-height: 166px !important;
    overflow: hidden;
  }

  #process .flow-steps {
    margin-top: 0 !important;
  }
}

.settlement-type-card,
.settlement-type-card.featured,
.settlement-type-card.premium {
  border-color: rgba(139, 92, 246, 0.24);
}

.settlement-type-card:hover,
.settlement-type-card.featured:hover,
.settlement-type-card.premium:hover {
  border-color: rgba(132, 204, 22, 0.62);
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(132, 204, 22, 0.16),
    0 0 24px rgba(34, 197, 94, 0.12);
}

/* Green neon theme for the counselor workspace. */
:root {
  --neon-green: #22c55e;
  --neon-lime: #a3e635;
  --neon-mint: #34d399;
}

body {
  background:
    radial-gradient(circle at 82% 0%, rgba(34, 197, 94, 0.16), transparent 34%),
    radial-gradient(circle at 20% 18%, rgba(132, 204, 22, 0.1), transparent 28%),
    linear-gradient(180deg, #070b09, #07070a);
}

.sidebar {
  border-right-color: rgba(34, 197, 94, 0.26);
  box-shadow: 12px 0 34px rgba(34, 197, 94, 0.06);
}

.brand,
.topbar,
.login-card,
.panel,
.notice-card,
.resource-card,
.account-card,
.metric-grid article,
.ai-resource-card,
.workflow-card,
.process-note,
.settlement-type-card,
.settlement-bonus-panel,
.settlement-info-list article,
.table-wrap,
.board-table-wrap {
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(34, 197, 94, 0.06),
    0 0 24px rgba(34, 197, 94, 0.06);
}

.brand,
.topbar {
  background:
    radial-gradient(circle at 90% 12%, rgba(132, 204, 22, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(139, 92, 246, 0.09)),
    #08100d;
}

.nav-love-icon,
.brand-love,
.login-card button,
.settlement-form button,
.resource-card button,
.text-button,
.topbar-actions button,
.ai-resource-card a {
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.95), rgba(34, 197, 94, 0.88), rgba(132, 204, 22, 0.78));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 18px rgba(34, 197, 94, 0.22);
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(132, 204, 22, 0.09));
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.1);
}

.nav-link:hover .nav-love-icon,
.nav-link.active .nav-love-icon,
.brand-love {
  filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.36));
}

.eyebrow,
.board-heading span,
.board-list span {
  color: #bbf7d0;
}

input:focus {
  border-color: rgba(34, 197, 94, 0.72);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.notice-card:hover,
.ai-resource-card:hover,
.workflow-card:hover,
.settlement-type-card:hover,
.settlement-type-card.featured:hover,
.settlement-type-card.premium:hover,
.settlement-info-list article:hover {
  border-color: rgba(132, 204, 22, 0.66);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(132, 204, 22, 0.16),
    0 0 26px rgba(34, 197, 94, 0.13);
}

.workflow-head span,
.settlement-type-card span,
.panel-heading span,
.notice-card span,
.ai-resource-card span {
  color: #ecfdf5;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.26), rgba(132, 204, 22, 0.16));
  border: 1px solid rgba(132, 204, 22, 0.34);
}

.notice-card.required span {
  color: #f7fee7;
  background: rgba(132, 204, 22, 0.16);
  border-color: rgba(132, 204, 22, 0.42);
}

.account-card div,
.account-notice,
.flow-steps li,
.process-list li,
.settlement-type-card.featured,
.settlement-type-card.premium,
.settlement-type-card {
  border-color: rgba(34, 197, 94, 0.22);
}

.account-notice {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(132, 204, 22, 0.06));
}

.bonus-heading strong {
  border-color: rgba(132, 204, 22, 0.52);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(132, 204, 22, 0.12));
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.16);
}

.bonus-table th,
th {
  background: rgba(17, 36, 25, 0.92);
}

.bonus-table td:nth-child(2),
.bonus-table td:nth-child(3),
.settlement-type-card strong {
  text-shadow: 0 0 14px rgba(34, 197, 94, 0.34);
}

/* Polished button motion */
button,
.nav-link,
.nav-sub-link,
.ai-resource-card a,
.resource-card button,
.text-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    filter 0.18s ease;
}

button::after,
.nav-link::after,
.nav-sub-link::after,
.ai-resource-card a::after,
.resource-card button::after,
.text-button::after {
  content: "";
  position: absolute;
  inset: -120% -45%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.24) 47%, transparent 64%);
  opacity: 0;
  transform: translateX(-72%) rotate(8deg);
  pointer-events: none;
}

button:hover,
.ai-resource-card a:hover,
.resource-card button:hover,
.text-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(132, 204, 22, 0.2),
    0 0 22px rgba(34, 197, 94, 0.18);
}

button:hover::after,
.nav-link:hover::after,
.nav-sub-link:hover::after,
.ai-resource-card a:hover::after,
.resource-card button:hover::after,
.text-button:hover::after {
  animation: buttonShine 0.72s ease forwards;
}

button:active,
.nav-link:active,
.nav-sub-link:active,
.ai-resource-card a:active,
.resource-card button:active,
.text-button:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(132, 204, 22, 0.18);
}

button:focus-visible,
.nav-link:focus-visible,
.nav-sub-link:focus-visible,
.ai-resource-card a:focus-visible,
.resource-card button:focus-visible,
.text-button:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(7, 11, 9, 0.9),
    0 0 0 5px rgba(132, 204, 22, 0.72),
    0 0 22px rgba(34, 197, 94, 0.24);
}

.resource-tabs button {
  border: 1px solid rgba(34, 197, 94, 0.16);
}

.resource-tabs button:hover {
  color: #fff;
  border-color: rgba(132, 204, 22, 0.34);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(132, 204, 22, 0.08));
}

.resource-tabs button.selected {
  color: #07110c;
  background: linear-gradient(135deg, #f0fdf4, #bef264);
  box-shadow:
    0 10px 22px rgba(34, 197, 94, 0.15),
    0 0 0 1px rgba(132, 204, 22, 0.34);
}

.login-card button,
.topbar-actions button,
.ai-resource-card a {
  animation: buttonBreath 3.2s ease-in-out infinite;
}

.nav-link:hover {
  transform: translateX(4px) translateY(-1px);
}

.sidebar.is-collapsed .brand {
  min-height: 58px;
  padding: 8px;
}

.sidebar.is-collapsed .brand-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: none;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.36));
}

.sidebar.is-collapsed .brand-logo::before {
  content: "P";
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ecfdf5;
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.92), rgba(34, 197, 94, 0.84));
  font-size: 20px;
  font-weight: 900;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 18px rgba(34, 197, 94, 0.24);
}

.sidebar.is-collapsed .brand-phone,
.sidebar.is-collapsed .brand-love,
.sidebar.is-collapsed .brand strong,
.sidebar.is-collapsed .brand small,
.sidebar.is-collapsed .brand-korean,
.sidebar.is-collapsed .toggle-text,
.sidebar.is-collapsed .nav-copy,
.sidebar.is-collapsed .nav-label,
.sidebar.is-collapsed .nav-chevron,
.sidebar.is-collapsed .nav-sub-links,
.sidebar.is-collapsed .sidebar-note {
  display: none;
}

.sidebar.is-collapsed .sidebar-toggle,
.sidebar.is-collapsed .nav-link,
.sidebar.is-collapsed .nav-link-parent {
  width: 100%;
  min-height: 54px;
  grid-template-columns: 1fr;
  justify-items: center;
  justify-content: center;
  padding: 9px;
}

.sidebar.is-collapsed .nav-link,
.sidebar.is-collapsed .nav-link-parent {
  overflow: hidden;
}

.sidebar.is-collapsed .nav-guide-group {
  padding: 6px;
}

.sidebar.is-collapsed .nav-love-icon {
  width: 44px;
}

.sidebar.is-collapsed .nav-love-icon em {
  display: none;
}

.sidebar.is-collapsed .nav-love-icon b {
  left: 18px;
  top: 14px;
}

.sidebar.is-collapsed .toggle-icon::before,
.sidebar.is-collapsed .toggle-icon::after {
  transform: rotate(-135deg);
}

@media (max-width: 1080px) {
  .app-shell.dashboard-collapsed {
    grid-template-columns: 1fr;
  }

  .sidebar.is-collapsed {
    height: auto;
  }
}

@keyframes buttonShine {
  0% {
    opacity: 0;
    transform: translateX(-72%) rotate(8deg);
  }
  36% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(72%) rotate(8deg);
  }
}

@keyframes buttonBreath {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.14),
      0 0 16px rgba(34, 197, 94, 0.18);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.18),
      0 0 24px rgba(34, 197, 94, 0.34);
  }
}

/* 2026-06-15 mobile-first override: keep the counselor desk usable on Galaxy/iPhone widths. */
@media (max-width: 1080px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell,
  .app-shell.dashboard-collapsed {
    display: block;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .sidebar,
  .sidebar.is-collapsed {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.18);
  }

  .sidebar.is-collapsed .brand {
    min-height: 84px;
    padding: 16px;
  }

  .sidebar.is-collapsed .brand-logo {
    width: auto;
    height: auto;
    display: inline-grid;
    transform: none;
  }

  .sidebar.is-collapsed .brand-logo::before {
    content: none;
  }

  .sidebar.is-collapsed .brand-phone,
  .sidebar.is-collapsed .brand-love,
  .sidebar.is-collapsed .brand strong,
  .sidebar.is-collapsed .brand small,
  .sidebar.is-collapsed .brand-korean,
  .sidebar.is-collapsed .toggle-text,
  .sidebar.is-collapsed .nav-copy,
  .sidebar.is-collapsed .nav-label,
  .sidebar.is-collapsed .nav-chevron,
  .sidebar.is-collapsed .nav-sub-links,
  .sidebar.is-collapsed .sidebar-note {
    display: revert;
  }

  .sidebar.is-collapsed .sidebar-toggle,
  .sidebar.is-collapsed .nav-link,
  .sidebar.is-collapsed .nav-link-parent {
    width: 100%;
    min-height: 56px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    justify-items: stretch;
    justify-content: stretch;
    padding: 10px 12px;
  }

  .sidebar.is-collapsed .nav-guide-group {
    padding: 0;
  }

  .sidebar.is-collapsed .nav-love-icon {
    width: 48px;
  }

  .sidebar.is-collapsed .nav-love-icon em {
    display: block;
  }

  .sidebar.is-collapsed .nav-love-icon b {
    left: 7px;
    top: 8px;
  }

  .sidebar.is-collapsed .brand-phone,
  .sidebar.is-collapsed .brand-love,
  .sidebar.is-collapsed .brand strong,
  .sidebar.is-collapsed .brand small,
  .sidebar.is-collapsed .brand-korean,
  .sidebar.is-collapsed .toggle-text,
  .sidebar.is-collapsed .nav-copy,
  .sidebar.is-collapsed .nav-label,
  .sidebar.is-collapsed .nav-chevron,
  .sidebar.is-collapsed .sidebar-note {
    display: block;
  }

  .sidebar.is-collapsed .nav-sub-links {
    display: grid;
  }

  .main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 18px;
    overflow-x: hidden;
  }

  .topbar,
  .login-panel,
  .settlement-layout,
  .work-check-form,
  .work-check-item,
  .work-history-meta,
  .profile-request-hero,
  .profile-form-guide {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .settlement-type-grid,
  .settlement-info-list,
  .work-check-metrics,
  .metric-grid,
  .notice-list,
  .resource-grid,
  .ai-resource-grid,
  .account-info-grid,
  .account-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bonus-table-wrap,
  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 760px) {
  .sidebar,
  .sidebar.is-collapsed {
    padding: 10px;
    gap: 12px;
  }

  .sidebar-toggle {
    min-height: 44px;
  }

  .brand,
  .sidebar.is-collapsed .brand {
    min-height: 74px;
    padding: 12px;
  }

  .side-nav,
  .nav-sub-links,
  .metric-grid,
  .notice-list,
  .resource-grid,
  .ai-resource-grid,
  .account-card dl,
  .account-info-grid,
  .settlement-type-grid,
  .settlement-info-list,
  .settlement-form,
  .work-check-metrics,
  .work-check-form,
  .workflow-grid,
  .profile-form-grid {
    grid-template-columns: 1fr !important;
  }

  .main {
    padding: 12px;
  }

  .topbar {
    padding: 16px;
    align-items: flex-start;
  }

  .topbar,
  .topbar-actions,
  .account-head,
  .process-note,
  .profile-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar h1,
  .section-title h2 {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.25;
    word-break: keep-all;
  }

  .section-title {
    margin-bottom: 14px;
  }

  .panel,
  .notice-card,
  .metric-grid article,
  .resource-card,
  .ai-resource-card,
  .account-card,
  .settlement-type-card,
  .settlement-bonus-panel,
  .settlement-info-list article,
  .process-note,
  .workflow-card,
  .mypage-section {
    padding: 16px;
  }

  .settlement-type-card strong {
    font-size: 22px;
  }

  .settlement-info-list article p,
  .settlement-type-card p,
  .process-note p,
  .notice-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  .bonus-table {
    min-width: 520px;
  }

  .bonus-table th,
  .bonus-table td {
    white-space: normal;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .work-check-form label,
  .work-check-form button,
  .profile-request-cta,
  .profile-request-hero-button,
  .profile-form-actions button {
    width: 100%;
  }

  .work-history-content,
  .work-history-file,
  .work-history-meta,
  .work-check-item {
    min-width: 0;
  }

  .work-history-file img,
  .resource-card img,
  .ai-resource-card img {
    max-width: 100%;
  }

  .resource-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .resource-tabs button {
    flex: 0 0 auto;
  }
}

@media (max-width: 430px) {
  .main {
    padding: 10px;
  }

  .topbar h1,
  .section-title h2 {
    font-size: 20px;
  }

  .brand-logo {
    transform: scale(0.92);
    transform-origin: left center;
  }

  .nav-link,
  .nav-link-parent,
  .sidebar.is-collapsed .nav-link,
  .sidebar.is-collapsed .nav-link-parent {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .nav-love-icon {
    width: 44px;
  }

  .metric-grid strong {
    font-size: 24px;
  }

  .bonus-table {
    min-width: 480px;
    font-size: 12px;
  }

  .panel,
  .notice-card,
  .metric-grid article,
  .settlement-type-card,
  .settlement-bonus-panel,
  .settlement-info-list article,
  .workflow-card,
  .mypage-section {
    padding: 14px;
  }
}
