.commerce-standalone{max-width:1450px;margin:0 auto;padding:32px}.commerce-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.commerce-heading h2{font-size:1.65rem;margin-bottom:8px}.commerce-heading p{font-size:.9rem}.commerce-actions{display:flex;gap:10px;flex-wrap:wrap}.commerce-message{padding:14px 18px;border:1px solid #b7d4c5;background:#edf8f1;color:#18513c;border-radius:12px;font-size:.9rem;line-height:1.6}.commerce-message.error{color:#9f3535;background:#fff2ef;border-color:#edc8c1}.commerce-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.commerce-stat{padding:18px 20px;border:1px solid var(--line,#d8e1ea);border-radius:12px;background:white;display:flex;align-items:center;gap:14px}.commerce-stat strong{font-size:1.6rem;color:var(--blue,#075bea)}.commerce-stat span{font-size:.84rem;color:var(--muted,#6d7788)}.commerce-catalog{padding:16px 20px;border:1px solid var(--line,#d8e1ea);border-radius:12px;background:white;margin-bottom:22px}.commerce-catalog summary{cursor:pointer;font-size:.9rem;font-weight:700}.commerce-catalog summary span{color:var(--muted,#6d7788);font-weight:450}.commerce-catalog [data-catalog]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.commerce-catalog-option{display:flex;align-items:flex-start;gap:10px;background:#f7f9fc;border-radius:8px;padding:12px;font-size:.82rem;margin:0;font-weight:500}.commerce-catalog-option input{width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;flex-shrink:0;accent-color:var(--blue,#075bea)}.commerce-grid{display:grid;grid-template-columns:minmax(245px,.75fr) minmax(0,2fr);gap:22px;align-items:start}.commerce-orders{max-height:900px;overflow:auto;padding-right:4px}.commerce-order{display:block;width:100%;text-align:left;border:1px solid var(--line,#d8e1ea);background:white;border-radius:12px;padding:17px 18px;margin-bottom:12px;color:var(--ink,#16314f)}.commerce-order strong{font-size:1rem}.commerce-order span,.commerce-order small{display:block;margin-top:7px}.commerce-order small{color:var(--muted,#6d7788);font-size:.78rem;line-height:1.45}.commerce-order.selected{border-color:var(--blue,#075bea);background:#f1f6ff;box-shadow:inset 3px 0 var(--blue,#075bea)}.commerce-detail{min-width:0;padding:24px;background:white;border:1px solid var(--line,#d8e1ea);border-radius:14px}.commerce-empty{padding:24px;font-size:.9rem;line-height:1.6;color:var(--muted,#6d7788)}.commerce-steps{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.commerce-steps span{font-size:.72rem;padding:7px 10px;border-radius:20px;background:#eff4fa;color:#365778}.commerce-delivery{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:16px;background:#f4f7fc;border-radius:10px;margin-bottom:24px;font-size:.85rem;line-height:1.6}.commerce-delivery p{width:100%;margin-bottom:0;color:var(--muted,#6d7788)}.commerce-book{padding:22px 0 6px;border-top:1px solid var(--line,#d8e1ea)}.commerce-book>.button{margin:8px 8px 8px 0;font-size:.84rem}.commerce-book progress{display:block;width:100%;margin:15px 0;height:9px;accent-color:var(--blue,#075bea)}.commerce-book p{font-size:.84rem;line-height:1.6}.commerce-book h3{font-size:1rem;overflow-wrap:anywhere}.commerce-reference{display:grid;grid-template-columns:125px minmax(0,1fr);gap:18px;align-items:center;padding:16px;margin:18px 0;background:#f8fafc;border-radius:12px}.commerce-reference img{display:block;width:125px;max-height:180px;object-fit:contain;border-radius:8px}.commerce-reference p{margin:7px 0 0;color:var(--muted,#6d7788)}.commerce-reference strong{font-size:.92rem}.commerce-warning{color:#99652b!important}.commerce-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.commerce-fields label{margin:0;font-size:.82rem}.commerce-fields input,.commerce-fields select{font-size:.9rem;min-width:0;width:100%}.commerce-fields input[type=file]{font-size:.78rem;padding:9px}.commerce-costume{margin:18px 0;padding:11px 14px;border-left:3px solid #b99248;background:#fbf7eb;color:#6b562d}.commerce-tag{display:inline-block;padding:5px 10px;background:#f1f5fa;border-radius:7px}.commerce-local-books{margin-top:25px}.commerce-local-books>summary{cursor:pointer;font-weight:650;padding:15px 0;color:var(--ink)}#commerce-workspace [hidden]{display:none!important}@media(max-width:950px){.commerce-heading{align-items:flex-start;flex-direction:column}.commerce-grid{grid-template-columns:1fr}.commerce-orders{display:flex;gap:12px;overflow:auto;max-height:none;padding-bottom:6px}.commerce-order{min-width:230px;max-width:280px;margin:0;flex-shrink:0}.commerce-detail{padding:18px}.commerce-standalone{padding:20px}}@media(max-width:600px){.commerce-fields,.commerce-catalog [data-catalog]{grid-template-columns:1fr}.commerce-stats{gap:8px}.commerce-stat{display:block;padding:12px}.commerce-stat span{display:block;font-size:.73rem;margin-top:7px}.commerce-reference{grid-template-columns:90px minmax(0,1fr);gap:12px;padding:12px}.commerce-reference img{width:90px}.commerce-actions{width:100%}.commerce-actions button{font-size:.82rem;flex:1}}

.wardrobe-panel{margin:0 0 20px;padding:15px 18px;border:1px solid #d7e3f1;border-radius:10px;background:#f3f7fc}.wardrobe-panel p{font-size:.87rem;line-height:1.55;margin:7px 0}.wardrobe-warning{border-color:#e0be77;background:#fff9ee}.wardrobe-panel .button{white-space:normal;text-align:left}.wardrobe-panel .form-note{margin-top:10px}

.commerce-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:18px;background:#edf4fd;border:1px solid #d8e5f5;border-radius:14px;margin:18px 0}.commerce-bulk label{display:flex;gap:8px;align-items:center}.commerce-bulk input[type=checkbox],.commerce-selectable>input{width:20px;height:20px;min-height:20px;accent-color:#075bea}.commerce-bulk p{flex-basis:100%;margin:0}.commerce-selectable{display:flex;gap:10px;align-items:flex-start}.commerce-selectable>input{margin-top:19px}.commerce-selectable>.commerce-order{flex:1}.commerce-operator,.operator-book-tools{padding:18px;margin:16px 0;background:#f7fafc;border:1px solid #d8e1ea;border-radius:12px}.commerce-operator textarea,.operator-book-tools textarea{width:100%;resize:vertical}.commerce-operator label,.operator-book-tools label{display:block;margin:14px 0}.commerce-operator .button,.operator-book-tools .button{margin:8px 10px 0 0}.commerce-operator input[type=checkbox]{width:20px;min-height:20px;margin-right:10px}

.commerce-simple-actions{position:sticky;top:8px;z-index:5;padding:18px;background:#f0f5ff;border:1px solid #d4e2ff;border-radius:16px}.commerce-simple-actions .commerce-actions{margin-top:12px;flex-wrap:wrap}.commerce-operator>summary{cursor:pointer;font-weight:700}
