.smart-gallery-manager{position:relative}.smart-gallery-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:18px 0}.smart-gallery-stats span{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid rgba(148,163,184,.25);border-radius:16px;background:rgba(255,255,255,.72);box-shadow:0 10px 24px rgba(15,23,42,.05)}.smart-gallery-stats strong{font-size:1.25rem}.smart-gallery-stats small{color:#64748b}.smart-gallery-toolbar,.smart-bulk-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0;padding:12px;border:1px solid rgba(148,163,184,.25);border-radius:18px;background:#f8fafc}.smart-gallery-toolbar input,.smart-gallery-toolbar select,.smart-bulk-bar input,.smart-bulk-bar select{min-height:40px;border:1px solid #dbe3ee;border-radius:12px;padding:8px 10px;background:#fff}.smart-gallery-toolbar input{flex:1 1 310px}.smart-bulk-bar input{max-width:145px}.smart-select{position:absolute;z-index:2;top:12px;left:12px;background:#fff;border-radius:999px;padding:6px;box-shadow:0 6px 16px rgba(15,23,42,.16)}.smart-project-card{position:relative}.smart-project-card[hidden],.smart-project-table tr[hidden]{display:none!important}.project-cover em{position:absolute;right:12px;top:12px;background:#fff;border-radius:999px;padding:6px 8px;font-style:normal;box-shadow:0 6px 16px rgba(15,23,42,.16)}.smart-health{padding:10px 12px;border-radius:14px;margin:10px 0;display:flex;flex-direction:column;gap:4px}.smart-health small{color:#475569}.smart-health-excellent{background:#ecfdf5}.smart-health-good{background:#fffbeb}.smart-health-attention{background:#fef2f2}.smart-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.smart-tags span{font-size:.78rem;padding:4px 8px;background:#eef2ff;border-radius:999px;color:#3730a3}.smart-activity{margin:10px 0;padding:9px 11px;border-radius:13px;background:#f8fafc}.smart-activity summary{cursor:pointer;font-weight:700}.smart-activity small{display:block;color:#64748b;margin-top:5px}.smart-project-table-wrap{margin-top:14px}.smart-project-table td{vertical-align:top}@media(max-width:760px){.smart-gallery-toolbar,.smart-bulk-bar{display:grid;grid-template-columns:1fr}.smart-bulk-bar input{max-width:none}}

/* PhotoSales Studio 2.3.1 - Professional gallery cards */
.professional-gallery-card{border:1px solid rgba(148,163,184,.32);box-shadow:0 18px 42px rgba(15,23,42,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.professional-gallery-card:hover{transform:translateY(-2px);box-shadow:0 24px 54px rgba(15,23,42,.12);border-color:rgba(59,130,246,.34)}
.professional-gallery-card .project-cover:after{content:"";position:absolute;inset:auto 0 0;height:46%;background:linear-gradient(to top,rgba(15,23,42,.46),rgba(15,23,42,0))}
.status-pill{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:999px;padding:6px 9px;font-size:.78rem;font-weight:700;border:1px solid rgba(148,163,184,.32);background:#f8fafc;color:#0f172a}
.status-pill-published{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.status-pill-draft{background:#fffbeb;border-color:#fde68a;color:#92400e}.status-pill-archived{background:#f1f5f9;border-color:#cbd5e1;color:#334155}.status-pill-private{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.status-pill-hidden{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.project-meta-line,.project-mini-info{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0;color:#475569;font-size:.88rem}.project-meta-line span,.project-mini-info span{display:inline-flex;align-items:center;gap:4px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:5px 8px}.project-mini-info{font-size:.8rem;margin-top:0}.pro-kpis{grid-template-columns:repeat(2,1fr)}.pro-kpis span{min-height:58px}.professional-actions{border-top:1px solid #e2e8f0;padding-top:12px;margin-top:12px}.professional-actions .btn{padding:9px 11px}.copy-link-done{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#166534!important}
@media(max-width:760px){.pro-kpis{grid-template-columns:1fr}.status-pill{white-space:normal}.professional-actions .btn{width:100%;justify-content:center}}

/* PhotoSales Studio 2.3.2 - Admin dashboard order pipeline */
.order-pipeline-card{margin-top:16px}.order-pipeline-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px}.order-pipeline-inline{margin:14px 0}.pipeline-step{display:flex;flex-direction:column;gap:5px;padding:13px 14px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;text-decoration:none;color:#0f172a;box-shadow:0 10px 24px rgba(15,23,42,.05);transition:transform .16s ease,box-shadow .16s ease}.pipeline-step:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(15,23,42,.09)}.pipeline-step strong{font-size:1.45rem;line-height:1}.pipeline-step small{color:#64748b}.pipeline-label{font-weight:800;font-size:.82rem}.order-status-badge{display:inline-flex;border:1px solid transparent}.order-status-new{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important}.order-status-confirmed{background:#f0f9ff!important;border-color:#bae6fd!important;color:#0369a1!important}.order-status-paid{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#166534!important}.order-status-processing{background:#fffbeb!important;border-color:#fde68a!important;color:#92400e!important}.order-status-delivered{background:#f5f3ff!important;border-color:#ddd6fe!important;color:#6d28d9!important}.order-status-completed{background:#f0fdf4!important;border-color:#bbf7d0!important;color:#15803d!important}.order-status-cancelled{background:#fef2f2!important;border-color:#fecaca!important;color:#b91c1c!important}
@media(max-width:760px){.order-pipeline-grid{grid-template-columns:1fr}}

/* PhotoSales Studio 3.2.0b Gallery Dashboard */
.smart-gallery-toolbar [data-smart-view].is-active{background:#0f172a;color:#fff;border-color:#0f172a;box-shadow:0 8px 18px rgba(15,23,42,.16)}
.professional-actions{align-items:center;flex-wrap:wrap}.gallery-quick-more{position:relative}.gallery-quick-more summary{list-style:none;cursor:pointer}.gallery-quick-more summary::-webkit-details-marker{display:none}.gallery-quick-menu{position:absolute;right:0;bottom:calc(100% + 8px);z-index:20;min-width:190px;padding:8px;border:1px solid #dbe3ee;border-radius:14px;background:#fff;box-shadow:0 18px 40px rgba(15,23,42,.16)}.gallery-quick-menu a{display:block;padding:9px 10px;border-radius:9px;color:#0f172a;text-decoration:none;font-weight:700}.gallery-quick-menu a:hover{background:#f1f5f9}
@media(max-width:760px){.professional-actions .btn,.gallery-quick-more{width:100%}.gallery-quick-more summary{width:100%;box-sizing:border-box}.gallery-quick-menu{left:0;right:auto;width:100%;box-sizing:border-box}}

/* PhotoSales Studio 3.2.0c - Gallery Health */
.smart-health-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.smart-health-head>span{font-weight:900;font-size:.82rem;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.72);color:#0f172a}.gallery-health-details{margin-top:7px}.gallery-health-details summary{cursor:pointer;font-weight:800;color:#334155}.gallery-health-details ul{display:grid;gap:7px;margin:9px 0 0;padding:0;list-style:none}.gallery-health-details li{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.7);border-left:4px solid #60a5fa}.gallery-health-details li.severity-warning{border-left-color:#f59e0b}.gallery-health-details li.severity-critical{border-left-color:#ef4444}.gallery-health-details li span{color:#334155;font-size:.84rem}.gallery-health-details li a{white-space:nowrap;font-size:.78rem;font-weight:900;text-decoration:none}.gallery-health-details li a:hover{text-decoration:underline}@media(max-width:640px){.gallery-health-details li{display:grid}.gallery-health-details li a{justify-self:start}}

/* PhotoSales Studio 3.2.0d - Bulk Manager */
.smart-bulk-bar{position:sticky;top:12px;z-index:30;display:grid;gap:10px;background:#fff;border-color:#cbd5e1;box-shadow:0 14px 34px rgba(15,23,42,.09)}
.bulk-selection-tools,.bulk-action-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.bulk-selection-tools{justify-content:space-between}.bulk-selection-tools label{font-weight:800}.bulk-selection-tools strong{display:inline-flex;align-items:center;min-height:34px;padding:5px 10px;border-radius:999px;background:#eef2ff;color:#3730a3}.bulk-action-tools{border-top:1px solid #e2e8f0;padding-top:10px}.bulk-action-tools>select{min-width:210px}.bulk-conditional{display:flex;gap:8px}.bulk-conditional[hidden]{display:none!important}.bulk-price-fields input{width:130px}.bulk-help{margin:0;color:#64748b;font-size:.84rem}.smart-gallery-manager.has-bulk-selection .smart-bulk-bar{border-color:#818cf8;box-shadow:0 16px 40px rgba(79,70,229,.15)}.smart-project-card:has(.smart-select input:checked){outline:3px solid #6366f1;outline-offset:2px}.smart-project-table tr:has(input[name="selected_projects[]"]:checked){background:#eef2ff}.smart-bulk-bar .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.smart-bulk-bar{position:static}.bulk-selection-tools,.bulk-action-tools{display:grid;grid-template-columns:1fr}.bulk-selection-tools{justify-content:stretch}.bulk-conditional,.bulk-price-fields{display:grid;grid-template-columns:1fr}.bulk-price-fields input,.bulk-action-tools>select{width:100%;min-width:0}}

/* PhotoSales Studio 3.2.0e - Bulk Manager submit reliability */
.bulk-help.is-error{color:#b91c1c;font-weight:800;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:8px 10px}

/* PhotoSales Studio 3.3.0 — Smart Orders Dashboard */
.smart-orders-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0 22px}.smart-order-stat{display:flex;align-items:center;gap:14px;min-height:92px;padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;color:#0f172a;text-decoration:none!important;box-shadow:0 10px 28px rgba(15,23,42,.06)}.smart-order-stat>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f1f5f9;font-size:22px}.smart-order-stat div{display:grid;gap:5px;min-width:0}.smart-order-stat small{color:#64748b;font-weight:800}.smart-order-stat strong{font-size:1.55rem;line-height:1.1;overflow-wrap:anywhere}.smart-order-stat.is-new{border-left:5px solid #2563eb}.smart-order-stat.is-processing{border-left:5px solid #d97706}.smart-order-stat.is-completed{border-left:5px solid #16a34a}.smart-order-stat.is-revenue{border-left:5px solid #059669}.smart-order-stat.is-average{border-left:5px solid #7c3aed}.smart-orders-table td{vertical-align:middle}.smart-orders-table td>strong,.smart-orders-table td>small{display:block}.smart-orders-table td>small{margin-top:4px;color:#64748b}.order-number{font-size:1rem;color:#0f172a}.order-channel-pill{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #dbe4ef;border-radius:999px;background:#f8fafc;color:#334155;font-weight:800;white-space:nowrap}.order-discount-value{color:#15803d}.order-total-value{font-size:1.04rem;color:#0f172a}.inline-order-status-form{margin:0}.inline-order-status{min-width:165px;padding:9px 34px 9px 11px;border:1px solid #cbd5e1;border-radius:11px;font-weight:850;cursor:pointer}.smart-order-actions{display:flex;flex-wrap:wrap;gap:7px}.smart-order-actions .btn{margin:0;padding:8px 10px;font-size:.78rem;white-space:nowrap}.order-status-awaiting-payment{background:#fff7ed!important;border-color:#fed7aa!important;color:#9a3412!important}.order-status-photos-ready{background:#fdf4ff!important;border-color:#f5d0fe!important;color:#86198f!important}.order-status-sent{background:#eef2ff!important;border-color:#c7d2fe!important;color:#4338ca!important}@media(max-width:1200px){.smart-orders-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.smart-orders-stats{grid-template-columns:1fr}.smart-order-stat{min-height:auto}.inline-order-status{min-width:150px}}
