:root {
  --page-bg: #e6e8eb;
  --surface: #f7f8fa;
  --white: #ffffff;
  --ink: #202429;
  --navy: #172237;
  --muted: #657184;
  --soft-muted: #8a94a3;
  --line: #d9dde3;
  --light-line: #eceff2;
  --orange: #ff5a00;
  --orange-dark: #ea4f00;
  --orange-soft: #fff2ea;
  --gray-chip: #eff1f3;
  --shadow: 0 16px 36px rgba(23, 34, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page-bg);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.app-frame {
  width: min(100%, 1288px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
}

.site-header {
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #cfd4dc;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 25px;
}

.brand {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 52px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.primary-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 31px;
  min-width: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4e5968;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-link:hover,
.nav-link-active {
  color: var(--orange);
}

.nav-link-active {
  position: relative;
}

.nav-link-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.auth-actions {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 31px;
}

.login-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.signup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 103px;
  height: 35px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}

.signup-button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

main {
  padding: 0 32px 30px;
}

.page-view[hidden] {
  display: none;
}

.ask-page {
  position: relative;
  min-height: calc(100vh - 68px);
  margin: 0 -32px -30px;
  padding: 0 32px 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 42%, rgba(255, 90, 0, 0.1), transparent 28%),
    linear-gradient(135deg, #f7f8fa 0%, #f3f4f6 52%, #fff5ef 100%);
  background-size: cover;
}

.home-content {
  position: relative;
  z-index: 1;
  transition: margin-left 220ms ease, max-width 220ms ease;
}

.ask-page.sidebar-open .home-content,
.ask-page.sidebar-preview .home-content {
  margin-left: 280px;
}

.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar-toggle:hover) .home-content,
.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar:hover) .home-content {
  margin-left: 280px;
}

.home-sidebar-toggle {
  position: absolute;
  top: 16px;
  left: 30px;
  z-index: 16;
  display: grid;
  place-items: center;
  width: 92px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  color: #1d2228;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 44px rgba(23, 34, 55, 0.08);
  cursor: pointer;
  transition: left 220ms ease, width 220ms ease, border-radius 220ms ease, background 160ms ease;
}

.home-sidebar-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.home-sidebar-toggle .sidebar-icon-close {
  display: none;
}

.ask-page.sidebar-open .home-sidebar-toggle,
.ask-page.sidebar-preview .home-sidebar-toggle {
  left: 190px;
  width: 66px;
  border-radius: 17px;
  background: #ffffff;
}

.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar-toggle:hover) .home-sidebar-toggle,
.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar:hover) .home-sidebar-toggle {
  left: 190px;
  width: 66px;
  border-radius: 17px;
  background: #ffffff;
}

.ask-page.sidebar-open .home-sidebar-toggle .sidebar-icon-menu,
.ask-page.sidebar-preview .home-sidebar-toggle .sidebar-icon-menu {
  display: none;
}

.ask-page.sidebar-open .home-sidebar-toggle .sidebar-icon-close,
.ask-page.sidebar-preview .home-sidebar-toggle .sidebar-icon-close {
  display: block;
}

.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar-toggle:hover) .home-sidebar-toggle .sidebar-icon-menu,
.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar:hover) .home-sidebar-toggle .sidebar-icon-menu {
  display: none;
}

.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar-toggle:hover) .home-sidebar-toggle .sidebar-icon-close,
.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar:hover) .home-sidebar-toggle .sidebar-icon-close {
  display: block;
}

.home-sidebar {
  position: absolute;
  z-index: 12;
  top: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 24px;
  width: 280px;
  padding: 104px 24px 28px;
  border-right: 1px solid #e2e5ea;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 18px 0 34px rgba(23, 34, 55, 0.06);
  backdrop-filter: blur(14px);
  transform: translateX(-102%);
  transition: transform 220ms ease;
}

.ask-page.sidebar-open .home-sidebar,
.ask-page.sidebar-preview .home-sidebar {
  transform: translateX(0);
}

.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar-toggle:hover) .home-sidebar,
.ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar:hover) .home-sidebar {
  transform: translateX(0);
}

.new-chat-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #ffb68a;
  border-radius: 10px;
  color: #202429;
  background: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.new-chat-button svg,
.quick-action-grid svg,
.sidebar-history svg,
.sidebar-help svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sidebar-section h2 {
  margin: 0 0 13px;
  color: #aa9287;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

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

.quick-action-grid button {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 86px;
  border: 0;
  border-radius: 16px;
  color: #1f242b;
  background: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46);
}

.quick-action-grid button svg {
  width: 27px;
  height: 27px;
}

.sidebar-history {
  overflow: hidden;
}

.sidebar-history-list {
  display: grid;
  gap: 6px;
}

.sidebar-history button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 41px;
  border: 0;
  color: #5b443c;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sidebar-history button.sidebar-history-active {
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
}

.sidebar-history span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
}

.sidebar-history em {
  padding: 3px 6px;
  border-radius: 5px;
  color: #9a4a20;
  background: #eee8e4;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.sidebar-history-empty {
  margin: 8px 0 0;
  color: #9f8c86;
  font-size: 13px;
  line-height: 1.5;
}

.sidebar-help {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  color: #5b443c;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.hero {
  padding: 86px 20px 34px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 27px;
  padding: 0 16px;
  border-radius: 999px;
  color: #9c3a09;
  background: #ffe0d0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.eyebrow svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: var(--orange);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--orange);
  white-space: nowrap;
}

.hero p {
  max-width: 720px;
  margin: 16px auto 0;
  color: #8a716c;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.55;
}

