:root {
  --green: #b5ef72;
  --green-dark: #315b2d;
  --ink: #182019;
  --muted: #788078;
  --line: #e6ebe4;
  --bg: #f4f6f2;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, sans-serif; }
.header { height: 76px; padding: 0 6%; background: white; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 30px; font-weight: 900; letter-spacing: -1.5px; }
.brand span { color: #73ad42; }
button { cursor: pointer; font-weight: 700; }
.edit-btn { border: 1px solid var(--line); border-radius: 9px; padding: 11px 16px; background: white; color: var(--ink); }
.container { max-width: 1200px; padding: 45px 25px 25px; margin: auto; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { color: #899487; font-size: 10px; font-weight: 800; letter-spacing: 1.7px; margin: 0 0 9px; }
h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.8px; margin: 0; }
.subtitle { color: var(--muted); font-size: 14px; margin: 9px 0 0; }
.local-label { color: #68845b; font-size: 11px; font-weight: 800; letter-spacing: .7px; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.stat-card, .panel { background: white; border: 1px solid var(--line); border-radius: 15px; }
.stat-card { padding: 20px; }
.stat-card p { color: var(--muted); font-size: 13px; font-weight: 700; margin: 0 0 13px; }
.stat-card h2 { font-size: 27px; margin: 0; letter-spacing: -1px; overflow-wrap: anywhere; }
small { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.panel { padding: 22px; min-height: 300px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.panel-head .eyebrow { margin-bottom: 6px; }
.panel h2 { font-size: 20px; margin: 0; }
.panel h2 span { font-size: 11px; color: var(--muted); background: #f0f3ed; border-radius: 20px; padding: 4px 8px; vertical-align: middle; }
.add-btn { background: #20351e; color: var(--green); border: 0; padding: 9px 12px; border-radius: 8px; font-size: 11px; }
.items { padding-top: 8px; }
.item { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid #f0f2ee; }
.item:last-child { border-bottom: 0; }
.logo { width: 54px; height: 54px; border-radius: 13px; flex: none; object-fit: cover; background: #eef4e8; display: grid; place-items: center; color: var(--green-dark); font-size: 18px; font-weight: 800; }
.item-name { flex: 1; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.item-actions { display: flex; gap: 5px; }
.item-actions button { border: 1px solid var(--line); background: white; border-radius: 7px; padding: 6px 8px; color: #657060; font-size: 11px; }
.empty { color: #9aa198; text-align: center; font-size: 13px; padding: 35px 10px; }
.notice { color: #7e897a; font-size: 11px; margin: 22px 2px; }
footer { border-top: 1px solid var(--line); padding: 18px 2px; display: flex; justify-content: space-between; color: #899487; font-size: 11px; }
.edit-only { display: none; }
body.editing .edit-only { display: inline-block; }
body.editing .stat-card { cursor: pointer; outline: 1px dashed #9dc77b; outline-offset: -5px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } .columns { grid-template-columns: 1fr; } }
@media (max-width: 500px) {
  .header { padding: 0 18px; height: 66px; }
  .container { padding: 30px 14px 20px; }
  .intro { align-items: start; flex-direction: column; }
  .stat-card { padding: 16px; }
  .stat-card h2 { font-size: 23px; }
  .panel { padding: 17px; }
  .panel-head { align-items: start; flex-direction: column; }
  .add-btn { width: 100%; }
  footer { gap: 8px; flex-direction: column; }
}
