:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a;background:#f4f6f8}*{box-sizing:border-box}body{margin:0}.app{max-width:780px;margin:auto;padding:16px 16px 80px}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 18px}.top-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.brand{font-weight:800;font-size:22px}.sub{color:#64748b;font-size:13px}.card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:16px;margin:12px 0;box-shadow:0 2px 8px rgba(15,23,42,.04)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.family-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.mode-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#ede9fe;color:#5b21b6;font-size:12px;font-weight:800;margin-bottom:8px}.field{display:flex;flex-direction:column;gap:7px}.field label{font-weight:700;font-size:14px}.field input,.field textarea,.field select{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px;font-size:16px;background:#fff}.capture{display:block;border:1.5px dashed #94a3b8;border-radius:14px;padding:14px;text-align:center;font-weight:700;background:#f8fafc;cursor:pointer}.capture input{display:none}.capture.ok{border-style:solid;border-color:#16a34a;background:#f0fdf4}.btn{border:0;border-radius:13px;padding:13px 16px;font-size:15px;font-weight:800;cursor:pointer}.primary{background:#0f172a;color:#fff}.secondary{background:#e2e8f0;color:#0f172a}.danger{background:#fee2e2;color:#991b1b}.full{width:100%}.status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;border-radius:999px;padding:5px 9px}.ready{background:#dcfce7;color:#166534}.processing{background:#dbeafe;color:#1d4ed8}.review{background:#fef3c7;color:#92400e}.error{background:#fee2e2;color:#991b1b}.row{display:flex;justify-content:space-between;gap:12px;align-items:center}.article{cursor:pointer}.article h3{margin:0 0 5px;font-size:15px}.article p{margin:0;color:#64748b;font-size:13px}.muted{color:#64748b}.hidden{display:none!important}.recording{background:#dc2626;color:#fff}.voice-state{font-size:13px;color:#64748b;margin-top:8px}.toolbar{display:flex;gap:10px;flex-wrap:wrap}.notice{border-radius:12px;padding:11px 12px;background:#fff7ed;color:#9a3412;font-size:13px}.success{background:#f0fdf4;color:#166534}.details pre{white-space:pre-wrap;background:#f8fafc;border-radius:12px;padding:12px;font-size:12px;overflow:auto}.details h2{font-size:18px}.details .editgrid{display:grid;grid-template-columns:1fr 1fr;gap:9px}@media(max-width:560px){.grid,.details .editgrid,.family-prices{grid-template-columns:1fr}.app{padding:12px 12px 70px}.top{align-items:flex-start;flex-direction:column}.top-actions{width:100%;justify-content:stretch}.top-actions .btn{flex:1}.btn{min-height:48px}}
.queued{background:#f1f5f9;color:#475569}
.btn:disabled{opacity:.45;cursor:not-allowed}
.exported{background:#e2e8f0;color:#475569}.viewtabs{display:flex;gap:8px;margin:12px 0;overflow:auto}.tab{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer;white-space:nowrap}.tab.selected{background:#0f172a;color:#fff;border-color:#0f172a}.batchrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e2e8f0}.batchrow:first-of-type{border-top:0}.small{padding:9px 11px;min-height:auto}.appmeta{text-align:center;color:#94a3b8;font-size:11px;margin:18px 0}@media(min-width:900px){.app{max-width:1100px}.article h3{font-size:16px}}
.content-editor details{border-top:1px solid #e2e8f0;margin-top:14px;padding-top:12px}.content-editor summary{cursor:pointer;font-weight:800;margin-bottom:12px}.editor-group{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px;margin:10px 0}.editor-group>.field,.content-editor details>.field{margin-top:10px}.content-editor #saveContentBtn{margin-top:16px}
.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.config-panel{margin-top:16px;padding-top:14px;border-top:1px solid #e2e8f0}.config-panel h3{margin:0 0 10px;font-size:16px}.config-summary{margin-top:12px;padding:10px 12px;border-radius:12px;background:#eff6ff;color:#1e40af;font-size:13px;font-weight:700}@media(max-width:560px){.config-grid{grid-template-columns:1fr}}
.cross-panel h3{font-size:15px;margin:18px 0 8px}.cross-list{display:grid;gap:8px;margin-bottom:14px}.cross-choice{display:flex;gap:10px;align-items:flex-start;border:1px solid #e2e8f0;border-radius:12px;padding:11px;background:#f8fafc;cursor:pointer}.cross-choice input{width:20px;height:20px;flex:0 0 auto;margin:1px 0 0}.cross-choice span{min-width:0}.cross-choice b{display:block;font-size:13px;line-height:1.35}.cross-choice small{display:block;color:#64748b;font-size:12px;line-height:1.4;margin-top:3px}.cross-choice:has(input:checked){border-color:#64748b;background:#eef2ff}.cross-choice:has(input:disabled){cursor:default;opacity:.75}
.icecat-panel>.field{margin-top:12px}.icecat-search{display:block;text-decoration:none;text-align:center;margin:12px 0}.icecat-product{display:flex;flex-direction:column;gap:3px;margin:12px 0;padding:10px 12px;border-radius:12px;background:#f8fafc;font-size:13px}.icecat-product span{color:#64748b}.icecat-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.icecat-image{position:relative;display:flex;flex-direction:column;gap:6px;border:2px solid #e2e8f0;border-radius:14px;padding:7px;background:#fff;cursor:pointer;overflow:hidden;text-align:left}.icecat-image img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:9px;background:#f8fafc}.icecat-image small{color:#64748b;font-size:10px;line-height:1.25}.icecat-image.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px rgba(37,99,235,.12)}.icecat-image:disabled{cursor:default}.icecat-order{position:absolute;top:12px;right:12px;display:none;width:28px;height:28px;border-radius:999px;align-items:center;justify-content:center;background:#2563eb;color:#fff;font-weight:900;font-size:14px;box-shadow:0 2px 7px rgba(15,23,42,.3)}.icecat-image.selected .icecat-order{display:flex}.icecat-panel #icecatImportBtn{margin-top:10px}@media(max-width:560px){.icecat-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
