:root {
  --opc-product-blue: #0052d9;
  --opc-product-blue-hover: #2670e8;
  --opc-product-navy: #163766;
  --opc-product-ink: #1d2b43;
  --opc-product-body: #566178;
  --opc-product-muted: #f5f7fa;
  --opc-product-soft-blue: #eef5ff;
  --opc-product-border: #dfe4ec;
  --opc-product-success: #0f8b5f;
  --opc-product-warning: #a65b00;
  --opc-product-danger: #c9353f;
}

.opc-product-page {
  min-height: 100vh;
}

.opc-product-page button,
.opc-product-page input,
.opc-product-page select,
.opc-product-page textarea {
  font: inherit;
}

.opc-product-kicker {
  display: inline-flex;
  min-height: 28px;
  margin: 0;
  padding: 3px 10px;
  align-items: center;
  border: 1px solid rgba(0, 82, 217, 0.22);
  color: var(--opc-product-blue);
  background: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 20px;
}

.opc-product-hero__facts {
  display: grid;
  margin: 20px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(0, 82, 217, 0.16);
  background: rgba(0, 82, 217, 0.16);
}

.opc-product-hero__facts div {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.76);
}

.opc-product-hero__facts dt,
.opc-product-hero__facts dd {
  margin: 0;
}

.opc-product-hero__facts dt {
  color: #65758c;
  font-size: 11px;
  line-height: 18px;
}

.opc-product-hero__facts dd {
  margin-top: 2px;
  color: #1c355d;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.opc-product-trust-note {
  display: grid;
  position: relative;
  margin: 0 0 26px;
  padding: 16px 18px 16px 52px;
  border: 1px solid #cfe0fb;
  color: #39516f;
  background: #f1f7ff;
  font-size: 13px;
  line-height: 22px;
}

.opc-product-trust-note img {
  position: absolute;
  top: 16px;
  left: 18px;
  width: 22px;
  height: 22px;
}

.opc-product-trust-note strong {
  color: #173760;
  font-weight: 500;
}

.opc-product-filter {
  padding: 24px;
  border: 1px solid var(--opc-product-border);
  background: #fff;
}

.opc-product-filter__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) repeat(2, minmax(160px, 0.65fr));
  gap: 16px;
}

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

.opc-product-field label,
.opc-product-field legend {
  color: #35445c;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.opc-product-field input,
.opc-product-field select,
.opc-product-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b9c4d3;
  border-radius: 2px;
  outline: none;
  color: #25344d;
  background: #fff;
  font-size: 14px;
  line-height: 22px;
}

.opc-product-field textarea {
  min-height: 128px;
  resize: vertical;
}

.opc-product-field input:hover,
.opc-product-field select:hover,
.opc-product-field textarea:hover {
  border-color: #7d8ea6;
}

.opc-product-field input:focus,
.opc-product-field select:focus,
.opc-product-field textarea:focus {
  border-color: var(--opc-product-blue);
  box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.12);
}

.opc-product-field [aria-invalid="true"] {
  border-color: var(--opc-product-danger);
}

.opc-product-field small {
  color: #7c8798;
  font-size: 12px;
  line-height: 19px;
}

.opc-product-filter__footer {
  display: flex;
  margin-top: 18px;
  padding-top: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #edf0f4;
}

.opc-product-filter__footer p {
  margin: 0;
  color: #66758c;
  font-size: 13px;
  line-height: 22px;
}

.opc-product-button,
.opc-product-button--secondary,
.opc-product-button--danger,
.opc-product-text-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--opc-product-blue);
  border-radius: 2px;
  cursor: pointer;
  color: #fff;
  background: var(--opc-product-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
}

.opc-product-button:hover,
.opc-product-button:focus-visible {
  border-color: var(--opc-product-blue-hover);
  background: var(--opc-product-blue-hover);
}

.opc-product-button--secondary {
  color: var(--opc-product-blue);
  background: #fff;
}

.opc-product-button--secondary:hover,
.opc-product-button--secondary:focus-visible {
  color: #fff;
  background: var(--opc-product-blue);
}

.opc-product-button--danger {
  border-color: var(--opc-product-danger);
  background: var(--opc-product-danger);
}

.opc-product-button--danger:hover,
.opc-product-button--danger:focus-visible {
  border-color: #ad1f2a;
  background: #ad1f2a;
}

