.infra-center {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  grid-template-rows: 4.25rem minmax(0, 1fr);
  overflow: hidden;
  background: #f4f6f5;
  color: #17211e;
  direction: rtl;
}
.infra-center.hidden { display: none; }
.infra-center button,
.infra-center input,
.infra-center select { font: inherit; letter-spacing: 0; }
.infra-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 1.5rem;
  border-bottom: 1px solid #dce2df;
  background: #fff;
}
.infra-title { display: flex; align-items: baseline; gap: .8rem; min-width: 0; }
.infra-title h2 { margin: 0; font-size: 1.08rem; }
.infra-brand { color: #087a64; font-size: .78rem; font-weight: 850; }
.infra-close { min-height: 2.35rem; padding: .35rem .75rem; border: 1px solid #d4dbd8; border-radius: 6px; background: #fff; cursor: pointer; }
.infra-body { display: grid; grid-template-columns: 13rem minmax(0, 1fr); min-height: 0; }
.infra-tabs { display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border-inline-end: 1px solid #dce2df; background: #fff; }
.infra-tabs button { min-height: 2.7rem; padding: .55rem .7rem; border: 0; border-radius: 6px; background: transparent; color: #53605b; text-align: start; cursor: pointer; }
.infra-tabs button.on { background: #e7f4f0; color: #076c59; font-weight: 800; }
.infra-main { min-width: 0; overflow: auto; padding: 1.5rem max(1rem, calc((100% - 70rem) / 2)); }
.infra-return { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; padding: .85rem 0; border-top: 1px solid #b9d5cd; border-bottom: 1px solid #b9d5cd; }
.infra-return-copy { display: grid; gap: .3rem; min-width: 0; }
.infra-return-copy b { font-size: .95rem; overflow-wrap: anywhere; }
.infra-return-copy span { color: #53605b; font-size: .82rem; overflow-wrap: anywhere; }
.infra-return-actions { display: flex; flex-wrap: wrap; gap: .5rem; flex-shrink: 0; }
.infra-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; }
.infra-section-head:not(:first-child) { margin-top: 2rem; }
.infra-section-head h3 { margin: 0; font-size: 1.2rem; }
.infra-search { margin-bottom: 1rem; }
.infra-contact { padding-block: .2rem 1rem; border-bottom: 1px solid #dce2df; }
.infra-contact .infra-section-head { margin: 0 0 .75rem; }
.infra-contact-summary { margin: 0; color: #53605b; font-size: .85rem; overflow-wrap: anywhere; }
.infra-contact-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.infra-contact-field { display: grid; gap: .3rem; min-width: 0; font-size: .78rem; color: #53605b; }
.infra-contact-field input { min-width: 0; min-height: 2.5rem; padding: .5rem .6rem; border: 1px solid #cfd8d4; border-radius: 6px; background: #fff; color: #17211e; }
.infra-contact-form > button { align-self: end; }
.infra-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; width: min(100%, 38rem); }
.infra-search input,
.infra-assignment select,
.infra-provision-form input,
.infra-provision-form select,
.infra-cancel-server input { min-height: 2.7rem; padding: .55rem .7rem; border: 1px solid #cfd8d4; border-radius: 6px; background: #fff; color: inherit; outline: none; }
.infra-search input:focus,
.infra-assignment select:focus { border-color: #087a64; box-shadow: 0 0 0 3px rgba(8,122,100,.1); }
.infra-center button.primary { min-height: 2.7rem; padding: .45rem .85rem; border: 1px solid #087a64; border-radius: 6px; background: #087a64; color: #fff; cursor: pointer; }
.infra-center button.bordered,
.infra-row-actions > button,
.infra-table-row > button,
.infra-order > button { min-height: 2.3rem; padding: .35rem .65rem; border: 1px solid #cfd8d4; border-radius: 6px; background: #fff; color: inherit; cursor: pointer; }
.infra-center button:disabled { cursor: not-allowed; opacity: .48; }
.infra-results { width: min(100%, 48rem); margin-top: .75rem; border-top: 1px solid #dce2df; }
.infra-result { display: grid; grid-template-columns: minmax(0, 1fr) 8rem auto; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #dce2df; }
.infra-name { display: grid; gap: .2rem; min-width: 0; }
.infra-name b { overflow-wrap: anywhere; }
.infra-name small,
.infra-account small,
.infra-renewal small { color: #6b7773; font-size: .73rem; }
.infra-quote { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: .75rem; margin: 1rem 0; padding: .85rem 0; border-top: 1px solid #b9d5cd; border-bottom: 1px solid #b9d5cd; }
.infra-quote > div { display: grid; gap: .2rem; }
.infra-alert { grid-column: 1 / -1; margin: 0; color: #9a5e10; font-size: .78rem; }
.infra-table { border-top: 1px solid #dce2df; }
.infra-table-head,
.infra-table-row { display: grid; grid-template-columns: minmax(11rem, 1.4fr) minmax(7rem, .8fr) minmax(8rem, .8fr) minmax(10rem, 1fr) minmax(9rem, auto); align-items: center; gap: .8rem; }
.infra-table-head { min-height: 2.4rem; color: #74807b; font-size: .72rem; }
.infra-table-row { min-height: 4.7rem; padding: .7rem 0; border-top: 1px solid #dce2df; }
.infra-table-row:first-of-type { border-top: 0; }
.infra-status-stack,
.infra-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.infra-renewal { display: grid; gap: .3rem; justify-items: start; }
.infra-state { display: inline-flex; width: fit-content; padding: .18rem .42rem; border-radius: 4px; background: #edf1ef; color: #58645f; font-size: .69rem; font-weight: 800; }
.infra-state.state-active,
.infra-state.state-healthy,
.infra-state.state-live,
.infra-state.state-succeeded { background: #e4f3ed; color: #08705c; }
.infra-state.state-failed,
.infra-state.state-action-required,
.infra-state.state-expired,
.infra-state.state-urgent { background: #fff0f1; color: #a3353d; }
.infra-state.state-due,
.infra-state.state-payment-review,
.infra-state.state-held,
.infra-state.state-operator-pending,
.infra-state.state-reconciling { background: #fff5df; color: #956018; }
.infra-assignment select { width: 100%; min-width: 0; }
.infra-toggle { display: inline-flex; align-items: center; gap: .35rem; font-size: .73rem; white-space: nowrap; }
.infra-toggle input { accent-color: #087a64; }
.infra-orders { border-top: 1px solid #dce2df; }
.infra-order { display: grid; grid-template-columns: minmax(0, 1fr) auto 8rem auto; align-items: center; gap: .8rem; min-height: 4rem; padding: .65rem 0; border-bottom: 1px solid #dce2df; }
.infra-order-error { grid-column: 1 / -1; color: #a3353d; font-size: .76rem; }
/* Money owed back is amber, never the red of a failure: nothing is wrong that they must fix. */
.infra-order-note { grid-column: 1 / -1; color: #956018; font-size: .76rem; }
.infra-empty { min-height: 8rem; display: grid; place-items: center; border-top: 1px solid #dce2df; border-bottom: 1px solid #dce2df; color: #74807b; font-size: .82rem; }
.infra-account-grid { border-top: 1px solid #dce2df; }
.infra-account { display: grid; grid-template-columns: minmax(0, 1fr) 8rem auto 7rem; align-items: center; gap: .8rem; min-height: 3.5rem; border-bottom: 1px solid #dce2df; }
.infra-loading { display: grid; place-items: center; color: #6b7773; }
.infra-center.is-busy { cursor: progress; }
.infra-server-list { border-top: 1px solid #dce2df; }
.infra-server-row { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(15rem, 1.4fr) minmax(15rem, auto); align-items: center; gap: 1rem; min-height: 5.2rem; padding: .8rem 0; border-bottom: 1px solid #dce2df; }
.infra-server-facts { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; color: #596661; font-size: .76rem; }
.infra-server-actions { justify-content: flex-end; }
.infra-cancel-server { display: grid; grid-template-columns: 8.8rem auto; gap: .35rem; }
.infra-cancel-server input { min-height: 2.3rem; padding-block: .3rem; }
.infra-cancel-note { color: #956018; }
.infra-server-error { grid-column: 1 / -1; margin: -.15rem 0 0; color: #a3353d; font-size: .76rem; }
.infra-provision-form { display: grid; grid-template-columns: repeat(4, minmax(9rem, 1fr)) auto; gap: .55rem; margin-bottom: 1rem; }

:root[data-theme="dark"] .infra-center { background: #101715; color: #eef4f1; }
:root[data-theme="dark"] .infra-head,
:root[data-theme="dark"] .infra-tabs,
:root[data-theme="dark"] .infra-search input,
:root[data-theme="dark"] .infra-assignment select,
:root[data-theme="dark"] .infra-provision-form input,
:root[data-theme="dark"] .infra-provision-form select,
:root[data-theme="dark"] .infra-cancel-server input,
:root[data-theme="dark"] .infra-contact-field input,
:root[data-theme="dark"] .infra-center button.bordered,
:root[data-theme="dark"] .infra-row-actions > button,
:root[data-theme="dark"] .infra-table-row > button,
:root[data-theme="dark"] .infra-order > button { background: #17201d; color: #eef4f1; }
:root[data-theme="dark"] .infra-head,
:root[data-theme="dark"] .infra-tabs,
:root[data-theme="dark"] .infra-results,
:root[data-theme="dark"] .infra-result,
:root[data-theme="dark"] .infra-table,
:root[data-theme="dark"] .infra-table-row,
:root[data-theme="dark"] .infra-orders,
:root[data-theme="dark"] .infra-order,
:root[data-theme="dark"] .infra-account-grid,
:root[data-theme="dark"] .infra-account,
:root[data-theme="dark"] .infra-server-list,
:root[data-theme="dark"] .infra-server-row { border-color: #2c3935; }
:root[data-theme="dark"] .infra-return { border-color: #2c3935; }
:root[data-theme="dark"] .infra-return-copy span { color: #a7b6af; }

@media (max-width: 62rem) {
  .infra-return { align-items: start; flex-direction: column; }
  .infra-return-actions { flex-shrink: 1; }
  .infra-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .infra-tabs { flex-direction: row; overflow-x: auto; padding: .65rem 1rem; border-inline-end: 0; border-bottom: 1px solid #dce2df; }
  .infra-tabs button { min-width: 8rem; text-align: center; }
  .infra-main { padding: 1rem; }
  .infra-table-head { display: none; }
  .infra-table-row { grid-template-columns: minmax(0, 1fr) minmax(8rem, auto); align-items: start; }
  .infra-table-row > :nth-child(3),
  .infra-table-row > :nth-child(4),
  .infra-table-row > :nth-child(5) { grid-column: 1 / -1; }
  .infra-hosting-table .infra-table-row > :nth-child(3),
  .infra-hosting-table .infra-table-row > :nth-child(4) { grid-column: auto; }
  .infra-hosting-table .infra-table-row > :nth-child(5) { grid-column: 1 / -1; }
  .infra-server-row { grid-template-columns: minmax(0, 1fr) minmax(15rem, 1fr); align-items: start; }
  .infra-server-row > :nth-child(3) { grid-column: 1 / -1; justify-content: flex-start; }
  .infra-provision-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infra-contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infra-provision-form > button { grid-column: 1 / -1; }
}

@media (max-width: 36rem) {
  .infra-return-actions { width: 100%; }
  .infra-return-actions button { flex: 1 1 100%; }
  .infra-center { grid-template-rows: 3.9rem minmax(0, 1fr); }
  .infra-head { padding-inline: .85rem; }
  .infra-tabs { overflow-x: hidden; padding-inline: .65rem; }
  .infra-tabs button { flex: 1 1 0; min-width: 0; padding-inline: .3rem; font-size: .78rem; }
  .infra-search-form,
  .infra-result,
  .infra-quote,
  .infra-order,
  .infra-account { grid-template-columns: 1fr; }
  .infra-server-row,
  .infra-provision-form,
  .infra-cancel-server { grid-template-columns: 1fr; }
  .infra-contact-form { grid-template-columns: 1fr; }
  .infra-server-row > :nth-child(3),
  .infra-provision-form > button { grid-column: 1; }
  .infra-server-actions { justify-content: flex-start; }
  .infra-result > button,
  .infra-quote > button { width: 100%; }
  .infra-alert { grid-column: 1; }
}

/* ── private servers ─────────────────────────────────────────────── */
.srv-intro { display: grid; gap: .7rem; justify-items: start; max-width: 40rem; padding: 1.6rem 0; border-top: 1px solid #dce2df; border-bottom: 1px solid #dce2df; }
.srv-intro h4 { margin: 0; font-size: 1.15rem; }
.srv-intro p { margin: 0; color: #53605b; line-height: 1.8; }
.srv-muted { color: #6b7773; font-size: .8rem; }
.srv-error { color: #a3353d; font-size: .85rem; }
.srv-warn { color: #956018; font-weight: 700; }
.srv-wizard { display: grid; gap: 1.25rem; }
.srv-steps { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.srv-steps li { display: flex; align-items: center; gap: .45rem; padding: .4rem .7rem .4rem .9rem; border: 1px solid #dce2df; border-radius: 999px; color: #6b7773; font-size: .82rem; background: #fff; }
.srv-steps li.on { border-color: #087a64; color: #076c59; font-weight: 800; }
.srv-steps li.done { color: #08705c; }
.srv-step-n { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #edf1ef; font-size: .74rem; font-weight: 800; }
.srv-steps li.on .srv-step-n { background: #087a64; color: #fff; }
.srv-steps li.done .srv-step-n { background: #e4f3ed; color: #08705c; }
.srv-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .9rem; }
.srv-plan { position: relative; display: grid; align-content: start; gap: .55rem; min-height: 15rem; padding: 1.1rem 1rem 1rem; border: 1px solid #dce2df; border-radius: 10px; background: #fff; color: inherit; text-align: start; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.srv-plan:hover { border-color: #087a64; box-shadow: 0 6px 18px rgba(8,122,100,.1); transform: translateY(-1px); }
.srv-plan:focus-visible { outline: 3px solid rgba(8,122,100,.35); outline-offset: 2px; }
.srv-plan.on { border-color: #087a64; box-shadow: 0 0 0 2px rgba(8,122,100,.25); }
.srv-badge { position: absolute; top: -.7rem; inset-inline-start: .9rem; padding: .15rem .55rem; border-radius: 999px; background: #087a64; color: #fff; font-size: .7rem; font-weight: 800; }
.srv-plan-name { font-size: 1.05rem; }
.srv-price strong { font-size: 1.6rem; line-height: 1.1; }
.srv-price span { color: #6b7773; font-size: .8rem; }
.srv-specs { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; color: #3f4b47; font-size: .84rem; }
.srv-specs li::before { content: '•'; margin-inline-end: .4rem; color: #087a64; }
.srv-suits { margin: 0; color: #6b7773; font-size: .78rem; line-height: 1.7; }
.srv-details, .srv-review { display: grid; gap: 1.1rem; max-width: 44rem; }
.srv-picked { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0; padding: .7rem .85rem; border-radius: 8px; background: #e7f4f0; font-size: .88rem; }
.srv-picked span { color: #3f4b47; }
.srv-field { display: grid; gap: .45rem; min-width: 0; }
.srv-label { color: #53605b; font-size: .8rem; font-weight: 700; }
.srv-field select, .srv-field input:not([type="radio"]), .srv-advanced textarea, .srv-coupon input, .srv-panel input { width: 100%; min-height: 2.7rem; padding: .55rem .7rem; border: 1px solid #cfd8d4; border-radius: 6px; background: #fff; color: inherit; outline: none; box-sizing: border-box; }
.srv-field select:focus, .srv-field input:focus, .srv-advanced textarea:focus, .srv-coupon input:focus, .srv-panel input:focus { border-color: #087a64; box-shadow: 0 0 0 3px rgba(8,122,100,.1); }
.srv-advanced textarea { min-height: 5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; resize: vertical; }
.srv-advanced summary { cursor: pointer; color: #076c59; font-size: .85rem; font-weight: 700; }
.srv-advanced[open] summary { margin-bottom: .5rem; }
.srv-fixed { margin: 0; color: #3f4b47; font-size: .88rem; }
.srv-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .5rem; }
.srv-option { display: flex; align-items: flex-start; gap: .55rem; padding: .7rem .8rem; border: 1px solid #dce2df; border-radius: 8px; background: #fff; cursor: pointer; }
.srv-option.on { border-color: #087a64; background: #f3faf8; }
.srv-option input { flex: none; width: 1.05rem; height: 1.05rem; min-height: 0; margin: .2rem 0 0; padding: 0; accent-color: #087a64; }
.srv-option-text { display: grid; gap: .15rem; min-width: 0; }
.srv-option-text b { font-size: .88rem; }
.srv-option-text small { color: #6b7773; font-size: .74rem; }
.srv-summary { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .55rem 1rem; margin: 0; padding: 1rem; border: 1px solid #dce2df; border-radius: 10px; background: #fff; }
.srv-summary dt { color: #6b7773; font-size: .82rem; }
.srv-summary dd { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.srv-total { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.srv-total strong { font-size: 1.5rem; }
.srv-fine { margin: 0; color: #6b7773; font-size: .78rem; line-height: 1.8; }
.srv-fine a { color: #076c59; }
.srv-footer { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
.srv-list { display: grid; gap: .9rem; }
.srv-sites { display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.srv-sites-head { margin: 0; font-size: .95rem; }
.srv-room { display: grid; gap: .3rem; }
.srv-room-track { height: .5rem; overflow: hidden; border-radius: 999px; background: #edf1ef; }
.srv-room-fill { display: block; height: 100%; border-radius: inherit; background: #087a64; }
.srv-room small { color: #6b7773; font-size: .76rem; }
.srv-site-rows { display: grid; gap: .4rem; }
.srv-site-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem .6rem; padding: .55rem 0; border-top: 1px solid #edf1ef; }
.srv-site-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; }
.srv-move-targets { display: flex; flex-wrap: wrap; gap: .4rem; }
.srv-site-row b { min-width: 0; overflow-wrap: anywhere; font-size: .88rem; }
:root[data-theme="dark"] .srv-room-track { background: #22302b; }
:root[data-theme="dark"] .srv-room-fill { background: #0f9a7e; }
:root[data-theme="dark"] .srv-room small { color: #a9b8b2; }
:root[data-theme="dark"] .srv-site-row { border-color: #22302b; }
.srv-card { display: grid; gap: .8rem; padding: 1rem 1.1rem; border: 1px solid #dce2df; border-radius: 10px; background: #fff; }
.srv-card.phase-ended { opacity: .6; }
.srv-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.srv-card-title { display: grid; gap: .2rem; min-width: 0; }
.srv-card-title b { font-size: 1rem; overflow-wrap: anywhere; }
.srv-card-title small { color: #6b7773; font-size: .76rem; }
.srv-progress { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.srv-progress li { position: relative; padding: .3rem .7rem; border-radius: 999px; background: #edf1ef; color: #6b7773; font-size: .78rem; }
.srv-progress li.done { background: #e4f3ed; color: #08705c; }
.srv-progress li.done::before { content: '✓ '; }
.srv-progress li.on { background: #fff5df; color: #956018; font-weight: 700; }
.srv-progress li.on::after { content: ''; display: inline-block; width: .55rem; height: .55rem; margin-inline-start: .4rem; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; vertical-align: middle; animation: srv-spin .8s linear infinite; }
@keyframes srv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .srv-progress li.on::after { animation: none; } .srv-plan { transition: none; } }
.srv-note { margin: 0; color: #53605b; font-size: .84rem; line-height: 1.7; }
.srv-access { display: grid; gap: .4rem; }
.srv-line { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; min-width: 0; }
.srv-line .srv-label { min-width: 5.5rem; }
.srv-line code { direction: ltr; padding: .3rem .5rem; border-radius: 6px; background: #f1f4f3; font-size: .84rem; overflow-wrap: anywhere; }
.srv-center button.infra-copy, .infra-center button.infra-copy { min-height: 2rem; padding: .2rem .55rem; font-size: .76rem; }
.srv-facts { display: flex; gap: 1rem; flex-wrap: wrap; color: #53605b; font-size: .8rem; }
.srv-ending { margin: 0; padding: .6rem .75rem; border-radius: 8px; background: #fff5df; color: #7a4f12; font-size: .84rem; }
.srv-actions { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.srv-actions > button { box-sizing: border-box; height: 2.3rem; min-height: 0; }
.srv-more { position: relative; }
.srv-more summary { box-sizing: border-box; height: 2.3rem; display: inline-flex; align-items: center; padding: .35rem .65rem; border: 1px solid #cfd8d4; border-radius: 6px; background: #fff; cursor: pointer; list-style: none; font-size: .9rem; }
.srv-more summary::-webkit-details-marker { display: none; }
.srv-more-menu { position: absolute; z-index: 2; inset-inline-end: 0; top: calc(100% + .3rem); display: grid; gap: .35rem; min-width: 12rem; padding: .5rem; border: 1px solid #dce2df; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.infra-center button.srv-danger { color: #a3353d; border-color: #e8c3c6; }
.infra-center button.srv-danger-fill { background: #a3353d; border-color: #a3353d; }
.srv-panel { display: grid; gap: .7rem; padding: .9rem 1rem; border: 1px solid #b9d5cd; border-radius: 8px; background: #f7fbfa; }
.srv-panel p { margin: 0; line-height: 1.7; font-size: .88rem; }
.srv-panel-danger { border-color: #e8c3c6; background: #fff7f7; }
.srv-strong { font-weight: 700; }
.srv-secret { letter-spacing: .04em; }

:root[data-theme="dark"] .srv-plan,
:root[data-theme="dark"] .srv-card,
:root[data-theme="dark"] .srv-summary,
:root[data-theme="dark"] .srv-option,
:root[data-theme="dark"] .srv-steps li,
:root[data-theme="dark"] .srv-more summary,
:root[data-theme="dark"] .srv-more-menu,
:root[data-theme="dark"] .srv-field select,
:root[data-theme="dark"] .srv-field input:not([type="radio"]),
:root[data-theme="dark"] .srv-advanced textarea,
:root[data-theme="dark"] .srv-coupon input,
:root[data-theme="dark"] .srv-panel input { background: #17201d; color: #eef4f1; border-color: #2c3935; }
:root[data-theme="dark"] .srv-intro { border-color: #2c3935; }
:root[data-theme="dark"] .srv-intro p,
:root[data-theme="dark"] .srv-specs,
:root[data-theme="dark"] .srv-note,
:root[data-theme="dark"] .srv-facts,
:root[data-theme="dark"] .srv-picked span,
:root[data-theme="dark"] .srv-fixed { color: #c4d0cb; }
:root[data-theme="dark"] .srv-picked,
:root[data-theme="dark"] .srv-option.on { background: #16302a; }
:root[data-theme="dark"] .srv-line code { background: #1d2825; }
:root[data-theme="dark"] .srv-panel { background: #13211d; border-color: #2c4a41; }
:root[data-theme="dark"] .srv-panel-danger { background: #2a1719; border-color: #5a2d31; }
:root[data-theme="dark"] .srv-ending { background: #2e2413; color: #f0cf94; }
:root[data-theme="dark"] .srv-step-n,
:root[data-theme="dark"] .srv-progress li { background: #22302c; color: #a7b6af; }

@media (max-width: 36rem) {
  .srv-plans { grid-template-columns: 1fr; }
  .srv-plan { min-height: 0; }
  .srv-summary { grid-template-columns: 1fr; gap: .15rem; }
  .srv-summary dd { margin-bottom: .45rem; }
  .srv-footer > button { flex: 1 1 0; }
  .srv-line .srv-label { min-width: 100%; }
  .srv-more-menu { inset-inline-end: auto; inset-inline-start: 0; }
}

/* ── domain journey ───────────────────────────────────────────────── */
.dom-journey { display: grid; gap: 1.2rem; max-width: 46rem; }
.dom-search { display: grid; gap: .6rem; }
.dom-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
.dom-search-form input { min-height: 3.1rem; padding: .6rem .85rem; border: 1px solid #cfd8d4; border-radius: 8px; background: #fff; color: inherit; font-size: 1.05rem; outline: none; }
.dom-search-form input:focus { border-color: #087a64; box-shadow: 0 0 0 3px rgba(8,122,100,.12); }
.infra-center .dom-search-form button.primary { min-height: 3.1rem; padding-inline: 1.3rem; font-weight: 800; }
.dom-hint { margin: 0; color: #6b7773; font-size: .8rem; }
.dom-results { display: grid; gap: .5rem; margin-top: .4rem; }
.dom-none { margin: 0; padding: .7rem .85rem; border-radius: 8px; background: #fff5df; color: #7a4f12; font-size: .86rem; }
.dom-result { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid #dce2df; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.dom-result:hover { border-color: #b9d5cd; }
.dom-result.best { border-color: #087a64; box-shadow: 0 0 0 1px #087a64 inset, 0 8px 22px rgba(8,122,100,.08); }
.dom-name { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; min-width: 0; }
.dom-domain { direction: ltr; unicode-bidi: isolate; font-size: 1.08rem; font-weight: 800; letter-spacing: .01em; overflow-wrap: anywhere; }
.dom-tag { display: inline-flex; padding: .1rem .5rem; border-radius: 999px; background: #e4f3ed; color: #08705c; font-size: .72rem; font-weight: 800; }
.dom-price { display: grid; gap: .1rem; justify-items: end; text-align: end; }
.dom-price strong { font-size: 1.2rem; line-height: 1.1; }
.dom-price small { color: #6b7773; font-size: .74rem; white-space: nowrap; }
.dom-price small.dom-renew { color: #956018; }
.dom-taken { margin: .2rem 0 0; color: #6b7773; font-size: .8rem; }
.dom-taken bdi { direction: ltr; unicode-bidi: isolate; text-decoration: line-through; }
.dom-owner-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; padding: 1.1rem; border: 1px solid #dce2df; border-radius: 12px; background: #fff; }
.dom-owner-form .wide { grid-column: 1 / -1; }
.dom-field { display: grid; gap: .35rem; min-width: 0; }
.dom-field > span { color: #3f4b47; font-size: .82rem; font-weight: 700; }
.dom-field input, .dom-field select { width: 100%; box-sizing: border-box; min-height: 2.8rem; padding: .55rem .75rem; border: 1px solid #cfd8d4; border-radius: 8px; background: #fff; color: inherit; outline: none; }
.dom-field input:focus, .dom-field select:focus { border-color: #087a64; box-shadow: 0 0 0 3px rgba(8,122,100,.1); }
.dom-phone { display: flex; direction: ltr; align-items: stretch; }
.dom-phone .dom-dial { order: -1; display: inline-flex; align-items: center; padding: 0 .7rem; border: 1px solid #cfd8d4; border-right: 0; border-radius: 8px 0 0 8px; background: #f1f4f3; color: #3f4b47; font-weight: 700; }
.dom-phone input { border-radius: 0 8px 8px 0; }
.dom-more summary { cursor: pointer; color: #076c59; font-size: .84rem; font-weight: 700; }
.dom-more[open] summary { margin-bottom: .7rem; }
.dom-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.dom-owner-form .srv-error:empty { display: none; }
.dom-aside { display: flex; justify-content: flex-start; }
.infra-center button.dom-link { padding: .3rem 0; border: 0; background: none; color: #076c59; font-size: .84rem; text-decoration: underline; cursor: pointer; }
.dom-owner { display: grid; gap: .8rem; }
.dom-explain { margin: 0; color: #3f4b47; font-size: .88rem; line-height: 1.8; }
.dom-review { display: grid; gap: .9rem; }
.dom-code { min-height: 2.7rem; padding: .5rem .7rem; border: 1px solid #cfd8d4; border-radius: 6px; background: #fff; color: inherit; max-width: 20rem; }
.dom-log { margin-top: 1.4rem; border-top: 1px solid #dce2df; padding-top: .8rem; }
.dom-log summary { cursor: pointer; color: #53605b; font-size: .88rem; font-weight: 700; }
.dom-log[open] summary { margin-bottom: .6rem; }
:root[data-theme="dark"] .dom-result,
:root[data-theme="dark"] .dom-owner-form,
:root[data-theme="dark"] .dom-field input,
:root[data-theme="dark"] .dom-field select,
:root[data-theme="dark"] .dom-search-form input,
:root[data-theme="dark"] .dom-code { background: #17201d; color: #eef4f1; border-color: #2c3935; }
:root[data-theme="dark"] .dom-explain,
:root[data-theme="dark"] .dom-price small { color: #c4d0cb; }
:root[data-theme="dark"] .dom-none { background: #2e2413; color: #f0cf94; }
:root[data-theme="dark"] .dom-tag { background: #16302a; color: #7fd6c1; }
:root[data-theme="dark"] .dom-phone .dom-dial { background: #1d2825; color: #c4d0cb; border-color: #2c3935; }
:root[data-theme="dark"] .dom-field > span { color: #c4d0cb; }
:root[data-theme="dark"] .dom-log { border-color: #2c3935; }
@media (max-width: 36rem) {
  .dom-result { grid-template-columns: minmax(0, 1fr) auto; }
  .dom-result > button { grid-column: 1 / -1; width: 100%; }
  .dom-owner-form, .dom-more-grid { grid-template-columns: 1fr; padding: .9rem; }
}
.srv-tiers { display: grid; gap: .6rem; }
.srv-tier-head { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-top: .6rem; }
.srv-tier-head h4 { margin: 0; font-size: 1.02rem; }
.srv-tier-head p { margin: 0; color: #6b7773; font-size: .8rem; }
.srv-timing { display: grid; gap: .25rem; padding: .75rem .9rem; border-radius: 10px; background: #e7f4f0; }
.srv-timing b { color: #076c59; font-size: .88rem; }
.srv-timing p { margin: 0; color: #3f4b47; font-size: .84rem; line-height: 1.8; }
:root[data-theme="dark"] .srv-timing { background: #16302a; }
:root[data-theme="dark"] .srv-timing p { color: #c4d0cb; }

/* A payment under way, said on the screen. */
.dom-working { margin: .6rem 0 0; padding: .55rem .75rem; border-inline-start: 3px solid #087a64; background: #eef7f4; color: #245c4f; font-size: .85rem; }
.dom-progress li { align-items: center; }
.dom-progress li.on .srv-step-n { animation: dom-pulse 1.2s ease-in-out infinite; }
@keyframes dom-pulse { 50% { opacity: .35; } }
:root[data-theme="dark"] .dom-working { background: #14231f; color: #b7e0d4; }
@media (prefers-reduced-motion: reduce) { .dom-progress li.on .srv-step-n { animation: none; } }
/* الدفع يعمل: الزرّ يدور ويقول ذلك، ولا يُضغط مرّةً ثانية. */
.infra-center button[aria-busy="true"]::before { content: ''; display: inline-block; width: .8rem; height: .8rem; margin-inline-end: .45rem; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; vertical-align: -.1rem; animation: srv-spin .8s linear infinite; }
.infra-center button[aria-busy="true"]:disabled { opacity: .8; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .infra-center button[aria-busy="true"]::before { animation: none; } }
/* طريقٌ مغلق: سببُه الواحد تحت الزرّ الذي يغلقه. */
.infra-road-closed { margin: -.4rem 0 .9rem; color: #6b7773; font-size: .82rem; line-height: 1.7; }
:root[data-theme="dark"] .infra-road-closed { color: #a9b8b2; }

/* After launch: one card per site — its health, its last copy, a restore asked for. */
.site-care-list { display: grid; gap: .8rem; }
.site-care { display: grid; gap: .65rem; padding: 1rem 1.1rem; border: 1px solid #dce2df; border-radius: 10px; background: #fff; }
.site-care-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.site-care-title { display: grid; gap: .2rem; min-width: 0; }
.site-care-title b { font-size: 1rem; overflow-wrap: anywhere; }
.site-care-title small { color: #6b7773; font-size: .76rem; overflow-wrap: anywhere; }
.site-care-url { text-align: start; unicode-bidi: plaintext; }
.site-care-note { margin: 0; padding: .55rem .7rem; border-radius: 8px; font-size: .84rem; line-height: 1.7; }
.site-care-note.bad { background: #fff0f1; color: #8d2a31; }
.site-care-note.warn { background: #fff5df; color: #7a4f12; }
.site-care-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .3rem .9rem; margin: 0; font-size: .82rem; }
.site-care-facts dt { color: #6b7773; }
.site-care-facts dd { margin: 0; overflow-wrap: anywhere; }
.site-care-asked { margin: 0; padding: .55rem .7rem; border-radius: 8px; background: #e7f4f0; color: #0b5747; font-size: .84rem; line-height: 1.7; }
.site-care-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.site-care-restore textarea { width: 100%; box-sizing: border-box; padding: .55rem .65rem; border: 1px solid #cfd8d4; border-radius: 6px; font: inherit; resize: vertical; }
.srv-renewal { align-items: center; }
.dom-mail-gate { display: grid; gap: .55rem; justify-items: start; padding: 1rem 1.1rem; border: 1px solid #f0d9a6; border-radius: 10px; background: #fffaf0; }
.dom-mail-gate p { margin: 0; color: #53605b; line-height: 1.8; font-size: .88rem; }
.infra-routing-said { color: #8d2a31; font-size: .74rem; line-height: 1.6; }
@media (max-width: 36rem) {
  .site-care { padding: .85rem .9rem; }
  .site-care-head { flex-direction: column; }
}
