/* exui page compositions — services: list, manage, service sub-pages, modals (DESIGN §7.2-7.4).
   Loaded on every page after exui.css; every rule is scoped to body.exui plus a
   services root class (.ex-svc*, #client_services) or the services route
   class. Components come from exui.css; this file only lays them out. */

/* ---------- shared service head (exsvc_head(): kicker, identity chip + title, meta, tabs) */
body.exui .ex-pagehead:has(.ex-svc-stepper) .ex-tabs { margin-bottom: 0; }
body.exui .ex-pagehead .ex-svc-stepper { margin-top: 28px; }
body.exui .ex-svc-meta__label { overflow-wrap: anywhere; }

/* ---------- shared bits ----------------------------------------------------- */
body.exui .ex-svc-alerts:empty { display: none; }
body.exui .ex-svc > .ex-svc-alerts { margin-top: 0; }
body.exui .ex-svc-muted { font-size: 14px; line-height: 1.55; color: var(--ex-muted); }
/* proxy selects: Blesta's real <select> stays in the form, the tiles drive it */
body.exui .ex-svc-proxy { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.exui .ex-svc-unpaid .ex-alert__text a { font-size: .92em; }

/* ---------- services list (#client_services, also the dashboard widget) ----- */
body.exui #client_services.ex-svc-list { display: block; }
body.exui .ex-svc-list > .card-content { position: relative; }
/* the card head names the list on the dashboard; the services page's h1 already does */
body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-list__head { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.exui.exui-is-dashboard #client_services .ex-svc-list__bar,
body.exui.exui-is-dashboard #client_services .ex-svc-filters,
body.exui.exui-is-dashboard #client_services .cell-opt { display: none; }
body.exui .ex-svc-list__bar .ex-tab { cursor: pointer; }
body.exui .ex-svc-search { width: 280px; }
body.exui .ex-svc-search input::-webkit-search-cancel-button { filter: invert(.6); cursor: pointer; }
/* WidgetClient filter form: the well under the toolbar (bridge margins are for .card-body).
   services.js marks the service_meta field (the search pill already is that filter). */
body.exui .ex-svc-filters form.widget_filter_form { margin: 0; }
body.exui .ex-svc-filters .ex-svc-metafield { display: none; }
body.exui .ex-svc-filters form.widget_filter_form > .card { padding: 18px 22px 2px; border: 0; border-bottom: 1px solid var(--ex-line); border-radius: 0; background: var(--ex-well); }
body.exui .ex-svc-filters form.widget_filter_form .row { align-items: flex-end; }
body.exui .ex-svc-filters form.widget_filter_form .col-md-12 { display: flex; justify-content: flex-end; }
body.exui .ex-svc-filters form.widget_filter_form .float-right { float: none !important; }   /* answers application.min.css .float-right !important */
/* table: identity, pill, money, dates, Manage + the exui.js expander */
body.exui .ex-svc-table { table-layout: auto; }
body.exui .ex-svc-empty p { text-wrap: balance; }
body.exui .ex-svc-table td.cell-main { width: 38%; max-width: 0; }
/* the services page: fixed columns from 1024, so the identity column keeps
   its room and nothing shifts between status tabs; below 1280 "Created"
   (.cell-opt) gives its column to the identity. Only on the services page:
   the dashboard widget is a ~550-808px card (below) */
@media (min-width: 1024px) {
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main { table-layout: fixed; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main .ex-svc-col--status { width: 148px; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main .ex-svc-col--price { width: 132px; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main .ex-svc-col--date { width: 150px; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main .ex-svc-col--act { width: 176px; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main td.cell-main { width: auto; max-width: none; }
}
@media screen and (min-width: 1024px) and (max-width: 1279.98px) {
  body.exui .ex-svc-page .ex-svc-table--main col.cell-opt,
  body.exui .ex-svc-page .ex-svc-table--main .cell-opt { display: none; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main .ex-svc-col--status { width: 140px; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main .ex-svc-col--price { width: 120px; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main .ex-svc-col--date { width: 136px; }
  body.exui:not(.exui-is-dashboard) .ex-svc-page .ex-svc-table--main .ex-svc-col--act { width: 168px; }
}
/* dashboard widget (DESIGN §7.1): content-sized data columns, the identity
   takes the rest; a card narrower than ~860px (it always is at 1440) drops
   Billing, one under ~600px the dates too, so names and hosts stay readable.
   The query container only exists on the dashboard, from 1024 (rows stack
   below that). No layout containment: a module modal in an expanded row is
   not trapped. */
@media (min-width: 1024px) {
  body.exui.exui-is-dashboard #client_services { container: exsvc-widget / inline-size; }
  body.exui.exui-is-dashboard #client_services .ex-svc-table--main td.cell-main { width: 100%; max-width: 0; }
  body.exui.exui-is-dashboard #client_services .ex-svc-table--main :is(thead > tr > th, tr.expand > td):not(.cell-main) { width: 1%; white-space: nowrap; }
  body.exui.exui-is-dashboard #client_services .ex-svc-table--main :is(thead > tr > th, tr.expand > td):not(:first-child):not(:last-child) { padding-left: 12px; padding-right: 12px; }
  @container exsvc-widget (max-width: 860px) {
    body.exui.exui-is-dashboard #client_services .ex-svc-table--main .ex-svc-cell--bill { display: none; }
  }
  @container exsvc-widget (max-width: 600px) {
    body.exui.exui-is-dashboard #client_services .ex-svc-table--main :is(thead > tr > th, tr.expand > td):not(.cell-main):not(.cell-status):not(:last-child) { display: none; }
  }
}
body.exui.exui-is-dashboard #client_services .ex-svc-sort { display: none; }
body.exui .ex-svc-table .cell-status { width: 1%; white-space: nowrap; }
body.exui .ex-svc-table td.cell-actions { width: 1%; white-space: nowrap; }
body.exui .ex-svc-table td.cell-actions .ex-rowactions { display: inline-flex; vertical-align: middle; }
body.exui .ex-svc-table tr.expand { cursor: pointer; }
body.exui .ex-svc-table tr.expand.expanded > td { background: rgba(255,255,255,.015); }
body.exui .ex-svc-table tr.expand + tr.ex-details > td { padding: 0; }
body.exui .ex-svc-table .ex-consq { white-space: normal; }
body.exui .ex-svc-list__foot .sep { color: var(--ex-line-strong); }
body.exui .ex-svc-pages .pagination { justify-content: flex-end; }
/* Filter: open is a neutral raised fill (never the red hover ring); the
   count of filters set in the well rides on it */
body.exui #client_services .filter-toggle[aria-expanded="true"],
body.exui #client_services .filter-toggle[aria-expanded="true"]:hover { border-color: var(--ex-fg-22); background: var(--ex-raised); box-shadow: none; color: #fff; }
body.exui #client_services .filter-toggle .ex-count { min-width: 18px; height: 18px; margin-left: 2px; }
/* sort menu in the list foot while the rows are stacked (below 1024) */
body.exui .ex-svc-sort { position: relative; display: none; }
body.exui .ex-svc-sort__btn { gap: 6px; padding-left: 12px; padding-right: 12px; font-size: 13px; }
body.exui .ex-svc-sort__btn .i { color: var(--ex-muted); }
/* it opens upward, its right edge on the trigger's, so it never runs past the card */
body.exui .ex-svc-sort > .ex-pop { top: auto; bottom: 100%; left: auto; right: 0; width: min(264px, calc(100vw - 40px)); padding: 0 0 8px; transform: translateY(4px); }
body.exui .ex-svc-sort.is-open > .ex-pop { transform: none; }
/* right-to-left: open toward the inline end too (right:0 ran past the left edge on phones and scrolled the page sideways) */
[dir="rtl"] body.exui .ex-svc-sort > .ex-pop { right: auto; left: 0; }
body.exui .ex-svc-sort .ex-pop__item[aria-current="true"] { color: #fff; background: var(--ex-fg-05); }
body.exui .ex-svc-sort .ex-pop__panel { font-family: var(--ex-font); }   /* not the list foot's mono */
@media screen and (max-width: 1023.98px) {
  body.exui .ex-svc-sort { display: inline-flex; margin: -6px auto -6px -8px; }
  body.exui .ex-svc-sorttext { display: none; }
  body.exui .ex-svc-list__foot { flex-wrap: wrap; }
}
@media screen and (max-width: 767.98px) {
  body.exui .ex-svc-sort__btn { height: 40px; }
}

/* tablet (768-1023): a table this wide squeezes the identity column to a
   letter, so each row becomes a two-line grid (DESIGN §9): identity + status
   pill, then the data cells under mono captions with Manage + the expander.
   The toolbar stacks: the status tabs on one row, search + Filter under them. */
@media screen and (min-width: 768px) and (max-width: 1023.98px) {
  body.exui .ex-svc-list__bar { flex-direction: column; align-items: stretch; gap: 0; }
  body.exui .ex-svc-list__bar .ex-tabs { flex-wrap: nowrap; margin: 0 -22px; padding: 0 22px; border-bottom: 1px solid var(--ex-line); }
  body.exui .ex-svc-list__bar .ex-list__tools { padding: 12px 0; }
  body.exui .ex-svc-list__bar .ex-svc-search { flex: 1 1 auto; width: auto; }

  body.exui .ex-svc-table.ex-svc-table--rows,
  body.exui .ex-svc-table.ex-svc-table--rows tbody { display: block; }
  body.exui .ex-svc-table.ex-svc-table--rows thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  body.exui .ex-svc-table.ex-svc-table--rows colgroup { display: none; }
  body.exui .ex-svc-table.ex-svc-table--rows tr:not(.ex-details) {
    display: grid; grid-template-columns: repeat(var(--exsvc-data, 2), minmax(0,1fr)) auto; align-items: start; gap: 14px 24px;
    padding: 18px 22px; border-top: 1px solid var(--ex-line);
  }
  body.exui .ex-svc-table.ex-svc-table--7 { --exsvc-data: 3; }
  body.exui .ex-svc-table.ex-svc-table--rows tbody tr:first-child { border-top: 0; }
  body.exui .ex-svc-table.ex-svc-table--rows td { display: block; width: auto; max-width: none; min-width: 0; padding: 0; border: 0; background: transparent; white-space: normal; }
  body.exui .ex-svc-table.ex-svc-table--rows td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 5px; font: 500 10px/1.3 var(--ex-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ex-muted); }
  body.exui .ex-svc-table.ex-svc-table--rows td.cell-main { grid-column: 1 / -2; grid-row: 1; }
  body.exui .ex-svc-table.ex-svc-table--rows td.cell-status { grid-column: -2 / -1; grid-row: 1; align-self: center; justify-self: end; white-space: nowrap; }
  body.exui .ex-svc-table.ex-svc-table--rows td.cell-opt { display: none; }
  body.exui .ex-svc-table.ex-svc-table--rows td.cell-actions { grid-column: -2 / -1; grid-row: 2; align-self: end; justify-self: end; white-space: nowrap; }
  body.exui .ex-svc-table.ex-svc-table--rows .ex-obj__name,
  body.exui .ex-svc-table.ex-svc-table--rows .ex-obj__sub { white-space: normal; overflow-wrap: anywhere; }
  body.exui .ex-svc-table.ex-svc-table--rows tr.expand.expanded { background: rgba(255,255,255,.015); }
  body.exui .ex-svc-table.ex-svc-table--rows tr.expand.expanded > td { background: transparent; }
  body.exui .ex-svc-table.ex-svc-table--rows tr.ex-details:not([style]) { display: none; }
  body.exui .ex-svc-table.ex-svc-table--rows tr.expand.expanded + tr.ex-details { display: block !important; }   /* jQuery .toggle() writes the display inline */
  body.exui .ex-svc-table.ex-svc-table--rows tr.ex-details > td { display: block; }
}
/* stacked rows (tablet, phones): the clipped head keeps no tab stops */
@media screen and (max-width: 1023.98px) {
  body.exui .ex-svc-table thead a { visibility: hidden; }
}
/* expanded row (td.subtable ← services/serviceinfo/{id}) */
body.exui .ex-svc-table td.subtable { padding: 0; }
body.exui .ex-svcinfo { display: grid; gap: 14px; padding: 4px 22px 20px 72px; }
body.exui .ex-svc-pane .ex-svcinfo__module { display: block; }
body.exui .ex-svcinfo__reason { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-top: 14px; font-size: 14px; color: var(--ex-fg-82); }
body.exui .ex-svcinfo__none { padding-top: 16px; font-size: 14px; color: var(--ex-muted); }
body.exui .ex-svcinfo__module > :first-child { margin-top: 0; }
body.exui .ex-svcinfo__module .alert { margin: 12px 0 0; }
/* nested add-ons: an unboxed section (hairline + label), plain hairline rows
   on the detail's inset, never a box in the card (DESIGN §1.7, §5.11) */
body.exui .ex-svcinfo__addons { margin-top: 4px; }
body.exui .ex-svcinfo__addons .ex-open__head { min-height: 46px; }
body.exui .ex-svc-table--nested td.cell-main { width: auto; }
body.exui .ex-svc-table--nested td { padding-top: 12px; padding-bottom: 12px; }
body.exui .ex-svc-table--nested td:first-child { padding-left: 0; }
body.exui .ex-svc-table--nested td:last-child { padding-right: 0; }
body.exui .ex-svc-table--nested tbody tr:first-child td { border-top: 1px solid var(--ex-line); }
body.exui .ex-svc-table--nested tbody tr:hover { background: transparent; }
/* module info normalised by services.js: key/value + actions (.ex-detail) */
body.exui .ex-svc-detail { padding: 0; grid-template-columns: minmax(0,1fr) auto; }
body.exui .ex-svc-detail__main { min-width: 0; }
body.exui .ex-svc-detail__state { padding: 14px 0 4px; }
body.exui .ex-svc-flat { margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }   /* answers .card-blesta / .mb-3 !important */
body.exui .ex-svc-flat::after { display: none; }
body.exui .ex-svc-kv dd .badge { vertical-align: middle; }
body.exui .ex-svc-kv__line { display: block; }
body.exui .ex-svc-kv__line + .ex-svc-kv__line { margin-top: 2px; }
body.exui .ex-svc-kv > div:has(.ex-svc-kv__line + .ex-svc-kv__line) { align-items: start; padding-top: 14px; padding-bottom: 14px; }
body.exui .ex-svc-kv .ex-iconbtn { color: var(--ex-muted); }
body.exui .ex-svc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
body.exui .ex-svc-actions__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
body.exui .ex-svc-actions form { margin: 0; }
/* the module's sign-on lifted into the head leaves its pane-foot copy hidden;
   module bars replaced by .ex-svc-meter rows stay hidden too */
body.exui .ex-svc-actions[hidden], body.exui .ex-svc-actions [hidden],
body.exui .ex-svc-modcard [hidden], body.exui .ex-svc-pane [hidden], body.exui .ex-svcinfo [hidden] { display: none; }
body.exui .ex-svc-actions input.ex-btn { line-height: 1; }
body.exui .ex-detail__actions.ex-svc-actions { align-self: center; flex-direction: column; align-items: flex-end; padding-bottom: 0; }
body.exui .ex-detail__actions .ex-svc-actions__note { max-width: 32ch; text-align: right; }
/* the module's note in a list row: under the key/value grid, full width */
body.exui .ex-svc-detail__main > .ex-svc-detail__note { margin-top: 14px; max-width: 72ch; }
/* an odd last pair leaves the right half of its row empty: no divider runs into it */
@media (min-width: 900px) {
  body.exui .ex-svc-kv.ex-kv--2 > div:last-child:nth-child(odd) { border-right-color: transparent; }
}

/* ---------- manage: overview ------------------------------------------------ */
body.exui .ex-svc-layout { align-items: start; }
/* the module's own content ($partial_tab_view) is a grid item of .ex-col: without
   min-width:0 a wide module table widened the column past the viewport and the
   whole page scrolled sideways on phones; its .table-responsive scrolls instead */
body.exui .ex-svc-partial { min-width: 0; }
/* plan-spec strip (.ex-strip--spec): specs + Price, or the facts fallback.
   A word value ("Monthly", "Unmetered") is one Satoshi string at the size of
   the mono numerals' cap height, so the cells line up */
body.exui .ex-svc-spec .ex-strip__val .ex-money { font-weight: inherit; }
body.exui .ex-svc-spec .ex-strip__val--word { font-size: 26px; letter-spacing: -.03em; }
@media screen and (max-width: 767.98px) {
  body.exui .ex-svc-spec .ex-strip__val--word { font-size: 21px; }
}
/* Plan and options: the configurable options this service has */
body.exui .ex-svc-plan__opts { border-top: 1px solid var(--ex-line); }
body.exui .ex-svc-plan__opts--only { border-top: 0; }
body.exui .ex-svc-plan__optst { display: flex; align-items: center; gap: 8px; padding: 16px 22px 4px; }
body.exui .ex-svc-plan__opts .ex-kv > div:first-child { border-top: 0; }
body.exui .ex-svc-plan__opts dd { display: grid; justify-items: end; gap: 2px; white-space: normal; overflow: visible; }
body.exui .ex-svc-opt__p { font: 400 12.5px/1.3 var(--ex-mono); color: var(--ex-muted); white-space: nowrap; }
@media screen and (max-width: 767.98px) {
  body.exui .ex-svc-plan__optst { padding: 14px 20px 4px; }
}
/* Billing: a recurring coupon (old price struck, the code as a plain pill) */
body.exui .ex-svc-bill__was { align-self: center; margin-left: 10px; }
body.exui .ex-svc-bill__coupon { margin-top: 10px; }
body.exui .ex-svc-coupon { text-transform: none; letter-spacing: .02em; }
/* server pane: serviceinfo, loaded by services.js */
body.exui .ex-svc-pane .ex-window__bar--compact { grid-template-columns: auto minmax(0,1fr) auto; }
body.exui .ex-svc-pane .ex-window__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-width: 0; max-width: 100%; justify-self: stretch; }
body.exui .ex-svc-pane .ex-window__title .sep { color: var(--ex-line-strong); }
/* the hostname is a value: as typed, never cut (it wraps on phones) */
body.exui .ex-svc-pane__name { min-width: 0; text-transform: none; letter-spacing: 0; color: var(--ex-fg-82); overflow-wrap: anywhere; }
body.exui .ex-svc-pane__state { display: flex; justify-content: flex-end; }
body.exui .ex-svc-pane__state:empty { display: none; }
body.exui .ex-svc-pane__body[aria-busy="true"] { min-height: 150px; }
body.exui .ex-svc-pane__msg { padding: 22px; font-size: 14px; line-height: 1.55; color: var(--ex-muted); }
body.exui .ex-svc-pane .ex-svcinfo__module > .ex-svc-kv:first-child,
body.exui .ex-svc-pane .ex-svc-flat > .ex-svc-kv:first-child { border-top: 0; }
body.exui .ex-svc-pane .ex-svc-actions { border-top: 1px solid var(--ex-line); }
body.exui .ex-svc-pane .ex-svcinfo__module > :not(.ex-svc-kv):not(.ex-svc-flat):not(.ex-svc-actions):not(.alert) { margin: 16px 22px; }
body.exui .ex-svc-pane .ex-svcinfo__module > .alert { margin: 16px 22px 0; }
body.exui .ex-svc-pane .ex-svc-actions { padding: 14px 22px; }
body.exui .ex-svc-pane .ex-svc-actions__note { flex: 1 1 260px; }
body.exui .ex-svc-pane .ex-svc-go { height: auto; padding: 0; border: 0; background: none; box-shadow: none; cursor: pointer; }
body.exui .ex-svc-pane .ex-svc-go:hover { text-decoration: underline; text-decoration-color: var(--ex-accent); text-underline-offset: 3px; }
body.exui .ex-svc-skel { display: grid; }
body.exui .ex-svc-skel__row { display: grid; grid-template-columns: minmax(0,1fr) 160px; align-items: center; gap: 24px; min-height: 50px; padding: 0 22px; border-bottom: 1px solid var(--ex-line); }
body.exui .ex-svc-skel__row .ex-skel:first-child { width: 40%; }
body.exui .ex-svc-skel__row:last-child { border-bottom: 0; }
/* Billing aside */
body.exui .ex-svc-bill .ex-card__body { padding-bottom: 20px; }
body.exui .ex-svc-bill__val { display: flex; align-items: baseline; gap: 6px; }
body.exui .ex-svc-bill__val .ex-money { font-size: 44px; line-height: 1; }
body.exui .ex-svc-bill__val small { font: 400 15px var(--ex-mono); color: var(--ex-muted); }
body.exui .ex-svc-bill__when { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ex-fg-72); }
body.exui .ex-svc-bill__when b { font: 500 13px var(--ex-mono); color: #fff; white-space: nowrap; }
body.exui .ex-svc-bill__term { margin-top: 22px; }
body.exui .ex-svc-bill .ex-kv dd.mono { white-space: normal; text-align: right; }
body.exui .ex-svc-quiet { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 16px 22px 18px; border-top: 1px solid var(--ex-line); font-size: 13.5px; color: var(--ex-muted); }
body.exui .ex-svc-quiet .ex-link { font-weight: 600; }
/* the suspended condition alert: amounts and dates in mono */
body.exui .ex-svc-cond .ex-alert__text b { font-weight: 600; color: #fff; }
/* Plan and options */
body.exui .ex-svc-plan .ex-action__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* module content (tab_view, partial_tab_view) in the WidgetClient card */
body.exui .ex-svc-modcard > .card-header { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.exui .ex-svc-modcard { margin-bottom: 0 !important; }   /* answers .card-blesta margin !important */
body.exui .ex-svc-modcard .card-body > .table-responsive:first-child,
body.exui .ex-svc-modcard .card-body > .table:first-child { margin-top: -22px; }
/* a module section heading (cPanel "Information") runs edge to edge like the
   table under it; no gap between a table and the rule after it */
body.exui .ex-svc-modcard .card-body > h4 { margin: 0 -22px; padding: 0 22px 14px; border-bottom: 1px solid var(--ex-line); }
body.exui .ex-svc-modcard .card-body > h4 + .table-responsive,
body.exui .ex-svc-modcard .card-body > h4 + .table { margin-top: 0; }
body.exui .ex-svc-modcard .card-body > .table-responsive { margin-bottom: 0; }
body.exui .ex-svc-modcard .card-body > .table-responsive > .table { margin-bottom: 0; }
body.exui .ex-svc-modcard .card-body > hr { margin: 0 -22px 22px; border-top-color: var(--ex-line); }
/* usage bars from module tabs (services.js: label · used / total · %) */
body.exui .ex-svc-meter ~ .ex-svc-meter { margin-top: 26px; }
body.exui .ex-svc-meter__t { font-size: 14px; color: var(--ex-fg-82); }
body.exui .ex-svc-meter .ex-meterrow { flex-wrap: wrap; gap: 4px 16px; }
body.exui .ex-svc-meter .ex-meterrow b { margin-left: auto; text-align: right; }
body.exui .ex-svc-meter .ex-meterrow b small { margin-left: 4px; }
body.exui .ex-svc-meter .ex-meter { margin-top: 12px; }

/* ---------- change flows: stepper, choices, summary -------------------------- */
body.exui .ex-svc-flowform { display: contents; }
body.exui .ex-svc-current { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 22px; border-bottom: 1px solid var(--ex-line); background: var(--ex-well); }
body.exui .ex-svc-current__v { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 600; color: #fff; }
body.exui .ex-svc-current__m { margin-left: 6px; font: 400 13px/1.4 var(--ex-mono); color: var(--ex-fg-72); white-space: nowrap; }
/* tiles: price (mono) then its extras (setup fee, renewal, saving) quieter */
body.exui .ex-svc-tile__price { color: var(--ex-fg-82); }
body.exui .ex-svc-tile__note { margin-top: 1px; color: var(--ex-fg-58); }
/* narrow desktop tiles: one fact per line, so a wrap never leaves a dangling "·" */
@media (min-width: 768px) {
  body.exui .ex-svc-tile__note .nowrap { display: block; }
  body.exui .ex-svc-tile__note .sep { display: none; }
}
body.exui .ex-svc-pick__note { color: var(--ex-fg-58); }
/* summary option lists (manage options: now / after) */
body.exui .ex-svc-optlist { display: grid; gap: 8px; margin: 2px 0 0; }
body.exui .ex-svc-optlist[hidden] { display: none; }
body.exui .ex-svc-optlist > div { display: grid; gap: 1px; }
body.exui .ex-svc-optlist dt { font-size: 13px; font-weight: 400; color: var(--ex-fg-72); }
body.exui .ex-svc-optlist dd { margin: 0; font-size: 14px; font-weight: 600; color: #fff; }
body.exui .ex-svc-optlist__p { font: 400 12.5px var(--ex-mono); color: var(--ex-muted); white-space: nowrap; }
/* field help shown as text (the "?" tooltip link is then redundant) */
body.exui .ex-svc-fields a.ex-svc-tiplink,
body.exui .ex-svc-fields .form-group > label:first-child + a.ex-svc-tiplink[data-toggle="tooltip"] { display: none; }
body.exui .ex-svc-fields .ex-svc-fieldhelp { order: 6; flex: 0 0 100%; margin: 8px 0 0; }
/* phone dock of the change flows */
body.exui .ex-dock .ex-svc-dock { min-width: 0; }
body.exui .ex-dock .ex-svc-dock .ex-dock__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.exui .ex-dock .ex-svc-dock__val { white-space: nowrap; }
body.exui .ex-dock .ex-svc-dock__pick { font: 500 13px/1.3 var(--ex-font); letter-spacing: 0; color: var(--ex-fg-72); }
body.exui .ex-dock [data-svc-dock-proxy]:disabled { opacity: .45; }
body.exui .ex-svc-group { margin: 0; padding: 0; border: 0; }
body.exui .ex-svc-group + .ex-svc-group { margin-top: 24px; }
body.exui .ex-svc-group__t { display: block; width: auto; margin: 0 0 12px; padding: 0; font: 600 15px/1.35 var(--ex-font); letter-spacing: -.01em; text-transform: none; color: #fff; }
/* tiles fill the row (auto-fit: one or two options reach the card's edge),
   three across at most */
body.exui .ex-svc-choices { grid-template-columns: repeat(auto-fit, minmax(max(190px, calc((100% - 20px) / 3)), 1fr)); }
body.exui .ex-svc-choices .ex-choice__s { font-size: 12.5px; }
body.exui .ex-svc-fields { min-width: 0; }
body.exui .ex-svc-fields:empty { display: none; }
body.exui .ex-svc-choose .ex-card__body > .ex-svc-fields:not(:empty) { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ex-line); }
body.exui .ex-svc-fields__group + .ex-svc-fields__group { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ex-line); }
body.exui .ex-svc-fields__title { display: flex; margin-bottom: 16px; }
/* Change options: the card head already names a lone group */
body.exui [data-svc-options] > .ex-svc-fields__group:only-of-type > .ex-svc-fields__title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.exui .ex-svc-fields .form-group:last-child { margin-bottom: 0; }
body.exui .ex-svc-fields .generated_fields_div > .form-group:last-child { margin-bottom: 0; }
body.exui .ex-svc-fields .service_package_options + .service_package_options { margin-top: 20px; }
body.exui .ex-svc-fields .slider.slider-horizontal { margin: 6px 8px 4px; width: calc(100% - 16px); }
body.exui .ex-svc-fields .form-group > label:has(+ .slider), body.exui .ex-svc-fields .form-group > .slider + label { margin-top: 6px; }
body.exui .ex-svc-noopts { margin: 0; }
body.exui .ex-svc-options .card-body { padding: 22px; }
/* summary aside (plan/term/options/add-on/review) */
body.exui .ex-svc-summary .ex-card__body { display: grid; gap: 18px; }
body.exui .ex-svc-pick { display: grid; gap: 6px; }
body.exui .ex-svc-pick + .ex-svc-pick { padding-top: 18px; border-top: 1px solid var(--ex-line); }
body.exui .ex-svc-pick__t { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: #fff; }
body.exui .ex-svc-pick__s { font: 400 13px/1.45 var(--ex-mono); color: var(--ex-fg-82); }
body.exui .ex-svc-pick [data-svc-pick] { display: grid; gap: 6px; }
body.exui .ex-svc-pick [data-svc-pick][hidden], body.exui .ex-svc-pick [hidden] { display: none; }
body.exui .ex-svc-pick--to .ex-svc-pick__s[data-svc-opts-empty],
body.exui .ex-svc-pick--to .ex-svc-pick__s[data-svc-pick-empty] { font-family: var(--ex-font); font-size: 13.5px; color: var(--ex-muted); }
body.exui .ex-svc-summary__foot { justify-content: flex-end; flex-wrap: wrap; }
body.exui .ex-svc-summary__foot .ex-btn { flex: 0 0 auto; }
body.exui .ex-svc-totals:empty { display: none; }
/* totals partial: lines, then "due today" hero */
body.exui .ex-svc-sum { display: grid; gap: 0; }
body.exui .ex-svc-sum__lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ex-line); font-size: 14px; color: var(--ex-fg-82); }
body.exui .ex-svc-sum__lines > div:first-child { padding-top: 0; }
body.exui .ex-svc-sum__lines dt { font-weight: 400; color: var(--ex-fg-82); }
body.exui .ex-svc-sum__total { display: grid; gap: 10px; padding: 18px 0 4px; }
body.exui .ex-svc-sum__lines[hidden] + .ex-svc-sum__total { padding-top: 0; }   /* no subtotal line above */
body.exui .ex-svc-sum__amt .ex-money { font-size: 40px; line-height: 1; }
body.exui .ex-svc-sum__lines--renew { margin-top: 14px; border-top: 1px solid var(--ex-line); }
body.exui .ex-svc-sum__lines--renew > div:first-child { padding-top: 10px; }
body.exui .ex-svc-sum__lines--renew > div { border-bottom: 0; }
body.exui .ex-svc-sum__help { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ex-fg-58); }
body.exui .ex-svc-pick + .ex-svc-totals:not(:empty) { padding-top: 18px; border-top: 1px solid var(--ex-line); }
/* review: before / after */
body.exui .ex-svc-diff th[scope="row"] { padding: 16px; padding-left: 22px; border-top: 1px solid var(--ex-line); background: transparent; font: 400 14px/1.45 var(--ex-font); letter-spacing: 0; text-transform: none; color: var(--ex-fg-72); white-space: normal; vertical-align: top; }
body.exui .ex-svc-diff tbody tr:first-child th[scope="row"] { border-top: 0; }
body.exui .ex-svc-diff td { vertical-align: top; }
body.exui .ex-svc-diff tbody tr:hover { background: transparent; }
body.exui .ex-svc-diff .ex-svc-diff__arrow { width: 1%; padding-left: 0; padding-right: 0; color: var(--ex-muted); }
body.exui .ex-svc-diff td.ex-svc-diff__arrow .i { margin-top: 3px; }
body.exui .ex-svc-diff__now, body.exui .ex-svc-diff__new { width: 32%; font-size: 14px; line-height: 1.5; }
body.exui .ex-svc-diff tr.is-same td { color: var(--ex-fg-58); }
body.exui .ex-svc-diff tr.is-changed .ex-svc-diff__new { color: #fff; font-weight: 600; }
body.exui .ex-svc-diff tr.is-changed .ex-svc-diff__now { color: var(--ex-muted); }
body.exui .ex-svc-diff .mono, body.exui .ex-svc-diff__price { font: 500 13px/1.5 var(--ex-mono); letter-spacing: -.01em; }
body.exui .ex-svc-diff__price { display: block; color: var(--ex-muted); font-weight: 400; }
body.exui .ex-svc-diff tr.is-changed .ex-svc-diff__new .ex-svc-diff__price { color: var(--ex-fg-82); }
body.exui .ex-svc-diff .ex-strike { font-size: 13px; }
/* the total row: what the whole service renews at (the summary's figure) */
body.exui .ex-svc-diff tr.ex-svc-diff__total > * { border-top: 1px solid var(--ex-line-strong); }
body.exui .ex-svc-diff tr.ex-svc-diff__total th[scope="row"] { color: #fff; font-weight: 600; }
body.exui .ex-svc-diff tr.ex-svc-diff__total .ex-svc-diff__new .mono { font-size: 14px; font-weight: 600; color: #fff; }
body.exui .ex-svc-diff__sec th { padding: 12px 22px; border-top: 1px solid var(--ex-line); background: var(--ex-well); font: 500 11px/1.4 var(--ex-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ex-muted); }

/* ---------- modals: cancel, renew (loaded into #global_modal clones) -------- */
body.exui .modal .ex-svc-modal .modal-header { align-items: flex-start; }
body.exui .modal .ex-svc-modal__head { display: grid; gap: 12px; min-width: 0; }
body.exui .modal .ex-svc-modal .global_modal_title::before { display: none; }   /* the kicker carries the dash */
body.exui .modal .ex-svc-modal .ex-kicker { font-size: 11px; }
body.exui .modal .ex-svc-modal .ex-kicker span { overflow-wrap: anywhere; }
/* the service label in a modal kicker: as typed, kept on one line when it fits */
body.exui .modal .ex-svc-modal .ex-kicker .ex-svc-kname { display: inline-block; max-width: 100%; text-transform: none; letter-spacing: .02em; color: var(--ex-fg-82); vertical-align: bottom; }
body.exui .modal .ex-svc-modal .ex-svc-cancelnote { margin: 0; }
body.exui .modal .ex-svc-modal .modal-body { display: grid; gap: 18px; padding-top: 20px; }
body.exui .modal .ex-svc-modal .modal-body > :empty { display: none; }
body.exui .modal .ex-svc-modal__choices { margin: 0; padding: 0; border: 0; min-width: 0; }
body.exui .modal .ex-svc-modal .cancel_message .alert, body.exui .modal .ex-svc-modal .cancel_message .ex-alert { margin: 0; }
body.exui .modal .ex-svc-modal .ex-flabel label { margin: 0; }
body.exui .modal .ex-svc-modal textarea.ex-input { min-height: 96px; }
body.exui .modal .ex-svc-modal__lede { font-size: 14.5px; line-height: 1.55; color: var(--ex-fg-72); }
/* the renew preview: one mono line ("Covers you until Nov 21, 2026") */
body.exui .modal .ex-svc-renewmsg { font: 500 13px/1.5 var(--ex-mono); letter-spacing: -.01em; color: var(--ex-fg-82); }
body.exui .modal .ex-svc-modal .modal-footer .ex-btn:disabled { opacity: .45; }

/* ---------- tablet / phone ------------------------------------------------- */
@media screen and (max-width: 1023.98px) {

  body.exui .ex-svcinfo { padding-left: 22px; }
}
@media screen and (max-width: 767.98px) {
  body.exui .ex-pagehead .ex-svc-stepper { margin-top: 20px; }

  /* Suspended tab: three data cells (billing, suspended, renews) get three
     equal columns, never the foundation's auto third column */
  body.exui .ex-svc-table--7.ex-table--stack tr:not(.ex-details) { grid-template-columns: repeat(3, minmax(0,1fr)); }
  body.exui .ex-svc-search { width: auto; }
  /* toolbar: the search field itself and Filter are 40px+ targets */
  body.exui .ex-svc-list__bar .ex-svc-search { height: 42px; }
  body.exui .ex-svc-list__bar .filter-toggle { height: 42px; }
  /* the identity link reaches a 40px tap height without moving the row */
  body.exui .ex-svc-table.ex-table--stack .ex-obj__name { padding: 9px 0; margin: -9px 0; }
  body.exui .ex-svc-table td.cell-main { width: auto; max-width: none; }
  body.exui .ex-svc-table td.cell-actions .ex-rowactions { display: inline-flex; }
  body.exui .ex-svc-table td.cell-actions > .ex-expand { width: 40px; height: 40px; margin-left: 10px; }
  body.exui .ex-svc-table tr.expand.expanded { border-bottom: 0; }
  body.exui .ex-svcinfo { padding: 0 20px 18px; }
  body.exui .ex-svc-detail { grid-template-columns: minmax(0,1fr); gap: 14px; }
  body.exui .ex-detail__actions.ex-svc-actions { align-items: stretch; }
  body.exui .ex-detail__actions .ex-svc-actions__note { max-width: none; text-align: left; }
  body.exui .ex-svc-actions__btns { margin-left: 0; width: 100%; }
  body.exui .ex-svc-actions__btns > *, body.exui .ex-svc-actions__btns .ex-btn { flex: 1 1 auto; }
  body.exui .ex-svc-actions__btns .ex-btn { height: 44px; width: 100%; }
  body.exui .ex-svc-list__foot { gap: 10px; }
  body.exui .ex-svc-filters form.widget_filter_form > .card { padding: 16px 20px 2px; }

  /* module key/values: the .ex-kv--copy phone layout (exui.css §15) */
  body.exui .ex-svc-kv > div:has(.ex-svc-kv__line + .ex-svc-kv__line) { align-items: center; padding-top: 8px; padding-bottom: 8px; }
  /* server pane bar: the hostname on its own line, no dangling "·" */
  body.exui .ex-svc-pane .ex-window__bar--compact { height: auto; min-height: 38px; padding-top: 8px; padding-bottom: 8px; }
  body.exui .ex-svc-pane .ex-window__title { flex-direction: column; align-items: flex-start; gap: 4px; }
  body.exui .ex-svc-pane .ex-window__title .sep { display: none; }

  /* manage (the spec strip's 2-column phone grid is the foundation's) */
  body.exui .ex-svc-quiet .cancel_service { padding: 10px 0; }   /* 40px tap height, same line */
  body.exui .ex-svc-pane .ex-svcinfo__module > :not(.ex-svc-kv):not(.ex-svc-flat):not(.ex-svc-actions):not(.alert) { margin: 14px 20px; }
  body.exui .ex-svc-pane .ex-svc-actions { padding: 14px 20px; }
  body.exui .ex-svc-pane .ex-svc-actions__btns .ex-svc-go { width: auto; height: 40px; flex: 0 0 auto; }
  body.exui .ex-svc-bill__val .ex-money { font-size: 40px; }
  body.exui .ex-svc-quiet { padding-left: 20px; padding-right: 20px; }
  body.exui .ex-svc-modcard .card-body > h4 { margin: 0 -20px; padding: 0 20px 14px; }
  body.exui .ex-svc-modcard .card-body > hr { margin: 0 -20px 20px; }
  body.exui .ex-svc-plan .ex-action__text small { white-space: normal; }

  /* flows */
  body.exui .ex-svc-current { padding: 14px 20px; }
  body.exui .ex-svc-choices { grid-template-columns: minmax(0,1fr); }
  body.exui .ex-svc-summary__foot .ex-btn { height: 50px; }
  body.exui .ex-svc-diff thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  body.exui .ex-svc-diff, body.exui .ex-svc-diff tbody { display: block; }
  body.exui .ex-svc-diff tr { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 4px 12px; padding: 14px 20px; border-top: 1px solid var(--ex-line); }
  body.exui .ex-svc-diff tbody tr:first-child { border-top: 0; }
  body.exui .ex-svc-diff tr.ex-svc-diff__total { border-top-color: var(--ex-line-strong); }
  body.exui .ex-svc-diff tr > * { display: block; width: auto; padding: 0 !important; border: 0 !important; }
  body.exui .ex-svc-diff th[scope="row"] { grid-column: 1 / -1; font-family: var(--ex-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ex-muted); }
  body.exui .ex-svc-diff tr.ex-svc-diff__sec { display: block; padding: 10px 20px; background: var(--ex-well); }
  body.exui .ex-svc-diff tr.ex-svc-diff__sec th { padding: 0; background: none; }
  body.exui .ex-svc-diff__now, body.exui .ex-svc-diff__new { width: auto; }
}

/* ---------- spacing: the stack spaces its children; .ex-layout's own top margin
   would double it when the layout opens the page (or opens a flow form) */
body.exui .ex-svc > .ex-svc-layout:first-child,
body.exui .ex-svc > .ex-svc-flowform:first-child > .ex-svc-layout:first-child { margin-top: 0; }

/* ---------- money units inside summaries */
body.exui .ex-svc-sum__amt .ex-unit, body.exui .ex-svc-bill__val .ex-unit { font-size: 13px; margin-left: 6px; }

/* ---------- summary card foot: the primary on top, the way back under it
   (in DOM order too, so focus meets the primary first) */
body.exui .ex-svc-summary__foot { flex-direction: column; align-items: stretch; gap: 8px; }
body.exui .ex-svc-summary__foot .ex-btn { width: 100%; }

/* ---------- option fields (partial_fields.pdt markup inside .ex-svc-fields) */
body.exui .ex-svc-fields .form-group > label:first-child:has(+ a[data-toggle="tooltip"]) { display: inline-block; margin-right: 6px; }
body.exui .ex-svc-fields .form-group > label:first-child + a[data-toggle="tooltip"] { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-bottom: 10px; vertical-align: top; color: var(--ex-muted); text-decoration: none; }
body.exui .ex-svc-fields .form-group > label:first-child + a[data-toggle="tooltip"]:hover { color: #fff; }
body.exui .ex-svc-fields .form-group > label:first-child + a[data-toggle="tooltip"] .fas { font-size: 13px; color: inherit; }
body.exui .ex-svc-fields .form-group:has(> input[data-type="quantity"]) { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; }
body.exui .ex-svc-fields .form-group:has(> input[data-type="quantity"]) > label:first-child { flex: 0 0 100%; }
body.exui .ex-svc-fields .form-group:has(> input[data-type="quantity"]) > label:first-child:has(+ a[data-toggle="tooltip"]) { flex: 0 1 auto; }
body.exui .ex-svc-fields .form-group:has(> input[data-type="quantity"])::after { content: ""; order: 2; flex: 0 0 100%; height: 0; }
body.exui .ex-svc-fields .form-group:has(> input[data-type="quantity"]) > a[data-toggle="tooltip"] { order: 1; }
body.exui .ex-svc-fields .form-group:has(> input[data-type="quantity"]) > .slider { order: 3; flex: 1 1 140px; min-width: 0; }
body.exui .ex-svc-fields .form-group > input[data-type="quantity"] { order: 4; flex: 0 0 96px; width: 96px; height: 44px; text-align: center; font-family: var(--ex-mono); }
body.exui .ex-svc-fields .form-group > input[data-type="quantity"] + label { order: 5; flex: 0 0 100%; }
body.exui .ex-svc-fields .form-group > input + label, body.exui .ex-svc-fields .form-group > select + label {
  display: block; margin: 8px 0 0; font: 400 13px/1.45 var(--ex-font); letter-spacing: 0; text-transform: none; color: var(--ex-fg-58);
}
body.exui .modal .ex-svc-modal .ex-flabel .opt { font: 500 10.5px/1.4 var(--ex-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ex-muted); }
/* locked plan/term tiles (unpaid invoice): still readable, clearly not pickable */
body.exui .ex-svc-choose--locked .ex-choice { border-style: dashed; background: transparent; cursor: not-allowed; }
body.exui .ex-svc-choose--locked .ex-choice:hover { border-color: var(--ex-line-strong); }
body.exui .ex-svc-choose--locked .ex-choice__t, body.exui .ex-svc-choose--locked .ex-svc-group__t { color: var(--ex-fg-58); }
/* the whole tile body dims as one: title, price and note at one tier (the
   disabled tile's own title fade would leave the price brighter) */
body.exui .ex-svc-choose--locked .ex-choice__s.ex-svc-tile__price { color: var(--ex-fg-58); }
body.exui .ex-svc-choose--locked .ex-choice.is-disabled .ex-choice__t { opacity: 1; }
body.exui .ex-svc-choose--locked .ex-radio { opacity: .4; }

/* filter well: WidgetClient prints .card.p-3 > .row > .col-md-3.form-group … + .col-md-12 submit */
body.exui .ex-svc-filters form.widget_filter_form > .card.p-3 { padding: 18px 22px 2px !important; }   /* answers .p-3 !important */
body.exui .ex-svc-filters form.widget_filter_form .row { display: flex; flex-wrap: wrap; align-items: flex-end; }
body.exui .ex-svc-filters form.widget_filter_form .row > .col-md-12 { flex: 1 0 auto; width: auto; max-width: none; padding-bottom: 16px; }
body.exui .ex-svc-filters form.widget_filter_form .row > .col-md-12 .btn { margin: 0; height: 44px; }
body.exui .ex-svc-filters form.widget_filter_form .row > .col-md-12 { gap: 8px; }
body.exui .ex-svc-filters .ex-svc-filterclear { height: 44px; }
@media screen and (max-width: 767.98px) {
  body.exui .ex-svc-filters form.widget_filter_form > .card.p-3 { padding: 16px 20px 2px !important; }
  body.exui .ex-svc-filters form.widget_filter_form .row > .col-md-12 .btn,
  body.exui .ex-svc-filters .ex-svc-filterclear { flex: 1 1 0; width: auto; }
}

/* ---------- head: the place of the lifted sign-on while the pane loads
   (services.js swaps it for "Open control panel ↗" or removes it). It holds
   the button's room without drawing anything: no grey pill that reads as a
   broken button while a slow module answers. The lifted button fades in. */
body.exui .ex-pagehead__actions .ex-svc-liftph { display: inline-block; flex: none; width: 192px; height: 42px; visibility: hidden; }
body.exui .ex-pagehead__actions .ex-svc-lifted { animation: exsvc-in var(--ex-dur-3) var(--ex-ease-std) both; }
@keyframes exsvc-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  body.exui .ex-pagehead__actions .ex-svc-lifted { animation: none; }
}
@media screen and (max-width: 767.98px) {
  body.exui .ex-pagehead__actions .ex-svc-liftph { flex: 1 1 auto; width: auto; min-width: 150px; height: 50px; }
  body.exui .ex-pagehead__actions:has(.ex-svc-liftph) .ex-btn--secondary { flex: 0 1 auto; height: 50px; }
}

/* ---------- option fields on phones: 40px rows for radios and checks, and a
   40px hit area around the 14px slider knob */
@media screen and (max-width: 767.98px) {
  body.exui .ex-svc-fields .radio > label,
  body.exui .ex-svc-fields .checkbox > label { display: flex; align-items: center; min-height: 40px; margin-bottom: 0; }
  body.exui .ex-svc-fields .slider-handle::after { content: ""; position: absolute; inset: -13px; }
}

/* ---------- option radios as choice tiles (services.js), like the plan and
   term pickers: the name, then its price in mono (no icon column) */
body.exui .ex-svc-fields .radio > label.ex-svc-opttile { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: center; gap: 14px; width: 100%; min-height: 0; padding: 14px 16px; }
body.exui .ex-svc-fields .ex-svc-opttile .ex-choice__t { font-size: 14.5px; }
/* the tiles of one option sit side by side like the add-on and term tiles
   (three across at most); the option's label, help and errors span the row */
body.exui .ex-svc-fields .form-group:has(> .radio > .ex-svc-opttile) { display: flex; flex-wrap: wrap; gap: 10px; }
body.exui .ex-svc-fields .form-group:has(> .radio > .ex-svc-opttile) > :not(.radio) { flex: 0 0 100%; }
body.exui .ex-svc-fields .form-group:has(> .radio > .ex-svc-opttile) > label:first-child { margin-bottom: 2px; }
body.exui .ex-svc-fields .form-group:has(> .radio > .ex-svc-opttile) > .radio { flex: 1 1 calc((100% - 20px) / 3); min-width: 190px; margin: 0; }
body.exui .ex-svc-fields .radio:has(> .ex-svc-opttile) > label { height: 100%; }
@media screen and (max-width: 767.98px) {
  body.exui .ex-svc-fields .form-group:has(> .radio > .ex-svc-opttile) > .radio { flex-basis: 100%; }
}
/* a select whose options carry prices speaks mono (services.js marks it) */
body.exui .ex-svc-fields select.form-control.ex-input--mono { font-size: 13.5px; }
/* amounts inside option labels and help (services.js wraps them) */
body.exui .ex-svc-fields label .num, body.exui .ex-svc-fieldhelp .num { font-family: var(--ex-mono); font-size: .92em; letter-spacing: -.01em; white-space: nowrap; }

/* ---------- server pane foot: the module's note and the pane's own, stacked */
body.exui .ex-svc-actions__notes { display: grid; gap: 6px; flex: 1 1 260px; min-width: 0; }
body.exui .ex-svc-actions__notes > .ex-svc-actions__note { flex: none; }

/* ---------- cancel modal: why the button waits (only "Right away" offered) */
body.exui .modal .ex-svc-modal .ex-svc-cancelpick { margin: 10px 0 0; }
body.exui .modal .ex-svc-modal .ex-svc-cancelpick[hidden] { display: none; }

/* ---------- narrow phones: the Suspended tab's three data cells wrap to two
   columns (renews on its own line), so no caption or date runs into the next */
@media screen and (max-width: 479.98px) {
  body.exui .ex-svc-table--7.ex-table--stack tr:not(.ex-details) { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
