@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --ink: #101828;
  --muted: #475467;
  --line: #eaecf0;
  --paper: #ffffff;
  --soft: #f9fafb;
  --primary: #003366;
  --primary-light: #004080;
  --primary-dark: #00264d;
  --accent: #f04438; /* Red/Orange for alerts/CTAs */
  --success: #079455;
  --brand: #0056b3;
  --cta: #ff9900; /* Vibrant Orange for main buttons */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
}

html {
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  display: flex;
  flex-direction: column;
}

.site-nav {
  padding: 16px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: all 0.3s ease;
}

.site-nav.scrolled {
  padding: 12px clamp(16px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav .container-fluid {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-link {
  padding: 8px 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.site-nav .nav-link:hover {
  color: var(--primary);
  background: var(--soft);
}

.site-nav .adjuster-nav-button {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.site-nav .adjuster-nav-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.site-nav-toggle {
  display: none;
}

.mobile-nav-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 26, 34, 0.48);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-nav-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 248, 0.98));
  box-shadow: 0 24px 60px rgba(12, 33, 42, 0.22);
  transform: translateY(-14px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.mobile-nav-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mobile-nav-kicker {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
}

.mobile-nav-header strong {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 850;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #24313d;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(18, 28, 35, 0.08);
}

.mobile-nav-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid rgba(20, 108, 95, 0.12);
  border-radius: 16px;
  background: #fff;
  color: #17202a;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(20, 33, 42, 0.05);
}

.mobile-nav-links a::after {
  content: "›";
  color: var(--primary);
  font-size: 1.25rem;
}

.mobile-nav-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 32, 42, 0.08);
}

.mobile-nav-foot span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open .mobile-nav-layer {
  visibility: visible;
  pointer-events: auto;
}

body.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
}

body.mobile-nav-open .mobile-nav-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.page-shell {
  width: 100%;
  flex: 1 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 100px);
  background:
    linear-gradient(135deg, rgba(0, 51, 102, 0.96) 0%, rgba(0, 38, 77, 0.88) 100%),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-copy p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
}

.btn {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(255, 153, 0, 0.3);
}

.btn-primary:hover {
  background: #e68a00;
  border-color: #e68a00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(255, 153, 0, 0.4);
}

.btn-outline-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.request-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.panel-header span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.form-control, .form-select {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
  outline: none;
}

.trust-band {
  background: var(--soft);
  padding: 60px 0;
  display: flex;
  justify-content: center;
  gap: 80px;
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  text-align: center;
}

.trust-band strong {
  display: block;
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.trust-band span {
  color: var(--muted);
  font-weight: 600;
}

.content-section {
  padding: 100px clamp(20px, 6vw, 100px);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.flow-grid article {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.flow-grid article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.flow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 24px;
}

.flow-grid h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary);
}

.flow-grid p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  background: #eaf2f0;
}

