.ops-workbench { --ops-accent:#4234c8; font-size:16px; }
.ops-workbench .page-head { margin-bottom:20px; }
.ops-workbench .panel { margin-bottom:20px; }
.ops-workbench .ops-subtle, .ops-drawer .ops-subtle { color:var(--muted,#626e82); font-size:14px; }
.ops-controls { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.ops-controls select,.ops-controls input { min-height:40px; border:1px solid var(--line,#e1e6ef); border-radius:8px; padding:8px 12px; background:white; }
.ops-controls input { flex:1; min-width:180px; }
.ops-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:18px 22px; border-bottom:1px solid var(--line,#e1e6ef); }
.ops-metrics { display:grid; grid-template-columns:repeat(6,minmax(110px,1fr)); gap:14px; margin-bottom:20px; }
.ops-metric { padding:18px; border:1px solid var(--line,#e1e6ef); border-radius:10px; background:white; }
.ops-metric span,.ops-metric small { display:block; color:var(--muted,#626e82); font-size:14px; }
.ops-metric strong { display:block; margin:8px 0 3px; font-size:25px; line-height:1.3; color:var(--ink,#202a3c); font-variant-numeric:tabular-nums; }
.ops-agent { display:flex; align-items:center; gap:16px; padding:18px 22px; background:linear-gradient(100deg,#f0f5ff,#f5f2ff); border:1px solid #e0e5fa; border-radius:10px; margin-bottom:20px; }
.ops-agent-mark { display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;color:#4234c8;background:white;font-size:22px; }
.ops-agent-main { flex:1;min-width:0; }
.ops-agent-main p { margin:3px 0 0; font-size:14px;color:var(--muted,#626e82); }
.ops-agent .actions { flex-wrap:wrap; }
.ops-tabs { display:flex; gap:24px; border-bottom:1px solid var(--line,#e1e6ef); margin-bottom:20px; overflow:auto; }
.ops-tabs button { flex:none; border:0; background:transparent; color:var(--muted,#626e82); padding:12px 0; font-size:16px; border-bottom:2px solid transparent; }
.ops-tabs button.active { color:var(--ops-accent,#4234c8); border-bottom-color:var(--ops-accent,#4234c8); font-weight:600; }
.ops-product { min-width:205px; max-width:300px; }
.ops-product strong { display:block; font-size:16px; }
.ops-product small { display:block; color:var(--muted,#626e82); font-size:14px; margin-top:5px; }
.ops-table .table { font-size:14px; }
.ops-table .table td { vertical-align:top; }
.ops-table .table td small { font-size:14px; }
.ops-numeric { font-variant-numeric:tabular-nums; white-space:nowrap; }
.ops-insight { min-width:210px; max-width:300px; }
.ops-insight strong { color:var(--ops-accent,#4234c8); }
.ops-insight p { margin:6px 0 10px; font-size:14px; color:var(--muted,#626e82); }
.ops-bad { color:var(--red,#b93641); }
.ops-good { color:var(--success,#147453); }
.ops-cards { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px; }
.ops-card { border:1px solid var(--line,#e1e6ef);border-radius:10px;padding:20px;min-width:0;background:#fff; }
.ops-card-head { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px; }
.ops-card h3 { font-size:18px;line-height:1.5; }
.ops-card p { font-size:14px;color:var(--muted,#626e82);margin:10px 0; }
.ops-card .actions { margin-top:16px;flex-wrap:wrap; }
.ops-card-body { white-space:pre-wrap;line-height:1.75;font-size:16px;max-height:180px;overflow:hidden; }
.ops-card-meta { display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;font-size:14px;color:var(--muted,#626e82); }
.ops-kind { display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#f0f2ff;color:#4234c8;font-size:14px;font-weight:600; }
.ops-evidence { padding:14px 16px;border:1px solid var(--line,#e1e6ef);border-radius:8px;margin:10px 0;font-size:14px; }
.ops-evidence strong { display:block;margin-bottom:4px; }
.ops-evidence a { overflow-wrap:anywhere; }
.ops-drawer { font-size:16px; }
.ops-drawer h3 { margin:24px 0 12px;font-size:18px; }
.ops-drawer h3:first-child { margin-top:0; }
.ops-drawer .form-grid { padding:0;margin:0; }
.ops-drawer textarea { min-height:110px; }
.ops-drawer .ops-copy { white-space:pre-wrap;border:1px solid var(--line,#e1e6ef);border-radius:8px;padding:18px;line-height:1.8; }
.ops-drawer .ops-section { margin:16px 0; }
.ops-steps { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;counter-reset:ops-step; }
.ops-step { border:1px solid var(--line,#e1e6ef);border-radius:8px;padding:18px; }
.ops-step::before { counter-increment:ops-step;content:counter(ops-step);display:grid;place-items:center;border-radius:50%;width:27px;height:27px;background:#edf0ff;color:#4234c8;font-size:14px;margin-bottom:12px; }
.ops-step strong { display:block; }
.ops-step p { margin:5px 0 0;font-size:14px;color:var(--muted,#626e82); }
.ops-device { display:flex;gap:16px;align-items:center; }
.ops-device-icon { width:42px;height:60px;border:2px solid #8f94bd;border-radius:9px;display:grid;place-items:center;color:#5c54ad;background:#f7f7ff;flex:none; }
.ops-funnel { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0; }
.ops-funnel-item { padding:14px 16px;border-radius:8px;background:#f4f6fc; }
.ops-funnel-item strong { font-size:24px;display:block; }
.ops-funnel-item span { font-size:14px;color:var(--muted,#626e82); }
.ops-trend { display:flex;align-items:flex-end;justify-content:space-around;gap:12px;min-height:150px;padding:16px 8px;border-bottom:1px solid var(--line,#e1e6ef);overflow-x:auto; }
.ops-trend-day { display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;min-width:45px;font-size:14px; }
.ops-trend-day small { color:var(--muted,#626e82);font-size:14px; }
.ops-trend-bar { min-width:25px;width:50%;max-width:48px;background:linear-gradient(#6957d9,#537fe5);border-radius:4px 4px 0 0; }
.ops-empty { padding:38px 20px;text-align:center;color:var(--muted,#626e82);font-size:16px; }
.ops-empty .actions { justify-content:center;margin-top:16px; }
.ops-row-actions { display:flex;flex-wrap:wrap;gap:8px; }
.ops-history { display:grid;gap:12px; }
.ops-history-row { display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line,#e1e6ef);padding:12px 0; }
.ops-history-row p { margin-top:4px;font-size:14px;color:var(--muted,#626e82); }
.ops-status-dot { width:8px;height:8px;border-radius:50%;background:#9198a7;display:inline-block;margin-right:6px; }
.ops-status-dot.connected { background:#5144cc; }
@media(max-width:1200px) { .ops-metrics{grid-template-columns:repeat(3,minmax(0,1fr));}.ops-cards{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:760px) { .ops-cards,.ops-steps{grid-template-columns:1fr;}.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}.ops-agent{align-items:flex-start;flex-wrap:wrap;}.ops-agent .actions{width:100%;}.ops-toolbar{padding:16px;}.ops-tabs{gap:20px;} }
.ops-workbench .table{font-size:15px}.ops-workbench .table td{vertical-align:top}.ops-workbench .table td small{font-size:14px;display:block;margin-top:6px}.ops-workbench .panel{overflow:hidden}.ops-flow{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.ops-flow span{padding:8px 12px;background:#f3edff;color:#693dc6;border-radius:8px;font-size:14px}.ops-workbench .ops-tabs button.active{color:#7344d4;border-color:#7344d4}.ops-workbench .ops-toolbar small{font-size:14px;color:#6d667a}.ops-workbench .ops-metric{border-color:#e7e1ef}.ops-workbench .ops-metric strong{font-size:25px;font-weight:600}.ops-workbench .page-head h1{font-weight:600}
/* Suggestion-first workflow */
.ops-recommendations{font-size:16px}.ops-recommendations small,.ops-recommendations .ops-subtle{font-size:14px}.ops-operation-status{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border:1px solid #ded7fa;background:#f8f6ff;border-radius:14px;margin-bottom:18px;gap:12px}.ops-operation-status>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ops-operation-status i{width:9px;height:9px;background:#9297a7;border-radius:50%}.ops-operation-status i.active{background:#7354df;box-shadow:0 0 0 4px #eae2ff}.ops-operation-status span{font-size:14px;color:#6b6580}.ops-recommendations .ops-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.ops-recommendations .ops-toolbar input{min-width:180px;max-width:300px}.ops-recommendations .ops-toolbar select{min-width:130px}.ops-recommendations td{vertical-align:top}.ops-table-advice{display:block;font-size:15px;line-height:1.6;margin-top:6px}.ops-recommend-kind{display:inline-block;font-size:13px;padding:3px 8px;border-radius:6px;background:#f0eef8;color:#625e77}.ops-recommend-kind.price{color:#7047ba;background:#f0e8ff}.ops-recommend-kind.delist{color:#b3552a;background:#fff0e5}.ops-recommend-kind.ad{color:#216b57;background:#e7f7ef}.ops-rule-flow{display:flex;align-items:stretch;gap:12px;margin:8px 0 20px}.ops-rule-flow span{padding:14px 16px;background:#f7f5fc;border-radius:10px;flex:1;line-height:1.65;font-size:14px}.ops-rule-flow i{align-self:center;color:#8f80af;font-style:normal}.ops-rule-form fieldset{border:1px solid #e3dfed;border-radius:12px;padding:16px;margin:0}.ops-rule-form legend,.ops-targets legend{font-size:16px;font-weight:650;padding:0 6px;color:#40305e}.ops-rule-form fieldset label,.ops-targets label{display:block;margin:8px 0;font-size:14px}.ops-rule-form fieldset>small{display:block;margin:10px 0}.ops-rule-form .form-grid{margin:0}.ops-rule-extra{border:1px solid #e3dfed;border-radius:12px;padding:14px}.ops-rule-extra summary{cursor:pointer;font-weight:600}.ops-rule-extra .form-grid{margin-top:15px}.ops-advice-hero{padding:16px 18px;border-radius:12px;background:#f6f2ff;margin-bottom:18px}.ops-advice-hero>span{font-size:13px;color:#7957b4}.ops-advice-hero h3{margin:7px 0;font-size:20px;color:#3d2c5b}.ops-advice-hero p{margin:7px 0 0;line-height:1.6;font-size:14px;color:#635774}.ops-checks{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ops-connection-steps{display:flex;gap:8px;flex-wrap:wrap;margin:5px 0 16px}.ops-connection-steps span{padding:9px 11px;border-radius:8px;background:#f2eefb;font-size:14px;color:#655283}.ops-recommendations .bad-text{color:#a74c32}@media(max-width:1100px){.ops-recommendations .ops-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.ops-rule-flow{flex-wrap:wrap}.ops-rule-flow span{min-width:180px}.ops-rule-flow i{display:none}}@media(max-width:650px){.ops-recommendations .ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-operation-status{align-items:flex-start;flex-direction:column}.ops-rule-flow{flex-direction:column}.ops-recommendations .ops-toolbar{align-items:stretch}.ops-recommendations .ops-toolbar input{max-width:none;width:100%}}
