/* Joey Card builder: live previews and a clear four-stage journey. */
.joey-zone .zone-hero-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:55px}
.joey-zone .joey-shuffle{width:100%;max-width:540px;margin-inline:auto}
.joey-zone .joey-shuffle-stage{height:320px}
.joey-zone .joey-shuffle-brand .joey-shuffle-front{background:linear-gradient(145deg,#fa7b37,#ed4b14);color:#fff8df;border-color:#ffd38d;justify-content:space-around}
.joey-logo-patch{display:block;width:100%;padding:10px 7px;border-radius:9px;background:#1b3d31}
.joey-logo-patch img{width:100%;height:auto}
.joey-builder-intro{display:flex;gap:28px;align-items:center;justify-content:space-between;margin-bottom:26px}
.joey-builder-intro p{margin-bottom:0;color:var(--muted)}
.joey-builder-intro .btn{flex-shrink:0}
.joey-flow-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,370px);align-items:start;gap:30px}
.joey-flow-main{min-width:0}
.joey-step-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 18px}
.joey-step-nav button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #c9d6c7;border-radius:12px;min-height:62px;padding:12px 5px;background:#f0f4e9;font-size:13px;font-weight:800}
.joey-step-nav button b{display:grid;place-items:center;width:25px;height:25px;background:#fffdf7;border-radius:50%;font-size:12px;flex-shrink:0}
.joey-step-nav button[aria-current]{background:#214b3b;color:#fff7e4;border-color:#214b3b}
.joey-step-nav button[aria-current] b{background:#f7c55c;color:#204334}
.joey-stage{background:#fff;border:1px solid #cbd9c9;border-radius:22px;padding:28px}
.joey-stage-heading .eyebrow{display:block;margin-bottom:12px}
.joey-stage-heading h3{font-size:29px;scroll-margin-top:125px}
.joey-stage-heading p{color:var(--muted);font-size:14px;margin-bottom:25px}
.joey-stage label{display:block;font-weight:750;font-size:13px;margin-bottom:6px}
.joey-stage .form-duo{row-gap:18px}
.joey-stage .form-duo .choice-group{margin:0}
.joey-stage fieldset{margin:24px 0}
.joey-stage legend{font-size:17px}
.joey-shape-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.joey-shape-options>label{position:relative;margin:0;cursor:pointer;min-width:0}
.joey-shape-options input{position:absolute;inset:10px auto auto 10px;width:17px;height:17px;min-height:17px;z-index:1}
.joey-shape-choice{display:flex;height:100%;min-height:160px;align-items:center;justify-content:center;flex-direction:column;gap:9px;border:1px solid #c6d4c1;border-radius:14px;padding:18px 5px 12px;background:#fbfcf8;text-align:center}
.joey-shape-choice strong{font-size:11px;line-height:1.3;letter-spacing:-.015em}
.joey-shape-choice small{font-size:10px;font-weight:500;line-height:1.2}
.joey-shape-options input:checked+.joey-shape-choice{background:#fff0c8;border:2px solid #c45d1b;padding:17px 4px 11px}
.joey-shape-options input:focus-visible+.joey-shape-choice{outline:3px solid #145dc1;outline-offset:4px}
.joey-shape-swatch{display:block;width:40px;height:53px;background:linear-gradient(140deg,#f8994f,#f05d1c);box-shadow:0 4px 8px #62391524;margin-bottom:3px}
.joey-shape-swatch.square,.joey-live-card.square{border-radius:0}
.joey-shape-swatch.rounded,.joey-live-card.rounded{border-radius:13%}
.joey-shape-swatch.rounded-top,.joey-live-card.rounded-top{border-radius:50% 50% 0 0}
.joey-shape-swatch.oval,.joey-live-card.oval{border-radius:50%}
.joey-extra-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.joey-extra-options legend{margin-bottom:12px}
.joey-extra-options label{display:flex;align-items:center;gap:8px;border:1px solid #cbd8c5;border-radius:13px;padding:12px 8px;background:#fafcf7;min-width:0;margin:0;font-size:12px}
.joey-extra-options label small{display:block;font-size:10px;color:var(--muted);font-weight:500}
.joey-extra-options input{margin:0;width:17px;height:17px;min-height:17px}
.joey-stage-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-top:28px;padding-top:21px;border-top:1px solid var(--line)}
.joey-stage-actions>.btn:only-child{margin-left:auto}
.joey-stage-actions .btn{font-size:13px;padding-inline:17px}
.joey-stage .card-size-group{background:#fbfcf8;border-radius:16px;padding:18px}
.joey-stage .card-size-group legend{padding:0 6px;font-size:15px}
.joey-stage .card-options{border-top:0;margin-top:0;padding-top:0}
.joey-stage .card-options>legend{display:none}
.joey-artwork-note{padding:17px 19px;border-radius:14px;background:#f1f5e9;font-size:13px;color:#375445}
.joey-flow-main .card-save-bar{display:block;position:static;padding:22px;margin-top:22px;background:#fff0c8}
.joey-flow-main .card-save-bar>div{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
.joey-flow-main .card-save-bar strong{font-size:22px}
.joey-flow-main .card-save-bar span{max-width:230px;margin:0;font-size:11px}
.joey-flow-main .card-save-bar .btn{max-width:none;width:100%}
.joey-running-summary{position:sticky;top:105px;max-height:calc(100vh - 122px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border:1px solid #d2bb89;border-radius:22px;background:#fff5dd;padding:23px;box-shadow:0 13px 34px #4935160b;min-width:0}
.joey-summary-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:15px}
.joey-summary-heading .eyebrow{font-size:10px;letter-spacing:.1em;margin:0}
.joey-summary-heading #card-top-total{font-size:13px;white-space:nowrap}
.joey-preview-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;max-width:300px;margin-inline:auto}
.joey-preview-pair figure{min-width:0}
.joey-preview-pair figcaption{text-align:center;font-size:11px;font-weight:700;margin-top:7px;background:none;padding:0;color:#667056}
.joey-live-card{aspect-ratio:.78;min-width:0;max-width:150px;margin-inline:auto;display:flex;flex-direction:column;align-items:center;justify-content:space-around;gap:9px;padding:18px 10px;text-align:center;overflow:hidden;box-shadow:0 8px 14px #5b351522;transition:border-radius 250ms ease;background:#f2682a;color:#fff8e7}
.joey-live-card strong{font-size:16px;line-height:1.1;letter-spacing:-.02em;overflow-wrap:anywhere;max-width:100%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.joey-live-card small{font-size:6px;line-height:1.35;letter-spacing:.06em;font-weight:700}
.joey-live-logo{display:block;width:100%;max-width:125px;background:#1d4032;border-radius:5px;padding:6px}
.joey-live-logo img{width:100%;height:auto}
.joey-live-back{background:#eaf0df;color:#234331;border:1px solid #bccbab}
.joey-live-back .joey-back-kicker{font-size:7px;line-height:1.4;letter-spacing:.08em;font-weight:750}
.joey-live-back small{font-size:8px;line-height:1.5;letter-spacing:0}
.joey-live-back strong{font-size:17px}
.joey-live-card.rounded-top,.joey-live-card.oval{padding-top:28px}
.joey-blank-back{background:#fbfaf2}
.joey-blank-back strong{font-size:14px;font-weight:500;color:#6e7664}
.joey-preview-caption{text-align:center;font-size:10px;color:#637059;margin:12px 0 16px}
.joey-summary-lines{border-top:1px solid #decfae;margin-top:10px;padding-top:4px;max-height:220px;overflow-y:auto;scrollbar-width:thin}
.joey-summary-line{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #decfae}
.joey-summary-line .joey-mini-card{width:46px;max-width:46px;height:60px;aspect-ratio:auto;padding:7px 3px;gap:3px}
.joey-mini-card .joey-live-logo{padding:2px;border-radius:2px}
.joey-mini-card strong{font-size:6px;-webkit-line-clamp:2;line-height:1.1}
.joey-mini-card small{font-size:2px;letter-spacing:0}
.joey-summary-line>div>strong,.joey-summary-line>div>span,.joey-summary-line>div>small{display:block;overflow-wrap:anywhere}
.joey-summary-line>div>strong{font-size:13px;line-height:1.35;margin-bottom:3px}
.joey-summary-line>div>span{font-size:11px}
.joey-summary-line>div>small{font-size:10px;color:#65725d;margin:3px 0}
.joey-summary-line .joey-line-price{font-weight:800;font-size:12px;margin-top:6px}
.joey-summary-spec,.joey-price-breakdown{margin:16px 0;padding:0;font-size:11px}
.joey-summary-spec>div,.joey-price-breakdown>div{display:flex;justify-content:space-between;gap:16px;margin-bottom:7px}
.joey-summary-spec dt,.joey-price-breakdown dt{font-weight:500;flex-shrink:0;color:#5e6c56}
.joey-summary-spec dd,.joey-price-breakdown dd{margin:0;font-weight:700;text-align:right;overflow-wrap:anywhere}
.joey-price-breakdown{border-top:1px solid #decfae;padding-top:14px;font-size:12px}
.joey-estimate-total{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #d2b87f;padding-top:15px;font-size:12px}
.joey-estimate-total strong{font-size:25px;line-height:1.15;letter-spacing:-.04em;text-align:right}
.joey-price-note{font-size:10px;color:#5d6a55;margin:12px 0 17px;line-height:1.5}
.joey-running-summary>.btn{width:100%;font-size:12px;min-height:44px;padding-block:10px;background:#fffaf0}
.joey-mobile-preview{display:none}

@media(max-width:1080px){
  .joey-zone .zone-hero-grid{gap:30px}
  .joey-zone .joey-shuffle-stage{height:300px}
  .joey-flow-grid{grid-template-columns:minmax(0,1fr) 300px;gap:22px}
  .joey-stage{padding:22px}
  .joey-running-summary{padding:18px}
  .joey-shape-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .joey-shape-choice{min-height:133px}
  .joey-step-nav button{flex-direction:column;font-size:11px;gap:5px;padding:9px 3px}
  .joey-extra-options{grid-template-columns:1fr}
  .joey-extra-options label{padding:12px}
  .joey-extra-options label>span{display:flex;justify-content:space-between;gap:15px;flex:1}
  .joey-flow-main .card-save-bar>div{display:block}
  .joey-flow-main .card-save-bar span{max-width:none;margin-top:7px}
}
@media(max-width:800px){
  .joey-zone .zone-hero-grid{grid-template-columns:1fr}
  .joey-zone .zone-hero-grid>div:first-child{max-width:550px}
  .joey-zone .joey-shuffle{max-width:430px}
  .joey-flow-grid{grid-template-columns:1fr}
  .joey-running-summary{position:static;max-height:none;overflow:visible;max-width:none}
  .joey-summary-lines{max-height:none}
  .joey-summary-spec,.joey-price-breakdown{font-size:13px}
  .joey-summary-line>div>strong{font-size:15px}
  .joey-summary-line>div>span,.joey-summary-line>div>small{font-size:12px}
  .joey-price-note{font-size:12px}
  .joey-step-nav button{flex-direction:row;font-size:13px;gap:9px;padding:13px 7px}
  .joey-shape-options{grid-template-columns:repeat(4,minmax(0,1fr))}
  .joey-extra-options{grid-template-columns:repeat(3,minmax(0,1fr))}
  .joey-extra-options label>span{display:block}
  .joey-mobile-preview{display:grid;max-width:290px;margin:20px auto 28px}
}
@media(max-width:540px){
  .joey-builder-intro{display:block}
  .joey-builder-intro .btn{margin-top:18px}
  .joey-zone .joey-shuffle-stage{height:280px}
  .joey-stage{padding:22px 15px;border-radius:17px}
  .joey-stage-heading h3{font-size:26px}
  .joey-step-nav{gap:4px}
  .joey-step-nav button{flex-direction:column;padding:10px 3px;gap:6px;font-size:10px;border-radius:10px}
  .joey-step-nav button b{width:23px;height:23px}
  .joey-shape-options{gap:6px}
  .joey-shape-choice{min-height:145px;padding-top:25px}
  .joey-shape-choice strong{font-size:10px}
  .joey-shape-choice small{font-size:9px}
  .joey-shape-options input:checked+.joey-shape-choice{padding-top:24px}
  .joey-shape-options input{top:8px;left:8px;width:15px;height:15px;min-height:15px}
  .joey-shape-swatch{width:29px;height:40px}
  .joey-extra-options{grid-template-columns:1fr}
  .joey-extra-options label>span{display:flex}
  .joey-stage-actions{gap:12px}
  .joey-stage-actions>.btn{width:100%;font-size:12px;padding:13px 10px}
  .joey-stage .card-size-group{padding:16px 12px}
  .joey-stage .card-size-group .form-duo{grid-template-columns:1fr}
  .joey-stage .form-duo{grid-template-columns:1fr;row-gap:16px}
  .joey-flow-main .card-save-bar{padding:19px 16px;border-radius:17px}
  .joey-flow-main .card-save-bar strong{font-size:21px}
  .joey-flow-main .card-save-bar .btn{font-size:12px}
  .joey-running-summary{padding:22px}
  .joey-summary-heading .eyebrow{font-size:11px}
  .joey-summary-heading #card-top-total{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.joey-live-card{transition:none}}

/* Spoken review: prominent stages and explicit per-design service approval. */
.joey-builder-intro h2,.joey-stage-heading h3,.card-design-confirmation h4 {
  color:#d8470c;font-family:inherit;font-weight:900;letter-spacing:-.035em;
}
.joey-builder-intro h2{font-size:clamp(30px,3vw,38px)}
.joey-step-nav{gap:10px;margin-bottom:28px}
.joey-step-nav button{flex-direction:column;gap:10px;padding:16px 10px;font-size:22px;font-weight:850;line-height:1.15;border:2px solid #b9cbbb;border-radius:16px;min-height:132px}
.joey-step-nav button b{width:54px;height:54px;font-size:28px;border:3px solid #617563;border-radius:50%;flex-shrink:0}
.joey-step-nav button[aria-current="step"]{background:#edf8e9;border-color:#23744b;color:#17472e;box-shadow:inset 0 0 0 1px #23744b}
.joey-step-nav button[aria-current="step"] b{background:#23744b;border-color:#174e32;color:white;animation:joey-stage-glow 2.8s ease-in-out infinite}
.joey-stage-heading{display:grid;grid-template-columns:60px minmax(0,1fr);column-gap:18px;align-items:start}
.joey-stage-heading>.joey-stage-number{display:grid;place-items:center;grid-column:1;grid-row:1/4;width:60px;height:60px;border:3px solid #174e32;border-radius:50%;background:#23744b;color:white;font-size:31px;font-weight:900;line-height:1;animation:joey-stage-glow 2.8s ease-in-out infinite}
.joey-stage-heading>.eyebrow,.joey-stage-heading>h3,.joey-stage-heading>p{grid-column:2}
.joey-stage-heading>.eyebrow{margin-bottom:8px;font-size:13px}
.joey-stage-heading h3{font-size:clamp(28px,3vw,34px);line-height:1.15;margin-bottom:12px;scroll-margin-top:calc(var(--whatsapp-access-height,0px) + 115px)}
.joey-stage-heading p{font-size:16px;line-height:1.6}
#card-artwork{background:#f0e8ff;border:2px solid #9f80c8;font-size:20px;font-weight:700;line-height:1.4;padding:16px 40px 16px 16px;min-height:64px}
#card-notes{background:#fff2c5;border:2px solid #d2b760;font-size:16px;line-height:1.6;padding:16px}
#card-reference{font-size:17px;border-width:2px;background:#fcf9ff}
.card-design-confirmation{margin:22px 0;padding:24px;border:3px solid #c1a5d9;border-radius:20px;background:linear-gradient(135deg,#faf4ff,#fff6df)}
.card-design-confirmation h4{font-size:26px;line-height:1.2;margin:0 0 14px}
.card-design-confirmation>p{font-size:16px;line-height:1.6}
.design-fee-table-wrap{overflow:auto;border:1px solid #d8c6e6;border-radius:12px;background:#fffdf8;margin-top:18px}
.design-fee-table{border-collapse:collapse;width:100%;font-size:15px}
.design-fee-table caption{text-align:left;font-size:14px;font-weight:750;padding:13px 14px;color:#5b466c}
.design-fee-table th,.design-fee-table td{padding:13px 12px;border-top:1px solid #e4d8eb;text-align:right;vertical-align:top}
.design-fee-table th:first-child{text-align:left}
.design-fee-table thead{background:#eee1fb;font-size:13px}
.design-fee-table tbody td:last-child{font-size:18px;font-weight:850;color:#a33c12}
.design-fee-table tbody th small{display:block;font-size:12px;color:#65705d;font-weight:500;margin-top:5px}
.design-fee-total{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin:20px 0;font-size:18px;font-weight:750}
.design-fee-total strong{font-size:29px;color:#ad3b0b;text-align:right}
.design-fee-pending{padding:14px;border:2px solid #c69343;border-radius:12px;background:#fff1cc;font-weight:650}
.design-fee-confirm{margin-top:14px;font-size:19px;padding:15px 22px;font-weight:850;min-height:58px}
.design-fee-confirm[aria-pressed="true"]{background:#23744b;border-color:#174e32;color:#fff}
.design-fee-confirm:disabled{background:#e8e2dc;color:#655b52;cursor:not-allowed;border-color:#b9ada1;box-shadow:none}
.design-confirmation-status{font-size:14px!important;margin:14px 0 0}
.joey-stage-actions{align-items:center;gap:16px}
.joey-stage-actions>.joey-forward{margin-left:auto}
.joey-forward,.joey-flow-main .card-save-bar .joey-forward{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;max-width:100%;min-height:64px;padding:16px 22px;font-family:inherit;font-size:21px;line-height:1.25;font-weight:900;letter-spacing:-.025em;text-align:left;background:linear-gradient(115deg,#d8470c,#c83a08);border:2px solid #b63308;border-radius:16px;color:white;box-shadow:0 6px 0 #9a2b0717}
.joey-forward[aria-disabled="true"]{background:#7e6b61;border-color:#6b5c54}
.joey-next-arrow{display:inline-block;flex:0 0 auto;font-size:1.35em;line-height:1;animation:joey-next-nudge 1.8s ease-in-out infinite}
#card-review{scroll-margin-top:calc(var(--whatsapp-access-height,0px) + 120px)}
#card-review:focus{outline:3px solid #145dc1;outline-offset:4px}
@keyframes joey-stage-glow{0%,100%{box-shadow:0 0 0 0 #23744b14}50%{box-shadow:0 0 0 7px #23744b24}}
@keyframes joey-next-nudge{0%,100%{transform:translateX(-2px)}55%{transform:translateX(4px)}}
@media(max-width:800px){.joey-step-nav button{font-size:23px}.card-design-confirmation{padding:22px}}
@media(max-width:540px){
  .joey-step-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .joey-step-nav button{font-size:23px;padding:14px 8px;min-height:136px}
  .joey-stage-heading{grid-template-columns:52px minmax(0,1fr);column-gap:12px}
  .joey-stage-heading>.joey-stage-number{width:52px;height:52px;font-size:27px}
  .joey-stage-heading h3{font-size:28px}
  .joey-stage-heading p{font-size:15px}
  .card-design-confirmation{padding:18px 13px}
  .design-fee-table{font-size:13px}
  .design-fee-table th,.design-fee-table td{padding:11px 8px}
  .design-fee-table tbody td:last-child{font-size:16px}
  .design-fee-total{font-size:16px}
  .design-fee-total strong{font-size:25px}
  .joey-stage-actions>.joey-forward,.joey-flow-main .card-save-bar .joey-forward{font-size:20px;width:auto;max-width:100%;padding:15px 18px}
}
@media(prefers-reduced-motion:reduce){.joey-step-nav button[aria-current="step"] b,.joey-stage-heading>.joey-stage-number,.joey-next-arrow{animation:none}}
@media print{.joey-running-summary{position:static;max-height:none;overflow:visible}.joey-step-nav,.joey-stage-actions,.joey-shuffle-controls{display:none!important}.joey-flow-grid{display:block}}
body[data-page=joey] .joey-forward{color:#111!important;font-size:1.2em!important}
body[data-page=joey] .design-fee-confirm{color:#111!important}
body[data-page=joey] .joey-preview-pair{display:flex;flex-wrap:wrap;gap:8px}
body[data-page=joey] .joey-preview-pair figure{flex:1 1 90px;min-width:0}