.quote-shell {
  overflow: visible;
  width: min(960px, 100%);
  min-height: 0;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.conversation-stage {
  position: relative;
  min-height: 438px;
  padding: 0;
  background: transparent;
}

.home-welcome {
  display: grid;
  justify-items: center;
}

.ask-page.home-result-mode .home-welcome {
  display: none;
}

.ask-page:not(.home-result-mode) .chat-thread,
.ask-page:not(.home-result-mode) .chat-status {
  display: none;
}

.chat-thread {
  display: grid;
  gap: 22px;
}

.chat-status {
  width: min(812px, 100%);
  margin: 16px auto 0;
  color: #7d736e;
  font-size: 14px;
  line-height: 1.5;
}

.chat-status-error {
  color: #c54717;
}

.home-welcome-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(812px, 100%);
  margin: 0 auto;
}

.welcome-message {
  min-height: 98px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 55px rgba(23, 34, 55, 0.08);
  backdrop-filter: blur(10px);
}

.welcome-message p {
  margin: 0;
  color: #202936;
  font-size: 17px;
  line-height: 1.55;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: min(824px, 100%);
  margin: 16px auto 0;
}

.home-feature-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 136px;
  padding: 18px 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 22px 48px rgba(23, 34, 55, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-feature-card:hover,
.home-feature-card:focus-visible {
  border-color: #ffc9aa;
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  transform: translateY(-2px);
}

.home-feature-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #c84a08;
  background: #f6e7e1;
}

.home-feature-card svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-feature-card strong {
  color: #202429;
  font-size: 16px;
  font-weight: 850;
}

.home-feature-card em {
  color: #9a8178;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.16;
}

.user-message {
  display: flex;
  align-items: center;
  min-height: 84px;
  max-width: 631px;
  margin-left: auto;
  margin-right: 86px;
  padding: 0 24px;
  border-radius: 21px 0 21px 21px;
  color: #ffffff;
  background: #1b1f20;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.assistant-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: min(842px, 100%);
  margin-top: 32px;
  margin-left: 0;
}

.assistant-card p:last-child {
  margin-bottom: 0;
}

.assistant-text {
  display: grid;
  gap: 12px;
}

.assistant-text p {
  margin: 0;
  color: #34383e;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 90, 0, 0.5);
  animation: chat-dot-bounce 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chat-dot-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.assistant-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin-top: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 10px 18px rgba(255, 90, 0, 0.22);
}

.assistant-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.assistant-avatar svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.assistant-card {
  width: 100%;
  min-height: 0;
  padding: 30px 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 55px rgba(23, 34, 55, 0.08);
  backdrop-filter: blur(10px);
}

.assistant-intro,
.assistant-question {
  margin: 0;
  color: #34383e;
  font-size: 16px;
  line-height: 1.5;
}

.shipping-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
  margin-top: 24px;
}

.option-card {
  min-height: 116px;
  padding: 18px 20px 15px;
  border: 1px solid #dee3e9;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.55);
}

.option-featured {
  border-color: #ffbf95;
  box-shadow: 0 0 0 1px rgba(255, 90, 0, 0.05);
}

.option-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: 0;
}

.option-featured h2 {
  color: var(--orange-dark);
}

.option-card p {
  margin: 6px 0 0;
  color: #9b8580;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.option-card ul {
  display: grid;
  gap: 6px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.option-card li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #424850;
  font-size: 10px;
  font-weight: 520;
  line-height: 1.15;
}

.option-card li svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.assistant-question {
  margin-top: 25px;
  color: #7d6761;
}

