.home-page {
    --home-ink: #172b27;
    --home-muted: #65736f;
    --home-line: #dce4df;
    --home-green: #285d4a;
    --home-orange: #c65a37;
    flex: 1 0 auto;
    color: var(--home-ink);
    background: #f3f6f2;
}

.home-container {
    max-width: 1040px;
}

.auth-page {
    min-height: calc(100vh - 110px);
}

.auth-content-section {
    padding: 30px 0 52px;
    background-color: #f3f6f2;
    background-image: linear-gradient(rgba(40, 93, 74, .035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(40, 93, 74, .035) 1px, transparent 1px);
    background-size: 28px 28px;
}

.auth-container {
    max-width: 1040px;
}

.auth-intro {
    margin-bottom: 18px;
}

.auth-panel {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 24px 28px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(23, 43, 39, .06);
}

.auth-form {
    width: 100%;
}

.auth-form .row {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.auth-form .row > .row {
    display: block;
    margin: 0 0 15px;
}

.auth-form .form-label {
    display: block;
    margin: 0 0 6px;
    padding: 0 12px;
    color: #344943;
    font-size: 13px;
    font-weight: 650;
}

.auth-form .form-control,
.auth-form .raw input {
    width: calc(100% - 24px);
    min-height: 44px;
    margin: 0 12px;
}

.auth-form .raw input {
    display: block;
}

.auth-form .raw .form-label {
    padding: 0 12px;
}

.auth-form input[type="submit"] {
    width: calc(100% - 24px);
    min-height: 46px;
    margin: 0 12px;
}

.auth-form .error-msg,
.auth-form .server-response {
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #e9b5a9;
    border-radius: 4px;
    color: #8d3527;
    font-size: 13px;
    text-align: left;
}

.auth-form #error-msg {
    border: 0;
    padding: 0;
    background: transparent;
}

.auth-form .server-response.success-msg {
    border-color: #b8d5c4;
    color: var(--home-green);
}

.auth-alternate-link {
    color: var(--home-muted);
    font-size: 13px;
}

.auth-alternate-link a {
    color: var(--home-green);
    font-weight: 700;
}

.auth-alternate-link a:hover {
    color: var(--home-orange);
}

.home-intro-section {
    padding: 30px 0 26px;
    background-color: #f3f6f2;
    background-image: linear-gradient(rgba(40, 93, 74, .035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(40, 93, 74, .035) 1px, transparent 1px);
    background-size: 28px 28px;
}

.home-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    padding: 31px 34px;
    border-radius: 5px;
    background: var(--home-ink);
    color: #fff;
}

.home-intro::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 7px;
    height: 100%;
    background: var(--home-orange);
    content: "";
}

.home-intro-copy {
    min-width: 0;
}

.home-eyebrow,
.home-section-eyebrow {
    margin: 0 0 10px;
    color: #9fcbb4;
    font-size: 11px;
    font-weight: 800;
}

.home-eyebrow span {
    display: inline-block;
    width: 18px;
    height: 2px;
    margin: 0 7px 3px;
    background: var(--home-orange);
}

.home-intro h1 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 750;
    line-height: 1.12;
}

.home-intro-lead {
    margin: 11px 0 6px;
    color: #fff;
    font-size: 17px;
    font-weight: 650;
}

.home-intro-detail {
    max-width: 670px;
    margin: 0;
    color: #bdccc5;
    font-size: 13px;
    line-height: 1.6;
}

.home-intro-aside {
    display: grid;
    gap: 7px;
    align-content: center;
    min-height: 112px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.home-aside-index {
    color: #e58c6f;
    font-size: 12px;
    font-weight: 800;
}

.home-intro-aside strong {
    color: #fff;
    font-size: 14px;
}

.home-intro-aside .profile-role-label {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.home-intro-aside > span:last-child {
    color: #bdccc5;
    font-size: 12px;
    line-height: 1.45;
}

.home-events-section {
    padding: 8px 0 52px;
}

.home-events-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin: 0 0 15px;
}

.home-section-eyebrow {
    margin-bottom: 4px;
    color: var(--home-green);
    font-size: 10px;
}

.home-events-heading h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: 23px;
    font-weight: 750;
}

.home-events-count {
    padding-bottom: 2px;
    color: var(--home-muted);
    font-size: 12px;
}

.home-events-list {
    display: grid;
    gap: 8px;
}

.home-event-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 94px;
    padding: 14px 18px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
    transition: border-color .16s ease, transform .16s ease;
}

