.order-workspace{margin-top:40px;scroll-margin-top:110px}.order-workspace-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.order-workspace-head h2{font-size:24px;margin:7px 0}.order-workspace-head p{color:var(--text-secondary,#5c7088);font-size:14px;line-height:1.7;margin:0}.order-workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 18px}.order-workspace-toolbar small{color:#64788f;font-size:12px}.order-filters{display:flex;gap:6px;flex-wrap:wrap}.order-filters button{border:1px solid transparent;background:transparent;border-radius:8px;min-height:42px;padding:8px 12px;color:#526983;font:inherit;font-size:13px;cursor:pointer;display:flex;gap:8px;align-items:center}.order-filters button[aria-pressed=true]{background:#eaf2fd;color:#2168bd;border-color:#d5e4fa}.order-filters button span{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:11px;background:#e3eaf3;border-radius:5px;min-width:20px;padding:2px 5px}.order-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px}.order-history-card{min-width:0;border:1px solid #dfe7f0;background:#fefeff;border-radius:14px;overflow:hidden}.order-history-card.is-processing{border-color:#bcd4f5}.order-card-heading{display:flex;align-items:center;gap:12px;padding:20px 22px}.order-document-icon{display:grid;place-items:center;width:40px;height:44px;border-radius:9px;background:#edf4fc;color:#246dca;flex-shrink:0}.order-card-heading>div{min-width:0;flex:1 1}.order-card-heading h3{font-size:14px;line-height:1.5;margin:0 0 4px;overflow-wrap:anywhere}.order-card-number{font-family:ui-monospace,monospace;font-size:11px;color:#6b7f96;overflow-wrap:anywhere}.order-mode-label{font-size:11px;color:#4e6886;white-space:nowrap}.order-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;border-top:1px solid #eaf0f6}.order-card-footer>:is(.order-card-summary,.order-report-actions){display:grid;grid-gap:5px;gap:5px;font-size:11px;color:#637790}.order-card-footer strong{font-size:13px;color:#254464;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.order-card-footer em{font-style:normal;margin-left:7px;color:#946316}.order-card-footer .button{white-space:nowrap}.order-progress{--stage-color:#246dca;--stage-wash:#f3f7fd;padding:18px 22px;background:var(--stage-wash);border-top:1px solid #eaf0f6}.order-progress.stage-queued{--stage-color:#96702d;--stage-wash:#fcf9f1}.order-progress.stage-processing_ai{--stage-color:#6550b0;--stage-wash:#f7f5fc}.order-progress.stage-ready{--stage-color:#228061;--stage-wash:#f2faf6}.order-progress.stage-cancelled,.order-progress.stage-failed{--stage-color:#b54747;--stage-wash:#fcf4f4}.order-progress.stage-created,.order-progress.stage-expired,.order-progress.stage-uploaded{--stage-color:#63788e;--stage-wash:#f6f8fb}.order-progress-heading{display:flex;align-items:center;gap:9px;min-height:22px;color:var(--stage-color)}.order-progress-heading strong{font-size:13px}.order-state-dot{width:7px;height:7px;border-radius:50%;background:var(--stage-color);position:relative}.is-active .order-state-dot:after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1px solid var(--stage-color);animation:order-breathe 2.4s ease-out infinite}.order-live-label{margin-left:auto;font-size:10px;letter-spacing:.03em}.order-stage-track{list-style:none;display:flex;gap:0;margin:20px 0 16px;padding:0}.order-stage-track li{flex:1 1;position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center;font-size:11px;line-height:1.4;color:#6b7b91}.order-stage-track li:before{content:"";position:absolute;left:-50%;right:50%;height:2px;top:12px;background:#dfe6ef}.order-stage-track li:first-child:before{display:none}.order-stage-track li.is-complete:before,.order-stage-track li.is-current:before{background:var(--stage-color)}.order-stage-node{position:relative;z-index:1;display:grid;place-items:center;background:#f9fbfd;border:1px solid #d6e0eb;border-radius:50%;width:26px;height:26px;font-size:10px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.is-complete .order-stage-node{color:#fefeff;background:var(--stage-color);border-color:var(--stage-color)}.is-current .order-stage-node{color:var(--stage-color);border-color:var(--stage-color);box-shadow:0 0 0 4px var(--stage-wash)}.is-active .is-current .order-stage-node:after{content:"";position:absolute;inset:-5px;border:1px solid var(--stage-color);border-radius:50%;animation:order-breathe 2.4s ease-out infinite}.order-stage-track .is-current{color:var(--stage-color);font-weight:600}.order-progress-description{font-size:12px;line-height:1.8;color:#5c7088;min-height:22px;margin:0}.status-panel>.order-progress{border:1px solid #e1e8f1;border-radius:12px;margin:24px 0}.file-language-note{margin-top:18px;padding-top:15px;border-top:1px solid #e3eaf3}.file-language-note strong{display:block;color:#2c4a6c;font-size:13px;margin-bottom:6px}.file-language-note p{font-size:13px!important;line-height:1.8!important}.admin-file-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:150px}.admin-file-actions button{white-space:nowrap;padding:7px 10px;min-height:36px}.admin-file-error{display:block;flex-basis:100%;color:#b54747;font-size:12px;max-width:240px;white-space:normal}.orders-table td{vertical-align:middle}.orders-table th{white-space:nowrap}.admin-toolbar .button{white-space:nowrap;flex-shrink:0}.admin-ai-value{white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.upload-success{display:flex;align-items:center;gap:10px;padding:15px 20px;margin-bottom:18px;color:#217353;background:#eff9f3;border:1px solid #cae8d8;border-radius:10px;font-size:14px}@keyframes order-breathe{0%{transform:scale(.8);opacity:.65}80%,to{transform:scale(1.55);opacity:0}}@media(max-width:900px){.order-history-grid{grid-template-columns:1fr}}@media(max-width:600px){.order-workspace{margin-top:30px}.order-workspace-head{align-items:flex-start;flex-wrap:wrap;gap:12px}.order-workspace-head h2{font-size:21px}.order-workspace-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.order-card-footer,.order-card-heading,.order-progress{padding:16px}.order-mode-label{font-size:10px}.order-card-heading{gap:9px}.order-stage-track li{font-size:10px}.order-document-icon{width:32px;height:38px}.order-card-footer .button{font-size:12px}.order-filters button{padding:8px 10px}}@media(prefers-reduced-motion:reduce){.order-progress *,.order-progress :after{animation:none!important;transition:none!important}.order-stage-node:after,.order-state-dot:after{display:none}}.order-card-footer{flex-wrap:wrap}.order-card-footer>.order-report-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0;margin-left:auto;max-width:100%}.order-report-buttons{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.order-download-error{color:#b42318;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.order-report-buttons .button{min-height:38px}@media(max-width:480px){.order-card-footer>.order-report-actions{width:100%;align-items:stretch}.order-report-buttons{justify-content:flex-start}.order-report-buttons .button{flex:1 1 auto}}.order-card-footer{container:order-footer/inline-size}.order-card-footer:has(.report-shots--card){display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-column-gap:12px;column-gap:12px}.order-card-footer:has(.report-shots--card)>.order-card-summary{grid-column:1/-1}.order-card-footer:has(.report-shots--card) .order-report-buttons{flex-wrap:nowrap}.order-card-footer:has(.report-shots--card) .order-report-buttons .button{padding-inline:9px;gap:5px}.order-action-short{display:none}@container order-footer (max-width: 530px){.order-card-footer:has(.report-shots--card) .order-report-buttons{gap:4px}.order-card-footer:has(.report-shots--card) .order-report-buttons .button{padding-inline:6px}}@container order-footer (max-width: 365px){.order-card-footer:has(.report-shots--card) .order-report-actions{width:100%;align-items:stretch}.order-card-footer:has(.report-shots--card) .order-report-buttons .button{flex:1 1;min-width:0;min-height:44px;padding:4px;font-size:12px;line-height:1.25;white-space:normal;text-wrap:balance}.order-card-footer:has(.report-shots--card) .order-report-buttons :is(.button svg,.order-action-label){display:none}.order-card-footer:has(.report-shots--card) .order-action-short{display:inline;word-break:keep-all}}.order-report-expiry{padding:12px 22px;border-top:1px solid #eaf0f6;background:#f7faff;color:#526983;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.order-report-expiry time{font-weight:600;color:#245d9f}.order-report-expiry.is-expired{background:#f6f7f9;color:#717e8d}@media(max-width:480px){.order-report-expiry{padding:12px 16px}}.order-progress-busy{margin-top:6px;color:#8a5a12}.report-score-note{font-size:12px;line-height:1.7;color:#5c7088;margin:12px 0 0;max-width:64ch;overflow-wrap:anywhere}.order-card-footer .report-score-note{font-size:12px;margin:3px 0 0}.order-card-footer>.order-card-summary:has(.report-score-note){flex:1 1 210px;min-width:0}.order-failure-actions{padding:18px 22px;border-top:1px solid #eaf0f6;background:#fefeff}.order-failure-actions>p{margin:0;color:#5c7088;font-size:13px;line-height:1.8}.order-failure-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.status-panel>.order-failure-actions{border:1px solid #e1e8f1;border-radius:12px;margin:0 0 22px;padding:20px}.order-failure-actions .order-retry-error,.order-retry-error{color:#b42318;font-size:13px;line-height:1.7;margin:12px 0 0}.order-delete-dialog{color:#162b46;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #e0e7ef;border-radius:14px;padding:26px;box-shadow:0 18px 70px #162b4629}.order-delete-dialog::-webkit-backdrop{background:#162b4666}.order-delete-dialog::backdrop{background:#162b4666}.order-delete-dialog h2{font-size:20px;line-height:1.5;margin:0 0 12px}.order-delete-dialog p{font-size:14px;line-height:1.8;color:#5c7088;margin:0}.order-delete-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px}@media(max-width:600px){.order-failure-actions,.status-panel>.order-failure-actions{padding:16px}.order-delete-dialog{padding:22px}.order-failure-controls .button{flex:1 1 auto}}.order-toolbar-side{justify-content:flex-end;gap:12px;flex-wrap:wrap}.order-search,.order-toolbar-side{display:flex;align-items:center;min-width:0}.order-search{position:relative}.order-search input{width:250px;max-width:100%;min-height:40px;border:1px solid #d5e0ec;border-radius:9px;padding:8px 34px 8px 12px;font:inherit;font-size:13px;color:#203a59;background:#fefeff}.order-search input:focus{outline:2px solid #bcd4f5;outline-offset:1px;border-color:#7fa9df}.order-search input::-webkit-search-cancel-button{display:none}.order-search-clear{position:absolute;right:6px;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:#64788f;cursor:pointer}.order-search-clear:focus-visible,.order-search-clear:hover{background:#edf2f8}.order-quota-badge{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:5px;font-size:11px;line-height:1.6;white-space:nowrap;background:#eef2f7;color:#40546e}.order-quota-badge.is-held{background:#eef4fd;color:#2462ad}.order-quota-badge.is-refunded{background:#eef8f3;color:#217353}.order-quota-badge.is-free{background:#f4f6f9;color:#5c7088}.order-failure-actions>p.order-failure-outcome{color:#8d3434;margin-bottom:6px}.upload-quota-detail{display:block;margin-top:4px;color:#5c7088;font-size:12px;line-height:1.6}@media(max-width:600px){.order-toolbar-side{width:100%;justify-content:space-between}.order-search,.order-search input{width:100%}.order-search{flex:1 1 220px}}