.quote-builder {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.builder-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.builder-tabs {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.builder-tab {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #dfe4ea;
  border-radius: 999px;
  color: #4c5665;
  background: #f3f4f6;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 160ms ease;
}

.builder-tab-active {
  border-color: #ffb68a;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(255, 90, 0, 0.18);
}

.builder-badge {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #994114;
  background: #fff0e6;
  font-size: 11px;
  font-weight: 800;
}

.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.builder-form {
  display: grid;
  gap: 16px;
}

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

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

.field,
.contact-strip {
  min-width: 0;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: #5d6775;
  font-size: 11px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dde2e8;
  border-radius: 10px;
  color: #273141;
  background: #ffffff;
  padding: 13px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

.field input:focus,
.field textarea:focus {
  border-color: #ffb68a;
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a94a3;
}

.field-wide {
  grid-column: 1 / -1;
}

.mode-panel[hidden] {
  display: none;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 4px;
}

.builder-summary {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e2e5ea;
  border-radius: 12px;
  background: #f6f7f8;
}

.summary-kicker {
  margin: 0;
  color: #9a481d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.builder-summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

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

.summary-points li {
  padding-left: 14px;
  position: relative;
  color: #445061;
  font-size: 13px;
  line-height: 1.45;
}

.summary-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.summary-actions button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #2a313b;
  background: #e5e8ec;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.summary-actions button:last-child {
  color: #ffffff;
  background: var(--orange);
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.assistant-actions button {
  height: 36px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #202429;
  background: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.assistant-actions button:first-child {
  color: #ffffff;
  background: var(--orange);
}

.assistant-actions button:hover {
  transform: translateY(-1px);
}

.assistant-actions button:first-child:hover {
  background: var(--orange-dark);
}

.assistant-actions button:not(:first-child):hover {
  background: #d9dcdf;
}

.prompt-panel {
  width: min(950px, 100%);
  min-height: 0;
  margin: 2px auto 0;
  padding: 0;
  border-top: 0;
  background: transparent;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.prompt-chips button {
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid #cfd4dc;
  border-radius: 999px;
  color: #626b7e;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.prompt-chips button:hover,
.prompt-chips button:focus-visible {
  border-color: #ffb68a;
  color: var(--orange-dark);
  background: var(--orange-soft);
  outline: none;
}

.quote-input {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90px;
  padding: 0 86px 0 36px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 42px rgba(23, 34, 55, 0.12);
}

.quote-input label {
  display: none;
}

.quote-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: #26303d;
  background: transparent;
  font-size: 16px;
  outline: none;
}

.quote-input input::placeholder {
  color: #7c8797;
  opacity: 1;
}

.send-button {
  position: absolute;
  right: 22px;
  bottom: 19px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  background: var(--orange);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.send-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.send-button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.send-button:focus-visible,
.assistant-actions button:focus-visible,
.home-sidebar-toggle:focus-visible,
.new-chat-button:focus-visible,
.quick-action-grid button:focus-visible,
.sidebar-history button:focus-visible,
.sidebar-help:focus-visible,
.quote-tab:focus-visible,
.more-details-toggle:focus-visible,
.instant-quote-button:focus-visible,
.view-more-rates:focus-visible,
.ddp-rate-row:focus-visible,
.warehouse-actions button:focus-visible,
.warehouse-tab:focus-visible,
.warehouse-filter-card button:focus-visible,
.warehouse-empty-state button:focus-visible,
.warehouse-modal button:focus-visible,
.tracking-search button:focus-visible,
.tracking-filter:focus-visible,
.shipment-card:focus-visible,
.map-toolbar button:focus-visible,
.signup-button:focus-visible,
.login-link:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid rgba(255, 90, 0, 0.25);
  outline-offset: 3px;
}

.quote-page {
  padding: 90px 0 124px;
}

.quote-hero {
  text-align: center;
}

.quote-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 49px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.quote-hero h1 span {
  color: var(--orange);
}

.quote-hero p {
  max-width: 580px;
  margin: 22px auto 0;
  color: #56627a;
  font-size: 18px;
  line-height: 1.55;
}

.freight-quote-card {
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid #eadfd8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 15px 34px rgba(23, 34, 55, 0.08);
}

.quote-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid #e7e3df;
}

.quote-tab {
  min-height: 53px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #56627a;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.quote-tab-active {
  border-bottom-color: var(--orange);
  color: #b64800;
  background: #fff8f4;
}

.freight-form {
  padding: 21px 24px 20px;
}

.quote-mode-panel[hidden] {
  display: none;
}

.ocean-freight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: -21px -24px 0;
  border-top: 1px solid #e7e3df;
  border-bottom: 1px solid #edf0f3;
}

.ocean-route-panel {
  display: grid;
  gap: 14px;
  padding: 24px 28px 28px;
}

.ocean-route-panel-destination {
  border-left: 1px solid #e7e3df;
}

.ocean-route-panel h2 {
  margin: 0 0 2px;
  color: #34405a;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.freight-field b {
  color: #e54213;
  font-weight: 900;
}

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

.freight-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.freight-field > span:first-child {
  color: #5e6880;
  font-size: 11px;
  font-weight: 850;
}

.input-shell,
.freight-field > input,
.freight-field > select,
.freight-field > textarea {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #dfe3e8;
  border-radius: 7px;
  color: #202429;
  background: #f9fafb;
  font-size: 15px;
}

.input-shell {
  gap: 10px;
  padding: 0 13px;
}

.input-shell svg,
.input-shell-select > svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #647087;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.input-shell input,
.input-shell select,
.freight-field > input,
.freight-field > select,
.freight-field > textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  color: #202429;
  background: transparent;
  font: inherit;
  outline: none;
}

.freight-field > input,
.freight-field > select,
.freight-field > textarea {
  padding: 0 12px;
}

.freight-field > textarea {
  min-height: 84px;
  padding: 14px 12px;
  resize: vertical;
  line-height: 1.45;
}

.input-shell input::placeholder,
.freight-field > input::placeholder,
.freight-field > textarea::placeholder {
  color: #8a94a7;
}

.input-shell-select {
  justify-content: space-between;
}

.input-shell-select select,
.freight-field select {
  appearance: none;
}

.more-details-divider {
  position: relative;
  display: grid;
  place-items: center;
  margin: 21px 0 0;
  border-top: 1px solid #eee6e0;
}

.more-details-toggle {
  position: relative;
  top: -1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  color: #d14b00;
  background: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.more-details-toggle-open {
  color: #d14b00;
}

.more-details-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.more-details-toggle-open svg {
  transform: rotate(180deg);
}

.quote-more-details {
  overflow: hidden;
  margin-top: -2px;
  padding: 0 20px 24px;
  border: 1px solid #e7e3df;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.quote-more-details[hidden] {
  display: none;
}

.quote-more-details p {
  margin: 0 0 18px;
  color: #7b869b;
  text-align: center;
  font-size: 12px;
}

.more-details-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 24px;
}

.more-details-grid .freight-field {
  grid-column: span 2;
}

.more-details-grid .upload-field,
.more-details-grid .ocean-cargo-field,
.more-details-grid .ocean-notes-field {
  grid-column: span 3;
}

.quote-more-panel[hidden] {
  display: none;
}

.upload-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 84px;
  border: 1px dashed #cbd4df;
  border-radius: 6px;
  color: #66728a;
  background: #ffffff;
  font-size: 13px;
  cursor: pointer;
}

.upload-dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-dropzone em {
  font-style: normal;
}

.instant-quote-button {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 20px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: var(--orange);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(255, 90, 0, 0.16);
  transition: background 160ms ease, transform 160ms ease;
}

.instant-quote-button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.quote-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.rates-card {
  overflow: hidden;
  border: 1px solid #eadfd8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 34, 55, 0.06);
}

.rates-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 20px 24px 15px;
}

.rates-header h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: #202429;
  font-size: 23px;
  line-height: 1.15;
}

