.official-source-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  margin-bottom: 24px;
  border: 1px solid #dfeaf9;
  background: #f5f9ff;
  border-radius: 16px;
}
.official-source-notice strong {
  color: #354963;
  font-size: 14px;
}
.official-source-notice p {
  margin-top: 6px;
  font-size: 12px;
  color: #687b96;
  line-height: 1.8;
}
.source-state {
  display: inline-flex;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 7px;
  color: #48745e;
  background: #eaf6f0;
}
.source-state.unavailable,
.source-state.stale {
  background: #fff0de;
  color: #956b39;
}
.source-state.empty {
  background: #edf0f5;
  color: #70809a;
}
.source-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.source-card-top .standard-region {
  margin-bottom: 0;
}
.source-provenance {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  background: #fafcff;
  font-size: 10px;
  line-height: 1.6;
  color: #74869d;
  overflow-wrap: anywhere;
  border-top: 1px solid #edf1f7;
}
.source-provenance strong {
  color: #45617f;
}
.source-unavailable {
  padding: 24px 18px;
}
.source-unavailable h3 {
  color: #947445;
  font-size: 15px;
}
.source-unavailable p,
.source-coverage,
.source-warning {
  font-size: 11px;
  color: #8190a5;
  line-height: 1.8;
  margin: 8px 0 14px;
  overflow-wrap: anywhere;
}
.source-warning {
  background: #fff6e8;
  padding: 12px 16px;
  color: #957346;
  margin: 0;
}
.comparison-query {
  font-size: 12px;
  line-height: 1.8;
  color: #7a8ba2;
  margin-bottom: 18px;
}
.standard-record .classification-context {
  font-size: 11px;
  margin-top: 10px;
  color: #7d8fa7;
}
.standard-record .classification-link {
  margin-top: 12px;
  font-size: 10px;
}
.authority-link {
  display: flex;
  margin-top: 10px;
}
.standard-card .standard-records {
  max-height: 690px;
  overflow-y: auto;
}
.standard-card .source-method {
  font-size: 10px;
}
@media (max-width: 760px) {
  .official-source-notice {
    flex-direction: column;
    gap: 10px;
  }
  .standard-card .standard-records {
    max-height: 520px;
  }
}
.email-verification-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
.email-verification-row input {
  flex: 1;
  min-width: 0;
}
.email-verification-row .secondary-button {
  flex-shrink: 0;
  font-size: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #eef5ff;
  border-color: #dce9fc;
  color: #5288d2;
  white-space: nowrap;
}
.mock-verification-panel {
  padding: 13px 15px;
  background: #f6f9ff;
  border: 1px solid #e8effa;
  border-radius: 12px;
  margin: -6px 0 18px;
}
.mock-verification-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  line-height: 1.7;
  color: #91a3be;
}
.mock-code-hint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 10px;
  color: #8399b7;
  margin: 13px 0;
}
.mock-code-hint strong {
  font-size: 18px;
  color: #4d86d7;
  letter-spacing: 3px;
  font-weight: 650;
}
.mock-code-hint > span {
  font-size: 9px;
  margin-left: auto;
  color: #9baac0;
}
.mock-verification-panel .form-label {
  font-size: 11px;
  margin: 10px 0 0;
}
.verification-error {
  font-size: 11px;
  color: #bb7468;
  line-height: 1.7;
}
.verification-success {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.7;
  color: #65a58e;
  margin-top: 12px;
}
.form-label input[aria-invalid="true"] {
  border-color: #e1a59a;
  background: #fff8f6;
}
.signup-layout .auth-form-container {
  max-width: 425px;
}
.signup-layout .form-label {
  margin-bottom: 15px;
}
.signup-layout .auth-form-panel {
  padding-top: 65px;
  padding-bottom: 30px;
}
.grant-admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 9px;
  background: #edf4ff;
  color: #5586cf;
  border: 1px solid #dbe8fb;
  border-radius: 7px;
  font-size: 10px;
  white-space: nowrap;
}
.account-table .approval-actions {
  flex-wrap: wrap;
  gap: 6px;
}
.account-table .grant-admin-button svg {
  width: 12px;
}
.grant-admin-button:hover {
  background: #dfeeff;
}
.signup-layout .auth-form-container > p {
  margin-bottom: 22px;
}
@media (max-width: 480px) {
  .email-verification-row {
    gap: 6px;
  }
  .email-verification-row .secondary-button {
    font-size: 9px;
    padding: 9px;
  }
  .signup-layout .auth-form-panel {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 75px;
  }
  .signup-layout .auth-form-panel .form-label input {
    font-size: 12px;
  }
  .mock-code-hint > span {
    margin-left: 0;
  }
  .mock-verification-panel {
    padding: 12px;
  }
  .mock-verification-note {
    font-size: 9px;
  }
  .verification-success {
    font-size: 9px;
  }
  .grant-admin-button {
    font-size: 9px;
    padding: 6px;
  }
  .signup-layout .auth-form-container h1 {
    font-size: 26px;
  }
}
.form-error {
  background: #fff1ee;
  color: #b76053;
  border: 1px solid #f9ddd7;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.75;
  margin: 15px 0;
}
.session-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.session-loading h2 {
  font-size: 20px;
}
.session-loading p {
  font-size: 12px;
  color: #92a1b5;
}
.verified-role {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  background: #eef5ff;
  color: #628bd0;
  border-radius: 8px;
  font-size: 11px;
  padding: 8px 11px;
  white-space: nowrap;
}
.account-summary {
  margin-bottom: 25px;
}
.user-filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.user-filter-row .reference-search {
  margin: 0;
  flex: 1;
  padding: 8px 13px;
  min-width: 0;
}
.user-filter-row > select {
  border: 1px solid #e7edf4;
  padding: 12px;
  border-radius: 10px;
  font-size: 11px;
  color: #7e8fa7;
  background: white;
}
.status-badge.suspended {
  background: #fff0e9;
  color: #b39079;
}
.import-flow {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: #9baabd;
  padding-bottom: 24px;
}
.import-flow .active {
  color: #5389d9;
  font-weight: 600;
}
.upload-zone.disabled {
  opacity: 0.65;
}
.import-review {
  margin-top: 24px;
  padding: 22px;
  background: #f6f9ff;
  border: 1px solid #e8f0fb;
  border-radius: 14px;
}
.import-review h3 {
  font-size: 16px;
}
.import-review progress {
  width: 100%;
  height: 7px;
  accent-color: #3182f6;
  border-radius: 8px;
}
.import-comparison {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 0;
  color: #83a2cd;
}
.import-comparison dt {
  font-size: 11px;
  color: #92a2b7;
  margin-bottom: 9px;
}
.import-comparison dd {
  margin: 0;
  font-size: 26px;
  font-weight: 650;
  color: #4e6d97;
}
.import-review .auth-checkbox {
  font-size: 11px;
}
.import-history {
  margin-top: 23px;
}
.import-history > article {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #eff2f7;
  padding: 17px 0;
  color: #94a8c2;
}
.import-history > article > div {
  flex: 1;
  min-width: 0;
}
.import-history strong {
  font-size: 11px;
  color: #687e9b;
  overflow-wrap: anywhere;
}
.import-history p {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 5px;
  color: #9aa9bc;
}
.import-history .muted {
  font-size: 10px;
}
.jurisdiction-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 15px 3px;
  color: #99a8bd;
}
.jurisdiction-note p {
  font-size: 11px;
  line-height: 1.9;
}
.jurisdiction-note a {
  color: #6893ce;
  margin-left: 4px;
}
.live-reference-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.live-reference-form .reference-search {
  flex: 1;
  margin: 0;
}
.live-reference-form .primary-button {
  height: 51px;
}
.live-suggestions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 28px;
  font-size: 10px;
  color: #9aa9bd;
}
.live-suggestions button {
  display: flex;
  gap: 5px;
  align-items: center;
  background: #eff5fd;
  border-radius: 5px;
  color: #7e9cc4;
  padding: 5px 8px;
}
.reference-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fafcff;
  border: 1px solid #f0f4fa;
  border-radius: 19px;
  padding: 55px 30px;
  margin: 35px 0;
  color: #adc0db;
}
.reference-intro h2 {
  font-size: 22px;
  color: #6b82a1;
  margin: 20px 0 13px;
}
.reference-intro p {
  max-width: 450px;
  line-height: 1.9;
  font-size: 12px;
  color: #99abc2;
}
.live-source-status {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border: 1px solid #e8edf4;
  background: #fafcff;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 25px 0;
}
.live-source-status > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.live-source-status strong {
  font-size: 12px;
  color: #6d83a0;
}
.live-source-status span:not(.status-dot) {
  font-size: 10px;
  color: #8c9cb3;
}
.live-source-status small {
  font-size: 9px;
  color: #a8b4c5;
  width: 100%;
  padding-left: 14px;
}
.status-dot.stale {
  background: #d5a469;
}
.hierarchy-panel {
  border: 1px solid #e9eff7;
  border-radius: 14px;
  padding: 21px;
  margin: 23px 0;
}
.hierarchy-panel h3 {
  font-size: 13px;
  color: #6e84a0;
  margin-bottom: 19px;
}
.hierarchy-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.hierarchy-selects label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hierarchy-selects label > span {
  font-size: 11px;
  font-weight: 600;
  color: #7892b2;
}
.hierarchy-selects small {
  display: block;
  font-size: 9px;
  color: #9cacbf;
  margin-top: 5px;
}
.hierarchy-selects select {
  font-size: 11px;
  border: 1px solid #e3eaf4;
  border-radius: 9px;
  background: #f8faff;
  padding: 11px 10px;
  color: #7d94b3;
  width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
}
.hierarchy-panel > p {
  font-size: 9px;
  color: #a3b0c2;
  line-height: 1.7;
  margin-top: 17px;
}
.official-results > article {
  border-bottom: 1px solid #edf1f6;
}
.official-result-main {
  display: grid;
  grid-template-columns: 130px 1fr 20px;
  width: 100%;
  align-items: center;
  gap: 20px;
  padding: 19px 12px;
  text-align: left;
}
.official-result-main > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.official-result-main small {
  color: #a4b2c6;
  font-size: 9px;
}
.official-result-main strong {
  color: #697e99;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 500;
}
.official-result-main > .reference-code {
  width: fit-content;
  font-size: 11px;
  white-space: nowrap;
}
.official-result-main > svg {
  color: #a7b7ce;
}
.official-result-detail {
  padding: 22px;
  background: #f7faff;
  border-radius: 12px;
  margin-bottom: 15px;
}
.official-result-detail dl {
  margin: 0;
}
.official-result-detail dl > div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid #eaf0f7;
}
.official-result-detail dt {
  font-size: 10px;
  color: #96a8bf;
}
.official-result-detail dd {
  margin: 0;
  font-size: 11px;
  color: #798eab;
  line-height: 1.8;
}
.official-result-detail > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 17px;
}
.official-result-detail .text-button {
  font-size: 10px;
  white-space: normal;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .verified-role {
    font-size: 9px;
    padding: 6px 8px;
  }
  .verified-role svg {
    width: 12px;
  }
  .import-flow {
    gap: 8px;
    font-size: 9px;
  }
  .user-filter-row > select {
    font-size: 10px;
    max-width: 110px;
  }
  .import-review {
    padding: 17px;
  }
  .import-history > article {
    gap: 9px;
    flex-wrap: wrap;
  }
  .live-reference-form {
    flex-direction: column;
    align-items: stretch;
  }
  .live-reference-form .primary-button {
    height: 42px;
  }
  .live-source-status {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 13px;
  }
  .hierarchy-selects {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hierarchy-selects small {
    display: inline;
    margin-left: 8px;
  }
  .official-result-main {
    grid-template-columns: 108px 1fr 15px;
    gap: 10px;
    padding: 17px 3px;
  }
  .official-result-main strong {
    font-size: 11px;
  }
  .official-result-main > .reference-code {
    font-size: 10px;
    padding: 5px 6px;
  }
  .official-result-detail {
    padding: 16px;
  }
  .official-result-detail dl > div {
    grid-template-columns: 100px 1fr;
    gap: 10px;
  }
  .official-result-detail > div {
    flex-direction: column;
    align-items: flex-start;
  }
  .reference-banner > .text-button {
    font-size: 9px;
  }
  .reference-intro {
    padding: 38px 20px;
  }
  .reference-intro h2 {
    font-size: 20px;
  }
  .jurisdiction-note p {
    font-size: 10px;
  }
  .topbar-actions .notification-button {
    display: none;
  }
  .account-summary {
    margin-bottom: 18px;
  }
}
.search-fields-label {
  font-size: 12px;
  white-space: nowrap;
  color: #7b8ba1;
  min-width: 80px;
  justify-content: center;
}
.search-content .search-guidance {
  font-size: 10px;
  color: #879ab4;
  line-height: 1.8;
  margin-top: 12px;
  max-width: 100%;
}
.and-label {
  font-size: 8px;
  letter-spacing: 0.5px;
  background: #dceaff;
  color: #5488ce;
  border-radius: 4px;
  padding: 3px 5px;
  margin-right: 4px;
  white-space: nowrap;
  font-weight: 700;
}
.search-content .search-validation {
  color: #c46159;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 100%;
  background: #fff5f2;
  border-radius: 8px;
  padding: 9px 12px;
}
.query-indicator {
  flex-wrap: wrap;
}
.query-mode {
  color: #99a9bd;
  font-size: 9px;
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.query-indicator .query-term {
  background: #edf4ff;
  color: #5488ce;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
}
.query-and {
  font-size: 8px;
  color: #99a9bd;
  margin: 0 3px;
}
.customer-search-home .page-heading {
  justify-content: center;
  text-align: center;
  margin-top: clamp(40px, 8vh, 100px);
  margin-bottom: 30px;
}
.customer-search-home .page-heading h1 {
  font-size: 38px;
}
.customer-search-home .source-badge {
  display: none;
}
.customer-search-home .search-hero {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 32px 35px;
}
.customer-search-home .search-content {
  width: 100%;
  max-width: none;
}
.customer-search-home .cube-art {
  display: none;
}
.customer-search-home .search-form {
  height: 64px;
  margin-top: 23px;
  border-radius: 14px;
  padding: 6px;
}
.customer-search-home .search-form input {
  font-size: 14px;
}
.customer-search-home .search-button {
  min-height: 50px;
  border-radius: 10px;
  font-size: 13px;
  padding: 12px 23px;
}
.customer-search-home .search-input-icon {
  width: 22px;
}
.customer-search-home .search-guidance {
  margin-top: 16px;
  font-size: 11px;
}
.customer-search-home .recent-searches {
  margin-top: 15px;
}
.customer-start-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 24px auto 70px;
  font-size: 11px;
  color: #9eacbe;
  text-align: center;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .customer-search-home .page-heading {
    margin-top: 45px;
    margin-bottom: 27px;
  }
  .customer-search-home .page-heading h1 {
    font-size: 29px;
  }
  .customer-search-home .search-hero {
    padding: 27px 22px;
    border-radius: 20px;
  }
  .customer-search-home .search-form {
    height: 59px;
  }
  .customer-search-home .search-form input {
    font-size: 12px;
  }
  .customer-search-home .search-button {
    min-height: 45px;
    font-size: 12px;
    padding: 10px 17px;
  }
  .customer-search-home .search-content > p {
    max-width: 100%;
  }
  .customer-search-home .search-guidance {
    font-size: 10px;
  }
  .customer-start-note {
    font-size: 10px;
    margin-top: 22px;
  }
  .search-fields-label {
    font-size: 10px;
    min-width: 65px;
  }
  .customer-search-hero .search-guidance {
    font-size: 9px;
  }
  .customer-search-home .search-fields-label {
    display: none;
  }
  .customer-search-home .search-input-icon {
    display: block;
    width: 19px;
    margin: 0 3px 0 6px;
  }
}
:root {
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  color: #242b38;
  background: #fff;
  font-synthesis: none;
  font-weight: 450;
  --blue: #3182f6;
  --blue-dark: #246aeb;
  --muted: #8b95a4;
  --line: #edf0f3;
  --surface: #f6f7f9;
  --nav-width: 232px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  transition:
    background 0.17s,
    color 0.17s,
    box-shadow 0.17s,
    transform 0.17s;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #90baff;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
}
input,
textarea {
  color: #333d4b;
}
input::placeholder,
textarea::placeholder {
  color: #a0a8b4;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button:hover:not(:disabled) {
  color: var(--blue);
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  width: var(--nav-width);
  position: fixed;
  inset: 0 auto 0 0;
  background: #fafbfc;
  border-right: 1px solid #eef0f3;
  display: flex;
  flex-direction: column;
  padding: 32px 18px 0;
  z-index: 30;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  padding-left: 11px;
  width: fit-content;
}
.brand-mark {
  width: 34px;
  height: 36px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg {
  width: 33px;
  height: 33px;
}
.brand-dot {
  color: var(--blue);
}
.workspace-label {
  color: #a2a9b5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.65px;
  margin: 52px 16px 18px;
}
nav button {
  width: 100%;
}
.nav-parent,
.nav-item,
.nav-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  text-align: left;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 550;
}
.nav-parent > svg:last-child {
  margin-left: auto;
  color: #87919e;
}
.nav-parent.current {
  color: #333d4b;
}
.nav-parent > svg:first-child,
.nav-item > svg {
  color: #8793a3;
}
.nav-parent:hover,
.nav-item:hover {
  background: #f0f3f8;
}
.nav-child {
  margin-top: 4px;
  background: transparent;
  position: relative;
  padding-left: 37px;
  color: #818b99;
  min-height: 44px;
}
.nav-child.active {
  color: var(--blue);
  background: #eaf2ff;
  font-weight: 700;
}
.nav-branch {
  position: absolute;
  left: 20px;
  top: 9px;
  width: 9px;
  height: 14px;
  border-left: 1px solid #d3dfef;
  border-bottom: 1px solid #d3dfef;
  border-bottom-left-radius: 4px;
}
.active-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}
.nav-item {
  margin-top: 9px;
}
.nav-item.active {
  color: var(--blue);
  background: #eaf2ff;
}
.nav-item.active svg {
  color: var(--blue);
}
.nav-admin-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bbc4d0;
}
.nav-divider {
  height: 1px;
  background: #e9edf2;
  margin: 25px 14px 0;
}
.admin-label {
  margin-top: 26px;
  margin-bottom: 11px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.help-card {
  padding: 19px 17px 17px;
  background: #f0f3f7;
  border-radius: 15px;
  margin: 24px 2px 20px;
}
.help-icon {
  display: inline-flex;
  color: #8293aa;
  background: white;
  border: 1px solid #e7edf4;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 13px;
  transform: rotate(-7deg);
}
.help-card h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: -0.2px;
}
.help-card p {
  font-size: 10px;
  color: #8a94a3;
  line-height: 1.5;
  white-space: nowrap;
}
.help-card button {
  font-size: 11px;
  font-weight: 600;
  color: #6c7d94;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 0 0;
  margin-top: 1px;
}
.sidebar-status {
  border-top: 1px solid #eaedf1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 20px 9px 22px;
  font-size: 10px;
  color: #8a95a5;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27ba88;
  flex-shrink: 0;
}
.version {
  margin-left: auto;
  color: #aab2be;
  font-size: 10px;
}
.workspace {
  margin-left: var(--nav-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 87px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 20px;
  background: #fff;
}
.product-title {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.65px;
  white-space: nowrap;
}
.product-title > span {
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.1px;
  background: #f2f4f6;
  color: #7c8899;
  border-radius: 5px;
  padding: 4px 7px;
  margin-left: 7px;
  vertical-align: middle;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}
.role-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #f3f5f7;
  padding: 4px;
  border-radius: 9px;
}
.demo-label {
  font-size: 10px;
  color: #919baa;
  margin: 0 8px 0 5px;
}
.role-switch button {
  border-radius: 6px;
  font-size: 11px;
  font-weight: 550;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8c96a4;
}
.role-switch button.selected {
  background: white;
  color: var(--blue);
  box-shadow: 0 1px 4px #22334d0a;
}
.topbar-divider {
  height: 23px;
  width: 1px;
  background: #eceff3;
}
.icon-button {
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8d98a7;
  border-radius: 8px;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #edf3fc;
}
.notification-button {
  position: relative;
  padding: 6px;
}
.notification-dot {
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  right: 6px;
  box-shadow: 0 0 0 2px white;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf1fc;
  color: #5179b6;
  font-weight: 700;
  font-size: 13px;
  border: 3px solid #f7f9fd;
}
.account-control {
  position: relative;
}
.account-popover {
  position: absolute;
  top: 48px;
  right: 0;
  width: 247px;
  padding: 20px;
  background: white;
  box-shadow: 0 10px 45px #2534481f;
  border: 1px solid var(--line);
  border-radius: 16px;
  z-index: 51;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.account-popover strong {
  font-size: 14px;
}
.account-popover > span {
  font-size: 11px;
  color: #8993a2;
}
.account-popover button {
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
  margin-top: 10px;
  font-size: 13px;
  text-align: left;
  display: flex;
  gap: 9px;
  align-items: center;
}
.popover-dismiss {
  position: fixed;
  inset: 0;
  z-index: 50;
  cursor: default;
}
.mobile-trigger {
  display: none;
}
main#main-content {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 25px 40px 0;
  flex: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  color: #98a2b1;
  margin-bottom: 33px;
}
.breadcrumb svg {
  color: #b4bdc8;
  width: 11px;
}
.breadcrumb strong {
  font-weight: 550;
  color: #677689;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  color: #91a0b3;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
}
.page-heading h1 {
  font-size: 33px;
  letter-spacing: -1.35px;
  font-weight: 750;
  line-height: 1.25;
}
.page-heading h1 > span {
  color: var(--blue);
}
.page-heading p {
  font-size: 12px;
  color: #8b95a4;
  margin-top: 10px;
  letter-spacing: 0.05px;
}
.source-badge {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f7f9fb;
  color: #8692a2;
  font-size: 10px;
  border: 1px solid #edf0f3;
  padding: 7px 10px;
  border-radius: 6px;
  white-space: nowrap;
  margin-bottom: 1px;
}
.source-badge .status-dot {
  width: 5px;
  height: 5px;
}
.search-hero {
  background: linear-gradient(105deg, #f0f6ff 0%, #eff5ff 70%, #edf4ff 100%);
  border: 1px solid #e6effd;
  border-radius: 20px;
  padding: 29px 31px 24px;
  position: relative;
  overflow: hidden;
  min-height: 208px;
}
.search-content {
  position: relative;
  z-index: 1;
  width: calc(100% - 195px);
  max-width: 970px;
}
.search-content h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.search-content > p {
  font-size: 11px;
  color: #8394ad;
  margin-top: 7px;
}
.search-form {
  display: flex;
  align-items: center;
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e7ecf4;
  border-radius: 11px;
  height: 52px;
  padding: 5px;
  box-shadow: 0 3px 9px #2b62a303;
  width: 100%;
  gap: 9px;
}
.search-form:focus-within {
  border-color: #9bc2ff;
  box-shadow: 0 0 0 3px #3182f610;
}
.search-field-select {
  display: flex;
  align-items: center;
  padding: 0 10px 0 11px;
  border-right: 1px solid #e9edf4;
  position: relative;
  flex-shrink: 0;
  height: 23px;
  color: #6d7b8c;
}
.search-field-select select {
  border: 0;
  background: none;
  appearance: none;
  font-size: 11px;
  width: 80px;
  cursor: pointer;
  padding-right: 13px;
  color: inherit;
}
.search-field-select > svg {
  position: absolute;
  right: 12px;
  pointer-events: none;
}
.search-input-icon {
  width: 18px;
  color: #a4b0c1;
  margin-left: 3px;
}
.search-form input {
  border: 0;
  background: transparent;
  min-width: 0;
  flex: 1;
  font-size: 11px;
  height: 100%;
  padding: 0 1px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 12px;
  min-height: 41px;
  padding: 10px 18px;
  border-radius: 9px;
  white-space: nowrap;
}
.primary-button:hover:not(:disabled) {
  background: #2172ec;
  color: white;
  box-shadow: 0 3px 8px #3182f628;
}
.primary-button:active:not(:disabled) {
  transform: translateY(1px);
}
.search-button {
  padding: 10px 16px;
  min-height: 40px;
  gap: 10px;
  font-size: 11px;
}
.clear-search {
  padding: 3px;
  color: #a2adbb;
  display: flex;
}
.recent-searches {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  min-height: 19px;
  flex-wrap: wrap;
}
.recent-searches > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #8c9eb6;
  margin-right: 3px;
}
.recent-searches button {
  font-size: 8px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #e4edfb;
  color: #7c92b0;
  border-radius: 5px;
}
.recent-searches button:hover {
  background: #d8e7ff;
}
.recent-searches button svg {
  width: 10px;
  height: 10px;
}
.cube-art {
  position: absolute;
  width: 237px;
  height: 190px;
  right: 1px;
  top: 11px;
  filter: drop-shadow(0 8px 8px #789cce07);
}
.library-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1.17fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 19px 0;
  margin-top: 18px;
}
.library-summary > div {
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 13px;
  border-right: 1px solid var(--line);
}
.library-summary > div:last-child {
  border: 0;
}
.summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}
.summary-icon.blue {
  background: #edf4ff;
  color: #5995ee;
}
.summary-icon.purple {
  background: #f1eefd;
  color: #9b89db;
}
.summary-icon.green {
  background: #eafaf4;
  color: #59b798;
}
.library-summary p {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.library-summary p > span {
  font-size: 10px;
  color: #8b96a6;
}
.library-summary strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.45px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.library-summary small {
  font-size: 9px;
  font-weight: 400;
  color: #9aa3b0;
  letter-spacing: 0;
}
.library-summary .bilingual-stat {
  font-size: 12px;
  letter-spacing: -0.15px;
  display: block;
  margin-top: 1px;
}
.bilingual-stat small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.parts-section {
  margin-top: 31px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 18px;
  letter-spacing: -0.55px;
  font-weight: 700;
  display: flex;
  gap: 9px;
  align-items: center;
}
.section-heading h2 > span {
  background: #f0f4f9;
  color: #8190a3;
  font-size: 10px;
  border-radius: 5px;
  padding: 4px 6px;
  font-weight: 550;
  letter-spacing: 0;
}
.section-heading p {
  font-size: 11px;
  color: #99a2af;
  margin-top: 5px;
}
.secondary-button {
  border: 1px solid #e4e9ef;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  padding: 9px 13px;
  min-height: 35px;
  background: #fff;
  color: #637083;
}
.secondary-button:hover {
  background: #f8faff;
}
.export-button {
  font-size: 10px;
  padding: 8px 12px;
  gap: 7px;
}
.export-button svg {
  width: 14px;
  height: 14px;
}
.table-toolbar {
  border-bottom: 1px solid #e8edf3;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 45px;
}
.result-tabs {
  display: flex;
  align-items: stretch;
  gap: 22px;
}
.result-tabs button {
  padding: 0 2px 11px;
  font-size: 11px;
  color: #9aa4b2;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  font-weight: 550;
}
.result-tabs button.active {
  color: var(--blue);
}
.result-tabs button.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.result-tabs button span {
  font-size: 9px;
  background: #edf4ff;
  border-radius: 4px;
  padding: 1px 4px;
}
.table-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
}
.filter-button {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8490a1;
  padding: 5px;
}
.filter-button.selected {
  color: var(--blue);
}
.filter-count {
  background: var(--blue);
  padding: 0 4px;
  color: white;
  border-radius: 3px;
  font-size: 9px;
}
.control-divider {
  height: 15px;
  width: 1px;
  background: #e8ecf1;
}
.view-toggle {
  display: flex;
  align-items: center;
  background: #f4f6f8;
  border: 1px solid #edf0f3;
  border-radius: 6px;
  padding: 2px;
  gap: 3px;
}
.view-toggle button {
  padding: 3px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a6aebb;
  border-radius: 4px;
}
.view-toggle button.active {
  color: #5e6d81;
  background: white;
  box-shadow: 0 1px 3px #22334d0d;
}
.material-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 12px;
}
.material-chips {
  display: flex;
  align-items: center;
  gap: 6px;
}
.material-chips > button,
.more-materials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 9px;
  background: #f5f7f9;
  color: #8a96a7;
  white-space: nowrap;
  min-height: 27px;
}
.material-chips > button.active,
.more-materials.active {
  color: #4186e7;
  background: #eaf2ff;
  font-weight: 550;
}
.material-chips button:hover {
  background: #eaf2ff;
}
.material-chips button svg {
  width: 11px;
  height: 11px;
}
.more-materials {
  position: relative;
  padding: 0;
  background: none;
}
.more-materials select {
  font-size: 9px;
  appearance: none;
  border: 0;
  max-width: 90px;
  background: transparent;
  color: #8a96a7;
  padding: 6px 20px 6px 9px;
  cursor: pointer;
}
.more-materials > svg {
  position: absolute;
  right: 6px;
  pointer-events: none;
  color: #8a96a7;
}
.sort-select {
  font-size: 9px;
  color: #a2abba;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  position: relative;
}
.sort-select select {
  font-size: 9px;
  appearance: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: #637185;
  max-width: 94px;
  padding: 3px 15px 3px 1px;
}
.sort-select > svg {
  position: absolute;
  right: 0;
  pointer-events: none;
}
.parts-table-wrap,
.reference-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.parts-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  table-layout: fixed;
}
.parts-table th {
  background: #f7f8fa;
  padding: 12px 16px;
  font-size: 8px;
  letter-spacing: 0.65px;
  font-weight: 550;
  color: #8a96a8;
  height: 35px;
}
.parts-table th:first-child {
  border-radius: 7px 0 0 7px;
}
.parts-table th:last-child {
  border-radius: 0 7px 7px 0;
  width: 86px;
}
.parts-table th.part-info-col {
  width: 41%;
}
.parts-table th:nth-child(2) {
  width: 22%;
}
.parts-table th:nth-child(3) {
  width: 17%;
}
.parts-table th:nth-child(4) {
  width: 12%;
}
.parts-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eff2f5;
  font-size: 11px;
  color: #6c7a8e;
  height: 72px;
  vertical-align: middle;
}
.parts-table tbody tr {
  transition: background 0.15s;
}
.parts-table tbody tr:hover {
  background: #fbfcfe;
}
.part-name-button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 0;
  max-width: 100%;
}
.part-icon {
  height: 42px;
  width: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f4f8;
  flex-shrink: 0;
}
.part-icon > svg {
  width: 33px;
  height: 33px;
}
.part-icon.rubber {
  background: #f0f4f7;
}
.part-name-button > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}
.part-name-button strong {
  font-size: 10px;
  font-weight: 650;
  color: #3e4b5d;
  letter-spacing: 0.05px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.part-name-button small {
  font-size: 9px;
  font-weight: 400;
  color: #9ba5b3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.part-name-button:hover strong {
  color: var(--blue);
}
.part-number {
  font-size: 10px;
  font-weight: 500;
  color: #687b94;
  letter-spacing: 0.2px;
  text-align: left;
  padding: 5px 0;
  white-space: nowrap;
}
.material-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  background: #f1f4f7;
  color: #7d8b9f;
  border-radius: 5px;
  padding: 5px 7px;
  white-space: nowrap;
}
.material-badge i {
  width: 4px;
  height: 4px;
  background: #8b9db3;
  border-radius: 50%;
}
.material-badge.rubber {
  background: #f0edfa;
  color: #9484b5;
}
.material-badge.rubber i {
  background: #a793c6;
}
.material-badge.plastic {
  background: #eaf8f3;
  color: #679e8b;
}
.material-badge.plastic i {
  background: #77baa2;
}
.material-badge.elec {
  background: #fff7e5;
  color: #b39a63;
}
.material-badge.elec i {
  background: #c9ad6a;
}
.material-badge.aluminum {
  background: #eaf4fc;
  color: #7597b2;
}
.hs-code {
  font-size: 10px;
  color: #71829a;
  letter-spacing: 0.2px;
}
.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}
.row-actions .icon-button {
  padding: 5px;
}
.row-actions .icon-button svg {
  width: 15px;
  height: 15px;
}
.row-actions .save-button {
  color: #afbac8;
}
.row-actions .detail-button {
  color: #b3bfcc;
}
.saved,
.row-actions .saved {
  color: var(--blue) !important;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 1px;
}
.table-footer p {
  font-size: 9px;
  color: #9ba6b5;
}
.table-footer p strong {
  color: #6e7d90;
  font-weight: 500;
}
.pagination {
  display: flex;
  gap: 4px;
  align-items: center;
}
.pagination button,
.pagination > span {
  width: auto;
  min-width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #9ba6b5;
  font-weight: 450;
  padding: 3px 6px;
}
.pagination button.active {
  background: #edf4ff;
  color: var(--blue);
  font-weight: 600;
}
.pagination button:not(.active):hover {
  background: #f3f6fa;
}
.pagination > span {
  min-width: 18px;
}
.library-note {
  margin: 0 0 28px;
  padding-top: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  color: #a9b2bf;
}
.library-note > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.library-note > span:first-child {
  color: #97a3b3;
}
.note-dot {
  margin: 0 3px;
}
.workspace-footer {
  margin: 0 40px;
  padding: 22px 0;
  border-top: 1px solid #eff2f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b0b8c4;
  font-size: 9px;
}
.workspace-footer > span:first-child {
  font-size: 11px;
  font-weight: 650;
  color: #a0aaba;
  letter-spacing: -0.3px;
}
.footer-beta {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 4px;
}
.workspace-footer button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9aa7b8;
  font-size: 9px;
  padding: 0;
}
.advanced-filters {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px;
  background: #f7f9fc;
  border-radius: 10px;
  margin-bottom: 15px;
}
.advanced-filters label {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.advanced-filters input {
  padding: 9px 12px;
  width: 130px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: white;
  font-size: 11px;
}
.advanced-filters p {
  font-size: 10px;
  color: #8a97a9;
}
.text-button {
  color: var(--blue);
  font-size: 11px;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.advanced-filters .text-button {
  margin-left: auto;
}
.query-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8190a3;
  font-size: 11px;
  padding: 0 5px 12px;
}
.query-indicator strong {
  color: #5c6f87;
}
.query-indicator button {
  display: flex;
  padding: 3px;
}
.empty-state {
  padding: 55px 20px 60px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  background: #fcfdff;
  border-radius: 10px;
  margin-top: 8px;
}
.empty-state > svg {
  color: #a4b9d6;
}
.empty-state h3 {
  font-size: 18px;
  font-weight: 650;
  color: #5e718a;
}
.empty-state p {
  font-size: 12px;
  color: #91a0b3;
  margin-bottom: 5px;
}
.parts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 5px;
}
.part-card {
  padding: 20px;
  border: 1px solid #edf0f5;
  border-radius: 15px;
  transition: box-shadow 0.2s;
}
.part-card:hover {
  box-shadow: 0 5px 20px #32496c09;
}
.part-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.part-card-top .part-icon {
  width: 48px;
  height: 48px;
}
.card-detail {
  display: block;
  text-align: left;
  width: 100%;
  padding: 0;
}
.card-detail h3 {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-detail p {
  font-size: 10px;
  color: #9ba6b4;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-detail > span {
  font-size: 11px;
  color: #7f93ad;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 14px;
}
.muted {
  color: #a1abba !important;
}
.admin-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #648dd2;
  background: #eef5ff;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 11px;
}
.reference-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 27px;
  border-radius: 17px;
  background: #f3f7ff;
  border: 1px solid #eaf0fa;
}
.reference-banner h3 {
  font-size: 16px;
  letter-spacing: -0.4px;
}
.reference-banner p {
  font-size: 11px;
  color: #8e9cb0;
  margin-top: 6px;
}
.reference-count {
  font-size: 26px;
  font-weight: 650;
  color: #6c99e2;
  margin-left: auto;
  letter-spacing: -0.7px;
}
.reference-count small {
  font-size: 10px;
  font-weight: 450;
  letter-spacing: 0;
}
.reference-search {
  margin: 25px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f6f8fb;
  padding: 12px 18px;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  color: #9aabc1;
}
.reference-search input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 12px;
  padding: 5px;
}
.reference-search:focus-within {
  border-color: #94bbf7;
}
.reference-section {
  margin-top: 30px;
}
.reference-section .muted {
  font-size: 10px;
}
.reference-table {
  min-width: 740px;
}
.reference-table th:first-child {
  width: 13%;
}
.reference-table th:nth-child(2) {
  width: 27%;
}
.reference-table th:nth-child(3) {
  width: 30%;
}
.reference-table th:nth-child(4) {
  width: 25%;
}
.reference-table th:last-child {
  width: 5%;
  padding: 0;
}
.reference-table td {
  font-size: 11px;
  line-height: 1.7;
  word-break: break-word;
  height: 76px;
}
.reference-table td:last-child {
  padding: 5px;
}
.reference-code {
  color: #4b83ce;
  font-weight: 600;
  font-size: 12px;
  background: #f1f6ff;
  border-radius: 5px;
  padding: 6px 8px;
}
.reference-notes {
  font-size: 10px;
  color: #929fb0;
}
.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #8b9aad;
  background: #f7f9fc;
  border-radius: 11px;
  padding: 16px 20px;
  margin: 22px 0 32px;
}
.info-callout svg {
  color: #9badc6;
  margin-top: 1px;
}
.info-callout p {
  font-size: 11px;
  line-height: 1.75;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.admin-stats article {
  border: 1px solid #ebeff5;
  padding: 23px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
}
.admin-stats .summary-icon {
  position: absolute;
  right: 22px;
  top: 22px;
}
.admin-stats article > span:not(.summary-icon) {
  font-size: 11px;
  color: #8c99ac;
  margin-bottom: 16px;
}
.admin-stats strong {
  font-size: 29px;
  letter-spacing: -0.7px;
}
.admin-stats small {
  color: #a1abba;
  font-size: 10px;
  margin-top: 6px;
}
.admin-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin: 33px 0 25px;
}
.admin-tabs button {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  padding: 14px 0;
  color: #8f9caf;
  border-bottom: 2px solid transparent;
}
.admin-tabs button.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.admin-panel {
  border: 1px solid #edf0f4;
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}
.demo-pill {
  font-size: 10px;
  border-radius: 5px;
  background: #f5f6f9;
  color: #8d9aae;
  padding: 6px 9px;
  white-space: nowrap;
}
.account-table {
  min-width: 730px;
}
.account-table th:first-child {
  width: 30%;
}
.account-table th:nth-child(2) {
  width: 22%;
}
.account-table th:nth-child(3) {
  width: 17%;
}
.account-table th:nth-child(4) {
  width: 13%;
}
.account-table th:last-child {
  width: 18%;
}
.account-table td,
.account-table th {
  padding-left: 10px;
  padding-right: 10px;
}
.applicant {
  display: flex;
  align-items: center;
  gap: 9px;
}
.small-avatar {
  background: #eef3fa;
  color: #8196b3;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.applicant strong {
  font-size: 11px;
  color: #61738b;
  font-weight: 550;
}
.applicant small {
  display: block;
  font-size: 9px;
  color: #a2adbc;
  margin-top: 4px;
}
.approval-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}
.approve-button {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #edf5ff;
  color: #4e88dc;
  border-radius: 5px;
  padding: 6px 7px;
  font-size: 9px;
}
.status-badge {
  font-size: 9px;
  padding: 5px 7px;
  border-radius: 5px;
  background: #f3f5f8;
  color: #99a5b6;
}
.status-badge.pending {
  background: #fff6e7;
  color: #b49a64;
}
.status-badge.approved {
  background: #eafaf2;
  color: #63a68d;
}
.status-badge.rejected {
  background: #fff0f0;
  color: #c18c8c;
}
.upload-zone {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  position: relative;
  border: 1.5px dashed #ccdaee;
  background: #fafcff;
  border-radius: 14px;
}
.upload-zone input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer;
}
.upload-zone:focus-within {
  outline: 3px solid #9bbff4;
}
.upload-icon {
  color: #8facd4;
  background: #eef4fe;
  border-radius: 17px;
  padding: 16px;
  margin-bottom: 17px;
}
.upload-zone h3 {
  font-size: 16px;
  font-weight: 600;
}
.upload-zone p {
  font-size: 11px;
  color: #94a2b6;
  margin: 9px 0 20px;
}
.upload-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
}
.upload-footer p {
  font-size: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: #9ca8b9;
}
.current-source {
  border-top: 1px solid #edf0f5;
  margin-top: 28px;
  padding-top: 23px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #8ca3c0;
}
.current-source strong {
  font-size: 11px;
  color: #718098;
  font-weight: 550;
}
.current-source p {
  font-size: 10px;
  margin-top: 5px;
}
.current-source > span:last-child {
  margin-left: auto;
}
.success-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #effaf5;
  color: #66a18a;
  border-radius: 10px;
  padding: 16px;
  margin-top: 20px;
}
.success-callout p {
  font-size: 11px;
  line-height: 1.8;
}
.full-width {
  width: 100%;
}
.delete-account-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c92c3b;
  background: #fff1f2;
  border: 1px solid #ffd8dd;
  border-radius: 9px;
  padding: 8px 11px;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.delete-account-button:hover { background: #ffe2e6; }
.account-delete-dialog {
  margin: auto;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 0;
  border-radius: 24px;
  padding: 30px;
  color: #263348;
  box-shadow: 0 24px 100px #182b4833;
}
.account-delete-dialog::backdrop { background: #1d2c4666; backdrop-filter: blur(4px); }
.delete-account-symbol {
  display: inline-flex;
  padding: 14px;
  border-radius: 18px;
  color: #d52d40;
  background: #fff0f2;
  margin-bottom: 20px;
}
.account-delete-dialog h2 { font-size: 25px; letter-spacing: -.7px; margin-bottom: 12px; }
.account-delete-dialog p { font-size: 14px; line-height: 1.7; color: #637086; }
.delete-account-identity { display: grid; gap: 6px; padding: 17px; background: #f5f7fa; border-radius: 13px; margin: 20px 0; overflow-wrap: anywhere; }
.delete-account-identity span { font-size: 13px; color: #637086; }
.account-delete-dialog .delete-account-consequences { font-size: 12px; }
.delete-account-actions { display: flex; gap: 12px; margin-top: 26px; }
.delete-account-actions button { flex: 1; min-height: 46px; border-radius: 12px; font-size: 14px; font-weight: 650; cursor: pointer; }
.delete-account-confirm { color: white; background: #d52d40; border: 1px solid #d52d40; }
.delete-account-confirm:hover { background: #bd2335; }
.delete-account-actions button:disabled, .delete-account-button:disabled { opacity: .55; cursor: not-allowed; }
.delete-account-actions button:focus-visible, .delete-account-button:focus-visible { outline: 3px solid #3182f6; outline-offset: 3px; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: #1d2c4661;
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  animation: fade-in 0.2s;
}
.modal {
  background: white;
  border-radius: 23px;
  padding: 27px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow: auto;
  outline: none;
  box-shadow: 0 20px 100px #182b4826;
  animation: slide-up 0.2s;
}
.modal.wide {
  max-width: 730px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.modal-header h2 {
  font-size: 18px;
  letter-spacing: -0.5px;
  line-height: 1.4;
}
.modal-header .icon-button {
  margin-right: -7px;
}
.modal-description {
  font-size: 12px;
  color: #91a0b2;
  margin-bottom: 22px;
  line-height: 1.7;
}
.detail-title {
  display: flex;
  gap: 17px;
  align-items: center;
  margin: 26px 0;
}
.detail-title .part-icon {
  height: 65px;
  width: 65px;
  border-radius: 16px;
}
.detail-title .part-icon svg {
  width: 49px;
  height: 49px;
}
.detail-title .eyebrow {
  font-size: 8px;
  color: #9aaac0;
}
.detail-title h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
.detail-title p {
  font-size: 12px;
  color: #92a0b3;
  margin-top: 4px;
}
.detail-number {
  padding: 17px 18px;
  background: #f5f8fc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
}
.detail-number small {
  display: block;
  font-size: 8px;
  color: #9cabc0;
  letter-spacing: 1px;
}
.detail-number strong {
  font-size: 18px;
  letter-spacing: 0.3px;
  display: block;
  margin-top: 6px;
  color: #526f94;
}
.detail-fields {
  margin: 22px 0;
}
.detail-fields > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid #f0f3f6;
  padding: 13px 0;
}
.detail-fields dt {
  font-size: 11px;
  color: #8e9db1;
  min-width: 100px;
}
.detail-fields dd {
  margin: 0;
  font-size: 12px;
  color: #617793;
  text-align: right;
  word-break: break-word;
}
.detail-source {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a1afc0;
  font-size: 9px;
  margin: 20px 0;
}
.reference-link {
  display: flex;
  margin: 12px auto 0;
}
.saved-detail {
  background: #eaf3ff;
  color: #3182f6;
}
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 25px 0 31px;
}
.guide-steps article {
  display: flex;
  gap: 14px;
}
.guide-steps article > span {
  height: 38px;
  width: 38px;
  background: #eff5ff;
  color: #75a2e0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  flex-shrink: 0;
}
.guide-steps h3 {
  font-size: 13px;
  color: #526681;
  font-weight: 600;
  margin: 2px 0 6px;
}
.guide-steps p {
  font-size: 11px;
  color: #94a2b5;
  line-height: 1.8;
}
.notification-item {
  display: flex;
  gap: 17px;
  padding: 10px 0 20px;
}
.notification-item h3 {
  font-size: 14px;
  font-weight: 600;
}
.notification-item p {
  font-size: 12px;
  line-height: 1.8;
  color: #95a3b6;
  margin-top: 7px;
}
.notification-item small {
  font-size: 10px;
  color: #aeb9c8;
  display: block;
  margin-top: 12px;
}
.notification-item + .info-callout {
  margin-bottom: 0;
}
.form-label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  color: #65758b;
  margin-bottom: 20px;
  font-weight: 500;
}
.form-label input,
.form-label textarea {
  border: 1px solid #edf0f5;
  background: #f6f8fb;
  padding: 15px 17px;
  border-radius: 12px;
  font-size: 12px;
  resize: vertical;
  width: 100%;
  font-weight: 400;
  transition:
    border 0.2s,
    background 0.2s;
}
.form-label input:focus,
.form-label textarea:focus {
  border-color: #8ebafa;
  background: #fff;
  box-shadow: 0 0 0 3px #3182f609;
}
.form-hint {
  font-size: 10px;
  color: #9daabd;
  margin: 16px 0;
  line-height: 1.8;
}
.reference-detail-code {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: 1px;
  color: #4d85d5;
  padding: 14px 0;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 25px;
  left: calc(50% + 70px);
  transform: translateX(-50%);
  z-index: 150;
  background: #273b57;
  color: white;
  padding: 15px 19px;
  border-radius: 13px;
  box-shadow: 0 8px 35px #1f354f24;
  font-size: 12px;
  max-width: 90%;
  animation: toast-in 0.2s;
}
.toast > svg {
  color: #8ec7ff;
}
.toast button {
  padding: 3px;
  display: flex;
  color: #b6c7dc;
  margin-left: 10px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 100vh;
}
.auth-brand-panel {
  background: #eff5ff;
  padding: 40px 48px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.auth-brand-panel .sidebar-brand {
  padding-left: 0;
}
.auth-pitch {
  margin: auto 0;
  position: relative;
  padding-top: 30px;
}
.auth-eyebrow {
  color: #7095c9;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 600;
}
.auth-pitch h1 {
  font-size: 43px;
  letter-spacing: -1.8px;
  line-height: 1.25;
  margin: 24px 0;
  color: #2e486d;
}
.auth-pitch > p {
  font-size: 13px;
  color: #88a0c0;
  line-height: 1.9;
}
.auth-pitch .cube-art {
  position: relative;
  top: auto;
  right: auto;
  width: 310px;
  height: 235px;
  display: block;
  margin: 15px auto;
}
.auth-trust {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 11px;
  color: #7693bb;
}
.auth-trust > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.auth-copyright {
  font-size: 10px;
  color: #9db0cc;
  margin-top: 45px;
}
.auth-form-panel {
  position: relative;
  padding: 70px 50px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.auth-top-badge {
  position: absolute;
  top: 35px;
  right: 40px;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #a4afbe;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-top-badge .status-dot {
  width: 5px;
  height: 5px;
}
.auth-form-container {
  width: 100%;
  max-width: 370px;
  margin: auto 0;
}
.auth-form-icon {
  display: block;
  margin-bottom: 21px;
}
.auth-form-icon .brand-mark {
  background: #f1f6ff;
  width: 50px;
  height: 50px;
  border-radius: 16px;
}
.auth-form-icon .brand-mark svg {
  height: 30px;
  width: 30px;
}
.auth-form-container h1 {
  font-size: 29px;
  letter-spacing: -1.1px;
  font-weight: 700;
  line-height: 1.3;
}
.auth-form-container > p {
  font-size: 12px;
  color: #97a4b5;
  line-height: 1.8;
  margin: 12px 0 29px;
}
.auth-role-field {
  margin: 2px 0 23px;
  padding: 0;
  border: 0;
}
.auth-role-field legend {
  font-size: 11px;
  color: #8796aa;
  margin-bottom: 10px;
}
.auth-role-options {
  display: flex;
  gap: 10px;
}
.auth-role-options button {
  border: 1px solid #e8edf4;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  font-size: 12px;
  color: #94a1b3;
}
.auth-role-options button > svg:last-child:not(:first-child) {
  margin-left: auto;
}
.auth-role-options button.selected {
  border-color: #a9caff;
  background: #f5f9ff;
  color: #5b8cd3;
}
.auth-submit {
  height: 48px;
  border-radius: 12px;
}
.auth-switch {
  margin: 25px 0;
  text-align: center;
  font-size: 11px;
  color: #9aa6b7;
}
.auth-switch button {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  padding: 0 3px;
  font-size: 11px;
  gap: 3px;
}
.auth-demo-note {
  display: flex;
  gap: 9px;
  color: #97a9c1;
  background: #f6f8fc;
  border-radius: 10px;
  padding: 13px;
}
.auth-demo-note p {
  font-size: 10px;
  line-height: 1.75;
}
.auth-bottom {
  font-size: 10px;
  color: #b1bbc9;
  margin-top: 50px;
}
.demo-explore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  color: #90a0b6;
  margin: 19px auto 0;
  padding: 0;
}
.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 10px;
  color: #8d9db2;
  line-height: 1.7;
  margin-bottom: 20px;
}
.auth-checkbox input {
  accent-color: var(--blue);
  margin-top: 3px;
}
.signup-success-icon {
  display: inline-flex;
  background: #edf9f4;
  color: #69ac95;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 23px;
}
.auth-form-container > .success-callout {
  margin-bottom: 25px;
}
.sidebar-scrim {
  display: none;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    bottom: 15px;
  }
  to {
    opacity: 1;
    bottom: 25px;
  }
}
@media (min-width: 1500px) {
  :root {
    --nav-width: 250px;
  }
  main#main-content {
    padding-left: 55px;
    padding-right: 55px;
  }
  .topbar {
    padding-left: 55px;
    padding-right: 55px;
  }
  .page-heading h1 {
    font-size: 38px;
  }
  .search-content {
    width: calc(100% - 230px);
  }
  .search-hero {
    padding: 32px 35px;
  }
  .search-content h2 {
    font-size: 21px;
  }
  .search-content > p {
    font-size: 12px;
  }
  .search-form input {
    font-size: 12px;
  }
  .search-form {
    height: 56px;
  }
  .search-button {
    min-height: 44px;
  }
  .cube-art {
    right: 15px;
    width: 260px;
    height: 206px;
  }
  .parts-table td {
    height: 77px;
  }
  .part-name-button strong {
    font-size: 11px;
  }
  .part-name-button small {
    font-size: 10px;
  }
  .part-number,
  .hs-code {
    font-size: 11px;
  }
  .workspace-footer {
    margin-left: 55px;
    margin-right: 55px;
  }
}
@media (max-width: 1180px) {
  :root {
    --nav-width: 208px;
  }
  .sidebar {
    padding-left: 13px;
    padding-right: 13px;
  }
  .sidebar-brand {
    font-size: 21px;
    gap: 7px;
  }
  .sidebar-brand .brand-mark {
    width: 29px;
  }
  .nav-item,
  .nav-parent {
    font-size: 12px;
    padding-left: 14px;
    gap: 10px;
  }
  .topbar {
    padding: 0 28px;
  }
  .topbar-actions {
    gap: 11px;
  }
  main#main-content {
    padding-left: 28px;
    padding-right: 28px;
  }
  .product-title {
    font-size: 18px;
  }
  .demo-label {
    display: none;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .search-hero {
    padding: 25px 24px 22px;
  }
  .search-content {
    width: calc(100% - 150px);
  }
  .cube-art {
    width: 205px;
    right: -12px;
    top: 12px;
  }
  .search-form {
    gap: 6px;
  }
  .search-field-select {
    padding-left: 7px;
    padding-right: 7px;
  }
  .search-field-select select {
    width: 72px;
    font-size: 10px;
  }
  .search-form input {
    font-size: 10px;
  }
  .search-button {
    padding-left: 12px;
    padding-right: 12px;
  }
  .search-button > svg {
    display: none;
  }
  .library-summary > div {
    padding: 0 15px;
    gap: 10px;
  }
  .library-summary strong {
    font-size: 18px;
  }
  .library-summary strong small {
    display: none;
  }
  .library-summary .bilingual-stat {
    font-size: 11px;
  }
  .library-summary .bilingual-stat small {
    display: block;
  }
  .library-summary .summary-icon {
    height: 35px;
    width: 35px;
  }
  .parts-table th.part-info-col {
    width: 38%;
  }
  .parts-table td,
  .parts-table th {
    padding-left: 10px;
    padding-right: 10px;
  }
  .parts-table th:nth-child(2) {
    width: 23%;
  }
  .part-name-button {
    gap: 9px;
  }
  .part-icon {
    width: 36px;
    height: 36px;
  }
  .part-icon svg {
    width: 29px;
    height: 29px;
  }
  .part-name-button strong {
    font-size: 9px;
  }
  .part-number {
    font-size: 9px;
  }
  .parts-table th:last-child {
    width: 62px;
  }
  .row-actions {
    gap: 0;
  }
  .row-actions .icon-button {
    padding: 4px;
  }
  .parts-table th {
    font-size: 7px;
  }
  .library-note {
    font-size: 7px;
  }
  .help-card {
    padding-left: 13px;
    padding-right: 13px;
  }
  .workspace-footer {
    margin: 0 28px;
  }
  .auth-brand-panel {
    padding: 36px;
  }
  .auth-pitch h1 {
    font-size: 36px;
  }
  .auth-trust {
    gap: 16px;
  }
  .auth-form-panel {
    padding-left: 35px;
    padding-right: 35px;
  }
  .advanced-filters {
    gap: 14px;
  }
  .advanced-filters p {
    display: none;
  }
}
@media (max-width: 960px) {
  :root {
    --nav-width: 190px;
  }
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .sidebar-brand {
    font-size: 20px;
    gap: 5px;
    padding-left: 8px;
  }
  .nav-item,
  .nav-parent {
    font-size: 11px;
  }
  .nav-item > svg,
  .nav-parent > svg {
    width: 18px;
  }
  .workspace-label {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .nav-child {
    font-size: 11px;
  }
  .help-card p {
    font-size: 8px;
  }
  .help-card h3 {
    font-size: 12px;
  }
  .help-card button {
    font-size: 10px;
  }
  .topbar {
    height: 76px;
    padding: 0 23px;
  }
  .product-title {
    font-size: 16px;
  }
  .product-title > span {
    font-size: 8px;
    padding: 4px 5px;
    margin-left: 4px;
  }
  .role-switch button {
    font-size: 9px;
    padding: 5px 7px;
    gap: 3px;
  }
  .role-switch button svg {
    width: 12px;
  }
  .topbar-actions {
    gap: 9px;
  }
  .topbar-divider {
    display: none;
  }
  main#main-content {
    padding: 23px 24px 0;
  }
  .breadcrumb {
    margin-bottom: 27px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .source-badge {
    font-size: 8px;
    padding: 6px;
  }
  .search-content {
    width: 100%;
  }
  .cube-art {
    width: 135px;
    height: 112px;
    top: -10px;
    right: 2px;
    opacity: 0.9;
  }
  .search-content h2 {
    font-size: 18px;
  }
  .search-content > p {
    font-size: 10px;
    max-width: 75%;
    line-height: 1.8;
  }
  .search-hero {
    padding: 24px 21px 22px;
  }
  .search-form {
    margin-top: 22px;
  }
  .search-form input {
    font-size: 11px;
  }
  .search-button > svg {
    display: block;
  }
  .search-button {
    padding-left: 15px;
    padding-right: 15px;
  }
  .library-summary {
    padding: 17px 0;
    grid-template-columns: 1fr 1fr 1.2fr;
  }
  .library-summary > div {
    padding: 0 12px;
    gap: 9px;
  }
  .library-summary .summary-icon {
    height: 28px;
    width: 28px;
    border-radius: 8px;
  }
  .library-summary .summary-icon svg {
    width: 16px;
  }
  .library-summary p > span {
    font-size: 8px;
  }
  .library-summary strong {
    font-size: 17px;
  }
  .library-summary .bilingual-stat {
    font-size: 10px;
  }
  .library-summary .bilingual-stat small {
    font-size: 8px;
  }
  .material-chips {
    gap: 4px;
  }
  .material-chips > button {
    padding: 6px 8px;
    font-size: 8px;
  }
  .sort-select {
    font-size: 8px;
  }
  .sort-select select {
    font-size: 8px;
    max-width: 75px;
  }
  .parts-table {
    min-width: 550px;
  }
  .parts-table th.part-info-col {
    width: 38%;
  }
  .parts-table td {
    padding: 12px 8px;
  }
  .part-name-button strong {
    font-size: 9px;
  }
  .part-name-button small {
    font-size: 8px;
  }
  .part-number {
    font-size: 9px;
  }
  .material-badge {
    font-size: 8px;
    padding: 4px 6px;
  }
  .hs-code {
    font-size: 9px;
  }
  .part-icon {
    height: 33px;
    width: 33px;
    border-radius: 8px;
  }
  .part-name-button {
    gap: 8px;
  }
  .library-note > span:last-child {
    font-size: 0;
    gap: 0;
  }
  .library-note > span:last-child .note-dot {
    display: none;
  }
  .library-note > span:last-child:after {
    content: "Frontend preview";
    font-size: 8px;
  }
  .workspace-footer {
    margin: 0 24px;
  }
  .parts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-stats {
    gap: 10px;
  }
  .admin-stats article {
    padding: 17px;
  }
  .admin-stats .summary-icon {
    width: 30px;
    height: 30px;
    right: 14px;
    top: 14px;
  }
  .admin-stats .summary-icon svg {
    width: 17px;
  }
  .admin-stats article > span:not(.summary-icon) {
    font-size: 9px;
    padding-right: 22px;
  }
  .admin-stats strong {
    font-size: 26px;
  }
  .admin-stats small {
    font-size: 9px;
  }
  .admin-panel {
    padding: 19px;
  }
  .reference-banner {
    padding: 20px;
  }
  .reference-banner h3 {
    font-size: 14px;
  }
  .reference-banner p {
    font-size: 10px;
  }
  .reference-count {
    font-size: 22px;
  }
  .upload-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-pitch h1 {
    font-size: 32px;
  }
  .auth-brand-panel {
    padding: 30px;
  }
  .auth-pitch > p {
    font-size: 11px;
  }
  .auth-trust {
    font-size: 9px;
    gap: 10px;
  }
  .auth-pitch .cube-art {
    width: 245px;
    height: 200px;
  }
  .auth-form-container h1 {
    font-size: 26px;
  }
  .auth-form-container > p {
    font-size: 11px;
  }
  .auth-form-panel {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media (max-width: 760px) {
  :root {
    --nav-width: 230px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    padding: 28px 18px 0;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar-brand {
    font-size: 23px;
    gap: 8px;
  }
  .sidebar-brand .brand-mark {
    width: 33px;
  }
  .nav-item,
  .nav-parent,
  .nav-child {
    font-size: 13px;
  }
  .nav-item > svg,
  .nav-parent > svg {
    width: 20px;
  }
  .workspace-label {
    font-size: 10px;
  }
  .help-card {
    padding: 18px;
  }
  .help-card h3 {
    font-size: 13px;
  }
  .help-card p {
    font-size: 10px;
  }
  .help-card button {
    font-size: 11px;
  }
  .sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #24364c50;
    backdrop-filter: blur(2px);
    z-index: 29;
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-trigger {
    display: flex;
    padding: 5px;
    margin-left: -4px;
  }
  .topbar {
    padding: 0 22px;
    gap: 12px;
    height: 72px;
  }
  .topbar-actions {
    margin-left: auto;
    gap: 13px;
  }
  .product-title {
    font-size: 17px;
  }
  .topbar .role-switch {
    position: absolute;
    top: 91px;
    right: 24px;
    z-index: 1;
  }
  .role-switch button {
    padding: 5px 8px;
    font-size: 10px;
  }
  .topbar-divider {
    display: none;
  }
  .avatar {
    width: 31px;
    height: 31px;
  }
  .notification-button svg {
    width: 19px;
  }
  main#main-content {
    padding-top: 27px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 8px;
    margin-bottom: 35px;
    max-width: 50%;
    white-space: nowrap;
  }
  .breadcrumb > span:first-child,
  .breadcrumb > svg:first-of-type {
    display: none;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  .source-badge {
    display: none;
  }
  .search-content h2 {
    font-size: 19px;
  }
  .search-content > p {
    font-size: 11px;
    max-width: 78%;
  }
  .search-hero {
    padding: 25px 23px 22px;
    min-height: 212px;
  }
  .cube-art {
    width: 143px;
    height: 118px;
    right: 2px;
    top: -7px;
  }
  .search-field-select select {
    width: 78px;
    font-size: 11px;
  }
  .search-form input {
    font-size: 11px;
  }
  .search-button {
    font-size: 11px;
  }
  .search-button svg {
    display: none;
  }
  .library-summary {
    margin-top: 15px;
  }
  .library-summary > div {
    padding: 0 15px;
  }
  .library-summary p > span {
    font-size: 9px;
  }
  .library-summary strong {
    font-size: 18px;
  }
  .library-summary .summary-icon {
    width: 33px;
    height: 33px;
    border-radius: 10px;
  }
  .library-summary .summary-icon svg {
    width: 18px;
  }
  .library-summary .bilingual-stat {
    font-size: 11px;
  }
  .library-summary .bilingual-stat small {
    font-size: 8px;
  }
  .parts-section {
    margin-top: 29px;
  }
  .parts-table {
    min-width: 575px;
  }
  .part-name-button strong {
    font-size: 10px;
  }
  .part-icon {
    width: 38px;
    height: 38px;
  }
  .part-icon svg {
    width: 31px;
    height: 31px;
  }
  .part-name-button small {
    font-size: 9px;
  }
  .parts-table td {
    height: 73px;
  }
  .parts-table th {
    font-size: 8px;
  }
  .part-number,
  .hs-code {
    font-size: 10px;
  }
  .material-badge {
    font-size: 9px;
  }
  .table-footer {
    padding: 19px 0;
  }
  .table-footer p {
    font-size: 9px;
  }
  .library-note {
    font-size: 8px;
  }
  .workspace-footer {
    padding: 20px 0;
  }
  .toast {
    left: 50%;
    width: max-content;
    font-size: 11px;
    padding: 13px 15px;
  }
  .admin-stats article {
    padding: 18px;
  }
  .admin-stats article > span:not(.summary-icon) {
    font-size: 10px;
  }
  .admin-stats .summary-icon {
    width: 30px;
    height: 30px;
  }
  .admin-badge {
    font-size: 9px;
    padding: 6px 8px;
  }
  .admin-badge svg {
    width: 13px;
  }
  .reference-count {
    font-size: 20px;
  }
  .reference-banner {
    padding: 20px;
    gap: 13px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-brand-panel {
    display: none;
  }
  .auth-form-panel {
    padding: 90px 30px 30px;
    min-height: 100vh;
  }
  .auth-form-container {
    max-width: 370px;
  }
  .auth-form-container h1 {
    font-size: 31px;
  }
  .auth-form-container > p {
    font-size: 12px;
  }
  .auth-form-panel .form-label input {
    font-size: 14px;
  }
  .auth-top-badge {
    right: 30px;
    top: 30px;
  }
  .auth-bottom {
    margin-top: 40px;
  }
  .account-popover {
    top: 43px;
  }
  .parts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reference-banner p {
    line-height: 1.6;
  }
  .reference-banner .summary-icon {
    width: 35px;
    height: 35px;
  }
  .reference-count small {
    display: block;
    font-size: 9px;
    margin-top: 4px;
  }
  .admin-panel {
    padding: 17px;
  }
  .current-source p {
    font-size: 9px;
  }
  .current-source > span:last-child {
    display: none;
  }
}
@media (max-width: 480px) {
  .topbar {
    padding: 0 19px;
    gap: 10px;
  }
  .topbar-actions {
    gap: 10px;
  }
  .topbar .role-switch {
    right: 19px;
  }
  .product-title {
    font-size: 16px;
  }
  .product-title > span {
    font-size: 8px;
    margin-left: 3px;
  }
  .avatar {
    width: 29px;
    height: 29px;
  }
  .notification-button {
    padding: 3px;
  }
  .notification-button svg {
    width: 18px;
  }
  .topbar .mobile-trigger svg {
    width: 21px;
  }
  main#main-content {
    padding: 25px 19px 0;
  }
  .breadcrumb {
    font-size: 8px;
    gap: 6px;
    margin-bottom: 34px;
  }
  .page-heading h1 {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
    margin-bottom: 8px;
  }
  .page-heading p {
    font-size: 10px;
    margin-top: 8px;
  }
  .search-hero {
    padding: 23px 17px 21px;
    min-height: 218px;
    border-radius: 17px;
  }
  .search-content h2 {
    font-size: 18px;
    letter-spacing: -0.6px;
    position: relative;
    z-index: 1;
  }
  .search-content > p {
    font-size: 10px;
    line-height: 1.7;
    margin-top: 7px;
    max-width: 78%;
  }
  .cube-art {
    width: 112px;
    height: 96px;
    top: 0;
    right: -8px;
    opacity: 0.8;
  }
  .search-form {
    height: 49px;
    margin-top: 21px;
    gap: 5px;
    border-radius: 10px;
  }
  .search-field-select {
    padding-left: 5px;
    padding-right: 5px;
  }
  .search-field-select select {
    font-size: 9px;
    width: 60px;
  }
  .search-field-select > svg {
    width: 12px;
    right: 6px;
  }
  .search-input-icon {
    display: none;
  }
  .search-form input {
    font-size: 10px;
    padding-left: 4px;
    min-width: 30px;
  }
  .search-form input::placeholder {
    font-size: 9px;
  }
  .search-button {
    font-size: 10px;
    padding: 9px 12px;
    min-height: 37px;
    border-radius: 7px;
  }
  .recent-searches {
    gap: 5px;
    margin-top: 14px;
  }
  .recent-searches > span {
    font-size: 8px;
    margin-right: 0;
  }
  .recent-searches > span svg {
    width: 11px;
  }
  .recent-searches button {
    font-size: 7px;
    padding: 4px 5px;
    gap: 2px;
  }
  .recent-searches button svg {
    width: 9px;
  }
  .library-summary {
    grid-template-columns: 1fr 1fr;
    border-radius: 13px;
    padding: 16px 0;
  }
  .library-summary > div {
    padding: 0 17px;
    gap: 10px;
  }
  .library-summary > div:nth-child(2) {
    border: 0;
  }
  .library-summary > div:last-child {
    display: none;
  }
  .library-summary p > span {
    font-size: 9px;
  }
  .library-summary strong {
    font-size: 21px;
  }
  .library-summary .summary-icon {
    width: 35px;
    height: 35px;
  }
  .parts-section {
    margin-top: 27px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .section-heading h2 > span {
    font-size: 9px;
  }
  .export-button {
    font-size: 9px;
    padding: 7px 9px;
    min-height: 32px;
  }
  .export-button svg {
    width: 12px;
  }
  .section-heading {
    margin-bottom: 18px;
  }
  .table-toolbar {
    height: 43px;
  }
  .result-tabs {
    gap: 18px;
  }
  .result-tabs button {
    font-size: 11px;
  }
  .table-controls {
    gap: 8px;
  }
  .filter-button {
    font-size: 10px;
    gap: 5px;
    padding: 3px;
  }
  .control-divider {
    display: none;
  }
  .view-toggle button {
    padding: 3px 4px;
  }
  .material-toolbar {
    padding: 13px 0;
    overflow-x: auto;
  }
  .material-chips {
    gap: 5px;
  }
  .material-chips > button {
    font-size: 8px;
    padding: 6px 9px;
    min-height: 26px;
  }
  .material-chips > button svg {
    width: 10px;
  }
  .sort-select {
    display: none;
  }
  .more-materials select {
    font-size: 8px;
    max-width: 65px;
  }
  .parts-table {
    min-width: 560px;
  }
  .parts-table th.part-info-col {
    width: 36%;
  }
  .parts-table th:nth-child(2) {
    width: 23%;
  }
  .parts-table th:nth-child(3) {
    width: 18%;
  }
  .parts-table th:nth-child(4) {
    width: 12%;
  }
  .parts-table th:last-child {
    width: 11%;
  }
  .parts-table td {
    padding: 12px 10px;
  }
  .part-name-button {
    gap: 9px;
  }
  .part-name-button strong {
    font-size: 9px;
  }
  .part-name-button small {
    font-size: 8px;
  }
  .part-icon {
    width: 33px;
    height: 33px;
  }
  .part-icon svg {
    width: 27px;
    height: 27px;
  }
  .part-number {
    font-size: 9px;
  }
  .table-footer {
    flex-direction: column;
    gap: 15px;
    padding: 21px 0 20px;
  }
  .table-footer p {
    font-size: 10px;
  }
  .pagination button {
    font-size: 10px;
    min-width: 30px;
    height: 30px;
  }
  .library-note {
    margin-bottom: 24px;
    font-size: 7px;
    gap: 4px;
  }
  .library-note svg {
    width: 12px;
  }
  .library-note > span:last-child:after {
    font-size: 7px;
  }
  .workspace-footer {
    margin: 0 19px;
  }
  .workspace-footer > span:nth-child(2) {
    display: none;
  }
  .workspace-footer > span:first-child {
    font-size: 10px;
  }
  .workspace-footer button {
    font-size: 8px;
  }
  .parts-grid {
    gap: 10px;
  }
  .part-card {
    padding: 15px;
    border-radius: 12px;
  }
  .part-card h3 {
    font-size: 10px;
  }
  .part-card p {
    font-size: 9px;
  }
  .card-detail > span {
    font-size: 10px;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }
  .admin-stats article:last-child {
    display: none;
  }
  .admin-stats article {
    padding: 18px 15px;
  }
  .admin-stats .summary-icon {
    position: static;
    margin-bottom: 12px;
  }
  .admin-stats article > span:not(.summary-icon) {
    padding-right: 0;
    margin-bottom: 9px;
    font-size: 10px;
  }
  .admin-stats strong {
    font-size: 28px;
  }
  .admin-tabs {
    gap: 23px;
  }
  .admin-tabs button {
    font-size: 11px;
    gap: 6px;
  }
  .admin-tabs button svg {
    width: 16px;
  }
  .admin-panel .section-heading {
    align-items: flex-start;
  }
  .admin-panel .section-heading h2 {
    font-size: 16px;
  }
  .admin-panel .section-heading p {
    line-height: 1.7;
    font-size: 10px;
  }
  .demo-pill {
    font-size: 8px;
    padding: 5px 6px;
  }
  .info-callout {
    padding: 15px;
    gap: 8px;
  }
  .info-callout p {
    font-size: 10px;
  }
  .reference-banner {
    padding: 18px 15px;
    gap: 11px;
  }
  .reference-banner h3 {
    font-size: 13px;
  }
  .reference-banner p {
    font-size: 9px;
  }
  .reference-count {
    font-size: 18px;
  }
  .reference-banner .summary-icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }
  .reference-banner .summary-icon svg {
    width: 19px;
  }
  .reference-search {
    padding: 11px 14px;
    margin: 20px 0;
    gap: 8px;
  }
  .reference-search input {
    font-size: 10px;
  }
  .reference-search svg {
    width: 17px;
  }
  .reference-section .section-heading h2 {
    font-size: 16px;
  }
  .reference-section .section-heading > .muted {
    display: none;
  }
  .reference-section .section-heading h2 > span {
    font-size: 9px;
  }
  .upload-zone {
    padding: 30px 14px;
  }
  .upload-zone h3 {
    font-size: 13px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .upload-zone p {
    font-size: 10px;
  }
  .upload-footer .primary-button {
    width: 100%;
  }
  .upload-footer p {
    font-size: 8px;
  }
  .current-source {
    gap: 9px;
  }
  .current-source > svg {
    width: 18px;
  }
  .current-source p {
    font-size: 8px;
    line-height: 1.8;
  }
  .modal-overlay {
    padding: 16px;
  }
  .modal {
    border-radius: 19px;
    padding: 22px;
    max-height: 90dvh;
  }
  .modal-header h2 {
    font-size: 17px;
  }
  .modal-header {
    margin-bottom: 17px;
  }
  .detail-title h2 {
    font-size: 17px;
  }
  .detail-title {
    gap: 13px;
  }
  .detail-title .part-icon {
    height: 56px;
    width: 56px;
  }
  .detail-fields dd,
  .detail-fields dt {
    font-size: 11px;
  }
  .detail-source {
    font-size: 8px;
  }
  .toast {
    font-size: 10px;
    padding: 13px;
    gap: 8px;
  }
  .toast > svg {
    width: 16px;
  }
  .advanced-filters {
    padding: 13px;
    gap: 10px;
  }
  .advanced-filters input {
    width: 98px;
    font-size: 10px;
  }
  .advanced-filters label {
    font-size: 9px;
    gap: 9px;
  }
  .advanced-filters .text-button {
    font-size: 10px;
  }
  .auth-form-panel {
    padding-left: 25px;
    padding-right: 25px;
  }
  .auth-form-container h1 {
    font-size: 29px;
  }
  .auth-form-container > p {
    font-size: 11px;
  }
  .auth-bottom {
    font-size: 9px;
  }
}
@media (min-width: 961px) {
  .nav-parent,
  .nav-item,
  .nav-child {
    font-size: 14px;
  }
  .workspace-label {
    font-size: 10px;
  }
  .product-title {
    font-size: 21px;
  }
  .product-title > span {
    font-size: 10px;
  }
  .role-switch button {
    font-size: 12px;
  }
  .demo-label {
    font-size: 11px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .source-badge {
    font-size: 11px;
  }
  .search-content h2 {
    font-size: 22px;
  }
  .search-content > p {
    font-size: 12px;
  }
  .search-form input {
    font-size: 12px;
  }
  .search-field-select select {
    font-size: 12px;
  }
  .search-button {
    font-size: 12px;
  }
  .recent-searches > span {
    font-size: 10px;
  }
  .recent-searches button {
    font-size: 9px;
  }
  .library-summary p > span {
    font-size: 11px;
  }
  .library-summary strong {
    font-size: 23px;
  }
  .library-summary small {
    font-size: 10px;
  }
  .library-summary .bilingual-stat {
    font-size: 14px;
  }
  .bilingual-stat small {
    font-size: 10px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .section-heading h2 > span {
    font-size: 11px;
  }
  .export-button {
    font-size: 11px;
  }
  .result-tabs button {
    font-size: 13px;
  }
  .filter-button {
    font-size: 12px;
  }
  .material-chips > button,
  .more-materials select {
    font-size: 11px;
  }
  .material-chips > button {
    padding: 7px 11px;
  }
  .sort-select,
  .sort-select select {
    font-size: 11px;
  }
  .parts-table th {
    font-size: 9px;
  }
  .part-name-button strong {
    font-size: 12px;
  }
  .part-name-button small {
    font-size: 11px;
  }
  .part-number,
  .hs-code {
    font-size: 12px;
  }
  .material-badge {
    font-size: 10px;
  }
  .parts-table td {
    height: 76px;
  }
  .table-footer p,
  .pagination button,
  .pagination > span {
    font-size: 11px;
  }
  .library-note {
    font-size: 9px;
  }
  .help-card h3 {
    font-size: 14px;
  }
  .help-card p {
    font-size: 11px;
    white-space: normal;
  }
  .help-card button {
    font-size: 12px;
  }
  .sidebar-status {
    font-size: 11px;
  }
  .workspace-footer {
    font-size: 10px;
  }
  .workspace-footer button {
    font-size: 10px;
  }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-parent,
  .nav-item,
  .nav-child {
    font-size: 12px;
  }
  .product-title {
    font-size: 19px;
  }
  .search-content > p {
    font-size: 11px;
  }
  .search-form input,
  .search-field-select select {
    font-size: 11px;
  }
  .part-name-button strong {
    font-size: 11px;
  }
  .part-name-button small {
    font-size: 10px;
  }
  .part-number,
  .hs-code {
    font-size: 11px;
  }
  .material-chips > button,
  .more-materials select {
    font-size: 10px;
  }
  .sort-select,
  .sort-select select {
    font-size: 10px;
  }
  .library-summary .bilingual-stat {
    font-size: 12px;
  }
  .library-summary p > span {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .page-heading p {
    font-size: 12px;
  }
  .search-content > p {
    font-size: 11px;
  }
  .search-form input {
    font-size: 12px;
  }
  .search-form input::placeholder {
    font-size: 11px;
  }
  .part-name-button strong {
    font-size: 11px;
  }
  .part-name-button small {
    font-size: 10px;
  }
  .part-number,
  .hs-code {
    font-size: 11px;
  }
  .parts-table th {
    font-size: 9px;
  }
  .material-chips > button,
  .more-materials select {
    font-size: 10px;
  }
  .material-toolbar {
    gap: 8px;
  }
  .library-summary p > span {
    font-size: 10px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .search-field-select select {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Multi-standard HS comparison and private customer support. */
.hs-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}
.hs-mode-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  background: #fff;
  color: #6b7b91;
  font-weight: 600;
}
.hs-mode-tabs button.active {
  background: #edf4ff;
  color: #2878eb;
  border-color: #cbdffd;
}
.mock-source-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f7f9fc;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  padding: 21px;
  margin: 0 0 24px;
}
.mock-source-notice strong {
  color: #35465f;
  font-size: 14px;
}
.mock-source-notice p {
  color: #65758b;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 5px;
}
.mock-source-pill {
  display: inline-flex;
  white-space: nowrap;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.6px;
  color: #947038;
  background: #fff2d9;
}
.comparison-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 27px 0 17px;
  font-size: 13px;
  color: #64748b;
}
.comparison-summary strong {
  color: #34445d;
}
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.standard-card {
  background: #fff;
  border: 1px solid #e4ebf4;
  border-radius: 20px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.standard-card header {
  padding: 22px;
  background: #f8faff;
  position: relative;
}
.standard-card header > .mock-source-pill {
  position: absolute;
  right: 18px;
  top: 20px;
}
.standard-region {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}
.standard-card h2 {
  font-size: 26px;
  color: #273b59;
  display: flex;
  gap: 10px;
  align-items: center;
}
.standard-card h2 small {
  font-size: 11px;
  font-weight: 500;
  color: #71839d;
}
.standard-card header p {
  font-size: 11px;
  line-height: 1.7;
  color: #73839a;
  margin-top: 8px;
}
.standard-records {
  flex: 1;
}
.standard-record {
  padding: 24px 22px;
  border-top: 1px solid #edf1f7;
  overflow-wrap: anywhere;
}
.classification-code {
  display: block;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2878eb;
  font-variant-numeric: tabular-nums;
}
.standard-record h3 {
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0 5px;
  color: #384960;
}
.standard-record p {
  font-size: 12px;
  line-height: 1.7;
  color: #75849a;
}
.hs-common-prefix {
  display: block;
  font-size: 11px;
  color: #5c7392;
  margin-top: 14px;
}
.standard-record > small {
  display: block;
  font-size: 10px;
  color: #8995a7;
  margin-top: 9px;
}
.standard-card footer {
  padding: 18px 22px;
  border-top: 1px solid #edf1f7;
}
.standard-no-match {
  padding: 28px 20px;
  color: #8491a4;
  font-size: 12px;
}
.comparison-footnote {
  font-size: 11px;
  color: #7e8da2;
  line-height: 1.8;
  margin-top: 18px;
}
.support-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 8px 0 24px;
}
.support-heading h2 {
  font-size: 22px;
  color: #283d58;
}
.support-heading p {
  font-size: 12px;
  line-height: 1.7;
  color: #77879c;
  margin-top: 7px;
}
.support-header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.support-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr);
  gap: 22px;
  align-items: start;
}
.ticket-list-panel,
.ticket-detail-panel {
  min-width: 0;
  background: white;
  border: 1px solid #e5ebf3;
  border-radius: 20px;
  overflow: hidden;
}
.ticket-filters {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid #edf1f7;
}
.ticket-filters input,
.ticket-filters select {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid #e5ebf3;
  border-radius: 10px;
  font: inherit;
  font-size: 11px;
  color: #53647c;
  background: #f9fbfd;
}
.ticket-filters input {
  width: 100%;
}
.ticket-filters select {
  width: 112px;
  flex-shrink: 0;
}
.ticket-list {
  list-style: none;
  margin: 0;
  padding: 7px;
}
.ticket-list-item {
  width: 100%;
  padding: 16px 13px;
  background: white;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 12px;
  margin-bottom: 3px;
}
.ticket-list-item:hover {
  background: #f8faff;
}
.ticket-list-item.selected {
  background: #f0f6ff;
  border-color: #d9e7fc;
}
.ticket-list-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ticket-list-top time {
  font-size: 10px;
  color: #8a97aa;
}
.ticket-list-item > strong {
  display: block;
  color: #3f5068;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.ticket-customer {
  display: block;
  font-size: 10px;
  color: #7a8ba3;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 650;
  padding: 5px 8px;
  border-radius: 7px;
  white-space: nowrap;
}
.ticket-status.pending {
  color: #9b7639;
  background: #fff5df;
}
.ticket-status.answered {
  color: #39896e;
  background: #edf8f2;
}
.ticket-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #edf1f7;
  font-size: 11px;
  color: #8693a7;
}
.ticket-pagination > span:first-child {
  margin-right: auto;
}
.ticket-pagination button {
  display: flex;
  padding: 5px;
  background: #f5f8fc;
  border: 1px solid #e7edf5;
  border-radius: 6px;
  color: #6d82a0;
}
.ticket-detail-panel {
  padding: 28px;
}
.ticket-detail-panel h2 {
  color: #30435e;
  font-size: 22px;
  line-height: 1.5;
}
.support-subtitle,
.ticket-meta {
  color: #8290a4;
  font-size: 12px;
  line-height: 1.8;
  margin: 7px 0 24px;
  overflow-wrap: anywhere;
}
.support-form-icon {
  display: inline-flex;
  padding: 13px;
  border-radius: 14px;
  background: #edf5ff;
  color: #4386e9;
  margin-bottom: 14px;
}
.support-form .form-label {
  display: block;
  color: #50627c;
  font-size: 12px;
  margin: 22px 0 10px;
}
.support-form input,
.support-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #e2eaf4;
  border-radius: 12px;
  background: #fafcff;
  font: inherit;
  font-size: 13px;
  line-height: 1.8;
  padding: 13px 15px;
  margin-top: 10px;
  color: #354963;
}
.support-form textarea {
  resize: vertical;
  min-height: 130px;
}
.support-form input:focus,
.support-form textarea:focus,
.ticket-filters input:focus {
  outline: 2px solid #b4d1ff;
  outline-offset: 1px;
}
.support-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.support-counter {
  display: block;
  text-align: right;
  font-size: 10px;
  color: #94a0b1;
}
.support-privacy-note {
  font-size: 10px;
  color: #8b98aa;
  line-height: 1.8;
  margin-top: 18px;
}
.support-success {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #40836c;
  background: #edf8f3;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 12px;
}
.support-placeholder {
  padding: 30px 20px;
  color: #8796aa;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
.support-placeholder svg {
  color: #91b5ed;
  margin: 0 auto 15px;
}
.support-placeholder h3 {
  color: #61738e;
  font-size: 15px;
}
.support-placeholder p {
  margin-top: 10px;
}
.support-detail-empty {
  padding: 70px 10px;
}
.ticket-detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
  gap: 10px;
}
.ticket-title {
  overflow-wrap: anywhere;
}
.ticket-message,
.ticket-reply {
  padding: 22px;
  background: #f7f9fc;
  border-radius: 14px;
  margin-top: 20px;
}
.ticket-message h3,
.ticket-reply h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #657992;
  margin-bottom: 12px;
}
.ticket-message p,
.ticket-reply p {
  color: #405571;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ticket-reply {
  background: #f0f6ff;
  border: 1px solid #e1ecfd;
}
.ticket-reply time {
  display: block;
  color: #8496b2;
  font-size: 10px;
  margin-top: 18px;
}
.ticket-waiting {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  color: #8b8060;
  line-height: 1.8;
}
.support-workspace button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 1100px) {
  .standards-grid {
    gap: 10px;
  }
  .standard-card header,
  .standard-record {
    padding: 18px 15px;
  }
  .classification-code {
    font-size: 20px;
  }
  .support-layout {
    grid-template-columns: minmax(215px, 0.9fr) minmax(0, 1.2fr);
    gap: 14px;
  }
  .ticket-filters {
    flex-wrap: wrap;
  }
  .ticket-filters select {
    width: 100%;
  }
}
@media (max-width: 760px) {
  .standards-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    gap: 16px;
  }
  .mock-source-notice {
    flex-direction: column;
    gap: 9px;
  }
  .support-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .support-header-actions {
    flex-wrap: wrap;
  }
  .ticket-detail-panel {
    padding: 20px;
  }
  .ticket-filters {
    flex-wrap: nowrap;
  }
  .ticket-filters select {
    width: 112px;
  }
  .ticket-list {
    max-height: 320px;
    overflow: auto;
  }
  .ticket-detail-heading {
    flex-wrap: wrap;
  }
  .hs-mode-tabs button {
    padding: 11px 12px;
    font-size: 11px;
  }
  .admin-tabs {
    flex-wrap: wrap;
  }
}
