:root{/* The public site v2 palette (docs/design/site-v2). */--site-night:#0A1628;--site-deep:#0F2442;--site-glow:#173A66;--site-blue:#1E8FFF;--site-cyan:#18C2FF;--site-text:#3E4F63;--site-faint:#8795A6;--site-line:#DCE5EF;--site-line-soft:#E8EEF5;--site-page:#F4F7FB;--site-sky:#EAF3FF;--site-tile:#E8F3FF;--site-on-dark:#C9D6E8;--site-on-dark-muted:#9FB3CC;--site-ok:#10A37F;--site-ok-bg:#E3F7EF;--site-ok-dark-bg:rgba(44,203,156,.18);--site-ok-dark-ink:#6FE3BF;--site-button-line:#C9D4DF;--site-glass:rgba(255,255,255,.06);--site-glass-faint:rgba(255,255,255,.04);--site-glass-box:rgba(255,255,255,.05);--site-glass-strong:rgba(255,255,255,.12);--site-glass-line:rgba(255,255,255,.16);--site-glass-edge:rgba(255,255,255,.18);--site-glass-bold:rgba(255,255,255,.55);--site-rule:rgba(255,255,255,.12);--site-rule-soft:rgba(255,255,255,.08);--site-shadow:rgba(14,31,51,.08);--site-shadow-soft:rgba(14,31,51,.05);--site-shadow-deep:rgba(0,0,0,.45);--site-blue-glow:rgba(30,143,255,.35);--site-cyan-ring:rgba(24,194,255,.35);--site-placeholder:rgba(201,214,232,.55);/* KP-140. The amber mark of copy still to be confirmed (sitePending()), local test version only. */--site-pending:#D97706;/* Site buttons and badges with white text use a deeper blue for contrast (4.6 to 6.3:1); the headline gradient keeps the lighter blue. */--site-button-start:#0B5FB8;--site-button-end:#0A7BB6;--page-max:1132px;--papel-admin-ink:#8A5A00;--papel-admin-fundo:#FFF9EF;--papel-admin-borda:#F1D9AE;--papel-qa-cor:#1E4F80;--papel-qa-fundo:#F4F8FC;--papel-qa-menu:#EAF2FA;--papel-qa-borda:#C7DCF0;--papel-qa-ink-claro:#D6E7F7;--danger-bg:#FDECEC;--danger-ink:#9F1D14;--danger-border:#F1B0AA;--bg:#F2F5F8;--ink:#0E1F33;--muted:#56667A;--brand:#0E1F33;--border:#D3DCE5;--dark:#0E1F33;--navy-2:#13233A;--navy-support:#2A4664;--accent:#2CCB9C;/* KP-102. The blue stripe of the QA header, from the approved reference. */--qa-stripe:#6FA8DC;--accent-ink:#0F7A5F;--on-dark:#A7B5C4;--surface:#fff;--bg-soft:#F7FAF9;--border-strong:#C9D4DF;--ok-bg:#E3F7F0;--ok-border:#BDEBDB;/* Success notice text: a darker green, readable on a phone. */--ok-ink:#0A4A3A;/* Admin status colours. Amber and red are outside the brand palette (docs/brand/LEIA-ME.md) because a warning must not look like everything else. */--warn-bg:#FFF4DC;--warn-ink:#9A6200;--warn-border:#F2DDB0;--bad-bg:#FCEBEB;--bad-ink:#A32D2D;--bad-border:#F2C8C8;--danger:#A63939;--danger-hover:#872B2B;/* The studio report's colours, named by what they mark rather than their tone, since the same pair serves the finding and moment pills. */--linha:#E1E6EA;--chip-bg:#E8EEF4;--mark-high-bg:#C2410C;--mark-high-ink:#FFFFFF;--mark-friction-bg:#FDF1DC;--mark-friction-ink:#8A5A00;--mark-positive-bg:#E6F7F1;--mark-positive-ink:#0F7A5F;--mark-negative:#E0603A;--mark-negative-soft:#FDE7DE;--hero-shade-strong:rgba(14,31,51,.94);--hero-shade-mid:rgba(14,31,51,.82);--hero-shade-soft:rgba(14,31,51,.4);/* Player dot colours in the studio report; they repeat from the seventh player on. */--tone-1:#C8F0E2;--tone-2:#D6E7F7;--tone-3:#E8E1FB;--tone-4:#FDE7C8;--tone-5:#FAD9E1;--tone-6:#E2EFC9;--card-lift:rgba(14,31,51,.14);--menu-shadow:#0E1F3322;--radius:18px}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.2rem,5vw,4.4rem)}h2{font-size:2rem}h3{font-size:1.25rem}p{margin-bottom:1rem}.muted,.fine-print{color:var(--muted);font-size:.92rem}.skip-link{position:absolute;left:12px;top:-100px;padding:12px;background:#fff;z-index:99}.skip-link:focus{top:12px}.site-header{background:#fff;border-bottom:1px solid var(--border)}.header-inner{max-width:var(--page-max);margin:auto;display:flex;align-items:center;gap:28px;padding:20px 24px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:1.35rem;font-weight:600;line-height:1.2;letter-spacing:-.04em}.brand:hover{text-decoration:none}.brand small{display:block;font-size:.64rem;letter-spacing:.23em;font-weight:600;margin-top:4px;color:var(--brand)}.brand-mark{display:block;height:43px;width:auto}.header-inner nav{display:flex;align-items:center;gap:24px;margin-left:auto;flex-wrap:wrap;font-size:.9rem;font-weight:500}.header-inner nav>a:not(.button),.nav-button{color:var(--ink)}.header-inner nav [aria-current=page]{color:var(--brand)}.nav-button{padding:0;border:0;background:transparent;font-weight:500;font-size:.9rem}.nav-button:hover{text-decoration:underline}.inline{display:inline;margin:0}.languages{display:flex;gap:3px;background:var(--bg);padding:3px;border-radius:9px;font-size:.72rem;font-weight:600}.languages a{padding:5px 7px;color:var(--muted);border-radius:6px}.languages a[aria-current]{background:#fff;color:var(--brand);box-shadow:0 2px 4px #0E1F3314}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:var(--brand);border:1px solid transparent;color:white;padding:15px 24px;border-radius:10px;font-weight:600;font-size:.95rem;box-shadow:0 6px 16px #0E1F3322;line-height:1.5}.button:hover{background:#2A4664;text-decoration:none}.button.small{padding:10px 16px;font-size:.85rem}.button.secondary{background:white;border-color:var(--border);color:var(--ink);box-shadow:none}.button.full{width:100%}.eyebrow{font-size:.82rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-ink);margin-bottom:18px}.stick{position:absolute;width:40px;height:40px;border-radius:50%;background:#13233A;border:7px solid #13233A;bottom:24px;box-shadow:0 3px 3px #0004}.stick.left{left:96px}.stick.right{right:79px}.section{max-width:var(--page-max);margin:auto;padding:72px 24px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:30px;margin-bottom:20px;box-shadow:0 4px 20px #0E1F3303}.step{margin:0}.step p{color:var(--muted);font-size:.96rem;margin-bottom:0}.community{max-width:var(--page-max);margin:0 auto 72px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px 50px;background:#F7FAF9;border:1px solid #C9D4DF;padding:38px;border-radius:var(--radius)}.community h2{font-size:1.9rem}.community p{color:#56667A;margin-bottom:0;max-width:680px}.community .fine-print{grid-column:1/-1;font-size:.8rem}.site-footer{max-width:var(--page-max);margin:auto;border-top:1px solid var(--border);padding:32px 24px 38px;display:flex;gap:28px;justify-content:space-between}.footer-brand{font-size:1rem;gap:8px}.footer-brand small{font-size:.55rem;margin:0}.site-footer p{font-size:.8rem;color:var(--muted);margin:10px 0 0}.site-footer nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:.85rem}.page-container{max-width:var(--page-max);margin:auto;padding:54px 24px 72px}.form-container{max-width:940px}.login-container{max-width:540px;min-height:65vh}.page-heading{margin-bottom:30px}.page-heading h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:16px}.page-heading>p:not(.eyebrow){color:var(--muted);max-width:720px}.card h2{font-size:1.45rem;margin-bottom:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.field{margin-bottom:20px}.field label,.check-group legend{display:block;font-size:.88rem;font-weight:500;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;background:#fff;padding:11px 13px;border:1px solid #C9D4DF;border-radius:8px;color:var(--ink);font-size:.95rem}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);outline:2px solid #0E1F3322}.field textarea{resize:vertical}.check-group{border:0;padding:0;margin:20px 0 26px;min-width:0}.choices{display:flex;gap:9px;flex-wrap:wrap}.choice{display:flex;align-items:center;gap:9px;border:1px solid var(--border);padding:9px 13px;border-radius:8px;font-size:.88rem;cursor:pointer;background:#FCFDFD}.choice:has(input:checked){border-color:var(--brand);background:#F2F5F8;color:#0E1F33}.choice input,.consent input{accent-color:var(--brand);width:17px;height:17px;flex-shrink:0}.consent{display:flex;align-items:flex-start;gap:12px;font-size:.9rem;margin-bottom:22px}.notice{padding:19px 22px;margin:20px 0;border:1px solid #f0cac8;background:#fff0ee;color:#9a342c;border-radius:12px}.notice p:last-child{margin-bottom:0}.notice.success{border-color:var(--ok-border);background:var(--ok-bg);color:var(--ok-ink);font-weight:500}.notice[hidden]{display:none}.admin-container{max-width:1440px}.admin-shell{display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px}.admin-sidebar{position:sticky;top:24px;align-self:start}.admin-sidebar a{display:block;padding:11px 14px;border-radius:8px;color:var(--muted);font-size:.9rem;margin-bottom:7px}.admin-sidebar a.active{background:var(--bg);color:var(--brand);font-weight:600}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:26px 0}.stat{padding:22px;margin:0}.stat strong{display:block;font-size:1.9rem;letter-spacing:-.05em;margin-top:8px}.stat span{font-size:.78rem;color:var(--muted)}.filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:14px;margin-bottom:18px}.filters .field{margin:0}.table-wrap{position:relative;overflow:auto;border:1px solid var(--border);border-radius:12px}table{width:100%;border-collapse:collapse;background:#fff;text-align:left;font-size:.87rem}th{background:#F7FAF9;color:var(--muted);font-size:.75rem;font-weight:500;padding:13px 16px;white-space:nowrap}td{padding:16px;border-top:1px solid var(--border);vertical-align:top}td small{display:block;color:var(--muted);margin-top:3px}td strong{font-weight:500}.badge{display:inline-block;font-size:.7rem;border-radius:6px;padding:3px 7px;background:#F2F5F8;color:var(--brand);white-space:nowrap}.badge.complete{background:#F7FAF9;color:#0F7A5F}.table-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;flex-wrap:wrap;font-size:.85rem;color:var(--muted)}.pagination{display:flex;gap:8px}.pagination button{background:#fff;border:1px solid var(--border);border-radius:7px;padding:7px 12px;color:var(--ink)}.pagination button:disabled{opacity:.5;cursor:default}.empty{text-align:center;padding:38px;color:var(--muted)}dialog{border:1px solid var(--border);border-radius:var(--radius);max-width:700px;width:calc(100vw - 32px);padding:30px;color:var(--ink);box-shadow:0 20px 100px #0E1F3350}dialog::backdrop{background:#0E1F3399}.dialog-heading{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}.dialog-heading>h2{margin-bottom:0}.dialog-heading>button:not(.button){font-size:1.3rem;background:transparent;border:0;color:var(--muted);padding:0 6px;align-self:start}.profile-details{display:grid;grid-template-columns:1fr 1fr;gap:14px 26px}.profile-details div{border-bottom:1px solid var(--border);padding-bottom:12px;overflow-wrap:anywhere}.profile-details dt{font-size:.75rem;color:var(--muted);margin-bottom:4px}.profile-details dd{margin:0;font-size:.9rem}.profile-details .wide{grid-column:1/-1}
@media(max-width:900px){.header-inner{gap:15px}.header-inner nav{gap:14px}.steps{gap:14px}.card{padding:24px}.community{margin:0 24px 50px;padding:28px;gap:20px}.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;display:flex;gap:12px;flex-wrap:wrap}.admin-sidebar a{margin:0}.filters{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.header-inner{padding:15px 18px}.brand{font-size:1.15rem}.brand-mark{width:36px;height:36px;font-size:1.5rem}.header-inner nav{order:3;margin:0;width:100%;justify-content:center;border-top:1px solid var(--border);padding-top:13px;gap:18px;font-size:.85rem}.header-inner nav .button{padding:7px 12px;font-size:.75rem}.languages{margin-left:auto}.section{padding:48px 24px}.steps{grid-template-columns:1fr}.step{padding:24px}.community{grid-template-columns:1fr;margin:0 24px 46px}.community .button{justify-self:start}.site-footer{display:block;padding:28px 24px}.site-footer nav{margin-top:20px;gap:15px}.form-grid{grid-template-columns:1fr}.page-container{padding:35px 18px 46px}.card{padding:22px}.page-heading h1{font-size:2rem}.choices{gap:8px}.choice{font-size:.82rem;padding:8px 11px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:18px}.stat strong{font-size:1.6rem}.filters{grid-template-columns:1fr}.profile-details{grid-template-columns:1fr}.profile-details .wide{grid-column:auto}.admin-sidebar{gap:5px}.admin-sidebar a{padding:8px 11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
.admin-shell>div,.admin-sidebar{min-width:0}.admin-shell>:not(.admin-sidebar){grid-column:2}.pendencies-list .admin-actions{margin:10px 0 4px}.group-task-account{margin:10px 0 6px;max-width:360px}.group-task-account label{display:block;font-size:.85rem;font-weight:500;margin-bottom:6px}.group-task-account p{margin:6px 0 0}.technical-detail summary{font-size:.82rem;color:var(--muted);cursor:pointer}.technical-detail p{margin:8px 0 0}.message-body{background:var(--bg-soft);border:1px solid var(--border);border-radius:12px;padding:18px 20px;margin:10px 0 4px}.message-body[hidden]{display:none}.message-body .profile-details{gap:12px 24px}.schedule-board{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:24px;align-items:start}.schedule-invitees h3,.schedule-slot-card h3{font-size:1.05rem;margin-bottom:6px}.schedule-invitees>p:first-of-type{margin-bottom:12px}.schedule-invitees .pendencies-list li{margin-bottom:12px}.schedule-slots{display:flex;flex-direction:column;gap:16px}.schedule-slot-card{margin:0;padding:20px}.schedule-slot-card .pendencies-list li{margin-bottom:10px}.schedule-slot-card .notice{margin:12px 0}.playtest-brief{background:var(--bg);border-radius:12px;padding:16px 18px;margin:0 0 18px}.playtest-brief .eyebrow{margin-bottom:6px}.playtest-brief p:last-child{margin-bottom:0}.playtest-slots{margin:22px 0}.playtest-slots h4{margin-bottom:8px}.playtest-slots .choices{margin:14px 0}.playtest-slots .playtest-actions{margin-top:16px}.playtest-slots [hidden]{display:none}.message-body dd{overflow-wrap:anywhere}@media(max-width:900px){.admin-shell{grid-template-columns:minmax(0,1fr)}.admin-shell>:not(.admin-sidebar){grid-column:1}.message-body .profile-details{grid-template-columns:1fr}.schedule-board{grid-template-columns:minmax(0,1fr)}}

.footer-button{padding:0;border:0;background:transparent;color:var(--brand);font-size:.85rem;cursor:pointer}.footer-button:hover{text-decoration:underline}.recording-notice{background:#F2F5F8;border:1px solid #D3DCE5;border-radius:12px;padding:22px;margin:20px 0}.recording-notice h3{font-size:1.1rem}.recording-notice p{font-size:.9rem;color:#56667A;margin-bottom:0;line-height:1.75}.privacy-center{scroll-margin-top:24px;padding-top:30px}.privacy-summary{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:0 0 24px}.privacy-summary dt{font-size:.8rem;color:var(--muted)}.privacy-summary dd{margin:4px 0 0;font-size:.95rem;overflow-wrap:anywhere}.privacy-tools{display:grid;grid-template-columns:1fr 1fr;gap:20px}.privacy-tools .card{display:flex;flex-direction:column;align-items:flex-start}.privacy-tools .button{margin-top:auto}.privacy-history{font-size:.85rem;color:var(--muted);padding-left:20px;max-height:220px;overflow:auto}.privacy-history li{margin-bottom:8px}.danger{background:var(--danger);color:var(--surface)}.danger:hover{background:var(--danger-hover)}.privacy-notice h2{font-size:1.3rem;margin-top:30px;letter-spacing:-.01em}.privacy-notice section>p{color:var(--muted);line-height:1.85}.cookie-banner{position:fixed;z-index:20;left:24px;right:24px;bottom:20px;max-width:var(--page-max);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 60px #0E1F3330}
.cookie-banner h2{font-size:.95rem;margin:0}
.cookie-banner p{font-size:.78rem;margin:2px 0 0;color:var(--navy-support);max-width:70ch}.cookie-banner[hidden]{display:none}.cookie-banner h2{font-size:1.05rem;margin-bottom:6px}.cookie-banner p{font-size:.85rem;color:var(--muted);max-width:680px;margin:0}.cookie-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}.cookie-banner .cookie-actions{margin:0;flex-shrink:0}#cookie-dialog p{font-size:.92rem;color:var(--muted)}#cookie-dialog .dialog-heading h2{font-size:1.5rem}.admin-privacy{padding-top:28px;scroll-margin-top:20px}.admin-privacy .privacy-tools{margin-top:20px}.privacy-filters{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:20px}.privacy-filters .field{min-width:200px}.privacy-note{font-size:.78rem;color:var(--muted);margin-top:8px}
@media(max-width:760px){.cookie-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;left:8px;right:8px;bottom:8px;border-radius:12px}.cookie-banner p{display:none}.cookie-banner h2{font-size:.82rem;flex:1 1 100%}.cookie-banner .cookie-actions{margin-top:0;display:flex;flex-wrap:wrap;gap:6px;flex:1 1 auto}.cookie-banner .cookie-actions .button{padding:7px 10px;font-size:.74rem;flex:1 1 auto;text-align:center}.privacy-tools,.privacy-summary{grid-template-columns:1fr}.cookie-actions .button{font-size:.85rem;padding:11px 15px}.privacy-tools{gap:0}.cookie-banner h2{font-size:1rem}.cookie-banner p{font-size:.8rem}.privacy-filters .field{width:100%}}
.admin-data-controls .button{margin-right:8px;margin-bottom:6px}

.profile-editor{margin:24px 0}.profile-editor>summary{cursor:pointer;padding:18px 24px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);font-weight:600}.profile-editor[open]>summary{margin-bottom:20px}

.choice span{min-width:0;overflow-wrap:anywhere}#privacy-form button:disabled{cursor:default}

.brand small{color:var(--muted)}
.other-text{margin-top:14px}
.other-text input{max-width:520px}
.admin-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start}
.pill{display:inline-block;border-radius:999px;padding:2px 9px;font-size:.72rem;margin:2px 4px 2px 0;background:var(--bg);color:var(--navy-support);border:1px solid var(--border)}
.pill.ok{background:var(--ok-bg);color:var(--accent-ink);border-color:var(--ok-border)}
.pill.warn{background:var(--warn-bg);color:var(--warn-ink);border-color:var(--warn-border)}
.pill.danger{background:var(--danger-bg);color:var(--danger-ink);border-color:var(--danger-border)}
.group-tasks{border-color:var(--danger-border);background:var(--danger-bg)}
.group-tasks h2{color:var(--danger-ink)}
.nav-count[hidden]{display:none}
.nav-count{display:inline-block;min-width:1.4em;margin-left:6px;padding:0 6px;border-radius:999px;background:var(--danger-ink);color:#fff;font-size:.75rem;font-weight:700;text-align:center}
.pill.bad{background:var(--bad-bg);color:var(--bad-ink);border-color:var(--bad-border)}
.track{display:flex;gap:4px;align-items:center}
.track i{width:18px;height:6px;border-radius:3px;background:var(--border);display:block}
.track i.done{background:var(--accent)}
.playtests{margin-top:28px}
.playtest-card{margin-bottom:18px}
.playtest-card h3{margin:2px 0 4px;font-size:1.3rem}
.playtest-meta{color:var(--muted);font-size:.9rem;margin:0 0 14px}
.doc-box{border:1px solid var(--border);border-radius:12px;margin:12px 0;background:var(--surface)}
.doc-box summary{padding:12px 14px;font-weight:500;cursor:pointer;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.doc-version{font-size:.72rem;color:var(--accent-ink);border:1px solid var(--ok-border);background:var(--ok-bg);border-radius:999px;padding:2px 8px}
.doc-text{padding:12px 14px;border-top:1px solid var(--border);font-size:.86rem;line-height:1.7;color:var(--navy-support);max-height:40vh;overflow:auto}
.button.wide{width:100%;text-align:center;justify-content:center}
.playtest-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.playtest-actions .button{flex:1 1 auto;text-align:center}
.playtest-checklist{list-style:none;margin:0;padding:0}
.playtest-checklist li{display:flex;gap:10px;align-items:baseline;padding:7px 0;border-bottom:1px solid var(--border);font-size:.92rem;color:var(--muted)}
.playtest-checklist li:last-child{border-bottom:0}
.playtest-checklist li.done{color:var(--ink)}
.playtest-checklist li.done span[aria-hidden]{color:var(--accent-ink)}
.playtest-checklist small{margin-left:auto;color:var(--muted);font-size:.76rem}
.playtest-withdraw{margin-top:14px}
.playtest-withdraw summary{cursor:pointer;font-size:.82rem;color:var(--muted)}
.playtest-withdraw .button{margin-top:8px;margin-right:8px}
@media(min-width:720px){.playtest-actions .button{flex:0 0 auto}.button.wide{width:auto;min-width:260px}}

/* KP-36 checklist, KP-34 session script: tokens only, nothing coloured inline. */
.playtest-precall{margin:18px 0;padding:18px;background:var(--bg);border:1px solid var(--border);border-radius:12px}
.playtest-precall h4{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.playtest-precall p{font-size:.9rem;margin-bottom:10px}
.playtest-precall-list{list-style:none;margin:0;padding:0}
.playtest-precall-list li{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--border);font-size:.92rem;color:var(--ink)}
.playtest-precall-list li:last-child{border-bottom:0}
.playtest-precall-list li span[aria-hidden]{color:var(--accent-ink)}
/* KP-91. The recording app's code on the player's card: large, readable,
   copyable, and wrapping on a phone. */
.playtest-app-code{margin:18px 0;padding:18px;background:var(--bg-soft);border:1px solid var(--border);border-radius:12px}
.playtest-app-code h4{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.playtest-app-code p{font-size:.9rem;margin-bottom:10px}
.playtest-app-code-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.playtest-app-code-value{font-size:2rem;font-weight:600;letter-spacing:.18em;color:var(--ink);background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;padding:6px 14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
/* KP-91. The round screen's "App de gravação": one line per recording. */
.app-recording-list{list-style:none;margin:0;padding:0}
.app-recording-list li{padding:6px 0;border-bottom:1px solid var(--border);font-size:.85rem}
.app-recording-list li:last-child{border-bottom:0}
.app-redeem-lockouts{margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}
.app-redeem-lockouts p{margin:0 0 8px}
.link-button{background:transparent;border:0;padding:0;color:var(--brand);font:inherit;font-weight:600;font-size:.82rem;cursor:pointer;text-align:left}
.link-button:hover{text-decoration:underline}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* The sign-up's honeypot field: out of sight and of the tab order, so only a script fills it (api/auth/register.php). */
.form-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
/* E-mail confirmation: the link page and the account page box (confirm-email.php, accountEmailConfirmation()). */
#registration-success a{font-weight:600;text-decoration:underline}.confirm-email h2{margin-bottom:14px}
.confirm-email .notice{margin-top:0}
.confirm-email [hidden]{display:none}
.confirm-email-next{margin:16px 0 0}
.script-block{margin:0 0 16px;padding:18px 20px;background:var(--bg-soft);border-left:3px solid var(--accent);border-radius:0 12px 12px 0;color:var(--ink);font-size:.95rem;line-height:1.8}
.script-item{padding:14px 0;border-bottom:1px solid var(--border)}
.script-item:last-child{border-bottom:0}
.script-item.done{color:var(--muted)}
.script-item .choice{border:0;background:transparent;padding:0;align-items:flex-start;font-size:.95rem}
.script-item small{color:var(--muted);font-weight:400}
.script-item .field{margin:8px 0 0}
.script-item .field span{display:block;font-size:.78rem;color:var(--muted);margin-bottom:4px}
/* KP-65. The row sizes to its content; fixed columns left half the card empty. */
.script-row{display:flex;flex-wrap:wrap;gap:0 14px;align-items:end;padding:14px 0;border-bottom:1px solid var(--border)}
.script-row .field{flex:1 1 220px;min-width:0}
.script-row .field:has(input[name=minutes]){flex:0 0 110px}
.script-row>button{flex:0 0 auto;margin-bottom:2px}
.script-row:last-child{border-bottom:0}
/* A removed row stays hidden until the save answers; the session-note line spans the row. */
.script-row[hidden]{display:none}
.script-row>p{flex:1 1 100%;margin:0 0 10px}
.script-row .field span{display:block;font-size:.78rem;color:var(--muted);margin-bottom:6px}
.script-list:empty+[data-script-add]{margin-top:0}
@media(max-width:640px){.script-row{display:block}.script-row .field,.script-row>button{width:100%}.playtest-precall{padding:14px}.playtest-precall-list .button{margin-left:0;width:100%}}

/* Long names must break rather than push the page sideways (responsive test). */
.page-heading h1,.card h2,.playtest-card h3,td strong{overflow-wrap:anywhere}
/* A note still only in this browser, not yet confirmed by the server (KP-41). */
.script-item textarea.draft{border-color:var(--warn-border);background:var(--warn-bg)}
/* KP-49. The one pendency that is about the account and not the profile. Amber
   because it is a state the player has to clear, not an error they just made. */
.account-email{border-color:var(--warn-border);background:var(--warn-bg)}.account-password h3{font-size:1.05rem;margin-bottom:6px}.account-password form{margin-top:16px;max-width:420px}.account-password .fine-print{margin-top:14px}
.account-email h2{color:var(--warn-ink)}
.account-email .field{margin-top:10px}
/* The round's slots, one line each: the time pill and the call link sit
   together instead of running into the next slot. */
.slot-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:4px}

/* Screen-reader labels inside a horizontal scroller need a positioned container, or they push the page sideways. */
/* KP-53. What is still missing before a round can be offered. Amber, like the
   other state that asks the person to do something, and above the rounds. */
.pendencies{border-color:var(--warn-border);background:var(--warn-bg)}
.pendencies h2{color:var(--warn-ink)}
.pendencies-list{margin:8px 0 0;padding-left:20px}
.pendencies-list li{margin-bottom:6px;overflow-wrap:anywhere}
.pendencies-list a{white-space:nowrap;font-weight:600}
/* KP-63. The invite screen's filter, above the list. */
.invite-filter{margin-bottom:14px}
.invite-filter .field{margin-bottom:8px}
/* Convidar: one line on whether the person can be invited, the reasons as a
   short list under it, and columns wide enough that nothing wraps into a blob. */
.invite-table th:nth-child(2){min-width:220px}
.invite-table th:nth-child(5){min-width:280px}
.invite-place{min-width:140px}
.invite-device-note{font-size:.8rem;color:var(--warn-ink);margin-top:4px}
.invite-state-head{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:.85rem;font-weight:600;color:var(--muted)}
.invite-state-head::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--border-strong);flex-shrink:0}
.is-blocked .invite-state-head{color:var(--bad-ink)}
.is-blocked .invite-state-head::before{background:var(--bad-ink)}
.is-ready .invite-state-head{color:var(--accent-ink)}
.is-ready .invite-state-head::before{background:var(--accent)}
.invite-reasons{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:5px;font-size:.82rem;line-height:1.4}
.invite-reasons li{position:relative;padding-left:14px}
.invite-reasons li::before{content:"";position:absolute;left:0;top:.45em;width:6px;height:6px;border-radius:2px}
.invite-reasons .is-block::before{background:var(--bad-border)}
.invite-reasons .is-warn{color:var(--warn-ink)}
.invite-reasons .is-warn::before{background:var(--warn-border)}
.invite-table tr.is-blocked td:nth-child(-n+4){color:var(--muted)}
/* KP-64. Title on one side, actions on the other, so the middle button is not pushed to the centre. */
.heading-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
/* KP-70. An unconfirmed seat: amber, like every state awaiting the person's action. */
.seat-pending{border-color:var(--warn-border);background:var(--warn-bg)}
.seat-pending strong{color:var(--warn-ink)}

/* KP-80. The round slot builder: calendar on the left, the chosen day's times on the right, booked slots below. */
.schedule-layout{display:grid;grid-template-columns:minmax(260px,320px) 1fr;gap:24px;align-items:start}
.schedule-calendar{min-width:0}
.schedule-month{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.schedule-weekdays,.schedule-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.schedule-weekdays{font-size:.72rem;color:var(--navy-support);text-align:center;margin-bottom:4px}
.schedule-day{min-height:40px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:inherit;font:inherit;cursor:pointer}
.schedule-day:hover:not(:disabled){border-color:var(--accent-ink)}
.schedule-day:disabled{opacity:.35;cursor:not-allowed}
.schedule-day.is-empty{border:0;background:none;min-height:0}
.schedule-day.has-slots{background:var(--ok-bg);border-color:var(--ok-border);font-weight:600}
.schedule-day.is-selected{outline:2px solid var(--accent-ink);outline-offset:1px}
.schedule-times{min-width:0}
.schedule-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.schedule-slot{border:1px solid var(--border);border-radius:999px;padding:6px 14px;background:var(--surface);color:inherit;font:inherit;cursor:pointer}
.schedule-slot.is-on{background:var(--ok-bg);border-color:var(--ok-border);font-weight:600}
.schedule-slot.is-busy{border-color:var(--warn-border);background:var(--warn-bg);color:var(--warn-ink)}
.schedule-other{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.schedule-created{margin-top:20px;display:grid;gap:16px}
.schedule-created-day h4{margin:0 0 8px}
.schedule-created-slot{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}
@media (max-width:760px){
  .schedule-layout{grid-template-columns:1fr}
  .schedule-created-slot{grid-template-columns:1fr}
}
.schedule-times .button.is-on{background:var(--ok-bg);border-color:var(--ok-border);color:var(--accent-ink)}

/* KP-81 to KP-84. The public site, using the product's brand tokens only. */
.site-split-hero{max-width:var(--page-max);margin:0 auto;padding:56px 24px 32px;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.site-split-hero h1{margin:8px 0 0}
.site-split-hero .lead{margin:0 0 20px;color:var(--navy-support)}
.site-block{max-width:var(--page-max);margin:0 auto;padding:40px 24px}
.site-block h2{margin:0 0 20px}
.site-card h3{margin:0 0 8px;font-size:1.05rem}
.site-card p{margin:0;color:var(--navy-support)}
.site-check{flex:none;width:18px;height:18px;margin-top:3px;border-radius:999px;background:var(--ok-bg);border:1px solid var(--ok-border);position:relative}
.site-check::after{content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid var(--accent-ink);border-width:0 2px 2px 0;transform:rotate(45deg)}
.site-form{max-width:760px}
.site-form:not([data-support]){max-width:960px;margin-inline:auto}
.site-contact-hero{display:block;max-width:1008px;text-align:center}
.site-contact-hero .lead{max-width:760px;margin:22px auto 0}
@media(min-width:761px){.site-contact-hero h1{white-space:nowrap;text-wrap:nowrap}}
@media(min-width:761px){.site-contact-hero.is-indie h1{white-space:normal;text-wrap:balance}}
.site-form textarea{width:100%}
.site-form.is-sent{margin-inline:auto}
.site-form.is-sent .notice.success{text-align:center}
/* Menu: a button on phones, a single row on desktop. */
.menu-toggle{display:none;background:none;border:1px solid var(--border);border-radius:10px;width:42px;height:38px;cursor:pointer}
.menu-bars,.menu-bars::before,.menu-bars::after{display:block;width:18px;height:2px;background:var(--navy-support);margin:0 auto;position:relative}
.menu-bars::before,.menu-bars::after{content:"";position:absolute}
.menu-bars::before{top:-6px}
.menu-bars::after{top:6px}
.header-menu{display:flex;align-items:center;gap:20px}
@media (max-width:860px){
  .menu-toggle{display:block}
  .header-menu{display:none;width:100%;flex-direction:column;align-items:flex-start;gap:12px;padding-top:12px}
  .header-menu.is-open{display:flex}
  .header-menu nav{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%}
}
@media (max-width:760px){
  .site-split-hero{grid-template-columns:1fr;padding-top:36px}
}


.site-badge{display:inline-block;margin:0 0 16px}
/* KP-140 front B start */
/* KP-140. The QA e playtest, Segurança and Programa indie pages: dark centred opening and closing (siteCenteredHero(), siteDarkClosing()). Colours are the --site-* tokens; light sections are .site-plain, dark ones .site-dark. */
.site-hero.site-centered-hero .site-wrap{padding-top:50px;padding-bottom:90px;text-align:center}
.site-hero.site-centered-hero h1{max-width:920px;margin:0 auto 20px;font-size:clamp(2.25rem,5vw,3.625rem);line-height:1.06}
.site-centered-hero h1 .site-gradient-text{display:block}
.site-hero.site-centered-hero .site-hero-lead{max-width:720px;margin:0 auto;font-size:clamp(1.0625rem,1.8vw,1.25rem);line-height:1.55}
.site-centered-actions{display:flex;justify-content:center;margin-top:30px}
.site-dark.site-dark-closing{padding:84px 0;text-align:center;background:radial-gradient(900px 500px at 80% 20%,var(--site-glow) 0%,var(--site-deep) 50%,var(--site-night) 100%)}
.site-dark.site-dark-closing h2{margin:0 0 12px;font-size:clamp(1.875rem,4vw,2.5rem);font-weight:900;letter-spacing:-.025em}
.site-dark.site-dark-closing .site-lead{max-width:52ch;margin:0 auto 28px}
.site-dark-closing .site-lead a{color:var(--site-cyan);text-decoration:underline;text-underline-offset:3px}
.site-dark-closing .site-lead a:hover{color:var(--surface)}
.site-section-intro{max-width:760px;margin:0;font-size:1.125rem;line-height:1.6;color:var(--site-text)}
.site-diff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}
.site-diff-card{padding:28px;background:var(--surface);border:1px solid var(--site-line);border-radius:20px}
.site-diff-card.is-playtest{border:2px solid var(--site-blue)}
.site-diff-card .site-diff-label{margin:0 0 6px;font-size:.8125rem;font-weight:800;letter-spacing:.15em;color:var(--site-faint)}
.site-diff-card.is-playtest .site-diff-label{color:var(--site-blue)}
.site-diff-card h3{margin:0 0 14px;font-size:1.625rem;font-weight:800;line-height:1.2;color:var(--ink)}
.site-diff-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.site-diff-card li{position:relative;padding-left:18px;font-size:1rem;line-height:1.55;color:var(--site-text)}
.site-diff-card li::before{content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:currentColor}
.site-qa-why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px;margin-top:28px}
.site-qa-why-grid>article{padding:24px;background:var(--site-glass-box);border:1px solid var(--site-glass-line);border-radius:18px}
.site-qa-why-icon{display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin-bottom:14px;border-radius:14px;background:var(--site-glass-strong);background:color-mix(in srgb,var(--site-cyan) 12%,transparent);color:var(--site-cyan)}
.site-qa-why-icon .site-icon{width:26px;height:26px}
.site-qa-why-grid h3{margin:0 0 8px;font-size:1.1875rem;font-weight:800;line-height:1.3;color:var(--surface)}
.site-qa-why-grid p{margin:0;font-size:.9375rem;line-height:1.6;color:var(--site-on-dark-muted)}
.site-tiles.is-three{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.site-more{margin:26px 0 0;font-size:1rem;line-height:1.6;color:var(--site-text)}
.site-more a{color:var(--ink);font-weight:700;text-decoration:underline;text-decoration-color:var(--site-blue);text-decoration-thickness:2px;text-underline-offset:3px}
.site-more a:hover{text-decoration-color:currentColor}
.site-faq-cards>article{padding:20px 22px;background:var(--surface);border:1px solid var(--site-line);border-radius:16px}
.site-faq-cards h3{margin:0 0 8px;font-size:1.0625rem;font-weight:700;line-height:1.35;color:var(--ink)}
.site-faq-cards p{margin:0;font-size:.9375rem;line-height:1.6;color:var(--site-text)}
/* An odd last question (production has three) takes the whole row instead of
   leaving an empty cell beside it. */
.site-faq-cards>article:last-child:nth-child(odd){grid-column:1/-1}
.site-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:start}
.site-rules-list{list-style:none;margin:0;padding:0}
.site-rules-list li{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--site-line)}
.site-rules-list li:first-child{padding-top:0}
.site-rules-list .site-icon{width:26px;height:26px;color:var(--site-blue)}
.site-rules-list h3{margin:0;font-size:1.125rem;font-weight:800;line-height:1.35;color:var(--ink)}
.site-rules-list p{margin:4px 0 0;font-size:1rem;line-height:1.6;color:var(--site-text)}
@media (max-width:960px){.site-rules{grid-template-columns:minmax(0,1fr);gap:28px}}
@media (max-width:760px){.site-diff-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  .site-hero.site-centered-hero .site-wrap{padding-top:24px;padding-bottom:64px}
  .site-centered-actions .site-button,.site-dark-closing .site-button{width:100%}
  .site-dark.site-dark-closing{padding:64px 0}
  .site-diff-card{padding:22px 20px}
}
/* KP-140 front B end */

/* KP-86. The round's step trail. */
.setup-trail{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.setup-trail a,.setup-trail span{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;font-size:.84rem;color:var(--navy-support);text-decoration:none}
.setup-trail a:hover{border-color:var(--dark)}
.setup-trail span[data-at]{background:var(--dark);border-color:var(--dark);color:#fff}
.setup-trail a[data-done]{background:var(--ok-bg);border-color:var(--ok-border);color:var(--accent-ink)}
.setup-trail a>span,.setup-trail>span>span{font-variant-numeric:tabular-nums;font-size:.74rem;font-weight:700;opacity:.75}
.copy-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 14px;border:1px dashed var(--border-strong);border-radius:10px;background:var(--bg-soft);margin:0 0 8px}
.copy-row code{font-size:.9rem;color:var(--ink)}

/* Tokens of the game screens drawn by the studio's report (--tile-*, --screen*). */
:root{--tile-1:#2CCB9C;--tile-2:#6FA8DC;--tile-3:#F4B860;--tile-4:#E07A8B;--tile-5:#9B8AE6;--screen:#1D3A5A;--screen-frame:#0B1828;--player-bg:#13233A}



.site-clients-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.site-client{margin:0;padding:22px;background:var(--surface);border:1px solid var(--border);border-radius:14px}
.site-client blockquote{margin:0 0 12px}
.site-client blockquote p{margin:0;font-size:1.05rem}
.site-client figcaption{font-size:.85rem;color:var(--muted)}

/* KP-102. Each role's header: navy for the admin, light with a blue stripe for QA and, since KP-90, light with the --accent stripe for players. On phones the few links drop to their own row. */
.role-body-admin{--papel:var(--tile-3);--papel-ink:var(--papel-admin-ink);--papel-fundo:var(--papel-admin-fundo);--papel-cabecalho:var(--dark);--papel-menu:var(--navy-2);--papel-menu-ink:var(--border-strong);--papel-borda:var(--papel-admin-borda);--papel-selo-ink:var(--dark)}.role-body-qa{--papel:var(--papel-qa-cor);--papel-ink:var(--papel-qa-cor);--papel-fundo:var(--papel-qa-fundo);--papel-cabecalho:var(--papel-qa-cor);--papel-menu:var(--papel-qa-menu);--papel-menu-ink:var(--papel-qa-cor);--papel-borda:var(--papel-qa-borda);--papel-selo-ink:var(--papel-qa-cor)}.role-body-admin,.role-body-qa{background:var(--papel-fundo)}.role-body-admin .role-header-admin{background:var(--papel-cabecalho);border-top:6px solid var(--papel)}.role-body-admin .role-header-admin .role-badge{background:var(--papel);color:var(--papel-selo-ink);font-size:.78rem;font-weight:800;letter-spacing:.14em;padding:5px 11px}.role-body-qa .role-header-qa{background:var(--papel-cabecalho);border-top:6px solid var(--qa-stripe);color:var(--surface)}.role-body-qa .role-header-qa .brand,.role-body-qa .role-header-qa .nav-button{color:var(--surface)}.role-body-qa .role-header-qa .brand small,.role-body-qa .role-header-qa .role-name{color:var(--papel-qa-ink-claro)}.role-body-qa .role-header-qa .role-badge{background:var(--surface);color:var(--papel-selo-ink);font-size:.78rem;font-weight:800;letter-spacing:.14em;padding:5px 11px}.role-body-qa .role-header-qa .role-nav a{color:var(--papel-qa-ink-claro)}.role-body-qa .role-header-qa .role-nav a[aria-current=page]{color:var(--surface)}.role-body-admin .admin-sidebar,.role-body-qa .admin-sidebar{background:var(--papel-menu);border-radius:12px;padding:10px}.role-body-admin .admin-sidebar a,.role-body-qa .admin-sidebar a{color:var(--papel-menu-ink)}.role-body-admin .admin-sidebar a.active{background:var(--papel-fundo);color:var(--papel-ink);color:var(--papel-selo-ink);font-weight:700}.role-body-qa .admin-sidebar a.active{background:var(--papel);color:var(--surface);font-weight:700}.role-eyebrow{color:var(--papel-ink)}.role-body-admin .card,.role-body-qa .card{border-color:var(--papel-borda)}.role-header-inner{max-width:1440px;margin:auto;display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:14px 24px}
/* On the person's own profile: as wide as the public pages the profile uses. */
.role-header-page .role-header-inner{max-width:var(--page-max)}
.role-badge{flex:none;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;line-height:1.4;padding:4px 10px;border-radius:6px}
.role-nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px 22px;flex:1 1 auto;font-size:.9rem;font-weight:500}
.role-nav a{color:inherit;padding:3px 0;border-bottom:2px solid transparent}
.role-nav a:hover{text-decoration:none;border-bottom-color:currentColor}
.role-nav a[aria-current=page]{font-weight:700}
.role-account{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-left:auto;font-size:.88rem}
.role-name{color:var(--muted);min-width:0;overflow-wrap:anywhere}
.role-header-admin{background:var(--dark);border-bottom-color:var(--dark);color:var(--surface)}
.role-header-admin .brand,.role-header-admin .nav-button{color:var(--surface)}
.role-header-admin .brand small,.role-header-admin .role-name{color:var(--on-dark)}
.role-header-admin .role-badge{background:var(--accent);color:var(--dark)}
.role-header-admin .role-nav a{color:var(--border-strong)}
.role-header-admin .role-nav a[aria-current=page]{color:var(--surface);border-bottom-color:var(--accent)}
.role-header-admin .languages{background:var(--navy-2)}
.role-header-admin .languages a{color:var(--on-dark)}
.role-header-admin .languages a[aria-current]{background:var(--surface);color:var(--brand)}
.role-header-qa{border-top:4px solid var(--qa-stripe)}
.role-header-qa .role-badge{background:var(--navy-support);color:var(--surface)}
.role-header-qa .role-nav a[aria-current=page]{border-bottom-color:var(--qa-stripe)}
@media(max-width:640px){
  .role-header-inner{padding:12px 18px;gap:10px 14px}
  .role-nav{order:3;flex-basis:100%;padding-top:10px;border-top:1px solid var(--border)}
  .role-header-admin .role-nav{border-top-color:var(--navy-support)}
  .role-account{gap:6px 12px}
}
/* A notice can carry a long typed address with no break point, which must wrap on phones (KP-102). */
.notice{overflow-wrap:break-word}
/* KP-102. A QA has no side menu, so the screen spans both columns. :only-child rather than :has(), which older browsers drop along with the whole rule. */
.admin-shell>:only-child{grid-column:1/-1}

/* KP-102. The QA team: one block per person, their rounds beside their week. */
/* A round's code name is a link here, and can be longer than a phone is wide. */
.admin-qa-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:0 12px}
.admin-qa-search .field{flex:1 1 260px}
.admin-qa-search .button{margin-bottom:20px}
/* KP-115. The screen Jogos: the row's buttons, the filter's button at the
   foot of its column, the pages and the games to link to. */
.admin-games-actions{display:flex;flex-wrap:wrap;gap:8px}
.admin-games-actions .button{white-space:nowrap}
.admin-games-table td:first-child{min-width:13rem}
.admin-games-table .pill{white-space:nowrap}
.admin-games-filter-actions{display:flex;align-items:flex-end}
.admin-games-pages{display:flex;flex-wrap:wrap;gap:8px}
.admin-games-dialog .dialog-heading{margin-bottom:18px}
.admin-games-results{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:8px}
.admin-games-results li{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:var(--ink)}
.admin-qa-candidates{list-style:none;margin:0;padding:0}
.admin-qa-candidates li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:12px 0;border-top:1px solid var(--border)}
.admin-qa-candidates li>div{min-width:0;overflow-wrap:anywhere}

