.orders-page{max-width:1180px;margin:0 auto;padding:36px 24px 96px}.orders-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:28px}.orders-heading h1{font-size:clamp(30px,4vw,44px);margin:5px 0 10px}.orders-heading p{max-width:650px;line-height:1.6}.orders-heading nav{display:flex;gap:8px;flex-wrap:wrap}.orders-panel{background:#fff;border:1px solid #e4d8ce;border-radius:20px;padding:24px;margin:20px 0}.orders-filter-form{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(130px,1fr));gap:12px;align-items:end}.orders-filter-form label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#5b3c2b}.orders-filter-form input,.orders-filter-form select{width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid #d9c9ba;background:#fff;border-radius:9px;color:#3a241b;font:inherit;font-size:14px;min-height:44px}.orders-filter-actions{grid-column:1/-1;display:flex;gap:8px}.orders-list{display:grid;gap:16px}.order-history-card{border:1px solid #e1d4c9;border-radius:16px;background:#fff;padding:22px}.order-card-top{display:flex;align-items:start;justify-content:space-between;gap:16px}.order-date{color:#7e6b60;font-size:13px;margin:0 0 8px}.order-card-top h3{font-family:inherit;font-size:14px;margin:0;overflow-wrap:anywhere}.order-card-total{font-size:23px;white-space:nowrap;color:#711a00}.order-badges{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.order-badge{background:#f2ece5;border-radius:20px;padding:6px 11px;font-size:12px}.order-badge.pending{background:#fff4d9;color:#705411}.order-badge.verified{background:#e5f3e8;color:#2c6237}.order-product-summary{font-size:14px;line-height:1.7;color:#655043}.order-source,#orders-coverage{font-size:12px;line-height:1.6;color:#7b6a60}.order-card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.orders-pagination{display:flex;justify-content:space-between;gap:12px;margin:24px 0}.orders-panel summary{cursor:pointer;font-size:18px;font-weight:700}.orders-panel summary+p{line-height:1.6}.order-detail{width:min(1000px,calc(100vw - 32px));max-height:90dvh;border:1px solid #e1d4c9;border-radius:20px;padding:0;color:#40291d;background:#fff}.order-detail::backdrop{background:#23150eb3}.order-detail-header{position:sticky;top:0;z-index:1;background:#fff;display:flex;justify-content:space-between;align-items:start;gap:20px;padding:20px 24px;border-bottom:1px solid #eee2d6}.order-detail-header h2{font-family:inherit;font-size:17px;overflow-wrap:anywhere;margin:7px 0}.order-detail-body{padding:20px 24px 28px}.order-detail-body>p{line-height:1.6}.order-payment-note{padding:12px 16px;border-radius:9px;background:#fff4d9;font-size:13px}.order-table-scroll{overflow-x:auto;margin:24px 0}.order-items-table{width:100%;border-collapse:collapse;font-size:13px;min-width:650px}.order-items-table caption{text-align:left;font-size:12px;color:#7b6a60;margin-bottom:12px}.order-items-table th{text-align:right;background:#faf6f0;font-size:11px}.order-items-table td,.order-items-table th{padding:13px 9px;border-bottom:1px solid #e9dfd6;vertical-align:top}.order-items-table td:not(:first-child){text-align:right;white-space:nowrap}.order-items-table th:first-child{text-align:left}.order-items-table td small{display:block;color:#7b6a60;font-size:11px;line-height:1.5;margin-top:5px}.order-totals{display:grid;grid-template-columns:1fr auto;gap:12px 20px;max-width:360px;margin:16px 0 20px auto}.order-totals dd{text-align:right;margin:0}.order-totals dt:last-of-type,.order-totals dd:last-of-type{font-weight:800;font-size:19px;color:#711a00}.order-timeline{list-style:none;padding:0 0 0 10px;margin:20px 0 28px}.order-timeline li{position:relative;border-left:2px solid #d7c1ab;padding:0 0 22px 24px}.order-timeline li:before{content:'';position:absolute;width:10px;height:10px;background:#b78954;border:3px solid #fff;border-radius:50%;left:-9px;top:1px}.order-timeline time{display:block;font-size:12px;color:#7b6a60;margin:6px 0}.order-timeline p{font-size:13px;line-height:1.6;margin:0}.order-sync{font-size:12px;background:#f7f2ec;padding:12px;border-radius:9px}.orders-page .error{color:#a32912}.staff-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:24px}.staff-list{display:grid;gap:8px}.staff-record{text-align:left;width:100%;overflow-wrap:anywhere}.staff-form{display:grid;gap:14px}.staff-form label{display:grid;gap:6px;font-size:13px}.staff-form input,.staff-form select,.staff-form textarea{box-sizing:border-box;width:100%;font:inherit;padding:10px;border:1px solid #d9c9ba;border-radius:8px;background:#fff}.staff-form textarea{min-height:80px}.staff-audit-note{font-size:12px;line-height:1.7;color:#7b6a60}.staff-form .check-label{display:flex;gap:10px;align-items:start}.staff-form .check-label input{width:auto;margin-top:4px}.staff-review-card{border:1px solid #e4d8ce;border-radius:12px;padding:16px;margin:14px 0}.staff-review-card pre{max-height:200px;overflow:auto;white-space:pre-wrap;font-size:11px;background:#faf6f0;padding:12px}.staff-form button{justify-self:start;min-height:44px}.orders-page [hidden]{display:none!important}
@media(max-width:800px){.orders-page{padding:24px 16px 90px}.orders-heading{display:block}.orders-heading nav{margin-top:18px}.orders-panel{padding:18px}.orders-filter-form{grid-template-columns:1fr 1fr}.orders-filter-form label:first-child{grid-column:1/-1}.orders-filter-form label:last-of-type{grid-column:1/-1}.order-history-card{padding:18px}.order-card-top{display:block}.order-card-total{display:block;margin-top:14px}.order-card-actions>*{flex:1 1 160px;text-align:center}.order-detail{width:calc(100vw - 20px);max-height:94dvh}.order-detail-header{padding:16px}.order-detail-body{padding:16px}.staff-layout{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.orders-page *{scroll-behavior:auto!important}}
