*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); color: var(--ink-950); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid rgba(57, 169, 130, .34); outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; border-radius: var(--radius-xs); background: var(--white); color: var(--green-900); font-weight: 700; box-shadow: var(--shadow-md); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 32px), var(--content)); margin-inline: auto; }
.eyebrow { display: block; color: var(--green-600); font-size: .72rem; font-weight: 800; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.muted { color: var(--ink-500); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { border-color: var(--green-800); background: var(--green-800); color: var(--white); box-shadow: 0 8px 18px rgba(24, 88, 68, .18); }
.button-primary:hover { background: var(--green-700); box-shadow: 0 10px 24px rgba(24, 88, 68, .24); }
.button-secondary { border-color: var(--line-strong); background: var(--white); color: var(--green-900); }
.button-secondary:hover { border-color: var(--green-300); background: var(--green-50); }
.button-small { min-height: 36px; padding: 8px 12px; border-radius: 9px; font-size: .78rem; }
.icon-button { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--white); color: var(--ink-600); cursor: pointer; }
.icon-button:hover { border-color: var(--green-300); background: var(--green-50); color: var(--green-700); }
.icon-button svg { width: 20px; height: 20px; }
.panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.panel-head h2, .panel-head h3 { margin: 3px 0 0; font-size: 1.12rem; line-height: 1.25; }
.badge { display: inline-flex; width: max-content; max-width: 100%; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.badge-success { background: var(--green-100); color: var(--green-700); }
.badge-info { background: var(--blue-soft); color: var(--blue); }
.badge-warning { background: var(--amber-soft); color: var(--amber); }
.badge-neutral { background: #edf1ef; color: var(--ink-600); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: flex; max-width: min(410px, calc(100vw - 32px)); align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid var(--green-200); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.toast.is-visible { opacity: 1; visibility: visible; transform: none; }
.toast-mark { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-weight: 900; }
.toast span:last-child { font-size: .84rem; font-weight: 700; }
@media (max-width: 640px) { .container { width: min(calc(100% - 24px), var(--content)); } .panel { padding: 19px 17px; border-radius: 15px; } .toast { right: 12px; bottom: 12px; left: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media print { body { background: #fff; } .no-print { display: none !important; } .panel { box-shadow: none; break-inside: avoid; } }