/* KP-90. The player's area: the role header with the --accent stripe, and a side menu that moves above the content on tablets and phones, wrapping instead of scrolling. */
.role-header-player{border-top:4px solid var(--accent)}
.player-area{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}
.player-nav{position:sticky;top:24px;display:flex;flex-direction:column;gap:4px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:16px}
.player-nav a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:10px;color:var(--ink);font-size:.95rem;font-weight:500;line-height:1.35}
.player-nav a:hover{background:var(--bg);text-decoration:none}
.player-nav a[aria-current=page]{background:var(--bg);font-weight:700}
.player-nav-count{flex:none;min-width:1.7em;padding:1px 7px;border-radius:999px;background:var(--warn-bg);color:var(--warn-ink);font-size:.72rem;font-weight:700;line-height:1.6;text-align:center}
.player-main{min-width:0;display:flex;flex-direction:column;gap:28px}
.player-main>*{margin-top:0;margin-bottom:0}
.player-main .notice{margin:0}
.player-greeting h1{margin:0;font-size:1.65rem;letter-spacing:-.02em;overflow-wrap:anywhere}
.player-greeting p{margin:4px 0 0;color:var(--muted)}
.player-section-title{margin:0 0 12px;font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
/* "Para fazer agora": one card per item. The columns follow the room the cards have, not the window, since past tablet width the side menu takes space. */
.player-todo-intro{margin:-4px 0 12px;font-size:.9rem;color:var(--muted)}
.player-todo-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr));gap:12px}
.player-todo-item{display:flex;align-items:center;gap:16px;min-width:0;padding:18px 20px;background:var(--surface);border:1px solid var(--border);border-radius:16px}
.player-todo-icon{flex:0 0 40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--warn-bg);color:var(--warn-ink)}
.player-todo-icon svg{display:block}
.player-todo-body{flex:1 1 0;min-width:0}
.player-todo-text{margin:0;font-size:.95rem;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.player-todo-time{margin:3px 0 0;font-size:.82rem;color:var(--muted)}
.player-todo-item .button{flex:none;padding:9px 14px;font-size:.82rem;box-shadow:none}
/* The eligibility panel at the top of "Meus testes": ready in brand green, blocked in amber. Other pages show only their own lines. */
.player-eligibility{min-width:0}
.player-eligibility[hidden],.player-todo-item[hidden]{display:none}
.player-eligibility.is-blocked,.player-eligibility.is-ready{padding:20px 22px;border-radius:16px;border:1px solid var(--warn-border);background:var(--bg-soft)}
.player-eligibility.is-ready{border-color:var(--ok-border);background:var(--ok-bg)}
.player-eligibility.is-page{margin:0}
/* The onboarding for everyone: one card per platform of the profile, above the tests. */
.player-general-onboarding{margin:28px 0;min-width:0}
.player-general-onboarding>.muted{margin:6px 0 16px}
.player-general-onboarding-card{padding:20px 22px;margin:0 0 14px;min-width:0}
.player-general-onboarding-card h3{margin:0 0 10px;font-size:1.05rem}
.player-general-onboarding-card .playtest-app-code{margin:14px 0 0}
.player-eligibility-head{display:flex;align-items:flex-start;gap:14px;min-width:0}
.player-eligibility-head>div{flex:1 1 0;min-width:0}
.player-eligibility-head h2{margin:0;font-size:1.2rem;line-height:1.3;letter-spacing:-.01em;overflow-wrap:anywhere}
.player-eligibility-head p{margin:4px 0 0;font-size:.92rem;color:var(--muted)}
.player-eligibility.is-ready .player-eligibility-head p{color:var(--ink)}
.player-eligibility-badge{flex:0 0 40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--warn-bg);color:var(--warn-ink)}
.player-eligibility.is-ready .player-eligibility-badge{background:var(--surface);color:var(--accent-ink)}
.player-eligibility .player-todo-list{grid-template-columns:minmax(0,1fr);gap:10px}
.player-eligibility.is-blocked .player-todo-list{margin-top:16px}
.player-eligibility .player-todo-item{padding:14px 18px}
.player-todo-item.is-notice .player-todo-icon{background:var(--bg);color:var(--navy-support)}
.player-todo-item.is-notice .player-todo-text{font-weight:500}
/* A field still missing for invitations says so in words, from the moment the
   page opens; the one a button led to is outlined for a few seconds (site.js). */
.field-missing{display:inline-block;margin:0 0 8px;padding:2px 10px;border-radius:999px;border:1px solid var(--warn-border);background:var(--warn-bg);color:var(--warn-ink);font-size:.78rem;font-weight:600;line-height:1.5}
.field-missing[hidden]{display:none}
.eligibility-field{min-width:0}
.eligibility-field .check-group{margin-top:0}
.is-missing{scroll-margin-top:24px}
.is-targeted{outline:3px solid var(--brand);outline-offset:6px;transition:outline-color .4s ease}
@media(prefers-reduced-motion:reduce){.is-targeted{transition:none}}
/* The test in progress: chips for the steps, then only the next step. */
.player-main .playtests{margin-top:0}
.playtest-card.is-active{border:2px solid var(--accent);padding:24px}
.playtest-card-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 12px}
.playtest-card-head>div{flex:1 1 240px;min-width:0}
.playtest-card-head .playtest-meta{margin:0}
.playtest-status{flex:none;max-width:100%;padding:4px 10px;border-radius:999px;background:var(--ok-bg);color:var(--accent-ink);font-size:.75rem;font-weight:600;line-height:1.5}
.playtest-status.is-ended{background:var(--bg);color:var(--muted)}
.playtest-steps{list-style:none;margin:20px 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.playtest-step{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted);font-size:.82rem;line-height:1.3}
.playtest-step.is-done{background:var(--ok-bg);border-color:var(--ok-bg);color:var(--accent-ink);font-weight:600}
.playtest-step.is-current{background:var(--dark);border-color:var(--dark);color:var(--surface);font-weight:700}
.playtest-step.is-todo{border-color:var(--border)}
/* "Avaliação" until KP-77: dashed, with at least 3:1 contrast, so it does not read as another step to do. */
.playtest-step.is-later{border-style:dashed;border-color:var(--muted)}
.playtest-next{padding:18px 20px;background:var(--bg);border-radius:14px}
.playtest-next>.eyebrow{margin:0 0 6px;font-size:.72rem;color:var(--muted)}
.playtest-next h4{margin:0 0 8px;font-size:1.05rem;line-height:1.3}
.playtest-next>p:last-child,.playtest-next-row p:last-child{margin-bottom:0}
.playtest-next .notice{margin:10px 0 14px}
.playtest-next .playtest-slots{margin:0}
/* "Vagas preenchidas": a reserve's card, with the text of the e-mail they got. */
.playtest-reserve{background:var(--bg);border-radius:12px;padding:16px 18px;margin:0 0 18px}.playtest-reserve h4{margin-bottom:8px}.playtest-reserve p:last-child{margin-bottom:0}
/* The session flow (lib/session-flow.php): "Aceito" for the time the QA
   scheduled, then the onboarding in the app, with its deadline. */
.playtest-accept,.playtest-onboarding{margin:0 0 18px}
.playtest-accept h4,.playtest-onboarding h4{margin-bottom:8px}
.playtest-accept .notice,.playtest-onboarding .notice{margin:12px 0}
.playtest-onboarding-steps{margin:0 0 14px;padding-left:1.4em}
.playtest-onboarding-steps li{margin-bottom:6px;line-height:1.5}
/* KP-171. The Play Store QR: only where a computer is likely (wide screen, mouse). */
.playtest-store-qr{display:none;margin:12px 0 0;text-align:left}
.playtest-store-qr img{display:block;border:1px solid var(--border);border-radius:8px;margin-bottom:6px}
.playtest-store-qr figcaption{font-size:.9rem;max-width:20em}
@media (min-width:900px) and (hover:hover) and (pointer:fine){.playtest-store-qr{display:block}}
.session-flow{margin-top:4px;font-size:.8rem;overflow-wrap:anywhere}
.session-flow .button{margin-top:6px}
/* "Acordo assinado": right after signing, the top of the next step says the
   signature arrived and what to do now (lib/player-view.php). */
.playtest-next .playtest-signed{border-color:var(--ok-border);background:var(--ok-bg);color:var(--ink)}.playtest-signed p{margin-bottom:4px}.playtest-signed-day{color:var(--accent-ink)}
.playtest-next .doc-box{background:var(--surface)}
.playtest-next-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin-bottom:12px}
.playtest-next-row>div{flex:1 1 280px;min-width:0}
.playtest-next-row .button{flex:none}
/* The pre-call list: a compact read-only row under the next step (KP-120). */
.playtest-card .playtest-precall{margin:16px 0 0;padding:0;background:none;border:0;border-radius:0}
.playtest-card .playtest-precall h4{margin:0 0 4px}
.playtest-precall .playtest-precall-intro{margin:0 0 10px;font-size:.85rem;color:var(--muted)}
.playtest-card .playtest-precall-list{display:flex;flex-wrap:wrap;gap:8px 20px}
.playtest-card .playtest-precall-list li{flex:0 1 auto;gap:8px;padding:0;border-bottom:0;font-size:.85rem}
/* KP-120. The accepted session: when, the call, and the day with the app, with the session code. */
.playtest-session-day{margin:16px 0 0}
.playtest-session-day h4{margin-bottom:8px}
.playtest-session-day .playtest-actions{margin:12px 0}
.playtest-session-steps{margin:12px 0 14px;padding-left:1.4em}
.playtest-session-steps li{margin-bottom:6px;line-height:1.5}
.playtest-session-day .playtest-app-code{margin:12px 0 0}
.playtest-details{margin-top:16px;padding-top:12px;border-top:1px solid var(--border)}
.playtest-details summary{cursor:pointer;font-size:.88rem;font-weight:600;color:var(--brand)}
.playtest-details>p{margin:10px 0 0;font-size:.9rem}
.playtest-timeline{list-style:none;margin:10px 0 0;padding:0}
.playtest-timeline li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:8px 0;border-bottom:1px solid var(--border);font-size:.88rem}
.playtest-timeline li:last-child{border-bottom:0}
.playtest-timeline-step{font-weight:600}
.playtest-timeline-when{color:var(--muted)}
.playtest-timeline .button{margin-left:auto}
.playtest-empty{margin:0}
.playtest-empty h2{margin:0 0 8px;font-size:1.25rem}
.playtest-empty p:last-child{margin-bottom:0}
/* "Testes anteriores": a compact list with the final status of each one. */
.player-previous-list{list-style:none;margin:0;padding:0;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:16px}
.player-previous-item{padding:16px 20px;border-bottom:1px solid var(--border)}
.player-previous-item:last-child{border-bottom:0}
.player-previous-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.player-previous-head>div{flex:1 1 220px;min-width:0}
.player-previous-head h3{margin:0;font-size:1rem;letter-spacing:-.01em;overflow-wrap:anywhere}
.player-previous-head p{margin:2px 0 0;font-size:.85rem;color:var(--muted)}
.player-previous-item .playtest-details{margin-top:10px;padding-top:0;border-top:0}
/* Meu perfil, Privacidade, Minha conta: the same width as the menu leaves. */
.player-main .profile-editor{margin:0}
.player-main .privacy-center{padding-top:0}
.player-account{margin:0}
.player-account .profile-details{margin:0 0 16px}
.player-account>p:last-child{margin-bottom:0}
@media(max-width:900px){
  .player-area{grid-template-columns:minmax(0,1fr);gap:20px}
  .player-nav{position:static;flex-direction:row;flex-wrap:wrap;padding:6px}
  .player-nav a{flex:1 1 auto;justify-content:center}
}
@media(max-width:640px){
  .playtest-card.is-active{padding:18px}
  .playtest-next{padding:16px}
  .player-eligibility.is-blocked,.player-eligibility.is-ready{padding:16px}
  .player-todo-item{flex-wrap:wrap;padding:16px}
  .player-todo-item .button{flex:1 1 100%}
  .playtest-next-row .button{flex:1 1 100%}
  .playtest-card .playtest-precall-list li{flex-basis:100%}
}

/* Each round has its own colour (lib/round-mark.php), repeated
   on every QA screen of the round. The colour is one of the tile tokens and
   reaches each element as --round, so nothing here names a colour itself. */
