/* Lorne & Vale, lornevale.com: the channels (build.py loads this stylesheet only on the pages that show one of
   its components, and on every page of a preview build). It builds on site.css: its tokens, .wrap, the
   keynote's kn- primitives. Breakpoints follow site.css: 1068px and 734px. */

/* ---------- Preview build: the banner ---------- */

.pv {
  position: sticky; top: 0; z-index: 51;
  height: 26px; background: var(--ink); color: var(--on-night);
  font-size: 12px; line-height: 26px; letter-spacing: 0;
}
.pv__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.pv p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv b { font-weight: 600; }
.pv a { color: var(--link-night); white-space: nowrap; }
.pv ~ .gnav { top: 26px; }
:root:has(.pv) { scroll-padding-top: calc(var(--nav-h) + 42px); }
@media (max-width: 1023px) {
  .pv ~ .gnav .gnav__links { inset: calc(var(--nav-h) + 26px) 0 auto 0; }
}
@media (max-width: 480px) {
  .pv p { font-size: 11px; }
}

/* ---------- Channels: the drawn iPhone app ----------
   The screens the channels need and the app does not have yet (Today in three piles, a contact, a conversation,
   a decision, Who approves what, the record), drawn as site/partials/demo-phone.html draws the app: laid out at
   the iPhone's own size, 402 by 874 points, then scaled into the frame by --k. The status bar and the tab bar are
   the demo's own (.app-sb, .app-tabbar). --wn is the phone's width in px without a unit. */

