:root {
  --bar: #0a1e2a;
  --subbar: #102a3a;
  --bg: #f1f4f4;
  --surface: #ffffff;
  --surface-alt: #f7f9f9;
  --plate: #edf3f3;
  --border: #d5dfdf;
  --border-strong: #b9c9c9;
  --ink: #11232b;
  --muted: #526770;
  --link: #00667a;
  --link-hover: #004c5c;
  --accent: #0a6b65;
  --accent-hover: #075550;
  --amber: #eea52b;
  --amber-hover: #df9418;
  --amber-ink: #0f1f26;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.aq-dark {
  color-scheme: dark;
  --bar: #05131c;
  --subbar: #0a1f2d;
  --bg: #08131a;
  --surface: #0e1f2a;
  --surface-alt: #132836;
  --plate: #0b1922;
  --border: #1d3645;
  --border-strong: #294c60;
  --ink: #e4f0ee;
  --muted: #8da6b0;
  --link: #38bdf8;
  --link-hover: #7dd3fc;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --amber: #f3ad3d;
  --amber-hover: #e19924;
  --amber-ink: #07131a;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body.has-topbar {
  margin: 0;
  background: var(--bg) !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-size: 14px;
  line-height: 1.48;
  -webkit-font-smoothing: antialiased;
}

body.has-topbar a {
  color: inherit;
  text-decoration: none;
}

body.has-topbar button,
body.has-topbar input,
body.has-topbar select,
body.has-topbar textarea {
  font-family: var(--sans);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 14px;
  padding: 8px 12px;
  background: #ffffff;
  color: #0a1e2a;
  border-radius: 4px;
  font-weight: 700;
  z-index: 400;
}
.skip-link:focus {
  top: 10px;
}

.topbar-shell {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--bar) !important;
  color: #f0f7f8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.topbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar .brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.topbar .brand img {
  display: block;
  height: 34px;
  width: auto !important;
  object-fit: contain;
  background: transparent !important;
  padding: 0 !important;
}

.omni-search {
  flex: 1;
  min-width: 200px;
  max-width: 700px;
  height: 38px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid transparent;
}
.omni-search:focus-within {
  border-color: var(--amber);
}
.omni-select {
  appearance: none;
  -webkit-appearance: none;
  height: 34px !important;
  min-height: 0 !important;
  line-height: 1 !important;
  max-width: 140px;
  border: 0 !important;
  border-right: 1px solid #d5dfdf !important;
  border-radius: 0 !important;
  background: #eef3f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316303b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center !important;
  color: #16303b !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 0 26px 0 10px !important;
  cursor: pointer;
}
.omni-input {
  flex: 1;
  min-width: 0;
  height: 34px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #11232b !important;
  padding: 0 11px !important;
  font-size: 13.5px !important;
  outline: none !important;
}
.omni-input::placeholder {
  color: #5c717a !important;
}
.omni-btn {
  width: 44px;
  height: 34px;
  border: 0;
  background: var(--amber) !important;
  color: var(--amber-ink) !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.omni-btn:hover {
  background: var(--amber-hover) !important;
}
.omni-btn svg {
  width: 18px;
  height: 18px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.topbar-btn {
  height: 34px;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid rgba(94, 234, 212, 0.32);
  background: rgba(45, 212, 191, 0.12);
  color: #ccfbf1 !important;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}
.topbar-btn:hover {
  background: rgba(45, 212, 191, 0.22);
}
.topbar-btn svg {
  width: 14px;
  height: 14px;
  color: #5eead4;
}

.theme-slot {
  display: inline-flex;
  align-items: center;
}
.theme-slot #aq-theme-toggle {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  box-shadow: none !important;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border-radius: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #e6f4f4 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.theme-slot #aq-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.lang-toggle-btn {
  height: 34px;
  min-width: 36px;
  padding: 0 9px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f0f7f8 !important;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}
.lang-toggle-btn[aria-pressed="true"] {
  background: rgba(238, 165, 43, 0.2);
  border-color: rgba(238, 165, 43, 0.55);
  color: #fde68a !important;
}

html[data-lang="te"] {
  --sans: "Noto Sans Telugu", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html[data-lang]:not([data-lang="en"]) * {
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[data-lang]:not([data-lang="en"]) body.has-topbar {
  line-height: 1.6;
}

.topbar-link {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  color: #f0f7f8 !important;
  white-space: nowrap;
}
.topbar-link:hover {
  border-color: rgba(255, 255, 255, 0.25);
  text-decoration: none !important;
}
.topbar-link small {
  font-size: 10.5px;
  color: #9ebbc6;
  font-weight: 500;
}
.topbar-link strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.subnav {
  background: var(--subbar) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.subnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar {
  display: none;
}
.subnav-link {
  padding: 6px 9px;
  border-radius: 4px;
  color: #ddecef !important;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.subnav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  text-decoration: none !important;
}
.subnav-link.is-active,
.subnav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff !important;
  font-weight: 750;
}
.subnav-link.is-accent {
  color: #fcd34d !important;
  font-weight: 700;
}
.subnav-spacer {
  margin-left: auto;
}

body.has-topbar #aq-ai-launcher {
  display: none !important;
}

.hub-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.has-topbar a.hub-link {
  color: var(--link);
  font-size: 13px;
  font-weight: 700;
}

body.has-topbar a.hub-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.hub-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(300px, 1fr);
  align-items: start;
  gap: 16px;
}

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

.hub-catalog .panel-head,
.hub-market .panel-head {
  margin-bottom: 0;
}

.hub-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 10px 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.hub-offer:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.hub-offer-summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.hub-offer-image {
  flex: none;
  width: 84px;
  height: 72px;
  border-radius: 5px;
  background: var(--surface-alt);
  object-fit: cover;
}

.hub-offer-info {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hub-offer-info .listing-title {
  font-size: 18px;
}

.hub-offer-meta {
  margin: 4px 0;
  color: var(--muted);
}

.hub-offer-quote {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 6px;
  max-width: 220px;
  text-align: right;
}

.hub-offer-quote .stock-note {
  margin: 0;
}

.hub-offer-quote .btn-quote,
.hub-offer-actions .btn-sec {
  padding: 0 12px;
}

.hub-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-catalog .list-empty {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.panel-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
}
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.panel-head h1,
.panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.panel-head a,
.panel-head span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}
.panel-head a {
  color: var(--link);
  font-weight: 700;
}
.panel-head a:hover {
  text-decoration: underline;
}

.dept-code {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--plate);
  color: var(--accent);
  border: 1px solid var(--border);
}
.hub-market-section {
  padding-top: 12px;
}

.hub-market-section + .hub-market-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.hub-market-section h3 {
  margin: 0;
  font-size: 14px;
}

.hub-market-source {
  margin: 2px 0 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.hub-market-section .hub-link {
  display: inline-block;
  margin-top: 8px;
}

.hub-mandi-rates {
  margin: 0;
  font-size: 13px;
}

.hub-mandi-rates div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.hub-mandi-rates time {
  margin-inline-start: 5px;
  font-size: 12px;
  color: var(--muted);
}

.hub-mandi-rates dd {
  flex: none;
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.count-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.count-table th,
.count-table td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--border);
}
.count-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-alt);
}
.count-table th:last-child,
.count-table td:last-child {
  text-align: right;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink);
}
.count-table td:first-child {
  font-family: var(--mono);
  color: var(--muted);
  font-weight: 600;
}