.round-color-1{--round:var(--tile-1)}
.round-color-2{--round:var(--tile-2)}
.round-color-3{--round:var(--tile-3)}
.round-color-4{--round:var(--tile-4)}
.round-color-5{--round:var(--tile-5)}
.round-stripe{border-left:8px solid var(--round,var(--tile-1))}
/* Round headings retain the stored colour and the parts of the round as tabs. */
.round-heading{margin-bottom:18px}
.round-heading-title{display:flex;align-items:center;gap:16px;min-width:0}
.round-heading-title>div{min-width:0}
.round-heading-title h1{margin:0;overflow-wrap:anywhere}
.round-heading-title p{margin:4px 0 0;color:var(--muted);overflow-wrap:anywhere}
.round-heading-intro{margin:14px 0 0}
.round-tabs{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0 0 24px;border-bottom:1px solid var(--border);font-size:.9rem}
.round-tabs a{padding:0 0 10px;margin-bottom:-1px;border-bottom:2px solid transparent;color:var(--muted)}
.round-tabs a:hover{color:var(--ink);text-decoration:none;border-bottom-color:var(--round,var(--ink))}
.round-tab-heading{display:flex;align-items:center;gap:14px;min-width:0;margin-bottom:22px}
.round-tab-heading>div{min-width:0}
.round-tab-heading h2{margin:0}
.round-tab-heading p{margin:2px 0 0;overflow-wrap:anywhere}
.round-alerts{margin:0}
.round-cell{display:flex;align-items:flex-start;gap:10px}
.round-cell>div{min-width:0}
.round-pick-list{list-style:none;margin:0;padding:0}
.round-pick-list li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:8px}
.round-cell,.round-pick-item{border-left:4px solid var(--round,var(--tile-1));padding-left:10px}
/* "Escalar horários": invitees on the left, one card per time on the right. */
.schedule-invitee-list{list-style:none;margin:0;padding:0}
.schedule-invitee-list li{padding:10px 0;border-bottom:1px solid var(--border);font-size:.92rem;overflow-wrap:anywhere}
.schedule-invitee-list li:last-child{border-bottom:0}
.schedule-invitee-list strong{display:block;font-weight:600}
.schedule-invitee-list li.is-anonymous{color:var(--muted)}
.schedule-situation{display:block;margin-top:2px;font-size:.8rem;color:var(--muted)}
.schedule-situation.is-ok{color:var(--accent-ink)}
.schedule-situation.is-warn{color:var(--warn-ink)}
/* The invitation e-mail under the player, admin only (lib/invite-mail.php). */
.invite-mail{margin-top:4px;font-size:.8rem;overflow-wrap:anywhere}
.invite-mail .pill{margin-left:4px}
/* "E-mail do próximo passo" under the player, admin and the round's QA (lib/agreement-signed.php). */
.signed-mail{margin-top:4px;font-size:.8rem;overflow-wrap:anywhere}
.signed-mail .pill{margin-left:4px}
.invite-mail .button{margin-top:4px}
/* A time card is .schedule-slot-card, not .schedule-slot, whose 999px radius belongs to the calendar's time chips. */
.schedule-slot-card.is-scheduled{border:2px solid var(--round,var(--accent))}
.schedule-slot-card .dialog-heading{margin-bottom:12px}
.schedule-slot-card .dialog-heading h3{margin:0}
.schedule-slot-card .dialog-heading .pill{margin:0}
.schedule-candidates{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.schedule-candidates li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;max-width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:10px;font-size:.9rem;overflow-wrap:anywhere}
.schedule-candidates li>span{min-width:0}
.schedule-candidates li.is-here{background:var(--dark);border-color:var(--dark);color:var(--surface)}
.schedule-candidates li.is-elsewhere{border-color:var(--border-strong);color:var(--muted)}
.schedule-candidates .pill{margin:0}
.schedule-invite{margin-top:16px;padding:16px;border-radius:12px;background:var(--bg)}
.schedule-invite h4{margin:0 0 10px;font-size:.9rem}
.schedule-invite .profile-details{margin:0 0 14px}
/* The QA home (Minhas rodadas): the greeting, "Hoje", and one card per round.
   Labels in small capitals, as on the player panel. */
.qa-greeting{margin-bottom:26px}
.qa-section-title{margin:0 0 12px;font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.qa-today,.qa-rounds{margin-bottom:30px}
.qa-rounds-closed .qa-round-list{gap:12px}
.qa-today-empty{margin:0}
.qa-today-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:12px}
.qa-session{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;min-width:0;padding:14px 18px;background:var(--surface);border:1px solid var(--border);border-left:8px solid var(--round,var(--tile-1));border-radius:14px}
.qa-session-time{flex:none;margin:0;line-height:1.2}
.qa-session-time strong{display:block;font-size:1.4rem}
.qa-session-time span{display:block;margin-top:2px;font-size:.75rem;font-weight:600;color:var(--muted)}
.qa-session-body{flex:1 1 200px;min-width:0}
.qa-session-game{display:flex;align-items:center;gap:8px;margin:0;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);overflow-wrap:anywhere}
.qa-session-game>span:last-child{min-width:0}
.qa-session-who{margin:4px 0 0;font-weight:600;overflow-wrap:anywhere}
.qa-session-who .pill{font-weight:500}
.qa-session-actions{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 100%}
.qa-session-actions .button{box-shadow:none}
/* The session about to start (from an hour before until it ends) stands out,
   and only then does the call button take the round colour. */
.qa-session.is-near{background:var(--dark);border-color:var(--dark);border-left-color:var(--round,var(--tile-1));color:var(--surface)}
.qa-session.is-near .qa-session-time span{color:var(--round,var(--accent))}
.qa-session.is-near .qa-session-game{color:var(--on-dark)}
.qa-session.is-near .button.secondary{background:transparent;border-color:var(--navy-support);color:var(--surface)}
.qa-session.is-near .button.secondary:hover{background:var(--navy-support)}
.qa-call{background:var(--round,var(--accent));color:var(--dark)}
.qa-call:hover{background:var(--surface);color:var(--dark)}
.qa-round-list{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.qa-round{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-left:8px solid var(--round,var(--tile-1));border-radius:18px}
.qa-round-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;padding:18px 22px}
.qa-round-id{display:flex;align-items:center;gap:14px;flex:1 1 320px;min-width:0}
.qa-round-id>div{min-width:0}
.qa-round-id h3{margin:0;font-size:1.25rem;letter-spacing:-.02em;overflow-wrap:anywhere}
.qa-round-id h3 a{color:inherit}
.qa-round-id p{margin:3px 0 0;font-size:.88rem;color:var(--muted);overflow-wrap:anywhere}
.qa-funnel{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.qa-funnel li{padding:4px 9px;border-radius:6px;background:var(--bg);font-size:.78rem;line-height:1.4}
.qa-funnel li.is-ok{background:var(--ok-bg);color:var(--accent-ink);font-weight:600}
.qa-funnel li.is-warn{background:var(--warn-bg);color:var(--warn-ink);font-weight:600}
.qa-round-head>.button{flex:none;box-shadow:none}
.qa-round-closed{margin:0}
.qa-round-closed .pill{margin:0}
.qa-round-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--border)}
.qa-round-body>div{min-width:0;padding:14px 22px}
.qa-round-body>div+div{border-left:1px solid var(--border)}
.qa-round-body>div:only-child{grid-column:1/-1}
.qa-round-body h4{margin:0 0 8px;font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.qa-round-body>div>p{margin:6px 0 0}
.qa-round-body>div>p:first-of-type{margin-top:0}
.qa-round-sessions,.qa-round-pending{list-style:none;margin:0;padding:0}
.qa-round-sessions li,.qa-round-pending li{margin:0 0 6px;font-size:.9rem;overflow-wrap:anywhere}
.qa-round-pending a{font-weight:600;text-decoration:underline}
.qa-state{color:var(--muted)}
.qa-state.is-ok{color:var(--accent-ink)}
.qa-state.is-bad{color:var(--bad-ink)}
/* A closed round: greyed, below the open ones, with what is still pending. */
.qa-round.is-closed{--round:var(--border-strong);background:var(--bg-soft)}
.qa-round.is-closed .qa-round-id h3{color:var(--muted)}
.qa-round.qa-status-ativas{--round:var(--ok-ink)}
.qa-round.qa-status-encerradas{--round:var(--border-strong);background:var(--bg-soft)}
.qa-round.qa-status-canceladas{--round:var(--bad-ink)}
.qa-home-filters{margin-bottom:16px;align-items:end}.qa-home-pagination{margin-top:20px;gap:12px;flex-wrap:wrap}
.qa-empty p{margin:0}
@media(max-width:760px){
  .qa-round-body{grid-template-columns:minmax(0,1fr)}
  .qa-round-body>div+div{border-left:0;border-top:1px solid var(--border)}
}
@media(max-width:640px){
  .qa-round-head{padding:16px}
  .qa-round-body>div{padding:12px 16px}
  .qa-round-head>.button,.qa-session-actions .button{flex:1 1 auto}
  .qa-session{padding:12px 14px}
  .round-heading-title{gap:12px}
}

/* KP-76. The admin round list: tabs by situation above it, and the situation
   of each round as a tag. The word is what is read; the colour helps to scan
   the list, and every colour comes from the tokens on :root. */
.round-list-tabs{display:flex;flex-wrap:wrap;gap:4px 22px;margin:0 0 18px;border-bottom:1px solid var(--border);font-size:.9rem}
.round-list-tabs a{display:inline-flex;align-items:center;gap:7px;padding:0 0 10px;margin-bottom:-1px;border-bottom:2px solid transparent;color:var(--muted)}
.round-list-tabs a:hover{color:var(--ink);text-decoration:none;border-bottom-color:var(--border-strong)}
.round-list-tabs a[aria-current=page]{color:var(--ink);font-weight:600;border-bottom-color:var(--ink)}
.round-list-count{display:inline-block;min-width:1.7em;padding:0 6px;border-radius:999px;border:1px solid var(--border);background:var(--bg);color:var(--navy-support);font-size:.72rem;font-weight:600;line-height:1.6;text-align:center}
.round-list-tabs a[aria-current=page] .round-list-count{background:var(--ink);border-color:var(--ink);color:var(--surface)}
/* KP-115. The sign-up's detected phone block and game chips. */
.signup-progress{margin-bottom:20px}
.signup-progress ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:0}
.signup-progress button{display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--muted);font:inherit;font-size:.75rem;text-align:center;border:0;border-top:3px solid var(--border);padding:12px 2px;background:transparent;width:100%;overflow-wrap:anywhere}
.signup-progress button[aria-current]{border-color:var(--brand);color:var(--brand);font-weight:700}
.signup-progress button:disabled{cursor:default;opacity:.65}
.signup-progress span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--surface);border:1px solid var(--border);font-weight:700}
.signup-step-controls{display:flex;justify-content:space-between;gap:16px;margin-top:18px}
[data-signup-steps] [hidden],.signup-progress[hidden]{display:none!important}
[data-signup-steps] h2[tabindex]{scroll-margin-top:24px}
.recording-notice a,#signup-consent a,#signup-future-tests a{text-decoration:underline;text-underline-offset:3px}
.signup-existing{margin:24px 0 0}
.signup-device-found{background:var(--bg-soft);border:1px solid var(--ok-border);border-radius:12px;padding:16px 18px;margin-bottom:14px}
.signup-device-summary{font-weight:600;margin-bottom:6px}
.signup-device-found p:last-child{margin-bottom:0;font-size:.9rem;color:var(--muted)}
.game-picker .game-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:10px 0 0}
.game-picker .game-chips:empty{margin:0}
.game-chip{display:inline-flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:6px 8px 6px 14px;font-size:.88rem}
.game-chip-remove{border:0;background:transparent;color:var(--muted);font-size:.9rem;line-height:1;padding:4px 6px;border-radius:999px}
.game-chip-remove:hover{background:var(--surface);color:var(--ink)}
.game-popular{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
/* .button's display wins over the hidden attribute, so hidden is enforced here. */
.game-popular [hidden]{display:none}
/* KP-115. Search suggestions sit in the page flow below the field: a floating list would cover the form under a phone keyboard. */
.game-search{display:block}
.game-options{list-style:none;margin:6px 0 0;padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 6px 16px var(--card-lift)}
.game-options[hidden]{display:none}
.game-option{padding:10px 12px;border-radius:7px;cursor:pointer;font-size:.92rem;overflow-wrap:anywhere}
.game-option:hover,.game-option[aria-selected=true]{background:var(--bg);color:var(--ink)}
.game-option-anyway{color:var(--brand);font-weight:600;border-top:1px solid var(--border);border-radius:0 0 7px 7px}
.game-option-anyway:first-child{border-top:0;border-radius:7px}
.round-situation{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:999px;padding:2px 10px;border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:.74rem;font-weight:600;line-height:1.6}
.round-situation::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:currentColor}
.round-situation.is-draft{border-style:dashed;border-color:var(--border-strong);color:var(--muted)}
.round-situation.is-invites{border-color:var(--tile-2);color:var(--navy-support)}
.round-situation.is-invites::before{background:var(--tile-2)}
.round-situation.is-scheduling{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn-ink)}
.round-situation.is-sessions{background:var(--ok-bg);border-color:var(--ok-border);color:var(--accent-ink)}
.round-situation.is-report{background:var(--surface);border-color:var(--warn-border);color:var(--warn-ink)}
.round-situation.is-report::before{background:var(--warn-ink)}
.round-situation.is-closed{background:var(--bg);border-color:var(--border-strong);color:var(--navy-support)}
.round-situation.is-closing{background:var(--bg);border-color:var(--warn-border);color:var(--warn-ink)}
.round-situation.is-cancelled{background:var(--bad-bg);border-color:var(--bad-border);color:var(--bad-ink)}
/* KP-101. Cancelling or deleting a round: the confirmation, which lists every
   person, e-mail and task, and the record of a cancelled round. Long
   addresses and code names wrap instead of widening the modal. */
.round-cancel-dialog{max-width:820px;max-height:calc(100vh - 32px);overflow:auto}
.round-cancel-dialog>p{color:var(--muted)}
.round-cancel-dialog .dialog-heading{flex-wrap:nowrap;align-items:flex-start;margin-bottom:12px}
.round-cancel-dialog .dialog-heading h2{font-size:1.45rem;min-width:0;overflow-wrap:anywhere}
.round-cancel-part{border-top:1px solid var(--border);padding-top:16px;margin-top:18px}
.round-cancel-part h3{font-size:1.05rem;margin-bottom:10px}
.round-cancel-list,.round-cancel-facts{margin:6px 0 0;padding-left:20px;font-size:.9rem;overflow-wrap:anywhere}
.round-cancel-list li,.round-cancel-facts li{margin-bottom:4px}
.round-cancel-facts{color:var(--muted)}
.round-cancel-players,.round-cancel-mails{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.round-cancel-players>li,.round-cancel-mails>li{border:1px solid var(--border);border-radius:12px;padding:12px 14px;background:var(--bg-soft);overflow-wrap:anywhere;min-width:0}
.round-cancel-who{margin:0 0 4px}
.round-cancel-then{margin:8px 0 0;font-size:.85rem;font-weight:600}
.round-cancel-mails p{margin:0 0 6px;font-size:.9rem}
.round-cancel-mails summary{cursor:pointer;font-size:.9rem}
.round-cancel-mail{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.86rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px;margin-top:8px}
.round-cancel-form{border-top:1px solid var(--border);margin-top:20px;padding-top:18px}
.round-cancel-note{margin:8px 0 0;max-width:70ch}
.round-cancel-record .round-cancel-reason{white-space:pre-wrap}
.round-cancel-record h3{font-size:1.05rem;margin:22px 0 10px}
.round-cancel-outcomes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.round-cancel-outcomes li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid var(--border);border-left-width:4px;border-radius:10px;padding:10px 12px;font-size:.9rem;overflow-wrap:anywhere}
.round-cancel-outcomes li>span{flex:1 1 240px;min-width:0}
.round-cancel-outcomes li.is-ok{border-left-color:var(--accent)}
.round-cancel-outcomes li.is-warn{border-left-color:var(--warn-ink);background:var(--warn-bg)}
.round-cancel-outcomes li.is-bad{border-left-color:var(--bad-ink);background:var(--bad-bg)}
/* "Encerrar rodada": the same confirmation and record, plus the person with a
   time and no result, who holds the closing until it is marked. */
.round-cancel-players>li.is-blocking{border-color:var(--warn-border);border-left:4px solid var(--warn-ink);background:var(--warn-bg)}
.round-close-marks{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.round-close-marks a{font-size:.88rem;font-weight:600;overflow-wrap:anywhere}
/* KP-101. A closed round's page (docs/design/rodada-encerrada-kakunyn-playtest.html): badge, numbers, each player's final situation, and what is still pending. */
.round-heading-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px}
.round-heading-row>.round-heading-title{flex:1 1 360px}
.round-heading-name{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-width:0}
.round-heading-name h1{min-width:0}
.round-heading-by{font-size:.9rem}
.round-heading-actions{flex:none}
.round-detail-actions{position:relative;flex:none;margin-left:auto}
.round-detail-actions>summary{list-style:none;cursor:pointer}
.round-detail-actions>summary::-webkit-details-marker{display:none}
.round-detail-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:20;display:grid;gap:8px;width:min(320px,calc(100vw - 48px));padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px var(--menu-shadow)}
.round-detail-menu .admin-actions{margin:0;display:grid}
.round-detail-menu .button{justify-content:flex-start;width:100%;text-align:left;min-height:44px}
.round-detail-menu .round-cancel-note{margin:0;font-size:.85rem}
.round-invite-dialog{max-width:1100px;width:calc(100% - 32px)}
.app-generated-codes .app-session-code{min-width:145px;max-width:200px}
.app-generated-codes .app-session-code input{width:100%;padding:10px 44px 10px 10px;letter-spacing:.12em}
.app-generated-codes .button{margin-top:8px;min-height:44px}
.app-code-videos{display:grid;gap:8px}
.app-generated-codes .app-code-videos .button{margin:0;text-align:left;white-space:normal}
.app-generated-codes .pill.info{background:var(--papel-qa-fundo);color:var(--papel-qa-cor);border-color:var(--papel-qa-borda)}
#roteiro .script-row{min-width:0}
.round-over-badge{display:inline-block;flex:none;border-radius:999px;padding:3px 10px;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;background:var(--muted);color:var(--surface)}
.round-over-badge.is-cancelled{background:var(--bad-ink)}
.round-over-notice{margin:0 0 18px;padding:10px 14px;font-size:.9rem;border-color:var(--border);background:var(--bg-soft);color:var(--navy-support)}
.round-over-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.round-over-number{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px 16px;overflow-wrap:anywhere}
.round-over-number.is-ok{border-left:4px solid var(--accent)}
.round-over-number.is-warn{border-left:4px solid var(--warn-ink)}
.round-over-number.is-bad{border-left:4px solid var(--bad-ink)}
.round-over-number p{margin:0}
.round-over-number-label{font-size:.78rem;color:var(--muted)}
.round-over-number-value{margin-top:4px;font-size:1.3rem;font-weight:700;letter-spacing:-.02em;line-height:1.3}
.round-over-number-value.is-ok{color:var(--accent-ink)}
.round-over-number-value.is-warn{color:var(--warn-ink)}
.round-over-number-value.is-bad{color:var(--bad-ink)}
.round-over-number-note{margin-top:4px;font-size:.78rem;color:var(--muted)}
.round-over-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,380px);gap:18px;align-items:start}
.round-over-body .card{margin-bottom:18px;min-width:0}
.round-over-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;margin-bottom:14px}
.round-over-head h2{margin:0}
.round-over-players td .pill{white-space:normal}
.round-over-gift-sent{color:var(--accent-ink);font-weight:600}
.round-over-side{min-width:0}
.round-over-side h2{font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.round-over-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;font-size:.9rem}
.round-over-list li{display:flex;gap:8px;min-width:0;overflow-wrap:anywhere}
.round-over-list li>span:last-child{min-width:0}
.round-over-mark{flex:none;width:1em;font-weight:700;color:var(--muted)}
.round-over-list li.is-ok .round-over-mark{color:var(--accent-ink)}
.round-over-list li.is-warn .round-over-mark{color:var(--warn-ink)}
.round-over-list li.is-bad{color:var(--bad-ink)}
.round-over-list li.is-bad .round-over-mark{color:var(--bad-ink)}
.round-over-did .fine-print{margin:12px 0 0}
.round-over-pending .round-over-list li{display:block}
.round-over-when{color:var(--warn-ink)}
.round-over-when.is-late{color:var(--bad-ink);font-weight:600}
.script-readonly{margin:0;padding-left:20px}
.script-readonly li{margin-bottom:8px}
.script-readonly li p{margin:2px 0 0}
/* The QA home: a closed round whose report is still to publish. */
.qa-round-name{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0}
.qa-round.is-report-pending .qa-round-id h3{color:var(--ink)}
.qa-round-report{flex:none;display:inline-block;border-radius:999px;padding:5px 10px;font-size:.8rem;font-weight:600;overflow-wrap:anywhere;background:var(--warn-bg);color:var(--warn-ink)}
.qa-round-report.is-ok{background:var(--warn-bg);color:var(--warn-ink)}
.qa-round-report.is-late{background:var(--bad-bg);color:var(--bad-ink)}
@media(max-width:1100px){.round-over-body{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.round-over-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.round-over-numbers{grid-template-columns:minmax(0,1fr)}.round-heading-actions{flex:1 1 100%}.round-heading-actions .button{flex:1 1 auto}.qa-round-report{flex:1 1 100%}}
/* Admin action items keep the identity/context together and actions reachable. */
.admin-action-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.admin-action-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:start;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--bg-soft);min-width:0;overflow-wrap:anywhere}
.admin-action-main{min-width:0}
.admin-action-main>strong{display:block;margin-bottom:6px}
.admin-action-main>p{margin:8px 0 0}
.admin-action-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:start;justify-content:flex-end;max-width:340px;min-width:0}
.admin-action-actions .field{width:100%;margin:0}
.admin-action-actions .admin-actions{margin:0}
.admin-action-actions .button{white-space:normal;max-width:100%}
@media(max-width:760px){.admin-action-item{grid-template-columns:minmax(0,1fr)}.admin-action-actions{justify-content:flex-start;max-width:100%}}
/* KP-16 (slice 1), KP-103. The round report, step 1, and the live block of the
   session screen. Colours from the tokens only; the kinds of annotation reuse
   the status colours: amber for friction, green for positive, red for bug. */
.report-page{min-width:0}
.report-page .card{padding:20px}
.report-heading h1{font-size:clamp(1.6rem,3vw,2.3rem)}
.report-status-row{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;padding:6px 0;background:var(--bg);border-bottom:3px solid transparent}
.report-status-row[data-mode=edit]{border-bottom-color:var(--ok-border)}
.report-status-row[data-mode=read],.report-status-row[data-mode=live]{border-bottom-color:var(--warn-border)}
.report-mode{display:flex;align-items:center;gap:8px;margin:0;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--muted);font-size:.88rem;font-weight:700;overflow-wrap:anywhere}
.report-mode::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:currentColor}
.report-mode[data-mode=edit]{background:var(--ok-bg);border-color:var(--ok-border);color:var(--accent-ink)}
.report-mode[data-mode=read],.report-mode[data-mode=live]{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn-ink)}
.report-status-row .report-status{flex:1 1 220px}
.report-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--muted);font-size:.88rem;overflow-wrap:anywhere}
.report-status[data-state=saved]{color:var(--accent-ink)}
.report-status[data-state=saving],.report-status[data-state=loading]{color:var(--navy-support)}
.report-status[data-state=offline],.report-status[data-state=failing],.report-status[data-state=blocked],.report-status[data-state=recovery]{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn-ink)}
.report-status[data-state=expired]{background:var(--bad-bg);border-color:var(--bad-border);color:var(--bad-ink)}
.report-status[data-state=readonly]{background:var(--bg-soft);color:var(--navy-support)}
.report-status .button{padding:6px 12px}
.report-status-warning{font-weight:600}
.report-rejected{flex-basis:100%}
.report-rejected p{margin:4px 0 0}
.report-rejected-text{color:var(--ink)}
.report-lock,.report-recovery{margin:10px 0 14px;padding:12px 16px;border-radius:12px;font-size:.9rem;overflow-wrap:anywhere}
.report-lock{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--navy-support)}
.report-recovery{background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-ink)}
.report-lock p,.report-recovery p{margin:0 0 8px}
.report-lock[hidden],.report-recovery[hidden]{display:none}
.report-recovery-actions{display:flex;flex-wrap:wrap;gap:8px}
.report-steps ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0 16px;padding:0;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface);font-size:.9rem}
.report-step{border-right:1px solid var(--border);min-width:0}
.report-step:last-child{border-right:0}
.report-step>a{display:block;color:inherit}
.report-step>a:hover{text-decoration:none;background:var(--bg-soft)}
.report-step-title{display:block;padding:12px 16px 0;font-weight:700;overflow-wrap:anywhere}
.report-step-hint{display:block;padding:0 16px 12px;font-size:.78rem;color:var(--muted)}
.report-step.is-current{background:var(--ink);color:var(--surface)}
.report-step.is-current .report-step-hint{color:var(--border-strong)}
.report-step.is-soon{color:var(--muted)}
.report-players ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding:0}
.report-player-tab{display:inline-block;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--ink);font-size:.88rem;overflow-wrap:anywhere}
.report-player-tab:hover{text-decoration:none;border-color:var(--ink)}
.report-player-tab.is-current{background:var(--ink);border-color:var(--ink);color:var(--surface);font-weight:600}
.report-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,440px);gap:18px;align-items:start}
.report-main,.report-side{min-width:0}
.report-side{display:flex;flex-direction:column;gap:14px}
.report-side>.card,.report-main>.card{margin:0}
.report-card-title{margin:0 0 12px;font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.card h2.report-card-title{font-size:.82rem;margin-bottom:12px}
.report-player{border-radius:14px;overflow:hidden;background:var(--dark)}
.report-player-frame{position:relative;aspect-ratio:16/9;background:var(--dark)}
.report-player-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.report-player-error{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:18px 22px;background:var(--navy-2);color:var(--surface);font-size:.9rem;overflow:auto}
.report-player-error[hidden]{display:none}
.report-player-error p{margin:0 0 8px}
.report-player-actions{display:flex;flex-wrap:wrap;gap:8px}
.report-player-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px;padding:10px 16px;background:var(--navy-2);color:var(--on-dark);font-size:.84rem;overflow-wrap:anywhere}
.report-player-bar a{color:var(--surface);font-weight:600}
.report-player.is-empty{background:var(--bg-soft);border:1px dashed var(--border-strong);padding:18px 20px;color:var(--ink)}
.report-player.is-empty p{margin:0}
.report-player-note{margin:10px 0 0}
/* KP-91. A video stored by Kakunyn plays in our own <video>, in the frame the Drive iframe used. */
.report-player-frame video{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--dark);object-fit:contain}
.report-video-sources{margin-top:18px}
.report-subtitle{margin:0 0 4px;font-size:.95rem}
.report-recording-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.report-recording-item{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
.report-recording-item.is-current{border-color:var(--ink);background:var(--bg-soft)}
.report-recording-face{display:flex;flex-direction:column;gap:2px;font-size:.9rem;min-width:0;overflow-wrap:anywhere}
.report-recording-face .muted{font-size:.8rem}
.report-recording-current{font-size:.82rem;font-weight:600;color:var(--ink)}
/* Seeking to a minute, only with a video the page can control. */
.report-seek{flex:0 0 auto}
/* KP-91. The QA's file upload. */
.report-upload-row{margin-top:10px}
.report-upload-row>.field{flex:1 1 240px;min-width:0}
.report-upload-row input[type=file]{flex:1 1 240px;min-width:0;width:100%;max-width:100%;font-size:.88rem}
.report-upload-consent{display:flex;gap:8px;align-items:flex-start;margin-top:10px;font-size:.86rem}
.report-upload-consent input{margin-top:3px;flex:0 0 auto}
/* :not([hidden]) because display:block would beat the hidden attribute and leave the bar animating on screen. */
.report-upload-bar:not([hidden]){display:block;width:100%;height:14px;margin-top:10px}
.report-upload-state{margin:8px 0 0;font-variant-numeric:tabular-nums}
.report-video-form{margin-top:18px}
.report-video-form .field{margin-bottom:14px}
.report-inline{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.report-inline input{flex:1 1 220px;min-width:0;width:auto}
.report-inline label{font-size:.88rem}
.report-field-error{margin:6px 0 0;color:var(--bad-ink);font-size:.84rem}
/* Pasting past the field's limit: how much was left out. */
.report-paste-warning{margin:6px 0 0;padding:6px 10px;border:1px solid var(--warn-border);border-radius:8px;background:var(--warn-bg);color:var(--warn-ink);font-size:.84rem}
.report-paste-warning[hidden]{display:none}
.report-video-history{list-style:none;margin:0;padding:0;font-size:.8rem;color:var(--muted)}
.report-video-history li{margin-bottom:4px;overflow-wrap:anywhere}
.report-recording{margin:10px 0 0}
.report-device-card{margin:14px 0 0;border:1px solid var(--border);background:var(--surface)}
.report-device-card>summary{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:10px 14px;cursor:pointer;min-height:44px;box-sizing:border-box}
.report-device-card-title{font-weight:600}
.report-device-card>summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.report-device-rows{margin:0;padding:0 14px 6px;display:grid;gap:6px}
.report-device-rows>div{display:grid;grid-template-columns:minmax(120px,200px) 1fr;gap:4px 12px}
.report-device-rows dt{color:var(--muted)}
.report-device-rows dd{margin:0;overflow-wrap:anywhere}
.report-device-gpus{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.report-device-card>p{margin:0;padding:6px 14px 10px}
@media (max-width:600px){.report-device-rows>div{grid-template-columns:1fr}}
.report-kinds{border:0;margin:0 0 12px;padding:0;min-width:0}
.report-kinds legend{font-size:.88rem;font-weight:500;margin-bottom:6px;padding:0}
.report-kind{position:relative;display:inline-block;margin:0 6px 6px 0;cursor:pointer}
.report-kind input{position:absolute;opacity:0;width:1px;height:1px}
.report-kind span{display:inline-block;padding:7px 14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:.88rem;font-weight:500}
.report-kind input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}
.report-kind.is-friction input:checked+span{background:var(--warn-bg);border:2px solid var(--warn-ink);color:var(--warn-ink);font-weight:700}
.report-kind.is-positive input:checked+span{background:var(--ok-bg);border:2px solid var(--accent-ink);color:var(--accent-ink);font-weight:700}
.report-kind.is-bug input:checked+span{background:var(--bad-bg);border:2px solid var(--bad-ink);color:var(--bad-ink);font-weight:700}
.report-kind input:disabled+span{opacity:.6;cursor:default}
.report-minute-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:12px}
.report-minute-row label{font-size:.88rem;font-weight:500}
.report-minute{width:5.6em;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
.report-minute::placeholder{color:var(--muted);font-weight:400}
.report-new .field{margin-bottom:12px}
.report-annotations{list-style:none;margin:0;padding:0}
.report-list>p{margin:10px 0 0}
.report-live-form{margin:0}
.report-annotation{display:grid;gap:6px;padding:10px 0 10px 12px;border-bottom:1px solid var(--border);border-left:3px solid var(--border-strong)}
.report-annotation:last-child{border-bottom:0}
.report-annotation.is-friction{border-left-color:var(--warn-ink)}
.report-annotation.is-positive{border-left-color:var(--accent)}
.report-annotation.is-reaction,.report-source-item.is-reaction{border-left-color:var(--muted)}
.report-annotation.is-bug{border-left-color:var(--bad-ink)}
.report-annotation.is-none{border-left-color:var(--border-strong)}
.report-annotation.is-excluded{background:var(--bg-soft)}
.report-annotation.is-excluded .report-annotation-body{color:var(--muted)}
.report-annotation-top{display:flex;flex-wrap:wrap;gap:8px}
.report-annotation-kind{padding:7px 8px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--ink);font-size:.85rem}
.report-annotation-body{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink);font-size:.9rem;resize:vertical}
.report-annotation :disabled{background:var(--bg-soft);color:var(--ink);cursor:default}
.report-annotation-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:.8rem;color:var(--muted)}
.report-origin{overflow-wrap:anywhere}
.report-exclude{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.report-exclude input{accent-color:var(--ink)}
.report-delete{color:var(--danger);font-size:.8rem}
.report-delete:disabled{color:var(--muted);background:transparent}
.report-pending{color:var(--warn-ink);font-weight:600}
.report-annotation.is-pending{background:var(--bg-soft)}
.report-annotation-empty{padding:10px 0;color:var(--muted);font-size:.9rem}
.report-undo{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:14px;max-width:calc(100vw - 32px);padding:10px 12px 10px 18px;border-radius:12px;background:var(--ink);color:var(--surface);box-shadow:0 10px 30px var(--border-strong)}
.report-undo[hidden]{display:none}
.report-undo .button{background:var(--surface);color:var(--ink)}
.report-hint{margin:0;padding:12px 14px;border:1px dashed var(--warn-border);border-radius:14px;background:var(--warn-bg);font-size:.84rem;line-height:1.5}
.report-not-included{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.report-not-included p{margin:0;flex:1 1 320px}
.report-empty p{margin-bottom:0}
.report-roster{margin-top:18px}
.report-roster-list{list-style:none;margin:0;padding:0}
.report-roster-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:10px 0;border-bottom:1px solid var(--border);font-size:.9rem}
.report-roster-list li:last-child{border-bottom:0}
.report-roster-list li>span{min-width:0;overflow-wrap:anywhere}
.report-roster-list .is-out{color:var(--muted)}
.report-roster-list .is-in strong{color:var(--ink)}
.report-read-only .report-new{opacity:.8}
.report-live .report-status-row{position:static;background:transparent}
.report-live-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-bottom:8px}
.card .report-live-head h2{margin:0}
.report-live-recording{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:10px 0 14px;padding:12px 14px;border-radius:12px;background:var(--bg-soft)}
.report-live-recording p{margin:0}
.report-live-clock{font-weight:700;font-variant-numeric:tabular-nums}
.report-live-correct{flex-basis:100%;font-size:.88rem}
.report-live-correct summary{cursor:pointer;color:var(--navy-support)}
.report-live-correct .report-inline{margin:8px 0}
.report-live-correct input{flex:0 1 160px;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px}
.report-live-fields{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px 14px;align-items:end}
.report-live-fields .report-minute-row,.report-live .field{margin:0}
.report-live-fields .report-minute-row{flex-direction:column;align-items:flex-start;gap:8px}
.report-live-fields #new-minute-help{display:none}
.report-live-list-title{font-size:1rem;margin:18px 0 6px}
/* KP-16 (slice 2), KP-77. Steps 2 and 3 of the report: the findings built
   from the annotations, the summary and the ratings, and the deadline on the
   report, the Rodadas list and the QA home. Tokens only, as in step 1. */
