/* EFEIGHT DOTCOM · Precision Edition 2.0 */
:is(#efeight-app, #efeight-operator-blocker, .efeight-admin) {
  --ink: #172638;
  --muted: #627486;
  --line: #e2e8ef;
  --field: #738294;
  --warm: #fffdfa;
  --elevated: 0 10px 28px rgba(27,43,59,.09);
  --paper: #fff;
  --soft: #f7f9fc;
  --gold: #e4a725;
  --cream: #fff6df;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#efeight-app, #efeight-operator-blocker .efeight-operator-card, .wrap.efeight-admin {
  box-sizing: border-box;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(16px, 2vw, 24px);
  box-shadow: 0 18px 70px rgba(19,35,51,.055);
}
:is(#efeight-app, #efeight-operator-blocker, .wrap.efeight-admin) :is(h1,h2,h3,h4) {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.wrap.efeight-admin h1, #efeight-app .efeight-step-header h3, #efeight-operator-blocker h2 {
  font-size: clamp(1.3125rem, 2.5vw, 1.6875rem);
  font-weight: 750;
}
#efeight-app :is(.efeight-summary,.efeight-commercial,.efeight-choice,.efeight-extra-card,.efeight-price-card,.efeight-terms-acceptance),
#efeight-operator-blocker :is(.efeight-op-card,.efeight-operator-panel),
.wrap.efeight-admin :is(.efeight-card,.efeight-admin-card,.efeight-agenda-card,.widefat) {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 17px rgba(27,43,59,.045);
}
#efeight-app :is(.efeight-choice-content,.efeight-extra-card-body,.efeight-commercial,.efeight-summary),
.wrap.efeight-admin :is(.efeight-card,.efeight-admin-card,.efeight-agenda-card) { padding: 16px; }
#efeight-app :is(.efeight-choice-main,.efeight-extra-card-title) { color: var(--ink); text-transform: none; letter-spacing: -.015em; font-size: 1rem; font-weight: 700; }
#efeight-app :is(.efeight-choice-sub,.efeight-extra-card-description,.efeight-sub) { color: var(--muted); font-size: .9375rem; line-height: 1.5; text-align: start; text-transform: none; }
#efeight-app :is(.efeight-promo-box,.efeight-selection-overview,.efeight-quote-share-box,.efeight-summary-secondary),
#efeight-operator-blocker .efeight-operator-panel, .wrap.efeight-admin .widefat thead { background: var(--soft); border-color: var(--line); }
#efeight-app .efeight-price-total { background: var(--soft); padding: 16px 20px; }
#efeight-app .efeight-price-total :is(span,strong) { color: var(--ink); }
:is(#efeight-app,#efeight-operator-blocker,.wrap.efeight-admin) :is(button,.button,input,select,textarea) { font-family: inherit; }
:is(#efeight-app,#efeight-operator-blocker,.wrap.efeight-admin) :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=submit]),select,textarea) {
  box-sizing: border-box; max-width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--field); border-radius: 9px; background: white; color: var(--ink); font-size: 1rem;
}
:is(#efeight-app,#efeight-operator-blocker,.wrap.efeight-admin) :is(input[type=checkbox],input[type=radio]) { accent-color: var(--ink); }
#efeight-app :is(.efeight-btn,.efeight-binary-btn,.efeight-slot-btn,.efeight-stepper-btn), #efeight-operator-blocker button, .wrap.efeight-admin .button {
  min-height: 44px; border-radius: 9px; font-size: .875rem; font-weight: 650; transition: background-color .15s, border-color .15s;
}
#efeight-app .efeight-btn:not(.efeight-btn-secondary), #efeight-operator-blocker .efeight-op-primary-btn, .wrap.efeight-admin .button-primary {
  background: var(--gold); border-color: #926100; color: var(--ink); font-weight: 700; text-shadow: none;
}
#efeight-app .efeight-btn-secondary, .wrap.efeight-admin .button:not(.button-primary) { background: white; color: var(--ink); border-color: var(--muted); }
#efeight-app .efeight-btn:not(:disabled):hover, .wrap.efeight-admin .button:hover, #efeight-operator-blocker .efeight-op-primary-btn:hover { background: var(--cream); color: var(--ink); border-color: var(--ink); }
#efeight-app :is(.efeight-binary-btn.is-active,.efeight-slot-btn.selected,.efeight-day.selected), #efeight-operator-blocker .efeight-op-chip.is-active {
  background: var(--warm) !important; color: var(--ink) !important; border-color: var(--gold) !important; box-shadow: inset 0 -1px var(--gold); font-weight: 700;
}
#efeight-app .efeight-progress-item.is-active span { background: var(--gold) !important; color: var(--ink) !important; border-color: var(--ink) !important; }
#efeight-app .efeight-progress-item.is-done span { background: #187347 !important; border-color: #187347 !important; }
#efeight-app .efeight-operator-banner { background: var(--cream); color: var(--ink); border: 1px solid var(--gold); }
#efeight-operator-blocker .efeight-operator-status.is-ok { color: #187347; }
#efeight-operator-blocker .efeight-operator-status.is-warn { color: #926100; }
.wrap.efeight-admin { margin-block: 16px; }
.wrap.efeight-admin .widefat :is(td,th) { padding: 8px 12px; color: var(--ink); }
.wrap.efeight-admin .widefat tbody tr:nth-child(even) { background: var(--soft); }
.wrap.efeight-admin .efeight-clickable-row:hover td { background: var(--cream); }
.wrap.efeight-admin .efeight-zone-badge { background: var(--soft); border-color: var(--line); color: #1d5c88; }
:is(#efeight-app,#efeight-operator-blocker,.wrap.efeight-admin) :is(button,input,textarea,select,a,[tabindex]):focus-visible {
  outline: 2px solid var(--ink) !important; outline-offset: 2px; box-shadow: 0 0 0 3px var(--gold) !important;
}
:is(#efeight-app,#efeight-operator-blocker,.wrap.efeight-admin) button:disabled { cursor: not-allowed; }
@media (max-width: 782px) {
  .wrap.efeight-admin :is(.widefat,.efeight-subtable,.efeight-vs-grid) { max-width: 100%; overflow-x: auto; }
  .wrap.efeight-admin :is(.widefat,.efeight-subtable) { display: block; }
  .wrap.efeight-admin .efeight-row label { min-width: 0; max-width: 100%; }
  #efeight-app .efeight-calendar-grid { grid-template-columns: repeat(7,minmax(0,1fr)); }
  #efeight-app .efeight-day { min-width: 0; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :is(#efeight-app,#efeight-operator-blocker,.efeight-admin) *, :is(#efeight-app,#efeight-operator-blocker,.efeight-admin) *::before { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
#efeight-app .efeight-progress { flex-wrap: wrap !important; }
#efeight-app .efeight-progress-item, #efeight-app .efeight-progress-item span {
  width: 26px !important; min-width: 26px !important; height: 26px !important; font-size: .75rem !important;
}
#efeight-app .efeight-choice:focus-visible { outline: 2px solid var(--ink) !important; outline-offset: 2px; }
#efeight-operator-blocker .efeight-op-card.is-booking { border-left: 4px solid #187347; }
#efeight-operator-blocker .efeight-op-card.is-block { border-left: 4px solid var(--ink); }
@media (forced-colors: active) {
  #efeight-app :is(.selected,.is-active), #efeight-operator-blocker .is-active { outline: 2px solid Highlight; }
}
/* Operational density and hierarchy */
#efeight-app .efeight-choice-grid { gap: 12px; }
#efeight-app .efeight-choice:not(.efeight-visual-choice) { padding: 12px 16px; min-height: 48px; }
#efeight-app .efeight-choice { transition: transform 200ms, border-color 200ms, box-shadow 200ms; }
#efeight-app .efeight-form-grid { gap: 20px; }
#efeight-app .efeight-form-grid label, #efeight-operator-blocker .efeight-op-field span,
.wrap.efeight-admin .form-table th { font-size: .875rem; font-weight: 600; letter-spacing: normal; text-transform: none; }
#efeight-app .efeight-price-total strong { font-size: clamp(1.5rem,3vw,2rem); font-weight: 750; }
#efeight-app :is(.efeight-qty,.efeight-email), #efeight-operator-blocker .efeight-op-field input { padding: 9px 12px; line-height: 1.5; }
#efeight-app .efeight-nav > .efeight-btn { width: auto; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; margin: 4px; padding: 9px 16px; }
#efeight-app .efeight-quote-link-row .efeight-copy-link-btn, #efeight-app .efeight-promo-actions .efeight-btn,
#efeight-app.efeight-operator-mode .efeight-nav .efeight-btn-secondary + .efeight-btn:last-child:not(:first-child):nth-child(n+4) { background: var(--paper); color: var(--ink); border-color: var(--field); }
#efeight-app .efeight-progress-item.is-done span { background: var(--soft) !important; color: var(--ink) !important; border-color: var(--field) !important; }
#efeight-operator-blocker .efeight-operator-panel { box-shadow: none; padding: 16px; }
#efeight-operator-blocker .efeight-op-card-title { font-size: 1rem; font-weight: 700; }
#efeight-operator-blocker .efeight-op-card-badge, .wrap.efeight-admin :is(.efeight-zone-badge,.efeight-block-pill) { border-radius: 8px; padding: 3px 8px; font-size: .75rem; }
.wrap.efeight-admin :is(.widefat,.efeight-subtable) :is(th,td) { border: 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.wrap.efeight-admin :is(.widefat,.efeight-subtable) thead th { font-size: .75rem; font-weight: 700; background: var(--soft); }
.wrap.efeight-admin :is(.widefat,.efeight-subtable) tr { height: 46px; }
.wrap.efeight-admin .widefat tbody tr:nth-child(even) { background: var(--paper); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #efeight-app .efeight-choice:not(:disabled):hover { transform: translateY(-2px); background: var(--warm) !important; border-color: var(--gold) !important; box-shadow: var(--elevated) !important; }
}
:is(#efeight-app,#efeight-operator-blocker,.wrap.efeight-admin) button:disabled { filter: saturate(.25); opacity: .72; transform: none; }
@media (max-width: 600px) {
  #efeight-app .efeight-form-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  #efeight-app .efeight-nav > .efeight-btn { margin-inline: 0 8px; }
}
