/* All channels and their prices remain visible in one comparison panel. */
#channels{min-height:0;padding:32px 0}
#channels .channel-section-heading{grid-template-columns:1.45fr .65fr;align-items:end;gap:7%;margin:20px 0 22px}
#channels .channel-section-heading>h2{font-size:clamp(30px,3.2vw,48px);line-height:1.2;letter-spacing:-.055em}
#channels .channel-section-heading>p{font-size:14px;line-height:1.65;max-width:33ch}

.channel-billing-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;border-top:1px solid var(--line)}
.channel-billing-label{display:flex;align-items:baseline;gap:12px}
.channel-billing-label>b{font-size:14px;font-weight:500}
.channel-billing-label>span{font-size:11px;color:var(--muted)}
#channels .channel-billing-switch{width:auto;gap:3px;justify-content:start;border:0;padding:4px;background:#ebe7f0}
#channels .channel-billing-switch>button{font-size:12px;min-height:40px;padding:9px 17px;border:0}
#channels .channel-billing-switch>button[aria-pressed=true]{color:var(--purple);background:#fff;box-shadow:inset 0 -2px var(--purple)}
#channels .channel-billing-switch small{font-size:10px;margin-left:5px}

.channel-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #d8d3e1;background:#fff}
.channel-choice{min-width:0;display:flex;flex-direction:column;padding:20px 20px 18px;position:relative;transition:background .18s}
.channel-choice+.channel-choice{border-left:1px solid #e3deea}
.channel-choice.selected{background:#f3edf7}
.channel-choice:after{content:'';position:absolute;height:3px;left:0;right:0;bottom:0;background:var(--purple);opacity:0;transition:opacity .18s}
.channel-choice.selected:after{opacity:1}
.channel-choice-heading{display:flex;align-items:center;gap:10px;min-height:40px}
.channel-choice-heading>div{min-width:0}
.channel-choice-heading h3{font-family:Onest,sans-serif;font-size:17px;font-weight:600;line-height:1.25;letter-spacing:-.025em;margin:0}
.channel-choice-heading small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:3px}
.channel-choice-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;color:#238c65;background:#e8f5ee;border-radius:50%}
.channel-choice-icon>svg{width:24px;height:24px}
.channel-choice-waba .channel-choice-icon{color:#4779c8;background:#edf2fb}
.channel-choice-instagram .channel-choice-icon{color:#b54b89;background:#f9ebf3}
.channel-choice-telegram .channel-choice-icon{color:#259cd7;background:#e8f5fc}
.channel-api-symbol{font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:600;letter-spacing:-.04em}
.channel-choice-price{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-top:20px}
.channel-choice-price>strong{font-family:Unbounded,sans-serif;font-size:30px;font-weight:600;line-height:1.2;letter-spacing:-.055em;white-space:nowrap}
.channel-choice-price>span{font-size:11px;color:var(--muted);white-space:nowrap}
.channel-choice-price>del{font-size:10px;color:#96909c;white-space:nowrap}
.channel-choice-period{font-size:11px;line-height:1.6;color:var(--muted);margin-top:6px}
.channel-choice-period[hidden]{display:none}
.channel-choice.selected .channel-choice-price>strong{color:var(--purple)}
.channel-choice-details{margin:16px 0;min-height:40px}
.channel-choice-details>p{font-size:12px;line-height:1.55;color:#45424e}
.channel-choice-details>small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:5px}
.channel-choice-counter{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid #e3deea}
.channel-choice-counter>span{font-size:11px;color:var(--muted)}
#channels .channel-choice-counter .counter{background:#fff;border:1px solid #d8d0e2}
#channels .channel-choice-counter button{width:34px;height:40px;font-size:21px}
#channels .channel-choice-counter output{font-size:12px;min-width:29px;padding:0 4px}
#channels button:focus-visible,#channels a:focus-visible{outline:2px solid var(--purple);outline-offset:3px}

.channel-selection-summary{display:flex;align-items:center;gap:24px;padding:22px 0 18px;border-bottom:1px solid var(--line)}
.channel-selection-title{flex:1;min-width:0}
.channel-selection-title>span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}
.channel-selection-title>strong{font-size:14px;font-weight:500}
.channel-selection-price{min-width:0}
.channel-selection-price>output{display:block;font-family:'JetBrains Mono',monospace;font-size:25px;font-weight:500;color:var(--purple);line-height:1.2;white-space:nowrap}
.channel-selection-price>output>small{font-family:Onest,sans-serif;font-size:12px;font-weight:400;color:var(--muted)}
.channel-selection-price>small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:5px}
.channel-selection-summary>a{font-size:12px;color:var(--purple);display:flex;align-items:center;gap:14px;min-height:44px;white-space:nowrap;margin-left:14px}
.channel-selection-summary>a>span{font-size:17px}
.channel-billing-note{font-size:11px;line-height:1.6;color:var(--muted);margin-top:13px;max-width:760px}

.channel-web-risk{margin-top:9px;border:1px solid #e6dccb;background:#faf7f1}
.channel-web-risk>summary{justify-content:flex-start;gap:6px;padding:8px;font-size:11px;line-height:1.5;color:#725322}
.channel-web-risk>summary>span{margin-left:auto;font-size:15px;color:#8a5c20}
.channel-risk-icon{display:grid;place-items:center;width:18px;height:18px;flex:none;border:1px solid #b18b53;border-radius:50%;color:#8a5c20;font-family:'JetBrains Mono',monospace;font-style:normal;font-size:11px}
.channel-risk-copy{padding:0 9px 10px}
.channel-risk-copy>p{font-size:11px;line-height:1.65;color:#61584c;padding:0}
.channel-risk-sources{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:8px}
.channel-risk-sources>a{font-size:10px;line-height:1.65;color:var(--purple);text-decoration:underline;text-underline-offset:3px}
.channel-risk-sources>a>span{display:inline-block;margin-left:4px}
.estimate-channel-risk{font-size:12px;line-height:1.65;color:#725322;padding:12px 14px;border-left:2px solid #b18b53;background:#faf7f1}
.estimate-channel-risk>b{font-weight:600}
.estimate-channel-risk>a{color:var(--purple);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

/* Fit full channel names to the calculator panel, including narrow columns. */
#selectedChannels{container:estimate-channels / inline-size}
#selectedChannels .estimate-channel-group{grid-template-columns:minmax(0,1fr) max-content;column-gap:20px}
#selectedChannels .estimate-channel-heading{min-width:0}
#selectedChannels .estimate-channel-heading h4{white-space:normal;line-height:1.4}
#selectedChannels .fixed-price-picker{grid-template-columns:max-content max-content;gap:16px;align-items:center}
#selectedChannels .estimate-channel-price{line-height:1.5}
@container estimate-channels (max-width:420px){
  #selectedChannels .estimate-channel-group{grid-template-columns:minmax(0,1fr) auto;gap:3px 14px;padding:12px 0}
  #selectedChannels .estimate-channel-heading{grid-column:1;grid-row:1}
  #selectedChannels .fixed-price-picker{display:contents}
  #selectedChannels .estimate-channel-price{grid-column:1;grid-row:2;white-space:normal}
  #selectedChannels .estimate-channel-price small{display:inline-block;white-space:nowrap}
  #selectedChannels .fixed-price-picker .counter{grid-column:2;grid-row:1 / span 2;align-self:center}
}

@media(max-width:1050px){
  .channel-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .channel-choice{padding:20px}
  .channel-choice:nth-child(3){border-left:0}
  .channel-choice:nth-child(n+3){border-top:1px solid #e3deea}
  .channel-choice-price{margin-top:20px}
  .channel-choice-details{min-height:38px;margin:14px 0 16px}
}
@media(min-width:541px) and (max-width:1050px){
  .channel-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 10px;padding:18px}
  .channel-choice-heading{gap:8px;align-self:start}
  .channel-choice-heading h3{font-size:16px}
  .channel-choice-heading small{font-size:9px}
  .channel-choice-icon{width:30px;height:30px}
  .channel-choice-price{display:block;text-align:right;margin-top:0;align-self:start}
  .channel-choice-price>strong{display:block;font-size:25px}
  .channel-choice-price>span{display:block;font-size:10px;margin-top:3px}
  .channel-choice-price>del{display:block;margin-top:3px}
  .channel-choice-period,.channel-choice-details,.channel-choice-counter{grid-column:1/-1}
  .channel-choice-details{margin:14px 0;min-height:40px}
  .channel-choice-counter{margin-top:0}
}
@media(max-width:760px){
  #channels{padding:28px 0}
  #channels .channel-section-heading{grid-template-columns:1fr;gap:10px;margin:18px 0 20px}
  #channels .channel-section-heading>h2{font-size:28px}
  #channels .channel-section-heading>p{font-size:13px;max-width:47ch}
  .channel-billing-toolbar{align-items:start;gap:14px;flex-wrap:wrap;padding:14px 0}
  .channel-selection-summary{gap:16px;padding:18px 0 14px}
  .channel-selection-summary>a{margin-left:0;font-size:11px;gap:10px}
}
@media(max-width:540px){
  #channels{padding:24px 0}
  #channels .channel-section-heading{margin:14px 0 16px}
  #channels .channel-section-heading>h2{font-size:clamp(22px,6.4vw,30px)}
  #channels .channel-section-heading>p{font-size:12px;max-width:38ch}
  #channels .section-label>span:last-child{display:block;font-size:7px;letter-spacing:0}
  .channel-billing-toolbar{display:block}
  .channel-billing-label{justify-content:space-between;margin-bottom:10px}
  .channel-billing-label>b{font-size:12px}
  .channel-billing-label>span{font-size:10px}
  #channels .channel-billing-switch{width:100%;justify-content:space-between;gap:3px}
  #channels .channel-billing-switch>button{flex:1;font-size:11px;padding:8px 5px;min-height:40px}
  #channels .channel-billing-switch small{font-size:9px;margin-left:3px}
  .channel-overview-grid{grid-template-columns:1fr}
  .channel-choice{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:0 10px;padding:16px 12px}
  .channel-choice+.channel-choice{border-left:0;border-top:1px solid #e3deea}
  .channel-choice-heading{align-self:center;min-height:0}
  .channel-choice-heading h3{font-size:13px}
  .channel-choice-heading small,.channel-choice-icon{display:none}
  .channel-choice-price{margin-top:0;display:block;text-align:right;align-self:start}
  .channel-choice-price>strong{display:block;font-size:20px}
  .channel-choice-price>span{display:inline-block;font-size:9px;margin-top:3px}
  .channel-choice-price>del{display:block;font-size:9px;margin-top:3px}
  .channel-choice-period{grid-column:1/-1;font-size:10px;margin-top:5px}
  .channel-choice-details{grid-column:1/-1;min-height:0;margin:10px 0 0}
  .channel-choice-details>p{font-size:11px}
  .channel-choice-details>small{font-size:10px;margin-top:3px}
  .channel-choice-counter{grid-column:3;grid-row:1;padding-top:0;margin-top:0;border:0;align-self:center}
  .channel-choice-counter>span{display:none}
  #channels .channel-choice-counter button{width:27px;height:40px;font-size:18px}
  #channels .channel-choice-counter output{min-width:25px;font-size:11px;padding:0 3px}
  .channel-selection-title>strong{font-size:12px}
  .channel-selection-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px}
  .channel-selection-summary>a{grid-column:1/-1;justify-content:space-between;border-top:1px solid var(--line);padding-top:10px;min-height:44px}
  .channel-selection-price>output{font-size:22px}
  .channel-selection-price>output>small{font-size:10px}
  .channel-selection-price>small{font-size:9px;max-width:21ch}
  .channel-billing-note{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.channel-choice,.channel-choice:after{transition:none}}
