.dz-tailor-page{padding:24px 28px;max-width:1500px;margin:auto}.dz-tailor-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.dz-tailor-head>div>span{font-size:8px;letter-spacing:1px;color:#888;font-weight:700}.dz-tailor-head h1{margin:4px 0;font-size:23px}.dz-tailor-head p{font-size:10px;color:#888;margin:0}.dz-tailor-head-actions{display:flex;gap:7px}.dz-tailor-btn{height:35px;border:1px solid #dddde5;background:#fff;color:#222;border-radius:8px;padding:0 12px;font-size:9px;cursor:pointer}.dz-tailor-btn.primary{background:#111;color:#fff;border-color:#111}.dz-tailor-cards{display:flex;gap:9px;margin:18px 0}.dz-tailor-cards>div{flex:1;border:1px solid #e4e4ea;border-radius:10px;background:#fff;padding:14px}.dz-tailor-cards b{display:block;font-size:18px}.dz-tailor-cards span{font-size:8px;color:#888}.dz-tailor-toolbar{display:flex;gap:8px;margin-bottom:9px}.dz-tailor-toolbar input,.dz-tailor-toolbar select{height:35px;border:1px solid #dddde5;border-radius:8px;padding:0 10px;background:#fff;color:#222;font-size:9px}.dz-tailor-toolbar input{flex:1}.dz-tailor-table-wrap{overflow:auto;border:1px solid #e4e4ea;border-radius:11px;background:#fff}.dz-tailor-table{width:100%;min-width:1200px;border-collapse:collapse;font-size:9px}.dz-tailor-table th,.dz-tailor-table td{padding:11px;border-bottom:1px solid #eee;text-align:left;white-space:nowrap}.dz-tailor-table th{font-size:8px;color:#777;background:#fafafa}.dz-tailor-table td small{display:block;color:#999;font-size:7px;margin-top:2px}.dz-tailor-actions{display:flex;gap:4px}.dz-tailor-actions button{border:1px solid #ddd;background:#fff;color:#222;border-radius:6px;padding:5px 8px;font-size:7px;cursor:pointer}.dz-tailor-status{padding:4px 7px;border-radius:15px;font-size:7px}.dz-tailor-status.new-request,.dz-tailor-status.awaiting-quote{background:#fff4dc;color:#8a6500}.dz-tailor-status.quoted,.dz-tailor-status.accepted{background:#e9f0ff;color:#315aa0}.dz-tailor-status.in-production{background:#eee7ff;color:#6348a0}.dz-tailor-status.quality-check{background:#e8f4f4;color:#287070}.dz-tailor-status.ready{background:#eaf7ed;color:#26733a}.dz-tailor-status.completed{background:#dff5e5;color:#1f6d32}.dz-tailor-status.rejected,.dz-tailor-status.cancelled{background:#fce9e9;color:#9a3333}.dz-tailor-empty{text-align:center!important;padding:35px!important;color:#999}.dz-tailor-modal-bg{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px}.dz-tailor-modal{width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;color:#17171d;border-radius:14px}.dz-tailor-modal header,.dz-tailor-modal footer{padding:12px 16px;border-bottom:1px solid #e6e6eb;display:flex;justify-content:space-between;align-items:center}.dz-tailor-modal footer{border-top:1px solid #e6e6eb;border-bottom:0;justify-content:flex-end;gap:7px}.dz-tailor-modal header h3{margin:0;font-size:14px}.dz-tailor-modal header button{border:1px solid #ddd;background:#fff;color:#222;border-radius:7px;padding:6px 9px;font-size:8px}.dz-tailor-modal .body{padding:16px}.dz-tailor-modal-btn{border:1px solid #ddd;background:#fff;color:#222;border-radius:7px;padding:8px 12px;font-size:8px;cursor:pointer}.dz-tailor-modal-btn.primary{background:#111;color:#fff;border-color:#111}.dz-request-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.dz-request-grid span,.dz-measurements span{border:1px solid #e4e4ea;border-radius:7px;padding:8px;font-size:8px}.dz-request-grid b,.dz-measurements b{display:block;color:#888;font-size:7px;margin-bottom:3px}.dz-request-view h4{font-size:16px;margin:0 0 5px}.dz-request-view p,.dz-send-copy{font-size:9px;color:#777}.dz-request-view h5{font-size:10px;margin:15px 0 7px}.dz-measurements{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.dz-tailor-field{display:grid;gap:5px;font-size:8px;font-weight:700;margin-bottom:10px}.dz-tailor-field select,.dz-tailor-field textarea,.dz-tailor-form input,.dz-tailor-form select,.dz-tailor-form textarea{border:1px solid #dddde5;border-radius:7px;padding:8px;background:#fff;color:#222;font-size:9px;box-sizing:border-box}.dz-tailor-field textarea,.dz-tailor-form textarea{min-height:80px}.dz-tailor-form{display:grid;gap:10px}.dz-tailor-form .two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dz-tailor-form label{display:grid;gap:4px;font-size:8px;font-weight:700}.dark .dz-tailor-btn,.dark .dz-tailor-cards>div,.dark .dz-tailor-toolbar input,.dark .dz-tailor-toolbar select,.dark .dz-tailor-table-wrap,.dark .dz-tailor-actions button,.dark .dz-tailor-modal,.dark .dz-tailor-modal header button,.dark .dz-tailor-modal-btn,.dark .dz-tailor-field select,.dark .dz-tailor-field textarea,.dark .dz-tailor-form input,.dark .dz-tailor-form select,.dark .dz-tailor-form textarea{background:#20202a;color:#fff;border-color:#3b3b48}.dark .dz-tailor-table th{background:#292933}.dark .dz-tailor-table td,.dark .dz-request-grid span,.dark .dz-measurements span{border-color:#3b3b48}.dark .dz-tailor-modal header,.dark .dz-tailor-modal footer{border-color:#3b3b48}.dark .dz-tailor-btn.primary,.dark .dz-tailor-modal-btn.primary{background:#fff;color:#111}@media(max-width:700px){.dz-tailor-page{padding:15px}.dz-tailor-head{flex-direction:column;align-items:flex-start}.dz-tailor-cards{overflow-x:auto}.dz-tailor-cards>div{min-width:125px}.dz-tailor-toolbar{overflow-x:auto}.dz-tailor-toolbar>*{flex-shrink:0}.dz-tailor-toolbar input{min-width:260px}.dz-request-grid{grid-template-columns:1fr 1fr}.dz-measurements{grid-template-columns:1fr 1fr}.dz-tailor-form .two{grid-template-columns:1fr}}
/* Tailor Consignment V3 */
.tc-head-tools{display:flex;align-items:flex-end;gap:10px}.tc-region{display:grid;gap:4px}.tc-region span{font-size:7px;font-weight:800;letter-spacing:.7px;color:#888}.tc-region select{height:35px;border:1px solid #dddde5;border-radius:8px;background:#fff;color:#222;padding:0 10px;font-size:9px}.tc-statusbar{display:flex;justify-content:flex-end;margin-top:12px}.tc-status-btn{border:1px solid #dddde5;background:#fff;border-radius:8px;padding:7px 11px;font-size:8px;font-weight:800}.tc-tabs{display:flex;align-items:center;gap:4px;margin:14px 0 9px;border-bottom:1px solid #e6e6eb;padding-bottom:8px}.tc-tabs>button{border:0;background:transparent;padding:8px 10px;border-radius:7px;color:#777;font-size:8px;cursor:pointer}.tc-tabs>button.active{background:#17171d;color:#fff}.tc-tab-actions{margin-left:auto;display:flex;gap:5px}.tc-tab-actions button{border:1px solid #dddde5;background:#fff;color:#222;border-radius:7px;padding:7px 9px;font-size:8px;cursor:pointer}.tc-wallet{margin-top:14px;border:1px solid #e2e2e8;border-radius:11px;background:#fff;padding:14px;display:flex;align-items:center;justify-content:space-between}.tc-wallet>div{display:flex;gap:10px;align-items:center}.tc-wallet>div>span{width:34px;height:34px;border-radius:9px;background:#f0ebff;color:#6b35df;display:grid;place-items:center;font-size:11px}.tc-wallet small{font-size:7px;color:#888;letter-spacing:.7px}.tc-wallet h3{margin:2px 0;font-size:11px}.tc-wallet b{font-size:7px;color:#6b35df}.tc-wallet button{border:1px solid #ddd;background:#fff;border-radius:7px;padding:8px 12px;font-size:8px;cursor:pointer}.tc-garment{display:flex;gap:8px;align-items:center}.tc-thumb{width:34px;height:40px;border-radius:6px;background:#f1f1f5;display:grid;place-items:center;overflow:hidden;font-size:14px}.tc-thumb img{width:100%;height:100%;object-fit:cover}.tc-garment strong{font-size:9px}.tc-garment small{display:block;color:#999;font-size:7px;margin-top:2px}.dz-tailor-table td small{display:block;color:#999;font-size:7px;margin-top:2px}.tc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tc-form-section{border:1px solid #e5e5eb;border-radius:10px;padding:12px}.tc-form-section:first-child{grid-column:span 2}.tc-form-section h4{margin:0 0 10px;font-size:10px}.tc-form-section label{display:grid;gap:4px;font-size:8px;font-weight:800;margin-bottom:9px}.tc-form-section input,.tc-form-section select,.tc-form-section textarea{border:1px solid #dddde5;border-radius:7px;padding:8px;background:#fff;color:#222;font-size:9px;box-sizing:border-box;width:100%}.tc-form-section textarea{min-height:70px;resize:vertical}.tc-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tc-help{font-size:7px;color:#888;margin:-5px 0 8px;display:block}.tc-customer-results{max-height:140px;overflow:auto;border:1px solid #eee;border-radius:7px}.tc-customer-result{width:100%;display:grid;gap:2px;text-align:left;background:#fff;border:0;border-bottom:1px solid #eee;padding:8px;cursor:pointer}.tc-customer-result strong{font-size:8px}.tc-customer-result span{font-size:7px;color:#888}.tc-no-results,.tc-selected{padding:10px;font-size:8px;color:#888}.tc-selected{color:#26733a;background:#eef9f0}.tc-photo-actions{display:flex;gap:6px}.tc-secondary{border:1px solid #dddde5;background:#fff;color:#222;border-radius:7px;padding:7px 9px;font-size:8px;cursor:pointer}.tc-photo-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.tc-photo-chip{display:flex;align-items:center;gap:6px;border:1px solid #e1e1e7;border-radius:7px;padding:4px 6px;font-size:7px;max-width:100%}.tc-photo-chip img{width:28px;height:32px;object-fit:cover;border-radius:4px}.tc-photo-chip span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tc-photo-chip button{border:0;background:transparent;font-size:12px;cursor:pointer}.tc-profit-note{margin-top:10px;padding:10px;border-radius:8px;background:#f7f5ff;color:#666;font-size:8px}.tc-profit-note strong{color:#6b35df;margin-left:8px}.tc-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tc-gallery button{border:1px solid #dddde5;background:#fff;border-radius:8px;padding:6px;text-align:left;cursor:pointer}.tc-gallery img{width:100%;height:160px;object-fit:cover;border-radius:5px}.tc-gallery span{display:block;font-size:8px;padding:5px}.tc-detail-hero{display:flex;gap:12px;align-items:center;border-bottom:1px solid #eee;padding-bottom:12px}.tc-detail-hero img,.tc-no-photo{width:90px;height:110px;border-radius:8px;object-fit:cover;background:#f1f1f5;display:grid;place-items:center;font-size:24px}.tc-detail-hero h3{margin:0 0 4px;font-size:15px}.tc-detail-hero p{font-size:8px;color:#777}.tc-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.tc-detail-grid div{border:1px solid #e5e5eb;border-radius:7px;padding:8px}.tc-detail-grid span{display:block;font-size:7px;color:#888}.tc-detail-grid b{display:block;font-size:9px;margin-top:3px}.tc-note{font-size:8px;color:#777;background:#fafafa;border-radius:7px;padding:8px}.tc-wallet-request label{display:grid;gap:5px;font-size:8px;font-weight:800;margin-top:10px}.tc-wallet-request input,.tc-wallet-request select,.tc-wallet-request textarea{border:1px solid #dddde5;border-radius:7px;padding:8px;font-size:9px}.tc-wallet-request textarea{min-height:60px}.tc-wallet-request p{font-size:8px;color:#777}.tc-wallet-number{font-size:24px;font-weight:800;color:#6b35df}.dz-tailor-status.received{background:#fff4dc;color:#8a6500}.dz-tailor-status.listed{background:#e9f0ff;color:#315aa0}.dz-tailor-status.sold{background:#eaf7ed;color:#26733a}.dz-tailor-status.returned{background:#fce9e9;color:#9a3333}
.dark .tc-region select,.dark .tc-status-btn,.dark .tc-tab-actions button,.dark .tc-wallet,.dark .tc-wallet button,.dark .tc-form-section,.dark .tc-form-section input,.dark .tc-form-section select,.dark .tc-form-section textarea,.dark .tc-secondary,.dark .tc-customer-result,.dark .tc-gallery button,.dark .tc-detail-grid div,.dark .tc-note,.dark .tc-wallet-request input,.dark .tc-wallet-request select,.dark .tc-wallet-request textarea{background:#20202a;color:#fff;border-color:#3b3b48}.dark .tc-tabs>button.active{background:#fff;color:#111}.dark .tc-profit-note{background:#2b253a}.dark .tc-wallet>div>span{background:#32264a}.dark .tc-selected{background:#18301e}
@media(max-width:800px){.tc-head-tools{flex-direction:column;align-items:stretch}.tc-form-grid{grid-template-columns:1fr}.tc-form-section:first-child{grid-column:auto}.tc-tabs{overflow-x:auto}.tc-tab-actions{margin-left:0}.tc-wallet{align-items:flex-start;gap:10px;flex-direction:column}.tc-two,.tc-detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.tc-two,.tc-detail-grid,.tc-gallery{grid-template-columns:1fr}.tc-head-tools{width:100%}.tc-region select{width:100%}}
/* Tailor V4 icon + measurement polish */
.tc-icon{width:18px;height:18px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tc-tab-actions button,.tc-wallet button,.dz-tailor-modal-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.tc-tab-actions button span,.dz-tailor-modal-btn span{display:inline}
.tc-wallet-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:rgba(99,70,220,.1);color:#6846dc}
.tc-measurements{margin-top:14px;padding:16px;border:1px solid var(--border,#e5e7eb);border-radius:14px;background:rgba(99,70,220,.035)}
.tc-measurements h4{margin:0 0 12px;font-size:12px;letter-spacing:.08em}
.tc-measure-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tc-measure-grid label{font-size:10px;font-weight:700;letter-spacing:.05em}
.tc-measure-grid input{margin-top:5px;width:100%;box-sizing:border-box}
.tc-measure-view{margin-top:14px}
.tc-measure-view h4{margin:0 0 10px}
@media(max-width:900px){.tc-measure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.tc-measure-grid{grid-template-columns:1fr}.tc-tab-actions{width:100%;display:flex;flex-wrap:wrap}}
