.agent-checks{background:var(--surface,#fff);margin:20px 0;padding:19px 23px}.agent-checks summary{font-weight:400}.agent-checks .check{margin-top:7px}.pending-checks{display:block;font-size:10px;color:#666;margin-top:8px}.exchange-status{margin-top:16px}.spec-modal{width:min(900px,96vw)}.spec-brand{font-size:11px;letter-spacing:.8px;margin-bottom:24px}.spec-caption,.spec-id{font-size:11px!important;color:#666}.spec-id{overflow-wrap:anywhere}.spec-summary{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:24px 0}.spec-summary dt{font-size:10px;color:#777}.spec-summary dd{font-size:12px;margin:2px 0;overflow-wrap:anywhere}.spec-table{font-size:12px;min-width:0}.spec-table th{font-size:10px}.spec-table td{padding:13px 7px;vertical-align:top}.spec-table td:nth-child(n+2){white-space:nowrap}.spec-table th:nth-child(3),.spec-table td:nth-child(3){display:table-cell}.spec-total{font-size:20px!important;text-align:right;margin:20px 0}.spec-checks{font-size:12px;margin-top:24px}.spec-checks p{font-size:11px;margin:6px 0}#specification-sheet h2{font-size:32px;letter-spacing:-.5px}
@media(max-width:760px){.masthead-name{max-width:145px}.offline-chip{display:none}.agent-checks{padding:17px 18px}.spec-summary{grid-template-columns:1fr}.spec-table{font-size:10px}.spec-table th{font-size:9px}.spec-table td{padding:9px 4px}.spec-table td:nth-child(n+2){white-space:normal}.spec-total{font-size:17px!important}.spec-modal{padding:20px 15px}}
@media print{
 @page{size:A4;margin:16mm}
 body{background:#fff;font-size:11pt}
 body:is([data-print-mode=specification],[data-print-mode=proposal],[data-print-mode=niche-contract]) > :not(#workspace-shell),
 body:is([data-print-mode=specification],[data-print-mode=proposal],[data-print-mode=niche-contract]) > #workspace-shell > :not(#modal){display:none!important}
 body:is([data-print-mode=specification],[data-print-mode=proposal]) #modal{display:block!important;position:static!important;inset:auto!important;border:0!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;overflow:visible!important;margin:0!important;padding:0!important;box-shadow:none!important;transform:none!important}
 #modal::backdrop{display:none!important}#modal-content{overflow:visible!important;max-height:none!important}
 .spec-actions,#modal-error{display:none!important}#specification-sheet{display:block!important;overflow:visible!important}
 .spec-table th,.spec-table td{display:table-cell!important}.spec-table tr{break-inside:avoid}.spec-summary{grid-template-columns:1fr 1fr}#specification-sheet h2{font-size:25pt}.spec-table{font-size:9pt}.spec-table th{font-size:8pt}.spec-total{font-size:15pt!important}.spec-brand{margin-bottom:20px}
}

#specification-sheet{background:#fff;color:#191919}#specification-sheet h2,#specification-sheet h3,#specification-sheet th,#specification-sheet td{color:#191919}#specification-sheet .spec-caption{color:#666}

.proposal-group{border-top:1px solid #ddd;margin-top:20px;padding-top:14px}.proposal-group h3{font-size:18px!important;color:#191919}.proposal-group ul{padding-left:18px;margin:8px 0}.proposal-group li{font-size:13px;line-height:1.6;margin:8px 0}.proposal-group small{display:block;color:#666;font-size:11px}.proposal-total{margin-top:30px;border-top:2px solid #191919;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:18px}.proposal-total strong{font-size:25px;font-weight:400}#proposal-sheet{background:#fff;color:#191919;padding:6px}#proposal-sheet h2{font-size:32px;letter-spacing:-.6px;line-height:1.15}.spec-benefits{font-size:12px;background:#f5f5f5;color:#191919;padding:14px;margin:18px 0}.spec-benefits li{margin-top:5px}.spec-table td:first-child{white-space:pre-line}@media print{#proposal-sheet{display:block!important}.proposal-group{break-inside:avoid}.proposal-total{break-inside:avoid}.proposal-total strong{font-size:20pt}}

@media print {
 #proposal-sheet .spec-brand {margin:0 0 4mm}
 #proposal-sheet h2 {font-size:19pt;margin:0 0 3mm}
 #proposal-sheet .proposal-group {margin:2mm 0 0;padding:1.5mm 0 0;break-inside:auto}
 #proposal-sheet .proposal-group h3 {font-size:11pt!important;margin:0}
 #proposal-sheet .proposal-group li {margin:0;line-height:1.22;break-inside:avoid}
 #proposal-sheet .proposal-group ul,#proposal-sheet .spec-benefits ul {margin:1mm 0}
 #proposal-sheet .spec-benefits {margin:2mm 0;padding:2mm 3mm}
 #proposal-sheet .spec-benefits li {margin:0}
 #proposal-sheet .proposal-total {margin:3mm 0;padding:2mm 0}
}

#specification-sheet .spec-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #333}
#specification-sheet .spec-heading h2{margin:0 0 8px}
#specification-sheet .spec-heading span{font-size:12px;white-space:nowrap}
#specification-sheet .spec-code{font-weight:700}
#specification-sheet .spec-options{display:block}
#specification-sheet .spec-table th:not(:first-child),#specification-sheet .spec-table td:not(:first-child){text-align:right}
@media print{
 #specification-sheet .spec-heading h2{font-size:16pt;line-height:1.2;margin:0 0 2mm}
 #specification-sheet .spec-heading span{font-size:9pt}
 #specification-sheet .spec-summary{display:grid;grid-template-columns:1fr 1fr;gap:1mm 5mm;margin:3mm 0}
 #specification-sheet .spec-summary div{display:block}
 #specification-sheet .spec-summary dt,#specification-sheet .spec-summary dd{display:inline;line-height:1.2;font-size:8.5pt;margin:0}
 #specification-sheet .spec-summary dt{font-weight:700;margin-right:1mm;color:#222}
 #specification-sheet .spec-table{border-collapse:collapse;width:100%;min-width:0;margin:0}
 #specification-sheet .spec-table thead{display:table-header-group}
 #specification-sheet .spec-table td,#specification-sheet .spec-table th{padding:1.2mm 1.2mm;line-height:1.18;font-size:8.5pt}
 #specification-sheet .spec-table td:first-child{white-space:normal;overflow-wrap:anywhere}
 #specification-sheet .spec-table td:not(:first-child),#specification-sheet .spec-table th:not(:first-child){white-space:nowrap}
 #specification-sheet .spec-options{font-size:8pt;line-height:1.15;color:#333}
 #specification-sheet .spec-total{font-size:12pt!important;margin:2mm 0;break-inside:avoid}
 #specification-sheet .spec-source-note,#specification-sheet .spec-note{font-size:8pt;line-height:1.2;margin:1mm 0}
}

@media screen {
  .wizard-nav.form-navigation { align-items: center; }
  .form-navigation #next-step { margin-left: auto; }
  .form-navigation #next-step[hidden] { display: none; }
}
@media screen and (max-width: 600px) {
  .wizard-nav.form-navigation { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; }
  .wizard-nav.form-navigation button { min-width: 0; min-height: 44px; padding: 8px; }
  .form-navigation #next-step { margin: 0; }
  .form-navigation #next-section { grid-column: 3; }
}

.order-documents{margin:16px 0;border-top:1px solid var(--line)}
.order-documents>summary{display:list-item;list-style:revert;min-height:48px;padding:13px 8px;cursor:pointer;color:var(--ink);font-weight:600}
.order-documents>.actions{justify-content:flex-start;flex-wrap:wrap;padding:0 8px 12px}
.order-documents>.exchange-status{margin:0 8px 12px}
.order-context-summary .order-context-edit{border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:3px}
.order-header-actions button{border-color:transparent}

#main-contract-sheet{background:#fff;color:#171717;padding:clamp(12px,3vw,32px);font:14px/1.35 Arial,sans-serif}
#main-contract-sheet header{display:flex;justify-content:space-between;border-bottom:2px solid #333}
#main-contract-sheet h2{font-size:1.25em;margin:.9em 0 .4em;color:inherit}
#main-contract-sheet h3{font-size:1.05em;margin:.85em 0 .3em;color:inherit}
#main-contract-sheet p{font-size:inherit;margin:.35em 0}
#main-contract-sheet table{width:100%;min-width:0;border-collapse:collapse;font-size:.88em;margin:.5em 0;color:inherit}
#main-contract-sheet th,#main-contract-sheet td{display:table-cell;border:1px solid #555;padding:.3em .45em;overflow-wrap:anywhere;white-space:normal;color:inherit}
#main-contract-sheet th{font-weight:bold}
#main-contract-sheet thead{display:table-header-group}
#main-contract-sheet td:first-child{width:6%}
#main-contract-sheet .contract-protocol td:first-child{width:45%}
#main-contract-sheet .contract-parties,#main-contract-sheet .contract-sign{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow-wrap:anywhere}
#main-contract-sheet .contract-sign{margin:1em 0}
#main-contract-sheet .contract-total{text-align:right;font-weight:bold}
@media print{
 body[data-print-mode="main-contract"] > :not(#workspace-shell),
 body[data-print-mode="main-contract"] #workspace-shell > :not(#modal),
 body[data-print-mode="main-contract"] .contract-print-actions{display:none!important}
 body[data-print-mode="main-contract"] #modal{display:block!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
 body[data-print-mode="main-contract"] #main-contract-sheet{font-size:10pt;padding:0}
 #main-contract-sheet .contract-annex{break-before:page}
 #main-contract-sheet .contract-sign,#main-contract-sheet tr{break-inside:avoid}
 #main-contract-sheet h2,#main-contract-sheet h3{break-after:avoid}
}
#open-gbu-max {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 26px;
  background: var(--action);
  color: var(--on-action);
  font-size: 14px;
  text-decoration: none;
}
.trapeznye-tabs button[hidden] { display: none; }

/* Keep the order confirmation centered as its caption changes. */
#agent-checks {
  box-sizing: border-box;
  width: min(100%, 34rem);
  margin: 12px auto;
  padding: 0;
  border-radius: 8px;
}
#agent-checks > summary {
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 16px;
  text-align: center;
  cursor: pointer;
}
#agent-checks[open] { padding: 0 16px 12px; }
#agent-checks[open] > summary { margin-inline: -16px; }
#document-request-form .document-request-field[hidden],
#document-request-form .document-request-dash[hidden] {display:none}
#document-request-form .document-request-empty :is(input, select, textarea) {
 border:2px solid #a25409;
 background:#fff4db;
 color:#241506;
}
#document-request-form .document-request-dash {margin-top:4px}
