* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", Arial, sans-serif; background: #f7f7f4; color: #1e3a2d; display: flex; min-height: 100vh; font-size: 14px; }

.sidebar { width: 220px; background: #fbfbf8; border-right: 1px solid #e1e6dc; padding: 20px 16px; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.logo .mark { width: 32px; height: 32px; border-radius: 8px; background: #255a42; }
.logo b { font-size: 22px; color: #1e4a37; }
.logo small { display: block; font-size: 8px; letter-spacing: 2px; color: #4c6b59; }
.workspace { border: 1px solid #e1e6dc; border-radius: 8px; padding: 9px 11px; font-size: 12px; background: #fff; margin-bottom: 20px; }
.workspace span { display: block; color: #7a8f7f; font-size: 10px; }
.section-label { font-size: 9px; letter-spacing: 2px; color: #7a8f7f; margin-bottom: 8px; }
nav a { display: block; padding: 9px 12px; border-radius: 7px; color: #3f5a4b; margin-bottom: 4px; cursor: default; }
nav a.on { background: #e4ebdb; font-weight: 600; color: #1e3a2d; }
.note { margin-top: 24px; font-size: 11px; color: #7a8f7f; line-height: 1.4; }

main { flex: 1; min-width: 0; }
.topbar { height: 46px; border-bottom: 1px solid #e1e6dc; background: #fbfbf8; display: flex; justify-content: space-between; align-items: center; padding: 0 28px; font-size: 12px; color: #7a8f7f; }
.topbar b { color: #1e3a2d; font-weight: 400; }
.sim { font-size: 10px; letter-spacing: 1.5px; color: #4c6b59; }

.content { padding: 22px 28px; }
.eyebrow { font-size: 10px; letter-spacing: 2px; color: #7a8f7f; }
h1 { font-family: Georgia, serif; font-weight: 400; font-size: 30px; margin: 4px 0 2px; }
.lead { color: #6c8576; margin-bottom: 16px; }

.banner { background: #f8efdd; border: 1px solid #ecd9b4; border-radius: 7px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; color: #7a5413; margin-bottom: 16px; }
.link { background: none; border: none; color: #255a42; font-weight: 600; cursor: pointer; font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid #e1e6dc; border-radius: 10px; padding: 14px; }
.stat small { color: #7a8f7f; font-size: 12px; }
.stat b { display: block; font-size: 26px; font-weight: 400; margin-top: 6px; }

.grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.card { background: #fff; border: 1px solid #e1e6dc; border-radius: 10px; padding: 16px; }
.card h3 { font-size: 15px; margin-bottom: 10px; }
.workspace-card { background: #f1f5ea; border-color: #d6e0cc; }
.ws-head h2 { font-size: 18px; font-weight: 600; margin-top: 2px; }
.ws-case { color: #5a7565; font-size: 12px; margin: 8px 0 12px; }

table { width: 100%; border-collapse: collapse; }
th { font-size: 9px; letter-spacing: 1.5px; color: #7a8f7f; text-align: left; font-weight: 400; padding: 6px 8px; }
td { padding: 10px 8px; border-top: 1px solid #e1e6dc; font-size: 13px; }
td small { display: block; color: #7a8f7f; font-size: 10.5px; }
tr.recommended td { background: #eaf1df; }
tr.recommended td:first-child { font-weight: 600; }
.badge { font-size: 9px; border: 1px solid #bccdad; border-radius: 3px; padding: 1px 6px; margin-left: 6px; background: #fff; }

button.confirm { border: 1px solid #bccdad; background: #fff; border-radius: 5px; padding: 5px 12px; font-size: 12px; cursor: pointer; color: #3f5a4b; }
button.confirm.primary { background: #255a42; color: #fff; border-color: #255a42; font-weight: 600; }
button.confirm:disabled { opacity: 0.4; cursor: not-allowed; }
button.select { border: 1px solid #bccdad; background: #fff; border-radius: 5px; padding: 4px 10px; font-size: 12px; cursor: pointer; }

.footnote { font-size: 10.5px; color: #7a8f7f; margin-top: 10px; }
.toast { position: fixed; right: 28px; bottom: 20px; background: #255a42; color: #fff; border-radius: 8px; padding: 10px 18px; font-size: 13px; }
.toast[hidden] { display: none; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .sidebar { display: none; }
}

.view[hidden] { display: none; }
nav a { cursor: pointer; }
.form { display: grid; gap: 12px; max-width: 520px; }
.form label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.form input[type="number"], .form select { width: 220px; padding: 6px 8px; border: 1px solid #bccdad; border-radius: 5px; font: inherit; }
.form .check { justify-content: flex-start; }
.form .row { display: flex; gap: 10px; margin-top: 6px; }
.card p { color: #3f5a4b; line-height: 1.5; }
