:root {
  --ink: #080808;
  --muted: #656565;
  --line: #ddddda;
  --panel: #ffffff;
  --soft: #f7f7f5;
  --cream: #efede6;
  --green: #111111;
  --green-dark: #000000;
  --blue: #2b313a;
  --red: #9f3d35;
  --yellow: #a9863b;
  --silver: #d8d8d4;
  --platinum: #f5f5f2;
  --charcoal: #101010;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.14);
  --shadow-soft: 0 14px 44px rgba(0, 0, 0, 0.08);
  --star: polygon(50% 0%, 61% 36%, 98% 35%, 68% 57%, 80% 93%, 50% 71%, 20% 93%, 32% 57%, 2% 35%, 39% 36%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 255, 255, 0.9), transparent 27%),
    radial-gradient(circle at 52% 0%, rgba(0, 0, 0, 0.045), transparent 21%),
    linear-gradient(135deg, #fbfbf9 0%, #eeeeea 44%, #f8f8f5 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 88%, transparent);
}

button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: #111111;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 8px;
  color: #3d4946;
  font-size: 13px;
  font-weight: 800;
}

.consent-line {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  line-height: 1.7;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--ink);
}

.app-shell {
  display: grid;
  grid-template-columns: 292px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 32px 96px, rgba(255, 255, 255, 0.18), transparent 20px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.96) 64%, #000000),
    url("./assets/dproduction-silhouette.png") center top / cover;
  color: #f5fbf8;
  isolation: isolate;
}

.sidebar::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 28%, rgba(255, 255, 255, 0.035)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 22%, rgba(255, 255, 255, 0.04));
}

.sidebar::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 120px;
  right: 20px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  clip-path: var(--star);
  opacity: 0.78;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.52));
}

.sidebar > * {
  position: relative;
  z-index: 1;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #efefec);
  color: var(--green-dark);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.brand-mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.brand-kicker,
.page-label,
.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-block h1 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
}

.sidebar .brand-kicker {
  color: #9db4ad;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 14px 0 16px;
  background: transparent;
  color: #d8d8d5;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.nav-item:hover,
.nav-item.active {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  color: #ffffff;
  transform: translateX(2px);
}

.nav-item.is-hidden {
  display: none;
}

.is-hidden {
  display: none !important;
}

.agent-note {
  margin-top: auto;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.56);
  color: #e2e2df;
  font-size: 13px;
  line-height: 1.7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.agent-note p {
  margin: 8px 0 0;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.main-content {
  min-width: 0;
  padding: 28px 32px 38px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.topbar h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.profile-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.profile-pill img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-pill strong,
.profile-pill span {
  display: block;
}

.profile-pill span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-top: 6px;
  border-radius: 99px;
  padding: 0 8px;
  background: var(--soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

.hero-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 220px;
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.44)),
    url("./assets/dproduction-silhouette.png") center 38% / cover;
  color: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-band::after,
.registration-hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  width: 92px;
  height: 92px;
  right: 28px;
  top: 24px;
  background: rgba(255, 255, 255, 0.12);
  clip-path: var(--star);
  filter: blur(0.1px);
}

.hero-band .eyebrow {
  color: #bfe6d8;
}

.hero-theme-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  line-height: 1.4;
}

.hero-band h3 {
  max-width: 720px;
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
}

.hero-band p:not(.eyebrow) {
  max-width: 620px;
  margin: 12px 0 0;
  color: #e8f2ef;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}

.registration-hero {
  position: relative;
  min-height: 190px;
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(25, 25, 24, 0.54)),
    url("./assets/dproduction-silhouette.png") center 42% / cover;
  color: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.registration-hero .eyebrow {
  color: #d4f3e7;
}

.registration-hero h3 {
  max-width: 760px;
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
}

.registration-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 12px 0 0;
  color: #effaf6;
  line-height: 1.8;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.login-hero-card {
  display: grid;
  align-content: end;
  min-height: 540px;
  border-radius: 8px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.94)),
    url("./assets/dproduction-silhouette.png") center / cover;
  color: #ffffff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.login-hero-card > * {
  position: relative;
  z-index: 1;
}

.login-hero-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.11), transparent 28%),
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.14), transparent 22%);
}

.login-hero-card::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 22px;
  height: 22px;
  background: #ffffff;
  clip-path: polygon(50% 0%, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  opacity: 0.82;
}

.hero-logo {
  position: absolute;
  right: 22px;
  top: auto;
  bottom: 22px;
  width: min(118px, 22%);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.login-hero-card .eyebrow {
  color: #bfe6d8;
}

.login-hero-card h3 {
  max-width: 760px;
  margin: 0;
  font-size: 42px;
  line-height: 1.25;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.login-hero-card p:not(.eyebrow) {
  max-width: min(390px, calc(100% - 160px));
  margin: 14px 0 0;
  color: #edf7f1;
  line-height: 1.85;
}

.login-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 247, 0.92));
}

