:root{font-family:Inter,system-ui,sans-serif;color:#172033;background:#f3f5f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}#root{min-height:100vh}.app-shell{display:flex;flex-direction:column;min-height:100vh}.app-shell>*:first-child{flex:1}.site-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;padding:14px 28px;border-top:1px solid #e5e8ef;background:#fff;color:#667085;font-size:.8rem}button,input{font:inherit}.portal-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top right,#dce5ff,#f5f7fb 55%,#edf1f7)}.portal-card{width:min(420px,calc(100vw - 32px));background:#fff;border:1px solid #e4e8ef;border-radius:20px;padding:38px;box-shadow:0 24px 60px #182a4a1f}.brand-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:14px;background:#3157d5;color:#fff;font-weight:800}.eyebrow{margin:20px 0 6px;color:#667085;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800}.portal-card h1{margin:0 0 8px;font-size:2.1rem}.portal-card form{display:grid;gap:10px;margin-top:28px}.portal-card label{font-weight:700}.portal-card input{height:48px;border:1px solid #d5dae5;border-radius:10px;padding:0 14px;text-transform:uppercase}.portal-card button,.submit{height:48px;border:0;border-radius:10px;background:#3157d5;color:#fff;font-weight:800;cursor:pointer}.error{color:#b42318;font-size:.85rem}.demo-codes{margin-top:18px;color:#667085;font-size:.82rem}.topbar{height:68px;display:flex;align-items:center;gap:20px;padding:0 28px;background:#fff;border-bottom:1px solid #e5e8ef}.brand{font-weight:800;margin-right:auto}.brand span{display:inline-grid;place-items:center;width:38px;height:38px;margin-right:8px;border-radius:10px;background:#3157d5;color:#fff}.user{display:grid;text-align:right}.user small{color:#667085;text-transform:capitalize}.logout{border:1px solid #d5dae5;background:#fff;border-radius:8px;padding:8px 12px;cursor:pointer}.judge-layout{display:grid;grid-template-columns:280px 1fr;min-height:calc(100vh - 68px)}.judge-layout aside{background:#fff;border-right:1px solid #e5e8ef;padding:24px}.judge-layout aside h2{margin:0 0 20px}.tabs{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}.tabs button,.couple-list button{border:0;background:transparent;cursor:pointer;text-align:left}.tabs button{padding:10px 12px;border-radius:8px;color:#667085}.tabs button.active{background:#edf2ff;color:#3157d5;font-weight:800}.couple-list{display:grid;gap:6px}.couple-list button{display:flex;align-items:center;gap:12px;border-radius:10px;padding:10px}.couple-list button.active{background:#172033;color:#fff}.couple-list button span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#edf1f7;color:#172033;font-weight:800}.couple-list button.active span{background:#3157d5;color:#fff}.couple-score-total{flex-shrink:0;margin-left:auto;color:#667085;font-size:.8rem;font-weight:800;white-space:nowrap}.couple-list button.active .couple-score-total{color:#fff}.scoring{max-width:780px;width:100%;margin:0 auto;padding:38px 28px}.score-heading{display:flex;align-items:center;justify-content:space-between}.score-heading h2{margin:0}.submission-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;padding:14px 16px;border:1px solid #abefc6;border-radius:10px;background:#ecfdf3;color:#067647}.submission-banner span{color:#067647;font-size:.9rem}.score-options button:disabled{cursor:not-allowed;opacity:.55}.total{width:120px;height:88px;display:grid;grid-template-columns:1fr auto;align-items:center;padding:14px;border-radius:14px;background:#fff;border:1px solid #e1e5ec}.total small{grid-column:1/-1;color:#667085}.total strong{font-size:2rem}.total span{color:#667085}.criteria{display:grid;gap:10px;margin:30px 0 24px}.criterion{display:grid;grid-template-columns:minmax(180px,1fr) 330px;align-items:center;background:#fff;border:1px solid #e1e5ec;border-radius:12px;padding:12px 14px}.criterion label{font-weight:750}.score-options{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.score-options button{height:44px;border:1px solid #dbe0e8;border-radius:8px;background:#fff;cursor:pointer;font-weight:800}.score-options button.active{background:#3157d5;border-color:#3157d5;color:#fff}.submit{width:100%}.dashboard{max-width:1000px;margin:0 auto;padding:44px 28px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats article{display:grid;background:#fff;border:1px solid #e1e5ec;border-radius:14px;padding:22px}.stats article small,.stats article span{color:#667085}.stats article strong{margin:8px 0;font-size:1.8rem}.stats article ul{margin:8px 0 0;padding-left:19px;line-height:1.7;overflow-wrap:anywhere}.stats article li span{font-size:.84rem}.selected-competition{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin:18px 0;padding:22px 24px;border:1px solid #c8d5ff;border-left:5px solid #3157d5;border-radius:14px;background:#fff;box-shadow:0 6px 20px #3157d514}.selected-competition .eyebrow{margin:0 0 6px}.selected-competition h2{margin:0;font-size:1.5rem}.selected-competition p:last-child{margin:6px 0 0;color:#667085}.competition-status{flex-shrink:0;padding:7px 12px;border-radius:999px;background:#eef2f6;color:#475467;font-size:.82rem;font-weight:800}.competition-status.status-active{background:#ecfdf3;color:#067647}.competition-status.status-published{background:#eff8ff;color:#175cd3}.competition-status.status-closed{background:#f2f4f7;color:#475467}.panel{margin-top:18px;background:#fff;border:1px solid #e1e5ec;border-radius:14px;padding:22px}.progress-row{display:flex;justify-content:space-between;border-top:1px solid #edf0f4;padding:16px 0}.row-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.row-actions button,.secondary-button{border:1px solid #d5dae5;border-radius:8px;background:#fff;padding:8px 11px;color:#344054;font-weight:700;cursor:pointer}.row-actions .danger-button{color:#b42318;border-color:#fecdca}.management-form button:disabled{opacity:.5;cursor:not-allowed}.category-list code,.progress-row code{display:inline-block;margin-top:5px;padding:3px 7px;border-radius:5px;background:#f2f4f7;color:#344054}.progress-row b.done{color:#087a55}.progress-row b.pending{color:#b54708}.public-link{display:block;margin-top:18px;color:#3157d5;text-decoration:none;font-weight:750}.public-link.inline{display:inline-block;margin:0 0 0 16px}.success-message{margin:18px 0;padding:12px 14px;border-radius:10px;background:#ecfdf3;color:#067647;border:1px solid #abefc6}.management-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.management-form{display:grid;gap:8px}.management-form input{width:100%;height:44px;border:1px solid #d5dae5;border-radius:8px;padding:0 12px}.management-form button,.publish-button{height:44px;border:0;border-radius:8px;background:#3157d5;color:#fff;font-weight:800;cursor:pointer}.management-form label{margin-top:6px;font-weight:700}.muted{color:#667085}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #edf0f4}.setting-row input{width:auto;height:auto}.public-page{min-height:100vh;background:#f3f5f8}.public-header{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fff;border-bottom:1px solid #e5e8ef}.public-header a{color:#3157d5;text-decoration:none;font-weight:750}.public-content{max-width:1100px;margin:0 auto;padding:44px 28px}.public-content>h1{margin:0 0 26px}.public-layout{display:grid;grid-template-columns:280px 1fr;gap:18px}.public-list{display:grid;align-content:start;gap:8px}.public-list button{display:grid;gap:5px;border:1px solid #e1e5ec;border-radius:12px;padding:16px;background:#fff;text-align:left;cursor:pointer}.public-list button.active{border-color:#3157d5;box-shadow:0 0 0 2px #dfe7ff}.public-list small{color:#667085}.public-results{background:#fff;border:1px solid #e1e5ec;border-radius:14px;padding:24px}.public-results h2{margin-top:0}.result-category{margin-top:24px}.public-round-results{margin:18px 0 24px;padding:18px;border:1px solid #dfe6f5;border-radius:12px;background:#f9faff}.public-round-results h4{margin:0 0 12px}.public-table-wrapper{overflow-x:auto}.result-category table{width:100%;min-width:460px;border-collapse:collapse}.result-category th,.result-category td{text-align:left;border-bottom:1px solid #edf0f4;padding:12px 8px}.public-standings td:first-child,.public-standings td:last-child{white-space:nowrap}.empty-public{background:#fff;border:1px solid #e1e5ec;border-radius:14px;padding:30px;color:#667085}.portal-options{display:grid;gap:10px;margin-top:22px}.portal-options button{display:grid;gap:4px;min-height:76px;border:1px solid #dbe0e8;border-radius:12px;background:#fff;text-align:left;padding:14px 16px;cursor:pointer}.portal-options button:hover{border-color:#3157d5;background:#f7f9ff}.portal-options button span{color:#667085}.back-button{border:0;background:transparent;color:#3157d5;padding:0;cursor:pointer;font-weight:750}.portal-card select{width:100%;height:48px;border:1px solid #d5dae5;border-radius:10px;padding:0 12px;background:#fff}.judge-choices{display:grid;gap:9px;margin:22px 0}.judge-choices button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;border:1px solid #dbe0e8;border-radius:10px;background:#fff;color:#172033;padding:10px 14px;cursor:pointer}.judge-choices button:hover{border-color:#3157d5;background:#f7f9ff}.judge-choices button strong{color:#3157d5}.judge-choices button span{text-align:right}.competition-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.competition-toolbar label{display:grid;gap:8px;min-width:min(420px,100%);font-weight:700}.competition-toolbar select{height:44px;border:1px solid #d5dae5;border-radius:8px;padding:0 10px;background:#fff}.competition-toolbar button{height:44px;border:1px solid #3157d5;border-radius:8px;background:#fff;color:#3157d5;font-weight:800;padding:0 14px;cursor:pointer}.activate-button{border:0;border-radius:9px;background:#087a55;color:#fff;padding:11px 15px;font-weight:800;cursor:pointer}.selected-competition .danger-button{border:1px solid #fecdca;border-radius:9px;background:#fff;color:#b42318;padding:10px 14px;font-weight:800;cursor:pointer}.saved-rosters .management-form{margin:18px 0}.saved-rosters .management-form h3{margin:0}.category-list h3{margin:18px 0 4px}.management-form select{height:44px;border:1px solid #d5dae5;border-radius:8px;padding:0 10px;background:#fff}.scrutineer-tabs{display:flex;gap:8px;margin:22px 0 4px;overflow-x:auto;border-bottom:1px solid #dfe3eb}.scrutineer-tabs button{flex-shrink:0;border:0;border-bottom:3px solid transparent;background:transparent;color:#667085;padding:12px 14px;font-weight:800;cursor:pointer}.scrutineer-tabs button.active{border-bottom-color:#3157d5;color:#3157d5}.scrutineer-tabs button:disabled{opacity:.45;cursor:not-allowed}.section-heading,.schedule-heading,.progress-dance-heading,.history-score-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading h2,.schedule-heading h2{margin:0}.publish-panel{margin-top:28px;padding-top:18px;border-top:1px solid #edf0f4}.progress-category{margin-top:28px}.progress-category-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.progress-category-heading h3{margin:0 0 12px;font-size:1.35rem}.progress-round{margin:16px 0 22px}.progress-round h4,.schedule-round h4{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:1rem}.round-results{margin-top:20px;padding-top:18px;border-top:2px solid #e1e5ec}.round-results h5{margin:0;font-size:1.05rem}.round-results>p{margin:6px 0 14px;font-size:.88rem}.round-results-pending{margin:14px 0;color:#667085;font-size:.88rem}.round-results-table{min-width:760px}.progress-dance{margin-top:10px;padding:16px;border:1px solid #e1e5ec;border-radius:12px;background:#fff}.progress-dance.is-active{border-color:#3157d5;box-shadow:0 0 0 2px #e6ecff}.progress-dance-heading h5{margin:0;font-size:1rem}.progress-dance-heading p{margin:5px 0 12px;font-size:.86rem}.active-badge{display:inline-block;margin-left:8px;padding:4px 8px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:.72rem;font-weight:800;vertical-align:middle}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#f2f4f7;color:#475467;font-size:.74rem;font-weight:800;white-space:nowrap}.status-pill.status-submitted,.status-pill.status-complete{background:#ecfdf3;color:#067647}.status-pill.status-in_progress{background:#fffaeb;color:#b54708}.status-pill.status-not_started{background:#f2f4f7;color:#667085}.progress-table-wrapper{overflow-x:auto}.progress-table{width:100%;min-width:780px;border-collapse:collapse}.progress-table th,.progress-table td{min-width:190px;padding:12px;border:1px solid #edf0f4;text-align:left;vertical-align:top}.progress-table thead th{background:#f8f9fb}.progress-table thead th small,.progress-table tbody th small{display:block;margin-top:4px;color:#667085;font-size:.76rem;font-weight:500}.progress-table tbody th:first-child{min-width:180px}.progress-table tbody th .status-pill{margin-top:8px}.judge-score-total{display:block;margin:8px 0 6px;font-size:.84rem}.criteria-score-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}.criteria-score-list span{display:flex;align-items:flex-start;justify-content:space-between;gap:5px;font-size:.72rem}.criteria-score-list small{color:#667085}.criteria-score-list b{flex-shrink:0}.round-form{margin-top:20px}.round-form .management-grid{margin:0}.round-form label{display:grid;gap:7px}.round-form select,.round-form input{width:100%;height:44px;border:1px solid #d5dae5;border-radius:8px;padding:0 10px;background:#fff}.dance-options{display:flex;gap:18px;margin:6px 0;padding:10px 12px;border:1px solid #e1e5ec;border-radius:8px}.dance-options legend{padding:0 5px;font-weight:700}.dance-options label{display:flex;align-items:center;gap:7px}.schedule-panel{margin-top:20px}.schedule-category{margin-top:24px}.schedule-category h3{margin:0 0 14px}.schedule-round{margin-top:16px;padding-top:16px;border-top:1px solid #edf0f4}.schedule-dances{display:grid;gap:8px}.schedule-dance{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #e1e5ec;border-radius:10px}.schedule-dance.is-active{border-color:#087a55;background:#f2fcf6}.schedule-dance>div{display:grid;gap:5px}.schedule-dance small{color:#667085}.schedule-dance button{flex-shrink:0}.pause-button{border:1px solid #fecdca;border-radius:8px;background:#fff;color:#b42318;padding:10px 13px;font-weight:800;cursor:pointer}.pause-button:hover{background:#fff5f4}.judge-wait{display:grid;justify-items:start;gap:4px;width:min(600px,calc(100% - 32px));margin:70px auto;padding:32px;border:1px solid #e1e5ec;border-radius:18px;background:#fff;box-shadow:0 12px 32px #182a4a14}.judge-wait h1{margin:0}.judge-wait .secondary-button{margin-top:12px}.judging-now{display:grid;gap:7px;margin:16px 0;padding:14px;border-left:4px solid #087a55;border-radius:8px;background:#f2fcf6}.judging-now small{color:#067647;font-size:.68rem;font-weight:900;letter-spacing:.08em}.judging-now strong{font-size:1.15rem}.judging-now span{color:#475467}.couple-progress{margin:0 0 12px;color:#667085;font-size:.86rem}.history-button{width:100%;margin-bottom:16px;padding:10px;border:1px solid #d5dae5;border-radius:8px;background:#fff;color:#3157d5;font-weight:800;cursor:pointer}.couple-list button{position:relative}.couple-done{margin-left:auto;color:#067647;font-size:1.1rem}.judge-history-page{max-width:900px;margin:0 auto;padding:36px 24px}.judge-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.judge-history-heading h1{margin:0}.judge-history-heading p:last-child{color:#667085}.history-score{margin-top:12px;padding:18px;border:1px solid #e1e5ec;border-radius:12px;background:#fff}.history-score-heading p{margin:6px 0 0;color:#667085}.history-criteria{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}.history-criteria span{display:flex;justify-content:space-between;gap:8px;padding:8px;border-radius:6px;background:#f8f9fb;font-size:.83rem}.history-criteria>strong{grid-column:1/-1;text-align:right}@media (max-width:700px){.topbar{padding:0 14px}.user{display:none}.site-footer{padding:12px 14px}.judge-layout{grid-template-columns:1fr}.judge-layout aside{border-right:0;border-bottom:1px solid #e5e8ef}.couple-list{grid-template-columns:repeat(3,1fr)}.couple-list button{display:grid;justify-items:center;text-align:center}.score-heading{display:none}.criterion{grid-template-columns:1fr;gap:10px}.score-options{grid-template-columns:repeat(6,1fr)}.stats{grid-template-columns:1fr}.selected-competition{align-items:flex-start;flex-direction:column}.competition-toolbar{align-items:stretch;flex-direction:column}.scrutineer-tabs{margin-right:-14px}.section-heading,.schedule-heading,.progress-dance-heading,.history-score-heading,.judge-history-heading,.schedule-dance{align-items:flex-start;flex-direction:column}.judge-history-page{padding:24px 14px}.history-criteria{grid-template-columns:1fr 1fr}.history-criteria>strong{grid-column:1/-1}}