.directory-hero {
  padding: clamp(44px, 7vw, 78px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(120deg, rgba(20, 108, 95, 0.93), rgba(23, 32, 42, 0.82)),
    url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.directory-hero div {
  max-width: 840px;
}

.directory-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

.directory-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.7;
}

.directory-section {
  padding: clamp(30px, 5vw, 58px) clamp(18px, 6vw, 88px) clamp(54px, 7vw, 86px);
}

.lookup-hero {
  padding: clamp(44px, 7vw, 78px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(120deg, rgba(20, 108, 95, 0.92), rgba(23, 32, 42, 0.84)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.lookup-hero div {
  max-width: 860px;
}

.lookup-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

.lookup-hero p {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lookup-section {
  padding: clamp(30px, 5vw, 58px) clamp(18px, 6vw, 88px) clamp(54px, 7vw, 86px);
}

.lookup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 36px rgba(18, 32, 42, 0.07);
}

.lookup-form .btn {
  min-width: 96px;
  min-height: 46px;
  font-weight: 800;
}

.lookup-message {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(20, 108, 95, 0.18);
  border-radius: 8px;
  background: rgba(20, 108, 95, 0.08);
  color: var(--primary-dark);
  font-weight: 800;
}

.lookup-link-form {
  margin: 0;
}

.directory-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 36px rgba(18, 32, 42, 0.07);
}

.directory-filter-actions {
  display: flex;
  gap: 8px;
}

.directory-filter-actions .btn {
  min-width: 86px;
  min-height: 46px;
  font-weight: 800;
}

.directory-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 16px;
}

.directory-summary strong {
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
}

.directory-summary span {
  color: var(--muted);
  font-weight: 800;
}

.adjuster-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.adjuster-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(18, 32, 42, 0.06);
}

.adjuster-card-photo {
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef4f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.6rem;
  font-weight: 850;
}

.adjuster-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adjuster-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.adjuster-card-title strong,
.adjuster-card-title span {
  display: block;
}

.adjuster-card-title strong {
  font-size: 1.2rem;
  font-weight: 850;
}

.adjuster-card-title span {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.adjuster-card-title em {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(20, 108, 95, 0.1);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.adjuster-card-meta {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.adjuster-card-meta div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
}

.adjuster-card-meta dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.adjuster-card-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.adjuster-card p {
  display: -webkit-box;
  margin: 14px 0 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.directory-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 18px 20px;
  font-weight: 800;
}

.thanks-section {
  min-height: 68vh;
  padding: clamp(56px, 9vw, 120px) clamp(18px, 6vw, 88px);
  background: var(--paper);
}

.thanks-section h1 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.thanks-section p {
  max-width: 720px;
  margin: 20px 0 28px;
}

.footer {
  flex-shrink: 0;
  padding: 20px 0;
  background: #fff;
}

.account-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 42px);
}

.narrow-account {
  max-width: 620px;
}

.account-heading {
  margin-bottom: 24px;
}

.account-heading h1,
.profile-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  letter-spacing: 0;
}

.account-heading p,
.profile-header p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--paper);
  box-shadow: 0 20px 44px rgba(18, 32, 42, 0.08);
}

.account-form label + label {
  /*margin-top: 14px;*/
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid > label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 0 !important;
}

.account-grid .wide-field,
.form-grid .wide-field {
  grid-column: 1 / -1;
}

.region-field,
.business-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}

.region-field legend,
.business-field legend {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.region-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
}

.region-options label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.region-options label:hover {
  border-color: var(--primary);
  background: var(--soft);
}

.region-options input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.profile-header {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

.profile-photo {
  width: 140px;
  height: 140px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
  font-weight: 850;
}

.profile-photo img,
.current-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.current-photo {
  display: block;
  max-width: 180px;
  height: 140px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.industry-list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(20, 108, 95, 0.1);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-grid article,
.profile-copy section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.profile-grid article {
  padding: 18px;
}

.profile-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
}

.profile-grid span {
  overflow-wrap: anywhere;
}

.profile-copy {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.profile-copy section {
  padding: 22px;
}

.profile-copy h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 850;
}

.profile-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}

.adjuster-dashboard-body {
  background: #eef2f6;
  color: #182230;
}

.adjuster-dashboard-body .footer,
.adjuster-dashboard-body .site-nav,
.adjuster-dashboard-body .mobile-nav-layer {
  display: none;
}

.adjuster-app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
}

.adjuster-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px 16px;
  border-right: 1px solid #d8dee8;
  background: #111827;
  color: #fff;
}

.adjuster-brand {
  display: grid;
  gap: 2px;
  padding: 8px 10px 24px;
  color: #fff;
  text-decoration: none;
}

.adjuster-brand span {
  color: #8bd3c7;
  font-size: 0.9rem;
  font-weight: 850;
}

.adjuster-brand strong {
  font-size: 1.45rem;
  font-weight: 850;
}

.adjuster-sidebar .dashboard-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.adjuster-sidebar .dashboard-tabs a {
  gap: 10px;
  justify-content: flex-start;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #d0d5dd;
}

