/* Layout corrections shared by the portal and workspace. */
.resend-wait b{font-variant-numeric:tabular-nums;display:inline-block;min-width:5ch;white-space:nowrap}
.al-after{min-height:48px}.resend-wait{overflow-anchor:none}
.empty-cover{aspect-ratio:16/9;display:grid;place-items:center;background:#f0f2f4;color:#67727b;font-size:14px;padding:24px;text-align:center}
.event-live-preview{max-width:800px}.event-live-preview p{line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.review-cover{width:100%;max-height:380px;object-fit:contain;background:#f3f4f5;border-radius:16px}
.review-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.event-live-preview video{width:100%;max-height:400px;margin-top:20px}
.review-media-dialog{width:min(900px,94vw);max-height:88dvh;overflow:auto;border:0;border-radius:20px;padding:24px}
.review-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-height:55dvh;overflow:auto;margin-top:16px}
.review-media-choice{border:1px solid #dce2e7;border-radius:12px;background:white;overflow:hidden;text-align:left;cursor:pointer;padding:0}
.review-media-choice img{width:100%;aspect-ratio:4/3;object-fit:cover}.review-media-choice span{display:block;padding:10px;font:inherit;font-size:13px}
.media-picker[data-multi="false"] .upload-previews:not(:empty){display:block}.media-picker[data-multi="false"] .upload-thumb{width:100%;max-width:600px;height:auto;aspect-ratio:16/10}.media-picker[data-multi="false"] .media-preview-open{width:100%;height:100%}.media-picker[data-multi="false"] .upload-thumb img{width:100%;height:100%;object-fit:contain;background:#f0f2f4}
.media-picker>[data-open-library]{margin:10px 0;align-self:start}.numbered-pages{flex-wrap:wrap}
.v6-table-foot>.actions{flex-wrap:wrap}.v6-toolbar{align-items:end}.v6-table td:last-child .actions{justify-content:flex-end}
.v6-chart{min-height:200px}.v6-panel:has(.v6-chart){align-self:start}
.passport-hero{padding:28px!important;min-height:0!important}.passport-hero h1{font-size:clamp(30px,4vw,48px)!important;line-height:1.12!important}
.career-card h3{font-size:22px;line-height:1.25}.career-card p{line-height:1.6}.reading p{overflow-wrap:anywhere}
.wheel-sector{gap:6px}.wheel-sector small{font-size:11px;line-height:1.15;max-width:90px;text-align:center;display:block}
.wheel-stage{align-self:start}.wheel-layout>.stack{min-width:0}.earning-row{gap:20px}.earning-row>b{white-space:nowrap}
.v6-actions-stack>.btn,.actions>.btn{white-space:normal}.review-report-author{display:block;margin:10px 0;color:#626e78;font-size:13px}
@media(max-width:640px){.review-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-gallery{grid-template-columns:1fr}.review-media-dialog{padding:16px}.v6-table-foot{flex-wrap:wrap;gap:12px}.passport-hero{padding:20px!important}.wheel-sector small{max-width:65px;font-size:10px}}

.passport-cover{min-height:0!important;padding:28px!important;gap:24px}.passport-cover h2{font-size:clamp(28px,4vw,44px)!important}.passport-cover>img{max-height:240px;object-fit:cover}.passport-cover .big-number{font-size:36px}

.wheel-sector small{position:absolute;top:22%;transform:rotate(calc(-1 * var(--sector-angle)));width:100px;color:#17324a;font-weight:600}.wheel-sector[data-sector="0"] small{color:white}
.v6-chart-bars{overflow-x:auto;padding-top:20px;min-width:0}.v6-chart-column{min-width:62px}.v6-chart-column>small{white-space:nowrap;font-size:11px}.v6-column-pair>div>b{font-size:12px}.v6-caption{font-size:12px}
.invite-link code{overflow-wrap:anywhere;white-space:normal;font-size:13px}.mini-main .stat-grid{gap:12px}.mini-main .stat-card{padding:16px}.mini-main .stat-card .stat-label,.mini-main .stat-card p{font-size:12px}

.specialties-list{max-height:360px;overflow:auto;margin:14px 0;border:1px solid #e4e8ee;border-radius:12px;padding:0 12px}.specialties-editor>.row{align-items:end;gap:12px}.specialties-editor .list-row{gap:12px;font-size:14px}.specialties-editor .field{margin:0}.specialties-editor [data-specialty-add]{margin-bottom:0}
.v6-panel{min-width:0;max-width:100%}.v6-chart{min-width:0;max-width:100%}.v6-chart-bars{flex:1;width:0}.v6-column-pair{height:140px}.v6-legend{flex-wrap:wrap}.v6-overview-grid>.v6-panel{align-self:stretch}@media(max-width:600px){.v6-overview-grid>.v6-panel{width:100%}}

form[data-command="specialties"] .field[hidden]{display:none!important}.wheel-sector svg{display:none}.wheel-sector small{top:12%;width:100px;max-width:100px;font-size:11px;line-height:1.2}.wheel-sector[data-sector="0"] small{white-space:nowrap}

/* Reports are full-card links; secondary actions retain independent targets. */
.report-card{position:relative;transition:border-color .2s,box-shadow .2s;}
.report-card-main{color:inherit;text-decoration:none;}
.report-card-main::after{content:"";position:absolute;inset:0;border-radius:inherit;}
.report-card-main:focus-visible{outline:none;}
.report-card:has(.report-card-main:focus-visible){outline:3px solid #4261ee;outline-offset:4px;}
.report-card:hover{border-color:#9daef5;box-shadow:0 8px 20px #23387612;}
.report-card .actions{position:relative;z-index:1;pointer-events:none;}
.report-card .actions a{pointer-events:auto;}
.report-card .report-link{display:inline-flex;align-items:center;gap:16px;min-height:44px;border-radius:999px;padding:6px 7px 6px 18px;transition:background .2s,color .2s,transform .2s;}
.report-card .report-link svg{width:32px;height:32px;padding:7px;box-sizing:border-box;border:1px solid currentColor;border-radius:50%;transition:transform .25s,background .25s,color .25s;}
.report-card .report-link:hover{transform:translateY(-2px);}
.report-card .report-link:hover svg{transform:rotate(-45deg);background:#fff;color:#4261ee;}
.badge-card .badge-symbol{width:72px;height:78px;background:none!important;box-shadow:none!important;border:0;border-radius:0;}
.badge-card .badge-symbol .achievement-art{width:72px;height:78px;display:block;}
.badge-card.locked .achievement-art{filter:grayscale(1);opacity:.48;}
#dialog>.achievement-art{display:block;width:88px;height:auto;margin:18px auto;}
.report-export-actions{display:flex;gap:10px;flex-wrap:wrap;}
@media(prefers-reduced-motion:reduce){.report-card,.report-card .report-link,.report-card .report-link svg{transition:none;}}

.report-export-actions .btn{flex:0 0 auto;white-space:nowrap;}
@media(max-width:600px){.report-export-actions{width:100%;}.report-export-actions .btn{flex:1 1 auto;}}