.dispatch-list {
  display: flex;
  flex-direction: column;
}
.dispatch-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.dispatch-item:first-child {
  padding-top: 0;
}
.dispatch-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.dispatch-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 3px;
}
.dispatch-item a {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.dispatch-item a:hover {
  color: var(--link);
  text-decoration: underline;
}
.dispatch-item p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.workspace {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 14px;
}
.side-block h2 {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dept-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dept-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 6px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.dept-btn:hover {
  background: var(--surface-alt);
  color: var(--link);
}
.dept-btn.is-active {
  background: var(--bar);
  color: #ffffff;
  font-weight: 700;
}
html.aq-dark .dept-btn.is-active {
  background: var(--accent);
}
.dept-btn em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.dept-btn.is-active em {
  color: rgba(255, 255, 255, 0.8);
}

.dist-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dist-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 6px 8px;
  border-radius: 4px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dist-btn::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
}
.dist-btn:hover {
  background: var(--surface-alt);
}
.dist-btn.is-active {
  font-weight: 700;
  color: var(--link);
}
.dist-btn.is-active::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--surface);
}

.main-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-toolbar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.toolbar-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.toolbar-title h1,
.toolbar-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.status-count {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tool-select,
.tool-btn {
  height: 32px;
  line-height: 1;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.tool-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 26px 0 10px;
  background: var(--surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b7078' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
}
.tool-btn:hover {
  border-color: var(--link);
  color: var(--link);
}
.tool-btn.is-active {
  background: var(--bar);
  border-color: var(--bar);
  color: #ffffff;
}
html.aq-dark .tool-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
}
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  overflow: hidden;
}
.view-btn {
  width: 32px;
  height: 30px;
  border: 0;
  background: var(--surface-alt);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.view-btn svg {
  width: 15px;
  height: 15px;
}
.view-btn.is-active {
  background: var(--bar);
  color: #ffffff;
}
html.aq-dark .view-btn.is-active {
  background: var(--accent);
}

.listings-wrap.view-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.listings-wrap.view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.listing-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr) 224px;
  overflow: hidden;
}
.listings-wrap.view-grid .listing-row {
  grid-template-columns: 1fr;
}

.listing-media {
  background: var(--plate);
  border-right: 1px solid var(--border);
  position: relative;
  min-height: 164px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}
.listings-wrap.view-grid .listing-media {
  border-right: 0;
  border-bottom: 1px solid var(--border);
  height: 158px;
}
.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spec-plate {
  width: 100%;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--plate);
  color: var(--ink);
}
.spec-plate-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.spec-plate-code {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
  margin: 8px 0 4px;
}
.spec-plate-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.spec-plate-foot {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--border-strong);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.listing-mid {
  padding: 14px 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.listing-title {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
  color: var(--ink);
}
.listing-title a:hover {
  color: var(--link);
  text-decoration: underline;
}
.listing-byline {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.listing-byline a {
  color: var(--link);
  font-weight: 650;
}
.listing-byline a:hover {
  text-decoration: underline;
}
.listing-desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-top: auto;
}
.spec-cell {
  padding: 6px 9px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  background: var(--surface-alt);
}
.spec-cell span {
  color: var(--muted);
}
.spec-cell strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  text-align: right;
}

