:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142d52;background:#f2f5fa;font-synthesis:none;--ink:#093b92;--green:#1553aa;--muted:#687a92;--line:#dce3ee;--gold:#ffcf24;--paper:#fff;--red:#aa4843}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid transparent;background:var(--ink);color:white;border-radius:10px;padding:12px 18px;font-weight:600;min-height:44px}button:hover{filter:brightness(1.14)}button:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:white;color:var(--ink);border-color:var(--line)}button.ghost{background:transparent;color:var(--ink);padding:8px 10px}button.danger{background:#fff1ef;color:#963b35;border-color:#efc9c4}a{color:var(--green);text-underline-offset:3px}input,select,textarea{width:100%;padding:12px;border:1px solid #cbd2c9;border-radius:9px;background:white;color:var(--ink);min-height:46px}input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #ffcf24;outline-offset:3px}textarea{resize:vertical;min-height:84px}label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}label input,label select,label textarea{margin-top:8px}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--green);vertical-align:middle;margin:0 8px 0 0}p{line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,4vw,44px);letter-spacing:-1.7px;font-weight:650;line-height:1.12;margin-bottom:12px}h2{font-size:22px;letter-spacing:-.6px}h3{font-size:17px;letter-spacing:-.3px}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:11px;font-weight:750;color:#63736d}.brand-mark{display:inline-grid;place-items:center;width:48px;height:48px;border:1px solid #586761;border-radius:14px;font-size:19px;letter-spacing:-1px;color:var(--gold);background:var(--ink);font-weight:800}.layout{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.rail{background:var(--ink);color:#e1ebff;padding:30px 24px;display:flex;flex-direction:column;gap:30px;position:sticky;top:0;height:100vh}.rail .brand{display:flex;align-items:center;gap:12px}.rail .brand strong{display:block;font-size:14px}.rail .brand small{font-size:11px;color:#bacdeb}.rail nav{display:grid;gap:6px}.rail nav button{text-align:left;background:transparent;color:#d0def5;border-radius:8px;font-size:14px;padding:13px}.rail nav button.active{background:#184ba0;color:white}.rail nav button span{margin-right:12px;font-size:17px}.rail .rail-bottom{margin-top:auto;color:#c9d8f5;font-size:12px;line-height:1.7}.rail .rail-bottom button{color:#e0eaff}.workspace{min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:18px 40px;min-height:76px;background:#fff}.topbar select{width:auto;min-width:170px;font-size:13px;padding:8px 12px;min-height:40px}.topbar .meta{display:flex;align-items:center;gap:12px}.badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.3px;font-weight:700;border-radius:30px;padding:7px 10px;background:#e8f0fe;color:#174e9b}.badge.warning{background:#fff3c9;color:#725a0c}.badge.danger{background:#f8e3df;color:#a4413a}.badge.dark{background:#184ba0;color:#e2eadd}.page{max-width:1400px;margin:auto;padding:36px 40px 60px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.page-heading p{margin-bottom:0}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.stat .number{font-size:32px;font-weight:650;letter-spacing:-1px;margin:10px 0 6px}.stat .number small{font-size:15px;font-weight:450;color:var(--muted);letter-spacing:0}.stat p{font-size:12px;color:var(--muted);margin:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 14px}.section-head h2{margin:0}.columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:20px}.panel h2{margin-bottom:18px}.notice{background:#fff6da;border:1px solid #f4dd8c;color:#665515;border-radius:12px;padding:16px 18px;margin-bottom:22px;font-size:13px;line-height:1.6}.notice.success{background:#e9f0fe;border-color:#cdddf8;color:#164896}.notice.error{background:#f9e8e5;border-color:#ebc2bc;color:#943e36}.notice p:last-child{margin-bottom:0}.team-dot{width:10px;height:10px;border-radius:50%;display:inline-block;background:#b9a06b;margin-right:8px}.team-dot.blue{background:#739dbb}.team-dot.rose{background:#b57b77}.leader-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #e9eef6}.leader-row:last-child{border-bottom:0;padding-bottom:0}.leader-row .rank{font-size:20px;color:#8d9990}.leader-row strong{display:block}.leader-row small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.leader-row .points{font-size:27px;font-weight:650;letter-spacing:-1px;text-align:right}.leader-row .points small{font-size:11px;font-weight:450;letter-spacing:0}.judge-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #e9eef6}.judge-row:last-child{border-bottom:0}.avatar{background:#edf3ff;color:var(--green);border-radius:12px;width:40px;height:40px;display:grid;place-items:center;font-weight:750;flex-shrink:0}.judge-row .info{flex:1;min-width:0}.judge-row .info strong{font-size:13px;display:block}.judge-row .info small{font-size:11px;color:var(--muted)}progress{appearance:none;border:0;height:6px;border-radius:6px;background:#e6edf8;width:100%;margin:10px 0 2px;overflow:hidden}progress::-webkit-progress-bar{background:#e6edf8}progress::-webkit-progress-value{background:var(--green);border-radius:6px}progress::-moz-progress-bar{background:var(--green)}.check-list{padding:0;list-style:none;margin:0;font-size:13px}.check-list li{padding:10px 0;border-bottom:1px solid #e9eef6;line-height:1.5}.check-list li:before{content:'○';color:#9b7740;margin-right:8px}.check-list.complete li:before{content:'✓';color:var(--green)}.panel-footer{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .full{grid-column:1/-1}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards.two{grid-template-columns:repeat(2,1fr)}.team-card{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.team-card h3{margin-bottom:6px}.team-card .score-input{font-size:36px;font-weight:650;text-align:center;height:84px;margin:12px 0 8px}.team-card .score-input:disabled{background:#f5f6f0}.score-total{font-size:13px;color:var(--muted);display:flex;justify-content:space-between;margin:12px 0 18px}.team-card details{margin-top:16px;font-size:13px}.team-card summary{cursor:pointer;color:var(--muted);margin-bottom:12px}.tabs{display:flex;gap:8px;overflow:auto;scrollbar-width:thin;padding:4px 2px 14px;margin-bottom:14px}.tabs button{white-space:nowrap;background:#ebece4;color:var(--muted);font-size:12px;min-height:40px;padding:10px 14px}.tabs button.active{background:var(--ink);color:white}.proof-header{padding:28px;border-radius:16px;background:#edf3ff;margin-bottom:22px}.proof-header h2{font-size:27px;margin:8px 0 10px}.proof-header p{margin-bottom:8px;max-width:780px;font-size:14px}.proof-header .max{font-size:14px;font-weight:700}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th,td{padding:12px;border-bottom:1px solid #e7edf6;vertical-align:top}th{font-weight:600;color:var(--muted);background:#f3f6fb;white-space:nowrap}td.total{font-weight:750}td.pending{color:#997a44}table .note-cell{max-width:220px;white-space:normal}.auth{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-story{background:var(--ink);color:#ecf0e8;padding:60px 10%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-story .brand-mark{margin-bottom:70px}.auth-story .eyebrow{color:var(--gold)}.auth-story h1{font-size:clamp(42px,5vw,70px);letter-spacing:-2.5px;max-width:620px}.auth-story p{color:#bacdc2;max-width:430px;font-size:16px}.auth-story .story-foot{margin-top:60px;font-size:12px;color:#93b0a0}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form>div{width:100%;max-width:400px}.auth-form h2{font-size:30px;letter-spacing:-1px}.auth-form form{display:grid;gap:12px;margin:26px 0}.auth-form .full-button{width:100%}.error-text{color:var(--red);font-size:13px;line-height:1.5;min-height:0}.save-state{font-size:12px;color:var(--muted);min-height:20px}.save-state.error-text{color:var(--red)}.bottom-bar{margin-top:28px;padding:20px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.loading{display:grid;place-content:center;justify-items:center;min-height:100vh;gap:16px}.result-hero{background:var(--ink);color:#ecf0e7;border-radius:20px;padding:36px;text-align:center;margin-bottom:22px}.result-hero .eyebrow{color:var(--gold)}.result-hero h1{margin-top:20px;font-size:50px}.result-hero .result-number{font-size:60px;letter-spacing:-2px;color:var(--gold);margin:20px 0}.result-hero p{color:#b5c9bc}dialog{width:min(620px,calc(100% - 32px));max-height:90vh;border:1px solid var(--line);border-radius:18px;padding:28px;color:var(--ink);box-shadow:0 20px 80px #13262333}dialog::backdrop{background:#10242188;backdrop-filter:blur(3px)}dialog h2{margin-bottom:10px}dialog form{display:grid;gap:14px}dialog .actions{justify-content:flex-end;margin-top:12px}#toast{position:fixed;right:24px;bottom:24px;max-width:calc(100% - 48px);background:var(--ink);color:#fff;padding:14px 20px;border-radius:12px;box-shadow:0 8px 24px #093b9222;z-index:10;font-size:13px}.empty{text-align:center;color:var(--muted);padding:28px}.code-box{font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere;background:#f0f4fb;padding:16px;border-radius:10px}.footer-note{font-size:11px;color:var(--muted);line-height:1.7;margin-top:28px}.mobile-brand{display:none}.judges-list .actions{margin-top:16px}.judges-list .panel{margin-bottom:0}.judges-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.occurrence{border-top:1px solid var(--line);padding:16px 0;font-size:13px}.occurrence p{margin:6px 0}.occurrence .actions{justify-content:space-between}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.review-grid .panel{padding:18px}.review-grid .panel p{font-size:13px;margin-bottom:6px}.print-only{display:none}
@media(max-width:1100px){.layout{grid-template-columns:200px 1fr}.rail{padding:24px 18px}.page{padding:28px 24px}.topbar{padding:16px 24px}.columns{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.stat .number{font-size:28px}}
@media(max-width:720px){.layout{display:block}.rail{height:auto;position:relative;padding:14px 18px;gap:12px}.rail .brand-mark{width:36px;height:36px;font-size:15px;border-radius:10px}.rail .brand{gap:10px}.rail nav{display:flex;overflow:auto;gap:4px}.rail nav button{white-space:nowrap;padding:10px 12px;font-size:12px;min-height:40px}.rail nav button span{display:none}.rail .rail-bottom{display:none}.topbar{padding:12px 18px;min-height:64px;flex-wrap:wrap;gap:8px}.topbar select{min-width:150px;max-width:100%}.topbar .meta{font-size:11px;gap:6px}.page{padding:24px 18px 36px}.page-heading{display:block;margin-bottom:22px}.page-heading .actions{margin-top:18px}.page-heading h1{font-size:34px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{padding:14px}.stat .number{font-size:28px;margin:8px 0}.stat .eyebrow{font-size:10px;letter-spacing:.7px}.panel{padding:18px;border-radius:14px}.cards.two,.judges-list,.form-grid,.review-grid{grid-template-columns:1fr}.team-card{padding:20px}.team-card .score-input{height:76px}.form-grid .full{grid-column:auto}.proof-header{padding:22px}.proof-header h2{font-size:25px}.proof-header p{font-size:13px}.bottom-bar{align-items:flex-start;flex-direction:column}.auth{display:block}.auth-story{padding:30px 24px}.auth-story .brand-mark{margin-bottom:24px}.auth-story h1{font-size:39px;max-width:400px;margin-bottom:14px}.auth-story p{font-size:14px;margin-bottom:0}.auth-story .story-foot{display:none}.auth-form{padding:30px 24px;align-items:flex-start}.auth-form h2{font-size:27px}.result-hero{padding:28px 18px}.result-hero h1{font-size:38px}.result-hero .result-number{font-size:48px}.section-head{align-items:flex-start}.section-head h2{font-size:20px}.actions button{font-size:12px}dialog{padding:22px}.leader-row{gap:10px}.leader-row .points{font-size:25px}.badge{font-size:10px;padding:6px 8px}}
@media print{body{background:white}.rail,.topbar,.actions,.tabs,.bottom-bar,#toast,.no-print{display:none!important}.layout{display:block}.page{padding:0;max-width:none}.panel,.team-card{break-inside:avoid;box-shadow:none}.stats{grid-template-columns:repeat(4,1fr)}.print-only{display:block}.result-hero{color:black;background:white;border:1px solid #ddd}.result-hero .eyebrow,.result-hero p,.result-hero .result-number{color:black}.table-wrap{overflow:visible}table{font-size:10px}.columns{display:block}}

/* Identidade ND: azul e amarelo, interface operacional. */
:root{font-family:"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}.page-heading h1{font-size:30px;letter-spacing:-.8px}.page-heading{align-items:center;margin-bottom:24px}.rail nav button.active{background:var(--gold);color:#153d7f}.brand-mark{background:var(--gold);color:#093b92;border-color:var(--gold)}.rail .brand-mark{background:var(--gold);color:#093b92}.topbar{border-bottom:3px solid var(--gold)}button{transition:background-color .15s,transform .1s}button:active:not(:disabled){transform:translateY(1px)}.badge{border-radius:6px}.stat .number{font-variant-numeric:tabular-nums}.auth{display:flex;min-height:100dvh;align-items:center;justify-content:center;background:#093b92;border-top:8px solid #ffcf24}.auth-form{width:100%;padding:24px;display:block}.auth-form>div{background:white;border-radius:16px;padding:32px;margin:auto;border-top:5px solid #ffcf24;box-shadow:0 18px 50px #00225a44}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px;color:#093b92}.auth-brand strong{font-size:16px}.auth h1{font-size:28px;letter-spacing:-.7px}.auth-form form{margin:20px 0 12px}.auth-form .footer-note{margin:18px 0 0}.auth-story{display:none}.result-hero{background:var(--ink);border-top:5px solid var(--gold)}.team-dot{background:#093b92}.team-dot.blue{background:#ffcf24}.team-dot.rose{background:#7ea6e9}.proof-header{border-left:4px solid var(--gold)}.score-input{font-variant-numeric:tabular-nums}.notice{padding:12px 16px}.panel .section-head:first-child{margin-top:0}.footer-note:empty{display:none}
@media(max-width:720px){.auth-form>div{padding:26px 22px}.page-heading h1{font-size:28px}.rail{border-bottom:3px solid var(--gold)}.topbar{border-bottom:1px solid var(--line)}.auth-form{padding:20px}.page-heading .actions{margin-top:12px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.judge-progress{display:flex;align-items:center;gap:16px;max-width:440px;margin:0 0 14px}.judge-progress progress{height:8px;margin:0}.judge-progress strong{font-size:13px;white-space:nowrap}.panel:has(>p:empty)>p:empty{display:none}

.auth-tabs{display:flex;gap:8px;margin:20px 0}.auth-tabs button{flex:1}

.event-environments{display:grid;gap:12px;margin-top:20px}.event-environments>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.topbar>div:first-child{max-width:100%;min-width:0}.topbar select{max-width:min(420px,100%)}
