[data-review-app], .rv-dialog, .rv-questionnaire-page {
  --rv-ink: #202c31;
  --rv-muted: #66747b;
  --rv-line: #d8e0e3;
  --rv-green: #126a59;
  color: var(--rv-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.55;
}
[data-review-app] *, .rv-dialog *, .rv-questionnaire-page * { box-sizing: border-box; }
[data-review-app] [hidden], .rv-dialog [hidden], .rv-questionnaire-page [hidden] { display: none !important; }
[data-review-app] { min-width: 0; }
[data-review-app] h2, .rv-dialog h2 { margin: 0; font-size: 22px; line-height: 1.5; }
[data-review-app] h3, .rv-dialog h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.rv-toolbar, .rv-section-heading, .rv-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rv-toolbar { padding: 0 0 20px; border-bottom: 1px solid var(--rv-line); }
.rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rv-button {
  min-height: 40px; padding: 8px 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--rv-line, #d8e0e3); border-radius: 5px; background: white; color: #253c42;
  font: inherit; font-size: 15px; line-height: 1.4; font-weight: 650; cursor: pointer; white-space: normal;
}
.rv-button svg, .rv-button i { width: 18px; height: 18px; flex: 0 0 18px; }
.rv-button span:empty { display: none; }
.rv-button[data-primary="true"] { background: #126a59; border-color: #126a59; color: #fff; }
.rv-button:hover:not(:disabled) { background: #edf4f3; border-color: #a9bfba; }
.rv-button[data-primary="true"]:hover:not(:disabled) { background: #0c5849; color: white; }
.rv-button:disabled { opacity: .46; cursor: not-allowed; }
.rv-button:focus-visible, .rv-tabs button:focus-visible, .rv-details summary:focus-visible { outline: 3px solid #3d79bd; outline-offset: 3px; }
.rv-tabs { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.rv-tabs button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; padding: 10px 16px; min-height: 44px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #546269; font: inherit; font-weight: 650; cursor: pointer; }
.rv-tabs button.active { color: #126a59; background: #e7f1ee; border-bottom-color: #126a59; }
.rv-tabs button span { min-width: 24px; padding: 0 5px; font-size: 14px; color: inherit; border-radius: 4px; background: #e5eaea; }
.rv-tabs button.active span { background: #126a59; color: white; }
.rv-phase-tabs { margin: 22px 0 12px; }
.rv-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding-top: 22px; }
.rv-filters label { flex: 1 1 140px; max-width: 240px; }
.rv-filters label:first-child { flex-grow: 2; }
.rv-filters label, .rv-form label, .rv-block-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rv-filters label > span, .rv-form label > span, .rv-block-field > span { font-size: 15px; font-weight: 650; color: #46575f; }
.rv-filters input, .rv-filters select, .rv-form input, .rv-form select, .rv-form textarea, .rv-questionnaire-page textarea, .rv-respondent input, .rv-respondent select {
  width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #c8d3d6; border-radius: 5px;
  background: white; color: #202c31; font: inherit; font-size: 16px; line-height: 1.5;
}
.rv-filters input:focus, .rv-filters select:focus, .rv-form input:focus, .rv-form select:focus, .rv-form textarea:focus, .rv-questionnaire-page textarea:focus, .rv-respondent input:focus, .rv-respondent select:focus { outline: 2px solid #7ab9ac; outline-offset: 1px; }
.rv-form textarea, .rv-questionnaire-page textarea { resize: vertical; }
.rv-message, .rv-notice { padding: 12px 16px; margin: 16px 0; background: #eaf1f8; border-left: 3px solid #3e73a5; color: #35536f; font-size: 15px; overflow-wrap: anywhere; }
.rv-message.error, .rv-form-error { color: #a63334; background: #fcf0ee; border-left: 3px solid #bb4e40; }
.rv-form-error { padding: 10px 14px; margin: 8px 20px; }
.rv-table-scroll { overflow-x: auto; max-width: 100%; border-top: 1px solid var(--rv-line); border-bottom: 1px solid var(--rv-line); }
.rv-table { width: 100%; min-width: 690px; table-layout: auto; border-collapse: collapse; font-size: 15px; background: white; }
.rv-table thead { background: #eaf0f2; }
.rv-table th { padding: 13px 12px; font-size: 17px; font-weight: 750; text-align: center; color: #30454e; white-space: nowrap; }
.rv-table td { padding: 15px 12px; border-top: 1px solid #e7ecee; text-align: center; vertical-align: middle; }
.rv-table th:first-child, .rv-table td:first-child { text-align: left; }
.rv-table tbody tr:hover { background: #f7faf9; }
.rv-table small { display: block; font-size: 13px; color: var(--rv-muted); margin-top: 3px; }
.rv-table strong { font-weight: 700; }
.rv-management-table { min-width: 850px; }
.rv-table td .rv-actions { justify-content: center; }
.rv-table .rv-numeric strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.rv-table progress { display: block; width: 86px; height: 6px; margin: 8px auto 0; accent-color: #3d79bd; }
.rv-pagination { padding: 16px 0; font-size: 14px; color: var(--rv-muted); }
.rv-badge { display: inline-flex; align-items: center; font-size: 13px; font-weight: 650; line-height: 1.6; border: 1px solid #d4dee1; border-radius: 4px; padding: 2px 7px; color: #596a72; background: #f1f4f5; vertical-align: middle; white-space: nowrap; }
.rv-badge.collecting, .rv-badge.pending { color: #2e6699; border-color: #c6d8ed; background: #edf4fb; }
.rv-badge.ready, .rv-badge.submitted { color: #12654d; border-color: #b4d8c9; background: #e9f6ef; }
.rv-badge.overdue { color: #a24031; border-color: #e6c2bc; background: #fff1ed; }
.rv-muted { color: var(--rv-muted); font-size: 14px; }
.rv-empty { padding: 50px 16px; text-align: center; display: grid; gap: 16px; justify-items: center; color: var(--rv-muted); }
.rv-empty > svg { width: 40px; height: 40px; color: #78958e; }
.rv-section-heading { margin: 20px 0; }
.rv-section-heading h3 span { padding-left: 8px; color: var(--rv-muted); font-size: 16px; font-weight: 500; }
.rv-detail-identity { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 16px 0 22px; border-bottom: 1px solid var(--rv-line); }
.rv-detail-identity h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rv-detail-identity p { margin: 5px 0 0; color: var(--rv-muted); }
.rv-detail-identity dl { margin: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.rv-detail-identity dt, .rv-questionnaire-identity dt { font-size: 14px; color: var(--rv-muted); }
.rv-detail-identity dd, .rv-questionnaire-identity dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.rv-detail-identity + .rv-tabs { margin-top: 18px; }
.rv-detail-body { padding-top: 14px; }
.rv-detail-body > h3 { margin: 22px 0 14px; }
.rv-result-summary { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--rv-line); }
.rv-score { display: grid; align-content: center; gap: 6px; border-right: 1px solid var(--rv-line); }
.rv-score > span { font-size: 14px; color: var(--rv-muted); }
.rv-score > strong { font-size: 36px; line-height: 1.5; color: #126a59; font-variant-numeric: tabular-nums; }
.rv-dimension-bars { display: grid; gap: 14px; }
.rv-dimension-bars > div { display: grid; grid-template-columns: 190px minmax(40px, 1fr) 100px; gap: 12px; align-items: center; font-size: 15px; }
.rv-dimension-bars strong { text-align: right; font-variant-numeric: tabular-nums; }
.rv-bar { height: 9px; border-radius: 2px; background: #e3e9eb; overflow: hidden; }
.rv-bar > span { display: block; height: 100%; background: #327baa; }
.rv-dimension-bars > div:nth-child(2n) .rv-bar > span { background: #32957f; }
.rv-details { border-bottom: 1px solid var(--rv-line); margin: 12px 0; padding: 10px 0; }
.rv-details summary { font-size: 16px; font-weight: 650; cursor: pointer; padding: 8px 0; overflow-wrap: anywhere; }
.rv-details summary > span { color: var(--rv-muted); font-size: 14px; font-weight: 400; margin-left: 10px; }
.rv-comment { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 14px; font-size: 16px; line-height: 1.8; }
.rv-result-footer { padding: 18px 0; display: flex; justify-content: flex-end; }
.rv-conclusion { border-left: 4px solid #126a59; background: #edf6f1; padding: 18px 22px; margin: 18px 0; }
.rv-conclusion p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0; }
.rv-conclusion small { display: block; margin-top: 10px; color: var(--rv-muted); }
.rv-standard-roles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 18px 0; border-block: 1px solid var(--rv-line); }
.rv-standard-roles > div { display: grid; gap: 6px; border-right: 1px solid var(--rv-line); padding: 0 15px; }
.rv-standard-roles > div:last-child { border: 0; }
.rv-standard-roles strong { font-size: 21px; color: #2c657d; }
.rv-standard-group { margin: 26px 0; }
.rv-standard-group h3 { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 2px solid #baccc6; }
.rv-standard-group h3 > span { font-size: 16px; color: #126a59; }
.rv-standard-group > div { display: grid; grid-template-columns: 160px minmax(0, 1fr) 72px; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rv-line); }
.rv-standard-group p { margin: 0; font-size: 15px; color: var(--rv-muted); }
.rv-standard-group > div > span { text-align: right; }
.rv-timeline { list-style: none; padding: 0 0 0 20px; margin: 20px 0; border-left: 2px solid #d3e0dc; }
.rv-timeline li { padding: 0 0 22px; overflow-wrap: anywhere; }
.rv-timeline li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.rv-timeline li span, .rv-timeline li small { font-size: 14px; color: var(--rv-muted); }
.rv-timeline li p { margin: 6px 0 0; }
.rv-score-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px; margin: 12px 0; }
.rv-score-list > span { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 14px; }
.rv-dialog { width: min(540px, calc(100% - 32px)); max-width: calc(100% - 32px); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--rv-line); border-radius: 8px; background: white; overflow: auto; }
.rv-dialog.rv-dialog-wide { width: min(840px, calc(100% - 32px)); }
.rv-dialog::backdrop { background: rgb(20 32 37 / .4); }
.rv-form { margin: 0; }
.rv-form > header, .rv-form > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; background: white; position: sticky; z-index: 2; }
.rv-form > header { top: 0; border-bottom: 1px solid var(--rv-line); }
.rv-form > footer { bottom: 0; justify-content: flex-end; border-top: 1px solid var(--rv-line); }
.rv-modal-body { padding: 20px 22px; }
.rv-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rv-block-field { margin: 16px 0; }
.rv-link-list { display: grid; gap: 20px; padding: 12px 0 20px; }
.rv-link-row { display: grid; gap: 8px; }
.rv-link-row > div { display: flex; gap: 8px; }
.rv-link-row small { margin-left: 8px; font-size: 14px; color: var(--rv-muted); font-weight: 400; }
.rv-link-row input { font-size: 13px; }
.rv-copy-status { color: #126a59; font-size: 14px; }
.rv-questionnaire-page { margin: 0; background: #f4f7f8; min-width: 320px; }
.rv-questionnaire-brand { background: white; padding: 18px max(20px, calc((100% - 900px) / 2)); border-bottom: 1px solid #d8e0e3; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 15px; }
.rv-questionnaire-brand strong { color: #126a59; white-space: nowrap; }
#questionnaire { width: min(900px, 100%); margin: 0 auto; padding: 30px 26px 70px; }
.rv-questionnaire-identity { border-bottom: 1px solid #d8e0e3; padding: 0 0 24px; }
.rv-questionnaire-identity > span { font-size: 14px; color: #66747b; }
.rv-questionnaire-identity h1 { margin: 8px 0; font-size: 28px; line-height: 1.5; overflow-wrap: anywhere; }
.rv-questionnaire-identity p { color: #66747b; margin: 0 0 16px; }
.rv-questionnaire-identity dl { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; margin: 0; }
.rv-respondent { padding: 22px 0; border-bottom: 1px solid #d8e0e3; }
.rv-respondent h2 { margin: 0 0 14px; font-size: 20px; color: #203f47; }
.rv-respondent .rv-block-field { margin: 0; }
.rv-respondent .rv-block-field > span { font-size: 16px; }
.rv-respondent .rv-block-field > span > span { color: #a63334; }
.rv-questionnaire-progress { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 14px 0; background: #f4f7f8; border-bottom: 1px solid #d8e0e3; font-size: 14px; }
.rv-questionnaire-progress progress { flex: 1; width: 100%; height: 8px; accent-color: #126a59; }
.rv-questionnaire-progress span { white-space: nowrap; }
.rv-question-group { padding: 22px 0 0; }
.rv-question-group h2 { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 6px; font-size: 20px; color: #203f47; }
.rv-question-group h2 > span { color: #73938e; font-size: 18px; font-weight: 500; }
.rv-question-group h2 > small { margin-left: auto; font-size: 15px; font-weight: 500; color: #66747b; }
.rv-question { border: 0; border-bottom: 1px solid #dce5e8; margin: 20px 0 0; padding: 0 0 24px; min-width: 0; }
.rv-question legend { padding: 0; font-size: 18px; font-weight: 700; }
.rv-question legend small { color: #66747b; font-size: 13px; font-weight: 400; margin-left: 7px; }
.rv-question p { margin: 6px 0 13px; font-size: 15px; color: #5e717a; }
.rv-rating { display: grid; grid-template-columns: repeat(var(--rating-count), minmax(0, 1fr)); gap: 7px; max-width: 660px; }
.rv-rating label { min-width: 0; position: relative; cursor: pointer; }
.rv-rating input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rv-rating label span { min-height: 45px; display: flex; align-items: center; justify-content: center; border: 1px solid #c5d3d8; border-radius: 4px; font-size: 17px; font-weight: 600; background: white; color: #334850; }
.rv-rating input:checked + span { background: #126a59; border-color: #126a59; color: white; }
.rv-rating input:focus-visible + span { outline: 3px solid #3d79bd; outline-offset: 2px; }
.rv-rating-guide { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; max-width: 660px; margin-top: 8px; color: #6d7e84; font-size: 13px; }
.rv-confirm { display: flex; gap: 10px; align-items: flex-start; padding: 24px 0; font-size: 15px; }
.rv-confirm input { flex: 0 0 19px; width: 19px; height: 19px; margin: 2px 0 0; accent-color: #126a59; }
.rv-questionnaire-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #d8e0e3; padding: 20px 0; }
.rv-questionnaire-footer > span { font-size: 14px; color: #66747b; }
.rv-questionnaire-footer > button { min-width: 140px; min-height: 46px; }
.rv-questionnaire-page .rv-form-error { margin: 0; }
.rv-questionnaire-status { text-align: center; padding: 60px 0; overflow-wrap: anywhere; }
.rv-questionnaire-status > svg { width: 52px; height: 52px; color: #126a59; }
.rv-questionnaire-status h1 { font-size: 24px; line-height: 1.5; }
.rv-questionnaire-status p { color: #66747b; }
@media (max-width: 1100px) {
  .rv-result-summary { grid-template-columns: 145px minmax(0, 1fr); gap: 20px; }
  .rv-dimension-bars > div { grid-template-columns: 170px minmax(40px, 1fr) 92px; font-size: 14px; }
}
@media (max-width: 700px) {
  .rv-toolbar { align-items: stretch; gap: 12px; }
  .rv-tabs button { padding: 10px 11px; font-size: 15px; }
  .rv-filters { gap: 10px; }
  .rv-filters label { max-width: none; flex: 1 1 120px; }
  .rv-section-heading { align-items: start; }
  .rv-detail-identity dl { gap: 12px; display: grid; grid-template-columns: 1fr; }
  .rv-result-summary { grid-template-columns: 1fr; }
  .rv-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; border: 0; }
  .rv-score > strong { font-size: 30px; }
  .rv-dimension-bars > div { grid-template-columns: minmax(0, 1fr) 94px; gap: 8px; }
  .rv-dimension-bars .rv-bar { grid-column: 1 / -1; grid-row: 2; }
  .rv-standard-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 0; }
  .rv-standard-roles > div { padding: 0 10px; }
  .rv-standard-roles strong { font-size: 18px; }
  .rv-standard-group > div { grid-template-columns: minmax(0, 1fr) 66px; gap: 6px; }
  .rv-standard-group > div > p { grid-column: 1 / -1; grid-row: 2; }
  .rv-details summary > span { display: block; margin: 4px 0 0; }
  .rv-score-list { grid-template-columns: 1fr; }
  .rv-dialog, .rv-dialog.rv-dialog-wide { width: calc(100% - 20px); max-width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .rv-form > header, .rv-form > footer, .rv-modal-body { padding: 14px; }
  .rv-dialog h2 { font-size: 20px; }
  .rv-fields { grid-template-columns: 1fr; }
  .rv-questionnaire-brand { padding: 15px 16px; font-size: 14px; }
  #questionnaire { padding: 24px 16px 40px; }
  .rv-questionnaire-identity dl { grid-template-columns: 1fr; }
  .rv-question-group h2 { font-size: 18px; }
  .rv-rating { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .rv-questionnaire-footer { flex-wrap: wrap; }
}
