:root {
  --bg: #f7fafc;
  --panel: #ffffff;
  --ink: #0c2446;
  --muted: #607083;
  --line: #dbe6ef;
  --terminal: #1d3f7a;
  --cyan: #21a7c9;
  --whatsapp: #25d366;
  --bubble-in: #ffffff;
  --bubble-out: #dcf8c6;
  --accent: #1d3f7a;
  --warn: #a66a00;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
}

button,
input {
  font: inherit;
}

.nav-link i,
button i,
.tab i,
.drop-icon i,
.pdf-avatar i {
  pointer-events: none;
}

.nav-link i,
button i,
.tab i {
  margin-right: 6px;
}

#nextResult i {
  margin-right: 0;
  margin-left: 6px;
}

.shell {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px min(28px, 4vw);
  background: #173d78;
  backdrop-filter: blur(8px);
}

.header-product,
.site-nav a {
  color: #ffffff;
  text-decoration: none;
}

.header-product {
  justify-self: start;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-product-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #6bd6dd;
  border-right-color: transparent;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
}

.header-product-mark::before,
.header-product-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(107, 214, 221, 0.68);
  border-right-color: transparent;
  border-radius: 50%;
}

.header-product-mark::before {
  inset: 6px;
}

.header-product-mark::after {
  inset: -7px;
  border-left-color: transparent;
}

.header-product-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
  text-transform: uppercase;
}

.header-product-copy strong {
  color: #ffffff;
  font-size: clamp(1.05rem, 2.2vw, 1.62rem);
  font-weight: 300;
  letter-spacing: 0.1em;
}

.header-product-copy small {
  color: #c7eef3;
  font-size: clamp(0.62rem, 1.2vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.28em;
}

.menu-toggle {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  outline: 0;
  color: #173d78;
  background: #ffffff;
}

.menu-toggle i {
  margin: 0;
}

.language-select {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 8px 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.language-select select {
  border: 0;
  color: #ffffff;
  background: transparent;
  font-weight: 900;
  outline: 0;
}

.language-select option {
  color: #173d78;
  background: #ffffff;
}

.site-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: min(28px, 4vw);
  display: grid;
  gap: 8px;
  min-width: 230px;
  border: 1px solid rgba(219, 230, 239, 0.55);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(12, 36, 70, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a {
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  color: #173d78;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  border-color: #c9d8e7;
  color: #0c2446;
  background: #edf6fb;
  outline: 0;
}

.intro-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  margin: -28px calc(50% - 50vw) 28px;
  overflow: hidden;
  padding: 70px 24px 86px;
  text-align: center;
  background:
    radial-gradient(circle at 84% 18%, rgba(64, 199, 215, 0.32) 0 4px, transparent 5px),
    radial-gradient(circle at 18% 70%, rgba(64, 199, 215, 0.28) 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(64, 199, 215, 0.2) 1px, transparent 1px) 0 0 / 90px 90px,
    linear-gradient(120deg, transparent 0 36%, rgba(64, 199, 215, 0.22) 36.2%, transparent 36.8%),
    linear-gradient(150deg, #17376f, #123e7b 48%, #174983);
}

.intro-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 180px;
  height: 70px;
  border-radius: 90px 90px 0 0;
  background: var(--bg);
  transform: translateX(-50%);
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: #c7eef3;
  font-size: clamp(1.35rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.08;
  max-width: 860px;
}

.hero-services {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
}

.terminal-title {
  margin: 0 0 10px;
  color: #173d78;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
}

.intro-copy {
  margin: 0;
  color: #607083;
  max-width: 820px;
}

.topbar,
.case-header,
.workspace,
.drop-zone,
.status {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(12, 36, 70, 0.08);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) repeat(3, minmax(180px, 1fr)) auto;
  align-items: end;
  gap: 20px;
  padding: 18px;
  border-radius: 16px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(33, 167, 201, 0.22), transparent 42%),
    linear-gradient(150deg, #17376f, #174983);
}

.case-doc-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
}

.eyebrow {
  margin: 0 0 4px;
  color: #c7eef3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  letter-spacing: 0;
}

.case-field {
  display: grid;
  gap: 6px;
  min-width: min(360px, 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
}

.case-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 12px;
  color: #0c2446;
  background: #ffffff;
}

.case-field textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  color: #0c2446;
  background: #ffffff;
  font: inherit;
}

.case-notes {
  grid-column: 2 / span 2;
}

.pdf-button {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 11px 14px;
  color: #173d78;
  background: #ffffff;
  cursor: pointer;
  font-weight: 900;
}

.pdf-button:hover,
.pdf-button:focus-visible {
  outline: 0;
  color: #ffffff;
  background: #21a7c9;
}

.pdf-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.drop-zone {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 20px;
  border-radius: 14px;
  border-style: dashed;
  background: #ffffff;
}

