/* Muve — AI inbox and follow-up: the Monday inbox sorting itself (hero, ribbon on the left), where 212 emails go,
   the follow-up on a quiet quote with a tone switch, your rules (switches), questions in two columns, the price on a
   ribbon field, more from AI at work. */
[data-page="ai-inbox"] { --text-2xl: clamp(1.875rem, 1.2rem + 2.4vw, 3.5rem); }

/* ---------- hero: ribbon and the inbox on the left, copy on paper at the right ---------- */
.xh { min-height: 0; }
.xh .phero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding-block: clamp(20px, 3.4vh, 44px) calc(clamp(20px, 3vh, 40px) + clamp(20px, 4vw, 64px)); }
.xh .phero__copy { order: 2; min-width: 0; }
.xh .phero__art { order: 1; }
.xh .phero__lede { margin-top: clamp(14px, 2vh, 24px); }
.xh .phero__cta { margin-top: clamp(18px, 2.6vh, 30px); }
.xh .crumb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; padding: 4px 14px; margin-bottom: 22px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); }
.xh .crumb a { display: inline-flex; align-items: center; min-height: 32px; }

.ib { position: relative; display: grid; gap: 10px; max-width: 450px; margin-inline: auto; padding: clamp(12px, 1.4vw, 18px); border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); }
.js .ib { animation: ib-in var(--t-enter) var(--ease-out) both; }
@keyframes ib-in { from { opacity: 0; translate: 0 26px; } }
.ib__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: var(--text-sm); color: var(--ink-2); padding-inline: 4px; }
.ib__who { margin-right: auto; }
.ib__again { flex: none; white-space: nowrap; min-height: 36px; padding: 0 12px; border-radius: var(--r-pill); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ib__again:hover { background: var(--red-ink); color: #ffffff; } }
.ib__again:focus-visible { background: var(--red-ink); color: #ffffff; outline-color: var(--ink); }
.ib__lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ib__lanes li { display: grid; gap: 2px; padding: 7px 8px; border-radius: 10px; background: var(--paper); font: 500 .625rem/1.25 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); box-shadow: inset 0 3px 0 var(--c); transition: background-color var(--t-panel) var(--ease-out); }
.ib__lanes li i { display: none; }
.ib__lanes b { font: 300 var(--text-xl)/1 var(--font); letter-spacing: -.03em; text-transform: none; color: var(--ink); }
.ib__lanes [data-lane="lead"] { --c: var(--red); } .ib__lanes [data-lane="quote"] { --c: var(--amber); } .ib__lanes [data-lane="bill"] { --c: var(--blue); } .ib__lanes [data-lane="junk"] { --c: var(--ink-3); }
.ib__lanes li.is-hit { background: color-mix(in srgb, var(--c) 18%, var(--white)); }
.ib__list { display: grid; gap: 4px; }
.ib__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 7px 10px; border-radius: 8px; background: var(--paper); font-size: .8125rem; line-height: 1.3; color: var(--ink-2); box-shadow: inset 3px 0 0 var(--c, transparent); transition: opacity var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out), background-color var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
.ib__list b { font-weight: 500; color: var(--ink); }
.ib__list span { grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib__list em { grid-row: 1 / span 2; grid-column: 2; font: 500 .625rem/1.2 var(--mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; padding: 4px 6px; background: color-mix(in srgb, var(--c, var(--paper-2)) 22%, var(--white)); color: var(--ink); opacity: 0; transition: opacity var(--t-panel) var(--ease-out); }
.ib__list li.is-sorted em { opacity: 1; }
.ib__list li.is-sorted[data-mail="lead"] { --c: var(--red); background: color-mix(in srgb, var(--red) 10%, var(--white)); }
.ib__list li.is-sorted[data-mail="quote"] { --c: var(--amber); }
.ib__list li.is-sorted[data-mail="bill"] { --c: var(--blue); }
.ib__list li.is-sorted[data-mail="junk"] { --c: var(--ink-3); opacity: .55; }
.ib__draft { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--red-ink); transition: opacity var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out); }
.ib__dh { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: .75rem; color: var(--ink-2); }
.ib__dh b { font-weight: 500; color: var(--ink); font-size: var(--text-sm); }
.ib__txt { font-size: var(--text-sm); line-height: 1.45; color: var(--ink); min-height: 4.35em; }
.ib__chase { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--amber) 18%, var(--white)); font-size: .75rem; color: var(--ink); transition: opacity var(--t-panel) var(--ease-out); }
.ib__ck { font-weight: 500; }
.ib__steps { display: flex; gap: 4px; }
.ib__steps i { font: 500 .625rem/1.2 var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; padding: 4px 6px; background: var(--white); box-shadow: inset 0 0 0 1px var(--amber-ink); }
.ib__steps i:last-child { background: var(--ink); color: #ffffff; box-shadow: none; }
.ib .is-wait { opacity: 0; translate: 0 8px; }
.ib__ask { display: grid; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--red); transition: background-color var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
.ib__state { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--ink); min-height: 2.9em; }
.ib__state i { width: 9px; height: 9px; background: var(--red-ink); flex: none; animation: ib-blink 1.4s steps(1) infinite; }
@keyframes ib-blink { 50% { opacity: .25; } }
.ib[data-state="sent"] .ib__ask { background: color-mix(in srgb, var(--green) 16%, var(--white)); box-shadow: inset 0 0 0 2px var(--green-ink); }
.ib[data-state="sent"] .ib__state i { background: var(--green-ink); animation: none; }
.ib[data-state="short"] .ib__state i { animation: none; }
.ib__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ib__ok, .ib__short { min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); font: 500 .75rem/1.1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
.ib__ok { background: var(--ink); color: var(--paper); }
.ib__short { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .ib__ok:not([aria-pressed="true"]):hover { background: var(--green-ink); color: #ffffff; } .ib__short:not([aria-pressed="true"]):hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); } }
.ib__ok:not([aria-pressed="true"]):focus-visible { background: var(--green-ink); color: #ffffff; }
.ib__short:not([aria-pressed="true"]):focus-visible { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ib__ok[aria-pressed="true"] { background: var(--green-ink); color: #ffffff; }
.ib__short[aria-pressed="true"] { background: var(--red-ink); color: #ffffff; box-shadow: none; }
@media (min-width: 901px) and (max-width: 1180px), (min-width: 901px) and (max-height: 820px) {
  .ib { gap: 7px; padding: 10px; }
  .ib__list li { padding: 5px 10px; }
  .ib__list li:nth-child(5) { display: none; }
  .ib__state { min-height: 0; }
  .ib__ok, .ib__short { min-height: 38px; }
}
@media (max-width: 900px) {
  .xh .phero__grid { grid-template-columns: 1fr; }
  .xh .phero__copy { order: 1; }
  .xh .phero__art { order: 2; }
  .xh .mesh { top: auto; height: var(--mesh-h, 56%); }
  .xh .crumb { font-size: .8125rem; flex-wrap: nowrap; white-space: nowrap; gap: 0 5px; padding: 0 12px; margin-bottom: 14px; max-width: 100%; }
  .xh .crumb a { min-height: 44px; }
  .ib__again { min-height: 44px; }
}
@media (max-width: 440px) { .ib__lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Monday: where 212 emails go ---------- */
.ibw { background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--red) 7%, var(--paper)) 60%, var(--paper)); }
.wk { display: grid; gap: 18px; padding: clamp(16px, 2.4vw, 32px); border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); }
.wk__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: var(--text-sm); color: var(--ink-2); }
.wk__bar { display: flex; gap: 3px; height: 54px; }
.wk__bar i { flex: var(--w) 1 0; min-width: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); transform-origin: 0 50%; }
.js .wk:not(.is-in) .wk__bar i { scale: 0 1; }
.js .wk .wk__bar i { transition: scale 1s var(--ease-out); }
.wk__bar i:nth-child(2) { transition-delay: 80ms; } .wk__bar i:nth-child(3) { transition-delay: 160ms; } .wk__bar i:nth-child(4) { transition-delay: 240ms; } .wk__bar i:nth-child(5) { transition-delay: 320ms; }
.wk__bar i:last-child { background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(11, 27, 51, .07) 8px 9px); }
.wk__key { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.wk__k { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 4px 0 var(--c); }
.wk__k b { font-size: var(--text-xl); font-weight: 300; letter-spacing: -.03em; color: var(--ink); }
.wk__k span { font-size: var(--text-sm); line-height: 1.4; color: var(--ink-2); }
.wk__k--top { background: var(--red-ink); box-shadow: none; }
.wk__k--top b, .wk__k--top span { color: #ffffff; }
@media (max-width: 900px) { .wk__key { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wk__k--top { grid-column: 1 / -1; } }

/* ---------- the follow-up ---------- */
.ibc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.ibc__copy { display: grid; gap: 20px; justify-items: start; }
.ibc__copy .label { color: var(--hue-ink); }
.ch { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 14px; padding: clamp(16px, 2.2vw, 28px); border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); --wash-2: var(--orange); }
.ch__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: var(--text-sm); color: var(--ink-2); }
.ch__tones { display: inline-flex; justify-self: start; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--paper-2); }
.ch__tone { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: transparent; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ch__tone[aria-pressed="false"]:hover { background: var(--white); } }
.ch__tone[aria-pressed="false"]:focus-visible { background: var(--white); }
.ch__tone[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ch__line { position: relative; display: grid; gap: 10px; padding-left: 22px; }
.ch__line::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: color-mix(in srgb, var(--amber-ink) 40%, transparent); }
.ch__line li { position: relative; display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--amber) 14%, var(--white)); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .06); }
.ch__line li::before { content: ""; position: absolute; left: -22px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px var(--white); }
.ch__d { font: 500 .75rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); }
.ch__line p { font-size: var(--text-sm); line-height: 1.45; color: var(--ink); transition: opacity 200ms var(--ease-io); }
.ch__line p.is-swap { opacity: 0; }
.ch__line .ch__you { background: var(--ink); }
.ch__line .ch__you::before { background: var(--red); }
.ch__you .ch__d { color: var(--amber); }
.ch__you p { color: #ffffff; }
@media (max-width: 900px) { .ibc__grid { grid-template-columns: 1fr; } }

/* ---------- your rules ---------- */
.ibr { background: color-mix(in srgb, var(--pink) 8%, var(--paper)); }
.ibr__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.ibr__copy { display: grid; gap: 20px; }
.ibr__copy .label { color: var(--hue-ink); }
.rl { display: grid; gap: 12px; padding: clamp(16px, 2.2vw, 28px); border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); border-top: 5px solid var(--pink); }
.rl__top { display: flex; align-items: center; gap: 12px; font-size: var(--text-sm); color: var(--ink-2); }
.rl__list { display: grid; }
.rl__list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 8px 0; border-top: 1px solid rgba(11, 27, 51, .1); font-size: var(--text-base); color: var(--ink); }
.rl__sw { position: relative; flex: none; width: 56px; height: 32px; border-radius: var(--r-pill); background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: background-color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
.rl__sw::after { content: ""; position: absolute; inset: -6px -2px; }
.rl__sw i { position: absolute; left: 5px; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(11, 27, 51, .4); transition: translate var(--t-hover) var(--ease-out); }
.rl__sw[aria-pressed="true"] { background: var(--pink-ink); box-shadow: none; }
.rl__sw[aria-pressed="true"] i { translate: 24px 0; }
@media (hover: hover) and (pointer: fine) { .rl__sw[aria-pressed="false"]:hover { box-shadow: inset 0 0 0 2px var(--ink); } .rl__sw[aria-pressed="true"]:hover { background: var(--ink); } }
.rl__sw[aria-pressed="false"]:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.rl__sw[aria-pressed="true"]:focus-visible { background: var(--ink); }
.rl__lock b { flex: none; font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; background: var(--ink); color: #ffffff; }
.rl__sum { padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--pink) 14%, var(--white)); font-size: var(--text-sm); color: var(--ink); min-height: 3.6em; }
@media (max-width: 900px) { .ibr__grid { grid-template-columns: 1fr; } .ibr__copy { order: -1; } }

