/* The club report shares the same single-viewport desk as study cards. */
body.result-screen{overflow:hidden}
.result-screen .topbar,.result-screen .app-footer,.result-screen .mobile-nav{display:none}
.result-screen .workspace{height:100dvh;min-height:0}
.result-screen .result-main{height:100dvh;max-width:540px;min-height:0;padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));display:flex;flex-direction:column;overflow-y:auto}
.result-screen .result-wrap{display:flex;flex-direction:column;gap:clamp(12px,2.5dvh,22px);height:100%;width:100%;max-width:440px;margin:0 auto;padding:0;text-align:left}
.result-screen .result-heading{display:flex;gap:18px;align-items:center;flex-shrink:0}
.result-screen .result-portrait{position:relative;flex-shrink:0;width:94px;height:112px;display:flex;align-items:center;justify-content:center;background:#e7edd8;border:1px solid #c7d4b9;border-radius:50% 50% 14px 14px;transform:rotate(-4deg)}
.result-screen .result-avatar{width:90px;height:105px;margin:0;object-fit:contain;transform:rotate(4deg)}
.result-screen .result-portrait>span{position:absolute;right:-8px;top:0;font-size:30px;color:#d7a83a}
.result-screen .result-heading .eyebrow{font-size:10px;letter-spacing:.07em;color:#8b7655}
.result-screen .result-heading h1{font-size:27px;line-height:1.35;margin:8px 0 5px;letter-spacing:.01em}
.result-screen .result-heading p{font-size:12px;margin:0;color:#827054}
.result-screen .result-counts{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:17px 8px;gap:0;flex-shrink:0;border-radius:17px}
.result-screen .result-counts>div{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;column-gap:8px;row-gap:3px;text-align:center;padding:0}
.result-screen .result-counts>div+div{border-left:1px dashed #d8c6a2}
.result-screen .result-counts .icon{width:22px;height:22px;margin:0}
.result-screen .result-counts strong{font-size:38px;line-height:1.2;margin:0}
.result-screen .result-counts strong small{font-size:12px;margin-left:4px}
.result-screen .result-counts span{grid-column:1/-1;font-size:13px}
.result-screen .result-message{display:flex;gap:10px;align-items:center;flex-shrink:0;padding:15px 12px;margin:auto 0;border-radius:15px}
.result-screen .result-message .avatar{width:51px;height:59px;flex-shrink:0;object-fit:contain}
.result-screen .result-message p{font-size:13px;line-height:1.7;margin:0;color:#4f6549;text-align:left}
.result-screen .result-message .speaker{display:block;font-size:10px;font-weight:700;margin:0 0 2px;color:#718360}
.result-screen .result-actions{display:flex;flex-direction:column;gap:9px;flex-shrink:0}
.result-screen .result-actions .button{min-height:51px;margin:0;font-size:14px;padding:10px 12px}
.result-screen .result-undo{min-height:44px;margin:0;justify-content:center;font-size:12px}
.result-screen .result-saved{display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;line-height:1.5;color:#86785d;margin:0}
.result-screen .result-saved .icon{width:13px;height:13px}
.result-screen .result-save-error{font-size:11px;color:#9c4937;text-align:center}
.result-screen .result-save-error p{margin:0;line-height:1.5}
.result-screen .result-save-error .text-link{min-height:44px;font-size:12px}
@media(max-height:680px){
 .result-screen .result-main{padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .result-screen .result-wrap{gap:12px}
 .result-screen .result-portrait{width:78px;height:92px}.result-screen .result-avatar{width:75px;height:87px}
 .result-screen .result-heading{gap:14px}.result-screen .result-heading h1{font-size:25px;margin:5px 0}
 .result-screen .result-counts{padding:13px 8px}.result-screen .result-counts strong{font-size:33px}
 .result-screen .result-message{padding:10px}.result-screen .result-message .avatar{width:43px;height:49px}
 .result-screen .result-actions{gap:6px}.result-screen .result-actions .button{min-height:47px}
}
@media(max-width:360px){
 .result-screen .result-main{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .result-screen .result-heading{gap:12px}.result-screen .result-heading h1{font-size:23px}
 .result-screen .result-heading .eyebrow{font-size:9px}.result-screen .result-message p{font-size:12px}
}
@media(max-height:600px){
 .result-screen .result-wrap{gap:8px}
 .result-screen .result-portrait{width:67px;height:78px}.result-screen .result-avatar{width:64px;height:74px}
 .result-screen .result-heading .eyebrow{font-size:8px;line-height:1.5;margin:0}
 .result-screen .result-heading h1{font-size:23px;line-height:1.25;margin:4px 0}
 .result-screen .result-heading p{display:none}
 .result-screen .result-counts{padding:9px 8px}.result-screen .result-counts strong{font-size:30px}.result-screen .result-counts span{font-size:12px}
 .result-screen .result-message{padding:8px 10px}.result-screen .result-message p{font-size:12px;line-height:1.6}
 .result-screen .result-actions{gap:5px}.result-screen .result-actions .button{min-height:44px;padding:8px 10px;font-size:13px}
}
/* Keep text and recovery actions reachable with zoom or a very short viewport. */
@media(max-height:480px){body.result-screen{overflow-y:auto}.result-screen .result-main,.result-screen .workspace{height:auto;min-height:100dvh}.result-screen .result-wrap{height:auto}.result-screen .result-message{margin:0}}
