/* An open comparison table with offset registration corners, not a browser mockup. */
.compare-workbench { width: min(1280px, 100%); margin: 38px auto 0; color: #17181c; }
.compare-workbench, .compare-workbench * { box-sizing: border-box; }
.compare-workbench [hidden] { display: none !important; }
.compare-toolbar { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-bottom: 42px; }
.compare-project-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 13px; font-weight: 900; }
.compare-project-name > span:first-child { color: #a79000; font-size: 24px; }
.compare-project-detail { flex-basis: 100%; padding-left: 24px; color: #85877c; font-size: 11px; font-weight: 500; }
.compare-modes { display: flex; flex-wrap: wrap; gap: 24px; }
.compare-modes button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #85877c; font: 800 12px/1.5 'Nunito', sans-serif; transition: color .2s, border-color .2s; }
.compare-modes button[aria-pressed='true'] { color: #17181c; border-bottom-color: #ffe600; }
.compare-modes button:hover { color: #17181c; }
.compare-stage-labels { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 0 12px 17px; }
.compare-stage-labels > span { display: inline-flex; align-items: center; gap: 13px; color: #696d60; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.compare-stage-labels b { font: 400 28px/1 'Bungee', sans-serif; color: #17181c; }
.compare-stage-labels > span:last-child b { color: #ab9300; }
.compare-frame { position: relative; padding: 11px; }
.compare-frame::before, .compare-frame::after { content: ''; position: absolute; pointer-events: none; z-index: 35; }
.compare-frame::before { top: 0; right: 0; width: 88px; height: 88px; border-top: 7px solid #ffe600; border-right: 7px solid #ffe600; }
.compare-frame::after { left: 0; bottom: 0; width: 66px; height: 66px; border-left: 2px solid #17181c; border-bottom: 2px solid #17181c; }
#compare-viewport { border-radius: 0; box-shadow: none; }
#compare-divider.compare-divider { position: absolute; top: 0; bottom: 0; width: 44px; transform: translateX(-50%); z-index: 30; background: transparent; cursor: ew-resize; }
.compare-divider::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #ffe600; transform: translateX(-50%); }
.compare-grip { position: absolute; top: 50%; left: 50%; width: 44px; height: 62px; display: grid; place-items: center; transform: translate(-50%, -50%); background: #ffe600; color: #17181c; font-size: 15px; clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); transition: background .2s; }
.compare-divider:hover .compare-grip { background: #ffd600; }
.compare-divider:focus-visible { outline: 2px solid #17181c; outline-offset: -2px; }
.compare-ruler { position: relative; height: 10px; margin: 14px 11px 0; background: repeating-linear-gradient(to right, #d3d3c7 0 1px, transparent 1px 24px); }
.compare-ruler > span { position: absolute; top: -2px; bottom: -2px; width: 3px; transform: translateX(-50%); background: #17181c; }
.compare-shortcuts { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 14px 11px 0; }
.compare-shortcuts button { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; width: fit-content; padding: 8px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: #696d60; font: 700 12px/1.5 'Nunito', sans-serif; transition: color .2s, border-color .2s; }
.compare-shortcuts button:hover { color: #17181c; border-bottom-color: #17181c; }
.compare-shortcuts .compare-reset { color: #17181c; font-size: 11px; border-bottom: 2px solid #ffe600; }
.compare-shortcuts .compare-reveal { justify-self: end; padding: 13px 18px; background: #17181c; color: #fff; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.compare-reveal > span { color: #ffe600; font-size: 20px; transition: translate .2s; }
.compare-shortcuts .compare-reveal:hover { background: #292b26; color: #fff; }
.compare-reveal:hover > span { translate: 2px -2px; }
.compare-instruction { text-align: center; margin: 19px 0 0; color: #929489; font-size: 11px; }
.compare-instruction > span { margin-right: 6px; color: #696d60; }
#compare-split-view { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.compare-workbench .compare-split-card { min-width: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.compare-split-card .compare-demo-host { overflow: hidden; }
.compare-workbench button:focus-visible { outline: 2px solid #17181c; outline-offset: 4px; }
@media (max-width: 760px) {
  .compare-workbench { margin-top: 30px; }
  .compare-toolbar { align-items: start; gap: 17px; margin-bottom: 26px; }
  .compare-modes { width: 100%; justify-content: space-between; gap: 14px; }
  .compare-modes button { font-size: 11px; }
  .compare-stage-labels { padding-inline: 8px; gap: 10px; }
  .compare-stage-labels > span { gap: 7px; max-width: 48%; font-size: 8px; line-height: 1.6; }
  .compare-stage-labels b { font-size: 22px; }
  .compare-frame { padding: 8px; }
  .compare-frame::before { width: 54px; height: 54px; border-top-width: 5px; border-right-width: 5px; }
  .compare-frame::after { width: 43px; height: 43px; }
  .compare-ruler { margin-inline: 8px; }
  .compare-shortcuts { grid-template-columns: 1fr 1fr; gap: 10px; padding-inline: 8px; }
  .compare-shortcuts button { font-size: 10px; }
  .compare-shortcuts .compare-reset { justify-self: end; font-size: 10px; }
  .compare-shortcuts .compare-reveal { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; width: 100%; font-size: 12px; }
  #compare-split-view { grid-template-columns: 1fr; gap: 30px; }
  .compare-split-card .compare-stage-labels > span { max-width: 100%; }
}