.rate-title-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(23, 34, 55, 0.08);
}

.fcl-title-icon {
  color: #005cff;
  background: #eef4ff;
}

.ddp-title-icon {
  color: #ff4f16;
  background: #fff2eb;
}

.rate-title-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.rates-header p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0 0 54px;
  color: #5b6680;
  font-size: 12px;
  font-weight: 750;
}

.rate-update-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #005cff;
}

.rates-header > span {
  color: #5b6680;
  font-size: 11px;
  font-weight: 800;
}

.best-value-badge {
  align-self: center;
  padding: 6px 10px;
  border-radius: 7px;
  color: #ffffff !important;
  background: #b94f00;
  font-size: 11px !important;
}

.rates-table {
  display: grid;
}

.rates-row {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.7fr 0.7fr 0.8fr 0.6fr 1fr 1.55fr;
  align-items: center;
  min-height: 72px;
  padding: 0 24px;
  border-top: 1px solid #edf0f3;
  color: #202429;
  font-size: 14px;
  column-gap: 12px;
}

.rates-row-head {
  min-height: 34px;
  color: #5f6a81;
  background: #f5f6f8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rates-row strong {
  display: block;
  font-size: 15px;
}

.rates-row em,
.ddp-rate-row em {
  display: inline-flex;
  width: fit-content;
  margin-top: 5px;
  padding: 4px 6px;
  border-radius: 4px;
  color: #ffffff;
  background: #b94f00;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.rates-row b {
  color: #202429;
  font-size: 16px;
}

.rates-row:first-of-type b {
  color: #b94f00;
}

.route-rates-table {
  overflow-x: auto;
}

.route-rates-table .rates-row {
  min-width: 540px;
  min-height: 78px;
  font-size: 14px;
  text-transform: none;
}

.route-rates-table .rates-row-head {
  min-height: 48px;
  font-size: 11px;
  letter-spacing: 0;
}

.fcl-rates-table .rates-row {
  grid-template-columns: minmax(210px, 1.45fr) 0.62fr 0.62fr 0.62fr minmax(108px, 0.82fr);
}

.ddp-route-table .rates-row {
  grid-template-columns: minmax(115px, 0.9fr) minmax(135px, 1fr) minmax(112px, 0.8fr) minmax(122px, 0.9fr);
}

.route-rates-table button.rates-row {
  width: 100%;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: #ffffff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.route-rates-table button.rates-row:hover,
.route-rates-table button.rates-row:focus-visible {
  background: #fffaf7;
  outline: none;
}

.route-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.route-cell svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #005cff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.route-cell strong {
  min-width: 0;
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.rates-row .transit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 31px;
  margin: 0;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.rates-row .transit-pill-blue {
  color: #005cff;
  background: #e9f1ff;
}

.rates-row .transit-pill-orange {
  color: #ff4f16;
  background: #ffece4;
}

.rate-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
}

.rate-actions button {
  min-height: 28px;
  border: 1px solid #14386b;
  border-radius: 4px;
  color: #14386b;
  background: #ffffff;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.rate-actions button:last-child {
  color: #ffffff;
  background: #0d376f;
}

.view-more-rates {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-top: 1px solid #edf0f3;
  color: #0d376f;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.view-more-rates svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.view-more-rates.is-expanded svg {
  transform: rotate(180deg);
}

.ddp-rates-card {
  background: #fffdfb;
}

.ddp-rate-list {
  display: grid;
}

.ddp-rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 0.7fr 0.55fr 18px;
  align-items: center;
  gap: 14px;
  min-height: 73px;
  padding: 0 24px;
  border: 0;
  border-top: 1px solid #edf0f3;
  color: #202429;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.ddp-rate-highlight {
  background: #fff7f1;
}

.ddp-rate-row > span:first-child {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.ddp-rate-row svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #536079;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ddp-rate-highlight svg,
.ddp-rate-highlight b {
  color: #b94f00;
  stroke: #b94f00;
}

.ddp-rate-row strong {
  font-size: 15px;
}

.ddp-rate-row > span:nth-child(2) {
  color: #5c6680;
  font-size: 15px;
}

.ddp-rate-row b {
  justify-self: end;
  font-size: 15px;
}

.ddp-rate-row i {
  color: #7f889a;
  font-style: normal;
  font-size: 24px;
}

.warehouse-page {
  padding: 58px 17px 78px;
}

.warehouse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.warehouse-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.15;
}

.warehouse-head p {
  max-width: 510px;
  margin: 11px 0 0;
  color: #59647a;
  font-size: 16px;
  line-height: 1.5;
}

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

.warehouse-actions button,
.warehouse-primary,
.warehouse-filter-card button,
.warehouse-modal button {
  min-height: 42px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.warehouse-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 166px;
  padding: 0 16px;
  border: 1px solid #e5bda8;
  color: #596177;
  background: #ffffff;
}

.warehouse-actions .warehouse-primary,
.warehouse-primary {
  border: 0;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 10px 18px rgba(255, 90, 0, 0.14);
}

.warehouse-actions svg,
.warehouse-primary svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.free-storage-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 53px;
  margin-top: 62px;
  padding: 0 17px;
  border: 1px solid #f3cbb7;
  border-radius: 9px;
  color: var(--orange);
  background: #fff8f4;
  font-size: 14px;
}

.free-storage-alert svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.warehouse-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
  margin: 33px 12px 0;
}

