/* SEO deck, the lead's chapter (ch-ryze.js): ryze-1 uses the shared hero; ryze-2 is the Claude window. Prefix sr-.
 * The Claude window styles started from the Reddit deck's ch-open.css. */
.sr-stack { display: grid; }
.sr-stack > * { grid-area: 1 / 1; }
/* ---------- ryze-2: the Claude window ---------- */
@media not ((max-width: 759px) and (orientation: portrait)) { .scene .sr-r2-x, .sr-r2 .se--split { grid-template-columns: minmax(0, .33fr) minmax(0, .67fr); } }
.sr-r2 .se-side { align-self: start; gap: 18px; }
.sr-r2__mark { justify-self: start; }
.sr-r2__link { justify-self: start; font-size: 16px; font-weight: 500; color: #C2410C; text-decoration: underline; text-underline-offset: 3px; }
.sr-r2__beam { position: absolute; z-index: 1; height: 2px; margin-top: -1px; pointer-events: none; border-radius: 2px;
  background: linear-gradient(90deg, rgb(255 127 50 / .9), rgb(255 160 100 / .5) 60%, rgb(255 127 50 / .15));
  box-shadow: 0 0 12px 2px rgb(255 127 50 / .35); transition: opacity .4s; }
.sr-cl__wrap { position: relative; z-index: 2; height: 100%; display: flex; }
.sr-cl { --cl-bg: #FAF9F5; --cl-fg: #1F1E1D; --cl-mut: #73726C; --cl-line: #E5E2D8; --cl-bar: #E7E4DA; --cl-acc: #C96442;
  position: relative; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; background: var(--cl-bg); color: var(--cl-fg); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(31 30 29 / .06), 0 34px 70px -36px rgb(31 30 29 / .4), inset 0 0 0 1px var(--cl-line); font-family: var(--font-sans); }
.sr-cl__bar { flex: none; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #F0EEE6; box-shadow: inset 0 -1px 0 var(--cl-line); }
.sr-cl__dots { display: flex; gap: 7px; } .sr-cl__dots i { width: 11px; height: 11px; border-radius: 50%; background: #DAD6CB; }
.sr-cl__barT { width: 110px; height: 8px; border-radius: 4px; background: #E0DCD1; margin: 0 auto; }
.sr-cl__ex-tag { flex: none; }
.sr-cl__main { flex: 1; min-height: 0; display: flex; }
.sr-cl__rail { flex: none; width: 52px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; box-shadow: inset -1px 0 0 var(--cl-line); color: var(--cl-mut); }
.sr-cl__ri { display: grid; } .sr-cl__ri--new { width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--cl-acc); color: #fff; }
.sr-cl__av { margin-top: auto; width: 28px; height: 28px; border-radius: 50%; background: #CDBDEB; }
.sr-cl__views { position: relative; flex: 1; min-width: 0; overflow: hidden; container-type: size; }
.sr-cl__view { position: absolute; inset: 0; display: flex; transition: transform .7s cubic-bezier(.2,.75,.2,1), opacity .5s, visibility 0s; }
.sr-cl__view.is-off { visibility: hidden; opacity: 0; transition: transform .7s cubic-bezier(.2,.75,.2,1), opacity .5s, visibility 0s .7s; }
.sr-cl__view--set.is-off { transform: translateX(-30%); }
.sr-cl__view--chat.is-off { transform: translateX(30%); }
.sr-cl__bars { display: grid; gap: 8px; flex: 1; min-width: 0; }
.sr-cl__bars i { display: block; height: 8px; border-radius: 4px; background: var(--cl-bar); }
/* settings */
.sr-cl__nav { flex: none; width: 34%; max-width: 230px; display: flex; flex-direction: column; gap: 4px; padding: 20px 12px; box-shadow: inset -1px 0 0 var(--cl-line); }
.sr-cl__nav-h { font-size: 20px; font-weight: 600; letter-spacing: -.01em; padding: 0 8px 12px; }
.sr-cl__nav-i { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 15px; font-weight: 500; transition: background .4s; }
.sr-cl__nav-i > span { display: grid; color: var(--cl-mut); }
.sr-cl__nb { display: block; height: 8px; border-radius: 4px; background: var(--cl-bar); }
.sr-cl__nav-i--on { background: #ECE9DF; }
.sr-cl__panel { position: relative; flex: 1; min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.sr-cl__crumb { display: none; align-items: center; gap: 6px; font-size: 15px; color: var(--cl-mut); } .sr-cl__crumb b { color: var(--cl-fg); font-weight: 600; } .sr-cl__crumb span { display: inline-grid; }
.sr-cl__list { display: grid; gap: 10px; transition: opacity .4s; }
.sr-cl__lhead { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.sr-cl__bars--h i { height: 12px; background: #DCD8CD; }
.sr-cl__addbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #D6D2C6; font-size: 15px; font-weight: 500; background: #fff; }
.sr-cl__addbtn span { display: grid; }
.sr-cl__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); }
.sr-cl__rowic { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #EFECE3; }
.sr-cl__tog { flex: none; width: 34px; height: 20px; border-radius: 10px; background: #E2DED3; }
.sr-cl__panel.is-dlg .sr-cl__list { display: none; }
.sr-cl__dlg { display: none; gap: 14px; padding: 22px; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px -20px rgb(31 30 29 / .35), inset 0 0 0 1px var(--cl-line); }
.sr-cl__panel.is-dlg .sr-cl__dlg { display: grid; animation: sr-pop .5s cubic-bezier(.2,.75,.2,1) both; }
@keyframes sr-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.sr-cl__dlg-t { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.sr-cl__field { display: grid; gap: 7px; }
.sr-cl__bars--lab { flex: none; } .sr-cl__bars--lab i { height: 7px; background: #DEDACF; }
.sr-cl__input { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #D6D2C6; background: #FDFCFA; font-size: 15px; }
.sr-cl__val { white-space: nowrap; overflow: hidden; }
.sr-cl__val--url { font-variant-numeric: tabular-nums; }
.sr-cl__dlg-f { display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.sr-cl__time { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-size: 14px; font-weight: 500; color: var(--cl-mut); }
.sr-cl__time span { display: grid; }
.sr-cl__btn-grey { width: 72px; height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px #D6D2C6; }
.sr-cl__btn-ok { display: grid; place-items: center; width: 72px; height: 34px; border-radius: 8px; background: var(--cl-fg); color: #fff; }
/* chat */
.sr-cl__view--chat { flex-direction: column; }
.sr-cl__thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 22px clamp(16px, 4cqw, 40px) 8px; overflow: hidden; }
.sr-cl__ex { display: grid; gap: 16px; }
.sr-cl__ex.is-gone { display: none; }
.sr-cl__you { justify-self: end; max-width: 84%; padding: 11px 15px; border-radius: 14px; background: #EFECE3; font-size: 16px; line-height: 1.45; }
.sr-cl__bot { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.sr-cl__spark { display: grid; padding-top: 2px; }
.sr-cl__body { display: grid; gap: 12px; min-width: 0; }
.sr-cl__tool { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; background: #F1EFE7; box-shadow: inset 0 0 0 1px var(--cl-line); max-width: 300px; }
.sr-cl__ga { display: block; }
.sr-cl__tool .sr-cl__bars { flex: 1; }
.sr-cl__tok { display: grid; color: #3B8E6A; }
.sr-cl__table { display: grid; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); }
.sr-cl__tr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px 14px; font-size: 15px; font-variant-numeric: tabular-nums; }
.sr-cl__tr + .sr-cl__tr { box-shadow: inset 0 1px 0 var(--cl-line); }
.sr-cl__td--name { font-weight: 600; overflow-wrap: anywhere; }
.sr-cl__card { display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); }
.sr-cl__card-h { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.sr-cl__card-h b { font-weight: 600; }
.sr-cl__appr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #F1EFE7; box-shadow: inset 0 0 0 1px var(--cl-line); }
.sr-cl__bars--ap { flex: 1; }
.sr-cl__edit, .sr-cl__approve { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.sr-cl__edit { background: #fff; box-shadow: inset 0 0 0 1px #D6D2C6; }
.sr-cl__approve { background: var(--cl-fg); color: #fff; }
.sr-cl__comp { flex: none; margin: 6px clamp(14px, 4cqw, 40px) 16px; display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px -4px rgb(31 30 29 / .15), inset 0 0 0 1px #DDD9CE; }
.sr-cl__field2 { min-height: 22px; font-size: 16px; line-height: 1.4; }
.sr-cl__typed.se-typing::after { background: var(--cl-acc); }
.sr-cl__ctools { display: flex; align-items: center; gap: 8px; color: var(--cl-mut); }
.sr-cl__cb { display: grid; }
.sr-cl__send { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--cl-acc); color: #fff; }
/* reveal steps inside the chat */
.sr-cl__you, .sr-cl__bot, .sr-cl__tool, .sr-cl__table, .sr-cl__tr, .sr-cl__card, .sr-cl__appr { transition: opacity .45s, transform .5s cubic-bezier(.2,.75,.2,1); }
.sr-cl__you:not(.is-on), .sr-cl__bot:not(.is-on), .sr-cl__tool:not(.is-on), .sr-cl__table:not(.is-on), .sr-cl__tr:not(.is-on), .sr-cl__card:not(.is-on), .sr-cl__appr:not(.is-on) { opacity: 0; transform: translateY(8px); visibility: hidden; }
.sr-cl__you:not(.is-on) { display: none; }
/* narrow or short windows: drop the nav column, the rail and optional rows, never cut a line */
@container (max-width: 520px) { .sr-cl__nav { display: none; } .sr-cl__crumb { display: flex; } .sr-cl__lhead .sr-cl__bars { display: none; } .sr-cl__btn-grey { display: none; } }
@container (max-height: 380px) { .sr-cl__bars--ans, .sr-cl__card .sr-cl__bars { display: none; } .sr-cl__thread { padding-top: 12px; } .sr-cl__ex { gap: 10px; } .sr-cl__dlg { gap: 9px; padding: 14px 16px; } .sr-cl__panel { padding: 12px 14px; gap: 8px; } .sr-cl__comp { margin-bottom: 10px; padding: 8px 12px; gap: 4px; } .sr-cl__comp:not(.is-typing) { display: none; } .sr-cl__nav-h { padding-bottom: 4px; } .sr-cl__nav { padding: 12px 10px; } }
@container (max-height: 300px) { .sr-cl__tool { display: none; } .sr-cl__ctools { display: none; } .sr-cl__dlg-t { font-size: 16px; } .sr-cl__input { min-height: 32px; } .sr-cl__bars--lab { display: none; } .sr-cl__dlg { gap: 7px; padding: 10px 12px; } .sr-cl__nav-i { height: 30px; } .sr-cl__card { padding: 10px 12px; } .sr-cl__appr { padding: 6px 8px; } }
@media (max-width: 959px), (max-height: 599px) {
  .sr-r2 .se-side { gap: 10px; }
  .sr-r2__link { font-size: 15px; }
  .sr-cl__bar { height: 32px; } .sr-cl__rail { display: none; }
  .sr-cl__you, .sr-cl__field2, .sr-cl__card-h { font-size: 14px; } .sr-cl__tr, .sr-cl__nav-i, .sr-cl__input, .sr-cl__addbtn, .sr-cl__crumb, .sr-cl__edit, .sr-cl__approve { font-size: 14px; }
  .sr-cl__tr { padding: 7px 10px; } .sr-cl__edit, .sr-cl__approve { height: 30px; padding: 0 12px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .sr-r2 .se-side { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: center; max-width: none; }
  .sr-r2__mark { --bsz: 58px; grid-row: 1 / span 2; }
  .sr-r2 .sr-r2__copy { grid-column: 2; } .sr-r2__link { grid-column: 2; }
  .sr-cl__dots { display: none; } .sr-cl__barT { margin: 0; }
  .sr-cl__thread { padding: 10px 12px 4px; } .sr-cl__comp { margin: 4px 10px 8px; }
}
@media (min-width: 960px) and (min-height: 600px) {
  .sr-cl__you, .sr-cl__field2 { font-size: 18px; }
  .sr-cl__tr { font-size: 17px; padding: 12px 16px; }
  .sr-cl__card-h { font-size: 18px; }
  .sr-cl__edit, .sr-cl__approve { font-size: 16px; height: 38px; padding: 0 18px; }
  .sr-cl__nav-i, .sr-cl__addbtn { font-size: 16px; }
  .sr-cl__nav-h { font-size: 22px; }
  .sr-cl__dlg-t { font-size: 22px; }
  .sr-cl__input { font-size: 17px; min-height: 46px; }
  .sr-cl__time { font-size: 15px; }
  .sr-cl__tool { height: 40px; }
}
@container (max-height: 240px) {
  .sr-cl__panel { padding: 8px 12px; gap: 6px; }
  .sr-cl__crumb { font-size: 14px; }
  .sr-cl__dlg { gap: 6px; padding: 8px 12px; border-radius: 10px; }
  .sr-cl__input { min-height: 30px; }
  .sr-cl__dlg-f { padding-top: 0; } .sr-cl__btn-ok { height: 30px; }
  .sr-cl__thread { padding: 8px 14px 6px; } .sr-cl__ex { gap: 8px; } .sr-cl__body { gap: 8px; }
  .sr-cl__you { max-width: 96%; padding: 8px 12px; }
  .sr-cl__card { padding: 8px 12px; } .sr-cl__card-h { gap: 8px; }
  .sr-cl__appr { padding: 5px 8px; } .sr-cl__edit, .sr-cl__approve { height: 28px; }
  .sr-cl__tr { padding: 6px 10px; }
}
/* the mark's glow halo reaches 46% past its box: keep that ring clear of text */
.sr-r2__mark { margin: calc(var(--bsz) * .22) 0; }
/* compact: the mark takes its own column between the text and the window (100 px, or 76 px in the shortest frames) */
.sr-r2__col { flex: none; display: none; align-items: center; justify-content: center; }
.sr-r2--cmp .sr-r2__col { display: flex; padding: 0 22px 0 10px; }
.sr-r2--cmp .sr-r2__mark { --bsz: 116px; margin: 0; }
.sr-r2--cmp .sr-r2__mark .rz-mark__halo { inset: -22%; } .sr-r2--cmp .sr-r2__mark .rz-mark__dots { inset: -15%; }
.sr-r2--cmp .sr-cl__wrap { align-items: stretch; }
@media (max-height: 400px) { .sr-r2--cmp .sr-r2__mark { --bsz: 86px; } .sr-r2--cmp .sr-r2__col { padding: 0 18px 0 6px; } }
@media (max-width: 959px), (max-height: 599px) {
  .sr-r2.sr-r2--cmp .se--split { grid-template-columns: minmax(0, .28fr) minmax(0, .72fr); column-gap: 18px; }
  .sr-r2 .se-side { gap: 10px; }
  .sr-r2__link { white-space: nowrap; font-size: 15px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .sr-r2 .se-side { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 26px; row-gap: 6px; align-items: center; max-width: none; }
  .sr-r2__mark { --bsz: 58px; grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .sr-r2 .sr-r2__copy { grid-column: 2; grid-row: 1; } .sr-r2__link { grid-column: 2; grid-row: 2; }
}
.sr-cl__ph { display: block; width: 46%; height: 8px; margin: 7px 0; border-radius: 4px; background: #ECE9E0; }
/* the shortest frames (640 x 360): no title bar, a 64 px mark, tight chat rows */
.sr-r2--tiny .sr-cl__bar { display: none; }
.sr-r2--tiny .sr-r2__mark { --bsz: 76px; }
.sr-r2--tiny .sr-r2__col { padding: 0 16px 0 2px; }
.sr-r2--tiny .se-side .sr-cl__ex-tag { justify-self: start; }
@container (max-height: 190px) {
  .sr-cl__thread { padding: 5px 10px 4px; } .sr-cl__ex { gap: 4px; } .sr-cl__body { gap: 4px; }
  .sr-cl__bot { grid-template-columns: minmax(0, 1fr); } .sr-cl__spark { display: none; }
  .sr-cl__you { max-width: 100%; padding: 5px 10px; line-height: 1.3; }
  .sr-cl__card { padding: 4px 10px; } .sr-cl__card-h { gap: 8px; }
  .sr-cl__appr { padding: 2px 6px; } .sr-cl__edit, .sr-cl__approve { height: 26px; }
  .sr-cl__tr { padding: 4px 8px; line-height: 1.25; }
  .sr-cl__panel { padding: 5px 10px; gap: 5px; }
  .sr-cl__dlg { gap: 5px; padding: 7px 10px; } .sr-cl__input { min-height: 26px; } .sr-cl__btn-ok { height: 24px; } .sr-cl__dlg-t { font-size: 15px; }
}
/* SEO additions */
.sr-cl__flow { display: inline-flex; align-items: center; justify-self: start; height: 30px; padding: 0 12px; border-radius: 999px; background: #F3EFE6; box-shadow: inset 0 0 0 1px var(--cl-line); font-size: 14px; font-weight: 500; color: var(--cl-fg); white-space: nowrap; transition: opacity .45s, transform .5s cubic-bezier(.2,.75,.2,1); }
.sr-cl__flow:not(.is-on) { opacity: 0; transform: translateY(6px); }
.sr-cl__logo { display: block; border-radius: 4px; }
.sr-cl__wp { display: grid; }
.sr-cl__tr { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
.sr-cl__ht { position: relative; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--cl-line); overflow: hidden; }
.sr-cl__ht i { position: absolute; left: 2px; top: 2px; bottom: 2px; background: radial-gradient(circle, #FF7F32 1.4px, transparent 1.8px) 0 0 / 5px 5px; }
.sr-cl__card-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #FFF1E7; color: #C2410C; }
.sr-cl__linkrow { font-size: 16px; font-weight: 500; color: var(--cl-fg); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sr-cl__approve.is-hot { box-shadow: 0 0 0 3px rgb(255 127 50 / .35), 0 0 22px rgb(255 127 50 / .35); }
@media (max-width: 959px), (max-height: 599px) { .sr-cl__linkrow { font-size: 14px; } .sr-cl__flow { height: 26px; } }
@container (max-height: 300px) { .sr-cl__bars--card { display: none; } }
@container (max-height: 240px) { .sr-cl__flow { height: 24px; padding: 0 10px; } }
@container (max-height: 380px) { .sr-cl__bars--lab { display: none; } .sr-cl__field { gap: 0; } }
/* round 5: the text sits right under the title; the glowing mark follows the link, below the text */
.sr-r2 .se-side .sr-r2__mark { margin-top: calc(var(--bsz) * .18); }
/* R1: the dark glowing badge behind the mark, about 1.5x the old size on desktop */
.sr-r2__mark { --bsz: 176px; position: relative; flex: none; display: grid; place-items: center; width: var(--bsz); height: var(--bsz); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #2B1A10 0, #141012 48%, #0B0B0D 72%);
  box-shadow: 0 0 0 1px rgb(255 127 50 / .28), 0 0 36px 4px rgb(255 127 50 / .38), 0 0 90px 18px rgb(255 127 50 / .16), inset 0 0 30px rgb(255 127 50 / .18); }
.sr-r2__mark > .rz-mark { --rz-size: calc(var(--bsz) * .64) !important; }
@media (max-width: 959px), (max-height: 599px) { .sr-r2__badge-off { display: none; } }
/* the shortest windows: the breadcrumb row gives its room to the dialog, so "About two minutes" stays whole */
@container (max-height: 250px) { .sr-cl__crumb { display: none !important; } .sr-cl__dlg-t { font-size: 15px; } .sr-cl__dlg { gap: 5px; } }
/* review 2: on tall windows the connector list stays visible (dimmed, bars only) under the dialog, so the window is not half empty */
@container (min-height: 521px) {
  .sr-cl__panel.is-dlg .sr-cl__list { display: grid; order: 2; opacity: .5; margin-top: 6px; }
  .sr-cl__panel.is-dlg .sr-cl__lhead { display: none; }
  .sr-cl__panel.is-dlg .sr-cl__dlg { order: 1; }
}
/* audit lesson 8: the dialog buttons carry their labels */
.sr-cl__btn-grey, .sr-cl__btn-ok { display: inline-grid; place-items: center; width: auto; min-width: 72px; padding: 0 14px; font-size: 15px; font-weight: 600; }
.sr-cl__btn-grey { color: var(--cl-fg); background: #fff; }
@media (max-width: 959px), (max-height: 599px) { .sr-cl__btn-grey, .sr-cl__btn-ok { font-size: 14px; min-width: 0; padding: 0 10px; } }
.sr-cl__tname { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--cl-fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