.opc-product-text-button {
  padding: 0 4px;
  border-color: transparent;
  color: var(--opc-product-blue);
  background: transparent;
}

.opc-product-button img,
.opc-product-button--secondary img,
.opc-product-text-button img {
  width: 16px;
  height: 16px;
}

.opc-product-button:disabled,
.opc-product-button--secondary:disabled,
.opc-product-button--danger:disabled {
  cursor: not-allowed;
  border-color: #c7ced8;
  color: #7d8795;
  background: #e8ebef;
}

.opc-demand-grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.opc-demand-card {
  display: flex;
  min-width: 0;
  min-height: 296px;
  padding: 24px;
  flex-direction: column;
  border: 1px solid var(--opc-product-border);
  background: #fff;
  box-shadow: 0 2px 5px rgba(3, 27, 78, 0.05);
}

.opc-demand-card:hover {
  border-color: #b8c9e4;
  box-shadow: 0 6px 18px rgba(3, 27, 78, 0.08);
}

.opc-demand-card__top,
.opc-demand-card__bottom,
.opc-product-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.opc-demand-card__publisher {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #617088;
  font-size: 12px;
  line-height: 20px;
}

.opc-demand-card__publisher img {
  width: 20px;
  height: 20px;
}

.opc-demand-card h3 {
  margin: 16px 0 8px;
  color: #243653;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.opc-demand-card h3 a {
  text-decoration: none;
}

.opc-demand-card h3 a:hover,
.opc-demand-card h3 a:focus-visible {
  color: var(--opc-product-blue);
}

.opc-demand-card__summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--opc-product-body);
  font-size: 14px;
  line-height: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.opc-product-tags {
  display: flex;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.opc-product-tags li,
.opc-product-tag {
  display: inline-flex;
  min-height: 26px;
  padding: 3px 9px;
  align-items: center;
  color: #3f5778;
  background: #edf3fb;
  font-size: 12px;
  line-height: 20px;
}

.opc-demand-card__facts {
  display: grid;
  margin: 18px 0 0;
  padding: 14px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
}

.opc-demand-card__facts div {
  min-width: 0;
}

.opc-demand-card__facts dt,
.opc-demand-card__facts dd {
  margin: 0;
}

.opc-demand-card__facts dt {
  color: #8791a1;
  font-size: 11px;
  line-height: 18px;
}

.opc-demand-card__facts dd {
  margin-top: 2px;
  overflow: hidden;
  color: #35445c;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opc-demand-card__bottom {
  margin-top: auto;
  padding-top: 16px;
}

.opc-demand-card__meta {
  color: #7c8798;
  font-size: 12px;
  line-height: 20px;
}

.opc-demand-card__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: var(--opc-product-blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.opc-demand-card__link img {
  width: 16px;
  height: 16px;
}

.opc-product-status {
  display: inline-flex;
  min-height: 26px;
  padding: 3px 9px;
  align-items: center;
  flex: 0 0 auto;
  color: #315982;
  background: #eaf3ff;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.opc-product-status[data-tone="success"] {
  color: #096b49;
  background: #e7f7f1;
}

.opc-product-status[data-tone="warning"] {
  color: #8a4e00;
  background: #fff3df;
}

.opc-product-status[data-tone="danger"] {
  color: #a52731;
  background: #fff0f1;
}

.opc-product-status[data-tone="muted"] {
  color: #637083;
  background: #eff1f4;
}

.opc-product-empty,
.opc-product-result {
  padding: 48px 24px;
  border: 1px solid var(--opc-product-border);
  background: #fff;
  text-align: center;
}

.opc-product-empty img,
.opc-product-result > img {
  width: 52px;
  height: 52px;
}

.opc-product-empty h2,
.opc-product-result h2 {
  margin: 16px 0 8px;
  color: #253752;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
}

.opc-product-empty p,
.opc-product-result p {
  max-width: 640px;
  margin: 0 auto;
  color: #657188;
  font-size: 14px;
  line-height: 24px;
}

.opc-product-result__actions {
  display: flex;
  margin-top: 22px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.opc-product-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: start;
  gap: 32px;
}

.opc-product-panel,
.opc-product-side-panel {
  padding: 28px;
  border: 1px solid var(--opc-product-border);
  background: #fff;
}

.opc-product-panel + .opc-product-panel {
  margin-top: 20px;
}

.opc-product-panel h2,
.opc-product-panel h3,
.opc-product-side-panel h2,
.opc-product-side-panel h3 {
  margin: 0;
  color: #273954;
  font-weight: 500;
}

.opc-product-panel h2,
.opc-product-side-panel h2 {
  font-size: 24px;
  line-height: 34px;
}

.opc-product-panel h3,
.opc-product-side-panel h3 {
  font-size: 17px;
  line-height: 26px;
}

.opc-product-panel h3:not(:first-child) {
  margin-top: 26px;
}

.opc-product-panel p,
.opc-product-side-panel p {
  margin: 10px 0 0;
  color: var(--opc-product-body);
  font-size: 14px;
  line-height: 26px;
}

.opc-product-panel ul:not(.opc-product-tags) {
  display: grid;
  margin: 12px 0 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.opc-product-panel ul:not(.opc-product-tags) li {
  position: relative;
  padding-left: 18px;
  color: #4c5c73;
  font-size: 14px;
  line-height: 24px;
}

.opc-product-panel ul:not(.opc-product-tags) li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--opc-product-blue);
  content: "";
}

.opc-product-side-panel {
  position: sticky;
  top: 142px;
  background: #f8fafc;
}

.opc-product-side-panel dl {
  margin: 18px 0 0;
}

.opc-product-side-panel dl div {
  display: grid;
  padding: 12px 0;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid #e1e6ed;
}

.opc-product-side-panel dt,
.opc-product-side-panel dd {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
}

.opc-product-side-panel dt {
  color: #7b8799;
}

.opc-product-side-panel dd {
  color: #35445c;
}

.opc-product-side-panel__actions {
  display: grid;
  margin-top: 20px;
  gap: 10px;
}

.opc-product-form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 32px;
}

