.shop-admin header #account{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.shop-admin #account[hidden]{display:none}.shop-admin header a{font-size:14px}.shop-admin-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:24px 0}.shop-admin-heading h1{margin:0;font-size:40px}.shop-admin-heading>p{font-size:14px;line-height:1.7;text-align:right}.admin-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.admin-product{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;padding:20px}.admin-product img,.no-photo{width:130px;height:160px;object-fit:cover;background:#f0f0ea}.no-photo{display:grid;place-items:center;font-size:14px;color:#666}.admin-product h3{margin:8px 0;font-size:20px}.admin-product p{font-size:14px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}.admin-product .eyebrow{font-size:12px}.admin-product strong{font-size:22px}.shop-admin #edit-form input[type=checkbox]{width:18px;min-height:18px;display:inline-block;vertical-align:middle;margin-right:8px}.shop-admin #product-photo-preview img{max-width:220px;max-height:180px;object-fit:cover;margin-bottom:16px}.shop-admin .web-order h4{margin-top:8px}.shop-admin .web-order-grid p{overflow-wrap:anywhere}.shop-admin .sales-entry{position:static}@media(max-width:850px){.admin-products{grid-template-columns:1fr}.shop-admin-heading{align-items:start}.shop-admin-heading h1{font-size:30px}.shop-admin-heading>p{text-align:left}.shop-admin header #account{gap:12px}.shop-admin-heading{flex-wrap:wrap}}@media(max-width:480px){.admin-product{grid-template-columns:90px 1fr;padding:16px;gap:14px}.admin-product img,.no-photo{width:90px;height:120px}.admin-product h3{font-size:18px}}
.admin-product img,.no-photo{height:130px;aspect-ratio:1}.product-row-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.product-delete{border-color:#bf4637;color:#973127;background:transparent}.product-delete:hover{background:#fce9e5}.photo-editor{border:1px solid #ccd0c7;border-radius:10px;padding:16px;margin:10px 0 20px}.photo-editor-frame{width:min(100%,260px);aspect-ratio:1;position:relative;margin:auto;background:#efefe9;border:2px dashed #b5bdac;overflow:hidden;border-radius:6px}.photo-editor-frame.drag-over{border-color:#e7633e;background:#fff1dd}.photo-editor-frame img,.photo-editor-frame canvas{display:block;width:100%;height:100%;object-fit:cover}.photo-editor-frame [hidden],.photo-editor [hidden]{display:none!important}.photo-editor-frame canvas{cursor:grab;touch-action:none}.photo-editor-frame canvas:active{cursor:grabbing}.photo-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:20px}.photo-placeholder span{font-size:30px}.photo-placeholder strong{font-size:17px}.photo-placeholder small{font-size:14px;line-height:1.5}.photo-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px}.photo-actions button{font-size:14px;min-height:44px}.photo-choose{background:#151c19;color:#fff}.photo-remove{color:#963629}.photo-help,.photo-error{font-size:14px;line-height:1.5}.photo-error{color:#a32d20}.photo-zoom{margin-top:16px}.photo-zoom input{padding:0;accent-color:#ee7540;min-height:32px}@media(max-width:480px){.admin-product img,.no-photo{height:90px}.photo-editor{padding:12px}.photo-actions button{flex:1 0 45%}}

/* Order Kanban */
.shop-admin main:has(.shop-orders-workspace){max-width:1740px;padding-left:3%;padding-right:3%}
.shop-orders-toolbar{margin-bottom:12px}.shop-orders-toolbar h2{margin-bottom:6px}.shop-orders-toolbar p{margin:0;font-size:14px}
.shop-board-help{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 20px}.shop-board-help span{display:none}
.shop-order-board{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:14px;align-items:start;overflow-x:auto;padding:3px 3px 20px;scroll-snap-type:x proximity;scrollbar-width:auto}.shop-order-board:focus-visible{outline:3px solid #7fa900;outline-offset:3px}
.shop-order-lane{--stage:#ad7510;min-height:360px;min-width:0;background:#e9eced;border:1px solid #d6dcde;border-top:4px solid var(--stage);border-radius:12px;scroll-snap-align:start;transition:background .15s,border-color .15s}.shop-order-lane[data-order-lane=confirmed]{--stage:#566ec4}.shop-order-lane[data-order-lane=shipped]{--stage:#7b52a6}.shop-order-lane[data-order-lane=delivered]{--stage:#2a7653}.shop-order-lane[data-order-lane=cancelled]{--stage:#727a80}
.shop-lane-heading{display:flex;gap:8px;justify-content:space-between;align-items:start;padding:18px 14px 15px}.shop-lane-heading h3{margin:0 0 6px;font-size:17px;line-height:1.3}.shop-lane-heading p{font-size:13px;line-height:1.45;margin:0;color:#566169}.shop-lane-count{display:grid;place-items:center;background:white;border:1px solid #d1d7da;min-width:29px;padding:5px 7px;border-radius:20px;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.shop-lane-body{padding:0 10px 12px;display:grid;gap:12px}.shop-lane-empty{border:1px dashed #b4bec3;border-radius:8px;padding:24px 10px;text-align:center;color:#59656b;font-size:14px;line-height:1.6;margin:0}.shop-order-card{background:white;border:1px solid #d3dadd;border-radius:9px;padding:14px;box-shadow:0 2px 3px #13202405;min-width:0;overflow-wrap:anywhere}
.shop-card-top{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:32px}.shop-order-reference{font-size:13px;font-weight:750;letter-spacing:.15px}.shop-order-grip{font-size:24px;color:#626d73;cursor:grab;border:0;padding:0;min-height:36px;min-width:32px;background:transparent;line-height:1}.shop-order-grip:active{cursor:grabbing}.shop-order-card time{display:block;font-size:12px;color:#69747a;margin-top:2px}.shop-order-card h4{font-size:17px;line-height:1.4;margin:14px 0 3px}.shop-order-city{font-size:14px;margin:0 0 14px;color:#526168}
.shop-order-items{padding:12px 0;margin:0;list-style:none;border-top:1px solid #e7ebed;border-bottom:1px solid #e7ebed;display:grid;gap:8px;font-size:14px;line-height:1.5}.shop-order-items span{font-weight:700}.shop-order-more{font-size:13px;color:#5e6669;margin:8px 0}.shop-order-total{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:16px 0}.shop-order-total span{font-size:13px;color:#5e6669}.shop-order-total strong{font-size:18px;font-variant-numeric:tabular-nums}
.shop-card-actions{display:grid;gap:8px}.shop-card-actions button{width:100%;font-size:14px;padding:10px 8px;min-height:44px}.shop-card-actions button:first-child{background:#f6f8f8}.shop-card-actions .primary{background:#151d20;color:white;border-color:#151d20}.shop-card-actions .primary:hover{background:#2e3d43}.shop-load-more{font-size:14px;background:transparent;line-height:1.5}.shop-lane-error{font-size:14px;line-height:1.5;color:#8e3827;background:#fff3ef;border-radius:8px;padding:12px}.shop-lane-error p{margin:0 0 10px}.shop-lane-error button{font-size:14px}
.shop-order-lane.can-drop{border-style:dashed;border-color:var(--stage)}.shop-order-lane.is-over{background:#e5f3ce;outline:2px solid #617e1c;outline-offset:-2px}.shop-order-card.is-dragging{opacity:.45}.shop-order-detail{overflow-wrap:anywhere;font-size:16px;line-height:1.6}.shop-order-detail h3{font-size:21px}.shop-order-detail ul{padding-left:20px}.shop-order-detail li{margin-bottom:8px}.shop-detail-stage{font-size:14px;color:#556469;line-height:1.5}.shop-detail-note{padding:14px;background:#f2f5f5;border-radius:8px}.shop-detail-note p{margin:8px 0 0;white-space:pre-wrap}.shop-detail-actions{flex-wrap:wrap}.shop-detail-actions button{font-size:14px;line-height:1.5}
@media(max-width:760px){.shop-admin main:has(.shop-orders-workspace){padding:20px 16px 40px}.shop-order-board{grid-template-columns:repeat(3,min(82vw,310px));gap:12px}.shop-board-help span{display:block;margin-top:5px}.shop-admin-heading{margin-top:8px}.shop-order-grip{min-height:44px;min-width:36px}.shop-detail-actions button{flex:1 1 100%}}

.shop-order-views{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.shop-order-views button{border-radius:24px;font-size:14px}.shop-order-views [aria-current=page]{background:#151d20;color:white;border-color:#151d20}
.shop-order-finish{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 3px 18px}.shop-finish-zone{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px dashed #aebbbb;border-radius:9px;padding:16px;background:#f5f8f7;min-height:66px;font-size:14px}.shop-finish-zone strong{color:#2b624c}.shop-finish-zone span{color:#5c696c}.shop-finish-zone[data-order-target-zone=cancelled] strong{color:#77544c}.shop-finish-zone.can-drop{border:2px dashed #708544;background:#f0f7e2}.shop-finish-zone.is-over{outline:2px solid #617e1c;background:#e5f3ce}
.shop-order-history .shop-order-lane{min-height:0}.shop-order-history .shop-lane-body{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));align-items:start}.shop-order-history .shop-lane-empty,.shop-order-history .shop-lane-error,.shop-order-history .shop-load-more{grid-column:1/-1}.shop-card-actions .shop-cancel-order{border:0;background:transparent;color:#87564a;padding:8px;min-height:44px}.shop-order-card.is-saving{opacity:.6}.shop-order-card.is-saving .shop-order-grip{cursor:wait}
@media(max-width:760px){.shop-order-finish{grid-template-columns:1fr;gap:8px}.shop-finish-zone{padding:12px;flex-wrap:wrap;gap:6px;min-height:56px}.shop-order-views{gap:6px}.shop-order-views button{padding:10px 12px}.shop-order-history .shop-lane-body{grid-template-columns:1fr}}
