:root{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;color:#242522;background:#f3f1ec;font-size:14px}*{box-sizing:border-box}body{margin:0}header{height:72px;padding:0 max(20px,calc((100vw - 1080px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d8d5ce;white-space:nowrap}.brand{font-size:29px;letter-spacing:-2px;font-weight:900}.brand span{color:#8d663f}.tag,.eyebrow,.head span{letter-spacing:2px;font-size:10px;color:#756650;font-weight:600}main{max-width:1080px;margin:auto;padding:22px 16px 60px}.intro{padding:24px 4px 30px}.intro h1{font-size:clamp(31px,6vw,56px);line-height:1.2;letter-spacing:-.05em;margin:14px 0}.intro p,.hint{color:#69675f;line-height:1.6}.panel{border:1px solid #d8d5ce;background:#fdfcf9;padding:20px;margin-bottom:16px;border-radius:12px}.head{margin-bottom:18px}.head h2{margin:6px 0;font-size:21px;letter-spacing:-.04em}.inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}label{display:flex;flex-direction:column;font-size:11px;gap:6px;margin-bottom:8px;color:#5d5b55}input,select,button{font:inherit;min-width:0;border:1px solid #ccc8bf;border-radius:7px;background:#fff;padding:9px;color:#242522}input,select{font-size:16px;width:100%}input[type=checkbox]{width:auto}button{cursor:pointer;font-weight:600;min-height:38px}button.active,button:hover{background:#272923;color:#fff;border-color:#272923}.tabs,.tools{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.tools input{flex:1;width:90px}.tablewrap{overflow:auto;margin:12px 0}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:11px}th,td{padding:5px;text-align:left;border-bottom:1px solid #e4e1da}td input{min-width:74px;max-width:96px}#reference-preview{max-height:120px;max-width:100%;object-fit:contain}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shothead{font-size:11px;letter-spacing:1px;font-weight:700;padding:10px 0}.viewport{height:clamp(320px,70vw,580px);background:#e8e5df;border-radius:8px;overflow:hidden;position:relative}.viewport canvas{width:100%;height:100%;display:block}.pick{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.pick select{width:65%;font-size:14px;padding:4px}.metric{margin-top:8px;font-size:11px;line-height:1.6}.metric div{display:flex;justify-content:space-between;gap:5px;border-bottom:1px solid #eee;padding:4px 0}.metric b{white-space:nowrap}.metric strong{font-size:12px}#error{color:#a73c32;margin-top:10px}#photo-result{max-width:100%}footer{color:#777;font-size:10px;text-align:center;padding:20px}@media(max-width:480px){.panel{padding:12px}.comparison{gap:7px}.pick{font-size:10px}.viewport{height:340px}.tag{font-size:8px}.metric{font-size:10px}.inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs button,.tools button{font-size:12px;padding:7px}}textarea{width:100%;font:inherit;font-size:16px;padding:10px;border:1px solid #ccc8bf;border-radius:7px;resize:vertical}details{margin:14px 0}summary{cursor:pointer;font-weight:600}
