/* ============================================================
   reg.css
   ============================================================ */
.auth-section {
    padding: 70px 0 90px;
    background: var(--color-cream)
}

.auth-eyebrow {
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    font-family: var(--font-label)
}

.auth-heading {
    color: var(--color-navy);
    font-weight: 700;
    font-size: var(--fs-display)
}

/* ========================================================
   Card shell (single-column, form-only)
   ======================================================== */
.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #edf1f2
}

/* ---- form panel ---- */
.auth-main {
    padding: 46px 50px 44px
}

/* ========================================================
   Tabs (Login / Registration). The forgot-password panel
   is intentionally NOT represented here — it has no tab,
   no button, and no aria-controls entry in this list; it is
   reached only via the text link inside the login panel.
   ======================================================== */
.auth-tabs {
    display: flex;
    background: #f1f5f6;
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 36px
}

.auth-tab {
    flex: 1;
    border: 0;
    background: transparent;
    font-family: var(--font-label);
    font-size: var(--fs-body-sm);
    font-weight: 500;
    letter-spacing: .3px;
    color: #5a6670;
    padding: 11px 26px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease
}

.auth-tab.is-active {
    background: var(--color-navy);
    color: #fff
}

.auth-tab:not(.is-active):hover {
    color: var(--color-navy)
}

/* ========================================================
   Flash alert
   ======================================================== */
.auth-alert {
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-body-sm);
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid transparent
}

.auth-alert--error {
    background: #fdecec;
    border-color: #f3c6c6;
    color: #a3282c
}

.auth-alert--success {
    background: #e5f5f6;
    border-color: #bfe4e6;
    color: var(--color-teal-dark)
}

/* ========================================================
   Panels
   ======================================================== */
.auth-panel {
    display: none
}

.auth-panel.is-active {
    display: block;
    animation: auth-fade .25s ease
}

@keyframes auth-fade {
    from {
        opacity: 0;
        transform: translateY(4px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.auth-panel__intro {
    margin-bottom: 30px;
    text-align: center
}

.auth-panel__intro h3 {
    font-size: var(--fs-h3);
    color: var(--color-navy);
    margin-bottom: 6px
}

.auth-panel__intro p {
    font-size: var(--fs-body-sm);
    color: var(--color-muted);
    margin: 0
}

/* ========================================================
   Form fieldsets — registration is long, so it is grouped
   into labelled clusters, each set apart as its own block
   rather than one continuous list.
   ======================================================== */
.auth-fieldset {
    margin-bottom: 26px;
    padding: 22px 24px;
    background: #fafbfc;
    border: 1px solid #eef1f3;
    border-radius: var(--radius-md)
}

.auth-fieldset.v-2 {
    padding: 22px 24px 6px;
}

.auth-fieldset:last-of-type {
    margin-bottom: 8px
}

.auth-fieldset__label {
    display: inline-block;
    font-family: var(--font-label);
    font-size: var(--fs-micro);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-navy);
    padding-bottom: 8px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--color-gold)
}

/* ========================================================
   Fields
   ======================================================== */
.auth-field {
    margin-bottom: 18px
}

.auth-field label {
    display: block;
    font-size: var(--fs-caption);
    font-weight: 600;
    color: #33404a;
    margin-bottom: 6px
}

.auth-field .form-control,
.auth-field .form-select {
    width: 100%;
    border: 1px solid #d9e1e5;
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: var(--fs-body-sm);
    color: var(--color-ink);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease
}

.auth-field .form-control:focus,
.auth-field .form-select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(0, 139, 153, .14);
    background: #fff;
    outline: none
}

.auth-field .form-control::placeholder {
    color: #9aa5ad
}

/* radio-style pill choices (title, gender, food preference) */
.auth-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.auth-choice {
    position: relative
}

.auth-choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.auth-choice span {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border: 1px solid #d9e1e5;
    border-radius: 999px;
    font-size: var(--fs-caption);
    color: #4a5560;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease
}

.auth-choice input:checked+span {
    border-color: var(--color-teal);
    background: #e5f5f6;
    color: var(--color-teal-dark);
    font-weight: 600
}

.auth-choice input:focus-visible+span {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px
}

/* password helper row */
.auth-field__hint {
    font-size: var(--fs-micro);
    color: var(--color-muted);
    margin-top: 6px;
    margin-bottom: 20px
}