.drop-zone.dragover {
  border-color: #21a7c9;
  background: #eef9fb;
}

.drop-zone.dragover .drop-target {
  border-color: #21a7c9;
  color: #173d78;
  background: #dff6fb;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-copy {
  display: grid;
  gap: 6px;
}

.drop-copy span {
  color: var(--muted);
}

.selected-zip {
  width: fit-content;
  border: 1px solid rgba(23, 61, 120, 0.16);
  border-radius: 999px;
  padding: 5px 9px;
  color: #173d78;
  background: #f1f6fb;
  font-size: 0.84rem;
  font-weight: 800;
}

.drop-copy strong,
.panel-title h2 {
  color: #173d78;
}

.drop-target {
  display: grid;
  place-items: center;
  gap: 8px;
  aspect-ratio: 1;
  min-width: 0;
  border: 2px dashed rgba(23, 61, 120, 0.28);
  border-radius: 12px;
  padding: 14px;
  color: #607083;
  background: #f5f9fc;
  cursor: pointer;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

.drop-target:hover,
.drop-target:focus-within {
  border-color: #21a7c9;
  color: #173d78;
  background: #eef9fb;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: #ffffff;
  background: #173d78;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

#pickButton {
  justify-self: end;
  border: 0;
  border: 1px solid #173d78;
  border-radius: 999px;
  padding: 12px 18px;
  color: #ffffff;
  background: #173d78;
  cursor: pointer;
  font-weight: 900;
}

#pickButton:hover,
#pickButton:focus-visible {
  color: #ffffff;
  background: #21a7c9;
  outline: 0;
}

.status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 0;
  color: var(--warn);
  font-weight: 700;
}

.status.visible {
  display: block;
}

.case-header {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 0;
}

.hash-block {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hash-block span,
.meta-item span {
  color: #8fa39a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hash-block code {
  display: inline-block;
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 9px;
  color: #173d78;
  background: #f1f6fb;
  font-size: 0.86rem;
}

.header-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: start;
}

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

.meta-item {
  display: grid;
  gap: 4px;
  border-left: 3px solid #21a7c9;
  padding-left: 10px;
}

.meta-item strong {
  font-size: 1rem;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 0;
  margin-top: 14px;
  height: clamp(520px, calc(100vh - 360px), 760px);
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
}

.conversation-frame {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  border-left: 1px solid var(--line);
  background: #f7fafc;
}

.conversation-title {
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  color: #173d78;
  background: #f1f6fb;
  font-weight: 900;
}

.side-panel {
  display: grid;
  grid-template-rows: auto auto 1fr;
  border-right: 1px solid var(--line);
  background: #ffffff;
  min-width: 0;
  min-height: 0;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-title h2,
.chat-header h2 {
  margin: 0;
  font-size: 1rem;
}

.panel-title span,
.chat-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.numbers-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: #f7fafc;
}

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

.panel-subtitle h3 {
  margin: 0;
  color: #173d78;
  font-size: 0.9rem;
}

.panel-subtitle span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.number-list {
  display: grid;
  gap: 7px;
  max-height: 214px;
  overflow: auto;
}

.number-item {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  color: inherit;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.number-item:hover,
.number-item:focus-visible {
  border-color: #21a7c9;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(33, 167, 201, 0.14);
}

.number-item strong {
  overflow-wrap: anywhere;
  color: #173d78;
  font-size: 0.9rem;
}

.number-item span {
  color: var(--muted);
  font-size: 0.76rem;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.tab {
  min-height: 42px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: #f7fafc;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.tab:last-child {
  border-right: 0;
}

.tab.active {
  color: #173d78;
  background: #ffffff;
  box-shadow: inset 0 -3px 0 #21a7c9;
}

.asset-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.asset-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #ffffff;
}

.asset-jumpable {
  cursor: pointer;
}

.asset-jumpable:hover,
.asset-jumpable:focus-visible {
  border-color: #21a7c9;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(33, 167, 201, 0.15);
}

.asset-item img,
.bubble img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 6px;
  background: #edf0ed;
}

.asset-name {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: #173d78;
  font-size: 0.84rem;
  font-weight: 700;
}

.asset-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.asset-hash,
.attachment-hash {
  display: block;
  margin-top: 6px;
  border: 1px solid #d9ded8;
  border-radius: 4px;
  padding: 6px;
  overflow-wrap: anywhere;
  color: #294139;
  background: #edf3ef;
  font-size: 0.7rem;
  line-height: 1.3;
}

.empty-state {
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.empty-state.compact {
  padding: 8px;
  font-size: 0.82rem;
}

.phone {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  min-height: 0;
  color: #17211c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15px 15px, rgba(7, 94, 84, 0.08) 1px, transparent 1px) 0 0 / 30px 30px,
    #e6ddd4;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  color: #173d78;
  background: #ffffff;
}

.chat-header p {
  color: #607083;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  border-bottom: 1px solid rgba(7, 94, 84, 0.14);
  padding: 12px 14px;
  background: rgba(247, 249, 247, 0.86);
}

.search-field {
  display: grid;
  gap: 5px;
}

.search-field span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
}

