:root {
  color-scheme: light;
  --navy: #101a2e;
  --navy-soft: #182641;
  --blue: #246bfd;
  --blue-soft: #edf3ff;
  --text: #17243a;
  --muted: #7a8799;
  --line: #e8ecf2;
  --page: #f4f6fa;
  --green: #159b67;
  --orange: #e9892f;
  --red: #df4a4a;
  --purple: #7655d5;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--page); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid #8eb1ff; outline-offset: 3px; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 10; width: 232px; padding: 26px 18px;
  color: #fff; background: linear-gradient(180deg, var(--navy), #0c1425);
  display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 30px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px;
  font-weight: 800; letter-spacing: -1px; background: linear-gradient(145deg, #4f8cff, #2357d8);
  box-shadow: 0 10px 24px rgba(36, 107, 253, .32);
}
.brand strong, .brand span { display: block; }
.brand strong { font-size: 16px; letter-spacing: .2px; }
.brand span { margin-top: 3px; color: #8fa0bb; font-size: 11px; }
.nav-list { display: grid; gap: 7px; }
.nav-item {
  position: relative; width: 100%; padding: 13px 12px; display: flex; align-items: center; gap: 11px;
  color: #94a2b8; text-align: left; border: 0; border-radius: 11px; background: transparent;
  cursor: pointer; font: inherit; font-size: 12px; text-decoration: none;
}
.nav-item.active { color: #fff; background: var(--navy-soft); box-shadow: inset 3px 0 var(--blue); }
.nav-item:disabled { cursor: default; opacity: .65; }
.nav-icon {
  width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px;
  color: #b9c6db; background: rgba(255, 255, 255, .07); font-size: 12px; font-weight: 700;
}
.nav-item.active .nav-icon { color: #fff; background: rgba(36, 107, 253, .35); }
.nav-dot { margin-left: auto; width: 6px; height: 6px; background: #5d91ff; border-radius: 50%; }
.sidebar-footer { margin-top: auto; padding: 18px 10px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.environment { color: #aebbd0; font-size: 12px; }
.environment span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #35d195; }
.sidebar-footer p { margin: 8px 0 0; color: #64738c; font-size: 11px; }

.main { width: calc(100% - 232px); margin-left: 232px; padding: 29px 34px 42px; }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 25px; }
.breadcrumb { margin-bottom: 7px; color: #8b96a7; font-size: 12px; }
h1 { margin: 0; font-size: 28px; letter-spacing: -.5px; }
.topbar p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.admin-profile { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 13px; background: #fff; border: 1px solid var(--line); }
.admin-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--navy-soft); font-weight: 700; }
.admin-profile strong, .admin-profile span { display: block; }
.admin-profile strong { font-size: 12px; }
.admin-profile span { margin-top: 3px; color: #9aa3b1; font-size: 10px; }
.logout-button { margin-left: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9fc; color: #526079; font-size: 11px; white-space: nowrap; }

/* Login and personal workspace share the existing operations palette. */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 36px 20px; }
.login-shell { width: min(960px, 100%); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 80px rgba(18, 35, 64, .10); background: #fff; }
.login-intro { min-height: 570px; display: flex; flex-direction: column; padding: 40px; color: #fff; background: linear-gradient(145deg, #101a2e, #1e4078); }
.login-intro .brand { padding: 0; }
.login-intro-copy { margin: auto 0; padding: 48px 0; }
.login-eyebrow { display: block; color: #6c89b8; font-size: 11px; letter-spacing: 2px; }
.login-intro .login-eyebrow { color: #adc8f1; }
.login-intro h1 { margin-top: 17px; font-size: 34px; font-weight: 650; line-height: 1.5; }
.login-intro-copy p { color: #b1c2dc; font-size: 13px; line-height: 1.9; }
.login-intro-footer { color: #8da5ca; font-size: 11px; margin: 0; }
.login-form-panel { padding: 62px 42px 40px; align-self: center; }
.login-form-panel h2 { margin: 13px 0 12px; font-size: 23px; letter-spacing: -.4px; }
.login-description, .login-help { color: var(--muted); font-size: 12px; line-height: 1.8; }
.login-form { display: grid; margin-top: 25px; }
.login-form label { margin-bottom: 8px; color: #4c5b72; font-size: 12px; font-weight: 650; }
.login-form input { height: 46px; margin-bottom: 19px; padding: 0 13px; border: 1px solid #dfe4ec; border-radius: 9px; background: #fafbfe; color: var(--text); min-width: 0; }
.login-form input:focus { outline: 2px solid #9bbaff; border-color: #9bbaff; }
.login-form .action-button { width: 100%; min-height: 45px; }
.auth-message { margin: 0 0 14px; min-height: 19px; color: #397460; font-size: 12px; line-height: 1.6; }
.auth-message--error { color: #c13b42; }
.login-help { padding-top: 18px; margin: 23px 0 0; border-top: 1px solid var(--line); font-size: 11px; }
.account-main { max-width: 1500px; }
.account-section { margin-bottom: 20px; overflow: hidden; }
.account-card-content { padding: 24px; }
.account-store { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.account-store .merchant-logo { width: 44px; height: 44px; }
.account-store h3 { margin: 0 0 7px; font-size: 17px; }
.account-store p { margin: 0; color: var(--muted); font-size: 12px; }
.account-empty { padding: 24px; color: var(--muted); text-align: center; font-size: 13px; }
.account-notice { padding: 14px 18px; border-radius: 10px; color: #80571d; background: #fff4dc; border: 1px solid #f2e2bf; font-size: 13px; }
.account-section tbody tr { cursor: default; }
.peer-assignment { padding: 21px 24px; border-bottom: 1px solid var(--line); }
.peer-assignment:last-child { border-bottom: 0; }
.peer-assignment-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.peer-assignment-header h3 { margin: 11px 0 7px; font-size: 14px; }
.peer-assignment-header p { margin: 0; font-size: 11px; color: var(--muted); }
.peer-case-detail { margin-top: 20px; padding: 18px; background: #f7f9fc; border-radius: 10px; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.peer-case-detail h4 { margin: 20px 0 10px; font-size: 12px; }
.account-facts { display: grid; grid-template-columns: 84px 1fr; gap: 10px 12px; margin: 0; }
.account-facts dt { color: var(--muted); }
.account-facts dd { margin: 0; white-space: pre-wrap; }
.account-evidence { padding-left: 18px; }
.account-evidence li { margin-bottom: 12px; }
.account-evidence span { display: block; color: var(--muted); font-size: 11px; }
.account-review-result { padding-top: 12px; border-top: 1px solid var(--line); white-space: pre-wrap; }
@media (max-width: 760px) {
  .login-page { padding: 20px 14px; }
  .login-shell { grid-template-columns: 1fr; max-width: 480px; }
  .login-intro { min-height: auto; padding: 26px; }
  .login-intro-copy { padding: 24px 0 0; }
  .login-intro h1 { font-size: 25px; }
  .login-intro-copy p, .login-intro-footer { display: none; }
  .login-form-panel { padding: 30px 26px; }
  .topbar { gap: 20px; flex-wrap: wrap; }
  .peer-assignment-header { align-items: flex-start; flex-direction: column; gap: 14px; }
  .account-facts { grid-template-columns: 72px 1fr; }
}

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 15px; margin-bottom: 18px; }
.stat-card { min-height: 93px; display: flex; align-items: center; gap: 15px; padding: 18px; border-radius: 15px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(27, 45, 76, .035); }
.stat-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; font-size: 14px; font-weight: 750; }
.stat-card span, .stat-card strong { display: block; }
.stat-card span { color: var(--muted); font-size: 12px; }
.stat-card strong { margin-top: 5px; font-size: 25px; }
.stat-card--blue .stat-icon { color: var(--blue); background: var(--blue-soft); }
.stat-card--purple .stat-icon { color: var(--purple); background: #f2efff; }
.stat-card--orange .stat-icon { color: var(--orange); background: #fff3e6; }
.stat-card--green .stat-icon { color: var(--green); background: #eaf8f2; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 5px 18px rgba(25, 45, 78, .035); }
.filter-panel { display: grid; grid-template-columns: minmax(260px, 1fr) 138px 138px 126px auto; gap: 10px; padding: 13px; margin-bottom: 18px; }
.search-box { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 0 13px; border: 1px solid #dfe4ec; border-radius: 10px; background: #fafbfc; }
.search-box span { color: #8b96a6; font-size: 21px; }
.search-box input { width: 100%; height: 38px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
select { height: 40px; padding: 0 10px; color: #546175; background: #fff; border: 1px solid #dfe4ec; border-radius: 10px; outline: none; font-size: 12px; }
select:focus, .search-box:focus-within, textarea:focus { border-color: #8eb1ff; box-shadow: 0 0 0 3px rgba(36,107,253,.09); }
.secondary-button { height: 40px; padding: 0 17px; color: #4e5b6e; background: #f7f8fa; border: 1px solid #dfe4ec; border-radius: 10px; font-size: 12px; font-weight: 650; }

.workspace { display: grid; grid-template-columns: minmax(600px, 1fr) 400px; gap: 18px; align-items: start; }
.application-panel { min-width: 0; overflow: hidden; }
.panel-heading { min-height: 72px; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-size: 16px; }
.panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.live-pill { padding: 7px 10px; color: #677487; background: #f5f7fa; border-radius: 999px; font-size: 10px; }
.live-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #22b979; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 12px 13px; color: #8b96a6; background: #fafbfc; text-align: left; font-size: 10px; font-weight: 650; white-space: nowrap; }
td { padding: 15px 13px; border-top: 1px solid #eff1f5; vertical-align: middle; }
tbody tr { cursor: pointer; transition: background .15s ease; }
tbody tr:hover, tbody tr.selected { background: #f6f9ff; }
tbody tr.selected { box-shadow: inset 3px 0 var(--blue); }
.merchant-cell { display: flex; align-items: center; gap: 10px; min-width: 176px; }
.merchant-logo { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: linear-gradient(145deg, #286df7, #163d94); border-radius: 10px; font-weight: 750; font-size: 11px; }
.merchant-cell strong, .merchant-cell span { display: block; }
.merchant-cell strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.merchant-cell span, .subtext { margin-top: 4px; color: #96a0af; font-size: 10px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.mini-tag { padding: 3px 6px; color: #677487; background: #f0f2f5; border-radius: 5px; font-size: 9px; }
.progress { width: 60px; height: 5px; overflow: hidden; background: #edf0f4; border-radius: 99px; }
.progress i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.progress-label { margin-top: 5px; color: #7d899a; font-size: 9px; }
.pill { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 650; white-space: nowrap; }
.pill--PENDING { color: #2667e8; background: #edf3ff; }
.pill--UNDER_REVIEW { color: #6c4fc5; background: #f2efff; }
.pill--NEEDS_INFO { color: #c5701f; background: #fff3e6; }
.pill--APPROVED { color: #128159; background: #eaf8f2; }
.pill--REJECTED { color: #c34040; background: #ffeded; }
.risk { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.risk::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.risk--LOW::before { background: var(--green); }
.risk--MEDIUM::before { background: var(--orange); }
.risk--HIGH::before { background: var(--red); }
.empty-state { padding: 65px 20px; text-align: center; color: #9aa4b2; }
.empty-state div { font-size: 35px; }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { margin-top: 8px; color: #5c687a; font-size: 13px; }
.empty-state span { margin-top: 5px; font-size: 11px; }

.detail-panel { position: sticky; top: 20px; min-height: 590px; overflow: hidden; }
.detail-empty { padding: 150px 48px; text-align: center; }
.detail-empty-icon { width: 58px; height: 58px; margin: auto; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 18px; font-weight: 750; }
.detail-empty h3 { margin: 18px 0 8px; font-size: 15px; }
.detail-empty p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.detail-header { padding: 19px; color: #fff; background: linear-gradient(140deg, #111e34, #1f4783); }
.detail-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.detail-shop { display: flex; gap: 11px; align-items: center; }
.detail-shop .merchant-logo { width: 42px; height: 42px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.15); }
.detail-shop h2 { margin: 0; font-size: 16px; }
.detail-shop p { margin: 5px 0 0; color: #b2c3df; font-size: 10px; }
.detail-header .pill { background: rgba(255,255,255,.12); color: #fff; }
.detail-body { max-height: calc(100vh - 275px); overflow-y: auto; padding: 18px; }
.detail-section { padding: 0 0 17px; margin-bottom: 17px; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border-bottom: 0; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title-row h3 { margin: 0; font-size: 12px; }
.section-title-row span { color: #939dab; font-size: 9px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 15px; }
.info-item--wide { grid-column: 1 / -1; }
.info-item label { display: block; margin-bottom: 4px; color: #96a0ae; font-size: 9px; }
.info-item div { color: #3f4d61; font-size: 11px; line-height: 1.55; word-break: break-word; }
.category-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.category-tag { padding: 6px 9px; color: #315fbd; background: #eef4ff; border-radius: 7px; font-size: 10px; }
.risk-box { padding: 11px; background: #fff8ef; border: 1px solid #ffe2bd; border-radius: 9px; }
.risk-box strong { color: #9b5e1f; font-size: 10px; }
.risk-box ul { margin: 7px 0 0; padding-left: 16px; color: #a4723e; font-size: 10px; line-height: 1.7; }
.document-list { display: grid; gap: 8px; }
.document-item { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; }
.doc-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #f0f3f8; font-size: 12px; }
.document-item strong, .document-item span { display: block; }
.document-item strong { font-size: 10px; }
.document-item span { margin-top: 3px; color: #9aa4b2; font-size: 9px; }
.doc-status { margin-left: auto; color: var(--green); font-size: 9px; }
.doc-status.missing { color: var(--red); }
.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; padding: 0 0 15px 19px; border-left: 1px solid #dfe5ee; }
.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-item::before { content: ""; position: absolute; left: -4px; top: 2px; width: 7px; height: 7px; background: var(--blue); border: 2px solid #dce8ff; border-radius: 50%; }
.timeline-item strong { display: block; font-size: 10px; }
.timeline-item p { margin: 4px 0; color: #6f7b8d; font-size: 10px; line-height: 1.55; }
.timeline-item time { color: #a0a9b6; font-size: 9px; }
.review-box textarea { width: 100%; min-height: 74px; padding: 10px; resize: vertical; color: var(--text); border: 1px solid #dfe4ec; border-radius: 9px; outline: none; font-size: 11px; line-height: 1.55; }
.review-tip { margin: 7px 0 11px; color: #929cab; font-size: 9px; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.action-button { height: 36px; border-radius: 9px; font-size: 10px; font-weight: 700; }
.action-button--primary { color: #fff; background: var(--blue); border: 1px solid var(--blue); }
.action-button--warn { color: #b86b21; background: #fff8ef; border: 1px solid #f6d6af; }
.action-button--danger { color: #c44444; background: #fff1f1; border: 1px solid #f3c6c6; }
.action-button--neutral { color: #59677a; background: #f5f7fa; border: 1px solid #dfe4ec; }
.final-message { padding: 11px; color: #647185; background: #f5f7fa; border-radius: 9px; font-size: 10px; line-height: 1.6; }
.activation-note { margin-top: 8px; padding: 10px 11px; color: #647185; background: #f5f7fa; border: 1px solid #e3e9f2; border-radius: 9px; font-size: 10px; line-height: 1.6; }
.activation-note--ok { color: #0a7d43; background: #ecfbf3; border-color: #bfe9d2; }
.activation-note--warn { color: #ad6800; background: #fff8ec; border-color: #f3d9a8; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; padding: 11px 17px; color: #fff; background: #15243d; border-radius: 10px; box-shadow: 0 12px 35px rgba(12,25,47,.25); font-size: 12px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { background: #b53f3f; }

@media (max-width: 1180px) {
  .workspace { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .detail-body { max-height: none; }
}
@media (max-width: 850px) {
  .sidebar { display: none; }
  .main { width: 100%; margin-left: 0; padding: 22px 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .search-box { grid-column: 1 / -1; }
}

.governance-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 17px; margin-bottom: 18px; padding: 16px 20px; }
.governance-strip > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; align-items: center; }
.governance-strip i { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 10px; font-size: 11px; font-style: normal; font-weight: 800; }
.governance-strip strong, .governance-strip span { display: block; }
.governance-strip strong { font-size: 11px; }
.governance-strip span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.governance-strip > b { color: #aeb7c4; font-size: 15px; }
.dispute-filters { grid-template-columns: minmax(300px, 1fr) 160px 160px auto; }
.case-cell { min-width: 190px; }
.case-cell strong, .case-cell span { display: block; }
.case-cell strong { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-cell span { margin-top: 5px; color: #96a0af; font-size: 9px; }
.party-pair { max-width: 190px; margin-bottom: 6px; overflow: hidden; color: #536074; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.review-progress { margin-bottom: 6px; color: #7d899a; font-size: 9px; }
.review-progress b { color: var(--blue); font-size: 12px; }
.pill--SYSTEM_REVIEW, .pill--SYSTEM_DECISION { color: #2667e8; background: #edf3ff; }
.pill--PEER_REVIEW { color: #6c4fc5; background: #f2efff; }
.pill--PEER_RECOMMENDATION { color: #087a5b; background: #e6f8f1; }
.pill--PLATFORM_REVIEW { color: #c5701f; background: #fff3e6; }
.pill--RESOLVED { color: #128159; background: #eaf8f2; }
.dispute-detail-body { max-height: calc(100vh - 210px); }
.party-versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.party-versus > div { padding: 11px; background: #f7f9fc; border-radius: 9px; }
.party-versus label, .party-versus strong, .party-versus span { display: block; }
.party-versus label { color: #929dab; font-size: 8px; }
.party-versus strong { margin-top: 5px; font-size: 10px; }
.party-versus span { margin-top: 4px; color: #8b96a5; font-size: 9px; }
.party-versus > b { color: #b2bbc8; font-size: 9px; }
.case-copy { padding: 12px; background: #f7f9fc; border-radius: 9px; }
.case-copy strong { color: #48566a; font-size: 10px; font-weight: 550; line-height: 1.7; }
.case-copy p { margin: 8px 0 0; color: #2e64c3; font-size: 10px; line-height: 1.6; }
.system-rule { padding: 12px; background: #f6f8fb; border: 1px solid #e6eaf0; border-radius: 9px; }
.system-rule.matched { background: #eef8f4; border-color: #caebdf; }
.system-rule b { font-size: 10px; }
.system-rule p { margin: 6px 0; color: #687588; font-size: 10px; line-height: 1.6; }
.system-rule code { color: #8792a2; font-size: 8px; }
.evidence-item { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; }
.evidence-item > div:nth-child(2) { min-width: 0; flex: 1; }
.evidence-item strong, .evidence-item span, .evidence-item code { display: block; }
.evidence-item strong { font-size: 10px; }
.evidence-item span { margin-top: 3px; color: #9aa4b2; font-size: 9px; }
.evidence-item code { max-width: 190px; margin-top: 4px; overflow: hidden; color: #6f7b8e; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.reviewer-list { display: grid; gap: 8px; }
.reviewer-row { display: flex; align-items: flex-start; gap: 9px; padding: 10px; background: #f8f9fb; border-radius: 9px; }
.reviewer-avatar { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; color: #5d6b80; background: #e9edf3; border-radius: 8px; font-size: 9px; font-weight: 750; }
.reviewer-row > div:nth-child(2) { flex: 1; min-width: 0; }
.reviewer-row strong, .reviewer-row span { display: block; font-size: 9px; }
.reviewer-row small { margin-left: 4px; color: #a0a9b5; font-size: 8px; font-weight: 400; }
.reviewer-row span { margin-top: 4px; color: #718094; }
.reviewer-row p { margin: 5px 0 0; color: #657286; font-size: 9px; line-height: 1.5; }
.review-state { padding: 4px 7px; color: #917040; background: #fff4e6; border-radius: 99px; font-size: 8px; font-style: normal; }
.review-state.done { color: #11805a; background: #e9f8f2; }
.waiting-box, .result-box, .final-decision { margin-top: 10px; padding: 12px; border-radius: 9px; font-size: 10px; }
.waiting-box { color: #756341; background: #fff8ed; border: 1px solid #f5dfbc; }
.result-box { color: #315fbd; background: #eef4ff; }
.result-box > strong { font-size: 11px; }
.result-box > div { display: flex; gap: 8px; margin-top: 8px; }
.result-box b { padding: 4px 6px; color: #5270a8; background: #fff; border-radius: 5px; font-size: 8px; }
.result-box p { margin: 7px 0 0; color: #7082a4; font-size: 8px; }
.decision-form { display: grid; grid-template-columns: 1fr 115px; gap: 8px; }
.decision-form input { height: 40px; padding: 0 10px; border: 1px solid #dfe4ec; border-radius: 9px; outline: none; font-size: 10px; }
.decision-form textarea { grid-column: 1 / -1; min-height: 62px; padding: 10px; resize: vertical; border: 1px solid #dfe4ec; border-radius: 9px; outline: none; font-size: 10px; line-height: 1.5; }
.decision-form button { grid-column: 1 / -1; }
.final-decision { color: #226748; background: #eaf8f2; border: 1px solid #cbeadc; }
.final-decision strong { font-size: 11px; }
.final-decision p { margin: 7px 0; line-height: 1.6; }
.final-decision span { color: #4f7766; }

@media (max-width: 850px) {
  .governance-strip { grid-template-columns: 1fr; }
  .governance-strip > b { display: none; }
}