.auth-forgot-link {
    display: inline-block;
    margin-top: 8px;
    font-size: var(--fs-caption);
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 600
}

.auth-forgot-link:hover {
    color: var(--color-teal-dark);
    text-decoration: underline
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-caption);
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 22px
}

.auth-back-link:hover {
    color: var(--color-teal-dark)
}

.auth-submit {
    width: 100%;
    padding: 14px;
    font-size: var(--fs-body-sm);
    margin-top: 10px
}

.auth-switch-note {
    text-align: center;
    font-size: var(--fs-caption);
    color: var(--color-muted);
    margin-top: 22px
}

.auth-switch-note button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--color-teal);
    font-weight: 600;
    cursor: pointer
}

.auth-switch-note button:hover {
    text-decoration: underline
}

/* ========================================================
   Show/hide password toggle
   ======================================================== */
.auth-password-field {
    position: relative
}

.auth-password-field .form-control {
    padding-right: 2.75rem
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: .75rem;
    transform: translateY(-50%);
    background: none;
    border: 0;
    padding: 4px;
    color: var(--color-muted);
    cursor: pointer;
    line-height: 1;
    transition: color .15s ease
}

.auth-password-toggle:hover {
    color: var(--color-navy)
}

.auth-password-toggle:focus-visible {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
    border-radius: 4px
}

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 767px) {
    .auth-section {
        padding: 44px 0 60px
    }

    .auth-main {
        padding: 34px 20px 30px
    }

    .auth-fieldset {
        padding: 18px 16px
    }

    .auth-fieldset.v-2 {
        padding: 18px 16px 4px
    }

    .auth-tab {
        text-align: center;
        padding: 10px 12px
    }
}


/* ============================================================
   registration.css  (redesigned: guided-flow layout)
   ============================================================ */
.reg-section {
    padding: 48px 0 90px;
    background: var(--color-cream)
}

.reg-eyebrow {
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    font-family: var(--font-label)
}

.reg-heading {
    color: var(--color-navy);
    font-weight: 700;
    font-size: var(--fs-display);
    margin-bottom: 10px
}

.reg-intro p {
    color: var(--color-muted);
    font-size: var(--fs-body-sm);
    max-width: 640px
}

/* ========================================================
   Panel shell (reused across cards on this page)
   ======================================================== */
.reg-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid #edf1f2;
    padding: 32px 36px;
    width: 100%
}

.reg-panel__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-gold)
}

.reg-panel__title {
    font-family: var(--font-label);
    font-size: var(--fs-micro);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-navy)
}

/* standalone title (no head wrapper needed) keeps old selector working */
/* span.reg-panel__title:only-child {
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-gold)
} */

.reg-optional-tag {
    font-size: var(--fs-micro);
    font-weight: 600;
    color: var(--color-muted);
    background: #f1f4f5;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap
}

.reg-panel__note {
    color: var(--color-muted);
    font-size: var(--fs-body-sm);
    margin: -8px 0 20px
}

/* ========================================================
   Guided flow — numbered rail connecting steps 1-3
   ======================================================== */
.reg-flow {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.reg-flow-step {
    display: flex;
    gap: 20px;
    align-items: flex-start
}

.reg-flow-step__body {
    flex: 1;
    min-width: 0;
    padding-bottom: 28px
}

/* ========================================================
   Fee phase badge + countdown
   ======================================================== */
.reg-phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #e5f5f6;
    color: var(--color-teal-dark);
    font-size: var(--fs-caption);
    font-weight: 600;
    margin-bottom: 22px
}

.reg-phase-badge strong {
    font-weight: 700
}

.reg-phase-badge--urgent {
    background: #fbf3e4;
    color: #93701f
}

/* category radio cards */
.reg-category-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px
}

.reg-category {
    position: relative
}

.reg-category input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.reg-category span {
    display: block;
    border: 1px solid #d9e1e5;
    border-radius: var(--radius-md);
    padding: 16px 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease
}

.reg-category input:checked+span {
    border-color: var(--color-teal);
    background: #f2fafb;
    box-shadow: inset 0 0 0 1px var(--color-teal)
}

.reg-category input:focus-visible+span {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px
}

.reg-category__name {
    display: block;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 4px
}

.reg-category__price {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    color: var(--color-teal-dark)
}

/* ========================================================
   Disclosures — details/summary for content that supports
   a decision but isn't itself a decision (pricing table,
   what's included). Collapsed by default so they don't
   compete with the actionable choices.
   ======================================================== */
