:root{--brand: #111;--text: #1d1d1f;--muted: #6e6e73;--line: #e5e5ea;--soft: #f5f5f7;--radius: 14px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text)}*{box-sizing:border-box}body{margin:0;background:var(--soft);font-size:14px}a{color:inherit;text-decoration:none}h1{font-size:1.4rem;margin:0 0 12px}h2{font-size:1.1rem;margin:24px 0 12px}.muted{color:var(--muted)}.err{color:#c00}.row{display:flex;gap:8px;align-items:center}.layout{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#111;color:#ddd;padding:20px 12px;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar .brand{font-weight:800;font-size:1.1rem;color:#fff;padding:0 10px 16px}.sidebar .brand small{display:block;font-weight:500;color:#888;font-size:.75rem}.sidebar nav{display:flex;flex-direction:column;gap:2px}.sidebar nav a,.linklike{padding:9px 10px;border-radius:8px;color:#ccc;background:none;border:0;text-align:left;font:inherit;cursor:pointer}.sidebar nav a:hover,.linklike:hover{background:#222;color:#fff}.sidebar nav a.active{background:#fff;color:#111;font-weight:600}.sidebar .brand img{height:56px;width:auto;display:block;margin-bottom:8px}.list-filter{padding:8px 10px;border:1px solid var(--line);border-radius:8px;font:inherit;background:#fff}.nav-title{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#666;padding:16px 10px 6px}.content{padding:24px;min-width:0}.panel{background:#fff;border-radius:var(--radius);padding:24px;box-shadow:0 1px 2px #0000000a}.panel.narrow{max-width:480px;display:flex;flex-direction:column;gap:12px}.panel__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.panel__head h1{margin:0}.panel__foot{margin-top:20px;display:flex;justify-content:flex-end}.btn{background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:8px;padding:9px 16px;font:inherit;font-weight:600;cursor:pointer;display:inline-flex;align-items:center}.btn:disabled{opacity:.6}.btn--ghost{background:#fff;color:var(--text);border-color:var(--line)}.btn--danger{background:#fff;color:#c00;border-color:#f2c4c4}.btn--sm{padding:5px 10px;font-size:.8rem}.icon-btn{width:28px;height:28px;border-radius:6px;border:1px solid var(--line);background:#fff;cursor:pointer}input,select,textarea{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:8px;width:100%;background:#fff}textarea{resize:vertical}.search{width:220px}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:10px;border-bottom:1px solid var(--line);vertical-align:middle}.table th{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.table tbody tr:hover{background:#fafafa;cursor:pointer}.table td.actions{white-space:nowrap;text-align:right}.table td.actions>*{margin-left:4px}.thumb{width:64px;height:40px;object-fit:cover;border-radius:6px;background:var(--soft)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field>label{font-weight:600;font-size:.85rem}.field--wide{grid-column:1 / -1}.switch{display:inline-flex;gap:8px;align-items:center;font-weight:500}.switch input{width:auto}.media__preview{max-width:240px;max-height:120px;object-fit:contain;border-radius:8px;background:var(--soft);margin-bottom:6px}.images{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.images__item{width:140px}.images__item img{width:140px;height:100px;object-fit:cover;border-radius:8px;background:var(--soft)}.images__actions{display:flex;justify-content:space-between;margin-top:4px}.specs{display:flex;flex-direction:column;gap:12px}.specs__group{border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px}.seo{border:1px solid var(--line);border-radius:10px;padding:14px;display:grid;gap:10px}.seo legend,.settings-group legend{font-weight:700}.seo label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:.85rem}.settings-group{border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:16px}.alert{background:#fdecec;color:#a11;padding:10px 12px;border-radius:8px;margin-bottom:12px}.alert--ok{background:#e8f7ee;color:#146c2e}.login{min-height:100vh;display:grid;place-items:center}.login__box{width:min(380px,92vw);display:flex;flex-direction:column;gap:12px}.login__box label{display:flex;flex-direction:column;gap:6px;font-weight:600}.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.stat{background:var(--soft);border-radius:12px;padding:16px}.stat strong{display:block;font-size:1.8rem}.quick{display:flex;flex-wrap:wrap;gap:8px}.messages{display:flex;flex-direction:column;gap:12px}.message{border:1px solid var(--line);border-radius:12px;padding:14px}.message--new{border-left:4px solid var(--brand)}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{position:static;height:auto}.form-grid{grid-template-columns:1fr}}.images__item{position:relative}.images__item.is-cover{outline:3px solid #111;outline-offset:2px}.cover-badge{position:absolute;top:6px;left:6px;background:#111;color:#fff;font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:99px;text-transform:uppercase;letter-spacing:.06em}.cover-btn{font:inherit;font-size:.72rem;font-weight:600;padding:2px 8px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer}.cover-btn:hover{border-color:#111}.images__uploads{display:flex;flex-direction:column;gap:6px;justify-content:center}.rte{border:1px solid var(--line);border-radius:10px;background:#fff}.rte .toolbar{position:sticky;top:0;z-index:2;display:flex;gap:4px;flex-wrap:wrap;align-items:center;padding:8px;border-bottom:1px solid var(--line);background:#fafafa;border-radius:10px 10px 0 0}.rte .toolbar button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:4px 9px;cursor:pointer;font:inherit;font-size:.8rem;min-width:30px}.rte .toolbar button:disabled{opacity:.4;cursor:default}.rte .toolbar button.on{background:#111;color:#fff;border-color:#111}.rte .toolbar .sep{width:1px;height:22px;background:var(--line);margin:0 4px}.rte .toolbar .source-toggle{margin-left:auto}.rte-content{min-height:260px;padding:18px 20px;outline:none;font-size:15px;line-height:1.65;color:#111}.rte-content h2{font-size:1.45rem;font-weight:800;letter-spacing:-.01em;margin:1.2em 0 .5em}.rte-content h3{font-size:1.15rem;font-weight:700;margin:1em 0 .4em}.rte-content p{margin:0 0 1em}.rte-content blockquote{border-left:3px solid #111;margin:1em 0;padding:4px 0 4px 16px;font-weight:600}.rte-content img{max-width:100%;height:auto;border-radius:8px}.rte-content img.ProseMirror-selectednode{outline:3px solid #111}.rte-content table{border-collapse:collapse;width:100%;margin:1em 0}.rte-content th,.rte-content td{border:1px solid var(--line);padding:6px 8px;vertical-align:top}.rte-content th{background:#f5f5f5}.rte-content .selectedCell{background:#eef}.rte-content iframe{max-width:100%;aspect-ratio:16 / 9;height:auto;border:0}.rte-content a{color:#111;text-decoration:underline}.rte-source{width:100%;border:0;border-radius:0 0 10px 10px;padding:14px;font-family:ui-monospace,Menlo,monospace;font-size:13px;min-height:300px}.price-sync__actions{flex-wrap:wrap;margin:12px 0 16px}.price-sync__last{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--line);border-left:4px solid #111;border-radius:8px;margin-bottom:16px}.price-sync__last[data-status=Failed]{border-left-color:#c00}.price-sync__last[data-status=PartiallyFailed]{border-left-color:#d98b00}.tag{display:inline-block;padding:2px 8px;border-radius:99px;font-size:.75rem;font-weight:600;background:#eee}.tag--updated,.tag--approved{background:#e6f4ea;color:#146c2e}.tag--flagged{background:#fff4d6;color:#8a5a00}.tag--branderror,.tag--invalid{background:#fdecec;color:#a11}.d-block{display:block}.images__alt{width:140px;margin-top:6px;font-size:.75rem;padding:4px 6px}.images{align-items:flex-start}
