.liquid-mythos .lab-shelf { width: 326px; max-width: calc(100% - 118px); }
.liquid-mythos .lab-card-list { scrollbar-width: none; }
.liquid-mythos .lab-card-list::-webkit-scrollbar { display: none; }
.liquid-mythos .lab-card-body, .liquid-mythos .lab-card-body .lab-conversation { max-height: none; overflow: visible; }
.liquid-mythos .lab-card-head { position: sticky; top: 0; z-index: 1; background: #fffefd; border-radius: 12px 12px 0 0; }
.liquid-mythos .lab-card[data-active="false"] .lab-card-head { border-radius: 11px; }
.liquid-mythos .lab-history-entry { position: relative; }
.liquid-mythos :is(.lab-card[data-busy="true"] .lab-card-head, .lab-history-entry[data-busy="true"])::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; pointer-events: none; background: linear-gradient(90deg, transparent 20%, #c9aa7438 40%, #b89455a6 50%, #c9aa7438 60%, transparent 80%) 100% 0 / 250% 100% #eee7dc; animation: lm-working 1.8s ease-in-out infinite alternate; }
.liquid-mythos :is(.lab-card, .lab-history-entry)[data-busy="true"] .lab-card-symbol { animation: none; }
.liquid-mythos .lab-card[data-busy="true"] .lab-card-meta { display: none; }
@keyframes lm-working { to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .liquid-mythos :is(.lab-card[data-busy="true"] .lab-card-head, .lab-history-entry[data-busy="true"])::after { animation: none; background-position: 50% 0; } }
.liquid-mythos .lab-shelf .lab-card-toggle { padding-right: 0; }
.liquid-mythos .lab-card-indicator, .liquid-mythos .lab-shelf .lab-card-close { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; padding: 0; line-height: 1; }
.liquid-mythos .lab-card-indicator svg, .liquid-mythos .lab-card-close svg { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.liquid-mythos .lab-shelf .lab-search-submit { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; padding: 0; border-radius: 50%; background: #786b56; color: #fffdf9; cursor: pointer; }
.liquid-mythos .lab-shelf .lab-search-submit:hover { background: #60533e; color: #fff; }
.liquid-mythos .lab-shelf .lab-search-submit:disabled { background: #eeeae4; color: #b5aca0; opacity: 1; cursor: default; }
.liquid-mythos .lab-search-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lm-card-view { font: 12px/1.55 ui-sans-serif, system-ui, sans-serif; color: #5c554b; }
.lm-card-view[hidden] { display: none; }
.lm-card-view p { margin: 0 0 12px; }
.lm-card-summary { color: #504737; }
.lm-passages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; box-sizing: border-box; max-height: min(var(--lm-passages-height, 251px), 30dvh, max(93px, calc(var(--lab-shelf-max-height) - 220px))); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c7bfb2 transparent; scroll-padding-block: 2px; padding: 2px; margin: -2px -2px 12px; }
.has-probes .lab-shelf .lm-passage { display: grid; place-items: center; padding: 6px 0; min-height: 37px; border: 1px solid #e0d8cc; border-radius: 6px; color: #8b7d68; font: 11px/1.3 system-ui; }
.lm-passage-number { font-variant-numeric: tabular-nums; }
.has-probes .lab-shelf .lm-passage[aria-current="step"] { background: #ebe2d3; border-color: #bfb19c; color: #584b35; }
.has-probes .lab-shelf .lm-passage[data-linked="true"] { border-color: #987238; background: #f4eddf; }
.lm-passage-title { margin: 0 0 12px; color: #65543b; font: 500 11px/1.5 ui-sans-serif, system-ui, sans-serif; }
.lm-current-reason { padding-top: 1px; color: #75644b; font-size: 11px; }
.liquid-mythos .lm-working-status { margin: 0; padding: 4px 0; font: 11px/1.5 ui-sans-serif, system-ui, sans-serif; color: #75644b; overflow-wrap: anywhere; }
.lm-card-error { color: #9b5045; }
.lm-card-empty { color: #7b7165; }
.lm-card-view .lm-card-note { font-size: 10px; color: #968877; margin-bottom: 9px; }
.lm-card-view details { margin: 10px 0; border-top: 1px solid #eee7dd; padding-top: 8px; font-size: 11px; }
.lm-card-view summary { cursor: pointer; color: #807058; font-size: 10px; padding: 3px 0; }
.lm-card-view details > p { margin: 7px 0; }
.lm-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.has-probes .lab-shelf .lm-card-actions button, .has-probes .lab-shelf .lm-origin { border: 1px solid #e3d9c9; font-size: 10px; }
.lm-connection-row { padding: 7px 0; }
.lm-card-view .lm-connection-row p { margin: 4px 0 0; }
.has-probes .lab-shelf .lm-connection { padding: 3px 0; font-size: 10px; color: #987647; }
.lm-card-actions a { font-size: 10px; color: #8d7047; }
@media (max-width: 760px) { .liquid-mythos .lab-shelf { max-width: calc(100% - 114px); } }
@media (max-width: 600px) { .lm-passages { --lm-passages-height: 244px; } .has-probes .lab-shelf .lm-passage { min-height: 44px; } }