.opc-product-form {
  padding: 30px;
  border: 1px solid var(--opc-product-border);
  background: #fff;
  box-shadow: 0 2px 5px rgba(3, 27, 78, 0.05);
}

.opc-product-form__section + .opc-product-form__section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid #e5e9ef;
}

.opc-product-form__section > h2 {
  margin: 0;
  color: #273954;
  font-size: 21px;
  font-weight: 500;
  line-height: 31px;
}

.opc-product-form__section > p {
  margin: 6px 0 0;
  color: #6b778b;
  font-size: 13px;
  line-height: 22px;
}

.opc-product-form__grid {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.opc-product-field--full {
  grid-column: 1 / -1;
}

.opc-product-check {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 10px;
  color: #4c5b71;
  font-size: 13px;
  line-height: 22px;
}

.opc-product-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  flex: 0 0 auto;
}

.opc-product-form__actions {
  display: flex;
  margin-top: 28px;
  padding-top: 22px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #e5e9ef;
}

.opc-product-form__actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.opc-product-form-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--opc-product-danger);
  color: #9c2831;
  background: #fff3f4;
  font-size: 13px;
  line-height: 22px;
}

.opc-product-form-success {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--opc-product-success);
  color: #176448;
  background: #ebf8f3;
  font-size: 13px;
  line-height: 22px;
}

.opc-product-context {
  padding: 22px;
  border: 1px solid var(--opc-product-border);
  background: #f8fafc;
}

.opc-product-context + .opc-product-context {
  margin-top: 16px;
}

.opc-product-context h2,
.opc-product-context h3 {
  margin: 0;
  color: #2b3c57;
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
}

.opc-product-context p {
  margin: 8px 0 0;
  color: #657188;
  font-size: 13px;
  line-height: 23px;
}

.opc-product-context dl {
  margin: 14px 0 0;
}

.opc-product-context dl div {
  display: grid;
  padding: 9px 0;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid #e4e8ee;
}

.opc-product-context dt,
.opc-product-context dd {
  margin: 0;
  color: #647187;
  font-size: 12px;
  line-height: 20px;
}

.opc-product-context dd {
  color: #35445c;
}

.opc-product-identity {
  display: grid;
  gap: 10px;
}

.opc-product-identity__option {
  display: grid;
  position: relative;
  min-height: 72px;
  padding: 14px 44px 14px 52px;
  border: 1px solid #d9dfe7;
  cursor: pointer;
  background: #fff;
}

.opc-product-identity__option:hover {
  border-color: #9eb9e2;
}

.opc-product-identity__option:has(input:checked) {
  border-color: var(--opc-product-blue);
  box-shadow: inset 3px 0 0 var(--opc-product-blue);
}

