main{min-height:100vh;background:#fbfbfc;color:#111;padding:20px 20px 96px;box-sizing:border-box}button,input,select,textarea{font:inherit}p,small{color:#666;line-height:1.55}.panel,.heroScore,.loadingPanel{border:1px solid #e9e9ee;border-radius:12px;background:#fff;padding:20px;margin-bottom:12px;box-shadow:0 6px 18px #1111110a}.panel h2,.heroScore h2{margin:0 0 14px;font-size:20px;letter-spacing:0}.loadingPanel{min-height:calc(100vh - 136px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.loadingPanel h2{margin:14px 0 6px;font-size:22px;letter-spacing:0}.loader{width:44px;height:44px;border-radius:50%;border:4px solid #f1f1f1;border-top-color:#ff5b8f;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.upload input[type=file]{display:block;width:100%;padding:18px;border:1px dashed #ffd4e1;border-radius:10px;box-sizing:border-box;background:#fff7fa;margin:18px 0}label{display:flex;flex-direction:column;gap:8px;margin-bottom:14px;color:#666;font-size:14px;font-weight:700}input,select,textarea{width:100%;border:1px solid #eeeeee;border-radius:10px;background:#fff;color:#111;padding:13px 14px;box-sizing:border-box;outline:none}input:focus,select:focus,textarea:focus{border-color:#ff5b8f;box-shadow:0 0 0 3px #ffd4e1}input:disabled{background:#f7f7f7;color:#aaa}.grid2,.grid3{display:grid;gap:10px}.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px;border-radius:10px;background:#f5f5f5;margin-bottom:16px}.segmented button{border:0;border-radius:8px;padding:12px;background:transparent;color:#666;font-weight:800}.segmented button.selected{background:#fff;color:#ff5b8f;box-shadow:0 3px 10px #11111114}.checkboxes{display:grid;gap:10px;margin:6px 0 16px}.checkboxes label{flex-direction:row;align-items:center;margin:0}.checkboxes input{width:18px;height:18px;accent-color:#ff5b8f}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.chips span{border-radius:999px;background:#fff0f5;color:#ff5b8f;padding:7px 11px;font-size:13px;font-weight:800}.toast{position:fixed;left:20px;right:20px;bottom:18px;max-width:440px;margin:0 auto;border-radius:10px;background:#111111e6;color:#fff;padding:14px 16px;font-size:14px;z-index:10}.result{display:flex;flex-direction:column;gap:6px}.heroScore{display:flex;flex-direction:column;align-items:center;text-align:center;border-color:#ffd4e1;background:linear-gradient(180deg,#fff7fa,#fff 78%);padding-top:26px}.scoreRing{width:132px;height:132px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#ff5b8f var(--score),#f1f1f1 0deg);margin:4px auto 16px}.scoreRing>div{width:100px;height:100px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #eee}.scoreRing strong{font-size:32px;line-height:1}.scoreRing span{margin-top:6px;color:#666;font-size:11px;font-weight:800}.highlight{border-color:#ffd4e1;background:#fffafd}.analysisText{margin:-4px 0 16px;color:#3f3f46;font-size:15px}.sajuNames{display:grid;gap:8px;margin:0 0 16px}.sajuNames div{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:10px;border:1px solid #eeeeee;border-radius:10px;background:#fafafa;padding:11px 12px}.sajuNames span{color:#ff5b8f;font-size:13px;font-weight:900}.sajuNames strong{color:#111;font-size:14px;line-height:1.45;word-break:keep-all}.statRows{display:grid;gap:0;overflow:hidden;border:1px solid #eeeeee;border-radius:10px;background:#fff}.statRows div{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;border-bottom:1px solid #eeeeee}.statRows div:last-child{border-bottom:0}.statRows span{color:#666;font-size:14px}.statRows strong{color:#111;font-size:16px}.statRows.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.statRows.compact div:nth-last-child(2){border-bottom:0}.scoreGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:2px 0 12px}.scoreGrid div{border:1px solid #e9e9ee;border-radius:10px;padding:15px 8px;text-align:center;background:#fff;box-shadow:0 4px 14px #11111109}.scoreGrid strong{display:block;color:#ff5b8f;font-size:27px;margin-bottom:7px}.scoreGrid span{color:#666;font-size:12px;line-height:1.35;font-weight:800}.listPanel p{position:relative;margin:10px 0 0;padding-left:18px;color:#3f3f46}.listPanel p:before{content:"";position:absolute;left:0;top:.72em;width:6px;height:6px;border-radius:50%;background:#ff5b8f}.finalPanel p{margin-bottom:0;color:#333;font-size:15px}.reportPanel p{margin:0;color:#333;font-size:14px;line-height:1.72;white-space:pre-wrap;word-break:keep-all}.detailButton{width:100%;min-height:44px;border:1px solid #ffd4e1;border-radius:10px;background:#fff7fa;color:#ff3f7e;font-weight:900}.detailButton:active{transform:translateY(1px)}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:flex-end;justify-content:center;padding:16px;box-sizing:border-box;background:#1111116b}.detailModal{width:min(100%,560px);max-height:min(82vh,720px);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 18px 50px #11111138}.modalHeader{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px 0 20px;border-bottom:1px solid #eeeeee}.modalHeader h2{margin:0;color:#111;font-size:19px;letter-spacing:0}.modalClose{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;background:#f5f5f5;color:#333;font-size:24px;line-height:1}.modalBody{max-height:calc(min(82vh,720px) - 58px);overflow-y:auto;padding:18px 20px 22px}.modalBody h3{margin:18px 0 10px;color:#111;font-size:15px;letter-spacing:0}.modalBody h3:first-child{margin-top:0}.modalNote{margin:8px 0 0;color:#3f3f46;word-break:keep-all}@media(max-width:360px){main{padding-left:14px;padding-right:14px}.grid3,.scoreGrid,.statRows.compact{grid-template-columns:1fr}.statRows.compact div:nth-last-child(2){border-bottom:1px solid #eeeeee}.modalOverlay{padding:10px}.modalHeader{padding-left:16px}.modalBody{padding:16px}}:root{font-family:sans-serif}*{-webkit-tap-highlight-color:transparent}body{margin:0;min-width:320px;min-height:100vh}@media(min-width:481px){body{display:flex;justify-content:center;align-items:flex-start;background-color:#f5f5f5!important}}
