#orders h2{margin:8px 0}.ord-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:23px 0}.ord-metrics>div{background:white;border:1px solid var(--line);border-radius:11px;padding:20px;min-width:0}.ord-metrics span{font-size:var(--text-small);color:var(--muted);display:block}.ord-metrics strong{font-size:29px;font-weight:500;display:block;margin-top:13px}.ord-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.ord-filters label{flex:1;min-width:160px}.ord-filters .ord-search{flex:2;min-width:280px}.ord-filter-details{margin-bottom:20px;font-size:var(--text-body);color:var(--muted)}.ord-filter-details summary{cursor:pointer;margin-bottom:15px}.ord-name{background:none;border:0;color:var(--accent);padding:0;font-weight:650;text-align:left}.ord-name:hover{filter:none;text-decoration:underline}.ord-pills{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:8px 0}.ord-pill{font-size:var(--text-small);display:inline-block;padding:4px 7px;border-radius:5px;line-height:1.5;color:#4f5d49}.ord-pill.sage{background:#e9eee5}.ord-pill.amber{background:#f5eddd}.ord-pill.rose{background:#f5e6e0;color:#9d4d3c}.ord-pill.slate{background:#efefea}.ord-notice{padding:15px 18px;border:1px solid #e0d3b8;background:#faf4e7;border-radius:9px;font-size:var(--text-body);line-height:1.8;margin:14px 0}.ord-list-table table{min-width:950px}.ord-list-table td:first-child{width:44px}.ord-back{margin-bottom:23px}.ord-detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,1fr);gap:22px;align-items:start}.ord-main,.ord-side{min-width:0}.ord-main h3,.ord-side h3{margin-bottom:15px}.ord-scroll{overflow:auto}.ord-scroll table{min-width:520px}.ord-scroll input{max-width:180px}.ord-scroll input[type=number]{max-width:100px}.ord-scroll input[type=date]{max-width:none}.ord-main textarea,#order-action-dialog textarea{font:inherit;width:100%;resize:vertical;min-height:90px;border:1px solid var(--line);border-radius:6px;padding:12px;line-height:1.8;background:white;color:inherit}.ord-main .panel{padding:23px}.ord-main .spaced{margin-top:22px}.ord-main .form-row{flex-wrap:wrap}.ord-main .form-row label{min-width:150px}.ord-profit-total{padding:20px;background:#efefea;border-radius:9px;margin:20px 0}.ord-profit-total>span,.ord-profit-total>small{display:block;font-size:var(--text-small);color:var(--muted)}.ord-profit-total>strong{display:block;font-size:34px;font-weight:550;letter-spacing:-1px;margin:12px 0}.ord-ledger{margin:20px 0;font-size:var(--text-body)}.ord-ledger>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #ebebe6;line-height:1.6}.ord-ledger dt{color:var(--muted)}.ord-ledger dd{margin:0;white-space:nowrap;font-weight:550}.ord-ledger .ord-ledger-subtotal{border-top:1px solid var(--line);font-weight:600}.ord-fee-helper{font-size:var(--text-body);line-height:1.7;color:var(--muted)}.ord-fee-helper summary{cursor:pointer;margin-bottom:18px}.ord-preview-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.ord-preview-totals span{padding:18px;background:#efefea;border-radius:8px;color:var(--muted);font-size:var(--text-body)}.ord-preview-totals strong{display:block;font-size:22px;color:#344a34;margin-top:10px}.ord-side{position:sticky;top:20px}#order-action-dialog{max-width:750px}#order-preview-dialog{max-width:950px}#order-preview-content{margin-bottom:25px;max-height:58vh;overflow:auto}#order-preview-content .ord-scroll{max-height:35vh}.ord-filter-details .check{align-self:center}.ord-main>#order-local-form{margin-top:22px}#order-editor-summary strong{font-size:26px;overflow-wrap:anywhere}.dash-order-attention{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 28px;padding:18px 22px;border:1px solid var(--line);border-radius:11px;background:#f0f0eb}.dash-order-attention>div{flex:1;min-width:220px;font-size:var(--text-body)}.dash-order-attention small{display:block;margin-top:6px;color:var(--muted);font-size:var(--text-small)}.dash-order-attention button{font-size:var(--text-small);padding:10px 12px}.dash-order-attention b{margin-left:8px}@media(max-width:1000px){.ord-detail-grid{grid-template-columns:1fr}.ord-side{position:static;display:grid;grid-template-columns:1fr 1fr;gap:15px}.ord-side .spaced{margin-top:0}}@media(max-width:650px){.ord-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ord-metrics>div{padding:16px}.ord-metrics strong{font-size:25px}.ord-filters label{min-width:140px}.ord-filters .ord-search{flex-basis:100%}.ord-side{grid-template-columns:1fr}.ord-preview-totals{grid-template-columns:1fr}.ord-preview-totals span{padding:12px}.ord-main .panel{padding:18px}.ord-main .form-row{flex-direction:column}.ord-main .form-row label{width:100%}#orders .pagination{flex-wrap:wrap;gap:12px}#order-editor-summary strong{font-size:22px}}

