.assistant-compose-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 0 9px}
.assistant-compose-heading>label{font-size:14px;font-weight:500;color:#343f4c}
.palette-history-toggle{font-size:12px;min-height:30px;padding:3px 0 3px 8px;color:#42668e;white-space:nowrap}
.palette-history-toggle:disabled{cursor:default;color:#8d98a5;opacity:.65}
.palette-history{margin-top:18px;padding-top:16px;border-top:1px solid #e4e8ed;outline:0}
.palette-history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.palette-history-heading>strong{font-size:14px;font-weight:600;color:#34485d}.palette-history-heading>button{font-size:12px;min-height:28px;padding:3px 0;color:#75869a}
.palette-history-list{list-style:none;padding:0;margin:0;max-height:clamp(150px,32dvh,340px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d1d7df transparent;overscroll-behavior:contain}
.palette-version{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:12px 10px;margin-bottom:8px;border:1px solid #e0e5eb;border-radius:5px;background:#fff}
.palette-version:not(:has(img)){grid-template-columns:minmax(0,1fr)}
.palette-version.current{border-color:#849ab2;background:#f7f9fc}
.palette-version>img{display:block;width:76px;height:54px;object-fit:cover;border-radius:3px;background:#eef1f4;align-self:start}
.palette-version-body{min-width:0}
.palette-version-top{display:flex;align-items:center;justify-content:space-between;gap:5px}
.palette-version-top strong{font-size:13px;font-weight:600;color:#34485d;white-space:nowrap}
.palette-version-top time{font-size:10px;line-height:1.5;color:#8b96a3;font-variant-numeric:tabular-nums;white-space:nowrap}
.palette-version-body>p{font-size:12px;line-height:1.7;color:#68798c;margin:5px 0 4px;max-height:5.1em;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}
.palette-version-body>button{font-size:12px;color:#3e638b;min-height:29px;padding:3px 0}
.palette-version-body>button:disabled{cursor:default;color:#8d98a6;opacity:1}
.palette-history-note{font-size:11px;line-height:1.8;color:#8a95a2;margin:10px 0 0}
@media(max-width:760px){.assistant-compose-heading{margin-top:16px}.assistant-compose-heading>label{font-size:13px}.palette-history-toggle{font-size:12px;min-height:32px}.palette-version-top time{font-size:10px}.palette-history-list{max-height:clamp(130px,24dvh,240px)}.palette-version{padding:10px 9px;gap:9px}.palette-history-note{font-size:11px}}
