.commerce-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;background:linear-gradient(120deg,var(--panel,#fff),#f1edff);border:1px solid #dfd7f7}.commerce-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:#7247bd}.commerce-entry h2{margin:8px 0}.commerce-entry p{color:var(--muted,#656185);margin:0}.commerce-studio{max-width:960px}.commerce-intro{background:linear-gradient(120deg,#f5f0ff,#eefaff);border:1px solid #e6ddf8;border-radius:18px;padding:24px;margin-bottom:22px}.commerce-intro h2{font-size:25px;line-height:1.25;margin:10px 0;color:#24104c}.commerce-intro p{color:#635c7d;line-height:1.65}.commerce-intro .badge{display:inline-flex;align-items:center;gap:6px}.commerce-intro svg{width:15px;height:15px}.commerce-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.commerce-card{padding:18px;border:1px solid #e5e0ef;border-radius:16px;display:flex;flex-direction:column;background:var(--panel,#fff)}.commerce-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.commerce-monogram{height:38px;width:38px;display:grid;place-items:center;font-weight:800;font-size:22px;background:#ebe6ff;color:#57319b;border-radius:12px}.commerce-tray{background:#ffe9e9;color:#ac2545}.commerce-olist{background:#e0f9f4;color:#087263}.commerce-card h3{font-size:18px;margin:16px 0 8px}.commerce-card p{font-size:12px;line-height:1.6;color:var(--muted,#635c7d)}.commerce-card ul{padding-left:17px;font-size:12px;line-height:1.9;color:var(--muted,#635c7d)}.commerce-card-actions{display:grid;gap:8px;margin-top:auto;padding-top:16px}.commerce-card-actions .btn{width:100%}.commerce-pending{border-top:1px solid #eee6fa;padding-top:12px}.commerce-products{padding:0;list-style:none}.commerce-products li{padding:14px;border-bottom:1px solid #e8e2f2}dialog:has(.commerce-studio){width:min(1060px,95vw)}@media(max-width:800px){.commerce-grid{grid-template-columns:1fr}.commerce-entry{align-items:stretch;flex-direction:column}.commerce-intro{padding:18px}.commerce-intro h2{font-size:22px}}@media(prefers-reduced-motion:reduce){.commerce-studio *{animation:none!important;transition:none!important}}

.commerce-stock-toggle{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px;border:1px solid var(--border,#e5e0ef);border-radius:16px;background:var(--bg,#f7f5fc);margin:22px 0}.commerce-stock-toggle b{display:block;font-size:.9rem;margin-bottom:8px}.commerce-stock-toggle small{display:block;color:var(--muted,#635c7d);font-size:.75rem;line-height:1.65}.commerce-agents-label{font-weight:700;font-size:.8rem;margin:24px 0 14px}#commerce-agent-form .commerce-switch{appearance:none;-webkit-appearance:none;width:46px;height:27px;flex:0 0 46px;position:relative;border:1px solid #c9c0da;border-radius:20px;background:#cfc7dd;cursor:pointer;padding:0;margin:0}#commerce-agent-form .commerce-switch:before{content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff;transition:transform .18s}#commerce-agent-form .commerce-switch:checked{background:#6033c0;border-color:#6033c0}#commerce-agent-form .commerce-switch:checked:before{transform:translateX(19px)}#commerce-agent-form .commerce-switch:focus-visible{outline:3px solid #b599ee;outline-offset:4px}#commerce-agent-form .commerce-switch:disabled{opacity:.55;cursor:not-allowed}@media(max-width:520px){.commerce-stock-toggle{gap:14px;padding:16px}.commerce-stock-toggle b{font-size:.8rem}}@media(prefers-reduced-motion:reduce){#commerce-agent-form .commerce-switch:before{transition:none}}

dialog:has(.commerce-agent-access){width:min(740px,94vw)}.commerce-access-intro{display:flex;align-items:center;gap:16px;padding:4px 0 24px}.commerce-access-brand{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;background:#eef5ff;border:1px solid #deebff;border-radius:18px}.commerce-access-brand img{width:34px;height:30px;object-fit:contain}.commerce-access-intro h3{font-size:1.12rem;margin:7px 0 6px;letter-spacing:-.35px}.commerce-access-intro p{margin:0;color:var(--muted);font-size:.76rem;line-height:1.6}.commerce-access-section{padding:22px 0;border-top:1px solid var(--border)}.commerce-section-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}.commerce-section-title>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;background:var(--soft,#f0ebfa);border-radius:9px;color:var(--violet,#6033c0);font-size:.62rem;font-weight:700}.commerce-section-title h3{font-size:.83rem;margin:0 0 5px}.commerce-section-title p{font-size:.7rem;color:var(--muted);margin:0;line-height:1.55}.commerce-agent-access .commerce-stock-toggle{margin:0;padding:18px;background:var(--bg,#f7f5fc);border-radius:14px;gap:20px}.commerce-agent-access .commerce-stock-toggle b{font-size:.78rem;margin-bottom:6px}.commerce-agent-access .commerce-stock-toggle small{font-size:.7rem}.commerce-stock-examples{display:flex;flex-wrap:wrap;gap:10px 24px;padding:12px 3px 0;color:var(--muted);font-size:.65rem;line-height:1.65}.commerce-stock-examples b{font-weight:600;color:var(--text);margin-right:5px}.commerce-agent-list{display:grid;gap:10px}.commerce-agent-row{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--border);border-radius:14px;cursor:pointer;background:var(--surface,#fff)}.commerce-agent-row:has(input:checked){border-color:#c6b0f0;background:var(--soft,#f5f0ff)}.commerce-agent-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#e7dcff;color:#5b27ad;font-weight:700;font-size:.9rem}.commerce-agent-copy{min-width:0;flex:1}.commerce-agent-copy b{display:block;font-size:.79rem;overflow-wrap:anywhere}.commerce-agent-copy small{display:block;font-size:.65rem;color:var(--muted);margin-top:5px;line-height:1.5}#commerce-agent-form .commerce-agent-row input[name=agent]{appearance:auto;-webkit-appearance:checkbox;display:block;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0;accent-color:#6033c0;cursor:pointer}.commerce-agent-row.is-inactive{opacity:.6;cursor:default}.commerce-access-note{display:flex;align-items:flex-start;gap:9px;padding:14px 0;color:var(--muted)}.commerce-access-note svg{flex:0 0 16px;width:16px;height:16px;margin-top:2px;color:var(--violet)}.commerce-access-note p{font-size:.67rem;line-height:1.65;margin:0}.commerce-access-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--border);padding-top:20px;margin-top:10px}.commerce-access-footer>p{font-size:.61rem;color:var(--muted);line-height:1.7;margin:0}.commerce-access-footer>div{display:flex;align-items:center;gap:10px}.commerce-access-footer .btn{font-size:.73rem;white-space:nowrap}.commerce-agent-empty{font-size:.75rem;padding:20px;color:var(--muted);background:var(--bg);border-radius:12px}@media(max-width:560px){.commerce-access-intro{gap:12px}.commerce-access-brand{width:46px;height:46px;flex-basis:46px;border-radius:14px}.commerce-access-intro h3{font-size:.96rem}.commerce-access-intro .commerce-eyebrow{font-size:.5rem}.commerce-access-intro p{font-size:.69rem}.commerce-access-section{padding:18px 0}.commerce-access-footer{flex-direction:column;align-items:stretch;gap:14px}.commerce-access-footer>div{display:grid;grid-template-columns:1fr 1fr}.commerce-access-footer>p{text-align:center}.commerce-agent-copy small{font-size:.62rem}.commerce-agent-row{padding:12px;gap:10px}.commerce-stock-examples{display:grid;gap:5px}.commerce-agent-access .commerce-stock-toggle{padding:15px}}