.report-deadline{margin:4px 0 0;font-size:.9rem;font-weight:600}
.report-deadline.is-ok{color:var(--accent-ink)}
.report-deadline.is-soon{color:var(--warn-ink)}
.report-deadline.is-late{color:var(--bad-ink)}
.report-deadline .muted{font-weight:400;font-size:.82rem}
.report-deadline-tag{display:inline-block;margin-top:6px;padding:3px 8px;border-radius:6px;font-size:.74rem;font-weight:600;overflow-wrap:anywhere;background:var(--ok-bg);color:var(--accent-ink)}
.report-deadline-tag.is-soon{background:var(--warn-bg);color:var(--warn-ink)}
.report-deadline-tag.is-late{background:var(--bad-bg);color:var(--bad-ink)}
.qa-round-deadline{flex:1 1 100%}
.qa-round-deadline .report-deadline-tag{margin-top:0}
.report-step-intro{margin:0 0 14px;color:var(--muted);font-size:.9rem;max-width:860px}
.report-build{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,.9fr);gap:16px;align-items:start}
.report-build>.card,.report-build-side>.card{margin:0;min-width:0}
.report-build-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.report-source-session+.report-source-session{margin-top:14px}
.report-source-title{margin:0 0 6px;font-size:.92rem;font-weight:700;letter-spacing:0;overflow-wrap:anywhere}
.report-source-list,.report-evidence,.report-findings,.report-unassigned{list-style:none;margin:0;padding:0}
.report-source-item{display:grid;gap:4px;padding:8px 0 8px 10px;border-bottom:1px solid var(--border);border-left:3px solid var(--border-strong);font-size:.88rem}
.report-source-item:last-child{border-bottom:0}
.report-source-item.is-friction{border-left-color:var(--warn-ink)}
.report-source-item.is-positive{border-left-color:var(--accent)}
.report-source-item.is-bug{border-left-color:var(--bad-ink)}
.report-source-item.is-marked{background:var(--bg-soft)}
.report-source-item.is-excluded .report-source-text{color:var(--muted)}
.report-source-check{display:flex;gap:8px;align-items:flex-start;cursor:pointer;min-width:0}
.report-source-check input{margin-top:4px;flex-shrink:0;accent-color:var(--ink)}
.report-source-text{min-width:0;overflow-wrap:anywhere}
.report-source-minute{font-variant-numeric:tabular-nums;margin-right:4px}
.report-source-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding-left:24px;font-size:.78rem;color:var(--muted)}
.report-source-where{overflow-wrap:anywhere;min-width:0}
.report-tag{display:inline-block;padding:1px 7px;border-radius:5px;font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:var(--bg-soft);color:var(--navy-support)}
.report-tag.is-friction{background:var(--warn-bg);color:var(--warn-ink)}
.report-tag.is-positive{background:var(--ok-bg);color:var(--accent-ink)}
.report-tag.is-reaction,.studio-pill.is-reaction{background:var(--chip-bg);color:var(--navy-support)}
.report-tag.is-bug{background:var(--bad-bg);color:var(--bad-ink)}
.report-build-editor .field{margin-bottom:12px}
.report-editor-note{margin:-4px 0 12px;font-size:.84rem}
.report-editor-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 10px}
.report-editor-choices select{min-width:0}
.report-general{display:flex;gap:8px;align-items:flex-start;margin:0 0 12px;font-size:.86rem;cursor:pointer}
.report-general input{margin-top:4px;flex-shrink:0;accent-color:var(--ink)}
.report-reported{margin:0 0 6px;padding:8px 12px;border-radius:8px;background:var(--bg-soft);font-size:.86rem;font-weight:600;color:var(--navy-support)}
.report-evidence{margin-bottom:12px}
.report-evidence-item,.report-unassigned-item{display:grid;gap:2px;padding:7px 0;border-bottom:1px solid var(--border);font-size:.85rem;min-width:0}
.report-evidence-item:last-child,.report-unassigned-item:last-child{border-bottom:0}
.report-evidence-item.is-hidden .report-evidence-who,.report-evidence-item.is-hidden .report-evidence-text{color:var(--muted);text-decoration:line-through}
.report-evidence-who{font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.report-evidence-text{overflow-wrap:anywhere}
.report-evidence-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:.8rem;color:var(--muted)}
.report-evidence-actions .button{flex:0 0 auto}
.report-evidence-show{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.report-evidence-show input{accent-color:var(--ink)}
.report-editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
/* The footer's "Criar achado" repeated at the top of the panel, where it is found. */
.report-editor-actions.is-top{margin:0 0 14px}
.report-editor-actions[hidden],.report-editor-saves[hidden]{display:none}
.report-editor-saves{margin:10px 0 0;font-size:.82rem}
.report-finding{border-left:3px solid var(--border-strong);border-bottom:1px solid var(--border)}
.report-finding:last-child{border-bottom:0}
.report-finding.is-friction{border-left-color:var(--warn-ink)}
.report-finding.is-positive{border-left-color:var(--accent)}
.report-finding.is-bug{border-left-color:var(--bad-ink)}
.report-finding-open{display:grid;gap:2px;width:100%;padding:9px 10px;border:0;background:transparent;color:var(--ink);text-align:left;font-size:.88rem;overflow-wrap:anywhere}
.report-finding-open:hover{background:var(--bg-soft)}
.report-finding.is-current .report-finding-open{background:var(--bg-soft);box-shadow:inset 0 0 0 2px var(--ink)}
.report-finding-meta{font-size:.78rem;color:var(--muted)}
/* What this finding still lacks for step 4, in the warning colour: it is a pending item, not a detail. */
.report-finding-missing{display:block;font-size:.78rem;font-weight:600;color:var(--warn-ink)}
.report-summary-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:start}
/* KP-16. The highlights editor in step 3: the sentence list on one side, the studio preview and the rules on the other. */
.report-highlights{margin-top:16px}
.report-highlights-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.report-highlights-editor,.report-highlights-side{min-width:0}
.report-highlights-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
.report-highlights-label{font-size:.84rem;font-weight:700;margin:14px 0 8px;letter-spacing:normal}
/* The editor's background image: thumbnail, file button and zoomable crop. */
.report-hero-image{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:6px}
.report-hero-thumb{width:150px;height:38px;border-radius:8px;overflow:hidden;background:var(--dark);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.report-hero-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.report-hero-none{font-size:.72rem;color:var(--on-dark)}
.report-hero-actions{display:flex;flex-direction:column;gap:4px;min-width:0}
.report-hero-actions .muted{margin:0;font-size:.78rem}
.report-hero-pick{position:relative;cursor:pointer;align-self:flex-start}
.report-hero-pick:focus-within{outline:2px solid var(--papel-qa-cor);outline-offset:3px}
.report-hero-file{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.report-hero-crop{border:1px solid var(--papel-qa-borda);border-radius:12px;padding:12px;margin:8px 0}
.report-hero-canvas{display:block;width:100%;height:auto;aspect-ratio:4/1;border-radius:8px;cursor:grab;touch-action:none;background:var(--dark)}
.report-hero-canvas:active{cursor:grabbing}
.report-hero-canvas:focus-visible{outline:2px solid var(--papel-qa-cor);outline-offset:3px}
.report-hero-zoom{display:flex;align-items:center;gap:10px;margin:10px 0 0;font-size:.84rem}
.report-hero-zoom input{flex:1}
.report-hero-crop-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:10px}
.report-hero-crop .muted{margin:8px 0 0;font-size:.78rem}
/* Shown whole, at the size that fits: it is the image's only review. */
.report-personal-image{display:block;width:100%;max-width:1600px;height:auto;border-radius:8px;margin:8px 0 4px;border:1px solid var(--border)}
.report-personal-image-note{margin:0 0 4px;font-size:.84rem;color:var(--ink)}
.report-personal-image-open{display:inline-block;margin:0 0 8px;font-size:.84rem;text-decoration:underline}
.report-highlight-list{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:10px}
.report-highlight{border:1px solid var(--papel-qa-borda);border-radius:12px;padding:12px;min-width:0}
.report-highlight-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.report-highlight-kinds{display:flex;flex-wrap:wrap;gap:6px}
.report-highlight-kind{border:1px solid var(--papel-qa-borda);background:var(--surface);color:var(--ink);padding:4px 10px;border-radius:999px;font-size:.78rem;min-height:32px}
.report-highlight-kind[aria-pressed=true]{font-weight:700;border-width:1.5px}
.report-highlight-kind.is-negative[aria-pressed=true]{background:var(--mark-negative-soft);color:var(--mark-high-bg);border-color:var(--mark-high-bg)}
.report-highlight-kind.is-positive[aria-pressed=true]{background:var(--mark-positive-bg);color:var(--mark-positive-ink);border-color:var(--accent)}
.report-highlight-kind.is-neutral[aria-pressed=true]{background:var(--bg-soft);color:var(--muted);border-color:var(--border-strong)}
.report-highlight-tools{display:flex;align-items:center;gap:10px;font-size:.84rem}
.report-highlight-tools .link-button{min-width:32px;min-height:32px}
.report-highlight-text{width:100%;border:1px solid var(--border-strong);border-radius:8px;padding:9px 11px;font-size:.92rem}
.report-highlight-count{margin:5px 0 0;font-size:.72rem;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}
.report-highlight-count.is-over{color:var(--bad-ink);font-weight:700}
.report-highlight-tip,.report-highlight-suggest{font-size:.8rem;margin:10px 0 0}
.report-highlight-suggest .link-button{text-decoration:underline}
.report-highlight-preview{min-height:160px}
.report-highlight-empty{margin:0;font-size:.88rem;color:var(--on-dark)}
.report-highlight-rules{margin-top:14px;border:1px solid var(--papel-qa-borda);border-radius:12px;padding:12px 16px;font-size:.84rem;color:var(--muted)}
.report-highlight-rules .report-highlights-label{margin-top:0;color:var(--ink)}
.report-highlight-rules ul{margin:0;padding-left:18px}
.report-highlight-rules li{margin-bottom:4px}
.report-summary-grid>.card{margin:0;min-width:0}
.report-summary .field{margin-bottom:14px}
.report-summary .field p{margin:4px 0 0}
.report-rating-table th[scope=row]{background:transparent;color:var(--ink);font-size:.85rem;font-weight:600;white-space:normal;min-width:150px}
.report-rating-table th[scope=row] small{display:block;color:var(--muted);font-weight:400;font-size:.74rem}
.report-rating-table td{padding:10px 12px;vertical-align:top}
.report-rating-table th[scope=col]{white-space:normal;min-width:110px}
.report-rating-select{width:100%;min-width:92px;padding:6px 8px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--ink);font-size:.85rem}
.report-rating-select:disabled{background:var(--bg-soft);color:var(--ink)}
.report-rating-origin{display:block;margin-top:4px;color:var(--muted);font-size:.72rem}
.report-rating-average{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.report-rating-average small{display:block;font-weight:400;color:var(--muted);font-size:.72rem}
.report-staff-only{margin-top:18px;padding:14px;border:1px dashed var(--border-strong);border-radius:12px;background:var(--bg-soft)}
.report-staff-only h3{margin:0 0 6px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--navy-support)}
.report-staff-only>p{margin:0 0 10px}
@media(max-width:1280px){.report-build{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.report-build-side{grid-column:1/-1}}
@media(max-width:1100px){.report-build,.report-summary-grid,.report-highlights-grid{grid-template-columns:minmax(0,1fr)}.report-build-side{grid-column:auto}}
@media(max-width:560px){.report-editor-choices{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1100px){.report-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
  .report-steps ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-step:nth-child(2){border-right:0}
  .report-step:nth-child(-n+2){border-bottom:1px solid var(--border)}
  .report-live-fields{grid-template-columns:minmax(0,1fr)}
  .report-live-fields .report-minute-row{flex-direction:row;align-items:center}
}
/* KP-16 (slice 3), KP-114. Step 4 of the report (checks, publishing, the
   studio's link and its accesses), and the studio's own page, which is also
   the team's "Ver como o estúdio". Tokens only, as in steps 1 to 3. */
/* Steps 2 and 3 name these columns; the brand sweep now reads their markup. */
.report-build-source,.report-ratings{min-width:0}
.report-published{margin:4px 0 0;font-size:.88rem;color:var(--accent-ink);font-weight:600}
.report-heading-actions{margin:10px 0 0}
.report-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-bottom:12px}
.report-card-head .report-card-title{margin:0}
.report-publish-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px;align-items:start}
.report-publish-main,.report-publish-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.report-publish-main>.card,.report-publish-side>.card{margin:0;min-width:0;width:100%}
.report-checks,.report-check-items,.report-publish-videos,.report-versions{list-style:none;margin:0;padding:0}
/* The groups of step 4's checks. */
.report-check-group{list-style:none;margin:18px 0 6px;font-size:.82rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--muted)}.report-check-group:first-child{margin-top:0}
.report-check{padding:10px 12px;border:1px solid var(--border);border-left-width:4px;border-radius:10px;background:var(--surface);font-size:.88rem;min-width:0}
.report-check+.report-check{margin-top:8px}
.report-check.is-block{border-left-color:var(--bad-ink);background:var(--bad-bg)}
.report-check.is-personal{border-left-color:var(--danger);background:var(--danger-bg)}
.report-check.is-warn{border-left-color:var(--warn-ink);background:var(--warn-bg)}
.report-check.is-ok{border-left-color:var(--accent);background:var(--ok-bg);color:var(--accent-ink);font-weight:600}
.report-check-text{margin:0;overflow-wrap:anywhere}
.report-check-fix{font-weight:600}
.report-check-items{margin-top:6px}
.report-check-items>li{padding:4px 0;border-top:1px solid var(--border);font-size:.84rem;overflow-wrap:anywhere}
.report-personal{display:grid;gap:4px}
.report-personal-where{font-weight:600;color:var(--navy-support)}
.report-personal-snippet{display:block;padding:6px 8px;border-radius:6px;background:var(--surface);color:var(--ink);overflow-wrap:anywhere}
.report-personal-ok{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.report-personal-ok input{accent-color:var(--ink)}
.report-publish-video{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;padding:10px 0;border-bottom:1px solid var(--border);font-size:.9rem}
.report-publish-video:last-child{border-bottom:0}
.report-publish-video-who{min-width:0;overflow-wrap:anywhere}
.report-share{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:600}
.report-share input{accent-color:var(--ink);width:18px;height:18px}
.report-share input:disabled+span{color:var(--muted);font-weight:400}
.report-publish-box textarea{min-height:72px}
.report-publish-box .field{margin:8px 0 12px}
.report-publish-why{margin:8px 0 12px;font-size:.88rem;color:var(--muted)}
.report-publish-why[data-state=blocked]{color:var(--warn-ink);font-weight:600}
.report-publish-why[data-state=done]{color:var(--accent-ink);font-weight:600}
.report-version{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--border);font-size:.88rem;min-width:0}
.report-version:last-child{border-bottom:0}
.report-version p{margin:0;overflow-wrap:anywhere}
.report-version-live{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:5px;background:var(--ok-bg);color:var(--accent-ink);font-size:.72rem;font-weight:700}
.report-version-note{color:var(--ink);white-space:pre-line}
.report-link-state{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:var(--bg-soft);font-size:.88rem;font-weight:600;overflow-wrap:anywhere}
.report-link-state.is-active{background:var(--ok-bg);color:var(--accent-ink)}
.report-link-state.is-expired{background:var(--warn-bg);color:var(--warn-ink)}
.report-link-state.is-revoked{background:var(--bad-bg);color:var(--bad-ink)}
.report-link-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px}
.report-link-days{display:inline-flex;align-items:center;gap:6px;font-size:.85rem}
.report-link-days select,.report-link-own input,.report-secret-row input{padding:7px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--ink);font-size:.88rem;min-width:0}
.report-link-own{margin-top:6px;font-size:.88rem}
.report-link-own summary{cursor:pointer;color:var(--navy-support)}
.report-link-own label{display:block;margin:8px 0 4px}
.report-link-own input{width:100%}
.report-link-revoke{color:var(--danger)}
.report-link-secret{margin-top:12px;padding:12px;border:2px solid var(--accent);border-radius:12px;background:var(--ok-bg);font-size:.88rem}
.report-link-secret[hidden]{display:none}
.report-link-secret p{margin:0 0 8px}
.report-secret-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:8px}
.report-secret-row label{font-weight:700}
.report-secret-row input{width:100%;font-variant-numeric:tabular-nums}
.report-accesses td{text-align:left;font-size:.82rem}
.report-accesses tr.is-wrong_password td,.report-accesses tr.is-rate_limited td{color:var(--bad-ink)}
.studio-body{background:var(--bg);min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
/* The report shell: a dark full-bleed band with the brand, the languages and the game name. */
.studio-topband{background:var(--dark);color:var(--surface);padding:22px 24px 26px}
.studio-topband-inner{max-width:var(--page-max);margin:auto}
.studio-topband-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.studio-topband.is-bare{padding-bottom:22px}
.studio-topband h1{font-size:clamp(1.7rem,3.6vw,2.1rem);margin:2px 0 6px;overflow-wrap:anywhere;letter-spacing:-.03em}
.studio-topband-meta{margin:0;color:var(--papel-qa-ink-claro);font-size:.92rem;overflow-wrap:anywhere}
.studio-topband-version{margin:4px 0 0;color:var(--on-dark);font-size:.82rem;overflow-wrap:anywhere}
.brand.is-on-dark{color:var(--surface)}
.brand.is-on-dark small{color:var(--on-dark)}
.studio-page{width:100%;max-width:var(--page-max);margin:0 auto;padding:22px 24px 40px;min-width:0;flex:1 0 auto}
.studio-page:not(.is-report){display:flex;flex-direction:column;padding-block:24px}
.studio-page:not(.is-report)>.studio-message{width:100%}
/* The report page releases its width so the tab band runs edge to edge; the content returns to the usual width below. */
.studio-page.is-report{max-width:none;padding:0 0 40px}
.studio-report-inner{max-width:var(--page-max);margin:auto;padding:22px 24px 0;min-width:0}
.studio-report{min-width:0}
.studio-footer{width:100%;max-width:var(--page-max);margin:0 auto;padding:20px 24px 36px;border-top:1px solid var(--border);font-size:.85rem;flex-shrink:0}
.studio-footer p{margin:0 0 4px}
.studio-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;min-width:0}
.studio-card h2{font-size:.8rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.studio-card h3{font-size:1rem;margin-bottom:6px;overflow-wrap:anywhere}
.studio-card.is-flush{padding:0;overflow:hidden}
.studio-card-tucked{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.studio-message{max-width:560px;margin:24px auto}
.studio-message h1{font-size:1.6rem}
.studio-message h2{font-size:1.15rem;letter-spacing:normal;text-transform:none;color:var(--ink)}
.studio-password-wrap{display:flex;align-items:center;justify-content:center;flex:1 0 auto;min-width:0}
.studio-password{width:100%;margin:0}
.studio-password-form{display:grid;gap:12px;margin-top:8px}
.studio-password-form .field label{display:block;font-weight:600;margin-bottom:6px}
.studio-error{margin:0;padding:8px 12px;border-radius:8px;background:var(--bad-bg);color:var(--bad-ink);font-weight:600}
/* Two columns: summary and findings on one side, ratings and people on the other. */
.studio-overview,.studio-player-grid{display:grid;gap:20px;align-items:start}
.studio-overview{grid-template-columns:minmax(0,1fr) minmax(0,380px)}
.studio-player-grid{grid-template-columns:minmax(0,1fr) minmax(0,400px)}
.studio-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.studio-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.studio-box{padding:0 0 0 12px;border-left:3px solid var(--border-strong);min-width:0;overflow-wrap:anywhere}
.studio-box h3{font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin-bottom:4px}
.studio-box p{font-size:.92rem;color:var(--muted)}
.studio-box.is-worked{border-left-color:var(--accent)}
.studio-box.is-worked h3{color:var(--accent-ink)}
.studio-box.is-frictions{border-left-color:var(--tile-3)}
.studio-box.is-frictions h3{color:var(--papel-admin-ink)}
.studio-box p:last-child,.studio-card p,.studio-card li{overflow-wrap:anywhere}.studio-card p:last-child{margin-bottom:0}
/* The ratings table lives in the narrow column with one column per player plus the average; tighter spacing keeps the average column in view. */
.studio-table th,.studio-table td{padding:8px 4px}
.studio-table th[scope=row]{background:transparent;color:var(--ink);font-weight:600;font-size:.84rem;white-space:normal;min-width:88px;text-align:left}
.studio-table th[scope=row] small{display:block;color:var(--muted);font-weight:400;font-size:.74rem}
.studio-table th[scope=col]{white-space:nowrap;font-size:.82rem;color:var(--muted);text-align:center}
.studio-table th[scope=col]:first-child{text-align:left}
.studio-table td{text-align:center;font-variant-numeric:tabular-nums}
.studio-table td.is-outlier{color:var(--mark-high-bg);font-weight:700}
.studio-average{font-weight:700;white-space:nowrap}
.studio-average small{display:block;font-weight:400;color:var(--muted);font-size:.72rem}
.studio-stars{color:var(--tile-3);letter-spacing:0;font-size:.88rem;white-space:nowrap}
.studio-stars-off{color:var(--border-strong)}
/* KP-140. On narrow screens only, the ratings table uses the card's side padding, smaller stars and tighter cells, so two players fit from 360px in all three languages; the skipped-answer note wraps instead of widening the column. More players scroll inside the card. */
@media (max-width:560px){
  .studio-card>.table-wrap{margin-inline:-18px;border-inline:0;border-radius:0}
  .studio-table th,.studio-table td{padding:8px 3px}
  .studio-table tr>:first-child{padding-left:18px}
  .studio-table tr>:last-child{padding-right:12px}
  .studio-table th[scope=row]{font-size:.8rem}
  .studio-table .studio-stars{font-size:.72rem}
  .studio-table .studio-average small{white-space:normal}
}
/* A finding is a row, not a card: a round can have ten or fifteen of them. */
.studio-findings{list-style:none;margin:0;padding:0;display:block}
.studio-finding{padding:14px 0;border-bottom:1px solid var(--linha);min-width:0;overflow-wrap:anywhere}
.studio-finding:first-child{padding-top:0}
.studio-finding:last-child{border-bottom:0;padding-bottom:0}
.studio-finding h3{font-size:1rem;margin-bottom:8px;line-height:1.35}
.studio-finding-body{font-size:.9rem;color:var(--muted);margin-bottom:8px}
.studio-finding-body p{margin-bottom:6px}
.studio-pill{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.69rem;font-weight:700;white-space:nowrap;vertical-align:middle;background:var(--bg-soft);color:var(--navy-support)}
.studio-pill.is-high{background:var(--mark-high-bg);color:var(--mark-high-ink)}
.studio-pill.is-friction{background:var(--mark-friction-bg);color:var(--mark-friction-ink)}
.studio-pill.is-positive{background:var(--mark-positive-bg);color:var(--mark-positive-ink)}
.studio-pill.is-bug{background:var(--bad-bg);color:var(--bad-ink)}
/* The category is its own quiet outlined tag; each name in "também com" leads to that player's tab. */
.studio-pill.is-category{background:transparent;box-shadow:inset 0 0 0 1px var(--border);color:var(--navy-support)}
.studio-also a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.studio-evidence-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px;font-size:.82rem}
.studio-chip{display:inline-block;padding:3px 8px;border-radius:6px;background:var(--dark);color:var(--surface);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
a.studio-chip:hover{background:var(--navy-2);text-decoration:none}
.studio-count{color:var(--muted)}
.studio-recommendation{padding:8px 12px;border-radius:8px;background:var(--bg-soft);font-size:.9rem}
.studio-recommendation p{display:inline;margin:0}
/* KP-16. The report tabs and each player's minute by minute. */
/* Tabs are pill buttons: the active one navy, the others white with a border and a shadow so they read as clickable. */
.studio-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px max(24px,calc((100% - var(--page-max))/2 + 24px));background:var(--surface);border-bottom:1px solid var(--border)}
.studio-tabs a{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:1.5px solid var(--border-strong);border-radius:999px;background:var(--surface);color:var(--ink);font-size:.88rem;font-weight:600;line-height:1.3;box-shadow:0 2px 0 var(--border-strong);transition:border-color .15s,transform .15s}
.studio-tabs a:hover{border-color:var(--navy-support);text-decoration:none;transform:translateY(-1px)}
.studio-tabs a:focus-visible{outline:2px solid var(--dark);outline-offset:2px}
.studio-tabs a[aria-current=page]{background:var(--dark);border-color:var(--dark);color:var(--surface);box-shadow:none;transform:none}
.studio-tabs-sep{width:1px;height:26px;margin:0 6px;background:var(--border)}
.studio-tabs-label{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.studio-initial{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;color:var(--ink);font-size:.68rem;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.studio-initial.is-tone-1{background:var(--tone-1)}
.studio-initial.is-tone-2{background:var(--tone-2)}
.studio-initial.is-tone-3{background:var(--tone-3)}
.studio-initial.is-tone-4{background:var(--tone-4)}
.studio-initial.is-tone-5{background:var(--tone-5)}
.studio-initial.is-tone-6{background:var(--tone-6)}
@media (max-width:640px){.studio-tabs{gap:8px;padding-block:12px}.studio-tabs-sep{display:none}.studio-tabs-label{flex-basis:100%;margin-top:4px}}
@media (prefers-reduced-motion:reduce){.studio-tabs a{transition:none}.studio-tabs a:hover{transform:none}}
.studio-moments{list-style:none;padding:0;margin:0;display:block}
.studio-moment{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--linha)}
.studio-moment:first-child{padding-top:0}
.studio-moment:last-child{border-bottom:0;padding-bottom:0}
.studio-moment h3{font-size:.94rem;margin-bottom:5px;line-height:1.4}
.studio-moment-at{font-variant-numeric:tabular-nums;font-weight:700;font-size:.82rem;text-align:center;background:var(--chip-bg);color:var(--ink);border-radius:6px;padding:5px 0;height:fit-content;align-self:start;margin:0}
.studio-also{font-size:.78rem;color:var(--muted)}
.studio-moment p:last-child{margin-bottom:0}
/* The video stage has a fixed height and the file fits inside it: a 16:9 frame squeezed portrait phone gameplay, and without a rule the <video> took the file's natural size and the crop hid its controls. The Drive iframe stays in the 16:9 frame: it has no intrinsic size and would collapse in a flex stage. */
.studio-video-stage{height:min(440px,62vh);background:var(--screen-frame);display:flex;align-items:center;justify-content:center}
.studio-video-stage video{max-width:100%;max-height:100%;width:auto;height:auto;display:block}
.studio-video-frame{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--screen-frame)}
.studio-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.studio-video-foot{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;padding:12px 18px}
.studio-video-foot p{margin:0;font-size:.86rem}
/* One card per session, opening the player's tab. The dark rectangle holds the place of a video thumbnail. */
/* The session card is white with a border and shadow and fully clickable; on hover the border darkens and the card lifts. */
.studio-sessions{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px}
.studio-session{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1.5px solid var(--border-strong);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 2px 0 var(--border-strong);min-width:0;transition:border-color .15s,box-shadow .15s,transform .15s}
.studio-session:hover{border-color:var(--dark);box-shadow:0 8px 20px var(--card-lift);transform:translateY(-2px);text-decoration:none}
.studio-session:focus-visible{outline:2px solid var(--dark);outline-offset:2px}
.studio-session-body{display:flex;flex-direction:column;align-items:flex-start;gap:3px;flex:1 1 auto;min-width:0}
.studio-session-who{display:flex;align-items:center;gap:8px;font-size:.94rem;font-weight:700;overflow-wrap:anywhere}
.studio-flag{font-size:1.05em;line-height:1;font-weight:400}
.studio-session-meta{font-size:.82rem;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.studio-session-video{margin-top:5px;padding:3px 8px;border-radius:999px;font-size:.69rem;font-weight:700;white-space:nowrap}
.studio-session-video.is-shared{background:var(--mark-positive-bg);color:var(--mark-positive-ink)}
.studio-session-video.is-on_request{background:var(--chip-bg);color:var(--muted)}
.studio-session-video.is-none{background:var(--chip-bg);color:var(--muted)}
.studio-session-go{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--bg);color:var(--ink);font-size:1rem;font-weight:700;transition:background .15s,color .15s}
.studio-session:hover .studio-session-go{background:var(--dark);color:var(--surface)}
@media (prefers-reduced-motion:reduce){.studio-session,.studio-session-go{transition:none}.studio-session:hover{transform:none}}
/* The highlights band: one ~200px image with up to three sentences and the kind's dot. The gradient carries the band until the QA adds a screenshot. */
.studio-hero{border-radius:var(--radius);min-height:200px;padding:22px 26px;background:linear-gradient(90deg,var(--dark) 0%,var(--navy-support) 100%);color:var(--surface)}
.studio-hero-eyebrow{margin:0 0 12px;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.studio-card .studio-hero-eyebrow,.studio-hero h2.studio-hero-eyebrow{color:var(--accent)}
/* With the QA's background: an <img> covering the band (never a style background-image, which the CSP blocks) under the design's gradient, so the text stays legible. */
.studio-hero.has-image{position:relative;overflow:hidden;isolation:isolate}
.studio-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.studio-hero.has-image::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--hero-shade-strong) 0%,var(--hero-shade-mid) 62%,var(--hero-shade-soft) 100%)}
.studio-hero-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.studio-hero-lines li{display:flex;align-items:baseline;gap:9px;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.studio-dot{flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:var(--on-dark);transform:translateY(-1px)}
.studio-dot.is-positive{background:var(--accent)}
.studio-dot.is-negative{background:var(--mark-negative)}
.studio-dot.is-neutral{background:var(--on-dark)}
/* The round sheet: what was contracted and what was delivered. */
.studio-sheet{margin:0;font-size:.9rem}
.studio-sheet>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--linha)}
.studio-sheet>div:last-child{border-bottom:0;padding-bottom:0}
.studio-sheet dt{color:var(--muted)}
.studio-sheet dd,.studio-sheet-value{margin:0;font-weight:700;text-align:right;overflow-wrap:anywhere}
.studio-sheet dd.is-positive{color:var(--accent-ink)}
.studio-sheet dd.is-negative{color:var(--mark-high-bg)}
.studio-sheet dd.is-neutral{color:var(--muted)}
.studio-sheet+.muted{margin:12px 0 0;font-size:.85rem}
.studio-score-big{margin:0;font-size:2.4rem;font-weight:700;line-height:1.05;font-variant-numeric:tabular-nums}
.studio-score-big span{font-size:1rem;font-weight:400;color:var(--muted)}
.studio-score-more{margin:16px 0 0}
.studio-next-button{display:block;text-align:center}
.studio-version-pill{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--mark-positive-bg);color:var(--mark-positive-ink);font-size:.74rem;font-weight:700;white-space:nowrap}
.studio-card-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
.studio-card-help{margin:-6px 0 14px;font-size:.84rem}
.studio-card-head h2,.studio-card-head h3{margin-bottom:10px}
/* The "Primeiros achados" tab: a single column of text to read. */
.studio-findings-page{display:flex;flex-direction:column;gap:16px;width:100%;min-width:0}
.studio-findings-page>.studio-card>h2{font-size:1.25rem;font-weight:600;line-height:1.4;letter-spacing:normal;text-transform:none;color:var(--ink);margin-bottom:16px}
.studio-findings-page .studio-theme-finding .studio-card-head h3{font-size:1.0625rem;font-weight:600;line-height:1.5;color:var(--ink);margin-bottom:10px}
.studio-side-list{margin:0;padding-left:18px;font-size:.9rem}
.studio-side-list li{margin-bottom:6px;overflow-wrap:anywhere}
.studio-side-list li:last-child{margin-bottom:0}
.studio-themes{list-style:none;margin:0;padding:0;font-size:.9rem}
.studio-themes li{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,180px) 32px;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--linha)}
.studio-themes li:last-child{border-bottom:0}
.studio-theme-name{font-weight:700;overflow-wrap:anywhere}
.studio-theme-bar{height:8px;border-radius:999px;background:var(--linha);overflow:hidden}
.studio-theme-fill{display:block;height:8px;border-radius:999px;background:var(--border-strong)}
.studio-theme-fill.is-friction{background:var(--tile-3)}
.studio-theme-fill.is-positive{background:var(--accent)}
.studio-theme-fill.is-bug{background:var(--mark-high-bg)}
/* The bar width is set by class: the CSP forbids style attributes. */
.studio-theme-fill.is-w10{width:10%}.studio-theme-fill.is-w20{width:20%}.studio-theme-fill.is-w30{width:30%}.studio-theme-fill.is-w40{width:40%}.studio-theme-fill.is-w50{width:50%}.studio-theme-fill.is-w60{width:60%}.studio-theme-fill.is-w70{width:70%}.studio-theme-fill.is-w80{width:80%}.studio-theme-fill.is-w90{width:90%}.studio-theme-fill.is-w100{width:100%}
.studio-theme-count{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
.studio-theme-finding{border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:10px}
.studio-theme-finding:last-child{margin-bottom:0}
.studio-theme-finding h3{font-size:1rem}
.studio-recs{margin:0;padding-left:20px;font-size:.95rem}
.studio-recs li{margin-bottom:8px;overflow-wrap:anywhere}
.studio-recs li:last-child{margin-bottom:0}
/* KP-16. "Primeiros achados": the QA's summary with the game screen, both sides with their mark, the player's suggestion and the quotes. */
.studio-ff{display:flex;flex-direction:column;gap:22px}
.studio-ff-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.studio-ff-head h2{font-size:1.9rem;letter-spacing:-.03em;text-transform:none;color:var(--ink);margin:0}
.studio-ff-edit{white-space:nowrap}
.studio-ff-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:center}
.studio-ff-summary.has-image{grid-template-columns:repeat(2,minmax(0,1fr))}
.studio-ff-text{font-size:1rem;line-height:1.7;color:var(--muted)}
.studio-ff-text p:last-child{margin-bottom:0}
.studio-ff-text .studio-text-heading{font-weight:600;line-height:1.5;letter-spacing:normal;color:var(--ink);margin:16px 0 8px}
.studio-ff-text h3.studio-text-heading{font-size:1.125rem}.studio-ff-text h4.studio-text-heading{font-size:1.0625rem}.studio-ff-text h5.studio-text-heading,.studio-ff-text h6.studio-text-heading{font-size:1rem}
.studio-ff-text .studio-text-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.studio-ff-text .studio-text-tag{display:inline-block;padding:3px 8px;border:1px solid var(--border);border-radius:6px;background:var(--bg-soft);color:var(--navy-support);font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}
.studio-ff-image{display:block;width:100%;height:240px;object-fit:cover;border-radius:16px;background:var(--dark)}
.studio-ff-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.studio-ff-side{min-width:0}
.studio-ff-side h3{display:flex;align-items:center;gap:14px;font-size:1.3rem;margin-bottom:14px}
.studio-ff-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:52px;height:52px;border-radius:50%;font-size:1.6rem;font-weight:600;line-height:1}
.studio-ff-side.is-positive .studio-ff-icon{background:var(--mark-positive-bg);color:var(--mark-positive-ink)}
.studio-ff-side.is-negative .studio-ff-icon{background:var(--mark-negative-soft);color:var(--mark-high-bg)}
.studio-ff-list{list-style:none;margin:0;padding:0;font-size:.95rem}
.studio-ff-list li{margin-bottom:10px;overflow-wrap:anywhere}
.studio-ff-list li::before{content:"• "}
.studio-ff-list li:last-child{margin-bottom:0}
.studio-ff-list .studio-count{font-size:.82rem}
.studio-suggestion{margin:0;padding:10px 14px;border-radius:10px;background:var(--bg-soft);font-size:.9rem;overflow-wrap:anywhere}
.studio-suggestion .studio-count{font-size:.82rem}
.studio-quotes{list-style:none;margin:0;padding:0;font-size:.95rem}
.studio-quotes li{margin-bottom:10px;overflow-wrap:anywhere}
.studio-quotes li:last-child{margin-bottom:0}
.studio-quotes .studio-count{font-size:.82rem}
.report-player-quotes{margin-top:22px}.report-player-quotes h3{margin:0 0 4px;font-size:1rem}.report-player-quote{margin-top:12px;min-width:0}.report-player-quote label{display:block;font-size:.88rem;font-weight:600;margin-bottom:6px}.report-player-quote textarea{width:100%;resize:vertical}
/* About the player: the phone and one line per player, from step 3. */
.report-player-info{border:0;padding:0;margin-inline:0}.report-player-info legend{padding:0;font-size:.88rem;font-weight:700;margin-bottom:6px}.report-player-info label{font-weight:500;margin-top:8px}.report-player-info input,.report-player-info select{width:100%;max-width:520px;min-width:0}
.report-suggestion{border:1px solid var(--border);border-radius:12px;padding:14px 16px 4px;margin:0 0 16px;min-width:0}
.report-suggestion legend{font-size:.88rem;font-weight:600;padding:0 6px}
@media (max-width:760px){.studio-ff-summary.has-image,.studio-ff-sides{grid-template-columns:minmax(0,1fr)}.studio-ff-head h2{font-size:1.5rem}}
/* KP-224. The player's quote under their video, beside the ratings. */
.studio-player-quote{margin:14px 0 0;padding:14px 16px;border-left:4px solid var(--tile-1);background:var(--bg);border-radius:0 12px 12px 0;min-width:0}
.studio-player-quote blockquote{margin:0}
.studio-player-quote blockquote p{margin:0;font-size:1.08rem;line-height:1.45;font-weight:500;overflow-wrap:anywhere}
.studio-player-quote figcaption{margin-top:8px;font-size:.8rem;color:var(--muted)}
.studio-player-original-text{margin:6px 0 0;font-size:.8rem;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
/* The ratings the person gave, on their tab. */
.studio-scores{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:10px;margin-top:14px}
.studio-score{background:var(--bg);border-radius:10px;padding:10px 12px;min-width:0}
.studio-score-value{margin:0;font-size:1.3rem;font-weight:700;line-height:1.1}
.studio-score-label{margin:4px 0 0;font-size:.72rem;color:var(--muted);overflow-wrap:anywhere}
.studio-preview-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:12px 24px;background:var(--warn-bg);border-bottom:2px solid var(--warn-border);color:var(--warn-ink);font-size:.9rem}
.studio-preview-banner.is-draft{border-bottom-color:var(--warn-ink)}
.studio-preview-banner p{margin:0;flex:1 1 320px;overflow-wrap:anywhere}
@media(max-width:1100px){.report-publish-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:980px){
  .studio-overview,.studio-player-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
  .studio-two{grid-template-columns:minmax(0,1fr)}
  .studio-moment{grid-template-columns:minmax(0,1fr);gap:4px}
  .studio-page{padding:18px 16px 32px}
  .studio-card{padding:18px}
  .studio-preview-banner{padding:10px 16px}
  .report-secret-row{grid-template-columns:minmax(0,1fr)}
}
/* KP-16, external sessions ("sessão avulsa"): the team's tag, the form that
   adds one, and the session's own data on step 1. Never on the studio's page. */
