.mc-report-option{display:grid;gap:4px;min-width:0}.mc-report-option>button{width:100%}.mc-report-timeline .mc-report-evidence-button{padding:5px!important;min-height:32px!important;font-size:11px}.mc-report-timeline button strong{overflow-wrap:anywhere}.mc-read-evidence-open{display:block;min-height:40px;margin:14px 0;padding:8px 12px;border:1px solid var(--line,#bbb);border-radius:8px;background:var(--panel,#fff);color:var(--cyan,#008891);font:inherit;cursor:pointer}
.mc-update-setting{position:relative;cursor:pointer;gap:10px!important;font-size:12px}.mc-update-setting input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.mc-update-setting:focus-within{outline:2px solid var(--cyan,#008891);outline-offset:2px}.mc-update-setting:has(input:checked) .rail-link-icon{color:var(--cyan,#008891)}.mc-mobile-drawer-link.mc-update-setting .rail-link-icon{display:inline-flex;width:20px;height:20px;flex:none;color:var(--cyan,#008891)}.mc-mobile-drawer-link.mc-update-setting svg{width:20px;height:20px}.mc-mobile-drawer-link.mc-update-setting .rail-link-meta{margin-left:auto;font-size:11px;border:1px solid currentColor;border-radius:12px;padding:2px 8px}.mc-mobile-drawer-link.mc-update-setting .rail-link-label{white-space:nowrap}.command-bar .cm-background-updates,.full-view-head .cm-background-updates{flex:none;min-height:38px;border:1px solid var(--cyan,#008891);border-radius:8px;padding:8px 12px;background:var(--panel,#fff);color:var(--text,#17252b);cursor:pointer}.cm-background-updates[hidden]{display:none!important}
.mc-report-evidence-dialog{--ev-bg:#fff;--ev-text:#17252b;--ev-muted:#607077;--ev-line:#d6dedf;--ev-accent:#006e75;box-sizing:border-box;width:calc(100vw - 40px);max-width:1440px;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);margin:auto;border:1px solid var(--ev-line);border-radius:16px;background:var(--ev-bg);color:var(--ev-text);padding:20px;overflow:hidden;font:14px/1.6 Inter,system-ui,sans-serif}
html[data-theme=dark] .mc-report-evidence-dialog,html[data-mc-companion-theme=dark] .mc-report-evidence-dialog{--ev-bg:#10202e;--ev-text:#e4edf3;--ev-muted:#adbdcb;--ev-line:#365160;--ev-accent:#61dcea}.mc-report-evidence-dialog::backdrop{background:#0008}.mc-report-evidence-dialog[open]{display:flex;flex-direction:column;gap:12px}.mc-report-evidence-dialog header{display:flex;justify-content:space-between;gap:16px;flex:none}.mc-report-evidence-dialog h2{font-size:22px;margin:0}.mc-report-evidence-dialog p{margin:4px 0;color:var(--ev-muted)}.mc-report-evidence-dialog button{min-height:44px;padding:8px 14px;flex:none;border:1px solid var(--ev-line);border-radius:8px;background:var(--ev-bg);color:var(--ev-text);font:inherit;cursor:pointer}.mc-report-evidence-dialog button:disabled{opacity:.4;cursor:default}.mc-report-evidence-dialog button:focus-visible{outline:2px solid var(--ev-accent);outline-offset:2px}.mc-report-evidence-dialog button[aria-pressed=true]{border-color:var(--ev-accent);color:var(--ev-accent)}.mc-evidence-note{font-size:12px}.mc-evidence-navigation{display:flex;align-items:center;gap:8px;flex:none;min-width:0}.mc-evidence-navigation [data-evidence-rail]{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;min-width:0;flex:1;padding:3px}.mc-evidence-navigation [data-evidence-rail] button{scroll-snap-align:center;white-space:nowrap;font-size:12px}.mc-report-evidence-dialog [data-evidence-stage]{overflow-y:auto;min-height:0;flex:1;overscroll-behavior:contain}.mc-evidence-section{padding:12px 0;border-top:1px solid var(--ev-line)}.mc-evidence-section h4{margin:0 0 8px;font-size:16px}.mc-evidence-field{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:12px;padding:4px 0;overflow-wrap:anywhere}.mc-evidence-field span{color:var(--ev-muted)}.mc-evidence-fields{border:1px solid var(--ev-line);border-radius:8px;padding:8px 12px;margin:7px 0}.mc-evidence-fields summary{cursor:pointer}.mc-evidence-snapshot-heading h3{margin:0}
html.mc-shell-mobile-tablet .mc-report-evidence-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:14px;gap:8px}html.mc-shell-mobile-tablet .mc-report-evidence-dialog h2{font-size:18px}html.mc-shell-mobile-tablet .mc-evidence-field{grid-template-columns:1fr}html.mc-shell-mobile-tablet .mc-evidence-note{font-size:11px}html.mc-shell-mobile-tablet .mc-report-option strong{font-size:10px!important}

.mc-report-evidence-dialog [data-evidence-close]{align-self:flex-start;width:44px;height:44px;padding:0;font-size:22px}.mc-report-evidence-dialog [data-evidence-stage]{outline:none}.mc-report-evidence-dialog [data-evidence-stage]:focus-visible{outline:1px solid var(--ev-line);outline-offset:-1px}

/* Keep capsule names intact in Companion; narrow phones can swipe the rail. */
html.mc-shell-mobile-tablet .mc-report-timeline{grid-template-columns:repeat(4,minmax(118px,1fr));overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:3px}
html.mc-shell-mobile-tablet .mc-report-option{scroll-snap-align:start}
html.mc-shell-mobile-tablet .mc-report-option strong{white-space:nowrap;overflow-wrap:normal}
.top-actions .mc-auto-top{display:inline-flex;align-items:center;gap:6px;width:auto;min-width:44px;padding:6px 8px;color:var(--text);white-space:nowrap}
.top-actions .mc-auto-top .rail-link-label{font-size:12px}.top-actions .mc-auto-top .rail-link-meta{margin-left:0;font-size:10px;padding:2px 5px;color:var(--cyan,#008891);border-color:currentColor;background:transparent}
.top-actions .mc-auto-top[aria-pressed=true]{color:var(--cyan,#008891)}
.mc-evidence-header-actions{display:flex;align-items:flex-start;gap:8px}.mc-evidence-export{position:relative}.mc-evidence-export [data-evidence-export-menu]{color:var(--ev-accent);white-space:nowrap}.mc-evidence-export [data-evidence-export-options]{position:absolute;top:calc(100% + 5px);right:0;z-index:5;min-width:210px;padding:5px;border:1px solid var(--ev-line);border-radius:10px;background:var(--ev-bg);box-shadow:0 8px 24px #0002}.mc-evidence-export [data-evidence-export-options] button{display:block;width:100%;text-align:left;border:0;font-size:13px}.mc-evidence-export [hidden],.mc-evidence-export-result [hidden]{display:none!important}.mc-evidence-export-result{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;flex:none;font-size:12px;padding:8px 10px;border:1px solid var(--ev-line);border-radius:8px}.mc-evidence-export-result[hidden]{display:none!important}.mc-evidence-export-result a{color:var(--ev-accent);text-decoration:underline;min-height:32px;display:inline-flex;align-items:center}.mc-evidence-export-result [data-evidence-export-status]{color:var(--ev-muted)}
/* Keep export and close together; the popup never changes header height. */
.mc-report-evidence-dialog>header{align-items:flex-start;min-width:0}
.mc-report-evidence-dialog>header>div:first-child{min-width:0;flex:1}
.mc-report-evidence-dialog>header>.mc-evidence-header-actions{display:flex;align-items:center;flex-wrap:nowrap;flex:none;gap:8px}
.mc-report-evidence-dialog .mc-evidence-export{position:relative;flex:none}
.mc-report-evidence-dialog [data-evidence-close]{width:44px;min-width:44px;padding:8px;align-self:flex-start}
.mc-report-evidence-dialog .mc-evidence-export [data-evidence-export-options]{position:absolute;right:0;top:calc(100% + 5px);max-width:calc(100vw - 48px)}
html.mc-shell-mobile-tablet .mc-report-evidence-dialog>header{display:flex;flex-wrap:wrap;gap:8px}
html.mc-shell-mobile-tablet .mc-report-evidence-dialog>header>div:first-child{flex-basis:100%}
html.mc-shell-mobile-tablet .mc-report-evidence-dialog>header>.mc-evidence-header-actions{width:100%;justify-content:space-between}
html.mc-shell-mobile-tablet .mc-report-evidence-dialog .mc-evidence-export [data-evidence-export-options]{left:0;right:auto}
html.mc-shell-mobile-tablet .mc-evidence-export-result{gap:6px 10px;font-size:11px}

/* The shared Auto state colors both Command controls, without coloring their labels. */
html.mc-shell-command-slate .mc-update-setting .rail-link-icon,
html.mc-shell-command-slate .mc-auto-top[aria-pressed=false] .rail-link-icon{color:#c94f62!important}
html.mc-shell-command-slate .mc-update-setting:has(input:checked) .rail-link-icon,
html.mc-shell-command-slate .mc-auto-top[aria-pressed=true] .rail-link-icon{color:#108a62!important}
html.mc-shell-command-slate[data-theme=dark] .mc-update-setting .rail-link-icon,
html.mc-shell-command-slate[data-theme=dark] .mc-auto-top[aria-pressed=false] .rail-link-icon{color:#fb7185!important}
html.mc-shell-command-slate[data-theme=dark] .mc-update-setting:has(input:checked) .rail-link-icon,
html.mc-shell-command-slate[data-theme=dark] .mc-auto-top[aria-pressed=true] .rail-link-icon{color:#34d399!important}

/* Category navigation stays outside the independently scrolling evidence pane. */
.mc-report-evidence-dialog .mc-evidence-index{display:flex;align-items:center;gap:8px;flex:none;min-width:0;font-size:12px}
.mc-report-evidence-dialog .mc-evidence-index[hidden]{display:none}
.mc-evidence-index>span{white-space:nowrap;color:var(--ev-muted)}
.mc-evidence-index [data-evidence-jump-links]{display:flex;gap:5px;overflow-x:auto;min-width:0;padding:3px;flex:1}
.mc-report-evidence-dialog [data-evidence-jump-target]{min-height:32px;padding:4px 9px;font-size:12px;white-space:nowrap}
.mc-evidence-index [data-evidence-jump-select]{display:none}
html.mc-shell-mobile-tablet .mc-evidence-index>span,html.mc-shell-mobile-tablet [data-evidence-jump-links]{display:none}
html.mc-shell-mobile-tablet .mc-evidence-index [data-evidence-jump-select]{display:block;width:100%;min-height:44px;border:1px solid var(--ev-line);border-radius:8px;background:var(--ev-bg);color:var(--ev-text);padding:8px 12px;font:inherit}
.mc-evidence-index [data-evidence-jump-select]:focus-visible,.mc-evidence-section h4:focus-visible{outline:2px solid var(--ev-accent);outline-offset:-2px}
