/* The free trial's customer screens (brief B11; design/state-geometry.md,
   «Builder additions, 2026-10-22»). Every trial variant is page-load
   layout and reuses the paid boxes; nothing here inflates a box when a
   state changes. Loaded after portal.css. */

/* ---- chrome: the trial's account-state banner ----
   The action pill has one fixed width in every trial state, and the
   takedown state (no action) keeps that box empty, so the sentence is the
   same width whatever the state. */
.bar-pill.is-fixed, .bar-pill-slot { flex: none; width: 112px; justify-content: center; padding: 0 var(--space-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-pill-slot { height: 32px; }

/* ---- Inicio: the plate's «Temporal» badge slot ----
   Always reserved between the address and the copy slot; the address
   ellipsizes first. */
.plate-badge-slot { flex: none; min-width: 96px; height: 24px; display: inline-flex; align-items: center; }

/* ---- Inicio: the trial card (in the transfer gauge's cell), fixed 184 px ----
   (scoped under .home-trial-card: the staff console has its own .trial-card)
   22 title + 36 bar box + 3 × 32 counts + 20 foot = 174, inside 5-px
   vertical padding. */
.home-trial-card { height: 184px; padding: 5px var(--space-4); display: flex; flex-direction: column; }
.home-trial-card .trial-head { height: 22px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.home-trial-card .trial-title { min-width: 0; font-size: var(--text-body-size); line-height: 22px; font-weight: var(--text-body-strong-weight); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-trial-card .trial-days { min-width: 72px; height: 22px; line-height: 22px; text-align: center; }
.home-trial-card .trial-quota { height: 36px; flex: none; display: flex; flex-direction: column; justify-content: flex-end; }
.home-trial-card .trial-bar { flex: none; margin-top: 0; }
.home-trial-card .trial-used { height: 20px; flex: none; margin-top: 4px; color: var(--color-text-secondary); font-size: var(--text-caption-size); line-height: 20px; font-feature-settings: var(--font-feature-tabular); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-trial-card .trial-counts { height: 96px; flex: none; margin: 0; }
.home-trial-card .trial-count { height: 32px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.home-trial-card .trial-count dt { min-width: 0; color: var(--color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-trial-card .trial-count dd { width: 64px; flex: none; margin: 0; text-align: right; font-feature-settings: var(--font-feature-tabular); }
.home-trial-card .trial-foot { height: 20px; flex: none; font-size: var(--text-caption-size); line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-trial-card .trial-converting { color: var(--color-text-secondary); }
.home-trial-card.trial-warn .gauge-fill { background: var(--color-warn); }
.home-trial-card.trial-danger .gauge-fill { background: var(--color-danger); }
.home-trial-card.trial-neutral .gauge-fill { background: var(--color-neutral); }

/* ---- Inicio: the names card holds two 44-px rows, both reserved ---- */
.trial-names { flex: none; }
.trial-name-row { height: var(--h-control); }

/* ---- any segmented control: a disabled cell takes the click itself
   (trial.js writes its reason into the control's slot) ---- */
.seg-input:disabled { pointer-events: none; }
.seg-input:disabled + .seg-label { cursor: not-allowed; }

/* ---- Mapeos: the dialog's trial variant ----
   The port box is the paid port pair's 96 px: a 56-px box holding both
   modes' controls (the other one hidden in place) and the 40-px helper. */
.trial-port-box { position: relative; height: var(--h-field); }
.trial-port-layer { position: absolute; inset: 0; }
.trial-port[data-mode="port"] .trial-port-layer[data-layer="https"],
.trial-port[data-mode="https"] .trial-port-layer[data-layer="port"] { visibility: hidden; }
.trial-port .field.is-readonly .field-input:not(.mono) { color: var(--color-text-secondary); }
.trial-port .field.has-copy .field-trailing { pointer-events: auto; }
.trial-port .field.has-copy .field-input { padding-right: 56px; }
.dialog-mapping-trial .dialog-form { display: flex; flex-direction: column; min-height: 0; }

/* ---- Equipos: the configuration's address note, 60 px (three lines:
   the help-3 rule of a teaching note; two lines clamped it at 360 in
   both languages), between the text and the router-help row ---- */
.trial-address-note { flex: none; height: 60px; margin: 0; color: var(--color-text-secondary); font-size: var(--text-caption-size); line-height: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- the conversion checkout: «Qué cambia», before the summary card ----
   a 22-px title line and fixed 56-px rows (two lines of text at most) */
.conversion-card { flex: none; }
.conversion-title { height: 22px; font-size: var(--text-body-size); line-height: 22px; font-weight: var(--text-body-strong-weight); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversion-list { margin: 0; padding: 0; list-style: none; }
.conversion-row { height: var(--h-row); display: flex; align-items: center; gap: var(--space-3); }
.conversion-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.conversion-text { min-width: 0; color: var(--color-text-secondary); font-size: var(--text-label-size); line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- signup, trial variant: the 40-px form line above the CTA ---- */
.form-line-2 { flex: none; height: 40px; margin: 0; color: var(--color-text-secondary); font-size: var(--text-caption-size); line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.form-line-2.is-error { color: var(--color-danger); }

/* ---- the trial refused after the verification: body of four fixed lines
   (88 px; three lines clamped every body at 360) ---- */
.trial-refused-body { height: 88px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.trial-support-line { height: 20px; line-height: 20px; text-align: center; font-size: var(--text-caption-size); }

/* ---- Inicio's «address changed» card (#direccion-nueva), for 72 hours after
   a move changed the address: page-load layout, fixed boxes. Lead and pinned
   line 60 px / 3 lines; one 40-px / 2-line row per platform. */
.trial-moved-card { margin-top: var(--space-4); }
.trial-moved-lead, .trial-moved-pinned { height: 60px; margin: 0; font-size: var(--text-caption-size); line-height: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.trial-moved-pinned { color: var(--color-text-primary); font-weight: var(--text-label-weight); }
.trial-moved-list { margin: 0; padding: 0; list-style: none; }
.trial-moved-name { color: var(--color-text-primary); font-weight: var(--text-label-weight); }
.trial-moved-row { height: 40px; color: var(--color-text-secondary); font-size: var(--text-caption-size); line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
