:root{font-family:system-ui,-apple-system,sans-serif;color:#18352a;background:#f4f6f1;font-size:16px;--green:#133e2e;--gold:#f2ca60;--line:#d5dfd5}*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;flex-direction:column}header{background:var(--green);color:white;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));gap:8px}.brand{display:flex;align-items:center;gap:10px}.brand img{width:44px;height:44px}.brand strong{font-size:20px;letter-spacing:.055em}.brand small{display:block;font-size:11px;color:#dbe6da}.version{font-size:11px;white-space:nowrap;color:#f2ca60}main{width:min(100%,760px);margin:auto;padding:12px 14px;flex:1}footer{text-align:center;font-size:11px;color:#52665d;padding:8px 6px max(8px,env(safe-area-inset-bottom))}h1{font-size:22px;margin:8px 0 12px;line-height:1.15}h2{font-size:17px;margin:8px 0}p{margin:8px 0;line-height:1.4}.muted,small{font-size:12px;color:#576c60}.home{display:grid;gap:9px;align-content:center;min-height:calc(100dvh - 114px)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile{min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center}.tile b{font-size:15px}.tile .symbol{font-size:24px;line-height:1}.major{min-height:90px;background:#dfebdf;color:#143e2e}.gold{background:#f9e9b8;color:#634b13}.primary{background:var(--green);color:#fff;border-color:var(--green)}button,a.button{font:inherit;font-weight:650;border:1px solid var(--line);border-radius:12px;padding:11px 12px;cursor:pointer;color:inherit;background:white;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:6px;text-align:center;min-height:42px}button.primary,a.primary{background:var(--green);color:white}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b98813;outline-offset:2px}.wide{width:100%}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row>*{min-width:0}.row .grow{flex:1}.panel,.result{background:white;border:1px solid var(--line);border-radius:13px;padding:12px;margin:8px 0}.result h2{overflow-wrap:anywhere}.result .row{margin-top:10px}.notice{background:#fff5d8;border:1px solid #eddb9c;padding:10px;border-radius:10px;color:#634b13;font-size:13px;overflow-wrap:anywhere}.error{background:#ffefeb;color:#8a2e20;border-color:#e9b4a9}.ok{color:#16613b}label{display:block;font-size:13px;font-weight:650;margin:8px 0 4px}input,select,textarea{font:inherit;border:1px solid #b9c9bb;background:#fff;border-radius:9px;padding:10px;max-width:100%;width:100%;color:#18352a}textarea{min-height:130px}.check{display:flex;align-items:center;gap:7px;margin:6px 0;font-weight:400}.check input{width:auto}.list{display:grid;gap:7px;max-height:48dvh;overflow:auto;padding:2px}.list button{justify-content:space-between;text-align:left;overflow-wrap:anywhere}.crumb{font-size:12px;color:#52665d;overflow-wrap:anywhere}.spinner{width:30px;height:30px;border:3px solid #d1e1d4;border-top-color:#17633b;border-radius:50%;animation:spin .8s linear infinite;margin:12px auto}@keyframes spin{to{transform:rotate(360deg)}}.loading{text-align:center;padding:10px;color:#40574b}.amount{font-size:22px;font-weight:750}.link{color:#17633b;overflow-wrap:anywhere}.tag{font-size:11px;font-weight:700;color:#3c604c;background:#e7eee6;padding:4px 7px;border-radius:6px}.back{min-height:36px;padding:6px 12px}.region{justify-content:space-between;text-align:left}.region small{display:block}.stack{display:grid;gap:8px}.danger{color:#a53424}.hidden{display:none!important}@media(max-height:680px){.home{gap:5px;min-height:0}.tile{min-height:49px}.major{min-height:65px}.tile .symbol{font-size:19px}header{padding:8px 12px}.brand img{width:34px;height:34px}main{padding:7px 12px}button{padding:7px 9px}.home .muted{font-size:11px}}@media(min-width:650px){main{padding:20px}.home{max-width:540px;margin:auto}.tile{min-height:75px}.major{min-height:120px}}
main:has(.home){display:flex;align-items:center;justify-content:center}.home{min-height:0;width:100%}.home .region span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90%}[hidden]{display:none!important}
.catrow{flex-wrap:nowrap;align-items:stretch}.catrow .grow{justify-content:space-between;text-align:left}.catrow .pick{min-width:42px;width:42px;flex:none;color:#17633b;font-size:18px}.catrow .pick[aria-pressed=true]{background:#dcebdc;border-color:#8eaf93}
