.generation-history{margin-top:1.5rem}.history-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.history-heading h2{margin:0;font-size:1.125rem;font-weight:600}.history-heading p,.history-note{color:var(--smoke);margin:.4rem 0 0;font-size:.8125rem;line-height:1.6}.generation-history>.studio-notice{margin-top:1rem}.history-list{margin:1.25rem 0 0;padding:0;list-style:none}.history-list li+li{border-top:1px solid var(--line)}.history-item{width:100%;min-height:72px;color:var(--pollen);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.5rem;grid-template-columns:minmax(0,1fr) minmax(11rem,.55fr) minmax(10rem,.4fr);align-items:center;gap:1.25rem;padding:1rem .75rem;display:grid}.history-item:hover{background:var(--comb-2)}.history-item[aria-pressed=true]{border-color:color-mix(in srgb, var(--honey) 45%, transparent);background:color-mix(in srgb, var(--honey) 7%, transparent)}.history-prompt{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;min-width:0;font-size:.875rem;line-height:1.6;display:-webkit-box;overflow:hidden}.history-meta{color:var(--smoke);flex-direction:column;gap:.25rem;font-size:.75rem;line-height:1.5;display:flex}.history-status{color:var(--nectar);text-align:right;font-size:.75rem;line-height:1.5}.history-pagination{justify-content:space-between;align-items:center;gap:.75rem;margin-top:1.25rem;display:flex}.history-pagination .history-note{text-align:center;margin:0}.history-selection{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.history-selection p{color:var(--smoke);margin:0;font-size:.8125rem}.studio-result{min-width:0;scroll-margin-top:1.5rem}.studio-library{border:1px solid var(--line);border-radius:var(--studio-radius-panel);background:var(--comb);width:min(72rem,100% - 2rem);max-height:calc(100svh - 2rem);color:var(--pollen);box-shadow:0 24px 80px -24px var(--surface-shadow);scrollbar-gutter:stable;margin:auto;padding:1.25rem;overflow:auto}.studio-library::backdrop{background:#000000a6}.studio-library-toolbar{justify-content:flex-end;margin-bottom:.75rem;display:flex}.studio-library .generation-history{box-shadow:none;background:0 0;border:0;margin:0;padding:0}.studio-library .upload-panel{margin:0}body:has(.studio-library[open]){overflow:hidden}@media (max-width:639px){.history-item{grid-template-columns:minmax(0,1fr);gap:.5rem;padding-inline:.5rem}.history-meta{flex-flow:wrap;column-gap:.75rem}.history-status{text-align:left}.history-pagination{flex-wrap:wrap}.history-pagination .history-note{flex:1 0 100%;order:-1}.history-pagination button{flex:1}}