.login-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.login-form {
  display: none;
  gap: 16px;
}

.login-form.active {
  display: grid;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
}

.primary-action,
.chip {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.primary-action {
  flex: 0 0 auto;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.primary-action:hover {
  background: #2a2a28;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.primary-action:disabled,
.approve-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.hero-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card,
.panel,
.case-card,
.table-wrap,
.road-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(14px);
}

.metric-card {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.metric-card::before,
.panel::before,
.case-card::before,
.staff-talent-card::before,
.agent-talent-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #000000, #bfc0ba, transparent);
  opacity: 0.78;
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin: 9px 0 6px;
  font-size: 30px;
  color: #000000;
}

.metric-card small {
  font-size: 12px;
}

.two-column,
.admin-grid,
.visual-grid,
.calendar-layout,
.composite-layout,
.course-layout,
.registration-layout,
.agent-workspace-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.agent-wide-panel {
  grid-column: 1 / -1;
}

.admin-entry-panel {
  order: -1;
}

.admin-approval-panel {
  order: 2;
}

.admin-assignment-panel {
  order: 3;
}

.admin-talent-panel {
  order: 4;
}

.admin-board-panel {
  order: 5;
}

.admin-progress-panel {
  order: 6;
}

.admin-intake-panel {
  order: 7;
}

.admin-revenue-panel {
  order: 8;
}

.admin-agent-registration-panel {
  order: 9;
}

.admin-partner-registration-panel {
  order: 10;
}

.admin-slack-panel {
  order: 11;
}

.admin-security-panel {
  order: 12;
}

.admin-entry-panel {
  border-color: rgba(17, 17, 17, 0.24);
  background: rgba(255, 255, 255, 0.98);
}

.panel {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.panel h3,
.section-header h3 {
  margin: 0;
  font-size: 22px;
}

.panel-heading,
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.task-list,
.admin-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.task-list li,
.admin-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.65;
}

.case-notification-panel {
  margin-bottom: 18px;
}

.notification-unread {
  background: rgba(31, 111, 88, 0.06);
  border-radius: 8px;
  padding: 12px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.case-draft-form label,
.case-draft-preview label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--muted);
}

.case-draft-form textarea,
.case-draft-preview textarea,
.case-draft-preview input,
.case-draft-preview select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.case-draft-preview {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

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

.case-evidence-box {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.case-evidence-box ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.case-evidence-box li {
  line-height: 1.6;
}

.case-evidence-box span {
  font-weight: 800;
  color: var(--ink);
}

.case-evidence-box small {
  color: var(--muted);
}

.official-line-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-decoration: none;
}

.task-list li span {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 5px solid #dcebe4;
  border-radius: 50%;
  background: var(--green);
}

.agent-copy {
  margin: 0 0 18px;
  color: #3d4946;
  line-height: 1.85;
}

.registration-form {
  display: grid;
  gap: 18px;
}

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

.form-section {
  display: grid;
  gap: 10px;
}

.form-label {
  margin: 0;
  color: #3d4946;
  font-size: 13px;
  font-weight: 800;
}

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

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

.plan-choice {
  position: relative;
  display: block;
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.plan-choice:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.plan-choice input {
  position: absolute;
  top: 14px;
  right: 14px;
  width: auto;
}

.plan-choice span,
.plan-choice strong,
.plan-choice small {
  display: block;
}

.plan-choice strong {
  padding-right: 26px;
  color: var(--ink);
  font-size: 15px;
}

.plan-choice small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.plan-choice:has(input:checked) {
  border-color: #000000;
  background: #f1f1ee;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  font-weight: 700;
}

.checkbox-grid input {
  width: auto;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.registration-preview {
  align-self: start;
}

.new-talent-card {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.new-talent-card strong,
.new-talent-card p {
  margin: 0;
}

.new-talent-card p {
  color: var(--muted);
  line-height: 1.65;
}

.credential-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.credential-box div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.credential-box span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.credential-box code {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.issued-password-panel {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 242, 0.92)),
    var(--panel);
  box-shadow: var(--shadow-soft);
}

.issued-password-panel strong,
.issued-password-panel p {
  margin: 0;
}

.issued-password-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

.issued-password-panel p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.issued-password-box {
  margin-top: 0;
}

.issued-password-box code {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.approval-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.entry-status-note {
  border-left: 4px solid #111111;
  background: rgba(17, 17, 17, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
}

.approve-button,
.hold-button,
.tiny-select,
.tiny-input {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.approve-button {
  border-color: rgba(0, 0, 0, 0.24);
  color: #000000;
}

.hold-button {
  border-color: rgba(179, 74, 63, 0.28);
  color: var(--red);
}

.tiny-select {
  width: auto;
  color: var(--ink);
}

.tiny-input {
  width: min(180px, 100%);
  color: var(--ink);
}

.talent-db-list li {
  display: block;
}

.staff-talent-board,
.agent-talent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.staff-talent-card,
.agent-talent-card {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 244, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.staff-talent-card[data-talent-detail],
.agent-talent-card[data-talent-detail] {
  cursor: pointer;
}

.staff-talent-card[data-talent-detail]:focus-visible,
.agent-talent-card[data-talent-detail]:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.28);
  outline-offset: 3px;
}

.empty-state {
  display: flex;
  grid-column: 1 / -1;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px dashed rgba(24, 32, 31, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 22px;
}

.empty-state strong {
  font-size: 15px;
  font-weight: 800;
}

.empty-state span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.staff-card-head,
.agent-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.staff-card-head h4,
.agent-card-head h4 {
  margin: 0;
  font-size: 17px;
}

.talent-meta-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.sns-button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sns-button-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.sns-button-row a:hover {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

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

.reward-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #f6f6f3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.reward-line span,
.reward-line small {
  display: block;
}

.reward-line small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.reward-line strong {
  font-size: 18px;
}

.db-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.db-row-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.score-row {
  display: grid;
  grid-template-columns: 120px 1fr 42px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
}

.progress {
  overflow: hidden;
  height: 9px;
  border-radius: 99px;
  background: #e8eee9;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--green);
}

.dashboard-visuals {
  margin-top: 20px;
}

.chart-panel canvas {
  width: 100%;
  max-width: 100%;
  height: 260px;
  border: 1px solid rgba(24, 32, 31, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfcfb, #f2f6f4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.chart-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.small-action {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.chip:hover {
  border-color: #000000;
}

.chip.active {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.recommendation-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 16px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  line-height: 1.6;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 16px;
  padding: 13px 15px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  background: #f3f3ef;
  color: #343434;
  line-height: 1.6;
}

.security-note strong {
  flex: 0 0 auto;
  color: #000000;
}

.recommendation-note strong {
  flex: 0 0 auto;
  color: #000000;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  padding: 18px;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.1);
}

.case-card.locked {
  overflow: hidden;
  border-color: rgba(37, 92, 153, 0.28);
}

.case-card.locked .locked-content {
  filter: blur(4px);
  opacity: 0.72;
  user-select: none;
}

.locked-overlay {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.locked-overlay strong,
.locked-overlay span {
  display: block;
}

.locked-overlay span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.case-card h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.case-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  color: #485552;
  font-size: 13px;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 99px;
  padding: 0 9px;
  background: #f0f0ed;
  color: #000000;
  font-size: 12px;
  font-weight: 800;
}

.badge.red {
  background: #f1dedb;
  color: var(--red);
}

.badge.blue {
  background: #111111;
  color: #ffffff;
}

.case-card button.secondary-action,
.secondary-action {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.case-card button.secondary-action:hover,
.secondary-action:hover {
  border-color: #000000;
  color: #000000;
  transform: translateY(-1px);
}

.table-wrap {
  overflow: auto;
}

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

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.status {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  border-radius: 99px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.status.pass {
  background: #111111;
  color: #ffffff;
}

.status.wait {
  background: #eee9dc;
  color: #6a541e;
}

.status.fail {
  background: #f1dedb;
  color: var(--red);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.road-step {
  padding: 18px;
}

.road-step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-weight: 800;
}

.road-step h4 {
  margin: 14px 0 8px;
}

.road-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.road-step.active,
.road-step.current {
  border-color: rgba(0, 0, 0, 0.24);
}

.road-step.current {
  background: var(--cream);
}

.evaluation-grid,
.insight-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.evaluation-grid span,
.insight-tags span {
  min-height: 34px;
  border-radius: 99px;
  padding: 8px 12px;
  background: #f0f0ed;
  color: #111111;
  font-size: 13px;
  font-weight: 800;
}

.calendar-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

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

.calendar-head h3 {
  margin: 0;
}

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

.calendar-day,
.calendar-week {
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 9px;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.calendar-week {
  display: grid;
  min-height: 34px;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}

.calendar-day.empty {
  background: transparent;
  border-color: transparent;
}

.calendar-date {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-weight: 800;
}

.calendar-event {
  display: block;
  margin-top: 5px;
  border-left: 3px solid #111111;
  padding-left: 6px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.calendar-event.audition {
  border-color: var(--blue);
}

.calendar-event.shoot {
  border-color: var(--red);
}

.calendar-event.meeting {
  border-color: var(--yellow);
}

.schedule-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.schedule-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  line-height: 1.55;
}

.schedule-list strong,
.schedule-list span {
  display: block;
}

.schedule-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.comp-card,
.agent-profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.comp-cover {
  aspect-ratio: 16 / 10;
  background: var(--soft);
}

.comp-cover img,
.agent-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comp-profile {
  padding: 22px;
}

.comp-profile h3 {
  margin: 0 0 14px;
  font-size: 25px;
}

.composite-action {
  width: 100%;
  margin-top: 18px;
}

.access-policy {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}

.access-policy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
}

.check-list,
.lesson-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.check-list li,
.lesson-list li {
  position: relative;
  padding: 12px 12px 12px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.check-list li::before,
.lesson-list li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--line);
  border-radius: 50%;
}

.check-list li.done::before,
.lesson-list li.done::before {
  border-color: #111111;
  background: #111111;
}

.course-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
}

.curriculum-grid,
.progress-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.curriculum-grid div,
.progress-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
}

.curriculum-grid strong,
.progress-card strong {
  font-size: 15px;
  font-weight: 800;
}

.curriculum-grid span,
.progress-card span,
.progress-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.compact-form {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.compact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.compact-form input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.lesson-focus {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--cream);
}

.lesson-focus strong {
  font-size: 18px;
}

.lesson-focus span {
  color: var(--muted);
}

.agent-profile-card {
  display: grid;
  grid-template-rows: 220px 1fr;
}

.agent-profile-card > div {
  padding: 22px;
}

.agent-profile-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.agent-profile-card p {
  color: #43504d;
  line-height: 1.75;
}

.case-dialog {
  width: min(720px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.case-dialog::backdrop {
  background: rgba(10, 15, 14, 0.48);
}

.dialog-inner {
  padding: 28px;
}

.dialog-inner h3 {
  margin: 4px 0 10px;
  font-size: 26px;
}

.dialog-inner p {
  color: #43504d;
  line-height: 1.75;
}

.case-full-detail {
  white-space: pre-line;
}

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

.dialog-detail-grid div {
  padding: 13px;
  border-radius: 8px;
  background: var(--soft);
}

.dialog-detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.talent-detail-dialog {
  display: grid;
  gap: 18px;
}

.talent-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.talent-detail-head p {
  margin: 0;
}

.talent-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
}

.talent-detail-grid section,
.talent-detail-dialog section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.talent-detail-grid h4,
.talent-detail-dialog h4 {
  margin: 0 0 10px;
  font-size: 15px;
}

.talent-detail-grid dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.talent-detail-grid dl div {
  display: grid;
  gap: 2px;
}

.talent-detail-grid dt {
  color: var(--muted);
  font-size: 12px;
}

.talent-detail-grid dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.detail-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(24, 32, 31, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.detail-link-button:hover {
  transform: translateY(-1px);
}

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

.analysis-list li {
  display: grid;
  gap: 4px;
  border-left: 3px solid #111111;
  padding-left: 10px;
}

.analysis-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.compact-detail-list {
  margin: 0;
}

.entry-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.entry-apply-form label {
  align-content: start;
}

.entry-answer-detail {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.entry-answer-detail summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.entry-answer-detail dl {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

.entry-answer-detail dl div {
  display: grid;
  gap: 4px;
}

.entry-answer-detail dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.entry-answer-detail dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  transform: translateY(90px);
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Premium agency OS polish */
.hero-band,
.registration-hero,
.login-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  isolation: isolate;
}

.hero-band::before,
.registration-hero::before,
.login-hero-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 28%, rgba(255, 255, 255, 0.05) 72%, transparent);
  mix-blend-mode: screen;
}

.hero-band::after,
.registration-hero::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 28px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  clip-path: var(--star);
  opacity: 0.86;
  filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.5));
}

.login-hero-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.32) 38%, rgba(0, 0, 0, 0.96)),
    url("./assets/dproduction-silhouette.png") center / cover;
}

.hero-logo {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 238, 235, 0.94));
}

.login-panel,
.panel,
.metric-card,
.case-card,
.table-wrap,
.road-step,
.comp-card,
.agent-profile-card {
  border-color: rgba(0, 0, 0, 0.085);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 248, 0.9));
  box-shadow: var(--shadow-soft);
}

