:root{color-scheme:dark;--bg:#101112;--card:#1c1e20;--line:#35383b;--text:#f6f4ef;--muted:#b9b9b6;--orange:#f28a3c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,sans-serif}a{color:#ffbc87}header,main,footer{max-width:1070px;margin:auto;padding:20px clamp(16px,4vw,36px)}header,.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}header{border-bottom:1px solid var(--line)}.brand{font-size:25px;font-weight:950;line-height:1;text-decoration:none;color:#fff}.brand b,.eyebrow{color:var(--orange)}.brand small{display:block;font-size:10px;letter-spacing:.12em;color:var(--muted);margin-top:5px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em}h1{font-size:clamp(32px,6vw,54px);line-height:1.05;margin:12px 0}h2{font-size:25px;line-height:1.2}h3{font-size:20px}aside,#notice:not(:empty){border:1px solid #65513e;background:#30261e;border-radius:8px;padding:12px;margin-bottom:18px;font-size:13px}article{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px;margin:14px 0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid article{margin:8px 0}label{display:block;font-weight:680;margin:12px 0;color:#eee}input,select,textarea{display:block;width:100%;margin-top:6px;background:#111214;border:1px solid #737578;border-radius:7px;color:#fff;font:inherit;padding:11px}textarea{min-height:78px;resize:vertical}.check{display:flex;gap:10px;align-items:flex-start;font-weight:450}.check input{width:19px;min-width:19px;height:19px;margin:3px 0 0}button,.button{display:inline-block;font:inherit;font-weight:750;background:var(--orange);color:#17120f;border:1px solid var(--orange);border-radius:8px;padding:11px 16px;text-decoration:none;cursor:pointer;text-align:center}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:#222426;color:#ffbf8c;border-color:#6b5544}.fine,footer{color:var(--muted);font-size:13px}.loc{border:1px solid #555;border-radius:11px;padding:14px;margin:12px 0}.loc p{margin:8px 0}.loc .row{justify-content:flex-start}.chosen{font-weight:750;color:#ffc89e}.petphoto{width:100%;max-width:320px;max-height:330px;object-fit:contain;border-radius:12px}.qr{display:block;width:180px;height:180px;max-width:100%;background:white;border:10px solid white;margin:12px 0}code{overflow-wrap:anywhere;display:block;background:#101112;padding:12px;border-radius:8px}.flag{font-weight:800;color:#ffb16e;padding:12px;border:1px solid #a86434;border-radius:8px}.report{border-top:1px solid #444;padding:10px 0}.danger{color:#ffb16e}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ffd1ac;outline-offset:3px}@media(max-width:650px){.grid{grid-template-columns:1fr}.row{justify-content:flex-start}article{padding:15px}header{align-items:flex-start}}@media print{header,footer,aside,#notice,#home,#owner>*:not(#editor),#editor>*:not(#tagTools),#tagTools .row,#tagTools .fine{display:none!important}body,article{background:white;color:black;border:0}#tagTools{display:block!important}code{background:white;color:black}.qr{width:220px;height:220px}}
.print-sheet{display:none}@media print{body>*{display:none!important}body.print-ready>#printSheet{display:block!important;color:#111;background:#fff;text-align:center;margin:0;padding:1.5cm;font-family:Arial,sans-serif}#printSheet img{width:55mm;height:55mm;max-width:100%;margin:1cm auto;display:block}#printSheet h1{font-size:30pt;color:#111}#printSheet p{font-size:12pt;color:#111;overflow-wrap:anywhere}#printSheet .print-brand{font-weight:700;font-size:16pt;letter-spacing:.08em}}