.search-actions {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 8px;
  align-items: center;
}

.search-actions button {
  border: 1px solid rgba(7, 94, 84, 0.22);
  border-radius: 4px;
  padding: 9px 10px;
  color: #064f46;
  background: #e7f3ef;
  cursor: pointer;
  font-weight: 800;
}

.search-actions button:hover,
.search-actions button:focus-visible {
  outline: 0;
  border-color: #064f46;
  color: #fff;
  background: #064f46;
}

.search-actions span {
  min-width: 86px;
  color: #53615a;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: #21a7c9;
  font-weight: 900;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.bubble {
  width: fit-content;
  max-width: min(760px, 82%);
  border-radius: 8px;
  padding: 8px 10px 6px;
  background: var(--bubble-in);
  box-shadow: 0 1px 1px rgba(23, 33, 28, 0.12);
}

.bubble.out {
  align-self: flex-end;
  background: var(--bubble-out);
}

.message-highlight {
  outline: 3px solid rgba(31, 168, 85, 0.7);
  outline-offset: 3px;
  animation: pulse-highlight 1.1s ease-in-out 2;
}

.search-active {
  outline-color: rgba(7, 94, 84, 0.9);
}

.message-text mark,
.system-message mark {
  border-radius: 3px;
  padding: 0 2px;
  color: #17211c;
  background: #fff08a;
}

@keyframes pulse-highlight {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.015);
  }
}

.system-message {
  align-self: center;
  max-width: min(680px, 92%);
  border-radius: 8px;
  padding: 8px 12px;
  color: #53615a;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 1px 1px rgba(23, 33, 28, 0.1);
  text-align: center;
}

.system-message p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  line-height: 1.35;
}

.system-message span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.participant-summary {
  align-self: stretch;
  border: 1px solid rgba(7, 94, 84, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
}

.participant-summary strong {
  display: block;
  margin-bottom: 4px;
  color: #064f46;
  font-size: 0.82rem;
}

.participant-summary p {
  margin: 0;
  color: #53615a;
  font-size: 0.84rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sender {
  display: block;
  margin-bottom: 4px;
  color: #064f46;
  font-size: 0.78rem;
  font-weight: 800;
}

.message-text {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.38;
}

.time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.attachment {
  display: block;
  margin-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 8px;
}

.attachment a,
.asset-item a,
.link-row a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.attachment audio,
.attachment video,
.asset-item audio,
.asset-item video {
  width: 100%;
  margin-top: 8px;
}

.jump-button {
  width: 100%;
  margin-top: 9px;
  border: 1px solid rgba(7, 94, 84, 0.22);
  border-radius: 0;
  padding: 8px 10px;
  color: #064f46;
  background: #e7f3ef;
  cursor: pointer;
  font-weight: 800;
}

.jump-button:hover,
.jump-button:focus-visible {
  outline: 0;
  border-color: #064f46;
  color: #fff;
  background: #064f46;
}

.link-row {
  display: grid;
  gap: 5px;
}

.hidden {
  display: none;
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  color: #ffffff;
  background: #173d78;
  font-size: 0.84rem;
  font-weight: 700;
}

.app-footer img {
  width: clamp(118px, 16vw, 180px);
  height: auto;
}

.app-footer span {
  color: #c7eef3;
  margin-left: auto;
}

.page-info {
  min-height: 58vh;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #21a7c9;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: #173d78;
  outline: 0;
}

.info-card {
  max-width: 920px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
}

.info-card p {
  margin: 0;
  color: #30465f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-card {
  display: grid;
  gap: 22px;
  max-width: 980px;
  padding: 24px;
}

.faq-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(33, 167, 201, 0.08), transparent 38%),
    #ffffff;
}

.faq-item {
  display: grid;
  gap: 8px;
  border: 1px solid #dbe6ef;
  border-radius: 12px;
  padding: 16px;
  background: #f8fbfd;
}

.faq-item h2 {
  margin: 0;
  color: #173d78;
  font-size: 1rem;
  font-weight: 900;
}

.faq-item p {
  color: #30465f;
}

.contact-intro {
  display: grid;
  gap: 6px;
}

.contact-intro h2 {
  margin: 0;
  color: #173d78;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: #173d78;
  font-size: 0.86rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbdbea;
  border-radius: 14px;
  padding: 12px 14px;
  color: #0c2446;
  background: #ffffff;
  outline: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #21a7c9;
  box-shadow: 0 0 0 3px rgba(33, 167, 201, 0.16);
}

