/* ==========================================================================
   FlowTools - Wifi calculator (1.9.0 steps 5/6)
   Utility styling only, layered on top of flowtools-core.css, glance.css
   and drinks.css (reuses .flowtools-card / .flowtools-glance-* /
   .flowtools-field / .flowtools-condition-note / .flowtools-subtotal).
   ========================================================================== */

.flowtools-wifi-inputs {
    padding-bottom: var(--flowtools-space-md);
    border-bottom: 1px solid var(--flowtools-border);
    margin-bottom: var(--flowtools-space-md);
}

.flowtools-wifi-no-match {
    font-size: 0.88rem;
    color: var(--flowtools-text-muted);
    padding: var(--flowtools-space-sm) 0;
}

/* MUST-FIX 8 (Prism's design review, PR #9): a thin divider between plans
   read, at phone width, as the HEADING of the next plan rather than the end
   of the current one - every cost line looked like it belonged to whichever
   plan came after it. Each plan is now its own bordered card, so there is
   no ambiguity about which totals/conditions/link belong to which plan. */
.flowtools-wifi-plan-panel {
    padding: var(--flowtools-space-md);
    margin-bottom: var(--flowtools-space-sm);
    border: 1px solid var(--flowtools-border);
    border-radius: var(--flowtools-radius-sm);
    background: var(--flowtools-card-bg);
}
.flowtools-wifi-plan-panel:last-of-type {
    margin-bottom: 0;
}

.flowtools-wifi-plan-name {
    margin: 0 0 var(--flowtools-space-xs) 0;
}

.flowtools-wifi-published {
    font-size: 0.82rem;
    color: var(--flowtools-text-muted);
    margin: 0 0 var(--flowtools-space-xs) 0;
}
.flowtools-wifi-published span + span::before {
    content: ' - ';
}

.flowtools-wifi-devices-included {
    font-size: 0.85rem;
    color: var(--flowtools-text);
    margin: 0 0 var(--flowtools-space-xs) 0;
}

.flowtools-wifi-not-published {
    font-weight: 600;
    color: var(--flowtools-primary-dark);
}

/* MUST-FIX 1 (Helm's ruling via Cortex, 2026-10-02): a plan the line is
   silent about for the current capability - same neutral note treatment
   as a condition note (information, not a warning). */
.flowtools-wifi-capability-unknown {
    font-size: 0.82rem;
    color: var(--flowtools-text-muted);
    font-style: italic;
    margin: 0 0 var(--flowtools-space-xs) 0;
}

/* MUST-FIX 3: the "not published" fact as helper text on the price field. */
.flowtools-wifi-price-helper {
    font-size: 0.82rem;
    color: var(--flowtools-text-muted);
    margin: 0 0 var(--flowtools-space-xs) 0;
}

.flowtools-wifi-basis,
.flowtools-wifi-extra-devices {
    font-size: 0.82rem;
    color: var(--flowtools-text-muted);
    margin: var(--flowtools-space-xs) 0 0 0;
}

/* The reserved, empty affiliate slot (Helm's directive, ruling 4) - no
   visible chrome until it is ever filled, and even then only with a
   visible disclosure - see the template's comment immediately above it. */
.flowtools-wifi-affiliate-slot:empty {
    display: none;
}

/* MUST-FIX 1 (Prism's design review, PR #9): the shared .flowtools-toggle
   is an inline row of buttons, which at 375px put this 4-button toggle at
   ~492px inside a 375px viewport - "Streaming" got clipped by the
   container's overflow:hidden and "Video calls" was unreachable. A 2x2
   grid fits all four at full width, each at least 44px tall (a real tap
   target, not just a visual minimum). */
.flowtools-wifi-capability {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}
.flowtools-wifi-capability button {
    min-height: 44px;
    text-align: center;
}
