*{box-sizing:border-box} [hidden]{display:none!important}body{margin:0;background:#f1f2ed;color:#24382d;font:16px system-ui,sans-serif}header{display:flex;align-items:center;gap:12px;padding:12px max(18px,calc((100% - 1060px)/2));background:#25382e;color:white}header img{width:42px}header strong{font-size:23px;margin-right:auto}main{max-width:1100px;margin:auto;padding:18px}.panel,.metric{background:#fff;border:1px solid #dde3db;border-radius:21px;padding:20px;margin-bottom:14px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}.actions,.heading,.intro{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.heading,.intro{justify-content:space-between}h1,h2,p{margin:0 0 12px}h1{font-size:clamp(28px,5vw,44px);letter-spacing:-.04em}h2{font-size:21px}.metric strong{display:block;font-size:28px;margin-top:6px}label{display:grid;gap:6px;margin:8px 0;font-weight:600}input,select,button,.upload{font:inherit;padding:10px 13px;border:1px solid #cbd7cc;border-radius:11px;background:white;color:inherit;min-height:44px;max-width:100%}button,.upload{cursor:pointer}.primary{background:#25382e;color:#fff}.entry{padding:14px;border:1px solid #e2e7df;border-radius:14px;margin-top:9px;overflow-wrap:anywhere}.entry strong{display:block;font-size:20px}.entry p{margin:6px 0}.muted{color:#53665a}dialog{width:min(94vw,480px);border:0;border-radius:18px;color:inherit;padding:22px}dialog::backdrop{background:#17291eb8}#login{max-width:440px;margin:25px auto}#chart{margin:16px 0}.bar{height:6px;border-radius:5px;background:#648470;margin:4px 0 9px}.upload input{width:100%;padding:0;min-height:0}

button {
  --button-bg: #fff;
  --button-fg: #25382e;
  background: var(--button-bg);
  color: var(--button-fg);
  transition: background-color .15s, color .15s, border-color .15s;
}
button.primary {
  --button-bg: #25382e;
  --button-fg: #fff;
}
header button { border-color: #fff; }
@media (hover:hover) {
  button:not(:disabled):hover {
    background: var(--button-fg);
    color: var(--button-bg);
  }
  #logout:not(:disabled):hover, #trash:not(:disabled):hover, button.danger:not(:disabled):hover {
    background: #963f32;
    border-color: #963f32;
    color: #fff;
  }
}
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #587461; outline-offset: 3px; }
header button:focus-visible { outline-color: #fff; }
input, select { background-color: #f8faf6; color: #25382e; }
select {
  appearance: none;
  padding-inline-end: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23446150' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
input[type=date], input[type=month] { min-width: 0; color-scheme: light; }
input[type=date]::-webkit-calendar-picker-indicator,
input[type=month]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .72; }
#pagination { margin-top: 14px; justify-content: center; }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
