:root{font-family:'Poppins',system-ui,-apple-system,sans-serif;color:#0d1257;background:#f3f5f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}a{color:#1d4ed8}.topbar{min-height:78px;padding:20px max(24px,calc((100vw - 1080px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border-bottom:1px solid #e5e7eb}.topbar img{display:block;width:170px;height:auto}.back{font-size:13px;font-weight:600;text-decoration:none}main{max-width:1080px;margin:40px auto 72px;padding:0 24px}.heading{margin-bottom:30px}.eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#2b62f0;font-weight:700}h1{font-size:30px;letter-spacing:-.03em;margin:8px 0}h2{font-size:19px;margin:0 0 6px}.heading>p:last-child,.section-heading p{font-size:13px;line-height:1.7;color:#6b7280;margin:0}.card{background:#fff;border:1px solid #e0e5ed;border-radius:10px;margin-bottom:24px;overflow:hidden;padding:28px}.section-heading{display:flex;gap:14px;margin-bottom:26px}.step{height:30px;min-width:30px;border-radius:50%;background:#eff6ff;color:#2b62f0;display:grid;place-items:center;font-size:11px;font-weight:700}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;color:#4b5563}label span{display:contents;color:#2b62f0}input{font:inherit;font-size:13px;color:#0d1257;background:#fff;border:1px solid #cfd5df;border-radius:5px;padding:10px 12px;min-width:0;width:100%;height:40px}input:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #c9e9ff;outline-offset:2px;border-color:#2b62f0}input:disabled{background:#f7f8fa;color:#6b7280}.actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:22px;margin-top:24px;border-top:1px solid #e5e7eb}.actions p{margin:0;font-size:12px;line-height:1.6}.actions p[data-error=true],#load-status[data-error=true]{color:#b91c1c}.actions p[data-success=true]{color:#047857}button{font:600 12px inherit;font-family:inherit;font-size:12px;font-weight:600;border:0;border-radius:6px;background:#2b62f0;color:#fff;padding:12px 18px;cursor:pointer;white-space:nowrap}button:hover{background:#1d4ed8}button:disabled{opacity:.55;cursor:wait}.catalog-tools{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}.search{width:min(360px,100%)}.muted{font-size:11px;line-height:1.5;color:#6b7280}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#6b7280;font-weight:600;background:#f8fafc;padding:12px}td{padding:15px 12px;border-bottom:1px solid #edf0f4;vertical-align:middle}th:first-child{width:50%}td input{width:140px;text-align:right;font-variant-numeric:tabular-nums}.product-name{font-size:13px;font-weight:600;margin:0 0 5px}.product-detail{font-size:11px;color:#6b7280;margin:0}.sku{font-size:10px;color:#7c8595;margin:5px 0 0}.notice{font-size:12px;color:#92400e;background:#fffbeb;padding:12px;border-radius:5px}#load-status{font-size:13px}.topbar-actions{display:flex;align-items:center;gap:18px}.topbar button{height:36px;padding:0 14px}.ghost{background:#fff;color:#0d1257;border:1px solid #d1d5db}.ghost:hover{background:#f3f5f8}.danger{background:#b91c1c}.danger:hover{background:#991b1b}.security-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start}.qr{display:block;width:180px;height:180px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.secret{font-family:ui-monospace,monospace;font-size:14px;letter-spacing:.06em;line-height:1.6;word-break:break-all;background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;padding:10px 12px;margin:8px 0}.codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0;list-style:none}.codes li{font-family:ui-monospace,monospace;font-size:13px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;padding:8px 10px}.totp-actions{display:flex;gap:10px}#totp-status{margin:0 0 12px;font-size:12px;line-height:1.6}#totp-status:empty{display:none}#totp-status[data-error=true]{color:#b91c1c}#totp-status[data-success=true]{color:#047857}#totp-copy{margin-bottom:16px}
@media(max-width:650px){main{margin-top:28px;padding:0 16px}.topbar{padding:18px 16px;gap:16px}.topbar img{width:135px}.back{font-size:11px}.card{padding:20px 16px}.profile-grid{grid-template-columns:1fr;gap:16px}.actions{align-items:stretch;flex-direction:column}.catalog-tools{align-items:stretch;flex-direction:column;gap:8px}h1{font-size:27px}th,td{padding:12px 8px}table{min-width:600px}.section-heading{gap:10px}.security-grid{grid-template-columns:1fr}.codes{grid-template-columns:1fr}.qr{margin:0 auto}}

#sellers fieldset, #catalog-groups details {border:1px solid #dce2eb;border-radius:8px;margin:0 0 12px;padding:16px}
#sellers legend, #catalog-groups summary {font-weight:600}
#catalog-groups summary {cursor:pointer;padding:4px}
#catalog-groups details>button, .remove-seller {margin-top:12px}
.catalog-item {display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f4}
.catalog-item .controls {display:flex;flex-wrap:wrap;gap:6px}
.catalog-item .controls button {padding:8px}
dialog {width:min(600px,95vw);max-height:90vh;border:1px solid #dce2eb;border-radius:10px;padding:24px;color:inherit}
dialog::backdrop {background:#0d125755}
dialog h2 {margin-bottom:18px}
select {font:inherit;color:inherit;background:white;border:1px solid #cfd5df;border-radius:5px;padding:10px}
@media(max-width:650px){.catalog-item {grid-template-columns:1fr auto}.catalog-item .controls {grid-column:1/-1}}
#team-list {list-style:none;padding:0;margin:0 0 16px}
#team-list li {padding:10px 0;border-bottom:1px solid #e5e7eb;font-size:13px;overflow-wrap:anywhere}
#team-section summary {cursor:pointer;font-weight:600;color:#1d4ed8}
#team-form {margin-top:18px}
