[hidden]{display:none!important}.order-dialog{width:min(1120px,94vw);max-height:90vh;border:0;border-radius:18px;padding:28px;box-shadow:0 20px 90px #0004}.order-dialog::backdrop{background:#10101099}.order-dialog .dialog-title{position:sticky;top:-28px;background:white;padding:12px 0;z-index:2}.dialog-title button{border:0;background:#eee;border-radius:50%;width:36px;height:36px;font-size:24px;cursor:pointer}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.checkout-grid label,.user-form label{display:flex;flex-direction:column;gap:6px}.confirm-check{flex-direction:row!important;align-items:center}.confirm-check input{width:20px}.order-totals{display:flex;justify-content:flex-end;gap:22px;flex-wrap:wrap;padding:20px 0}.order-totals strong{color:#bb6400;font-size:20px}.order-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.order-tabs button{border:1px solid #ddd;border-radius:9px;background:#fff;padding:12px 20px;cursor:pointer}.order-tabs button.active{background:#171717;color:white;border-color:#171717}.order-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}.order-filters label{display:flex;flex-direction:column;gap:6px;font-size:13px}.order-filters input,.order-filters select{max-width:220px}.production-table{min-width:1180px}.production-table th{white-space:nowrap;font-size:12px}.step-progress{display:inline-flex;justify-content:center;align-items:center;min-width:42px;padding:6px;border-radius:6px;background:#f1f1f1;font-size:12px}.step-progress.complete{background:#e3f2e8;color:#196036}.status-badge{display:inline-block;padding:6px 12px;background:#fff0d8;color:#8f5000;border-radius:16px;white-space:nowrap;font-size:12px;font-weight:700}.status-badge.delivered{background:#e3f2e8;color:#196036}.status-badge.cancelled{background:#ffe5e5;color:#991b1b}.order-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.order-metrics article{background:#f7f5f1;border-radius:12px;padding:16px}.order-metrics strong{display:block;font-size:28px}.order-metrics span{font-size:13px}.client-order{margin:20px 0;padding:24px;border:1px solid #e2e2e2;border-radius:14px;background:white}.client-order header{display:flex;align-items:center;justify-content:space-between;gap:12px}.client-order summary{cursor:pointer;font-weight:700;padding:15px 0}.order-stage-table{min-width:850px}.order-stage-table input[type=checkbox]{width:19px;height:19px;accent-color:#e99200}.order-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.order-actions a{text-decoration:none}.user-form{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:20px;background:#f7f5f1;border-radius:12px;margin:18px 0}.user-form .confirm-check{display:flex}.mail-warning{background:#fff3d8;border-left:4px solid #e99200;padding:14px;margin:16px 0}.table-help{font-size:13px;color:#666}.order-dialog textarea{width:100%}.order-message{min-height:24px}.stage-input{display:flex;justify-content:center}.order-account-create{margin-top:24px}.mail-state{font-size:12px}.order-history{font-size:13px;color:#555;max-height:150px;overflow:auto}.public-note{padding:14px;background:#fff5e6;border-radius:8px}.order-dialog select,.order-dialog input,.order-dialog textarea,.user-form input,.user-form select{padding:10px;border:1px solid #ddd;border-radius:6px;min-width:0}.order-dialog .budget-table td{font-size:12px}.production-table .text-button{white-space:nowrap}
@media(max-width:700px){.checkout-grid,.user-form{grid-template-columns:1fr}.form-span-2{grid-column:auto}.order-metrics{grid-template-columns:1fr 1fr}.order-dialog{padding:16px}.order-dialog .dialog-title{top:-16px}.order-totals{justify-content:flex-start;gap:12px}.client-order{padding:16px}.client-order header{align-items:flex-start;flex-direction:column}.order-filters input,.order-filters select{max-width:100%}.order-filters label{flex:1;min-width:120px}}
body[data-section="admin"] .page-shell{width:min(1540px,calc(100% - 48px));max-width:1540px;padding-top:40px}body[data-section="admin"] h1,body[data-section="cuenta"] h1{font-size:clamp(34px,4vw,52px);max-width:none;line-height:1.1}#productionPanel,#accountsPanel{max-width:none;width:100%;padding:24px}.order-filters input,.order-filters select{padding:10px;border:1px solid #ddd;border-radius:6px}.order-dialog .dialog-title button{width:36px;height:36px}#refreshOrders{width:auto;height:auto;border-radius:8px;font-size:14px;padding:10px 18px}body[data-section="cuenta"] .page-shell{padding-top:40px}#myOrders>.dialog-title{padding-left:0;padding-right:0}#myOrders{margin-top:24px}
.production-table td:first-child{min-width:55px}.production-table th,.production-table td{padding:10px 8px;font-size:12px;letter-spacing:0;text-transform:none}.production-table .secondary-button{padding:8px;font-size:12px;min-height:auto}.production-table th:last-child,.production-table td:last-child{position:sticky;right:0;background:#fff}.production-table th:last-child{background:#f7f5f1}