.cp { --wn: 300; }
.device.cp { --w: calc(var(--wn) * 1px); --k: calc(var(--wn) * .936 / 402); }
.cp .device__screen { background: #f2f2f7; }
.ca { background: #f2f2f7; }
.ca-page, .ca-layer { position: absolute; left: 0; top: 0; z-index: 0; width: 402px; height: 874px; overflow: hidden; background: #f2f2f7; }
.ca-page { padding: 118px 16px 0; }
.ca-large { font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: .1px; }
.ca-date { margin-top: 1px; font-size: 15px; line-height: 20px; letter-spacing: -.24px; color: #48484a; }
.ca-card { border-radius: 26px; background: #fff; }
.ca-h { margin: 22px 16px 7px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: -.08px; color: #48484a; }
.ca-h--first { margin-top: 4px; }
.ca-foot { margin: 8px 16px 0; font-size: 13px; line-height: 18px; letter-spacing: -.08px; color: #6e6e73; }
.ca-chev { width: 7.5px; height: 13px; stroke-width: 2; color: #c5c5c7; }

/* the navigation bar of a screen inside a tab: back, title, and the list fading under them */
.ca-navtitle { position: absolute; left: 70px; right: 70px; top: 72.8px; z-index: 3; text-align: center; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-navfade { position: absolute; left: 0; top: 0; z-index: 2; width: 402px; height: 112px; background: linear-gradient(180deg, #f2f2f7 0, #f2f2f7 96px, rgba(242, 242, 247, 0)); pointer-events: none; }
.ca .app-btn { z-index: 4; }

/* a channel's symbol, in its tile, as an iOS list draws a row's symbol */
.ca-ch, .ca-chip, .cv__glyph, .cv__cglyph, .dsk-glyph { display: grid; place-items: center; flex: none; color: #fff; }
.ca-ch { width: 30px; height: 30px; margin-top: 3px; border-radius: 8px; }
.ca-ch svg, .ca-chip svg, .cv__glyph svg, .cv__cglyph svg, .dsk-glyph svg { width: 62%; height: 62%; stroke-width: 2; }
.chg--green { background: #34c759; }
.chg--teal { background: #30b0c7; }
.chg--blue { background: #007aff; }
.chg--indigo { background: #5856d6; }
.chg--red { background: #ff3b30; }
.chg--orange { background: #ff9500; }
.chg--gray { background: #8e8e93; }

/* Today, in three piles: each pile says its name once, in its colour */
.ca-pile { margin-top: 20px; }
.ca-pile__head { display: flex; align-items: center; gap: 8px; padding: 0 16px 7px; font-size: 15px; line-height: 20px; letter-spacing: -.24px; }
.ca-pile__head b { font-weight: 600; }
.ca-pile__dot { width: 8px; height: 8px; border-radius: 50%; }
.ca-pile__n { margin-left: auto; color: #48484a; font-variant-numeric: tabular-nums; }
.ca-pile--urgent .ca-pile__dot { background: #ff3b30; }
.ca-pile--you .ca-pile__dot { background: #ff9500; }
.ca-pile--done .ca-pile__dot { background: #34c759; }
.ca-pile--urgent .ca-pile__head b { color: #b3261e; }
.ca-pile--you .ca-pile__head b { color: #875000; }
.ca-pile--done .ca-pile__head b { color: #1f6c32; }
.ca-list { overflow: hidden; }
.ca-row { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 11px 16px 12px 14px; }
.ca-row + .ca-row::before { content: ""; position: absolute; top: 0; right: 0; left: 56px; border-top: 1px solid #e5e5ea; }
.ca-row__body { display: flex; flex-direction: column; min-width: 0; }
.ca-row__meta { font-size: 13px; line-height: 18px; letter-spacing: -.08px; color: #6e6e73; }
.ca-row__body b { font-size: 17px; line-height: 22px; letter-spacing: -.41px; }
.ca-row__st { font-size: 15px; line-height: 20px; letter-spacing: -.24px; }
.ca-st--urgent { color: #b3261e; }
.ca-st--you { color: #875000; }
.ca-st--done { color: #1f6c32; }

/* a contact */
.ca-contact { padding-top: 112px; }
.ca-who { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ca-avatar { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(180deg, #a1a1a6, #7c7c80); color: #fff; font-size: 34px; font-weight: 600; letter-spacing: .5px; }
.ca-name { margin-top: 10px; font-size: 24px; line-height: 29px; font-weight: 700; letter-spacing: .1px; }
.ca-kind { margin-top: 2px; font-size: 15px; line-height: 20px; letter-spacing: -.24px; color: #48484a; }
.ca-acts { display: flex; gap: 8px; margin-top: 16px; }
.ca-act { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0 8px; border-radius: 16px; background: #fff; color: #006bd8; font-size: 12px; line-height: 16px; letter-spacing: 0; }
.ca-act svg { width: 22px; height: 22px; stroke-width: 1.9; }
.ca-fields { margin-top: 16px; }
.ca-fields p { position: relative; display: flex; flex-direction: column; padding: 9px 16px 10px; }
.ca-fields p + p::before { content: ""; position: absolute; top: 0; right: 0; left: 16px; border-top: 1px solid #e5e5ea; }
.ca-fields span { font-size: 13px; line-height: 18px; letter-spacing: -.08px; color: #48484a; }
.ca-fields b { font-weight: 400; color: #006bd8; overflow-wrap: anywhere; }
.ca-last { padding: 11px 16px 13px; font-size: 15px; line-height: 20px; letter-spacing: -.24px; }
.ca-last .ca-row__meta { margin-bottom: 2px; }
.ca-link p { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 17px 0 16px; }

/* a conversation */
.ca-chat__who { position: absolute; left: 0; right: 0; top: 104px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; line-height: 18px; letter-spacing: -.08px; color: #48484a; }
.ca-chip { width: 20px; height: 20px; border-radius: 6px; }
.ca-msgs { display: flex; flex-direction: column; gap: 10px; padding-top: 34px; }
.ca-msg { max-width: 296px; }
.ca-msg p { padding: 9px 14px 10px; border-radius: 20px; font-size: 16px; line-height: 21px; letter-spacing: -.32px; }
.ca-msg time { display: block; margin-top: 3px; padding: 0 6px; font-size: 11px; line-height: 13px; letter-spacing: .06px; color: #6e6e73; }
.ca-msg--in { align-self: flex-start; }
.ca-msg--in p { background: #fff; border-bottom-left-radius: 6px; }
.ca-msg--out { align-self: flex-end; text-align: right; }
.ca-msg--out p { text-align: left; background: #0071e3; color: #fff; border-bottom-right-radius: 6px; }
.ca-flag { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 14px; background: rgba(255, 59, 48, .12); color: #b3261e; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: -.08px; }
.ca-flag svg { width: 15px; height: 15px; stroke-width: 2.2; }

/* a decision */
.ca-decision { padding-top: 112px; }
.ca-kicker { margin: 0 4px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: -.08px; color: #875000; }
.ca-title { margin: 2px 4px 0; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.26px; }
.ca-decision .ca-h { margin-top: 18px; }
.ca-text { padding: 12px 16px 13px; font-size: 15px; line-height: 20px; letter-spacing: -.24px; }
.ca-opt { display: flex; flex-direction: column; padding: 12px 16px 13px; }
.ca-opt b { font-size: 15px; line-height: 20px; letter-spacing: -.24px; }
.ca-amount { margin-top: 2px; font-size: 17px; line-height: 22px; font-weight: 600; }
.ca-src { font-size: 12px; line-height: 16px; letter-spacing: 0; color: #48484a; }
.ca-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ca-btn { display: grid; place-items: center; height: 50px; border-radius: 25px; background: #fff; color: #006bd8; font-weight: 600; }
.ca-btn--go { background: #006bd8; color: #fff; }
.ca-btn.is-pressed { transform: scale(.98); filter: brightness(.92); }

/* Who approves what */
.ca-rules { padding-top: 112px; }
.ca-rule { position: relative; display: flex; flex-direction: column; padding: 10px 16px 11px; }
.ca-rule + .ca-rule::before { content: ""; position: absolute; top: 0; right: 0; left: 16px; border-top: 1px solid #e5e5ea; }
.ca-rule b { font-weight: 400; }
.ca-rule__v { font-size: 15px; line-height: 20px; letter-spacing: -.24px; color: #006bd8; }
.ca-rule__v [hidden] { display: none; }

/* the record */
.ca-record { padding-top: 112px; }
.ca-tl { position: relative; padding: 8px 16px 8px 14px; }
.ca-tl li { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 8px 0 8px 18px; font-size: 14px; line-height: 19px; letter-spacing: -.15px; }
.ca-tl li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; border-radius: 50%; background: #34c759; }
.ca-tl li + li::after { content: ""; position: absolute; left: 4px; top: -8px; width: 1px; height: 21px; background: #d1d1d6; }
.ca-tl time { color: #6e6e73; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* the tab bar of the demo, with the tab of the screen chosen */
.ca-tabs .app-tab--req { color: #000; }
.ca-tabs--today .app-tab--today, .ca-tabs--req .app-tab--req, .ca-tabs--dec .app-tab--dec, .ca-tabs--co .app-tab--co { color: #006bd8; }
.ca-tabs--today .app-tabbar__sel { left: 4.4px; }
.ca-tabs--dec .app-tabbar__sel { left: 176.6px; }
.ca-tabs--co .app-tabbar__sel { left: 259.6px; }
.ca .app-badge { transform: none; }

/* where the drawn phones sit */
.split__media .cp { --wn: 300; }
.ch-piles__phone .cp, .ch-card__phone .cp { --wn: 330; }
@media (max-width: 1068px) {
  .split__media .cp, .ch-piles__phone .cp, .ch-card__phone .cp { --wn: 300; }
}
@media (max-width: 734px) {
  .split__media .cp, .ch-piles__phone .cp, .ch-card__phone .cp { --wn: 280; }
}
@media (max-width: 359px) {
  .split__media .cp, .ch-piles__phone .cp, .ch-card__phone .cp { --wn: 256; }
}

/* ---------- Channels page: the first screen, five channels into one iPhone ----------
   A night hero; under its words, the convergence scene (converge_html in build.py, played by channels.js on one
   clock, no CSS transition on its moving parts): the five sources, a message card that glides from its source into
   the phone, the row it becomes in its pile. Without script the piles show full; with reduced motion, a still. */
.ch-hero { padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; }
.ch-hero .lead { color: var(--on-night-2); }
.ch-hero__scene { margin-top: clamp(40px, 5vw, 72px); }
.cv { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 64px); align-items: center; max-width: 1040px; margin: 0 auto; }
.cv__sources { display: grid; gap: 10px; }
.cv__src {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 16px 10px 12px;
  border: 0; border-radius: 18px; background: rgba(255, 255, 255, .06); color: var(--on-night);
  font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.02em; text-align: left; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cv__src:hover { background: rgba(255, 255, 255, .1); }
.cv__src:focus-visible { outline: 3px solid var(--link-night); outline-offset: 2px; }
.cv__src[aria-pressed="true"] { background: rgba(41, 151, 255, .16); box-shadow: inset 0 0 0 2px #2997ff; }
.cv__src.is-lit { background: rgba(255, 255, 255, .12); }
.cv__glyph { width: 36px; height: 36px; border-radius: 10px; }
.cv__stage { position: relative; display: flex; justify-content: center; min-height: 560px; }
.cv__phone { --wn: 270; z-index: 1; }
.cv__cards { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cv__card {
  position: absolute; left: 0; top: 0; display: flex; gap: 12px; align-items: flex-start; width: 290px; padding: 12px 14px;
  border-radius: 18px; background: rgba(28, 28, 30, .94); color: var(--on-night);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform-origin: 0 0;
}
.cv__cglyph { width: 30px; height: 30px; border-radius: 8px; }
.cv__card p { display: grid; gap: 2px; min-width: 0; font-size: 15px; line-height: 1.35; }
.cv__card b { font-size: 13px; font-weight: 600; color: var(--on-night-2); }
.cv__says { grid-column: 1 / -1; min-height: 52px; max-width: 760px; margin: 0 auto; text-align: center; font-size: 17px; line-height: 1.5; color: var(--on-night-2); }
.cv__say { font-weight: 500; }
.cv__say[hidden] { display: none; }
/* the rows of the piles: shown (no script, or the scene has placed them), arriving, or still to come */
.cv [data-cv-row] { overflow: hidden; }
.js .cv [data-cv-row]:not(.is-in) { height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
.cv [data-cv-row].is-new { background: rgba(0, 113, 227, .07); }
@media (max-width: 1068px) {
  .cv { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .cv__sources { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .cv__src { flex-direction: column; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 4px; font-size: 13px; text-align: center; }
  .cv__glyph { width: 32px; height: 32px; }
  .cv__stage { min-height: 0; }
  .cv__card { width: 250px; }
}
@media (max-width: 734px) {
  .cv__sources { gap: 6px; }
  .cv__src { min-height: 68px; border-radius: 14px; font-size: 12px; letter-spacing: -.01em; }
  .cv__glyph { width: 28px; height: 28px; border-radius: 8px; }
  .cv__phone { --wn: 250; }
  .cv__card { width: 220px; padding: 10px 12px; }
  .cv__card p { font-size: 14px; }
  .cv__says { font-size: 15px; }
}
@media (max-width: 359px) {
  .cv__src > span:last-child { font-size: 11px; }
  .cv__phone { --wn: 236; }
}

.ch-hero .play-link { color: var(--link-night); }

/* ---------- Channels page: three piles ---------- */
.ch-piles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1080px; margin: 0 auto; }
.ch-piles__phone { display: flex; justify-content: center; }
.ch-piles__tiles { display: grid; gap: 16px; }
.ch-pile.tile { padding: clamp(24px, 2.6vw, 32px); }
.ch-pile__name { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.ch-pile__dot { width: 10px; height: 10px; border-radius: 50%; }
.ch-pile--urgent .ch-pile__name { color: #b3261e; }
.ch-pile--urgent .ch-pile__dot { background: #ff3b30; box-shadow: 0 0 0 4px rgba(255, 59, 48, .14); }
.ch-pile--you .ch-pile__name { color: #875000; }
.ch-pile--you .ch-pile__dot { background: #ff9500; box-shadow: 0 0 0 4px rgba(255, 149, 0, .16); }
.ch-pile--done .ch-pile__name { color: #1f6c32; }
.ch-pile--done .ch-pile__dot { background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .16); }
.ch-pile .tile__title { font-size: clamp(21px, 1.8vw, 25px); }
@media (max-width: 1068px) {
  .ch-piles { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}

/* ---------- Channels page: keep your number, the forwarding in three steps ---------- */
.fwd { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); max-width: 1080px; margin: 0 auto; padding: 0; list-style: none; }
.fwd::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 36px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .14), #2997ff 70%, #8e8cf5); }
.fwd__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(4px, 1vw, 16px); }
.fwd__i { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--night-3); color: var(--on-night); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.fwd__i svg { width: 34px; height: 34px; }
.fwd__step--lv .fwd__i { background: linear-gradient(160deg, #2997ff, #5e5ce6); box-shadow: 0 10px 30px rgba(41, 151, 255, .35); }
.fwd__n { margin-top: 18px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--on-night-2); font-variant-numeric: tabular-nums; }
.fwd__step h3 { margin-top: 4px; font-family: var(--font-display); font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -.024em; }
.fwd__step p { margin-top: 8px; max-width: 320px; color: var(--on-night-2); font-size: 17px; }
@media (max-width: 734px) {
  .fwd { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 420px; }
  .fwd::before { left: 35px; right: auto; top: 36px; bottom: 36px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(255, 255, 255, .14), #2997ff 70%, #8e8cf5); }
  .fwd__step { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; align-items: start; text-align: left; padding: 0; }
  .fwd__i { grid-row: 1 / 4; }
  .fwd__n { margin-top: 2px; }
  .fwd__step p { max-width: none; }
}

/* ---------- Channels page: the rules it always follows ---------- */
.ch-mandate { max-width: 1080px; margin: clamp(40px, 5vw, 64px) auto 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--paper); }
.ch-mandate__title { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.026em; }
.ch-mandate__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 32px; margin-top: 24px; padding: 0; list-style: none; }
.ch-mandate__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.ch-mandate__list svg { width: 24px; height: 24px; color: var(--blue); margin-top: 1px; }
.ch-mandate__list b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.ch-mandate__list span { display: block; margin-top: 3px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 1068px) { .ch-mandate__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .ch-mandate__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Channels: your rules in three questions ----------
   The setup's three questions as segmented radio groups, Who approves what on the iPhone, and the three arrivals
   sorted again (rulescfg_html in build.py, channels.js). Nothing leaves the browser. */
.cfg { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; max-width: 1180px; margin: 0 auto; }
.cfg__qs { display: grid; gap: 22px; margin: 0; }
.cfg__q { margin: 0; padding: 0; border: 0; min-width: 0; }
.cfg__label { padding: 0; margin-bottom: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.cfg__opts { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: #ececf0; }
.cfg__opt { position: relative; flex: 1 1 0; min-width: min(100%, 120px); }
.cfg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cfg__opt span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; line-height: 1.25; text-align: center; color: var(--ink); transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.cfg__opt:hover span { background: rgba(255, 255, 255, .55); }
.cfg__opt input:checked + span { background: var(--paper); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 3px 10px rgba(0, 0, 0, .08); }
.cfg__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.cfg__static { font-size: 17px; color: var(--ink-2); }
.js .cfg__static { display: none; }
.cfg__fixed { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 59, 48, .07); color: #8f1d17; font-size: 15px; font-weight: 600; line-height: 1.4; }
.cfg__fixed svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.cfg__phone-wrap { display: flex; justify-content: center; }
.cfg__phone { --wn: 270; }
.cfg__head { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.cfg__cases { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.cfg__case { padding: 14px 16px 15px; border-radius: 18px; background: var(--mist); }
.cfg__org { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cfg__what { margin-top: 2px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.cfg__res { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 8px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.cfg__pill { flex: none; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.cfg__case[data-state="done"] .cfg__pill { background: rgba(52, 199, 89, .16); color: #1f6c32; }
.cfg__case[data-state="you"] .cfg__pill { background: rgba(255, 149, 0, .18); color: #875000; }
.cfg__case[data-state="done"] [data-cfg-pill="you"], .cfg__case[data-state="you"] [data-cfg-pill="done"] { display: none; }
.cfg__why [hidden] { display: none; }
.cfg__sum { margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.cfg__sum [hidden] { display: none; }
.cfg__note { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 1068px) {
  .cfg { grid-template-columns: minmax(0, 1fr) auto; }
  .cfg__result { grid-column: 1 / -1; }
}
@media (max-width: 734px) {
  .cfg { grid-template-columns: minmax(0, 1fr); }
  .cfg__phone-wrap { order: 2; }
  .cfg__result { order: 3; }
  .cfg__phone { --wn: 250; }
}

/* ---------- Channels: what comes in (the arrivals) ----------
   The grammar of "Try a request" (.try__ in site.css), with each event marked by its channel and the messages a
   tap away (arrivals_html in build.py, channels.js). */
.arr .try__mark svg { width: 15px; height: 15px; }
.arr__item--phone .try__mark, .arr__item--voicemail .try__mark, .arr__item--sms .try__mark { background: #34c759; }
.arr__item--whatsapp .try__mark { background: #30b0c7; }
.arr__item--email .try__mark { background: #007aff; }
.arr__item--calendar .try__mark, .arr__item--urgent .try__mark { background: #ff3b30; }
.arr__item--reminder .try__mark, .arr__item--hand .try__mark { background: #ff9500; }
.arr__item--contact .try__mark { background: #8e8e93; }
.arr__item--moon .try__mark { background: #5856d6; }
.arr__item--check .try__mark { background: #28cd41; }
.arr .try__item--urgent .try__name { color: #b3261e; }
.msg { font-size: 14.5px; }
.msg--in { background: var(--mist); }
.msg--out { background: rgba(0, 113, 227, .08); }
.msg--voice { background: #effaf1; }
.msg__k { font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--ink-3); }
.msg__heard { color: var(--ink-2); font-style: italic; }
.try__parts[hidden] { display: none; }

/* ---------- Channels: the web platform's desk, drawn ----------
   The places the platform does not have yet (Contacts, Channels) and the film's decision, at the desk's own
   size, 1512 x 906 points: --p is one point, a share of the drawing's width, so it scales with its browser. */
.dsk-wrap { container-type: inline-size; aspect-ratio: 1512 / 906; overflow: hidden; background: #f5f5f7; }
.dsk {
  --p: calc(100cqw / 1512);
  position: relative; display: flex; width: 100%; height: 100%;
  color: #1d1d1f; font-family: var(--font); font-size: calc(15 * var(--p)); line-height: 1.47; letter-spacing: -.008em; text-align: left;
}
.dsk :where(p, ul, ol) { margin: 0; padding: 0; list-style: none; }
.dsk svg { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dsk-side { flex: none; display: flex; flex-direction: column; width: calc(256 * var(--p)); padding: calc(16 * var(--p)) calc(12 * var(--p)) calc(12 * var(--p)); border-right: 1px solid #e5e5ea; background: #f9f9fb; }
.dsk-brand { display: flex; align-items: center; gap: calc(10 * var(--p)); padding: 0 calc(4 * var(--p)); }
.dsk-logo { display: grid; place-items: center; width: calc(30 * var(--p)); height: calc(30 * var(--p)); border-radius: calc(7 * var(--p)); background: #000; color: #fff; font-size: calc(13 * var(--p)); font-weight: 700; }
.dsk-brand__t { display: flex; flex-direction: column; margin-right: auto; line-height: 1.25; }
.dsk-brand__t b { font-size: calc(15 * var(--p)); font-weight: 600; }
.dsk-brand__t span { font-size: calc(12 * var(--p)); color: #6e6e73; }
.dsk-brand svg { width: calc(18 * var(--p)); height: calc(18 * var(--p)); color: #424245; }
.dsk-new { display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--p)); margin-top: calc(16 * var(--p)); height: calc(36 * var(--p)); border-radius: calc(10 * var(--p)); background: #0071e3; color: #fff; font-weight: 500; }
.dsk-new svg { width: calc(15 * var(--p)); height: calc(15 * var(--p)); stroke-width: 2.4; }
.dsk-search { display: flex; align-items: center; gap: calc(8 * var(--p)); margin-top: calc(8 * var(--p)); height: calc(32 * var(--p)); padding: 0 calc(10 * var(--p)); border-radius: calc(9 * var(--p)); background: #ededf0; color: #6e6e73; font-size: calc(14 * var(--p)); }
.dsk-search svg { width: calc(14 * var(--p)); height: calc(14 * var(--p)); }
.dsk-search kbd { margin-left: auto; font: inherit; font-size: calc(11 * var(--p)); }
.dsk-nav { margin-top: calc(16 * var(--p)); display: grid; gap: calc(2 * var(--p)); }
.dsk-nav li { display: flex; align-items: center; gap: calc(10 * var(--p)); height: calc(34 * var(--p)); padding: 0 calc(10 * var(--p)); border-radius: calc(9 * var(--p)); font-size: calc(15 * var(--p)); }
.dsk-nav li svg { width: calc(17 * var(--p)); height: calc(17 * var(--p)); color: #0066cc; }
.dsk-nav li b { margin-left: auto; font-size: calc(12 * var(--p)); font-weight: 400; color: #6e6e73; }
.dsk-nav li.is-on { background: #e3e3e8; font-weight: 500; }
.dsk-co { display: flex; align-items: center; gap: calc(10 * var(--p)); margin-top: auto; height: calc(34 * var(--p)); padding: 0 calc(10 * var(--p)); border-top: 1px solid #e5e5ea; padding-top: calc(10 * var(--p)); box-sizing: content-box; }
.dsk-co svg { width: calc(17 * var(--p)); height: calc(17 * var(--p)); color: #0066cc; }
.dsk-me { display: flex; align-items: center; gap: calc(10 * var(--p)); margin-top: calc(10 * var(--p)); padding: 0 calc(8 * var(--p)); }
.dsk-av { display: grid; place-items: center; flex: none; width: calc(32 * var(--p)); height: calc(32 * var(--p)); border-radius: 50%; background: #8e8e93; color: #fff; font-size: calc(12 * var(--p)); font-weight: 600; }
.dsk-av--s { width: calc(34 * var(--p)); height: calc(34 * var(--p)); background: #aeaeb2; }
.dsk-av--l { width: calc(56 * var(--p)); height: calc(56 * var(--p)); font-size: calc(20 * var(--p)); background: linear-gradient(180deg, #a1a1a6, #7c7c80); }
.dsk-me__t { display: flex; flex-direction: column; line-height: 1.3; }
.dsk-me__t b { font-size: calc(14 * var(--p)); font-weight: 500; }
.dsk-me__t span { font-size: calc(12 * var(--p)); color: #6e6e73; }
.dsk-me i { margin-left: auto; width: calc(14 * var(--p)); height: calc(4 * var(--p)); background: radial-gradient(circle, #6e6e73 1.1px, transparent 1.4px) 0 0 / calc(5 * var(--p)) 100%; }
.dsk-main { flex: 1; display: flex; min-width: 0; }
.dsk-col { flex: none; width: calc(380 * var(--p)); padding: calc(24 * var(--p)) calc(20 * var(--p)); border-right: 1px solid #e5e5ea; }
.dsk-h1 { font-size: calc(30 * var(--p)); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.dsk-field { display: flex; align-items: center; gap: calc(8 * var(--p)); margin-top: calc(16 * var(--p)); height: calc(36 * var(--p)); padding: 0 calc(12 * var(--p)); border-radius: calc(10 * var(--p)); background: #ededf0; color: #6e6e73; }
.dsk-field svg { width: calc(15 * var(--p)); height: calc(15 * var(--p)); }
.dsk-people, .dsk-reqs { margin-top: calc(16 * var(--p)); display: grid; gap: calc(2 * var(--p)); }
.dsk-people li { display: flex; align-items: center; gap: calc(12 * var(--p)); padding: calc(9 * var(--p)) calc(10 * var(--p)); border-radius: calc(12 * var(--p)); }
.dsk-people li > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.dsk-people b { font-size: calc(14 * var(--p)); font-weight: 500; }
.dsk-people li > span:last-child > span { font-size: calc(12 * var(--p)); color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsk-people .is-on, .dsk-reqs .is-on { background: rgba(0, 102, 204, .12); }
.dsk-reqs li { display: flex; flex-wrap: wrap; align-items: center; gap: calc(6 * var(--p)) calc(10 * var(--p)); padding: calc(12 * var(--p)); border-radius: calc(12 * var(--p)); }
.dsk-reqs b { flex: 1 1 100%; font-size: calc(14 * var(--p)); font-weight: 500; }
.dsk-badge { padding: calc(1 * var(--p)) calc(8 * var(--p)); border-radius: 999px; background: #965200; color: #fff; font-size: calc(11 * var(--p)); font-weight: 600; }
.dsk-meta { font-size: calc(12 * var(--p)); color: #6e6e73; }
.dsk-detail { flex: 1; min-width: 0; padding: calc(32 * var(--p)) calc(40 * var(--p)); overflow: hidden; }
.dsk-person { display: flex; align-items: center; gap: calc(16 * var(--p)); padding: calc(18 * var(--p)); }
.dsk-title { font-size: calc(26 * var(--p)); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.dsk-sub { margin-top: calc(4 * var(--p)); font-size: calc(13 * var(--p)); color: #6e6e73; }
.dsk-card { margin-top: calc(14 * var(--p)); border-radius: calc(14 * var(--p)); background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 22px rgba(0, 0, 0, .045); overflow: hidden; }
.dsk-rows p { position: relative; display: flex; align-items: center; justify-content: space-between; gap: calc(16 * var(--p)); padding: calc(11 * var(--p)) calc(16 * var(--p)); }
.dsk-rows p + p::before { content: ""; position: absolute; top: 0; right: 0; left: calc(16 * var(--p)); border-top: 1px solid #e5e5ea; }
.dsk-rows span { color: #6e6e73; }
.dsk-rows b { font-weight: 500; text-align: right; }
.dsk-tags { display: flex; gap: calc(6 * var(--p)); }
.dsk-tag { display: inline-flex; align-items: center; gap: calc(5 * var(--p)); padding: calc(2 * var(--p)) calc(9 * var(--p)); border-radius: 999px; background: #ededf0; font-size: calc(12 * var(--p)); font-weight: 500; }
.dsk-tag svg { width: calc(12 * var(--p)); height: calc(12 * var(--p)); }
.dsk-gt { margin-top: calc(22 * var(--p)); padding: 0 calc(16 * var(--p)); font-size: calc(13 * var(--p)); font-weight: 500; color: #6e6e73; }
.dsk-gt + .dsk-card { margin-top: calc(6 * var(--p)); }
.dsk-text { padding: calc(14 * var(--p)) calc(16 * var(--p)); line-height: 1.55; }
.dsk-text .dsk-meta { margin-bottom: calc(4 * var(--p)); }
.dsk-page { flex: 1; max-width: calc(840 * var(--p)); padding: calc(32 * var(--p)) calc(48 * var(--p)); }
.dsk-ch { position: relative; display: flex; align-items: center; gap: calc(14 * var(--p)); padding: calc(12 * var(--p)) calc(16 * var(--p)); }
.dsk-ch + .dsk-ch::before { content: ""; position: absolute; top: 0; right: 0; left: calc(62 * var(--p)); border-top: 1px solid #e5e5ea; }
.dsk-glyph { width: calc(32 * var(--p)); height: calc(32 * var(--p)); border-radius: calc(8 * var(--p)); }
.dsk-ch__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.dsk-ch__t b { font-weight: 500; }
.dsk-ch__t span { font-size: calc(13 * var(--p)); color: #6e6e73; }
.dsk-state { margin-left: auto; padding: calc(2 * var(--p)) calc(10 * var(--p)); border-radius: 999px; background: #ededf0; color: #424245; font-size: calc(12 * var(--p)); font-weight: 500; white-space: nowrap; }
.dsk-state.is-on { background: rgba(32, 125, 50, .13); color: #1a6b2a; }
.dsk-chip { display: inline-block; padding: calc(2 * var(--p)) calc(9 * var(--p)); border-radius: 999px; background: rgba(150, 82, 0, .13); color: #965200; font-size: calc(12 * var(--p)); font-weight: 500; }
.dsk-detail .dsk-title { margin-top: calc(12 * var(--p)); }
.dsk-opt { display: flex; flex-direction: column; padding: calc(14 * var(--p)) calc(16 * var(--p)); }
.dsk-amount { font-size: calc(17 * var(--p)); font-weight: 600; }
.dsk-btns { display: flex; gap: calc(10 * var(--p)); margin-top: calc(18 * var(--p)); }
.dsk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: calc(36 * var(--p)); padding: 0 calc(16 * var(--p)); border-radius: calc(10 * var(--p)); background: #fff; color: #0066cc; font-weight: 500; box-shadow: inset 0 0 0 1px #d2d2d7; }
.dsk-btn--go { background: #0071e3; color: #fff; box-shadow: none; }
.dsk-notice { display: none; margin-top: calc(14 * var(--p)); padding: 0 calc(16 * var(--p)); border-radius: calc(12 * var(--p)); background: rgba(32, 125, 50, .1); color: #1a6b2a; font-size: calc(14 * var(--p)); line-height: calc(45 * var(--p)); }
.dsk-other { display: none; margin-top: calc(12 * var(--p)); min-height: calc(40 * var(--p)); border: 1px solid #0071e3; border-radius: calc(10 * var(--p)); padding: calc(9 * var(--p)) calc(12 * var(--p)); color: #6e6e73; background: #fff; }
.dsk-mac .macbook__screen { background: #f5f5f7; }

/* ---------- Channels page: the channels film ----------
   The third arrival at Hôtel Solvane on the keynote's stage (.kn: 1920 x 1080 wide, 1080 x 1920 tall, scaled as
   one piece; site/partials/chfilm.html, played by assets/js/chfilm.js from one clock). The film borrows the
   keynote's type, devices, end card and chapter bar; what follows is its own: the drawn app's screens pushed one
   over the other, the notification, the night of quiet hours, the desk's decision and the visitor's two answers.
   Nothing on the stage uses a CSS transition or animation. */
.ch-film .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.cf .ca-layer { visibility: hidden; }
.js .kn__stage .cf-vs { visibility: hidden; }
.js .kn__stage .cf-vs > * { visibility: inherit; }
.cf-vs { display: grid; }
.cf-vs > * { grid-area: 1 / 1; }
.cf-vs .kn-b { margin-top: 28px; }
.cf[data-variant="b"] [data-v="a"], .cf:not([data-variant="b"]) [data-v="b"] { display: none; }
.cf-blk--decide { width: 480px; }
.cf-blk--decide .kn-d { font-size: 76px; max-width: 480px; }
.cf-blk--decide .kn-b { max-width: 470px; }
.cf-urgent { color: #f5f5f7; }
.cf-urgent svg { flex: none; width: 34px; height: 34px; margin-top: 6px; fill: none; stroke: #ff453a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kn-ok.cf-alert { background: #ff453a; }
.kn-ok.cf-alert svg { width: 20px; height: 20px; stroke-width: 2.3; }
.cf-phone .device { box-shadow: -14px 18px 34px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .05); }
/* the phone's own parts: the night of quiet hours and the urgent notification */
.cf-night {
  position: absolute; left: 0; top: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 402px; height: 874px; background: rgba(4, 6, 20, .9); color: #f5f5f7; visibility: hidden; opacity: 0;
}
.cf-night__moon svg { width: 54px; height: 54px; fill: none; stroke: #a5a3ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cf-night__t { font-size: 64px; line-height: 1; font-weight: 300; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.cf-notif {
  position: absolute; left: 10px; top: 56px; z-index: 9; display: flex; align-items: flex-start; gap: 12px; width: 382px; padding: 13px 14px;
  border-radius: 24px; background: rgba(245, 245, 247, .97); box-shadow: 0 12px 34px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .06);
  visibility: hidden;
}
.cf-notif__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 9px; background: #000; color: #fff; }
.cf-notif__icon svg { width: 24px; height: 16px; }
.cf-notif__t { display: flex; flex-direction: column; min-width: 0; font-size: 15px; line-height: 20px; letter-spacing: -.24px; }
.cf-notif__t b { font-weight: 600; }
.cf-notif__when { margin-left: auto; flex: none; font-size: 13px; line-height: 20px; color: #6e6e73; }
.cf .ca-btn { cursor: default; }
.cf .is-asking .ca-btn { cursor: pointer; }
.cf .ca-btn.is-pressed { transform: scale(.98); filter: brightness(.9); }
/* the desk, drawn, inside the film's MacBook */
.cf-desk { position: relative; }
.cf-desk .dsk-btn { cursor: pointer; }
.cf-desk .dk-cursor { z-index: 9; }

/* tall stage (phones): the words above, the devices below */
.cf[data-layout="tall"] .cf-blk--decide { width: 920px; }
.cf[data-layout="tall"] .cf-blk--decide .kn-d { font-size: 92px; max-width: 920px; }
.cf[data-layout="tall"] .cf-blk--decide .kn-b { max-width: 900px; }
.cf[data-layout="tall"] .cf-vs .kn-b { margin-top: 24px; }

/* ---------- Home, in preview: the channels' promise and what comes in ---------- */
.statement--next { margin-top: .7em; }
@media (max-width: 734px) {
  .hero__title.hero__title--channels { white-space: normal; font-size: clamp(30px, 9.4vw, 44px); }
}

/* ---------- How it works, in preview: the ideas of the second part ---------- */
.ch-ideas__head { margin: clamp(40px, 5vw, 64px) 0 20px; }
.examples--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1068px) { .examples--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .examples--four { grid-template-columns: minmax(0, 1fr); } }
.ch-part .section-head { margin-bottom: 0; }
.example .ch-nw { display: inline; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }
