.orders-view{flex:1;display:flex;flex-direction:column;min-height:0;background:#f6f6f6}
.quote-app[data-view="orders"] .quote-header{border-bottom:0}
.orders-toolbar{display:flex;align-items:center;gap:14px;padding:16px 28px 6px;background:#fff}
.orders-search{display:flex;align-items:center;min-width:0;flex:1;min-height:40px;margin:0;padding:0 12px;background:#f3f3f3;border:1px solid #e8e8e8;border-radius:24px}
.orders-search>svg{width:19px;height:19px;color:#b8b8b8}
.orders-search input{flex:1;min-width:0;width:0;padding:10px 8px;border:0;background:none;outline:none;font-size:14px;color:#222}
.orders-search:focus-within{border-color:#d7a800;box-shadow:0 0 0 2px #ffcb0026}
.orders-search input::placeholder{color:#aaa}
.orders-search input::-webkit-search-cancel-button{display:none}
.orders-search button{width:28px;height:32px;color:#888;font-size:22px;padding:0}
.orders-filter-toggle{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:0 14px;border-radius:22px;background:#f3f3f3;white-space:nowrap;font-size:14px}
.orders-filter-toggle svg{width:13px;height:13px;fill:currentColor;stroke:none}
.orders-filter-toggle.has-filter{background:#fff3bf;color:#876600}
.orders-tabs{display:flex;align-items:center;gap:20px;flex-shrink:0;padding:10px 28px 14px;background:#fff;overflow-x:auto;scrollbar-width:none}
.orders-tabs::-webkit-scrollbar{display:none}
.orders-tabs button{flex-shrink:0;padding:6px 12px;min-height:34px;font-size:14px;border-radius:20px;white-space:nowrap;line-height:1.4}
.orders-tabs button.active{background:var(--yellow);color:#272200}
.orders-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 28px}
.orders-result-summary{font-size:12px;color:#838383;margin:0 0 12px}
.orders-result-summary:empty{display:none}
.orders-list{display:grid;gap:12px}
.orders-empty{text-align:center;color:#999;padding:66px 12px}
.orders-empty>svg{height:58px;width:58px;stroke:#c7c7c7;stroke-width:1.4}
.orders-empty h2{font-size:15px;font-weight:500;margin:18px 0 10px;color:#666}
.orders-empty p{font-size:13px;line-height:1.8;margin:0 0 22px}
.orders-empty button{display:block;margin:10px auto 0;padding:9px 18px;min-height:38px;border:1px solid #dedede;border-radius:20px;font-size:13px;background:#fff;color:#555}
.orders-empty #returnCatalog{background:var(--yellow);border-color:var(--yellow);color:#333}
.print-order-card{background:#fff;border-radius:12px;padding:18px;text-align:left}
.print-order-card header{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#777}
.print-order-card header span:last-child{color:#9c7500;white-space:nowrap}
.print-order-card h3{font-size:16px;font-weight:550;margin:18px 0 8px;overflow-wrap:anywhere}
.print-order-card p{margin:8px 0;font-size:13px;line-height:1.7;color:#888;overflow-wrap:anywhere}
.print-order-card footer{display:flex;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid #f2f2f2;font-size:12px;color:#888}
.print-order-card strong{font-size:16px;font-weight:500;color:#f34c34}
.orders-filter-dialog{max-width:440px;padding:24px;border:0;border-radius:18px}
.orders-filter-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.orders-filter-dialog h2{margin:0;font-size:18px;font-weight:600}
.orders-filter-dialog header button{width:36px;height:36px;font-size:26px;color:#999}
.orders-filter-dialog fieldset{border:0;margin:0;padding:0}
.orders-filter-dialog legend{font-size:14px;font-weight:550;margin-bottom:16px}
.orders-date-fields{display:flex;align-items:center;gap:10px}
.orders-date-fields>span{padding-top:22px;color:#999;font-size:12px}
.orders-date-fields label{display:flex;flex:1;min-width:0;flex-direction:column;gap:8px;font-size:12px;color:#777}
.orders-date-fields input{font:inherit;color:#333;width:100%;min-width:0;height:42px;padding:8px;border:1px solid #ddd;border-radius:8px;background:#fafafa}
.orders-filter-dialog footer{display:flex;gap:12px;margin-top:28px}
.orders-filter-dialog footer button{flex:1;min-height:44px;border:1px solid #e6e6e6;border-radius:24px;font-size:14px}
.orders-filter-dialog footer button[type="submit"]{background:var(--yellow);border-color:var(--yellow)}
.orders-filter-error{font-size:12px;color:#c23625;line-height:1.6;margin:12px 0 0}
@media(max-width:640px){.orders-toolbar{padding:10px 16px 2px;gap:12px}.orders-search{min-height:38px;padding:0 10px}.orders-search input{font-size:12px;padding:9px 7px}.orders-search>svg{width:17px;height:17px}.orders-filter-toggle{min-height:38px;font-size:13px;padding:0 12px}.orders-tabs{justify-content:space-between;gap:0;padding:8px 16px 12px}.orders-tabs button{font-size:14px;min-height:32px;padding:5px 9px}.orders-content{padding:16px}.orders-empty{padding-top:66px}.orders-filter-dialog{margin:auto 0 0;width:100%;max-width:none;border-radius:18px 18px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom))}}
@media(max-width:360px){.orders-tabs{padding-left:10px;padding-right:10px}.orders-tabs button{font-size:13px;padding-left:7px;padding-right:7px}}