.reg-disclosure {
    margin-top: 20px;
    border-top: 1px dashed #e3e8ea;
    padding-top: 16px
}

.reg-disclosure summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-body-sm);
    font-weight: 600;
    color: var(--color-teal-dark)
}

.reg-disclosure summary::-webkit-details-marker {
    display: none
}

.reg-disclosure summary::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid var(--color-teal-dark);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: transform .15s ease;
    flex-shrink: 0
}

.reg-disclosure[open] summary::before {
    transform: rotate(90deg)
}

.reg-disclosure__body {
    margin-top: 16px
}

/* fee comparison table, nested inside the disclosure */
.reg-fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-body-sm)
}

.reg-fee-table th,
.reg-fee-table td {
    padding: 12px 14px;
    text-align: center;
    border-bottom: 1px solid #edf1f2
}

.reg-fee-table th {
    font-family: var(--font-label);
    font-size: var(--fs-micro);
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-muted);
    font-weight: 500
}

.reg-fee-table__date {
    display: block;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: var(--fs-micro);
    color: #aeb8bf;
    margin-top: 2px
}

.reg-fee-table td:first-child,
.reg-fee-table th:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--color-navy)
}

.reg-fee-table td.is-current-phase {
    background: #e5f5f6;
    color: var(--color-teal-dark);
    font-weight: 700;
    border-radius: 6px
}

/* what's included checklist */
.reg-included-strip__title {
    display: block;
    font-size: var(--fs-caption);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 10px
}

.reg-included-strip ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px 16px
}

.reg-included-strip li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-body-sm);
    color: var(--color-ink)
}

.reg-included-strip li i {
    color: var(--color-teal);
    font-size: .75rem
}

/* residential package cards */
.reg-package-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px
}

.reg-package {
    position: relative
}

.reg-package input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.reg-package span {
    display: block;
    border: 1px solid #d9e1e5;
    border-radius: var(--radius-md);
    padding: 16px 18px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease
}

.reg-package input:checked+span {
    border-color: var(--color-teal);
    background: #f2fafb;
    box-shadow: inset 0 0 0 1px var(--color-teal)
}

.reg-package input:focus-visible+span {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px
}

.reg-package__name {
    display: block;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 2px
}

.reg-package__duration {
    display: block;
    font-size: var(--fs-caption);
    color: var(--color-muted);
    margin-bottom: 6px
}

.reg-package__price {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-h5);
    color: var(--color-teal-dark)
}

.reg-package-none span {
    text-align: center;
    color: var(--color-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%
}

/* ========================================================
   Accompanying persons — repeater
   ======================================================== */
.companion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px
}

.companion-row {
    position: relative;
    background: #fafbfc;
    border: 1px solid #eef1f3;
    border-radius: var(--radius-md);
    padding: 20px 22px 16px
}

.companion-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}

.companion-row__label {
    font-family: var(--font-label);
    font-size: var(--fs-micro);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-muted)
}

.companion-row__remove {
    border: 0;
    background: none;
    color: #c0392b;
    font-size: var(--fs-caption);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.companion-row__remove:hover {
    text-decoration: underline
}

.companion-field {
    margin-bottom: 14px
}

.companion-field label {
    display: block;
    font-size: var(--fs-caption);
    font-weight: 600;
    color: #33404a;
    margin-bottom: 6px
}

.companion-field .form-control,
.companion-field .form-select {
    width: 100%;
    border: 1px solid #d9e1e5;
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    font-size: var(--fs-body-sm);
    background: #fff
}

.companion-field .form-control:focus,
.companion-field .form-select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(0, 139, 153, .14);
    outline: none
}

.companion-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.companion-choice {
    position: relative
}

.companion-choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.companion-choice span {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid #d9e1e5;
    border-radius: 999px;
    font-size: var(--fs-caption);
    color: #4a5560;
    background: #fff;
    cursor: pointer
}

.companion-choice input:checked+span {
    border-color: var(--color-teal);
    background: #e5f5f6;
    color: var(--color-teal-dark);
    font-weight: 600
}

.companion-row__addon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed #e3e8ea;
    font-size: var(--fs-caption);
    color: var(--color-ink);
    cursor: pointer
}

.companion-row__addon-check {
    position: relative;
    display: inline-flex;
    flex-shrink: 0
}