.ord-list-table table{table-layout:fixed;min-width:840px}.ord-list-table th:first-child{width:48px}.ord-list-table td{overflow-wrap:anywhere;white-space:normal}.ord-list-table td strong{font-variant-numeric:tabular-nums}.ord-pill{overflow-wrap:anywhere}.ord-metrics strong{overflow-wrap:anywhere}.ord-main .ord-scroll th,.ord-main .ord-scroll td{white-space:normal;overflow-wrap:anywhere}.ord-filters .ord-search{min-width:0;flex-basis:280px}.ord-name{min-height:44px}.ord-scroll td:first-child{max-width:240px}.ord-main textarea{font-size:var(--text-large)}.ord-ledger dt{min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){.ord-list-table{border:0;background:transparent;overflow:visible}.ord-list-table table,.ord-list-table thead,.ord-list-table tbody{display:block;min-width:0;width:100%}.ord-list-table thead tr{display:block;margin-bottom:12px}.ord-list-table thead th{display:none}.ord-list-table thead th:first-child{display:flex;align-items:center;gap:12px;width:auto;background:transparent;padding:10px 0}.ord-list-table thead th:first-child:after{content:'Επιλογή σελίδας';font-size:var(--text-body)}.ord-list-table tbody tr{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr);gap:10px 12px;background:white;border:1px solid var(--line);border-radius:12px;padding:16px;margin:0 0 12px}.ord-list-table tbody td{border:0;padding:0;min-width:0;width:auto}.ord-list-table tbody td:first-child{grid-column:1;grid-row:1/5;width:auto;padding-top:10px}.ord-list-table tbody td:nth-child(2),.ord-list-table tbody td:nth-child(3),.ord-list-table tbody td:nth-child(4){grid-column:2/-1}.ord-list-table tbody td:nth-child(5){grid-column:2}.ord-list-table tbody td:nth-child(6){grid-column:3}.ord-list-table tbody td:nth-child(5),.ord-list-table tbody td:nth-child(6){border-top:1px solid var(--line);padding-top:12px}.ord-list-table tbody td[data-label]:before{content:attr(data-label);display:block;font-size:var(--text-small);color:var(--muted);margin-bottom:6px}.ord-list-table .ord-pills{margin:0 0 5px}.ord-list-table td small{font-size:var(--text-small)}.ord-list-table tbody tr:has(.empty){display:block}.ord-list-table .empty{padding:24px 12px}.ord-metrics>div{padding:16px}.ord-filters label,.ord-filters .ord-search{min-width:0;flex-basis:100%}.ord-main .panel{padding:16px}.ord-detail-grid{gap:16px}.ord-preview-totals strong{overflow-wrap:anywhere}.ord-list-table td strong{display:block}.ord-back{width:100%}}

#order-detail-body [hidden]{display:none!important}.order-section-nav [aria-selected=true]{background:var(--accent);color:white}.order-single-panel{grid-template-columns:minmax(0,1fr)}.order-single-panel .ord-side{position:static;display:block}.order-customer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.order-customer-fields input{width:100%;min-width:0}#order-customer-section h4{margin:24px 0 16px}#order-customer-section textarea{margin:12px 0}#order-customer-section .panel{overflow-wrap:anywhere}.order-customer-name{font-weight:550;color:var(--text)}@media(max-width:650px){.order-customer-fields{grid-template-columns:1fr}}
.order-info-entry{padding:16px 0;border-bottom:1px solid var(--line)}.order-info-entry p{margin:8px 0}.order-info-entry small{overflow-wrap:anywhere}#order-information-section h4,#order-payments-section h4{margin:24px 0 12px}.ord-ledger dd{white-space:normal;overflow-wrap:anywhere;text-align:right;max-width:65%}
.order-attribute-row{display:grid;grid-template-columns:1fr 2fr;gap:12px;margin:12px 0}.order-attribute-row input{width:100%;min-width:0}@media(max-width:650px){.order-attribute-row{grid-template-columns:1fr}}
#order-detail-body .order-section-nav [aria-selected=true]{background:var(--accent);color:white}#order-profile-form>button,#order-customer-address-form>button{margin:16px 12px 0 0}@media(max-width:650px){#order-detail-body .order-section-nav{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:12px}.order-section-nav button{flex-shrink:0}}

#order-editor-panel,#order-detail-body,#order-detail-body .ord-detail-grid {width:100%;min-width:0;max-width:none}
#order-detail-body .order-single-panel {grid-template-columns:minmax(0,1fr)}
#order-detail-body .order-single-panel :is(.ord-main,.ord-side) {grid-column:1/-1;max-width:none;width:100%;min-width:0}
#order-detail-body .order-single-panel .ord-side {display:block;position:static}
#order-detail-body .order-section-nav {flex-wrap:wrap;max-width:none}
@media(max-width:650px){
  #order-detail-body .order-section-nav button {flex:1 1 auto;white-space:normal}
}