.home-event-row:hover {
    transform: translateY(-1px);
    border-color: #9cb8aa;
}

.home-event-date {
    display: grid;
    gap: 4px;
    align-content: center;
    min-height: 48px;
    padding-left: 13px;
    border-left: 3px solid var(--home-orange);
}

.home-event-date span {
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
}

.home-event-date strong {
    color: var(--home-ink);
    font-size: 15px;
    font-weight: 750;
    white-space: nowrap;
}

.home-event-info {
    min-width: 0;
}

.home-event-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.home-event-info h3 a {
    color: var(--home-ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.home-event-info h3 a:hover {
    color: var(--home-green);
    text-decoration: underline;
}

.home-event-info p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--home-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.home-location-mark {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--home-green);
}

.home-event-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 4px;
    background: var(--home-green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease;
}

.home-event-action:hover {
    background: #1c4938;
    color: #fff;
}

.home-event-action:disabled {
    background: #777;
    color: #fff;
    cursor: not-allowed;
    opacity: .75;
}

.home-event-action span {
    color: #b6d8c6;
    font-size: 17px;
    line-height: 1;
}

.home-registration-state {
    display: grid;
    justify-items: end;
    gap: 6px;
    max-width: 220px;
    text-align: right;
}

.home-registered-badge {
    display: inline-block;
    padding: 6px 9px;
    border: 1px solid #b8d5c4;
    border-radius: 3px;
    background: #eaf4ed;
    color: #285d4a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.home-registered-disciplines {
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.home-empty-state {
    display: grid;
    gap: 6px;
    padding: 20px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
}

.home-empty-state strong {
    color: var(--home-ink);
    font-size: 15px;
}

.home-empty-state span {
    color: var(--home-muted);
    font-size: 13px;
}

.competition-content-section {
    padding-top: 8px;
}

.competition-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 27px;
}

.competition-detail-card {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
}

.competition-detail-label {
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
}

.competition-detail-card strong {
    color: var(--home-ink);
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.competition-section-heading {
    margin-bottom: 12px;
}

.competition-discipline-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.competition-discipline-list li {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-height: 58px;
    padding: 10px 16px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
}

.competition-discipline-number {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: var(--home-green);
    font-size: 11px;
    font-weight: 800;
}

.competition-discipline-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.competition-discipline-list li strong {
    color: var(--home-ink);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.competition-discipline-full-name {
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.competition-discipline-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.competition-discipline-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 8px;
    border: 1px solid var(--home-line);
    border-radius: 3px;
    color: #52635d;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.competition-discipline-badge.is-paid {
    border-color: #b8d5c4;
    background: #eaf4ed;
    color: var(--home-green);
}

.competition-discipline-badge.is-due {
    border-color: #edc8bb;
    background: #fff3ee;
    color: #9a452d;
}

.competition-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 20px;
}

.competition-registration-status {
    display: grid;
    gap: 4px;
    padding: 12px 15px;
    border: 1px solid #b8d5c4;
    border-radius: 4px;
    background: #eaf4ed;
    color: var(--home-green);
    font-size: 13px;
}

.competition-registration-status span {
    color: #526b5d;
    font-size: 12px;
}

.competition-back-link {
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.competition-back-link:hover {
    color: var(--home-orange);
    text-decoration: underline;
}

.registration-success-content {
    padding-top: 8px;
}

.registration-success-card {
    padding: 22px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
}

.registration-success-card > .home-events-heading {
    align-items: center;
    margin-bottom: 18px;
}

.registration-success-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.registration-success-details > div {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #f9fbf9;
}

.registration-success-details span {
    color: var(--home-muted);
    font-size: 9px;
    font-weight: 800;
}

.registration-success-details strong {
    color: var(--home-ink);
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.registration-success-discipline-heading {
    margin-bottom: 12px;
}

.registration-success-notice {
    display: grid;
    gap: 4px;
    margin-top: 19px;
    padding: 12px 15px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 12px;
}

.registration-success-notice.is-success {
    border-color: #b8d5c4;
    background: #eaf4ed;
    color: var(--home-green);
}

.registration-success-notice.is-warning {
    border-color: #edc8bb;
    background: #fff3ee;
    color: #9a452d;
}

.registration-success-notice span {
    color: var(--home-muted);
}

.registration-success-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.profile-page {
    min-height: calc(100vh - 110px);
}

.profile-content-section {
    padding: 30px 0 52px;
    background-color: #f3f6f2;
    background-image: linear-gradient(rgba(40, 93, 74, .035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(40, 93, 74, .035) 1px, transparent 1px);
    background-size: 28px 28px;
}

.profile-intro {
    margin-bottom: 20px;
}

.profile-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.profile-admin-link:hover {
    border-color: #e58c6f;
    color: #f1b49f;
}

.profile-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
}

.profile-panel {
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
}

.profile-panel-heading {
    margin-bottom: 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--home-line);
}

.profile-panel-heading .home-section-eyebrow {
    margin-bottom: 4px;
}

.profile-panel-heading h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: 20px;
    font-weight: 750;
}

.profile-data-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.profile-data-item {
    min-width: 0;
}

.profile-data-item dt {
    margin-bottom: 4px;
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-data-item dd {
    margin: 0;
    color: var(--home-ink);
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.profile-pesel-toggle {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.profile-pesel-toggle-label {
    color: var(--home-green);
    font-size: 12px;
    font-weight: 600;
}

.profile-edit-button,
.profile-cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 40px;
    padding: 9px 13px;
    border: 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

.profile-edit-button {
    margin-top: 19px;
    background: var(--home-green);
    color: #fff;
}

.profile-edit-button:hover {
    background: #1c4938;
    color: #fff;
}

.profile-edit-form .form-label {
    margin: 0 0 6px;
    color: #344943;
    font-size: 12px;
    font-weight: 700;
}

.profile-edit-form .form-control {
    min-height: 42px;
}

.profile-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.profile-edit-actions .profile-edit-button {
    margin-top: 0;
}

.profile-cancel-button {
    border: 1px solid var(--home-line);
    background: #fff;
    color: var(--home-ink);
}

.profile-cancel-button:hover {
    background: #edf2ee;
}

.profile-message {
    margin-bottom: 14px;
    padding: 12px 15px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
}

.profile-message.is-success {
    border-color: #b8d5c4;
    color: var(--home-green);
}

.profile-message.is-error {
    border-color: #e9b5a9;
    color: #8d3527;
}

.profile-message.is-warning {
    border-color: #e9b5a9;
    background: #fff;
    color: #8d3527;
    font-weight: 700;
}

.profile-competitions-panel {
    margin-bottom: 18px;
}

.profile-competition-list {
    display: grid;
    gap: 14px;
}

.profile-competition-card {
    padding: 18px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
}

.profile-competition-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.profile-competition-heading h3,
.profile-competition-heading h2 {
    margin: 0 0 4px;
    color: var(--home-ink);
    font-size: 17px;
    font-weight: 750;
}

.profile-competition-heading p {
    margin: 0;
    color: var(--home-muted);
    font-size: 13px;
}

.profile-competition-heading > strong {
    font-size: 14px;
}

.profile-competition-heading .is-paid {
    color: var(--home-green);
}

.profile-competition-heading .is-unpaid {
    color: #8d3527;
}

.profile-unpaid-disciplines,
.profile-request-history ul {
    margin: 0 0 16px;
    padding-left: 20px;
    color: var(--home-ink);
    font-size: 13px;
}

.profile-competition-change {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--home-line);
}

.profile-competition-change h4,
.profile-request-history h3 {
    margin: 0 0 10px;
    color: var(--home-ink);
    font-size: 14px;
    font-weight: 750;
}

.profile-registered-disciplines,
.profile-additional-disciplines {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.profile-discipline-request {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--home-line);
    font-size: 13px;
}

.profile-discipline-request small {
    color: var(--home-muted);
}

.profile-discipline-request .profile-request-pending {
    color: #8d3527;
    font-weight: 700;
}

.profile-additional-disciplines label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--home-ink);
    font-size: 13px;
}

.profile-additional-discipline {
    display: grid;
    gap: 6px;
}

.profile-add-weapon-choice {
    max-width: 320px;
    min-height: 36px;
    padding: 6px 9px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
    color: var(--home-ink);
}

.profile-add-weapon-choice:disabled {
    display: none;
}

.profile-request-button,
.profile-cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--home-green);
    border-radius: 4px;
    background: var(--home-green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.profile-request-button:hover {
    background: #1c4938;
    color: #fff;
}

.profile-request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-request-actions form {
    margin: 0;
}

.profile-request-actions .profile-cancel-button {
    margin: 0;
    border-color: var(--home-line);
    background: #fff;
    color: var(--home-ink);
}

.profile-refund-notice {
    color: #8d3527;
    font-weight: 700;
}

.profile-request-history {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--home-line);
}

.profile-request-history li {
    margin-bottom: 8px;
}

.admin-page {
    min-height: calc(100vh - 110px);
}

.admin-content-section {
    padding: 30px 0 52px;
    background-color: #f3f6f2;
    background-image: linear-gradient(rgba(40, 93, 74, .035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(40, 93, 74, .035) 1px, transparent 1px);
    background-size: 28px 28px;
}

.admin-intro {
    margin-bottom: 18px;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.admin-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-toolbar-actions .btn {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 12px;
}

.admin-toolbar-note {
    color: var(--home-muted);
    font-size: 12px;
}

.admin-competition-card {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
}

.admin-competition-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--home-line);
    background: #fff;
}

.admin-competition-heading {
    min-width: 0;
}

.admin-competition-title {
    margin: 0 0 5px;
    color: var(--home-ink);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.admin-competition-meta {
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.5;
}

.admin-competition-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-competition-actions .btn {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 11px;
}

.admin-competition-actions form {
    margin: 0;
}

.admin-competition-actions .btn-outline-light {
    border-color: var(--home-line);
    color: var(--home-green);
}

.admin-competition-actions .btn-outline-light:hover {
    border-color: var(--home-green);
    background: var(--home-green);
    color: #fff;
}

.admin-competition-body {
    padding: 4px 20px 18px;
}

.admin-station-schedule {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--home-line);
}

.admin-station-schedule .admin-discipline-heading {
    margin-bottom: 12px;
}

.admin-station-schedule .admin-discipline-heading small {
    display: block;
    margin-top: 4px;
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 500;
}

.admin-station-edit-form {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 235px;
}

.admin-station-edit-form .form-select {
    min-width: 66px;
    padding: 5px 22px 5px 7px;
    font-size: 12px;
}

.admin-station-edit-form .btn {
    flex: 0 0 auto;
}

.admin-station-schedule .table-striped > tbody > tr.admin-station-free-row > * {
    --bs-table-bg: #fff3cd;
    --bs-table-accent-bg: #fff3cd;
    background-color: #fff3cd !important;
    box-shadow: inset 0 0 0 9999px #fff3cd;
}

.admin-station-schedule .admin-station-free-row > td[colspan] {
    color: #765b00;
}

.admin-station-schedule .table-striped > tbody > tr.admin-station-wait-row > * {
    --bs-table-bg: #fff0db;
    --bs-table-accent-bg: #fff0db;
    background-color: #fff0db !important;
    box-shadow: inset 0 0 0 9999px #fff0db;
}

.admin-station-wait-badge {
    display: inline-block;
    margin-left: 5px;
    font-size: 11px;
}

.hourly-capacity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}