.report-main{display:flex;flex-direction:column;gap:14px}
.report-external-tag{display:inline-block;margin-left:4px;padding:1px 8px;border:1px solid var(--warn-border);border-radius:999px;background:var(--warn-bg);color:var(--warn-ink);font-size:.7rem;font-weight:600;line-height:1.5;vertical-align:middle;white-space:nowrap}
.report-external-add{margin-top:14px}
.report-external-add>summary{display:inline-flex;list-style:none;cursor:pointer;max-width:100%;white-space:normal;text-align:left}
.report-external-add>summary::-webkit-details-marker{display:none}
.report-external-add[open]>summary{margin-bottom:12px}
.report-external-form{padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--bg-soft)}
.report-external-form>p{font-size:.86rem}
.report-external-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:0 16px}
.report-external-fields .field{margin-bottom:14px;min-width:0}
.report-external-fields .field p{margin:4px 0 0}
.report-external-pending{list-style:none;margin:12px 0 0;padding:0;font-size:.88rem}
.report-external-pending:empty{display:none}
.report-external-pending-item{padding:6px 0;border-top:1px solid var(--border);overflow-wrap:anywhere}
.report-external-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-bottom:8px}
.report-external-head .report-card-title{margin:0}
.report-external>p{font-size:.86rem}
/* Editing a round (admin, step 1): a field that stopped changing once someone signed the round's agreement, and the notes that say why. Step 2 of a round on Android and iOS: one block per platform. */
.notice.is-note,.notice.is-warn{border-color:var(--warn-border);background:var(--warn-bg);color:var(--warn-ink)}.field.is-locked input[readonly],.field.is-locked textarea[readonly],.field.is-locked select:disabled,.field.is-locked input:disabled+span{background:var(--bg);color:var(--muted);cursor:not-allowed}.field-locked{font-size:.82rem;color:var(--warn-ink);margin:6px 0 0}fieldset.field{border:0;padding:0;margin-inline:0;min-width:0}fieldset.field legend{display:block;font-size:.88rem;font-weight:500;margin-bottom:8px;padding:0}.access-platform{margin-bottom:20px}.access-platform-title{display:flex;align-items:center;gap:10px;font-size:1.05rem;margin-bottom:14px}
/* KP-89. The round's player table (lib/round-players-view.php): stage, next step, whose turn, deadline and action. A table from 901px; below that, one card per person with every action at least 44px tall. Turn colours come from the tokens. */
.round-players .notice[hidden]{display:none}
.round-turn-chip,.round-turn{--turn-color:var(--border-strong);--turn-ink:var(--ink)}
.round-turn-chip.is-todos{--turn-color:var(--ink);--turn-ink:var(--tip-ink)}
.round-turn-chip.is-jogador,.round-turn.is-jogador{--turn-color:var(--accent)}
.round-turn-chip.is-qa,.round-turn.is-qa{--turn-color:var(--qa-stripe)}
.round-turn-chip.is-admin,.round-turn.is-admin{--turn-color:var(--dark);--turn-ink:var(--tip-ink)}
.round-turn-chip.is-ninguem,.round-turn.is-ninguem{--turn-color:var(--border-strong)}
.round-turn-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:6px 0 10px}
.round-turn-filter-title{font-weight:600;color:var(--muted);font-size:.85rem}
.round-turn-filter ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.round-turn-chip{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 13px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:.82rem;font-weight:600;line-height:1.3}
.round-turn-chip::before{content:"";flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:var(--turn-color)}
.round-turn-chip:hover{text-decoration:none;border-color:var(--ink)}
.round-turn-chip:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.round-turn-chip[aria-current]{background:var(--turn-color);border-color:var(--turn-color);color:var(--turn-ink)}
.round-turn-chip[aria-current]::before{background:var(--turn-ink)}
.round-turn{display:inline-block;margin:2px 0 0 4px;padding:2px 9px;border-radius:999px;font-size:.7rem;font-weight:700;line-height:1.5;background:var(--turn-color);color:var(--turn-ink);white-space:nowrap;vertical-align:baseline}
.round-turn.is-ninguem{background:var(--surface);border:1px solid var(--border);color:var(--muted)}
.round-stage-legend{margin:0 0 12px;font-size:.82rem}
.round-stage-legend summary{cursor:pointer;color:var(--muted);font-weight:600;display:inline-flex;align-items:center;min-height:32px}
.round-stage-legend ol{list-style:none;padding:0;margin:6px 0 8px;display:flex;flex-wrap:wrap;gap:4px 16px;color:var(--ink)}
.round-stage-legend p{margin:0}
.round-players-wrap{border:1px solid var(--border);border-radius:14px;background:var(--surface)}
.round-players-table{table-layout:fixed;font-size:.88rem;background:transparent}
.round-players-table th:nth-child(n){min-width:0;white-space:normal;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:12px 14px;background:transparent;border-bottom:1px solid var(--border)}
.round-players-table th:nth-child(1){width:21%}
.round-players-table th:nth-child(2){width:25%}
.round-players-table th:nth-child(3){width:22%}
.round-players-table th:nth-child(4){width:14%}
.round-players-table th:nth-child(5){width:18%}
.round-players-table td{padding:14px;vertical-align:top;border-top:0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.round-players-table tbody tr:last-child td{border-bottom:0}
.round-player-row.is-mine td{background:var(--bg-soft)}
.round-player-row.is-mine td:first-child{box-shadow:inset 3px 0 0 var(--accent)}
.round-player-who strong,.round-stage-name{display:block;font-weight:600;color:var(--ink)}
.round-player-who .pill{margin:6px 6px 0 0}
.round-player-sub,.round-stage-note,.round-deadline-note,.round-player-hint,.round-player-app{display:block;color:var(--muted);font-size:.78rem;line-height:1.45}
.round-player-stage,.round-player-next{color:var(--ink)}
.round-stage{display:block;margin:4px 0 0;padding:0;border:0}
.round-stage summary{list-style:none;display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:32px;cursor:pointer;color:var(--muted);font-size:.78rem;border-radius:6px}
.round-stage summary::-webkit-details-marker{display:none}
.round-stage summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.round-stage-count{white-space:nowrap}
.round-stage-bars{display:inline-flex;gap:3px}
.round-stage-bars i{display:block;width:14px;height:5px;border-radius:3px;background:var(--border)}
.round-stage-bars i.is-reached{background:var(--accent)}
.round-stage-list{list-style:none;margin:6px 0 0;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:.78rem;color:var(--muted)}
.round-stage-list li.is-past{color:var(--ink)}
.round-stage-list li.is-current{color:var(--ink);font-weight:700}
.round-stage-here{color:var(--accent-ink);font-weight:600}
.round-player-deadline .round-deadline-label{display:block;color:var(--ink)}
.round-player-deadline.is-soon .round-deadline-label,.round-player-deadline.is-soon .round-deadline-note{color:var(--warn-ink)}
.round-player-deadline.is-soon .round-deadline-label{font-weight:600}
.round-player-deadline.is-none .round-deadline-label{color:var(--muted)}
.round-player-actions .button{min-height:44px;margin:0 6px 6px 0}
.round-player-actions .round-player-hint{margin:0 0 6px}
.round-player-end{display:inline-flex;align-items:center;min-height:32px;margin:0 0 4px;color:var(--muted);text-decoration:underline;font-weight:500}
.round-player-actions.is-blank{color:var(--muted)}
.round-player-more summary{cursor:pointer;color:var(--ink);font-size:.8rem;font-weight:600;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);list-style:none}
.round-player-more summary::-webkit-details-marker{display:none}
.round-player-more summary::after{content:"";width:6px;height:6px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translateY(-2px)}
.round-player-more[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.round-player-more summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.round-player-more[open] summary{border-color:var(--ink)}
.round-player-more-body{display:grid;gap:10px;margin-top:6px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:.8rem}
.round-player-more-line{overflow-wrap:anywhere}
.round-player-more-label{display:block;color:var(--muted);font-size:.72rem}
.round-player-more-actions{display:flex;flex-wrap:wrap;gap:6px}
.round-player-more-actions .button{margin:0}
.round-player-menu>summary{list-style:none;cursor:pointer;min-height:44px;margin:0}
.round-player-menu>summary::-webkit-details-marker{display:none}
.round-player-menu>summary::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:6px}
.round-player-menu[open]>summary::after{transform:rotate(-135deg)}
.round-player-menu[open]>summary{border-color:var(--ink)}
.round-player-menu-body{display:grid;gap:8px;min-width:0;padding:12px 0 0}
.round-player-menu-body .button,.round-player-menu-body .round-player-end{display:flex;width:100%;height:auto;min-height:44px;margin:0;padding:9px 10px;border-radius:8px;text-align:left;justify-content:flex-start;white-space:normal;line-height:1.35}
.round-player-menu-body .round-player-more-actions{display:grid;gap:8px}
.round-player-menu-body .round-player-more>summary{width:100%;height:auto;min-height:44px;padding:9px 10px;line-height:1.35;text-align:left}
.round-player-menu-body .round-player-more-body{padding:10px 8px;font-size:.78rem}
.round-player-menu-body .round-player-more-line{min-width:0}
.round-players-empty td{border-bottom:0}
@media(max-width:900px){
.round-turn-chip,.round-stage summary,.round-player-more summary,.round-player-end,.round-stage-legend summary,.round-players .heading-actions .button{min-height:44px}
.round-players-wrap{border:0;background:transparent}
.round-players-table,.round-players-table tbody,.round-players-table tr,.round-players-table td{display:block;width:100%}
.round-players-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.round-players-table{table-layout:auto}
.round-players-table tr.round-player-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--border);border-radius:14px;background:var(--surface);margin:0 0 12px;padding:6px 0}
.round-players-table td.round-player-who,.round-players-table td.round-player-stage,.round-players-table td.round-player-actions{grid-column:1/-1}
.round-player-row.is-mine{background:var(--bg-soft);box-shadow:inset 3px 0 0 var(--accent)}
.round-player-row.is-mine td,.round-player-row.is-mine td:first-child{background:transparent;box-shadow:none}
.round-players-table td{border:0;padding:8px 16px;width:auto}
.round-players-table td[data-label]:not(.round-player-who):not(.round-player-actions)::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}
.round-player-actions.is-blank{display:none}
.round-player-actions .button{width:100%;margin:0 0 8px}
.round-players-empty{border:1px solid var(--border);border-radius:14px;background:var(--surface)}
}
/* "Assistir ao onboarding": the recording in a dialog of the round screen; on a phone the player stays inside the window. */
.round-onboarding-dialog{max-width:820px;max-height:calc(100vh - 32px);overflow:auto}
.round-onboarding-dialog .dialog-heading{flex-wrap:nowrap;align-items:flex-start;margin-bottom:8px}
.round-onboarding-dialog .dialog-heading h2{font-size:1.35rem;min-width:0;overflow-wrap:anywhere}
.round-onboarding-video{display:block;width:100%;max-height:60vh;background:var(--dark);border-radius:12px}
@media(max-width:900px){.round-onboarding-dialog{padding:20px 16px}.round-onboarding-dialog .button{min-height:44px}}
.round-player-mail{display:block;margin-top:6px;font-size:.78rem;color:var(--muted)}
.round-player-mail .pill{margin:0 0 0 2px}
.round-player-mail-when{white-space:nowrap}
/* KP-120. The session within 72 hours, with the onboarding not approved. */
.round-player-warning{display:inline-block;margin-top:6px;white-space:normal;text-align:left}
/* "Sugerir outro horário para esta rodada de teste": the player's card and "Escalar horários". */
.playtest-suggest{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--border)}
.playtest-suggest [hidden]{display:none}
.playtest-suggest .button{min-height:44px;max-width:100%;white-space:normal;text-align:center}
.playtest-suggest-line{margin-bottom:10px}
.suggest-sent-dialog{max-width:480px}.suggest-sent-dialog h2{font-size:1.4rem;margin-bottom:12px}
.playtest-suggest-reference{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:var(--bg-soft);font-size:.92rem}
.playtest-suggest-list{margin:0 0 10px;padding-left:20px}
.playtest-suggest-list li{margin-bottom:4px}
.playtest-suggest-form{margin-top:14px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.playtest-suggest-item{border:1px solid var(--border);border-radius:10px;padding:10px 14px 12px;margin:0 0 12px;min-width:0}
.playtest-suggest-item legend{font-size:.88rem;font-weight:600;padding:0 4px}
.playtest-suggest-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:0 14px}
.playtest-suggest-fields .field{margin-bottom:10px;min-width:0}
.playtest-suggest-fields input{min-height:44px}
.playtest-suggest-note input{min-height:44px}
.playtest-suggest-note .fine-print{margin:6px 0 0}
.playtest-suggest-form .notice{margin:12px 0}
.playtest-suggest-clear{margin-top:4px}
/* KP-80. "Quando você pode jogar até dd/mm?" on the card. */
.schedule-suggestions{margin:10px 0 2px;padding:12px;border:1px solid var(--warn-border);background:var(--warn-bg);border-radius:10px;color:var(--ink);scroll-margin-top:16px}
.schedule-suggestions h4{font-size:.92rem;margin:0 0 6px}
.schedule-suggestions p{margin:0 0 8px;font-size:.84rem}
.schedule-suggestion-list{list-style:none;margin:0;padding:0}
.schedule-suggestion-list>li{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:10px 12px;margin:0 0 8px}
.schedule-suggestion-list strong{display:block;font-weight:600}
.schedule-suggestion-flags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.schedule-suggestion-flags .pill{margin:0}
.schedule-suggestion-list .field{margin:6px 0 8px}
.schedule-suggestion-list .field label{font-size:.8rem;margin-bottom:4px}
.schedule-suggestion-list .field input{min-height:44px;padding:9px 11px}
.schedule-suggestions .button{min-height:44px;white-space:normal}
.schedule-suggestion-list .button{width:100%}
.schedule-suggestion-list .notice{margin:8px 0 0;padding:12px 14px}
@media(min-width:901px){.schedule-board.has-suggestions{grid-template-columns:minmax(0,340px) minmax(0,1fr)}}
.playtest-suggest{margin-bottom:12px}
.playtest-suggest-form [data-suggest-add]{margin-bottom:16px}
.playtest-suggest-saved h4{margin-bottom:8px}
.playtest-suggest-open{margin-top:2px}
.schedule-seats{display:inline-block;margin:0 0 14px;padding:5px 12px;border-radius:999px;border:1px solid var(--border);background:var(--bg);color:var(--ink);font-size:.88rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}#escalar .notice.is-warn{margin:0 0 18px}.invite-seats{margin:0 0 20px}.invite-seats .schedule-seats{margin:0}.invite-seats .notice{margin:12px 0 0}

