*{box-sizing:border-box}body{margin:0;background:#faf6ef;color:#453125;font:16px/1.5 system-ui,-apple-system,sans-serif}main{max-width:1050px;padding:24px;margin:auto}header{padding:24px 0}.brand{font-size:20px;font-weight:750}h1{font-size:clamp(28px,5vw,42px);line-height:1.15;margin:12px 0}h2{font-size:24px}header p,.muted{color:#7d6a60}nav{display:flex;gap:8px;overflow:auto;margin:10px 0 24px}button,a{touch-action:manipulation}button{border:1px solid #bba898;border-radius:10px;background:#fff;color:#453125;padding:12px 18px;font:inherit;cursor:pointer;min-height:46px}button:hover,button.selected{background:#543727;color:white}button:disabled{opacity:.5;cursor:default}input:not([type=checkbox]){display:block;width:100%;padding:12px;border:1px solid #bba898;border-radius:8px;font:inherit;background:#fff;margin:6px 0 12px;min-height:46px}input[type=checkbox]{width:20px;height:20px;vertical-align:middle}label{display:block}form{margin:20px 0}#search{display:flex;align-items:end;gap:8px}#search label{flex:1}#search input{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.stat{padding:18px;background:#fff;border:1px solid #e5d7ca;border-radius:14px}.stat strong,.stat span{display:block}.stat strong{font-size:30px}.card{background:white;border:1px solid #e5d7ca;border-radius:14px;padding:20px;margin:12px 0;overflow-wrap:anywhere}.card h3{margin:0 0 12px}.card p{margin:7px 0}.badge{display:inline-block;padding:4px 10px;border-radius:8px;background:#e7f3e4;color:#24502e}.invalid{background:#fce8e0;color:#973f28}.success,.error{padding:14px;border-radius:10px;background:#e7f3e4}.error{background:#fce8e0}#notice:empty{display:none}.empty{padding:30px;background:#fff;border-radius:14px}.pages{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0}footer{border-top:1px solid #e5d7ca;padding:24px 0;margin-top:40px}a{color:#724c33}.number{display:block;font-size:46px}article{max-width:760px}section[hidden]{display:none}@media(max-width:600px){main{padding:16px}.stats{grid-template-columns:repeat(2,1fr)}#search{flex-wrap:wrap}#search label{flex-basis:100%}nav button{padding:10px 12px;white-space:nowrap}.pages{font-size:14px}.card{padding:16px}}
