.invoice-line {
  grid-template-columns: auto 2fr 1fr 1fr 1fr auto;
  align-items: start;
}

.invoice-line > label { align-content: start; }
.invoice-line > label > input { min-height: 45px; }
.invoice-line .remove-invoice-line { margin-top: 30px; }

.invoice-check {
  align-self: center;
  justify-items: center;
  white-space: nowrap;
}

.invoice-check input {
  width: auto;
  min-width: 20px;
  height: 20px;
}

.invoice-line-disabled {
  opacity: .62;
}
.disabled-button { background:#dfe6e9; color:#87949b; cursor:not-allowed; pointer-events:none; }
.reusable-certificate-panel { margin-top:14px; padding:16px; border:1px solid var(--line); border-radius:12px; background:#f7fafb; }
.reusable-certificate-panel legend { padding:0 7px; font-weight:700; }
.reusable-certificate-panel p { margin-top:0; }
.existing-product-panel { margin:0 0 18px; padding:16px; border:1px solid var(--line); border-radius:12px; background:#f7fafb; }
.existing-product-panel legend { padding:0 7px; font-weight:700; }
.existing-product-panel p { margin-top:0; }
.existing-product-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 20px; margin-bottom:12px; }

.authenticated-layout table { table-layout:fixed; }
.authenticated-layout th,
.authenticated-layout td { text-align:left; vertical-align:middle; overflow-wrap:anywhere; word-break:break-word; }
.authenticated-layout .table-action { max-width:100%; white-space:normal; text-align:left; }
.business-detail-table { min-width:1080px; }
.business-detail-table.is-fsc { min-width:1480px; }
.business-detail-table th:nth-child(1) { width:110px; }
.business-detail-table th:nth-child(2) { width:170px; }
.business-detail-table th:nth-child(3) { width:155px; }
.business-detail-table th:nth-child(4) { width:210px; }
.business-detail-table th:nth-child(5) { width:240px; }
.business-detail-table th:last-child { width:115px; }
.catalog-table { min-width:1180px; }
.review-actions { display:grid; gap:7px; }

.iso-date-control { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; }
.iso-date-picker-button { min-height:45px; padding:9px 13px; border:1px solid #b9cbd3; border-radius:9px; background:#e7f1f3; color:var(--navy); font:inherit; font-weight:700; cursor:pointer; }
.iso-date-native-picker { position:absolute; right:0; bottom:0; width:1px; height:1px; padding:0; opacity:0; pointer-events:none; }

.table-action {
  padding: 7px 14px;
  white-space: nowrap;
}

.gate-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 14px;
}

.customer-badge.light {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
}

.step-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -4px 0 22px;
}

.step-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 13px 16px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.step-nav b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--muted);
  background: #edf3f5;
  border-radius: 50%;
}

