.order-detail-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.order-detail-back{display:inline-block;font-size:.85rem;margin-bottom:6px;color:#2563eb}.order-detail h1{margin:0;font-size:1.35rem}.order-detail-meta{margin:4px 0 0;color:#64748b;font-size:.88rem}.order-print-btn{border:2px solid #111;background:#fff;color:#111;font-weight:800;padding:10px 16px;border-radius:10px;cursor:pointer;font-size:.88rem}.order-detail-section{margin-top:20px;padding-top:16px;border-top:1px solid #e5e7eb}.order-detail-section h2{margin:0 0 10px;font-size:1rem}.order-status-actions{display:flex;flex-wrap:wrap;gap:8px}.order-status-actions button{padding:8px 12px;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;font-weight:700;font-size:.82rem;cursor:pointer}.order-status-actions button:disabled{opacity:.45;cursor:not-allowed}.order-detail-hint{margin:10px 0 0;font-size:.78rem;color:#64748b}.order-detail-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.order-detail-grid .full{grid-column:1 / -1}.order-detail-grid .lbl{display:block;font-size:.72rem;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px}.order-item-list{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:10px}.order-item-row{display:flex;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:10px;padding:10px}.order-item-thumb{width:56px;height:56px;flex-shrink:0;border-radius:8px;overflow:hidden;border:1px solid #e5e7eb;display:grid;place-items:center;background:#f8fafc}.order-item-thumb img{width:100%;height:100%;object-fit:contain}.order-item-thumb .no-img{font-size:.75rem;color:#94a3b8}.order-item-body{min-width:0}.order-item-name{font-weight:700;color:#0f172a;text-decoration:underline;text-underline-offset:3px;word-break:break-word}.order-item-sub{font-size:.8rem;color:#64748b;margin-top:4px}.order-totals{max-width:320px;margin-left:auto;display:grid;gap:6px;font-size:.88rem}.order-totals>div{display:flex;justify-content:space-between;gap:12px}.order-totals .grand{margin-top:8px;padding-top:8px;border-top:2px solid #e5e7eb;font-size:1rem;font-weight:800}@media (max-width: 640px){.order-detail-head{flex-direction:column}.order-print-btn{width:100%}}:root{font-family:Inter,system-ui,Arial,sans-serif;color:#0f172a;background:#f1f5f9}*{box-sizing:border-box}body{margin:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}input,textarea,select,button{font:inherit;padding:10px;border:1px solid #cbd5e1;border-radius:8px}.layout{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:#0f172a;color:#fff;padding:20px;display:flex;flex-direction:column;gap:8px}.sidebar a{color:#cbd5e1;text-decoration:none;padding:8px;border-radius:8px}.sidebar a.active{background:#1e293b;color:#fff}.content{padding:24px}.card{background:#fff;border-radius:14px;padding:20px;box-shadow:0 8px 30px #0f172a14}.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kpi-grid article{border:1px solid #e2e8f0;border-radius:10px;padding:12px}.inline-form{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}.grid-form textarea{grid-column:1 / -1;min-height:100px}.stack{list-style:none;margin:0;padding:0;display:grid;gap:8px}.stack li{display:flex;justify-content:space-between;border:1px solid #e2e8f0;border-radius:8px;padding:10px}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid #e2e8f0;text-align:left;padding:10px 8px;vertical-align:middle}.coupons-lead{margin:0 0 14px;color:#475569;font-size:.92rem;line-height:1.45}.coupons-wheelSectionTitle{margin:22px 0 0;font-size:1.05rem;font-weight:800;color:#0f172a}.coupons-wheelHint{margin:8px 0 12px;font-size:.86rem;color:#64748b;line-height:1.5;max-width:900px}.coupons-tableWrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -4px;padding:0 4px}.coupons-table{min-width:880px}.coupons-orderInput{width:68px;padding:8px}.coupons-wheelLabelInput{min-width:120px;max-width:200px;width:100%;padding:8px}.coupons-formError{margin:0 0 12px}.coupons-wheelSlots{display:grid;gap:10px;margin-bottom:8px;max-width:920px}.coupons-wheelSlotRow{display:grid;grid-template-columns:88px minmax(140px,1fr) minmax(160px,1.2fr);gap:10px;align-items:center}@media (max-width: 720px){.coupons-wheelSlotRow{grid-template-columns:1fr}.coupons-wheelSlotNum{font-weight:700}}.coupons-wheelSlotNum{font-size:.88rem;color:#334155}.coupons-wheelSelect,.coupons-wheelNameInput{width:100%;padding:8px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.chip{border-radius:99px;background:#e2e8f0;border:0;padding:8px 12px}.chip.active{background:#0284c7;color:#fff}.auth-wrap{min-height:100vh;display:grid;place-items:center}.auth{width:min(420px,92vw);display:grid;gap:10px}.error{color:#dc2626;margin:0}.ghost{background:#fff;border:1px solid #cbd5e1}.publish-switch{width:50px;height:28px;border-radius:999px;border:1px solid #d1d5db;background:#e5e7eb;padding:2px;display:inline-flex;align-items:center;transition:all .2s ease}.publish-switchDot{width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transform:translate(0);transition:transform .2s ease}.publish-switch.is-on{background:#22c55e;border-color:#16a34a}.publish-switch.is-on .publish-switchDot{transform:translate(22px)}.members-top{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.members-top input{min-width:min(420px,100%)}.members-summary{margin:0 0 10px;color:#475569}.members-actions{display:flex;gap:6px}.drag-row{cursor:grab}.drag-row.is-dragging{opacity:.55}.drag-row.is-disabled{cursor:default}.messages-table{table-layout:fixed}.messages-table th:nth-child(1),.messages-table td:nth-child(1){width:18%}.messages-table th:nth-child(2),.messages-table td:nth-child(2){width:24%}.messages-table th:nth-child(3),.messages-table td:nth-child(3){width:14%}.messages-table th:nth-child(4),.messages-table td:nth-child(4){width:44%}.messages-cell{white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.35}.reviews-table{table-layout:fixed}.reviews-table th:nth-child(1),.reviews-table td:nth-child(1){width:32%}.reviews-table th:nth-child(2),.reviews-table td:nth-child(2){width:14%}.reviews-table th:nth-child(3),.reviews-table td:nth-child(3){width:10%}.reviews-table th:nth-child(4),.reviews-table td:nth-child(4){width:6%}.reviews-table th:nth-child(5),.reviews-table td:nth-child(5),.reviews-table th:nth-child(6),.reviews-table td:nth-child(6),.reviews-table th:nth-child(7),.reviews-table td:nth-child(7),.reviews-table th:nth-child(8),.reviews-table td:nth-child(8),.reviews-table th:nth-child(9),.reviews-table td:nth-child(9){width:7%}.reviews-commentCell{white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.35}.admin-modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#0f172a73;display:grid;place-items:center;padding:16px}.admin-modal{width:min(420px,100%);background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 20px 50px #0f172a2e;padding:22px 22px 18px}.admin-modal h2{margin:0 0 10px;font-size:1.1rem;color:#0f172a;letter-spacing:-.02em}.admin-modalMessage{margin:0 0 20px;font-size:.92rem;line-height:1.45;color:#475569}.admin-modalActions{display:flex;justify-content:flex-end;gap:10px}.admin-modalBtn{border-radius:8px;padding:9px 16px;font-weight:600;font-size:.88rem;border:1px solid transparent;cursor:pointer}.admin-modalBtnGhost{background:#f8fafc;border-color:#e2e8f0;color:#334155}.admin-modalBtnPrimary{background:#0f172a;color:#fff}.admin-modalBtnDanger{background:#b91c1c;color:#fff}.admin-modalBtn:hover{filter:brightness(.97)}.auth p{margin:0;color:#475569}.product-editor{display:grid;gap:12px}.product-editorTop{display:flex;align-items:center;gap:12px;width:100%}.product-editorBack{color:#0f172a;text-decoration:none;font-weight:700;flex-shrink:0}.product-editorTitle{margin:0 0 0 auto;font-size:1.35rem;text-align:right}.product-editorGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.product-editorForm{display:grid;gap:8px;align-content:start}.product-editorLabel{font-size:.82rem;font-weight:700;color:#334155;margin-bottom:-4px}.product-editorPreview{display:grid;gap:10px;align-content:start}.product-editorPreview h2{margin:0;font-size:1rem}.pe-extraImagesWrap{border:1px solid #e2e8f0;border-radius:10px;padding:10px;display:grid;gap:8px}.pe-extraImagesHead{display:flex;align-items:center;justify-content:space-between}.pe-addExtraBtn{width:32px;height:32px;border-radius:999px;border:1px solid #111827;background:#111827;color:#fff;font-weight:800;line-height:1;padding:0}.pe-extraImagesEmpty{margin:0;font-size:.82rem;color:#64748b}.pe-extraImagesList{display:grid;gap:8px}.pe-extraImageRow{display:grid;grid-template-columns:36px 1fr auto;gap:8px;align-items:center}.pe-extraImageIndex{font-size:.78rem;color:#475569;font-weight:700}.pe-extraImageOk{grid-column:2 / -1;color:#0f7a42}.pe-previewTop{display:grid;grid-template-columns:180px 1fr;gap:14px;align-items:start}.pe-previewImg{border:1px solid #e2e8f0;border-radius:10px;background:#fff;height:210px;display:flex;align-items:center;justify-content:center}.pe-previewImg img{width:100%;height:100%;object-fit:contain;padding:8px}.pe-priceRow{display:flex;align-items:center;gap:8px;margin-bottom:8px}.pe-priceRow strong{font-size:1.2rem}.pe-priceRow span{color:#64748b;text-decoration:line-through;font-weight:700}.pe-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.pe-chips em{font-style:normal;border:1px solid #cbd5e1;border-radius:999px;padding:3px 8px;font-size:.78rem}.pe-buyBtn{background:#111827;color:#fff;border:0;border-radius:8px;padding:10px 14px;font-weight:700}.orders-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-top:14px}.orders-card{display:flex;flex-direction:column;gap:8px;border:1px solid #e2e8f0;border-radius:12px;padding:14px;text-decoration:none;color:inherit;background:#fafafa;transition:border-color .15s ease,box-shadow .15s ease}.orders-card:hover{border-color:#94a3b8;box-shadow:0 4px 14px #0f172a14}.orders-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.orders-pill{font-size:.72rem;font-weight:800;padding:4px 8px;border-radius:999px;background:#e2e8f0;color:#334155}.orders-pill--preparing{background:#fef3c7;color:#92400e}.orders-pill--shipped{background:#dbeafe;color:#1e40af}.orders-pill--cancelled{background:#fee2e2;color:#991b1b}.orders-pill--delivered{background:#d1fae5;color:#065f46}.orders-card-body{display:flex;justify-content:space-between;gap:8px;font-size:.88rem;color:#475569}.orders-card-sum{font-weight:800;color:#0f172a}.orders-card-foot{font-size:.75rem;color:#94a3b8}.muted{color:#64748b;font-size:.95rem;line-height:1.5;max-width:720px}.notice{padding:12px 14px;background:#fef3c7;border-radius:10px;color:#92400e;font-size:.9rem;margin-bottom:16px}.animations-page h1{margin-bottom:4px}.animations-section{margin-bottom:28px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.animations-section:last-of-type{border-bottom:none;margin-bottom:0}.animations-sectionTitle{margin:0 0 6px;font-size:1.15rem;font-weight:800;color:#0f172a;letter-spacing:-.02em}.animations-sectionHint{margin:0 0 16px;font-size:.88rem;color:#64748b;line-height:1.45;max-width:640px}.animations-fieldset{border:1px solid #e2e8f0;border-radius:12px;padding:16px 18px;margin:0 0 14px;background:#fafbfc}.animations-legend{font-weight:700;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;padding:0 6px}.animations-field{display:grid;gap:8px;margin-bottom:14px}.animations-field:last-child{margin-bottom:0}.animations-labelText{font-size:.88rem;font-weight:600;color:#334155}.animations-textarea,.animations-input,.animations-select{width:100%;max-width:520px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:.92rem;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.animations-textarea{min-height:80px;resize:vertical;line-height:1.45}.animations-input:focus,.animations-textarea:focus,.animations-select:focus{outline:none;border-color:#94a3b8;box-shadow:0 0 0 3px #94a3b840}.animations-switchRow{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:520px;margin-bottom:14px;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #e8edf3}.animations-field--color{max-width:200px}.animations-colorInput{width:100%;height:42px;padding:4px;border:1px solid #cbd5e1;border-radius:10px;cursor:pointer;background:#fff}.animations-colorRow{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin-bottom:0}.animations-colorRow .animations-field--color{flex:1;min-width:140px;margin-bottom:0}.animations-wheelMeta{margin:0 0 12px;font-size:.86rem;color:#64748b}.animations-wheelRow{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center;margin-bottom:10px}@media (max-width: 640px){.animations-wheelRow{grid-template-columns:1fr}}.animations-wheelRemove{padding:8px 12px;border-radius:8px;border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;font-size:.82rem;font-weight:600;cursor:pointer;white-space:nowrap}.animations-wheelAdd{margin-top:6px;padding:8px 14px;border-radius:8px;border:1px dashed #94a3b8;background:#f8fafc;color:#334155;font-size:.86rem;font-weight:600;cursor:pointer}.animations-sectionActions{display:flex;justify-content:flex-end;margin-top:4px}.animations-saveBtn{min-width:140px;padding:11px 20px;font-weight:700;font-size:.92rem;border-radius:10px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}.animations-saveBtn:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.animations-saveBtn:disabled{opacity:.65;cursor:not-allowed}.animations-saveBtn--saved{background:#dcfce7;border-color:#86efac;color:#166534}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:280px;margin-bottom:12px}.form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}@media (max-width: 900px){.layout{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:2}.grid-form,.product-editorGrid,.pe-previewTop{grid-template-columns:1fr}}