.opc-product-identity__option img {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 24px;
  height: 24px;
}

.opc-product-identity__option input {
  position: absolute;
  top: 24px;
  right: 16px;
  width: 18px;
  height: 18px;
  margin: 0;
}

.opc-product-identity__option strong,
.opc-product-identity__option small {
  display: block;
}

.opc-product-identity__option strong {
  color: #30415c;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.opc-product-identity__option small {
  margin-top: 2px;
  color: #7a8698;
  font-size: 12px;
  line-height: 19px;
}

.opc-workspace-head {
  display: grid;
  padding: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: center;
  gap: 30px;
  border: 1px solid var(--opc-product-border);
  background: #fff;
}

.opc-workspace-head h2 {
  margin: 0;
  color: #253752;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
}

.opc-workspace-head p {
  margin: 8px 0 0;
  color: #657188;
  font-size: 13px;
  line-height: 22px;
}

.opc-workspace-tabs {
  margin-top: 24px;
  border: 1px solid var(--opc-product-border);
  background: #fff;
}

.opc-workspace-tabs__list {
  display: flex;
  min-height: 58px;
  margin: 0;
  padding: 0 22px;
  align-items: stretch;
  gap: 28px;
  border-bottom: 1px solid var(--opc-product-border);
  list-style: none;
}

.opc-workspace-tabs__list button {
  position: relative;
  min-width: 96px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  cursor: pointer;
  color: #526177;
  background: transparent;
  font-size: 14px;
}

.opc-workspace-tabs__list button[aria-selected="true"] {
  color: var(--opc-product-blue);
  font-weight: 500;
}

.opc-workspace-tabs__list button[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--opc-product-blue);
  content: "";
}

.opc-workspace-tabs__panel {
  min-height: 280px;
  padding: 24px;
}

.opc-workspace-list {
  display: grid;
  gap: 14px;
}

.opc-workspace-item {
  display: grid;
  padding: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid #e1e6ed;
  background: #fff;
}

.opc-workspace-item h3 {
  margin: 8px 0 4px;
  color: #2a3b56;
  font-size: 17px;
  font-weight: 500;
  line-height: 26px;
}

.opc-workspace-item p {
  margin: 0;
  color: #69758a;
  font-size: 13px;
  line-height: 22px;
}

.opc-workspace-item__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.opc-cooperation-timeline {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.opc-cooperation-timeline li {
  position: relative;
  min-height: 76px;
  padding: 0 0 26px 42px;
}

.opc-cooperation-timeline li::before {
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 11px;
  border-left: 1px solid #c9d3e0;
  content: "";
}

.opc-cooperation-timeline li:last-child::before {
  display: none;
}

.opc-cooperation-timeline li::after {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--opc-product-blue);
  border-radius: 50%;
  background: #fff;
  content: "";
}

.opc-cooperation-timeline li[data-current="true"]::after {
  background: var(--opc-product-blue);
  box-shadow: 0 0 0 5px rgba(0, 82, 217, 0.12);
}

.opc-cooperation-timeline strong,
.opc-cooperation-timeline time,
.opc-cooperation-timeline span {
  display: block;
}

.opc-cooperation-timeline strong {
  color: #30415b;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.opc-cooperation-timeline time,
.opc-cooperation-timeline span {
  margin-top: 3px;
  color: #778397;
  font-size: 12px;
  line-height: 20px;
}

.opc-cooperation-action-box {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #cfd9e7;
  background: #f7faff;
}

.opc-cooperation-action-box h3 {
  margin: 0;
  color: #243956;
  font-size: 19px;
  font-weight: 500;
  line-height: 29px;
}

.opc-cooperation-action-box > p {
  margin: 7px 0 0;
  color: #617087;
  font-size: 13px;
  line-height: 22px;
}

.opc-cooperation-actions {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.opc-rating {
  display: grid;
  margin: 20px 0 0;
  grid-template-columns: repeat(5, minmax(76px, 1fr));
  gap: 10px;
  border: 0;
  padding: 0;
}

.opc-rating legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #35445c;
  font-size: 13px;
  font-weight: 500;
}

.opc-rating label {
  display: flex;
  position: relative;
  min-height: 72px;
  padding: 12px 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #cfd6df;
  cursor: pointer;
  color: #526078;
  background: #fff;
}

.opc-rating label:has(input:checked) {
  border-color: var(--opc-product-blue);
  color: var(--opc-product-blue);
  background: #eff6ff;
  box-shadow: inset 0 -3px 0 var(--opc-product-blue);
}

.opc-rating label:has(input:focus-visible) {
  outline: 3px solid rgba(0, 82, 217, 0.32);
  outline-offset: 2px;
}

.opc-rating input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.opc-rating strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.opc-rating small {
  font-size: 11px;
  line-height: 18px;
}

.opc-product-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 2px;
  color: #273954;
  background: #fff;
  box-shadow: 0 18px 60px rgba(7, 24, 52, 0.28);
}