.adjuster-sidebar .dashboard-tabs a.active,
.adjuster-sidebar .dashboard-tabs a:hover,
.adjuster-sidebar .dashboard-tabs a:focus-visible {
  border-color: rgba(139, 211, 199, 0.28);
  background: rgba(139, 211, 199, 0.12);
  color: #fff;
}

.dashboard-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: auto;
  padding: 0 7px;
  border-radius: 999px;
  background: #5eead4;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.adjuster-workspace {
  min-width: 0;
}

.adjuster-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid #d8dee8;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.adjuster-topbar span,
.adjuster-topbar strong {
  display: block;
}

.adjuster-topbar span {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 800;
}

.adjuster-topbar strong {
  color: #101828;
  font-size: 1.08rem;
  font-weight: 850;
}

.adjuster-main {
  min-width: 0;
}

.adjuster-dashboard-body .dashboard-section,
.adjuster-dashboard-body .account-section,
.adjuster-dashboard-body .consultation-shell {
  max-width: none;
  padding: clamp(24px, 4vw, 40px);
}

.adjuster-dashboard-body .dashboard-heading,
.adjuster-dashboard-body .account-heading,
.adjuster-dashboard-body .profile-header,
.adjuster-dashboard-body .consultation-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid #d8dee8;
}

.adjuster-dashboard-body .eyebrow {
  color: #146c5f;
}

.adjuster-dashboard-body .dashboard-panel,
.adjuster-dashboard-body .dashboard-summary a,
.adjuster-dashboard-body .dashboard-rating,
.adjuster-dashboard-body .account-form,
.adjuster-dashboard-body .profile-grid article,
.adjuster-dashboard-body .profile-copy section,
.adjuster-dashboard-body .chat-panel,
.adjuster-dashboard-body .offer-panel,
.adjuster-dashboard-body .request-brief {
  border-color: #d8dee8;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.06);
}

.dashboard-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 42px);
}

.dashboard-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.dashboard-heading h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 850;
  letter-spacing: 0;
}

.dashboard-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.dashboard-rating {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
  text-align: right;
}

.dashboard-rating strong {
  display: block;
  color: var(--primary);
  font-size: 2.2rem;
  line-height: 1;
}

.dashboard-rating span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.dashboard-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.dashboard-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.dashboard-tabs a.active,
.dashboard-tabs a:hover,
.dashboard-tabs a:focus-visible {
  border-color: rgba(20, 108, 95, 0.34);
  background: rgba(20, 108, 95, 0.1);
  color: var(--primary-dark);
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.dashboard-summary.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-summary a {
  display: block;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.dashboard-summary strong {
  display: block;
  color: var(--primary-dark);
  font-size: 2rem;
  line-height: 1;
}

.dashboard-summary span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.dashboard-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.dashboard-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.dashboard-panel-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
}

.dashboard-panel-header span {
  color: var(--primary);
  font-weight: 850;
}

.chat-panel-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-unread-count {
  background: rgba(220, 53, 69, 0.1);
  color: #b42318;
}

.dashboard-table {
  margin-bottom: 0;
}

.dashboard-table th {
  color: #475467;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dashboard-table td {
  min-width: 110px;
}

.dashboard-table td strong,
.dashboard-table td span {
  display: block;
}

.dashboard-table td span:not(.status-pill) {
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(20, 108, 95, 0.1);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.empty-message {
  margin: 0;
  padding: 24px 20px;
  color: var(--muted);
  font-weight: 700;
}

.review-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.review-list article {
  padding: 18px 20px;
  background: var(--paper);
}

.review-list article div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.review-list strong {
  font-weight: 850;
}

.review-list span {
  color: var(--primary);
  font-weight: 850;
}

.review-list p {
  margin: 10px 0;
  color: var(--ink);
  line-height: 1.7;
}

.review-list time {
  color: var(--muted);
  font-size: 0.9rem;
}

.consultation-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 42px);
}

.consultation-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 62px) clamp(16px, 4vw, 42px);
}

.consultation-heading {
  margin-bottom: 18px;
}

