/* Primeiro modal em teste local. Reutiliza tipografia e tokens da LP. */
.pl-intro {
  width: min(1000px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px);
  margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 24px;
  background: #fff; color: var(--ink); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 32px 100px #0b131026; font-family: var(--font-sans);
}
.pl-intro::backdrop { background: #0b13105c; backdrop-filter: blur(6px); }
.pl-intro[open] { animation: pl-intro-enter .2s ease-out; }
.pl-intro [hidden] { display: none !important; }
.pl-intro button { font-family: inherit; cursor: pointer; }
.pl-intro button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
/* Static headings receive focus to announce the screen, without a control outline. */
.pl-intro h2[tabindex="-1"]:focus { outline: none; }
.pl-intro-top { position: sticky; top: 0; height: 0; flex-shrink: 0; z-index: 5; }
.pl-task-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.pl-intro-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.pl-intro-close:hover { background: var(--card); color: var(--ink); }
.pl-intro-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 36px; padding: 36px 36px 28px; }
.pl-intro-grid > div { min-width: 0; }
.pl-intro h2 { font-weight: 500; font-size: 38px; line-height: 1.09; letter-spacing: -.035em; text-wrap: balance; text-align: center; margin-inline: auto; }
.pl-intro h2 em { font-family: var(--font-display-accent); font-weight: 400; color: var(--ink-serif); }
.pl-intro-lede { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 16px auto 0; text-align: center; }
.pl-intro-steps { margin-top: 26px; display: grid; gap: 6px; }
.pl-intro-step { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; border: 1px solid transparent; background: #fff; padding: 13px 12px; border-radius: 12px; color: var(--ink-soft); transition: background .4s ease, color .4s ease, border-color .4s ease; }
.pl-intro-step:hover { background: var(--card); }
.pl-intro-step[aria-selected="true"] { background: #f7f7f4; color: var(--ink-serif); }
.pl-intro-step b { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #dfe2da; border-radius: 50%; font-size: 12px; font-weight: 500; transition: background .4s ease, color .4s ease, border-color .4s ease; }
.pl-intro-step[aria-selected="true"] b { background: #e9ece5; border-color: transparent; color: var(--ink-serif); }
.pl-intro-step span { font-size: 14px; font-weight: 500; }
.pl-intro-step .pl-intro-step-short { display: none; }
.pl-intro-step svg { margin-left: auto; width: 15px; height: 15px; opacity: 0; transition: opacity .4s ease; }
.pl-intro-step[aria-selected="true"] svg { opacity: 1; }
.pl-intro-preview { display: flex; flex-direction: column; justify-content: center; touch-action: pan-y pinch-zoom; }
.pl-intro-scene { height: 288px; display: grid; place-items: center; padding: 20px 0; }
.pl-intro .pl-intro-project-document { width: 100%; max-width: 330px; align-self: auto; opacity: 1; transform: none; }
.pl-intro-story-stage { display: grid; grid-template-columns: minmax(0, 1fr); isolation: isolate; }
.pl-intro-story-stage > [role="tabpanel"] { grid-area: 1 / 1; min-width: 0; min-height: 384px; align-self: start; }
.pl-intro-video-frame { width: 100%; aspect-ratio: 1200 / 683; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; box-shadow: 0 8px 24px #17211508; }
.pl-intro-video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.pl-intro-video-memorial video { transform-origin: 64% 42%; }
.pl-intro-video-fornecedores video { transform-origin: 57% 50%; }
.pl-intro-video-cliente video { transform-origin: 83% 48%; }
.pl-intro-preview h3 { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 9px; text-align: center; }
.pl-intro-preview p { font-size: 12px; line-height: 1.65; color: var(--ink-soft); text-align: center; }
.pl-intro-footer { border-top: 1px solid var(--line); padding: 20px 36px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.pl-intro-reassurance { display: flex; gap: 8px; align-items: flex-start; max-width: 650px; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.pl-intro-reassurance svg { flex-shrink: 0; margin-top: 1px; }
.pl-intro-reassurance-title { display: block; color: var(--ink); font-weight: 500; }
.pl-intro-reassurance-copy { display: block; margin-top: 4px; }
.pl-intro-done { border: 0; min-width: 145px; background: var(--ink); color: white; padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 14px; }
.pl-intro-done:hover { background: #29332d; }
/* Capa: uma abertura editorial antes da conversa, sem campos adicionais. */
.pl-intro.pl-intro-cover { width: min(580px, calc(100vw - 40px)); }
.pl-cover-body { display: flex; flex-direction: column; align-items: center; padding: 28px 40px 32px; text-align: center; }
.pl-cover-brand { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 500; letter-spacing: -.04em; }
.pl-cover-brand img { display: block; width: 26px; height: auto; }
.pl-cover-art { width: 100%; height: 228px; margin: 10px 0 12px; }
.pl-cover-art img { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 76%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 76%, transparent); }
.pl-cover-body h2 { font-size: 39px; line-height: 1.12; }
.pl-cover-copy > p { max-width: 390px; margin: 17px auto 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.pl-cover-route { display: flex; justify-content: center; gap: 22px; list-style: none; padding: 0; margin: 25px 0 38px; color: var(--ink-soft); }
.pl-cover-route li { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 10px; }
.pl-cover-route li > span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #f3f3ef; color: var(--ink-serif); font-size: 10px; }
.pl-cover-start { display: flex; align-items: center; justify-content: center; gap: 22px; width: 100%; max-width: 390px; min-height: 48px; }
.pl-cover-start svg { transition: transform .2s ease; }
.pl-cover-start:hover svg { transform: translateX(3px); }
@keyframes pl-intro-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 680px) {
  .pl-intro { width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; overflow: hidden; }
  .pl-intro[open] { display: flex; flex-direction: column; }
  .pl-intro-close { top: 6px; right: 6px; }
  .pl-intro-close { width: 44px; height: 44px; border-color: transparent; }
  .pl-intro-grid { display: flex; flex-direction: column; gap: 20px; padding: 38px 22px 22px; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; flex: 1; }
  .pl-intro-grid > div { flex-shrink: 0; }
  .pl-intro-grid > div:first-child { margin-top: auto; }
  .pl-intro h2 { font-size: 31px; max-width: none; padding-inline: 12px; }
  .pl-intro-grid h2 { font-size: clamp(26px, 7.4vw, 30px); padding: 0; }
  .pl-intro-lede { font-size: 13px; margin-top: 12px; }
  .pl-intro-grid .pl-intro-lede { max-width: 310px; font-size: 12px; line-height: 1.55; margin-top: 14px; }
  .pl-intro-steps { margin-top: 24px; gap: 6px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-intro-step { position: relative; padding: 6px 2px; min-height: 56px; gap: 7px; flex-direction: column; justify-content: center; text-align: center; border: 0; border-radius: 10px; }
  .pl-intro-step[aria-selected="true"] { background: transparent; }
  .pl-intro-step b { width: 24px; height: 24px; font-size: 11px; }
  .pl-intro-step .pl-intro-step-short { display: block; font-size: 11px; line-height: 14px; }
  .pl-intro-step .pl-intro-step-full { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pl-intro-step svg { display: none; }
  .pl-intro-preview { padding: 0; margin-bottom: auto; }
  .pl-intro-scene { width: 100%; min-width: 0; height: clamp(150px, 26dvh, 190px); padding: 8px 0 18px; }
  .pl-intro-video-frame { width: min(100%, 280px); max-height: 100%; }
  .pl-intro .pl-intro-project-document { max-width: 270px; }
  .pl-intro-project-document .wa-docprev { height: 64px; }
  .pl-intro-project-document .wa-doc-name { font-size: 12px; }
  .pl-intro-project-document .wa-doc-meta { font-size: 10px; }
  .pl-intro-project-document .wa-meta { font-size: 10px; }
  .pl-intro-preview h3 { max-width: 290px; min-height: 4.05em; margin: 8px auto 0; font-size: 16px; line-height: 1.35; text-wrap: balance; }
  .pl-intro-preview p { display: none; }
  .pl-intro-story-stage > [role="tabpanel"] { min-height: 0; }
  .pl-intro-footer { padding: 16px 18px max(14px, env(safe-area-inset-bottom)); gap: 16px; flex-shrink: 0; flex-direction: column; align-items: stretch; background: white; }
  .pl-intro-footer[data-intro-view="intro"] { border-top: 0; padding: 14px 22px max(18px, env(safe-area-inset-bottom)); }
  .pl-intro-reassurance { display: none; }
  .pl-intro-done { width: 100%; min-height: 44px; padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) { .pl-intro[open] { animation: none; } .pl-intro-step, .pl-intro-step b, .pl-intro-step svg { transition: none; } }
@media (max-width: 680px) {
  .pl-intro.pl-intro-cover { width: calc(100vw - 16px); }
  .pl-cover-body { flex: 1; min-height: 0; padding: 24px; overflow-y: auto; overscroll-behavior: contain; justify-content: flex-start; }
  /* Margens automáticas centralizam também no Safari; quando falta altura,
     zeram e deixam todo o conteúdo acessível pela rolagem. */
  .pl-cover-brand { font-size: 17px; flex-shrink: 0; margin-top: auto; }
  .pl-cover-art { width: calc(100% + 24px); height: clamp(180px, 30dvh, 260px); flex-shrink: 0; margin: 14px 0 24px; }
  .pl-cover-copy { flex-shrink: 0; }
  .pl-cover-body h2 { max-width: none; padding: 0; font-size: clamp(28px, 8.1vw, 35px); }
  .pl-cover-copy > p { max-width: 350px; margin-top: 15px; font-size: 13px; line-height: 1.55; }
  .pl-cover-route { margin: 24px 0 38px; gap: 23px; flex-shrink: 0; }
  .pl-cover-start { flex-shrink: 0; margin-bottom: auto; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-cover-body { padding: 20px 22px; }
  .pl-cover-art { height: clamp(174px, 30dvh, 198px); margin: 8px 0 16px; }
  .pl-cover-body h2 { font-size: 28px; }
  .pl-cover-copy > p { margin-top: 12px; font-size: 12px; }
  .pl-cover-route { margin: 20px 0 30px; }
}
@media (prefers-reduced-motion: reduce) { .pl-cover-start svg { transition: none; } }

/* Histórias do serviço: etapa, visual e progresso permanecem sincronizados. */
.pl-intro-story-controls { display: flex; align-items: center; padding: 8px 0 14px; }
.pl-intro-story-bars { display: flex; gap: 6px; flex: 1; max-width: 240px; margin-inline: auto; }
.pl-intro-story-bars > span { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: #eff0ec; }
.pl-intro-story-bars i { display: block; height: 100%; width: 100%; background: #a9b0a5; transform-origin: left center; transform: scaleX(0); }
.pl-intro-step svg { flex-shrink: 0; }

/* Perfil e tarefas: duas páginas, sem cadastro ou envio de dados. */
.pl-intro.pl-intro-profile { width: min(640px, calc(100vw - 40px)); }
.pl-profile-body { padding: 36px 36px 32px; }
.pl-profile-body h2 { font-size: 36px; }
.pl-intro-profile .pl-profile-body h2 { font-weight: 400; color: var(--ink-serif); }
.pl-profile-body .pl-intro-lede { max-width: 460px; }
.pl-profile-progress { display: flex; list-style: none; gap: 20px; width: 100%; max-width: 280px; padding: 0; margin: 28px auto 28px; text-align: center; }
.pl-profile-progress li { flex: 1; padding-bottom: 10px; border-bottom: 1px solid #eff0ec; font-size: 11px; line-height: 1.4; color: var(--ink-soft); }
.pl-profile-progress li[aria-current="step"] { border-color: #adb5a9; color: #626960; }
.pl-profile-options { padding: 0; margin: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.pl-profile-options legend { width: 100%; padding: 0 0 18px; font-size: 14px; line-height: 1.4; text-align: center; color: #596158; }
.pl-profile-option { display: block; position: relative; cursor: pointer; }
.pl-profile-option input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.pl-profile-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 14px 10px; min-height: 100px; height: 100%; border: 1px solid transparent; border-radius: 14px; background: #f8f8f5; text-align: center; transition: border-color .18s, background .18s; }
.pl-profile-option:hover .pl-profile-card { background: #f1f3ed; }
.pl-profile-option input:checked + .pl-profile-card { background: #f0f3eb; border-color: #c9d1c1; }
.pl-profile-option input:focus-visible + .pl-profile-card { outline: 2px solid var(--ink); outline-offset: 3px; }
.pl-profile-icon { display: block; width: 24px; height: 24px; min-width: 24px; aspect-ratio: 1; color: #7e887a; flex: 0 0 24px; }
.pl-profile-card .pl-profile-label { flex: 0 0 auto; }
.pl-profile-card .pl-profile-label strong { color: #596158; font-size: 14px; font-weight: 400; }
.pl-profile-option input[type="radio"] + .pl-profile-card .pl-profile-check { position: absolute; right: 9px; top: 9px; width: 15px; height: 15px; opacity: 0; }
.pl-profile-option input[type="radio"]:checked + .pl-profile-card .pl-profile-check { opacity: 1; color: #56634e; background: #e0e7d8; border-color: transparent; }
.pl-profile-option input[type="radio"] + .pl-profile-card .pl-profile-check svg { width: 11px; height: 11px; }
.pl-profile-label { flex: 1; min-width: 0; }
.pl-profile-label strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.4; }
.pl-profile-check { width: 20px; height: 20px; flex-shrink: 0; border: 1px solid #d9ddd4; border-radius: 50%; color: transparent; display: grid; place-items: center; }
.pl-profile-check svg { width: 16px; height: 16px; }
.pl-profile-option input:checked + .pl-profile-card .pl-profile-check { color: #fff; background: var(--ink); border-color: var(--ink); }
.pl-profile-back { display: inline-flex; gap: 8px; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink-soft); min-height: 44px; padding: 10px 0; font-size: 14px; }
.pl-profile-back:hover { color: var(--ink); }
.pl-profile-footer .pl-intro-done:disabled { cursor: default; background: #e7e9e3; color: #858a81; }
@media (max-width: 680px) {
  .pl-intro.pl-intro-profile { width: calc(100vw - 16px); }
  .pl-profile-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 18px 24px; }
  .pl-profile-body h2 { font-size: 31px; }
  .pl-intro-profile:not(.pl-intro-pains) .pl-profile-body { display: flex; flex-direction: column; padding: 30px 22px 24px; }
  .pl-intro-profile:not(.pl-intro-pains) .pl-profile-body > * { flex-shrink: 0; }
  .pl-intro-profile:not(.pl-intro-pains) .pl-profile-body h2 { font-size: 28px; margin-top: auto; }
  .pl-intro-profile:not(.pl-intro-pains) [data-profile-page="profile"] { margin-bottom: auto; }
  .pl-profile-progress { margin: 26px auto 26px; }
  .pl-profile-options { gap: 10px; }
  .pl-profile-card { min-height: 88px; gap: 8px; padding: 12px 8px; }
  .pl-intro-pains .pl-profile-body { display: flex; flex-direction: column; padding: 38px 20px 16px; }
  .pl-intro-pains .pl-profile-body > * { flex-shrink: 0; }
  .pl-intro-pains .pl-profile-body h2 { font-size: 28px; }
  .pl-intro-pains .pl-profile-body h2 { margin-top: auto; }
  .pl-intro-pains [data-profile-page="pain"] { margin-bottom: auto; }
  .pl-intro-pains .pl-profile-body .pl-intro-lede { max-width: 310px; margin-top: 12px; font-size: 12px; line-height: 1.5; }
  .pl-intro-pains .pl-profile-progress { margin: 18px auto 16px; }
  .pl-profile-label strong { font-size: 14px; }
  .pl-profile-footer { flex-direction: row; align-items: center; gap: 24px; }
  .pl-profile-footer .pl-intro-done { flex: 1; width: auto; min-width: 0; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-profile-body { padding-top: 24px; padding-bottom: 10px; }
  .pl-profile-body h2 { font-size: 26px; }
  .pl-profile-progress { margin: 22px auto; }
  .pl-profile-progress li { padding-bottom: 6px; }
  .pl-profile-body .pl-intro-lede { margin-top: 10px; line-height: 1.45; }
  .pl-intro-profile:not(.pl-intro-pains) .pl-profile-body { padding: 26px 20px 18px; }
  .pl-intro-profile:not(.pl-intro-pains) .pl-profile-body h2 { font-size: 26px; }
  .pl-profile-options { gap: 8px; }
  .pl-profile-options legend { padding-bottom: 16px; }
  .pl-profile-card { min-height: 82px; padding-top: 10px; padding-bottom: 10px; }
  .pl-profile-card .pl-profile-label strong { font-size: 13px; }
  .pl-profile-label strong { font-size: 13px; }
  .pl-intro-pains .pl-profile-body { padding-top: 34px; padding-bottom: 12px; }
  .pl-intro-pains .pl-profile-body h2 { font-size: 26px; }
  .pl-intro-pains .pl-profile-progress { margin: 16px auto 14px; }
}
@media (prefers-reduced-motion: reduce) { .pl-profile-card { transition: none; } }

/* Escolha visual de tarefas: os cartões compõem o primeiro foco do Palladio. */
.pl-intro.pl-intro-profile.pl-intro-pains { width: min(960px, calc(100vw - 40px)); }
.pl-intro-pains .pl-profile-progress { max-width: 280px; }
.pl-delegate-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(220px, 1fr); gap: 28px; align-items: stretch; }
.pl-delegate-options { min-width: 0; padding: 0; border: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pl-delegate-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pl-task-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 128px; padding: 12px 14px; border: 0; border-radius: 16px; background: #f8f8f5; text-align: center; transition: background .2s, transform .2s; }
.pl-task-art { display: block; width: 112px; max-width: 100%; height: 54px; margin: 0 auto 6px; transition: transform .25s; }
.pl-task-card .pl-profile-label strong { font-size: 14px; font-weight: 400; line-height: 1.3; color: #596158; }
.pl-task-card .pl-profile-label small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.pl-task-select { position: absolute; z-index: 1; right: 8px; top: 8px; display: flex; gap: 3px; align-items: center; border-radius: 20px; padding: 3px; color: #8a9184; background: transparent; font-size: 9px; line-height: 14px; }
.pl-task-select svg { width: 14px; height: 14px; }
.pl-task-select > span, .pl-task-tick { display: none; }
.pl-delegate-option:hover .pl-task-card { background: #f1f3ed; transform: translateY(-2px); }
.pl-delegate-option input:checked + .pl-task-card { background: #eaf0e3; }
.pl-delegate-option input:checked + .pl-task-card .pl-task-art { transform: translateY(-2px) rotate(-2deg); }
.pl-delegate-option input:checked + .pl-task-card .pl-task-select { color: #56634e; background: #dce5d3; padding: 3px 6px; }
.pl-delegate-option input:checked + .pl-task-card .pl-task-plus { display: none; }
.pl-delegate-option input:checked + .pl-task-card .pl-task-tick, .pl-delegate-option input:checked + .pl-task-card .pl-task-select > span { display: block; }
.pl-delegate-option input:focus-visible + .pl-task-card { outline: 2px solid var(--ink); outline-offset: 3px; }
.pl-delegate-plan { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding: 24px; border-radius: 20px; background: #f4f3ee; text-align: center; }
.pl-plan-desk { width: 100%; height: 150px; position: relative; margin-bottom: 20px; }
.pl-plan-stack { position: absolute; left: 50%; bottom: 20px; width: 144px; height: 100%; transform: translateX(-50%); }
.pl-plan-paper, .pl-plan-placeholder { position: absolute; left: 0; bottom: calc(var(--paper-index, 0) * 13px); width: 144px; height: 100px; padding: 10px 12px; text-align: center; font-size: 11px; border: 1px solid #cdd3c5; border-radius: 8px; background: #fff; box-shadow: 0 5px 12px #35423a0a; transform: rotate(-5deg); animation: pl-task-arrive .3s ease-out; }
.pl-plan-paper-art { display: block; width: 118px; max-width: 100%; height: 58px; margin: 0 auto 4px; }
.pl-plan-paper-caption { display: block; font-size: 11px; line-height: 1.4; }
.pl-plan-paper:nth-child(even) { transform: rotate(5deg); }
.pl-plan-placeholder::after { content: ''; position: absolute; left: 14px; right: 28px; top: 38px; height: 18px; border-top: 2px solid #e3e7dc; border-bottom: 2px solid #e3e7dc; }
.pl-plan-placeholder { border-style: dashed; background: transparent; box-shadow: none; }
.pl-plan-placeholder + .pl-plan-placeholder { bottom: 15px; transform: rotate(7deg); }
.pl-plan-tray { position: absolute; width: 182px; height: 23px; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 0 0 14px 14px; border: 1px solid #b6c0ad; background: #dce3d4; }
.pl-plan-eyebrow { font-size: 11px; color: var(--ink-soft); }
.pl-plan-copy p { font-size: 18px; font-weight: 500; letter-spacing: -.025em; line-height: 1.4; margin: 8px 0 0; }
.pl-plan-tasks { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pl-plan-tasks:empty { display: none; }
.pl-plan-tasks > span { border: 1px solid #dce0d5; border-radius: 20px; padding: 5px 8px; background: #ffffff94; font-size: 10px; }
@keyframes pl-task-arrive { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 680px) {
  .pl-intro.pl-intro-profile.pl-intro-pains { width: calc(100vw - 16px); }
  .pl-delegate-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pl-delegate-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pl-task-card { width: 100%; height: clamp(84px, 13dvh, 104px); min-height: 0; padding: 8px 10px; border-radius: 13px; justify-content: center; gap: 5px; }
  .pl-task-card .pl-profile-label { flex: 0; }
  .pl-task-art { width: 94px; height: 40px; margin: 0 auto; flex: 0 0 40px; }
  .pl-task-card .pl-profile-label strong { font-size: 11.5px; line-height: 1.3; }
  .pl-task-card .pl-profile-label small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pl-task-select { top: 6px; right: 6px; }
  .pl-delegate-option input:checked + .pl-task-card .pl-task-select { padding: 3px; }
  .pl-delegate-option input:checked + .pl-task-card .pl-task-select > span { display: none; }
  .pl-delegate-plan { padding: 6px 10px; min-height: 48px; border-radius: 12px; flex-direction: row; justify-content: flex-start; gap: 10px; text-align: left; }
  .pl-plan-desk { width: 48px; height: 36px; flex-shrink: 0; margin: 0; }
  .pl-plan-stack { width: 40px; bottom: 4px; height: 30px; }
  .pl-plan-paper, .pl-plan-placeholder { bottom: calc(var(--paper-index, 0) * 1.5px); width: 40px; height: 27px; padding: 3px; font-size: 0; border-radius: 4px; }
  .pl-plan-paper-art { width: 100%; height: 100%; margin: 0; }
  .pl-plan-paper-caption { display: none; }
  .pl-plan-placeholder::after { left: 4px; right: 4px; top: 7px; height: 5px; border-width: 1px; }
  .pl-plan-placeholder + .pl-plan-placeholder { bottom: 3px; }
  .pl-plan-tray { width: 48px; height: 6px; border-radius: 0 0 4px 4px; }
  .pl-plan-eyebrow { font-size: 10px; }
  .pl-plan-copy p { font-size: 12px; line-height: 1.4; margin-top: 2px; }
  .pl-plan-tasks { display: none; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-delegate-options { gap: 7px; }
  .pl-task-card { padding: 8px 10px; gap: 4px; }
  .pl-task-art { height: 34px; flex-basis: 34px; }
}
@media (max-width: 680px) and (max-height: 620px) {
  .pl-intro-pains .pl-profile-body { padding-top: 32px; padding-bottom: 10px; }
  .pl-intro-pains .pl-profile-body .pl-intro-lede { margin-top: 10px; }
  .pl-intro-pains .pl-profile-progress { margin: 12px auto; }
  .pl-task-card { height: 76px; padding: 6px 8px; }
  .pl-task-art { height: 30px; flex-basis: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-task-card, .pl-task-art { transition: none; }
  .pl-plan-paper, .pl-plan-placeholder { animation: none; }
}

/* Três combinados: cartas empilhadas, navegação no ritmo de quem lê. */
.pl-intro.pl-intro-trust { width: min(680px, calc(100vw - 40px)); }
.pl-trust-body { padding: 36px 36px 24px; }
.pl-trust-body h2 { text-align: center; font-weight: 400; color: var(--ink-serif); }
.pl-trust-body > .pl-intro-lede { text-align: center; margin-top: 12px; }
.pl-trust-carousel { width: 100%; max-width: 360px; margin: 28px auto 0; }
.pl-trust-deck { display: grid; isolation: isolate; position: relative; margin: 0 12px 26px; touch-action: pan-y pinch-zoom; border-radius: 22px; }
.pl-trust-deck:focus-visible { outline: 2px solid #687269; outline-offset: 10px; }
.pl-trust-card { grid-area: 1 / 1; position: relative; min-width: 0; padding: 24px; border: 1px solid #e4e7df; border-radius: 22px; background: #f1f3eb; box-shadow: 0 8px 18px #35423a09; z-index: calc(3 - var(--depth)); transform: translateY(calc(var(--depth) * 10px)) scale(calc(1 - var(--depth) * .035)) rotate(var(--tilt)); transform-origin: 50% 88%; transition: transform .48s cubic-bezier(.22, 1, .36, 1), background .35s, box-shadow .35s; pointer-events: none; }
.pl-trust-card.is-current { background: #fafbf7; box-shadow: 0 14px 30px #35423a0c; pointer-events: auto; }
.pl-trust-card-content { display: flex; flex-direction: column; justify-content: center; height: 100%; opacity: 0; transition: opacity .2s ease; text-align: center; }
.pl-trust-card.is-current .pl-trust-card-content { opacity: 1; transition: opacity .3s .1s ease; }
.pl-trust-art { display: block; width: 132px; max-width: 100%; height: 80px; flex-shrink: 0; margin: 0 auto 18px; }
.pl-trust-card h3 { font-size: 22px; font-weight: 400; letter-spacing: -.025em; line-height: 1.25; color: var(--ink-serif); text-wrap: balance; }
.pl-trust-card p { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.pl-trust-navigation { display: flex; align-items: center; justify-content: center; gap: 22px; }
.pl-trust-arrow { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink-soft); display: grid; place-items: center; }
.pl-trust-arrow svg { width: 18px; height: 18px; }
.pl-trust-arrow:disabled { opacity: .3; cursor: default; }
.pl-trust-arrow:not(:disabled):hover { background: #f4f5f1; }
.pl-trust-dots { display: flex; align-items: center; }
.pl-trust-dots button { width: 32px; height: 44px; display: grid; place-items: center; border: 0; padding: 0; background: transparent; }
.pl-trust-dots button > span { width: 6px; height: 6px; border-radius: 6px; background: #d4dbce; transition: width .25s, background .25s; }
.pl-trust-dots button[aria-pressed="true"] > span { width: 16px; background: #a6afa0; }
.pl-trust-hint { text-align: center; color: var(--ink-soft); font-size: 11px; margin-top: 8px; }
.pl-trust-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  .pl-intro.pl-intro-trust { width: calc(100vw - 16px); }
  .pl-trust-body { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 38px 20px 18px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
  .pl-trust-body > * { flex-shrink: 0; }
  .pl-trust-body h2 { font-size: 30px; max-width: none; padding: 0 14px; margin-top: auto; }
  .pl-trust-body > .pl-intro-lede { font-size: 12px; margin-top: 12px; }
  .pl-trust-carousel { margin: 28px auto auto; max-width: 320px; }
  .pl-trust-deck { margin: 0 10px 26px; }
  .pl-trust-card { padding: 22px 20px; border-radius: 19px; }
  .pl-trust-art { width: 110px; height: 66px; margin: 0 auto 16px; }
  .pl-trust-card h3 { font-size: 20px; }
  .pl-trust-card p { font-size: 12px; line-height: 1.5; margin-top: 10px; }
  .pl-trust-navigation { gap: 20px; }
  .pl-trust-hint { font-size: 10px; margin-top: 5px; }
  .pl-trust-footer { gap: 16px; }
  .pl-trust-footer .pl-intro-done { font-size: 13px; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-trust-body { padding: 32px 18px 14px; }
  .pl-trust-body h2 { font-size: 28px; }
  .pl-trust-body > .pl-intro-lede { margin-top: 10px; }
  .pl-trust-carousel { margin-top: 24px; max-width: 310px; }
  .pl-trust-card { padding: 18px; }
  .pl-trust-art { height: 60px; width: 100px; margin: 0 auto 14px; }
  .pl-trust-card h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-trust-card, .pl-trust-card-content, .pl-trust-card.is-current .pl-trust-card-content, .pl-trust-dots button > span { transition: none; }
}

/* Projeto pronto: arquivos ou link do Drive. */
.pl-intro.pl-intro-upload { width: min(620px, calc(100vw - 40px)); }
.pl-upload-body { padding: 44px 36px 34px; }
.pl-upload-body h2 { text-align: center; font-weight: 400; color: var(--ink-serif); }
.pl-upload-body > .pl-intro-lede { text-align: center; max-width: 400px; margin-top: 16px; font-size: 13px; }
.pl-upload-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.pl-upload-guide li { min-width: 0; padding: 10px 6px; text-align: center; border: 0; border-radius: 12px; background: #f8f8f5; }
.pl-upload-art { display: block; width: 70px; max-width: 100%; height: 40px; margin: 0 auto 6px; color: var(--ink-serif); }
.pl-upload-art-shadow { fill: #eef0e9; }
.pl-upload-art-detail { color: #8a978b; }
.pl-upload-art-fill { fill: #e8ede2; stroke: #aab5a4; }
.pl-upload-guide strong { display: block; font-size: 12px; font-weight: 400; line-height: 1.35; color: var(--ink-serif); }
.pl-upload-dropzone { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 44px; padding: 18px; min-height: 72px; border: 0; border-radius: 12px; background: #f8f8f5; color: var(--ink-soft); cursor: pointer; transition: background .18s; }
.pl-upload-dropzone > svg { width: 25px; height: 25px; flex-shrink: 0; }
.pl-upload-dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pl-upload-dropzone:focus-within { outline: 2px solid var(--ink); outline-offset: 4px; }
.pl-upload-dropzone:hover, .pl-upload-dropzone.is-dragover { background: #eef2e9; }
.pl-upload-dropzone strong { font-size: 14px; font-weight: 400; color: var(--ink-serif); }
.pl-upload-drive { margin-top: 18px; }
.pl-upload-drive > label { display: block; margin-bottom: 9px; font-size: 12px; color: var(--ink-soft); }
.pl-upload-drive input { display: block; width: 100%; min-width: 0; min-height: 44px; border: 0; border-radius: 10px; padding: 12px 14px; background: #f8f8f5; color: var(--ink-serif); font: inherit; font-size: 16px; outline-color: var(--ink-serif); }
.pl-upload-drive input::placeholder { color: var(--ink-soft); font-size: 10px; opacity: 1; }
.pl-upload-drive input[aria-invalid="true"] { box-shadow: inset 0 -2px #9b423a; }
.pl-upload-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 16px 0 0; list-style: none; }
.pl-upload-file { position: relative; min-width: 0; overflow: hidden; border: 0; border-radius: 14px; background: #f8f8f5; box-shadow: 0 5px 14px #35423a08; animation: pl-upload-arrive .38s cubic-bezier(.22, 1, .36, 1) both; }
.pl-upload-thumbnail { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f3ed; border: 0; }
.pl-upload-thumbnail img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .4s ease; }
.pl-upload-file.is-pdf .pl-upload-thumbnail img { padding: 9px; }
.pl-upload-thumbnail.is-ready img { opacity: 1; transform: scale(1); }
.pl-upload-thumbnail-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px; color: #8a978b; }
.pl-upload-thumbnail-placeholder svg { width: 25px; height: 32px; }
.pl-upload-thumbnail-placeholder span { font-size: 10px; text-align: center; color: var(--ink-soft); }
.pl-upload-thumbnail.is-loading::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, #ffffff70 50%, transparent 70%); transform: translateX(-100%); animation: pl-upload-shimmer 1.7s ease-in-out infinite; }
.pl-upload-file-info { min-width: 0; padding: 10px 11px 12px; }
.pl-upload-file-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.pl-upload-file-meta { display: block; margin-top: 5px; font-size: 9px; line-height: 1.5; color: var(--ink-soft); }
.pl-upload-remove { position: absolute; top: 3px; right: 3px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink-serif); }
.pl-upload-remove svg { width: 28px; height: 28px; padding: 4px; border: 0; border-radius: 50%; background: #fffffff2; box-shadow: 0 2px 5px #35423a0a; }
.pl-upload-remove:hover svg { background: var(--ink); color: white; }
.has-files .pl-upload-dropzone { min-height: 60px; padding: 13px 16px; flex-direction: row; gap: 10px; }
.has-files .pl-upload-dropzone > svg { width: 25px; height: 25px; }
@keyframes pl-upload-arrive { from { opacity: 0; transform: translateY(10px) scale(.96) rotate(-1.5deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes pl-upload-shimmer { to { transform: translateX(100%); } }
.pl-upload-error { margin-top: 12px; font-size: 12px; line-height: 1.5; color: #9b423a; }
.pl-upload-status { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--ink-serif); }
.pl-upload-status:empty { margin: 0; }
.pl-upload-body .pl-upload-footer { padding: 0; margin-top: 30px; border: 0; flex-direction: row; gap: 20px; }
.pl-upload-local { margin-top: 12px; font-size: 9px; text-align: center; color: var(--ink-soft); }
@media (max-width: 680px) {
  .pl-intro.pl-intro-upload { width: calc(100vw - 16px); }
  .pl-upload-body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 38px 22px 24px; }
  .pl-upload-body > * { flex-shrink: 0; }
  .pl-upload-body h2 { font-size: 30px; margin-top: auto; padding: 0; }
  .pl-upload-body > .pl-intro-lede { margin-top: 14px; font-size: 12px; }
  .pl-upload-guide { margin-top: 24px; gap: 6px; }
  .pl-upload-guide li { padding: 8px 4px; border-radius: 10px; }
  .pl-upload-art { width: 58px; height: 34px; margin-bottom: 5px; }
  .pl-upload-guide strong { font-size: 11px; }
  .pl-upload-dropzone { padding: 16px 12px; min-height: 64px; gap: 10px; }
  .pl-upload-drive { margin-top: 18px; }
  .pl-upload-drive input { padding-inline: 12px; }
  .pl-upload-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
  .pl-upload-file-name { font-size: 11px; }
  .pl-upload-file-meta { font-size: 9px; }
  .pl-upload-body .pl-upload-footer { margin-top: 28px; margin-bottom: auto; }
  .pl-upload-body .pl-intro-done { flex: 1; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-upload-body { padding: 34px 20px 20px; }
  .pl-upload-body h2 { font-size: 28px; }
  .pl-upload-guide { margin-top: 22px; }
  .pl-upload-dropzone { margin-top: 40px; }
  .pl-upload-body .pl-upload-footer { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-upload-dropzone, .pl-upload-thumbnail img { transition: none; }
  .pl-upload-file, .pl-upload-thumbnail.is-loading::after { animation: none; }
}

.pl-intro.pl-intro-scope { width: min(600px, calc(100vw - 40px)); }
.pl-scope-body { padding: 38px 36px 26px; }
.pl-scope-body h2 { text-align: center; font-weight: 400; color: var(--ink-serif); }
.pl-scope-date-field { position: relative; margin-top: 28px; }
.pl-scope-date-field .pl-date-label, .pl-scope-purchased label { display: block; font-size: 13px; line-height: 1.4; margin-bottom: 8px; color: var(--ink); }
.pl-scope-date-field .pl-date-toggle { height: 44px; padding: 10px 12px; gap: 10px; background: #f8f8f6; font-size: 12px; font-weight: 400; }
.pl-scope-date-field .pl-purchase-calendar { position: absolute; top: 100%; left: 0; right: 0; max-width: none; margin: 8px 0 0; z-index: 6; }
.pl-purchase-calendar .pl-calendar { box-shadow: 0 12px 36px #17211514; }
.pl-scope-purchased textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pl-scope-disciplines { min-width: 0; border: 0; padding: 0; margin: 24px 0 0; }
.pl-scope-disciplines legend { padding: 0; font-size: 13px; color: var(--ink); }
.pl-scope-disciplines legend > span { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-soft); }
.pl-scope-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pl-scope-option { display: block; position: relative; min-width: 0; cursor: pointer; }
.pl-scope-option > input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pl-scope-chip { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 44px; padding: 9px 12px; border: 0; border-radius: 12px; background: #f7f7f4; color: #626660; transition: background .18s, color .18s; }
.pl-scope-chip > svg { width: 22px; height: 22px; flex-shrink: 0; color: #7b8277; }
.pl-scope-chip > span:not(.pl-scope-check) { font-size: 13px; line-height: 1.3; min-width: 0; hyphens: auto; }
.pl-scope-check { margin-left: auto; font-size: 11px; opacity: 0; color: #35423a; }
.pl-scope-option:hover .pl-scope-chip { background: #f0f1eb; }
.pl-scope-option input:checked + .pl-scope-chip { background: #e9ede3; color: var(--ink-serif); }
.pl-scope-option input:checked + .pl-scope-chip .pl-scope-check { opacity: 1; }
.pl-scope-option input:focus-visible + .pl-scope-chip { outline: 2px solid var(--ink); outline-offset: 3px; }
.pl-scope-purchased { margin-top: 22px; }
.pl-scope-purchased label { font-size: 11px; color: var(--ink-soft); margin-bottom: 6px; }
.pl-scope-purchased label > span { margin-left: 4px; font-size: 11px; color: var(--ink-soft); }
.pl-scope-purchased textarea { display: block; width: 100%; min-width: 0; min-height: 40px; height: 40px; padding: 9px 10px; border: 0; border-radius: 8px; resize: vertical; background: #f8f8f6; color: var(--ink); font-family: inherit; font-size: 14px; line-height: 1.5; }
.pl-scope-purchased textarea::placeholder { color: var(--ink-soft); font-size: 11px; }
.pl-scope-body .pl-scope-footer { margin-top: 24px; border: 0; padding: 0; flex-direction: row; gap: 20px; }
.pl-scope-footer .pl-intro-done { min-height: 44px; min-width: 160px; }
.pl-scope-status { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--ink-serif); }
.pl-scope-status:empty { margin: 0; }
@media (max-width: 680px) {
  .pl-intro.pl-intro-scope { width: calc(100vw - 16px); }
  .pl-scope-body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 34px 22px 24px; }
  .pl-scope-body > * { flex-shrink: 0; }
  .pl-scope-body h2 { font-size: 30px; margin-top: auto; padding: 0; }
  .pl-scope-date-field { margin-top: 26px; }
  .pl-scope-date-field .pl-date-label, .pl-scope-disciplines legend { font-size: 12px; }
  .pl-scope-disciplines { margin-top: 22px; }
  .pl-scope-disciplines legend > span { display: block; margin: 4px 0 0; font-size: 10px; }
  .pl-scope-options { margin-top: 10px; gap: 7px; }
  .pl-scope-chip { gap: 7px; min-height: 40px; padding: 8px 10px; border-radius: 10px; }
  .pl-scope-chip > svg { width: 17px; height: 17px; }
  .pl-scope-chip > span:not(.pl-scope-check) { font-size: 11px; }
  .pl-scope-check { font-size: 9px; }
  .pl-scope-purchased { margin-top: 20px; }
  .pl-scope-purchased textarea { font-size: 16px; min-height: 44px; height: 44px; padding: 10px; line-height: 1.4; }
  .pl-scope-body .pl-scope-footer { margin-top: 26px; margin-bottom: auto; }
  .pl-scope-body .pl-intro-done { flex: 1; width: auto; min-width: 0; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-scope-body { padding: 28px 20px 18px; }
  .pl-scope-body h2 { font-size: 28px; }
  .pl-scope-date-field { margin-top: 20px; }
  .pl-scope-date-field .pl-date-label, .pl-scope-disciplines legend { font-size: 11px; line-height: 1.35; }
  .pl-scope-date-field .pl-date-label { margin-bottom: 5px; }
  .pl-scope-disciplines { margin-top: 18px; }
  .pl-scope-disciplines legend > span { margin-top: 2px; }
  .pl-scope-options { margin-top: 8px; gap: 6px; }
  .pl-scope-chip { min-height: 36px; padding: 6px 8px; }
  .pl-scope-purchased { margin-top: 16px; }
  .pl-scope-purchased textarea { height: 40px; min-height: 40px; padding-block: 8px; }
  .pl-scope-body .pl-scope-footer { margin-top: 22px; }
}
@media (max-width: 360px) {
  .pl-scope-chip { padding-left: 8px; padding-right: 8px; gap: 5px; }
  .pl-scope-chip > svg { width: 17px; height: 17px; }
  .pl-scope-check { position: absolute; right: 4px; top: 2px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .pl-scope-chip { transition: none; } }

.pl-intro.pl-intro-delivery { width: min(560px, calc(100vw - 40px)); }
.pl-delivery-body { padding: 44px 36px 30px; }
.pl-delivery-body h2 { text-align: center; }
.pl-delivery-body h2 { font-size: 35px; }
.pl-delivery-contact { max-width: 390px; margin: 32px auto 0; }
.pl-delivery-phone-field label { display: block; font-size: 13px; margin-bottom: 9px; }
.pl-delivery-phone-field input { display: block; width: 100%; height: 48px; padding: 12px 14px; border: 0; border-radius: 10px; font-family: inherit; font-size: 16px; background: #f5f5f1; color: var(--ink); }
.pl-delivery-phone-field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pl-delivery-phone-field input[aria-invalid="true"] { box-shadow: inset 0 -2px #9c5138; }
.pl-delivery-body .pl-delivery-footer { margin-top: 30px; padding: 0; border: 0; flex-direction: row; gap: 20px; }
.pl-delivery-footer .pl-intro-done { min-height: 44px; }
.pl-delivery-finish { margin-top: 20px; text-align: center; }
.pl-delivery-countdown { max-width: 300px; margin: 30px auto 0; padding: 18px 16px; border-radius: 16px; background: #f6f7f2; color: #465241; }
#pl-delivery-deadline-label { font-size: 11px; line-height: 1.4; color: #6d7666; }
#pl-delivery-count { display: block; margin-top: 10px; font-size: 38px; font-weight: 400; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
#pl-delivery-count-unit { display: block; margin-top: 7px; font-size: 10px; color: #6d7666; }
#pl-delivery-date { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pl-delivery-destination { margin: 0; font-size: 15px; line-height: 1.5; }
.pl-delivery-destination strong { font-weight: 400; color: var(--ink-soft); white-space: nowrap; }
.pl-delivery-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 420px; margin: 42px auto 34px; padding: 0; list-style: none; }
.pl-delivery-steps::before { content: ''; position: absolute; top: 18px; left: 16.666%; right: 16.666%; height: 1px; background: #dce1d5; }
.pl-delivery-steps li { position: relative; display: flex; align-items: center; flex-direction: column; gap: 15px; min-width: 0; color: var(--ink-serif); font-size: 12px; line-height: 1.5; }
.pl-delivery-dot { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #edf1e6; color: #68765d; font-size: 12px; }
.pl-delivery-expiry { margin-top: 16px; color: var(--ink-serif); font-size: 12px; line-height: 1.5; }
.pl-delivery-body .pl-upload-local { margin-top: 18px; }
@media (max-width: 680px) {
  .pl-intro.pl-intro-delivery { width: calc(100vw - 16px); }
  .pl-delivery-body { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 38px 22px 22px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
  .pl-delivery-body h2 { font-size: 30px; max-width: none; padding: 0 10px; margin-top: auto; flex-shrink: 0; }
  .pl-delivery-contact { width: 100%; margin-top: 28px; margin-bottom: auto; flex-shrink: 0; }
  .pl-delivery-body .pl-delivery-footer { gap: 18px; }
  .pl-delivery-footer .pl-intro-done { width: auto; min-width: 0; padding: 12px 20px; }
  .pl-delivery-finish { margin-top: 18px; margin-bottom: auto; flex-shrink: 0; }
  .pl-delivery-steps { gap: 8px; margin-top: 38px; margin-bottom: 28px; }
  .pl-delivery-steps li { font-size: 11px; gap: 13px; }
  .pl-delivery-body .pl-upload-local { font-size: 9px; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-delivery-body { padding: 28px 18px 14px; }
  .pl-delivery-body h2 { font-size: 25px; }
  .pl-delivery-finish { margin-top: 16px; }
  .pl-delivery-countdown { margin-top: 22px; padding: 12px; }
  #pl-delivery-count { font-size: 34px; margin-top: 6px; }
  .pl-delivery-steps { margin-top: 30px; margin-bottom: 24px; }
  .pl-delivery-destination { font-size: 14px; }
  .pl-delivery-body .pl-upload-local { margin-top: 12px; }
}

.pl-intro.pl-intro-followup { width: min(580px, calc(100vw - 40px)); }
.pl-followup-body { padding: 34px 36px 26px; }
.pl-followup-body h2 { font-size: 35px; text-align: center; }
.pl-followup-body > .pl-intro-lede { text-align: center; max-width: 460px; margin: 14px auto 0; }
.pl-followup-fields { max-width: 420px; margin: 28px auto 0; padding: 0; border: 0; }
.pl-date-label { display: block; margin-bottom: 9px; font-size: 13px; }
.pl-date-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 12px 14px; border: 0; border-radius: 10px; background: #f5f5f1; color: var(--ink-soft); font-size: 15px; text-align: left; }
.pl-date-toggle > svg:first-child { flex-shrink: 0; color: #8a978b; }
.pl-date-toggle.has-date { color: var(--ink); }
.pl-date-toggle .pl-date-chevron { margin-left: auto; flex-shrink: 0; transition: transform .2s; }
.pl-date-toggle[aria-expanded="true"] .pl-date-chevron { transform: rotate(180deg); }
.pl-calendar-wrap { max-width: 360px; margin: 12px auto 0; }
.pl-calendar { padding: 14px; border: 1px solid #dfe4d7; border-radius: 16px; background: white; }
.pl-calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.pl-calendar-header h3 { font-size: 16px; font-weight: 500; letter-spacing: -.02em;  }
.pl-calendar-header button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #e1e5da; border-radius: 50%; background: white; color: var(--ink); }
.pl-calendar-header button svg { width: 17px; height: 17px; }
.pl-calendar-header button:disabled { opacity: .25; cursor: default; }
.pl-calendar-weekdays, .pl-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; gap: 3px; }
.pl-calendar-weekdays { margin-bottom: 8px; color: #8a978b; font-size: 10px; }
.pl-calendar-days { grid-template-rows: repeat(6, 38px); }
.pl-calendar-days button { padding: 0; border: 1px solid transparent; border-radius: 11px; color: var(--ink); background: transparent; font-size: 13px; transition: background .16s, color .16s, border-color .16s; position: relative; }
.pl-calendar-days button:disabled { color: #bdc4b6; cursor: default; }
.pl-calendar-days button:not(:disabled):hover { background: #edf1e7; border-color: #d4ddc9; }
.pl-calendar-days button[aria-current]::after { content: ''; position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #8a978b; left: calc(50% - 1.5px); bottom: 4px; }
.pl-calendar-days button[aria-pressed="true"], .pl-calendar-days button[aria-pressed="true"]:hover { background: #35423a; color: white; border-color: #35423a; box-shadow: 0 3px 8px #35423a20; }
.pl-calendar-days button[aria-pressed="true"]::after { background: #dde5d8; }
.pl-calendar-selection { min-height: 18px; margin-top: 18px; color: var(--ink-soft); font-size: 11px; text-align: center; line-height: 1.5; }
.pl-followup-contact { max-width: 420px; margin: 24px auto 0; }
.pl-followup-contact label { display: block; font-size: 13px; margin-bottom: 9px; }
.pl-followup-contact input { width: 100%; min-width: 0; min-height: 44px; font-family: inherit; font-size: 16px; color: var(--ink); border: 0; border-radius: 10px; padding: 12px 14px; background: #f5f5f1; outline-color: #35423a; }
.pl-followup-contact input[aria-invalid] { box-shadow: inset 0 -2px #9c5138; }
.pl-followup-consent { font-size: 11px; color: var(--ink-soft); line-height: 1.6; margin-top: 12px; }
.pl-phone-error { color: #9c5138; font-size: 12px; line-height: 1.5; margin-top: 8px; }
.pl-followup-footer { max-width: 420px; margin: 22px auto 0; padding: 0 0 4px; border: 0; flex-wrap: nowrap; background: transparent; }
.pl-followup-finish { text-align: center; padding: 24px 4px 0; }
.pl-countdown-ticket { max-width: 360px; margin: auto; border: 0; border-radius: 19px; background: #f5f7ef; box-shadow: 0 12px 26px #35423a09; }
.pl-ticket-main { padding: 22px 24px 24px; }
.pl-ticket-eyebrow { display: block; font-size: 9px; letter-spacing: .1em; color: #7a8670; }
.pl-ticket-clock { width: 214px; height: 214px; position: relative; margin: 16px auto 14px; }
.pl-ticket-dial { display: block; width: 100%; height: 100%; }
.pl-ticket-count { position: absolute; inset: 42% 12% 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pl-ticket-count strong { font-size: 64px; font-weight: 400; letter-spacing: -.07em; font-variant-numeric: tabular-nums; color: #35423a; line-height: 1; }
.pl-ticket-count strong.is-long { font-size: 48px; }
.pl-ticket-count > span { font-size: 11px; color: #8a978b; margin-top: 7px; }
.pl-ticket-stub { position: relative; border: 0; display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 17px 24px; text-align: left; }
.pl-ticket-stub::before, .pl-ticket-stub::after { content: ''; position: absolute; top: -10px; width: 18px; height: 18px; border: 0; border-radius: 50%; background: white; }
.pl-ticket-stub::before { left: -10px; }
.pl-ticket-stub::after { right: -10px; }
.pl-ticket-stub small { display: block; font-size: 8px; letter-spacing: .09em; color: #8a978b; }
.pl-ticket-stub strong { display: block; margin-top: 5px; font-size: 14px; font-weight: 500; color: #35423a; }
.pl-ticket-stamp { display: grid; place-items: center; width: 30px; height: 30px; border: 0; color: #75846c; font-size: 14px; }
.pl-ticket-next { max-width: 340px; margin: 20px auto 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.pl-intro-ticket .pl-followup-body h2 { font-size: 33px; }
.pl-intro-ticket .pl-followup-body { display: flex; flex-direction: column; }
.pl-intro-ticket .pl-followup-body h2 { margin-top: auto; flex-shrink: 0; }
.pl-intro-ticket .pl-followup-finish { margin-bottom: auto; flex-shrink: 0; }
.pl-intro-followup:not(.pl-intro-ticket) .pl-followup-body { padding: 46px 36px 36px; }
.pl-intro-followup:not(.pl-intro-ticket) .pl-followup-body h2 { font-size: 34px; font-weight: 400; color: var(--ink-serif); }
.pl-intro-followup:not(.pl-intro-ticket) .pl-intro-lede { max-width: 400px; font-size: 13px; margin-top: 18px; }
.pl-intro-followup .pl-followup-fields { width: 100%; max-width: 370px; margin-top: 32px; }
.pl-intro-followup .pl-date-label, .pl-intro-followup .pl-followup-contact label { font-size: 12px; color: var(--ink-soft); font-weight: 400; margin-bottom: 8px; }
.pl-intro-followup .pl-date-toggle { min-height: 44px; padding: 10px 14px; font-size: 14px; background: #f8f8f5; }
.pl-intro-followup .pl-date-toggle > svg:first-child { width: 20px; height: 20px; }
.pl-intro-followup .pl-followup-contact { margin-top: 24px; }
.pl-intro-followup .pl-followup-contact input { padding: 10px 14px; background: #f8f8f5; }
.pl-intro-followup .pl-followup-consent { margin-top: 14px; text-align: center; }
.pl-intro-followup .pl-followup-footer { width: 100%; max-width: 370px; margin-top: 32px; }
@media (max-width: 680px) {
  .pl-intro.pl-intro-followup { width: calc(100vw - 16px); }
  .pl-followup-body { flex: 1; min-height: 0; padding: 28px 18px 16px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
  .pl-followup-body h2 { font-size: 29px; max-width: none; }
  .pl-followup-body > .pl-intro-lede { font-size: 12px; margin-top: 12px; }
  .pl-followup-fields { margin-top: 26px; padding: 0; }
  .pl-date-toggle { font-size: 14px; padding: 12px; gap: 9px; }
  .pl-calendar-wrap { margin-top: 12px; max-width: 330px; }
  .pl-calendar { padding: 10px; border-radius: 14px; }
  .pl-calendar-header { margin-bottom: 10px; }
  .pl-calendar-header h3 { font-size: 14px; }
  .pl-calendar-header button { width: 32px; height: 32px; }
  .pl-calendar-weekdays { margin-bottom: 6px; }
  .pl-calendar-days { grid-template-rows: repeat(6, 34px); gap: 2px; }
  .pl-calendar-days button { font-size: 12px; border-radius: 10px; }
  .pl-calendar-selection { font-size: 10px; margin-top: 16px; }
  .pl-followup-contact { margin-top: 26px; }
  .pl-followup-contact input { font-size: 16px; }
  .pl-followup-body .pl-followup-footer { position: static; flex-shrink: 0; flex-direction: row; margin-top: 20px; padding: 0 0 6px; gap: 16px; }
  .pl-followup-footer .pl-intro-done { font-size: 12px; padding-left: 10px; padding-right: 10px; }
  .pl-intro-followup:not(.pl-intro-ticket) .pl-followup-body { display: flex; flex-direction: column; padding: 38px 24px 26px; }
  .pl-intro-followup:not(.pl-intro-ticket) .pl-followup-body > * { flex-shrink: 0; }
  .pl-intro-followup:not(.pl-intro-ticket) .pl-followup-body h2 { font-size: 29px; padding: 0; margin-top: auto; }
  .pl-intro-followup:not(.pl-intro-ticket) .pl-intro-lede { font-size: 12px; line-height: 1.55; margin-top: 16px; }
  .pl-intro-followup .pl-followup-footer { margin-top: 30px; margin-bottom: auto; }
  .pl-intro-ticket .pl-followup-body h2 { font-size: 29px; text-align: center; padding: 0 20px; }
  .pl-followup-finish { padding-top: 22px; }
  .pl-ticket-main { padding: 18px 18px 20px; }
  .pl-ticket-clock { width: 186px; height: 186px; margin: 14px auto; }
  .pl-ticket-count strong { font-size: 56px; }
  .pl-ticket-count strong.is-long { font-size: 42px; }
  .pl-ticket-stub { padding: 16px 20px; }
  .pl-ticket-stub strong { font-size: 13px; }
  .pl-ticket-next { font-size: 11px; margin-top: 17px; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-followup-body { padding-top: 25px; }
  .pl-followup-body h2 { font-size: 26px; }
  .pl-intro-followup:not(.pl-intro-ticket) .pl-followup-body { padding: 34px 22px 22px; }
  .pl-intro-followup:not(.pl-intro-ticket) .pl-followup-body h2 { font-size: 27px; }
  .pl-intro-followup:not(.pl-intro-ticket) .pl-intro-lede { margin-top: 14px; }
  .pl-intro-followup .pl-followup-fields { margin-top: 26px; }
  .pl-intro-followup .pl-followup-footer { margin-top: 26px; }
  .pl-calendar-wrap { margin-top: 10px; }
  .pl-calendar-days { grid-template-rows: repeat(6, 30px); }
  .pl-intro-ticket .pl-followup-body h2 { font-size: 26px; }
  .pl-followup-finish { padding-top: 16px; }
  .pl-ticket-clock { width: 144px; height: 144px; margin: 10px auto; }
  .pl-ticket-count strong { font-size: 44px; }
  .pl-ticket-count > span { font-size: 9px; margin-top: 4px; }
  .pl-ticket-main { padding: 16px 16px 18px; }
  .pl-ticket-stub { padding: 13px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-calendar-days button, .pl-date-chevron { transition: none; }
}

.pl-intro.pl-intro-readiness { width: min(720px, calc(100vw - 40px)); }
.pl-readiness-body { padding: 44px 36px 36px; }
.pl-readiness-body h2 { text-align: center; font-weight: 400; color: var(--ink-serif); }
.pl-readiness-body > .pl-intro-lede { text-align: center; max-width: 480px; margin: 18px auto 0; font-size: 13px; }
.pl-readiness-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border: 0; padding: 0; margin: 32px auto 0; min-width: 0; width: 100%; max-width: 600px; }
.pl-readiness-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pl-readiness-option { display: block; position: relative; min-width: 0; cursor: pointer; }
.pl-readiness-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pl-readiness-card { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 218px; gap: 18px; padding: 22px; border: 0; border-radius: 18px; background: #f8f8f5; transition: background .2s, transform .2s; }
.pl-readiness-art { display: block; width: 134px; max-width: 100%; height: 80px; margin: 0 auto; transition: transform .25s ease; }
.pl-readiness-copy { display: block; text-align: center; }
.pl-readiness-copy strong { display: block; font-size: 16px; line-height: 1.35; letter-spacing: -.02em; font-weight: 400; color: var(--ink-serif); }
.pl-readiness-copy > span { display: block; font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: 8px; }
.pl-readiness-check { position: absolute; right: 10px; top: 10px; width: 20px; height: 20px; display: grid; place-items: center; border: 0; border-radius: 50%; color: transparent; background: transparent; opacity: 0; transition: background .2s, color .2s, opacity .2s; }
.pl-readiness-check svg { width: 17px; height: 17px; }
.pl-readiness-option:hover .pl-readiness-card { background: #f1f3ed; transform: translateY(-2px); }
.pl-readiness-option input:checked + .pl-readiness-card { background: #eaf0e3; }
.pl-readiness-option input:checked + .pl-readiness-card .pl-readiness-art { transform: translateY(-3px) rotate(-2deg); }
.pl-readiness-option input:checked + .pl-readiness-card .pl-readiness-check { color: #64705e; background: white; opacity: 1; }
.pl-readiness-option input:focus-visible + .pl-readiness-card { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 680px) {
  .pl-intro.pl-intro-readiness { width: calc(100vw - 16px); }
  .pl-readiness-body { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 38px 22px 22px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
  .pl-readiness-body > * { flex-shrink: 0; }
  .pl-readiness-body h2 { font-size: 30px; max-width: none; margin-top: auto; padding-inline: 0; }
  .pl-readiness-body > .pl-intro-lede { max-width: 350px; font-size: 12px; line-height: 1.55; margin-top: 16px; }
  .pl-readiness-options { grid-template-columns: minmax(0, 1fr); max-width: 370px; gap: 12px; margin-top: 28px; margin-bottom: auto; }
  .pl-readiness-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 116px; padding: 18px 16px; border-radius: 16px; }
  .pl-readiness-art { width: 64px; height: 48px; }
  .pl-readiness-copy strong { font-size: 14px; }
  .pl-readiness-copy > span { font-size: 12px; line-height: 1.45; margin-top: 6px; }
  .pl-readiness-check { width: 17px; height: 17px; top: 8px; right: 8px; }
  .pl-readiness-check svg { width: 14px; height: 14px; }
}
@media (max-width: 680px) and (max-height: 660px) {
  .pl-readiness-body { padding: 34px 20px 18px; }
  .pl-readiness-body h2 { font-size: 28px; }
  .pl-readiness-body > .pl-intro-lede { font-size: 12px; margin-top: 12px; }
  .pl-readiness-options { margin-top: 24px; gap: 10px; }
  .pl-readiness-card { min-height: 108px; grid-template-columns: 56px minmax(0, 1fr); padding: 16px 14px; gap: 10px; }
  .pl-readiness-art { width: 56px; height: 42px; }
  .pl-readiness-copy strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-readiness-card, .pl-readiness-art, .pl-readiness-check { transition: none; }
}

/* Save failures are visible only when an action fails; no extra happy-path step. */
.pl-intro .pl-tracking-error {
  margin: 12px auto 0;
  max-width: 36rem;
  color: #8b3d31;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.pl-intro button[aria-busy="true"] { opacity: .72; cursor: progress; }