.panel,
.metric-card,
.case-card,
.road-step,
.staff-talent-card,
.agent-talent-card,
.new-talent-card,
.reward-line,
.schedule-list li,
.check-list li,
.lesson-list li {
  position: relative;
}

.panel::before,
.metric-card::before,
.case-card::before,
.staff-talent-card::before,
.agent-talent-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.metric-card {
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 14px;
  height: 14px;
  background: #111111;
  clip-path: var(--star);
  opacity: 0.12;
}

.metric-card strong {
  letter-spacing: 0;
}

.primary-action,
.chip,
.secondary-action,
.case-card button.secondary-action,
.approve-button,
.hold-button,
.tiny-select {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.primary-action {
  border-color: #000000;
  background: linear-gradient(180deg, #202020, #000000);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.primary-action:hover {
  background: linear-gradient(180deg, #343434, #090909);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.secondary-action,
.case-card button.secondary-action {
  padding-inline: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.secondary-action:hover,
.case-card button.secondary-action:hover,
.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.chip {
  background: rgba(255, 255, 255, 0.88);
}

.chip.active {
  background: linear-gradient(180deg, #1f1f1f, #000000);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.hero-secondary {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.login-tabs {
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.login-tabs .chip {
  flex: 1 1 120px;
}

.form-actions .primary-action,
.form-actions .secondary-action {
  min-width: 120px;
}

.plan-choice,
.checkbox-grid label {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.plan-choice:hover,
.checkbox-grid label:hover,
.staff-talent-card:hover,
.agent-talent-card:hover,
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.1);
}

.plan-choice:has(input:checked) {
  background:
    linear-gradient(180deg, #ffffff, #eeeeeb);
}

.recommendation-note,
.security-note,
.access-policy,
.lesson-focus {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.recommendation-note strong,
.security-note strong {
  min-height: 28px;
  border-radius: 99px;
  padding: 5px 10px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
}

.badge {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.badge.blue,
.status.pass {
  background: linear-gradient(180deg, #222222, #000000);
}

.table-wrap {
  background: rgba(255, 255, 255, 0.92);
}

th {
  background: #f4f4f1;
}

tbody tr:hover {
  background: rgba(0, 0, 0, 0.025);
}

.progress {
  background: #e6e6e2;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress i {
  background: linear-gradient(90deg, #000000, #4f4f4b);
}

.staff-talent-card,
.agent-talent-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 243, 0.95));
}

.staff-card-head,
.agent-card-head,
.db-row-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.reward-line,
.schedule-list li,
.new-talent-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 246, 243, 0.95));
}

.comp-card {
  background: #ffffff;
}

.comp-cover {
  position: relative;
}

.comp-cover::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.18));
}

.comp-profile dl div,
.agent-profile-card dl div {
  border-color: rgba(0, 0, 0, 0.08);
}

.calendar-day {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.calendar-day:not(.empty):hover {
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.case-dialog {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.96);
}

.case-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, #202020, #050505);
}

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

  .sidebar {
    position: static;
    height: auto;
    background-position: center 20%;
  }

  .nav-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-grid,
  .case-grid,
  .roadmap,
  .visual-grid,
  .calendar-layout,
  .course-layout,
  .curriculum-grid,
  .progress-board,
  .composite-layout,
  .registration-layout,
  .login-layout,
  .agent-workspace-grid,
  .plan-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-talent-board,
  .agent-talent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    background: linear-gradient(180deg, #fbfbf9 0%, #f0f0ec 100%);
    font-size: 14px;
  }

  .main-content,
  .sidebar {
    padding: 14px;
  }

  .topbar {
    gap: 10px;
    align-items: start;
  }

  .topbar h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .brand-block {
    align-items: center;
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-block h1 {
    font-size: 17px;
  }

  .brand-kicker,
  .page-label,
  .eyebrow {
    font-size: 10px;
    line-height: 1.3;
  }

  .sidebar {
    gap: 14px;
    background-position: center 18%;
  }

  .agent-note {
    display: none;
  }

  .sidebar::before {
    top: 28px;
    right: 22px;
  }

  .nav-item {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
    text-align: center;
  }

  .topbar,
  .hero-band,
  .section-header,
  .panel-heading,
  .two-column,
  .admin-grid,
  .visual-grid,
  .calendar-layout,
  .course-layout,
  .curriculum-grid,
  .progress-board,
  .composite-layout,
  .registration-layout,
  .login-layout,
  .agent-workspace-grid,
  .form-grid,
  .checkbox-grid,
  .plan-choice-grid,
  .credential-box {
    display: grid;
    grid-template-columns: 1fr;
  }

  .staff-talent-board,
  .agent-talent-grid {
    grid-template-columns: 1fr;
  }

  .profile-pill {
    width: 100%;
  }

  .nav-list,
  .metric-grid,
  .case-grid,
  .roadmap,
  .dialog-detail-grid,
  .talent-detail-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .talent-detail-head {
    flex-direction: column;
  }

  .recommendation-note,
  .security-note,
  .dialog-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-week {
    display: none;
  }

  .calendar-day {
    min-height: 74px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-band h3 {
    font-size: 22px;
    line-height: 1.35;
  }

  .registration-hero h3 {
    font-size: 22px;
    line-height: 1.35;
  }

  .login-hero-card {
    min-height: 270px;
    padding: 20px;
    background-position: center 18%;
  }

  .login-hero-card h3 {
    font-size: 23px;
    line-height: 1.35;
  }

  .login-hero-card p:not(.eyebrow),
  .hero-band p:not(.eyebrow),
  .registration-hero p:not(.eyebrow),
  .agent-copy,
  .form-hint {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.75;
  }

  .hero-logo {
    display: none;
  }

  .metric-card strong {
    font-size: 23px;
  }

  .panel,
  .metric-card,
  .case-card {
    padding: 15px;
  }

  .panel h3,
  .section-header h3 {
    font-size: 18px;
    line-height: 1.35;
  }

  .panel-heading,
  .section-header {
    align-items: start;
    gap: 10px;
    margin-bottom: 12px;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    padding: 11px 12px;
    font-size: 16px;
  }

  label {
    font-size: 12px;
    gap: 6px;
  }

  .chip,
  .primary-action,
  .secondary-action,
  .approve-button,
  .hold-button {
    width: 100%;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .login-tabs,
  .approval-actions,
  .dialog-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .plan-choice {
    min-height: auto;
    padding: 12px;
  }

  .plan-choice strong {
    font-size: 13px;
  }

  .plan-choice small {
    font-size: 12px;
    line-height: 1.6;
  }

  .credential-box {
    gap: 8px;
  }

  .credential-box code,
  .credential-box span {
    word-break: break-all;
  }

  .table-wrap,
  .case-dialog {
    overflow-x: auto;
  }

  canvas {
    max-width: 100%;
    height: auto;
  }

  .login-footer {
    display: grid;
  }

  .score-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .main-content,
  .sidebar {
    padding: 12px;
  }

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

  .metric-grid {
    gap: 10px;
  }

  .hero-band,
  .registration-hero,
  .login-hero-card {
    padding: 16px;
  }

  .login-hero-card {
    min-height: 240px;
  }

  .login-hero-card h3,
  .hero-band h3,
  .registration-hero h3 {
    font-size: 20px;
  }

  .panel,
  .metric-card,
  .case-card {
    padding: 14px;
  }

  .topbar h2 {
    font-size: 20px;
  }
}

@media (min-width: 1101px) {
  .main-content {
    padding: 30px clamp(28px, 3vw, 44px) 44px;
  }

  .admin-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    align-items: start;
  }

  .case-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .admin-entry-panel,
  .admin-progress-panel,
  .admin-revenue-panel {
    grid-column: 1 / -1;
  }

  .table-wrap {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  body::before {
    background-size: 42px 42px;
    opacity: 0.55;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    gap: 14px;
    height: auto;
    padding: 12px 14px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.96)),
      url("./assets/dproduction-silhouette.png") center 24% / cover;
  }

  .sidebar::before,
  .sidebar::after,
  .agent-note {
    display: none;
  }

  .brand-block {
    min-height: 42px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-block h1 {
    font-size: 16px;
  }

  .nav-list {
    display: flex;
    gap: 8px;
    margin: 0 -14px;
    padding: 0 14px 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    min-height: 40px;
    padding: 0 13px;
    text-align: center;
    scroll-snap-align: start;
  }

  .nav-item:hover,
  .nav-item.active {
    transform: none;
  }

  .main-content {
    padding: 16px 14px 28px;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 16px;
  }

  .profile-pill {
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }

  .login-layout,
  .registration-layout,
  .two-column,
  .admin-grid,
  .visual-grid,
  .calendar-layout,
  .composite-layout,
  .course-layout,
  .agent-workspace-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-band,
  .registration-hero,
  .login-hero-card {
    min-height: 0;
    padding: 20px;
    box-shadow: var(--shadow-soft);
  }

  .hero-band {
    align-items: start;
  }

  .hero-band::after,
  .registration-hero::after,
  .login-hero-card::after {
    display: none;
  }

  .hero-band h3,
  .registration-hero h3,
  .login-hero-card h3 {
    font-size: 24px;
  }

  .login-hero-card p:not(.eyebrow),
  .hero-band p:not(.eyebrow),
  .registration-hero p:not(.eyebrow) {
    max-width: 100%;
  }

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

  .metric-card {
    min-height: 112px;
  }

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

  .case-grid,
  .staff-talent-board,
  .agent-talent-grid,
  .curriculum-grid,
  .progress-board,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: 0;
  }

  .case-meta {
    margin-top: 0;
  }

  .form-grid,
  .case-draft-grid,
  .entry-field-grid,
  .dialog-detail-grid,
  .talent-detail-grid,
  .credential-box {
    grid-template-columns: 1fr;
  }

  .checkbox-grid,
  .plan-choice-grid {
    grid-template-columns: 1fr;
  }

  .plan-choice {
    min-height: 0;
  }

  .plan-choice span {
    padding-right: 34px;
  }

  .panel,
  .metric-card,
  .case-card,
  .road-step {
    padding: 16px;
  }

  .panel-heading,
  .section-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-list li,
  .task-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .approval-actions,
  .inline-actions,
  .dialog-actions,
  .form-actions,
  .login-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .primary-action,
  .secondary-action,
  .chip,
  .approve-button,
  .hold-button {
    width: 100%;
    min-height: 44px;
  }

  .table-wrap {
    margin-inline: -2px;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 680px;
  }

  th,
  td {
    padding: 12px;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .calendar-week,
  .calendar-day.empty {
    display: none;
  }

  .calendar-day {
    min-height: 76px;
  }

  .case-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    overflow: auto;
  }

  .dialog-inner {
    padding: 20px;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 14px;
  }

  .main-content {
    padding: 14px 10px 24px;
  }

  .sidebar {
    padding: 10px 10px 12px;
  }

  .nav-list {
    margin: 0 -10px;
    padding-inline: 10px;
  }

  .topbar h2 {
    font-size: 21px;
  }

  .profile-pill {
    padding: 9px 10px;
  }

  .profile-pill img {
    width: 38px;
    height: 38px;
  }

  .hero-band,
  .registration-hero,
  .login-hero-card,
  .panel,
  .metric-card,
  .case-card {
    padding: 14px;
  }

  .hero-band h3,
  .registration-hero h3,
  .login-hero-card h3 {
    font-size: 20px;
  }

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

  .metric-card {
    min-height: 98px;
  }

  .metric-card strong {
    font-size: 21px;
  }

  .panel h3,
  .section-header h3 {
    font-size: 18px;
  }

  input,
  select,
  textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .case-card h4 {
    font-size: 17px;
  }

  .case-card p,
  .case-meta,
  .admin-list li,
  .task-list li {
    font-size: 13px;
  }

  .locked-overlay {
    position: static;
    margin-top: 8px;
  }

  .case-card.locked .locked-content {
    filter: none;
    opacity: 0.38;
  }

  .case-dialog {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    border-radius: 0;
  }

  .dialog-inner {
    padding: 18px 14px;
  }
}

@media (max-width: 360px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .brand-block h1,
  .topbar h2,
  .hero-band h3,
  .registration-hero h3,
  .login-hero-card h3 {
    overflow-wrap: anywhere;
  }
}

/* ===== Inquiry chat widget (登録前相談) ===== */
.inquiry-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-size: 14px;
}

.inquiry-chat[hidden] {
  display: none !important;
}

.inquiry-chat__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.inquiry-chat__toggle.is-open {
  background: #fff;
  color: var(--ink);
}

.inquiry-chat__panel {
  width: min(360px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.inquiry-chat__header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 44px 12px 16px;
  background: var(--charcoal);
  color: #fff;
  position: relative;
}

.inquiry-chat__header small {
  color: rgba(255, 255, 255, 0.72);
}

.inquiry-chat__close {
  position: absolute;
  top: 6px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.inquiry-chat__close:hover,
.inquiry-chat__close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: 0;
}

.inquiry-chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--soft);
}

