/* Task workflow follows the current CRM theme, without legacy SVG columns. */
html[data-amram-theme] body.amram-surface[data-amram-route]:not(.amram-legacy) .data-observatory:is([data-view=inbox],[data-view=enquiries]){background:var(--crm-panel)!important;background-image:none!important;color:var(--crm-text)!important;border:1px solid var(--crm-line)!important;border-radius:12px!important;padding:clamp(20px,2.5vw,32px)!important;box-shadow:none!important;overflow:visible!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) :is(h2,h3,strong){color:var(--crm-text)!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) :is(p,small,span,.eyebrow){color:var(--crm-muted)!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries])::before,html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries])::after{display:none!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) :is(.hero-context,.live-field-footer){font-family:inherit!important;font-size:13px!important;line-height:1.6!important;border-color:var(--crm-line)!important;letter-spacing:0!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) .hero-tools{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) .hero-tools [data-hero-back]:disabled{display:none!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) .live-controls{display:flex;gap:8px;flex-wrap:wrap;padding:0!important;border:0!important;background:transparent!important;margin:20px 0!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) button[aria-pressed=true]{background:var(--crm-blue)!important;color:#fff!important;border-color:var(--crm-blue)!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) .live-stage{background:transparent!important;border:0!important;min-height:0!important;padding:0!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) .live-composition{grid-template-columns:minmax(0,1fr)!important;gap:20px!important;align-items:start!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) .live-readout{display:none!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory[data-chart-type=lanes] .chart-accessible{display:block!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .workflow-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory button.workflow-lane{display:flex!important;flex-direction:column;align-items:stretch;min-width:0;min-height:220px!important;text-align:left;padding:20px!important;background:var(--crm-soft)!important;border:1px solid var(--crm-line)!important;border-radius:9px!important;white-space:normal!important;gap:0!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .workflow-lane-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600}
.workflow-lane-label i{width:7px;height:7px;border-radius:50%;background:#3875c7;flex-shrink:0}
.workflow-lane[data-status=in-progress] i{background:#7763bf}.workflow-lane[data-status=waiting] i{background:#b98325}.workflow-lane[data-status=resolved] i{background:#22865e}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory .workflow-lane-count{font-size:36px!important;font-weight:600;line-height:1.2;margin-top:18px}
.workflow-lane-unit{font-size:12px;margin-top:3px}.workflow-lane-records{display:grid;gap:8px;margin:20px 0;overflow-wrap:anywhere;line-height:1.55}.workflow-task-preview{display:block;padding-top:9px;border-top:1px solid var(--crm-line)}.workflow-lane-empty,.workflow-more{font-size:12px}.workflow-lane-inspect{margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;font-size:12px;border-top:1px solid var(--crm-line)}
html[data-amram-theme] body.amram-surface[data-amram-route] .workflow-empty{border:1px dashed var(--crm-border);border-radius:8px;padding:20px 24px;margin-top:18px;background:var(--crm-panel);line-height:1.6}.workflow-empty p{margin:6px 0 0!important;font-size:13px!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) .live-inspector{background:var(--crm-soft)!important;border:1px solid var(--crm-line)!important;border-radius:8px;padding:24px!important;color:var(--crm-text)!important;grid-column:1/-1;box-shadow:none!important}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) [hidden]{display:none!important}
@media(max-width:1100px){html[data-amram-theme] body.amram-surface[data-amram-route] .workflow-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){html[data-amram-theme] body.amram-surface[data-amram-route] .workflow-board{grid-template-columns:minmax(0,1fr)}html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory button.workflow-lane{min-height:190px!important;padding:18px!important}}

html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory[data-chart-type=lanes] .section-chart{display:none!important}
html[data-amram-theme=day] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]){--crm-panel:#fff;--crm-soft:#f5f7fa;--crm-text:#17263b;--crm-muted:#66758a;--crm-line:#e3e8ef;--crm-border:#cdd6e1}
html[data-amram-theme=night] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]){--crm-panel:#172232;--crm-soft:#1d2939;--crm-text:#f2f5f9;--crm-muted:#a8b3c3;--crm-line:#2a384b;--crm-border:#43536a}
html[data-amram-theme] body.amram-surface[data-amram-route] .data-observatory:is([data-view=inbox],[data-view=enquiries]) .hero-tools{background:transparent!important}
html[data-amram-theme] body.amram-surface[data-amram-route]:not(.amram-legacy) .data-observatory:is([data-view=inbox],[data-view=enquiries]) .chart-accessible{background:var(--crm-panel)!important;background-image:none!important;border:0!important;box-shadow:none!important}
