:root {
    --bg:#f5f6f8;
    --ink:#1b2637;
    --muted:#78818d;
    --line:#e7e9ed;
    --accent:#e65e3d;
    --nav:#172330;
    --green:#237b60;
    --radius:14px;
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    color:var(--ink);
    font-size:14px;
    line-height:1.5
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    background:var(--bg)
}
a {
    color:inherit;
    text-decoration:none
}
a:hover {
    color:var(--accent)
}
button,input,select,textarea {
    font:inherit
}
button,summary {
    cursor:pointer
}
button:disabled {
    opacity:.55;
    cursor:wait
}
[hidden] {
    display:none!important
}
h1,h2,h3,p {
    margin:0
}
h1 {
    font-size:34px;
    letter-spacing:-1.2px;
    font-weight:650;
    line-height:1.2
}
h2 {
    font-size:18px;
    font-weight:650;
    letter-spacing:-.3px
}
h3 {
    font-size:15px;
    font-weight:600
}
p {
    line-height:1.65
}
small {
    font-size:12px
}
.sidebar {
    width:248px;
    background:var(--nav);
    position:fixed;
    inset:0 auto 0 0;
    display:flex;
    flex-direction:column;
    color:#acb5bf;
    padding:35px 20px 0
}
.brand {
    display:flex;
    gap:12px;
    align-items:center;
    color:white;
    padding:0 10px;
    font-size:23px;
    font-weight:750;
    letter-spacing:3px
}
.brand small {
    display:block;
    font-size:8px;
    letter-spacing:1.3px;
    font-weight:500;
    color:#91a0ad;
    margin-top:1px
}
.brand-mark {
    border:1px solid #52606b;
    border-radius:9px;
    font-size:29px;
    font-weight:400;
    width:47px;
    height:47px;
    text-align:center;
    line-height:43px;
    letter-spacing:0;
    color:#f7ece0
}
.workspace-label {
    font-size:9px;
    letter-spacing:1.35px;
    color:#748391;
    margin:51px 14px 15px
}
.nav-item {
    padding:13px 15px;
    display:flex;
    gap:13px;
    align-items:center;
    border-radius:7px;
    margin-bottom:6px;
    font-size:13px
}
.nav-item>span {
    font-size:21px;
    line-height:1;
    width:22px
}
.nav-item.active {
    background:#2a3743;
    color:#fff;
    box-shadow:inset 3px 0 var(--accent)
}
.nav-item:hover {
    background:#23313f;
    color:white
}
.sidebar-bottom {
    margin-top:auto
}
.discipline {
    border-top:1px solid #32404c;
    padding:23px 10px;
    color:#b5bec7;
    letter-spacing:5px;
    font-size:21px
}
.discipline span {
    display:block;
    font-size:10px;
    letter-spacing:0;
    margin-top:5px;
    color:#7b8a98
}
.profile {
    border-top:1px solid #32404c;
    display:flex;
    align-items:center;
    gap:9px;
    padding:22px 2px;
    color:#e3e7eb;
    font-size:12px
}
.avatar {
    background:#3d4d5b;
    color:white;
    width:31px;
    height:31px;
    border-radius:50%;
    display:grid;
    place-items:center
}
.profile small {
    display:block;
    font-size:10px;
    color:#8594a0
}
.profile form {
    margin-left:auto
}
.logout {
    background:none;
    border:0;
    color:#a7b2bb;
    font-size:23px
}
.admin-shell .main-shell {
    margin-left:248px
}
.topbar {
    height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 42px;
    background:#fff;
    border-bottom:1px solid var(--line);
    font-size:11px;
    color:#7a8591
}
.topbar-label {
    font-size:9px;
    letter-spacing:1.2px;
    display:flex;
    align-items:center;
    gap:13px
}
.topbar-label i {
    background:var(--accent);
    height:7px;
    width:7px;
    border-radius:50%
}
main {
    padding:38px 42px;
    max-width:1650px;
    margin:auto;
    min-height:calc(100vh - 140px)
}
.page-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-bottom:30px
}
.eyebrow {
    font-size:9px;
    font-weight:650;
    letter-spacing:1.8px;
    color:#87909a;
    margin-bottom:10px
}
.page-heading p {
    color:var(--muted);
    font-size:13px;
    margin-top:10px
}
.button {
    border:1px solid transparent;
    background:var(--accent);
    color:white;
    border-radius:7px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    padding:12px 18px;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
    min-height:43px
}
.button:hover {
    color:white;
    background:#cf5031
}
.button.secondary {
    background:white;
    border-color:#dce1e6;
    color:#354152
}
.button.secondary:hover {
    border-color:#a2aab4
}
.button.light {
    background:white;
    color:var(--ink);
    justify-content:space-between
}
.button.small {
    padding:9px 14px;
    min-height:36px
}
.full {
    width:100%;
    justify-content:space-between
}
.stats {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:28px
}
.stat {
    background:white;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:23px
}
.stat>span {
    font-size:12px;
    color:#737e8a;
    display:block
}
.stat strong {
    display:block;
    font-size:36px;
    line-height:1.8;
    letter-spacing:-1px;
    font-weight:600
}
.stat small {
    font-size:10px;
    color:#8a949e
}
.dot {
    width:5px;
    height:5px;
    border-radius:50%;
    display:inline-block;
    margin-right:5px;
    background:var(--green)
}
.panel {
    background:white;
    border:1px solid var(--line);
    border-radius:var(--radius);
    margin-bottom:22px;
    overflow:hidden
}
.section-heading {
    padding:22px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px
}
.section-heading>a {
    font-size:11px;
    color:#7a8591
}
.dashboard-grid {
    display:grid;
    grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);
    gap:24px;
    align-items:stretch
}
.event-row {
    display:flex;
    gap:16px;
    align-items:center;
    padding:22px 24px;
    border-top:1px solid var(--line);
    min-height:118px
}
.date-tile {
    background:#f5f6f8;
    border:1px solid #e9ecf0;
    border-radius:8px;
    min-width:49px;
    text-align:center;
    padding:5px 7px
}
.date-tile strong {
    font-size:22px;
    display:block;
    font-weight:600;
    line-height:1.3
}
.date-tile span {
    font-size:9px;
    color:#86909b
}
.event-info {
    flex:1;
    min-width:0
}
.event-info h3 {
    font-size:13px;
    color:var(--ink)
}
.event-info p {
    font-size:11px;
    color:#87919b;
    margin:3px 0
}
.event-info small {
    font-size:10px;
    color:#6d7986
}
.badge {
    font-size:10px;
    font-weight:500;
    padding:5px 9px;
    display:inline-block;
    border-radius:5px;
    background:#f0f1f4;
    color:#7c8590;
    white-space:nowrap
}
.badge.green {
    background:#eaf5ef;
    color:#2b8060
}
.badge.amber {
    background:#fbf2e5;
    color:#a07a39
}
.arrow {
    color:#a6adb5
}
.invite-card {
    padding:27px 27px 18px;
    background:#eaece7;
    border:1px solid #e0e3dc;
    border-radius:var(--radius);
    margin-bottom:22px;
    position:relative
}
.invite-card .eyebrow {
    font-size:8px;
    color:#7d8779
}
.large-symbol {
    font-size:63px;
    font-weight:300;
    line-height:1.2;
    color:#7c8778;
    margin:11px 0
}
.invite-card h2 {
    font-size:29px;
    line-height:1.15;
    font-weight:550;
    letter-spacing:-.9px
}
.invite-card p {
    color:#737d70;
    font-size:12px;
    margin:16px 0 23px;
    max-width:310px
}
.invite-card .button {
    width:100%
}
.invite-card-foot {
    border-top:1px solid #d8dcd3;
    padding-top:13px;
    margin-top:20px;
    font-size:10px;
    color:#7b8477
}
table {
    border-collapse:collapse;
    width:100%;
    text-align:left;
    font-size:11px
}
th {
    background:#fafbfc;
    padding:13px 22px;
    color:#84909c;
    font-size:9px;
    font-weight:500;
    letter-spacing:.4px;
    border-block:1px solid var(--line);
    white-space:nowrap
}
td {
    padding:19px 22px;
    border-bottom:1px solid #eff0f3;
    vertical-align:middle
}
td strong {
    font-size:12px;
    font-weight:550
}
td small {
    display:block;
    color:#929aa4;
    font-size:10px;
    margin-top:3px
}
tr:last-child td {
    border-bottom:0
}
.table-wrap {
    overflow:auto
}
.empty {
    text-align:center;
    padding:50px 24px;
    color:var(--muted);
    width:100%
}
.empty>span {
    font-size:35px;
    display:block;
    margin-bottom:10px;
    color:#a4adb5
}
.empty h3 {
    color:#4a5665;
    font-size:16px;
    margin-bottom:9px
}
.empty p {
    font-size:13px;
    max-width:400px;
    margin:0 auto 20px
}
.empty.compact {
    padding:24px
}
.empty.compact p {
    margin-bottom:0
}
.notice {
    padding:16px 20px;
    background:#eeeff2;
    border:1px solid #e2e4e9;
    border-radius:9px;
    margin-bottom:22px;
    font-size:12px;
    color:#677482
}
.notice.success {
    background:#edf7f0;
    color:#31795c;
    border-color:#d8eadf
}
.notice.error {
    background:#fff0eb;
    color:#a3422f;
    border-color:#f1cfc3
}
.muted {
    color:var(--muted)
}
.caption {
    font-size:11px;
    color:#8a939d
}
.create-panel {
    padding:22px 24px
}
.create-panel h2 {
    margin-bottom:18px
}
summary {
    font-size:12px;
    font-weight:600;
    color:#6a7684
}
details[open]>summary {
    margin-bottom:22px
}
.form-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    align-items:end
}
label {
    display:flex;
    flex-direction:column;
    gap:8px;
    font-size:11px;
    font-weight:550;
    color:#6d7886
}
input,select,textarea {
    width:100%;
    padding:11px 12px;
    border:1px solid #dce1e6;
    border-radius:6px;
    background:white;
    color:#293545;
    min-height:43px;
    font-size:13px
}
input::placeholder {
    color:#aeb5bd
}
input:focus,select:focus,textarea:focus {
    outline:2px solid #edbcae;
    outline-offset:1px;
    border-color:#dc8c75
}
input[aria-invalid=true],select[aria-invalid=true] {
    border-color:#ce6350
}
.form-action {
    display:flex;
    align-items:end;
    gap:15px
}
.form-grid .wide {
    grid-column:span 2
}
.club-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px
}
.club-card {
    padding:24px;
    margin:0
}
.club-card-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px
}
.club-avatar {
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    border-radius:10px;
    background:#f0eee9;
    color:#9b8d75;
    font-size:22px;
    font-weight:500;
    flex-shrink:0
}
.club-card h2 {
    font-size:18px;
    margin-bottom:4px
}
.club-card p {
    font-size:12px
}
.club-meta {
    padding:20px 0;
    display:flex;
    flex-direction:column;
    gap:7px;
    font-size:11px;
    color:#84909c
}
.club-card details {
    border-top:1px solid var(--line);
    padding-top:16px
}
.stack-form {
    display:grid;
    gap:14px
}
.competition-card {
    padding-bottom:21px
}
.competition-card h2 {
    margin-top:8px
}
.competition-meta {
    padding:0 24px 22px;
    font-size:12px;
    color:#7c8792;
    display:flex;
    justify-content:space-between;
    gap:20px
}
.competition-card>details {
    border-top:1px solid var(--line);
    padding:18px 24px 0
}
.link-field {
    display:flex;
    gap:12px;
    padding:0 24px
}
.link-field input {
    font-size:11px;
    background:#f7f8fa;
    color:#788591
}
.row-actions {
    display:flex;
    gap:25px;
    padding:18px 24px;
    font-size:11px;
    align-items:center;
    flex-wrap:wrap
}
.row-actions form {
    margin:0
}
.text-button {
    padding:0;
    background:none;
    border:0;
    color:#77828e;
    font-size:11px
}
.danger {
    color:#b86756
}
.text-button:hover {
    color:var(--accent)
}
.filters {
    display:flex;
    align-items:end;
    gap:15px;
    padding:20px;
    flex-wrap:wrap
}
.filters label {
    flex:1;
    min-width:140px
}
.filters a {
    font-size:11px;
    align-self:center
}
.heading-count {
    font-size:16px;
    color:#929ca7;
    font-weight:400;
    vertical-align:middle;
    margin-left:7px
}
.count-label {
    font-size:12px;
    color:#8d97a1
}
.pagination {
    display:flex;
    gap:24px;
    justify-content:center;
    align-items:center;
    font-size:12px;
    color:#929ba6;
    margin-top:26px
}
.pagination a {
    color:#435366
}
footer {
    border-top:1px solid var(--line);
    padding:20px 42px;
    color:#9ca4ad;
    font-size:10px;
    display:flex;
    justify-content:space-between
}
.public-shell .topbar {
    padding-inline:max(24px,calc((100vw - 1120px)/2))
}
.login-wrap {
    max-width:440px;
    margin:38px auto 50px
}
.login-wrap h1 {
    font-size:36px;
    line-height:1.25;
    margin:25px 0 15px
}
.login-mark {
    display:grid;
    place-items:center;
    width:65px;
    height:65px;
    background:var(--nav);
    color:white;
    border-radius:14px;
    font-size:40px;
    margin-top:25px
}
.login-form {
    padding:28px;
    margin-top:28px;
    display:grid;
    gap:20px
}
.login-form h2 {
    margin-bottom:5px
}
.registration-wrap {
    max-width:1120px;
    margin:auto
}
.registration-wrap .page-heading h1 {
    font-size:31px;
    max-width:800px
}
.team-banner {
    display:flex;
    align-items:center;
    gap:18px;
    background:#eaece7;
    border:1px solid #dfe3d9;
    border-radius:var(--radius);
    padding:25px 28px;
    margin:30px 0
}
.team-banner .club-avatar {
    background:#dce0d4;
    color:#6c7960;
    width:54px;
    height:54px
}
.team-banner .eyebrow {
    margin-bottom:4px
}
.team-banner h2 {
    font-size:22px
}
.team-banner p {
    font-size:12px;
    color:#7e8878
}
.deadline {
    margin-left:auto;
    text-align:right;
    font-size:11px;
    color:#7d8778
}
.deadline strong {
    display:block;
    color:#505d4b;
    margin-top:4px;
    font-size:13px;
    font-weight:550
}
.registration-intro {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    margin:38px 0 22px
}
.registration-intro p {
    font-size:12px;
    margin-top:8px
}
.entry-card {
    padding:24px
}
.entry-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px;
    gap:15px
}
.entry-heading h3 {
    font-size:16px
}
.entry-heading [data-number] {
    font-size:12px;
    color:#a0a9b3;
    margin-left:6px
}
.save-status {
    font-size:11px;
    color:#8b949e;
    text-align:right;
    max-width:65%
}
.success-text {
    color:#368366
}
.error-text {
    color:#bd5745
}
.entry-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px
}
.field-error {
    font-size:10px;
    color:#bc5b47;
    font-weight:400
}
.field-error:empty {
    display:none
}
.entry-actions {
    border-top:1px solid var(--line);
    margin-top:22px;
    padding-top:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px
}
.entry-actions>div {
    display:flex;
    gap:18px;
    align-items:center
}
:focus-visible {
    outline:2px solid var(--accent);
    outline-offset:3px
}
@media(min-width:1600px) {
    main {
        padding-top:48px
    }
    .dashboard-grid {
        grid-template-columns:2fr 1fr
    }
    .event-row {
        min-height:132px
    }
}
@media(max-width:1200px) {
    .sidebar {
        width:215px;
        padding-inline:14px
    }
    .admin-shell .main-shell {
        margin-left:215px
    }
    main {
        padding:30px 26px
    }
    .topbar {
        padding:0 26px
    }
    .stats {
        gap:12px
    }
    .stat {
        padding:18px
    }
    .stat>span {
        font-size:11px
    }
    .dashboard-grid {
        grid-template-columns:1.5fr 1fr;
        gap:18px
    }
    .event-row {
        padding:20px 18px;
        gap:10px
    }
    .event-row .badge {
        display:none
    }
    .club-grid {
        grid-template-columns:repeat(2,1fr)
    }
    .entry-grid {
        grid-template-columns:repeat(3,minmax(0,1fr))
    }
    .form-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
}
@media(max-width:850px) {
    .sidebar {
        position:static;
        width:100%;
        padding:18px 20px 10px
    }
    .brand {
        font-size:19px
    }
    .brand-mark {
        height:38px;
        width:38px;
        line-height:34px;
        font-size:25px
    }
    .brand small {
        font-size:7px
    }
    .workspace-label,.sidebar-bottom {
        display:none
    }
    .sidebar nav {
        display:flex;
        gap:5px;
        overflow:auto;
        margin-top:17px
    }
    .nav-item {
        white-space:nowrap;
        padding:10px;
        font-size:11px
    }
    .nav-item>span {
        font-size:17px;
        width:auto
    }
    .admin-shell .main-shell {
        margin:0
    }
    .topbar {
        height:52px
    }
    .topbar-label {
        display:none
    }
    .page-heading h1 {
        font-size:29px
    }
    .stats {
        grid-template-columns:repeat(2,1fr)
    }
    .dashboard-grid {
        grid-template-columns:1fr
    }
    .invite-card .large-symbol {
        position:absolute;
        right:25px;
        top:30px
    }
    .invite-card .button {
        max-width:340px
    }
    .invite-card p {
        max-width:80%
    }
    .invite-card h2 {
        font-size:26px
    }
    .event-row .badge {
        display:inline-block
    }
    .login-wrap {
        margin-top:20px
    }
    .topbar {
        font-size:10px
    }
}
@media(max-width:580px) {
    main {
        padding:24px 16px
    }
    .topbar {
        padding:0 18px
    }
    .page-heading {
        align-items:flex-start;
        flex-direction:column;
        gap:18px;
        margin-bottom:24px
    }
    .page-heading h1 {
        font-size:29px
    }
    .eyebrow {
        font-size:8px;
        letter-spacing:1.4px
    }
    .stats {
        gap:10px
    }
    .stat {
        padding:17px
    }
    .stat>span {
        font-size:10px
    }
    .stat strong {
        font-size:30px
    }
    .stat small {
        font-size:9px
    }
    .section-heading {
        padding:20px 16px
    }
    .section-heading h2 {
        font-size:16px
    }
    .section-heading>a {
        font-size:10px
    }
    .event-row {
        padding:18px 16px
    }
    .event-row .badge,.event-row .arrow {
        display:none
    }
    .club-grid,.form-grid {
        grid-template-columns:1fr
    }
    .form-grid .wide {
        grid-column:auto
    }
    .create-panel {
        padding:20px
    }
    .club-card {
        padding:22px
    }
    .link-field {
        padding:0 18px;
        flex-wrap:wrap
    }
    .link-field input {
        flex-basis:100%
    }
    .row-actions {
        padding:18px;
        gap:20px
    }
    .competition-meta {
        flex-direction:column;
        gap:10px;
        padding-inline:16px
    }
    .competition-card .section-heading {
        align-items:flex-start
    }
    .competition-card h2 {
        font-size:16px
    }
    .filters {
        gap:14px
    }
    .filters label {
        min-width:100%
    }
    .team-banner {
        padding:20px;
        gap:14px;
        flex-wrap:wrap
    }
    .deadline {
        margin-left:0;
        width:100%;
        text-align:left;
        border-top:1px solid #d5dbcf;
        padding-top:14px
    }
    .registration-intro {
        align-items:flex-start;
        flex-direction:column
    }
    .registration-wrap .page-heading h1 {
        font-size:27px
    }
    .entry-card {
        padding:19px 16px
    }
    .entry-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:17px 12px
    }
    .entry-grid label:last-child {
        grid-column:span 2
    }
    .entry-actions {
        align-items:flex-start;
        gap:20px
    }
    .entry-actions>div {
        flex-direction:column;
        align-items:flex-end;
        gap:15px
    }
    .entry-actions>.text-button {
        padding-top:10px
    }
    .entry-heading {
        align-items:flex-start
    }
    .entry-heading h3 {
        font-size:14px;
        white-space:nowrap
    }
    .save-status {
        font-size:10px
    }
    .login-wrap h1 {
        font-size:31px
    }
    .login-form {
        padding:23px
    }
    .notice {
        padding:15px;
        font-size:11px
    }
    footer {
        padding:20px 16px;
        font-size:9px;
        gap:20px
    }
    .nav-item {
        gap:7px
    }
    .registration-intro .button {
        width:100%
    }
}
.category-link { padding: 0 24px 20px; }
.category-settings { padding: 0 24px 22px; display: grid; gap: 18px; }
.category-weights { border-top: 1px solid var(--line); padding: 24px; }
.category-weights > h3 { margin-bottom: 18px; }
.weight-row { padding: 18px 0; border-top: 1px solid var(--line); }
.weight-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
.weight-heading small { display: block; color: var(--muted); margin-top: 5px; }
.weight-actions { display: grid; gap: 14px; margin-top: 14px; }
.category-empty { padding-bottom: 16px; font-size: 12px; }
.add-weight { border-top: 1px solid var(--line); padding-top: 18px; }
.category-preview { margin-top: 18px; font-size: 11px; }
.entry-grid label:last-child { grid-column: span 2; }
@media (max-width: 580px) {
    .category-settings, .category-weights { padding-inline: 16px; }
    .category-group > .section-heading { align-items: flex-start; flex-direction: column; }
    .category-link { padding-inline: 16px; }
    .category-link .button { white-space: normal; }
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs > span:last-child { color: var(--ink); }
.competition-summary { display: flex; flex-wrap: wrap; gap: 18px 28px; padding: 20px 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; font-size: 12px; color: var(--muted); }
.competition-summary strong { color: var(--ink); margin-left: 5px; }
.competition-summary a { margin-left: auto; }
.competition-list-intro { font-size: 12px; margin-bottom: 24px; }
.competition-club-card { display: block; transition: border-color .15s, box-shadow .15s; }
.competition-club-card:hover { color: var(--ink); border-color: #d49785; box-shadow: 0 3px 15px #17233008; }
.club-registration-counts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.club-open-label { border-top: 1px solid var(--line); padding-top: 16px; font-size: 12px; color: var(--accent); }
.category-link { display: flex; gap: 12px; flex-wrap: wrap; }
.participant-actions { padding: 0 0 20px; }
.participant-actions .row-actions { padding: 0; }
@media (max-width: 580px) {
    .competition-summary { padding: 18px; flex-direction: column; gap: 12px; }
    .competition-summary a { margin-left: 0; }
    .participant-actions { align-items: flex-start; flex-direction: column; }
}
.page-header-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.export-buttons { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.roster-export small { display: block; margin-top: 7px; font-size: 10px; color: var(--muted); text-align: right; }
@media (max-width: 580px) {
    .page-header-actions { align-items: flex-start; width: 100%; }
    .export-buttons { justify-content: flex-start; }
    .roster-export small { text-align: left; }
}
.draw-category-row, .draw-history-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 24px; border-top: 1px solid var(--line); }
.draw-category-row p { font-size: 12px; margin-top: 5px; }
.draw-category-row .row-actions { padding: 0; }
.draw-history-row { font-size: 12px; }
.draw-history-row > span:last-child { color: var(--muted); font-size: 11px; white-space: nowrap; }
.draw-options { display: grid; gap: 14px; margin: 24px 0 18px; }
.check-label { flex-direction: row; align-items: center; font-size: 12px; gap: 10px; }
.check-label input { width: 17px; height: 17px; min-height: 0; accent-color: var(--accent); }
.draw-note { font-size: 12px; margin-bottom: 24px; max-width: 850px; }
.bracket-scroll { overflow-x: auto; background: white; padding: 12px; }
.bracket-scroll > svg { display: block; width: 100%; min-width: 950px; height: auto; }
.bracket-sheet .section-heading { border-bottom: 1px solid var(--line); }
.draw-history-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.draw-version-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12px; }
.current-version { color: var(--accent); font-weight: 650; }
.draw-category-link { color: var(--accent); justify-self: start; }
.delete-form { display: inline-flex; margin: 0; }
.bulk-links-description { font-size: 12px; line-height: 1.7; margin: 14px 0 20px; max-width: 850px; }
.bulk-links-field { margin: 20px 0 16px; }
.bulk-links-field textarea { min-height: 300px; resize: vertical; line-height: 1.7; }
#bulk-links { scroll-margin-top: 24px; }
.delete-form button { white-space: nowrap; }
.card-delete-action { padding: 18px 24px; border-top: 1px solid var(--line); }
.club-card .card-delete-action { padding: 18px 0 0; margin-top: 18px; }
.draw-delete-action { margin: -6px 0 22px; }
.cleanup-description { font-size: 12px; line-height: 1.7; margin: 16px 0 22px; max-width: 800px; }
.cleanup-form { max-width: 440px; }
.danger-button { background: #a62f2b; border-color: #a62f2b; color: white; }
.danger-button:hover { background: #862521; border-color: #862521; color: white; }
@media (max-width: 580px) {
    .draw-category-row, .draw-history-row, .draw-history-controls { flex-direction: column; align-items: flex-start; gap: 16px; }
    .draw-category-row .row-actions { gap: 14px; }
    .draw-history-row > span:last-child { white-space: normal; }
}

.compact-registration { max-width: 1500px; --ink: #000; --muted: #000; color: #000; }
.compact-registration :is(h1, h2, h3, p, label, input, select, option, th, td, .eyebrow, .heading-count, .deadline, .deadline strong, .muted, .caption) { color: #000; }
.compact-registration .save-status:not(.error-text):not(.success-text) { color: #000; }
.compact-registration input::placeholder { color: #000; opacity: 1; }
.compact-registration .page-heading { margin-bottom: 16px; }
.compact-registration .page-heading h1 { font-size: 25px; }
.compact-registration .team-banner { padding: 14px 18px; margin: 16px 0; gap: 12px; }
.compact-registration .team-banner .club-avatar { width: 38px; height: 38px; font-size: 20px; }
.compact-registration .team-banner h2 { font-size: 18px; }
.compact-registration .registration-intro { margin: 20px 0 14px; gap: 16px; }
.compact-registration .registration-intro p { margin-top: 6px; line-height: 1.5; }
.registration-table-panel { overflow: hidden; }
.registration-table-scroll { overflow: auto; max-height: 70vh; }
.registration-table { width: 100%; min-width: 1394px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.registration-table caption.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.registration-table thead th { position: sticky; top: 0; z-index: 1; background: #eef1f4; padding: 10px 6px; font-size: 10px; white-space: nowrap; }
.registration-table td, .registration-table tbody th { padding: 8px 5px; vertical-align: top; border-bottom: 1px solid var(--line); }
.registration-table tbody tr:nth-child(even) { background: #f8fafb; }
.registration-table tbody tr:focus-within { background: #fff9f6; }
.registration-table .entry-col-number { width: 34px; }
.registration-table .entry-col-name { width: 128px; }
.registration-table .entry-col-gender { width: 96px; }
.registration-table .entry-col-birth-date { width: 130px; }
.registration-table .entry-col-age { width: 58px; }
.registration-table input[readonly] { background: #eef1f4; }
.registration-table .entry-col-weight { width: 74px; }
.registration-table .entry-col-rank { width: 78px; }
.registration-table .entry-col-level { width: 128px; }
.registration-table .entry-col-coach { width: 170px; }
.registration-coach-cell > .text-button { display: block; margin-top: 5px; color: #000; font-size: 10px; }
.registration-coach-editor { display: grid; gap: 6px; padding-top: 7px; }
.registration-coach-editor > div { display: flex; flex-wrap: wrap; gap: 10px; }
.registration-coach-editor .text-button { font-size: 10px; color: #000; }
.registration-table .entry-col-status { width: 170px; }
.registration-table .entry-col-actions { width: 100px; }
.registration-table input, .registration-table select { min-height: 33px; padding: 7px 5px; font-size: 11px; border-radius: 4px; }
.registration-table .entry-row-number { color: var(--muted); font-size: 11px; font-weight: 500; padding-top: 18px; text-align: center; }
.registration-table .field-error { display: block; font-size: 10px; line-height: 1.35; margin-top: 4px; overflow-wrap: anywhere; }
.registration-table .field-error:empty { display: none; }
.registration-table .entry-row-info p { font-size: 10px; line-height: 1.4; margin: 0 0 5px; }
.registration-table .save-status { display: block; max-width: none; text-align: left; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.entry-row-actions { display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
.entry-row-actions .button { padding: 7px 5px; min-height: 32px; font-size: 10px; }
.entry-row-actions .text-button { padding: 0; font-size: 10px; text-align: center; }
.entry-row-actions [hidden], .compact-registration [hidden] { display: none !important; }
.registration-table-footer { padding: 12px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 11px; }
.admin-shell { --ink: #000; --muted: #222; }
.admin-shell main { padding: 24px 28px; max-width: 1800px; }
.admin-shell .page-heading { gap: 16px; margin-bottom: 18px; }
.admin-shell .page-heading h1 { font-size: 25px; line-height: 1.25; }
.admin-shell .page-heading p { margin-top: 5px; font-size: 12px; color: #000; }
.admin-shell .eyebrow { margin-bottom: 5px; letter-spacing: 1px; color: #222; }
.admin-shell .panel { margin-bottom: 16px; border-radius: 9px; }
.admin-shell .section-heading { padding: 13px 16px; gap: 12px; }
.admin-shell .section-heading h2 { font-size: 16px; }
.admin-shell .section-heading > a, .admin-shell .muted, .admin-shell .caption, .admin-shell td small { color: #222; }
.admin-shell .create-panel { padding: 14px 16px; }
.admin-shell .create-panel h2 { font-size: 16px; }
.admin-shell summary { font-size: 12px; color: #000; }
.admin-shell .form-grid { gap: 12px; }
.admin-shell details[open] > summary { margin-bottom: 14px; }
.admin-shell label { color: #000; font-size: 11px; gap: 5px; }
.admin-shell input, .admin-shell select { min-height: 35px; padding: 8px 9px; font-size: 12px; color: #000; }
.admin-shell input::placeholder { color: #555; }
.admin-shell .button { padding: 9px 13px; font-size: 12px; }
.admin-shell .button.small { padding: 6px 10px; font-size: 11px; }
.admin-shell .text-button:not(.danger) { color: #000; }
.admin-shell .notice { padding: 12px 15px; margin-bottom: 16px; font-size: 12px; line-height: 1.5; }
.admin-shell .table-wrap { max-height: 72vh; }
.admin-shell table { font-size: 12px; min-width: 680px; }
.admin-shell thead th { position: sticky; top: 0; z-index: 2; padding: 10px 12px; color: #000; background: #eef1f4; font-size: 11px; letter-spacing: 0; font-weight: 600; }
.admin-shell td { padding: 10px 12px; color: #000; line-height: 1.4; }
.admin-shell td strong { font-size: 12px; font-weight: 600; }
.admin-shell tbody tr:not(.admin-group-row):not(.admin-edit-row):hover { background: #f8fafc; }
.admin-shell .badge { font-size: 10px; padding: 4px 7px; white-space: nowrap; }
.admin-shell [hidden] { display: none !important; }
.admin-table { min-width: 720px; }
.admin-table .nowrap { white-space: nowrap; }
.admin-table .numeric-cell { text-align: center; font-variant-numeric: tabular-nums; }
.admin-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; }
.admin-row-actions > a, .admin-row-actions .text-button { font-size: 11px; white-space: nowrap; }
.admin-row-actions form { margin: 0; }
.admin-cell-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 5px; font-size: 11px; }
.admin-cell-links a, .admin-row-actions > a { text-decoration: underline; text-underline-offset: 3px; }
.admin-shell .admin-edit-row > td { background: #f3f6f8; padding: 16px; border-bottom: 1px solid var(--line); }
.admin-shell .admin-empty { padding: 22px 16px; text-align: center; color: #222; }
.admin-link-cell { display: flex; align-items: center; gap: 9px; min-width: 280px; }
.admin-link-cell input { min-width: 180px; flex: 1; background: #f7f9fb; }
.admin-shell .admin-group-row th { padding: 12px; background: #e8edf1; color: #000; letter-spacing: 0; white-space: normal; }
.admin-group-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; font-size: 12px; }
.admin-group-heading strong { font-size: 13px; font-weight: 650; }
.admin-group-heading span { font-size: 11px; font-weight: 400; margin-left: 10px; }
.admin-inline-details > .form-grid { margin-top: 14px; }
.admin-shell .admin-add-row td { padding: 10px 12px; background: #fafbfc; }
.admin-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; align-items: start; }
.admin-quick-actions { display: flex; flex-direction: column; gap: 13px; padding: 16px; font-size: 12px; }
.admin-quick-actions h2 { font-size: 16px; }
.admin-shell .stats { gap: 12px; margin-bottom: 16px; }
.admin-shell .stat { padding: 16px; border-radius: 9px; }
.admin-shell .stat strong { font-size: 28px; line-height: 1.2; margin: 8px 0; }
.admin-shell .stat > span, .admin-shell .stat small { color: #222; }
.admin-shell .filters { padding: 14px 16px; gap: 12px; }
.admin-shell .competition-summary { padding: 12px 16px; gap: 10px 20px; margin-bottom: 16px; }
.admin-shell .team-banner { padding: 15px 18px; margin: 16px 0; }
.admin-shell .page-header-actions { gap: 8px; }
.admin-shell .breadcrumbs { margin-bottom: 14px; }
.admin-shell .draw-options { margin: 16px 0; gap: 10px; }
.admin-shell .check-label input { min-height: 0; width: 16px; height: 16px; padding: 0; }
.admin-shell .draw-note { margin-bottom: 16px; }
@media (max-width: 1100px) {
    .admin-overview-grid { grid-template-columns: minmax(0, 1fr); }
    .admin-quick-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (max-width: 580px) {
    .admin-shell main { padding: 18px 12px; }
    .admin-shell .page-heading h1 { font-size: 22px; }
    .admin-group-heading, .admin-group-heading > div { align-items: flex-start; }
    .admin-group-heading span { display: block; margin: 4px 0 0; }
}
@media (max-width: 580px) {
    .compact-registration .team-banner { padding: 12px; }
    .compact-registration .page-heading h1 { font-size: 21px; }
}
