/* Native CF7 and Ultimate Member controls keep their original validation and visibility. */
.oribe-service :is(.wpcf7, .um, .oribe-code-panel) {
  --form-accent: var(--section-accent, #285e65);
  --form-wash: var(--section-wash, #f1f5f3);
  color: #26343a;
  overflow-wrap: anywhere;
}
.oribe-service :is(.um-register .um-form, .oribe-code-panel, .wpcf7 form.wpcf7-form) {
  box-sizing: border-box;
  padding: clamp(18px, 3.5vw, 42px);
  border: 1px solid #cbd3d4;
  border-top: 5px solid var(--form-accent);
  background: white;
}
.oribe-service .oribe-code-panel { max-width: 38rem; margin-inline: auto; }
.oribe-service .um .um-field { padding-block: 14px; }
.oribe-service :is(.um-field-label label, .oribe-code-panel form label, .wpcf7 legend) {
  color: #26343a;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}
.oribe-service .oribe-code-panel form label { display: block; margin: 1.25rem 0 .4rem; }
.oribe-service :is(.um, .wpcf7) :is(input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], textarea, select):not(.select2-search__field) {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  height: auto !important;
  padding: 9px 12px !important;
  border: 1px solid #77868a !important;
  border-radius: 4px;
  background-color: #fff;
  color: #26343a;
  font: inherit;
  font-size: 16px !important;
  line-height: 1.5;
}
.oribe-service :is(.um, .wpcf7) textarea { min-height: 7rem; resize: vertical; }
.oribe-service :is(.um, .wpcf7) input[type=file] { max-width: 100%; }
.oribe-service :is(.um, .wpcf7) :is(input, button, textarea, select, a):focus-visible {
  outline: 3px solid var(--form-accent) !important;
  outline-offset: 2px;
}
.oribe-service .wpcf7 .wpcf7-list-item { margin: .25rem .9rem .25rem 0; }
.oribe-service .wpcf7-list-item label { display: inline-flex; align-items: baseline; gap: .4rem; cursor: pointer; }
.oribe-service .wpcf7-list-item input { accent-color: var(--form-accent); flex: none; }
.oribe-service :is(.wpcf7 .wpcf7-submit, .oribe-code-panel .um-button, .um form input.um-button[type=submit]) {
  box-sizing: border-box;
  min-height: 46px;
  max-width: 100%;
  padding: .78em 1.5em !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  background: var(--form-accent) !important;
  color: white !important;
  font-size: 1rem !important;
  font-weight: 700;
  white-space: normal;
}
.oribe-service .oribe-code-panel .um-button { margin-top: 1rem; }
.oribe-service :is(.wpcf7 .wpcf7-submit, .um .um-button):enabled:hover { filter: brightness(.93); }
.oribe-service .wpcf7 form .wpcf7-submit:disabled { background: #657175 !important; cursor: not-allowed; }
.oribe-service :is(.um, .wpcf7) [aria-invalid=true] { border-color: #a32a34 !important; }
.oribe-service .wpcf7 .wpcf7-not-valid-tip,
.oribe-service .oribe-code-panel [role=alert] { color: #9b2630; font-weight: 700; }
.oribe-service .um .um-field-error { background: #9b2630; color: white; }
.oribe-service .oribe-code-help { margin-top: 1.5rem; padding-top: .75rem; border-top: 1px solid #cbd3d4; }
.oribe-service .oribe-code-panel [role=status] { padding: .75em 1em; background: var(--form-wash); }
@media (max-width: 640px) {
  .oribe-service :is(.um-register .um-form, .oribe-code-panel, .wpcf7 form.wpcf7-form) { padding: 18px 12px; }
  .oribe-service .oribe-code-panel :is(#oribe-login-email, .um-button) { width: 100%; }
  .oribe-service .wpcf7 .wpcf7-list-item { margin-block: .4rem; }
}
.oribe-service .oribe-entry-form { --entry-action: var(--section-accent, #285e65); }
.oribe-service .craft2027-options fieldset {
  min-inline-size: 0;
  margin-block: 1.25rem;
  padding: 1rem;
  border: 1px solid #abb7ba;
  border-radius: 4px;
}
.oribe-service .craft2027-options legend { padding-inline: .35em; }
.oribe-service .craft2027-options [data-craft2027-total]:not(:empty) {
  padding: 1rem 0;
  background: transparent;
  border-inline-start: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.oribe-service .wpcf7-list-item label { align-items:center; min-height:44px; }
@media (max-width:640px) {
  body.oribe-service:has(.wpcf7 form) #cta-floating-show,
  body.oribe-service:has(.wpcf7 form) #cta-floating-show .cta-floating__inner {
    position:static; width:100%; max-width:100%; transform:none;
  }
}

/* When a position fee is offered, the live calculation includes its own total. */
.oribe-service form:has([data-craft2027-total]:not(:empty)) tr:has([name="feeTotal"]) {
  display: none;
}

/* Registration, staff editing and category applications share one field-status style. */
body.oribe-service :is(.um-field-label .oribe-field-status,.oribe-entry-form .oribe-field-status) {
  display:inline-block; vertical-align:middle; margin:0 0 0 .5em; padding:.13em .52em;
  font-size:12px; line-height:1.4; font-weight:700; letter-spacing:normal;
  color:white; background:#97500e; border-radius:3px;
}
body.oribe-service .um-field-label .oribe-field-status::after { content:none; }
body.oribe-service .oribe-entry-form .oribe-field-status[data-status="任意"] { color:#35453b; background:#e8ede9; }
body.oribe-service .oribe-entry-form .oribe-field-title,
body.oribe-service .um .um-field-label label { font-size:1rem; line-height:1.5; font-weight:700; }
body.oribe-service .oribe-entry-form label.oribe-field-title > .wpcf7-form-control-wrap { display:block; margin-top:8px; font-weight:400; }
body.oribe-service .oribe-entry-form .craft-rank-fields select { margin-top:8px; }
body.oribe-service .um .um-field-label .um-req.oribe-field-status { color:white !important; }
body.oribe-flow .exhibitor-review .oribe-entry-form { color:#233c34; }
body.oribe-flow .exhibitor-review table { width:100%;border-collapse:collapse;margin:1rem 0 1.6rem;font-variant-numeric:tabular-nums; }
body.oribe-flow .exhibitor-review th,body.oribe-flow .exhibitor-review td { padding:.65em .8em;border:1px solid #c5d3ca;overflow-wrap:anywhere; }
body.oribe-flow .exhibitor-review th { background:#eff4ee;color:#304b3c; }
body.oribe-flow .exhibitor-review .rank-review { table-layout:fixed; }
body.oribe-flow .exhibitor-review .rank-review td { text-align:center; }
body.oribe-flow .exhibitor-review caption { text-align:left;font-weight:700;padding:.7em 0; }
body.oribe-flow .exhibitor-review .review-grand-total { color:#284736;background:#eaf2ea;border-top:2px solid #546e57;padding:1em;text-align:right;font-size:clamp(1.25rem,2.2vw,1.7rem); }
body.oribe-flow .exhibitor-review .review-lock-notice { font-size:.95rem;text-align:left;line-height:1.7; }
body.oribe-flow .exhibitor-review input[type=submit] { background:#45634f!important;color:white!important;border:1px solid #45634f!important; }
body.oribe-flow .exhibitor-review input[type=button] { width:auto!important;max-width:100%;padding-inline:1.1rem; }
.festival-receipt-art { display:block;width:min(100%,31rem);height:auto;margin:0 0 1.75rem; }
@media(max-width:600px){body.oribe-flow .exhibitor-review th,body.oribe-flow .exhibitor-review td {padding:.5rem .35rem;}}

body.oribe-service .oribe-birth-heading .oribe-field-status {display:inline-block;margin-inline-start:.5em;padding:.13em .52em;border-radius:3px;color:white;background:#97500e;font:700 12px/1.4 sans-serif;vertical-align:middle;}

/* The signed review supplies the complete award-neutral fee breakdown, all ranks and payment details. */
body.oribe-flow .exhibitor-review:has(.craft-confirmation) :is(.price_calc,.payment,.off_message,.wpcf7-previous,.wpcf7-back) { display:none!important; }
body.oribe-flow .exhibitor-review .craft-confirmation { text-align:left; margin:0; padding:0; border:0; background:none; }
body.oribe-flow .exhibitor-review .craft-confirmation h3 { margin:1.5em 0 .45em; text-align:left; }
body.oribe-flow .exhibitor-review .craft-confirmation .review-fees :is(td,th):last-child { text-align:right; white-space:nowrap; }
body.oribe-flow .exhibitor-review .craft-confirmation .review-fees td:nth-child(2) { text-align:center; white-space:nowrap; }
body.oribe-flow .exhibitor-review .craft-confirmation :is(.review-payment,.review-fees) th[scope=row] { text-align:left; }
body.oribe-flow .exhibitor-review .craft-confirmation .review-payment th {width:45%;}
body.oribe-flow .exhibitor-review .craft-confirmation .review-equipment-note { font-size:.92em;margin-top:-.75em; }
body.oribe-flow .exhibitor-review .craft-confirmation .review-edit-link { margin:1.5rem 0; }
body.oribe-flow .exhibitor-review .craft-confirmation > h3:first-child { margin-top:0; }