.quote-box {
  padding: 14px;
  border-left: 1px solid var(--border);
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.listings-wrap.view-grid .quote-box {
  border-left: 0;
  border-top: 1px solid var(--border);
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}
.price-num {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price-unit {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.stock-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.sample-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
  align-self: flex-start;
}
html.aq-dark .sample-tag {
  background: #33250c;
  color: #fcd34d;
  border-color: #92400e;
}

.btn-quote {
  height: 36px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--accent);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn-quote:hover {
  background: var(--accent-hover);
  text-decoration: none !important;
}
.quote-sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.btn-sec {
  height: 32px;
  padding: 0 12px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink) !important;
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sec:hover {
  border-color: var(--link);
  color: var(--link) !important;
  text-decoration: none !important;
}
.btn-sec.is-saved {
  background: #fff1f2;
  border-color: #fda4af;
  color: #be123c !important;
}
html.aq-dark .btn-sec.is-saved {
  background: #3b1320;
  border-color: #881337;
  color: #fda4af !important;
}

.list-empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

.quick-calc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
}

.hub-sourcing .calc-inputs label {
  justify-content: space-between;
  min-width: 0;
}

.hub-sourcing .calc-inputs input {
  min-width: 0;
  width: 100%;
}

.hub-sourcing .calc-output {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.calc-bar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.calc-bar-head h2 {
  margin: 0 0 2px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
}
.calc-bar-head p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}
.calc-tabs {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  overflow: hidden;
}
.calc-tab {
  border: 0;
  background: var(--surface-alt);
  color: var(--muted);
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}
.calc-tab.is-active {
  background: var(--bar);
  color: #ffffff;
}
html.aq-dark .calc-tab.is-active {
  background: var(--accent);
}

.calc-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.calc-panel[hidden] {
  display: none !important;
}
.calc-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
}
.calc-inputs label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.calc-inputs input {
  height: 36px;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--surface-alt);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
}
.calc-output {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 10px 12px;
  align-items: center;
}
.calc-output small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}
.calc-output strong {
  display: block;
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
}
.calc-bar-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.calc-bar-foot a {
  color: var(--link);
  font-weight: 700;
}
.calc-bar-foot a:hover {
  text-decoration: underline;
}

.catalog-disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  background: var(--bar) !important;
  color: #b7ccd4 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 16px 22px !important;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
}
.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 10px;
  display: block;
  background: transparent !important;
  padding: 0 !important;
}
.footer-col h3 {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 750;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #a9c1ca;
}
.footer-col a {
  display: block;
  font-size: 12.5px;
  color: #c7dce3 !important;
  padding: 3px 0;
}
.footer-col a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
.footer-inline-links {
  display: flex;
  gap: 14px;
}
.footer-meta {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #8eaab5;
}

.aq-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  margin-left: 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.mobile-dock {
  display: none;
}

body.has-topbar .eyebrow,
body.has-topbar .aq-sup-pill,
body.has-topbar .aq-sf-pill,
body.has-topbar .calc-kicker {
  display: none !important;
}

body.auth-page main.wrap {
  max-width: 520px !important;
  width: calc(100% - 24px) !important;
  margin: 28px auto 56px !important;
  padding: 0 !important;
}
body.auth-page .intro {
  display: none !important;
}
body.auth-page .layout {
  display: block !important;
}
body.auth-page .panel {
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  background: var(--surface) !important;
  padding: 24px !important;
}
body.auth-page .panel-head {
  display: block !important;
  margin-bottom: 16px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--border) !important;
}
body.auth-page .panel-head h2 {
  margin: 0 0 4px !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
}
body.auth-page .panel-head p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: var(--muted) !important;
}
body.auth-page .tabs {
  border-radius: 6px !important;
  margin: 0 0 16px !important;
}
body.auth-page .pane {
  padding: 0 !important;
}
body.auth-page .action,
body.auth-page .sso-btn,
body.auth-page input,
body.auth-page .phone-input-wrap {
  border-radius: 5px !important;
}
body.auth-page .radio-cards {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}
body.auth-page .radio-cards label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  min-height: 0 !important;
}
body.auth-page .radio-cards input[type="radio"] {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  flex: 0 0 17px !important;
  padding: 0 !important;
  margin: 2px 0 0 !important;
  border-radius: 50% !important;
}
body.auth-page .radio-cards label span {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}
body.auth-page .radio-cards strong {
  font-size: 13px !important;
  line-height: 1.25 !important;
  color: var(--text) !important;
}
body.auth-page .radio-cards small {
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  color: var(--muted) !important;
}
body.auth-page .panel.help {
  margin-top: 16px !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}
body.auth-page .panel.help::before {
  display: none !important;
}
body.auth-page .panel.help .eyebrow {
  color: #0b6e68 !important;
}
body.auth-page .panel.help h3 {
  color: var(--text) !important;
  margin: 8px 0 6px !important;
  font-size: 18px !important;
}
body.auth-page .panel.help > p {
  color: var(--muted) !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
body.auth-page .panel.help .help-steps {
  margin-top: 16px !important;
  gap: 14px !important;
}
body.auth-page .panel.help .help-step strong {
  color: var(--text) !important;
  display: block;
}
body.auth-page .panel.help .help-step p {
  color: var(--muted) !important;
  margin: 2px 0 0 !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}
body.auth-page .panel.help .help-step b {
  background: #e6f5f1 !important;
  color: #0a5f66 !important;
}
html.aq-dark body.auth-page .panel.help {
  background: #0d212c !important;
  border-color: #24485a !important;
  color: #e6f3f1 !important;
}
html.aq-dark body.auth-page .panel.help .eyebrow {
  color: #5eead4 !important;
}
html.aq-dark body.auth-page .panel.help h3,
html.aq-dark body.auth-page .panel.help .help-step strong {
  color: #f0f9f8 !important;
}
html.aq-dark body.auth-page .panel.help > p,
html.aq-dark body.auth-page .panel.help .help-step p {
  color: #b8d3d9 !important;
}
html.aq-dark body.auth-page .panel.help .help-step b {
  background: #143646 !important;
  color: #5eead4 !important;
}

body.dashboard-page .app-shell {
  max-width: 1400px !important;
  margin: 18px auto 48px !important;
  padding: 0 16px !important;
}
body.dashboard-page .welcome {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  padding: 18px 20px !important;
  box-shadow: none !important;
}
body.dashboard-page .welcome h1 {
  color: var(--ink) !important;
  font-size: 20px !important;
}
body.dashboard-page .welcome p {
  color: var(--muted) !important;
}
body.dashboard-page .welcome-art {
  display: none !important;
}
body.dashboard-page .welcome .btn-white {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}
body.dashboard-page .welcome .btn-glass {
  background: var(--surface-alt) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border-strong) !important;
}
body.dashboard-page .panel,
body.dashboard-page .stat,
body.dashboard-page aside.sidebar {
  border-radius: 6px !important;
  box-shadow: none !important;
  border: 1px solid var(--border) !important;
}
body.dashboard-page .side-nav a span {
  display: none !important;
}