.companion-row__addon-check input {
    position: absolute;
    opacity: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer
}

.companion-row__addon-box {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #d9e1e5;
    border-radius: 7px;
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
    position: relative
}

.companion-row__addon-box::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity .1s ease
}

.companion-row__addon-check input:checked+.companion-row__addon-box {
    background: var(--color-teal);
    border-color: var(--color-teal)
}

.companion-row__addon-check input:checked+.companion-row__addon-box::after {
    opacity: 1
}

.companion-row__addon-check input:focus-visible+.companion-row__addon-box {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px
}

.companion-row__addon-text {
    flex: 1
}

.companion-row__price {
    margin-left: auto;
    font-weight: 600;
    color: var(--color-teal-dark)
}

.companion-empty {
    text-align: center;
    color: var(--color-muted);
    font-size: var(--fs-body-sm);
    padding: 22px 0;
    border: 1px dashed #dde3e6;
    border-radius: var(--radius-md)
}

.btn-add-companion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    border: 1px dashed var(--color-teal);
    background: #fff;
    color: var(--color-teal-dark);
    font-weight: 600;
    font-size: var(--fs-body-sm);
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s ease
}

.btn-add-companion:hover {
    background: #f2fafb
}

/* ========================================================
   Order summary (step 4 — lives in the sticky right rail)
   ======================================================== */
.reg-summary {
    position: sticky;
    top: 96px
}

.reg-summary .reg-panel__head {
    align-items: center
}

.reg-summary .reg-panel__title {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0
}

.reg-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-body-sm);
    color: var(--color-ink);
    padding: 9px 0;
    border-bottom: 1px solid #f1f4f5
}

.reg-summary-row span:last-child {
    font-weight: 600
}

.reg-summary-row--muted {
    color: var(--color-muted)
}

.reg-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px solid var(--color-gold)
}

.reg-summary-total span:first-child {
    font-family: var(--font-label);
    font-size: var(--fs-caption);
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-muted)
}

.reg-summary-total span:last-child {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    color: var(--color-navy);
    font-weight: 700
}

.reg-submit {
    width: 100%;
    padding: 14px;
    font-size: var(--fs-body-sm);
    margin-top: 20px
}

.reg-summary-note {
    font-size: var(--fs-micro);
    color: var(--color-muted);
    text-align: center;
    margin-top: 10px
}

/* ========================================================
   Mobile running-total bar — keeps the price honest while
   the person scrolls through a long form on a small screen.
   ======================================================== */
.reg-mobile-total {
    display: none
}

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 991px) {
    .reg-summary {
        position: static;
        top: auto
    }
}

@media (max-width: 767px) {
    .reg-section {
        padding: 32px 0 110px
    }

    .reg-panel {
        padding: 24px 20px
    }

    .reg-flow-step {
        gap: 14px
    }

    .reg-flow-step__rail {
        width: 32px
    }

    .reg-flow-step__marker {
        width: 32px;
        height: 32px;
        font-size: var(--fs-caption)
    }

    .reg-fee-table {
        font-size: var(--fs-caption)
    }

    .reg-mobile-total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: #fff;
        border-top: 1px solid #edf1f2;
        box-shadow: 0 -8px 24px rgba(4, 54, 90, .12);
        padding: 12px 18px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom))
    }

    .reg-mobile-total__label {
        display: block;
        font-size: var(--fs-micro);
        color: var(--color-muted);
        text-transform: uppercase;
        letter-spacing: .5px
    }

    .reg-mobile-total__value {
        display: block;
        font-family: var(--font-display);
        font-size: var(--fs-h4);
        font-weight: 700;
        color: var(--color-navy)
    }

    .reg-mobile-total__btn {
        padding: 11px 22px;
        font-size: var(--fs-caption);
        white-space: nowrap
    }
}

/* ============================================================
   abstract-submission.php  (merged from page-level <style>)
   ============================================================ */

.author-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f1f4f5;
    font-size: var(--fs-body-sm)
}

.author-detail-row:last-child {
    border-bottom: 0
}

.author-detail-row span:first-child {
    color: var(--color-muted)
}

.author-detail-row span:last-child {
    font-weight: 600;
    color: var(--color-ink);
    text-align: right
}

.word-counter {
    display: flex;
    justify-content: flex-end;
    font-size: var(--fs-micro);
    color: var(--color-muted);
    margin-top: 6px
}

