:root{color-scheme:light;--ink:#172e2a;--muted:#64736e;--line:#dfe7e2;--paper:#fff;--ground:#f3f6f2;--accent:#17684f;--accent-hover:#11513d;--soft:#e8f3ec;--warn:#81551c;--radius:18px;font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.6}
*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--ink)}a{color:var(--accent)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}input:disabled,select:disabled,textarea:disabled{background:#f4f5f3;color:var(--muted)}[hidden]{display:none!important}fieldset{border:0;padding:0;margin:0;min-width:0}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.9rem,3.6vw,2.8rem);line-height:1.22;letter-spacing:-.035em}h2{font-size:1.2rem;line-height:1.4}h3{font-size:1rem}p+p{margin-top:10px}button:focus-visible,a:focus-visible{outline:3px solid #82b9a1;outline-offset:3px}.site-header{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:26px 32px;border-bottom:1px solid var(--line);gap:20px}.brand{text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:12px;font-size:1.25rem;font-weight:800;letter-spacing:.03em}.brand-mark{display:grid;place-items:center;color:#fff;background:var(--accent);width:40px;height:40px;border-radius:12px;font-size:1.6rem;line-height:1}.brand small{font-size:.88rem;font-weight:500;letter-spacing:0;margin-left:8px;color:var(--muted)}.header-note,.header-link{color:var(--muted);font-size:.85rem}.header-link{text-decoration:none}.shell{max-width:1200px;margin:0 auto;padding:38px 32px 22px}.intro{margin-bottom:28px}.intro>p:last-child{margin-top:14px;color:var(--muted);max-width:720px}.eyebrow,.step-label{font-size:.72rem;font-weight:750;letter-spacing:.12em;color:var(--accent);margin-bottom:8px}.progress{padding:0;margin:0 0 30px;list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.progress li{display:flex;align-items:center;gap:10px;color:var(--muted);padding:11px 12px;border-bottom:2px solid var(--line);font-size:.9rem}.progress li>span{width:27px;height:27px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:.8rem;background:var(--paper)}.progress li.active{color:var(--accent);border-color:var(--accent);font-weight:700}.progress li.active>span,.progress li.done>span{background:var(--accent);color:#fff;border-color:var(--accent)}.progress li.done{color:var(--accent);border-color:#a3c6b3}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.main-column{display:grid;gap:20px}.side-column{position:sticky;top:24px;display:grid;gap:22px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:0 4px 12px #16392704}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-heading .step-label{margin-bottom:5px}.badge{display:inline-block;background:#f2f5f2;color:var(--muted);font-size:.75rem;border-radius:99px;padding:4px 10px;white-space:nowrap}.badge.good{background:var(--soft);color:var(--accent)}.badge.warning{background:#fff1dc;color:var(--warn)}.muted{color:var(--muted)}.small,.field-note{font-size:.82rem}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-grid.compact{margin-bottom:16px}.phone-grid{grid-template-columns:110px 1fr;margin-bottom:16px}label{display:flex;flex-direction:column;gap:7px;font-size:.88rem;font-weight:600}label .field-note{font-weight:400;color:var(--muted)}input,select,textarea{width:100%;background:white;border:1px solid #ccd8d0;border-radius:10px;padding:11px 12px;outline:none;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #17684f10}textarea{resize:vertical}button{border:1px solid transparent;border-radius:10px;padding:10px 17px;font-size:.88rem;font-weight:650;line-height:1.6}.primary{background:var(--accent);color:#fff}.primary:hover:not(:disabled){background:var(--accent-hover)}.secondary{background:#fff;border-color:#cbd8ce;color:var(--ink)}.secondary:hover:not(:disabled){background:#f1f7f2}.text-button{background:none;border:0;padding:5px 0;color:var(--accent);font-size:.83rem}.full-width{width:100%}.actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:19px}.actions .primary>span{margin-left:12px}.card>p.muted{margin-bottom:17px}.connected{display:flex;gap:15px;justify-content:space-between;align-items:center;background:#f5faf6;border:1px solid #ddebe0;border-radius:11px;padding:13px 14px;font-size:.9rem}.connected>div{min-width:0;overflow-wrap:anywhere}.connected strong{font-weight:650}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#479976;margin-right:8px}.notice{border:1px solid #c4dccc;background:#eaf6ed;color:#245d41;border-radius:12px;padding:13px 17px;margin-bottom:22px;overflow-wrap:anywhere}.notice.error{border-color:#eccdc4;background:#fff2ed;color:#9a422c}.notice.info{border-color:#d2dfe7;background:#eef5f9;color:#385e76}.inline-field{display:flex;align-items:end;gap:12px}.inline-field>label{flex:1}.inline-field>button{flex-shrink:0;height:47px}.event-title{margin:20px 0 12px;font-size:1.05rem}.ticket-detail{font-size:.83rem;color:var(--muted);margin:11px 0 17px;display:flex;flex-wrap:wrap;gap:4px 16px}.ticket-detail strong{font-weight:650;color:var(--accent)}.count-field{max-width:150px}.buyers-heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px;gap:12px;border-top:1px solid var(--line);padding-top:19px}.buyers-list{display:grid;gap:9px;margin-top:12px}.buyer-choice{border:1px solid var(--line);border-radius:11px;display:flex;flex-direction:row;align-items:center;gap:12px;padding:12px;font-weight:400;cursor:pointer}.buyer-choice:has(input:checked){border-color:#69a383;background:#f1f8f2}.buyer-choice input{accent-color:var(--accent);width:18px;height:18px;flex-shrink:0;box-shadow:none}.buyer-choice span{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}.buyer-choice strong{font-size:.9rem}.buyer-choice small{font-size:.78rem;color:var(--muted)}.review-list{display:grid;gap:11px;background:#f7f9f6;border:1px solid #e6ece5;padding:17px;border-radius:12px;margin-bottom:18px}.review-row{display:flex;gap:16px;justify-content:space-between;font-size:.88rem}.review-row>span{color:var(--muted);flex-shrink:0}.review-row>strong{text-align:right;font-weight:600;overflow-wrap:anywhere}.review-row.total{border-top:1px solid var(--line);padding-top:10px}.review-row.total strong{color:var(--accent);font-size:1.1rem}.consent{display:flex;flex-direction:row;gap:10px;font-weight:400;font-size:.83rem;align-items:flex-start;margin:0 0 18px}.consent input{width:17px;height:17px;flex:0 0 auto;accent-color:var(--accent);margin-top:4px}.status-card h2{font-size:1.35rem;margin-bottom:12px}.status-card .muted{font-size:.85rem;margin-bottom:16px}.saved-summary{border-top:1px solid var(--line);padding-top:14px;margin:15px 0;font-size:.85rem;display:grid;gap:8px;overflow-wrap:anywhere}.locked-note{background:#fff6e7;border:1px solid #eedfc4;color:#805b29;border-radius:10px;padding:12px;font-size:.82rem;margin:15px 0}.helper{padding:0 14px}.helper h3{font-size:.85rem;margin-bottom:10px}.helper p{font-size:.8rem;color:var(--muted);line-height:1.8}footer{border-top:1px solid var(--line);margin-top:34px;padding-top:19px;font-size:.75rem;display:flex;gap:16px;justify-content:space-between;color:var(--muted)}.field-action{display:flex;align-items:end}.field-action button{min-height:47px}.login-card{max-width:560px}.admin-top-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px;margin-bottom:24px}.access-card{background:#f5faf5}.access-card h2{margin-bottom:12px}.credential-list{display:grid;grid-template-columns:auto 1fr;gap:9px 16px;font-size:.9rem;margin:14px 0}.credential-list dt{color:var(--muted)}.credential-list dd{margin:0;overflow-wrap:anywhere}.access-code{font-family:ui-monospace,monospace;font-weight:700;letter-spacing:.05em}.access-card button{margin-top:12px}.count-badge{font-size:.75rem;font-weight:500;display:inline-block;background:var(--soft);color:var(--accent);padding:1px 8px;border-radius:99px;margin-left:7px;vertical-align:middle}.filter-row{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.search-field{flex:1;max-width:360px}.orders-list{display:grid;gap:12px}.order-item{border:1px solid var(--line);border-radius:12px;padding:17px}.order-item-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.order-item-head h3{overflow-wrap:anywhere}.order-item p{font-size:.84rem;margin-top:7px;color:var(--muted);overflow-wrap:anywhere}.order-meta{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:.77rem;color:var(--muted);margin-top:10px}.order-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:13px}.order-actions button{padding:6px 12px;font-size:.8rem}.danger{color:#a54231;background:#fff;border-color:#e9ccc4}.danger:hover:not(:disabled){background:#fff3ef}.empty-state{text-align:center;color:var(--muted);padding:34px 16px;font-size:.9rem}dialog{border:1px solid var(--line);border-radius:18px;padding:25px;max-width:460px;width:calc(100% - 40px);color:var(--ink)}dialog::backdrop{background:#0d241d66}dialog p{margin-top:14px;color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}
@media(max-width:900px){.workspace{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.card{padding:21px}.admin-top-grid{grid-template-columns:1fr}.side-column{top:16px}.brand small{display:none}}
@media(max-width:720px){.site-header{padding:18px 20px}.shell{padding:28px 20px 18px}.header-note{font-size:.75rem}.workspace{display:flex;flex-direction:column;gap:20px}.main-column,.side-column{width:100%}.side-column{position:static}.progress{gap:4px;margin-bottom:23px}.progress li{flex-direction:column;gap:6px;padding:9px 1px;font-size:.75rem;text-align:center}.intro{margin-bottom:22px}.intro>p:last-child{font-size:.9rem}.card{padding:21px}.field-grid{grid-template-columns:1fr;gap:14px}.field-grid.phone-grid{grid-template-columns:92px 1fr}.field-action{justify-content:flex-start}.inline-field{align-items:stretch;flex-direction:column}.inline-field>button{height:auto;align-self:flex-start}.connected{align-items:flex-start;gap:10px}.connected .text-button{flex-shrink:0}.admin-top-grid{gap:18px}.filter-row{align-items:stretch;flex-direction:column;gap:9px}.search-field{max-width:none}.order-item-head{align-items:flex-start}.review-row{gap:12px}footer{flex-direction:column;gap:5px}.helper{padding:0 5px}.section-heading{gap:10px}.credential-list{grid-template-columns:1fr;gap:3px}.credential-list dd{margin-bottom:8px}}
@media(prefers-reduced-motion:no-preference){button,input,select,textarea{transition:border-color .15s,background .15s,box-shadow .15s}.card{animation:appear .25s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
.step-card{transition:padding .18s}.step-card.collapsed{padding:13px 16px}.step-summary{display:flex;align-items:center;gap:11px;flex-wrap:wrap;font-size:.9rem}.summary-index{flex:0 0 auto;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:.76rem;font-weight:700}.summary-label{flex:0 0 auto;color:var(--muted);font-size:.82rem}.summary-value{flex:1 1 auto;font-weight:650;overflow-wrap:anywhere}.summary-value.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.02em}.step-summary .text-button{flex:0 0 auto;text-decoration:underline}@media(max-width:720px){.step-card.collapsed{padding:12px 14px}.summary-label{font-size:.8rem}.step-summary{gap:9px}}

/* The two entry points share the CPP form, navigation and saved progress. */
.submission-page{--ground:#f3f7f5;--ink:#173b30;--muted:#60766c;--line:#dce7e0;font-family:"Microsoft YaHei UI","PingFang SC","Segoe UI",sans-serif}
.submission-page .shell{padding-top:34px;min-height:calc(100vh - 104px)}
.submission-page .intro{margin-bottom:24px}
.submission-page .intro h1{font-size:clamp(1.85rem,3.4vw,2.7rem);letter-spacing:-.02em}
.submission-page .intro>p:last-child{margin-top:11px}
.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:7px;width:calc(100% - 324px);box-shadow:0 5px 18px #173b3005}
.mode-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:66px;border-radius:11px;background:transparent;color:var(--muted);padding:11px 18px;text-align:center}
.mode-tab strong{font-size:1rem;line-height:1.5;font-weight:700}
.mode-tab span{font-size:.76rem;font-weight:400}
.mode-tab:hover:not(:disabled){background:#eef5f0;color:var(--accent)}
.mode-tab[aria-selected="true"]{background:var(--accent);color:#fff;box-shadow:0 3px 8px #17684f18}
.mode-tab[aria-selected="true"]:hover:not(:disabled){background:var(--accent-hover);color:#fff}
.mode-description{font-size:.82rem;color:var(--muted);margin:12px 0 18px;max-width:650px}
.submission-page .progress{margin-bottom:22px}
.submission-page .card{box-shadow:0 5px 20px #173b3004;animation:none}
.entry-workflow{display:grid;gap:20px;min-width:0}
.query-card{padding:28px}
.query-card .section-heading{margin-bottom:13px}
.query-card .muted{font-size:.88rem;margin-bottom:22px;max-width:550px}
.query-card input{min-height:49px}
.query-card .inline-field>button{min-height:49px;padding-inline:24px}
.query-footnote{font-size:.78rem;color:var(--muted);margin-top:13px}
.query-result{border-top:3px solid var(--accent);padding-top:24px}
.query-result>.muted{font-size:.86rem;line-height:1.8}
.query-details{display:grid;gap:12px;margin:21px 0 6px}
.query-details>.review-row{padding:11px 0;border-bottom:1px solid #edf2ee}
.query-details>.review-row:first-child{padding-top:0}
.query-details .review-row>strong{color:var(--ink)}
.query-details .review-row.total strong{color:var(--accent)}
.record-group{border:1px solid var(--line);border-radius:12px;padding:18px;display:grid;gap:12px;background:#fbfdfb;min-width:0}
.record-group-title{font-size:.87rem;color:var(--accent);font-weight:700;margin-bottom:3px}
.purchaser-record{padding:12px 0;border-top:1px solid var(--line);display:grid;gap:7px;min-width:0}
.purchaser-record:first-child{border-top:0;padding-top:0}
.record-actions{padding-top:8px;gap:12px}
.record-actions .primary{min-width:150px}
.notice-actions:has(button:not([hidden])){display:flex;gap:10px;margin-top:-11px;margin-bottom:22px}
.cancel-edit{background:#e9f2ec;border:1px solid #cbded2;color:var(--accent);text-align:left;padding:13px 17px;font-weight:600}
.submission-page button:disabled{cursor:not-allowed}
.submission-page[aria-busy="true"] button:disabled{cursor:wait}
.submission-page button[data-loading="true"]::before{content:"";display:inline-block;vertical-align:-2px;width:13px;height:13px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}
.submission-page #selection-hint{margin-top:18px;line-height:1.7}
.submission-page .status-card{border-color:#cbded2}
.submission-page .status-card .step-label{letter-spacing:.04em}
.submission-page footer{margin-top:38px}
@media(prefers-reduced-motion:no-preference){.submission-page button[data-loading="true"]::before{animation:cpp-loading .72s linear infinite}@keyframes cpp-loading{to{transform:rotate(360deg)}}}
@media(min-width:721px) and (max-width:900px){.mode-tabs{width:calc(100% - 278px)}}
@media(max-width:720px){.submission-page .shell{padding-top:25px}.submission-page .intro{margin-bottom:21px}.mode-tabs{width:100%;max-width:none;border-radius:14px;padding:5px;gap:5px}.mode-tab{min-height:60px;padding:10px 8px;border-radius:9px}.mode-tab strong{font-size:.96rem}.mode-tab span{font-size:.72rem}.mode-description{font-size:.77rem;line-height:1.7;margin:12px 0 14px}.query-card{padding:23px 20px}.query-card .inline-field{flex-direction:row;align-items:end;gap:9px}.query-card .inline-field>button{align-self:auto;padding-inline:17px}.query-card .inline-field>label{min-width:0}.query-card .muted{margin-bottom:18px}.query-result{padding:22px 20px}.query-result .section-heading{align-items:start}.query-details .review-row{flex-wrap:wrap;gap:4px 12px}.query-details .review-row>strong{flex:1 1 160px;text-align:left}.record-group{padding:14px}.record-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.record-actions .primary{min-width:0}.record-actions button{padding-inline:9px}.entry-workflow{gap:17px}.cancel-edit{font-size:.82rem}.submission-page footer{font-size:.72rem}}
@media(max-width:360px){.submission-page .shell{padding-inline:15px}.submission-page .site-header{padding-inline:15px}.header-note{font-size:.7rem}.query-card .inline-field{flex-direction:column;align-items:stretch}.query-card .inline-field>button{width:100%}.submission-page .card{padding-inline:17px}.query-result .section-heading{flex-wrap:wrap}}

/* Six-step CPP wizard: blue actions, green completion, shared admin styles unchanged. */
.wizard-page{--ink:#223b4a;--muted:#627785;--line:#e0e7ed;--ground:#f4f7fa;--accent:#008cb8;--accent-hover:#007497;--soft:#edf7fb;--complete:#009e72;font-family:"Microsoft YaHei UI","PingFang SC","Segoe UI",sans-serif}
.wizard-header{background:linear-gradient(110deg,#368fb7 0%,#788daf 53%,#bb79a1 100%);color:#fff;padding:0 24px 27px}
.wizard-header-inner{max-width:980px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0}
.wizard-header .brand{color:#fff;font-size:1.1rem;gap:10px}
.wizard-header .brand-mark{background:#fff;color:#17684f;width:33px;height:33px;border-radius:9px;font-size:1.4rem}
.wizard-header .brand small{color:#fff;font-size:.8rem;opacity:.88;font-weight:400}
.wizard-header .header-note{color:#fff;font-size:.78rem;opacity:.9}
.wizard-heading{text-align:center;padding-top:6px}
.wizard-heading h1{font-size:1.8rem;letter-spacing:.02em;line-height:1.4;font-weight:750}
.wizard-heading p{font-size:.9rem;margin-top:9px;color:#f4fbff}
.wizard-page .shell{max-width:1028px;padding:25px 24px 22px;min-height:calc(100vh - 164px)}
.wizard-page .workspace{grid-template-columns:minmax(0,1fr) 252px;gap:24px}
.wizard-page .main-column{min-width:0;gap:18px}
.wizard-page .side-column{top:20px;gap:20px}
.wizard-page .mode-tabs{width:calc(100% - 276px);padding:6px;gap:6px;border:0;border-radius:14px;box-shadow:0 3px 12px #24465b08}
.wizard-page .mode-tab{min-height:45px;padding:10px 12px;display:block;font-size:.93rem;border-radius:9px}
.wizard-page .mode-tab[aria-selected="true"]{background:var(--accent);color:#fff;box-shadow:none}
.wizard-page .mode-tab[aria-selected="true"]:hover:not(:disabled){background:var(--accent-hover)}
.wizard-page .mode-description{width:calc(100% - 276px);max-width:none;font-size:.77rem;margin:11px 0 16px;line-height:1.7}
.wizard-page .wizard-progress{width:calc(100% - 276px);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:0;list-style:none;gap:2px;margin:0 0 22px}
.wizard-page .wizard-progress li{display:block;border:0;padding:0;text-align:center;font-weight:400;min-width:0;color:var(--muted)}
.wizard-page .wizard-progress button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:100%;background:transparent;padding:4px 0;border:0;color:var(--muted);font-weight:400;border-radius:7px;opacity:1;min-width:0}
.wizard-page .wizard-progress button span{width:29px;height:29px;background:#e4e8ed;color:#637480;border-radius:50%;display:grid;place-items:center;font-size:.8rem;font-weight:500}
.wizard-page .wizard-progress button strong{font-size:.79rem;font-weight:400;white-space:nowrap}
.wizard-page .wizard-progress li.done button span{background:var(--complete);color:#fff}
.wizard-page .wizard-progress li.active button span{background:var(--accent);color:#fff}
.wizard-page .wizard-progress li.active button strong{color:#087f9f;font-weight:650}
.wizard-page .wizard-progress button:hover:not(:disabled){background:#eaf0f4}
.wizard-page .wizard-progress button:disabled{cursor:default;opacity:1}
.wizard-page .notice{width:calc(100% - 276px);margin-bottom:18px;font-size:.86rem;padding:12px 15px;border-radius:11px}
.wizard-page .notice-actions{width:calc(100% - 276px)}
.wizard-page .notice-actions:has(button:not([hidden])){margin-top:-6px;margin-bottom:18px}
.wizard-page .entry-workflow{gap:14px;min-height:360px;align-content:start}
.wizard-page .wizard-step-label{font-size:.76rem;color:var(--muted);margin:0;padding:0 3px;line-height:1.5}
.wizard-page .wizard-card,.wizard-page .query-card,.wizard-page .query-result{padding:26px;border-radius:16px;border:0;box-shadow:0 4px 16px #25476007}
.wizard-page .section-heading{margin-bottom:18px;gap:10px}
.wizard-page .section-heading h2{font-size:1.04rem;line-height:1.6;color:#172f40}
.wizard-page .card>p.muted{font-size:.87rem;line-height:1.85;margin-bottom:19px}
.wizard-page label{font-size:.85rem;font-weight:500;gap:7px}
.wizard-page .login-method-field{grid-template-columns:minmax(0,1fr)}
.wizard-page input,.wizard-page select{min-height:45px;border-radius:9px;padding:10px 12px;background:#fff;font-size:.88rem;border-color:#d7e0e7}
.wizard-page input:focus,.wizard-page select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #008cb814}
.wizard-page button{min-height:43px;font-size:.86rem;border-radius:9px}
.wizard-page .primary{background:var(--accent);color:#fff}
.wizard-page .primary:hover:not(:disabled){background:var(--accent-hover)}
.wizard-page .secondary{background:#edf2f7;border-color:transparent;color:#223b4a}
.wizard-page .secondary:hover:not(:disabled){background:#e3ebf2}
.wizard-page button:disabled{opacity:.5;cursor:not-allowed}
.wizard-page[aria-busy="true"] button:disabled{cursor:wait}
.wizard-page .text-button{background:transparent;color:var(--accent);min-height:36px;padding:4px 0;border-radius:4px}
.wizard-page .actions{margin-top:17px}
.wizard-page .wizard-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.wizard-page .wizard-actions button{width:100%;padding:10px 12px;min-height:46px}
.wizard-page #order-continue{margin-top:14px}
.wizard-page .connected{background:#eafaf3;border-color:#dcf1e6;color:#156849;margin-top:18px;font-size:.9rem}
.wizard-page .status-dot{background:var(--complete)}
.wizard-page .inline-warning{font-size:.83rem;color:#a55a19;background:#fff8ee;border:1px solid #f3d9b5;padding:12px 14px;border-radius:9px;margin:0 0 18px;line-height:1.8}
.wizard-page .event-title{background:#eff6fc;padding:11px 13px;border-radius:8px;font-size:.87rem;color:#1b6794;margin:18px 0 16px;font-weight:600}
.wizard-page .ticket-detail{margin:11px 0 15px;gap:4px 13px;font-size:.79rem;line-height:1.8}
.wizard-page #selection-hint,.wizard-page #buyers-validation{margin-top:15px;line-height:1.8;font-size:.8rem}
.wizard-page .buyers-list{margin-top:15px;gap:10px}
.wizard-page .buyer-choice{padding:13px;border-radius:10px;gap:11px;font-weight:400}
.wizard-page .buyer-choice:has(input:checked){background:#f0faf5;border-color:#7cbca5}
.wizard-page .buyer-choice.limit-reached{opacity:.62;background:#f9fbfb;cursor:not-allowed}
.wizard-page .buyer-choice.limit-reached:hover{border-color:var(--line)}
.wizard-page .buyer-choice.limit-reached input{cursor:not-allowed}
.wizard-page .buyer-choice .limit-tag{margin-left:auto;font-size:.73rem;color:var(--muted);background:#edf3f0;padding:2px 8px;border-radius:99px;white-space:nowrap}
.wizard-page .buyer-choice input,.wizard-page .consent input{min-height:0;padding:0;accent-color:var(--complete);width:18px;height:18px;flex-shrink:0}
.wizard-page .buyer-choice strong{font-size:.89rem}
.wizard-page .buyer-choice small{font-size:.77rem}
.wizard-page .review-list{background:#f8fafc;border-color:#e4eaf0;border-radius:10px;padding:17px;gap:13px;margin-bottom:19px}
.wizard-page .email-fieldset{margin-top:4px;padding-top:16px;border-top:1px solid var(--line)}
.wizard-page .email-hint{margin:9px 0 0;line-height:1.7;color:#9a4d12;background:#fff8ee;border:1px solid #f2d7ae;border-radius:9px;padding:9px 12px}
.wizard-page .email-hint.is-error{color:#b42318;background:#fff1f0;border-color:#ffa39e;font-weight:600}
.wizard-page .review-row{font-size:.84rem;gap:12px;line-height:1.7;min-width:0}
.wizard-page .review-row>strong{min-width:0}
.wizard-page .review-row.total strong{font-size:1.05rem;color:var(--accent)}
.wizard-page .status-card{border:1px solid #e1e9ee;border-radius:14px;box-shadow:none;padding:21px}
.wizard-page .status-card h2{font-size:1.15rem;line-height:1.65}
.wizard-page .step-label{color:#467c90;font-size:.74rem;letter-spacing:0}
.wizard-page .badge.good{background:#e8f8f0;color:#118159}
.wizard-page .helper{padding:0 9px}
.wizard-page .helper h3{font-size:.82rem}
.wizard-page .helper p{font-size:.76rem;line-height:1.9}
.wizard-page .cancel-edit{background:#edf4fa;border-color:#dce8f2;color:#287195;font-size:.83rem;padding:11px 14px}
.wizard-page .query-result{border-top:3px solid var(--complete)}
.wizard-page .record-group{background:#fafcfd;border-color:#e0e8ed;padding:16px;border-radius:10px;gap:10px}
.wizard-page .record-group-title{color:#25789b}
.wizard-page .record-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wizard-page .record-actions .primary{min-width:0}
.wizard-page .success-card{text-align:center;border:0;border-radius:16px;padding:34px 28px;box-shadow:0 4px 16px #25476007}
.wizard-page .success-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#e2f7ed;color:var(--complete);font-size:1.8rem;margin:0 auto 18px}
.wizard-page .success-card h2{font-size:1.24rem;margin-bottom:14px}
.wizard-page .success-card p{margin-bottom:24px}
.screenshot-alert{color:#d92d20;background:#fff1f0;border:1.5px solid #ffa39e;border-radius:11px;padding:13px 16px;margin:16px 0 20px;font-size:.98rem;font-weight:750;line-height:1.65;text-align:center;letter-spacing:.01em;box-shadow:0 2px 8px rgba(217,45,32,.08)}
.wizard-page .success-card .screenshot-alert{margin:0 0 22px;font-size:1.02rem}
.wizard-page footer{font-size:.73rem;margin-top:36px;border-color:#e0e7ed;padding-top:20px}
@media(max-width:900px){.wizard-page .workspace{grid-template-columns:minmax(0,1fr) 225px;gap:20px}.wizard-page .mode-tabs,.wizard-page .mode-description,.wizard-page .wizard-progress,.wizard-page .notice,.wizard-page .notice-actions{width:calc(100% - 245px)}.wizard-header .brand small{display:inline}}
@media(max-width:760px){.wizard-page .shell{max-width:624px;padding:22px 20px}.wizard-page .workspace{display:flex;flex-direction:column;gap:22px}.wizard-page .main-column,.wizard-page .side-column{width:100%}.wizard-page .side-column{position:static}.wizard-page .mode-tabs,.wizard-page .mode-description,.wizard-page .wizard-progress,.wizard-page .notice,.wizard-page .notice-actions{width:100%}.wizard-header-inner{max-width:584px}.wizard-page .wizard-progress{margin-bottom:19px}.wizard-page .wizard-card,.wizard-page .query-card,.wizard-page .query-result{padding:24px}.wizard-page .entry-workflow{min-height:0}.wizard-page .field-grid{grid-template-columns:1fr;gap:14px}.wizard-page .field-grid.phone-grid{grid-template-columns:85px minmax(0,1fr)}.wizard-page .side-column .helper{display:none}.wizard-page .status-card{padding:20px}.wizard-page .query-details .review-row>strong{flex:none;text-align:right}.wizard-page .query-details .review-row{flex-wrap:nowrap}}
@media(max-width:420px){.wizard-header{padding:0 18px 24px}.wizard-header-inner{padding:15px 0}.wizard-header .brand small{display:none}.wizard-header .header-note{font-size:.67rem}.wizard-heading h1{font-size:1.55rem}.wizard-heading p{font-size:.8rem;line-height:1.8}.wizard-page .shell{padding:20px 16px}.wizard-page .wizard-card,.wizard-page .query-card,.wizard-page .query-result{padding:21px 18px}.wizard-page .mode-tab{font-size:.87rem}.wizard-page .wizard-progress button strong{font-size:.71rem}.wizard-page .wizard-progress button span{width:27px;height:27px;font-size:.76rem}.wizard-page .wizard-actions{gap:9px}.wizard-page .review-row{gap:10px;font-size:.81rem}.wizard-page .record-group{padding:13px}.wizard-page .connected{align-items:flex-start;flex-wrap:wrap}.wizard-page .section-heading h2{font-size:1rem}.wizard-page .mode-description{font-size:.73rem}}
@media(prefers-reduced-motion:reduce){.wizard-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.wizard-page .dev-preview{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin-bottom:24px;border:1px solid #e7c678;border-radius:12px;background:#fff8e7;color:#684919}
.wizard-page .dev-preview strong{font-size:.95rem}
.wizard-page .dev-preview p{max-width:520px;margin:6px 0 0;font-size:.8rem;line-height:1.7}
.wizard-page .dev-preview-controls{display:flex;align-items:end;gap:12px;flex-shrink:0}
.wizard-page .dev-preview-controls label{min-width:185px;font-size:.8rem}
.wizard-page .dev-preview-controls a{display:flex;align-items:center;justify-content:center;min-height:45px;padding:10px 14px;border-radius:9px;white-space:nowrap;text-decoration:none;font-size:.85rem}
@media(max-width:900px){.wizard-page .dev-preview{align-items:flex-start;flex-direction:column}.wizard-page .dev-preview-controls{width:100%}.wizard-page .dev-preview-controls label{min-width:0;flex:1}}

/* Scheme A · Crisp & Fluid Business Motion (180ms–260ms) */
.wizard-page{--ease-fluid:cubic-bezier(0.22,1,0.36,1);--ease-spring:cubic-bezier(0.34,1.34,0.64,1)}
.wizard-page .mode-tabs{position:relative;isolation:isolate}
.wizard-page .mode-tabs::before{content:"";position:absolute;top:6px;bottom:6px;left:6px;width:calc(50% - 9px);border-radius:9px;background:var(--accent);box-shadow:0 3px 10px rgba(0,140,184,.24);z-index:0;pointer-events:none;transform:translateX(0)}
.wizard-page .mode-tabs[data-active-mode="query"]::before{transform:translateX(calc(100% + 6px))}
.wizard-page .mode-tab{position:relative;z-index:1;background:transparent}
.wizard-page .mode-tab[aria-selected="true"]{background:transparent;color:#fff}
.wizard-page .mode-tab[aria-selected="true"]:hover:not(:disabled){background:transparent;color:#fff}
.wizard-page .mode-tabs:has(.mode-tab[aria-selected="true"]:hover:not(:disabled))::before{background:var(--accent-hover)}
.wizard-page .wizard-progress{position:relative;isolation:isolate}
.wizard-page .wizard-progress::before,.wizard-page .wizard-progress::after{content:"";position:absolute;top:18px;left:8.333%;right:8.333%;height:2px;border-radius:99px;z-index:0;pointer-events:none}
.wizard-page .wizard-progress::before{background:#dfe6ec}
.wizard-page .wizard-progress::after{background:linear-gradient(90deg,var(--complete) 0%,var(--accent) 100%);transform-origin:left center;transform:scaleX(var(--step-progress,0))}
.wizard-page .wizard-progress button span{position:relative;z-index:1;box-shadow:0 0 0 3px var(--ground)}
.wizard-page .wizard-progress li.active button span{transform:scale(1.08);box-shadow:0 0 0 3px var(--ground),0 0 0 6px rgba(0,140,184,.16)}
.wizard-page .success-mark{position:relative}
@media(max-width:420px){.wizard-page .wizard-progress::before,.wizard-page .wizard-progress::after{top:17px}}
@media(prefers-reduced-motion:no-preference){
  .wizard-page .mode-tabs::before{transition:transform .24s var(--ease-fluid),background-color .16s ease}
  .wizard-page .mode-tab{transition:color .18s ease,background-color .16s ease}
  .wizard-page .wizard-progress::after{transition:transform .28s var(--ease-fluid)}
  .wizard-page .wizard-progress button span{transition:background-color .2s var(--ease-fluid),color .2s ease,transform .2s var(--ease-fluid),box-shadow .22s var(--ease-fluid)}
  .wizard-page .wizard-progress button strong{transition:color .18s ease}
  .wizard-page button:not(.mode-tab):not([data-step]){transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .18s var(--ease-fluid),transform .14s var(--ease-fluid),opacity .16s ease}
  .wizard-page .primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 14px rgba(0,140,184,.24)}
  .wizard-page .secondary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 3px 10px rgba(34,59,74,.07)}
  .wizard-page button:not(.mode-tab):not([data-step]):active:not(:disabled){transform:translateY(0) scale(.985);box-shadow:none}
  .wizard-page button[data-loading="true"]{display:inline-flex;align-items:center;justify-content:center;gap:7px}
  .wizard-page button[data-loading="true"]::before{content:"";width:13px;height:13px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;flex-shrink:0;animation:cppBtnSpin .65s linear infinite}
  .wizard-page .buyer-choice{transition:background-color .18s ease,border-color .18s ease,box-shadow .2s var(--ease-fluid),transform .16s var(--ease-fluid)}
  .wizard-page .buyer-choice:hover:not(.limit-reached){border-color:#a8c5d6;transform:translateY(-1px);box-shadow:0 4px 12px rgba(34,59,74,.05)}
  .wizard-page .buyer-choice:has(input:checked){box-shadow:0 3px 10px rgba(0,158,114,.1)}
  .wizard-page .buyer-choice input{transition:transform .16s var(--ease-spring)}
  .wizard-page .buyer-choice input:checked{transform:scale(1.08)}
  .wizard-page .badge{transition:background-color .2s ease,color .2s ease}
  .wizard-page .email-hint{transition:background-color .18s ease,border-color .18s ease,color .18s ease}
  .wizard-page .wizard-card:not([hidden])[data-motion="forward-1"],.wizard-page .wizard-card:not([hidden])[data-motion="forward-2"]{animation-duration:.23s;animation-timing-function:var(--ease-fluid);animation-fill-mode:both}
  .wizard-page .wizard-card:not([hidden])[data-motion="forward-1"]{animation-name:cppStepForwardA}
  .wizard-page .wizard-card:not([hidden])[data-motion="forward-2"]{animation-name:cppStepForwardB}
  .wizard-page .wizard-card:not([hidden])[data-motion="back-1"],.wizard-page .wizard-card:not([hidden])[data-motion="back-2"]{animation-duration:.23s;animation-timing-function:var(--ease-fluid);animation-fill-mode:both}
  .wizard-page .wizard-card:not([hidden])[data-motion="back-1"]{animation-name:cppStepBackA}
  .wizard-page .wizard-card:not([hidden])[data-motion="back-2"]{animation-name:cppStepBackB}
  .wizard-page .card:not([hidden])[data-motion="fade-1"]{animation:cppPanelFadeA .22s var(--ease-fluid) both}
  .wizard-page .card:not([hidden])[data-motion="fade-2"]{animation:cppPanelFadeB .22s var(--ease-fluid) both}
  .wizard-page [data-subpanel="1"]{animation:cppSubpanelInA .19s var(--ease-fluid) both}
  .wizard-page [data-subpanel="2"]{animation:cppSubpanelInB .19s var(--ease-fluid) both}
  .wizard-page #ticket-section:not([hidden]),.wizard-page #login-connected:not([hidden]),.wizard-page #saved-summary:not([hidden]){animation:cppSubpanelInA .2s var(--ease-fluid) both}
  .wizard-page .buyer-choice[data-stagger="1"]{animation:cppSubpanelInA .22s var(--ease-fluid) both;animation-delay:calc(var(--stagger-i,0) * 28ms)}
  .wizard-page .notice:not([hidden])[data-anim="1"]{animation:cppNoticeInA .2s var(--ease-fluid) both}
  .wizard-page .notice:not([hidden])[data-anim="2"]{animation:cppNoticeInB .2s var(--ease-fluid) both}
  .wizard-page .notice.error:not([hidden])[data-anim="1"],.wizard-page .notice.warning:not([hidden])[data-anim="1"]{animation:cppNoticeWarnA .26s var(--ease-fluid) both}
  .wizard-page .notice.error:not([hidden])[data-anim="2"],.wizard-page .notice.warning:not([hidden])[data-anim="2"]{animation:cppNoticeWarnB .26s var(--ease-fluid) both}
  .wizard-page #success-section:not([hidden]) .success-mark{animation:cppSuccessPop .36s var(--ease-spring) both}
  .wizard-page #success-section:not([hidden]) .success-mark::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--complete);animation:cppSuccessRing .55s var(--ease-fluid) .06s both;pointer-events:none}
  @keyframes cppStepForwardA{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:translateX(0)}}
  @keyframes cppStepForwardB{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:translateX(0)}}
  @keyframes cppStepBackA{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:translateX(0)}}
  @keyframes cppStepBackB{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:translateX(0)}}
  @keyframes cppPanelFadeA{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
  @keyframes cppPanelFadeB{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
  @keyframes cppSubpanelInA{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
  @keyframes cppSubpanelInB{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
  @keyframes cppNoticeInA{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
  @keyframes cppNoticeInB{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
  @keyframes cppNoticeWarnA{0%{opacity:0;transform:translateY(-5px)}55%{opacity:1;transform:translateX(-4px)}80%{transform:translateX(3px)}100%{opacity:1;transform:translateX(0)}}
  @keyframes cppNoticeWarnB{0%{opacity:0;transform:translateY(-5px)}55%{opacity:1;transform:translateX(-4px)}80%{transform:translateX(3px)}100%{opacity:1;transform:translateX(0)}}
  @keyframes cppSuccessPop{from{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}
  @keyframes cppSuccessRing{from{opacity:.55;transform:scale(1)}to{opacity:0;transform:scale(1.42)}}
  @keyframes cppBtnSpin{to{transform:rotate(360deg)}}
}