body.aq-enquiry-page .aq-quotes-shell {
  max-width: 1400px !important;
  padding: 18px 16px 48px !important;
}
body.aq-enquiry-page .aq-quotes-hero {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  padding: 16px 20px !important;
  margin-bottom: 14px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.aq-enquiry-page .aq-quotes-hero h1 {
  font-size: 20px !important;
  color: var(--ink) !important;
  margin: 0 0 3px !important;
}
body.aq-enquiry-page .aq-quotes-hero p {
  color: var(--muted) !important;
  font-size: 13px !important;
  margin: 0 !important;
}
body.aq-enquiry-page .aq-quotes-actions {
  margin-top: 0 !important;
}
body.aq-enquiry-page .aq-quotes-actions .btn-soft {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
  border-radius: 5px !important;
}
body.aq-enquiry-page .aq-quotes-actions .btn-outline {
  background: var(--surface-alt) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 5px !important;
}
body.aq-enquiry-page .aq-panel,
body.aq-enquiry-page .aq-item,
body.aq-enquiry-page .aq-gate {
  border-radius: 6px !important;
  box-shadow: none !important;
  border: 1px solid var(--border) !important;
}
body.aq-enquiry-page .aq-item {
  padding: 0 !important;
  overflow: hidden;
}
body.aq-enquiry-page .aq-item > * {
  padding-left: 15px;
  padding-right: 15px;
}
body.aq-enquiry-page .aq-item-head {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 10px 15px !important;
  margin-bottom: 10px !important;
}
body.aq-enquiry-page .aq-item > :last-child {
  padding-bottom: 14px;
}
body.aq-enquiry-page .aq-money {
  font-family: var(--mono);
}

.product-dialog {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  max-width: 580px;
  width: calc(100% - 24px);
  background: var(--surface);
  color: var(--ink);
}
.product-dialog::backdrop {
  background: rgba(5, 19, 28, 0.65);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.dialog-inner {
  padding: 18px;
}
.dialog-inner h2 {
  margin: 4px 0 8px;
  font-size: 18px;
}
.dialog-inner dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 6px 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin: 12px 0;
  font-size: 13px;
}
.dialog-inner dt {
  color: var(--muted);
}
.dialog-inner dd {
  margin: 0;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .workspace {
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 14px;
  }
  .listing-row {
    grid-template-columns: 152px minmax(0, 1fr) 196px;
  }
  .calc-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 8px;
  }
  .omni-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }
  .topbar-link small {
    display: none;
  }
  .workspace {
    grid-template-columns: 1fr;
    padding: 12px 12px 76px;
  }
  .hub-shell {
    padding: 12px 12px 76px;
  }
  .hub-overview {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    order: 2;
  }
  .main-col {
    order: 1;
  }
  .listing-row {
    grid-template-columns: 1fr;
  }
  .listing-media {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    min-height: 130px;
  }
  .quote-box {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .listings-wrap.view-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer {
    padding-bottom: 76px !important;
  }
  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    z-index: 150;
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  .mobile-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 650;
    color: var(--muted) !important;
  }
  .mobile-dock a svg {
    width: 19px;
    height: 19px;
  }
  .mobile-dock a[aria-current="page"] {
    color: var(--accent) !important;
  }
}

@media (max-width: 520px) {
  .spec-grid,
  .calc-output,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .topbar-btn span {
    display: none;
  }
  .topbar-link-orders {
    display: none !important;
  }
  .hub-sourcing {
    gap: 16px;
  }
  .hub-offer {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 12px 0;
  }
  .hub-offer-quote {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    max-width: none;
    column-gap: 8px;
  }
  .hub-offer-quote .price-line {
    grid-row: 1 / span 2;
    justify-self: start;
    max-width: 145px;
  }
  .hub-offer-quote .stock-note,
  .hub-offer-quote .btn-quote {
    grid-column: 2;
  }
  .hub-sourcing .calc-bar-head {
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 10px;
  }
  .hub-sourcing .calc-panel {
    gap: 10px;
  }
  .hub-sourcing .calc-inputs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hub-sourcing [data-calc-panel="kcl"] .calc-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dash-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dash-account-bar .pill {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink-muted);
}
.dash-account-bar .btn {
  padding: 4px 10px;
  font-size: 11px;
  min-height: 28px;
}

.market-intro,
.market-departments {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.market-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  min-height: 268px;
  overflow: hidden;
}

.market-intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.market-intro-copy h1 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.market-intro-copy p {
  margin: 10px 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 48ch;
}

.market-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.market-cta-primary {
  height: 40px;
  padding: 0 20px;
  font-size: 13.5px;
}

