:root {
  --client-blue: #0b4c8c;
  --client-blue-2: #145ea8;
  --text: #172033;
  --muted: #64748b;
  --line: #dbe6f1;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f8fbff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.flex {
  display: flex;
}

.flex-1 {
  flex: 1 1 0%;
}

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

.relative {
  position: relative;
}

.w-full {
  width: 100%;
}

.max-w-xs {
  max-width: 20rem;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.overflow-y-auto {
  overflow-y: auto;
}

.pr-2 {
  padding-right: 0.5rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-white\/8 {
  border-color: rgba(255, 255, 255, 0.08);
}

.overflow-hidden {
  overflow: hidden;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.boot-screen {
  height: 100%;
  display: grid;
  place-items: center;
  gap: 16px;
  color: #244564;
}

.boot-screen img {
  width: 72px;
  height: 72px;
}

.client-layout {
  height: 100vh;
  overflow: hidden;
}

.client-sidebar {
  height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #0b4c8c 0%, #145ea8 45%, #5d99d1 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.client-sidebar__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem 1.5rem;
}

.client-sidebar__logo {
  height: 6rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.client-sidebar__welcome,
.client-sidebar__title {
  margin: 0;
}

.client-sidebar__welcome {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.client-sidebar__title {
  margin-top: 0.5rem;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
}

.client-sidebar__divider {
  width: 60%;
  height: 1px;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
}

.client-sidebar__section-title {
  margin: 0;
  padding: 0 1rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-scroll {
  flex: 1;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.office-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.office-card:hover {
  transform: translateY(-0.5px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1), 0 2px 4px rgba(15, 23, 42, 0.05);
}

.office-trigger {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(248, 250, 252, 0.3));
  color: #0f4f8c;
  text-align: left;
}

.office-trigger__label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.office-dot,
.service-dot {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--c);
}

.office-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.375rem;
}

.office-title {
  min-width: 0;
  color: #0f4f8c;
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.office-chevron {
  color: #0f6ab8;
  transition: transform 0.2s ease;
}

.rotate-180 {
  transform: rotate(180deg);
}

.service-list {
  display: none;
  margin: 0;
  padding: 0.625rem 0.5rem 0.75rem;
  list-style: none;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(20, 94, 168, 0.02);
}

.service-list--open {
  display: block;
}

.service-summary,
.service-group-heading {
  padding: 0.45rem 0.5rem 0.25rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-summary {
  color: #6e85a0;
}

.service-group-heading {
  color: #3e6388;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  color: #0f5a9e;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.45;
}

.service-item:hover {
  background: rgba(20, 94, 168, 0.06);
  border-color: rgba(20, 94, 168, 0.1);
}

.service-item--active {
  background: linear-gradient(180deg, rgba(20, 94, 168, 0.24), rgba(20, 94, 168, 0.18));
  border-color: rgba(11, 76, 140, 0.45);
  box-shadow: inset 3px 0 0 rgba(11, 76, 140, 0.95), 0 6px 14px rgba(20, 94, 168, 0.12);
}

.service-item--active .service-label {
  color: #0b4c8c;
  font-weight: 800;
}

.service-dot {
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.35rem;
}

.sidebar-actions {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 0.25rem 0;
}

.directory-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #f8fbff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.directory-button--secondary {
  background: rgba(255, 255, 255, 0.08);
}

.client-main-shell {
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96));
}

.client-main-shell__content {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.client-content {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  color: #172033;
  transition: all 0.2s ease;
}

.search-panel {
  position: relative;
  z-index: 30;
  margin-bottom: 2rem;
}

.search-panel__label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 1.125rem;
  font-weight: 700;
}

.search-panel__box {
  position: relative;
}

.search-panel__input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: #ffffff;
  color: #132238;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-panel__input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.24), 0 8px 20px rgba(15, 23, 42, 0.08);
}

.search-panel__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  display: grid;
  gap: 8px;
  z-index: 40;
}

.search-result-card {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid #d7e4ef;
  border-radius: 14px;
  background: #ffffff;
  color: #16263b;
  box-shadow: 0 10px 24px rgba(31, 78, 121, 0.12);
}

.search-result-card__title {
  font-weight: 850;
  line-height: 1.25;
}

.search-result-card__meta,
.search-result-card__action {
  color: #526a80;
  font-size: 0.86rem;
  line-height: 1.35;
}

.search-result-card__action {
  color: #0d659f;
  font-weight: 800;
}

.search-results__empty {
  border: 1px dashed #c8d7e6;
  border-radius: 14px;
  padding: 18px;
  background: #f8fbff;
  color: #61758a;
}

.public-empty {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.25rem;
  text-align: center;
  transition: all 0.2s ease;
}

.public-empty p {
  margin: 0 0 0.75rem;
}

.public-empty small {
  display: block;
  max-width: 680px;
  color: #61758a;
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-detail-card {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 200px;
  max-height: calc(100vh - 132px);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-detail-card__header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.service-detail-card__office {
  margin: 0 0 4px;
  color: #5f7287;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-detail-card h2 {
  margin: 0;
  color: #0369a1;
  font-size: 1.5rem;
  line-height: 1.18;
  font-weight: 900;
}

.back-button,
.secondary-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd8e5;
  border-radius: 12px;
  padding: 10px 14px;
  background: #f8fbff;
  color: #1d3f5d;
  font-weight: 850;
}

.kiosk-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 1.5rem;
  width: 100%;
}

.kiosk-step {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #9ca3af;
  text-align: center;
}

.kiosk-step span {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d1d5db;
  border-radius: 999px;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 800;
}

.kiosk-step small {
  color: inherit;
  font-size: 0.75rem;
  font-weight: 650;
}

.kiosk-step--active {
  color: #0284c7;
}

.kiosk-step--active span {
  border-color: #0ea5e9;
  background: #0ea5e9;
  color: #ffffff;
}

.kiosk-step--complete span {
  border-color: #0ea5e9;
  background: #ffffff;
  color: #0ea5e9;
}

.kiosk-stepper__line {
  height: 2px;
  flex: 1 1 auto;
  margin: 0 0.5rem 1.1rem;
  background: #d1d5db;
}

.kiosk-stepper__line--complete {
  background: #0ea5e9;
}

.step-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.detail-section {
  display: grid;
  gap: 14px;
}

.detail-section h3 {
  margin: 0;
  color: #1d3f5d;
  font-size: 1rem;
  font-weight: 900;
}

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

.overview-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #dbe6f1;
  border-radius: 14px;
  background: #f9fcff;
}