.opc-product-dialog::backdrop {
  background: rgba(10, 25, 48, 0.56);
}

.opc-product-dialog__head {
  display: flex;
  min-height: 62px;
  padding: 12px 16px 12px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e2e6ec;
}

.opc-product-dialog__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.opc-product-dialog__close {
  display: inline-flex;
  width: 44px;
  height: 44px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.opc-product-dialog__close img {
  width: 24px;
  height: 24px;
}

.opc-product-dialog__body {
  padding: 24px;
}

.opc-product-dialog__body > p {
  margin: 0;
  color: #5e6d84;
  font-size: 14px;
  line-height: 24px;
}

.opc-product-dialog__body > p + p,
.opc-product-dialog__body .opc-product-field,
.opc-product-dialog__body .opc-product-identity {
  margin-top: 16px;
}

.opc-product-dialog__actions {
  display: flex;
  margin-top: 22px;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.opc-product-demo-switch {
  display: flex;
  margin-top: 18px;
  padding: 12px 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px dashed #b8c7dc;
  color: #5c6d85;
  background: #f7faff;
  font-size: 12px;
  line-height: 20px;
}

.opc-product-footnote {
  margin: 18px 0 0;
  color: #7c8798;
  font-size: 12px;
  line-height: 21px;
}

.opc-product-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.opc-product-loading {
  margin: 0;
  color: #6f7b8d;
  font-size: 14px;
  line-height: 24px;
}

@media (max-width: 980px) {
  .opc-product-two-column,
  .opc-product-form-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .opc-product-side-panel {
    position: static;
  }

  .opc-product-filter__grid {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(150px, 0.65fr));
  }
}

@media (max-width: 820px) {
  .opc-product-hero__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .opc-product-filter {
    padding: 18px;
  }

  .opc-product-filter__grid,
  .opc-demand-grid,
  .opc-product-form__grid,
  .opc-workspace-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .opc-product-filter__footer,
  .opc-product-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .opc-product-filter__footer .opc-product-button--secondary,
  .opc-product-form__actions > div,
  .opc-product-form__actions button,
  .opc-product-form__actions a {
    width: 100%;
  }

  .opc-product-form__actions > div {
    flex-direction: column-reverse;
  }

  .opc-product-form,
  .opc-product-panel,
  .opc-product-side-panel,
  .opc-workspace-tabs__panel {
    padding: 20px;
  }

  .opc-workspace-tabs__list {
    padding: 0 14px;
    gap: 18px;
    overflow-x: auto;
  }

  .opc-workspace-tabs__list button {
    flex: 0 0 auto;
  }

  .opc-workspace-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .opc-workspace-item__actions,
  .opc-workspace-item__actions a {
    width: 100%;
  }

  .opc-rating {
    grid-template-columns: repeat(5, minmax(50px, 1fr));
    gap: 6px;
  }

  .opc-rating label {
    min-height: 68px;
    padding: 8px 4px;
  }

  .opc-rating small {
    display: none;
  }
}

@media (max-width: 520px) {
  .opc-demand-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opc-demand-card__top,
  .opc-demand-card__bottom,
  .opc-product-summary-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .opc-product-side-panel dl div,
  .opc-product-context dl div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .opc-product-dialog__body {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opc-demand-card,
  .opc-product-button,
  .opc-product-button--secondary,
  .opc-product-button--danger {
    transition: none !important;
  }
}

/* v0.47 product flow: one explicit demo-account control, account-bound actions. */
.opc-demo-account-bar {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #c8d8ef;
  color: #24415f;
  background: #edf5ff;
}

.opc-demo-account-bar__inner {
  display: flex;
  width: 100%;
  max-width: var(--opc-secondary-container, 1200px);
  min-height: 54px;
  margin: 0 auto;
  padding: 8px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.opc-demo-account-bar__summary {
  display: flex;
  min-width: 230px;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.opc-demo-account-bar__summary span {
  padding: 2px 7px;
  color: #fff;
  background: var(--opc-product-blue);
  font-size: 11px;
  line-height: 18px;
}

.opc-demo-account-bar__summary strong {
  color: #17375e;
  font-size: 13px;
  font-weight: 600;
}

.opc-demo-account-bar__summary small {
  color: #61728a;
  font-size: 11px;
}

.opc-demo-account-bar__controls {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.opc-demo-account-bar__controls button {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #bfd0e7;
  border-radius: 2px;
  color: #31506f;
  background: #fff;
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
}

.opc-demo-account-bar__controls button:hover,
.opc-demo-account-bar__controls button:focus-visible,
.opc-demo-account-bar__controls button[aria-pressed="true"] {
  border-color: var(--opc-product-blue);
  color: var(--opc-product-blue);
  background: #fff;
  outline: none;
}

.opc-demo-account-bar__controls button[aria-pressed="true"] {
  box-shadow: inset 0 -2px 0 var(--opc-product-blue);
}

.opc-demo-account-bar__controls .opc-demo-account-bar__quiet {
  border-color: transparent;
  color: #576b83;
  background: transparent;
}

.opc-demo-account-bar__controls button:disabled {
  opacity: 0.55;
  cursor: default;
}

.opc-product-transaction .opc-secondary-hero {
  min-height: 0;
  background: #f3f7fc;
}

.opc-product-transaction .opc-secondary-hero__inner {
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 30px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.opc-product-transaction .opc-secondary-hero h1 {
  margin: 7px 0 8px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.28;
}

.opc-product-transaction .opc-secondary-hero__lead {
  max-width: 820px;
  font-size: 15px;
  line-height: 25px;
}

.opc-product-transaction .opc-secondary-breadcrumb {
  min-height: 36px;
}

.opc-product-transaction .opc-product-kicker {
  margin-top: 6px;
}

.opc-product-transaction .opc-product-hero__facts {
  width: min(620px, 100%);
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opc-product-account-line {
  margin: 12px 0 0;
  color: #596b82;
  font-size: 13px;
  line-height: 22px;
}

.opc-product-account-line strong {
  color: #1d3f69;
  font-weight: 600;
}

.opc-product-access-guard {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--opc-product-border);
  background: #fff;
}

.opc-product-account-card {
  display: grid;
  padding: 16px;
  border: 1px solid #cfe0f8;
  background: #f4f8ff;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.opc-product-account-card > img {
  width: 28px;
  height: 28px;
}

.opc-product-account-card > div {
  display: grid;
  gap: 2px;
}

.opc-product-account-card strong {
  color: #17375e;
  font-size: 15px;
}

.opc-product-account-card span,
.opc-product-account-card small {
  color: #61728a;
  font-size: 12px;
  line-height: 20px;
}

.opc-product-account-card > a {
  min-height: 40px;
  padding: 9px 12px;
  color: var(--opc-product-blue);
  font-size: 13px;
  text-decoration: none;
}

.opc-workspace-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.opc-workspace-item__actions {
  flex-wrap: wrap;
}

.opc-product-panel > h3 {
  margin: 24px 0 8px;
  color: #223b5e;
  font-size: 15px;
  line-height: 24px;
}

.opc-product-panel > h3:first-child {
  margin-top: 0;
}

.opc-product-panel > p a {
  color: var(--opc-product-blue);
}

@media (max-width: 1120px) {
  .opc-demo-account-bar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .opc-demo-account-bar__controls {
    width: 100%;
    padding-bottom: 2px;
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 820px) {
  .opc-demo-account-bar__inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .opc-demo-account-bar__summary {
    min-width: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .opc-demo-account-bar__summary small {
    width: 100%;
  }

  .opc-product-transaction .opc-secondary-hero__inner {
    padding: 22px 16px 24px;
  }

  .opc-product-account-card {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .opc-product-account-card > a {
    grid-column: 1 / -1;
  }

  .opc-workspace-head__actions,
  .opc-workspace-head__actions a,
  .opc-workspace-head__actions button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .opc-demo-account-bar__controls button {
    min-height: 44px;
  }

  .opc-product-transaction .opc-product-hero__facts {
    grid-template-columns: minmax(0, 1fr);
  }
}
