/* Scoped to order history; shared header and checkout retain their styles. */
body.hs-guest-history{margin:0;padding-top:76px;background:#f8faf9;color:#203b30;font:14px/1.6 "Inter",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.hs-guest-history *{box-sizing:border-box}.hs-guest-history a{text-decoration:none;color:inherit}.hs-guest-history button,.hs-guest-history input{font:inherit}.hs-guest-history .hs-panel-content button{background:none;border:0;cursor:pointer}.hs-guest-history .hs-panel-content a{border-bottom:1px solid #edf2ef}
.guest-page{--guest-ink:#172c25;--guest-muted:#64746d;--guest-line:#dfe6e2;--guest-paper:#fff;--guest-green:#065f46;--guest-soft:#ecf8f1;max-width:1200px;margin:40px auto 0;padding:0 28px 56px;color:var(--guest-ink);font:14px/1.6 "Poppins",system-ui,-apple-system,"Segoe UI",sans-serif}
.guest-page *{box-sizing:border-box}.guest-page h1,.guest-page h2,.guest-page h3,.guest-page p{margin:0}.guest-page a{color:var(--guest-green);text-decoration:none}.guest-page button,.guest-page input,.guest-page select{font:inherit}.guest-page button,.guest-page summary,.guest-page a{-webkit-tap-highlight-color:transparent}.guest-page svg{flex-shrink:0}.guest-page [hidden]{display:none!important}
.guest-page :is(a,button,summary,input,select):focus-visible{outline:3px solid #52b88e;outline-offset:3px}.guest-page button:disabled{opacity:.55;cursor:wait}.guest-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.guest-heading{margin-bottom:28px}.guest-heading-line{display:flex;align-items:center;gap:14px;margin-bottom:8px}.guest-heading h1{font-size:34px;line-height:1.25;letter-spacing:-1.1px;font-weight:750}.guest-heading p{color:var(--guest-muted);font-size:15px}.guest-mode{display:inline-flex;align-items:center;padding:4px 13px;border-radius:30px;color:var(--guest-green);background:var(--guest-soft);font-size:12px;font-weight:650}
.guest-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}.guest-history-panel,.guest-sidebar{min-width:0}.guest-browser-banner{display:flex;align-items:center;gap:10px;padding:13px 16px;background:var(--guest-soft);border-radius:12px;color:var(--guest-green);font-size:13px}.guest-browser-banner svg{width:20px;height:20px}
.guest-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0}.guest-filters{display:flex;gap:8px;min-width:0}.guest-filters button,.guest-refresh{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 17px;background:var(--guest-paper);color:var(--guest-ink);border:1px solid var(--guest-line);border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.guest-filters button[aria-pressed="true"]{background:var(--guest-green);border-color:var(--guest-green);color:#fff}.guest-filters button:hover:not([aria-pressed="true"]),.guest-refresh:hover{background:var(--guest-soft)}.guest-refresh{padding:9px 12px;color:var(--guest-muted)}.guest-refresh svg{width:17px;height:17px}
.guest-page .guest-message{font-size:13px;color:var(--guest-muted);margin:0 0 16px;overflow-wrap:anywhere}.guest-message:empty{display:none}.guest-message[data-tone="error"]{padding:12px 14px;border:1px solid #edd4bb;border-radius:10px;background:#fff8ee;color:#805322}
.guest-order-list{display:grid;gap:16px}.guest-order{display:grid;grid-template-columns:88px minmax(0,1fr) 176px;column-gap:18px;padding:20px;border:1px solid var(--guest-line);border-radius:16px;background:var(--guest-paper);box-shadow:0 2px 6px #143b2703;min-width:0;align-items:start}.guest-order-image{grid-column:1;grid-row:1 / span 2;display:grid;place-items:center;width:88px;height:104px;border-radius:11px;overflow:hidden;background:var(--guest-soft);color:var(--guest-green)}.guest-order-image img{width:100%;height:100%;object-fit:cover;grid-area:1/1}.guest-order-image svg{width:34px;height:34px;grid-area:1/1}
.guest-order-top{grid-column:2;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;margin-bottom:7px}.guest-order-invoice{font-size:12px;font-weight:650;overflow-wrap:anywhere}.guest-status{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:30px;font-size:11px;line-height:1.4;font-weight:650;max-width:100%}.guest-status svg{width:14px;height:14px}.guest-status-pending{background:#fff0c2;color:#855016}.guest-status-paid{background:#def7e9;color:#086340}.guest-status-ended{background:#f0f2f3;color:#5b6269}
.guest-order-body{grid-column:2;min-width:0}.guest-order-body h3{font-size:16px;line-height:1.4;font-weight:700;letter-spacing:-.2px;overflow-wrap:anywhere;margin-bottom:9px}.guest-order-meta{display:flex;flex-wrap:wrap;gap:4px 8px;color:var(--guest-muted);font-size:12px}.guest-order-meta svg,.guest-order-expiry svg{width:15px;height:15px;margin-right:5px;vertical-align:-3px}.guest-order-expiry{margin-top:5px!important;font-size:12px;color:#855016;overflow-wrap:anywhere}
.guest-order-bottom{grid-column:3;grid-row:1 / span 2;border-left:1px solid var(--guest-line);padding-left:18px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0}.guest-total small{display:block;color:var(--guest-muted);font-size:11px}.guest-total strong{display:block;font-size:21px;font-weight:750;line-height:1.5;letter-spacing:-.6px;overflow-wrap:anywhere}.guest-total .guest-discount{color:var(--guest-green);font-size:10px;margin-top:3px}.guest-order-actions{display:flex;flex-direction:column;gap:7px}
.guest-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 16px;border:1px solid var(--guest-green);border-radius:10px;background:var(--guest-green);color:#fff!important;font-size:13px;font-weight:650;line-height:1.4;text-align:center;cursor:pointer;transition:background .15s}.guest-button:hover{background:#034b37}.guest-button.secondary{background:var(--guest-paper);color:var(--guest-green)!important}.guest-button.secondary:hover{background:var(--guest-soft)}.guest-detail-link{border:0;background:transparent;color:var(--guest-muted);font-size:11px;min-height:44px;padding:5px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.guest-more{display:flex;margin:22px auto}.guest-order-extra{grid-column:1/-1;margin-top:16px;border-top:1px solid var(--guest-line);padding-top:10px;font-size:12px;color:var(--guest-muted)}.guest-order-extra summary{cursor:pointer;min-height:44px;display:list-item;align-content:center}.guest-order-extra-content{display:flex;flex-wrap:wrap;gap:12px 24px;padding-top:8px}.guest-meta-item small{display:block;font-size:11px}.guest-meta-item strong{color:var(--guest-ink)}.guest-meta-item del{color:var(--guest-muted)}
.guest-tickets{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(195px,100%),1fr));gap:12px}.guest-tickets:not(:empty){margin-top:16px;padding-top:16px;border-top:1px solid var(--guest-line)}.guest-ticket{min-width:0;background:var(--guest-soft);border-radius:12px;padding:16px;text-align:center;font-size:12px;overflow-wrap:anywhere}.guest-ticket h3{font-size:14px}.guest-ticket img{display:block;margin:16px auto;max-width:100%;height:auto;background:#fff;object-fit:contain;border-radius:8px}.guest-ticket p{margin-top:8px}
.guest-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 24px 32px;border:1px solid var(--guest-line);border-radius:16px;background:var(--guest-paper)}.guest-empty-art{width:220px;max-width:100%;height:155px;color:var(--guest-green)}.guest-empty-label{font-size:9px;letter-spacing:1.5px;color:var(--guest-muted);font-weight:650}.guest-empty h3{font-size:21px;line-height:1.4;margin:10px 0}.guest-empty p{max-width:360px;font-size:13px;color:var(--guest-muted)}.guest-empty .guest-button{margin-top:20px}.guest-history-foot{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px;color:var(--guest-muted);font-size:11px}.guest-history-foot svg{width:15px;height:15px}
.guest-sidebar{display:grid;gap:20px}.guest-profile{border:1px solid var(--guest-line);border-radius:14px;background:var(--guest-paper);overflow:hidden}.guest-profile summary{display:flex;align-items:center;gap:12px;padding:18px;cursor:pointer;list-style:none}.guest-profile summary::-webkit-details-marker{display:none}.guest-profile summary strong{display:block;font-size:14px}.guest-profile summary small{display:block;font-size:11px;color:var(--guest-muted);margin-top:3px}.guest-profile-icon svg{display:block;width:25px;height:25px}.guest-chevron{margin-left:auto;font-size:21px}.guest-profile[open] .guest-chevron{transform:rotate(180deg)}.guest-profile form{border-top:1px solid var(--guest-line);padding:18px}.guest-fields{display:grid;gap:14px;margin-bottom:18px}.guest-fields label{display:grid;gap:5px;font-size:12px;font-weight:600}.guest-fields input,.guest-fields select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--guest-line);border-radius:8px;background:var(--guest-paper);color:var(--guest-ink);font-size:16px}.guest-fields input::placeholder{color:var(--guest-muted)}.guest-profile .guest-button{width:100%}.guest-page .guest-muted{color:var(--guest-muted);font-size:11px;margin-top:12px;overflow-wrap:anywhere}.guest-forget{display:block;width:calc(100% - 36px);margin:0 18px 16px;padding:10px 0;min-height:44px;background:none;border:0;border-top:1px solid var(--guest-line);color:#a0443d;cursor:pointer;text-align:left;font-size:11px}
.guest-browser-note{text-align:center;padding:26px 22px;border:1px solid #cfe9dc;border-radius:14px;background:var(--guest-soft)}.guest-note-art{width:70px;height:64px;margin:0 auto 16px;color:var(--guest-green)}.guest-browser-note h2{font-size:21px;letter-spacing:-.5px;margin-bottom:9px}.guest-browser-note p{font-size:14px}.guest-note-foot{display:block;font-size:11px;line-height:1.7;color:var(--guest-muted);margin-top:13px}.guest-note-login{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:16px;font-weight:650;text-decoration:underline!important;text-underline-offset:4px}
.dark body.hs-guest-history{background:#10231c}.dark .guest-page{--guest-ink:#e5eee9;--guest-muted:#a4b8ad;--guest-line:#304a3d;--guest-paper:#192f25;--guest-green:#8cddb4;--guest-soft:#213e2f}.dark .guest-filters button[aria-pressed="true"],.dark .guest-button{background:#8cddb4;color:#103c28!important}.dark .guest-button.secondary{background:var(--guest-paper);color:var(--guest-green)!important}.dark .guest-status-pending{background:#45381c;color:#f8d38b}.dark .guest-status-paid{background:#224d35;color:#a0e6bd}.dark .guest-status-ended{background:#35413b;color:#c5d1ca}.dark .guest-order-expiry{color:#f8d38b}.dark .guest-browser-note{border-color:#304a3d}.dark .guest-message[data-tone="error"]{background:#45381c;border-color:#685128;color:#f8d38b}.dark .guest-forget{color:#eeaaa4}
@media(max-width:1100px){.guest-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px}.guest-order{grid-template-columns:64px minmax(0,1fr) 152px;gap:0 14px;padding:18px}.guest-order-image{width:64px;height:80px}.guest-order-bottom{padding-left:14px}.guest-order-actions .guest-button{padding:10px 9px}.guest-refresh span{display:none}}
@media(max-width:900px){.guest-layout{grid-template-columns:minmax(0,1fr)}.guest-sidebar{grid-template-columns:1fr 1fr}.guest-order{grid-template-columns:88px minmax(0,1fr) 176px;padding:20px;column-gap:18px}.guest-order-image{width:88px;height:100px}.guest-refresh span{display:inline}}
@media(max-width:767px){body.hs-guest-history{padding-top:64px}.guest-page{margin-top:24px;padding:0 16px 28px}.guest-heading{margin-bottom:22px}.guest-heading-line{gap:10px}.guest-heading h1{font-size:27px;letter-spacing:-.8px}.guest-heading p{font-size:13px}.guest-mode{font-size:11px;padding:3px 11px}.guest-browser-banner{font-size:12px;padding:12px}.guest-toolbar{gap:8px;margin:18px 0}.guest-filters{flex:1;gap:7px}.guest-filters button{flex:1;padding:9px 10px;font-size:12px}.guest-refresh{width:44px;flex-shrink:0;padding:10px}.guest-refresh span{display:none}.guest-order-list{gap:14px}.guest-order{grid-template-columns:64px minmax(0,1fr);column-gap:12px;row-gap:0;padding:16px;border-radius:14px}.guest-order-top{grid-column:1/-1;grid-row:1;justify-content:space-between;gap:8px;margin-bottom:14px}.guest-order-image{grid-column:1;grid-row:2;width:64px;height:72px}.guest-order-body{grid-column:2;grid-row:2}.guest-order-body h3{font-size:15px;margin-bottom:7px}.guest-order-meta{font-size:12px}.guest-order-expiry{font-size:11px}.guest-order-bottom{grid-column:1/-1;grid-row:3;border-left:0;border-top:1px solid var(--guest-line);margin-top:16px;padding:13px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.guest-total strong{font-size:20px}.guest-order-actions{min-width:132px;max-width:160px}.guest-order-actions .guest-button{font-size:12px;padding:10px 12px}.guest-order-extra{margin-top:12px}.guest-status{font-size:10px}.guest-order-invoice{font-size:11px}.guest-sidebar{grid-template-columns:1fr;gap:16px}.guest-browser-note{padding:24px}.guest-history-foot{font-size:10px;align-items:flex-start;text-align:center;margin-top:18px}.guest-history-foot svg{margin-top:2px}.guest-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.guest-empty{padding:16px 20px 26px}.guest-empty h3{font-size:19px}.guest-page .guest-message{font-size:12px}}
@media(max-width:359px){.guest-page{padding-left:12px;padding-right:12px}.guest-heading h1{font-size:25px}.guest-filters{gap:5px}.guest-filters button{padding:9px 8px;font-size:11px}.guest-order{padding:13px;column-gap:10px}.guest-order-actions{min-width:120px}.guest-order-actions .guest-button{padding:10px 8px}.guest-total strong{font-size:18px}.guest-fields{grid-template-columns:1fr}}
.guest-order{grid-template-rows:min-content 1fr}
.guest-page .guest-button{font-size:13px;font-weight:650;line-height:1.4}
.guest-page .guest-detail-link{font-size:12px;line-height:1.5}
.guest-meta-item{min-width:0;overflow-wrap:anywhere}
@media(max-width:767px){.guest-order{grid-template-rows:auto auto auto}.guest-page .guest-order-actions .guest-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.guest-page *{transition:none!important}}
