.erp-module-tabs:has(.yen-insights-switch){display:flex;align-items:flex-end;gap:10px}.yen-insights-switch{flex:0 0 auto;display:inline-flex;gap:2px;padding:3px;margin-bottom:5px;border-radius:9px;background:var(--yen-surface-2,#f1f5f9);border:1px solid var(--erp-border,#e2e8f0)}.yen-insights-switch button{min-height:26px;padding:3px 12px;border:0;border-radius:7px;background:transparent;color:var(--erp-muted,#64748b);font:inherit;font-size:calc(11.5px * var(--erp-type-scale, 1));font-weight:600;cursor:pointer}.yen-insights-switch button:hover{color:var(--erp-text,#1e293b)}.yen-insights-switch button.is-active{background:var(--erp-surface,#fff);color:var(--erp-accent-strong,#187a80);box-shadow:0 1px 2px rgba(15,23,42,.12)}.yen-insights-switch button.is-active.is-insights{background:var(--erp-accent,#3abdc4);color:#0b3b3e}.yen-insights-pills button:focus-visible,.yen-insights-switch button:focus-visible{outline:2px solid var(--erp-accent,#3abdc4);outline-offset:2px}.yen-insights-bar{display:flex;align-items:center;padding:6px 10px 0;background:var(--erp-surface,#fff)}.yen-insights-nav{flex:0 0 auto;width:100%;background:var(--erp-surface,#fff)}.yen-insights-tabs{display:flex;align-items:flex-end;gap:10px}.yen-insights-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:16px;margin-left:6px;padding:0 5px;border-radius:8px;background:var(--yen-surface-2,#f1f5f9);color:var(--erp-muted,#64748b);font-size:calc(10px * var(--erp-type-scale, 1));font-weight:700}.erp-module-tab.is-active .yen-insights-count{background:var(--erp-accent,#3abdc4);color:#0b3b3e}.yen-insights-tab-work{opacity:.72}.yen-insights-divider{flex:0 0 1px;align-self:center;width:1px;height:18px;margin:0 6px;background:var(--erp-border,#e2e8f0)}.yen-insights-pills{display:flex;flex-wrap:wrap;gap:6px;padding:8px 10px;border-bottom:1px solid var(--erp-border,#e2e8f0)}.yen-insights-pills button{min-height:30px;padding:4px 12px;border:1px solid var(--erp-border,#e2e8f0);border-radius:8px;background:var(--erp-surface,#fff);color:var(--erp-text,#334155);font:inherit;font-size:calc(12px * var(--erp-type-scale, 1));font-weight:600;cursor:pointer}.yen-insights-pills button.is-active,.yen-insights-pills button:hover{border-color:var(--erp-accent,#3abdc4)}.yen-insights-pills button.is-active{background:var(--erp-accent,#3abdc4);color:#0b3b3e}main.yen-insights-active>:not(.yen-insights-area){display:none!important}main.yen-insights-active{padding:0!important;overflow:hidden!important}.yen-insights-area,.yen-insights-only{display:flex;flex-direction:column;width:100%;min-width:0}.yen-insights-frame-wrap{position:relative;flex:1 1 auto;width:100%;height:calc(100vh - 150px);min-height:520px}.yen-insights-frame{display:block;width:100%;height:100%;border:0;background:var(--erp-surface,#fff)}.yen-insights-loading{position:absolute;inset:0 auto auto 0;padding:16px 20px;color:var(--erp-muted,#64748b);font-size:calc(12.5px * var(--erp-type-scale, 1));pointer-events:none}.yen-insights-message{display:flex;flex-direction:column;gap:4px;margin:20px;padding:14px 16px;border:1px solid var(--erp-border,#e2e8f0);border-radius:12px;background:var(--erp-surface,#fff);color:var(--erp-text,#334155);font-size:calc(13px * var(--erp-type-scale, 1))}.yen-insights-message[role=alert]{border-color:#fcd34d;background:#fffbeb}.yen-insights-retry{align-self:flex-start;margin-top:6px;padding:5px 12px;border:1px solid var(--erp-border,#e2e8f0);border-radius:8px;background:var(--erp-surface,#fff);color:var(--erp-text,#1e293b);font:inherit;font-weight:600;cursor:pointer}