.step-nav span { display: grid; font-weight: 700; }
.step-nav small { font-size: 12px; }
.step-nav .active { border-color: var(--teal); box-shadow: 0 0 0 3px #087d7a18; }
.step-nav .active b { color: #fff; background: var(--teal); }
.step-nav .complete b { color: #fff; background: #16845e; }
.step-nav .locked { opacity: .58; pointer-events: none; }

.form-intro,
.sticky-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-intro h2,
.form-intro p,
.sticky-submit p { margin: 0; }

.form-status {
  flex: 0 0 auto;
  padding: 6px 11px;
  color: #086962;
  background: #e1f5f2;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.form-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.form-section.no-border { margin-top: 0; padding-top: 0; border-top: 0; }

.form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
}

.form-section-heading > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-weight: 700;
}

.form-section-heading h2,
.form-section-heading p { margin: 0; }
.form-section-heading p { color: var(--muted); }
.required-mark { margin-left: 3px; color: var(--danger); }
.optional-badge { margin-left: 7px; padding: 2px 7px; color: var(--muted); background: #edf3f5; border-radius: 999px; font-size: 12px; font-weight: 400; }

.customer-type-choices { align-items: stretch; }
.choice-card {
  flex: 1 1 320px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.choice-card:has(input:checked) { border-color: var(--teal); background: #effafa; box-shadow: 0 0 0 3px #087d7a12; }
.choice-card input { width: auto; margin-top: 5px; }
.choice-card span { display: grid; }
.choice-card small { margin-top: 3px; }

.consent-box {
  margin-top: 26px;
  padding: 18px;
  background: #f4f8f9;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.consent-box label { display: flex; align-items: flex-start; gap: 11px; font-weight: 400; }
.consent-box input { width: auto; min-width: 19px; height: 19px; margin-top: 2px; }
.sticky-submit { margin: 24px -26px -26px; padding: 18px 26px; background: #fbfdfd; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.sticky-submit p { color: var(--muted); }

.product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.product-toolbar p { margin: 0; color: var(--muted); }
.product-row { grid-template-columns: 38px repeat(3, minmax(190px, 1fr)) auto; align-items:start; gap:16px; padding:20px; }
.product-row .fsc-field { grid-column: auto; }
.product-row .fsc-model-field { grid-column: span 2; }
.product-row .fsc-model-field textarea { min-height:104px; }
.product-row .fsc-photo-field { grid-column: 2 / -2; }
.product-number { display: grid; place-items: center; align-self: center; width: 30px; height: 30px; color: #fff; background: var(--navy); border-radius: 50%; font-weight: 700; }
.remove-product:disabled { opacity: .45; cursor: not-allowed; }

.info-box,
.requirement-box {
  padding: 14px 16px;
  color: #174f63;
  background: #eaf7fb;
  border-left: 4px solid #2c8ead;
  border-radius: 9px;
}
.requirement-box { display: grid; gap: 3px; margin-top: 14px; }
.requirement-box.warning { color: #7a4c00; background: #fff5d8; border-left-color: #d89200; }
.requirement-box.satisfied { color: #10603d; background: #e2f7ee; border-left-color: #16845e; }

.fsc-document-panel { margin-top:20px; padding:20px; background:#f7fafb; border:1px solid var(--line); border-radius:12px; }
.fsc-document-panel h3,.fsc-document-panel p { margin-top:0; }
.fsc-existing-documents { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:16px 0; }
.fsc-existing-documents fieldset { min-width:0; padding:14px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.fsc-existing-documents legend { padding:0 6px; font-weight:700; }
.document-choice { display:flex; align-items:flex-start; gap:9px; padding:9px 0; font-weight:600; overflow-wrap:anywhere; }
.document-choice input { width:auto; margin-top:4px; }
.document-choice span { display:grid; min-width:0; }
.fsc-direct-uploads { margin-top:12px; }

.document-summary { padding-bottom: 20px; }
.document-summary h2,
.document-summary p { margin: 0; }
.document-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.document-category { display: flex; align-items: center; gap: 10px; padding: 14px; background: #f5f8f9; border: 1px solid var(--line); border-radius: 11px; }
.document-category.uploaded { background: #effaf6; border-color: #a5dccb; }
.document-category > div { display: grid; }
.document-check { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; color: var(--muted); background: #e2eaed; border-radius: 50%; font-weight: 700; }
.document-category.uploaded .document-check { color: #fff; background: #16845e; }
.document-type-fieldset { margin: 0; padding: 0; border: 0; }
.document-type-fieldset legend { margin-bottom: 8px; font-weight: 700; }
.document-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.document-type-options label { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.document-type-options label:has(input:checked) { border-color: var(--teal); background: #effafa; }
.document-type-options input { width: auto; margin-top: 4px; }
.document-type-options span { display: grid; }

.template-guide { display: grid; gap: 16px; }
.template-guide h2,
.template-guide p,
.template-guide .alert { margin: 0; }
.template-filter { max-width: 360px; }
.template-grid { display: grid; gap: 18px; }
.template-card { scroll-margin-top: 90px; }
.template-card-head,
.active-template,
.table-buttons,
.role-form { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.template-card-head h2,
.template-card-head p { margin: 0; }
.template-kind { display: inline-block; margin-bottom: 5px; padding: 3px 8px; color: #fff; background: var(--navy); border-radius: 6px; font-size: 12px; font-weight: 700; }
.status-missing { color: #705600; background: #fff5d8; }
.status-active { color: #10603d; background: #e2f7ee; }
.active-template { margin: 18px 0; padding: 14px 16px; background: #effaf6; border: 1px solid #a5dccb; border-radius: 11px; }
.active-template > div { display: grid; }
.template-upload-form { display: grid; grid-template-columns: minmax(280px,1.2fr) minmax(280px,1fr) auto; gap: 13px; align-items: start; padding: 17px; background: #f6f9fa; border: 1px solid var(--line); border-radius: 12px; }
.template-upload-form > label { align-content: start; }
.template-upload-form > label > input { min-height: 45px; }
.template-upload-form > button { margin-top: 30px; min-height: 45px; }
.template-history { margin-top: 16px; }
.template-history summary { cursor: pointer; color: var(--teal); font-weight: 700; }
.template-history table { margin-top: 10px; }
.table-buttons { justify-content: flex-start; }
.table-buttons form { margin: 0; }
.role-form { justify-content: flex-start; min-width: 245px; }
.role-form select { min-width: 120px; }

.page-actions { display:flex; justify-content:flex-end; margin:-10px 0 18px; }
.business-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.business-card { display:flex; flex-direction:column; justify-content:space-between; gap:20px; margin-bottom:0; }
.business-card h2,.business-card p { margin:0; }
.business-card p { margin-top:8px; color:var(--muted); }
.card-actions,.inline-controls,.stage-form,.management-bar { display:flex; align-items:center; gap:12px; }
.card-actions { flex-wrap:wrap; }
.management-bar { justify-content:space-between; }
.management-bar h2,.management-bar p { margin:0; }
.inline-controls select { min-width:150px; }
.stage-form { min-width:290px; }
.stage-form select { min-width:220px; }
.staff-applications .table-wrap { overflow-x:auto; }
.staff-applications table { min-width:1230px; table-layout:fixed; }
.staff-applications .business-col { width:145px; }
.staff-applications .date-col { width:105px; }
.staff-applications .stage-col { width:300px; }
.staff-applications .generate-col { width:135px; }
.staff-applications .submission-col { width:210px; }
.staff-applications .files-col { width:330px; }
.staff-applications td { vertical-align:top; overflow-wrap:anywhere; }
.staff-applications .submission-id { display:block; line-height:1.45; }
.staff-applications .generated-file-buttons { align-items:stretch; flex-direction:column; }
.staff-applications .generated-file-buttons .button { max-width:100%; overflow-wrap:anywhere; white-space:normal; text-align:left; }
.staff-applications .stage-form { min-width:0; align-items:stretch; }
.staff-applications .stage-form select { min-width:0; flex:1 1 auto; }
.application-ops-list { display:grid; gap:18px; }
.application-ops-card { border:1px solid var(--line); border-radius:14px; padding:20px; background:#f9fbfc; }
.application-ops-head { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }
.application-ops-head h3 { margin:0 0 4px; }
.application-ops-head p { margin:0; }
.application-ops-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px; }
.application-ops-grid>div,.application-file-columns>div { background:#fff; border:1px solid var(--line); border-radius:12px; padding:15px; min-width:0; }
.application-ops-grid h4,.application-file-columns h4 { margin:0 0 10px; }
.application-document-form { display:grid; grid-template-columns:1fr 1fr 1.2fr auto; align-items:end; gap:10px; }
.application-file-columns { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px; }
.shared-application-list { display:grid; gap:18px; margin-top:20px; }
.shared-files-panel { margin-top:18px; padding:16px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.shared-files-panel h3,.shared-files-panel h4,.shared-files-panel p { margin-top:0; }
.shared-upload-dialog { position:relative; }
.shared-upload-dialog > summary { list-style:none; cursor:pointer; }
.shared-upload-dialog > summary::-webkit-details-marker { display:none; }
.shared-upload-form { position:absolute; z-index:15; right:0; top:calc(100% + 8px); width:min(470px,calc(100vw - 54px)); display:grid; gap:12px; padding:16px; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 18px 45px rgba(8,42,61,.18); }
.shared-upload-form small { color:var(--muted); line-height:1.5; }
.shared-file-list { display:grid; gap:10px; }
.shared-file-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; border-top:1px solid var(--line); }
.shared-file-row > div:first-child { display:grid; gap:3px; min-width:0; }
.shared-file-row small { color:var(--muted); overflow-wrap:anywhere; }
.linked-document-list { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.linked-document-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
.linked-document-list .is-history { opacity:.58; }
.danger-zone { border-color:#e9b7b2; }
.danger-zone summary { color:var(--danger); cursor:pointer; font-weight:700; }
.danger-zone .inline-controls { align-items:end; flex-wrap:wrap; }
.hero-button { background:#fff; color:var(--teal); }

@media (max-width: 850px) {
  .invoice-line {
    grid-template-columns: 1fr;
  }

  .invoice-check {
    justify-items: start;
  }

  .step-nav,
  .document-category-grid,
  .document-type-options,
  .fsc-existing-documents,
  .existing-product-choices { grid-template-columns: 1fr; }

  .template-card-head,
  .active-template,
  .table-buttons,
  .role-form { align-items: stretch; flex-direction: column; }

  .template-upload-form { grid-template-columns: 1fr; }
  .template-upload-form > button,.invoice-line .remove-invoice-line { margin-top:0; }

  .form-intro,
  .sticky-submit,
  .product-toolbar { align-items: stretch; flex-direction: column; }

  .product-row { grid-template-columns: 1fr; }
  .product-number { justify-self: start; }
  .product-row .fsc-photo-field { grid-column:auto; }
  .product-row .fsc-model-field { grid-column:auto; }
  .business-card-grid { grid-template-columns:1fr; }
  .management-bar,.inline-controls,.stage-form { align-items:stretch; flex-direction:column; }
  .application-ops-head { flex-direction:column; }
  .application-ops-grid,.application-file-columns,.application-document-form { grid-template-columns:1fr; }
  .shared-file-row { align-items:stretch; flex-direction:column; }
  .shared-upload-form { position:fixed; top:18%; right:18px; left:18px; width:auto; max-height:70vh; overflow:auto; }
}
.auth-switch .button {
  display: inline-flex;
  margin-left: 0.45rem;
  vertical-align: middle;
}
.auth-link-actions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.auth-link-actions .button {
  width: 100%;
  min-height: 50px;
  margin: 0;
}
.generated-file-list{display:grid;gap:.55rem}.file-action-row{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.file-action-row form{margin:0}

.sidebar-section-label{display:block;margin:14px 12px 5px;color:#7fa0ae;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.sidebar-nav a{position:relative;display:flex;align-items:center;gap:8px}.nav-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:auto;padding:0 7px;color:#fff;background:#087d7a;border-radius:999px;font-size:12px;font-weight:800}.nav-badge-danger{background:#c23b32}
.business-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 20px}.summary-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;color:var(--navy);background:#fff;border:1px solid var(--line);border-radius:14px;text-decoration:none}.summary-card strong{font-size:28px}.summary-card.is-active{border-color:var(--teal);box-shadow:0 0 0 3px #087d7a12}.danger-text{color:var(--danger)}
.business-filter-form{display:grid;grid-template-columns:1.35fr repeat(4,minmax(150px,1fr)) auto;gap:12px;align-items:end}.business-filter-form label{min-width:0}.filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filter-actions .remember-filter{display:flex;align-items:center;gap:6px;white-space:nowrap;font-weight:700}.filter-actions .remember-filter input{width:auto}.business-center-table{min-width:1250px}.business-center-table td{vertical-align:top}.business-center-table small{display:block;margin-top:4px;color:var(--muted)}
.assignment-panel{display:flex;align-items:center;justify-content:space-between;gap:22px}.assignment-panel h2,.assignment-panel p{margin:0}.assignment-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.assignment-actions details,.todo-create-dialog{position:relative}.assignment-actions summary,.todo-create-dialog summary{list-style:none;cursor:pointer}.assignment-actions summary::-webkit-details-marker,.todo-create-dialog summary::-webkit-details-marker{display:none}.popover-form{position:absolute;z-index:20;right:0;top:calc(100% + 8px);display:grid;gap:12px;width:min(420px,calc(100vw - 56px));padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 45px rgba(8,42,61,.18)}.popover-form textarea{min-height:90px}
.business-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.business-detail-grid>.panel{min-width:0}.business-control-forms{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.business-control-forms form{display:grid;gap:8px;padding:14px;background:#f6f9fa;border:1px solid var(--line);border-radius:11px}.file-action-list{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.detail-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100%;margin:0}.detail-list>div{display:grid;grid-template-columns:minmax(140px,.55fr) minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}.detail-list dt{color:var(--muted)}.detail-list dd{min-width:0;margin:0;font-weight:600;overflow-wrap:anywhere}
.workbench-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.workbench-card{display:grid;grid-template-columns:1fr auto;gap:6px 18px;padding:24px;color:var(--navy);background:#f6fafb;border:1px solid var(--line);border-radius:14px;text-decoration:none}.workbench-card span{font-size:18px;font-weight:800}.workbench-card strong{grid-row:1/3;grid-column:2;font-size:36px;color:var(--teal)}.workbench-card small{color:var(--muted)}
.approval-list{display:grid;gap:16px}.approval-card{padding:20px;background:#f8fbfc;border:1px solid var(--line);border-radius:13px}.approval-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.approval-card h3,.approval-card p{margin:0 0 6px}.profile-change-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.profile-change-comparison>div{min-width:0;padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px}.profile-change-comparison p{overflow-wrap:anywhere}.pending-change-note{margin-top:8px;color:#8a5a00;font-weight:700}
.modal-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:20px;background:rgba(4,29,45,.58)}.change-request-modal{width:min(580px,100%);padding:28px;background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.change-request-modal h2{margin-top:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.invoice-note-panel{display:grid;gap:12px;margin:18px 0 28px;padding:20px;background:#f7fafb;border:1px solid var(--line);border-radius:13px}.invoice-note-panel h2,.invoice-note-panel p{margin:0}.note-save-row{display:flex;align-items:center;gap:12px}
.todo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.todo-toolbar .button.is-active{color:#fff;background:var(--teal)}.todo-list{display:grid;gap:12px}.todo-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:#f8fbfc;border:1px solid var(--line);border-left:5px solid #9eb4bd;border-radius:12px}.todo-card.priority-urgent{border-left-color:#d89200}.todo-card.priority-critical,.todo-card.is-overdue{border-left-color:var(--danger);background:#fff8f7}.todo-card h3,.todo-card p{margin:4px 0}.todo-card small{color:var(--muted)}.todo-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.todo-meta>span{padding:3px 8px;background:#e8f0f2;border-radius:999px;font-size:12px;font-weight:700}.todo-status-form{display:flex;align-items:center;gap:8px;min-width:250px}.timeline-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}.timeline-list li{display:grid;gap:3px;min-height:62px;padding:0 0 12px 16px;border-left:3px solid #c8d9df}.timeline-list p,.timeline-list small{margin:0;color:var(--muted)}.history-panel>summary{cursor:pointer;list-style:none;font-size:1.35rem;font-weight:800}.history-panel>summary::after{content:'展开';float:right;padding:4px 10px;color:var(--teal);background:#e8f4f4;border-radius:999px;font-size:.8rem}.history-panel[open]>summary::after{content:'收起'}.history-panel>summary::-webkit-details-marker{display:none}.history-scroll{max-height:370px;margin-top:20px;padding-right:8px;overflow-y:auto;overscroll-behavior:contain}
.manufacturer-product-table{table-layout:fixed}.manufacturer-product-table th:nth-child(1),.manufacturer-product-table th:nth-child(2){width:19%}.manufacturer-product-table th:nth-child(3){width:12%}.manufacturer-product-table th:nth-child(4){width:19%}.manufacturer-product-table th:nth-child(5){width:15%}.manufacturer-product-table th:nth-child(6){width:16%}.model-value{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0;height:24px}.model-preview{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:24px}.model-expand-button{flex:0 0 auto;height:24px;padding:0 8px;color:var(--teal);background:#e8f4f4;border:0;border-radius:999px;font:inherit;font-size:12px;font-weight:800;line-height:24px;cursor:pointer}.model-value.is-expanded{align-items:flex-start;height:auto}.model-value.is-expanded .model-preview{overflow:visible;text-overflow:clip;white-space:pre-wrap;overflow-wrap:anywhere}
.product-filter-form{display:grid;grid-template-columns:minmax(260px,2fr) minmax(200px,1fr) auto;align-items:end;gap:16px}.product-filter-form .filter-actions{display:flex;gap:10px}.product-batch-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:18px 0}.product-batch-toolbar>span{margin-right:auto}.product-batch-toolbar input{max-width:420px}.selection-column{width:44px!important;text-align:center}.selection-column input{width:auto}.manufacturer-product-table th:nth-child(2),.manufacturer-product-table th:nth-child(3){width:17%}.manufacturer-product-table th:nth-child(4){width:10%}.manufacturer-product-table th:nth-child(5){width:19%}.manufacturer-product-table th:nth-child(6){width:14%}.manufacturer-product-table th:nth-child(7){width:17%}.staff-product-table{table-layout:fixed;min-width:1280px}.staff-product-table th:nth-last-child(3){width:18%}.staff-product-table .model-value{max-width:100%}.catalog-table td{vertical-align:middle}.product-batch-toolbar button:disabled{opacity:.45;cursor:not-allowed}

@media (max-width:1100px){.business-summary-grid{grid-template-columns:repeat(2,1fr)}.business-filter-form{grid-template-columns:repeat(2,1fr)}.filter-actions{grid-column:1/-1}.product-filter-form{grid-template-columns:1fr 1fr}.product-filter-form .filter-actions{grid-column:1/-1}.product-batch-toolbar{align-items:stretch;flex-direction:column}.product-batch-toolbar input{max-width:none}}
@media (max-width:850px){.business-summary-grid,.business-detail-grid,.business-control-forms,.business-filter-form,.workbench-grid,.profile-change-comparison{grid-template-columns:1fr}.assignment-panel,.assignment-actions,.todo-toolbar,.todo-card,.todo-status-form,.approval-card-head{align-items:stretch;flex-direction:column}.popover-form{position:fixed;top:16%;right:18px;left:18px;width:auto;max-height:72vh;overflow:auto}.todo-status-form{min-width:0}.detail-list>div{grid-template-columns:1fr;gap:3px}.modal-actions{align-items:stretch;flex-direction:column}}
.public-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.public-business-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.public-business-card{display:grid;gap:12px;padding:18px;background:#f7fafb;border:2px solid var(--line);border-radius:14px}.public-business-card.is-selected{border-color:var(--teal);background:#f1fbfa}.public-business-card>span:first-child{display:flex;align-items:center;gap:10px}.public-business-card input[type=checkbox]{width:auto}.public-business-card small{color:var(--muted);line-height:1.5}.public-effective-date{display:grid!important;gap:6px}.public-effective-date b{font-size:13px}.public-business-card:not(.is-selected) .public-effective-date{opacity:.45}.public-product-row{grid-template-columns:44px repeat(5,minmax(0,1fr)) auto}.public-submitted-panel{text-align:center}.public-reference{font-size:clamp(28px,5vw,48px);font-weight:900;letter-spacing:.04em;color:var(--teal)}
@media (max-width:1000px){.public-business-grid{grid-template-columns:1fr}.public-product-row{grid-template-columns:1fr}.public-product-row .product-number{justify-self:start}}
.sidebar-company{width:100%;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:pointer}.sidebar-company:hover,.sidebar-company.is-active{background:rgba(255,255,255,.12)}