.warehouse-stats article {
  min-height: 116px;
  padding: 25px 24px;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 34, 55, 0.06);
}

.warehouse-stats span {
  display: block;
  color: #5f697f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.warehouse-stats strong {
  display: block;
  margin-top: 10px;
  color: #202429;
  font-size: 32px;
  line-height: 1.1;
}

.estimated-cost-card {
  border: 1px solid #efc7b2;
  background: #fff8f4 !important;
}

.estimated-cost-card span,
.estimated-cost-card strong {
  color: #9e4100;
}

.warehouse-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 29px;
  margin: 66px 12px 0;
  border-bottom: 1px solid #e9ecef;
}

.warehouse-tab {
  min-height: 37px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #59647a;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.warehouse-tab-active {
  color: #a84708;
  border-bottom-color: #a84708;
  font-weight: 850;
}

.warehouse-filter-card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 16px;
  padding: 24px;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 13px 28px rgba(23, 34, 55, 0.06);
}

.warehouse-filter-card label,
.warehouse-modal label {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.warehouse-filter-card span,
.warehouse-modal label span {
  color: #59647a;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.warehouse-filter-card input,
.warehouse-filter-card select,
.warehouse-modal input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #eadfd8;
  border-radius: 7px;
  color: #202429;
  background: #f9fafb;
  padding: 0 12px;
  font-size: 15px;
  outline: none;
}

.warehouse-filter-card input:focus,
.warehouse-filter-card select:focus,
.warehouse-modal input:focus {
  border-color: #ffb68a;
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.1);
}

.warehouse-filter-actions {
  grid-column: 4 / 6;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 18px;
}

.warehouse-filter-actions button {
  min-width: 94px;
  border: 0;
  color: #596177;
  background: transparent;
}

.warehouse-filter-actions button:last-child {
  color: #202429;
  background: #eef0f2;
}

.warehouse-inventory-card {
  margin-top: 18px;
  min-height: 505px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 13px 28px rgba(23, 34, 55, 0.06);
}

.warehouse-empty-state {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 505px;
  padding: 40px;
  text-align: center;
}

.empty-box-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  color: #5d6677;
  background: #ebedef;
}

.empty-box-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.warehouse-empty-state h2 {
  margin: 34px 0 0;
  color: #202429;
  font-size: 24px;
}

.warehouse-empty-state p {
  margin: 13px 0 0;
  color: #59647a;
  font-size: 16px;
  line-height: 1.5;
}

.warehouse-empty-state .warehouse-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 237px;
  margin-top: 39px;
}

.warehouse-table-wrap {
  overflow: auto;
  padding: 24px;
}

.warehouse-table-wrap[hidden],
.warehouse-empty-state[hidden] {
  display: none;
}

.warehouse-table-header,
.warehouse-table-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr 0.8fr 1fr 1fr;
  gap: 14px;
  align-items: center;
  min-width: 820px;
}

.warehouse-table-header {
  min-height: 40px;
  color: #59647a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.warehouse-table-row {
  min-height: 68px;
  border-top: 1px solid #edf0f3;
  color: #202429;
  font-size: 13px;
}

.warehouse-status-pill {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #a84708;
  background: #fff0e5;
  font-size: 11px;
  font-weight: 850;
}

.warehouse-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 34, 55, 0.42);
}

.warehouse-modal[hidden] {
  display: none;
}

.warehouse-modal-card {
  width: min(560px, 100%);
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 34, 55, 0.26);
}

.warehouse-modal header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: #ffffff;
  background: #202429;
}

.warehouse-modal header p {
  margin: 0;
  color: #ffb68a;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.warehouse-modal h2 {
  margin: 5px 0 0;
  font-size: 22px;
}

#closeWarehouseModal {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

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

.warehouse-modal-wide {
  grid-column: 1 / -1;
}

#warehouseModalSubmit {
  grid-column: 1 / -1;
  border: 0;
}

.tracking-page {
  padding: 56px 0 124px;
}

.tracking-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.tracking-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  font-weight: 850;
  line-height: 1.08;
}

.tracking-hero p {
  margin: 19px auto 0;
  color: #58647a;
  font-size: 18px;
  line-height: 1.55;
}

.tracking-search {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  width: min(862px, 100%);
  min-height: 84px;
  margin: 50px auto 0;
  padding: 0 16px 0 28px;
  border: 1px solid #f0ded5;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 28, 38, 0.11);
}

.tracking-search > svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #5d687e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.tracking-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: #26303d;
  background: transparent;
  font-size: 18px;
  outline: none;
}

.tracking-search input::placeholder {
  color: #a4adbd;
}

.tracking-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 217px;
  height: 49px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--orange);
  font-size: 16px;
  font-weight: 820;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.tracking-search button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.tracking-search button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.recent-tracked {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0 0;
  color: #586277;
  font-size: 12px;
  font-weight: 800;
}

.recent-tracked button {
  border: 0;
  color: #a9450d;
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.tracking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 56px 0 12px;
}

.tracking-filter {
  min-height: 29px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #5f6670;
  background: #e7e7e8;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.tracking-filter-active {
  color: #ffffff;
  background: var(--orange);
}

.tracking-filter-alert {
  color: #d72117;
  border-color: #d9adb0;
}

.tracking-dashboard {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr) 270px;
  gap: 20px 24px;
  align-items: start;
}

.shipment-list-panel,
.status-panel,
.shipment-detail-panel {
  border: 1px solid #eadfd8;
  border-radius: 13px;
  background: #ffffff;
}

.shipment-list-panel {
  grid-column: 1;
  grid-row: 1 / 3;
  overflow: hidden;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 14px 19px 16px;
}

