:root{font-family:system-ui,sans-serif;color-scheme:light dark;color:var(--tg-theme-text-color, light-dark(#14231e, #eef6f1));background:var(--tg-theme-bg-color, light-dark(#f2f6f3, #141b18))}*{box-sizing:border-box}body{margin:0}main{max-width:52rem;margin:auto;padding:1rem;padding-bottom:max(2rem,env(safe-area-inset-bottom))}header,.panel,fieldset,.catalog li{background:var(--tg-theme-secondary-bg-color, light-dark(white, #202b25));border-radius:.85rem;padding:1rem}h1,h2,h3,header p{margin-top:0}header p{margin-bottom:0}nav,.actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0;align-items:end}button,input,select{font:inherit;min-height:44px;border-radius:.5rem}button{padding:.5rem .75rem;border:1px solid currentColor;cursor:pointer}button:disabled{cursor:default;opacity:.65}.primary,button[aria-current],button[aria-pressed=true]{color:var(--tg-theme-button-text-color, white);background:var(--tg-theme-button-color, #176347);border-color:transparent}label{display:grid;gap:.35rem}input,select{width:100%;padding:.5rem;border:1px solid #75867c}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.75rem}fieldset{min-width:0;margin:1rem 0;border:1px solid #75867c}fieldset button,form.panel button{margin-top:.75rem}legend,caption{font-weight:700}.panel{margin-top:1rem}.catalog{display:grid;padding:0;gap:.5rem;list-style:none}.catalog li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}caption{text-align:left;padding-bottom:.6rem}th,td{text-align:right;padding:.45rem;border-bottom:1px solid #75867c}th:first-child{text-align:left;overflow-wrap:anywhere}tfoot{font-weight:700}summary{cursor:pointer;padding:.75rem 0}