.inquiry-chat__msg {
  display: flex;
}

.inquiry-chat__msg--user {
  justify-content: flex-end;
}

.inquiry-chat__bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  background: #fff;
  border: 1px solid var(--line);
}

.inquiry-chat__msg--user .inquiry-chat__bubble {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

.inquiry-chat__bubble a {
  color: inherit;
  text-decoration: underline;
}

.inquiry-chat__form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 6px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.inquiry-chat__input {
  flex: 1;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
}

.inquiry-chat__send {
  align-self: flex-end;
  border: 0;
  border-radius: 10px;
  background: var(--charcoal);
  color: #fff;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.inquiry-chat__send:disabled {
  opacity: 0.5;
  cursor: default;
}

.inquiry-chat__note {
  margin: 0;
  padding: 0 12px 10px;
  color: var(--muted);
  font-size: 11px;
  background: var(--panel);
}

.inquiry-chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.inquiry-chat__chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  cursor: pointer;
}

.inquiry-chat__chip:hover {
  border-color: var(--charcoal);
}

.inquiry-chat__quick-label {
  width: 100%;
  font-size: 11px;
  color: var(--muted);
}

.inquiry-chat__chip--primary {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
  font-weight: 600;
}

@media (max-width: 720px) {
  .inquiry-chat {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    align-items: stretch;
    font-size: 14px;
  }

  .inquiry-chat__panel {
    width: 100%;
    height: min(520px, calc(100dvh - 104px));
    border-radius: 14px;
  }

  .inquiry-chat__toggle {
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    font-size: 15px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
    touch-action: manipulation;
  }

  .inquiry-chat__toggle-icon {
    font-size: 18px;
  }

  .inquiry-chat__header {
    min-height: 60px;
    padding: 12px 56px 12px 16px;
  }

  .inquiry-chat__close {
    top: 8px;
    right: 10px;
    width: 44px;
    height: 44px;
  }

  .inquiry-chat__log {
    padding: 12px;
  }

  .inquiry-chat__bubble {
    max-width: 92%;
  }

  .inquiry-chat__form {
    padding: 10px 10px 6px;
  }

  .inquiry-chat__input {
    min-height: 46px;
    font-size: 16px;
  }

  .inquiry-chat__send {
    min-width: 58px;
    min-height: 46px;
  }

  .inquiry-chat__chip {
    min-height: 38px;
    padding: 8px 12px;
  }
}