.word-counter.is-over {
    color: #a3282c;
    font-weight: 700
}

textarea.form-control {
    min-height: 220px;
    resize: vertical
}

.guidelines-accordion .accordion-item {
    border: 1px solid #eef1f3;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    margin-bottom: 12px
}

.guidelines-accordion .accordion-button {
    font-family: var(--font-label);
    font-size: var(--fs-body-sm);
    font-weight: 600;
    color: var(--color-navy);
    background: #fafbfc
}

.guidelines-accordion .accordion-button:not(.collapsed) {
    background: #e5f5f6;
    color: var(--color-teal-dark);
    box-shadow: none
}

.guidelines-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 139, 153, .14)
}

.guidelines-accordion .accordion-body {
    font-size: var(--fs-body-sm);
    color: #49525b;
    line-height: 1.75
}

.guidelines-accordion .accordion-body ul,
.guidelines-accordion .accordion-body ol {
    margin-bottom: 0;
    padding-left: 1.1rem
}

.guidelines-accordion .accordion-body li {
    margin-bottom: 6px
}

/* Tabs */
.abstract-tabs {
    border-bottom: 2px solid #eef1f3;
    margin-bottom: 28px;
    gap: 6px
}

.abstract-tabs .nav-link {
    font-family: var(--font-label);
    font-size: var(--fs-body-sm);
    font-weight: 600;
    color: var(--color-muted);
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 10px 18px
}

.abstract-tabs .nav-link.active {
    color: var(--color-teal-dark);
    border-bottom-color: var(--color-teal-dark);
    background: transparent
}

/* Review table */
.review-table-wrap {
    border: 1px solid #eef1f3;
    border-radius: var(--radius-md);
    overflow: hidden
}

.review-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-body-sm)
}

.review-table th {
    text-align: left;
    background: #fafbfc;
    color: var(--color-muted);
    font-family: var(--font-label);
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #eef1f3
}

.review-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f4f5;
    vertical-align: middle
}

.review-table tr:last-child td {
    border-bottom: none
}

.review-empty {
    padding: 40px 16px;
    text-align: center;
    color: var(--color-muted)
}

.modal-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f1f4f5;
    font-size: var(--fs-body-sm)
}

.modal-detail-row span:first-child {
    color: var(--color-muted);
    flex-shrink: 0
}

.modal-detail-row span:last-child {
    font-weight: 600;
    color: var(--color-ink);
    text-align: right
}

.modal-abstract-body {
    white-space: pre-wrap;
    font-size: var(--fs-body-sm);
    line-height: 1.7;
    color: #49525b;
    background: #fafbfc;
    border: 1px solid #eef1f3;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-top: 6px
}

/* Bug fix: used by the "View Details" button on the Review
   Submission tab, but was never defined anywhere. */
.btn-outline-teal {
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid var(--color-teal);
    color: var(--color-teal-dark);
    background: #fff
}

.btn-outline-teal:hover {
    background: var(--color-teal);
    color: #fff
}

/* ========================================================
   Dashboard card (logged-in delegate menu, shown in header)
   "Hello, <Full Name>" + Registration / Abstract Submission / Log Out
   ======================================================== */
.dashboard-card {
    position: relative
}

.dashboard-card__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d9e1e5;
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease
}

.dashboard-card__toggle:hover,
.dashboard-card__toggle:focus-visible {
    border-color: var(--color-teal);
    background: #f2fafb;
    outline: none
}

.dashboard-card__toggle[aria-expanded="true"] {
    border-color: var(--color-teal);
    background: #f2fafb
}

.dashboard-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-navy);
    color: #fff;
    font-size: .8rem;
    flex-shrink: 0
}

.dashboard-card__greeting {
    font-size: var(--fs-caption);
    color: #33404a;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis
}

.dashboard-card__greeting strong {
    color: var(--color-navy);
    font-weight: 600
}

.dashboard-card__caret {
    font-size: .65rem;
    color: var(--color-muted);
    transition: transform .15s ease
}

.dashboard-card__toggle[aria-expanded="true"] .dashboard-card__caret {
    transform: rotate(180deg)
}

.dashboard-card__menu {
    min-width: 230px;
    border: 1px solid #edf1f2;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 10px;
    margin-top: 10px !important
}

.dashboard-card__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-body-sm);
    font-weight: 500;
    color: #33404a;
    text-decoration: none;
    transition: background .15s ease, color .15s ease
}