.hourly-capacity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 9px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    color: var(--home-ink);
    font-size: 13px;
    font-weight: 650;
}

.hourly-capacity-row .form-control {
    width: 76px;
}

.admin-payments-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--home-line);
}

.admin-payments-intro > div {
    display: grid;
    gap: 3px;
}

.admin-payments-intro span {
    color: var(--home-green);
    font-size: 9px;
    font-weight: 800;
}

.admin-payments-intro strong {
    color: var(--home-ink);
    font-size: 14px;
}

.admin-payments-intro small {
    color: var(--home-muted);
    font-size: 11px;
}

.admin-discipline-section {
    margin-top: 17px;
}

.admin-discipline-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--home-line);
    color: var(--home-green);
    font-size: 14px;
    font-weight: 650;
}

.admin-discipline-heading strong {
    color: var(--home-ink);
    font-weight: 750;
}

.admin-registration-count {
    padding: 5px 8px;
    border: 1px solid var(--home-line);
    border-radius: 3px;
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-competition-body .table-responsive {
    border: 1px solid var(--home-line);
    border-radius: 3px;
}

.admin-competition-body .table {
    margin-bottom: 0;
}

.admin-competition-body .table td {
    font-size: 12px;
    vertical-align: middle;
}

.admin-player-name {
    display: block;
    color: var(--home-ink);
    font-size: 13px;
}

.admin-player-details {
    display: block;
    margin-top: 4px;
    color: var(--home-muted);
    font-size: 10px;
    line-height: 1.45;
}

.admin-player-disciplines {
    display: grid;
    gap: 5px;
    min-width: 290px;
}

.admin-player-discipline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 7px 8px;
    border: 1px solid var(--home-line);
    border-radius: 3px;
    background: #fff;
}

