@layer app {
.moderation-review-page { background: var(--surface); }
.moderation-review-page .moderation-main { min-height: 0; }
.review-hero-inner { min-height: 250px; }
.review-hero .moderation-eyebrow { max-width: 720px; }
.moderation-review-page .review-hero h1 { max-width: 740px; font-size: var(--type-editorial-heading); }
.review-hero-copy > p:last-child { max-width: 660px; }
.review-illustration { position: absolute; right: 0; bottom: 0; width: min(48%,560px); height: 235px; object-fit: contain; object-position: right bottom; }
.review-content { padding-top: calc(var(--content-after-hero-gap) * 2); }
.review-workspace { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(330px,.9fr); align-items: start; gap: var(--content-block-gap); }
.review-records,.review-sidebar { min-width: 0; display: grid; align-content: start; gap: var(--panel-stack-gap); }
.review-sidebar { position: sticky; top: 18px; }
.review-panel { min-width: 0; padding: var(--content-panel-padding); border: 1px solid var(--data-border); border-radius: var(--data-radius); background: var(--data-surface); box-shadow: var(--data-shadow); }
.review-section-heading { min-width: 0; margin-bottom: var(--panel-stack-gap); display: flex; align-items: center; gap: 10px; }
.review-section-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--status-selected-border); border-radius: var(--button-radius); color: var(--brand-primary); background: var(--status-selected-bg); }
.review-section-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.review-section-heading > div { min-width: 0; flex: 1 1 auto; }
.review-kicker { margin: 0 0 2px; color: var(--text-muted); font-size: var(--type-caption); line-height: 1.25; }
.review-section-heading h2 { margin: 0; color: var(--ink); font: 600 var(--type-subheading)/1.25 "Golos Text",sans-serif; letter-spacing: -.02em; }
.review-lot-panel .review-section-heading h2 { display: grid; gap: var(--gap-xs); }
.review-lot-region { display: block; color: var(--text-secondary); font: 400 16px/1.45 Roboto,Arial,sans-serif; letter-spacing: normal; }
.review-lot-panel .review-section-heading .moderation-tag { align-self: flex-start; flex: 0 0 auto; }
.review-lot-facts { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap-md) 18px; }
.review-lot-facts > div { min-width: 0; }
.review-lot-facts .review-lot-title-fact { grid-column: 1 / -1; }
.review-lot-facts .review-region-fact { grid-column: 1 / -1; }
.review-lot-facts .review-description-fact { grid-column: 1 / -1; }
.review-lot-facts dt,.review-version-card dt { display: flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: var(--type-data-label); line-height: 1.3; }
.review-fact-icon { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: var(--brand-primary-muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.review-lot-facts dd,.review-version-card dd { margin: 3px 0 0; color: var(--hero); font-size: var(--type-data-value); font-weight: 600; line-height: 1.35; }
.review-lot-facts .review-price-fact dd { font-size: var(--type-subheading); font-weight: var(--font-weight-price-emphasis); }
.review-lot-facts .review-description-fact dd { font-weight: 400; }
.review-lot-facts dd:last-child { font-variant-numeric: tabular-nums; }
.review-seller-facts { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap-md) 18px; }
.review-seller-facts > div { min-width: 0; }
.review-seller-facts .review-seller-name { grid-column: 1 / -1; }
.review-seller-inn { grid-column: 1; }
.review-seller-ogrn { grid-column: 2; }
.review-seller-contact-name { grid-column: 1; }
.review-seller-registration { grid-column: 2; }
.review-seller-facts dd { margin: 3px 0 0; color: var(--text-primary); font-size: var(--type-data-value); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.review-seller-facts dd a { color: inherit; }
.review-seller-profile-link { display: inline-flex; align-items: baseline; gap: 6px; color: var(--text-primary); text-decoration: none; }
.review-seller-profile-link:hover { color: var(--brand-primary); }
.review-seller-history-grid { margin-top: var(--panel-stack-gap); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap-md); }
.review-seller-history-group { min-width: 0; padding: var(--content-panel-padding); border: 1px solid var(--data-border); border-radius: var(--data-radius); background: var(--data-surface); }
.review-seller-history-group h3 { margin: 0; color: var(--text-secondary); font-size: var(--type-body); font-weight: 600; line-height: 1.25; }
.review-seller-history-group dl { margin: 6px 0 0; display: grid; gap: var(--gap-xs); }
.review-seller-history-group dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--gap-sm); }
.review-seller-history-group dt { min-width: 0; font-size: var(--type-meta); }
.review-seller-history-group dd { flex: 0 0 auto; margin: 0; color: var(--text-primary); font-size: var(--type-body); font-variant-numeric: tabular-nums; }
.review-hidden-note { margin: var(--panel-stack-gap) 0 0; padding: 16px; display: flex; align-items: flex-start; gap: 10px; border-radius: var(--button-radius); color: var(--brand-ink); background: var(--status-selected-bg); font-size: var(--type-meta); line-height: 1.45; }
.review-hidden-note svg,.review-reconciliation svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--brand-primary-muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.review-hidden-note strong { color: var(--hero); }
.review-version-grid { display: grid; grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr); align-items: stretch; gap: var(--gap-sm); }
.review-version-card { min-width: 0; padding: 13px; border: 1px solid var(--data-border); border-radius: var(--button-radius); background: var(--surface-card); }
.review-version-current { background: var(--data-row-alt); }
.review-version-staged { border-color: var(--data-border-lilac); background: var(--data-row-alt); }
.review-version-card > header { min-width: 0; min-height: 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--gap-sm); }
.review-version-card h3 { margin: 2px 0 0; color: var(--ink); font: 600 20px/1.15 "Golos Text",sans-serif; }
.review-version-caption { color: var(--text-secondary); font-size: var(--type-caption); line-height: 1.3; }
.review-version-card .moderation-status { min-height: 23px; padding: 4px 7px; font-size: var(--type-meta); }
.review-version-card dl { margin: 10px 0 0; display: grid; gap: 9px; }
.review-version-card .review-price-fact { padding-top: var(--gap-sm); border-top: 1px solid var(--data-border); }
.review-version-card .review-price-fact dd { color: var(--ink); font: var(--font-weight-price-emphasis) clamp(19px,2vw,23px)/1.2 "Golos Text",sans-serif; font-variant-numeric: tabular-nums; }
.review-composition-intro { margin: 0 0 var(--panel-stack-gap); color: var(--text-secondary); font-size: var(--type-meta); line-height: 1.45; }
.review-composition-table-scroll { overflow-x: auto; }
body .ui-data-table.review-composition-table { min-width: 540px; border-collapse: separate; border-spacing: 0; }
body .ui-data-table.review-composition-table :is(th, td) { padding: 0 var(--data-table-cell-padding-inline); border: 0; background: transparent; }
body .ui-data-table.review-composition-table thead th { padding-bottom: var(--gap-sm); border-bottom: 1px solid var(--data-row-border); background: transparent; text-align: left; vertical-align: top; }
body .ui-data-table.review-composition-table thead th:not(:first-child) { width: 31%; }
.review-composition-version-heading { display: block; }
body .ui-data-table.review-composition-table tbody :is(th, td) { padding-block: 6px; }
body .ui-data-table.review-composition-table tbody tr:first-child > :is(th, td) { padding-top: var(--panel-stack-gap); }
body .ui-data-table.review-composition-table tbody tr,
body .ui-data-table.review-composition-table tbody tr:nth-child(even),
body .ui-data-table.review-composition-table tbody tr:hover { background: transparent; }
body .ui-data-table.review-composition-table tbody th[scope="row"] { color: var(--text-muted); text-align: left; font-size: var(--type-data-label); font-weight: 400; line-height: 1.3; }
body .ui-data-table.review-composition-table tbody td { color: var(--hero); font-size: var(--type-data-value); font-weight: 600; line-height: 1.35; vertical-align: top; overflow-wrap: anywhere; }
body .ui-data-table.review-composition-table tbody tr.review-composition-total td { font-weight: 700; font-variant-numeric: tabular-nums; }
body .ui-data-table.review-initial-composition-table { width: 100%; min-width: 0; table-layout: fixed; }
body .ui-data-table.review-composition-table.review-initial-composition-table thead th:first-child,
body .ui-data-table.review-composition-table.review-initial-composition-table thead th:last-child { width: 50%; }
.review-file-check-panel .review-file-table-wrap { margin-top: var(--panel-stack-gap); }
.review-file-check-table {  min-width: 0;  border-spacing: 0; }
body .ui-data-table.review-file-check-table :is(th,td) { padding: 0 var(--data-table-cell-padding-inline); border: 0; background: transparent; }
body .ui-data-table.review-file-check-table thead th { padding-bottom: var(--gap-sm); border-bottom: 1px solid var(--data-row-border); text-align: left; vertical-align: top; }
body .ui-data-table.review-file-check-table tbody :is(th,td) { padding-block: 6px; }
body .ui-data-table.review-file-check-table tbody tr:first-child > :is(th,td) { padding-top: var(--panel-stack-gap); }
body .ui-data-table.review-file-check-table tbody tr,
body .ui-data-table.review-file-check-table tbody tr:nth-child(even),
body .ui-data-table.review-file-check-table tbody tr:hover { background: transparent; }
body .ui-data-table.review-file-check-table tbody th[scope="row"] { color: var(--text-muted); text-align: left; font-size: var(--type-data-label); font-weight: 400; line-height: 1.3; }
body .ui-data-table.review-file-check-table tbody td { color: var(--hero); font-size: var(--type-data-value); font-weight: 600; line-height: 1.35; vertical-align: top; overflow-wrap: anywhere; }
.review-file-match { display: inline-flex; align-items: center; gap: var(--gap-xs); color: var(--status-success-text); font-size: var(--type-data-label); white-space: nowrap; }
.review-file-match svg { width: 14px; height: 14px; }
.review-file-unavailable { color: var(--text-muted); }
.review-file-row { min-width: 0; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: var(--gap-lg); border: 1px solid var(--data-border); border-radius: var(--control-radius); background: var(--data-row-alt); }
.review-file-row > span { min-width: 0; display: grid; gap: var(--gap-xs); }
.review-file-row strong { color: var(--hero); font-size: var(--type-data-value); }
.review-file-row small { color: var(--text-muted); font-size: var(--type-meta); line-height: 1.35; }
.review-file-row .button { flex: 0 0 auto; }
.review-file-row .button svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.review-reconciliation { margin: var(--panel-stack-gap) 0 0; display: flex; align-items: flex-start; gap: var(--gap-sm); color: var(--text-secondary); font-size: var(--type-caption); line-height: 1.4; }
.review-checklist { margin: 0; padding: 0; display: grid; gap: var(--panel-stack-gap); list-style: none; counter-reset: review-check; }
.review-checklist-intro { margin: 0 0 var(--panel-stack-gap); color: var(--text-secondary); font-size: var(--type-meta); line-height: 1.45; }
.review-checklist-scope { margin: var(--panel-stack-gap) 0 0; color: var(--text-muted); font-size: var(--type-caption); line-height: 1.4; }
.review-checklist li { min-width: 0; border: 1px solid var(--data-border); border-radius: var(--control-radius); background: var(--surface-card); }
.review-checklist li:has(details[open]) { background: var(--data-row-alt); }
.review-checklist details[open] { background: transparent; }
.review-checklist summary { min-width: 0; padding: 16px; display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: start; gap: 10px; list-style: none; cursor: pointer; }
.review-checklist summary::-webkit-details-marker { display: none; }
.review-checklist summary::marker { content: ""; }
.review-check-number { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--brand-link); background: var(--status-selected-bg); font: 600 15px/1 "Golos Text",sans-serif; }
.review-check-main { min-width: 0; display: grid; gap: var(--gap-sm); }
.review-check-heading { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--gap-sm); }
.review-check-copy strong,.review-check-heading strong { min-width: 0; display: flex; align-items: center; gap: 6px; color: var(--hero); font-size: var(--type-field-label); line-height: 1.3; }
.review-check-status { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; color: var(--status-info-text); border: 1px solid var(--status-info-border); background: var(--status-info-bg); font-size: var(--type-caption); line-height: 1.25; white-space: nowrap; }
.review-check-description { color: var(--text-secondary); font-size: var(--type-meta); line-height: 1.4; }
.review-details-label { margin-top: 1px; display: inline-flex; align-items: center; gap: var(--gap-xs); color: var(--brand-link); font-size: var(--type-caption); font-weight: 600; white-space: nowrap; }
.review-details-label svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.review-checklist details[open] .review-details-label { font-size: 0; }
.review-checklist details[open] .review-details-label::after { content: "Свернуть"; font-size: var(--type-caption); }
.review-checklist details[open] .review-details-label svg { transform: rotate(90deg); }
.review-checklist details > .review-check-detail { margin: 0; padding: var(--gap-md) 16px 16px 54px; border-top: 1px solid var(--data-border); color: var(--text-secondary); font-size: var(--type-meta); line-height: 1.4; }
.review-checklist summary:focus-visible { outline: 2px solid var(--tab-selected-outline); outline-offset: 2px; border-radius: var(--control-radius); }
.review-decision-panel > p { margin: 0 0 var(--panel-stack-gap); color: var(--text-secondary); font-size: var(--type-meta); line-height: 1.45; }
.review-decision-actions { display: grid; gap: var(--panel-stack-gap); }
.review-decision-actions .button { width: 100%; }
.review-decision-panel .review-decision-actions .button { box-sizing: border-box; height: var(--button-height-prominent); min-height: var(--button-height-prominent); padding-block: 0; display: flex; align-items: center; justify-content: center; }
.review-dialog { padding: 0; }
.review-dialog-form { position: relative; padding: var(--content-panel-padding); display: grid; gap: var(--form-stack-gap); }
.review-dialog-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: var(--control-radius); color: var(--text-secondary); background: transparent; font: 400 24px/1 Arial,sans-serif; cursor: pointer; }
.review-dialog-close:hover,.review-dialog-close:focus-visible { background: var(--surface-2); }
.review-dialog-form > h2 { margin: 0 38px 0 0; font: 600 var(--type-panel-heading)/1.25 "Golos Text",sans-serif; }
.review-dialog-form > p:not(.review-dialog-error) { margin: 0; }
.review-dialog-field { display: block; margin: 0; color: var(--text-secondary); font-size: var(--type-field-label); font-weight: 600; }
.review-dialog-field > span { color: var(--status-error-text); }
.review-dialog-field select,.review-dialog-field textarea { width: 100%; margin: 7px 0 0; display: block; font: inherit; font-weight: 400; }
.review-dialog-field textarea { min-height: 88px; resize: vertical; }
.review-dialog-error { margin: 0; color: var(--status-error-text); font-size: var(--type-data-label); line-height: 1.4; }
.review-dialog-actions { margin: 0; display: flex; justify-content: flex-end; gap: var(--form-stack-gap); }
.review-dialog-actions .review-dialog-danger-submit { background: var(--status-error-text); border-color: var(--status-error-text); }
body .review-dialog-actions .button.button-primary.review-dialog-danger-submit:hover:not(:disabled) { box-shadow: 0 8px 26px rgb(141 33 27 / 40%); }
@media (max-width: 600px) {
  .disclosure-deadline-caption,.disclosure-deadline-value,.disclosure-deadline-expired { margin-left: 0; }
  .disclosure-deadline-value { gap: 5px; }
  .disclosure-deadline-value > span { min-width: 43px; padding-inline: 6px; }
  .review-file-check-table { display: block; width: 100%; }
  .review-file-check-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .review-file-check-table tbody { display: block; width: 100%; }
  .review-file-check-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0,1fr) max-content;
    align-items: center;
    gap: 6px 12px;
    padding-block: var(--gap-md);
    border-bottom: 1px solid var(--data-row-border);
  }
  .review-file-check-table tbody tr:first-child { padding-top: var(--gap-lg); }
  .review-file-check-table tbody :is(th,td) { min-width: 0; padding-block: 0; }
  .review-file-check-table tbody th[scope="row"] { grid-column: 1 / -1; }
  .review-file-check-table tbody td:first-of-type { grid-column: 1; overflow-wrap: anywhere; }
  .review-file-check-table tbody td:last-of-type { grid-column: 2; text-align: right; }
  .review-file-match { justify-content: flex-end; white-space: normal; text-align: right; }
  .review-dialog-form { padding: 22px 17px; }
  .review-dialog-actions { flex-direction: column-reverse; row-gap: var(--form-stack-gap); }
  .review-dialog-actions .button { width: 100%; }
}
@media (max-width: 940px) {
  .review-workspace { grid-template-columns: minmax(0,1fr); }
  .review-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .review-checklist-panel { grid-row: span 2; display: none; }
}
@media (max-width: 700px) {
  .review-hero-inner { min-height: 280px; }
  .review-hero-copy { width: 100%; padding-top: 24px; padding-bottom: 116px; }
  .review-hero h1 { max-width: 600px; }
  .review-hero-copy > p:last-child { max-width: 540px; font-size: var(--type-button); }
  .review-illustration { width: min(62%,410px); height: 132px; opacity: .82; }
  .review-content { padding-top: 30px; }
  .review-sidebar { grid-template-columns: minmax(0,1fr); }
  .review-checklist-panel { grid-row: auto; }
}
@media (max-width: 520px) {
  .review-hero-inner { min-height: 306px; }
  .review-hero h1 { max-width: 350px; }
  .review-hero-copy > p:last-child { max-width: 305px; font-size: var(--type-button); }
  .review-illustration { width: 78%; height: 122px; opacity: .68; }

  .review-section-heading { align-items: flex-start; }
  .review-section-heading h2 { font-size: var(--type-subheading); }
  .review-lot-panel .review-section-heading .moderation-tag { max-width: 100%; white-space: nowrap; }
  .review-lot-facts { gap: 11px 8px; }
  .review-seller-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap-md) 8px; }
  .review-seller-facts .review-seller-name,.review-seller-facts .review-seller-phone,.review-seller-facts .review-seller-email { grid-column: 1 / -1; }
  .review-seller-history-grid { grid-template-columns: minmax(0,1fr); }
  .review-version-grid { grid-template-columns: minmax(0,1fr); gap: var(--gap-sm); }
  .review-file-row { align-items: stretch; flex-direction: column; }
  .review-file-row .button { width: 100%; }
  .review-check-heading { flex-wrap: wrap; }
}
}