.dashboard-card__link i {
    width: 16px;
    text-align: center;
    color: var(--color-teal)
}

.dashboard-card__link:hover {
    background: #eaf7f8;
    color: var(--color-teal-dark)
}

.dashboard-card__link--danger {
    color: #a3282c
}

.dashboard-card__link--danger i {
    color: #a3282c
}

.dashboard-card__link--danger:hover {
    background: #fdecec;
    color: #a3282c
}

.dashboard-card__divider {
    margin: 6px 4px;
    border-top: 1px solid #eef1f3;
    opacity: 1
}

@media (max-width: 767px) {
    .dashboard-card__greeting {
        max-width: 120px
    }
}

/* ========================================================
   Dashboard page — tile grid (dashboard.php)
   ======================================================== */
.dashboard-tile-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 8px
}

.dashboard-tile {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #edf1f2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 22px 24px;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease
}

.dashboard-tile:hover {
    border-color: var(--color-teal);
    transform: translateY(-2px)
}

.dashboard-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e5f5f6;
    color: var(--color-teal-dark);
    font-size: 1.25rem;
    flex-shrink: 0
}

.dashboard-tile__body {
    flex: 1;
    min-width: 0
}

.dashboard-tile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px
}

.dashboard-tile__title {
    font-family: var(--font-label);
    font-weight: 600;
    font-size: var(--fs-body);
    color: var(--color-navy)
}

.dashboard-tile__desc {
    margin: 0;
    font-size: var(--fs-caption);
    color: var(--color-muted);
    line-height: 1.5
}

.dashboard-tile__arrow {
    color: #c3ccd1;
    font-size: .8rem;
    flex-shrink: 0;
    transition: transform .15s ease, color .15s ease
}

.dashboard-tile:hover .dashboard-tile__arrow {
    color: var(--color-teal);
    transform: translateX(3px)
}

.dashboard-tile--locked {
    opacity: .65
}

.dashboard-tile--locked:hover {
    transform: none;
    border-color: #edf1f2
}

.dashboard-tile--danger .dashboard-tile__icon {
    background: #fdecec;
    color: #a3282c
}

.dashboard-tile--danger:hover {
    border-color: #e7b3b3
}

@media (max-width: 767px) {
    .dashboard-tile {
        padding: 18px 20px
    }
}

/* ========================================================
   Workshops
   ======================================================== */
.reg-workshop-day { margin-bottom: 22px }
.reg-workshop-day:last-child { margin-bottom: 0 }

.reg-workshop-day__head {
    font-family: var(--font-label);
    font-size: var(--fs-micro);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-navy);
    margin-bottom: 12px
}

.reg-workshop-day__head span {
    margin-left: 8px;
    color: var(--color-muted);
    text-transform: none;
    letter-spacing: 0
}

.reg-workshop-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px
}

.reg-workshop { position: relative; margin: 0 }

.reg-workshop input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.reg-workshop > span {
    display: block;
    height: 100%;
    border: 1px solid #d9e1e5;
    border-radius: var(--radius-md);
    padding: 14px 16px 14px 44px;
    cursor: pointer;
    position: relative;
    transition: border-color .15s ease, background .15s ease, opacity .15s ease
}

/* checkbox tick */
.reg-workshop > span::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 16px;
    width: 20px;
    height: 20px;
    border: 2px solid #d9e1e5;
    border-radius: 6px;
    background: #fff
}

.reg-workshop > span::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 19px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0
}

.reg-workshop input:checked + span {
    border-color: var(--color-teal);
    background: #f2fafb;
    box-shadow: inset 0 0 0 1px var(--color-teal)
}

.reg-workshop input:checked + span::before {
    background: var(--color-teal);
    border-color: var(--color-teal)
}

.reg-workshop input:checked + span::after { opacity: 1 }

.reg-workshop input:focus-visible + span {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px
}

.reg-workshop.is-disabled > span {
    opacity: .5;
    cursor: not-allowed;
    background: #f6f8f9
}

.reg-workshop__name {
    display: block;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.35;
    margin-bottom: 4px
}

.reg-workshop__time {
    display: block;
    font-size: var(--fs-caption);
    color: var(--color-muted)
}

.reg-workshop__clash {
    display: block;
    font-size: var(--fs-micro);
    color: #a3282c;
    font-weight: 600;
    margin-top: 4px
}

.reg-workshop__clash:empty { display: none }