.panel-title-row h2,
.status-heading h2,
.shipment-detail-panel h2 {
  margin: 0;
  color: #23272d;
  font-size: 16px;
  line-height: 1.2;
}

.panel-title-row span {
  color: #657087;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.6px;
}

.shipment-list {
  display: grid;
  gap: 14px;
  padding: 0 12px 70px;
}

.shipment-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  min-height: 163px;
  padding: 14px 14px 12px;
  border: 1px solid #eadfd8;
  border-radius: 12px;
  color: inherit;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.shipment-card-active {
  border-color: #b64d0c;
  background: #fffaf7;
  box-shadow: inset 0 0 0 1px rgba(255, 90, 0, 0.32);
}

.shipment-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 8px;
  color: #566176;
  background: #f1f2f4;
}

.shipment-icon-sea {
  color: #b95110;
  background: #fff5ed;
}

.shipment-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shipment-main,
.shipment-topline,
.shipment-tags,
.shipment-metrics {
  min-width: 0;
}

.shipment-main {
  display: grid;
  gap: 8px;
}

.shipment-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.shipment-topline strong {
  overflow-wrap: anywhere;
  color: #202429;
  font-size: 15px;
  line-height: 1.25;
}

.shipment-topline em {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--orange);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.shipment-topline .status-departed {
  color: #5d6685;
  background: #dfe4f4;
}

.shipment-topline .status-exception {
  color: #d72117;
  background: #ffe1df;
}

.shipment-route {
  color: #68738a;
  font-size: 12px;
  font-weight: 700;
}

.shipment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee5df;
}

.shipment-tags span {
  padding: 4px 8px;
  border-radius: 7px;
  color: #60656e;
  background: #eeeeef;
  font-size: 10px;
}

.shipment-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
  gap: 10px 14px;
  padding-top: 10px;
  border-top: 1px solid #eee5df;
}

.shipment-metrics span:first-child {
  grid-column: 1 / -1;
}

.shipment-metrics span {
  min-width: 0;
  color: #1f242b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.shipment-metrics small {
  display: block;
  margin-bottom: 3px;
  color: #647087;
  font-size: 10px;
  font-weight: 750;
}

.money-due {
  color: #d51611;
}

.money-paid {
  color: #12a44c;
}

.tracking-center {
  display: contents;
}

.status-panel {
  grid-column: 2;
  grid-row: 1;
  min-height: 292px;
  padding: 32px 24px 24px;
}

.status-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.status-heading h2 {
  font-size: 22px;
}

.status-heading p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 11px 0 0;
  color: #5d657d;
  font-size: 13px;
  font-weight: 800;
}

#statusPill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--orange);
  font-size: 11px;
  font-weight: 850;
}

.status-meta {
  display: grid;
  gap: 5px;
  text-align: right;
}

.status-meta strong {
  color: #a2460d;
  font-size: 12px;
}

.status-meta span {
  color: #9ca5b5;
  font-size: 10px;
}

.status-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.timeline-line {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 22px;
  height: 4px;
  background: linear-gradient(90deg, #a94900 0 52%, #d9dde2 52% 100%);
}

.timeline-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #657087;
  text-align: center;
  font-size: 11px;
}

.timeline-step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 5px solid #ffffff;
  border-radius: 50%;
  color: #6b7485;
  background: #dfe3e8;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.timeline-step-done span,
.timeline-step-active span {
  color: #ffffff;
  background: #b95100;
}

.timeline-step-active span {
  box-shadow: 0 0 0 4px #f1e0d8;
}

.timeline-step svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.timeline-step strong {
  color: #2c3340;
  font-size: 11px;
  line-height: 1.2;
}

.timeline-step-active strong,
.timeline-step-active small {
  color: #c34f00;
}

.timeline-step small {
  color: #8994a5;
  font-size: 9px;
}

.shipment-detail-panel {
  grid-column: 3;
  grid-row: 1;
  padding: 24px 23px 20px;
}

