
*{box-sizing:border-box}body{margin:0;background:#eeeae3;color:#322e28;font:16px/1.6 system-ui,sans-serif}main{max-width:520px;margin:auto;background:#fcfaf6;padding:22px 20px 36px;min-height:100vh}header,.row{display:flex;justify-content:space-between;align-items:center}header{font-size:13px;color:#715e52}header b{color:#903d2b;letter-spacing:.1em}progress{width:100%;height:5px;accent-color:#a44530}h1{font-size:32px;margin:20px 0 0}section{padding:24px 0;border-bottom:1px solid #ddd4c8}h2{font-size:19px;line-height:1.5;margin:5px 0 12px}small{color:#994632;font-weight:700}p{margin:8px 0 14px}.hint{color:#665c51;font-size:14px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}button,label{font:inherit}button{cursor:pointer}button.pic{display:block;width:100%;padding:0;border:1px solid #ded7cb;border-radius:12px;overflow:hidden;background:white}img{display:block;width:100%;height:auto}.upload,.choice,.skip{display:block;background:white;border:1px solid #d9d1c5;border-radius:10px;padding:11px;margin:7px 0;cursor:pointer}.upload{text-align:center;color:#8d3928;font-size:14px;position:relative}.upload input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.choice:has(:checked),.skip:has(:checked){border-color:#9c432e;background:#fbede4}input{accent-color:#973e2a}.scores{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:12px}.scores label{margin:0;text-align:center;position:relative;padding:10px 0}.scores input{position:absolute;opacity:0}.choice:focus-within,.upload:focus-within{outline:2px solid #95432f}.wide{grid-column:1/-1}.action{display:block;width:100%;padding:13px;border:0;border-radius:12px;background:#8e3a29;color:white;font-weight:650;margin-top:14px}.light{background:#eee7dd;color:#473c32}dialog{width:min(92vw,470px);max-height:90dvh;border:0;border-radius:18px;padding:22px;background:#fffcf7;color:inherit}dialog::backdrop{background:#231c17a8}dialog h2{font-size:24px}#observations p{padding:10px 0;border-bottom:1px solid #e4dbcf;margin:0}#observations b{display:block;font-size:13px;color:#745a48}.viewer{overflow:auto;max-height:66dvh}.viewer img.large{width:200%;max-width:none}.error{color:#992e20}figure{margin:0}figcaption{font-size:14px;font-weight:600;margin-top:5px}[hidden]{display:none!important}

body,input,button,textarea,select{font-family:Harmony,sans-serif}body,main,dialog{color:#764e3d}main,dialog{background:#fff6e9}header b,small,h1,h2,.upload{color:#764e3d}progress,input{accent-color:#ff4438}.action{background:#ff4438;color:#241711}.light{background:#efe5da;color:#764e3d}.choice:has(:checked),.skip:has(:checked){border-color:#ff4438;background:#fff2eb}.field{display:flex;align-items:center;gap:10px;margin:8px 0}.field input{min-width:0;flex:1;border:1px solid #cdbbaa;border-radius:9px;padding:11px;font-size:16px;color:inherit}aside{border-left:3px solid #ff4438;padding:12px;background:white;margin-top:15px}.pic+.pic{margin-top:8px}.record{margin:10px 0}.record b{display:block;font-size:13px}.record span{overflow-wrap:anywhere}details{border-bottom:1px solid #dbcabe;padding:14px 0}summary{cursor:pointer;font-weight:600}
.breed-results{max-height:240px;overflow:auto;border:1px solid #cdbbaa;border-radius:9px;background:#fff}.breed-results button{display:block;width:100%;min-height:44px;text-align:left;padding:10px 12px;border:0;border-bottom:1px solid #eee5da;background:transparent;color:inherit}.breed-results button:focus,.breed-results button:hover{background:#fff2eb}.breed-results p{padding:10px}
.illustrated-choice{display:grid;grid-template-columns:64px 22px minmax(0,1fr);gap:12px;align-items:center;min-height:94px;padding:10px 12px}.illustrated-choice img{width:64px;height:76px;object-fit:contain;border-radius:6px}.illustrated-choice:has(:checked){box-shadow:inset 3px 0 #ff4438}.illustrated-choice:has(:checked) span{font-weight:700}.illustrated-choice input{width:18px;height:18px;margin:0}.zoom-label{display:block;padding:8px 12px;font-size:14px;text-align:right;color:#764e3d;background:#fffaf4}.photo-assist{background:#f8eddf;border-radius:12px;padding:16px;margin-top:20px}.photo-assist h2{font-size:17px}.field-error{color:#992e20;font-size:14px;margin:8px 0 0}[aria-invalid=true]{outline:2px solid #992e20;outline-offset:2px}.scores label{min-height:48px}.scores input:checked+span{font-weight:700}@media(max-width:360px){main{padding:18px 16px 28px}h1{font-size:27px}.illustrated-choice{gap:8px;grid-template-columns:56px 20px minmax(0,1fr)}.illustrated-choice img{width:56px;height:68px}}