/* ---------- questions in two columns ---------- */
.ibq__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: var(--sp-head); }
.ibq__head .label { color: var(--hue-ink); }
.ibq__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 4vw, 56px); padding: clamp(8px, 1.6vw, 20px) clamp(16px, 2.4vw, 32px); border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); border-top: 5px solid var(--red); align-items: start; }
.ibq__cols .qa { border-bottom: 0; }
.ibq__cols .qa:nth-child(-n+2) { border-top: 0; }
.ibq__human { display: inline-grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 24px; padding: 16px 18px; border-radius: var(--r); background: var(--red-ink); color: #ffffff; box-shadow: var(--sh-2); }
.ibq__human .ic { color: var(--amber); margin-top: 2px; }
.ibq__human .link { color: #ffffff; text-decoration-color: rgba(255, 255, 255, .6); display: inline-block; padding-block: 4px; }
@media (hover: hover) and (pointer: fine) { .ibq__human .link:hover { color: #ffffff; text-decoration-color: #ffffff; } }
.ibq__human .link:focus-visible { color: #ffffff; text-decoration-color: #ffffff; outline-color: #ffffff; }
@media (max-width: 900px) { .ibq__cols { grid-template-columns: 1fr; } .ibq__cols .qa:nth-child(2) { border-top: 1px solid rgba(11, 27, 51, .12); } }

/* ---------- price on a ribbon field ---------- */
.ibp__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 28px); padding: clamp(14px, 3vw, 44px); border-radius: 26px; }
.ibp__say, .ibp__price { position: relative; display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(20px, 3vw, 40px); border-radius: 18px; background: var(--white); box-shadow: var(--sh-2); }
.ibp__say .label { color: var(--hue-ink); }
.ibp__num { display: grid; gap: 4px; }
.ibp__from, .ibp__num span:last-child { font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ibp__num b { font-size: var(--text-2xl); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.ibp__price .next { color: var(--ink); font-size: var(--text-base); }
@media (max-width: 1000px) { .ibp__card { grid-template-columns: 1fr; } }

/* ---------- more ---------- */
.ibm__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.ibm__card { display: grid; gap: 14px; align-content: start; height: 100%; padding: clamp(18px, 2.2vw, 28px); text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--hue) 10%, var(--white)); }
.ibm__k { display: inline-flex; align-items: center; gap: 10px; font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hue-ink); }
.ibm__k .ic { width: 20px; height: 20px; }
.ibm__card b { font-weight: 400; font-size: var(--text-lg); line-height: 1.35; }
.ibm__card .arrow { color: var(--hue-ink); }
.ibm__close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(32px, 5vw, 64px); padding: clamp(20px, 3vw, 40px); border-radius: 20px; background: color-mix(in srgb, var(--orange) 14%, var(--white)); box-shadow: inset 0 0 0 1.5px var(--orange-ink); }
.ibm__close .t-h3 { max-width: 36ch; }
@media (max-width: 900px) { .ibm__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .ib, .ib__state i { animation: none !important; }
  .js .wk:not(.is-in) .wk__bar i { scale: 1 1; }
}

/* line icons in the example cards' headers */
.wk__top .ic { margin-left: auto; width: 20px; height: 20px; color: var(--red-ink); }
.ch__top .ic { margin-left: auto; width: 20px; height: 20px; color: var(--amber-ink); }
.rl__top .ic { margin-left: auto; width: 20px; height: 20px; color: var(--pink-ink); }

/* phones: the crumb starts at the category so it fits on one line at 320 */
@media (max-width: 480px) { .xh .crumb > a:first-child, .xh .crumb > a:first-child + span { display: none; } }

/* the Monday bar reads at a glance (11/20): a bracket under it splits the 212 into the 72 that need you and the 140 that don't */
.wk__split { display: flex; gap: 3px; margin: 8px 0 4px; font-size: var(--text-sm); line-height: 1.3; }
.wk__split span { flex: var(--w) 1 0; min-width: 0; padding-top: 8px; border-top: 2px solid var(--ink); color: var(--ink); font-weight: 500; }
.wk__split span:last-child { border-top-color: var(--ink-3); color: var(--ink-2); font-weight: 400; text-align: right; }