.consultation-heading h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 850;
  letter-spacing: 0;
}

.consultation-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.chat-panel,
.offer-panel,
.request-brief {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.chat-thread {
  display: grid;
  gap: 10px;
  min-height: 360px;
  max-height: 560px;
  overflow-y: auto;
  padding: 18px;
  background: #eef4f3;
}

.chat-bubble {
  width: fit-content;
  min-width: min(50%, 360px);
  max-width: min(78%, 620px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.chat-bubble.mine {
  justify-self: end;
  border-color: rgba(20, 108, 95, 0.26);
  background: #dff1ec;
}

.chat-bubble strong,
.chat-bubble time {
  display: block;
}

.chat-bubble p {
  margin: 6px 0;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.chat-bubble time {
  color: var(--muted);
  font-size: 0.84rem;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-form textarea {
  margin-top: 0;
  resize: vertical;
}

.offer-panel {
  align-self: start;
}

.detail-side {
  display: grid;
  align-self: start;
  gap: 14px;
}

.request-edit-panel {
  margin-bottom: 14px;
  padding: 0;
}

.request-edit-panel form {
  padding: 18px;
}

.request-edit-panel .wide-field {
  grid-column: 1 / -1;
}

.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.detail-actions span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.offer-card,
.selected-offer,
.offer-compose,
.request-brief {
  padding: 18px;
}

.offer-card + .offer-card {
  border-top: 1px solid var(--line);
}

.active-offer {
  background: rgba(20, 108, 95, 0.07);
  box-shadow: inset 3px 0 0 var(--primary);
}

.offer-profile {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.offer-photo {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 850;
}

.offer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-profile strong,
.offer-profile span,
.selected-offer strong,
.selected-offer span {
  display: block;
}

.offer-profile span,
.selected-offer span {
  color: var(--muted);
}

.selection-cancel-dialog {
  width: min(440px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.selection-cancel-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
}

.selection-cancel-dialog form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.selection-cancel-dialog-header,
.selection-cancel-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-close-button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  line-height: 1;
}

.offer-card p,
.request-brief p {
  color: var(--ink);
  line-height: 1.7;
  white-space: pre-line;
}

.selected-offer {
  border-bottom: 1px solid var(--line);
  background: rgba(20, 108, 95, 0.09);
}

.request-brief {
  margin-bottom: 14px;
}

.edit-log-panel {
  padding: 0;
}

.compact-panel-header {
  padding: 14px 18px;
}

.edit-log-panel > .empty-message {
  padding: 18px;
}

.edit-log-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.edit-log-list article {
  padding: 16px 18px;
  background: var(--paper);
}

.edit-log-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.edit-log-title strong {
  font-weight: 850;
}

.edit-log-title span {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 850;
}

.edit-log-list dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.edit-log-list dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
}

.edit-log-list dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.edit-log-list dd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.edit-log-list dd span {
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.edit-log-list dd b {
  color: var(--muted);
}

.request-brief dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.request-brief dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.request-brief dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.offer-compose label {
  display: block;
  margin-bottom: 12px;
}

.case-actions {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.share-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.review-compose-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.review-compose {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.qr-box,
.install-actions {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.qr-box {
  justify-items: center;
}

.qr-box img {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 900px) {
  .adjuster-app-shell {
    grid-template-columns: 1fr;
  }

  .adjuster-sidebar {
    position: static;
    min-height: auto;
    padding: 16px;
  }

  .adjuster-brand {
    padding-bottom: 14px;
  }

  .adjuster-sidebar .dashboard-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .adjuster-sidebar .dashboard-tabs a {
    justify-content: center;
    padding: 0 8px;
    text-align: center;
  }

  .adjuster-sidebar .dashboard-tabs .dashboard-nav-count {
    margin-left: 0;
  }

  .hero-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .flow-grid,
  .adjuster-directory-grid,
  .trust-band,
  .profile-grid,
  .dashboard-heading,
  .dashboard-summary,
  .dashboard-summary.two-up,
  .dashboard-tabs,
  .consultation-shell,
  .consultation-detail-shell,
  .request-brief dl {
    grid-template-columns: 1fr;
  }

  .directory-filter {
    grid-template-columns: 1fr;
  }

  .lookup-form {
    grid-template-columns: 1fr;
  }

  .dashboard-rating {
    text-align: left;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    display: none;
  }

  .site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 54px;
    margin-left: auto;
    border: 1px solid rgba(23, 32, 42, 0.22);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(20, 33, 42, 0.08);
  }

  .site-nav-toggle:focus-visible,
  .mobile-nav-close:focus-visible,
  .mobile-nav-links a:focus-visible {
    outline: 2px solid rgba(20, 108, 95, 0.45);
    outline-offset: 2px;
  }
}

@media (min-width: 992px) {
  .mobile-nav-layer {
    display: none;
  }
}

@media (max-width: 560px) {
  .adjuster-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .adjuster-sidebar .dashboard-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    padding-inline: 16px;
  }

  .mobile-nav-panel {
    top: 12px;
    right: 12px;
    left: 12px;
    padding: 16px;
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .region-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-header {
    grid-template-columns: 1fr;
  }

  .adjuster-card {
    grid-template-columns: 1fr;
  }

  .adjuster-card-photo {
    width: 100%;
    max-width: 180px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-bubble {
    min-width: 70%;
    max-width: 92%;
  }
}
/* Consultation file room */
.file-room-panel {
    display: grid;
    gap: 1rem;
}

.file-upload-form,
.file-room-actions {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
}

.share-link-copy {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.share-link-copy .form-control {
    flex: 1 1 auto;
}

.share-link-copy .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.file-upload-form .form-control {
    flex: 1 1 220px;
}

.file-list {
    display: grid;
    gap: .6rem;
}

.file-list article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .8rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #fff;
}

.file-list article div,
.document-file-row {
    display: grid;
    gap: .2rem;
}

.file-list span,
.document-file-row span {
    color: #64748b;
    font-size: .88rem;
}

.document-viewer-shell {
    min-height: calc(100vh - 96px);
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    background: #f8fafc;
}

.document-file-list {
    padding: 1rem;
    border-right: 1px solid rgba(15, 23, 42, .1);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.document-file-row {
    color: inherit;
    text-decoration: none;
    padding: .8rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
}

.document-file-row.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.document-preview {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
}

.document-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, .1);
    background: #fff;
}

.document-preview iframe {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    border: 0;
    background: #fff;
}

.document-preview-empty {
    display: grid;
    place-content: center;
    gap: 1rem;
    min-height: 70vh;
    text-align: center;
}

.progress-memo-panel {
    display: grid;
    gap: 1rem;
}

.progress-memo-compose {
    display: grid;
    gap: .75rem;
}

.progress-memo-compose .btn {
    justify-self: end;
}

.progress-memo-list {
    display: grid;
    gap: .75rem;
}

.progress-memo-list article {
    padding: .9rem 1rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #fff;
}

.progress-memo-list strong {
    display: block;
    color: #64748b;
    font-size: .88rem;
    margin-bottom: .45rem;
}

.progress-memo-list p {
    margin: 0;
    white-space: pre-wrap;
    color: #0f172a;
    line-height: 1.6;
}

@media (max-width: 820px) {
    .document-viewer-shell {
        grid-template-columns: 1fr;
    }

    .document-file-list {
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, .1);
    }
}

/* --- Professional UI Extensions --- */
.bg-primary-soft {
  background-color: rgba(0, 51, 102, 0.05) !important;
}

.shadow-hover {
  transition: all 0.3s ease;
}

.shadow-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.directory-section {
  padding: 60px 0;
  background: var(--soft);
}

.adjuster-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.adjuster-card:hover {
  border-color: var(--primary-light);
}

.btn-primary-soft {
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary);
    border: 0;
}

.btn-primary-soft:hover {
    background: rgba(0, 51, 102, 0.2);
    color: var(--primary-dark);
}

