.commerce-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.commerce-heading h1{margin-bottom:8px}.commerce-heading>div>p:last-child{color:var(--muted);font-size:13px;line-height:1.7;margin:0}.commerce-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.commerce-actions .button{font-size:12px}.commerce-card{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;overflow:hidden}.commerce-card>header{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.commerce-card h2{font-size:17px;margin:0}.commerce-card header p{font-size:12px;color:var(--muted);line-height:1.7;margin:7px 0 0}.commerce-body{padding:24px}.commerce-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;border:1px solid var(--line);border-radius:10px;padding:18px;background:white;margin-bottom:22px}.commerce-toolbar label{font-size:11px;color:var(--muted);min-width:145px;flex:1}.commerce-toolbar input,.commerce-toolbar select{font:inherit;font-size:13px;display:block;padding:10px 11px;border:1px solid var(--line);border-radius:6px;width:100%;margin-top:7px;background:#fff;color:var(--ink)}.commerce-notice{padding:14px 18px;margin:0 0 20px;background:#eaf3f0;border:1px solid #dcebe5;border-radius:8px;color:#41675d;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.commerce-notice.bad{background:#fff5f3;color:#904c45;border-color:#f2d8d2}.commerce-table-wrap{overflow:auto}.commerce-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.commerce-table th{padding:14px 18px;background:#f7faf8;color:var(--muted);font-size:11px;white-space:nowrap;font-weight:600;border-bottom:1px solid var(--line)}.commerce-table td{padding:17px 18px;border-bottom:1px solid #edf1ef;vertical-align:middle;white-space:nowrap}.commerce-table tr:last-child td{border-bottom:0}.commerce-table .commerce-actions{max-width:360px;min-width:140px}.commerce-cell{max-width:260px}.commerce-cell strong{display:block;overflow-wrap:anywhere;white-space:normal;line-height:1.6}.commerce-cell small{font-size:11px;margin-top:5px;color:var(--muted);white-space:normal;overflow-wrap:anywhere}.commerce-table .button{padding:7px 11px;font-size:11px}.commerce-status{display:inline-block;padding:4px 8px;border-radius:5px;font-size:11px;background:#eff3f1;color:#64766f;white-space:nowrap}.commerce-status.good{background:#e3f3eb;color:#29724f}.commerce-status.bad{background:#fff0ed;color:#a24b42}.commerce-empty{text-align:center;color:var(--muted);line-height:1.8;padding:25px 0;margin:0}.commerce-pagination{padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.commerce-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}.commerce-metrics>div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.commerce-metrics span{display:block;color:var(--muted);font-size:12px}.commerce-metrics strong{display:block;font-size:27px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}.commerce-metrics small{font-size:11px;line-height:1.6}.commerce-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:24px}.commerce-form label{font-size:12px;line-height:1.7}.commerce-form select{width:100%;margin-top:8px;padding:11px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font:inherit}.commerce-wide{grid-column:1/-1}.commerce-form .commerce-actions{justify-content:flex-end;border-top:1px solid var(--line);padding-top:18px}.commerce-dialog{width:min(880px,calc(100vw - 28px));max-height:90vh;padding:0;color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 25px 80px #17352d33}.commerce-dialog::backdrop{background:#19362f70}.commerce-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--line)}.commerce-dialog>header h2{margin:0}.commerce-check{display:flex;align-items:flex-start;gap:10px}.commerce-check input{width:17px;min-width:17px;margin:4px 0}.commerce-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}.commerce-detail dt{font-size:11px;color:var(--muted);margin-bottom:7px}.commerce-detail dd{margin:0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.commerce-loading{color:var(--muted);padding:30px}.commerce-row-check{width:17px;height:17px;margin:0}.commerce-code{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;background:#f7faf8;border:1px solid var(--line);padding:15px;border-radius:8px;max-height:280px;overflow:auto}.commerce-caption{font-size:12px;line-height:1.8;color:var(--muted);margin:16px 0}.commerce-selected{font-size:12px;color:var(--brand);margin-left:8px}.commerce-table input[type=checkbox]{width:17px;height:17px;margin:0}.commerce-readonly{color:var(--muted);font-size:11px}.commerce-error-summary{color:#9e4c42;font-size:12px;line-height:1.7;white-space:pre-wrap;max-width:300px}.commerce-series{width:100%;min-height:160px}.commerce-series text{font-size:10px;fill:#7b8d84}.commerce-chart-note{margin:8px 0 18px;color:var(--muted);font-size:11px}.sidebar nav{min-height:0;overflow-y:auto;scrollbar-width:thin}
@media(max-width:1100px){.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-heading{flex-direction:column}.commerce-heading>.commerce-actions{align-self:flex-end}}
@media(max-width:700px){.commerce-heading{gap:15px}.commerce-heading h1{font-size:25px}.commerce-heading>.commerce-actions{align-self:flex-start}.commerce-toolbar{padding:14px;gap:10px}.commerce-toolbar label{min-width:calc(50% - 10px)}.commerce-card>header{padding:18px;align-items:flex-start;flex-direction:column}.commerce-body{padding:18px}.commerce-form{grid-template-columns:1fr;padding:20px}.commerce-detail{grid-template-columns:1fr}.commerce-metrics{gap:10px}.commerce-metrics>div{padding:17px}.commerce-metrics strong{font-size:22px}.commerce-pagination{padding:15px;align-items:flex-start;flex-direction:column}.commerce-dialog>header{padding:18px}.commerce-dialog>header h2{font-size:18px}.sidebar nav{overflow-x:auto;overflow-y:hidden}.commerce-toolbar>.button{padding:10px 15px}}
