.orders-page{max-width:1180px;margin-inline:auto}
.orders-page-heading{margin:12px 0 26px}
.orders-page-heading h1{font-size:32px;margin:0 0 8px}
.orders-page .order-status-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.order-status-overview button{display:flex;align-items:center;gap:14px;padding:17px 18px;text-align:left;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);color:var(--muted);cursor:pointer;transition:border-color .15s,background .15s}
.order-status-overview button>span:last-child{font-size:12px;line-height:1.5}
.order-status-overview strong{display:block;margin-top:3px;font-size:25px;line-height:1.2;font-weight:650;color:var(--text);font-variant-numeric:tabular-nums}
.order-overview-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:10px;background:var(--theme-raised);color:var(--theme-accent)}
.order-overview-icon .icon{width:20px;height:20px}
.order-status-overview button:hover,.order-status-overview button[aria-pressed=true]{border-color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 6%,var(--theme-surface))}
.order-status-overview button[aria-pressed=true]>span:last-child{color:var(--text)}
.orders-page .order-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px;scroll-margin-top:24px}
.orders-page .order-filters{display:flex;gap:3px;flex-wrap:wrap;padding:4px;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface)}
.orders-page .order-filters button{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;cursor:pointer}
.orders-page .order-filters button[aria-pressed=true]{background:var(--theme-raised);border-color:var(--theme-border);color:var(--text)}
.orders-page .order-filters button span{min-width:16px;font-size:11px;font-variant-numeric:tabular-nums;color:var(--theme-accent)}
.order-toolbar-tools{display:flex;align-items:center;gap:10px;flex:1;justify-content:flex-end}
.order-search{display:flex;align-items:center;gap:9px;padding:0 12px;min-height:43px;max-width:330px;flex:1;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface);color:var(--muted)}
.order-search:focus-within{border-color:var(--theme-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent) 12%,transparent)}
.order-search>.icon{width:17px;height:17px;flex:none}
.orders-page .order-search input{width:100%;min-width:0;padding:10px 0;border:0;outline:0;background:transparent;color:var(--text);box-shadow:none;font-size:12px}
.order-search input::placeholder{color:var(--muted);opacity:1}
.orders-page .order-refresh{display:inline-flex;align-items:center;gap:7px;min-height:43px;font-size:12px;padding:10px 12px}
.order-refresh .icon{width:15px;height:15px}
.orders-page .order-refresh-status:empty{display:none}
.orders-page .trade-order-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;margin-top:0}
.orders-page .order-card{padding:0;overflow:hidden;border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface);color:var(--text)}
.order-card-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 24px 0}
.order-kind{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;flex-wrap:wrap}
.order-kind .icon{height:15px;width:15px}
.order-placed-date{padding-left:12px;margin-left:5px;border-left:1px solid var(--theme-border);font-size:11px}
.order-state{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;line-height:1.5;font-weight:600;border-radius:7px;padding:5px 10px;background:color-mix(in srgb,var(--theme-accent) 9%,var(--theme-surface));color:var(--theme-accent);border:1px solid color-mix(in srgb,var(--theme-accent) 30%,var(--theme-border))}
.order-state .icon{width:14px;height:14px}
.order-card[data-tone=complete] .order-state{color:var(--muted);background:var(--theme-raised);border-color:var(--theme-border)}
.orders-page .order-card-heading{padding:15px 24px 18px;display:flex;align-items:center;gap:16px}
.order-item-art{display:grid;place-items:center;flex:0 0 76px;height:76px;border-radius:10px;overflow:hidden;background:color-mix(in srgb,var(--theme-raised) 45%,var(--theme-surface))}
.order-item-art img{display:block;width:100%;height:100%;object-fit:contain;transform:translate(var(--art-x,0%),var(--art-y,0%))}
.orders-page .order-card-heading h3{font-size:19px;line-height:1.4;margin:0;flex:1;min-width:0;letter-spacing:-.25px;overflow-wrap:anywhere}
.order-card-price{text-align:right;flex-shrink:0}
.order-card-price small{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}
.order-card-price strong{display:block;font-size:24px;line-height:1.3;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.orders-page .order-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0 24px 18px;padding:0;gap:14px}
.order-progress li{display:flex;align-items:center;gap:8px;position:relative;color:var(--muted);font-size:11px;padding-top:10px;border-top:2px solid var(--theme-border)}
.order-progress li>span:last-child{display:flex;align-items:center;gap:4px}
.order-progress li.is-done,.order-progress li.is-current{border-top-color:var(--theme-accent);color:var(--theme-accent)}
.order-progress li.is-current{font-weight:650;color:var(--text)}
.order-progress-marker{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--theme-raised);font-size:10px;flex:none}
.order-progress .is-current .order-progress-marker{background:var(--theme-primary);color:var(--theme-on-primary)}
.order-progress .icon{width:12px;height:12px}
.order-closed-note{display:flex;align-items:center;gap:8px;margin:0 24px 18px;color:var(--muted);font-size:12px}
.order-closed-note .icon{width:15px;height:15px}
.order-next-step{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 24px;padding:14px 16px;border:1px solid transparent;background:color-mix(in srgb,var(--theme-raised) 60%,var(--theme-surface));border-radius:10px}
.order-next-step[data-needs-action]{border-color:color-mix(in srgb,var(--theme-accent) 35%,var(--theme-border));background:color-mix(in srgb,var(--theme-accent) 7%,var(--theme-surface))}
.order-next-step>div:first-child{flex:1;min-width:0}
.order-step-label{display:block;margin-bottom:5px;font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
.order-next-step[data-needs-action] .order-step-label{color:var(--theme-accent);font-weight:650}
.order-next-step>div>strong{display:block;font-size:14px;font-weight:650;color:var(--text)}
.orders-page .order-next-step p{font-size:13px;line-height:1.65;color:var(--muted);margin:4px 0 0;max-width:740px}
.order-deadline{flex:none;max-width:210px;padding-left:20px;border-left:1px solid var(--theme-border);text-align:right;font-size:11px;color:var(--muted)}
.order-deadline>span{display:flex;justify-content:flex-end;align-items:center;gap:5px}
.order-deadline .icon{width:13px;height:13px}
.order-next-step .order-deadline>strong{margin-top:6px;font-size:12px;font-weight:600;line-height:1.5}
.order-card-facts{padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}
.order-warranty-box{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid color-mix(in srgb,var(--theme-accent) 35%,var(--theme-border));border-radius:7px;background:color-mix(in srgb,var(--theme-accent) 6%,var(--theme-surface));color:var(--theme-accent);font-size:11px;line-height:1.4}
.order-warranty-box .icon{width:15px;height:15px}
.order-payment-note{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}
.order-payment-note .icon{width:14px;height:14px}
.order-receiver{margin:0 24px 15px;display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}
.order-receiver a{display:inline-flex;align-items:center;gap:6px;color:var(--theme-accent)}
.order-receiver .icon{width:13px;height:13px}
.orders-page .order-auto-note{display:flex;gap:8px;margin:0 24px 16px;color:var(--muted);font-size:12px}
.order-auto-note .icon{flex-shrink:0;width:15px;height:15px;margin-top:3px}
.order-card-details{margin:0 24px;border-top:1px solid var(--theme-border)}
.order-card-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:13px 0;color:var(--muted);font-size:12px;cursor:pointer}
.order-card-details summary::-webkit-details-marker{display:none}
.order-card-details summary:hover{color:var(--theme-accent)}
.order-card-details summary .icon{width:14px;height:14px;transform:rotate(90deg);transition:transform .18s ease}
.order-card-details[open] summary .icon{transform:rotate(-90deg)}
.orders-page .order-card-details dl{display:grid;grid-template-columns:1fr;gap:0;margin:0 0 16px}
.order-card-details dl>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:8px 0;border-bottom:1px solid color-mix(in srgb,var(--theme-border) 50%,transparent);font-size:12px}
.order-card-details dd{color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.order-card-details>p,.order-card-details .trade-swap-summary{color:var(--muted);padding-bottom:12px}
.orders-page .order-card .trade-order-actions{padding:14px 24px;background:color-mix(in srgb,var(--theme-raised) 25%,var(--theme-surface));border-top:1px solid var(--theme-border);gap:10px}
.orders-page .order-card .trade-order-actions .button{font-size:12px;min-height:40px;padding:10px 15px;border-radius:8px}
.orders-page .order-card .trade-order-actions :is([data-trade-action=accept],[data-trade-action=set-receiver],[data-trade-action=prepare-small]){background:var(--theme-primary);color:var(--theme-on-primary);border-color:var(--theme-primary-hover)}
.orders-page .order-card .trade-order-actions :is([data-trade-action=accept],[data-trade-action=set-receiver],[data-trade-action=prepare-small]):hover{background:var(--theme-primary-hover)}
.order-card .trade-order-actions>.text-link{display:inline-flex;align-items:center;min-height:36px;font-size:12px;margin-left:auto;color:var(--theme-accent)}
.orders-page .order-card .trade-evidence{margin:0;padding:18px 24px;border-top:1px solid var(--theme-border);background:var(--theme-raised);align-items:start}
.order-card .trade-evidence>[data-evidence-label]{flex-basis:100%;font-size:13px}
.order-card .trade-evidence .trade-rollback-confirm{flex-basis:100%;display:flex;align-items:flex-start;font-size:12px;line-height:1.6}
.order-card .trade-evidence .trade-rollback-confirm input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;accent-color:var(--theme-primary)}
.order-card .trade-evidence [hidden]{display:none!important}
.order-card .trade-evidence [data-confirm-copy]{flex-basis:100%;margin:0;color:var(--muted)}
.order-card [data-order-status]:empty{display:none}
.order-card [data-order-status]:not(:empty){margin:0;padding:12px 24px;color:var(--theme-accent)}
.orders-page .profile-empty{grid-column:1/-1;padding:48px 24px;text-align:center;border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface)}
.orders-page .profile-empty>.icon{width:32px;height:32px;color:var(--theme-accent);margin-bottom:12px}
.orders-page .profile-empty p{font-size:13px;line-height:1.7;color:var(--muted);max-width:440px;margin-inline:auto}
.orders-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px;font-size:12px;color:var(--muted)}
.orders-pagination p{margin:0}.orders-pagination strong{color:var(--text);font-weight:600}
.orders-pagination>div{display:flex;align-items:center;gap:16px}
.orders-pagination .button{font-size:12px;min-height:38px;padding:9px 14px}
.orders-pagination .button:disabled{opacity:.35;cursor:default;pointer-events:none}
.orders-page-number{font-variant-numeric:tabular-nums;white-space:nowrap}
.orders-page .trade-policy{margin:24px 0 0;background:transparent;border-color:var(--theme-border)}
.orders-page .trade-policy summary{font-size:12px;padding:14px 16px}
.orders-page .trade-policy .protection-symbol{width:30px;height:30px}
@media(max-width:900px){.orders-page .order-toolbar{align-items:stretch}.order-toolbar-tools{flex-basis:100%;justify-content:space-between}.order-search{max-width:none}.order-next-step{gap:16px}.order-deadline{max-width:170px}}
@media(max-width:600px){.orders-page .order-status-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-status-overview button{padding:12px;gap:10px}.order-overview-icon{width:32px;height:32px}.order-status-overview strong{font-size:22px}.orders-page .order-filters{width:100%}.orders-page .order-filters button{flex:1 1 40%;justify-content:space-between}.order-card-topline{padding:15px 16px 0;align-items:flex-start}.order-placed-date{display:none}.orders-page .order-card-heading{padding:16px;gap:12px;flex-wrap:wrap}.order-item-art{flex-basis:58px;height:58px}.orders-page .order-card-heading h3{font-size:16px;flex-basis:calc(100% - 90px)}.order-card-price{text-align:left;margin-left:70px}.order-card-price small{display:inline;margin-right:10px}.order-card-price strong{display:inline;font-size:21px}.orders-page .order-progress{margin-inline:16px;gap:8px}.order-progress li{font-size:10px;gap:5px;flex-wrap:wrap}.order-next-step{margin-inline:16px;display:block;padding:13px}.order-deadline{max-width:none;border-left:0;border-top:1px solid var(--theme-border);padding:10px 0 0;margin-top:10px;text-align:left}.order-deadline>span{justify-content:flex-start}.order-card-facts{padding-inline:16px;align-items:flex-start}.order-payment-note{max-width:160px}.order-receiver,.order-card-details{margin-inline:16px}.orders-page .order-auto-note{margin-inline:16px}.orders-page .order-card .trade-order-actions,.orders-page .order-card .trade-evidence{padding:14px 16px}.order-card .trade-order-actions>.text-link{margin-left:0}.orders-pagination{justify-content:center}.orders-pagination>div{width:100%;justify-content:space-between;gap:10px}.order-card-details dl>div{grid-template-columns:minmax(80px,1fr) minmax(0,1.4fr)}}
@media(prefers-reduced-motion:reduce){.order-card-details summary .icon,.order-status-overview button{transition:none}}