/* Relatórios (admin/relatorios.php): the numbers, the filters, one row per round, and the side panel (a column on wide screens, a full-width sheet below). Signals: green ready, amber incomplete, red problem, grey not done. */
.report-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
.report-number{min-width:0;background:var(--surface);border:1px solid var(--papel-admin-borda);border-left:5px solid var(--papel-admin-borda);border-radius:12px;padding:12px 14px}
.report-number.is-late,.report-number.is-failed{border-left-color:var(--mark-high-bg)}
.report-number.is-late .report-number-value{color:var(--mark-high-bg)}
.report-number.is-draft{border-left-color:var(--tile-3)}
.report-number.is-published{border-left-color:var(--accent)}
.report-number-value{margin:0;font-size:1.5rem;font-weight:700;line-height:1.2}
.report-number-label{margin:2px 0 0;font-size:.78rem;color:var(--muted);overflow-wrap:anywhere}
.report-filters{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between;margin:0 0 16px}
.report-filter-list{display:flex;flex-wrap:wrap;gap:8px}
.report-filter{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid var(--papel-admin-borda);background:var(--surface);color:var(--ink);font-size:.82rem}
.report-filter:hover{text-decoration:none;border-color:var(--border-strong)}
.report-filter[aria-current=page]{background:var(--ink);border-color:var(--ink);color:var(--surface);font-weight:600}
.report-filter-count{font-size:.72rem;font-weight:600}
.report-filter-qa{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;max-width:100%;font-size:.85rem}
.report-filter-qa select{min-width:0;max-width:220px;padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit}
.report-filter-qa .button{margin:0}
.report-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.report-list{display:block;padding:0;overflow:hidden}
.report-list-head{display:grid;grid-template-columns:1.15fr .85fr 1.1fr 2.4fr;gap:10px;padding:10px 16px;border-bottom:1px solid var(--papel-admin-borda);font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.report-list-rows{list-style:none;margin:0;padding:0}
.report-list-rows>li{border-bottom:1px solid var(--papel-admin-borda)}
.report-list-round-state{min-width:0}
.report-list-row{display:grid;grid-template-columns:1.15fr .85fr 1.1fr 2.4fr;gap:10px;align-items:center;padding:13px 16px;color:var(--ink);font-size:.9rem}
.report-list-row>*{min-width:0}
.report-list-round-state .round-situation{white-space:normal;max-width:100%}
.report-list-row:hover{background:var(--papel-admin-fundo);text-decoration:none}
.report-list-row:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.report-list-row.is-open{background:var(--papel-admin-fundo);box-shadow:inset 4px 0 0 var(--ink)}
.report-list-round{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.report-list-meta{font-size:.78rem;color:var(--muted)}
.report-list-state{min-width:0}
.report-situation{display:inline-block;max-width:100%;padding:4px 9px;border-radius:999px;font-size:.74rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere;background:var(--chip-bg);color:var(--muted)}
.report-situation.is-late{background:var(--mark-high-bg);color:var(--mark-high-ink)}
.report-situation.is-soon{background:var(--warn-bg);color:var(--warn-ink);box-shadow:inset 0 0 0 1px var(--warn-ink)}
.report-situation.is-pending{background:var(--mark-friction-bg);color:var(--mark-friction-ink)}
.report-situation.is-ok{background:var(--mark-positive-bg);color:var(--mark-positive-ink)}
.report-situation.is-none{background:var(--chip-bg);color:var(--muted)}
.report-signals{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.report-signal{display:inline-block;padding:3px 7px;border-radius:6px;font-size:.7rem;font-weight:700;white-space:nowrap;background:var(--chip-bg);color:var(--muted)}
.report-signal.is-ok{background:var(--mark-positive-bg);color:var(--mark-positive-ink)}
.report-signal.is-warn{background:var(--mark-friction-bg);color:var(--mark-friction-ink)}
.report-signal.is-bad{background:var(--mark-negative-soft);color:var(--danger-ink)}
.report-signal.is-none{background:var(--chip-bg);color:var(--muted)}
.report-panel{display:flex;flex-direction:column;gap:16px;min-width:0;background:var(--surface);border:1px solid var(--papel-admin-borda);border-radius:var(--radius);padding:20px;overflow-wrap:anywhere}
.report-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.report-panel-head h2{margin:0;font-size:1.25rem}
.report-panel-meta{margin:3px 0 0;font-size:.82rem;color:var(--muted)}
.report-panel-close{flex:none;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:8px;color:var(--muted);font-size:1.1rem}
.report-panel-close:hover{background:var(--bg);color:var(--ink);text-decoration:none}
.report-panel>.report-situation{align-self:flex-start}
.report-panel>.notice{margin:0}
.report-panel-section{min-width:0}
.report-panel-title{margin:0 0 8px;font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.report-panel-note{margin:0 0 8px;font-size:.84rem;color:var(--muted)}
.report-missing{margin:0;padding:0 0 0 18px;font-size:.86rem}
.report-missing-item{margin:0 0 5px}
.report-missing-item.is-optional{color:var(--muted)}
.report-history{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--linha);display:flex;flex-direction:column;gap:8px;font-size:.84rem}
.report-history-item.is-bad{color:var(--danger-ink)}
.report-history-item.is-ok{color:var(--mark-positive-ink)}
.report-history-item.is-warn{color:var(--warn-ink)}
.report-history-item.is-none{color:var(--muted)}
.report-history-when{font-weight:700}
.report-link-box{background:var(--bg-soft);border:1px solid var(--linha);border-radius:12px;padding:14px}
.report-link-box>.button{margin:0}
.report-link-url{display:flex;gap:8px;align-items:center;margin:0 0 10px;min-width:0}
.report-link-url .button{flex:none;margin:0}
.report-link-field{flex:1 1 auto;min-width:0;width:100%;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-size:.8rem}
.report-link-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 0 10px}
.report-link-stat{min-width:0;background:var(--surface);border:1px solid var(--linha);border-radius:8px;padding:8px}
.report-link-stat dt{font-size:.72rem;color:var(--muted)}
.report-link-stat dd{margin:0;font-size:.86rem;font-weight:700}
.report-link-password{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:10px 0 0;font-size:.8rem;color:var(--muted)}
.report-link-password .button{margin:0}
.report-new-password{margin-top:10px;background:var(--surface);border:2px solid var(--ink);border-radius:10px;padding:12px}
.report-new-password[hidden]{display:none}
.report-new-password-title{margin:0 0 6px;font-size:.8rem;font-weight:700}
.report-new-password-value{font-weight:700;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.report-new-password-note{margin:6px 0 0;font-size:.74rem;color:var(--papel-admin-ink)}
.report-panel-actions{display:flex;flex-wrap:wrap;gap:8px}
.report-panel-actions .button{flex:1 1 140px;margin:0}
@media(min-width:1180px){.report-layout.has-panel{grid-template-columns:minmax(0,1fr) 360px}.report-panel{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto}}
@media(max-width:1179px){.report-panel{position:fixed;inset:0;z-index:60;border:0;border-radius:0;padding:20px 16px 28px;overflow-y:auto}}
@media(max-width:760px){.report-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.report-list-head{display:none}.report-list-row{grid-template-columns:minmax(0,1fr);gap:8px}.report-filter-qa{flex:1 1 100%;flex-wrap:nowrap}.report-filter-qa select{flex:1 1 0;max-width:none}}
@media(max-width:760px){
    .report-filter-qa:has(.app-list-search){flex-wrap:wrap}
    .report-filter-qa>.app-list-search{flex:0 0 100%}
    .report-filters+.app-list-mobile-sort label,.report-filters+.app-list-mobile-sort select{min-width:0;max-width:100%}
}
/* The Rodadas list: each round's report, and the filter by it. */
.round-report-filter{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:-6px 0 16px;font-size:.84rem}
.round-report-filter a{color:var(--muted)}
.round-report-filter a[aria-current=page]{color:var(--ink);font-weight:700;text-decoration:underline}
.round-report{display:inline-block;padding:2px 9px;border-radius:999px;font-size:.74rem;font-weight:700;line-height:1.6;white-space:nowrap}
.round-report.is-pendente{background:var(--mark-friction-bg);color:var(--mark-friction-ink)}
.round-report.is-atrasado{background:var(--mark-high-bg);color:var(--mark-high-ink)}
.round-report.is-publicado{background:var(--mark-positive-bg);color:var(--mark-positive-ink)}
/* "Onboarding" and "Pedir novo onboarding" in the Jogadores player dialog (admin.php). */
.player-onboarding{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}
.player-onboarding p{margin-bottom:10px}
/* KP-80. Step 1: the round type as two large cards; "Só gravação" is shown but not offered yet. */
.round-type-choices{border:0;padding:0;margin:0;min-width:0}
.round-type-choices legend{font-size:1.45rem;font-weight:600;letter-spacing:-.035em;line-height:1.15;margin-bottom:10px;padding:0}
.round-type-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:14px 0 4px}
.round-type-card{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--border);border-radius:14px;padding:20px;background:var(--surface);cursor:pointer}
.round-type-card:has(input:checked){border-color:var(--brand);background:var(--bg);box-shadow:inset 0 0 0 1px var(--brand)}
.round-type-card input{accent-color:var(--brand);width:18px;height:18px;margin-top:4px;flex-shrink:0}
.round-type-card-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.round-type-card-body strong{font-size:1.1rem;color:var(--ink)}
.round-type-card-body>span:not(.pill){color:var(--muted);font-size:.92rem}
.round-type-next{display:block;margin-top:6px;color:var(--ink);font-weight:500}
.round-type-card .pill{align-self:flex-start}
.round-type-card.is-soon{cursor:not-allowed;border-style:dashed;background:var(--bg-soft)}
.round-type-card.is-soon strong,.round-type-card.is-soon .round-type-card-body>span:not(.pill){opacity:.7}
.round-type-choices.is-locked .round-type-card{cursor:not-allowed}
@media(max-width:640px){.round-type-cards{grid-template-columns:minmax(0,1fr)}.round-type-card{padding:16px}}
/* The eye that shows the password (lib/view.php passwordField()). */
.password-input{position:relative}.password-input input{padding-right:48px}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted)}.password-toggle:hover{color:var(--ink)}.password-toggle[hidden]{display:none}.password-toggle[aria-pressed=false] .password-toggle-slash{display:none}.recording-signup-line{margin:-6px 0 22px}
/* Rodadas: "Lista | Quadro", the QA and studio filters, and the board (lib/round-board.php): columns in a shade of the admin paper, white cards, each round's colour on the left. */
.round-list-heading{align-items:flex-end;gap:12px 20px;margin-bottom:16px}
.round-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.round-filters{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:.85rem;color:var(--muted)}
.round-filters select{max-width:14rem;padding:7px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--ink);font-size:.85rem}
.round-filters [hidden]{display:none}
.round-view-toggle{display:inline-flex;border:1px solid var(--papel-borda,var(--border));border-radius:10px;overflow:hidden;font-size:.85rem;font-weight:600}
.round-view-toggle a{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;background:var(--surface);color:var(--muted)}
.round-view-toggle a:hover{color:var(--ink);text-decoration:none}
.round-view-toggle a[aria-current=page]{background:var(--dark);color:var(--surface)}
.admin-container.is-board{max-width:none}
.round-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(182px,1fr);gap:12px;align-items:start;overflow-x:auto;padding-bottom:10px}
.round-board-col{--board-dot:var(--border-strong);min-width:0;padding:12px;border:1.5px solid transparent;border-radius:14px;background:color-mix(in srgb,var(--papel-borda,var(--border)) 22%,var(--papel-fundo,var(--bg)))}
.round-board-col.is-requests{--board-dot:var(--papel-borda,var(--border-strong));border:1.5px dashed var(--papel-borda,var(--border-strong))}
.round-board-col.is-draft{--board-dot:var(--on-dark)}
.round-board-col.is-invites{--board-dot:var(--tile-3)}
.round-board-col.is-scheduling{--board-dot:var(--tile-2)}
.round-board-col.is-sessions{--board-dot:var(--accent)}
.round-board-col.is-report{--board-dot:var(--tile-5)}
.round-board-col.is-closed{--board-dot:var(--accent-ink)}
.round-board-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.round-board-head h3{display:flex;align-items:center;gap:7px;margin:0;font-size:.85rem;font-weight:700;letter-spacing:0}
.round-board-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--board-dot)}
.round-board-count{padding:2px 8px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums}
.round-board-empty{margin:0;font-size:.8rem;color:var(--muted)}
.round-board-cards{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.round-board-card{position:relative;padding:12px;border:1px solid var(--papel-borda,var(--border));border-left:5px solid var(--board-dot);border-radius:12px;background:var(--surface)}
.round-board-card:hover{box-shadow:0 8px 20px var(--card-lift)}
.round-board-card:has(.round-board-link:focus-visible){outline:3px solid var(--dark);outline-offset:2px}
@supports selector(:has(*)){.round-board-link:focus-visible{outline:none}}
.round-board-card h4{margin:0;font-size:.95rem;line-height:1.3;letter-spacing:-.01em}
.round-board-card .pill{position:relative;z-index:1}
.round-board-link{color:var(--ink)}
.round-board-link:hover{text-decoration:none}
.round-board-link::after{content:"";position:absolute;inset:0;border-radius:12px}
.round-board-sub{margin:2px 0 8px;color:var(--muted);font-size:.78rem;overflow-wrap:anywhere}
.round-board-chip{display:inline-block;margin:0 0 8px;padding:3px 8px;border-radius:6px;background:var(--chip-bg);color:var(--muted);font-size:.72rem;font-weight:700}
.round-board-chip.is-ok{background:var(--chip-bg);color:var(--muted)}
.round-board-chip.is-soon{background:var(--warn-bg);color:var(--warn-ink)}
.round-board-chip.is-late{background:var(--mark-high-bg);color:var(--mark-high-ink)}
.round-board-chip.is-done{background:var(--mark-positive-bg);color:var(--mark-positive-ink)}
.round-board-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-top:10px;font-size:.8rem}
.round-board-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;list-style:none;color:var(--muted)}
.round-board-legend .round-board-chip{margin:0 4px 0 0}
.round-board-line{display:flex;justify-content:space-between;gap:8px;margin:0;color:var(--muted);font-size:.74rem}
.round-board-line span{white-space:nowrap}
.round-board-line strong{color:var(--ink);text-align:right;font-variant-numeric:tabular-nums}
.round-board-moment{margin:6px 0 0;color:var(--navy-support);font-size:.8rem;line-height:1.45}
.round-board-format{margin:6px 0 0;color:var(--muted);font-size:.68rem}
.round-board-label{margin:0 0 4px;color:var(--muted);font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.round-board-checklist{margin:0;padding:0;list-style:none;color:var(--muted);font-size:.78rem;line-height:1.6}
.round-board-checklist li.is-done{color:var(--ink)}
.round-board-alert{margin:8px 0 0;padding:4px 8px;border-radius:6px;font-size:.72rem;font-weight:700;line-height:1.4}
.round-board-alert.is-warn{background:var(--warn-bg);color:var(--warn-ink)}
.round-board-alert.is-late{background:var(--mark-high-bg);color:var(--mark-high-ink)}
.request-form fieldset{min-width:0;margin:0;padding:0;border:0}
.request-checklist .choices{margin-top:4px}
.request-delete{display:grid;justify-items:start;gap:8px;margin-top:8px}
@media (max-width:760px){.round-list-heading{align-items:flex-start}.round-toolbar{width:100%}}
@media (max-width:640px){.round-delivery-heading{white-space:normal}}

/* Site v2 (docs/design/site-v2): the dark header and footer, the home and the players' page. Colours are the --site-* tokens. */
/* KP-140. Inter for the public site only, under its own family name so the shared body rule keeps the other screens unchanged. The variable woff2 is self-hosted from the official release (rsms/inter v4.1) with its OFL licence (Inter-LICENSE.txt); no outside font service is called. */
@font-face{font-family:"Playtest Site Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/InterVariable.woff2") format("woff2"),local("Inter Variable"),local("InterVariable"),local("Inter var")}
body.site-page{--page-max:1240px;background:var(--site-page);font-synthesis:none}
body.site-page,body.studio-body{font-family:"Playtest Site Inter",Inter,Arial,sans-serif}
/* Below the body the browser paints the root, so on a short page the root takes the footer's night colour. */
html:has(> body.site-page){background:var(--site-night)}
.site-wrap{max-width:var(--page-max);margin:0 auto;padding:0 24px}
.site-icon{display:inline-block;width:1.25em;height:1.25em;flex:none;vertical-align:middle}
.site-header.is-site{position:relative;z-index:30;background:var(--site-night);border-bottom:0;color:var(--surface)}
.has-site-hero .site-header.is-site{position:absolute;top:0;left:0;right:0;background:transparent}
.site-nav-inner{position:relative;max-width:var(--page-max);margin:0 auto;padding:22px 24px;display:flex;align-items:center;gap:28px}
.site-brand{display:flex;align-items:center;gap:12px;flex:none;color:var(--surface);font-size:1.375rem;font-weight:800;line-height:1;letter-spacing:-.01em}
.site-brand:hover{text-decoration:none}
.site-brand img{display:block;width:46px;height:46px}
.site-brand small{display:block;margin-top:4px;font-size:.6875rem;font-weight:500;letter-spacing:.32em;color:var(--site-on-dark-muted)}
.site-header.is-site .header-menu{flex:1;min-width:0;display:flex;align-items:center;gap:28px}
.site-header.is-site .site-nav{display:flex;align-items:center;gap:24px;flex:1;min-width:0}
.site-nav a,.site-nav-account{color:var(--site-on-dark);font-size:.9375rem;font-weight:500;white-space:nowrap}
.site-nav a:hover,.site-nav-account:hover,.site-nav a[aria-current=page]{color:var(--surface);text-decoration:none}
.site-nav-end{display:flex;align-items:center;gap:20px;flex:none}
.site-nav-players{color:var(--site-cyan);font-size:.9375rem;font-weight:600;white-space:nowrap}
.site-nav-players:hover,.site-nav-players[aria-current=page]{color:var(--surface);text-decoration:none}
.site-cta,.site-button{background:linear-gradient(90deg,var(--site-button-start),var(--site-button-end));background-origin:border-box;border:1.5px solid transparent;color:var(--surface);box-shadow:none;font-weight:700}
.site-cta{padding:11px 18px;border-radius:10px;font-size:.9375rem;gap:0;white-space:nowrap}
.site-cta:hover,.site-button:hover{background:linear-gradient(90deg,var(--site-button-start),var(--site-button-start));background-origin:border-box;color:var(--surface);text-decoration:none}
.site-header.is-site .languages{margin-left:0;background:var(--site-glass-strong)}
.site-header.is-site .languages a{color:var(--site-on-dark)}
.site-header.is-site .languages a[aria-current]{background:var(--surface);color:var(--ink)}
.site-header.is-site .menu-toggle{margin-left:auto;border-color:var(--site-glass-bold)}
.site-header.is-site .menu-bars,.site-header.is-site .menu-bars::before,.site-header.is-site .menu-bars::after{background:var(--surface)}
@media (max-width:1120px){
  .site-header.is-site .menu-toggle{display:block}
  .site-header.is-site .header-menu{display:none;position:absolute;top:100%;left:0;right:0;width:auto;flex-direction:column;align-items:stretch;gap:18px;padding:4px 24px 24px;background:var(--site-night);border-top:1px solid var(--site-rule);box-shadow:0 24px 40px var(--site-shadow-deep)}
  .site-header.is-site .header-menu.is-open{display:flex}
  .site-header.is-site .site-nav{flex-direction:column;align-items:stretch;gap:0;width:auto}
  .site-header.is-site .site-nav a{padding:13px 0;font-size:1.0625rem;border-bottom:1px solid var(--site-rule)}
  .site-header.is-site .site-nav-end{flex-direction:column;align-items:stretch;gap:14px}
  .site-header.is-site .site-nav-players,.site-header.is-site .site-nav-account{padding:4px 0;font-size:1.0625rem}
  .site-header.is-site .site-cta{justify-content:center;padding:14px 18px;font-size:1rem}
  .site-header.is-site .languages{align-self:flex-start}
}
/* Signed in, the header has one more link and folds below 1280px. */
@media (min-width:1121px) and (max-width:1280px){
  .site-header.is-site .has-account .menu-toggle{display:block}
  .site-header.is-site .has-account .header-menu{display:none;position:absolute;top:100%;left:0;right:0;width:auto;flex-direction:column;align-items:stretch;gap:18px;padding:4px 24px 24px;background:var(--site-night);border-top:1px solid var(--site-rule);box-shadow:0 24px 40px var(--site-shadow-deep)}
  .site-header.is-site .has-account .header-menu.is-open{display:flex}
  .site-header.is-site .has-account .site-nav{flex-direction:column;align-items:stretch;gap:0;width:auto}
  .site-header.is-site .has-account .site-nav a{padding:13px 0;font-size:1.0625rem;border-bottom:1px solid var(--site-rule)}
  .site-header.is-site .has-account .site-nav-end{flex-direction:column;align-items:stretch;gap:14px}
  .site-header.is-site .has-account .site-nav-players,.site-header.is-site .has-account .site-nav-account{padding:4px 0;font-size:1.0625rem}
  .site-header.is-site .has-account .site-cta{justify-content:center;padding:14px 18px;font-size:1rem}
  .site-header.is-site .has-account .languages{align-self:flex-start}
}
@media (max-width:600px){
  .site-nav-inner{padding:14px 20px}
  .site-brand{font-size:1.2rem;gap:10px}
  .site-brand img{width:40px;height:40px}
  .site-header.is-site .header-menu{padding:4px 20px 22px}
  .site-wrap{padding:0 20px}
}

/* The dark opening: the home's two doors and the player's page. */
.site-hero{position:relative;overflow:hidden;color:var(--surface);background:radial-gradient(1200px 600px at 75% 30%,var(--site-glow) 0%,var(--site-deep) 45%,var(--site-night) 100%)}
.has-site-hero .site-hero{padding-top:90px}
.site-hero-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:center;padding-top:40px;padding-bottom:90px}
.site-hero-grid.is-players{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.site-kicker{margin:0 0 16px;font-size:.8125rem;font-weight:800;letter-spacing:.19em;text-transform:uppercase;color:var(--site-button-start)}
.site-hero .site-kicker,.site-dark .site-kicker{color:var(--site-cyan)}
.site-hero h1{margin:0 0 30px;font-size:clamp(2.125rem,4.4vw,3.25rem);line-height:1.08;font-weight:900;letter-spacing:-.03em;color:var(--surface);text-wrap:balance}
.site-hero h1.is-large{margin-bottom:22px;font-size:clamp(2.375rem,5.4vw,4.25rem);line-height:1.04}
.site-hero h1.is-large .site-gradient-text{display:block}
.site-gradient-text{background:linear-gradient(90deg,var(--site-blue),var(--site-cyan));-webkit-background-clip:text;background-clip:text;color:transparent}
@media (forced-colors:active){.site-gradient-text{background:none;color:inherit}}
.site-doors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.site-door{display:flex;flex-direction:column;gap:12px;padding:20px;background:var(--site-glass);border:1px solid var(--site-glass-line);border-radius:18px}
.site-door p{margin:0;font-size:.9375rem;line-height:1.55;color:var(--site-on-dark)}
.site-door .site-door-title{display:flex;align-items:center;gap:10px;font-size:1.0625rem;font-weight:800;line-height:1.3;color:var(--surface)}
.site-door-title .site-icon{width:24px;height:24px;color:var(--site-cyan)}
.site-door .button{margin-top:auto;align-self:flex-start}
.site-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 18px;border-radius:11px;font-size:.9375rem;line-height:1.3;text-align:left}
.site-button .site-icon{width:18px;height:18px}
.site-button.is-ghost{background:var(--site-glass-faint);border-color:var(--site-glass-bold)}
.site-button.is-ghost:hover{background:var(--site-glass-strong)}
.site-button.is-large{gap:12px;padding:17px 24px;border-radius:12px;font-size:1.0625rem}
.site-button.is-large .site-icon{width:21px;height:21px}
.site-hero-art{display:block;min-width:0;margin-right:-40px}
.site-hero-art img{display:block;width:100%;height:auto}
.site-hero-lead{margin:0 0 34px;max-width:560px;font-size:clamp(1.0625rem,1.6vw,1.3125rem);line-height:1.5;color:var(--site-on-dark)}
.site-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:40px}
.site-hero-login{padding:12px 10px;color:var(--site-on-dark);font-size:1rem;font-weight:600}
.site-hero-login:hover{color:var(--surface)}
.site-perks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:26px}
.site-perks li{display:flex;align-items:center;gap:12px;font-size:.9375rem;line-height:1.35;color:var(--site-on-dark)}
.site-perks span{max-width:7.5em}
.site-perks .site-icon{width:34px;height:34px;stroke-width:1.5}
/* The players' opening photo bleeds to the right window edge and fades into the night on the other sides (the masks read only opacity). Its faded left edge reaches 32px into the text column, so the text sits above it and stays clickable. Each mask layer names its operator: Safari 15 and older drew no photo otherwise. */
.site-hero-grid.is-players .site-hero-text{position:relative;z-index:1}
.site-players-art{--site-bleed:max(24px,calc((100vw - var(--page-max)) / 2 + 24px));display:block;min-width:0;margin:-40px calc(-1 * var(--site-bleed)) -60px -72px}
.site-players-art img{display:block;width:100%;height:auto;max-height:760px;object-fit:cover;object-position:100% 45%;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,var(--site-night) 26%),linear-gradient(180deg,transparent 0,var(--site-night) 13%,var(--site-night) 87%,transparent 100%);-webkit-mask-composite:source-in,source-over;
  mask-image:linear-gradient(90deg,transparent 0,var(--site-night) 26%),linear-gradient(180deg,transparent 0,var(--site-night) 13%,var(--site-night) 87%,transparent 100%);mask-composite:intersect,add}
/* Two columns but a narrow text column: the icon goes above its words, so
   each perk keeps two lines instead of four. */
@media (min-width:961px) and (max-width:1180px){
  .site-perks{gap:18px}
  .site-perks li{flex-direction:column;align-items:flex-start;gap:8px}
}
@media (max-width:960px){
  .site-hero-grid,.site-hero-grid.is-players{grid-template-columns:minmax(0,1fr);gap:36px;padding-bottom:64px}
  .site-hero-art{max-width:640px;margin:0 auto}
  .site-players-art{--site-bleed:24px;margin:0 calc(-1 * var(--site-bleed))}
  .site-players-art img{max-height:none;-webkit-mask-image:linear-gradient(180deg,transparent 0,var(--site-night) 12%,var(--site-night) 88%,transparent 100%);-webkit-mask-composite:source-over;mask-image:linear-gradient(180deg,transparent 0,var(--site-night) 12%,var(--site-night) 88%,transparent 100%);mask-composite:add}
}
@media (max-width:600px){
  .has-site-hero .site-hero{padding-top:68px}
  .site-hero-grid{padding-top:24px}
  .site-doors{grid-template-columns:minmax(0,1fr)}
  .site-hero-actions{margin-bottom:32px}
  .site-hero-actions .site-button{flex:1 1 100%}
  .site-perks{grid-template-columns:minmax(0,1fr);gap:14px}
  .site-perks span{max-width:none}
  .site-perks .site-icon{width:28px;height:28px}
  .site-players-art{--site-bleed:20px}
}

/* The trust band under the opening. */
.site-trust{background:var(--site-night);border-top:1px solid var(--site-rule-soft)}
.site-trust-list{list-style:none;margin:0;padding:22px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;font-size:.9375rem;font-weight:600;color:var(--site-on-dark)}
.site-trust-list li{display:flex;align-items:center;gap:12px}
.site-trust-list .site-icon{width:22px;height:22px;color:var(--site-cyan)}
@media (max-width:860px){.site-trust-list{grid-template-columns:minmax(0,1fr);gap:12px}}

/* What the studio receives, and how it works, on the same light ground. */
.site-light{padding:110px 0;background:linear-gradient(180deg,var(--site-sky) 0%,var(--site-page) 60%)}
.site-deliver{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px;align-items:center;scroll-margin-top:24px}
.site-title-xl{margin:0 0 16px;font-size:clamp(2rem,3.6vw,2.75rem);line-height:1.08;font-weight:900;letter-spacing:-.028em;color:var(--ink);text-wrap:balance}
.site-lead{margin:0 0 22px;font-size:1.0625rem;line-height:1.6;color:var(--site-text)}
.site-deliver-art{display:block;min-width:0}
.site-deliver-art img{display:block;width:100%;height:auto}
.site-points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.site-points li{display:flex;gap:12px;font-size:1rem;line-height:1.5;color:var(--site-text)}
.site-points .site-icon{width:22px;height:22px;color:var(--site-blue)}
.site-points strong{font-weight:700;color:var(--ink)}
.site-points.is-roomy{gap:14px}
.site-points.is-roomy .site-icon{width:24px;height:24px}
.site-points.is-dark li{line-height:1.55;color:var(--site-on-dark)}
.site-points.is-dark .site-icon{width:24px;height:24px;color:var(--site-cyan)}
.site-how{margin-top:110px;scroll-margin-top:24px}
.site-title-xxl{margin:0 0 14px;font-size:clamp(2.25rem,5vw,3.5rem);line-height:1.05;font-weight:900;letter-spacing:-.032em;color:var(--ink)}
@media (max-width:960px){.site-deliver{grid-template-columns:minmax(0,1fr)}.site-deliver-art{max-width:640px}}
@media (max-width:600px){
  .site-light{padding:64px 0}
  .site-how{margin-top:72px}
}

