/* Additions to the mock's stylesheet. Keep the mock's voice: mono labels, hairlines, lime only as a fill. */
.switch a{border:0;background:transparent;padding:6px 13px;border-radius:2px;font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);text-decoration:none}
.switch a[aria-pressed="true"]{background:var(--accent);color:var(--ink);font-weight:600}
.switch a:hover{background:transparent;color:var(--ink)}
.switch a .n{margin-left:6px;font-weight:600;color:var(--ink)}
@media (max-width:660px){.switch a{padding:6px 9px;font-size:10px;letter-spacing:.05em}}
.topbar .right{display:flex;gap:8px;align-items:center}
/* Tablets and the open iPhone Duo (Shay, 2026-11-27), 661 to 1100px: the team bar wrapped to three rows and held a fifth of the screen while stuck.
   Two rows here: logo with search, Settings, Activity and your picture, then the six views. The label and the name by the picture go. */
@media (min-width:661px) and (max-width:1100px){
  body.tm .topbar-in{gap:8px 12px}
  body.tm .brand{margin-right:0} body.tm .brand .logo{height:15px} body.tm .brand .prog,body.tm .topbar .who{display:none}
  body.tm .topbar .right{order:1;margin-left:auto} body.tm .gsearch input{width:150px}
  body.tm .switch{order:2;flex:0 0 100%}
}
.topbar .who{display:inline;min-width:0;font-family:"IBM Plex Mono",monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
a.ghost{text-decoration:none}
.banner.ok{border-left-color:var(--accent-edge)}
.banner.err{border-left-color:var(--ink)}
.actbar{background:var(--ink);color:var(--accent);padding:8px 16px;font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;display:flex;gap:14px;align-items:center;position:sticky;top:0;z-index:50}
.actbar form{display:inline}.actbar button{border:1px solid var(--accent);background:transparent;color:var(--accent);border-radius:2px;padding:3px 9px;font:inherit;cursor:pointer}
.form input[type=file]{padding:5px}
.form .help{font-size:12px;color:var(--ink-3);margin:0}
.inline{display:inline}
.rowbtns{display:flex;gap:6px;flex-wrap:wrap}
table.plain{min-width:0}
th.plain,td.plain{position:static}
.nw{white-space:nowrap}
/* shared: flash messages, race thumbnails, bare form controls */
.flash{border:1px solid var(--rule);border-left:3px solid var(--accent-edge);background:var(--surface);border-radius:3px;padding:12px 15px;margin-bottom:18px;font-size:13px;color:var(--ink-2)}.flash.err{border-left-color:var(--ink)}
.thumb{width:56px;height:56px;object-fit:cover;border-radius:3px;border:1px solid var(--rule)}
label{display:block}
input[type=text],input[type=email],input[type=url],input[type=date],input[type=number],input[type=password],select,textarea{font:inherit;font-size:13px;color:var(--ink);background:var(--surface);border:1px solid var(--rule);border-radius:3px;padding:7px 9px;max-width:520px}
/* Program view: sortable headers are links, filters submit without JS */
th.s a{color:inherit;text-decoration:none}
th.s a:hover,th.s a:focus-visible{background:transparent;color:var(--ink)}
.who b a{color:inherit;text-decoration:none}
span.dim{color:var(--ink-3)}
.filters label{display:inline-flex;gap:6px;align-items:center;margin:0}
.delv.focus{background:var(--surface-2)}
.delv[data-stream="race"] .nm > span{white-space:pre-wrap}
a.btn{display:inline-block;text-decoration:none}

table.static tbody tr{cursor:default}
table.static tbody tr:hover td{background:transparent}
details>summary.btn{display:inline-block;list-style:none}
/* Sponsored items on the athlete page: the spec keeps Airtable's line breaks; a long contract file name wraps */
.delv .nm .pre{display:block;white-space:pre-wrap;margin-top:3px}
.delv .contract{font-size:12.5px;color:var(--ink-2);min-width:0;max-width:260px;overflow-wrap:anywhere}
.sponsored{margin-top:14px;border-top:1px solid var(--rule)}
/* Colour code: team-only (internal) panels versus what the athlete also sees. Lime stays the action colour. */
:root{--internal:#e9eef5;--internal-edge:#7f93b2;--internal-ink:#2f425f}
.panel.internal{border-left:3px solid var(--internal-edge)}
.panel.internal>.panel-hd{background:var(--internal);border-top-right-radius:3px}
.tag{display:inline-flex;align-items:center;padding:2.5px 8px;border:1px solid var(--rule);border-radius:2px;font-family:"IBM Plex Mono",monospace;font-size:10.5px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
.tag.internal{background:var(--internal);border-color:var(--internal-edge);color:var(--internal-ink)}
.tag.shared{background:var(--band3);border-color:var(--band3-edge);color:var(--accent-ink)}
/* Tier, region and manager: a select and an "Other" text input on one form row; follower band note under the tile value */
.form .pair{display:flex;gap:6px;min-width:0}
.form .pair select{flex:1 1 60%;min-width:0}
.form .pair input{flex:1 1 40%;min-width:0}
.tile .d{font-size:11.5px;color:var(--ink-2);margin-top:2px}
/* Map view: the Leaflet panel and the square team pins (individuals are circles) */
.mapbox{height:70vh;min-height:320px;border:1px solid var(--rule);border-radius:2px}
.pin-team{border-radius:2px;border:1px solid var(--ink);box-sizing:border-box}
.panel-hd .legend{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center}
/* Public application form: checkbox and radio rows inside .form, field help and errors, the honeypot, the embed sizing */
.apply{max-width:820px}
.form .checks{display:flex;flex-wrap:wrap;gap:6px 16px}
.form .checks label,.form label.check,label.check{flex-direction:row;align-items:center;gap:7px;font-size:13px;color:var(--ink-2);display:flex;min-width:0}
.form .checks label input,label.check input{width:auto;margin:0}
.poolrule{border-top:1px solid var(--rule);padding:10px 0 4px;margin-top:10px}
.poolrule .check{margin-top:8px}
.form small.help{font-size:11.5px;color:var(--ink-3)}
.form small.ferr{font-size:12px;color:var(--ink);font-weight:600}
.form label.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
body.embed{background:var(--surface)}body.embed .wrap{padding:6px 8px 12px}body.embed .panel{border:0}body.embed .panel-hd{padding-top:4px}
/* Scorecard: one mono criterion label, three rubric rows */
.crit{padding:8px 0;border-bottom:1px solid var(--hair)}.crit:last-of-type{border-bottom:0}
.crit .crit-row{padding:3px 0;align-items:start}.crit .crit-row b{font-family:"IBM Plex Mono",monospace;font-size:11px;min-width:12px}
/* Application detail: two columns that collapse on phones */
.cols.detail{grid-template-columns:1fr 1.15fr}   /* the workspace column (conversation, notes) gets the room now (2026-10-23) */
.cols.detail>*{min-width:0}   /* a long unbreakable line (an address list, a URL) must never widen a column past the page */
@media (max-width:900px){.cols.detail{grid-template-columns:1fr}}
/* Tier badges (brief 2026-10-15): the definition is the title; an unknown slug keeps the plain .chip look */
.chip.tier i{background:currentColor;opacity:.5}
.chip.tier-platinum i,.chip.tier-gold i,.chip.tier-silver i,.chip.tier-custom i{opacity:1}
.chip.tier-platinum{background:#e9eef5;border-color:#7f93b2}.chip.tier-platinum i{background:#7f93b2}
.chip.tier-gold{background:#f7ebb6;border-color:#cfae3a}.chip.tier-gold i{background:#cfae3a}
.chip.tier-silver{background:#ececec;border-color:#b5b5b5}.chip.tier-silver i{background:#b5b5b5}
.chip.tier-custom{background:#efe6f7;border-color:#b394d6}.chip.tier-custom i{background:#b394d6}
.chip.tier-none{background:transparent;border-style:dashed;color:var(--ink-3)}
/* The tier list on Settings > Tiers */
.dl.tierdefs dd{font-size:12.5px;color:var(--ink-2)}
/* Public form: one column so every label sits above its control and the controls line up; short answers get short controls */
.apply .form{grid-template-columns:1fr}
.apply .form select,.apply .form input[type=number],.apply .form input[type=tel]{max-width:320px}
/* Program filters: two rows (Filter, View) inside one GET form */
.filters + .filters{margin-top:8px}
.filters:has(+ .filters){margin-bottom:0}
/* Settings: a sticky left nav and one section at a time, by :target, no JavaScript */
.setpage{display:grid;grid-template-columns:200px 1fr;gap:18px;align-items:start}
.setnav{position:sticky;top:12px;display:flex;flex-direction:column;gap:4px}
.setnav a{display:block;padding:7px 11px;border:1px solid var(--rule);border-radius:2px;background:var(--surface);font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);text-decoration:none}
.setnav a:hover{border-color:var(--ink);color:var(--ink)}
.setbody{min-width:0}
.setbody .sect{scroll-margin-top:12px}
.setbody:not(:has(.sect:target)) .sect:not(:first-child){display:none}
.setbody:has(.sect:target) .sect:not(:target){display:none}
.setpage:not(.progpage):not(:has(.sect:target)) .setnav a:first-child{background:var(--accent);color:var(--ink);font-weight:600}   /* Settings only: the Program nav marks its own entry with .on */
.setpage:has(#frameworks:target) .setnav a[href="#frameworks"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#benchmarks:target) .setnav a[href="#benchmarks"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#tiers:target) .setnav a[href="#tiers"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#roster:target) .setnav a[href="#roster"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#outlets:target) .setnav a[href="#outlets"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#email:target) .setnav a[href="#email"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#applications:target) .setnav a[href="#applications"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#approvals:target) .setnav a[href="#approvals"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#google:target) .setnav a[href="#google"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#instagram:target) .setnav a[href="#instagram"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#sales:target) .setnav a[href="#sales"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#backups:target) .setnav a[href="#backups"]{background:var(--accent);color:var(--ink);font-weight:600}
@media (max-width:760px){.setpage{grid-template-columns:1fr}.setnav{position:static;flex-direction:row;flex-wrap:wrap}}
/* Map > Without a pin: each row is a small location form; the inputs take the column width */
table.pinedit td{vertical-align:middle}
table.pinedit select,table.pinedit input[type=text]{font:inherit;font-size:13px;color:var(--ink);background:var(--surface);border:1px solid var(--rule);border-radius:3px;padding:5px 8px;width:100%;min-width:110px;box-sizing:border-box}
table.pinedit input[name=postal_code]{min-width:90px;max-width:140px}
table.pinedit form{margin:0}
/* Program row: "Edit baseline" is a muted link in the last column to its own page */
a.rowedit{display:block;margin-top:4px;font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-3);opacity:.7;text-decoration:none}
a.rowedit:hover{opacity:1;text-decoration:underline}
.baseline-form input[type=number]{font:inherit;font-size:13px;color:var(--ink);background:var(--surface);border:1px solid var(--rule);border-radius:3px;padding:5px 8px;width:84px;text-align:right}
table.static tr.changed td{background:var(--accent-soft, #f4f9dc)}
/* Program sections: the Settings nav, driven by the query string instead of :target; counts on the right */
.setnav a.on{background:var(--accent);color:var(--ink);font-weight:600}
.setnav .cnt{float:right;font-weight:400;color:var(--ink-3)}
.setnav a.on .cnt{color:var(--ink)}
.progpage{--ink-3:#6b6b6b}   /* the small labels here carry the reading: 5.3:1 on white, where the site's #8a8a8a is 3.45:1 and under AA */
.progpage .setbody>.kpis{margin-bottom:18px}
h2.sub{font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px}
/* Manage and other forms: a two-line label must not push its control out of line with the row; controls sit on a common baseline */
.form label{justify-content:flex-end}
.form label span{line-height:1.35}
.form label .pair,.form label input,.form label select,.form label textarea{margin-top:auto}
/* Program tiles (2026-11-06): three across and two rows on a laptop and up, the grey commission tile filling the second row. Every tile shares the strip's rows through subgrid, so the labels, the headlines
   and the rule under them line up across a row. Every cell has a right and bottom divider and the strip a left and top one, so the lines form a full grid however they wrap. */
.progpage .kpis{grid-template-columns:minmax(0,1fr);gap:0;background:var(--surface);border-top:1px solid var(--rule);border-left:1px solid var(--rule)}
@media (min-width:761px){.progpage .kpis:not(.slakpis){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(12,auto)}
  .kpi.ovw{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:3px} .kpi.ovw.legacy{grid-column:span 2} .kpi.legacy .ovwl{grid-template-columns:1fr auto 1fr auto;column-gap:14px}}
@media (min-width:1024px){.progpage .kpis:not(.slakpis){grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(8,auto)}}
.kpi.ovw.legacy{background:var(--surface-2)} .kpi.legacy .v{color:var(--ink-2)} .kpi.legacy .ovwl{border-top-color:var(--sunk)} .kpi.legacy .ovwl dd{color:var(--ink-2)}   /* what is going away reads quieter than what stays */
.kpi.ovw .foot{margin:9px 0 0;font-size:11.5px;line-height:1.4;color:var(--ink-2)} .kpi.ovw .foot b{font-weight:600;color:var(--ink)}
.progpage .kpi{border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);margin-bottom:0}
.progpage .kpi .spec{min-height:30px;display:flex;align-items:flex-end}
.progpage .kpi.ovw .spec{min-height:0}
.kpi.ovw .v{font-size:22px;white-space:nowrap}
.kpi.ovw .v small{font-size:14px;font-weight:500;color:var(--ink-2);letter-spacing:0}
.bandbar{display:flex;gap:2px;height:10px;margin-top:12px}
.bandbar a{min-width:4px;border:1px solid transparent;border-radius:1px}
.bandbar a:hover{border-color:var(--ink)}
.bandbar .B1,.bandkey i.B1{background:#55700f;border-color:#55700f} .bandbar .B2,.bandkey i.B2{background:var(--accent-edge);border-color:var(--accent-edge)} .bandbar .B3,.bandkey i.B3{background:var(--band3-edge);border-color:#c8d8a0} .bandbar .B0,.bandkey i.B0{background:#c4c4c4;border-color:#c4c4c4} .bandbar .BX,.bandkey i.BX{background:transparent;border:1px dashed var(--ink-3)}   /* one hue, dark to light, for the bands that scored, then neutrals: the chips' pale fills all read as white at this size */
.bandkey{display:flex;flex-wrap:wrap;gap:2px 10px;margin-top:6px;font-size:11.5px;color:var(--ink-2)}
.bandkey a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:4px;white-space:nowrap} .bandkey a:hover{color:var(--ink)} .bandkey b{font-weight:600;color:var(--ink)}
.bandkey i{width:9px;height:9px;border-radius:1px;border:1px solid transparent}
.ovwl{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:7px 0 0;padding-top:9px;border-top:1px solid var(--rule);font-size:12.5px;line-height:1.4}
.ovwl dt{color:var(--ink-2);font-weight:400;min-width:0} .ovwl dt a{color:inherit} .ovwl dd{margin:0;text-align:right;white-space:nowrap;font-weight:500;color:var(--ink)}
.kpi.ovw .spec{color:var(--ink-2)} .kpi.ovw .d{font-size:12px;line-height:1.4}
#tbl tr.grouphd td{background:var(--sunk);padding:9px 8px;font-size:12.5px;cursor:default}
#tbl tr.grouphd .n{margin-left:4px} #tbl tr.grouphd .why{color:var(--ink-2);margin-left:14px}
.idlewhy{font-size:12px;color:var(--ink-2);white-space:nowrap}
.filters .season{display:inline-flex;align-items:center;gap:8px}
.progsections .navhd{margin:12px 0 2px;padding:0 2px}
.progsections a.mgr{padding:5px 11px}
.progsections a.mgr.on{background:var(--surface);border-color:var(--ink);color:var(--ink);font-weight:600}   /* one lime per nav: the track. A view inside it is an outline */
/* Roster rows: one grey line under the name, sentence case; a row's edit link waits for the row */
.progpage #tbl .who{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:6px}
.progpage #tbl .who .nameline{flex-basis:100%} .progpage #tbl .who .unitbtn{order:5}
.progpage #tbl .who .sub.mgr,.progpage #tbl .who .ident .sub,.progpage #tbl .who .ident .spec{font-family:inherit;font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--ink-2)}
.progpage #tbl .who .sub.mgr::after,.progpage #tbl .who .ident .spec:not(:last-child)::after{content:" ·"} .progpage #tbl .who .ident{margin-top:0}
.setnav a .cnt{margin-left:6px}
@media (max-width:760px){.progsections .navhd{flex-basis:100%}}
@media (hover:hover){.progpage #tbl tr:not(:hover):not(:focus-within) a.rowedit{opacity:0}}
/* Manage > Sponsored items: one row per item, the edit form appears below the table for the row being edited */
table.sptable td{vertical-align:middle}
table.sptable td.spnotes{font-size:12px;color:var(--ink-2);max-width:360px;white-space:normal}
table.sptable tr.editing td{background:var(--accent-soft, #f4f9dc)}
.spform .form{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.spform .form textarea{min-height:48px}
/* Program > No email: an address box and Save on each row */
.emailrow{display:flex;gap:6px;align-items:center;margin:0}
.emailrow input[type=email]{font:inherit;font-size:13px;color:var(--ink);background:var(--surface);border:1px solid var(--rule);border-radius:3px;padding:5px 8px;width:240px;min-width:160px}
/* Program > Followers: the band name with its range underneath, so the label reads at a glance; the exact count sits on hover */
td.fband{white-space:nowrap}
td.fband .spec{margin-top:1px}
/* Small tables (baseline editor and its confirmation) fit their panel instead of taking the roster table's minimum width */
table.static.compact{min-width:0;width:100%}
table.static.compact td.r input{margin-left:auto}
/* Program table: fits a laptop without a horizontal scroll. Tier and region ride in the Athlete cell, the band chip under the score. */
.progpage #tbl th,.progpage #tbl td{padding-left:7px;padding-right:7px}
.who .ident{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;margin-top:2px}
.who .ident .chip{font-size:10px;padding:1.5px 6px 1.5px 5px;color:var(--ink-2)}
.who .ident .spec{color:var(--ink-3)}
.who .ident .sub{font-size:11px;color:var(--ink-3)}
.bandline{display:flex;justify-content:flex-end;gap:4px;margin-top:4px;white-space:nowrap}

/* The reviewer's queue (spec 2026-10-20): tabs above the filters and the waiting age */
.qtabs{display:flex;align-items:center;gap:4px;margin:0 0 12px;border-bottom:1px solid var(--rule)}
.qtabs a{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px}
.qtabs a[aria-current=page]{color:var(--ink);border-bottom-color:var(--ink)}
.qtabs a .n{font-size:10px;padding:0 5px;border-radius:9px;background:var(--surface-2);color:var(--ink-2)}
.age{font-family:"IBM Plex Mono",monospace;font-weight:600;font-variant-numeric:tabular-nums}
.age.warn{color:#9a6b00}
.age.hot{color:#b3261e}
.sigs{display:flex;flex-wrap:wrap;gap:3px;align-items:center;max-width:240px}
.queue td{vertical-align:middle}
.queue td.sub2{font-size:12.5px;color:var(--ink-2);max-width:200px}
.queue .sub{display:block;font-size:11px;color:var(--ink-3);white-space:nowrap;margin-top:2px}
.queue .age{font-size:13px;display:block;line-height:1.2}
.queue .who span{white-space:nowrap}
.owner{display:inline-flex;align-items:center;gap:8px;margin-left:auto;flex-wrap:wrap}
.owner select{font-size:12px;padding:3px 6px}
.hist{display:grid;grid-template-columns:auto auto 1fr;gap:6px 12px;font-size:12.5px;align-items:baseline}
.hist .hrow{display:contents}
.hist .hrow span:nth-child(2){color:var(--ink-2)}
/* The partnership mailbox (spec 2026-10-21): one block per Gmail thread, one disclosure per message */
.thread{padding:10px 0;border-top:1px solid var(--hair)} .thread:first-child{border-top:0;padding-top:0}
.thread-hd{display:flex;align-items:center;gap:10px;margin-bottom:4px;font-size:13px} .thread-hd .ghost{margin-left:auto;font-size:11px}
.mail summary{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 0;font-size:12.5px;list-style:none}
.mail summary::-webkit-details-marker{display:none}
.mail .from{color:var(--ink-2);white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.mail .snip{color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
.mail[open] .snip{display:none}
.mailbody{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12.5px;color:var(--ink-2);border-left:2px solid var(--rule);padding:6px 10px;margin:4px 0 8px 2px;max-height:360px;overflow:auto}
.bulkbar{display:flex;align-items:center;gap:10px;margin:0 0 10px} .bulkbar select{font-size:12px;padding:3px 6px}
.queue td.tick,.queue th.tick{width:28px;padding-right:0} .queue td.tick input,.queue th.tick input{margin:0;cursor:pointer}
/* The pipeline board (2026-10-23): one column per pre-contract stage, cards drag between them */
.board{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:start}
.board .col{background:var(--surface-2);border:1px solid var(--hair);border-radius:4px;padding:8px;min-height:120px}
.board .col.over{border-color:var(--accent-edge);background:var(--band3)}
.board .col-hd{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px}
.board .col-hd .n{font-family:"IBM Plex Mono",monospace;font-size:11px;color:var(--ink-3)}
.board .card{background:var(--surface);border:1px solid var(--rule);border-radius:4px;padding:10px 10px 8px;margin-bottom:8px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.board .card[draggable=true]{cursor:grab} .board .card.drag{opacity:.5}
.board .card .who{min-width:0} .board .card .meta{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:6px}
.board .card a.appnote{color:var(--ink-2)} .board .card a.appnote.due{color:#b3261e}
.board .card form.move{margin-top:8px} .board .card form.move select{font-size:11px;padding:2px 4px;color:var(--ink-2)}
@media (max-width:900px){.board{grid-template-columns:1fr}}
/* The application workspace (2026-10-23): whose move it is, and a scorecard that folds */
.convo{display:flex;align-items:center;gap:10px;margin:0 0 16px} .convo .revive{margin-left:auto}
details.fold>summary{cursor:pointer;list-style:none} details.fold>summary::-webkit-details-marker{display:none}
details.fold>summary .spec{color:var(--ink-3)} details.fold[open]>summary{border-bottom:1px solid var(--hair)}
details.fold:not([open])>summary{border-bottom:0}
/* The answers as filed (2026-10-23): the applicant's own words, set apart from the team's panels and folded once the team has acted */
.panel.filed{border-left:3px solid var(--band0-edge);background:#fbfbf9}
.panel.filed>details>summary.panel-hd{background:#f3f2ee;border-top-right-radius:3px}
.panel.filed h3{font-family:"IBM Plex Mono",monospace;font-size:10px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);margin:18px 0 6px;padding-top:12px;border-top:1px solid var(--hair)}
.panel.filed .dl dd{color:var(--ink-2)}
/* History (2026-10-23): the record, read only, in grey so it reads as fixed */
.panel.readonly{border-left:3px solid var(--o5)}
.panel.readonly>.panel-hd{background:var(--surface-2)}
.panel.readonly .hist{color:var(--ink-2)}
/* Three looks for three meanings (2026-10-23, Shay): a square chip is the team's own state (decision, band); a rounded tag is what
   the answers suggest, + for promising and ! for caution; a dot and plain words are what the applicant sees */
.sig{display:inline-flex;align-items:center;gap:4px;padding:0 8px 0 6px;border:1px solid var(--rule);border-radius:999px;background:var(--surface);font-size:11.5px;line-height:19px;color:var(--ink-2);white-space:nowrap}
.sig::before{font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:11px}
.sig.up::before{content:"+";color:var(--accent-ink)}
.sig.down{border-color:#ecd3ca;background:#fdf6f3;color:#7d3516}
.sig.down::before{content:"!";color:#b3261e}
.seen{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-2);white-space:nowrap}
.seen::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ink-3);flex:none}
.seen.received::before{background:transparent;box-shadow:inset 0 0 0 1.5px var(--ink-3)}
.seen.under_review::before{background:#d39b00}
.seen.accepted::before{background:#3d8b2a}
/* Faces (2026-10-23): uploaded photos, or the generated pixel creature (.px keeps its pixels sharp) */
.av{position:relative;display:inline-flex;flex:none;width:26px;height:26px;border-radius:50%;vertical-align:middle}
.av img{width:100%;height:100%;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px var(--rule);background:var(--surface-2)}
.av img.px{image-rendering:pixelated}
.av.none{box-shadow:inset 0 0 0 1px var(--ink-3);border-radius:50%;opacity:.5;background:repeating-linear-gradient(45deg,transparent 0 3px,var(--hair) 3px 5px)}
.av[data-name]{cursor:default;outline-offset:2px}
.av[data-name]:hover::after,.av[data-name]:focus-visible::after{content:attr(data-name);position:absolute;left:calc(100% + 6px);top:50%;transform:translateY(-50%);z-index:6;
  padding:3px 8px;border-radius:3px;background:var(--ink);color:#fff;font-size:11.5px;line-height:1.4;white-space:nowrap;pointer-events:none}
.av.sm{width:22px;height:22px} .av.md{width:40px;height:40px} .av.lg{width:112px;height:112px}
.topbar .me{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:inherit}
.topbar .me:hover .who{color:var(--ink)}
.profile{display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:start}
.profile .face{display:flex;flex-direction:column;align-items:center;gap:10px}
.profile form.inline{display:inline}
.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.people a{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--rule);border-radius:4px;background:var(--surface);text-decoration:none;color:inherit}
.people a:hover{border-color:var(--ink-3)}
.people .nm{display:flex;flex-direction:column;min-width:0} .people .nm b{font-weight:600}
@media (max-width:600px){.profile{grid-template-columns:1fr}.profile .face{align-items:flex-start}}
/* Triage (2026-10-23, Shay): colour only where it changes what the reviewer does. Green is High potential, blue they wrote back,
   amber something to ask or a wait from 3 days, red a caution signal or a wait from 7 days; everything else stays grey. */
.tstrip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 12px}
.tstrip a{display:flex;flex-direction:column;gap:2px;padding:9px 12px;border:1px solid var(--hair);border-radius:4px;background:var(--surface-2);text-decoration:none;color:var(--ink-2)}
.tstrip a b{font-family:"IBM Plex Mono",monospace;font-size:20px;font-weight:600;color:var(--ink);line-height:1.1}
.tstrip a span{font-size:12px}
.tstrip a.on{border-color:var(--ink);background:var(--surface)}
.tstrip a.t-act b{color:#1f5fa8} .tstrip a.t-clarify b{color:#8a5a00}
.qchips{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.qchips a{font-size:12px;padding:3px 11px;border-radius:999px;border:1px solid var(--rule);color:var(--ink-2);text-decoration:none;background:var(--surface)}
.qchips a.on{border-color:var(--ink);color:var(--ink);background:var(--surface-2)} .qchips a.clear{border-style:dashed}
table.queue.tri{table-layout:fixed;width:100%;min-width:860px}
table.queue.tri+details,details.tgroup+details.tgroup{margin-top:0}
details.tgroup>summary{display:flex;align-items:baseline;gap:8px;padding:12px 0 6px;cursor:pointer;list-style:none;border-bottom:1px solid var(--rule);min-width:860px}
details.tgroup>summary::-webkit-details-marker{display:none}
details.tgroup>summary::before{content:"\25B8";font-size:10px;color:var(--ink-3);transition:transform .15s}
details.tgroup[open]>summary::before{transform:rotate(90deg)}
details.tgroup>summary b{font-family:"Saira Condensed","Arial Narrow",sans-serif;font-size:15px;letter-spacing:.02em;text-transform:uppercase}
details.tgroup>summary .n{font-family:"IBM Plex Mono",monospace;font-size:11px;padding:0 6px;border-radius:9px;background:var(--surface-2);color:var(--ink-2)}
details.tgroup>summary .gnote{font-size:12px;color:var(--ink-3)}
details.tgroup.g-act>summary .n{background:#e3eefb;color:#1f5fa8} details.tgroup.g-clarify>summary .n{background:#fbf0d9;color:#8a5a00}
.queue.tri .who .asks{display:block;font-size:11.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.pot{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:1px 9px;border-radius:3px;border:1px solid transparent}
.pot::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.pot.high{background:#e4f3e0;color:#25642a;border-color:#b9dcb2}
.pot.medium{background:var(--surface-2);color:var(--ink-2);border-color:var(--rule)}
.pot.low{background:transparent;color:var(--ink-3);border:1px dashed var(--rule)}
.next{font-size:13px;font-weight:600;color:var(--ink);text-decoration:none}
a.next:hover{text-decoration:underline}
.next.g-act{color:#1f5fa8} .next.g-clarify{color:#8a5a00} .next.g-waiting,.next.g-closed{font-weight:400;color:var(--ink-3)}
.queue.tri td .sub{white-space:normal}
.queue.tri td{vertical-align:top} .queue.tri .next{display:block;margin:0 0 6px;padding:5px 12px;line-height:1.3} .queue.tri a.next,.queue.tri a.next:hover{text-decoration:none}   /* the athlete page's Next card styles .next with an 18px bottom margin; in the queue the box tops line up with the applicant name instead */
.why{font-size:12px;line-height:1.7}
.why .w{display:inline-block;margin-right:8px;white-space:nowrap;color:var(--ink-2)}
.why .w.up::before{content:"+ ";color:var(--accent-ink);font-weight:600}
.why .w.down{color:#a1261b} .why .w.down::before{content:"! ";font-weight:600}
.why .more{font-size:11px;color:var(--ink-3)}
.potrow{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin-top:6px}
.potrow form.seg{display:inline-flex;gap:4px;margin-left:auto}
.potrow form.seg .btn{padding:3px 10px;font-size:11px}
.potrow form.seg .btn.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.checks.clarify{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:4px 12px;margin:8px 0 6px}
.brief.clar{color:#8a5a00}
.crit .prefill{font-family:"IBM Plex Sans",sans-serif;font-size:11px;letter-spacing:0;text-transform:none;color:#1f5fa8;margin-left:6px}
.wgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px 12px;margin-top:12px}
.wgrid label{display:flex;flex-direction:column;gap:3px} .wgrid label span{font-size:12px;color:var(--ink-2)} .wgrid input{width:80px}
@media (max-width:760px){.tstrip{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Hover help on the Triage controls (2026-10-24, Shay): what a button does, shown on hover or keyboard focus so a reviewer learns by pointing */
.hint{position:relative}
.hint[data-tip]:hover::after,.hint[data-tip]:focus-visible::after,.hint[data-tip]:focus-within::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:0;z-index:20;
  width:max-content;max-width:260px;padding:7px 10px;border-radius:4px;background:var(--ink);color:#fff;font:400 12px/1.45 "IBM Plex Sans",system-ui,sans-serif;
  letter-spacing:0;text-transform:none;text-align:left;white-space:normal;pointer-events:none;box-shadow:0 4px 14px -6px rgba(0,0,0,.4)}
.seg .hint[data-tip]:hover::after,.seg .hint[data-tip]:focus-visible::after{left:auto;right:0}
.checks.clarify .hint[data-tip]:focus-within::after{display:none}
.checks.clarify .hint[data-tip]:hover::after{max-width:240px}
/* The drafted email is the portal working for the reviewer: say so where it happens */
.autotag{display:inline-flex;align-items:center;gap:5px;margin-left:6px;padding:1px 8px;border-radius:999px;background:#e3eefb;color:#1f5fa8;font:600 11px/1.6 "IBM Plex Sans",system-ui,sans-serif;letter-spacing:0;text-transform:none;vertical-align:1px}
.autotag::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.drafted{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid #c5daf3;border-radius:4px;background:#f3f8fe;font-size:12.5px;color:var(--ink-2)}
.drafted .autotag{margin-left:0}
/* Closing the loop (2026-10-24, Shay): after a note, ask whether the applicant should hear about it too; jump targets land below the sticky bar */
.nudge{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin-top:12px;padding:10px 12px;border:1px solid #c5daf3;border-radius:4px;background:#f3f8fe}
.nudge p{margin:0;font-size:12.5px;color:var(--ink-2)} .nudge b{color:var(--ink)}
#senddecision,#notes,#writeform,#triage,#scorecard{scroll-margin-top:90px}
/* The Decision card (2026-10-24, Shay): the decision sits on the bar, in reach while the scores stay folded */
.deccard{position:relative}
.deccard>details>summary.panel-hd{padding-right:300px}
.deccard>.decidebar{position:absolute;top:8px;right:14px;z-index:3;display:flex;align-items:center;gap:6px}
.deccard>.decidebar select{font-size:12px;padding:4px 8px;font-weight:600}
.deccard>.decidebar input{font-size:12px;padding:4px 8px;width:150px}
.deccard>.decidebar .btn{padding:4px 10px;font-size:11px}
.deccard>.decidebar .hint[data-tip]:hover::after,.deccard>.decidebar .hint[data-tip]:focus-within::after{left:auto;right:0;bottom:auto;top:calc(100% + 8px)}
@media (max-width:1100px){.deccard>details>summary.panel-hd{padding-right:16px}.deccard>.decidebar{position:static;padding:0 16px 12px;flex-wrap:wrap}}
/* Who the application is from (2026-10-25, Shay): the name first, then type, place, claimed reach, email and links */
.apphead{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin:0 0 14px}
.apphead h1{font-size:34px;line-height:1.05;letter-spacing:.01em}
.apphead p{margin:6px 0 0;font-size:14px;color:var(--ink-2)}
.apphead .contact{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px}
.apphead .contact a{color:var(--ink-2)}
.headpot{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.headpot .pot{font-size:13px;padding:3px 11px}
.headpot .sub{font-size:11.5px;color:var(--ink-3)}
.nominee .quote{display:block;margin-top:6px;font-size:12.5px;color:var(--ink-2);border-left:2px solid var(--rule);padding-left:10px;white-space:pre-wrap}
details.esc{display:inline-block} details.esc>summary{list-style:none;display:inline-block} details.esc>summary::-webkit-details-marker{display:none}
details.esc[open]{flex-basis:100%} .escform{display:grid;gap:6px;margin-top:8px;max-width:420px} .escform select,.escform textarea{font-size:12.5px}
/* Program > No email: the partnership@ search bar, and what it found under each address box */
.findbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 12px}
.findbar form{margin:0}
.findbar > .spec{margin-right:auto}
.findnote{margin-top:4px;text-transform:none;letter-spacing:0;max-width:320px;white-space:normal}
.findnote.unsure{color:#9a6b00}
.owner{display:inline-flex;align-items:center;gap:4px} .chip.owner .av{margin:-3px 0}
.panel.mine{border-left-color:var(--accent-edge)} .panel.mine>.panel-hd{background:var(--accent)} .panel.mine>.panel-hd .note{color:var(--accent-ink)}

/* The Pipeline board as steps (2026-10-26): four columns, a lime edge on what is on the viewer, the Next line, and the folded Nominate form */
.board.steps{grid-template-columns:repeat(3,minmax(0,1fr))} .board.steps .colblurb{padding:0 4px 8px;color:var(--ink-3);text-transform:none;letter-spacing:0;font-family:inherit;font-size:11.5px}
.board .col.mine{border-color:var(--accent-edge)} .board .card.mine{border-left:3px solid var(--accent-edge)}
.board .card .next{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12.5px;color:var(--ink-2)} .board .card .next b{color:var(--ink)} .board .card .next .av{margin:-2px 0}
.board .card .quote{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;margin-top:6px;font-size:12px;color:var(--ink-2);border-left:2px solid var(--rule);padding-left:8px;white-space:pre-wrap}
.board .card .rnote,.nominee .rnote{margin-top:8px;padding:6px 8px 6px 10px;border-left:3px solid var(--accent-edge);background:var(--surface-2);font-size:13px;color:var(--ink);white-space:pre-wrap;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;overflow:hidden}
.rnote .by,.quote .by{display:block;font-size:11px;color:var(--ink-3);white-space:normal} .board .card .quote.theirs{-webkit-line-clamp:3}
.board .card a.readapp{display:inline-block;margin-top:6px;font-size:12px;color:var(--ink-2)}
.board.todo{display:flex;flex-wrap:wrap;gap:12px} .board.todo .card{flex:1 1 280px;max-width:420px;margin:0}
details.nominate>summary{cursor:pointer;list-style:none} details.nominate>summary::-webkit-details-marker{display:none} details.nominate:not([open])>summary{border-bottom:0}
@media (max-width:1100px){.board.steps{grid-template-columns:repeat(2,minmax(0,1fr))}} @media (max-width:700px){.board.steps{grid-template-columns:1fr}}
/* Pipeline cards (2026-10-26, Shay: easier to read): the step leads, attributes are quiet text that expand into selects on click */
.board .card .hd{display:flex;justify-content:space-between;align-items:baseline;gap:8px} .board .card .hd .age{font-size:12px}
.board .card>.sub{display:block;font-size:12px;color:var(--ink-3);margin-top:1px}
.board .card .next{margin-top:8px;font-size:13px} .board .card .next a{font-weight:600}
.board .card>.spec,.board .card details.qe{display:block;margin-top:8px} .board .card .spec.sub2{margin-top:4px;color:var(--ink-3)}
.board .card details.qe>summary{cursor:pointer;list-style:none;display:inline-block} .board .card details.qe>summary::-webkit-details-marker{display:none}
.board .card details.qe>summary .spec{border-bottom:1px dotted var(--ink-3)} .board .card details.qe[open]>summary .spec{border-bottom-color:transparent}
.board .card .qeform{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px} .board .card .qeform form{display:inline} .board .card .qeform select{font-size:11px;padding:2px 4px;color:var(--ink-2);max-width:150px;background:var(--surface)}
.board .card details.qe>summary .spec,.board .card>.spec,.board .card .spec.sub2{text-transform:none;letter-spacing:0;font-family:inherit;font-size:12px}
/* Photo rights and sets (spec 2026-10-26, 8.1): three preset cards, the uses checklist, the release text, the thumbnail grid, the rights chip */
.rights{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rights label{position:relative;display:flex;flex-direction:column;gap:4px;padding:10px 11px;border:1px solid var(--rule);border-radius:3px;background:var(--surface);cursor:pointer;min-width:0}
.rights label.on{border-color:var(--accent-edge);background:var(--band3)}
.rights label:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.rights label b{font-size:13px;font-weight:600}
.rights label span{font-size:11.5px;color:var(--ink-2)}
.rights label input{position:absolute;opacity:0;width:0;height:0}
.uses{display:grid;grid-template-columns:repeat(2,1fr);gap:5px 14px;margin-top:10px}.uses label.check{justify-content:flex-start}
.release{margin-top:10px;padding:10px 12px;border:1px solid var(--rule);border-radius:3px;background:var(--surface-2);font-size:12.5px;color:var(--ink-2)}
.release p{margin:0}
.thumbs{display:grid;grid-template-columns:repeat(auto-fill,140px);gap:6px}
.thumbs .th{position:relative;aspect-ratio:1;border:1px solid var(--rule);border-radius:3px;overflow:hidden;background:var(--surface-2);min-width:0}
.thumbs .th img{width:100%;height:100%;object-fit:cover;display:block}
.thumbs .th .x{position:absolute;top:4px;right:4px;border:0;border-radius:2px;background:var(--ink);color:var(--surface);width:20px;height:20px;line-height:20px;padding:0;font-size:14px;cursor:pointer}
.thumbs .th.add{display:grid;place-items:center;justify-content:center;border-style:dashed;background:transparent;font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);cursor:pointer}
.minithumbs{display:flex;gap:4px;align-items:center;margin-top:6px}
.minithumbs .thumb{width:40px;height:40px}
.chip.rights-full{background:var(--band1);border-color:var(--band1-edge);color:var(--ink)}.chip.rights-full i{background:var(--band1-edge)}
.chip.rights-digital{background:var(--band3);border-color:var(--band3-edge)}.chip.rights-digital i{background:var(--band3-edge)}
.chip.rights-limited{background:var(--band0);border-color:var(--band0-edge)}.chip.rights-limited i{background:var(--ink-3)}
@media (max-width:560px){.rights{grid-template-columns:1fr}.thumbs{grid-template-columns:repeat(4,1fr)}.uses{grid-template-columns:1fr}}
.setpage:has(#rights:target) .setnav a[href="#rights"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#program:target) .setnav a[href="#program"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#earning:target) .setnav a[href="#earning"]{background:var(--accent);color:var(--ink);font-weight:600}
.setpage:has(#badges:target) .setnav a[href="#badges"]{background:var(--accent);color:var(--ink);font-weight:600}
/* Settings > Earning and > Badges (plan 3): the rules table and the badge rows take narrow inputs */
table.earning input{width:120px;font:inherit;font-size:13px;padding:5px 7px;border:1px solid var(--rule);border-radius:3px} table.earning td:first-child{min-width:220px}
/* Program signals (spec 9.2): rounded tags after the name; they sort nothing and change nothing */
.signal{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;border:1px solid var(--rule);font-family:"IBM Plex Mono",monospace;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-2);white-space:nowrap;vertical-align:middle}
.signal.warn{background:var(--band0);border-color:var(--band0-edge)} .signal.good{background:var(--band1);border-color:var(--band1-edge)}
table.ledger th.r,table.ledger td.r{text-align:right} table.ledger td.dim{max-width:360px;overflow-wrap:anywhere}
table.badges input,table.badges select{font:inherit;font-size:13px;padding:5px 7px;border:1px solid var(--rule);border-radius:3px} table.badges input[type=text]{width:150px} table.badges input[type=number]{width:96px} table.badges tr.dim input::placeholder{color:var(--ink-3)}
/* Settings > Tiers (spec 2026-10-26, section 4): one block per tier, with the expectations table */
.tierblock{border-top:1px solid var(--hair);padding-top:6px;margin-top:8px} .tierblock:first-of-type{border-top:0;margin-top:0}
table.expect input{width:110px;font:inherit;font-size:13px;padding:5px 7px;border:1px solid var(--rule);border-radius:3px}
.spark{display:block;width:100%;max-width:480px;height:auto;background:var(--surface-2);border:1px solid var(--rule);border-radius:3px}
/* The asset library (spec 2026-10-26, 8.3): a grid of tiles; an open tile spans the grid and shows the original with its rights */
.agrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.lightbox summary{list-style:none;cursor:pointer;display:block}
.lightbox summary::-webkit-details-marker{display:none}
.lightbox summary img{width:100%;aspect-ratio:1;object-fit:cover;border:1px solid var(--rule);border-radius:3px;display:block;background:var(--surface-2)}
.lightbox .meta{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;font-size:12px;color:var(--ink-2);margin-top:5px}
.lightbox .meta b{font-weight:600;color:var(--ink)}
.lightbox[open]{grid-column:1/-1}
.lightbox[open] summary img{display:none}
.lightbox[open] summary .meta::after{content:"close";font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);margin-left:auto}
.lightbox .lb{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:16px;padding:14px;border:1px solid var(--rule);border-radius:4px;background:var(--surface);margin-top:6px}
.lightbox .lb>img{max-width:100%;max-height:70vh;object-fit:contain;display:block;background:var(--surface-2);justify-self:start}
.lightbox .lbmeta{min-width:0}
.lightbox .lbmeta p{margin:0 0 8px;font-size:13px}
.minithumbs.wrap{flex-wrap:wrap}
@media (max-width:760px){.lightbox .lb{grid-template-columns:1fr}}
/* The review clock and pulled forward (2026-10-27): the SLA strip above the queue, the row mark, and each reviewer's Yes calls on Approved */
.slakpis,.progpage .kpis.slakpis{grid-template-columns:repeat(4,minmax(0,1fr))} .slakpis .kpi.team{background:var(--surface-2)} .slakpis .kpi .d a{color:inherit} .slakpis a.kpi{text-decoration:none;color:inherit} .slakpis a.kpi:hover,.slakpis a.kpi.on{background:var(--surface-2)}
.slakpis .kpi.late .v{color:#b3261e} .slakpis .kpi.won{background:var(--band3);box-shadow:inset 3px 0 0 var(--accent-edge)} .slakpis .kpi.won .d{color:var(--accent-ink)} .slakpis .v .of{font-size:15px;font-weight:500;color:var(--ink-3)}
.slamark.late{color:#b3261e;font-weight:600}
.pulled{border:1px solid var(--hair);border-radius:4px;margin:0 0 14px} .pulled .pf-hd{display:flex;gap:10px;align-items:baseline;padding:9px 12px;border-bottom:1px solid var(--hair)}
.pfrow{display:grid;grid-template-columns:auto 120px minmax(80px,200px) 110px 1fr;gap:10px;align-items:center;padding:8px 12px;border-bottom:1px solid var(--hair);font-size:13px} .pfrow:last-child{border-bottom:0}
.pfrow.mine{border-left:3px solid var(--accent-edge);padding-left:9px}
.pfbar{display:flex;height:8px;border-radius:2px;overflow:hidden;background:var(--hair)} .pfbar i{display:block;min-width:4px}
.pfbar .approved{background:var(--band1)} .pfbar .waiting{background:var(--ink-3)} .pfbar .unconverted{background:var(--rule)} .pfbar .declined{background:transparent;border-left:1px solid var(--surface)}
.pfn{color:var(--ink-2)} .pfn b{color:var(--ink)} .pfnames{color:var(--ink-2);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:900px){.slakpis,.progpage .kpis.slakpis{grid-template-columns:repeat(2,minmax(0,1fr))} .pfrow{grid-template-columns:auto 1fr 110px} .pfbar,.pfnames{grid-column:2/-1}}
/* The admin's Reviewers table (2026-10-27): every reviewer's review clock and pulled forward, under the strip */
details.revs{border:1px solid var(--rule);border-radius:4px;background:var(--surface);margin:0 0 18px} details.revs>summary{display:flex;gap:10px;align-items:baseline;padding:10px 14px;cursor:pointer}
details.revs>summary .tag{margin-left:auto} details.revs[open]>summary{border-bottom:1px solid var(--hair)} details.revs>.sub{padding:6px 14px 10px;margin:0}
.revtable{width:100%} .revtable td.num,.revtable th{white-space:nowrap} .revtable tr.mine td:first-child{box-shadow:inset 3px 0 0 var(--accent-edge)}
.revwho{display:flex;align-items:center;gap:8px}
/* Prospects (2026-10-27): the table under Nominate an athlete, with the nomination form folded below it */
.prospecttable{width:100%} .prospecttable td{vertical-align:middle} .prospecttable td:last-child{min-width:150px} .prospecttable form.move select{font-size:12px;padding:2px 4px}
.prospecttable tr.due td:first-child{box-shadow:inset 3px 0 0 var(--accent-edge)}
.panel.prospects details.nominate{margin-top:14px} .panel.prospects details.nominate>summary{display:flex;align-items:center;gap:10px} .panel.prospects details.nominate[open]>summary{margin-bottom:12px}
/* The athlete page as tabs (2026-10-27): a mono strip under the filters; sections show one at a time once the script runs, all at once without it */
.tabs{display:flex;flex-wrap:wrap;gap:2px;margin:0 0 18px;border-bottom:1px solid var(--rule)}
.tabs a{display:inline-flex;align-items:center;gap:6px;padding:9px 13px 8px;margin-bottom:-1px;border-bottom:2px solid transparent;font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);text-decoration:none;white-space:nowrap}
.tabs a:hover{color:var(--ink);background:transparent} .tabs a[aria-selected="true"]{color:var(--ink);font-weight:600;border-bottom-color:var(--ink)}
.tabs a .cnt{font-weight:500;color:var(--ink-3);letter-spacing:0} .tabs a[aria-selected="true"] .cnt{color:var(--ink-2)}
.athlete:not(.tabbed) .tab{margin-bottom:18px} .athlete .tab>.panel:first-child,.athlete .tab>.hero:first-child{margin-top:0}
@media (max-width:660px){.tabs a{padding:8px 9px 7px;font-size:10px;letter-spacing:.05em}}
/* The athlete's Profile (2026-10-27): the manager line sits in the form like a field, with the avatar and a mailto link */
.form .static{display:flex;align-items:center;gap:8px;min-height:34px;font-size:13px;color:var(--ink-2)} .form .static b{color:var(--ink)} .form .static .av{margin:0}
/* Athlete feedback (2026-10-27): the fixed Feedback control, the native dialog, the kind chips and the notes list */
.fb-pill{position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:5;padding:7px 12px;border:1px solid var(--band0-edge);border-radius:3px;background:var(--band0);color:var(--ink-2);font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.fb-pill:hover{border-color:var(--ink);color:var(--ink)}
.has-fb{padding-bottom:72px}
dialog.fb{border:1px solid var(--rule);border-radius:4px;padding:16px;max-width:520px;width:calc(100% - 32px);background:var(--surface);color:var(--ink)} dialog.fb::backdrop{background:rgba(0,0,0,.35)}
dialog.fb h2{margin:0 0 12px;font-size:15px;letter-spacing:.03em;text-transform:uppercase}
.fb-kinds{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px} .kchip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid var(--rule);border-radius:2px;background:var(--surface);font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);cursor:pointer}
.kchip input{margin:0;width:auto} .kchip:has(input:checked){background:var(--accent);border-color:var(--accent-edge);color:var(--ink);font-weight:600}
dialog.fb textarea,.fbform textarea{display:block;width:100%;max-width:none;box-sizing:border-box;min-height:120px;resize:vertical}
.fb-count{display:block;margin-top:4px} .fb-note{margin:8px 0 12px;font-size:12px;color:var(--ink-3)}
dialog.fb .row-actions a.dim{margin-left:auto;font-size:12px;color:var(--ink-3)}
.fbmsg{display:block;white-space:pre-wrap;margin-top:4px} .fbreply{display:block;white-space:pre-wrap;margin-top:8px;padding:8px 10px;border-left:2px solid var(--accent-edge);background:var(--surface-2);font-size:13px} .fbreply .dim{display:block;font-size:12px;margin-bottom:4px}
@media (max-width:360px){.fb-pill{right:8px;padding:6px 9px;font-size:10px}}
.fbfilters a.btn[aria-pressed="true"]{background:var(--accent);border-color:var(--accent-edge);color:var(--ink)} .fbfilters select{margin-left:auto}
.fbrow{align-items:start} .fbanswer{margin-top:10px} .fbanswer textarea{display:block;width:100%;max-width:520px;box-sizing:border-box} .fbrow form.inline{margin-top:6px}
.fbline{margin:0 0 14px;font-size:12.5px} .fbline a{color:var(--ink-2)}
/* Applications lanes (2026-10-28): Individuals and Teams reviewed apart */
/* Program: Scored under and the year fold behind a summary (Shay, 2026-10-28); Import: the bulk imports fold behind one admin-only summary */
details.imports>summary{list-style:none} details.imports>summary::-webkit-details-marker{display:none}
.lanerow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 12px} .lanerow form{margin-left:auto}
.lanes{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--hair);border-radius:4px;background:var(--surface-2)}
.lanes a{padding:4px 12px;border-radius:3px;font-size:12.5px;color:var(--ink-2);text-decoration:none} .lanes a.on{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:0 0 0 1px var(--hair)}
.lanes a .n{margin-left:6px;font-family:"IBM Plex Mono",monospace;font-size:11px;color:var(--ink-2)}

/* Medals (spec 2026-10-28, section 3): an ink disc with a fine lime ring and a line icon when earned; a paper disc, a dashed grey ring and a grey line when not. Drawn by medals.svg for Standing, the team's Points tab and the share card. */
.medal{width:64px;height:64px;display:block;flex:none}
.medal.sm{width:30px;height:30px}
.medal .disc{fill:var(--ink)}
.medal .ring{fill:none;stroke:var(--band1);stroke-width:1}
.medal .ring2{fill:none;stroke:var(--band1);stroke-width:.5;opacity:.55}
.medal .ic{fill:none;stroke:var(--band1);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.medal .icf{fill:var(--band1);stroke:none}
.medal.locked .disc{fill:var(--surface-2)}
.medal.locked .ring{stroke:var(--ink-3);stroke-dasharray:2.4 2.4}
.medal.locked .ring2{stroke:var(--ink-3);opacity:.5}
.medal.locked .ic{stroke:var(--ink-3)}
.medal.locked .icf{fill:var(--ink-3)}
.hall{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:18px 10px}
.medalcell{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;min-width:0;text-decoration:none;color:inherit}
.medalcell .name{font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;line-height:1.25;color:var(--ink)}
.medalcell .hint{font-size:11.5px;color:var(--ink-3);line-height:1.3}
.medalcell.locked .name{color:var(--ink-3)}
a.medalcell:hover .name{text-decoration:underline}
.medals{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.medalrow{display:inline-flex}
/* The points panel's rows expand on click (Shay, 2026-10-28); the balance and the blurb show at once */
.ptsrows summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:8px;padding:4px 0;font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2)}
.ptsrows summary::-webkit-details-marker{display:none}
.ptsrows summary::before{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-top:-3px}
.ptsrows[open] summary::before{transform:rotate(45deg);margin-top:-4px}
.ptsrows summary:hover{color:var(--ink)}
.ptsrows .feed{margin-top:10px}
.pill{display:inline-block;font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;padding:3px 8px;border:1px solid var(--rule);border-radius:2px;color:var(--ink-2);background:var(--surface-2)}
/* The share card (spec 2026-10-28, section 4): the medal at 96px, the canvas, the caption to copy */
.share-top{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.share-top .medal{width:96px;height:96px}
.share-name{margin:2px 0 4px;font-size:22px;font-weight:600;line-height:1.15}
#card{display:block;background:#15170f;border-radius:4px;margin:0 auto 14px}
.share-cap{display:block;margin-top:12px}
.share-cap input{display:block;width:100%;box-sizing:border-box;margin-top:4px;font:inherit;font-size:13px;color:var(--ink);background:var(--surface-2);border:1px solid var(--rule);border-radius:3px;padding:7px 9px}
/* The medal's page says how it is earned, lit or not (athlete feedback, 2026-11): the sentence, the bonus and whether it comes back, the count so far */
.earn{margin:0 0 16px}
.earn-how{margin:4px 0 0;font-size:15px;line-height:1.4;color:var(--ink)}
.earn-meta{margin:6px 0 0;font-size:12.5px;line-height:1.45;color:var(--ink-2)}
.earn .comprow{margin-top:14px}

/* Athlete theme (spec 2026-10-28, section 8): the athlete portal's own skin, scoped to <body class="ath"> so the team side and theme.css are untouched.
   An ink header with pill navigation, warm paper, white cards with a 10px radius and hairlines, lime once per card at most (the active tab, the earned
   medal, the approved state). IBM Plex Sans at 15px for reading, Plex Mono caps for labels, numbers and dates. Dark for everyone (Shay, 2026-10-28); the light values were dropped. */
.ath{--plane:#111310;--surface:#1a1d16;--surface-2:#20241c;--sunk:#2a2e26;--ink:#eef0e6;--ink-2:#b9bcae;--ink-3:#858879;--rule:#2d3129;--hair:#2d3129;
  --accent:#b8e63a;--accent-edge:#d6f56a;--accent-ink:#131510;--band1:#b8e63a;--band1-edge:#d6f56a;--band2:#20241c;--band2-edge:#2d3129;--band3:#20241c;--band3-edge:#2d3129;--band0:#20241c;--band0-edge:#2d3129;
  --s1:#eef0e6;--s2:#858879;--s1-soft:rgba(238,240,230,.1);--s2-soft:rgba(133,136,121,.16);--disc:#0d0f0a;--locked-ring:#4a4e45;--locked-icon:#5c6056;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px -16px rgba(0,0,0,.6);color-scheme:dark;background:var(--plane);color:var(--ink);font-size:15px}
.ath h1,.ath h2,.ath h3{font-family:"IBM Plex Sans",system-ui,-apple-system,sans-serif;font-weight:600;letter-spacing:0;text-transform:none}
.ath a:hover,.ath a:focus-visible{background:var(--accent);color:var(--accent-ink)}
/* the chrome: an ink bar in both modes, the logo inverted onto it, the navigation as pills */
.ath .topbar{background:#15170f;border-bottom:1px solid #262a22;box-shadow:0 calc(-1 * env(safe-area-inset-top,0px)) 0 0 #15170f}
.ath .topbar-in{max-width:820px;padding:12px 16px;gap:12px 14px}
.ath .brand{flex-direction:column;align-items:flex-start;gap:3px;margin-right:auto}
.ath .brand .logo{height:16px;flex:none;filter:invert(1) brightness(.96)}
.ath .brand .prog{display:block;font-size:9px;letter-spacing:.18em;color:#9fa39a}
.ath .brand a:hover,.ath .brand a:focus-visible{background:transparent}
.ath .switch{background:transparent;border:0;padding:0;gap:4px;flex-wrap:wrap}
.ath .switch a{color:#cfd2c8;border-radius:999px;padding:7px 11px;font-size:11px;letter-spacing:.1em}
.ath .switch a:hover{background:rgba(255,255,255,.08);color:#f3f3ee}
.ath .switch a[aria-pressed="true"],.ath .switch a[aria-pressed="true"]:hover{background:#c8f14f;color:#1f2a00;font-weight:500}
.ath .topbar .ghost{border:1px solid #3a3e35;background:transparent;color:#cfd2c8;border-radius:999px;padding:6px 12px}
.ath .topbar .ghost:hover{border-color:#cfd2c8;color:#f3f3ee}
.ath .actbar{background:#0b0c08;color:#c8f14f}
@media (max-width:660px){.ath .topbar-in{gap:8px 10px}.ath .brand{flex:1 1 auto}.ath .brand .logo{height:14px}.ath .topbar .right{order:1;margin-left:auto}.ath .switch{order:2;flex:0 0 100%}.ath .switch a{padding:6px 10px;font-size:10px;letter-spacing:.08em}}
.ath .wrap{max-width:820px;padding:16px 16px 28px}
.ath .has-fb{padding-bottom:28px}
/* cards */
.ath .panel{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r)}
.ath .panel-hd{padding:14px 18px 0;border-bottom:0;align-items:baseline;gap:10px}
.ath .panel-hd h2{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none}
.ath .panel-hd .note{font-size:12px;color:var(--ink-3);text-align:right}
.ath .panel-bd{padding:12px 18px 16px}
@media (max-width:520px){.ath .panel-hd{padding:12px 14px 0}.ath .panel-bd{padding:10px 14px 14px}}
.ath .filters{gap:12px}
.ath .filters > b{font-size:18px;font-weight:600;line-height:1.1}
.ath .filters .av.md{width:46px;height:46px}
.ath .filters .av.md img{box-shadow:0 0 0 2px var(--accent)}
/* buttons: ink with paper text, 6px radius, mono caps; quiet ones paper with a hairline */
.ath .btn{background:var(--ink);color:var(--plane);border:1px solid var(--ink);border-radius:var(--r-sm);padding:10px 16px;font-size:11.5px;letter-spacing:.1em;font-weight:500;text-decoration:none}
.ath .btn:hover{background:var(--ink-2);border-color:var(--ink-2);color:var(--plane)}
.ath .btn.quiet{background:var(--surface);color:var(--ink-2);border-color:var(--rule)}
.ath .btn.quiet:hover{background:var(--surface);border-color:var(--ink);color:var(--ink)}
.ath .btn.danger{background:transparent;border-color:var(--rule);color:var(--ink-3);padding:6px 10px}
.ath .btn.danger:hover{background:transparent;border-color:var(--ink);color:var(--ink)}
.ath .ghost{border-radius:999px}
/* submission rows: quiet rounded items, the kind in mono, a pill state */
.ath .feed{gap:8px}
.ath .fitem{grid-template-columns:auto minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:10px 12px;border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--surface-2);font-size:14px}
.ath .fitem:last-child{border-bottom:1px solid var(--rule)}
.ath .fitem .mo{font-size:10px;letter-spacing:.1em;width:64px;line-height:1.3}
.ath .fitem .num{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:13.5px}
@media (max-width:560px){.ath .fitem{grid-template-columns:auto minmax(0,1fr)}.ath .fitem .rowbtns{grid-column:2}}
.ath .chip{border-radius:999px;padding:4px 9px;gap:0;background:transparent;border:1px solid var(--rule);color:var(--ink-2);font-size:10px;letter-spacing:.1em}
.ath .chip i{display:none}
.ath .chip.B0,.ath .chip.B2,.ath .chip.B3,.ath .chip.BX,.ath .chip.rights-full,.ath .chip.rights-digital,.ath .chip.rights-limited{background:transparent;border:1px solid var(--rule);color:var(--ink-2)}
.ath .chip.B1{background:var(--accent);border-color:var(--accent-edge);color:var(--accent-ink)}
/* progress on a soft track with rounded ends, ink by default; the number in mono */
.ath .comprow .bar{height:8px;background:var(--sunk);border-radius:999px}
.ath .comprow .bar i{border-radius:999px}
.ath .comprow .lbl.head{font-size:14px}
.ath .comprow .val{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:13px;color:var(--ink-2)}
.ath .bigscore{margin:4px 0 8px;gap:8px}
.ath .bigscore b{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:44px;font-weight:500;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ath .bigscore b.na{font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:20px;font-weight:600;letter-spacing:0}
.ath .bigscore em{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.ath .hero{border-radius:var(--r)}
.ath .tiles{gap:8px;background:transparent;border:0}
.ath .tile{background:var(--surface);border:1px solid var(--rule);border-radius:var(--r)}
.ath .banner,.ath .flash{border-radius:var(--r);background:var(--surface);border:1px solid var(--rule);border-left-width:3px}
.ath .banner.ok,.ath .flash{border-left-color:var(--accent-edge)}
.ath .banner.err,.ath .flash.err{border-left-color:var(--ink)}
.ath .empty{border-radius:var(--r-sm);color:var(--ink-2)}
/* the hall and the medals under the theme's tokens */
.ath .hall{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:16px 8px}
.ath .medalcell .name{font-size:9.5px;letter-spacing:.1em}
.ath .medalcell .hint{font-size:11px}
.ath a.medalcell:hover,.ath a.medalcell:focus-visible{background:transparent;color:inherit}
.ath a.medalcell:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.ath a.medalcell:focus-visible .name{text-decoration:underline}
.ath .medal .disc{fill:var(--disc)}
.ath .medal.locked .disc{fill:var(--surface-2)}
.ath .medal.locked .ring,.ath .medal.locked .ring2{stroke:var(--locked-ring)}
.ath .medal.locked .ic{stroke:var(--locked-icon)}
.ath .medal.locked .icf{fill:var(--locked-icon)}
.ath .pill{border-radius:999px;font-size:10px;background:var(--surface-2);border:1px solid var(--rule);color:var(--ink-2)}
.ath #card{border-radius:var(--r)}
.ath .share-cap input{border-radius:var(--r-sm)}
/* forms and the photo set */
.ath .form input,.ath .form select,.ath .form textarea{border-radius:var(--r-sm);padding:8px 10px;font-size:14px}
.ath .rights label,.ath .release,.ath .thumbs .th{border-radius:var(--r-sm)}
.ath .rights label.on{border-color:var(--accent-edge);background:var(--surface-2)}
.ath .delv > .rowbtns{min-width:0;max-width:340px}
.ath .delv .ty{border-radius:var(--r-sm)}
/* the Feedback control: a sticky pill at the foot of the page, and its dialog */
.ath .fb-pill{position:sticky;right:auto;bottom:calc(12px + env(safe-area-inset-bottom,0px));display:block;width:max-content;margin:0 16px 14px auto;padding:9px 14px;border:1px solid var(--rule);border-radius:999px;background:var(--surface);color:var(--ink-2);font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.08);z-index:5}
.ath .fb-pill:hover{border-color:var(--ink);color:var(--ink);background:var(--surface)}
.ath dialog.fb{border-radius:var(--r);border-color:var(--rule)}
.ath dialog.fb h2{font-size:15px;letter-spacing:0;text-transform:none}
.ath .kchip{border-radius:999px}
/* Agreement (2026-10-28): the deal in one form; the signed PDF drops into a dashed box, or its Drive link goes beside it */
.dropline{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin-top:12px}
.dropzone{flex:1 1 260px;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:14px;border:1.5px dashed var(--rule);border-radius:4px;background:var(--surface-2);cursor:pointer}
.dropzone:hover,.dropzone:focus-within{border-color:var(--ink)}
.dropzone .dz-label{font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.dropzone input[type=file]{font-size:12.5px;color:var(--ink-2);max-width:100%}
.droplink{flex:1 1 220px;display:flex;flex-direction:column;gap:6px;justify-content:center;margin:0} .droplink span{font-size:12px;color:var(--ink-3)}
.agreeform details.terms{margin-top:8px} .agreeform details.terms>summary{padding:6px 0}
.dl.agree{margin-bottom:4px}
details.agree-edit{margin-top:12px} details.agree-edit>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none} details.agree-edit>summary::-webkit-details-marker{display:none}
details.agree-edit[open]>summary{margin-bottom:10px}
/* Program row (2026-10-28): the tier is a small grey tag after the name, the manager reads under it, the trend sits after the score */
.who .nameline{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;font-size:13px;color:var(--ink)}
.who .tag.tier{font-size:9.5px;padding:1px 6px;color:var(--ink-2);background:var(--surface-2);border-color:var(--hair)} .who .nameline .signal{margin-left:0}
.who .mgr{display:block;font-size:11.5px;color:var(--ink-2);margin-top:1px}
td.trendcell{white-space:nowrap;vertical-align:middle} .trend{display:inline-block;vertical-align:middle} .trend.dash{color:var(--ink-3);font-size:13px;padding-right:2px}
/* The manager's view (2026-10-28): the lifecycle bar and the next step open the athlete page, above the tab strip */
.lifeoff{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 10px;font-size:12.5px}
.life{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;margin:0 0 14px}
@media (max-width:760px){.life{grid-template-columns:repeat(4,minmax(0,1fr))}}
.stage{border-top:3px solid var(--rule);padding:8px 2px 0;min-width:0}
.stage .l{font-family:"IBM Plex Mono",monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);line-height:1.2}
.stage .d{font-size:11.5px;color:var(--ink-3);overflow-wrap:anywhere;min-height:17px}
.stage.passed{border-top-color:var(--ink)} .stage.passed .l{color:var(--ink)}
.stage.now{border-top-color:var(--accent-edge)} .stage.now .l{color:var(--ink);font-weight:600} .stage.now .d{color:var(--ink-2)}
.life.off .stage.passed,.life.off .stage.now{border-top-color:var(--band0-edge)} .life.off .stage .l,.life.off .stage .d{color:var(--ink-3);font-weight:400}
.next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;background:var(--internal);border:1px solid var(--internal-edge);border-radius:3px;padding:12px 14px;margin:0 0 18px}
@media (max-width:600px){.next{grid-template-columns:1fr}}
.next .owner{display:flex;align-items:center;gap:8px;margin-left:0} .next .owner .spec{color:var(--internal-ink)}
.next .what{min-width:0} .next b{display:block;font-size:15px;line-height:1.3} .next small{display:block;color:var(--ink-2);font-size:12.5px;margin-top:2px}
.next .owner .age{font-size:11px;letter-spacing:0}
.next .actions{display:flex;gap:8px;flex-wrap:wrap} .next .actions .btn{white-space:nowrap}
/* The fork (2026-11-26): a second branch of the next step, joined under the card, e.g. the Partner Portal welcome beside Waiting for equipment */
.next.forked{margin-bottom:0;border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}
.next.fork{border-top:1px dashed var(--internal-edge);border-top-left-radius:0;border-top-right-radius:0;padding-top:10px;padding-bottom:10px}
.next.fork b{font-size:14px} .next.fork .owner .branch{width:14px;height:14px;margin-right:-2px;border-left:2px solid var(--internal-edge);border-bottom:2px solid var(--internal-edge);border-bottom-left-radius:6px;transform:translateY(-6px)}
/* The Overview follows the stage (2026-10-28): two cards side by side, the Latest panel full width before a signature; the quote clamps to two lines */
.ovgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px} .ovgrid>.panel{min-width:0;margin:0}
@media (max-width:760px){.ovgrid{grid-template-columns:1fr} .ovgrid>.panel{grid-column:auto!important}}
#overview .tile .v .dim{font-size:14px;font-weight:500}
.ovgrid .quote{margin:0;color:var(--ink-2);font-size:13.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.ovgrid a.more{display:inline-block;margin-top:6px;font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.latest{display:grid;gap:8px} .lrow{display:grid;grid-template-columns:72px 16px minmax(0,1fr);gap:8px;font-size:13px;align-items:start}
.lrow .when{font-family:"IBM Plex Mono",monospace;font-size:11px;color:var(--ink-3);padding-top:2px} .lrow .k{width:14px;height:14px;border-radius:50%;background:var(--surface-2);border:1px solid var(--rule);margin-top:3px}
.lrow .k.note{background:var(--accent);border-color:var(--accent-edge)} .lrow .k.change{background:var(--ink);border-color:var(--ink)}
.lrow .t{min-width:0;overflow-wrap:anywhere} .lrow .t small{display:block;color:var(--ink-3);font-size:12px}
.notmeasured{margin:0 0 14px;padding:10px 12px;border:1px solid var(--rule);border-left:3px solid var(--band0-edge);border-radius:3px;background:var(--surface);color:var(--ink-2)}
/* Conversation (2026-10-28): one timeline of emails, notes and changes, the composer's two forms side by side, the earlier rows folded */
.compose{margin:0 0 14px} .compose>summary{cursor:pointer;list-style:none;padding:4px 0} .compose>summary::-webkit-details-marker{display:none} .compose[open]>summary{margin-bottom:8px}
.compose-cols{gap:14px;margin-bottom:0} .compose-cols form{min-width:0;padding:12px;border:1px solid var(--hair);border-radius:3px;background:var(--surface-2)}
.compose-cols textarea{display:block;width:100%;max-width:none;box-sizing:border-box} .compose-cols .form label.wide input,.compose-cols .form label.wide textarea{max-width:none}
@media (max-width:760px){.compose-cols{grid-template-columns:1fr}}
.convfilters{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:0 0 12px}
.convlist{display:grid;gap:10px}
.convrow{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start}
.convrow .cwho .av.initial{display:inline-flex;align-items:center;justify-content:center;background:var(--surface-2);box-shadow:0 0 0 1px var(--rule);font-family:"IBM Plex Mono",monospace;font-size:11px;color:var(--ink-2)}
.convrow.ours .cwho .av.initial{background:var(--accent);box-shadow:0 0 0 1px var(--accent-edge);color:var(--ink)}
.convrow .cbody{min-width:0} .convrow .chd{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px} .convrow .chd .dim{font-size:12px}
.convrow .ctitle{font-size:13.5px;margin-top:2px;overflow-wrap:anywhere} .convrow .ctext{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:var(--ink-2);margin-top:4px;padding:6px 10px;border-left:2px solid var(--rule)}
.convrow.note.ours .ctext{border-left-color:var(--accent-edge);background:var(--surface-2)}
.convrow .mail>summary{font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);cursor:pointer;margin-top:4px}
.convrow.compact{grid-template-columns:auto auto minmax(0,1fr);gap:8px;align-items:center;font-size:12.5px;padding:4px 0;border-bottom:1px solid var(--hair)} .convrow.compact .when{font-family:"IBM Plex Mono",monospace;font-size:11px;color:var(--ink-3);white-space:nowrap} .convrow.compact .ctitle{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
details.earlier{margin-top:12px} details.earlier>summary{font-family:"IBM Plex Mono",monospace;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);cursor:pointer;padding:6px 0} details.earlier[open]>summary{margin-bottom:8px}
/* Team kit (2026-10-28): the group photo leads at the panel's width, the other photos as tiles with their label chip */
.kittiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.kittile{min-width:0} .kittile.lead{grid-column:1 / -1} .kittile a{display:block} .kittile img{display:block;width:100%;height:160px;object-fit:cover;border-radius:3px;border:1px solid var(--rule);background:var(--surface-2)}
.kittile.lead img{height:auto;max-height:520px;object-fit:contain;background:var(--surface-2)}
.kitmeta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:6px;font-size:12px} .kitmeta .cap{flex-basis:100%;color:var(--ink-2)} .kitmeta .rowbtns{margin-left:auto}
.chip.label{background:var(--internal);border-color:var(--internal-edge);color:var(--internal-ink)} .chip.label i{background:var(--internal-edge)}
/* Riders and staff (2026-10-28): the list edited in place, a former rider greyed */
table.riders tr.former td{color:var(--ink-3)} table.riders tr.former td b{color:var(--ink-2);font-weight:500}
table.riders tr.editing td{background:var(--accent-soft, #f4f9dc)} .riderform .form{margin-bottom:8px}
/* The athlete header (2026-10-28): the identity line under the picker; the year and framework pickers fold behind a quiet "scored under" line */
/* The manager at the right end of the identity line, re-assignable in place (Shay, 2026-10-28) */
.idline .mgr,.teamline .mgr{margin-left:auto} form.mgr{display:inline-flex;align-items:baseline;gap:4px;margin:0} form.mgr label{display:inline-flex;align-items:baseline;gap:4px;font-size:12.5px} form.mgr select{font:inherit;font-size:12.5px;padding:2px 4px;color:var(--ink);background:var(--surface);border:1px solid var(--rule);border-radius:3px;max-width:180px}
.idline{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:-6px 0 14px;font-size:13.5px} .idline .nm{font-family:"Saira Condensed","IBM Plex Sans",sans-serif;font-size:22px;font-weight:700;line-height:1.05;text-transform:uppercase;letter-spacing:.01em}
.filters details.scored{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap} .filters details.scored>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px} .filters details.scored>summary::-webkit-details-marker{display:none}
.filters details.scored>summary::after{content:"";width:6px;height:6px;border-right:1px solid var(--ink-3);border-bottom:1px solid var(--ink-3);transform:rotate(45deg);margin:-3px 0 0 2px} .filters details.scored[open]>summary::after{transform:rotate(-135deg);margin-top:3px}
.filters details.scored>summary:hover .spec{color:var(--ink)} .filters details.scored select{font-size:12px;padding:4px 6px}
/* Contracts (PR 95, restyled 2026-10-28): the send-for-signature checklist folds under the drafted row, open on the newest draft */
details.nextsteps{margin:6px 0 14px} details.nextsteps>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;padding:4px 0} details.nextsteps>summary::-webkit-details-marker{display:none}
details.nextsteps>summary::after{content:"";width:6px;height:6px;border-right:1px solid var(--ink-3);border-bottom:1px solid var(--ink-3);transform:rotate(45deg);margin:-3px 0 0 2px} details.nextsteps[open]>summary::after{transform:rotate(-135deg);margin-top:3px}
details.nextsteps>summary:hover .spec{color:var(--ink)} details.nextsteps ol{margin:8px 0 0;padding-left:20px;line-height:1.55;max-width:70ch}
/* Team portal (team design 2026-10-28, section 8): the team's name over its manager on Standing, the riders picker, the logo and group photo slots, the riders list */
.ath .filters .teamhd{display:flex;flex-direction:column;gap:2px;min-width:0}
.ath .filters .teamhd b{font-size:18px;font-weight:600;line-height:1.1}
.ath .filters .teamhd .dim{font-size:12.5px}
.ath .riderpick{display:flex;flex-direction:column;gap:8px}
.ath .riderpick .chips{display:flex;flex-wrap:wrap;gap:6px}
.ath .rchip{position:relative;display:inline-flex;flex-direction:row;align-items:center;height:32px;padding:0 13px;border:1px solid var(--rule);border-radius:999px;background:var(--surface);font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:13px;line-height:1;color:var(--ink-2);cursor:pointer;user-select:none}
.ath .rchip:hover{border-color:var(--ink);color:var(--ink)}
.ath .rchip span{font:inherit;letter-spacing:0;text-transform:none;color:inherit}
.ath .rchip input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.ath .rchip:has(input:checked){background:var(--accent);border-color:var(--accent-edge);color:var(--accent-ink);font-weight:500}
.ath .rchip:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.ath .riderpick .help{margin:0}
.ath .slots{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:20px;align-items:start}
.ath .slot{display:flex;flex-direction:column;gap:10px;min-width:0}
.ath .slot .face{display:flex}
.ath .slot .groupshot{display:block;width:100%;max-height:320px;object-fit:cover;border-radius:var(--r-sm);border:1px solid var(--rule);background:var(--surface-2)}
.ath .slot .savenote,.ath .riders .row-actions .savenote{margin-left:0}
.ath .riderrow{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--rule)}
.ath .riderrow.former input,.ath .riderrow.former select{color:var(--ink-3)}
.ath .riderrow input,.ath .riderrow select{font:inherit;font-size:13px;padding:7px 9px;border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--surface);color:var(--ink);min-width:0;width:100%}
.ath .riderrow .btn{padding:7px 12px}
@media (max-width:640px){.ath .slots{grid-template-columns:1fr}.ath .riderrow{grid-template-columns:1fr 1fr}.ath .riderrow .btn{grid-column:1/-1}}

/* Priority inbox (2026-10-28): the signed-in person's next steps as a personal list, one row per athlete */
.inbox .panel-bd{padding:0}
.irow{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr) 96px;gap:18px;align-items:start;padding:14px 18px;border-bottom:1px solid var(--rule)}
.irow:last-child{border-bottom:0}
.irow.ione{display:flex;gap:12px;align-items:baseline;text-decoration:none;color:var(--ink)} .irow.ione:hover{background:var(--surface-2)} .irow.ione b{font-size:14px} .irow.ione .sub{margin-left:auto}
.iwho b{display:block;font-size:15px} .iwho .sub,.iwho .spec{display:block;margin-top:3px}
.inext .spec{display:block;margin-bottom:4px} .ilink{display:inline-block;font-size:14px;font-weight:600;color:#1f5fa8}
.inext .sub{display:block;margin-top:4px} .iage{text-align:right} .iage .age{font-size:14px;display:block} .iage .sub{display:block;margin-top:2px}
@media (max-width:760px){.irow{grid-template-columns:1fr}.iage{text-align:left}}
.iwho.ranked{position:relative;padding-left:32px} .irank{position:absolute;left:0;top:0;min-width:20px;height:20px;padding:0 5px;border:1px solid var(--rule);border-radius:2px;font:500 11px/18px "IBM Plex Mono",monospace;text-align:center;color:var(--ink-3)}
/* Team members (team members design 2026-10-29): the Program's open team row, the by-rider table's Together row */
#tbl button.unitbtn{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin:3px 0 0;padding:0;border:0;background:none;font:inherit;font-size:12.5px;color:var(--ink-2);cursor:pointer;text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:3px}
#tbl button.unitbtn::before{content:"";border-left:5px solid currentColor;border-top:4px solid transparent;border-bottom:4px solid transparent;transition:transform .12s}
#tbl button.unitbtn.on::before{transform:rotate(90deg)}
#tbl button.unitbtn:hover,#tbl button.unitbtn.on{color:var(--ink);text-decoration-color:currentColor}
#tbl tr.subrow td{background:var(--surface-2);padding-top:7px;padding-bottom:7px;font-size:12.5px}
#tbl tr.subrow td:first-child{padding-left:28px}
#tbl tr.subrow.former td{color:var(--ink-3)}
#tbl tr.subrow .subcounts{color:var(--ink-2);white-space:nowrap}
table.byrider tr.together td{border-top:1px solid var(--ink-3);font-weight:600}
.ath .riderrow.invite{grid-template-columns:minmax(0,1fr) auto;padding:0 0 10px;margin-top:-1px} .ath .riderrow.invite input{max-width:none}
.ath .riders .riderinfo{margin:-2px 0 8px;font-size:12px}
.ath table.byrider tr.former td{color:var(--ink-3)}
#tbl tr.subrow td.subwhen a{display:block;font-size:12px;margin-top:2px}
/* Campaigns: a claimed deliverable's attach form runs the row's full width under it, the link widest */
.ath .delv .attachline{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:8px;align-items:center}
.ath .delv .attachline input{width:100%;min-width:0;max-width:none}
@media (max-width:640px){.ath .delv .attachline{grid-template-columns:1fr}}
.isec{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;padding:16px 18px 8px;border-bottom:1px solid var(--rule);font-size:13px;font-weight:600;color:var(--ink-2)} .isec .sub{font-weight:400}
.irow.lead .iwho b{font-size:14px} .irow.lead .ilink{font-weight:500}

/* The proposal (2026-10-29): the deal on Nominate, Convert, the Approval panel and Prepare contract, and its line on the cards */
.proposal{margin-top:12px} .proposal>.spec{margin-bottom:8px} .proposal details.terms{margin-top:8px} .proposal details.terms>summary{padding:6px 0}
.proposal:has(input[name=equipment][value=none]:checked) .gear{display:none}
.proposal.teamdeal:has(select[name=team_paint] option[value=no]:checked) .paintonly{display:none}
.proposal .gives{grid-column:span 2;display:flex;flex-direction:column;gap:4px;min-width:0}
.proposal .gives>span{font-family:"IBM Plex Mono",monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.proposal .gives .opts{display:flex;gap:6px;flex-wrap:wrap}
.proposal .gives .opts label{flex-direction:row;align-items:center;gap:7px;border:1px solid var(--rule);border-radius:3px;padding:7px 12px;font-size:13px;color:var(--ink);background:var(--surface);cursor:pointer}
.proposal .gives .opts label:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.proposal .gives .opts input{width:auto;margin:0;padding:0;accent-color:var(--ink)}
.propline{margin-top:8px;padding:6px 8px 6px 10px;border-left:3px solid var(--ink);background:var(--surface-2);font-size:13px;color:var(--ink)}
.propline .by{display:block;font-size:11px;color:var(--ink-3)} .propline.missing{border-left-color:var(--rule);color:var(--ink-2)}
.propask{font-size:12.5px;color:var(--ink-2);margin:12px 0 0}
.propsum{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:0 0 16px} .propsum .propline{margin:0;flex:1 1 420px} .propsum>.spec{padding-bottom:6px}
.propsum.top{margin:0 0 18px} .propsum.top .propline{padding:10px 14px 11px 14px;border-left-width:4px;font-size:16px;font-weight:600;background:var(--surface)}
.propsum.top .propline .by{font-family:"IBM Plex Mono",monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:400;margin-bottom:3px}
details.prop-edit{margin-top:14px} details.prop-edit>summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap} details.prop-edit[open]>summary{border-bottom:0;margin-bottom:2px}

/* The approved terms and their re-review (2026-10-29) */
#contracts .propline.approved{border-left-color:var(--accent-edge);margin:14px 0 0}
.rereview{margin-top:12px;padding:10px 12px;border:1px solid var(--accent-edge);background:var(--band3)}
.rereview .termdiff{margin:8px 0;width:auto} .rereview .termdiff td{padding:3px 14px 3px 0;font-size:13px} .rereview .termdiff .was{color:var(--ink-3);text-decoration:line-through} .rereview .termdiff .now{font-weight:600}
.rereview .quote{display:block;margin:6px 0} .revans{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px} .revans input[type=text]{flex:1 1 220px;font:inherit;font-size:13px;padding:7px 9px;border:1px solid var(--rule);border-radius:3px}
.prepform .changed input,.prepform .changed select{background:var(--band2);border-color:var(--accent-edge)}
.prepform .gives.changed .opts label:has(input:checked){background:var(--band2);border-color:var(--accent-edge);box-shadow:inset 0 0 0 1px var(--accent-edge)}
.prepform .changed>span::after,.prepform .gives.changed>span::after{content:" · changed";color:var(--accent-ink)}
.changednote,.firstreview{margin-top:12px;font-size:13px} .changednote p,.firstreview p{margin:0 0 8px}
table.sptable .spcode{display:block;margin-top:3px;font-size:12px;color:var(--ink-2);font-weight:400}
table.sptable .spcode.err{color:var(--bad,#b3261e)}
table.sptable .spcode code{font-size:11.5px}
table.sptable .spcode .ghost{font-size:12px}
table.sptable .spissue{display:flex;gap:6px;align-items:center;margin-top:6px}
table.sptable .spissue input{width:220px;font-size:12px}
.framecode{font-size:16px;letter-spacing:.04em;padding:6px 10px;border:1px solid var(--rule);display:inline-block;user-select:all}
.gsearch{margin:0}
.gsearch input{width:190px;padding:5px 9px;font-size:12px;border:1px solid var(--rule);border-radius:3px;background:var(--surface);color:var(--ink)}
@media (max-width:660px){.gsearch input{width:130px}}
.gsresults{display:flex;flex-direction:column;gap:18px}
.gsresults td .sub{display:block;font-size:11.5px;color:var(--ink-3);margin-top:1px}
.gsresults a{color:inherit}
.gsresults .gswarn{color:var(--bad,#b3261e)}
.banner.inpanel{margin:0 0 14px}   /* the flash carried into the panel the redirect lands on */
.wrap :is(input,select,textarea){scroll-margin-top:150px}   /* a field the browser scrolls to (a required one left empty) clears the sticky top bar and shows its label */
/* Attach a custom contract (2026-11-15): three numbered steps, the approved terms to check, the affirmation */
#contracts .customc{margin-top:16px} #contracts .customc>summary{display:flex;gap:10px;align-items:center;cursor:pointer;list-style:none} #contracts .customc>summary::-webkit-details-marker{display:none}
.customform{margin-top:12px;display:flex;flex-direction:column;gap:14px}
.customform .step{display:grid;grid-template-columns:22px 1fr;gap:10px;font-size:13.5px} .customform .step .n{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--ink);display:grid;place-items:center;font-size:11.5px;font-weight:600}
.customform .termlist{margin:8px 0 0;width:auto;max-width:520px} .customform .termlist td{padding:3px 18px 3px 0;font-size:13px} .customform .termlist td:first-child{color:var(--ink-3)}
.customform .affirm{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-left:3px solid var(--accent-edge);background:var(--surface-2);cursor:pointer} .customform .affirm input{margin-top:3px}
.customform input[type=date]{max-width:220px} .customform .help{margin:6px 0 0;font-size:12.5px;color:var(--ink-3)}

/* The AI first read and the low potential pool (2026-11-24) */
.aipanel{border-left-color:#1f5fa8} .aipanel>.panel-hd{background:#eaf2fc;border-bottom-color:#c5daf3} .aipanel>.panel-hd .autotag{margin-left:0;background:#fff}
.aipanel .aitop{display:flex;align-items:center;gap:10px;margin:0 0 10px} .aipanel .aitop .pot{font-size:13px;padding:3px 10px} .aipanel .aitop .sub{display:inline;font-size:13px}
.aipanel .aibrief{font-size:14px;line-height:1.55;color:var(--ink);margin:0 0 14px;max-width:70ch}
.aiwhy{margin:6px 0 14px;padding:0 0 0 18px;font-size:13px;color:var(--ink-2);max-width:68ch} .aiwhy li{margin:3px 0} .aiwhy.flags li{color:#8a5a00}
.aikept{margin:0 0 10px;padding:6px 10px;border-left:2px solid var(--rule);font-size:12.5px;color:var(--ink-2);max-width:68ch}
.aihint{font-size:12px;color:#1f5fa8;margin:2px 0 6px;max-width:68ch} .aipanel .aihint{margin:0}
.poolhow{margin:0 0 14px;padding:10px 14px 12px;border:1px solid #c5daf3;border-radius:4px;background:#f3f8fe;font-size:13px;line-height:1.5;color:var(--ink-2)} .poolhow ul{margin:6px 0 0;padding:0 0 0 18px;max-width:92ch} .poolhow li{margin:3px 0} .poolhow b{color:var(--ink)} .poolhow .off{margin:8px 0 0;color:#8a5a00}
.qtabs a.drop{outline:1px dashed #1f5fa8;outline-offset:-1px;color:#1f5fa8} .qtabs a.over{background:#e3eefb}
tr[draggable=true]{-webkit-user-drag:element}
.why .ailine{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;color:var(--ink-2);white-space:normal}
.drafted form.inline{margin-left:auto}
.bulkbar .btn{white-space:nowrap;flex:none}

/* Phones (Shay, 2026-11-27): the partner portal (.ath: athletes, teams, sign-in) and the public application form (.apply) on a 320 to 660px screen.
   Three things were wrong: a long unbroken line widened the page, fields under 16px made iOS zoom in on focus, and the controls were under a thumb's size.
   Desktop is untouched apart from the wrapping rules, which hold at every width. */
.ath{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.ath .fitem>*,.ath .delv>*,.ath .panel-bd>*{min-width:0}
.ath .fitem>span:not(.mo),.fbmsg,.fbreply,.ath .dl dd,.ath .delv .nm,.ath .banner p,.ath .flash,.ath .form .static,.ath .teamhd{overflow-wrap:anywhere}
.ath .form .static{flex-wrap:wrap}
.ath .btn,.ath .ghost,.ath .switch a,.ath .kchip,.ath .rchip,.ath .fb-pill,.apply .btn{touch-action:manipulation}
@media (max-width:660px){
  /* the bar: logo and Sign out on one row, the four views as equal thumb-sized pills under it; landscape and notched phones keep the gutters */
  .ath .topbar-in,.ath .wrap{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .ath .topbar-in{flex-wrap:wrap;align-items:center}
  .ath .brand{flex:1 1 0;min-width:0}
  .ath .brand a{display:block;max-width:100%}
  .ath .brand .logo{width:min(200px,100%);height:auto}
  .ath .topbar .right{flex:none}
  .ath .topbar .ghost{min-height:36px;padding:0 14px}
  .ath .switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .ath .switch a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:0 4px;text-align:center;text-decoration:none}
  .ath .actbar{flex-wrap:wrap;gap:6px 14px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .ath .actbar{position:static}   /* it wraps to two lines here and would sit over the sticky bar */
  .ath .actbar form{margin-left:auto} .ath .actbar button{min-height:32px;padding:0 14px}
  /* fields: 16px so iOS does not zoom, and tall enough to hit */
  .ath input:not([type=checkbox]):not([type=radio]):not([type=file]),.ath select,.ath textarea,
  .apply input:not([type=checkbox]):not([type=radio]):not([type=file]),.apply select,.apply textarea{font-size:16px!important;min-height:44px}
  .apply .form select,.apply .form input[type=number],.apply .form input[type=tel]{max-width:none}
  .ath input[type=checkbox],.ath input[type=radio],.apply input[type=checkbox],.apply input[type=radio]{width:20px;height:20px;flex:none} .ath .rchip input{width:1px;height:1px}
  .ath label.check,.ath .form .checks label,.apply label.check,.apply .form .checks label{min-height:40px;align-items:center}
  .apply .form .checks{flex-direction:column;gap:0} .apply .form .checks label{justify-content:flex-start}
  /* buttons and chips */
  .ath .btn,.apply .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-align:center}
  .ath .btn.danger,.ath .riderrow .btn{padding:0 14px}
  .ath .row-actions .btn,.apply .row-actions .btn{flex:1 1 auto}
  .ath .row-actions .savenote,.apply .row-actions .savenote{flex:1 0 100%;margin-left:0}
  .ath .rowbtns form{display:flex}
  .ath .kchip{min-height:40px;padding:0 14px} .ath .rchip{height:40px;padding:0 15px;font-size:14px}
  .ath .ptsrows summary{min-height:40px}
  .ath .fb-pill{padding:12px 16px}
  .ath .thumbs .th .x{width:32px;height:32px;line-height:32px;font-size:18px;border-radius:var(--r-sm)}
  /* headings: a note that wraps reads from the left; Standing's New submission and Submit's four kinds take the full row */
  .ath .panel-hd .note{margin-left:0;text-align:left}
  .ath .filters>.btn{flex:1 0 100%;margin-left:0!important}
  .ath .panel-hd>.rowbtns{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-left:0!important}
  .ath .delv>.rowbtns{max-width:none}
  .ath .riderrow.invite{grid-template-columns:minmax(0,1fr)}
  .ath .share-top{align-items:flex-start} .ath .share-top .medal{width:72px;height:72px}
  /* the by-rider table as one card a rider: the name, then each number under its own label, three to a row; nothing scrolls sideways */
  .ath table.byrider,.ath table.byrider tbody,.ath table.byrider td{display:block}
  .ath table.byrider{width:100%;min-width:0}
  .ath table.byrider thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .ath table.byrider tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;align-items:end;padding:12px 0;border-bottom:1px solid var(--rule)}
  .ath table.byrider tr:first-child{padding-top:0} .ath table.byrider tr.together{border-bottom:0;padding-bottom:0}
  .ath table.byrider td{padding:0;border:0;text-align:left;font-size:15px}
  .ath table.byrider td:first-child{grid-column:1/-1}
  .ath table.byrider td[colspan]{grid-column:span 2;align-self:end}
  .ath table.byrider td[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:9.5px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
  .ath table.byrider tr.together{border-top:1px solid var(--ink-3);margin-top:-1px} .ath table.byrider tr.together td{border-top:0}
  .ath dialog.fb{width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}
}
/* a phone on its side: the bar scrolls away so the page keeps the height */
@media (max-height:500px) and (max-width:960px){.ath .topbar{position:static}}
/* a row on a narrow phone is one column: the kind or the date as a label, the text at full width, the state under it */
@media (max-width:560px){.ath .fitem{grid-template-columns:minmax(0,1fr);gap:6px}.ath .fitem .mo{width:auto}.ath .fitem .rowbtns,.ath .fitem>:nth-child(3){grid-column:1;justify-self:start}}

/* Filters on a phone (Shay, 2026-11-27): each view switch, filter form and bulk bar folds behind one row that names what is chosen; a tap opens it.
   The row is added by the team layout's script and shown only under 660px, so a desktop is unchanged. */
.foldbtn{display:none}
@media (max-width:660px){
  .tm .foldbtn{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:0 0 10px;padding:0 14px;border:1px solid var(--rule);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px;text-align:left;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  .tm .foldbtn .spec{flex:none}
  .tm .foldbtn b{flex:1 1 0;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tm .foldbtn::after{content:"";flex:none;width:8px;height:8px;margin:-4px 2px 0 0;border-right:1.5px solid var(--ink-2);border-bottom:1.5px solid var(--ink-2);transform:rotate(45deg)}
  .tm .foldbtn[aria-expanded="true"]::after{transform:rotate(-135deg);margin-top:4px}
  .tm .fold:not(.open){display:none!important}
  .tm .fold.open{margin-bottom:14px}
  .tm .setpage.progpage{gap:0} .tm .setpage.progpage>.foldbtn{margin-bottom:14px}
}

/* Phones, the team side (Shay, 2026-11-27): every page under the team layout (<body class="tm">) at 320 to 660px. The top bar ran 140px past the screen on
   every page, fields under 16px made iOS zoom in on focus, and the controls were 21 to 33px tall. Wide tables stay tables and scroll sideways inside their
   own box, with a shadow at the edge that has more. Nothing here applies above 660px. */
@media (max-width:660px){
  /* the bar is one row, logo and search; the views live in the tab bar at the foot of the screen */
  .tm .topbar-in,.tm .wrap{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .tm .topbar-in{flex-wrap:nowrap;gap:12px;padding-top:8px;padding-bottom:8px}
  .tm .brand{flex:none;margin-right:0} .tm .brand .logo{flex:none;width:112px;height:auto}
  .tm .switch,.tm .topbar a.ghost,.tm .topbar .me,.tm .topbar .who{display:none}
  .tm .topbar .right{flex:1 1 0;min-width:0} .tm .gsearch{flex:1 1 0;min-width:0} .tm .gsearch input{width:100%;border-radius:999px;padding:0 14px;background:var(--surface-2)}
  /* fields at 16px so iOS does not zoom, and everything you press tall enough for a thumb */
  .tm input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),.tm select,.tm textarea{font-size:16px!important;min-height:40px}
  .tm input[type=checkbox],.tm input[type=radio]{width:20px;height:20px;flex:none}
  .tm .btn,.tm a.ghost,.tm button.ghost{display:inline-flex;align-items:center;justify-content:center;min-height:40px;text-align:center;touch-action:manipulation}
  .tm .btn.danger{padding:0 12px}
  .tm .tabs a,.tm .setnav a,.tm .lanes a,.tm .qtabs a{min-height:40px;display:inline-flex;align-items:center}
  .tm .lanes{flex-wrap:wrap;max-width:100%}
  .tm summary{min-height:32px}
  /* text that must not widen the page */
  .tm .panel-bd{overflow-wrap:break-word} .tm .banner p,.tm .dl dd,.tm .delv .nm{overflow-wrap:anywhere}   /* break-word in a panel: anywhere would split a word in a narrow tile */
  .tm .panel-hd .note{margin-left:0}
  .tm select,.tm input,.tm textarea{max-width:100%}
  /* rows of controls wrap: a Submissions row's approve and reject forms go under the row, the bulk bar and the score picker fold */
  .tm .delv>.rowbtns{grid-column:1/-1;min-width:0;max-width:none} .tm .delv .rowbtns form{flex-wrap:wrap;min-width:0}
  .tm .qtabs{flex-wrap:wrap} .tm .qtabs>.spec{margin-left:0}
  .tm .bulkbar{flex-wrap:wrap} .tm .bulkbar .btn{white-space:normal;flex:0 1 auto}
  .tm .filters details.scored{flex-wrap:wrap;max-width:100%;min-width:0}
  /* a wide table scrolls in its own box; the shadow marks the side with more to see */
  .tm .tscroll{background:linear-gradient(to right,var(--surface) 40%,transparent) left center/28px 100% no-repeat local,linear-gradient(to left,var(--surface) 40%,transparent) right center/28px 100% no-repeat local,
    linear-gradient(to right,rgba(0,0,0,.16),transparent) left center/10px 100% no-repeat scroll,linear-gradient(to left,rgba(0,0,0,.16),transparent) right center/10px 100% no-repeat scroll}
  .tm .tscroll th{background:transparent}
}
@media (max-width:400px){.tm .tstrip{grid-template-columns:repeat(2,minmax(0,1fr))}}   /* five tiles two to a row, so "Needs clarification" keeps its word whole */

/* The phone tab bar (Shay, 2026-11-27, "usable means UX friendly"): under 660px the views sit in a fixed bar at the foot of the screen, in reach of a thumb,
   with their open counts; the team's More opens a sheet with Assets, Feedback, Activity, Settings and your profile. Not shown above 660px. */
.tabbar{display:none}
@media (max-width:660px){
  .tabbar{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);position:fixed;left:0;right:0;bottom:0;z-index:45;background:var(--surface);border-top:1px solid var(--rule);
    padding:4px max(6px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px))}
  :root{padding-bottom:0}
  .tabbar .tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:50px;padding:0;color:var(--ink-3);text-decoration:none;cursor:pointer;list-style:none;
    font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:10.5px;line-height:1.2;letter-spacing:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  .tabbar summary.tab::-webkit-details-marker{display:none}
  .tabbar .tab:hover,.tabbar .tab:focus-visible{background:transparent;color:var(--ink)}
  .tabbar .ico{position:relative;display:flex;align-items:center;justify-content:center;width:52px;height:28px;border-radius:999px}
  .tabbar .ico svg{display:block;width:22px;height:22px}
  .tabbar .lbl{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tabbar .tab[aria-current="page"]{color:var(--ink);font-weight:600} .tabbar .tab[aria-current="page"] .ico{background:var(--accent)}
  .tabbar .n{position:absolute;top:-3px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--ink);color:var(--surface);font:600 10px/16px "IBM Plex Mono",ui-monospace,monospace;letter-spacing:0;text-align:center}
  .tabbar .more{display:flex;min-width:0} .tabbar .more>summary{flex:1 1 0;min-width:0}   /* one cell: as display:contents, the closed details' hidden content took a sixth, empty column and the five tabs sat left of it (Shay, iPhone Duo and 17 Pro Max, 2026-11-27) */
  .tabbar .sheet{position:fixed;left:8px;right:8px;bottom:calc(66px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--rule);border-radius:12px;box-shadow:0 12px 32px -8px rgba(0,0,0,.35);overflow:hidden}
  .tabbar .sheet a{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:0 18px;border-bottom:1px solid var(--hair);font-size:16px;color:var(--ink);text-decoration:none}
  .tabbar .sheet a:last-child{border-bottom:0} .tabbar .sheet .n{position:static;min-width:20px;height:20px;line-height:20px;font-size:11px}
  .tm .wrap,.ath .wrap,.ath .wrap.has-fb{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  /* the athlete portal: the four pills leave the top bar for the tab bar, with Feedback as the fifth */
  .ath .tabbar{background:#15170f;border-top-color:#262a22} .ath .tabbar .tab{color:#9fa39a} .ath .tabbar .tab[aria-current="page"]{color:#f3f3ee} .ath .tabbar .tab[aria-current="page"] .ico{background:#c8f14f;color:#1f2a00}
  .ath .tabbar .tab:hover,.ath .tabbar .tab:focus-visible{background:transparent;color:#f3f3ee}
  .ath .topbar .switch{display:none}
  .ath .fb-pill{display:none}   /* Feedback is the fifth tab here; the floating pill sat over the text */
  .ath .filters>.btn{display:none}   /* Standing's New submission: the Submit tab is always under the thumb */
}

/* Tables on a phone (Shay, 2026-11-27): under 660px a team table with a header row is one card a row. The first cell is the card's title; every other cell
   sits under its column's name (data-label, set by the layout's script), two to a row. No sideways scrolling. class="keep" leaves a table as it is. */
@media (max-width:660px){
  .tm .tscroll:has(table.cards){overflow:visible;background:none}
  .tm .gsresults td .sub{font-size:13px}
  .tm .panel>.tscroll:has(table.cards){padding:6px 16px 10px}   /* a table set straight in a panel, with no padded body round it (Search): the cards keep off the panel's edge */
  .tm table.cards{display:block;width:100%;min-width:0;font-size:15px}
  .tm table.cards thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .tm table.cards tbody{display:block}
  .tm table.cards tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;align-items:start;padding:14px 0;border-bottom:1px solid var(--rule)}
  .tm table.cards tbody tr:first-child{padding-top:4px} .tm table.cards tbody tr:last-child{border-bottom:0;padding-bottom:4px}
  .tm table.cards td{display:block;min-width:0;padding:0;border:0;text-align:left;background:transparent;overflow-wrap:anywhere}
  .tm table.cards tbody tr:hover td{background:transparent}
  .tm table.cards td,.tm table.cards td *{white-space:normal}
  .tm details.revs>.tscroll{padding:0 14px} .tm details.revs>summary{flex-wrap:wrap}
  .tm table.cards td:first-child,.tm table.cards td[colspan]{grid-column:1/-1}
  .tm table.cards td:first-child{font-size:16px}
  .tm table.cards td:empty{display:none}
  .tm table.cards td[data-label]::before{content:attr(data-label);display:block;margin-bottom:3px;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:9.5px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
  .tm table.cards .who,.tm table.cards .scorecell{min-width:0} .tm table.cards .scorecell .n{width:auto}
  .tm table.cards td.r input{margin-left:0}
  /* Settings: fifteen sections as one strip you swipe sideways, not five rows of chips */
  .tm .setpage:not(.progpage) .setnav{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:0 16px 4px;scroll-snap-type:x proximity}
  .tm .setpage:not(.progpage) .setnav::-webkit-scrollbar{display:none} .tm .setpage:not(.progpage) .setnav a{flex:none;white-space:nowrap;scroll-snap-align:start}
  /* the Applications queue: each applicant a card. Tick, name and potential on the first line, then what is next, why, and who has it since when */
  .tm .tscroll:has(table.queue.tri){overflow:visible;background:none}
  .tm table.queue.tri{display:block;min-width:0;table-layout:auto} .tm table.queue.tri colgroup,.tm table.queue.tri thead{display:none} .tm table.queue.tri tbody{display:block}
  .tm details.tgroup>summary{min-width:0;flex-wrap:wrap;min-height:44px;align-items:center}
  .tm table.queue.tri tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px 12px;align-items:start;padding:14px 0;border-bottom:1px solid var(--rule)}
  .tm table.queue.tri td{display:block;min-width:0;max-width:none;padding:0;border:0;font-size:15px}
  .tm table.queue.tri td.tick{width:auto;padding-top:2px}
  .tm table.queue.tri td:first-child:not(.tick){grid-column:1/3}
  .tm table.queue.tri td:nth-last-child(4),.tm table.queue.tri td:nth-last-child(3){grid-column:1/-1}
  .tm table.queue.tri td:nth-last-child(3):empty{display:none}
  .tm table.queue.tri td:nth-last-child(2){grid-column:1/3}
  .tm table.queue.tri .who b{font-size:16px} .tm table.queue.tri .who span{white-space:normal;font-size:13px} .tm table.queue.tri .sub{font-size:13px}
  .tm table.queue.tri .next{display:inline-block;margin:0 0 4px;font-size:15px}
}

/* iOS Safari (seen in the Simulator, 2026-11-27): a date field keeps its own small look, ignores min-height and collapses when empty. Give it the look of the fields around it. */
@media (max-width:660px){
  .ath input[type=date],.ath input[type=time],.ath input[type=datetime-local],.ath input[type=month],.tm input[type=date],.tm input[type=time],.tm input[type=datetime-local],.tm input[type=month],
  .apply input[type=date],.apply input[type=month]{-webkit-appearance:none;appearance:none;display:block;width:100%;min-width:0;min-height:44px;line-height:1.3;text-align:left}
  input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.3em}
}
@media (max-width:350px){.tabbar .tab{font-size:9.5px}}   /* five labels across a 320px screen */

/* The athlete page on a phone (Shay, 2026-11-27: "make the athlete page like this as well"): its five tabs are the bar at the foot of the screen while you are
   on an athlete, in place of the views. The logo and search in the top bar lead back out. The icons are CSS masks, so the tab markup is as it was. */
@media (max-width:660px){
  .tm:has(.athlete.tabbed #atabs) .tabbar{display:none}
  .tm .athlete.tabbed #atabs{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;background:var(--surface);border-top:1px solid var(--rule);border-bottom:0;
    padding:4px max(6px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px))}
  .tm .athlete.tabbed #atabs a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:50px;margin:0;padding:0;border:0;color:var(--ink-3);white-space:nowrap;
    font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:10.5px;line-height:1.2;letter-spacing:0;text-transform:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  .tm .athlete.tabbed #atabs a::before{content:"";width:22px;height:22px;margin:3px 0;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
  .tm .athlete.tabbed #atabs a[aria-selected="true"]{color:var(--ink);font-weight:600;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 28'%3E%3Crect width='52' height='28' rx='14' fill='%23ccf159'/%3E%3C/svg%3E") center 4px/52px 28px no-repeat}
  .tm .athlete.tabbed #atabs a[href="#overview"]{--i: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%3Crect x='4' y='4' width='7' height='7' rx='1'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1'/%3E%3C/svg%3E")}
  .tm .athlete.tabbed #atabs a[href="#sponsorship"]{--i: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='M4 8l8-4 8 4v8l-8 4-8-4z'/%3E%3Cpath d='M4 8l8 4 8-4M12 12v8'/%3E%3C/svg%3E")}
  .tm .athlete.tabbed #atabs a[href="#performance"]{--i: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='M5 20V11M12 20V4M19 20v-6'/%3E%3C/svg%3E")}
  .tm .athlete.tabbed #atabs a[href="#conversation"]{--i: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='M5 5h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-7l-4 4v-4H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1z'/%3E%3C/svg%3E")}
  .tm .athlete.tabbed #atabs a[href="#profile"]{--i: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%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c0-3.5 3-6 7-6s7 2.5 7 6'/%3E%3C/svg%3E")}
  .tm .athlete.tabbed #atabs .cnt{position:absolute;top:0;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--ink);color:var(--surface);font:600 10px/16px "IBM Plex Mono",ui-monospace,monospace;letter-spacing:0;text-align:center}
  .tm .athlete.tabbed section.tab{scroll-margin-top:68px}   /* a tapped tab's section lands under the top bar, not behind it */
  .tm .athlete.tabbed #atabs a[href="#performance"] .cnt{display:none}   /* that number is the score, not something waiting */
}
@media (max-width:350px){.tm .athlete.tabbed #atabs a{font-size:9.5px}}

/* An application's header on a phone (Shay's iPhone, 2026-11-27): the desktop row of name, potential, back button, tag, status and owner wrapped into a pile.
   Here it reads top to bottom: name and contact, the potential on one line, the status, then the owner as its own block with the reassign row under it.
   All applications is the tab under the thumb, so its button goes. */
@media (max-width:660px){
  .tm .apphead{display:block;margin-bottom:12px} .tm .apphead h1{font-size:28px;overflow-wrap:anywhere} .tm .apphead .contact{font-size:14px;gap:6px 16px}
  .tm .apphead .contact a{display:inline-flex;align-items:center;min-height:32px;overflow-wrap:anywhere}
  .tm .headpot{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:10px} .tm .headpot .sub{font-size:13px}
  .tm .apphead+.filters{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start;justify-items:start}
  .tm .apphead+.filters>a.ghost{display:none}
  .tm .apphead+.filters>.tag{order:1}
  .tm .apphead+.filters>.spec{line-height:1.7}
  .tm .apphead+.filters>.owner{order:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;margin:2px 0 0;padding:12px;border:1px solid var(--rule);border-radius:8px;background:var(--surface)}
  .tm .apphead+.filters>.owner form{margin:0}
  .tm .apphead+.filters>.owner form:last-of-type{grid-column:1/-1;display:flex;gap:8px} .tm .apphead+.filters>.owner form:last-of-type select{flex:1 1 0;min-width:0}
}

.camp-hd .overran{color:#b3261e;font-size:12.5px}
/* Backfill agreements (2026-12-04): a dense table at a desk, one card per partner on a phone */
.bfwho{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px} .bfwho .on{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.bftable td{vertical-align:middle} .bftable .sub{display:block;font-size:12px;color:var(--ink-3)} .bftable input[type=text]{width:100%;min-width:180px} .bftable .bfnum{width:64px}
.filelater{color:var(--ink-3)}
@media (max-width:760px){.bftable thead{display:none} .bftable,.bftable tbody,.bftable tr,.bftable td{display:block;width:auto}
 .bftable tr{border:1px solid var(--rule);border-radius:6px;padding:10px 12px;margin-bottom:10px;position:relative} .bftable td{border:0;padding:4px 0}
 .bftable td:first-child{position:absolute;top:10px;right:12px} .bftable td[data-l]:not([data-l=Partner])::before{content:attr(data-l);display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-bottom:2px}
 .bftable input[type=text],.bftable input[type=date],.bftable select{width:100%;min-width:0}}
