/* Shared controls for the leaderboard, account, submissions, proof, and admin. */
:root{--control-height:44px;--control-small:36px;--control-radius:10px;--field-x:12px;--focus-ring:2px solid var(--accent)}
button,input,select,textarea,summary,a.btn{-webkit-tap-highlight-color:transparent}
.btn,a.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--control-height);padding:10px 16px;border-radius:var(--control-radius);font-size:14px;line-height:20px;font-weight:600;text-decoration:none;vertical-align:middle;transition:background-color .15s,border-color .15s}
.btn:not(.primary):hover{border-color:#bcbcb3}
button:disabled{cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:var(--focus-ring);outline-offset:3px}
.form{gap:16px}
.form p{margin:0}
.account-actions{display:flex;flex-wrap:wrap;gap:12px}
.form label,.admin-review-form label{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:18px;font-weight:600;color:var(--ink);min-width:0}
.form input,.form select,.form textarea,.admin-review-form select,.share-options select,.admin-review-form textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:var(--control-height);margin:0;border:1px solid var(--line);border-radius:var(--control-radius);padding:11px var(--field-x);background-color:var(--card);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:14px;line-height:20px;font-weight:400}
.form input:hover,.form select:hover,.form textarea:hover,.admin-review-form select:hover,.share-options select:hover,.admin-review-form textarea:hover{border-color:#bcbcb3}
.form input::placeholder,.form textarea::placeholder,.admin-review-form textarea::placeholder{color:var(--muted);opacity:1}
.form input[type=hidden]{display:none}
.form select,.admin-review-form select,.share-options select{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2362625D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:12px}
.form select option,.admin-review-form select option,.share-options select option{font-size:14px;font-weight:400;background:var(--card);color:var(--ink)}
.form textarea,.admin-review-form textarea{min-height:104px;resize:vertical}
.form small{font-size:12px;line-height:1.6;font-weight:400;margin:0}
.form .error:empty,.form [role=alert]:empty{display:none}
.form .error,.form [role=alert]{margin:0;font-size:12px;line-height:1.6;color:#a33527;min-height:0}
.filters{gap:12px;padding:12px;align-items:center}
.filter-picker{min-width:152px}
.filter-select,.filters>.filter{box-sizing:border-box;min-height:var(--control-height);padding:11px 12px;border-radius:var(--control-radius);font-size:13px;line-height:20px;font-weight:500}
.filter-select svg{flex:none;margin-left:12px}
.filters>.filter{display:flex;align-items:center;justify-content:space-between;gap:24px;background-image:none;min-width:108px}
.filters>.filter:after{content:'';width:7px;height:7px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:translateY(-2px) rotate(45deg);margin:0 3px 0 12px;flex:none}
.filters>.filter:hover{border-color:var(--muted)}
.filter-options{padding:6px;border-radius:12px;top:calc(100% + 6px)}
.filter-options button{padding:10px 12px;min-height:40px;font-size:13px;line-height:20px;border-radius:6px}
.toggle{padding:3px;min-height:var(--control-height);align-items:stretch}
.toggle button{min-height:38px;padding:8px 12px;font-size:13px;line-height:20px;border-radius:7px}
.modal-wrap{padding:24px;z-index:30}
.modal{--modal-padding:28px;position:relative;border-radius:16px;padding:var(--modal-padding);max-height:calc(100dvh - 48px);scrollbar-gutter:auto}
.modal.admin-modal{--modal-padding:32px;padding:var(--modal-padding)}
.modal:before{content:'';display:block;height:112px;margin:calc(-1 * var(--modal-padding)) calc(-1 * var(--modal-padding)) 24px;background:#FFF1EB url('./assets/gym-doodles.svg') repeat-x center;background-size:448px 140px;border-bottom:1px solid #efd6ca;pointer-events:none}
.modal.admin-modal:before{height:96px;background-size:448px 140px}
.modal h2{padding-right:0;margin-bottom:12px}
.modal>.close{position:sticky;float:right;top:0;margin:0 0 0 12px;z-index:2;display:grid;place-items:center;width:36px;height:36px;padding:0;border-radius:10px;font-size:20px;line-height:1;color:var(--ink)}
.modal>.close:hover{background:#eaeae4}
.modal-foot{gap:12px;margin-top:24px}
.modal p{overflow-wrap:anywhere}
.account-modal h2{padding:12px 32px 0}
.google-signin{border-radius:var(--control-radius)}
.proof-meta{flex-wrap:wrap;gap:10px}
.proof-modal>.btn{margin-top:16px}
.proof-button,.admin-card-foot .btn,.admin-lift-facts .btn,.admin-section-head .btn,.admin-resolve{min-height:var(--control-small);padding:7px 12px;font-size:12px;line-height:20px;text-decoration:none;border-radius:var(--control-radius)}
.status-actions{gap:8px}
.row:not(.total-row){grid-template-columns:40px 1.15fr .8fr .65fr .7fr .6fr .7fr minmax(250px,1.5fr);min-width:1060px}
.row.header{align-items:center}
.badge,.admin-status{font-size:11px;font-weight:600;line-height:16px;padding:5px 9px;border-radius:7px;white-space:nowrap}
.row .score,.lift-summary strong,.admin-summary strong,.admin-lift-facts strong{font-variant-numeric:tabular-nums}
.admin-summary button{border-radius:12px}
.admin-modal .admin-tabs .btn{min-height:44px;border-radius:0;padding:12px 0;line-height:20px}
.admin-card-head h3{letter-spacing:0}
.admin-decision summary,.admin-history summary{min-height:36px;display:flex;align-items:center;gap:8px;list-style:none;line-height:20px}
.admin-decision summary::-webkit-details-marker,.admin-history summary::-webkit-details-marker{display:none}
.admin-decision summary:before,.admin-history summary:before{content:'›';font-size:18px;color:var(--muted);transition:transform .15s}
.admin-decision[open]>summary:before,.admin-history[open]>summary:before{transform:rotate(90deg)}
.admin-decision,.admin-history{padding-top:12px;margin-top:16px}
.admin-review-form{gap:16px}
.admin-review-form>.btn{font-size:13px;min-height:var(--control-height)}
.admin-status.attention{color:#805900;background:#fff4d6}
.admin-status.complete{color:var(--green);background:#e8f5ed}
.admin-message{overflow-wrap:anywhere}
body:has(#overlay .modal){overflow:hidden}
body:has(#overlay .modal) .feedback-float{display:none}
@media(max-width:600px){
 .modal-wrap{padding:12px}
 .modal,.modal.admin-modal{--modal-padding:20px;width:100%;max-height:calc(100dvh - 24px);padding:var(--modal-padding)}
 .modal:before,.modal.admin-modal:before{height:88px;margin-bottom:20px;background-size:384px 120px}
 .modal>.close{width:36px;height:36px}
 .form input,.form select,.form textarea,.admin-review-form select,.share-options select,.admin-review-form textarea{font-size:16px}
 .filters{gap:10px}
 .filter-picker{flex:1 1 140px;min-width:0}
 .filters>.filter{flex:1 1 110px;min-width:0}
 .topbar .actions{width:100%;gap:8px}
 .topbar .actions .btn{min-height:44px;font-size:12px;padding:10px 12px}
 .admin-card-foot .btn,.admin-lift-facts .btn,.admin-section-head .btn,.admin-resolve{min-height:44px}
 .admin-review-form{grid-template-columns:1fr}
 .admin-review-form>.btn{grid-column:1;width:100%}
 .admin-summary{gap:8px}
 .modal-foot .btn{flex:1 1 160px}
 .proof-voting .vote-grid{gap:10px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* One stroke weight and size across navigation, disclosure, and action icons. */
.ui-icon{width:18px;height:18px;display:inline-block;flex:none;vertical-align:middle;stroke-width:1.75}
.filter-select svg{margin:0;width:18px;height:18px}
.filters>.filter:after{display:none}
.filters>.filter{gap:24px}
.admin-decision summary:before,.admin-history summary:before{content:'';width:18px;height:18px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362625D' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/18px no-repeat;transform:rotate(-90deg)}
.admin-decision[open]>summary:before,.admin-history[open]>summary:before{transform:rotate(0)}
.form select,.admin-review-form select,.share-options select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362625D' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-size:18px 18px;background-position:right 12px center}
.modal>.close{position:absolute;left:auto;right:12px;top:12px;margin:0;float:none;width:36px;height:36px;border:1px solid #e6cbbb;background:rgba(255,255,255,.96);box-shadow:0 2px 6px #20201e0a;z-index:2}
.modal>.close:hover{background:white;border-color:var(--accent)}
.modal h2{padding-right:0}
.account-modal h2{padding-left:0;padding-right:0}

/* A single table surface, with title and count outside horizontal scrolling. */
.board{overflow:hidden}
.board-head{padding:20px 24px;border-bottom:1px solid var(--line);min-height:72px;width:100%}
.board-head h2{font-size:26px;line-height:1.2}
.board-head #count{font-size:12px;font-weight:500;white-space:nowrap}
.board-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#bcbcb3 var(--bg)}
.board-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.board-scroll .row:not(.total-row){grid-template-columns:44px minmax(200px,1fr) 96px 72px 96px 64px 80px 260px;min-width:1100px}
.board-scroll .row{padding:18px 24px;min-height:80px;gap:20px;font-size:13px;line-height:20px}
.board-scroll .row.header{padding:12px 20px;min-height:44px;background:#fafaf8;font-size:10px;line-height:18px;letter-spacing:.06em}
.board-scroll .row:not(.header):hover{background:#fafaf8}
.board-scroll .row:last-child{border-bottom:0}
.board-scroll .row:not(.total-row)>:nth-child(4),.board-scroll .row:not(.total-row)>:nth-child(5),.board-scroll .row:not(.total-row)>:nth-child(7){text-align:right}
.board-scroll .total-row>:nth-child(3),.board-scroll .total-row>:nth-child(4){text-align:right}
.board-scroll .status-actions{gap:8px;justify-content:flex-start}
.board-scroll .athlete{gap:10px;font-size:13px}
.board-scroll .avatar{width:32px;height:32px;flex:none;font-size:11px}
.board-scroll .proof-button{font-size:12px;padding:7px 11px}
.board-scroll .score{font-weight:600}
.board-scroll .row:not(.header):not(.total-row)>:nth-child(6),.board-scroll .total-row:not(.header)>:nth-child(5){text-transform:capitalize}

/* Voting is the primary action. Reporting is a separate, quieter action. */
.proof-voting .vote-grid{margin:16px 0 0;gap:12px}
.proof-report{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;margin-top:20px;border-top:1px solid var(--line)}
.proof-modal .proof-report p{font-size:12px;margin:0;color:var(--muted)}
.proof-report .btn{min-height:36px;font-size:12px;padding:7px 12px;white-space:nowrap;background:transparent}
.proof-report .ui-icon{width:16px;height:16px}

/* The same personal overview is available to members and admins. */
.modal.profile-modal{max-width:580px}
.profile-identity{display:flex;align-items:center;gap:14px;margin:20px 0 24px}
.profile-avatar{width:52px;height:52px;flex:none;display:grid;place-items:center;border-radius:14px;background:var(--soft);color:var(--accent);font-size:18px;font-weight:600}
.profile-identity h3{font-family:Inter,sans-serif;font-size:20px;font-weight:600;letter-spacing:-.02em;margin:0 0 4px}
.profile-identity h3,.admin-card-head h3{overflow-wrap:anywhere}
.profile-identity p{font-size:12px;margin:0}
.profile-identity>div{flex:1;min-width:0}
.profile-edit-button{min-height:36px;font-size:12px;padding:7px 12px;flex:none}
.name-editor-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:8px}
.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg)}
.profile-stats>div{padding:18px 16px;border-right:1px solid var(--line)}
.profile-stats>div:last-child{border-right:0}
.profile-stats strong{display:block;font-family:'Barlow Condensed',sans-serif;font-size:34px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1;margin-bottom:8px}
.profile-stats span{font-size:12px;color:var(--muted)}
.profile-modal .profile-count-note{font-size:11px;margin:10px 0 24px}
.profile-best{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 16px;background:var(--soft);border-radius:10px;margin-bottom:24px}
.profile-best>span{font-size:12px;color:var(--muted)}
.profile-best strong{font-family:'Barlow Condensed',sans-serif;font-size:26px;font-variant-numeric:tabular-nums}
.profile-best small{font:400 12px Inter,sans-serif}
.profile-best .btn{margin-left:auto}
.profile-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.profile-section-title h3{font:600 14px Inter,sans-serif;margin:0}
.profile-section-title .btn{font-size:12px;min-height:36px;padding:7px 12px}
.profile-records{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.profile-records>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}
.profile-records>div:last-child{border:0}
.profile-records strong{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.profile-records span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.profile-empty{padding:18px;background:var(--bg);border:1px dashed var(--line);border-radius:12px}
.profile-modal .profile-empty p{font-size:12px;margin:0 0 6px}
.profile-modal .profile-empty p:last-child{margin-bottom:0}
.profile-access{display:flex;gap:10px;align-items:flex-start;padding:16px 0}
.profile-access>.ui-icon{color:var(--green);margin-top:2px}
.profile-modal .profile-access p{font-size:12px;margin:0}
.profile-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:16px}
.profile-footer .btn{font-size:12px;min-height:36px;padding:7px 12px}
.profile-footer>span{font-size:12px;color:var(--muted)}
@media(max-width:600px){
 .modal>.close{width:44px;height:44px}
 .proof-button,.board-scroll .proof-button,.profile-section-title .btn,.profile-best .btn{min-height:44px}
 .filter-options button,.admin-decision summary,.admin-history summary{min-height:44px}
 .board-head{padding:18px 16px;min-height:66px}
 .board-head h2{font-size:24px}
 .profile-stats>div{padding:16px 12px}
 .profile-stats strong{font-size:30px}
 .profile-stats span{font-size:11px}
 .profile-identity h3{font-size:18px}
 .profile-identity{flex-wrap:nowrap;gap:12px}
 .profile-edit-button{min-height:44px;margin-left:0;padding:7px 10px;font-size:11px;max-width:128px}
 .profile-records>div{padding:14px 12px}
 .profile-records .proof-button{min-height:44px}
 .profile-best{display:grid;grid-template-columns:1fr auto}
 .profile-best strong{justify-self:end}
 .profile-best .btn{grid-column:1/-1;width:100%;margin-left:0}
 .profile-footer{flex-wrap:wrap}
 .profile-footer .btn{min-height:44px}
 .proof-report{gap:10px}
 .proof-report .btn{min-height:44px}
}
@media(max-width:360px){
 .profile-avatar{width:40px;height:40px;font-size:15px;border-radius:10px}
 .profile-identity{gap:8px}
 .profile-identity h3{font-size:16px}
 .profile-edit-button{max-width:104px}
 .profile-stats>div{padding:14px 9px}
 .profile-stats span{font-size:10px}
}
.athlete{min-width:0}
.athlete-name{min-width:0;overflow-wrap:anywhere}
.topbar,.actions{min-width:0}
.topbar .actions .btn.ghost{display:inline-flex}
#accountButton{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-identity h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:600px){#accountButton{max-width:180px}.topbar .actions .btn.ghost{display:inline-flex}}

/* Whole leaderboard rows are review targets, including on narrow screens. */
.review-row{cursor:pointer}.review-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;background:var(--accent-soft,#FFF1EB)}

/* Keep SBD status and its action aligned in one horizontal table cell. */
.board-scroll .row.total-row{grid-template-columns:44px minmax(200px,1fr) 112px 104px 72px 300px;min-width:980px}
.board-scroll .total-row .status-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
.board-scroll .total-row .status-actions>*{flex-shrink:0}
.proof-voting .vote-signin{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:16px}

.owner-delete{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.btn.delete-lift-button{color:#a32d20}.btn.danger{background:#a32d20;border-color:#a32d20;color:white}.btn.danger:hover{background:#85251b}
.delete-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}.delete-confirm-actions .btn{min-height:44px}
@media(max-width:600px){.profile-records>div{flex-wrap:wrap}.profile-records>div>div{flex:1 1 130px}.delete-confirm-actions .btn{flex:1}}

/* Destructive confirmations use a compact, balanced content layout. */
.modal.delete-confirm-modal{--modal-padding:24px;max-width:460px;padding:var(--modal-padding)}
.modal.delete-confirm-modal:before{height:88px;margin-bottom:20px;background-size:384px 120px}
.delete-confirm-modal h2{margin:0 0 12px}
.delete-confirm-modal>p{font-size:14px;line-height:1.6;margin:0 0 12px}
.delete-confirm-modal .delete-confirm-actions{margin:20px 0 0;gap:10px}
.delete-confirm-modal #deleteLiftError:empty{display:none}
.delete-confirm-modal #deleteLiftError:not(:empty){margin:12px 0 0;color:#a32d20}
@media(max-width:600px){.modal.delete-confirm-modal{--modal-padding:20px}.modal.delete-confirm-modal:before{height:80px;margin-bottom:20px}.delete-confirm-modal .delete-confirm-actions .btn{padding:11px 12px}}
/* Align the confirmation copy to both content edges; keep final lines natural. */
.delete-confirm-modal>p{width:100%;max-width:none;padding-inline:0;text-align:justify;text-align-last:left;hyphens:auto}

.google-signin img,.vote-signin img{display:block;width:20px;height:20px;flex:0 0 20px;object-fit:contain}
.proof-voting .vote-signin{gap:12px}

.floating-actions{position:fixed;right:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:20;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.floating-actions .feedback-float{position:static;min-height:44px}
.floating-actions .add-lift-float{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;box-shadow:0 4px 20px #20201e22}
body:has(#overlay .modal) .floating-actions{display:none}
@media(max-width:600px){.floating-actions{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}}
/* Keep lift details and both profile actions together on phone screens. */
@media(max-width:600px){
 .profile-records>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;align-items:center;flex-wrap:nowrap}
 .profile-records>div>div{min-width:0}
 .profile-records .btn{padding:10px 8px;min-height:44px;font-size:11px;white-space:nowrap}
 .profile-records .proof-button .ui-icon{display:none}
 .profile-records strong{overflow-wrap:anywhere}
}

/* Contextual lift standards, expanded in place so forms and review state stay intact. */
.tertiary-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;padding:8px 0;border:0;border-radius:6px;background:transparent;color:var(--accent);font:600 13px Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.tertiary-button:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.tertiary-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.tertiary-button .ui-icon{flex:none}
.standards-guide{margin:8px 0 20px}
.form .standards-guide{margin:0}
.modal .standards-hint{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.standards-panel{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.modal .standards-version{font-size:11px;margin:0 0 12px;color:var(--muted)}
.standards-section{border-top:1px solid var(--line);padding:0}
.standards-section summary{display:list-item;padding:14px 0;min-height:44px;cursor:pointer;font-size:13px;font-weight:600;line-height:1.5}
.modal .standards-section p,.standards-section li{font-size:13px;line-height:1.65;margin:0 0 12px;overflow-wrap:anywhere;color:var(--muted)}
.standards-section ul{padding-left:18px;margin:0}
.standards-section strong{font-weight:600;color:var(--ink)}
.modal .standards-note{font-size:11px;line-height:1.6;margin:16px 0 0}
@media(max-width:600px){.standards-panel{padding:12px}.standards-toggle{width:100%}}

/* Proof review hierarchy: record, proof, progress, then a single voting area. */
.modal.proof-modal{max-width:640px}
.modal.proof-modal:before{height:76px;margin-bottom:24px;background-size:384px 120px}
.proof-modal h2{margin:0 0 8px}
.proof-modal .proof-meta{margin:0 0 20px;gap:10px}
.proof-modal .lift-summary{padding:16px;margin:0 0 20px;gap:16px}
.proof-modal .lift-summary strong{font-size:30px;line-height:1.1}
.proof-modal .proof-folder{grid-template-columns:36px minmax(0,1fr) auto;padding:16px;gap:12px}
.proof-modal .folder-symbol{width:36px;height:36px}
.proof-modal .proof-folder>a{grid-column:auto;margin:0;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;white-space:nowrap}
.proof-access-help{margin:8px 0 0;color:var(--muted)}
.proof-access-help summary{font-size:12px;line-height:1.5;cursor:pointer;padding:6px 0}
.proof-modal .proof-access-help p{font-size:12px;line-height:1.6;margin:6px 0 0}
.proof-modal .standards-guide{margin:4px 0 20px}
.proof-modal .standards-toggle{font-size:12px;padding:6px 0;min-height:40px}
.proof-modal .verification-section{padding:16px 0 0;border-top:1px solid var(--line);border-bottom:0}
.proof-modal .verification-heading h3{font-size:13px;margin:0}
.proof-modal .verification-heading span{font-size:12px}
.proof-modal .verification-bar{margin:10px 0}
.proof-modal .verification-section p{line-height:1.6}
.proof-modal .proof-voting{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
.proof-modal .vote-state{margin:0;font-size:12px;line-height:1.6}
.proof-modal .proof-voting .vote-grid{margin-top:12px}
.proof-modal #voteError:empty{display:none}
.proof-modal #voteError:not(:empty){font-size:12px;line-height:1.6;margin:10px 0;color:#a32d20}
@media(max-width:600px){
 .modal.proof-modal:before{height:64px;margin-bottom:20px}
 .proof-modal .lift-summary{padding:14px 12px;gap:8px}
 .proof-modal .lift-summary strong{font-size:28px}
 .proof-modal .lift-summary small{font-size:12px}
 .proof-modal .proof-folder{grid-template-columns:36px minmax(0,1fr);padding:14px;gap:10px}
 .proof-modal .proof-folder>a{grid-column:1/-1;width:100%;margin-top:2px}
 .proof-modal .standards-toggle,.proof-access-help summary{min-height:44px}
 .proof-access-help summary{padding:12px 0}
 .proof-modal .proof-voting{margin-top:16px;padding-top:16px}
}

.proof-method{border:1px solid var(--line,#DEDED7);border-radius:12px;overflow:hidden;background:#fff}
.proof-mode{display:flex;gap:0;background:var(--bg,#F5F5F2);border-bottom:1px solid var(--line,#DEDED7)}
.proof-mode .btn{flex:1;font-size:12px;min-height:46px;border:0;border-radius:0;background:transparent;position:relative}
.proof-mode .btn+.btn{border-left:1px solid var(--line,#DEDED7)}
.proof-mode [aria-selected="true"]{background:#fff;color:var(--accent);box-shadow:inset 0 -2px var(--accent)}
.proof-mode .btn:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
.proof-method .proof-method-panel{padding:18px;min-width:0}
.proof-method-panel[hidden]{display:none!important}
.proof-method input[type="file"]{max-width:100%;min-width:0;font-weight:400;background:var(--bg,#F5F5F2);border-style:dashed;padding:12px}
.proof-method input[type="file"]::file-selector-button{border:0;border-radius:6px;padding:8px 10px;margin-right:10px;background:#fff;color:var(--text,#20201E);font:inherit;font-weight:600;cursor:pointer}
.flagged-submission{align-items:flex-start}.flagged-submission .ui-icon{flex:none;color:var(--accent)}
.proof-share-trigger{margin-left:auto;flex:none;min-height:36px;padding:7px 12px;font-size:12px}
.share-modal{width:min(620px,calc(100vw - 24px))}.share-intro{margin-bottom:20px!important}
.share-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 18px}
.share-options label,.share-caption-label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px;line-height:18px;font-weight:600}
.share-card-preview{border:1px solid #DEDED7;border-radius:12px;overflow:hidden;background:#F5F5F2;aspect-ratio:3/2;display:grid;place-items:center}
.share-card-preview.is-unavailable{aspect-ratio:auto;min-height:0;padding:20px;gap:12px;text-align:center}.share-card-preview.is-unavailable p{padding:0;margin:0}
.share-card-preview img{display:block;width:100%;height:auto}.share-card-preview p{padding:24px;margin:0}
.share-snapshot-note{font-size:11px!important;line-height:1.5!important;color:#62625D;margin:10px 0 20px!important}
.share-caption{box-sizing:border-box;width:100%;height:138px;resize:vertical;border:1px solid #DEDED7;border-radius:10px;padding:12px;margin:8px 0 16px;font:12px/1.6 Inter,system-ui;color:#20201E;background:#fff}
.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.share-actions .btn{justify-content:center;text-align:center;min-width:0;white-space:normal;text-decoration:none}.share-actions a[aria-disabled="true"]{pointer-events:none;opacity:.5}
.share-no-native #nativeShare{display:none}.share-no-native #copySharePost{grid-column:1/-1}
.share-status{font-size:12px!important;line-height:1.5!important;margin:12px 0 0!important;color:#62625D}
.update-modal{max-width:470px}.update-intro{display:flex;gap:12px;align-items:flex-start;margin:20px 0 24px}.update-intro>.ui-icon{flex:none;width:24px;height:24px;margin-top:2px;color:#B9401D}.update-intro p{margin:0!important}
.community-remaining{color:#62625D;font-weight:400}
.admin-review-state{display:flex;gap:8px;align-items:center;margin:0 0 18px;color:#62625D;font:500 13px/1.5 Inter,system-ui}
.admin-review-state.is-checked{color:#22684B}.admin-review-state .ui-icon{flex:none;width:18px;height:18px}
.verification-section .verification-heading h3{font:600 12px/1.5 Inter,system-ui;margin:0}.verification-section .verification-heading>span{font:500 12px/1.5 Inter,system-ui}
.verification-section .verification-rejections{font-size:11px;line-height:1.5;margin:8px 0 0}.verification-held .verification-bar{accent-color:#62625D}
@media(max-width:600px){.share-options{grid-template-columns:1fr;gap:14px}.share-caption{height:160px}.share-modal .share-actions .btn{font-size:12px;padding:11px 12px}.proof-share-trigger{margin-left:auto}.update-modal .modal-foot{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:600px){.proof-method .proof-method-panel{padding:16px}.proof-mode .btn{padding:10px 12px}}
#uploadFields>label,#driveFields>label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}
#uploadFields small,#driveFields small{font-weight:400;font-size:11px;line-height:1.6;color:var(--muted)}
.video-previews,.proof-video-list{display:grid;gap:14px;margin:16px 0}.video-previews:empty{display:none}
.video-previews figure,.proof-video-list figure{margin:0;min-width:0}
.video-previews video,.proof-video-list video{display:block;width:100%;max-height:300px;background:#20201e;border-radius:10px;object-fit:contain}
.video-previews figcaption,.proof-video-list figcaption{font-size:12px;line-height:1.5;margin-top:8px;overflow-wrap:anywhere;color:var(--muted)}
.video-previews figcaption span{white-space:nowrap}#uploadProgressWrap{margin:14px 0}#uploadProgress{width:100%;accent-color:var(--accent)}.modal #uploadStatus{font-size:12px;line-height:1.5;margin:8px 0}
/* Verification remains visible in the athlete column, including on small screens. */
.inline-verification{display:block;font-size:10px;line-height:16px;font-weight:500;margin-top:2px;white-space:nowrap}
.inline-verification.is-verified{color:#26734d}.inline-verification.is-pending{color:#8a5c00}
.you-label{font-size:10px;color:var(--accent);font-weight:600;margin-left:4px}
.board-scroll .row.own-row{background:#fff1eb;box-shadow:inset 3px 0 var(--accent)}
.board-scroll .row.own-row:hover{background:#ffe9df}
.pending-row .rank{border-bottom:1px dashed #c9ac70}
.pending-row .rank.podium{background:#faf7ef;border-style:dashed;color:#806536;box-shadow:none}
.leaderboard-self-pin{position:fixed;z-index:19;display:flex;align-items:center;gap:14px;padding:14px 20px;min-height:76px;text-align:left;background:#fff1eb;color:var(--ink);border:1px solid #e9b5a5;border-left:3px solid var(--accent);border-radius:10px;box-shadow:0 -5px 24px #20201e15;font:inherit;font-size:13px}
.leaderboard-self-pin:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.self-pin-rank{color:var(--accent);font-weight:600;min-width:32px;font-variant-numeric:tabular-nums}.self-pin-detail{flex:1;min-width:0}.self-pin-detail>span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.leaderboard-self-pin>strong{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:600px){.leaderboard-self-pin{padding:12px;gap:10px}.board-scroll .athlete{align-items:center}.inline-verification{font-size:10px}}
.self-pin-visible .floating-actions{bottom:104px}

.board-scroll .row>*{min-width:0}
.board-scroll .row.header{padding-inline:24px}
.board-scroll .row .status-actions{flex-wrap:nowrap;white-space:nowrap}
.board-scroll .row .status-actions>*{flex-shrink:0}
.board-scroll .row:not(.total-row)>:nth-child(6){padding-left:4px}
.board-scroll .row .rank:not(.podium){width:28px;text-align:center}
.reference-board{margin-top:24px;border-style:dashed;box-shadow:none}.reference-board .board-head{align-items:flex-start;gap:20px}.reference-board .board-head p{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0;max-width:550px}.reference-board .board-scroll .row{background:#fafaf8}.reference-board .reference-row{cursor:pointer}.reference-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.reference-board .inline-verification{color:var(--muted)}.reference-rank{color:var(--muted);width:28px;text-align:center}.reference-symbol{width:32px;height:32px;flex:none;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--muted);font-family:Georgia,serif;font-style:italic}.reference-badge{background:#edede7;color:#62625d}.reference-link{font-size:12px;color:var(--accent)}.reference-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:12px;margin:20px 0}.reference-metrics span{display:block;font-size:12px;color:var(--muted)}.reference-metrics strong{display:block;font-size:30px;font-family:'Barlow Condensed',sans-serif;margin-top:6px}.reference-metrics small{font-family:Inter,sans-serif;font-size:13px;font-weight:400}.reference-source{display:inline-flex;gap:10px;align-items:center;text-decoration:none;margin-bottom:16px}.reference-kicker{font-size:12px;color:var(--accent)!important}@media(max-width:600px){.reference-board .board-head{display:block}.reference-board .board-head>span{display:block;margin-top:12px}.reference-metrics{gap:12px;padding:14px}}
.brand-logo{display:block;width:174px;height:auto;max-width:100%}.account-mark.account-symbol{background:transparent;border-radius:0;object-fit:contain}@media(max-width:600px){.brand-logo{width:145px}}
.drive-proof{margin:20px 0}.drive-preview{aspect-ratio:16/9;min-height:220px;background:#f5f5f2;border:1px solid var(--line);border-radius:12px;overflow:hidden}.drive-preview iframe{display:block;width:100%;height:100%;min-height:220px;border:0;background:#20201e}.drive-preview-prompt{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center}.drive-preview-prompt>span{color:var(--accent);margin-bottom:8px}.drive-preview-prompt h3{font-size:16px;margin:0 0 8px}.drive-preview-prompt p{font-size:12px;margin:0 0 16px}.drive-proof-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.drive-proof-footer>span{font-size:11px;color:var(--muted)}.drive-legacy-note{font-size:13px;padding:16px;background:var(--bg);border-radius:10px}@media(max-width:600px){.drive-preview,.drive-preview iframe,.drive-preview-prompt{min-height:200px}.drive-proof-footer .btn{font-size:12px;padding:10px}.drive-proof-footer{gap:8px}}
/* Header and hero use a shared, quieter spacing rhythm. */
.topbar{position:relative;min-height:60px;gap:24px;margin-bottom:40px}.header-controls,.header-navigation{display:flex;align-items:center;gap:10px}.header-controls{margin-left:auto}.header-navigation{flex-wrap:wrap;justify-content:flex-end}.mobile-menu-toggle{display:none}.topbar #accountButton.profile-circle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;max-width:44px;padding:0;border-radius:50%;background:var(--soft);border-color:#e8cfc4;color:var(--accent);font-size:13px;font-weight:600;flex-shrink:0;overflow:hidden}.hero{padding:0 0 12px;margin-bottom:24px}.hero .eyebrow{font-size:11px;letter-spacing:.13em}.hero h1{max-width:850px;margin:12px 0 16px;line-height:1.04;letter-spacing:-.025em}.hero .sub{max-width:580px;font-size:15px;line-height:1.75}
@media(max-width:700px){.shell{padding-top:0}.topbar{position:sticky;top:0;z-index:25;min-height:76px;margin:0 -16px 28px;padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--line);gap:16px;isolation:isolate}.topbar .brand-logo{width:145px}.header-controls{gap:8px}.mobile-menu-toggle{display:inline-flex;width:44px;padding:0;flex-shrink:0}.header-navigation{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;padding:12px 16px 16px;gap:8px;background:var(--card);border-bottom:1px solid var(--line);box-shadow:0 12px 20px #20201e0d}.header-navigation.is-open{display:flex}.header-navigation .btn{justify-content:flex-start;width:100%;min-height:46px}.header-navigation .btn.primary{justify-content:center}.hero{margin-bottom:24px;padding-bottom:0}.hero h1{font-size:clamp(38px,10vw,52px);margin:12px 0 14px;max-width:550px}.hero .sub{font-size:14px;line-height:1.7}.hero .eyebrow{font-size:10px}.header-navigation .btn[hidden]{display:none!important}}
/* Give the verified total its own hierarchy without competing with profile stats. */
.profile-best{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:24px;padding:22px 24px;border:1px solid #efd9d0;background:linear-gradient(110deg,#fff1eb,#fffaf7);border-radius:14px;margin:0 0 24px}.profile-total-main{display:grid;gap:6px;min-width:0}.profile-total-label{font-size:12px;font-weight:600;color:var(--ink)}.profile-best .profile-total-main strong{display:block;font-size:44px;line-height:1.1;font-weight:700;letter-spacing:-.02em;justify-self:start}.profile-best small{font-size:14px;color:var(--muted);letter-spacing:0;margin-left:3px}.profile-total-caption{font-size:11px;line-height:1.6;color:var(--muted)}.profile-best .btn{flex:none;margin:0;min-height:44px;background:white}@media(max-width:600px){.profile-best{display:flex;gap:16px;padding:18px}.profile-best .btn{width:auto;grid-column:auto;margin:0;padding:10px 12px}.profile-best .profile-total-main strong{font-size:40px}.profile-total-caption{max-width:170px}}@media(max-width:360px){.profile-best{flex-wrap:wrap}.profile-best .btn{width:100%}}
/* Mobile navigation follows simple list rows rather than a stack of controls. */
.nav-item-icon{display:none;flex:none}
@media(max-width:700px){
 .header-navigation{padding:8px 16px 12px;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 12px 22px #20201e0c}
 .header-navigation .btn,.header-navigation .btn.primary{display:flex;justify-content:flex-start;gap:14px;min-height:56px;padding:14px 8px;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--ink);font-size:14px;font-weight:500;text-align:left}
 .header-navigation .nav-item-icon{display:block;color:var(--muted)}
 .header-navigation .btn.primary{margin-top:4px;border-top:1px solid var(--line);color:var(--accent);font-weight:600}
 .header-navigation .btn.primary .nav-item-icon{color:var(--accent)}
 .header-navigation .btn:hover,.header-navigation .btn.primary:hover{background:var(--bg);border-color:var(--line)}
 .header-navigation .btn:focus-visible{outline-offset:-2px}
 .mobile-menu-toggle{border:0;background:transparent;border-radius:50%}
 .mobile-menu-toggle[aria-expanded=true]{background:var(--soft);color:var(--accent)}
}
/* Position the whole Google viewer inside a definite frame, including its toolbar. */
.drive-preview{position:relative;aspect-ratio:auto;height:360px;min-height:0;background:#20201e;isolation:isolate}
.drive-preview iframe{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-width:none;border:0}
.drive-preview-prompt{position:absolute;inset:0;min-height:0;height:auto;background:var(--bg)}
@media(max-width:600px){.drive-preview{height:440px;height:clamp(320px,58svh,480px);min-height:0;border-radius:10px}.drive-preview iframe,.drive-preview-prompt{min-height:0}.drive-proof-footer{margin-top:12px}}
@media(max-width:700px) and (orientation:landscape){.drive-preview{height:300px}}
/* Short first view, with full ranking guidance available in place. */
.modal.welcome-compact{max-width:540px}.modal.welcome-compact:before{height:64px;margin-bottom:24px}.welcome-compact h2{font-size:30px;margin-bottom:8px}.welcome-compact .welcome-intro{font-size:14px;line-height:1.6;margin:0 0 22px}.welcome-compact-steps{padding:0;margin:0 0 20px;list-style:none;display:grid;gap:16px}.welcome-compact-steps li{display:flex;align-items:flex-start;gap:12px}.welcome-compact-steps li>span{width:26px;height:26px;display:grid;place-items:center;background:var(--soft);color:var(--accent);border-radius:50%;flex:none;font-size:12px;font-weight:600}.welcome-compact-steps b{font-size:13px;line-height:22px;font-weight:600}.welcome-compact-steps li p{font-size:12px;line-height:1.6;margin:3px 0 0}.welcome-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:20px}.welcome-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 0;font-size:12px;font-weight:500;cursor:pointer;list-style:none}.welcome-details summary::-webkit-details-marker{display:none}.welcome-details[open] summary svg{transform:rotate(180deg)}.welcome-details-body{padding:0 0 4px}.welcome-details-body p{font-size:12px;line-height:1.7;margin:0 0 14px}.welcome-ratio{background:var(--bg);border-radius:8px;padding:12px;margin-bottom:14px;font-size:12px}.welcome-ratio p{margin:6px 0 0}.welcome-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.welcome-actions .btn{font-size:12px;padding:10px 12px;white-space:normal}@media(max-width:600px){.modal.welcome-compact:before{height:48px;margin-bottom:20px}.welcome-compact h2{font-size:28px}.welcome-compact .welcome-intro{margin-bottom:18px}.welcome-compact-steps{gap:14px}.welcome-actions{gap:8px}.welcome-actions .btn{padding:10px 8px;font-size:11px}}@media(max-width:340px){.welcome-actions{grid-template-columns:1fr}}
/* A warmer welcome, with the same compact information structure. */
.modal.welcome-compact{background:#fff;border-radius:20px}
.modal.welcome-compact:before{height:82px;background-color:#fff1eb;margin-bottom:24px;background-size:460px auto}
.welcome-brand-note{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:#8c3b23;font-size:11px;font-weight:500;line-height:1.5}
.welcome-brand-note img{width:24px;height:24px;object-fit:contain;flex:none}
.welcome-compact h2{font-size:38px;line-height:1.05;letter-spacing:-.025em;margin-bottom:12px}
.welcome-compact .welcome-intro{font-size:14px;line-height:1.65;max-width:370px;margin-bottom:24px}
.welcome-compact-steps{gap:0;margin-bottom:16px;padding:4px 16px;background:#faf9f6;border:1px solid #eeece6;border-radius:14px}
.welcome-compact-steps li{padding:12px 0;gap:12px}
.welcome-compact-steps li+li{border-top:1px solid #e9e7e0}
.welcome-compact-steps li>span{width:30px;height:30px;background:white;border:1px solid #e9cdbf;color:var(--accent);font-size:12px;box-shadow:0 2px 3px #20201e04}
.welcome-compact-steps li:last-child>span{background:var(--accent);color:#fff;border-color:var(--accent)}
.welcome-compact-steps b{font-size:13px}.welcome-compact-steps li p{font-size:12px;margin-top:2px}
.welcome-details{border-top:0;margin-bottom:20px}.welcome-details summary{color:var(--muted);font-size:12px}
.welcome-actions .btn{font-size:13px;min-height:46px}.welcome-actions .btn.primary{box-shadow:0 3px 8px #b9401d19}
@media(max-width:600px){.modal.welcome-compact:before{height:60px;margin-bottom:20px}.welcome-brand-note{font-size:10px;margin-bottom:12px;gap:8px}.welcome-compact h2{font-size:34px}.welcome-compact .welcome-intro{font-size:13px;margin-bottom:20px}.welcome-compact-steps{padding:2px 12px}.welcome-compact-steps li{padding:11px 0}.welcome-actions .btn{font-size:12px;padding:10px 8px}}

.drive-pip-tip{display:flex;align-items:flex-start;gap:10px;margin:4px 0 16px;padding:12px 14px;border:1px solid #efd6ca;border-radius:10px;background:var(--soft);font-size:12px;line-height:1.6;color:var(--muted)}
.drive-pip-tip>.ui-icon{flex:none;width:20px;height:20px;margin-top:1px;color:var(--accent)}
.drive-pip-tip strong{display:block;font-size:12px;font-weight:600;color:var(--ink)}
.proof-modal .drive-pip-tip p{font-size:12px;line-height:1.6;margin:2px 0 0;color:var(--muted)}
@media(max-width:600px){.drive-pip-tip{padding:12px;gap:9px}}

/* Keep dialogs scrollable without a visible scrollbar track. */
.modal{scrollbar-width:none;-ms-overflow-style:none}
.modal::-webkit-scrollbar{display:none;width:0;height:0}

/* A shared baseline and quiet dividers make lift facts easier to compare. */
.proof-modal .lift-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:20px 0;background:var(--card,#fff);border:1px solid var(--line);border-radius:14px;margin-bottom:24px}
.proof-modal .lift-summary>div{min-width:0;padding:0 20px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.proof-modal .lift-summary>div+div{border-left:1px solid var(--line)}
.proof-modal .lift-summary span{font-size:12px;line-height:18px;margin:0;font-weight:500;color:var(--muted)}
.proof-modal .lift-summary strong{display:flex;align-items:baseline;gap:5px;font-size:38px;line-height:1;font-weight:600;letter-spacing:-.02em;white-space:nowrap}
.proof-modal .lift-summary>div:first-child strong{color:var(--accent)}
.proof-modal .lift-summary small{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:13px;line-height:1;font-weight:500;letter-spacing:0;color:var(--muted)}
@media(max-width:600px){.proof-modal .lift-summary{padding:18px 0;border-radius:12px;margin-bottom:20px}.proof-modal .lift-summary>div{padding:0 12px;gap:10px}.proof-modal .lift-summary span{font-size:11px;line-height:16px;min-height:32px}.proof-modal .lift-summary strong{font-size:32px}.proof-modal .lift-summary small{font-size:12px}}
@media(max-width:360px){.proof-modal .lift-summary>div{padding:0 9px}.proof-modal .lift-summary strong{font-size:28px;gap:3px}}

/* Match numeric display cards to the proof summary. */
.profile-stats,.reference-metrics{display:grid;gap:0;padding:20px 0;background:var(--card,#fff);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.profile-stats>div,.reference-metrics>div{display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-width:0;padding:0 20px;border:0}
.profile-stats>div+div,.reference-metrics>div+div{border-left:1px solid var(--line)}
.profile-stats span,.reference-metrics span{order:-1;font-size:12px;line-height:18px;font-weight:500;color:var(--muted)}
.profile-stats strong,.reference-metrics strong{font-family:'Barlow Condensed',sans-serif;font-size:38px;font-weight:600;line-height:1;letter-spacing:-.02em;margin:0;font-variant-numeric:tabular-nums}
.profile-stats>div:first-child strong,.reference-metrics>div:first-child strong{color:var(--accent)}
.profile-best{background:var(--card,#fff);border:1px solid var(--line);border-radius:14px;padding:20px;gap:20px}
.profile-total-label{font-size:12px;line-height:18px;font-weight:500;color:var(--muted)}
.profile-best .profile-total-main strong{font-size:38px;font-weight:600;line-height:1;color:var(--accent)}
.profile-total-main{gap:10px}.profile-best small{font-size:13px;font-weight:500}
.drive-help-note+.drive-help-note{border-top:1px solid #efd6ca;margin-top:12px;padding-top:12px}
@media(max-width:600px){.profile-stats,.reference-metrics{padding:18px 0;border-radius:12px}.profile-stats>div,.reference-metrics>div{padding:0 12px}.profile-stats span,.reference-metrics span{font-size:11px;line-height:16px}.profile-stats strong,.reference-metrics strong,.profile-best .profile-total-main strong{font-size:32px}.profile-best{padding:18px 12px;border-radius:12px}}
@media(max-width:360px){.profile-stats>div,.reference-metrics>div{padding:0 9px}.profile-stats strong,.reference-metrics strong{font-size:28px}}

.drive-pip-tip>div{width:100%;min-width:0}.drive-help-note{display:flex;align-items:flex-start;gap:10px}.drive-help-note>.ui-icon{flex:none;width:20px;height:20px;margin-top:1px;color:var(--accent)}.drive-help-note>div{min-width:0}

/* Fill every filter row while keeping each control readable. */
.filters>.toggle{flex:1 1 auto;min-width:0}
.filters>.toggle button{flex:1 1 auto;text-align:center;white-space:nowrap}
.filters>.filter-picker{flex:1 1 140px;min-width:0}
.filters>.filter{flex:1 1 100px;min-width:0}
@media(max-width:600px){
 .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
 .filters>.toggle{grid-column:1/-1;width:100%}
 .filters>.toggle button{flex:1 1 0;padding-left:8px;padding-right:8px}
 .filters>.filter-picker,.filters>.filter{width:100%;min-width:0}
 .filters .filter-select{width:100%}
}

/* Laurel awards keep the first three ranks distinct without enlarging rows. */
.board-scroll .rank.podium{position:relative;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:0;background:none;box-shadow:none;font-family:'Barlow Condensed',sans-serif;font-size:23px;font-weight:600;line-height:1;color:var(--award-ink)}
.rank.podium-1{--award-ink:#8b6416;--award-soft:#fff4d5}
.rank.podium-2{--award-ink:#637181;--award-soft:#eef2f6}
.rank.podium-3{--award-ink:#9b5b38;--award-soft:#faeee5}
.board-scroll .rank.podium:before{content:'';position:absolute;inset:0;background:var(--award-ink);mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M15%2035C5%2030%203%2017%2010%209M29%2035C39%2030%2041%2017%2034%209%22%2F%3E%3Cg%20fill%3D%22white%22%20stroke%3D%22none%22%3E%3Cellipse%20cx%3D%227%22%20cy%3D%2213%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(-25%207%2013)%22%2F%3E%3Cellipse%20cx%3D%226%22%20cy%3D%2221%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(-45%206%2021)%22%2F%3E%3Cellipse%20cx%3D%229%22%20cy%3D%2229%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(-55%209%2029)%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2217%22%20rx%3D%222%22%20ry%3D%223.5%22%20transform%3D%22rotate(35%2012%2017)%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2225%22%20rx%3D%222%22%20ry%3D%223.5%22%20transform%3D%22rotate(25%2012%2025)%22%2F%3E%3Cellipse%20cx%3D%2237%22%20cy%3D%2213%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(25%2037%2013)%22%2F%3E%3Cellipse%20cx%3D%2238%22%20cy%3D%2221%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(45%2038%2021)%22%2F%3E%3Cellipse%20cx%3D%2235%22%20cy%3D%2229%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(55%2035%2029)%22%2F%3E%3Cellipse%20cx%3D%2232%22%20cy%3D%2217%22%20rx%3D%222%22%20ry%3D%223.5%22%20transform%3D%22rotate(-35%2032%2017)%22%2F%3E%3Cellipse%20cx%3D%2232%22%20cy%3D%2225%22%20rx%3D%222%22%20ry%3D%223.5%22%20transform%3D%22rotate(-25%2032%2025)%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M15%2035C5%2030%203%2017%2010%209M29%2035C39%2030%2041%2017%2034%209%22%2F%3E%3Cg%20fill%3D%22white%22%20stroke%3D%22none%22%3E%3Cellipse%20cx%3D%227%22%20cy%3D%2213%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(-25%207%2013)%22%2F%3E%3Cellipse%20cx%3D%226%22%20cy%3D%2221%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(-45%206%2021)%22%2F%3E%3Cellipse%20cx%3D%229%22%20cy%3D%2229%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(-55%209%2029)%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2217%22%20rx%3D%222%22%20ry%3D%223.5%22%20transform%3D%22rotate(35%2012%2017)%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2225%22%20rx%3D%222%22%20ry%3D%223.5%22%20transform%3D%22rotate(25%2012%2025)%22%2F%3E%3Cellipse%20cx%3D%2237%22%20cy%3D%2213%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(25%2037%2013)%22%2F%3E%3Cellipse%20cx%3D%2238%22%20cy%3D%2221%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(45%2038%2021)%22%2F%3E%3Cellipse%20cx%3D%2235%22%20cy%3D%2229%22%20rx%3D%222%22%20ry%3D%224%22%20transform%3D%22rotate(55%2035%2029)%22%2F%3E%3Cellipse%20cx%3D%2232%22%20cy%3D%2217%22%20rx%3D%222%22%20ry%3D%223.5%22%20transform%3D%22rotate(-35%2032%2017)%22%2F%3E%3Cellipse%20cx%3D%2232%22%20cy%3D%2225%22%20rx%3D%222%22%20ry%3D%223.5%22%20transform%3D%22rotate(-25%2032%2025)%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;opacity:.72;z-index:-1}
.board-scroll .rank.podium:after{content:'';position:absolute;inset:10px 13px 9px;background:var(--award-soft);border-radius:4px 4px 7px 7px;z-index:-2}
.board-scroll .pending-row .rank.podium{background:none;color:var(--award-ink);border:0;box-shadow:none}

.modal-scroll-cue{position:fixed;z-index:5;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--card,#fff);color:var(--accent);box-shadow:0 3px 12px #20201e20;cursor:pointer}.modal-scroll-cue:hover{background:var(--soft)}.modal-scroll-cue:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.modal>.close{z-index:6}

.profile-notifications{margin:0 0 20px}.push-intro{display:flex;gap:12px;align-items:flex-start;margin:0 0 20px}.push-intro>.ui-icon{color:var(--accent);width:24px;height:24px;flex:none;margin-top:2px}.push-intro p,.push-status-card p,.push-footnote{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.push-status-card{padding:18px;border:1px solid var(--line);border-radius:12px;margin-bottom:18px;background:var(--card)}.push-status-card h3{font:600 15px/1.4 Inter,system-ui,sans-serif;margin:0 0 8px}.push-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.push-actions:empty{display:none}.push-footnote{font-size:11px}.push-actions .btn{flex:1 1 auto}@media(max-width:600px){.profile-notifications .btn{width:100%}.push-status-card{padding:16px}.push-actions .btn{width:100%}}
#pushError:empty{display:none}.push-status-card:last-child{margin-bottom:0}

/* Keep available voting actions visible while the proof scrolls. */
.proof-modal>.vote-dock{position:sticky;bottom:calc(-1 * var(--modal-padding));z-index:4;background:var(--card,#fff);padding:14px 0 max(14px,env(safe-area-inset-bottom));margin:20px 0 calc(-1 * var(--modal-padding));border-top:1px solid var(--line);box-shadow:0 -10px 18px -16px #20201e60;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vote-dock .btn{min-height:44px;justify-content:center}
.upload-age{display:block;color:var(--muted);font-size:10px;font-weight:400;line-height:1.5;margin-top:3px}
.submission-success{display:flex;gap:14px;align-items:flex-start;margin:20px 0 28px}.submission-success>.ui-icon{flex:none;width:32px;height:32px;padding:6px;background:#e7f4ed;color:#256444;border-radius:50%}.submission-success p{margin:0}
/* The dashboard shell stays still while its work queue scrolls. */
.modal.admin-modal{height:min(850px,calc(100dvh - 48px));overflow:hidden;display:flex;flex-direction:column}
.admin-modal:before,.admin-modal>h2{flex:none}
.admin-modal #adminBody{min-height:0;display:flex;flex:1;flex-direction:column}
.admin-modal #adminBody>.admin-intro,.admin-modal #adminBody>.admin-summary,.admin-modal #adminBody>.admin-tabs,.admin-modal #adminBody>.admin-section-head{flex:none}
.admin-modal .admin-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;align-content:start;padding:2px 3px 20px;scrollbar-width:thin}
.admin-summary .admin-summary-card{display:flex;flex-direction:column;align-items:flex-start;background:white;border:1px solid var(--line);border-radius:12px;color:var(--ink)}
.admin-modal #adminError:empty{display:none}
@media(max-width:600px){.modal.admin-modal{height:calc(100dvh - 24px)}.admin-modal:before{height:48px;margin-bottom:14px}.admin-modal .admin-intro{display:none}.admin-modal .admin-summary{margin:4px 0 14px}.admin-modal .admin-section-head{padding-top:14px}.admin-modal .admin-list{margin-top:12px}.proof-modal>.vote-dock{gap:10px}.vote-dock .btn{padding:11px 10px}}
.admin-modal .admin-list{scrollbar-width:none}.admin-modal .admin-list::-webkit-scrollbar{display:none}
@media(max-width:600px){.modal.admin-modal:before{height:56px;margin-bottom:16px}}

.modal .welcome-review-note{margin-top:24px;margin-bottom:24px}
/* Keep the mobile column cue in the heading, clear of row actions. */
.shell>.board:has(>.board-scroll){position:relative}
.table-sideways-cue{position:absolute;top:16px;right:14px;width:36px;height:36px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;background:white;color:var(--accent);box-shadow:0 2px 8px #20201e12;cursor:pointer;z-index:2}
.table-sideways-cue:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:700px){.board:has(>.table-sideways-cue:not([hidden]))>.board-head{padding-right:64px}}
/* Give the work queue most of the dashboard height. */
.modal.admin-modal{height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);--modal-padding:24px;padding:var(--modal-padding)}
.modal.admin-modal:before{height:48px;margin-bottom:16px}
.admin-modal h2{font-size:30px;margin-bottom:8px}
.admin-modal .admin-intro{margin-bottom:14px}
.admin-modal .admin-intro p{font-size:12px}
.admin-modal .admin-summary{gap:10px;margin-bottom:16px}
.admin-modal .admin-summary-card{padding:12px 14px;gap:7px}
.admin-modal .admin-summary strong{font-size:28px}
.admin-modal .admin-summary-caption{display:none}
.admin-modal .admin-section-head{padding-top:14px}
.admin-modal .admin-list{margin-top:12px}
@media(max-width:600px){.modal.admin-modal{--modal-padding:16px;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.modal.admin-modal:before{height:40px;margin-bottom:12px}.admin-modal h2{font-size:27px}.admin-modal .admin-summary-card{padding:10px;gap:5px}.admin-modal .admin-summary-label .ui-icon{display:none}.admin-modal .admin-summary{margin-bottom:12px}.admin-modal .admin-section-head p{display:none}.admin-modal .admin-section-head h3{margin:0}.admin-modal .admin-section-head{align-items:center;padding-top:10px}}

/* Section tabs use one underline; count chips filter within a section. */
.admin-modal .admin-tabs{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0;gap:24px}
.admin-modal .admin-tabs .btn{position:relative;flex:0 1 auto;min-height:44px;border:0;border-radius:0;padding:10px 2px;background:transparent;box-shadow:none;color:var(--muted);transition:color .16s}
.admin-modal .admin-tabs .btn.active{background:transparent;box-shadow:none;color:var(--accent)}
.admin-tabs .btn:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;border-radius:3px 3px 0 0;background:var(--accent);transform:scaleX(0);transition:transform .18s ease}
.admin-tabs .btn.active:after{transform:scaleX(1)}
.admin-modal .admin-tabs .btn span{border-radius:5px;line-height:18px;font-size:10px;background:#eeeee8;color:var(--muted);padding:0 6px}
.admin-modal .admin-tabs .btn.active span{background:var(--soft);color:var(--accent)}
.admin-review-filters{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0 2px;flex:none}
.review-chip{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid var(--line);border-radius:20px;background:white;color:var(--muted);font:500 11px/1.4 Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.review-chip span{font-size:10px;font-variant-numeric:tabular-nums;background:var(--bg);border-radius:10px;padding:2px 5px;min-width:18px;text-align:center}
.review-chip[aria-pressed="true"]{background:var(--soft);border-color:#dca994;color:var(--accent)}
.review-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.filters-heading{flex:1 0 100%;grid-column:1/-1;min-width:0;padding:2px 2px 4px}
.filters-heading h2{font:600 20px/1.2 'Barlow Condensed',sans-serif;margin:0 0 4px;color:var(--ink)}
.filters-heading p{font-size:11px;line-height:1.5;color:var(--muted);margin:0}
.toggle button{transition:background .18s,color .18s,box-shadow .18s}.toggle button.active{box-shadow:0 1px 4px #20201e12,inset 0 -2px var(--accent)}
.welcome-filter-note{font-size:13px;line-height:1.65;color:var(--muted);margin:20px 0}
.hero-word{display:inline-grid;position:relative;overflow:hidden;vertical-align:bottom;color:var(--accent);line-height:inherit}
.hero-word-sizer{visibility:hidden;grid-area:1/1;pointer-events:none}.hero-word-current{grid-area:1/1;display:block;will-change:transform,opacity}
@media(max-width:600px){.admin-modal .admin-tabs{gap:20px}.admin-review-filters{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:8px;scrollbar-width:thin}.review-chip{min-height:40px}.filters-heading h2{font-size:19px}}
@media(hover:hover){.btn:not(:disabled):hover{filter:brightness(.98)}.review-chip:hover{border-color:#dca994}.admin-tabs .btn:hover{color:var(--ink)}}
@media(prefers-reduced-motion:reduce){.toggle button,.review-chip,.admin-tabs .btn,.admin-tabs .btn:after{transition:none}.hero-word-current{will-change:auto}}

.admin-review-filters{scrollbar-width:none}.admin-review-filters::-webkit-scrollbar{display:none}
/* Give the mural and text enough room without shrinking the work queue. */
.modal.admin-modal:before{height:80px;margin-bottom:22px;background-size:448px 140px}
.modal p{line-height:1.65}.modal h2{line-height:1.15}
.welcome-back-modal .welcome-lede{font-size:16px;line-height:1.55;margin:10px 0 24px;color:var(--muted)}
.welcome-section{margin:0;padding:20px 0;border-top:1px solid var(--line)}
.welcome-section h3{display:flex;align-items:center;gap:9px;font:600 14px/1.45 Inter,system-ui,sans-serif;margin:0 0 10px;color:var(--ink)}
.welcome-section h3 .ui-icon{width:17px;height:17px;color:var(--accent);flex:none}
.welcome-back-modal .welcome-section p{font-size:13px;line-height:1.65;margin:0;max-width:none}
.welcome-back-modal .welcome-records{padding-top:0;border:0}
.welcome-back-modal .profile-stats{margin:12px 0 10px;padding:14px 0}
.welcome-back-modal .profile-stats>div{padding:0 16px;gap:8px;justify-content:flex-start}
.welcome-back-modal .profile-stats span{font-size:11px;line-height:16px;min-height:32px;display:block}
.welcome-back-modal .profile-stats strong{font-size:32px;line-height:1}
.welcome-back-modal .welcome-section .welcome-caption{font-size:11px;line-height:1.6;color:var(--muted)}
.welcome-back-modal .welcome-actions{margin-top:12px;padding-top:6px}
/* Natural word widths avoid gaps; extra line room preserves descenders. */
.hero-word{display:inline-block;vertical-align:baseline;line-height:1.22;padding:.08em 0;margin:-.08em 0;overflow:hidden;max-width:100%}
.hero-word-sizer{display:none}.hero-word-current{display:inline-block;line-height:inherit}
.board-head:has(#boardTitle){padding-top:22px;padding-bottom:22px}
#boardTitle{display:flex;align-items:center;gap:12px;font-size:30px;line-height:1.15}
#boardTitle:before{content:'';display:block;width:30px;height:30px;flex:none;background:var(--accent);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8m-4-5v5M7 3h10v7a5 5 0 0 1-10 0V3ZM7 5H4v3a4 4 0 0 0 4 4m9-7h3v3a4 4 0 0 1-4 4'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:600px){.modal.admin-modal:before{height:72px;margin-bottom:20px}.welcome-section{padding:18px 0}.welcome-back-modal .profile-stats>div{padding:0 10px}.welcome-back-modal .profile-stats strong{font-size:30px}#boardTitle{font-size:27px;gap:9px}#boardTitle:before{width:25px;height:25px}}

/* An overflow-clipped inline block uses its bottom edge as its baseline.
   Keep the text baseline and clip the animation independently instead. */
.hero-word{overflow:visible;vertical-align:baseline;line-height:inherit;padding:0;margin:0;clip-path:inset(-.2em -.02em -.3em -.02em)}
.hero-word-current{line-height:inherit}

/* Video preparation stays inside the proof-method panel. */
.video-editor{display:grid;gap:14px;min-width:0;padding-top:6px}
.video-editor-preview{width:100%;max-height:280px;object-fit:contain;border-radius:10px;background:#20201E}
.video-editor-meta{font-size:11px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.video-trim-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.video-trim-fields label,.video-quality-label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}
.video-editor .video-editor-guide,.form .replacement-notice{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.video-editor-actions{display:flex;gap:10px;flex-wrap:wrap}.video-editor-actions .btn{flex:1;min-width:120px;font-size:12px}
.video-editor-status{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.video-prepare-progress{width:100%;accent-color:var(--accent)}
.video-processing-source{position:absolute;left:0;bottom:0;width:1px;height:1px;opacity:.01;pointer-events:none}
@media(max-width:600px){.video-editor-preview{max-height:240px}.video-editor-actions .btn{min-width:110px}}

.video-editor [hidden]{display:none!important}