.shipment-detail-panel h2 {
  color: #596177;
  font-size: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.shipment-detail-panel dl {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
}

.shipment-detail-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shipment-detail-panel dt {
  color: #626d85;
  font-size: 13px;
}

.shipment-detail-panel dd {
  margin: 0;
  color: #1f242b;
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.shipment-detail-panel dd span {
  padding: 4px 10px;
  border-radius: 999px;
  color: #733712;
  background: #fff0e5;
}

.shipment-detail-panel .detail-address-row {
  display: grid;
  gap: 8px;
}

.shipment-detail-panel .detail-address-row dt,
.shipment-detail-panel .detail-address-row dd {
  text-align: left;
}

.shipment-detail-panel .detail-address {
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff5ef;
  font-weight: 600;
  line-height: 1.35;
}

.shipment-detail-panel .detail-accent {
  color: #a9470d;
}

.shipment-detail-panel .detail-danger {
  color: #d51913;
}

.map-panel {
  grid-column: 2 / 4;
  grid-row: 2;
  min-height: 405px;
}

.tracking-map {
  position: relative;
  overflow: hidden;
  height: 405px;
  border: 0;
  border-radius: 0;
  background: #cfe9ef;
  cursor: grab;
  user-select: none;
}

.tracking-map.is-dragging {
  cursor: grabbing;
}

.map-canvas {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  transition: transform 160ms ease;
  will-change: transform;
}

.world-map {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.map-grid path {
  fill: none;
  stroke: rgba(112, 139, 171, 0.2);
  stroke-width: 1;
}

.land path {
  fill: #f7f8f7;
  stroke: #bfc8db;
  stroke-width: 2;
}

.route-lines path {
  fill: none;
  stroke: #ff5a00;
  stroke-dasharray: 8 7;
  stroke-linecap: round;
  stroke-width: 4;
}

.route-points circle {
  fill: #ffffff;
  stroke: #ff5a00;
  stroke-width: 5;
}

.map-labels text {
  fill: #58618a;
  font-size: 16px;
  font-weight: 850;
}

.map-toolbar {
  position: absolute;
  top: 15px;
  right: 14px;
  display: grid;
  overflow: hidden;
  border: 1px solid #dde2e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(20, 30, 45, 0.12);
}

.map-toolbar button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-bottom: 1px solid #e5e8ec;
  color: #2c3340;
  background: #ffffff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.map-toolbar button:last-child {
  border-bottom: 0;
}

.map-toolbar svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.map-legend {
  position: absolute;
  left: 16px;
  bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #465164;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(20, 30, 45, 0.08);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.floating-support {
  position: fixed;
  right: max(28px, calc((100vw - 1288px) / 2 + 28px));
  bottom: 98px;
  z-index: 40;
  display: grid;
  gap: 21px;
}

.floating-chat-button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(20, 30, 45, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-chat-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(20, 30, 45, 0.24);
}

.whatsapp-button {
  background: #22c75a;
}

.ai-chat-button {
  background: var(--orange);
}

.floating-chat-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ai-chat-button svg {
  fill: currentColor;
  stroke-width: 0;
}

.chat-window {
  position: fixed;
  right: max(28px, calc((100vw - 1288px) / 2 + 28px));
  bottom: 171px;
  z-index: 50;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(360px, calc(100vw - 32px));
  height: 468px;
  overflow: hidden;
  border: 1px solid #e1e6ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(20, 30, 45, 0.22);
}

.chat-window[hidden] {
  display: none;
}

.chat-window header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: #ffffff;
  background: #1f252d;
}

.chat-window header > div {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.chat-window h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.chat-window p {
  margin: 0;
}

.chat-window header p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.chat-window header button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

.chat-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
}

.chat-avatar-ai {
  background: var(--orange);
}

.chat-avatar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chat-avatar-ai svg {
  fill: currentColor;
  stroke-width: 0;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f6f7f8;
}

.chat-message {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
}

.chat-message-agent {
  align-self: flex-start;
  color: #303945;
  background: #ffffff;
  border: 1px solid #e5e9ef;
}

.chat-message-user {
  align-self: flex-end;
  color: #ffffff;
  background: var(--orange);
}

.chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #e5e9ef;
  background: #ffffff;
}

.chat-compose input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid #dfe5ec;
  border-radius: 999px;
  padding: 0 14px;
  color: #26303d;
  background: #ffffff;
  font-size: 13px;
  outline: none;
}

.chat-compose input:focus {
  border-color: #ffb68a;
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.1);
}

.chat-compose button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--orange);
  cursor: pointer;
}

