:root { color-scheme: light; font-family: Inter, Segoe UI, Arial, sans-serif; background: #eef1f4; color: #172027; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, select { font: inherit; }
button { min-height: 44px; border: 1px solid #c5ccd2; border-radius: 6px; background: #fff; padding: 0 16px; cursor: pointer; font-weight: 650; }
button:hover { background: #f5f7f8; }
button:disabled { opacity: .55; cursor: wait; }
.hidden { display: none !important; }
.brand { color: #d45f25; font-weight: 800; margin: 0 0 3px; }
h1, h2, p { margin-top: 0; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-panel { width: min(400px, 100%); background: #fff; border: 1px solid #d5dadd; border-radius: 8px; padding: 32px; box-shadow: 0 12px 35px #17202714; }
label { display: grid; gap: 6px; margin: 18px 0; font-size: 14px; font-weight: 700; }
input, select { width: 100%; min-height: 44px; border: 1px solid #b8c0c6; border-radius: 5px; padding: 8px 11px; background: #fff; }
.primary, .approve { color: #fff; background: #16754a; border-color: #16754a; }
.primary:hover, .approve:hover { background: #105f3b; }
.error { min-height: 20px; color: #ad2525; font-size: 14px; }
.app-shell { min-height: 100vh; }
header { height: 72px; background: #fff; border-bottom: 1px solid #d5dadd; display: flex; align-items: center; justify-content: space-between; padding: 10px 24px; }
header h1 { font-size: 22px; margin: 0; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-button { width: 44px; padding: 0; font-size: 21px; }
.review-layout { height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(0, 1fr) 360px; }
.image-stage { overflow: auto; display: grid; place-items: center; padding: 20px; background: #252a2e; }
.image-stage img { display: block; max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; background: #fff; box-shadow: 0 8px 30px #0007; }
.details { overflow-y: auto; padding: 24px; background: #fff; border-left: 1px solid #d5dadd; }
.progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.progress span { padding: 5px 8px; border-radius: 4px; background: #e9edf0; font-size: 12px; font-weight: 750; }
dl { margin: 0; }
dl div { padding: 13px 0; border-bottom: 1px solid #e2e5e7; }
dt { font-size: 12px; color: #66727a; text-transform: uppercase; }
dd { margin: 4px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.reject { color: #a42020; border-color: #d7a7a7; }
.correction { border-top: 1px solid #d5dadd; margin-top: 20px; padding-top: 5px; }
.correction-actions { display: flex; gap: 8px; }
.empty { max-width: 520px; margin: 15vh auto; text-align: center; background: #fff; border: 1px solid #d5dadd; border-radius: 8px; padding: 40px; }
@media (max-width: 820px) {
  .review-layout { height: auto; grid-template-columns: 1fr; }
  .image-stage { min-height: 55vh; padding: 10px; }
  .image-stage img { max-height: 52vh; }
  .details { border-left: 0; border-top: 1px solid #d5dadd; }
}

