body { font-family: "Geist", system-ui, sans-serif; }
.v2 { --font-geist: "Geist"; --font-geist-mono: "Geist Mono"; }
.dev-note { font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(12,11,10,.55); text-align: center; padding: 14px; border-bottom: 1px solid rgba(12,11,10,.12); }

/* ---------- stage: sits inside the live site's own panel (.panel.rock) ---------- */
.stage { position: relative; min-height: 540px; width: 100%; }

/* ---------- windows: the real app's light theme, compacted ---------- */
.win { position: absolute; background: #F4EFE6; border-radius: 12px; overflow: hidden; color: #1B1714;
  box-shadow: 0 0 0 1px rgba(27,23,20,.10), 0 18px 50px -18px rgba(27,23,20,.35), 0 4px 12px -6px rgba(27,23,20,.18);
  font-family: "Geist", Inter, system-ui, sans-serif; }
.bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: #EDE6D9; border-bottom: 1px solid #E0D7C6; }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(27,23,20,.16); flex: none; }
.bar span { flex: 1; text-align: center; margin-right: 40px; font-family: "Geist Mono", monospace; font-size: 11px; color: rgba(27,23,20,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.win-main { left: 0; top: 0; right: 0; }
.win-main .body { padding: 16px; }
.list-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px 2px; }
.lh-label { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #4B4238; }
.count { font-family: "Geist Mono", monospace; font-size: 11px; color: #6E6556; background: #ECE4D5; border-radius: 999px; padding: 1px 8px; transition: opacity .3s; }
.rows { background: #FFFDF9; border: 1px solid #E0D7C6; border-radius: 7px; overflow: hidden; }
.row { display: flex; gap: 14px; align-items: flex-start; padding: 13px 14px; border-top: 1px solid #E0D7C6; max-height: 200px;
  transition: max-height .6s cubic-bezier(.65,0,.35,1), padding .6s cubic-bezier(.65,0,.35,1), opacity .45s ease, background-color .35s ease; }
.row:first-child { border-top: 0; }
.row.focus { background: #FBF5EB; }
.row.gone { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; border-top-color: transparent; }
.r-main { flex: 1; min-width: 0; }
.r-top { display: flex; align-items: flex-start; gap: 7px; flex-wrap: wrap; }
.r-title { font-size: 14px; font-weight: 500; line-height: 1.4; flex: 1 1 220px; }
.r-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; font-size: 12px; color: #6E6556; }
.ref { font-family: "JetBrains Mono", "Geist Mono", monospace; color: #4B4238; }
.dot { opacity: .6; }
.sev { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; line-height: 14px; white-space: nowrap; margin-top: 1px; }
.sev.crit { color: #AD3017; background: rgba(193,54,32,.16); }
.sev.high { color: #A83412; background: rgba(232,99,44,.14); }
.r-act { display: flex; gap: 6px; flex: none; align-items: center; position: relative; }
.ab { font-size: 13px; font-weight: 500; color: #A83412; background: rgba(171,63,19,.10); border: 1px solid rgba(171,63,19,.32); border-radius: 7px; padding: 5px 13px; line-height: 20px; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease, opacity .3s ease; }
.ab.press { transform: scale(.94); background: rgba(171,63,19,.2); }
.ab.solid { background: #1B1714; color: #F4EFE6; border-color: #1B1714; }
.state { position: absolute; right: 0; top: 0; opacity: 0; pointer-events: none; font-size: 12px; font-weight: 500; border-radius: 999px; padding: 6px 12px; white-space: nowrap; transition: opacity .35s ease; display: inline-flex; align-items: center; gap: 7px; }
.state.dismissed { color: #6E6556; background: #ECE4D5; }
.state.working { color: #A83412; background: rgba(232,99,44,.14); }
.state.working b { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(168,52,18,.25); border-top-color: #A83412; animation: spin .8s linear infinite; }
.state.ready { color: #1B1714; background: #E4ECD9; }
@keyframes spin { to { transform: rotate(360deg); } }
.r-act.show-state .ab { opacity: 0; }
.state.on { opacity: 1; }
.reason { display: flex; align-items: baseline; gap: 8px; max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; transition: max-height .45s ease, opacity .35s ease, margin-top .45s ease; }
.reason.on { max-height: 40px; opacity: 1; margin-top: 10px; }
.reason-label { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: #6E6556; flex: none; }
.reason-text { font-size: 13px; color: #1B1714; background: #FFFDF9; border: 1px solid rgba(171,63,19,.45); border-radius: 6px; padding: 4px 8px; min-width: 60px; }
.caret { display: inline-block; width: 1.5px; height: 14px; background: #A83412; animation: blink .9s steps(2) infinite; vertical-align: -2px; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }

/* the pull request window slides in over the list, like Cursor's CLI window */
.win-pr { right: -8px; bottom: 0; width: 64%; transform: translateY(26px); opacity: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s ease; }
.win-pr.on { transform: none; opacity: 1; }
.win-pr .body { padding: 16px 18px 18px; }
.pr-kicker { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #A83412; }
.pr-title { font-size: 15px; font-weight: 500; margin-top: 6px; line-height: 1.35; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid #E0D7C6; }
.checks li { font-size: 13px; color: #6E6556; padding: 7px 0 7px 24px; position: relative; border-bottom: 1px solid #EAE2D3; opacity: .45; transition: opacity .3s ease, color .3s ease; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(27,23,20,.25); transition: all .3s ease; }
.checks li.ok { opacity: 1; color: #1B1714; }
.checks li.ok::before { background: #1B1714 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23F4EFE6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; border-color: #1B1714; }
.pr-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 12.5px; color: #4B4238; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.pr-foot.on { opacity: 1; transform: none; }

@media (max-width: 1000px) { .stage { min-height: 560px; } }
@media (max-width: 640px) {
  .stage { min-height: 700px; }
  .win-main { left: 0; right: 0; top: 0; }
  .win-pr { left: 0; right: 0; width: auto; bottom: 0; }
  .r-act .ab:not(#btnFix):not(#btnDismiss) { display: none; }
  .row { flex-direction: column; gap: 10px; }
  .state { position: static; }
}