@media (max-width: 380px) {
  .inquiry-chat__panel {
    height: min(500px, calc(100dvh - 96px));
  }

  .inquiry-chat__toggle {
    min-height: 54px;
  }
}

/* ===== D-pro Agency 認定事務所ディレクトリ (2026-07-09) ===== */
.agency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.agency-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.agency-card h4 {
  margin: 0;
  font-size: 16px;
}

.agency-card-pending {
  background: var(--soft);
  color: var(--muted);
}

.agency-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.agency-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #ffffff;
}

.agency-badge-pending {
  background: var(--silver);
  color: var(--ink);
}

.agency-card .secondary-action {
  margin-top: auto;
}

.agency-panel-copy {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}

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

.agency-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agency-form-wide {
  grid-column: 1 / -1;
}

.agency-status-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--green-dark);
}

.agency-status-error {
  color: var(--red);
}

.agency-empty {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  grid-column: 1 / -1;
}

@media (max-width: 960px) {
  .agency-grid {
    grid-template-columns: 1fr;
  }
  .agency-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 管理者・エージェント画面の視認性改善 + 書類審査パネル (2026-07-13) ===== */
.admin-list li,
.task-list li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.admin-list li .status,
.task-list li .status {
  flex-shrink: 0;
}

.metric-card strong {
  font-size: 34px;
  letter-spacing: -0.01em;
}

.admin-entry-panel {
  border: 2px solid rgba(17, 17, 17, 0.4);
}

.admin-review-panel {
  order: -1;
  border: 2px solid rgba(17, 17, 17, 0.18);
}

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

.review-card {
  gap: 7px;
}

.review-card-done {
  opacity: 0.6;
}

.review-badge-client {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
}

.inline-actions .small-action {
  padding: 9px 16px;
}

@media (max-width: 960px) {
  .review-card-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== UX即修正パックD1+ (2026-07-20) ===== */
.mission-tagline {
  margin: 10px 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mission-lines {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.biz-entry-panel {
  grid-column: 1 / -1;
}

.guard-compare-box strong {
  font-size: 15px;
}

.guard-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.guard-compare h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.guard-compare div > p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.guard-compare > div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.guard-compare > div:last-child {
  border-color: rgba(17, 17, 17, 0.45);
}

.copy-mail-btn {
  padding: 3px 10px;
  font-size: 11px;
  margin-left: 6px;
}

@media (max-width: 960px) {
  .guard-compare {
    grid-template-columns: 1fr;
  }
}


.inquiry-chat__panel[hidden] {
  display: none !important;
}


/* ===== 行動喚起バー (2026-07-20) ===== */
.nudge-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 18px;
  background: #101010;
  border-radius: 12px;
  color: #ffffff;
}

.nudge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
  animation: nudgePulse 2.4s ease-in-out infinite;
}

@keyframes nudgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.nudge-text {
  margin: 0;
  flex: 1;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}

.nudge-bar .nudge-action {
  flex-shrink: 0;
  background: #ffffff;
  color: #101010;
  border-color: #ffffff;
  font-weight: 700;
}

@media (max-width: 720px) {
  .nudge-bar { flex-wrap: wrap; }
  .nudge-bar .nudge-action { width: 100%; }
}
