*{box-sizing:border-box}body{margin:0;background:#f5f5fa;color:#1b1b2a;font:16px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:disabled{cursor:default}.app{max-width:640px;margin:0 auto;padding:calc(8px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom))}header{display:flex;align-items:center;justify-content:space-between;gap:10px}h1{font-size:24px;margin:6px 0}h2{font-size:19px;margin:18px 0 10px}h2.title{margin-bottom:4px}h2 small,h3 small{font-weight:400;color:#6b6b80;font-size:14px}h3{font-size:15px;margin:18px 0 8px}.back{color:#4f46e5;font-weight:600;padding:10px 0;font-size:17px}.chip{background:#e8e7fb;color:#3730a3;padding:8px 12px;border-radius:99px;font-size:14px;font-weight:600;white-space:nowrap}.me{display:flex;align-items:center;gap:8px;margin:6px 0 4px;font-size:14px;color:#6b6b80}.who{display:flex;gap:6px;overflow-x:auto;padding:2px 0}.pill{padding:7px 12px;border-radius:99px;background:#fff;border:1px solid #d9d9e6;white-space:nowrap;font-size:14px}.pill.on{background:#4f46e5;border-color:#4f46e5;color:#fff;font-weight:600}.card{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:12px 14px;margin-bottom:10px;box-shadow:0 1px 3px #0000001a;border-left:5px solid transparent}.card.col{flex-direction:column;align-items:stretch}.card.green{border-left-color:#16a34a}.card.yellow{border-left-color:#eab308}.card.red{border-left-color:#dc2626}.card .main{flex:1;text-align:left;display:flex;flex-direction:column;gap:2px;padding:4px 0}.sub{color:#6b6b80;font-size:14px}.desc{margin:4px 0;color:#3b3b4f;white-space:pre-wrap}.empty{color:#6b6b80;text-align:center;padding:16px 0}.row{display:flex;align-items:center;gap:10px}.row.end{justify-content:flex-end}.grow{flex:1;min-width:0}.grow>b{display:block}.zone:before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.zone.green:before{background:#16a34a}.zone.yellow:before{background:#eab308}.zone.red:before{background:#dc2626}.result{background:#e8e7fb;color:#2e2a7a;border-radius:14px;padding:12px 14px;margin:12px 0}.stone{display:flex;align-items:center;gap:6px;min-width:58px;min-height:44px;justify-content:center;border-radius:12px;border:1px solid #d9d9e6;background:#fafafe;font-weight:700}.stone .dot{width:14px;height:14px;border-radius:50%;border:2px solid #8b8ba0}.stone.on{background:#4f46e5;border-color:#4f46e5;color:#fff}.stone.on .dot{background:#fff;border-color:#fff}.rate{display:grid;grid-template-columns:repeat(11,1fr);gap:3px}.rate button{min-height:40px;border-radius:8px;font-size:13px;font-weight:600;padding:0}.rate .neg{background:#fdecec;color:#a11d1d}.rate .zero{background:#efeff4;color:#444}.rate .pos{background:#e7f6ec;color:#136c33}.rate .neg.on{background:#dc2626;color:#fff}.rate .zero.on{background:#555;color:#fff}.rate .pos.on{background:#16a34a;color:#fff}.btn{background:#4f46e5;color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;min-height:44px}.btn:disabled{opacity:.45}.btn.grey{background:#e6e6ee;color:#1b1b2a}.btn.danger{background:#dc2626}.btn.wide{width:100%;margin:6px 0 10px}.link{color:#4f46e5;padding:10px 0;text-decoration:underline}.link.danger{color:#b91c1c}.link.small{font-size:13px;padding:4px 0 0;align-self:flex-start}input,textarea{width:100%;background:#fff;border:1px solid #d0d0de;border-radius:12px;padding:12px 14px;outline:none}input:focus,textarea:focus{border-color:#4f46e5}textarea{min-height:70px;resize:vertical}.field{display:block;margin:14px 0;font-weight:600}.seg{display:flex;margin-top:8px;background:#e6e6ee;border-radius:12px;padding:3px}.seg button{flex:1;padding:10px 4px;border-radius:10px;font-weight:500;font-size:14px}.seg button.on{background:#fff;box-shadow:0 1px 3px #0000002a;font-weight:700}footer{margin-top:28px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;color:#6b6b80;text-align:center}.veil{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;padding:20px;z-index:10}.box{background:#fff;border-radius:16px;padding:18px;max-width:400px;width:100%}.box p{margin:0 0 16px}.brand{display:flex;align-items:center;gap:10px}.brand img{width:40px;height:40px;border-radius:50%}.lead{color:#3b3b4f;margin:4px 0 16px}.err{color:#b91c1c;margin:4px 0}.card.col>b+.sub{margin-top:-4px}.card.col{gap:10px}.seg button:disabled{opacity:.6}