.chat-compose svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (max-width: 1050px) {
  .header-inner {
    padding: 0 28px;
  }

  .brand {
    left: 28px;
  }

  .primary-nav {
    gap: 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .user-message {
    max-width: 560px;
  }

  .tracking-dashboard {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  }

  .status-panel {
    grid-column: 2;
    grid-row: 1;
  }

  .shipment-detail-panel {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .map-panel {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .shipment-detail-panel dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .warehouse-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .warehouse-actions {
    justify-content: flex-start;
  }

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

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

  .warehouse-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    position: static;
    flex-wrap: wrap;
    align-content: center;
    row-gap: 12px;
    padding: 16px 22px;
  }

  .brand,
  .auth-actions,
  .primary-nav {
    position: static;
    transform: none;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .auth-actions {
    gap: 16px;
  }

  main {
    padding: 0 20px 22px;
  }

  .hero {
    padding-top: 66px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .ask-page {
    margin: 0 -20px -22px;
    padding: 0 20px 22px;
  }

  .desktop-break {
    display: none;
  }

  .conversation-stage {
    min-height: 0;
    padding: 24px 18px 28px;
  }

  .ask-page.sidebar-open .home-content,
  .ask-page.sidebar-preview .home-content {
    margin-left: 0;
  }

  .ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar-toggle:hover) .home-content,
  .ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar:hover) .home-content {
    margin-left: 0;
  }

  .home-sidebar {
    left: 0;
    width: min(280px, calc(100vw - 40px));
  }

  .home-sidebar-toggle {
    left: 18px;
  }

  .ask-page.sidebar-open .home-sidebar-toggle,
  .ask-page.sidebar-preview .home-sidebar-toggle {
    left: min(220px, calc(100vw - 92px));
  }

  .ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar-toggle:hover) .home-sidebar-toggle,
  .ask-page:not(.sidebar-hover-suppressed):has(.home-sidebar:hover) .home-sidebar-toggle {
    left: min(220px, calc(100vw - 92px));
  }

  .user-message {
    max-width: 100%;
    margin-right: 0;
  }

  .assistant-row {
    gap: 14px;
    margin-left: 0;
  }

  .shipping-options {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .builder-topbar,
  .builder-grid,
  .contact-strip {
    grid-template-columns: 1fr;
    display: grid;
  }

  .builder-topbar {
    justify-content: stretch;
  }

  .builder-badge {
    justify-self: start;
  }

  .field-grid,
  .field-grid-compact,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .option-card {
    min-height: auto;
  }

  .tracking-page {
    padding-top: 44px;
  }

  .tracking-hero h1 {
    font-size: 40px;
  }

  .tracking-search {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 14px 16px;
  }

  .tracking-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .tracking-dashboard {
    grid-template-columns: 1fr;
  }

  .status-panel,
  .shipment-detail-panel,
  .map-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .status-heading {
    display: grid;
  }

  .status-meta {
    text-align: left;
  }

  .tracking-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .tracking-filter {
    flex: 0 0 auto;
  }

  .quote-results,
  .freight-grid,
  .ocean-freight-grid,
  .more-details-grid {
    grid-template-columns: 1fr;
  }

  .ocean-route-panel-destination {
    border-top: 1px solid #e7e3df;
    border-left: 0;
  }

  .more-details-grid .freight-field,
  .more-details-grid .upload-field,
  .more-details-grid .notes-field {
    grid-column: 1;
  }

  .rates-row {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    overflow-x: auto;
  }

  .fcl-rates-table .rates-row {
    grid-template-columns: minmax(210px, 1.45fr) 0.62fr 0.62fr 0.62fr minmax(108px, 0.82fr);
  }

  .ddp-route-table .rates-row {
    grid-template-columns: minmax(115px, 0.9fr) minmax(135px, 1fr) minmax(112px, 0.8fr) minmax(122px, 0.9fr);
  }

  .warehouse-page {
    padding-left: 0;
    padding-right: 0;
  }

  .warehouse-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 22px;
    padding-bottom: 2px;
  }

  .warehouse-tab {
    flex: 0 0 auto;
  }
}

@media (max-width: 600px) {
  .app-frame {
    min-height: 100vh;
  }

  .header-inner {
    padding: 14px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 52px;
  }

  .signup-button {
    min-width: 86px;
    height: 34px;
  }

  main {
    padding: 0 12px 18px;
  }

  .hero {
    padding: 46px 8px 34px;
  }

  .eyebrow {
    height: auto;
    min-height: 28px;
    padding: 6px 12px;
    font-size: 10px;
  }

  .hero h1 {
    margin-top: 30px;
    font-size: 32px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero p {
    margin-top: 22px;
    font-size: 14px;
  }

  .quote-shell {
    border-radius: 11px;
  }

  .quote-shell {
    width: 100%;
  }

  .ask-page {
    margin: 0 -12px -18px;
    padding: 0 12px 18px;
  }

  .user-message {
    min-height: auto;
    max-width: 100%;
    margin-right: 0;
    padding: 16px 18px;
    font-size: 13px;
    border-radius: 14px;
  }

  .assistant-row {
    display: block;
  }

  .assistant-avatar {
    margin: 0 0 12px;
  }

  .assistant-card {
    padding: 18px 16px;
  }

  .assistant-actions {
    gap: 9px;
  }

  .assistant-actions button {
    flex: 1 1 140px;
    padding: 0 16px;
  }

  .prompt-panel {
    padding: 20px 14px 16px;
  }

  .prompt-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .prompt-chips button {
    flex: 0 0 auto;
  }

  .quote-input {
    min-height: 74px;
    padding: 20px 54px 14px 16px;
  }

  .quote-input label {
    left: 16px;
  }

  .quote-input input {
    font-size: 14px;
  }

  .tracking-page {
    padding-bottom: 92px;
  }

  .tracking-hero h1 {
    font-size: 34px;
  }

  .tracking-hero p {
    font-size: 14px;
  }

  .tracking-search input {
    font-size: 15px;
  }

  .shipment-list {
    padding-bottom: 20px;
  }

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

  .shipment-metrics,
  .shipment-detail-panel dl {
    grid-template-columns: 1fr;
  }

  .status-panel {
    min-height: 0;
    padding: 24px 18px;
  }

  .status-timeline {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .timeline-line {
    display: none;
  }

  .timeline-step {
    grid-template-columns: 48px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .timeline-step small {
    grid-column: 2;
  }

  .tracking-map {
    height: 310px;
  }

  .map-legend {
    left: 10px;
    right: 10px;
    border-radius: 8px;
  }

  .floating-support {
    right: 16px;
    bottom: 72px;
  }

  .floating-chat-button {
    width: 50px;
    height: 50px;
  }

  .chat-window {
    right: 12px;
    bottom: 132px;
    width: calc(100vw - 24px);
    height: 430px;
  }

  .quote-page {
    padding-top: 48px;
  }

  .quote-hero h1 {
    font-size: 34px;
  }

  .quote-hero p {
    font-size: 14px;
  }

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

  .freight-form {
    padding: 18px 14px;
  }

  .ddp-rate-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .ddp-rate-row b,
  .ddp-rate-row i {
    justify-self: start;
  }

  .warehouse-head h1 {
    font-size: 30px;
  }

  .warehouse-head p {
    font-size: 14px;
  }

  .warehouse-actions,
  .warehouse-actions button {
    width: 100%;
  }

  .free-storage-alert {
    align-items: flex-start;
    margin-top: 32px;
    padding: 14px;
  }

  .warehouse-stats,
  .warehouse-filter-card,
  .warehouse-modal form {
    grid-template-columns: 1fr;
  }

  .warehouse-stats {
    margin-left: 0;
    margin-right: 0;
  }

  .warehouse-tabs {
    margin-left: 0;
    margin-right: 0;
  }

  .warehouse-filter-card {
    padding: 18px;
  }

  .warehouse-filter-actions {
    justify-content: stretch;
  }

  .warehouse-filter-actions button {
    flex: 1;
  }

  .warehouse-empty-state {
    min-height: 420px;
    padding: 28px 18px;
  }

  .warehouse-empty-state h2 {
    font-size: 22px;
  }

  .warehouse-modal-wide,
  #warehouseModalSubmit {
    grid-column: 1;
  }
}
