:root { --entry-accent: var(--cjf-color-primary); --entry-accent-rgb: 128,0,64; --entry-danger: var(--cjf-color-danger); --entry-danger-rgb: 220,53,69; --entry-border-color: var(--cjf-color-border); }
    body { background:var(--cjf-color-surface-muted); }
    .entry-form-app,
    .entry-form-app * {
      box-sizing: border-box;
    }
    .entry-form-shell {
      width: 100%;
      max-width: none;
      margin: 0 auto;
    }

    .entry-validation-error {
      color: var(--cjf-color-red-05);
      font-weight: 600;
      margin-top: .5rem;
    }

    .entry-validation-error--hidden {
      display: none !important;
    }
    .entry-form-app .entry-validation-field--invalid,
    .entry-form-app .entry-validation-container--invalid .entry-entity-picker__field-wrap,
    .entry-form-app .entry-validation-container--invalid .rider-subject-field__select,
    .entry-form-app .entry-validation-container--invalid .entry-other-fields__input,
    .entry-form-app .entry-validation-container--invalid .entry-other-fields__select,
    .entry-form-app .entry-validation-container--invalid .entry-other-fields__textarea {
      border-color: var(--entry-danger) !important;
      box-shadow: 0 0 0 0.2rem rgba(var(--entry-danger-rgb), .14) !important;
    }
    .entry-form-app .entry-validation-container--invalid .entry-entity-picker__label,
    .entry-form-app .entry-validation-container--invalid .entry-other-fields__label,
    .entry-form-app .entry-validation-container--invalid .rider-subject-field__label,
    .entry-form-app .entry-validation-container--invalid .entry-stabling-summary__check-label {
      color: var(--entry-danger) !important;
    }
    .entry-form-app .entry-validation-field--invalid[type='checkbox'] {
      border-color: var(--entry-danger) !important;
      box-shadow: 0 0 0 0.2rem rgba(var(--entry-danger-rgb), .14) !important;
    }
    .entry-form-app input:not([type='checkbox']):not([type='radio']),
    .entry-form-app textarea {
      caret-color: var(--cjf-color-text) !important;
      color: var(--cjf-color-text);
    }
    body.entry-submit-pending { cursor: progress; }

    .note-small { font-size:.875rem; color:var(--cjf-color-text-muted); }
    .entry-label {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
    }
    .entry-label__icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: auto;
      min-width: 1.2rem;
      white-space: nowrap;
      line-height: 1;
      font-size: 1rem;
    }
    .rider-subject-field {
      margin-top: 1rem;
    }
    .rider-subject-field--hidden {
      display: none !important;
    }
    .rider-subject-field__label {
      display: inline-flex;
      margin-bottom: .5rem;
      color: var(--cjf-color-text);
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.5;
    }
    .rider-subject-field__select {
      display: block;
      width: 100%;
      min-height: auto;
      padding: .375rem .75rem;
      padding-right: 2rem;
      border: 1px solid var(--entry-border-color);
      border-radius: .375rem;
      background: var(--cjf-color-surface);
      color: var(--cjf-color-text);
      font-size: 1rem;
      line-height: 1.5;
      appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, var(--cjf-color-slate-14) 50%), linear-gradient(135deg, var(--cjf-color-slate-14) 50%, transparent 50%);
      background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
      background-size: 6px 6px, 6px 6px;
      background-repeat: no-repeat;
      box-shadow: none;
      transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    }
    .rider-subject-field__select:focus {
      outline: none;
      border-color: rgba(var(--entry-accent-rgb), .45);
      box-shadow: 0 0 0 4px rgba(var(--entry-accent-rgb), .08);
    }
    .rider-subject-field__note {
      margin-top: .25rem;
      font-size: .875rem;
      color: var(--cjf-color-text-muted);
    }

    .pair-block { border-top: 1px solid var(--cjf-color-neutral-alpha-03); padding-top: 1rem; margin-top: 1rem; }
    .pair-block:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

    .pair-block__shell {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
    }

    .pair-block__main {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      flex: 1 1 auto;
      min-width: 0;
    }

    .pair-block__content { flex: 1 1 auto; min-width: 0; overflow: visible; }
    .pair-block__actions { flex: 0 0 auto; margin-left: auto; align-self: flex-start; }
    .pair-block__grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }
    .pair-block__column {
      min-width: 0;
    }
    .pair-block__column--full {
      grid-column: 1 / -1;
    }
    .pair-block__column--hidden {
      display: none !important;
    }
    .pair-block__stabling {
      margin-top: 1rem;
    }

    .entry-submit-overlay {
      position: fixed;
      inset: 0;
      z-index: 3000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.25rem;
    }
    .entry-submit-overlay__backdrop {
      position: absolute;
      inset: 0;
      background: var(--cjf-color-overlay-dark);
      backdrop-filter: blur(2px);
    }
    .entry-submit-overlay__dialog {
      position: relative;
      z-index: 1;
      width: min(100%, 28rem);
    }
    .entry-submit-overlay .jis-loading-state {
      min-height: 0;
      padding: 1.3rem 1.2rem;
      box-shadow: 0 24px 56px var(--cjf-color-slate-alpha-11);
      border-color: var(--cjf-color-slate-alpha-34);
    }

    .entry-submit-overlay--hidden {
      display: none !important;
    }

    .stabling-card { border:1px solid var(--cjf-color-neutral-alpha-04); border-radius:10px; background:var(--cjf-color-surface); overflow:hidden; }
    .stabling-head { padding:.75rem 1rem; border-bottom:1px solid var(--cjf-color-neutral-alpha-03); background:var(--cjf-color-surface-muted); border-radius:10px 10px 0 0; }
    .stabling-body { padding:1rem; }
    .stabling-body--hidden { display:none; padding:0; }
    .stabling-head__row { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
    .stabling-head__toggle {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      min-height: 1.5rem;
    }
    .stabling-head__toggle-input {
      width: 1.15rem;
      height: 1.15rem;
      margin: 0;
      border: 1px solid var(--cjf-color-slate-23);
      background: var(--cjf-color-surface);
      appearance: none;
      border-radius: .35rem;
      cursor: pointer;
      position: relative;
      flex: 0 0 auto;
    }
    .entry-form-app .stabling-head__toggle-input[type='checkbox'] {
      width: 1.15rem;
      height: 1.15rem;
      margin: 0;
      padding: 0;
      border: 1px solid var(--cjf-color-slate-23);
      background: var(--cjf-color-surface);
      -webkit-appearance: none;
      appearance: none;
      border-radius: .35rem;
      cursor: pointer;
      position: relative;
      line-height: 1;
      flex: 0 0 auto;
    }
    .stabling-head__toggle-input:checked {
      background: var(--entry-accent);
      border-color: var(--entry-accent);
    }
    .entry-form-app .stabling-head__toggle-input[type='checkbox']:checked {
      background: var(--entry-accent);
      border-color: var(--entry-accent);
    }
    .stabling-head__toggle-input:checked::after {
      content: '';
      position: absolute;
      inset: .14rem;
      background: var(--cjf-color-surface);
      clip-path: polygon(14% 44%, 0 59%, 38% 100%, 100% 17%, 84% 3%, 35% 65%);
    }
    .entry-form-app .stabling-head__toggle-input[type='checkbox']:checked::after {
      content: '';
      position: absolute;
      inset: .14rem;
      background: var(--cjf-color-surface);
      clip-path: polygon(14% 44%, 0 59%, 38% 100%, 100% 17%, 84% 3%, 35% 65%);
    }
    .entry-form-app .stabling-head__toggle-input[type='checkbox']:focus,
    .entry-form-app .stabling-head__toggle-input[type='checkbox']:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(var(--entry-accent-rgb), .16);
    }
    .entry-form-app .stabling-head__toggle-input[type='checkbox']:disabled {
      background: var(--cjf-color-slate-alpha-31);
      border-color: var(--cjf-color-slate-alpha-34);
      box-shadow: inset 0 0 0 1px var(--cjf-color-slate-alpha-18);
      cursor: not-allowed;
      opacity: 1;
    }
    .stabling-head__toggle-label,
    .stabling-head__title {
      color: var(--cjf-color-text);
      font-weight: 600;
      line-height: 1.4;
    }
    .stabling-head__prices { color:var(--cjf-color-text-muted); text-align:right; }
    .stabling-head__price-value {
      color: var(--cjf-color-text);
      font-weight: 600;
    }
    .stabling-body__notice {
      color: var(--cjf-color-text-muted);
    }
    .stabling-option-row {
      display: grid;
      gap: .5rem .9rem;
      align-items: center;
      margin-bottom: .5rem;
    }
    .stabling-option-row__control,
    .stabling-option-row__note {
      min-width: 0;
    }
    .stabling-toggle {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      min-height: 1.5rem;
    }
    .stabling-toggle__input {
      width: 1.15rem;
      height: 1.15rem;
      margin: 0;
      border: 1px solid var(--cjf-color-slate-23);
      background: var(--cjf-color-surface);
      appearance: none;
      border-radius: .35rem;
      cursor: pointer;
      position: relative;
      flex: 0 0 auto;
    }
    .entry-form-app .stabling-toggle__input[type='checkbox'] {
      width: 1.15rem;
      height: 1.15rem;
      margin: 0;
      padding: 0;
      border: 1px solid var(--cjf-color-slate-23);
      background: var(--cjf-color-surface);
      -webkit-appearance: none;
      appearance: none;
      border-radius: .35rem;
      cursor: pointer;
      position: relative;
      line-height: 1;
      flex: 0 0 auto;
    }
    .stabling-toggle__input:checked {
      background: var(--entry-accent);
      border-color: var(--entry-accent);
    }
    .entry-form-app .stabling-toggle__input[type='checkbox']:checked {
      background: var(--entry-accent);
      border-color: var(--entry-accent);
    }
    .stabling-toggle__input:checked::after {
      content: '';
      position: absolute;
      inset: .14rem;
      background: var(--cjf-color-surface);
      clip-path: polygon(14% 44%, 0 59%, 38% 100%, 100% 17%, 84% 3%, 35% 65%);
    }
    .entry-form-app .stabling-toggle__input[type='checkbox']:checked::after {
      content: '';
      position: absolute;
      inset: .14rem;
      background: var(--cjf-color-surface);
      clip-path: polygon(14% 44%, 0 59%, 38% 100%, 100% 17%, 84% 3%, 35% 65%);
    }
    .entry-form-app .stabling-toggle__input[type='checkbox']:focus,
    .entry-form-app .stabling-toggle__input[type='checkbox']:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(var(--entry-accent-rgb), .16);
    }
    .entry-form-app .entry-stabling-summary__check-input[type='checkbox'] {
      width: 1.15rem;
      height: 1.15rem;
      margin: 0;
      padding: 0;
      border: 1px solid var(--cjf-color-slate-23);
      background: var(--cjf-color-surface);
      -webkit-appearance: none;
      appearance: none;
      border-radius: .35rem;
      cursor: pointer;
      position: relative;
      line-height: 1;
      flex: 0 0 auto;
    }
    .entry-form-app .entry-stabling-summary__check-input[type='checkbox']:checked {
      background: var(--cjf-color-primary);
      border-color: var(--cjf-color-primary);
    }
    .entry-form-app .entry-stabling-summary__check-input[type='checkbox']:checked::after {
      content: '';
      position: absolute;
      inset: .14rem;
      background: var(--cjf-color-surface);
      clip-path: polygon(14% 44%, 0 59%, 38% 100%, 100% 17%, 84% 3%, 35% 65%);
    }
    .entry-form-app .entry-stabling-summary__check-input[type='checkbox']:focus,
    .entry-form-app .entry-stabling-summary__check-input[type='checkbox']:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(var(--entry-accent-rgb), .16);
    }
    .stabling-toggle__label {
      color: var(--cjf-color-text);
      cursor: pointer;
      line-height: 1.4;
    }
    .stabling-toggle__label--strong {
      font-weight: 600;
    }
    .stabling-heading {
      font-weight: 600;
      margin-bottom: .5rem;
    }
    .stabling-day-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
      gap: .5rem;
    }
    .stabling-day-grid__item {
      min-width: 0;
    }
    .stabling-field {
      margin-top: .75rem;
    }
    .stabling-field__label {
      display: inline-block;
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: .35rem;
    }
    .stabling-field__textarea {
      display: block;
      width: 100%;
      min-height: 4rem;
      padding: .55rem .75rem;
      font-size: 1rem;
      line-height: 1.5;
      color: var(--cjf-color-text);
      background: var(--cjf-color-surface);
      border: 1px solid var(--cjf-color-border);
      border-radius: .375rem;
      box-sizing: border-box;
      resize: vertical;
    }
    .stabling-field__textarea:focus {
      border-color: var(--cjf-color-brand-alpha-12);
      outline: 0;
      box-shadow: 0 0 0 .2rem var(--cjf-color-brand-alpha-04);
    }
    .stabling-actions {
      align-items: center;
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      justify-content: space-between;
      margin-top: .75rem;
    }
    .stabling-note-block {
      margin-top: .5rem;
    }

    .extra-box-card {
      border: 1px dashed var(--cjf-color-neutral-alpha-10);
      border-radius: 10px;
      background: var(--cjf-color-surface);
      padding: .75rem;
      margin-top: .75rem;
    }
    .extra-box-head {
      display:flex;
      justify-content: space-between;
      align-items: center;
      gap: .75rem;
      margin-bottom: .5rem;
    }
    .extra-box-title {
      font-weight: 700;
      color: var(--cjf-color-success);
    }

    @media (min-width: 768px) {
      .stabling-option-row {
        grid-template-columns: auto 1fr;
      }
    }

    .entry-action-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .45rem;
      border: 2px solid transparent;
      border-radius: 14px;
      color: var(--cjf-color-surface);
      cursor: pointer;
      font-weight: 700;
      line-height: 1.2;
      text-decoration: none;
      transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, opacity .15s ease;
    }
    .entry-action-button:disabled {
      cursor: default;
      opacity: .65;
    }
    .entry-action-button--primary {
      background: var(--entry-accent);
      border-color: var(--entry-accent);
      color: var(--cjf-color-surface);
    }
    .entry-action-button--primary-outline {
      background: var(--cjf-color-surface);
      border-color: var(--entry-accent);
      color: var(--entry-accent);
    }
    .entry-action-button--success {
      background: var(--cjf-color-success);
      border-color: var(--cjf-color-success);
      color: var(--cjf-color-surface);
    }
    .entry-action-button--danger-outline {
      background: var(--cjf-color-surface);
      border-color: var(--cjf-color-danger);
      color: var(--cjf-color-red-05);
    }
    .entry-action-button--primary-outline:hover:not(:disabled),
    .entry-action-button--primary-outline:focus-visible {
      background: rgba(var(--entry-accent-rgb), .06);
      color: var(--entry-accent);
    }
    .entry-action-button--success:hover:not(:disabled),
    .entry-action-button--success:focus-visible {
      background: var(--cjf-color-green-04);
      border-color: var(--cjf-color-green-04);
    }
    .entry-action-button--danger-outline:hover:not(:disabled),
    .entry-action-button--danger-outline:focus-visible {
      background: var(--cjf-color-red-alpha-01);
      color: var(--cjf-color-red-03);
    }
    .entry-action-button--primary:hover:not(:disabled),
    .entry-action-button--primary:focus-visible {
      background: var(--cjf-color-primary-hover);
      border-color: var(--cjf-color-primary-hover);
    }

    .entry-form-app .entry-action-button.btn-entry-action.comp-trigger {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      justify-content: flex-start;
      min-width: 250px;
      max-width: 100%;
      min-height: 48px;
      padding: .62rem 1.2rem;
      border-radius: 14px;
      border-width: 2px;
      font-size: 1.06rem;
      font-weight: 700;
    }
    .comp-trigger__icon-wrap {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:30px;
      height:30px;
      flex:0 0 30px;
    }
    .comp-trigger__icon-image {
      width:28px;
      height:28px;
      object-fit:contain;
      display:block;
    }
    .comp-trigger__text {
      flex: 0 1 auto;
    }
    .comp-trigger__count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 1.6rem;
      height: 1.6rem;
      padding: 0 .4rem;
      border-radius: 999px;
      background: rgba(var(--entry-accent-rgb), .12);
      color: var(--entry-accent);
      font-size: .82rem;
      font-weight: 800;
      margin-left: auto;
    }
    .comp-trigger__count--hidden {
      display: none;
    }
    .comp-selected { display:flex; flex-direction:column; gap:.35rem; margin-top:.5rem; }
    .subject-selected { display:flex; flex-direction:column; gap:.35rem; margin-top:.5rem; }
    .subject-row {
      align-items: center;
    }
    .subject-row .comp-main {
      gap: .1rem;
    }
    .subject-row .comp-head {
      gap: .4rem;
    }
    .subject-row .comp-title {
      font-size: 1.06rem;
      font-weight: 600;
    }
    .subject-row .comp-sub {
      font-size: .98rem;
    }
    .comp-row {
      display:flex; align-items:flex-start; gap:.8rem;
      padding:.45rem .55rem;
      border:1px solid var(--cjf-color-neutral-alpha-03);
      border-radius:8px;
      background:var(--cjf-color-surface);
      overflow: visible;
    }
    .comp-trash {
      border:0;
      background:transparent;
      padding:0 .15rem;
      cursor:pointer;
      font-size: 1rem;
      line-height: 1.1;
      margin-top: .12rem;
      flex: 0 0 auto;
    }
    .comp-trash:hover { filter: brightness(0.9); }
    .comp-chip-icon {
      width: 20px;
      height: 20px;
      object-fit: contain;
      flex: 0 0 20px;
      margin-top: .1rem;
      opacity: .92;
    }
    .comp-main {
      display:flex;
      flex-direction:column;
      gap:.2rem;
      min-width:0;
      flex:1 1 auto;
    }
    .comp-head {
      display:flex;
      align-items:center;
      gap:.8rem;
      min-width:0;
      flex-wrap:wrap;
    }
    .comp-nr {
      font-weight:700;
      white-space:nowrap;
      flex:0 0 auto;
    }
    .comp-date {
      color:var(--cjf-color-text-muted);
      font-size:.9rem;
      white-space:nowrap;
      flex:0 0 auto;
    }
    .comp-date-meta {
      display:flex;
      align-items:center;
      gap:.45rem;
      flex:0 0 auto;
      flex-wrap:wrap;
    }
    .comp-date-stats {
      color:var(--cjf-color-slate-07);
      background:var(--cjf-color-surface-muted);
      border-radius:999px;
      font-size:.78rem;
      font-weight:700;
      line-height:1;
      padding:.28rem .55rem;
      white-space:nowrap;
    }
    .comp-date-stats.is-over-limit,
    .comp-capacity.is-over-limit {
      color: var(--entry-danger);
      background: rgba(var(--entry-danger-rgb), .10);
    }
    .comp-flags {
      display:flex;
      align-items:center;
      gap:.45rem;
      flex-wrap:wrap;
      margin-left:auto;
    }
    .comp-repeat-badge,
    .comp-repeat-count {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:999px;
      font-size:.78rem;
      font-weight:700;
      line-height:1;
      padding:.28rem .55rem;
    }
    .comp-repeat-badge {
      background:rgba(var(--entry-accent-rgb), .10);
      color:var(--entry-accent);
    }
    .comp-repeat-count {
      background:var(--cjf-color-surface-muted);
      color:var(--cjf-color-slate-07);
    }
    .comp-title {
      min-width:0;
      white-space:normal;
      font-weight:600;
      line-height:1.25;
    }
    .comp-sub {
      color:var(--cjf-color-text-muted);
      font-size:.9rem;
      white-space:normal;
      line-height:1.25;
    }
    .comp-sub .comp-meta-sep {
      display:inline-block;
      margin: 0 .35rem;
      color:var(--cjf-color-slate-20);
    }
    .comp-capacity {
      font-weight:600;
    }

    @media (min-width: 1200px) {
      .comp-row--competition .comp-main {
        display:grid;
        grid-template-columns: max-content minmax(14rem, 1fr) minmax(0, 28rem);
        align-items:center;
        gap:.25rem .9rem;
      }
      .comp-row--competition .comp-head {
        grid-column: 1;
        display:flex;
        align-items:center;
        gap:.9rem;
        min-width: max-content;
        flex-wrap:nowrap;
      }
      .comp-row--competition .comp-title {
        grid-column: 2;
        min-width: 0;
        white-space:normal;
        overflow-wrap:anywhere;
      }
      .comp-row--competition .comp-sub {
        grid-column: 3;
        min-width: 0;
        max-width: 28rem;
        white-space:normal;
        overflow-wrap:anywhere;
        text-align:right;
        justify-self:end;
      }
      .comp-row--competition .comp-date-meta {
        flex-wrap: nowrap;
      }
      .comp-row--competition .comp-flags {
        margin-left:0;
      }
    }

    .ac-host { position: relative; min-width: 0; overflow: visible; z-index: 1; }
    .ac-host:focus-within { z-index: 50; }
    .btn-ico { margin-right: .35rem; }
    .entry-form-app .entry-action-button.btn-entry-action {
      min-height: 46px;
      padding: .7rem 1.25rem;
      border-radius: 14px;
      border-width: 2px;
      font-weight: 700;
    }

    .entry-subject-chip {
      align-items: center;
      background: var(--cjf-color-surface);
      border: 1px solid var(--cjf-color-slate-alpha-18);
      border-radius: 999px;
      color: var(--cjf-color-slate-04);
      display: inline-flex;
      font-size: 1.06rem;
      gap: .45rem;
      padding: .45rem .8rem;
    }

    .entry-subject-chip__label {
      min-width: 0;
      word-break: break-word;
    }

    .entry-subject-chip__remove {
      background: transparent;
      border: 0;
      border-radius: 999px;
      color: var(--cjf-color-text-soft);
      cursor: pointer;
      font-size: 1rem;
      height: 1.35rem;
      line-height: 1;
      padding: 0;
      position: relative;
      width: 1.35rem;
    }

    .entry-subject-chip__remove:hover {
      background: var(--cjf-color-slate-alpha-13);
      color: var(--cjf-color-slate-01);
    }

    .entry-subject-chip__remove::before,
    .entry-subject-chip__remove::after {
      content: '';
      background: currentColor;
      height: 2px;
      left: 50%;
      position: absolute;
      top: 50%;
      transform-origin: center;
      width: .72rem;
    }

    .entry-subject-chip__remove::before {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .entry-subject-chip__remove::after {
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    .entry-subject-picker__empty {
      color: var(--cjf-color-text-soft);
      font-size: 1.02rem;
      padding: .7rem .85rem;
    }

    .entry-subject-picker__option {
      align-items: center;
      background: var(--cjf-color-surface);
      border: 0;
      color: var(--cjf-color-slate-03);
      cursor: pointer;
      display: flex;
      font-size: 1.06rem;
      gap: .55rem;
      line-height: 1.3;
      padding: .7rem .85rem;
      text-align: left;
      white-space: normal;
      width: 100%;
      word-break: break-word;
    }

    .entry-subject-picker__option:hover,
    .entry-subject-picker__option.ac-item-active {
      background: var(--cjf-color-surface-muted);
    }

    .entry-subject-picker__meta {
      align-items: center;
      background: var(--cjf-color-surface-muted);
      border: 1px solid var(--cjf-color-slate-alpha-19);
      border-radius: 999px;
      color: var(--cjf-color-slate-09);
      display: inline-flex;
      font-size: .95rem;
      font-weight: 600;
      padding: .12rem .45rem;
      white-space: nowrap;
    }

    body.entry-mobile-picker-open {
      overflow: hidden;
    }

    .entry-form-app .comp-picker-modal .modal-content {
      border-radius: 18px;
      box-shadow: none;
    }
    .comp-picker-modal__title {
      display:inline-flex;
      align-items:center;
      gap:.6rem;
    }
    .comp-picker-modal__title-icon-wrap {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:28px;
      height:28px;
      flex:0 0 28px;
    }
    .comp-picker-modal__title-icon {
      width:24px;
      height:24px;
      object-fit:contain;
      display:block;
    }
    .entry-mobile-picker {
      inset: 0;
      position: fixed;
      z-index: 1100;
    }

    .entry-mobile-picker__overlay {
      background: var(--cjf-color-overlay-dark);
      inset: 0;
      position: absolute;
    }

    .entry-mobile-picker__dialog {
      align-items: center;
      display: flex;
      justify-content: center;
      min-height: 100%;
      padding: 1rem;
      position: relative;
    }

    .entry-mobile-picker__panel {
      background: var(--cjf-color-surface);
      border-radius: 18px;
      box-shadow: 0 1.5rem 3rem var(--cjf-color-slate-alpha-17);
      display: flex;
      flex-direction: column;
      max-height: calc(100vh - 2rem);
      overflow: hidden;
      width: min(calc(100vw - 2rem), 44rem);
    }

    .entry-mobile-picker__body {
      display: flex;
      flex-direction: column;
      min-height: 0;
      overflow: hidden;
      padding: 1rem 1rem 0;
    }

    .entry-mobile-picker__header,
    .entry-mobile-picker__footer {
      align-items: center;
      border-color: var(--cjf-color-neutral-alpha-03);
      display: flex;
      gap: .75rem;
      justify-content: space-between;
      padding: 1rem;
    }

    .entry-mobile-picker__header {
      border-bottom: 1px solid var(--cjf-color-neutral-alpha-03);
    }

    .entry-mobile-picker__footer {
      border-top: 1px solid var(--cjf-color-neutral-alpha-03);
      justify-content: flex-end;
    }

    .entry-mobile-picker__dialog {
      width: auto;
      max-width: calc(100vw - 2rem);
    }

    .entry-mobile-picker__title {
      color: var(--cjf-color-slate-01);
      font-size: 1.1rem;
      font-weight: 700;
      margin: 0;
    }

    .entry-mobile-picker__close {
      background: transparent;
      border: 0;
      border-radius: 999px;
      color: var(--cjf-color-text-soft);
      cursor: pointer;
      font-size: 1.5rem;
      height: 2rem;
      line-height: 1;
      padding: 0;
      width: 2rem;
    }

    .entry-mobile-picker__close:hover {
      background: var(--cjf-color-slate-alpha-13);
      color: var(--cjf-color-slate-01);
    }

    .entry-mobile-picker__hint {
      font-size: .85rem;
      color: var(--cjf-color-text-muted);
      margin-top: .15rem;
    }
    .entry-mobile-picker__toolbar {
      display: flex;
      align-items: center;
      gap: .75rem;
      margin-bottom: .8rem;
    }
    .entry-mobile-picker__toolbar--multi {
      align-items: stretch;
    }
    .entry-mobile-picker__actions {
      display: none;
      gap: .75rem;
      flex: 0 0 auto;
    }
    .entry-mobile-picker__search {
      border: 1px solid var(--cjf-color-slate-alpha-19);
      min-height: 46px;
      border-radius: 12px;
      font: inherit;
      margin-bottom: 0;
      flex: 1 1 auto;
      min-width: 0;
      padding: .75rem .9rem;
    }

    .entry-mobile-picker__search:focus {
      border-color: var(--cjf-color-brand-alpha-12);
      box-shadow: 0 0 0 3px var(--cjf-color-brand-alpha-03);
      outline: none;
    }

    .entry-mobile-picker__button {
      border: 1px solid transparent;
      border-radius: 12px;
      cursor: pointer;
      font: inherit;
      font-weight: 700;
      min-height: 46px;
      padding: .7rem 1rem;
      white-space: nowrap;
    }

    .entry-mobile-picker__button--primary {
      background: var(--cjf-color-primary);
      color: var(--cjf-color-surface);
    }

    .entry-mobile-picker__button--primary:hover {
      background: var(--cjf-color-primary-hover);
    }

    .entry-mobile-picker__button--secondary {
      background: var(--cjf-color-surface);
      border-color: var(--cjf-color-slate-alpha-19);
      color: var(--cjf-color-slate-04);
    }

    .entry-mobile-picker__button--secondary:hover {
      background: var(--cjf-color-surface-muted);
      border-color: var(--cjf-color-slate-alpha-24);
    }

    .entry-mobile-picker__confirm {
      display: none;
      flex: 0 0 auto;
    }
    .entry-mobile-picker__clear-top {
      display: none;
      min-height: 46px;
      border-radius: 12px;
      flex: 0 0 auto;
      white-space: nowrap;
    }
    .entry-mobile-picker__list {
      display: flex;
      flex-direction: column;
      min-height: 0;
      flex: 1 1 auto;
      gap: .55rem;
      overflow: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }
    .entry-mobile-picker__empty {
      color: var(--cjf-color-text-muted);
      padding: .5rem 0;
    }
    .entry-mobile-picker__option {
      width: 100%;
      border: 1px solid var(--cjf-color-neutral-alpha-03);
      background: var(--cjf-color-surface);
      border-radius: 14px;
      padding: .75rem .8rem;
      display: flex;
      align-items: flex-start;
      gap: .7rem;
      text-align: left;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }
    .entry-mobile-picker__check {
      width: 22px;
      height: 22px;
      border-radius: 6px;
      border: 1.5px solid var(--cjf-color-neutral-alpha-07);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 22px;
      font-size: .85rem;
      font-weight: 700;
      color: var(--entry-accent);
      margin-top: .1rem;
      background: var(--cjf-color-surface);
    }
    .entry-mobile-picker__option-input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
    .entry-mobile-picker__option-main {
      display: flex;
      flex-direction: column;
      gap: .18rem;
      min-width: 0;
      flex: 1 1 auto;
    }
    .entry-mobile-picker__option-title {
      color: var(--cjf-color-text);
      font-weight: 700;
      line-height: 1.25;
    }
    .entry-mobile-picker__option-meta {
      color: var(--cjf-color-text-muted);
      font-size: .9rem;
      line-height: 1.25;
    }
    .entry-mobile-picker__favorite {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      margin-left: auto;
      color: var(--cjf-color-amber-11);
      font-size: 1rem;
      font-weight: 800;
      line-height: 1;
      padding-top: .1rem;
    }
    .entry-mobile-picker__option.is-selected {
      border-color: var(--cjf-color-blue-alpha-07);
      background: var(--cjf-color-blue-alpha-02);
    }
    .entry-mobile-picker__option.is-selected .entry-mobile-picker__check {
      border-color: var(--cjf-color-blue-alpha-09);
      background: var(--cjf-color-blue-alpha-03);
      color: var(--cjf-color-blue-04);
    }
    .entry-mobile-picker__trigger {
      cursor: pointer;
    }
    @media (max-width: 767.98px) {
      .entry-mobile-picker__dialog {
        align-items: stretch;
        padding: .5rem;
      }

      .entry-mobile-picker__panel {
        max-height: calc(100vh - 1rem);
        width: calc(100vw - 1rem);
      }

      .entry-mobile-picker__toolbar--multi .entry-mobile-picker__actions {
        display: flex;
      }
      .entry-mobile-picker__toolbar--multi .entry-mobile-picker__clear-top,
      .entry-mobile-picker__toolbar--multi .entry-mobile-picker__confirm {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
      }

      .entry-mobile-picker__footer {
        flex-direction: column-reverse;
      }

      .entry-mobile-picker__footer .entry-mobile-picker__button {
        width: 100%;
      }
    }
    .comp-picker-modal {
      position: fixed;
      inset: 0;
      z-index: 1055;
      overflow-x: hidden;
      overflow-y: auto;
      background: var(--cjf-color-neutral-alpha-11);
    }
    .comp-picker-modal__body {
      display: flex;
      flex-direction: column;
      min-height: 0;
      overflow: hidden;
    }
    .comp-picker-modal__header,
    .comp-picker-modal__footer {
      border-color: var(--cjf-color-neutral-alpha-03);
    }
    .entry-form-app .comp-picker-modal__dialog {
      width: min(calc(100vw - 3rem), 1140px);
      max-width: min(calc(100vw - 3rem), 1140px);
    }
    .comp-mobile-modal__hint {
      font-size: .85rem;
      color: var(--cjf-color-text-muted);
      margin-top: .15rem;
    }
    .comp-mobile-modal__toolbar {
      display: flex;
      align-items: center;
      gap: .75rem;
      margin-bottom: .8rem;
    }
    .entry-form-app .comp-mobile-modal__search {
      background: var(--cjf-color-surface);
      border: 1px solid var(--cjf-color-slate-alpha-24);
      min-height: 46px;
      border-radius: 12px;
      color: var(--cjf-color-text);
      font-size: 1.12rem;
      margin-bottom: 0;
      flex: 1 1 auto;
      min-width: 0;
      padding: .65rem .9rem;
    }
    .entry-form-app .comp-mobile-modal__search:focus {
      border-color: var(--cjf-color-slate-alpha-34) !important;
      box-shadow: 0 0 0 3px var(--cjf-color-slate-alpha-18) !important;
      outline: 0 !important;
    }
    .comp-mobile-modal__confirm {
      display: none;
      min-height: 46px;
      border-radius: 12px;
      flex: 0 0 auto;
      white-space: nowrap;
    }
    .comp-mobile-modal__list {
      display: flex;
      flex-direction: column;
      min-height: 0;
      flex: 1 1 auto;
      gap: .55rem;
      overflow: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }
    .comp-mobile-modal__empty {
      color: var(--cjf-color-text-muted);
      padding: .5rem 0;
    }
    .entry-action-button.btn-entry-action.comp-trigger {
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      gap: .6rem;
      min-width: 250px;
      min-height: 48px;
      max-width: 100%;
      padding: .62rem 1.2rem;
      border-radius: 14px;
      border-width: 2px;
      font-size: 1.06rem;
      font-weight: 700;
    }
    .comp-picker-modal__dialog {
      width: min(calc(100vw - 3rem), 1140px);
      max-width: min(calc(100vw - 3rem), 1140px);
      min-height: calc(100% - 56px);
      margin: 28px auto;
      display: flex;
      align-items: center;
    }
    .comp-picker-modal__content {
      display: flex !important;
      flex-direction: column !important;
      width: 100%;
      max-height: calc(100vh - 56px);
      overflow: hidden !important;
      background: var(--cjf-color-surface) !important;
      border: 1px solid var(--cjf-color-neutral-alpha-07);
      border-radius: 18px;
    }
    .comp-picker-modal__header {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 1rem;
      padding: 16px !important;
      background: transparent !important;
      color: var(--cjf-color-text) !important;
      border-bottom: 1px solid var(--cjf-color-neutral-alpha-03);
      border-radius: 18px 18px 0 0;
    }
    .comp-picker-modal__header > div {
      flex: 1 1 auto;
      margin-right: auto;
      min-width: 0;
    }
    .comp-picker-modal__body {
      display: flex !important;
      flex-direction: column !important;
      flex: 1 1 auto;
      min-height: 0 !important;
      overflow: hidden !important;
      padding: 16px !important;
    }
    .comp-mobile-modal__search {
      background: var(--cjf-color-surface);
      border: 1px solid var(--cjf-color-slate-alpha-24);
      min-height: 46px;
      border-radius: 12px;
      color: var(--cjf-color-text);
      font-size: 1.12rem;
      margin-bottom: 0;
      flex: 1 1 auto;
      min-width: 0;
      padding: .65rem .9rem;
    }
    .comp-mobile-modal__search:focus {
      border-color: var(--cjf-color-slate-alpha-34) !important;
      box-shadow: 0 0 0 3px var(--cjf-color-slate-alpha-18) !important;
      outline: 0 !important;
    }
    .comp-picker-modal__title {
      color: var(--cjf-color-text) !important;
      font-size: 20px !important;
      font-weight: 500 !important;
      line-height: 30px !important;
    }
    .comp-picker-modal__close {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: 32px;
      height: 32px;
      padding: 0;
      margin: 0;
      border: 0;
      border-radius: 6px;
      background: transparent !important;
      color: var(--cjf-color-text-muted) !important;
      font-size: 34px;
      line-height: 1;
      cursor: pointer;
      flex: 0 0 auto;
    }
    .comp-picker-modal__close:hover {
      color: var(--cjf-color-slate-07) !important;
      background: var(--cjf-color-neutral-alpha-01) !important;
    }
    .comp-picker-modal__footer {
      display: flex !important;
      align-items: center !important;
      justify-content: flex-end !important;
      gap: .75rem;
      padding: 12px !important;
      margin: 0 !important;
      background: transparent !important;
      border-top: 1px solid var(--cjf-color-neutral-alpha-03);
    }
    .comp-picker-modal__submit {
      margin: 0 !important;
      min-height: 46px;
      padding: .62rem 1.25rem;
      font-size: 1.02rem;
    }
    .comp-mobile-day-group {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:.75rem;
      padding: .15rem .2rem 0;
      color: var(--cjf-color-slate-07);
      font-size: .9rem;
      font-weight: 800;
      line-height: 1.2;
    }
    .comp-mobile-day-group.is-over-limit {
      color: var(--entry-danger);
    }
    .comp-mobile-day-group__stats {
      flex: 0 0 auto;
      color:var(--cjf-color-slate-07);
      background:var(--cjf-color-surface-muted);
      border-radius:999px;
      font-size:.78rem;
      font-weight:700;
      line-height:1;
      padding:.28rem .55rem;
      white-space:nowrap;
    }
    .comp-mobile-day-group__stats.is-over-limit {
      color: var(--entry-danger);
      background: rgba(var(--entry-danger-rgb), .10);
    }
    .entry-form-app .comp-picker-modal__footer {
      display: flex !important;
      align-items: center !important;
      justify-content: flex-end !important;
      gap: .75rem;
      padding: 12px !important;
      margin: 0 !important;
      background: transparent !important;
      border-top: 1px solid var(--cjf-color-neutral-alpha-03);
    }
    .entry-form-app .comp-picker-modal__submit {
      margin: 0;
      min-height: 46px;
      padding: .62rem 1.25rem;
      font-size: 1.02rem;
    }
    .comp-mobile-option {
      width: 100%;
      border: 1px solid var(--cjf-color-neutral-alpha-03);
      background: var(--cjf-color-surface);
      border-radius: 14px;
      padding: .75rem .8rem;
      display: flex;
      align-items: flex-start;
      gap: .7rem;
      text-align: left;
      cursor: pointer;
    }
    .comp-mobile-option.is-blocked {
      background: var(--cjf-color-surface-muted);
      border-color: var(--cjf-color-slate-25);
    }
    .comp-mobile-option.is-blocked .comp-mobile-option__nr,
    .comp-mobile-option.is-blocked .comp-mobile-option__date,
    .comp-mobile-option.is-blocked .comp-mobile-option__title,
    .comp-mobile-option.is-blocked .comp-mobile-option__meta,
    .comp-mobile-option.is-blocked .comp-mobile-check {
      color: var(--cjf-color-slate-17);
    }
    .comp-mobile-option.is-blocked .comp-mobile-option__check {
      border-color: var(--cjf-color-slate-23);
      background: var(--cjf-color-surface-muted);
      color: var(--cjf-color-slate-20);
    }
    .comp-mobile-option__check {
      width: 22px;
      height: 22px;
      border-radius: 6px;
      border: 1.5px solid var(--cjf-color-neutral-alpha-07);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 22px;
      font-size: .85rem;
      font-weight: 700;
      color: var(--entry-accent);
      margin-top: .1rem;
      background: var(--cjf-color-surface);
    }
    .comp-mobile-option__input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
    .comp-mobile-option__main {
      display: flex;
      flex-direction: column;
      gap: .32rem;
      min-width: 0;
      flex: 1 1 auto;
    }
    .comp-mobile-option__summary {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: .55rem;
      width: 100%;
    }
    .comp-mobile-option__content {
      display:flex;
      flex-direction:column;
      gap:.2rem;
      min-width:0;
    }
    .comp-mobile-option__head {
      display: flex;
      flex-wrap: wrap;
      gap: .45rem;
      align-items: center;
    }
    .comp-mobile-option__nr {
      font-size: .86rem;
      font-weight: 800;
      color: var(--cjf-color-slate-03);
    }
    .comp-mobile-option__date {
      color: var(--cjf-color-slate-17);
      font-size: .82rem;
    }
    .comp-mobile-option__title {
      color: var(--cjf-color-slate-03);
      font-weight: 700;
      line-height: 1.25;
      flex: 1 1 220px;
      min-width: 180px;
    }
    .comp-mobile-option__meta {
      color: var(--cjf-color-text-muted);
      font-size: .84rem;
      line-height: 1.25;
      width:100%;
    }
    .comp-mobile-option__meta .comp-meta-sep {
      display:inline-block;
      margin: 0 .28rem;
      color:var(--cjf-color-slate-20);
      font-weight:700;
    }
    .comp-mobile-option__side {
      display:flex;
      flex-direction:column;
      gap:.38rem;
      align-items:flex-start;
      min-width:0;
    }
    .comp-mobile-option__badges {
      display:flex;
      flex-wrap:wrap;
      gap:.35rem;
    }
    .comp-mobile-option__badge {
      display:inline-flex;
      align-items:center;
      min-height:24px;
      padding:.1rem .5rem;
      border-radius:999px;
      background: rgba(var(--entry-accent-rgb), .10);
      color: var(--entry-accent);
      font-size:.72rem;
      font-weight:800;
    }
    .comp-mobile-option__badge--status {
      background:var(--cjf-color-danger-soft);
      color:var(--cjf-color-red-10);
    }
    .comp-mobile-option__metric {
      display:inline-flex;
      align-items:center;
      gap:.4rem;
      min-height:28px;
      padding:.22rem .65rem;
      border-radius:999px;
      background:var(--cjf-color-surface-muted);
      color:var(--cjf-color-slate-09);
      font-size:.8rem;
      font-weight:700;
      white-space:nowrap;
    }
    .comp-mobile-option__metric.is-over-limit {
      color: var(--entry-danger);
      background: rgba(var(--entry-danger-rgb), .10);
    }
    .comp-mobile-option__metric-icon {
      display:inline-flex;
      width:.95rem;
      height:.95rem;
    }
    .comp-mobile-option__metric-icon svg {
      width:100%;
      height:100%;
    }
    .comp-mobile-option__checks {
      display:flex;
      flex-wrap:wrap;
      gap:.65rem 1rem;
      margin-top:.1rem;
    }
    .comp-mobile-option__checks--day {
      display: none;
    }
    .comp-mobile-check {
      display:inline-flex;
      align-items:center;
      gap:.45rem;
      font-size:.92rem;
      font-weight:600;
      color:var(--cjf-color-text);
      cursor:pointer;
    }
    .comp-mobile-check.is-disabled {
      color:var(--cjf-color-slate-17);
      cursor:not-allowed;
    }
    .comp-mobile-check__input {
      margin:0;
    }

    @media (min-width: 768px) {
      .comp-mobile-day-group {
        padding: .45rem .2rem 0;
        font-size: .98rem;
      }
      .comp-mobile-option {
        padding: .8rem 1rem;
      }
      .comp-mobile-option__summary {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items:start;
        gap:.75rem;
      }
      .comp-mobile-option__side {
        align-items:flex-end;
      }
      .comp-mobile-option__badges {
        justify-content:flex-end;
      }
    }

    .comp-picker-modal[data-discipline="jumpingIcon"] .comp-mobile-option.is-selected {
      border-color: var(--cjf-color-blue-alpha-07);
      background: var(--cjf-color-blue-alpha-02);
    }
    .comp-picker-modal[data-discipline="jumpingIcon"] .comp-mobile-option.is-selected .comp-mobile-option__check {
      border-color: var(--cjf-color-blue-alpha-09);
      background: var(--cjf-color-blue-alpha-03);
      color: var(--cjf-color-blue-04);
    }

    .comp-picker-modal[data-discipline="dressageIcon"] .comp-mobile-option.is-selected,
    .comp-picker-modal[data-discipline="multiIcon"] .comp-mobile-option.is-selected {
      border-color: var(--cjf-color-neutral-alpha-12);
      background: var(--cjf-color-neutral-alpha-02);
    }
    .comp-picker-modal[data-discipline="dressageIcon"] .comp-mobile-option.is-selected .comp-mobile-option__check,
    .comp-picker-modal[data-discipline="multiIcon"] .comp-mobile-option.is-selected .comp-mobile-option__check {
      border-color: var(--cjf-color-neutral-alpha-14);
      background: var(--cjf-color-neutral-alpha-05);
      color: var(--cjf-color-text-muted);
    }

    .comp-picker-modal[data-discipline="eventingIcon"] .comp-mobile-option.is-selected {
      border-color: var(--cjf-color-green-alpha-08);
      background: var(--cjf-color-green-alpha-01);
    }
    .comp-picker-modal[data-discipline="eventingIcon"] .comp-mobile-option.is-selected .comp-mobile-option__check {
      border-color: var(--cjf-color-green-alpha-10);
      background: var(--cjf-color-green-alpha-04);
      color: var(--cjf-color-success);
    }

    .comp-picker-modal[data-discipline="drivingIcon"] .comp-mobile-option.is-selected {
      border-color: var(--cjf-color-amber-alpha-11);
      background: var(--cjf-color-amber-alpha-02);
    }
    .comp-picker-modal[data-discipline="drivingIcon"] .comp-mobile-option.is-selected .comp-mobile-option__check {
      border-color: var(--cjf-color-amber-alpha-13);
      background: var(--cjf-color-amber-alpha-06);
      color: var(--cjf-color-amber-09);
    }

    .comp-picker-modal[data-discipline="vaultingIcon"] .comp-mobile-option.is-selected {
      border-color: var(--cjf-color-green-alpha-09);
      background: var(--cjf-color-green-alpha-02);
    }
    .comp-picker-modal[data-discipline="vaultingIcon"] .comp-mobile-option.is-selected .comp-mobile-option__check {
      border-color: var(--cjf-color-green-alpha-11);
      background: var(--cjf-color-green-alpha-05);
      color: var(--cjf-color-green-09);
    }

    .comp-picker-modal[data-discipline="reiningIcon"] .comp-mobile-option.is-selected {
      border-color: var(--cjf-color-violet-alpha-04);
      background: var(--cjf-color-violet-alpha-01);
    }
    .comp-picker-modal[data-discipline="reiningIcon"] .comp-mobile-option.is-selected .comp-mobile-option__check {
      border-color: var(--cjf-color-violet-alpha-05);
      background: var(--cjf-color-violet-alpha-03);
      color: var(--cjf-color-violet-02);
    }

    .comp-picker-modal[data-discipline="enduranceIcon"] .comp-mobile-option.is-selected {
      border-color: var(--cjf-color-amber-alpha-09);
      background: var(--cjf-color-amber-alpha-01);
    }
    .comp-picker-modal[data-discipline="enduranceIcon"] .comp-mobile-option.is-selected .comp-mobile-option__check {
      border-color: var(--cjf-color-amber-alpha-12);
      background: var(--cjf-color-amber-alpha-05);
      color: var(--cjf-color-amber-08);
    }

    
    .pairs-footer {
      display:block;
      margin-top:.5rem;
    }
    .pairs-footer__text {
      display:block;
      width:100%;
      margin-top:.2rem;
    }
    .pairs-footer__actions {
      display:flex;
      justify-content:flex-end;
      margin-top:.75rem;
    }
    .discipline-add-buttons {
      display:flex;
      align-items:stretch;
      justify-content:flex-end;
      gap:.75rem;
      flex-wrap:wrap;
      width:100%;
    }
    .discipline-add-buttons .entry-action-button.btn-entry-action.btnAddPairByDiscipline {
      display:inline-flex;
      align-items:center;
      justify-content:flex-start;
      gap:.7rem;
      flex:0 0 auto;
      min-width: 188px;
      min-height: 0;
      padding: .5rem .95rem .5rem .85rem;
      text-align: left;
    }
    .discipline-add-buttons__icon-badge {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:34px;
      height:34px;
      border-radius:11px;
      background:var(--cjf-color-neutral-alpha-21);
      box-shadow: inset 0 0 0 1px var(--cjf-color-neutral-alpha-03);
      flex:0 0 34px;
    }
    .discipline-add-buttons__icon {
      width:22px;
      height:22px;
      object-fit:contain;
      flex:0 0 22px;
    }
    .discipline-add-buttons__text {
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      line-height:1.15;
      min-width:0;
    }
    .discipline-add-buttons__title {
      font-size:.92rem;
      font-weight:800;
      color:var(--cjf-color-surface);
      line-height:1.1;
    }
    .discipline-add-buttons__subtitle {
      font-size:.74rem;
      font-weight:700;
      color:var(--cjf-color-neutral-alpha-19);
      line-height:1.1;
    }

    .pair-block, .pair-block__shell, .pair-block__main, .pair-block__content { overflow: visible; }

    @media (max-width: 1199.98px) and (min-width: 576px) {
      .comp-title {
        white-space:normal;
        overflow:visible;
        text-overflow:clip;
      }
      .comp-sub {
        display:block;
        margin-top:.12rem;
        white-space:normal;
      }
    }

    @media (max-width: 767.98px) {
      .entry-form-shell {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: .75rem !important;
        padding-bottom: 1rem !important;
      }

      .pair-block {
        padding-top: .75rem;
        margin-top: .75rem;
      }

      .pair-block__shell,
      .pair-block__main {
        display: block;
      }

      .pair-block__actions {
        margin-top: .75rem;
        width: 100%;
      }

      .pair-block__actions .btnRemovePair {
        width: 100%;
      }

      .pair-block__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
      }

      .pair-block__column--full {
        grid-column: auto;
      }

      .comp-trigger {
        width: 100%;
        min-width: 0;
      }
      .btn-entry-action {
        min-height: 44px;
        border-radius: .375rem;
      }

      .ac-dropdown {
        max-height: min(42vh, 320px) !important;
        border-radius: .375rem;
      }

      .ac-dropdown .entry-subject-picker__option {
        padding: .7rem .85rem;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
      }

      .comp-selected {
        gap: .45rem;
        overflow: visible;
      }

      .comp-row {
        padding: .6rem .65rem;
        border-radius: .375rem;
      }

      .comp-head {
        gap: .55rem;
        flex-wrap: nowrap;
        align-items: center;
      }

      .comp-date-meta {
        width: auto;
        flex: 0 0 auto;
        flex-wrap: nowrap;
      }

      .comp-title,
      .comp-sub {
        min-width:0;
        white-space:normal;
      }

      .stabling-head {
        padding: .75rem;
      }

      .stabling-head__row {
        display: block;
      }

      .stabling-head__prices {
        margin-top: .55rem;
        text-align: left;
        line-height: 1.35;
      }

      .stabling-body {
        padding: .75rem;
      }

      .extra-box-card {
        padding: .7rem;
      }

      .extra-box-head {
        display: block;
      }

      .extra-box-head .btnRemoveExtraBox {
        margin-top: .6rem;
        width: 100%;
      }

      .comp-picker-modal.modal,
      .entry-mobile-picker.modal,
      .comp-picker-modal .modal-dialog,
      .entry-mobile-picker .modal-dialog,
      .comp-picker-modal .modal-content {
      height: 100%;
      }

      .entry-mobile-picker .modal-content {
        height: 100%;
      }

      .comp-picker-modal .modal-body,
      .entry-mobile-picker .modal-body {
        flex: 1 1 auto;
      }

      .comp-picker-modal .modal-footer,
      .entry-mobile-picker .modal-footer {
        display: none;
      }

      .comp-mobile-modal__list,
      .entry-mobile-picker__list {
        padding-bottom: 9rem;
      }

      .comp-mobile-modal__toolbar,
      .entry-mobile-picker__toolbar {
        align-items: stretch;
      }

      .entry-mobile-picker__confirm {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-inline: 1rem;
      }

      .stabling-date-label {
        display: inline-block;
        line-height: 1.3;
      }

      .discipline-add-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: .6rem;
      }

      #addPairActionWrap {
        width: 100%;
        flex: 1 1 100%;
      }

      .discipline-add-buttons .entry-action-button.btn-entry-action.btnAddPairByDiscipline {
        width: 100%;
        min-width: 0;
        min-height: 0;
        flex: 1 1 100%;
        padding: .5rem .9rem;
      }

      .pairs-footer__actions {
        justify-content: stretch;
      }

      .competitors-footer {
        display: block !important;
      }

      .competitors-footer .note-small {
        margin-top: 0 !important;
      }
    }