.market-cta-secondary {
  height: 40px;
  padding: 0 16px;
  font-size: 13.5px;
}

.market-intro-meta {
  margin: 14px 0 0 !important;
  font-size: 12px !important;
  color: var(--muted) !important;
}

.market-intro-media {
  position: relative;
  min-height: 268px;
  height: 100%;
  overflow: hidden;
  background: #0c2633;
}

.market-intro-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.market-departments {
  padding: 16px 18px 18px;
}

.market-category-photos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.dept-photo-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-alt);
  overflow: hidden;
  transition: border-color 0.14s ease, transform 0.14s ease;
}

.dept-photo-card:hover {
  border-color: var(--link);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.dept-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--plate);
}

.dept-photo-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dept-photo-body {
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dept-photo-body strong {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.25;
}

.dept-photo-card:hover .dept-photo-body strong {
  color: var(--link);
}

.dept-photo-body span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}

@media (max-width: 1080px) {
  .market-category-photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .market-intro {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .market-intro-copy {
    padding: 20px 20px 18px;
  }

  .market-intro-media {
    min-height: 190px;
  }
}

@media (max-width: 600px) {
  .market-departments {
    padding: 12px;
  }

  .market-category-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dept-photo-body {
    padding: 8px;
  }
}

.mobile-filter-bar,
.sidebar-mobile-head {
  display: none;
}
.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--accent, #0a6b65);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}
@media (max-width: 860px) {
  .catalog-page .mobile-filter-bar {
    display: flex;
    position: sticky;
    top: 56px;
    z-index: 40;
    background: var(--bg, #f2f5f5);
    padding: 8px 0 6px;
  }
  .catalog-page .mobile-filter-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
  }
  .catalog-page .sidebar {
    display: none;
  }
  .catalog-page .sidebar.is-open {
    display: block;
    margin-bottom: 10px;
  }
  .catalog-page .sidebar-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }
}