.contact-message,
.contact-consent,
.contact-actions {
  grid-column: 1 / -1;
}

.contact-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  gap: 10px !important;
  align-items: flex-start;
  color: #30465f !important;
  font-weight: 700 !important;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #173d78;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-submit {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #ffffff;
  background: #173d78;
  font-weight: 900;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  outline: 0;
  background: #21a7c9;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-status {
  margin: 0;
  color: #173d78;
  font-weight: 800;
}

.about-card {
  display: grid;
  gap: 18px;
  justify-items: stretch;
  align-items: start;
  max-width: 1080px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(33, 167, 201, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.about-copy {
  display: grid;
  gap: 15px;
}

.about-copy p {
  font-size: 1rem;
  line-height: 1.68;
}

.about-copy strong {
  color: #173d78;
}

.about-photo {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 150px;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background: #e8f3f7;
  box-shadow: 0 18px 44px rgba(23, 61, 120, 0.2);
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(33, 167, 201, 0.4);
  border-radius: 50%;
  pointer-events: none;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.print-assets {
  display: none;
}

.progress-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 63, 57, 0.58);
  backdrop-filter: blur(3px);
}

.progress-modal.hidden {
  display: none;
}

.progress-card {
  display: grid;
  gap: 14px;
  width: min(460px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  background: #063f39;
  box-shadow: 0 24px 60px rgba(23, 33, 28, 0.28);
}

.progress-card h2 {
  margin: 0;
  font-size: 1.28rem;
}

.progress-card .eyebrow {
  margin-bottom: 4px;
}

.progress-card p:last-child {
  margin: 0;
  color: #d8f0ef;
  font-size: 0.92rem;
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #7ee2a8;
  transition: width 180ms ease;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 36, 70, 0.58);
  backdrop-filter: blur(4px);
}

.pdf-modal.hidden {
  display: none;
}

.pdf-card {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(470px, 100%);
  border-radius: 28px;
  padding: 42px 32px 28px;
  color: #0c2446;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(12, 36, 70, 0.35);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: 0;
  color: #0c2446;
  background: transparent;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.pdf-avatar {
  position: absolute;
  top: -35px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(150deg, #17376f, #21a7c9);
  box-shadow: 0 12px 30px rgba(12, 36, 70, 0.25);
  font-weight: 900;
  transform: translateX(-50%);
}

.pdf-card h2 {
  margin: 4px 0 0;
  text-align: center;
  font-size: 1.55rem;
}

.pdf-subtitle {
  margin: 0;
  color: #607083;
  text-align: center;
  line-height: 1.45;
}

.pdf-summary {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.pdf-summary-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.pdf-summary-item span {
  color: #607083;
  font-size: 0.82rem;
  font-weight: 800;
}

.pdf-summary-item strong {
  overflow-wrap: anywhere;
  color: #173d78;
  font-size: 0.9rem;
}

.secure-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #137f5b;
  font-size: 0.9rem;
}

.secure-note p {
  margin: 0;
  line-height: 1.4;
}

.pdf-confirm {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  color: #ffffff;
  background: #173d78;
  cursor: pointer;
  font-weight: 900;
}

.pdf-confirm:hover,
.pdf-confirm:focus-visible {
  outline: 0;
  background: #21a7c9;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .topbar,
  .drop-zone,
  .case-header,
  .header-detail-row,
  .workspace {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: stretch;
  }

  .case-notes {
    grid-column: auto;
  }

  .topbar,
  .drop-zone {
    align-items: stretch;
  }

  .drop-zone {
    grid-template-columns: 1fr;
  }

  .drop-target {
    justify-self: center;
    width: min(220px, 100%);
  }

  .pdf-button {
    align-self: stretch;
  }

  #pickButton {
    justify-self: stretch;
    width: 100%;
  }

  .workspace {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .side-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .conversation-frame {
    border-left: 0;
  }

  .asset-list {
    max-height: 360px;
  }

  .phone {
    min-height: 620px;
    height: 620px;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-actions {
    grid-template-columns: 1fr 1fr auto;
  }

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

  .about-card {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .faq-card {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 18px, 1480px);
    padding: 10px 0;
  }

  .meta-grid,
  .tabs {
    grid-template-columns: 1fr;
  }

  .tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bubble {
    max-width: 94%;
  }

  .site-header {
    gap: 10px;
    padding: 9px 12px;
  }

  .header-product {
    gap: 8px;
  }

  .header-product-mark {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .header-product-copy strong {
    font-size: 0.92rem;
    letter-spacing: 0.06em;
  }

  .header-product-copy small {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .language-select {
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .site-nav {
    right: 12px;
    left: 12px;
    min-width: 0;
  }

  .about-card {
    padding: 16px;
  }

  .about-copy p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .about-photo {
    justify-self: center;
    width: min(150px, 100%);
  }

}

