:root {
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d3027;
  background: #f5f7f3;
}
* { box-sizing: border-box; }
body { margin: 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; }
a { color: #275b3c; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #aa6c25; outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: #fff; padding: 10px; }
.skip-link:focus { top: 10px; }
.sidebar { background: #fff; border-right: 1px solid #dce4da; padding: 30px 20px; }
.brand { color: #1d3027; display: block; font-size: 22px; font-weight: 700; text-decoration: none; }
.brand span { display: block; font-size: 13px; font-weight: 400; }
nav { margin-top: 40px; }
nav a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; font-size: 14px; }
.selected { background: #e7f0e8; font-weight: 600; }
.sidebar-status, .scope, .calculation, .details { color: #53655a; font-size: 13px; }
.sidebar-status { margin: 24px 12px; }
main { padding: 34px 40px; max-width: 1200px; width: 100%; }
.scope { margin: 0 0 12px; }
h1 { font-size: 30px; margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.calculation { margin: 8px 0 0; }
.page-header { min-height: 130px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #dce4da; margin-bottom: 24px; color: #53655a; font-size: 14px; }
.tabs span { padding: 12px 8px; }
.panel { background: #fff; border: 1px solid #dce4da; border-radius: 8px; padding: 28px; }
h2 { margin: 0; font-size: 20px; }
.panel p { margin: 12px 0 24px; max-width: 640px; }
.button { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; background: #275b3c; color: #fff; border-radius: 5px; text-decoration: none; font-size: 14px; }
.details { margin-top: 24px; }
.amount { font-size: 32px; }
.notice { background: #fff3d8; border-radius: 6px; padding: 12px; }
button { font: inherit; border: 0; cursor: pointer; }
code { overflow-wrap: anywhere; }
summary { cursor: pointer; }
@media (max-width: 700px) {
  body { display: block; }
  .sidebar { padding: 18px 20px; border-right: 0; border-bottom: 1px solid #dce4da; }
  .brand { font-size: 20px; }
  nav { margin-top: 16px; }
  .sidebar-status { margin: 12px; }
  main { padding: 24px 20px; }
  .panel { padding: 22px; }
  .tabs { grid-template-columns: repeat(2, 1fr); }
}
