:root {
  color-scheme: light;
  color: #172822;
  background: #f4f3eb;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  --ink: #172822;
  --forest: #184c3a;
  --paper: #fffcf5;
  --line: #dce4d9;
  --muted: #53655b;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.14; letter-spacing: -.045em; margin: 0; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 0; }
p { margin: 0; }
.surface { width: min(1096px, calc(100% - 44px)); margin: 0 auto; padding: 24px 0 60px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 26px; }
.brand, .header-right { display: flex; align-items: center; gap: 10px; }
.brand { font-weight: 750; font-size: 1.08rem; }
.brand-icon { display: grid; place-items: center; width: 35px; height: 35px; background: var(--forest); color: var(--paper); border-radius: 12px; }
.header-right, .muted { color: var(--muted); font-size: .94rem; }
.header-right { gap: 16px; }
.login { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); max-width: 850px; margin: clamp(14px, 7vh, 100px) auto 0; min-height: 438px; border: 1px solid var(--line); background: var(--paper); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 65px #16332813; }
.login-art {
  display: grid; place-items: center; position: relative; min-height: 252px; overflow: hidden;
  background: radial-gradient(ellipse at 40% 25%, #3b6b50 0, #244e3c 43%, #112f25 88%);
}
.paper { width: 123px; height: 158px; position: absolute; top: 50%; left: 50%; border-radius: 15px; box-shadow: 0 18px 45px #071f1880; }
.slip-back { background: #97af7d; transform: translate(-75%, -57%) rotate(-19deg); }
.slip-front { background: #f6edda; transform: translate(-30%, -46%) rotate(12deg); padding: 40px 21px; display: grid; gap: 13px; place-content: start; }
.slip-front i { display: block; width: 54px; height: 3px; border-radius: 4px; background: #739073; }
.slip-front i:nth-child(2) { width: 74px; }
.slip-front i:nth-child(3) { width: 43px; }
.login-body { align-self: center; padding: clamp(24px, 5vw, 58px); }
.form { display: grid; gap: 17px; margin-top: 24px; }
.form label { display: grid; gap: 7px; font-weight: 640; }
input, textarea { width: 100%; color: var(--ink); padding: 11px 13px; border: 1px solid #cfdace; border-radius: 10px; background: #fbfcf7; }
input:focus, textarea:focus { outline: 2px solid #598266; outline-offset: 1px; }
textarea { min-height: 78px; resize: vertical; }
.primary, .secondary, .danger, .text-button, .menu button { border: 0; border-radius: 11px; padding: 10px 16px; font-weight: 680; }
.primary { background: var(--forest); color: var(--paper); }
.secondary { color: var(--forest); background: #e7eee3; }
.danger { color: #8a3327; background: #f5e9df; }
.text-button { padding-inline: 0; color: var(--forest); background: transparent; }
.workspace { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 25px; align-items: start; }
.menu { display: grid; gap: 8px; padding: 8px; background: #e8ece0; border-radius: 14px; }
.menu button { text-align: left; background: transparent; color: #335245; }
.menu .selected { color: var(--paper); background: var(--forest); }
.panel { min-width: 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.section-header p { margin-top: 6px; }
.review-list { display: grid; gap: 16px; }
.review-item, .config-form, .empty { padding: 20px; border-radius: 17px; border: 1px solid var(--line); background: var(--paper); }
.review-item { display: grid; gap: 13px; overflow-wrap: anywhere; }
.review-heading, .actions, .attachments { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.kind { padding: 2px 8px; color: #315748; background: #e9efe5; border-radius: 6px; font-size: .82rem; }
.attachments a { color: #23654d; }
.review-summary { white-space: pre-wrap; }
.notice { padding: 10px 12px; color: #244a3a; background: #e6eee2; border-radius: 10px; }
.panel > .notice { margin-bottom: 14px; }
.error { color: #8a3327; background: #f7e9dd; }
@media (max-width: 670px) {
  .surface { width: calc(100% - 28px); padding-top: 16px; }
  .login, .workspace { grid-template-columns: minmax(0, 1fr); }
  .login { margin-top: 18px; }
  .login-art { min-height: 218px; }
  .paper { scale: .75; }
  .login-body { padding: 25px; }
  .menu { grid-template-columns: 1fr 1fr; }
  .menu button { text-align: center; }
}