.overview-item--wide {
  grid-column: 1 / -1;
}

.overview-item span {
  color: #61758a;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.overview-item strong {
  color: #172033;
  font-size: 0.98rem;
  line-height: 1.4;
}

.desktop-table-scroll {
  display: block;
  max-height: 48vh;
  overflow: auto;
  padding-right: 4px;
}

.detail-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #dbe6f1;
  border-radius: 14px;
  background: #ffffff;
  font-size: 0.92rem;
}

.detail-table th,
.detail-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e4edf5;
}

.detail-table th {
  background: #f1f7fc;
  color: #314b63;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.detail-table tfoot td {
  background: #f8fbff;
  font-weight: 900;
}

.rich-content {
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.person-line {
  display: grid;
  gap: 2px;
}

.detail-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.primary-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0f6ab8;
  border-radius: 12px;
  padding: 10px 16px;
  background: #0f6ab8;
  color: #ffffff;
  font-weight: 900;
}

.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.developer-credit-wrap {
  position: absolute;
  right: 2.5rem;
  bottom: 1rem;
  z-index: 1;
  margin: 0;
  pointer-events: none;
}

.developer-credit {
  width: 236px;
  min-width: 236px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid #dbe6f1;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
}

.developer-credit__logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: contain;
  background: #ffffff;
  padding: 0.35rem;
  flex-shrink: 0;
}

.developer-credit__eyebrow,
.developer-credit__name,
.developer-credit__email,
.developer-credit__phone,
.developer-credit__link {
  margin: 0;
}

.developer-credit__eyebrow {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.developer-credit__name {
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 900;
}

.developer-credit__email,
.developer-credit__phone,
.developer-credit__link {
  color: #24445f;
  font-size: 0.75rem;
  line-height: 1.35;
  word-break: break-word;
}

.developer-credit__link {
  display: inline-block;
}

.demo-background-mark {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: min(680px, 70vw);
  height: 180px;
  transform: translateX(-50%);
  opacity: 0.42;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(15, 106, 184, 0.16), rgba(15, 106, 184, 0)) 0 80px / 100% 100px no-repeat,
    linear-gradient(to top, #7fb3da 0 44px, transparent 44px) 4% 100% / 70px 120px no-repeat,
    linear-gradient(to top, #97c4e5 0 74px, transparent 74px) 18% 100% / 88px 140px no-repeat,
    linear-gradient(to top, #6ba8d7 0 58px, transparent 58px) 35% 100% / 78px 130px no-repeat,
    linear-gradient(to top, #9ecbe9 0 96px, transparent 96px) 52% 100% / 100px 160px no-repeat,
    linear-gradient(to top, #75add8 0 68px, transparent 68px) 72% 100% / 84px 140px no-repeat,
    linear-gradient(to top, #a8d0eb 0 48px, transparent 48px) 88% 100% / 76px 120px no-repeat;
}

.directory-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 15, 30, 0.45);
  backdrop-filter: blur(8px);
}

.directory-dialog {
  width: min(980px, 92vw);
  max-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.24);
}

.directory-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.directory-dialog__eyebrow {
  margin: 0 0 6px;
  color: #6b8298;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-dialog__title {
  margin: 0;
  color: #163a5d;
  font-size: 24px;
  font-weight: 800;
}

.directory-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 94, 168, 0.08);
  color: #1f4f7c;
  font-size: 18px;
}

.directory-tableWrap {
  overflow: auto;
  padding: 12px 18px 18px;
}

.directory-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.85);
}

.directory-table th,
.directory-table td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.directory-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  border-top: 0;
  background: #f1f6fb;
  color: #38516b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.directory-table tbody td {
  color: #23415d;
  font-size: 14px;
  background: #ffffff;
}

.feedback-dialog {
  width: min(1080px, 94vw);
}

.feedback-table th {
  width: 34%;
  background: #f8fafc;
  color: #142f4a;
  font-size: 15px;
}

.feedback-table td {
  background: #ffffff;
  color: #243b53;
  font-size: 14px;
}

.feedback-table__title {
  width: auto !important;
  text-align: center !important;
  background: #eef4fa !important;
  color: #143454 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 900px) {
  html,
  body,
  #app {
    height: auto;
    min-height: 100%;
  }

  .client-layout {
    display: block;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .client-sidebar {
    height: auto;
    min-height: auto;
    max-width: none;
  }

  .client-main-shell {
    min-height: 100dvh;
    padding: 1rem;
    overflow: visible;
  }

  .service-detail-card {
    max-height: none;
  }

  .service-detail-card__header {
    grid-template-columns: 1fr;
  }

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

  .developer-credit-wrap,
  .demo-background-mark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
