/* Compact, consistent references and recent conversations on every viewport. */
:root[data-theme] body #shell#shell.unified-shell .recent-work-list {display:flex;flex-direction:column;gap:0;padding:0;border-block:1px solid var(--b1x-border,var(--line));border-radius:8px;overflow:hidden}
:root[data-theme] body #shell#shell.unified-shell .recent-work-entry {margin:0;padding:0;min-width:0}
:root[data-theme] body #shell#shell.unified-shell .recent-work-entry + .recent-work-entry {border-top:1px solid var(--b1x-border,var(--line))}
:root[data-theme] body #shell#shell.unified-shell .recent-work-entry>button {display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:44px;padding:8px 12px!important;margin:0!important;border:0!important;border-inline-start:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--b1x-text)!important;text-align:left;font:500 13px/1.25 var(--sans,system-ui);box-shadow:none!important;cursor:pointer}
:root[data-theme] body #shell#shell.unified-shell .recent-work-entry>button>span {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root[data-theme] body #shell#shell.unified-shell .recent-work-entry>button>svg {flex:none;width:16px;height:16px;color:var(--b1x-muted)}
:root[data-theme] body #shell#shell.unified-shell .recent-work-entry>button[aria-current=page] {border-inline-start-color:var(--b1x-accent)!important;background:color-mix(in srgb,var(--b1x-accent) 9%,transparent)!important;font-weight:600}
:root[data-theme] body #shell#shell.unified-shell .recent-active-label {flex:none;color:var(--b1x-accent)!important;font:600 10px/1.2 var(--sans,system-ui);letter-spacing:.02em}
:root[data-theme] body #shell#shell.unified-shell .recent-work-entry>button:hover {background:var(--b1x-control)!important}
:root[data-theme] body #shell#shell.unified-shell .recent-work-entry>button:focus-visible {outline:2px solid var(--b1x-accent);outline-offset:-3px}
:root[data-theme] body #shell#shell.unified-shell .recent-work header {padding-bottom:8px;border:0}
:root[data-theme] body #shell#shell.unified-shell .recent-work h2 {font-size:15px;line-height:1.3}
:root[data-theme] body #shell#shell.unified-shell .recent-work-actions {gap:8px}
:root[data-theme] body #shell#shell.unified-shell .recent-work-actions>button {min-height:36px;padding:6px 9px!important;border-radius:7px!important;font-size:12px!important}
:root[data-theme] body #shell#shell.unified-shell #composer .composer-context {display:flex;gap:6px;flex-wrap:wrap;max-height:96px;overflow:auto;min-width:0;scrollbar-width:thin}
:root[data-theme] body #shell#shell.unified-shell #composer .context-chip {max-width:min(320px,100%);gap:5px;font-size:12px;line-height:1.25}
:root[data-theme] body #shell#shell.unified-shell #composer .context-chip>span {min-width:0;white-space:nowrap}
.request-assets {display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;min-width:0;max-width:100%}
:root[data-theme] body #shell#shell .chat-generated-media {max-width:100%;padding:10px;border:1px solid var(--b1x-border,var(--line));border-radius:10px;overflow:hidden}
:root[data-theme] body #shell#shell .chat-generated-media :is(img,video) {display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:min(360px,48vh)!important;object-fit:contain!important;border-radius:8px;margin:8px auto}
:root[data-theme] body #shell#shell .chat-generated-media audio {display:block;width:100%;max-width:480px;height:40px}
.request-asset {display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;min-height:36px;padding:3px 7px;border:1px solid var(--b1x-border,var(--line));border-radius:8px;background:var(--b1x-control);font:500 12px/1.3 var(--sans,system-ui);color:var(--b1x-text)}
.request-asset>span {min-width:0;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.request-asset>img {flex:none;width:28px;height:28px;object-fit:contain;border-radius:4px}
.request-asset>small {white-space:nowrap;font-size:10px;color:var(--b1x-muted)}
.request-asset>button {flex:none;min-height:30px;padding:3px 6px;border:0;border-radius:5px;background:transparent;color:var(--b1x-accent);font:600 11px/1.3 var(--sans,system-ui);cursor:pointer}
:root[data-theme] body #shell#shell.unified-shell .creative-assets {max-width:100%;min-width:0;margin:6px 0;padding:8px 10px;border-radius:10px;box-shadow:none}
:root[data-theme] body #shell#shell.unified-shell .creative-asset-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:8px;max-height:220px;overflow:auto;scrollbar-width:thin}
:root[data-theme] body #shell#shell.unified-shell .creative-asset-list[hidden] {display:none!important}
:root[data-theme] body #shell#shell.unified-shell .creative-asset {min-width:0;margin:0;padding:8px;border:1px solid var(--b1x-border,var(--line));border-radius:8px;box-shadow:none}
:root[data-theme] body #shell#shell.unified-shell .creative-asset header {flex-wrap:wrap;gap:5px;align-items:center}
:root[data-theme] body #shell#shell.unified-shell .creative-asset header>strong {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
:root[data-theme] body #shell#shell.unified-shell .creative-asset header>div {display:flex;flex-wrap:wrap;gap:4px}
:root[data-theme] body #shell#shell.unified-shell .creative-asset header button {min-height:30px;padding:4px 7px;font-size:11px;border-radius:6px}
:root[data-theme] body #shell#shell.unified-shell .creative-asset :is(img.creative-thumbnail,video) {width:100%;max-width:100%;height:112px!important;object-fit:contain;background:var(--b1x-control)}
:root[data-theme] body #shell#shell.unified-shell .creative-asset audio {width:100%;height:36px}
:root[data-theme] body #shell#shell.unified-shell .creative-asset>p {margin:6px 0;font-size:12px;line-height:1.4}
:root[data-theme] body #shell#shell.unified-shell .creative-asset>small {display:block;margin-top:5px;font-size:10px;color:var(--b1x-muted)}
@media(max-width:700px) {
  :root[data-theme] body #shell#shell.unified-shell .recent-work-entry>button {gap:8px;padding:8px!important}
  :root[data-theme] body #shell#shell.unified-shell .recent-active-label {font-size:9px}
  .request-asset {min-height:44px;max-width:100%}
  .request-asset>span {max-width:160px}
  .request-asset>button {min-height:38px}
  :root[data-theme] body #shell#shell.unified-shell .creative-asset-list {grid-template-columns:1fr;max-height:180px}
  :root[data-theme] body #shell#shell.unified-shell .creative-asset header button {min-height:38px}
}