.admin-player-discipline-top {
    display: grid;
    grid-template-columns: minmax(95px, 1fr) auto auto;
    align-items: center;
    gap: 10px;
}

.admin-player-discipline.is-withdrawn {
    border-color: #ead8a7;
    background: #fffaf0;
}

.admin-player-discipline-name {
    color: var(--home-ink);
    font-size: 11px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.admin-discipline-due {
    color: var(--home-green);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.admin-withdrawn-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 4px;
    border-radius: 2px;
    background: #f2e6c6;
    color: #705722;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.admin-payment-form,
.admin-payment-amount-form,
.admin-payment-all-form {
    margin: 0;
}

.admin-payment-form label,
.admin-payment-all-form label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: var(--home-muted);
    font-size: 10px;
    white-space: nowrap;
    cursor: pointer;
}

.admin-payment-form .form-check-input,
.admin-payment-all-form .form-check-input {
    float: none;
    margin: 0;
}

.admin-player-discipline .btn {
    min-height: 27px;
    padding: 4px 7px;
    font-size: 10px;
}

.admin-payment-amount-form .input-group {
    max-width: 265px;
}

.admin-payment-amount-form .form-control {
    min-width: 70px;
    min-height: 29px;
    padding: 3px 7px;
    font-size: 11px;
}

.admin-payment-amount-form .input-group-text {
    padding: 3px 7px;
    font-size: 10px;
}

.admin-discipline-paid-summary {
    color: var(--home-muted);
    font-size: 10px;
}

.admin-discipline-paid-summary .js-discipline-paid-amount {
    color: var(--home-ink);
    font-weight: 750;
}

.admin-payment-all-form {
    display: grid;
    justify-items: start;
    gap: 5px;
}

.admin-payment-all-form label {
    color: var(--home-green);
    font-weight: 750;
}

.admin-payment-all-form > span {
    padding-left: 21px;
    color: var(--home-muted);
    font-size: 10px;
}

.admin-payment-total {
    color: var(--home-muted);
    font-size: 12px !important;
    font-weight: 750;
}

.admin-payment-total .js-player-paid-total {
    color: var(--home-green);
}

.admin-competition-body .table .btn {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 10px;
    white-space: nowrap;
}

.admin-empty-state {
    padding: 14px 16px;
    border: 1px solid var(--home-line);
    border-radius: 4px;
    background: #fff;
    color: var(--home-muted);
    font-size: 13px;
}

@media (max-width: 767.98px) {
    .auth-content-section {
        padding: 20px 0 36px;
    }

    .auth-panel {
        padding: 20px 15px;
    }

    .home-intro-section {
        padding: 20px 0 17px;
    }

    .home-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 23px 21px;
    }

    .home-intro h1 {
        font-size: 28px;
    }

    .home-intro-lead {
        font-size: 15px;
    }

    .home-intro-aside {
        grid-template-columns: auto 1fr;
        align-items: center;
        min-height: 0;
        padding: 12px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .18);
        border-left: 0;
    }

    .home-aside-index {
        grid-row: span 2;
        padding-right: 5px;
    }

    .home-events-section {
        padding-top: 8px;
    }

    .competition-details-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-bottom: 23px;
    }

    .registration-success-card {
        padding: 16px 13px;
    }

    .registration-success-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-bottom: 21px;
    }

    .competition-detail-card {
        padding: 13px 15px;
    }

    .competition-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .competition-discipline-list li {
        grid-template-columns: 29px minmax(0, 1fr);
        gap: 9px 11px;
        padding: 12px;
    }

    .competition-discipline-badges {
        grid-column: 2;
        justify-content: flex-start;
    }

    .home-event-row {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
    }

    .home-event-date {
        grid-row: span 2;
        padding-left: 9px;
    }

    .home-event-date strong {
        font-size: 13px;
    }

    .home-event-info h3 {
        font-size: 14px;
    }

    .home-event-action {
        grid-column: 2;
        justify-self: start;
        min-height: 36px;
    }

    .home-registration-state {
        grid-column: 2;
    }

    .profile-content-section {
        padding: 20px 0 36px;
    }

    .profile-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-panel {
        padding: 19px;
    }

    .admin-content-section {
        padding: 20px 0 36px;
    }

    .admin-competition-header {
        align-items: flex-start;
        padding: 15px;
    }

    .admin-competition-actions {
        width: 100%;
    }

    .admin-competition-body {
        padding: 3px 12px 14px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .home-event-row,
    .home-event-action {
        transition: none;
    }

    .home-event-row:hover {
        transform: none;
    }
}