:root{color-scheme:light;--green:#174b38;--ink:#193b30;--muted:#526b61;--bg:#f3f6f1;--line:#d9e5dc}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px system-ui,-apple-system,sans-serif}header{background:var(--green);color:white;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:8px}.brand{display:flex;gap:10px;align-items:center;min-width:0}.brand img{width:48px;height:48px;border-radius:12px}.brand strong{display:block;font-size:18px;letter-spacing:.4px}.brand small{display:block;font-size:12px;color:#d6e8df;margin-top:4px}select,input,textarea,button{font:inherit}header select{max-width:110px;background:#fff;border:0;padding:9px;border-radius:10px;color:var(--ink)}nav{position:sticky;top:0;z-index:5;display:flex;gap:8px;background:var(--bg);padding:9px 14px;border-bottom:1px solid var(--line)}nav button{flex:1}main{max-width:850px;margin:auto;padding:16px 14px 28px;min-height:60vh}h1{font-size:27px;margin:8px 0 10px}h2{font-size:21px;margin:6px 0 12px}h3{font-size:17px;margin:0 0 6px}p{line-height:1.5;margin:8px 0 14px;color:var(--muted)}button{border:1px solid #cbdcd0;border-radius:12px;padding:13px 12px;background:#e8f0e9;color:var(--green);font-weight:700;min-height:48px;cursor:pointer}button.primary{background:var(--green);color:white;border-color:var(--green)}button.danger{background:#fff4f0;color:#8b2a22;border-color:#ebc5be}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bd860e;outline-offset:2px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.tile{min-height:105px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}.tile b{font-size:30px;font-weight:400}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:15px;margin:12px 0;box-shadow:0 2px 4px #153d2010}.notice{background:#fff3d6;border:1px solid #e5ce93;border-radius:12px;padding:12px;margin:10px 0;color:#6a480c;line-height:1.45}.ok{background:#e2f2e7;border-color:#bddbc5;color:#20593a}.dog{display:flex;gap:13px;align-items:center}.photo{width:82px;height:82px;object-fit:cover;border-radius:13px;background:#e4efe5;display:grid;place-items:center;font-size:36px;flex-shrink:0}.large{width:116px;height:116px}.dog .info{flex:1;min-width:0;overflow-wrap:anywhere}.muted{color:var(--muted);font-size:14px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.actions button{flex:1}.wide{width:100%}label{display:block;font-weight:650;margin:12px 0 5px}input:not([type=file]),select,textarea{width:100%;padding:12px;border:1px solid #bfcfc3;border-radius:10px;background:white;color:var(--ink);min-height:46px}header select{width:auto}textarea{min-height:88px;resize:vertical}input[type=file]{max-width:100%;padding:10px 0}.status{display:inline-block;font-size:13px;font-weight:700;padding:5px 9px;border-radius:7px;background:#e5f1e8;color:#22543b}.soon{background:#fff0ce;color:#774900}.late{background:#fbe5df;color:#922b20}.record{overflow-wrap:anywhere}.attachment{max-width:100%;max-height:260px;object-fit:contain;border-radius:8px;margin-top:8px}.pre{white-space:pre-wrap;overflow-wrap:anywhere}footer{max-width:850px;margin:auto;padding:10px 14px 22px;display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}@media(max-width:360px){.brand strong{font-size:15px}.brand img{width:38px;height:38px}header{padding:12px}.grid{gap:7px}}
