/* English plan pages: per-plan key facts, usage guide, short install note and
   the £/US$ per GB comparison columns. Layered on commerce-details.css and
   plan-experience.css; localized plan pages do not load this file. */
.plan-facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 0; }
.plan-fact { position: relative; padding: 1.05rem 1.15rem 1.05rem 4.45rem; border: 1px solid var(--commerce-line, #e4e7ec); border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(16, 24, 40, .045); min-width: 0; }
.plan-fact-icon { position: absolute; left: 1.15rem; top: 1.05rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: 0 0 auto; border: 1px solid #dbe3ff; border-radius: .75rem; background: #eef2ff; color: var(--commerce-brand-dark, #3730a3); }
.plan-fact-icon svg { width: 1.2rem; height: 1.2rem; }
.plan-fact dt { margin: 0 0 .2rem; color: #475467; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.plan-fact dd { margin: 0; color: var(--commerce-ink, #101828); font-size: .9rem; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.plan-fact[data-fact="price"] dd, .plan-fact[data-fact="perGb"] dd { font-weight: 800; }
.plan-facts-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1rem 0 0; }
.plan-facts-links a { color: var(--commerce-brand-dark, #3730a3); font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.plan-usage-scroll { margin: .9rem 0 .4rem; overflow-x: auto; border: 1px solid #e6e3ff; border-radius: .8rem; background: #fff; }
.plan-usage-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.plan-usage-table th, .plan-usage-table td { padding: .55rem .75rem; border-top: 1px solid #eef0f5; text-align: left; }
.plan-usage-table thead th { border-top: 0; background: #f9fafb; color: #667085; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan-usage-table tbody th { color: var(--commerce-ink, #101828); font-weight: 700; }
.plan-usage-table td { color: var(--commerce-muted, #475467); white-space: nowrap; }
.plan-trip-guidance p.plan-usage-note { font-size: .76rem; line-height: 1.5; margin: .35rem 0 0; }

.installation-instructions p { margin: .4rem 0; color: var(--commerce-muted, #475467); line-height: 1.65; }
.plan-install-links a { color: var(--commerce-brand-dark, #3730a3); font-weight: 800; text-underline-offset: 3px; }

.plan-compare-table td:nth-child(4), .plan-compare-table td:nth-child(5) { font-variant-numeric: tabular-nums; }

@media (max-width: 767px) {
    .plan-facts-list { grid-template-columns: minmax(0, 1fr); }
    .plan-fact { padding: .9rem 1rem .9rem 4.3rem; }
    .plan-fact-icon { left: 1rem; top: .9rem; }
    .plan-usage-table th, .plan-usage-table td { padding: .5rem .55rem; }
}

/* Sibling-plan table: give each plan link a comfortable tap target. */
.plan-compare-table th[scope="row"] a { display: inline-block; padding: .45rem 0; }
.plan-facts-links a { display: inline-block; padding: .3rem 0; }

/* An odd number of facts or specification rows: the last one spans the row
   instead of leaving an empty cell. */
.plan-facts-list > .plan-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 768px) { .plan-spec-list > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; } }
