#design-history-button{flex:none;font-size:11px;white-space:nowrap}#design-history-button[aria-expanded=true]{background:#e7eef8;border-color:#6c86b8;color:#224974}
body.history-open #ws{height:calc(100dvh - 349px)!important}
#design-history-panel{position:fixed;bottom:29px;left:0;right:0;height:320px;z-index:35;background:#f8fafb;border-top:1px solid #aebcc8;color:#263c4a;box-shadow:0 -4px 18px #2235440a;display:flex;flex-direction:column;font-size:12px}#design-history-panel[hidden]{display:none}#design-history-panel>header{height:43px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 18px;border-bottom:1px solid #d6dfe5;background:#f1f5f7}#design-history-panel header>div{display:flex;align-items:center;gap:14px}#design-history-panel h2{font-size:12px;font-weight:650;margin:0}#design-history-panel header span{font-size:11px;color:#5d6f7d}.history-key{margin-left:auto}.history-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 280px}.history-map{min-width:0;min-height:0;display:flex;flex-direction:column}.history-map-caption{padding:8px 18px;display:flex;justify-content:space-between;font-size:10px;color:#667884;border-bottom:1px solid #e2e8ec}.history-map-caption span{color:#667884}.history-lanes{display:flex;overflow:auto;min-height:0;flex:1}.history-lane-names{width:190px;flex:none;position:sticky;left:0;z-index:2;background:#f7f9fa;border-right:1px solid #dbe4ea;padding-top:2px}.history-lane{display:flex;flex-direction:column;justify-content:center;gap:5px;width:100%;border:0;border-bottom:1px solid #e4eaef;background:transparent;text-align:left;padding:8px 16px;color:inherit;cursor:pointer}.history-lane b{font-size:11px;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.history-lane small{font-size:10px;color:#617584}.history-lane.is-current{background:#eaf1f8;border-left:3px solid #4276a8;padding-left:13px}.history-scroll{min-width:0;overflow-x:auto;flex:1}.history-chart{position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 75px,#e5ebef 75px,#e5ebef 76px)}.history-chart svg{position:absolute;inset:0;pointer-events:none}.history-chart path{fill:none;stroke:#9bafbb;stroke-width:2}.history-chart .history-fork{stroke:#7399a3;stroke-width:1.5}.history-chart .history-accepted{stroke:#718c78;stroke-dasharray:4 4;stroke-width:1.5}.history-point{position:absolute;transform:translate(-50%,-50%);width:28px;height:28px;padding:0;display:grid;place-items:center;border:0;background:transparent;color:#456a83;cursor:pointer}.history-symbol{display:grid;place-items:center;width:17px;height:17px;background:#f8fafb;border:2px solid #809cac;border-radius:50%;font-size:13px;line-height:1}.is-baseline .history-symbol{border-radius:3px;transform:rotate(45deg);width:12px;height:12px;background:#e8f2f1}.is-assessment .history-symbol,.is-report .history-symbol{border-radius:4px}.is-accept .history-symbol{border-color:#7a967e;color:#426749}.is-git .history-symbol{background:#ecedf6;border-color:#8b8da8;color:#626482}.is-head .history-symbol{background:#557da4;border-color:#557da4}.history-point[aria-pressed=true] .history-symbol{outline:3px solid #b8d4e8;outline-offset:3px}.history-point-label{position:absolute;top:30px;width:104px;font-size:10px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#506775}.history-inspector{overflow:auto;padding:16px 18px;border-left:1px solid #cfdbe3;background:#fff;font-size:12px;line-height:1.5}.history-inspector h3{font-size:15px;margin:4px 0 8px}.history-inspector p{margin:6px 0 12px}.history-eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#667c8b;font-size:9px}.history-muted{font-size:11px;color:#647887}.history-pill{display:inline-block;border:1px solid #d6e0e7;padding:2px 6px;border-radius:4px;font-size:10px;margin:2px 4px 6px 0}.history-inspector .bt{margin:5px 0;display:inline-flex;text-decoration:none;color:#2f566f;background:#f3f7fa;font-size:11px}.history-inspector details{margin-top:14px;font-size:10px;color:#647887}.history-inspector summary{cursor:pointer}.history-inspector pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px}.history-inspector a{color:#2b607d}.history-inspector del,.history-inspector ins{display:block;text-decoration:none;padding:6px;margin:4px 0;overflow-wrap:anywhere}.history-inspector del{background:#faf0ee}.history-inspector ins{background:#edf5ef}.history-message{padding:16px}#design-history-panel :focus-visible{outline:2px solid #2455e6;outline-offset:3px}
@media(max-width:760px){body.history-open #ws{height:calc(100dvh - 349px)!important}.history-workspace{grid-template-columns:minmax(0,1fr)}.history-inspector{position:absolute;bottom:0;right:0;width:46%;height:234px;box-sizing:border-box;box-shadow:-2px 0 5px #233f4b0a}.history-map{padding-right:46%}.history-lane-names{width:112px}.history-lane{padding:6px}.history-lane.is-current{padding-left:3px}.history-key,#design-history-panel header>div>span,.history-map-caption span{display:none}#design-history-panel>header{padding:0 12px}.history-inspector{padding:10px;font-size:11px}.history-map-caption{padding:8px}}
@media(max-height:650px){#design-history-panel{height:240px}body.history-open #ws{height:calc(100dvh - 269px)!important}.history-inspector{max-height:196px}}

.history-chart.is-condensed .history-point-label{opacity:0;pointer-events:none;background:#f8fafbee;border-radius:3px;padding:2px}.history-chart.is-condensed .history-point:hover .history-point-label,.history-chart.is-condensed .history-point:focus-visible .history-point-label,.history-chart.is-condensed .history-point[aria-pressed=true] .history-point-label{opacity:1;z-index:3}
@media(max-width:760px){.history-workspace{grid-template-rows:minmax(110px,1fr) 120px}.history-map{padding-right:0}.history-inspector{position:static;width:auto;height:auto;max-height:none;border-left:0;border-top:1px solid #cfdbe3;box-shadow:none}.history-inspector h3{font-size:13px}.history-inspector details{margin-top:6px}}
/* One vertical scroller keeps branch labels and graph rows aligned. */
.history-scroll{overflow:visible;flex:none}
#shell-status #design-history-button{order:-1;align-self:stretch;min-height:26px;padding:0 10px;border:0;border-right:1px solid #d6e2e7;border-radius:0;background:transparent;color:#526e7c;font:inherit;cursor:pointer}#shell-status #design-history-button:hover{background:#e2ebf0}#shell-status #design-history-button[aria-expanded=true]{background:#d8e7f0;color:#294e68}#shell-status #design-history-button:focus-visible{outline:2px solid #3157dc;outline-offset:-3px}
.is-legacy .history-symbol{border-style:dashed;border-radius:50%;color:#7a6a4b}.history-warning{font:inherit;border:0;background:#f3eedd;color:#705c30;border-radius:3px;padding:0 5px;cursor:pointer}
@media(max-width:600px){#top #shell-share{width:32px;min-width:32px;padding:0;justify-content:center}#top #shell-share span{display:none}#top .name{min-width:0;flex:1}#top{gap:6px}}

@media(max-width:600px){#shell-status #shell-status-mcp{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#shell-status .shell-version{flex-shrink:0;max-width:24vw}}
