/* t1578: undo cleanup — joined Undo/Redo + History menu, Look Manager save status / Revert To Saved / Fade row */
html body .hist{display:inline-flex!important;align-items:stretch!important;gap:0!important;padding:0!important;border:1px solid rgb(255 255 255/.18)!important;border-radius:2px!important;background:transparent!important;box-shadow:none!important;overflow:hidden}
html body .hist .hist-b{width:calc(34px * var(--ui,1))!important;min-width:0!important;height:calc(36px * var(--ui,1))!important;min-height:0!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:rgb(233 235 240/.85)!important;box-shadow:none!important;opacity:1!important;cursor:pointer}
html body .hist .hist-b+.hist-b{border-left:1px solid rgb(255 255 255/.09)!important}
html body .hist .hist-b svg{width:16px!important;height:16px!important}
html body .hist .hist-m{width:calc(22px * var(--ui,1))!important}
html body .hist .hist-m svg{width:10px!important;height:10px!important}
html body .hist .hist-b:hover:not(:disabled){background:rgb(255 255 255/.06)!important;color:#fff!important}
html body .hist .hist-b:active:not(:disabled){background:rgb(255 255 255/.1)!important}
html body .hist .hist-b:focus-visible{outline:1px solid #3d7bff!important;outline-offset:-1px}
html body .hist .hist-b:disabled{color:rgb(233 235 240/.3)!important;background:transparent!important;cursor:default}
html body .hist .hist-m[aria-expanded="true"]{background:rgb(61 123 255/.16)!important;color:#fff!important}
html.phone .dock .hist{border:1px solid rgb(255 255 255/.18)!important}
html.phone .dock .hist .hist-b{width:calc(30px * var(--ui,1))!important;height:calc(30px * var(--ui,1))!important}
html.phone .dock .hist .hist-m{width:calc(20px * var(--ui,1))!important}
.hist-tip2{position:fixed;z-index:2147483600;display:flex;gap:10px;align-items:center;padding:6px 8px;background:#1a1e28;border:1px solid rgb(255 255 255/.18);color:#e9ebf0;font:400 12px/16px "DM Sans",system-ui,sans-serif;white-space:nowrap;pointer-events:none}
.hist-tip2 b{font:400 11px/16px "DM Mono",monospace;color:rgb(233 235 240/.55)}
.hist-menu{position:fixed;z-index:2147483601;width:300px;max-height:min(420px,70vh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#141821;border:1px solid rgb(255 255 255/.18);box-shadow:0 18px 40px -12px rgb(0 0 0/.7);font:400 13px/18px "DM Sans",system-ui,sans-serif;color:#e9ebf0}
.hist-mh{display:flex;align-items:center;margin:0;padding:8px 12px 4px;font-size:11px;font-weight:600;letter-spacing:.04em;color:rgb(233 235 240/.55)}
.hist-mh b,.hist-mf b,.hist-mi b{font-family:"DM Mono",monospace;font-weight:400}
.hist-mh b{margin-left:auto}
.hist-ml{overflow:auto;padding:2px 0}
.hist-mi{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;height:32px;padding:0 12px;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.hist-mi span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hist-mi b{font-size:11px;color:rgb(233 235 240/.38)}
.hist-mi i{width:6px;height:6px;border:1px solid rgb(233 235 240/.38);justify-self:center}
.hist-mi:hover{background:rgb(255 255 255/.05)}
.hist-mi.cur{background:rgb(61 123 255/.12)}.hist-mi.cur i{background:#3d7bff;border-color:#3d7bff}
.hist-mi.fut{color:rgb(233 235 240/.42)}
.hist-mf{margin:0;padding:6px 12px;border-top:1px solid rgb(255 255 255/.09);font-size:12px;color:rgb(233 235 240/.38)}
html.phone .hist-menu{left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;width:auto}
html.phone .hist-mi{height:40px}
/* Look Manager */
.sp-v3-name{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 8px}
.sp-stat{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font:400 12px/16px "DM Sans",system-ui,sans-serif;color:rgb(233 235 240/.55);white-space:nowrap}
.sp-stat i{width:6px;height:6px;background:#3ccf7a}.sp-stat.dirty i{background:#f0b43c}.sp-stat.pend i{background:#7aa2ff}
.sp-revrow{flex-basis:100%;display:flex;align-items:center;gap:10px;min-height:24px}
.sp-revert{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0;border:0;background:none;color:#7aa2ff;font:500 12px/16px "DM Sans",system-ui,sans-serif;cursor:pointer;border-radius:2px}
.sp-revert:hover{color:#a9c2ff;text-decoration:underline;text-underline-offset:3px}
.sp-revert svg{width:12px;height:12px}
.sp-ago{font:400 12px/16px "DM Sans",system-ui,sans-serif;color:rgb(233 235 240/.38)}.sp-ago b{font:400 11px "DM Mono",monospace}
.sp-v3-right{display:flex!important;align-items:center!important;gap:4px!important;margin-left:auto}
.sp-v3-right .sp-v2-count{font:400 12px/16px "DM Sans",system-ui,sans-serif!important;color:rgb(233 235 240/.38)!important;text-transform:none!important;letter-spacing:0!important;margin-right:4px}
.sp-v3-right .sp-v2-count b{font:400 11px "DM Mono",monospace;color:rgb(233 235 240/.55)}
.sp-v3-right .sp-info,.sp-v3-right .sp-v2-more{width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;display:grid!important;place-items:center!important;border:0!important;border-radius:2px!important;background:transparent!important;color:rgb(233 235 240/.55)!important}
.sp-v3-right .sp-info:hover,.sp-v3-right .sp-v2-more:hover,.sp-v3-right .sp-info.on{background:rgb(255 255 255/.06)!important;color:#fff!important}
.sp-faderow{display:flex;align-items:center}
.sp-faderow .sp-v2-fade{margin:0!important;position:static!important}
.sp-faderow .sp-v2-fade>span{font:400 12px/16px "DM Sans",system-ui,sans-serif;color:rgb(233 235 240/.55);text-transform:none;letter-spacing:0;min-width:40px}
.sp-faderow .sp-v2-fade b{font-family:"DM Mono",monospace!important}
.hist-tip2[hidden],.hist-menu[hidden]{display:none!important}
/* t1581: top-bar Export outline (no white fill); Look Manager title in DM Sans Title Case */
html body header.nav #exportBtn.nav-export,html body #exportBtn{background:transparent!important;color:#e9ebf0!important;border:1px solid rgb(255 255 255/.28)!important;border-radius:2px!important;box-shadow:none!important}
html body header.nav #exportBtn.nav-export:hover{background:rgb(255 255 255/.06)!important;border-color:rgb(255 255 255/.45)!important}
html body #exportBtn svg{color:currentColor!important}
html body .sp-v3-top p.sp-v3-title.eyebrow.px{font:600 13px/16px "DM Sans",system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#e9ebf0!important}
html body .sp-v3-top p.sp-v3-title i{display:none!important}