.aq-lang-menu {
  position: fixed;
  top: 56px;
  right: 12px;
  width: 248px;
  max-width: calc(100vw - 24px);
  background: var(--surface, #ffffff);
  color: var(--ink, #11232b);
  border: 1px solid var(--border-strong, #b9c9c9);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(6, 26, 36, 0.24);
  padding: 8px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aq-lang-menu[hidden] {
  display: none !important;
}
.aq-lang-menu-head {
  padding: 5px 8px 7px;
  border-bottom: 1px solid var(--border, #d5dfdf);
  font-size: 11px;
  font-weight: 800;
  color: var(--muted, #526770);
  text-transform: uppercase;
}
.aq-lang-opt {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink, #11232b);
  border-radius: 7px;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}
.aq-lang-opt:hover {
  background: var(--surface-alt, #f7f9f9);
}
.aq-lang-opt.is-active {
  background: rgba(10, 107, 101, 0.12);
  border-color: var(--accent, #0a6b65);
  color: var(--accent, #0a6b65);
}
.aq-lang-opt-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aq-lang-pill {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  background: #fef3c7;
  color: #92400e;
}
.aq-lang-pill.is-verified {
  background: #dcfce7;
  color: #166534;
}
.aq-lang-feedback {
  margin-top: 4px;
  padding: 7px 8px 3px;
  border-top: 1px solid var(--border, #d5dfdf);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--link, #00667a);
  text-decoration: none;
}
.aq-lang-feedback:hover {
  text-decoration: underline;
}

.aq-notif-btn {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #e2f1f4 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.aq-notif-btn[hidden] {
  display: none !important;
}
.aq-notif-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.aq-notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #dc2626;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.aq-notif-badge[hidden] {
  display: none !important;
}
.aq-notif-menu {
  position: fixed;
  top: 56px;
  right: 12px;
  width: 340px;
  max-width: calc(100vw - 24px);
  max-height: min(72vh, 480px);
  background: var(--surface, #ffffff);
  color: var(--ink, #11232b);
  border: 1px solid var(--border-strong, #b9c9c9);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(6, 26, 36, 0.28);
  z-index: 9991;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.aq-notif-menu[hidden] {
  display: none !important;
}
.aq-notif-head {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border, #d5dfdf);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.aq-notif-head strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
}
.aq-notif-head small {
  display: block;
  font-size: 11px;
  color: var(--muted, #526770);
}
.aq-notif-markall {
  border: 1px solid var(--border-strong, #b9c9c9);
  background: var(--surface-alt, #f7f9f9);
  color: var(--link, #00667a);
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
}
.aq-notif-err {
  padding: 8px 12px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #fecaca;
}
.aq-notif-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.aq-notif-state {
  padding: 20px 14px;
  text-align: center;
  color: var(--muted, #526770);
  font-size: 12.5px;
}
.aq-notif-state strong {
  display: block;
  color: var(--ink, #11232b);
  margin-bottom: 4px;
}
.aq-notif-retry {
  margin-top: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  border: 0;
  background: var(--accent, #0a6b65);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.aq-notif-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--border, #d5dfdf);
  background: transparent;
  color: var(--ink, #11232b);
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.aq-notif-item:hover {
  background: var(--surface-alt, #f7f9f9);
}
.aq-notif-item.is-unread {
  background: rgba(10, 107, 101, 0.08);
  border-left: 3px solid var(--accent, #0a6b65);
}
.aq-notif-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.aq-notif-item-head strong {
  font-size: 12.5px;
  font-weight: 800;
}
.aq-notif-item-head span {
  font-size: 10.5px;
  color: var(--muted, #526770);
  white-space: nowrap;
}
.aq-notif-item p {
  margin: 0;
  font-size: 12px;
  color: var(--muted, #526770);
  line-height: 1.4;
}
.aq-notif-foot {
  padding: 9px 12px;
  text-align: center;
  border-top: 1px solid var(--border, #d5dfdf);
  font-size: 12px;
  font-weight: 800;
  color: var(--link, #00667a);
  background: var(--surface-alt, #f7f9f9);
}
.aq-notif-foot:hover {
  text-decoration: underline;
}
.catalog-sort-hint {
  grid-column: 1 / -1;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent, #0a6b65);
  background: var(--surface-alt, #f7f9f9);
  border: 1px solid var(--border, #d5dfdf);
  border-radius: 6px;
  padding: 7px 10px;
}
.catalog-unit-heading {
  grid-column: 1 / -1;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink, #11232b);
  padding: 8px 2px 2px;
  border-bottom: 1px solid var(--border, #d5dfdf);
}
.footer-inline-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 13px;
  color: #bce4e8;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-inline-btn:hover { color: #ffffff; }
.aq-support-dialog {
  width: min(520px, calc(100vw - 24px));
  max-height: min(88vh, 720px);
  border: 1px solid var(--border, #d5dfdf);
  border-radius: 14px;
  padding: 0;
  background: var(--surface, #ffffff);
  color: var(--ink, #11232b);
  box-shadow: 0 24px 64px rgba(6, 35, 48, 0.34);
  overflow: hidden;
}
.aq-support-dialog::backdrop {
  background: rgba(6, 26, 36, 0.62);
}
.aq-sup-head {
  background: linear-gradient(135deg, #06394c, #086870);
  color: #ffffff;
  padding: 15px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.aq-sup-head h2 { margin: 0 0 3px; font-size: 17px; font-weight: 800; color: #ffffff; }
.aq-sup-head p { margin: 0; font-size: 12px; color: #c7ece7; }
.aq-sup-close {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-weight: 700;
}
.aq-sup-body {
  padding: 16px 18px 20px;
  overflow-y: auto;
  max-height: calc(min(88vh, 720px) - 76px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aq-sup-context {
  padding: 9px 12px;
  border-radius: 8px;
  background: #eaf7f3;
  border: 1px solid #bce4dc;
  color: #094f5a;
  font-size: 12px;
  font-weight: 700;
}
.aq-sup-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aq-sup-form label {
  font-size: 12px;
  font-weight: 750;
  color: var(--ink, #11232b);
  margin-top: 4px;
}
.aq-sup-form input,
.aq-sup-form select,
.aq-sup-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-strong, #b9c9c9);
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
  font-size: 13px;
  background: var(--surface-alt, #f7f9f9);
  color: var(--ink, #11232b);
}
.aq-sup-status {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
}
.aq-sup-status.is-ok { background: #dcfce7; color: #166534; }
.aq-sup-status.is-err { background: #fee2e2; color: #991b1b; }
.aq-sup-submit { margin-top: 6px; width: 100%; }
.aq-sup-history { border-top: 1px solid var(--border, #d5dfdf); padding-top: 12px; }
.aq-sup-history h3 { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--ink, #11232b); }
.aq-sup-hist-list { display: flex; flex-direction: column; gap: 8px; }
.aq-sup-ticket {
  border: 1px solid var(--border, #d5dfdf);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--surface-alt, #f7f9f9);
}
.aq-sup-ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.aq-sup-ticket-top strong { font-size: 12.5px; color: var(--ink, #11232b); }
.aq-sup-ticket p { margin: 0; font-size: 12px; color: var(--muted, #526770); }
.aq-sup-reply { display: block; margin-top: 6px; font-size: 11.5px; color: var(--accent, #0a6b65); font-weight: 700; }
.aq-sup-badge { padding: 2px 7px; border-radius: 99px; font-size: 10px; font-weight: 800; background: #e2e8f0; color: #1e293b; }
.aq-sup-badge.st-open { background: #fef3c7; color: #92400e; }
.aq-sup-badge.st-reviewing { background: #e0f2fe; color: #075985; }
.aq-sup-badge.st-resolved { background: #dcfce7; color: #166534; }
.aq-sup-badge.st-dismissed { background: #f1f5f9; color: #475569; }
.aq-sup-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px 18px;
  background: var(--surface-alt, #f4f8f7);
  border-bottom: 1px solid var(--border, #d5dfdf);
}
.aq-sup-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted, #526770);
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.aq-sup-tab.is-active {
  background: var(--surface, #ffffff);
  color: #085e68;
  border-color: var(--border, #d5dfdf);
  box-shadow: 0 1px 4px rgba(8, 51, 58, 0.08);
}
.aq-sup-pane { display: flex; flex-direction: column; gap: 12px; }
.aq-sup-pane[hidden] { display: none !important; }
.aq-sup-list-head,
.aq-sup-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.aq-sup-list-head h3 { margin: 0; font-size: 13.5px; font-weight: 800; color: var(--ink, #11232b); }
.aq-sup-mini-btn {
  border: 1px solid var(--border-strong, #b9c9c9);
  background: var(--surface-alt, #f7f9f9);
  color: var(--ink, #11232b);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.aq-sup-mini-btn:hover { border-color: #0a6b65; color: #0a6b65; }
.aq-sup-ticket-btn {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.aq-sup-ticket-btn:hover { border-color: #0a6b65; background: #f0faf7; }
.aq-sup-ticket-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted, #526770);
}
.aq-sup-open-lbl { color: #0a6b65; font-weight: 800; }
.aq-sup-empty { margin: 8px 0; font-size: 12.5px; color: var(--muted, #526770); }
.aq-sup-thread-meta {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-alt, #f7f9f9);
  border: 1px solid var(--border, #d5dfdf);
}
.aq-sup-meta-sub { display: block; font-size: 11px; color: var(--muted, #526770); text-transform: capitalize; }
.aq-sup-thread-feed {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 290px;
  overflow-y: auto;
  padding: 4px 2px;
}
.aq-sup-bubble {
  border-radius: 10px;
  padding: 9px 12px;
  max-width: 90%;
  border: 1px solid var(--border, #d5dfdf);
}
.aq-sup-bubble.is-user {
  align-self: flex-end;
  background: #e9f8f4;
  border-color: #b7e4d8;
}
.aq-sup-bubble.is-admin {
  align-self: flex-start;
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.aq-sup-bubble-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--muted, #526770);
}
.aq-sup-bubble-head strong { color: var(--ink, #11232b); font-size: 11.5px; }
.aq-sup-bubble p { margin: 0; font-size: 12.5px; line-height: 1.48; color: var(--ink, #11232b); white-space: pre-wrap; word-break: break-word; }
.aq-sup-resolution-note {
  border-radius: 8px;
  padding: 9px 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  font-size: 12px;
  color: #065f46;
}
.aq-sup-resolution-note strong { display: block; margin-bottom: 2px; }
.aq-sup-resolution-note p { margin: 0; }
.aq-sup-reply-form { display: flex; flex-direction: column; gap: 8px; }
.aq-sup-reply-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-strong, #b9c9c9);
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
  font-size: 13px;
  background: var(--surface-alt, #f7f9f9);
  color: var(--ink, #11232b);
  resize: vertical;
}
.aq-sup-reply-btn { align-self: flex-end; min-width: 120px; }

#admin-support-panel { grid-column: 1 / -1; }
.admin-sup-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 24px 12px; }
.admin-sup-thread {
  margin: 10px 0;
  padding: 12px;
  border-radius: 10px;
  background: #f5faf9;
  border: 1px solid #d5e6e2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-sup-thread .aq-sup-thread-feed { max-height: 260px; }
.admin-sup-reply-row { display: flex; gap: 8px; align-items: flex-end; }
.admin-sup-reply-row textarea { flex: 1; min-height: 54px; margin: 0 !important; }
html.aq-dark .aq-support-dialog { background: #0b1f2b !important; color: #e6f3f1 !important; border-color: #24485a !important; }
html.aq-dark .aq-sup-tabs { background: #081822 !important; border-color: #24485a !important; }
html.aq-dark .aq-sup-tab { color: #9fc0c8 !important; }
html.aq-dark .aq-sup-tab.is-active { background: #123040 !important; color: #5eead4 !important; border-color: #24485a !important; }
html.aq-dark .aq-sup-context { background: #133443 !important; border-color: #285769 !important; color: #99f6e4 !important; }
html.aq-dark .aq-sup-form input,
html.aq-dark .aq-sup-form select,
html.aq-dark .aq-sup-form textarea,
html.aq-dark .aq-sup-reply-form textarea { background: #07161f !important; color: #f0f9f8 !important; border-color: #264a5c !important; }
html.aq-dark .aq-sup-ticket,
html.aq-dark .aq-sup-thread-meta,
html.aq-dark .aq-sup-mini-btn { background: #0e2430 !important; border-color: #24485a !important; color: #e6f3f1 !important; }
html.aq-dark .aq-sup-ticket-btn:hover { background: #143242 !important; border-color: #2dd4bf !important; }
html.aq-dark .aq-sup-bubble.is-user { background: #123642 !important; border-color: #255a68 !important; }
html.aq-dark .aq-sup-bubble.is-admin { background: #142736 !important; border-color: #2a4659 !important; }
html.aq-dark .aq-sup-bubble p,
html.aq-dark .aq-sup-bubble-head strong { color: #f0f9f8 !important; }
html.aq-dark .admin-sup-thread { background: #0a1d28 !important; border-color: #24485a !important; }

@keyframes aqPopIn {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes aqMenuIn {
  from { opacity: 0; transform: translateY(-4px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes aqFadeUp {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes aqSkelPulse {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.9; }
}
dialog.aq-support-dialog[open] {
  animation: aqPopIn 155ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
#aq-notif-menu:not([hidden]) {
  transform-origin: top right;
  animation: aqMenuIn 135ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
#aq-ai-drawer.is-open {
  animation: aqPopIn 160ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.aq-sup-pane:not([hidden]),
.aq-sup-bubble {
  animation: aqFadeUp 130ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.product-card,
.supplier-card,
.calc-card,
.btn-quote,
.btn,
.action,
.sso-btn,
.aq-sup-ticket-btn {
  transition: transform 110ms cubic-bezier(0.16, 1, 0.3, 1), border-color 130ms ease, background-color 130ms ease, box-shadow 130ms ease;
}
.btn-quote:active,
.btn:active,
.action:active,
.sso-btn:active,
.aq-sup-ticket-btn:active {
  transform: scale(0.985);
}
.aq-skel {
  animation: aqSkelPulse 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  dialog.aq-support-dialog[open],
  #aq-notif-menu:not([hidden]),
  #aq-ai-drawer.is-open,
  .aq-sup-pane:not([hidden]),
  .aq-sup-bubble,
  .aq-skel {
    animation: none !important;
  }
  .product-card,
  .supplier-card,
  .calc-card,
  .btn-quote,
  .btn,
  .action,
  .sso-btn,
  .aq-sup-ticket-btn {
    transition: none !important;
    transform: none !important;
  }
}

#aq-ai-launcher {
  position: fixed;
  right: 16px;
  bottom: 62px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid #0b6f6a;
  background: linear-gradient(135deg, #063d51, #007e78);
  color: #ffffff;
  font: 750 13px/1 "DM Sans", "Segoe UI", Arial, sans-serif;
  box-shadow: 0 8px 24px rgba(6, 52, 71, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#aq-ai-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 52, 71, 0.36);
}
#aq-ai-launcher .aq-ai-spark {
  font-size: 14px;
  color: #7ef2dd;
}

html.aq-dark #aq-ai-launcher {
  background: linear-gradient(135deg, #0d5263, #0d9488);
  border-color: #2dd4bf;
  color: #f0f9f8;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.52);
}

#aq-ai-drawer {
  position: fixed;
  right: 16px;
  bottom: 62px;
  z-index: 10020;
  width: min(410px, calc(100vw - 24px));
  height: min(590px, calc(100vh - 96px));
  background: #ffffff;
  color: #143448;
  border: 1px solid #d4e6e2;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(6, 35, 48, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
}
#aq-ai-drawer[hidden] {
  display: none !important;
}

.aq-ai-head {
  background: linear-gradient(135deg, #06394c, #086870);
  color: #ffffff;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.aq-ai-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aq-ai-title strong {
  font-size: 14px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aq-ai-title span {
  font-size: 11px;
  color: #bae8e2;
}
.aq-ai-head-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.aq-ai-icon-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.aq-ai-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.aq-ai-feed {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f5faf9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aq-ai-msg {
  max-width: 92%;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.52;
  white-space: pre-wrap;
  word-break: break-word;
}
.aq-ai-msg.user {
  align-self: flex-end;
  background: #07577a;
  color: #ffffff;
  border-bottom-right-radius: 4px;
}
.aq-ai-msg.bot {
  align-self: flex-start;
  background: #ffffff;
  color: #143448;
  border: 1px solid #dceae7;
  border-bottom-left-radius: 4px;
}
.aq-ai-cards {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}
.aq-ai-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #d4e6e2;
  color: #143448;
  text-decoration: none;
  font-size: 12px;
}
.aq-ai-card:hover {
  border-color: #008b82;
  text-decoration: none;
}
.aq-ai-card strong {
  color: #083a4b;
  font-size: 12.5px;
}
.aq-ai-card span {
  color: #56737c;
  font-size: 11px;
}
.aq-ai-card-test {
  display: inline-block;
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #fff4df;
  color: #8a5615;
  font-size: 10px;
  font-weight: 800;
}
.aq-ai-calc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 9px;
  background: #e6f6f2;
  border: 1px solid #bce4dc;
  color: #04686e;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  align-self: flex-start;
}
.aq-ai-calc-link:hover {
  background: #d7f1ea;
  text-decoration: none;
}
.aq-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aq-ai-chip {
  border: 1px solid #c9e1dc;
  background: #ffffff;
  color: #0b5161;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  text-align: left;
}
.aq-ai-chip:hover {
  background: #e8f7f3;
  border-color: #008b82;
}
.aq-ai-form {
  display: flex;
  gap: 8px;
  padding: 11px 12px;
  border-top: 1px solid #dceae7;
  background: #ffffff;
}
.aq-ai-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #cbd9dc;
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-size: 13px;
  background: #f9fcfb;
  color: #143448;
}
.aq-ai-form input:focus {
  outline: 2px solid #1fa399;
  outline-offset: 1px;
  background: #ffffff;
}
.aq-ai-form button {
  border: 0;
  border-radius: 10px;
  background: #007e78;
  color: #ffffff;
  padding: 0 15px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.aq-ai-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

html.aq-dark #aq-ai-drawer {
  background: #0b1f2b !important;
  color: #e6f3f1 !important;
  border-color: #24485a !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6) !important;
}
html.aq-dark .aq-ai-feed {
  background: #07161f !important;
}
html.aq-dark .aq-ai-msg.bot {
  background: #0e2430 !important;
  color: #e6f3f1 !important;
  border-color: #224455 !important;
}
html.aq-dark .aq-ai-msg.user {
  background: #0d9488 !important;
  color: #ffffff !important;
}
html.aq-dark .aq-ai-card {
  background: #0e2430 !important;
  border-color: #24485a !important;
  color: #dcebe9 !important;
}
html.aq-dark .aq-ai-card strong {
  color: #f0f9f8 !important;
}
html.aq-dark .aq-ai-card span {
  color: #9cb8c2 !important;
}
html.aq-dark .aq-ai-calc-link {
  background: #133443 !important;
  border-color: #285769 !important;
  color: #5eead4 !important;
}
html.aq-dark .aq-ai-chip {
  background: #0e2430 !important;
  border-color: #264a5c !important;
  color: #7eeadc !important;
}
html.aq-dark .aq-ai-chip:hover {
  background: #143646 !important;
  border-color: #2dd4bf !important;
}
html.aq-dark .aq-ai-form {
  background: #0b1f2b !important;
  border-top-color: #1d3b4a !important;
}
html.aq-dark .aq-ai-form input {
  background: #07161f !important;
  color: #f0f9f8 !important;
  border-color: #264a5c !important;
}
html.aq-dark .aq-ai-form button {
  background: #0d9488 !important;
}

@media (max-width: 760px) {
  #aq-ai-launcher {
    bottom: 118px;
    right: 12px;
    padding: 9px 13px;
    font-size: 12px;
  }
  #aq-ai-drawer {
    right: 8px;
    bottom: 72px;
    width: calc(100vw - 16px);
    height: min(560px, calc(100vh - 96px));
  }
}
