/* Entry screens share a reading column with the progress indicator. */
.product-shell:has(.wizard){width:100%;max-width:none;padding:0}
.wizard{max-width:none;width:100%;--entry-shadow:0 4px 0 color-mix(in srgb,var(--edge) 77%,transparent);--entry-line:color-mix(in srgb,var(--edge) 85%,transparent)}
.wizard-progress{display:block;position:sticky;top:0;z-index:3;margin:0;background:var(--paper);border-bottom:1px solid var(--entry-line)}
.wizard-progress>.entry-rail{width:min(100% - 48px,672px);height:55px;margin:auto;display:flex;align-items:center;gap:16px;padding:0}
.entry-rail .icon-button{border:0;background:none;padding:0;width:26px;min-width:26px}
.entry-rail svg{width:22px;height:22px}
.entry-rail progress{flex:1;min-width:0;height:12px;appearance:none;background:var(--edge);border:0;border-radius:12px;overflow:hidden;accent-color:var(--prune)}
.entry-rail progress::-webkit-progress-bar{background:var(--edge);border-radius:inherit}
.entry-rail progress::-webkit-progress-value{border-radius:12px;background:var(--prune);box-shadow:inset 0 3px 0 #ffffff38}
.entry-rail progress::-moz-progress-bar{background:var(--prune);border-radius:12px}
.entry-rail>span{font-size:14px;color:var(--muted);white-space:nowrap}
.wizard-body{width:min(100% - 48px,672px);margin:auto;padding:48px 0;min-width:0}
.wizard-body>:not(.reading-scene){max-width:500px}
.wizard .product-heading{margin:0 0 32px}
.wizard .product-heading h1{font:700 24px/1.33 var(--display);letter-spacing:-.035em;text-wrap:initial}
.wizard .product-heading p{margin-top:12px;font-size:15px;line-height:1.55}
.wizard .entry-choices,.entry-devices{display:grid;grid-template-columns:1fr;gap:18px}
.wizard .entry-choices .option,.entry-device{display:flex;justify-content:flex-start;gap:16px;padding:14px 16px;min-height:78px;border:1.5px solid var(--entry-line);border-radius:16px;background:var(--surface);box-shadow:var(--entry-shadow)}
.wizard .option:hover,.wizard .option:focus-visible{background:color-mix(in srgb,var(--lilac) 54%,var(--surface));border-color:var(--prune)}
.wizard .option:active{transform:translateY(2px);box-shadow:0 2px 0 var(--edge)}
.wizard .option strong{line-height:1.35;font-size:16px}
.wizard .option small{font-size:14px;line-height:1.5;margin-top:5px}
.entry-symbol,.wizard .entry-choices .platform-icon{display:grid;place-items:center;flex:none;width:48px;height:48px}
.entry-symbol{border-radius:12px;background:var(--lilac);font:24px/1 var(--ui);box-shadow:inset 0 -3px 0 #34233720,inset 0 0 0 1.5px #34233726}
.symbol-couple,.symbol-video{background:#edbbd8}.symbol-groupe,.symbol-file{background:#ead08a}.symbol-ami{background:#a9dac1}.symbol-famille{background:#eac5a8}.symbol-travail{background:#adbfdc}.symbol-autre{background:#ccbde1}
.wizard .choices-identity{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.choices-identity .option{min-width:0;overflow-wrap:anywhere}
.choices-identity .entry-symbol{border-radius:50%;color:var(--prune);font:700 22px var(--ui)}
.symbol-person-1{background:#e8c887}.symbol-person-2{background:#c0daca}.symbol-person-3{background:#c8bddc}
.wizard .choices-report-language{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.wizard .choices-report-language .option{min-height:55px;padding:10px 13px;gap:8px}
.choices-report-language .option{justify-content:space-between;text-align:start;min-width:0;overflow-wrap:anywhere}
.choices-report-language .option[aria-pressed=true]{border-color:var(--prune);background:var(--surface)}
.choices-report-language .option svg{width:16px;height:16px;flex:none;color:var(--prune)}
.choices-report-language [data-report-language=auto]{grid-column:1/-1}
.entry-device{display:block;padding:21px}
.device-heading{display:flex;gap:16px;align-items:center}
.device-heading h2{font-size:19px;line-height:1.3;letter-spacing:-.02em}
.device-heading p{font-size:14px;color:var(--muted);margin-top:5px}
.entry-device ul{border-top:1px solid var(--edge);padding:17px 0 0;margin:17px 0;list-style:none;display:grid;gap:8px}
.entry-device li{display:flex;gap:10px;align-items:center;font-size:14px}
.entry-device li svg{color:var(--success);width:17px}.entry-device:last-child li:last-child svg{color:var(--muted)}
.entry-device .primary{width:100%}
.wizard:has(.mac-export) .wizard-body{width:min(100% - 40px,500px);padding-block-start:clamp(22px,5vh,44px)}
.mac-export{padding:clamp(18px,4vw,28px) clamp(18px,4vw,28px) 4px;border:1.5px solid var(--entry-line);border-radius:20px;background:var(--surface);box-shadow:var(--entry-shadow);text-align:start}
.mac-export-app{display:flex;align-items:center;gap:14px}
.mac-export-app img{width:64px;height:64px;object-fit:contain;flex:none}
.mac-export-app h1{font:700 clamp(26px,4vw,32px)/1.15 var(--display);letter-spacing:-.045em}
.mac-export-app p{margin-top:4px;font-size:13px;line-height:1.45;color:var(--muted)}
.mac-export-intro{margin:14px 0;font-size:15px;line-height:1.45}
.mac-export .button{width:100%;min-height:48px;white-space:normal;text-align:center;text-decoration:none}
.mac-export .mac-copy-status:not(:empty){margin:12px 0;color:var(--prune);font-size:14px}
.mac-export [data-mac-link]{width:100%;min-width:0;margin-bottom:8px;font-size:16px}
.mac-install{margin-top:16px;border-top:1px solid var(--edge)}
.mac-install summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding-block:8px;list-style:none;cursor:pointer;font-weight:650;color:var(--prune)}
.mac-install summary::-webkit-details-marker{display:none}
.mac-install summary::after{content:"";flex:none;width:8px;height:8px;border:solid currentColor;border-width:0 1.7px 1.7px 0;transform:rotate(45deg);margin-inline-end:3px}
.mac-install[open]>summary::after,.mac-opening-help[open]>summary::after{transform:rotate(225deg)}
.mac-install ol{margin:5px 0 5px;padding-inline-start:23px;list-style:decimal}
.mac-install li{padding-inline-start:4px;margin-bottom:13px;font-size:14px;line-height:1.5}
.mac-install li::marker{font-weight:700;color:var(--prune)}
.mac-install li strong{display:block;font-size:15px}
.mac-install li p{margin-top:2px;color:var(--muted)}
.mac-opening-help>summary{justify-content:flex-start;min-height:36px;gap:7px;font-size:13px}
.mac-opening-help>p{padding-bottom:6px}
.mac-install .text-button{display:flex;align-items:center;gap:4px;text-align:start;color:var(--prune)}
.mac-install [data-to-video]{font-size:13px;color:var(--muted)}
.mac-import-title{margin:28px 0 13px;font:700 22px/1.3 var(--display);letter-spacing:-.03em}
.wizard .entry-upload.mac-upload{aspect-ratio:auto;border:1.5px dashed var(--prune);box-shadow:none}
.mac-upload .entry-filebox{padding:18px;min-height:130px}
.mac-upload .entry-filebox>.file-glyph{width:34px;height:36px;margin:0 0 5px}
.mac-upload .file-glyph b{font-size:7px}
.wizard .entry-upload{width:100%;position:relative;aspect-ratio:1;border:1.5px solid var(--edge);border-radius:18px;overflow:hidden;box-shadow:var(--entry-shadow);background:var(--surface)}
.wizard .entry-upload.drop-active{outline:3px solid var(--prune);background:var(--lilac)}
.entry-upload .operation,.entry-filebox,.entry-receipt{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.entry-filebox>.file-glyph{position:relative;display:grid;place-items:center;margin:0 0 12px;width:78px;height:80px}
.file-glyph svg{width:100%;height:100%;stroke-width:.8}
.file-glyph b{position:absolute;left:0;right:0;top:51%;font-size:12px;line-height:1;letter-spacing:.01em}
.entry-filebox p{font-size:13px;color:var(--muted)}
.entry-file{display:inline-flex;align-items:center;justify-content:center;font-weight:650;cursor:pointer}
.entry-file:not(.replace-file)::before{content:"";position:absolute;inset:0}
.entry-file input{position:absolute;opacity:0;inset:0;cursor:pointer;width:100%;height:100%}
.entry-filebox:focus-within,.entry-receipt:focus-within{outline:3px solid var(--prune);outline-offset:-5px}
.wizard .entry-upload:has(.entry-receipt,.upload-operation){
  --receipt-bg:#35213e;
  --receipt-text:#fff8f0;
  --receipt-secondary:#e4cfe8;
  background:var(--receipt-bg);
  border-color:#45314d;
  min-height:306px;
}
.entry-receipt,.upload-operation{position:relative;isolation:isolate;overflow:hidden;width:100%;height:100%;background:var(--receipt-bg);color:var(--receipt-text)}
.entry-receipt{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(62px,1fr) auto minmax(49px,.9fr);align-items:center;text-align:center}
.receipt-summary{grid-row:2;display:grid;justify-items:center;align-content:center;padding-inline:12px;min-width:0}
.receipt-count{display:grid;justify-items:center;gap:3px}
.receipt-count strong{font:750 clamp(58px,12vw,94px)/1 var(--ui);font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.receipt-count span{font:700 clamp(17px,3.6vw,23px)/1.2 var(--ui)}
.receipt-volume{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:12px;color:var(--receipt-secondary);font:500 13px/1.4 var(--ui)}
.receipt-volume b{font-weight:750;color:var(--receipt-text)}
.volume-segments{display:inline-flex;align-items:flex-end;gap:2px;height:13px;flex:none}
.volume-segments i{position:relative;width:4px;height:5px;border-radius:1px;background:#846b8a}
.volume-segments i:nth-child(2){height:8px}
.volume-segments i:nth-child(3){height:12px}
.volume-segments i::after{content:"";display:block;height:100%;border-radius:inherit;background:#cfb6e1;transform:scaleY(0);transform-origin:bottom}
.entry-receipt .volume-segments i:first-child::after,
.entry-receipt:is([data-volume-level=medium],[data-volume-level=high]) .volume-segments i:nth-child(2)::after,
.entry-receipt[data-volume-level=high] .volume-segments i:nth-child(3)::after{transform:scaleY(1)}
.receipt-saved{display:inline-flex;align-items:center;gap:6px;margin-top:15px;padding:4px 12px;border-radius:30px;background:#d7ecd9;color:#254632;font:750 13px/1.35 var(--ui)}
.receipt-saved svg{width:16px;height:16px;stroke-width:2}
.receipt-playback{position:relative;grid-area:1/1;align-self:center;justify-self:center;width:min(78%,310px);height:56px;pointer-events:none}
.entry-receipt .replace-file{position:relative;inset:auto;grid-row:3;align-self:end;justify-self:center;max-width:95%;min-height:44px;margin-bottom:4px;padding:9px 14px;text-align:center;color:var(--receipt-text);font:650 14px/1.4 var(--ui)}
.entry-receipt .replace-file:hover span{text-decoration:underline}
.entry-receipt:focus-within{outline:none}
.entry-receipt .replace-file:focus-within{outline:2px solid #f5daac;outline-offset:-4px;border-radius:7px}
.receipt-motif{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;direction:ltr}
.receipt-motif i{position:absolute;display:block;width:27%;height:14%;border:2px solid #64476d;border-radius:18px 18px 18px 4px;transform:rotate(-15deg)}
.receipt-motif i::before,.receipt-motif i::after{content:"";position:absolute;left:18%;top:36%;width:52%;height:2px;border-radius:2px;background:#64476d}
.receipt-motif i::after{top:57%;width:31%}
.receipt-motif i:nth-child(1){left:-13%;top:9%}
.receipt-motif i:nth-child(2){right:-10%;top:2%;border-radius:18px 18px 4px 18px;transform:rotate(14deg)}
.receipt-motif i:nth-child(3){left:-11%;bottom:10%;transform:rotate(12deg)}
.receipt-motif i:nth-child(4){right:-14%;bottom:19%;transform:rotate(-17deg)}
.upload-operation{display:grid;justify-items:center;align-content:center;gap:18px;padding:20px;text-align:center}
.upload-operation strong{max-width:28ch;font:650 17px/1.45 var(--ui)}
.import-scan{display:flex;align-items:center;justify-content:center;gap:6px;height:42px;width:66px;border-radius:18px 18px 18px 4px;background:#e4cde8}
.import-scan i{width:7px;height:7px;border-radius:50%;background:#63476a}
@media(prefers-reduced-motion:no-preference){
  .import-scan i{animation:upload-dot 1.1s ease-in-out infinite}
  .import-scan i:nth-child(2){animation-delay:.14s}
  .import-scan i:nth-child(3){animation-delay:.28s}
}
@keyframes upload-dot{0%,55%,100%{transform:translateY(0)}25%{transform:translateY(-4px)}}
[data-entry-step=upload] .product-heading{margin-bottom:17px}
.entry-privacy-note{display:flex;align-items:flex-start;gap:9px;margin:17px 0 0;color:var(--muted);font-size:14px;line-height:1.45}
.entry-privacy-note svg{flex:none;width:17px;height:17px;margin-top:2px}
.entry-privacy-note .text-button{font-size:inherit;min-height:24px;padding:0 2px;vertical-align:baseline}
.wizard [data-guide].guide-trigger{margin-top:28px;width:100%;min-height:78px;justify-content:space-between;background:var(--lilac);border:1.5px solid var(--entry-line);box-shadow:var(--entry-shadow);border-radius:15px;text-align:left}
.guide-trigger svg,.guide-pick .play-chip{color:var(--surface);background:var(--prune);padding:12px;border-radius:50%;width:42px;height:42px}
.wizard .wizard-actions{margin-top:37px}
.wizard .wizard-actions .primary{width:auto}
.wizard .import-actions{margin:30px 0 0;align-items:center;justify-content:center;gap:2px 13px}
.import-actions .text-button{font-size:12px}
.wizard .import-participants{gap:18px}
.wizard .import-participants li{background:none;padding:0 8px}
.import-participants meter::-webkit-meter-bar{background:var(--edge)}
.wizard .import-participants meter{margin-top:7px;height:14px}
.wizard .import-participants meter::-webkit-meter-optimum-value{background:var(--bar,var(--prune));box-shadow:inset 0 3px 0 #ffffff4d}
.wizard .participation-row span{font-size:14px;color:var(--muted);font-weight:500}
.participation-row span svg{width:15px;height:15px;vertical-align:-2px;margin-right:8px}
.participant-0{--bar:#bd80b5}.participant-1{--bar:#c79d51}.participant-2{--bar:#87afa7}.participant-3{--bar:#9099bc}
.wizard-progress>.entry-brandbar{padding:0;border-bottom:1px solid var(--entry-line)}
.entry-brandbar>div{display:flex;align-items:center;width:min(100% - 48px,672px);height:56px;margin:auto}
.wizard:has(.name-review) .wizard-body{width:min(100% - 40px,672px);padding-top:18px}
.name-review-heading{margin-bottom:24px}
.wizard .name-review-heading .product-heading{margin:0}
.wizard .name-review-heading .product-heading h1{font-size:clamp(27px,7.4vw,32px);line-height:1.17}
.name-review-heading p{font-size:15px;line-height:1.48;color:var(--muted);overflow-wrap:anywhere}
.name-review-heading>p{margin:13px 0 0}
.wizard .name-review{gap:20px;width:100%}
.entry-name-list{display:grid;gap:16px;background:var(--lilac);padding:22px 17px;border-radius:16px}
.wizard .entry-name-row{display:block;position:relative;min-width:0}
.entry-name-row input{width:100%;min-width:0;min-height:48px;padding-inline:14px 41px;background:var(--surface);font-size:16px;scroll-margin-block:140px 28px}
.entry-name-row svg{position:absolute;right:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;pointer-events:none;color:var(--muted)}
.entry-name-row input:focus-visible{outline:2px solid var(--prune);outline-offset:2px}
.entry-name-row input[aria-invalid=true]{border-color:var(--error)}
.wizard .name-review .status{margin:0}
.wizard .name-review .primary{min-height:55px;width:100%}
.name-review+.entry-privacy-note{margin-top:24px}
.wizard .auth-options{width:100%;max-width:500px}
.wizard .auth-options input{height:43px;min-height:43px}
.wizard form .primary,.wizard .wizard-actions .button{min-height:48px;padding-inline:24px}
.wizard .signed-in{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--surface);border:1.5px solid var(--edge);border-radius:15px;box-shadow:var(--entry-shadow);overflow-wrap:anywhere}
.wizard .signed-in svg{background:#cde5ce;border-radius:50%;padding:7px;width:35px;height:35px;flex:none;color:var(--success)}
.wizard [data-submit-report]{display:flex;width:100%;margin-top:24px}
.entry-letter{width:55px;height:55px;margin-bottom:16px;border-radius:14px;background:#ead08a;display:grid;place-items:center;transform:rotate(-6deg)}
.entry-letter img{max-height:50px}.entry-letter.confirmed{background:#b7dbc6}
.entry-letter.confirmed svg{width:29px;height:29px;color:var(--success)}
.entry-code-label{position:relative;width:min(100%,440px);overflow:hidden;font-size:0}
.entry-code-label input{position:absolute!important;inset:0;width:100%;height:100%!important;z-index:1;opacity:0;cursor:text}
.wizard form .entry-code-label{font-size:0}
.entry-code-boxes{width:100%;display:grid;gap:clamp(6px,1vw,12px);grid-template-columns:repeat(6,1fr)}
.entry-code-boxes i{background:var(--surface);border-radius:11px;border:1.5px solid var(--edge);box-shadow:var(--entry-shadow);aspect-ratio:1;display:grid;place-items:center;font:650 24px/1 var(--ui);min-width:0}
.entry-code-label:focus-within .cursor{border-color:var(--prune);background:var(--lilac)}
.entry-code-label:focus-within .cursor:empty:before{content:"";width:1px;height:25px;background:var(--prune)}
.wizard [data-auth-code] .local-code{order:1;font-size:.8rem}
.wizard [data-auth-code] [data-change-email]{order:2}
.guide-dialog{width:min(calc(100% - 32px),550px);height:min(92dvh,698px);padding:24px;border-radius:17px;background:var(--paper);box-shadow:0 15px 70px #291f3133}
.guide-dialog .icon-button{border-radius:50%}.guide-dialog .guide-header{align-items:center}
.guide-pick{display:flex;gap:12px;width:100%;align-items:center;background:var(--surface);border:1.5px solid var(--edge);box-shadow:0 4px 0 var(--edge);border-radius:15px;padding:14px 16px;text-align:left;font-weight:650;margin:16px 0}
.guide-pick .play-chip{margin-left:auto;display:grid;place-items:center}
.guide-dialog .guide-instruction{min-height:0;font-weight:650}
@media(max-width:560px){
  .wizard-body{padding-top:48px}.wizard .product-heading h1{font-size:22px}
  .wizard .choices-report-language .option{font-size:13px;padding:10px 7px;gap:5px}.wizard .choices-report-language .option strong{font-size:13px}
}
@media(max-width:365px){.wizard .choices-identity{grid-template-columns:1fr}.wizard .choices-report-language{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Public landing */
.home-page{--lift:0 4px 0 var(--edge);overflow:hidden}
.home-page h1,.home-page h2{font-family:var(--display);letter-spacing:-.045em;line-height:1.2}
.home-page h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:44px}
.home-hero{padding:160px 24px 0;text-align:center}
.home-stickers {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:clamp(4px,1.25vw,8px);
  width:min(100%,474px);
  margin:0 auto 32px;
}
.home-stickers > span { position:relative; min-width:0; aspect-ratio:1; }
.home-stickers .sticker-face {
  position:absolute; inset:0;
  display:grid; place-items:center;
  overflow:hidden;
  border:1px solid #392b3921;
  border-radius:clamp(8px,2.6vw,14px);
  background:var(--tile-color);
  box-shadow:inset 0 -2px 0 #392b3912,0 2px 3px #38233b0b;
  font:clamp(21px,5.5vw,30px)/1 var(--ui);
}
.home-stickers img { width:69%; height:69%; object-fit:contain; }
.home-stickers .sticker-0 .mascot { width:85%; height:100%; object-fit:cover; object-position:50% 0; }
.home-stickers .sticker-3 .mascot { width:78%; height:78%; }
.home-stickers .sticker-0 { --tile-color:#f6cbb5; --enter-delay:0ms; }
.home-stickers .sticker-1 { --tile-color:#cfe3bd; --enter-delay:55ms; }
.home-stickers .sticker-2 { --tile-color:#f3c4d4; --enter-delay:110ms; }
.home-stickers .sticker-3 { --tile-color:#d7c6e9; --enter-delay:165ms; }
.home-stickers .sticker-4 { --tile-color:#bcdde9; --enter-delay:220ms; }
.home-stickers .sticker-5 { --tile-color:#f7e4a8; --enter-delay:275ms; }
.home-stickers .sticker-6 { --tile-color:#bce1d6; --enter-delay:330ms; }
.home-stickers > span:nth-child(odd) { --tilt:-5deg; }
.home-stickers > span:nth-child(even) { --tilt:5deg; }
.home-hero h1{font-size:clamp(36px,4.5vw,48px);line-height:1.25;max-width:680px;margin:auto;text-wrap:balance}
.home-hero>p{max-width:505px;color:var(--muted);font-size:18px;line-height:1.6;margin:32px auto 38px;text-wrap:pretty}
.home-page .home-cta{width:max-content;min-width:288px;min-height:56px;gap:12px;font-size:20px;letter-spacing:-.025em}
.home-example{display:block;width:min(100%,448px);margin:6px auto 0;color:var(--prune);text-align:center;text-decoration:none}
.home-example-label{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;border-radius:5px;font-size:16px;font-weight:650;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.home-example:hover .home-example-label{text-decoration-thickness:2px}
.home-example:focus-visible{outline:none}
.home-example:focus-visible .home-example-label{outline:2px solid var(--prune);outline-offset:2px}
/* The base and the lens render the same message sequence. Their tracks start, pause and loop together. */
.home-chat-window {
  --scan-ink: var(--prune);
  --scan-time: 2.4s;
  --feed-time: 13s;
  --scan-ease: cubic-bezier(.45,0,.55,1);
  --lens-half: 44px;
  display:block; position:relative; width:100%; aspect-ratio:1; margin:30px auto 0;
  overflow:hidden; isolation:isolate; border-radius:22px; background:#ece9dd; color:var(--ink); text-decoration:none;
}
.home-chat-layer {
  position:absolute; inset:0; overflow:hidden; pointer-events:none;
  -webkit-mask-image:linear-gradient(transparent,#000 15%,#000 85%,transparent);
  mask-image:linear-gradient(transparent,#000 15%,#000 85%,transparent);
}
.home-chat-paper { opacity:.6; }
.home-chat-lens { clip-path:inset(calc(50% - var(--lens-half)) -10%); }
.home-ticker { padding:0 18px; }
.home-ticker>div { display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding-bottom:12px; }
.home-bubble{width:fit-content;max-width:86%;border-radius:12px;padding:8px 12px;display:grid;gap:2px;text-align:left;color:#232824;box-shadow:0 1px 1px #192d1a22;font:500 14px/1.32 var(--ui)}
.home-bubble.received{background:#fffefa;align-self:flex-start;border-bottom-left-radius:3px}
.home-bubble.sent{background:#d9efc8;align-self:flex-end;border-bottom-right-radius:3px}
.home-bubble b{color:#447e9b;font-weight:700;font-size:.85em}
.home-bubble time{justify-self:end;font-size:.68em;color:#5e6c62;line-height:1}
.home-chat-lens .home-bubble {
  transform:scale(1.06);
  box-shadow:0 0 0 2px var(--scan-ink), 0 6px 18px -5px color-mix(in srgb,var(--scan-ink) 52%,transparent);
}
.scan-lou { position:absolute; z-index:1; inset:0; transform:translateY(50%); pointer-events:none; }
.scan-lou::before,.scan-lou::after { content:''; position:absolute; top:0; left:50%; transform:translate(-50%,-50%); }
.scan-lou::before { width:118%; height:96px; background:radial-gradient(ellipse at center,color-mix(in srgb,var(--scan-ink) 22%,transparent),transparent 69%); }
.scan-lou::after { width:108%; height:2px; background:linear-gradient(90deg,transparent,var(--scan-ink) 22% 78%,transparent); filter:drop-shadow(0 0 4px var(--scan-ink)); }
.scan-rider { position:absolute; z-index:1; left:calc(50% - 28px); top:-28px; width:56px; height:56px; }
.scan-rider img { width:100%; height:100%; object-fit:cover; border:2px solid var(--surface); border-radius:50%; background:var(--lilac); box-shadow:0 2px 8px #32253745; }
@keyframes home-chat-scroll { from { transform:translateY(0); } to { transform:translateY(-50%); } }
@keyframes home-scan { from { transform:translateY(4%); } to { transform:translateY(96%); } }
@keyframes home-scan-lens {
  from { clip-path:inset(calc(4% - var(--lens-half)) -10% calc(96% - var(--lens-half))); }
  to { clip-path:inset(calc(96% - var(--lens-half)) -10% calc(4% - var(--lens-half))); }
}
@keyframes home-rider-sway { from { transform:translateX(-28px); } to { transform:translateX(28px); } }
@keyframes home-rider-drift { from { transform:translateY(-9px) rotate(-5deg); } to { transform:translateY(11px) rotate(5deg); } }
@keyframes home-sticker-arrive {
  0% { opacity:.15; transform:translateY(15px) rotate(var(--tilt)) scale(.91); }
  62% { opacity:1; transform:translateY(-3px) rotate(0deg) scale(1.025); }
  84% { transform:translateY(1px) scale(.995); }
  100% { opacity:1; transform:none; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .home-stickers .sticker-face { transition:translate .22s ease-out,rotate .22s ease-out,box-shadow .22s ease-out; }
  .home-stickers > span:hover .sticker-face {
    translate:0 -6px; rotate:var(--tilt);
    box-shadow:inset 0 -2px 0 #392b3915,0 6px 10px #392b3921;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .home-stickers.stickers-in-view .sticker-face {
    animation:home-sticker-arrive 520ms cubic-bezier(.2,.72,.25,1) var(--enter-delay) backwards;
  }
  .home-ticker { animation:home-chat-scroll var(--feed-time) linear infinite; }
  .scan-lou { animation:home-scan var(--scan-time) var(--scan-ease) infinite alternate; }
  .home-chat-lens { animation:home-scan-lens var(--scan-time) var(--scan-ease) infinite alternate; }
  .scan-rider { animation:home-rider-sway 3.4s ease-in-out infinite alternate; }
  .scan-rider img { animation:home-rider-drift 2.1s var(--scan-ease) infinite alternate; }
  .home-chat-window.motion-paused :is(.home-ticker,.scan-lou,.home-chat-lens,.scan-rider,.scan-rider img) { animation-play-state:paused; }
}
.home-block{text-align:center;padding:0 24px}
.home-topics{margin-top:136px}
.topic-board{max-width:768px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;border-radius:23px;background:var(--ink);box-shadow:0 14px 35px #291f313b}
.topic-board a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:124px;padding:12px 6px;background:#ffffff0f;color:#fff8ff;border-radius:13px;text-decoration:none;transition:background .16s,transform .16s}
.topic-board a:hover{background:#ffffff21;transform:translateY(-2px)}
.topic-board a span{display:grid;place-items:center;width:56px;height:56px;font-size:26px;border-radius:13px;background:var(--tile,#ddc4ce);box-shadow:inset 0 -3px 0 #291f312b}
.topic-board a strong{font-size:14px;line-height:1.25;font-weight:650}
.topic-0{--tile:#ecc9a9}.topic-1{--tile:#e1aac7}.topic-2{--tile:#e6ce89}.topic-3{--tile:#c9bce0}.topic-4{--tile:#d8b3d7}.topic-5{--tile:#aed2c5}
.home-apps{padding-top:170px;padding-bottom:164px}
.home-integrations{display:flex;justify-content:space-between;align-items:start;gap:18px;max-width:815px;margin:auto}
.home-integrations a{color:inherit;text-decoration:none;display:grid;gap:13px;justify-items:center;font-size:15px;font-weight:650;min-width:60px}
.home-integrations a:hover span{text-decoration:underline}
.home-integrations img{width:54px;height:54px}
.home-totals{padding-bottom:160px}.total-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px;gap:22px;margin:auto}
.total-tiles a{display:grid;justify-items:center;padding:22px 12px;background:var(--surface);border:1px solid var(--edge);border-radius:22px;text-decoration:none;color:var(--ink);box-shadow:var(--lift)}
.total-tiles img{height:84px;width:100px;object-fit:contain}
.total-tiles strong{font:700 54px/1.2 var(--display);letter-spacing:-.04em}
.total-tiles span{color:var(--muted)}
.home-ending{margin:150px auto 170px;background:var(--lilac);border-radius:22px;width:min(calc(100% - 48px),575px);padding:48px 20px;text-align:center}
.home-ending img{height:170px;width:auto;object-fit:contain;margin:auto}
.home-ending h2{font-size:36px;margin:30px 0}
@media(max-width:650px){
  .home-hero{padding-top:108px;text-align:left}
  .home-hero h1{text-wrap:initial}.home-hero>p{font-size:16px;line-height:1.6;margin:26px 0 32px}
  .home-page .home-cta{width:100%;min-width:0;font-size:18px}
  .home-chat-window{margin-top:14px;border-radius:20px}
  .home-hero,.home-block{padding-inline:24px}
  .home-page h2{font-size:36px}.home-topics{margin-top:116px}
  .topic-board{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px;gap:6px}
  .topic-board a{min-height:98px}.topic-board a span{width:45px;height:45px;font-size:23px}
  .home-apps{padding-block:120px}.home-integrations{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 8px}
  .home-integrations a{gap:6px;font-size:14px}.home-integrations img{width:45px;height:45px}
  .home-totals{padding-bottom:120px}.total-tiles{gap:12px}.total-tiles strong{font-size:43px}
  .home-ending{margin:110px auto}
}
.entry-code-label input{font:500 21px/1.3 var(--ui);color:transparent;caret-color:transparent}
.wizard .product-heading h1{text-wrap:pretty}
@media(min-width:651px){.home-hero>p{max-width:455px}}
.guide-dialog{height:min(90dvh,896px);padding:14px 20px 22px}
.guide-nav{display:flex;align-items:center;justify-content:space-between;gap:20px}
.guide-nav [data-close],.guide-dialog .dialog-close .icon-button{margin-left:auto}
.guide-dialog .dialog-close{margin:0 0 20px}
.guide-dialog .guide-header h2{font-size:22px}
.guide-dialog .guide-scroll{text-align:center}
.guide-phone{margin:16px 0 8px}
.guide-phone img{width:auto;height:min(528px,55dvh);margin:auto;border-radius:34px;box-shadow:0 6px 20px #291f3129}
.guide-dialog .guide-steps,.guide-dialog .guide-controls{width:min(100%,360px);margin:8px auto}
.guide-dialog .guide-controls{gap:clamp(14px,5vw,32px);align-items:center}
.guide-dialog [data-play]{width:54px;height:54px;background:var(--prune);color:var(--surface)}
.guide-dialog .guide-count{margin-top:12px}
.guide-dialog .guide-instruction{margin:8px auto 15px;max-width:38ch}
.guide-dialog .segmented{max-width:250px;margin:16px auto 4px}
.guide-return,.guide-symbol{display:grid;place-items:center;align-content:center;gap:18px;min-height:min(380px,42dvh);margin:16px 0;background:var(--lilac);border-radius:18px;padding:20px}
.guide-return img{height:180px;width:auto}.guide-return figcaption{max-width:29ch;font-weight:650}
.guide-symbol .platform-icon{width:80px;height:80px}
@media(max-width:600px){
  .guide-dialog{width:100%;max-width:100%;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);margin:auto 0 0;border-radius:18px 18px 0 0;padding-bottom:24px}
}
.guide-phone{position:relative;width:fit-content;margin:16px auto 8px}
.guide-tip{position:absolute;bottom:5%;left:4%;width:92%;min-height:9%;display:grid;place-items:center;padding:6px;border-radius:14px;background:#29272e;color:#fff;font-size:12px;font-weight:600;box-shadow:0 2px 7px #0003}
.guide-lou-screen{margin:16px 0}.guide-lou-screen img{width:auto;height:min(528px,55dvh);margin:auto;border:1px solid var(--edge);border-radius:18px;box-shadow:0 4px 0 var(--edge)}

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .topic-board a > span,
  .home-integrations a > img,
  .total-tiles a > img {
    transition:translate .26s cubic-bezier(.2,.76,.24,1),rotate .26s ease,scale .26s ease;
  }
  .topic-board a:is(:hover,:focus-visible) > span { translate:0 -3px; rotate:-4deg; scale:1.05; }
  .topic-board a:nth-child(even):is(:hover,:focus-visible) > span { rotate:4deg; }
  .home-integrations a:is(:hover,:focus-visible) > img { translate:0 -4px; scale:1.07; }
  .total-tiles a:is(:hover,:focus-visible) > img { translate:0 -3px; rotate:-2deg; }
  .topic-board a:active > span,.home-integrations a:active > img { scale:.96; }
}
/* The full-size image contains the same action hint as the in-page guide. */
.gs-figure{margin:12px auto 8px;max-width:100%;text-align:center}
.gs-figure .guide-shot-link{display:block;max-width:100%;width:fit-content;margin:auto;cursor:zoom-in}
.gs-figure .guide-shot{display:block;margin:auto;max-width:100%;height:auto;border:1px solid var(--edge);border-radius:14px;box-shadow:0 4px 15px #291f3117}
.guide-phone.gs-figure .guide-shot{width:min(100%,306px,31.5dvh);height:auto;border-radius:16px}
.guide-lou-screen.gs-figure .guide-shot{width:min(100%,540px);height:auto}
.gs-figure figcaption{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 9px;margin:7px auto 0;color:var(--muted);font:500 .75rem/1.3 var(--ui)}
.gs-figure figcaption a{color:var(--prune);text-underline-offset:2px}
@media (max-width:600px){
 .guide-phone.gs-figure .guide-shot{width:min(100%,315px,38dvh)}
}

/* On a fresh upload the receipt briefly plays actual, locally extracted lines. */
.receipt-playback .receipt-excerpt {
  box-sizing:border-box;
  display:grid;
  align-content:center;
  gap:2px;
  width:100%;
  min-width:0;
  height:56px;
  padding:4px 12px;
  border:1px solid #7b5c84;
  border-radius:12px 12px 12px 3px;
  background:#4b3256;
  color:#fff8fa;
  text-align:start;
}
[dir=rtl] .receipt-playback .receipt-excerpt { border-radius:12px 12px 3px 12px; }
.receipt-excerpt b,.receipt-excerpt p { margin:0; overflow:hidden; overflow-wrap:anywhere; }
.receipt-excerpt b { white-space:nowrap; text-overflow:ellipsis; color:#ead4ed; font:700 11px/1.25 var(--ui); }
.receipt-excerpt p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; font:500 13px/1.32 var(--ui); }
@media(prefers-reduced-motion:no-preference) {
  .receipt-playback .receipt-excerpt { animation:receipt-speak 2.4s ease both; }
  .receipt-excerpt p span { animation:receipt-read .43s ease .15s both; }
  .receipt-excerpt p span:nth-child(2) { animation-delay:.55s; }
  .receipt-excerpt p span:nth-child(3) { animation-delay:.95s; }
}
@keyframes receipt-read {
  from { color:#c9b1d0; }
  65% { color:#ffe1b8; }
  to { color:#fff8fa; }
}
@keyframes receipt-speak {
  0% { opacity:0; transform:translateY(6px); }
  12%,87% { opacity:1; transform:translateY(0); }
  100% { opacity:0; transform:translateY(-4px); }
}
