@charset "UTF-8";
:root{--paper:#f8f9f4;--white:#fffefa;--green:#163f33;--ink:#223b31;--muted:#697666;--line:#e1e6da;--lime:#dae8b7;--orange:#9a632b;--body:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC",sans-serif;--display:"Noto Serif SC","Source Han Serif SC","SimSun",serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.7 var(--body);-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #97b461;outline-offset:4px}button{border:0}svg{display:block}[hidden]{display:none!important}.shell{width:min(1180px,calc(100% - 80px));margin-inline:auto}.skip-link{position:fixed;top:-100px;left:20px;z-index:10;background:var(--green);color:#fff;padding:12px}.skip-link:focus{top:12px}.mode-bar{background:#eaf0e1;color:#526344;font-size:11px}.mode-inner{min-height:36px;display:flex;justify-content:space-between;align-items:center;gap:16px}.mode-inner>span:first-child{display:flex;gap:9px;align-items:center}.mode-inner i,.live-indicator i{height:6px;width:6px;flex:none;border-radius:50%;background:#7c964e}.mode-inner>span:last-child{font-size:10px}.header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:25px}.brand{display:flex;align-items:center;gap:9px;font-size:23px;font-weight:700;line-height:1.2;letter-spacing:1px}.brand svg{width:38px;color:var(--green)}.brand small{display:block;font:8px Georgia,serif;letter-spacing:2.1px;margin-top:5px}.header nav{display:flex;gap:32px;font-size:13px}.header nav a{position:relative;padding:12px 0;color:var(--muted)}.header nav a.current{color:var(--green);font-weight:600}.header nav .current:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:var(--green);left:calc(50% - 2.5px);bottom:1px}.address{font:13px Georgia,serif;color:#849078}.address span{margin-left:12px;font-family:var(--body)}.intro{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:54px 0 41px}.eyebrow{font:10px/1.4 Georgia,var(--body),serif;letter-spacing:1.8px;color:#748361}.intro .eyebrow{display:flex;align-items:center;gap:10px;font-family:var(--body);font-size:11px}.intro .eyebrow>span{width:24px;height:1px;background:#8a9d75}.intro h1{font:600 44px/1.45 var(--display);letter-spacing:-1px;margin:18px 0 17px}.intro h1 em{font-style:normal}.intro-copy{font-size:13px;color:var(--muted);line-height:1.95}.intro-seal{position:relative;border:1px solid #cdd8bb;border-radius:50%;width:206px;height:206px;flex-shrink:0;text-align:center;display:flex;flex-direction:column;justify-content:center;margin:0 75px 0 0;transform:rotate(-6deg);background:#f3f6e9}.intro-seal:before{content:"";position:absolute;inset:9px;border:1px dashed #d7e0c5;border-radius:50%}.intro-seal>span{font:8px Georgia,serif;letter-spacing:2.2px;color:#83966b}.intro-seal>strong{font:italic 64px/1.3 Georgia,serif;letter-spacing:-3px;color:var(--green)}.intro-seal i{font-style:normal;font-size:35px;vertical-align:top;margin-left:3px;color:#9aaf6b}.intro-seal small{font-size:9px;color:#6a7d58}.journey{list-style:none;padding:23px 0;margin:0 0 35px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.journey li{display:flex;align-items:flex-start;gap:13px}.journey li>span{font:italic 27px/1.3 Georgia,serif;color:#b0bc9a}.journey strong{display:block;font-size:12px;font-weight:600}.journey small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.panel{background:var(--white);border:1px solid var(--line);border-radius:21px;padding:29px 30px;box-shadow:0 14px 35px -32px #25492b50;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.panel-heading .eyebrow{font-size:9px;letter-spacing:1.6px}.chip{border-radius:5px;background:#f0f4e8;border:1px solid #e0e7d4;color:#67794e;font-size:10px;padding:3px 8px;white-space:nowrap}.chip.live{background:#e7f1e9;color:var(--green)}.panel h2{font-size:23px;font-weight:600;letter-spacing:-.4px}.section-copy{font-size:12px;color:var(--muted);margin:8px 0 22px;line-height:1.8}.plan-choice{display:flex;align-items:center;gap:12px;background:#f3f7eb;border:1.5px solid #6d8a56;border-radius:12px;padding:15px 16px}.plan-tick{width:20px;height:20px;border-radius:50%;background:var(--green);color:#fff;font-size:12px;display:grid;place-items:center;flex:none}.plan-choice strong{display:block;font-size:14px;font-weight:600}.plan-choice small{display:block;color:#6e8059;font-size:10px;margin-top:3px}.plan-label{margin-left:auto;font-size:10px;color:#637b4f}.field-label{display:block;font-size:12px;font-weight:600;margin:20px 0 9px}.field-label>span{font:11px Georgia,serif;color:#7b886e;margin-left:4px}select,textarea{width:100%;border:1px solid #dbe2d2;border-radius:9px;background:#fffefb;color:var(--ink);padding:12px 13px;max-width:100%}select{height:47px}textarea{display:block;resize:vertical;min-height:136px;font:12px/1.8 Consolas,"Microsoft YaHei UI",monospace;overflow-wrap:anywhere}textarea::placeholder{color:#8a957e;font-size:11px}select:disabled,textarea:disabled{background:#f5f6ef}.label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;margin-bottom:9px}.label-row .field-label{margin:0}.text-button{padding:4px 0;background:transparent;color:#607c45;font-size:10px;white-space:nowrap}.text-button:hover{text-decoration:underline}.field-note{font-size:10px;line-height:1.8;color:#708062;margin-top:9px}.consent{display:flex;align-items:flex-start;gap:9px;color:#66745d;font-size:11px;line-height:1.8;margin:21px 0 18px;cursor:pointer}.consent input{accent-color:var(--green);height:15px;width:15px;flex:none;margin:3px 0 0}.primary-button{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 19px;background:var(--green);color:#f5f8ee;font-size:13px;font-weight:500;border-radius:9px;width:100%;transition:background .18s,transform .18s}.primary-button:hover:not(:disabled){background:#285642;transform:translateY(-1px)}.primary-button>span:last-child{font-size:20px;line-height:1}.button-note{text-align:center;font-size:10px;color:#718060;margin:10px 0 0}.card-details{margin-top:23px;padding-top:15px;border-top:1px solid var(--line)}summary{cursor:pointer}.card-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#5c7150}.card-details>summary::-webkit-details-marker{display:none}.card-details>summary>span:last-child{font-size:17px;color:#8b9b77}.card-details[open]>summary>span:last-child{transform:rotate(45deg)}.card-details>div{font-size:11px;color:#6c7b5e;line-height:1.9;padding-top:12px}.card-details p+p{margin-top:8px}.card-details strong{font-weight:500;color:#38543c}.config-notice{padding:13px 15px;border:1px solid #e3d9b8;background:#faf6e9;border-radius:8px;margin-bottom:19px;font-size:11px;color:#776232}.config-notice strong{font-weight:600}.config-notice p{margin-top:4px;white-space:pre-line;overflow-wrap:anywhere}.error-message{font-size:11px;color:#a84936;padding:10px 12px;background:#fff1ea;border:1px solid #f0d9ce;border-radius:7px;margin:10px 0 14px;line-height:1.8;overflow-wrap:anywhere}.retry-panel{border:1px solid #dfd2ae;background:#f8f3e4;border-radius:10px;margin-top:18px;padding:16px;color:#76602f;font-size:11px}.retry-panel strong{font-weight:600}.retry-panel p{margin:4px 0 13px}.retry-panel .secondary-button{background:#fffaf0}.live-indicator{display:inline-flex;gap:7px;align-items:center;font-size:10px;color:#738367}.progress-panel{min-height:606px}.progress-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:62px 15px 55px}.empty-art{position:relative;width:102px;height:115px;margin-bottom:24px}.empty-art:before{content:"";position:absolute;inset:6px 10px;border:1px solid #d9e1ca;border-radius:17px;background:#e7edd8;transform:rotate(-10deg)}.empty-art>span{position:absolute;inset:0;border:1px solid #d5dec4;border-radius:17px;background:#f3f6e9;transform:rotate(8deg);font:67px/113px Georgia,serif;color:#9bb373}.empty-art>i{position:absolute;right:-13px;bottom:9px;background:#fffef8;border:1px solid #dae2cc;color:#799c56;width:36px;height:36px;border-radius:11px;font-style:normal;line-height:34px;font-size:22px;transform:rotate(-7deg)}.progress-empty h3{font-family:var(--display);font-weight:600;font-size:19px;margin-bottom:9px}.progress-empty p{font-size:12px;line-height:1.9;color:#7d896f}.empty-caption{font:8px Georgia,serif;letter-spacing:2.2px;color:#a0ad8c;margin-top:29px}.order-meta{display:flex;justify-content:space-between;gap:12px;color:#81906f;font-size:9px;margin:20px 0 12px;flex-wrap:wrap;overflow-wrap:anywhere}.result-card{padding:21px 23px;background:#f0f5e6;border:1px solid #e0e8d2;border-radius:13px}.status-chip{font-size:9px;letter-spacing:.4px;color:#5e764b;border:1px solid #d5e0c4;border-radius:4px;display:inline-block;padding:2px 6px}.result-card h3{font-size:24px;font-family:var(--display);font-weight:600;margin:9px 0 7px;letter-spacing:.4px}.result-card p{font-size:11px;color:#6d7e5d;line-height:1.85;min-height:38px;overflow-wrap:anywhere}.progress-track{height:5px;border-radius:5px;overflow:hidden;background:#dce6cf;margin:17px 0 6px}.progress-track>span{height:100%;display:block;width:0;background:#809d55;border-radius:5px;transition:width .5s ease}.progress-caption{font-size:9px;color:#80956a;display:block;text-align:right}.result-card.attention{background:#faf4e4;border-color:#e8dcc0}.result-card.attention .status-chip{color:#8e7032;border-color:#decca4}.result-card.attention p,.result-card.attention .progress-caption{color:#8a754a}.result-card.attention .progress-track{background:#e9dfc5}.result-card.attention .progress-track>span{background:#b49653}.result-card.failed{background:#fbf1eb;border-color:#eddccd}.result-card.failed .status-chip{color:#976144;border-color:#e8d0bd}.result-card.failed p,.result-card.failed .progress-caption{color:#917058}.result-card.failed .progress-track{background:#ead9ca}.result-card.failed .progress-track>span{background:#b37c59}.timeline{list-style:none;padding:0;margin:25px 0 8px}.timeline li{position:relative;display:flex;gap:14px;padding-bottom:23px}.timeline li:before{content:"";position:absolute;top:23px;bottom:0;left:10px;width:1px;background:#e0e6d6}.timeline li:last-child{padding-bottom:4px}.timeline li:last-child:before{display:none}.timeline-dot{width:21px;height:21px;border:1px solid #dce3cf;border-radius:50%;display:grid;place-items:center;font:10px Georgia,serif;background:#fafbf6;color:#a3b28b;z-index:1;flex:none}.timeline strong{font-size:12px;font-weight:500;color:#8b987a;display:block;line-height:1.7}.timeline small{display:block;font-size:10px;color:#9aa78a;margin-top:3px}.timeline .done .timeline-dot{background:#e5efda;border-color:#e5efda;color:#66834a}.timeline .done strong{color:#516b44}.timeline .current .timeline-dot{background:var(--green);border-color:var(--green);color:#fff}.timeline .current strong{color:var(--green);font-weight:600}.timeline .current small{color:#788f61}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #d4dec6;border-radius:8px;background:transparent;color:#536d42;padding:11px 16px;font-size:11px}.secondary-button:hover:not(:disabled){background:#edf3e3}.reconcile-button{width:100%;margin-top:15px}.event-details{margin-top:22px;padding-top:15px;border-top:1px solid var(--line);font-size:10px;color:#748365}.event-details summary{width:max-content;max-width:100%}.event-details ol{margin:12px 0 0;padding-left:15px}.event-details li{margin-bottom:9px;overflow-wrap:anywhere}.event-details time{font-size:9px;color:#8c9a7c;margin-right:8px}.orders-section{padding-top:49px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.section-heading h2{font-family:var(--display);font-size:27px;font-weight:600;letter-spacing:.3px;margin-top:8px}.section-heading .compact{padding:8px 12px;font-size:10px}.orders-section>.section-copy{margin:11px 0 20px;font-size:11px}.orders-list{border:1px solid var(--line);border-radius:13px;background:var(--white);overflow:hidden}.orders-empty{padding:27px;text-align:center;color:#859375;font-size:12px}.order-row{padding:19px 23px;display:grid;grid-template-columns:1.5fr .8fr .9fr auto;gap:18px;align-items:center;border-bottom:1px solid var(--line);font-size:11px}.order-row:last-child{border-bottom:0}.order-row.selected{background:#f6f9ef}.order-row strong{font-size:12px;font-weight:500;display:block}.order-row small{display:block;font-size:9px;color:#81916f;margin-top:4px;overflow-wrap:anywhere}.order-row>span{color:#6b7f59}.order-row .order-state{color:#526c3c}.order-row .order-state.attention{color:#947136}.order-row .order-state.failed{color:#a76b44}.order-row button{background:#eef3e5;border-radius:6px;padding:8px 12px;font-size:10px;color:#5d7648;white-space:nowrap}.order-row button:hover{background:#e1eacc}.quiet-note{margin:35px 0 48px;border:1px solid #e3e7d7;border-radius:13px;padding:19px 24px;display:flex;gap:18px;align-items:center;color:#6d7e5a;background:#f1f4e8}.quiet-note>span{font-size:28px;color:#82975f}.quiet-note h3{font-size:12px;font-weight:500;margin-bottom:3px}.quiet-note p{font-size:10px;color:#7c8a6c}.footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:27px 0 32px;gap:30px;color:#8b977d}.footer-brand{font-size:18px;font-weight:600;color:#788969}.footer-brand small{font-size:9px;font-weight:400;display:block;letter-spacing:1px;margin-top:2px}.footer p{font-size:9px;text-align:center;line-height:1.9}.footer a{font-size:10px}.notification{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 36px);padding:12px 19px;background:var(--green);box-shadow:0 8px 20px #153b3224;color:#f1f6e8;border-radius:9px;font-size:11px;z-index:20;text-align:center;overflow-wrap:anywhere}
@media(min-width:1200px){.intro h1{font-size:48px}.workspace{gap:33px}.panel{padding:30px 34px}.form-panel{padding-bottom:24px}}
@media(max-width:900px){.shell{width:calc(100% - 48px)}.address{display:none}.intro-seal{margin-right:20px;width:170px;height:170px}.intro-seal>strong{font-size:54px}.intro h1{font-size:39px}.journey{gap:15px}.journey li{gap:9px}.journey li>span{font-size:23px}.journey strong{font-size:11px}.journey small{font-size:9px}.workspace{gap:20px}.panel{padding:24px 23px}.panel h2{font-size:21px}.field-label>span{display:block;margin:1px 0 0}.label-row{align-items:flex-end}.plan-choice{padding:13px}.progress-panel{min-height:580px}.order-row{gap:13px;padding:18px 20px}}
@media(max-width:680px){.shell{width:calc(100% - 36px)}.mode-inner{min-height:38px;font-size:10px}.mode-inner>span:last-child{display:none}.header{height:81px;gap:15px}.brand{font-size:20px;gap:7px}.brand svg{width:31px}.brand small{font-size:6px}.header nav{gap:21px;font-size:11px}.intro{padding:31px 0 25px;gap:15px;align-items:flex-start}.intro h1{font-size:32px;margin:15px 0 12px;letter-spacing:-.7px}.intro .eyebrow{font-size:10px;letter-spacing:1px}.intro-copy{font-size:11px;line-height:1.9;max-width:320px}.intro-seal{display:none}.journey{grid-template-columns:1fr 1fr;gap:18px 22px;margin-bottom:24px;padding:20px 0}.journey li{gap:11px}.journey li>span{font-size:26px}.journey strong{font-size:11px}.journey small{font-size:9px}.workspace{grid-template-columns:1fr;gap:21px}.panel{padding:24px 23px;border-radius:17px}.panel h2{font-size:23px}.panel-heading .eyebrow{font-size:8px}.section-copy{font-size:11px}.field-label{font-size:12px}.field-label>span{display:inline;margin-left:4px}.label-row{align-items:center}.text-button{font-size:10px}.primary-button{padding:17px 19px}.field-note{font-size:10px}.consent{font-size:11px}.progress-panel{min-height:0}.progress-empty{padding:42px 15px 29px}.progress-empty p{font-size:11px}.empty-art{width:86px;height:96px;margin-bottom:23px}.empty-art>span{line-height:94px;font-size:60px}.empty-art>i{right:-9px;bottom:4px}.empty-caption{margin-top:25px}.progress-empty h3{font-size:18px}.order-meta{font-size:9px}.result-card{padding:19px 20px}.result-card h3{font-size:23px}.result-card p{font-size:11px}.orders-section{padding-top:35px}.section-heading h2{font-size:21px}.section-heading .eyebrow{font-size:9px}.section-heading{gap:10px}.section-heading .compact{font-size:10px;padding:8px 10px}.orders-section>.section-copy{font-size:10px;margin-bottom:17px}.order-row{grid-template-columns:1fr auto;padding:17px 18px;gap:7px 15px}.order-row>span:nth-child(2){display:none}.order-row>div:first-child{grid-column:1;grid-row:1/3}.order-row .order-state{font-size:10px;grid-column:2;grid-row:1;text-align:right}.order-row button{grid-column:2;grid-row:2;padding:6px 9px;font-size:9px}.order-row strong{font-size:11px}.order-row small{font-size:9px;max-width:180px}.quiet-note{margin:25px 0 31px;padding:17px 18px;gap:13px;align-items:flex-start}.quiet-note>span{font-size:24px;line-height:1.3}.quiet-note h3{font-size:11px}.quiet-note p{font-size:10px;line-height:1.9}.footer{padding:22px 0 27px;gap:12px}.footer-brand{font-size:17px}.footer-brand small{font-size:8px;letter-spacing:0}.footer p{font-size:8px;text-align:right}.footer a{display:none}}
@media(max-width:360px){.shell{width:calc(100% - 26px)}.header nav{gap:13px}.brand{font-size:18px}.brand svg{width:27px}.intro h1{font-size:29px}.panel{padding:22px 18px}.field-label>span{display:block;margin:0}.label-row{align-items:flex-end}.journey{gap:17px 12px}.journey li{gap:8px}.journey small{font-size:8px}.section-heading h2{font-size:19px}.order-row{padding:15px}.order-row small{max-width:155px}.desktop-break{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.upstream-details #upstream-failure-reason{text-align:left;white-space:pre-wrap;color:#946e53}
.manual-card-info small{overflow-wrap:anywhere}
/* Existing card selection keeps the explicit prepare / confirm boundary. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.card-source-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:0;margin:0 0 15px;min-width:0}
.card-source-options .plan-option>span{padding:12px 9px}.card-source-options small{display:block;font-size:9px;font-weight:400;margin-top:3px;color:#81916f}
.manual-cards{border:1px solid #dce5ce;border-radius:11px;background:#f6f8ee;padding:14px;margin:0 0 16px}.manual-cards-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.manual-cards-heading>strong{font-size:12px;font-weight:600;color:#4c6540}.manual-cards-heading .text-button{font-size:10px;padding:0;white-space:nowrap}.manual-card-status{font-size:10px;line-height:1.8;color:#7b896b;margin:10px 0 0}.manual-card-status.invalid{color:#9b6546}.manual-card-list{display:grid;gap:8px;margin-top:11px}.manual-card-list:empty{margin:0}.manual-card{border:1px solid #dce3d0;border-radius:8px;background:#fffefa;padding:11px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.manual-card.selected{border-color:#718e53;box-shadow:inset 0 0 0 .5px #718e53;background:#f0f5e6}.manual-card.unavailable{background:#f4f4ed}.manual-card-info{min-width:0}.manual-card-info strong{font:12px Consolas,monospace;color:#4f6841;display:block}.manual-card-info small{display:block;color:#899479;font-size:9px;line-height:1.7;margin-top:3px}.manual-card-balance{text-align:right;color:#496640;font-size:12px;line-height:1.5}.manual-card-balance small{display:block;color:#929d82;font-size:9px;margin-bottom:2px}.manual-card-availability{color:#67864d;font-size:10px;line-height:1.7;align-self:center;overflow-wrap:anywhere}.manual-card.unavailable .manual-card-availability{color:#90765b}.manual-card button{padding:6px 11px;background:#e9f0df;border:1px solid #d5e0c5;border-radius:6px;font-size:10px;color:#496c38;align-self:center;white-space:nowrap}.manual-card button:disabled{color:#949b87;background:#eeefe7;border-color:#e1e3d8}.manual-card.selected button{background:var(--green);color:#fff;border-color:var(--green)}.recovery-button{width:100%;margin-bottom:12px;background:#f1f6e7}
.upstream-section{margin-top:18px;border:1px solid #dfe7d3;border-radius:11px;padding:17px 19px;background:#f8faf3}.upstream-section h3{font-size:14px;font-weight:600;color:var(--green);margin:0}.upstream-note{font-size:10px;color:#758667;line-height:1.9;margin:8px 0 0}.upstream-details.execution-details{font-size:10px;margin-top:12px;padding-top:12px}.upstream-history{margin-top:16px;padding-top:13px;border-top:1px solid var(--line)}.upstream-history h4{font-size:12px;font-weight:600;color:#546d43;margin:0}.upstream-history>p{font-size:9px;color:#8a987c;margin:5px 0 11px}.upstream-history ol{list-style:none;margin:0;padding:0;max-height:280px;overflow:auto;overscroll-behavior:contain}.upstream-history li{position:relative;padding:0 0 13px 12px;margin-left:3px;border-left:1px solid #dae3cb;overflow-wrap:anywhere}.upstream-history li:last-child{padding-bottom:1px}.upstream-history li:before{content:'';position:absolute;left:-3px;top:4px;width:5px;height:5px;border-radius:50%;background:#96ac75}.upstream-history time{display:block;font-size:9px;color:#8a987c;margin-bottom:4px}.upstream-history strong{display:block;font-size:11px;font-weight:500;color:#526e42;line-height:1.7}.upstream-history li span{display:block;font-size:10px;color:#7b8d6a;line-height:1.8;margin-top:2px}.upstream-history .upstream-empty{border:0;padding:0;color:#89957b;font-size:10px;line-height:1.8;margin:0}.upstream-history .upstream-empty:before{display:none}.local-flow-heading{font-size:10px;color:#859477;letter-spacing:.4px;margin:23px 0 0}.local-flow-heading+.timeline{margin-top:13px}
@media(max-width:360px){.manual-cards{padding:11px}.manual-card{padding:10px;gap:7px}.manual-card-balance{font-size:11px}.card-source-options{gap:8px}.card-source-options small{font-size:8px}}
/* Sequential activation form: verify, configure, prepare, then explicitly confirm. */
.intro{padding:36px 0 30px}.intro h1{font-size:38px;line-height:1.4;margin:14px 0 11px}.intro-note{display:flex;align-items:center;gap:16px;color:#6e8058;margin-right:16px}.intro-note>span{font-size:40px;color:#92a86d}.intro-note strong{font-family:var(--display);font-size:19px;font-weight:600;display:block}.intro-note small{font-size:10px;color:#8a9877;display:block;margin-top:6px}.workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px}.progress-panel{position:sticky;top:24px;min-height:0;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain}.form-panel>.section-copy{margin-bottom:21px}.step{margin:0;padding:0;border:0;min-width:0}.step+.step,.step+form,form+.step{margin-top:23px}#activation-form{margin-top:23px}.step-heading{display:flex;align-items:center;gap:8px;padding:0;margin:0 0 10px;font-size:13px;font-weight:600;line-height:1.7}.step-heading>span{font:italic 13px Georgia,serif;color:#9cac7e;margin-right:2px}.step-heading>b{font-weight:400;color:#b7784e;font-size:13px}.verification-row{display:flex;gap:10px}.verification-row input{min-width:0;flex:1;border:1px solid #dbe2d2;border-radius:9px;background:#fffefb;color:var(--ink);padding:12px 13px;height:47px;font-size:12px}.verification-row input::placeholder{color:#8a957e;font-size:11px}.verification-row input:disabled{background:#f5f6ef}.verification-row button{min-width:65px;background:#edf3e4;padding:10px 15px}.help-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:8px}.help-row .field-note{margin:0}.help-row .text-button{padding:0;line-height:1.8}.verification-result{font-size:11px;color:#548447;line-height:1.8;margin-top:10px;background:#f1f7e9;border-radius:7px;padding:9px 11px}.verification-result.invalid{color:#9e6940;background:#fff4e8}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.plan-option,.region-option{position:relative;display:block;cursor:pointer;min-width:0}.plan-option input,.region-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.plan-option>span,.region-option>span{display:block;text-align:center;border:1px solid #dfe5d5;border-radius:9px;background:#fffefa;padding:11px 8px;font-size:12px;color:#6c7d5c;line-height:1.6;font-weight:600;transition:background .15s,border-color .15s}.plan-option input:checked+span,.region-option input:checked+span{border-color:#68844f;background:#edf4e1;color:#315b36;box-shadow:inset 0 0 0 .5px #68844f}.plan-option input:focus-visible+span,.region-option input:focus-visible+span{outline:3px solid #97b461;outline-offset:3px}.plan-option input:disabled+span,.region-option input:disabled+span{opacity:.65;cursor:not-allowed}.region-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.region-option>span{font-size:11px;padding:11px 5px 9px}.region-option small{display:block;font:10px Georgia,serif;color:#91a078;margin-top:2px}.region-option input:checked+span small{color:#68884d}.label-row{margin:0 0 9px;align-items:center}.label-row .step-heading{margin:0}.before-input{margin:0 0 10px}textarea{min-height:132px}.card-grid{display:grid;grid-template-columns:1.6fr 1fr 1.1fr;gap:9px}.card-grid>div{min-width:0;background:#f6f8f0;border:1px solid #e0e6d5;border-radius:9px;padding:10px 12px}.card-grid>div>span{display:block;font-size:9px;color:#8b9977;margin-bottom:3px}.card-grid strong{display:block;font-size:11px;font-weight:500;color:#6a7e56;overflow-wrap:anywhere}.card-grid .card-number strong{font-family:Consolas,monospace;font-size:12px;letter-spacing:1px}.prepare-button{width:100%;background:#eff4e5;justify-content:space-between;padding:13px 17px;border-color:#cbd9b9;color:#365d34;font-size:12px}.prepare-button>span:last-child{font-size:17px}.plan-notice{margin-bottom:13px;font-size:11px}.payment-step .consent{margin:16px 0 15px}.confirm-step{padding-top:21px;margin-top:23px;border-top:1px solid var(--line)}.confirm-step .step-heading{margin-bottom:7px}.confirm-step .before-input{margin-bottom:13px}.new-order{display:block;margin:14px auto 0;font-size:11px;padding:3px}.result-card{margin-top:21px;padding:21px 23px}.result-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.result-top>strong{font-size:17px;line-height:1.5;font-weight:600;letter-spacing:-.3px}.result-card>p{min-height:0;font-size:11px;line-height:1.9}.result-card .progress-track{margin-top:16px}.status-chip{font-size:8px;white-space:nowrap;background:#e8efd9}.execution-details{margin:15px 0 0;border-top:1px solid #dbe5cb;padding-top:12px;font-size:11px}.execution-details>div{display:grid;grid-template-columns:65px 1fr;gap:14px;margin-bottom:7px;line-height:1.8}.execution-details>div:last-child{margin-bottom:0}.execution-details dt{color:#8a9b71}.execution-details dd{margin:0;text-align:right;color:#5e7649;overflow-wrap:anywhere}.progress-empty{padding:37px 15px 18px}.progress-empty .empty-art{width:79px;height:87px;margin-bottom:21px}.progress-empty .empty-art>span{font-size:55px;line-height:86px}.progress-empty .empty-art>i{width:30px;height:30px;font-size:19px;line-height:29px;right:-8px;bottom:3px}.progress-empty h3{font-size:17px}.progress-empty p{font-size:11px}.order-meta{margin:20px 0 12px}.timeline{margin-top:19px}.orders-section{padding-top:43px}.result-card.attention .execution-details{border-color:#e5d8b7}.result-card.attention .execution-details dd{color:#8b713c}.result-card.failed .execution-details{border-color:#ead7c8}.result-card.failed .execution-details dd{color:#946e53}
@media(max-width:900px){.intro h1{font-size:33px}.intro-note{display:none}.workspace{gap:21px}.verification-row{gap:8px}.verification-row button{min-width:56px;padding:10px 12px}.help-row{display:block}.help-row .text-button{margin-top:4px}.step-heading{font-size:12px}.card-grid{gap:6px}.card-grid>div{padding:9px 8px}.card-grid .card-number strong{font-size:11px;letter-spacing:0}.result-card{padding:19px}.result-top>strong{font-size:16px}.label-row .text-button{font-size:9px}.plan-option>span{font-size:11px}.region-option>span{font-size:10px}.region-option small{font-size:9px}.progress-panel{top:18px;max-height:calc(100dvh - 36px)}}
@media(max-width:680px){.intro{padding:29px 0 25px}.intro h1{font-size:31px;margin:12px 0 11px}.intro-copy{font-size:11px;max-width:100%}.workspace{grid-template-columns:1fr;gap:21px}.progress-panel{position:static;max-height:none;overflow:visible}.step-heading{font-size:12px}.verification-row button{min-width:66px}.help-row{display:flex}.help-row .text-button{margin-top:0}.plan-option>span{font-size:12px;padding:12px 8px}.region-option>span{font-size:11px;padding:11px 5px}.region-option small{font-size:10px}.label-row .text-button{font-size:10px}.card-grid>div{padding:10px 11px}.card-grid{gap:8px}.card-grid .card-number strong{font-size:12px;letter-spacing:.5px}.result-top>strong{font-size:17px}.execution-details>div{grid-template-columns:65px 1fr}.progress-empty{padding-top:36px}.orders-section{padding-top:35px}.step+.step{margin-top:22px}}
@media(max-width:360px){.intro h1{font-size:28px}.help-row{display:block}.help-row .text-button{margin-top:4px}.plan-grid{gap:7px}.plan-option>span{font-size:11px}.region-grid{gap:7px}.region-option>span{font-size:10px}.card-grid{grid-template-columns:1.35fr 1fr 1.15fr;gap:6px}.card-grid>div{padding:9px 8px}.card-grid .card-number strong{font-size:11px}.card-grid strong{font-size:10px}.result-top{gap:8px}.result-top>strong{font-size:16px}}

/* Session input scrolling */
#session-json {
  height: 200px;
  min-height: 132px;
  max-height: 440px;
  overflow-y: scroll;
  overflow-x: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #8b9e73 #eef2e7;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
#session-json::-webkit-scrollbar { width: 12px; }
#session-json::-webkit-scrollbar-track { background: #eef2e7; border-radius: 8px; }
#session-json::-webkit-scrollbar-thumb { background: #8b9e73; border: 2px solid #eef2e7; border-radius: 8px; }
#session-json::-webkit-scrollbar-thumb:hover { background: #647c4e; }

.session-email { margin: 10px 0 0; color: #355b3b; font-size: 12px; line-height: 1.8; font-weight: 600; overflow-wrap: anywhere; }
.history-read-only { margin: 16px 0; padding: 14px 16px; border: 1px solid #dce5d2; border-radius: 12px; background: #f2f5eb; color: #355b3b; }
.history-read-only p { margin: 0 0 10px; font-size: 13px; line-height: 1.7; }
.order-row .order-read-only { color: #597247; }
.receipt-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.receipt-heading h3 { margin: 6px 0 15px; font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--green); }
.receipt-empty { padding: 18px; border: 1px dashed #d5ddc6; border-radius: 12px; color: #78876a; background: #fafbf5; font-size: 12px; }
.receipt-card { overflow: hidden; border: 1px solid #dfe5d3; border-radius: 12px; background: #fffdf6; }
.receipt-kind { padding: 13px 16px; color: #e4edcf; background: var(--green); font-size: 12px; font-weight: 600; }
.receipt-fields { margin: 0; padding: 5px 16px; }
.receipt-fields>div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid #e9edde; font-size: 11px; }
.receipt-fields>div:last-child { border-bottom: 0; }
.receipt-fields dt { color: #77866b; }
.receipt-fields dd { margin: 0; text-align: right; color: #284734; overflow-wrap: anywhere; }
.receipt-timezone { padding: 0 16px 12px; font-size: 10px; color: #829171; }
.receipt-privacy { display: flex; align-items: center; gap: 8px; margin: 15px 0; font-size: 12px; color: #627752; }
.receipt-privacy input { accent-color: var(--green); width: 15px; height: 15px; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.receipt-download { display: inline-flex; align-items: center; justify-content: center; }
.receipt-preview { margin: 18px 0 0; }
.receipt-preview img { display: block; width: 100%; height: auto; border-radius: 9px; border: 1px solid #dfe5d3; box-shadow: 0 8px 22px #163f3310; }
.receipt-preview figcaption { margin-top: 8px; color: #7c8c6c; font-size: 10px; line-height: 1.8; }
/* Keep the result and receipt in page flow; nested scrolling can clip the PNG. */
.progress-panel { position: static; top: auto; max-height: none; overflow: visible; overscroll-behavior: auto; }
.security-verification { margin: 18px 0; padding: 18px; border: 1px solid #dfcfa1; border-left: 4px solid #8d7439; border-radius: 12px; background: #fbf8ec; }
.security-verification h3 { margin-bottom: 9px; color: #5f542f; font-size: 17px; }
.security-verification p { margin: 8px 0; color: #76694c; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.security-verification .verification-countdown { color: #795825; font-weight: 700; font-variant-numeric: tabular-nums; }
.security-verification .primary-button { margin-top: 12px; font-size: 13px; }
.security-verification .verification-status { margin-bottom: 0; font-size: 11px; }

/* Customer supplied payment card fields. */
.customer-card-fields { border:0; padding:0; margin:0 0 18px; min-width:0; }
.customer-card-fields input { width:100%; box-sizing:border-box; margin-top:8px; }
.customer-card-label { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.customer-card-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:14px; }
.customer-card-fields label { font-size:13px; font-weight:600; }
.customer-card-fields:disabled { opacity:.65; }
@media(max-width:420px) { .customer-card-label { align-items:flex-start; flex-direction:column; gap:4px; } .customer-card-row { gap:10px; } }

.customer-card-fields input { min-height:46px; border:1px solid var(--line); border-radius:9px; background:#fff; padding:10px 12px; color:var(--ink); }
body[data-experience="customer"] .session-plan-instructions { margin:0 0 12px; padding:12px 14px; border:1px solid #dfe7d2; border-radius:9px; background:#f5f8ef; color:#526d48; font-size:12px; line-height:1.85; overflow-wrap:anywhere; }
body[data-experience="customer"] .session-plan-instructions p { margin:0; }
body[data-experience="customer"] .session-plan-instructions p+p { margin-top:6px; }
body[data-experience="customer"] .session-plan-instructions a { color:#315b36; text-decoration:underline; text-underline-offset:3px; }
body[data-experience="customer"] .codex-quantity-fields { margin-top:14px; }
body[data-experience="customer"] .codex-quantity-fields label { display:block; font-size:12px; font-weight:600; margin-bottom:7px; }
body[data-experience="customer"] .codex-quantity-fields select,
body[data-experience="customer"] .codex-quantity-fields input { width:100%; min-height:44px; box-sizing:border-box; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:#fffefa; color:var(--ink); font:inherit; }
body[data-experience="customer"] #credit-quantity-custom-field { margin-top:12px; }
body[data-experience="customer"] .codex-quantity-fields :disabled { opacity:.65; }
body[data-experience="customer"] #codex-auto-region { grid-column:1 / -1; }

body[data-experience="customer"] .customer-upgrade-options { border:0; padding:0; margin:18px 0 0; min-width:0; }
body[data-experience="customer"] .customer-upgrade-options legend { font-size:13px; font-weight:600; margin-bottom:9px; }
body[data-experience="customer"] .upgrade-mode-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
body[data-experience="customer"] .same-card-note { padding:14px 16px; border:1px solid var(--line); border-radius:10px; background:#f4f8ed; color:#617750; font-size:12px; line-height:1.9; }
body[data-experience="customer"] .step-heading strong { font-size:inherit; font-weight:inherit; }

/* Local Session file import shares the same controls on both experiences. */
.session-import-controls { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 9px; }
.session-import-controls .secondary-button { min-height:44px; min-width:44px; padding:10px 14px; font-size:12px; line-height:1.6; white-space:normal; }
.session-import-controls .session-import-button { background:#edf4e1; border-color:#c8d8b4; color:#315b36; font-weight:600; }
.session-import-help { margin-top:0; }
.session-import-privacy { margin:6px 0 12px; color:#526d48; }
.session-import-summary { min-width:0; margin:12px 0 0; padding:12px 14px; border:1px solid #d6e3c7; border-radius:9px; background:#f1f7e9; color:#355b3b; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.session-import-summary p+p { margin-top:4px; }
#session-file-name { font-weight:600; overflow-wrap:anywhere; word-break:normal; }
#session-file-status { color:#617750; font-size:11px; }
.session-import-error { margin:10px 0; }
.session-raw-toggle { min-height:44px; min-width:44px; max-width:100%; padding:10px 0; text-align:left; font-size:12px; line-height:1.6; white-space:normal; }
.session-raw-panel { min-width:0; }
.session-raw-panel .field-note { margin-bottom:0; }
@media(max-width:680px) {
  #session-fieldset textarea { font-size:16px; }
  #session-fieldset textarea::placeholder { font-size:14px; }
  .session-import-controls { gap:8px; }
  .session-import-controls .secondary-button { flex:1 1 auto; }
}

.account-preflight{padding:20px 0;border-top:1px solid var(--line,#ddd)}.preflight-actions{display:flex;gap:8px;flex-wrap:wrap}.account-preflight pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;max-height:300px;overflow:auto}#team-fields{display:grid;gap:8px}#team-fields[hidden]{display:none}

body[data-experience="admin"] .admin-account-query { padding:14px 0; }
body[data-experience="admin"] .admin-account-query > summary { color:var(--muted); font-size:12px; font-weight:500; }
body[data-experience="admin"] .admin-account-query .preflight-actions { margin-top:10px; }

#team-fields input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #dedfd3;border-radius:9px;background:#fffef9;color:#193f31;font:inherit}#team-fields input:disabled{background:#f3f3ec;color:#7a857a}@media(max-width:680px){.region-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preflight-actions .secondary-button{flex:1 1 140px}.account-preflight pre{font-family:inherit}}