/* Section titles of the site v2. */
:is(.site-players,.site-plain,.site-faq,.site-dark,.site-clients) h2{margin:0 0 14px;font-size:clamp(1.75rem,3.4vw,2.5rem);line-height:1.12;font-weight:800;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.site-dark h2{color:var(--surface)}
.site-clients{padding:96px 0}

/* Two columns side by side (the player's privacy), stacked on a narrow screen. */
.site-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
@media (max-width:960px){.site-split{grid-template-columns:minmax(0,1fr);gap:40px}}

/* The dark bands: the formats, the request, the player's privacy and the
   closing. */
.site-dark{padding:96px 0;color:var(--surface);background:radial-gradient(900px 500px at 20% 0%,var(--site-glow) 0%,var(--site-deep) 50%,var(--site-night) 100%)}
.site-dark .site-lead{margin:0 0 18px;font-size:1.125rem;line-height:1.65;color:var(--site-on-dark)}
.site-formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:28px}
.site-formats.is-single{grid-template-columns:minmax(0,1fr);max-width:720px}
.site-format{padding:28px;border-radius:20px;background:var(--site-glass);border:1px solid var(--site-glass-edge);color:var(--surface)}
.site-format.is-light{background:var(--surface);border:2px solid var(--site-blue);color:var(--ink)}
.site-format-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.site-format h3{margin:0;font-size:1.5rem;font-weight:800;line-height:1.2}
.site-available{flex:none;padding:5px 11px;border-radius:999px;font-size:.75rem;font-weight:800;white-space:nowrap;background:var(--site-ok-dark-bg);color:var(--site-ok-dark-ink)}
.site-format.is-light .site-available{background:var(--site-ok-bg);color:var(--accent-ink)}
.site-format dl{margin:0}
.site-format dl div{padding:12px 0;border-top:1px solid var(--site-rule)}
.site-format.is-light dl div{border-top-color:var(--site-line-soft)}
.site-format dt{font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--site-on-dark-muted)}
.site-format.is-light dt{color:var(--site-faint)}
.site-format dd{margin:4px 0 0;font-size:1rem;line-height:1.5}
.site-link{color:var(--site-cyan);font-size:1rem;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.site-link:hover{color:var(--surface)}
@media (max-width:860px){.site-formats{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  .site-dark,.site-players,.site-plain,.site-faq,.site-clients{padding:64px 0}
  .site-format{padding:22px 20px}
  .site-format-head{flex-wrap:wrap}
}

/* The questions. */
.site-faq{padding:96px 0;background:var(--surface)}
.site-faq.is-page{background:transparent}
.site-faq-grid{margin:24px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.site-faq-grid div{padding:20px 22px;background:var(--surface);border:1px solid var(--site-line);border-radius:16px}
.site-faq-grid dt{margin:0 0 8px;font-size:1.0625rem;font-weight:700;line-height:1.35;color:var(--ink)}
.site-faq-grid dd{margin:0;font-size:.9375rem;line-height:1.6;color:var(--site-text)}
@media (max-width:760px){.site-faq-grid{grid-template-columns:minmax(0,1fr)}}

/* The request, beside the indie program. */
.site-dark.site-request{background:radial-gradient(900px 500px at 80% 20%,var(--site-glow) 0%,var(--site-deep) 50%,var(--site-night) 100%);scroll-margin-top:0}
.site-request-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:22px;align-items:stretch}
.site-request-box{min-width:0;padding:36px;background:var(--site-glass-box);border:1px solid var(--site-rule);border-radius:24px}
.site-dark .site-request-box h2{margin:0 0 6px;font-size:clamp(1.625rem,2.8vw,2.125rem)}
.site-request-box h2{text-align:center}
.site-request-box .site-request-lead{margin:0 0 24px;font-size:1rem;color:var(--site-on-dark)}
.site-form.is-dark{max-width:960px;margin-inline:auto;padding:0;background:transparent;border:0;box-shadow:none;color-scheme:dark}
.site-form .site-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.site-form .site-form-row{margin-bottom:14px}
.site-form .site-form-row.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.site-form .site-form-row.is-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.site-form .field{margin:0;min-width:0}
.site-form .field input,.site-form .field select{min-width:0}
.site-form .site-form-grid + .field{margin-top:14px}
.site-form.is-dark .field label{margin-bottom:6px;font-size:.8125rem;font-weight:600;color:var(--site-on-dark)}
.site-form.is-dark .field input,.site-form.is-dark .field select,.site-form.is-dark .field textarea{padding:13px 14px;border:1px solid var(--site-glass-edge);border-radius:10px;background:var(--site-glass);color:var(--surface);font-size:.9375rem}
.site-form.is-dark .field input::placeholder,.site-form.is-dark .field textarea::placeholder{color:var(--site-placeholder);opacity:1}
.site-form.is-dark .field input:focus,.site-form.is-dark .field select:focus,.site-form.is-dark .field textarea:focus{border-color:var(--site-cyan);outline:2px solid var(--site-cyan-ring)}
.site-form.is-dark select option{color:var(--ink);background:var(--surface)}
.site-form .field input,.site-form .field select{min-height:48px}
.site-form .field input[type=date]{text-align:left}
.site-form .field input[type=date]::-webkit-date-and-time-value{text-align:left}
.site-form-actions{margin-top:18px}
.site-form-actions .site-submit{padding:16px 26px;border-radius:12px;font-size:1rem}
.site-form .site-form-note{margin:16px 0 0;font-size:.875rem;color:var(--muted)}
.site-form.is-dark .site-form-note{color:var(--site-on-dark-muted)}
.site-form.is-dark .site-form-note a{color:var(--site-cyan)}
.site-form .site-studio-audience{margin:0 0 16px;font-size:.875rem;color:var(--muted)}
.site-form .site-studio-audience a{font-weight:600;text-decoration:underline}
.site-form.is-dark .site-studio-audience:not(.is-warn){color:var(--site-on-dark-muted)}
.site-form.is-dark .site-studio-audience:not(.is-warn) a{color:var(--site-cyan)}
.site-form .site-studio-audience.is-warn{border-color:var(--warn-border);background:var(--warn-bg);color:var(--papel-admin-ink);font-weight:600}
.site-form .site-studio-audience.is-warn a{color:inherit}
/* The minimum of "O que você quer descobrir", stated under the field. */
.site-form .site-form-hint{margin:6px 0 0;font-size:.8125rem;color:var(--muted)}
.site-form.is-dark .site-form-hint{color:var(--site-on-dark-muted)}
@media(max-width:760px){.site-form .site-form-row.is-two,.site-form .site-form-row.is-three,.site-form .site-form-row.is-four{grid-template-columns:minmax(0,1fr)}}
.site-indie{display:flex;flex-direction:column;gap:14px;padding:32px;background:var(--surface);border-radius:24px;color:var(--ink)}
.site-dark .site-indie .site-kicker{margin:0;color:var(--site-button-start)}
.site-indie h3{margin:0;font-size:clamp(1.375rem,2.2vw,1.6875rem);line-height:1.2;font-weight:800}
.site-indie p{margin:0;font-size:1rem;line-height:1.6;color:var(--site-text)}
.site-indie .site-indie-button{margin-top:auto;align-self:flex-start;gap:10px;padding:14px 22px;border-radius:12px;border:1.5px solid var(--site-button-line);box-shadow:0 2px 0 var(--site-button-line);background:var(--surface);color:var(--ink);font-size:1rem;font-weight:700;text-align:left}
.site-indie .site-indie-button:hover{border-color:var(--ink);background:var(--surface)}
.site-indie-button .site-icon{width:18px;height:18px}
@media (max-width:1200px){.site-request-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  .site-request-box{padding:24px 18px}
  .site-form .site-form-grid{grid-template-columns:minmax(0,1fr)}
  .site-form-actions .site-submit{width:100%}
  .site-indie{padding:24px 20px}
}

/* KP-140 front A start */
/* KP-140. The studios' home and the players' page. */
/* "Como funciona": the big centred title and four steps, each an icon in a
   gradient circle with two or three words under it, joined by arrows. The
   arrow sits in the gap after its step; at 760px and below the steps stack
   and the arrows point down. The label breaks inside a word only as a last
   resort, which the stacking keeps from happening. */
.site-how-title{margin:0 0 44px;text-align:center}
.site-how-steps{list-style:none;margin:0 auto;padding:0;max-width:1000px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.site-how-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;min-width:0;text-align:center}
.site-how-circle{display:flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;background:linear-gradient(135deg,var(--site-blue),var(--site-cyan));color:var(--surface);box-shadow:0 12px 28px var(--site-blue-glow)}
.site-how-circle .site-icon{width:38px;height:38px}
.site-how-label{font-size:clamp(1.0625rem,1.8vw,1.25rem);line-height:1.3;font-weight:800;color:var(--ink);overflow-wrap:anywhere;text-wrap:balance}
.site-how-arrow{position:absolute;top:42px;left:calc(100% + 14px);display:flex;transform:translate(-50%,-50%);color:var(--site-blue);opacity:.6}
.site-how-arrow .site-icon{width:28px;height:28px;stroke-width:2}
@media (max-width:760px){
  /* The steps stack, with the arrows pointing
     down: four columns of a quarter of this width or less would break the
     longest label in the middle of a word ("Seleccionamos" at 605px). */
  .site-how-title{margin-bottom:28px}
  .site-how-steps{grid-template-columns:minmax(0,1fr);gap:10px}
  .site-how-step{gap:10px}
  .site-how-arrow{position:static;transform:rotate(90deg)}
  .site-how-arrow .site-icon{width:24px;height:24px}
}
@media (max-width:600px){
  /* The phone: the doors' buttons span the card, the
     "PLAYTEST" line under the name leaves the header (screen readers still
     read it), the steps' circles get smaller, each perk of the players'
     opening runs on one line, and the invitation sits under the phone. */
  .site-door .button{align-self:stretch}
  .site-header.is-site .site-brand small{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .site-how-circle{width:68px;height:68px}
  .site-how-circle .site-icon{width:32px;height:32px}
  .site-perks-break{display:none}
}
/* KP-140 front A end */

/* The player's page: the steps, what you need, the privacy and the closing. */
.site-plain{padding:96px 0}
.site-plain.is-white{background:var(--surface)}
.site-tiles{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.site-tile{padding:24px;background:var(--surface);border:1px solid var(--site-line);border-radius:18px;box-shadow:0 6px 18px var(--site-shadow-soft)}
.site-tile-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.site-tile-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--site-tile)}
.site-tile-icon .site-icon{width:26px;height:26px;color:var(--site-blue)}
.site-tile-number{font-size:.8125rem;font-weight:800;color:var(--site-text);font-variant-numeric:tabular-nums}
.site-tile h3{margin:0 0 8px;font-size:1.1875rem;font-weight:800;line-height:1.3;color:var(--ink)}
.site-tile p{margin:0;font-size:.9375rem;line-height:1.6;color:var(--site-text)}
@media (max-width:1080px){.site-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.site-tiles{grid-template-columns:minmax(0,1fr);gap:14px}}
.site-privacy .site-split{gap:40px}
.site-privacy-link{display:inline-block;margin-top:20px}
.site-dark.site-closing{padding:90px 0;text-align:center}
.site-dark.site-closing h2{margin:0 0 14px;font-size:clamp(2rem,4vw,2.75rem);font-weight:900;letter-spacing:-.025em}
.site-dark.site-closing .site-lead{margin:0 auto 30px;max-width:46ch}
.site-closing .site-closing-note{margin:22px 0 0;font-size:.875rem;color:var(--site-on-dark-muted)}
.site-closing-note a{color:var(--site-cyan)}

/* The footer, dark like the header. */
.site-footer.is-site{display:block;max-width:none;margin:0;padding:0;border-top:1px solid var(--site-rule-soft);background:var(--site-night)}
.site-footer-inner{max-width:var(--page-max);margin:0 auto;padding:28px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;font-size:.875rem;color:var(--site-on-dark-muted)}
.site-footer.is-site .site-footer-line{margin:0;font-size:.875rem;color:var(--site-on-dark-muted)}
.site-footer-line strong{color:var(--surface)}
.site-footer.is-site nav{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin:0;font-size:.875rem}
.site-footer.is-site nav a,.site-footer.is-site .footer-button{color:var(--site-on-dark-muted);font-size:.875rem}
.site-footer.is-site nav a:hover,.site-footer.is-site .footer-button:hover{color:var(--surface)}
@media (max-width:600px){.site-footer-inner{padding:24px 20px;flex-direction:column;align-items:flex-start}}

/* KP-140 front C start */
/* KP-140. The text page (siteTextPage()): the dark top runs under the header, then the index, sticky beside the white card on wide screens and above it on phones. */
/* The reference's own measures: a narrower column than the header's, the
   card's darker text and the blue of the part being read. */
.site-doc-top,.site-doc{--site-doc-max:1100px;--site-doc-ink:#2A3B4F;--site-doc-current:#0E5FB8}
.site-doc-top .site-wrap,.site-doc .site-wrap{max-width:var(--site-doc-max)}
.site-doc-top{padding:120px 0 60px;color:var(--surface);background:radial-gradient(1100px 400px at 75% 20%,var(--site-glow) 0%,var(--site-deep) 45%,var(--site-night) 100%)}
.site-doc-top .site-kicker{margin-bottom:12px;color:var(--site-cyan)}
.site-doc-top h1{margin:0;font-size:clamp(2.125rem,4.2vw,2.875rem);line-height:1.1;font-weight:900;letter-spacing:-.025em;color:var(--surface);text-wrap:balance}
.site-doc{padding:70px 0 96px}
.site-doc-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.site-doc-grid.is-single{grid-template-columns:minmax(0,800px)}
.site-doc-index{position:sticky;top:20px;padding:12px;background:var(--surface);border:1px solid var(--site-line);border-radius:16px}
.site-doc-index-title{margin:6px 12px 10px;font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--site-text)}
.site-doc-index ol{list-style:none;margin:0;padding:0}
.site-doc-index a{display:block;padding:8px 12px;border-radius:8px;font-size:.875rem;line-height:1.4;color:var(--site-text)}
.site-doc-index a:hover{background:var(--site-line-soft);color:var(--ink);text-decoration:none}
.site-doc-index a[aria-current]{background:var(--site-tile);color:var(--site-doc-current)}
.site-doc-card{min-width:0;max-width:800px;padding:40px 44px;background:var(--surface);border:1px solid var(--site-line);border-radius:20px;font-size:1.0625rem;line-height:1.75;color:var(--site-doc-ink);overflow-wrap:break-word}
.site-doc-card p{margin:0 0 16px}
.site-doc-card h2{margin:0 0 12px;font-size:1.625rem;line-height:1.25;font-weight:800;letter-spacing:-.015em;color:var(--ink)}
.site-doc-card section{margin-top:36px;scroll-margin-top:24px}
.site-doc-card section>p:last-of-type,.site-doc-intro>p:last-child,.site-doc-end>p:last-child,.site-doc-card>p:last-child{margin-bottom:0}
.site-doc-card .site-doc-version{margin:0 0 24px;font-size:.875rem;line-height:1.5;color:var(--muted)}
.site-doc-card section .button{margin-top:8px}
.site-doc-end{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-top:40px;padding-top:28px;border-top:1px solid var(--site-line)}
.site-doc-end p{margin:0}
.site-doc-card .button.secondary{border-color:var(--site-button-line);color:var(--ink)}
.site-doc-card .button.secondary:hover{border-color:var(--site-blue);background:var(--site-tile)}
.site-doc-card .button{max-width:100%;overflow-wrap:anywhere}
.site-faq-question{border-top:1px solid var(--site-line)}
.site-faq-question:last-of-type{border-bottom:1px solid var(--site-line)}
.site-faq-question summary{padding:12px 0;color:var(--ink);cursor:pointer;font-weight:700}
.site-faq-question summary:focus-visible{outline:2px solid var(--site-blue);outline-offset:3px}
.site-faq-question .site-faq-sources{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--muted);font-size:.875rem}
/* A placeholder page, in the test version only, still pushes the footer down. */
.site-doc:has(.is-single){min-height:50vh}
/* The footer marks the page on screen; its link to the terms, only in the
   test version, sits on the night like any other link of the footer. */
.site-footer.is-site nav a[aria-current]{color:var(--surface)}
.site-footer.is-site nav .site-pending{display:inline-flex;align-items:center}
@media (max-width:900px){
  .site-doc-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .site-doc-index{position:static}
  .site-doc-card{max-width:none}
}
@media (max-width:600px){
  .site-doc-top{padding:96px 0 40px}
  .site-doc{padding:28px 0 64px}
  .site-doc-card{padding:28px 20px;border-radius:16px;font-size:1rem;line-height:1.7}
  .site-doc-card h2{font-size:1.375rem}
  .site-doc-card section{margin-top:30px}
}
/* KP-140 front C end */

/* KP-140. Copy still to be confirmed: a dashed amber outline and an "A confirmar" badge. Only sitePending() draws it, and it sends nothing when the switch is off, so production never gets this markup. */
.site-pending{outline:2px dashed var(--site-pending);outline-offset:4px;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.site-pending-badge{display:inline-block;margin:0 8px 4px 0;padding:1px 8px;border-radius:999px;background:var(--site-pending);color:var(--site-night);font-size:.6875rem;font-weight:700;letter-spacing:.02em;line-height:1.6;vertical-align:middle;white-space:nowrap}
span.site-pending>.site-pending-badge{margin:0 4px 0 4px}

/* KP-177: reviewed content languages and source-clock transcript. */
.studio-language-player{padding:16px}.studio-language-player label{display:block;margin:12px 0;font-weight:600}
.studio-language-player select,.studio-language-player input{display:block;width:100%;max-width:100%;margin-top:6px}
.studio-language-player audio{display:none}.studio-transcript{max-height:420px;overflow:auto;margin:12px 0;padding-left:24px}
.studio-player-menu [data-player-components]{margin:12px 0;padding:12px;background:var(--navy-support);border-radius:8px}.studio-player-menu [data-player-components] label{display:block;margin:8px 0;font-weight:600}.studio-player-menu [data-player-components] input{display:block;width:100%;margin-top:6px;accent-color:var(--player-accent)}.studio-player-menu [data-player-components] p{font-size:.875rem;font-weight:400;margin:8px 0 0}
.studio-transcript li{padding:10px 8px;border-radius:6px;line-height:1.5;overflow-wrap:anywhere}
.studio-transcript li[data-active]{font-weight:700;text-decoration:underline dotted;box-shadow:inset 3px 0 0 var(--accent)}
.studio-transcript button,.studio-moment-at button{cursor:pointer;border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;font:inherit;font-weight:600}
.language-revision{padding:14px 0;border-bottom:1px solid var(--border-strong)}.language-revision summary{cursor:pointer;overflow-wrap:anywhere}
.language-revision pre,.language-text-editor textarea{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.language-text-editor{margin:20px 0}
#language-board th[scope=row]{background:var(--surface);color:var(--ink);font-size:inherit;border-top:1px solid var(--border);white-space:normal;vertical-align:top}
#language-board th small{display:block;color:var(--muted);margin-top:3px}
#language-board .badge{white-space:normal}
#language-board .language-ready{background:var(--ok-bg);color:var(--ok-ink)}
.language-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px}
.language-actions button:disabled{cursor:default}
#language-result{margin:12px 0 0;color:var(--danger-ink)}
#language-result:empty{margin:0}
#language-advanced>summary{cursor:pointer;font-weight:600}
.language-advanced-section{margin-top:24px;border-top:1px solid var(--border);padding-top:24px}
#language-advanced pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
#language-review-summary{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:640px){#language-board th,#language-board td{padding:10px}#language-board .button{padding:6px 10px}}

/* KP-179: one local control bar for the selected audio source. */
.studio-player-shell{--player-thumb-size:14px;position:relative;background:var(--screen-frame);isolation:isolate}
.studio-player-shell.is-enhanced{--player-height:min(560px,70vh);height:var(--player-height)}
.studio-player-shell.is-enhanced .studio-video-stage{height:100%}
.studio-player-toolbar{position:absolute;z-index:2;inset:auto 0 0;padding:18px 8px 8px;background:linear-gradient(transparent,var(--dark) 25%);color:var(--surface);font-size:.8rem;line-height:1.4;transition:opacity .16s}
.studio-player-toolbar[hidden],.studio-player-toolbar [hidden]{display:none!important}
.studio-player-toolbar button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:36px;padding:6px;border:0;border-radius:50%;background:transparent;color:var(--surface);font:inherit;line-height:1.2;flex-shrink:0}
.studio-player-toolbar svg{display:block;width:24px;height:24px;flex-shrink:0}
.studio-player-toolbar button:hover{background:var(--navy-support)}
.studio-player-toolbar button:focus{outline:none}
.studio-player-shell[data-player-keyboard-focus=true] .studio-player-toolbar button:focus-visible,.studio-player-toolbar input:focus-visible{outline:2px solid var(--player-accent);outline-offset:2px}
.studio-player-toolbar input[type=range]{--player-fill:0%;appearance:none;-webkit-appearance:none;color-scheme:dark;background:transparent;color:var(--muted);border:0;padding:0}
.studio-player-toolbar input[type=range]::-webkit-slider-runnable-track{height:4px;border:0;border-radius:2px;background:linear-gradient(to right,var(--player-accent) 0%,var(--player-accent) var(--player-fill,0%),var(--muted) var(--player-fill,0%),var(--muted) 100%)}
.studio-player-toolbar input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:var(--player-thumb-size);height:var(--player-thumb-size);margin-top:calc((4px - var(--player-thumb-size))/2);border:0;border-radius:50%;background:var(--player-accent)}
.studio-player-toolbar input[type=range]::-moz-range-track{height:4px;border:0;border-radius:2px;background:var(--muted)}
.studio-player-toolbar input[type=range]::-moz-range-progress{height:4px;border:0;border-radius:2px;background:var(--player-accent)}
.studio-player-toolbar input[type=range]::-moz-range-thumb{width:var(--player-thumb-size);height:var(--player-thumb-size);border:0;border-radius:50%;background:var(--player-accent)}
.studio-player-toolbar [data-player-cc][aria-pressed=true]::after{content:'';position:absolute;bottom:1px;left:9px;right:9px;height:3px;border-radius:3px;background:var(--player-accent)}
.studio-player-toolbar [data-player-settings][aria-expanded=true]{background:var(--navy-support)}
.studio-player-toolbar [data-input-toggle]{padding-inline:9px;border-radius:8px}
.studio-player-toolbar [data-input-toggle][aria-pressed=true]{background:var(--navy-support);box-shadow:inset 0 -2px var(--player-accent)}
.studio-player-shell:fullscreen [data-input-toggle]{display:none}
.studio-input-track{padding:12px 16px;border-bottom:1px solid var(--border);background:var(--surface);font-size:.875rem;overflow-wrap:anywhere}
.studio-input-track p{margin:0}
.studio-input-track [data-input-incomplete]{margin:.5em 0;color:var(--muted)}
.studio-input-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0 0 8px}
.studio-input-values dt{font-weight:600}
.studio-input-values dd{margin:0;font-variant-numeric:tabular-nums}
.studio-input-axes{display:flex;flex-wrap:wrap;gap:2px 12px}
.studio-input-axes b{font-weight:500}
.studio-input-values [data-input-clicks]{max-height:4.5em;overflow:auto}
.studio-input-values .is-flashing{color:var(--ink);background:var(--chip-bg)}
.studio-input-density{--input-position:0%;position:relative;display:grid;grid-template-columns:repeat(48,minmax(0,1fr));align-items:end;gap:1px;height:14px;overflow:hidden;border-bottom:1px solid var(--muted);margin-bottom:8px}
.studio-input-density span{background:var(--muted)}
.studio-input-density::after{content:'';position:absolute;inset-block:0;left:clamp(0px,var(--input-position,0%),calc(100% - 2px));width:2px;background:var(--ink)}
@media(max-width:520px){.studio-input-values{grid-template-columns:minmax(0,1fr)}}
.studio-player-toolbar button:disabled{opacity:.55;cursor:default}
.studio-player-seek{display:block;margin:0 0 4px}.studio-player-seek input{display:block;width:100%;margin:0;height:20px;accent-color:var(--player-accent)}
.studio-player-row{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap}
.studio-player-playback,.studio-player-tools,.studio-player-sound{display:flex;align-items:center;gap:4px;min-width:0}
.studio-player-playback{flex:1 1 auto}.studio-player-tools{flex:0 0 auto;justify-content:flex-end}
.studio-player-volume{display:block;width:64px;min-width:0;margin:0}.studio-player-volume input{display:block;width:100%;height:28px;margin:0;accent-color:var(--player-accent)}
.studio-player-clock{font-size:.72rem;font-variant-numeric:tabular-nums;white-space:nowrap;margin-inline:4px 0}
.studio-player-tooltip{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);padding:6px 9px;border:1px solid var(--navy-support);border-radius:6px;background:var(--dark);color:var(--surface);font-size:.72rem;font-weight:500;white-space:nowrap;visibility:hidden;opacity:0;pointer-events:none;z-index:4}
.studio-player-toolbar button[data-player-tooltip-active]>.studio-player-tooltip{visibility:visible;opacity:1}
.studio-player-playback>button>.studio-player-tooltip{left:0;transform:none}.studio-player-tools>button:last-child>.studio-player-tooltip{left:auto;right:0;transform:none}
.studio-player-tooltip kbd{font:inherit;padding:1px 3px;border:1px solid var(--navy-support);border-radius:3px;margin-left:5px}
.studio-player-toolbar [data-player-settings][aria-expanded=true]>.studio-player-tooltip{visibility:hidden}
.studio-player-settings{position:absolute;z-index:3;bottom:calc(100% + 6px);right:8px;width:min(360px,calc(100% - 16px));max-height:min(360px,calc(var(--player-height) - 96px));overflow:auto;padding:6px;border:1px solid var(--navy-support);border-radius:12px;background:var(--dark);color:var(--surface);box-shadow:0 8px 24px var(--card-lift)}
.studio-player-settings .studio-player-setting{display:grid;grid-template-columns:20px max-content minmax(0,1fr) 14px;align-items:center;gap:10px;width:100%;padding:12px 8px;border-radius:6px;text-align:left;font-size:.8rem}
.studio-player-setting svg{width:20px;height:20px}.studio-player-setting svg:last-child{width:14px;height:14px}.studio-player-setting-value{min-width:0;text-align:right;color:var(--on-dark);font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-player-menu{position:static;max-height:none;padding:0}
.studio-player-settings .studio-player-settings-back{position:sticky;top:-6px;z-index:1;justify-content:flex-start;gap:8px;width:100%;padding:12px 8px;margin-bottom:4px;border-radius:0;border-bottom:1px solid var(--navy-support);background:var(--dark);font-size:.8rem;text-align:left}
.studio-player-menu .studio-player-choice{display:block;position:relative;width:100%;text-align:left;padding:10px 12px 10px 30px;border-radius:6px;white-space:normal;overflow-wrap:anywhere;font-weight:400}
.studio-player-choice[aria-checked=true]{background:var(--navy-support)}.studio-player-choice[aria-checked=true]::before{content:'✓';position:absolute;left:9px;color:var(--player-accent)}
.studio-player-menu p{font-size:.75rem;color:var(--on-dark);margin:10px 8px;overflow-wrap:anywhere}
.studio-player-messages{position:absolute;bottom:calc(100% + 5px);left:8px;right:8px;pointer-events:none}
.studio-player-messages p{font-size:.78rem;margin:4px 0;padding:8px;border-radius:5px;background:var(--dark);color:var(--surface)}.studio-player-messages p:empty{display:none}
.studio-player-shell:fullscreen{--player-height:100vh;--player-height:100dvh;width:100%;height:100%;max-height:100dvh;background:var(--screen-frame)}
.studio-player-shell:fullscreen .studio-video-stage{height:100%;width:100%}
@media(max-width:520px){.studio-player-shell.is-enhanced{--player-height:min(520px,65vh)}.studio-player-shell:fullscreen{--player-height:100dvh}.studio-player-toolbar button{min-width:32px;min-height:32px;padding:5px}.studio-player-toolbar svg{width:22px;height:22px}.studio-player-tools{flex:1 1 100%;justify-content:flex-start;gap:2px}.studio-player-tools>button:first-child>.studio-player-tooltip{left:0;transform:none}.studio-player-volume{width:40px}.studio-player-clock{font-size:.625rem;margin-left:0}.studio-player-settings .studio-player-setting{gap:7px}.studio-player-setting svg{width:20px;height:20px}}

:root .studio-player-shell{/* KP-180. The accent, scoped to this player. */--player-accent:#FF0033}
.studio-chip,.studio-moment-at,.studio-moment-at button,.studio-transcript button{font-weight:400;letter-spacing:normal}
.studio-body h3{font-weight:600;letter-spacing:normal}
.studio-player-shell.controls-hidden .studio-player-toolbar{opacity:0;pointer-events:none}
.studio-report.is-theater .studio-report-inner{max-width:none;padding-inline:0}
.studio-report.is-theater .studio-player-grid{grid-template-columns:minmax(0,1fr)}
.studio-report.is-theater .studio-player-grid>.studio-col>.studio-card:not(.is-flush){margin-inline:var(--report-gutter,16px)}
.studio-report.is-theater .studio-card.is-flush{border-inline:0;border-radius:0}
.studio-report.is-theater .studio-player-shell.is-enhanced{--player-height:82vh;--player-height:82dvh;height:var(--player-height);max-height:100vh;max-height:100dvh}
.studio-report.is-theater .studio-video-stage{height:100%}
.studio-report.is-theater .studio-player-shell.is-enhanced:fullscreen{--player-height:100dvh;height:100dvh}
.studio-report.is-theater .studio-player-shell:fullscreen .studio-video-stage{height:100%}
@media(prefers-reduced-motion:reduce){.studio-player-toolbar{transition:none}}

/* KP-183/184. One source-bound session panel and optional timeline previews. */
[data-report-document]{--report-gutter:clamp(12px,1.2vw,18px)}
[data-report-document] .studio-topband{padding-inline:0}
[data-report-document] .studio-topband-inner,[data-report-document] .studio-report-inner{max-width:var(--page-max);padding-inline:var(--report-gutter)}
[data-report-document] .studio-tabs{padding-inline:max(var(--report-gutter),calc((100% - var(--page-max))/2 + var(--report-gutter)))}
[data-report-document] .studio-footer{padding-inline:var(--report-gutter)}
.studio-player-grid{grid-template-areas:"media panel" "about panel"}
.studio-player-grid>.studio-col{display:contents}
.studio-player-grid>.studio-col>.studio-card.is-flush{grid-area:media}
.studio-player-grid [aria-labelledby=studio-about]{grid-area:about}
.studio-language-player{padding:0}.studio-language-player noscript p{margin:12px 16px}
.studio-language-player [hidden],.studio-session-panel [hidden],.studio-player-loading[hidden],.studio-timeline-preview[hidden],.studio-timeline-images video[hidden],.studio-timeline-image[hidden],.studio-timeline-image figcaption[hidden],.studio-timeline-caption[hidden],.studio-timeline-pending[hidden]{display:none!important}
.studio-session-panel{grid-area:panel;display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;overflow:hidden}
.studio-session-panel[data-enhanced=true]{height:min(560px,70vh)}
.studio-session-tabs{display:flex;gap:6px;padding:10px 12px;border-bottom:1px solid var(--border)}
.studio-session-tabs a{padding:5px 12px;border-radius:6px;color:var(--ink);background:var(--bg-soft);font-size:.8rem;font-weight:600;text-decoration:none}
.studio-session-tabs a[aria-selected=true]{color:var(--surface);background:var(--navy-support)}
.studio-session-tabs a:focus-visible{outline:2px solid var(--navy-support);outline-offset:2px}
.studio-session-panel [data-session-page]{min-height:0;max-height:480px;overflow:auto}
.studio-session-panel[data-enhanced=true] [data-session-page]{flex:1;max-height:none}
.studio-session-panel [data-transcript-state]{height:100%;min-height:0;display:flex;flex-direction:column}
.studio-transcript-search{display:block;margin:0;padding:8px 12px}
.studio-transcript-search input{width:100%;height:32px;padding:5px 9px;border:1px solid var(--border);border-radius:6px;background:var(--bg-soft);color:var(--ink);font:inherit;font-size:.8rem}
.studio-session-panel .studio-transcript{flex:1;min-height:0;max-height:none;list-style:none;padding:0 8px;margin:0;overflow:auto}
.studio-session-panel .studio-transcript li{display:grid;grid-template-columns:16px max-content minmax(0,1fr);gap:6px;margin:3px 0;padding:8px 6px;font-size:.8rem;line-height:1.5;background:var(--item-bg,var(--bg-soft))}
.studio-session-panel .is-positive{--item-bg:var(--mark-positive-bg);--item-ink:var(--mark-positive-ink)}
.studio-session-panel .is-friction{--item-bg:var(--mark-friction-bg);--item-ink:var(--mark-friction-ink)}
.studio-session-panel .is-negative{--item-bg:var(--mark-negative-soft);--item-ink:var(--mark-negative)}
.studio-session-panel .is-neutral,.studio-session-panel .is-reaction{--item-bg:var(--bg-soft);--item-ink:var(--muted)}
.studio-evidence-symbol{display:inline-flex;width:16px;height:18px;align-items:center;justify-content:center;color:var(--item-ink,var(--muted));font-weight:600}
.studio-transcript button{height:fit-content;color:var(--navy-support);font-size:.75rem;border:0}
.studio-transcript-choice{display:flex;gap:6px;flex-wrap:wrap;padding:0 12px 8px}
.studio-transcript-choice button{padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--bg-soft);color:var(--ink);font:inherit;font-size:.78rem;cursor:pointer}
.studio-transcript-choice button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.studio-transcript-copy{display:grid;gap:10px;min-width:0}.studio-transcript-copy [data-transcript-variant]{display:block;font-size:.85em;color:var(--muted)}
.studio-transcript li[data-active] button{font-weight:700}
.transcript-resume{align-self:flex-start;flex:0 0 auto;margin:6px 12px}
.studio-transcript-choice select{max-width:100%;font:inherit}
.studio-transcript-origin{flex:0 0 auto;margin:0;padding:8px 12px;color:var(--muted);font-size:.72rem;border-top:1px solid var(--border)}
.studio-session-panel .studio-moments{padding:8px 12px}
.studio-session-panel .studio-moment{margin-bottom:6px;padding:9px 8px;gap:6px;grid-template-columns:16px max-content max-content minmax(0,1fr);align-items:start;border:0;border-radius:6px;background:var(--item-bg)}
.studio-session-panel .studio-moment h3{font-size:.8rem;line-height:1.5;margin:0}
.studio-session-panel .studio-moment-at{font-size:.75rem;padding:3px 0;background:var(--surface)}
.studio-session-panel .studio-moment-at button{border:0;text-decoration:none}
.studio-session-panel .studio-moment-at,.studio-session-panel .studio-moment-at button,.studio-session-panel .studio-transcript button{white-space:nowrap;min-width:max-content;overflow-wrap:normal;word-break:normal;flex-shrink:0}
.studio-moment-footer{grid-column:2/-1;display:flex;flex-wrap:wrap;align-items:end;gap:6px;font-size:.7rem;min-width:0}
.studio-moment-footer .is-category{margin-left:auto;align-self:end}
.studio-session-panel .studio-pill{font-size:.65rem}
.studio-session-panel [data-active]{box-shadow:inset 3px 0 var(--navy-support);outline:1px solid var(--border-strong)}
.studio-panel-empty{padding:14px 12px;font-size:.85rem;color:var(--muted)}
.studio-player-seek{position:relative}
.studio-player-seek::before,.studio-player-buffered,.studio-player-chapter-markers{position:absolute;left:calc(var(--player-thumb-size)/2);right:calc(var(--player-thumb-size)/2);top:50%;height:4px;transform:translateY(-50%);pointer-events:none;border-radius:2px}
.studio-player-seek::before{content:'';background:var(--navy-support)}
.studio-player-buffered{overflow:hidden}.studio-player-buffered span{position:absolute;top:0;bottom:0;background:var(--muted)}
.studio-player-chapter-markers{z-index:2}
.studio-player-chapter-markers>.studio-timeline-segment{position:absolute;top:0;bottom:0;background:var(--navy-support);clip-path:inset(0 1px);overflow:hidden;border-radius:2px}
.studio-timeline-reaction{position:absolute;top:50%;width:8px;height:8px;transform:translate(-50%,-50%);border:1px solid var(--navy-support);border-radius:50%;background:var(--surface)}
.studio-timeline-segment>span{position:absolute;top:0;bottom:0}
.studio-timeline-segment-buffer{background:var(--muted)}
.studio-timeline-segment-played{background:var(--player-accent)}
.studio-timeline-segment-hover{background:var(--surface);opacity:.3}
.studio-player-seek[data-chapter-segments=true]::before,.studio-player-seek[data-chapter-segments=true] .studio-player-buffered{visibility:hidden}
.studio-player-seek[data-chapter-segments=true] input::-webkit-slider-runnable-track{background:transparent}
.studio-player-seek[data-chapter-segments=true] input::-moz-range-progress{background:transparent}
.studio-player-seek input{position:relative;z-index:3}
.studio-player-seek input::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--player-accent) 0%,var(--player-accent) var(--player-fill,0%),transparent var(--player-fill,0%),transparent 100%);background-size:calc(100% - var(--player-thumb-size)) 100%;background-position:center;background-repeat:no-repeat}
.studio-player-seek input::-moz-range-track{background:transparent}
.studio-player-seek:hover::before,.studio-player-seek:focus-within::before,.studio-player-seek.is-dragging::before,.studio-player-seek:hover .studio-player-buffered,.studio-player-seek:focus-within .studio-player-buffered,.studio-player-seek.is-dragging .studio-player-buffered,.studio-player-seek:hover .studio-player-chapter-markers,.studio-player-seek:focus-within .studio-player-chapter-markers,.studio-player-seek.is-dragging .studio-player-chapter-markers{height:8px}
.studio-player-seek:hover input::-webkit-slider-runnable-track,.studio-player-seek:focus-within input::-webkit-slider-runnable-track,.studio-player-seek.is-dragging input::-webkit-slider-runnable-track{height:8px}
.studio-player-seek:hover input::-webkit-slider-thumb,.studio-player-seek:focus-within input::-webkit-slider-thumb,.studio-player-seek.is-dragging input::-webkit-slider-thumb{margin-top:calc((8px - var(--player-thumb-size))/2)}
.studio-player-seek:hover input::-moz-range-track,.studio-player-seek:focus-within input::-moz-range-track,.studio-player-seek.is-dragging input::-moz-range-track,.studio-player-seek:hover input::-moz-range-progress,.studio-player-seek:focus-within input::-moz-range-progress,.studio-player-seek.is-dragging input::-moz-range-progress{height:8px}
.studio-player-loading{position:absolute;inset:0;z-index:1;display:grid;place-content:center;pointer-events:none}
.studio-player-loading>span[aria-hidden]{width:36px;height:36px;border:3px solid var(--muted);border-top-color:var(--surface);border-radius:50%;animation:studio-player-loading .8s linear infinite}
@keyframes studio-player-loading{to{transform:rotate(360deg)}}
.studio-timeline-preview{position:absolute;bottom:calc(100% + 12px);transform:translateX(-50%);z-index:6;padding:8px;border:1px solid var(--border-strong);border-radius:8px;background:var(--dark);color:var(--surface);pointer-events:none;overflow:hidden}
.studio-timeline-hint{margin:0 0 6px;font-size:.65rem;text-align:center;line-height:1.4}
.studio-timeline-images{display:flex;gap:4px;min-height:90px;align-items:center;justify-content:center;background:var(--navy-support)}
.studio-timeline-image{margin:0;min-width:0;width:100%;text-align:center}
.studio-timeline-images video{display:block;width:100%;height:90px;object-fit:contain;pointer-events:none}
.studio-timeline-preview.is-expanded .studio-timeline-image{width:calc((100% - 8px)/3)}
.studio-timeline-image figcaption{font-size:11px;white-space:nowrap}
.studio-timeline-pending{margin:4px 0 0;font-size:12px}
.studio-timeline-caption{margin:6px 0 0;font-size:.72rem;line-height:1.4;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.studio-timeline-unavailable{margin:8px 0;font-size:.75rem;text-align:center}
[data-preview-state=unavailable] .studio-timeline-images{display:none}
.studio-report.is-theater .studio-player-grid{grid-template-areas:"media" "panel" "about"}
.studio-report.is-theater .studio-session-panel[data-enhanced=true]{height:min(480px,65vh)}
@media(max-width:900px){.studio-player-grid{grid-template-areas:"media" "panel" "about"}.studio-session-panel[data-enhanced=true]{height:min(480px,65vh)}}
@media(prefers-reduced-motion:reduce){.studio-player-loading>span[aria-hidden]{animation-duration:1.6s}}
/* KP-195. The session's transcript beside its video (step 1): the line being
   played is marked, a click on the minute takes the video there, and a line
   opens for correction in place. */
.report-transcript{margin:4px 0 18px;padding:16px 0 0;border-top:1px solid var(--border)}
.report-transcript-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.report-transcript-head .report-subtitle{margin:0}
.report-transcript-state{font-size:.78rem;font-weight:600;border-radius:999px;padding:4px 11px;border:1px solid var(--warn-border);background:var(--warn-bg);color:var(--warn-ink)}
.report-transcript-state.is-approved{border-color:var(--ok-border);background:var(--ok-bg);color:var(--ok-ink)}
.report-transcript-state.is-rejected{border-color:var(--bad-border);background:var(--bad-bg);color:var(--bad-ink)}
.report-transcript-meta{margin-bottom:12px}
.report-transcript-list{list-style:none;margin:0;padding:0;max-height:min(50vh,420px);overflow-y:auto;border:1px solid var(--border);border-radius:12px}
.report-transcript-line{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 12px;align-items:start;padding:9px 12px;border-top:1px solid var(--border)}
.report-transcript-line:first-child{border-top:0}
.report-transcript-body{min-width:0;overflow-wrap:anywhere}
.report-speaker-line{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.report-speaker-line small,[data-speaker-machine]{color:var(--muted)}
.report-speaker-editor{margin-block:4px 8px;min-width:0}
.report-speaker-editor summary{cursor:pointer}
.report-speaker-editor fieldset{display:grid;gap:8px;min-width:0;max-height:min(34vh,15rem);overflow:auto;margin:4px 0 0;padding:8px;border:1px solid var(--border);border-radius:8px}
.report-speaker-editor fieldset p{margin:0}
.report-speaker-editor [data-speaker-roles],.report-speaker-merge{display:flex;align-items:end;flex-wrap:wrap;gap:8px}
.report-speaker-editor label{display:grid;gap:3px;min-width:0}
.report-speaker-editor select{max-width:100%}
[data-transcript-caption]{white-space:pre-line}
.report-transcript-line.is-playing{font-weight:700;text-decoration:underline dotted;box-shadow:inset 3px 0 0 var(--accent)}
.report-transcript-time{font-variant-numeric:tabular-nums;font-size:.8rem;font-weight:600;color:var(--accent-ink);background:transparent;border:0;padding:2px 0;line-height:1.6}
.report-transcript-time:hover{text-decoration:underline}
.report-transcript-text{font-size:.92rem;line-height:1.55;cursor:pointer;overflow-wrap:anywhere}
.report-transcript-fix{font-size:.78rem;color:var(--muted);background:transparent;border:0;padding:2px 0;opacity:.75}
.report-transcript-fix:hover,.report-transcript-line:hover .report-transcript-fix,.report-transcript-fix:focus-visible{opacity:1;color:var(--ink);text-decoration:underline}
.report-transcript-editor{grid-column:2/-1;display:flex;flex-direction:column;gap:8px}
.report-transcript-editor textarea{width:100%;padding:9px 11px;border:1px solid var(--border-strong);border-radius:8px;font-size:.92rem;resize:vertical}
.report-transcript-editor textarea:focus{border-color:var(--brand);outline:2px solid var(--border-strong)}
.report-transcript-editor-actions{display:flex;gap:8px;flex-wrap:wrap}
.report-transcript-line.is-editing{background:var(--bg-soft)}
.report-transcript.is-readonly .report-transcript-fix{display:none}
@media(max-width:640px){.report-transcript-line{grid-template-columns:auto minmax(0,1fr)}.report-transcript-fix{grid-column:2;justify-self:start}.report-transcript-list{max-height:55vh}}
/* KP-195 (layout). The line being played, over the bottom of the video like a
   subtitle; above the native controls, never catching the mouse. */
.report-caption{position:absolute;left:50%;bottom:58px;transform:translateX(-50%);z-index:2;max-width:min(88%,720px);margin:0;padding:6px 12px;border-radius:8px;background:var(--dark);color:var(--surface);font-size:clamp(.85rem,1.6vw,1.02rem);line-height:1.45;text-align:center;pointer-events:none;opacity:.92}
.report-caption[hidden]{display:none}
.report-player-bar-links{display:inline-flex;align-items:center;gap:14px}
.report-caption-toggle{background:transparent;border:1px solid var(--on-dark);border-radius:999px;color:var(--surface);font-size:.78rem;font-weight:600;padding:2px 10px}
.report-caption-toggle[aria-pressed=false]{opacity:.7}
@media(max-width:640px){.report-caption{bottom:46px;font-size:.82rem;padding:4px 9px}}
/* KP-195 (layout B, "lado a lado"). With a transcript, the right column is
   "Transcrição | Anotações". The transcript is a card at the player's height
   beside it (set by public/report-transcript.js), following the video;
   "Anotar" on a line fills the annotation form with its minute and words. */
.report-transcript-head .report-transcript-approve{margin-left:auto}
.report-transcript-meta{font-size:.84rem}
.report-side-tabs{display:flex;gap:6px;padding:4px;background:var(--bg-soft);border:1px solid var(--border);border-radius:12px}
.report-side-tabs [role=tab]{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:600;font-size:.9rem}
.report-side-tabs [role=tab][aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px var(--card-lift)}
.report-side-count{font-size:.75rem;font-weight:600;color:var(--muted)}
.report-side-count:empty{display:none}
.report-side-pane[hidden]{display:none}
.report-side-pane{display:flex;flex-direction:column;gap:14px}
.report-side-pane.is-transcript{gap:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;min-height:0;overflow:hidden}
.report-side-pane.is-transcript .report-transcript{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin:0;padding:0;border-top:0}
.report-side-pane.is-transcript .report-transcript-meta{margin-bottom:8px}
.report-side-pane.is-transcript .report-transcript-list{flex:1 1 auto;min-height:0;max-height:none}
.report-side-pane.is-transcript .report-transcript-line{grid-template-columns:auto minmax(0,1fr) auto auto;gap:2px 8px;padding:8px 10px}
.report-side-pane.is-transcript .report-transcript-editor{grid-column:2/-1}
.report-transcript-note{font-size:.78rem;font-weight:600;color:var(--accent-ink);background:transparent;border:0;padding:2px 0}
.report-transcript-note:hover,.report-transcript-note:focus-visible{text-decoration:underline}
@media(hover:hover){.report-side-pane.is-transcript .report-transcript-line:not(:hover):not(:focus-within):not(.is-playing) :is(.report-transcript-note,.report-transcript-fix){visibility:hidden}}
.report-transcript.is-readonly .report-transcript-note{display:none}
@media(max-width:1100px){.report-side-pane.is-transcript .report-transcript-list{max-height:55vh}}
@media(max-width:640px){.report-side-pane.is-transcript .report-transcript-line{grid-template-columns:auto minmax(0,1fr)}.report-side-pane.is-transcript :is(.report-transcript-note,.report-transcript-fix){grid-column:2;justify-self:start}}
/* Layout B, tightened: the tab already says "Transcrição", so the card's own
   title is only for screen readers; state and approval share one line; the
   line's words get the full width and "Anotar"/"Corrigir" show on the line
   under the mouse, on the line being played, or always on a touch screen. */
.report-side-pane.is-transcript .report-transcript-head{flex-wrap:nowrap}
.report-side-pane.is-transcript .report-transcript-head .report-subtitle{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.report-side-pane.is-transcript .report-transcript-head .report-transcript-approve{padding:7px 12px}
.report-side-pane.is-transcript .report-transcript-meta{font-size:.78rem;line-height:1.45}
/* "Anotar" and "Corrigir" keep their own column on the right, so they never
   cover the words; while a line is being corrected they step aside for the
   editor and its own buttons. */
@media(hover:hover){
  .report-side-pane.is-transcript .report-transcript-line{grid-template-columns:auto minmax(0,1fr) auto auto}
  .report-side-pane.is-transcript .report-transcript-line:not(:hover):not(:focus-within) :is(.report-transcript-note,.report-transcript-fix){visibility:hidden}
}
.report-side-pane.is-transcript .report-transcript-line.is-editing :is(.report-transcript-note,.report-transcript-fix){display:none}
@media(hover:none){.report-side-pane.is-transcript .report-transcript-line{grid-template-columns:auto minmax(0,1fr) auto auto}}
@media(hover:none) and (max-width:640px){.report-side-pane.is-transcript .report-transcript-line{grid-template-columns:auto minmax(0,1fr)}}
/* KP-198. "Outros QAs da rodada": the principal QA is not offered again. */
.round-other-qas{border:0;padding:0;min-width:0}.round-other-qas legend{display:block;font-size:.88rem;font-weight:500;margin-bottom:8px;padding:0}.round-other-qas .choice[hidden]{display:none}

/* KP-230. A button marked hidden stays hidden: .button sets display, which won over the attribute ("Cancelar edição" showed before any edit). */
.button[hidden]{display:none}
/* KP-276. The gift card store and the NPS about Kakunyn on the test card. */
.reward-stores .choice{font-weight:600;padding:12px 16px}
.reward-change{margin:6px 0 4px}.reward-change summary{cursor:pointer;color:var(--brand);font-weight:500;font-size:.9rem}
.nps-form{margin:14px 0 4px;padding:20px}.nps-form h4{margin:0 0 8px}.nps-form legend{font-weight:500;font-size:.95rem;margin-bottom:10px}
.session-notes-form{margin:14px 0 4px;padding:20px}.session-notes-form h4{margin:0 0 8px}.session-notes-form select,.session-notes-form textarea{width:100%}
.report-player-comment{margin:8px 0;padding:8px 12px;border-left:3px solid currentColor;white-space:normal}
.nps-scale{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}
.nps-point{position:relative;display:block}.nps-point input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.nps-point span{display:block;text-align:center;border:1.5px solid var(--border);border-radius:8px;padding:9px 0;font-weight:600;font-size:.9rem;background:#FCFDFD}
.nps-point input:checked+span{background:var(--brand);border-color:var(--brand);color:#fff}
.nps-point input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px}
.nps-ends{display:flex;justify-content:space-between;font-size:.78rem;color:var(--muted);margin-top:6px}
@media (max-width:520px){.nps-point span{font-size:.75rem;padding:8px 0}}
.reward-survey{padding-inline:20px}
.reward-survey .nps-scale{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.reward-survey .nps-point span{display:grid;place-items:center;min-height:44px;padding:0;font-size:1rem}
.nps-total{font-size:1.9rem;letter-spacing:-.04em}.nps-notes{list-style:none;padding:0;margin:12px 0;display:grid;gap:10px}.nps-notes li{font-size:.9rem;line-height:1.5}
.reward-store-form{margin-top:4px}
/* KP-130. The App Link page: the code box shows only when the address has a #code. */

.player-conduct-reminder{margin:0 0 16px;font-size:1rem;font-weight:700}.player-conduct-reminder a{color:inherit;font-weight:inherit;text-decoration:underline}
.round-heading-id{font-size:.82rem;margin-top:4px}.round-heading-id code{font-size:.8rem;user-select:all;overflow-wrap:anywhere}
.admin-version{display:block;margin-top:12px;padding:0 14px;font-size:.75rem;color:var(--muted)}.role-body-admin .admin-version,.role-body-qa .admin-version{color:var(--papel-menu-ink)}
.analysis-transcript{margin:12px 0;border:1px solid var(--border);border-radius:8px;padding:12px}
.analysis-transcript summary{cursor:pointer;font-weight:600}
.analysis-transcript-list{list-style:none;margin:8px 0;padding:0;max-height:420px;overflow:auto;overscroll-behavior:contain}
.analysis-transcript-list li{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:12px;padding:10px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.analysis-transcript-list li[data-evidence]{border-left:3px solid var(--border-strong)}.analysis-transcript-list li[data-evidence]::before{content:'Evidência';grid-column:1/-1;font-size:.75rem;color:var(--muted)}
.analysis-transcript-list li[data-active]{font-weight:700;text-decoration:underline dotted;box-shadow:inset 3px 0 0 var(--accent)}
.analysis-transcript-list button{border:0;background:transparent;color:var(--navy-support);font:inherit;cursor:pointer}
.analysis-video{width:100%;max-height:320px;background:#000;border-radius:8px;margin:8px 0}.analysis-list{list-style:none;margin:0;padding:0}.analysis-candidate{border:1px solid var(--border);border-radius:12px;padding:14px 16px;margin:12px 0;background:var(--surface)}.analysis-candidate.is-accepted{border-color:var(--ok-border);background:var(--ok-bg)}.analysis-candidate.is-rejected{opacity:.75}.analysis-candidate.is-stale{border-color:var(--warn-border);background:var(--warn-bg)}.analysis-candidate-head{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.analysis-candidate-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}.analysis-evidence{width:100%;font-size:.85rem}.analysis-evidence td,.analysis-evidence th{padding:6px 8px;vertical-align:top}.analysis-edit{margin-top:10px}

/* Failure banner at the top of every admin screen. */

/* Help link of the player area (KP-107). */

/* The sidebar keeps its hierarchy at every width. */
.admin-sidebar{display:block}
.admin-sidebar ul{list-style:none;padding:0;margin:0}
.admin-sidebar .admin-nav-items{padding-left:12px}
.admin-sidebar ul[hidden]{display:none}
.admin-sidebar .admin-nav-group{margin:4px 0}
.admin-sidebar a,.admin-sidebar .admin-nav-toggle{display:flex;align-items:center;gap:8px;width:100%;min-width:0;margin:0;padding:9px 10px;border:0;border-radius:6px;font-size:.88rem;text-align:left;line-height:1.5;background:transparent;color:var(--muted)}
.admin-sidebar a:hover,.admin-sidebar .admin-nav-toggle:hover{background:var(--bg);text-decoration:none}
.admin-sidebar a>span:first-of-type,.admin-nav-toggle>span{flex:1;min-width:0;overflow-wrap:anywhere}
.admin-nav-icon{flex:none}
.admin-nav-toggle .admin-nav-icon:last-child{width:14px;height:14px;transition:transform .15s}
.admin-nav-toggle[aria-expanded=true] .admin-nav-icon:last-child{transform:rotate(90deg)}
.admin-sidebar .admin-version{display:block;margin:16px 10px 4px;color:var(--muted)}

.role-body-admin .admin-sidebar{background:var(--surface)}
.role-body-admin .admin-sidebar a{color:var(--muted)}
.role-body-admin .admin-sidebar a.active{background:var(--papel-fundo);color:var(--papel-ink)}

.role-body-admin .qa-uncovered-attention{border-color:var(--warn-border);border-left:4px solid var(--warn-ink)}

@media(min-width:901px){.player-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
.email-resend-dialog strong,#registration-success strong,.confirm-email strong{overflow-wrap:anywhere}

.gift-card-fields>.field{min-width:0}
.gift-card-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}
@media(max-width:600px){.gift-card-fields{grid-template-columns:minmax(0,1fr)}}

.dash-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:26px 0 0}
.dash-goals .card{margin:0}.dash-goals p:last-child{margin-bottom:0}
.dash-big{margin-bottom:8px}.dash-big strong{font-size:1.7rem;letter-spacing:-.04em}.dash-eligible{margin-top:16px}
.dash-progress{display:block;width:100%;height:12px;margin:0 0 12px;border:0;border-radius:6px;overflow:hidden;appearance:none;-webkit-appearance:none;background:var(--chip-bg);color:#2a78d6}
.dash-progress::-webkit-progress-bar{background:var(--chip-bg);border-radius:6px}
.dash-progress::-webkit-progress-value{background:#2a78d6;border-radius:6px}
.dash-progress::-moz-progress-bar{background:#2a78d6;border-radius:6px}
.dash-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.dash-heading h2{margin:0}
.dash-toggle{display:inline-flex;border:1px solid var(--border);border-radius:9px;overflow:hidden}
.dash-toggle a{padding:8px 16px;font-size:.88rem;color:var(--muted);min-height:40px;display:inline-flex;align-items:center}
.dash-toggle a[aria-current]{background:var(--brand);color:#fff;font-weight:600;text-decoration:none}
.dash-chart{overflow-x:auto;margin:0 0 12px}.dash-chart:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.dash-chart svg{display:block;width:100%;min-width:560px;height:auto}
.dash-axis{fill:#56667A;font-size:11px}.dash-axis-future{fill:#5f6f82}.dash-value{fill:#0E1F33;font-size:12px;font-weight:600}
.dash-legend{display:flex;flex-wrap:wrap;gap:6px 20px;list-style:none;margin:0 0 8px;padding:0;font-size:.85rem}.dash-legend li{display:flex;align-items:center;gap:8px}
.dash-data{margin:0 0 12px}.dash-h3{font-size:1rem;margin:18px 0 8px}
.dash-funnel{list-style:none;margin:0 0 12px;padding:0}.dash-funnel li{margin-bottom:10px}
.dash-funnel-row{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;margin-bottom:4px}.dash-funnel-row strong{font-size:1.1rem}
.dash-origins{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
@media(max-width:640px){.dash-goals,.dash-origins{grid-template-columns:minmax(0,1fr)}}
/* KP-565. The one invalid-field look, for every form on every layout (public pages and signed-in pages). public/form-validation.js sets aria-invalid="true" on a field, and data-invalid on an at-least-one group; the classic red border is 5.6:1 on white (3:1 is the non-text minimum). A layout re-themes it with --field-invalid. */
:root{--field-invalid:#C62828}
.site-form.is-dark{--field-invalid:#FF8A8A}
[aria-invalid="true"]{border-color:var(--field-invalid)!important}
input[aria-invalid="true"],select[aria-invalid="true"],textarea[aria-invalid="true"]{box-shadow:0 0 0 1px var(--field-invalid)}
input[type=checkbox][aria-invalid="true"],input[type=radio][aria-invalid="true"]{box-shadow:none;outline:2px solid var(--field-invalid);outline-offset:2px}
fieldset[data-invalid]{border:1px solid var(--field-invalid);border-radius:8px;padding:10px 12px}
.choice:has(input[aria-invalid="true"]){border-color:var(--field-invalid)}
/* KP-542. The round's target audience: the sentence the studio reads, a scrolling country list with its search, and the Convidar match badge. */
.round-audience .form-grid>.full{grid-column:1/-1}
.round-audience-sentence{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius,12px);padding:12px 14px;overflow-wrap:anywhere}
.round-audience-search{margin-bottom:10px}
.round-audience-country-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr));gap:8px;max-height:260px;overflow-y:auto;padding:2px}
.round-audience-country-list .choice[hidden]{display:none}
.invite-audience{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:6px;font-size:.82rem}
.invite-audience .pill{margin:0}
.invite-games{margin-top:4px;font-size:.85rem;line-height:1.45;overflow-wrap:anywhere}
.invite-game-match{color:var(--ink);font-weight:700}
.invite-missing{color:var(--warn-ink)}
.studio-sheet>div.is-stacked{flex-direction:column;align-items:flex-start;gap:4px}
.studio-sheet>div.is-stacked dd{text-align:left;font-weight:600}

/* KP-639. One checkbox and radio component for every page: a fixed box, vertically centred on the first
   line of its text with a gap. Rows that are already flex (.choice, .consent) keep their own gap. */
input[type=checkbox],input[type=radio]{width:17px;height:17px;min-width:17px;padding:0;margin:0 10px 0 0;flex:none;vertical-align:middle;accent-color:var(--brand)}
:is(.choice,.consent,.analysis-pick,.report-general,.report-exclude) :is(input[type=checkbox],input[type=radio]){margin-right:0}
.consent :is(input[type=checkbox],input[type=radio]){margin-top:2px}
label:has(>input[type=checkbox],>input[type=radio]){cursor:pointer}
td>input[type=checkbox],th>input[type=checkbox]{margin:0;vertical-align:middle}
:root{--tip-ink:#ffffff}

/* Password fields are shared by player and staff account pages. */
.account-password-checks { margin: 7px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; }
.account-password-match { margin: 6px 0 0; color: var(--bad-ink); font-size: .875rem; }
.account-password-checks .is-valid, .account-password-match.is-valid { color: var(--ok-ink); }
.account-password input.is-valid { border-color: var(--ok-ink); }
.account-password input[aria-invalid="true"] { border-color: var(--bad-ink); }
