/* Colorcast gallery. Everything is drawn from the --r-* role colors the page sets for the current palette. */
#mockRoot { padding: 48px 24px 24px; }
.mock-group { max-width: 1180px; margin: 0 auto 64px; }
.mock-group > .group-head { margin-bottom: 26px; }
.g-row { display: grid; gap: 18px; margin-bottom: 18px; align-items: start; }
.r-st { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
.r-db { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.r-ed { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
.r-rs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.r-kit { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: stretch; }
.r-phones { display: flex; justify-content: center; gap: 22px; padding: 26px 0 48px; }
/* Each app with its name underneath, on the page's own ink. */
.mock-fig { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mock-fig > .mock { flex: 1 1 auto; }
/* A tag in the palette's own colors, so it reads wherever the page's color bands fall. */
.mock-fig figcaption { align-self: flex-start; padding: 5px 10px; border-radius: 6px; background: var(--r-surface); color: var(--r-text); box-shadow: inset 0 0 0 1px var(--r-border); font-size: 13px; line-height: 1.35; }
.r-phones > .mock-fig { width: 100%; max-width: 280px; flex: 1 1 0; align-items: center; }
.r-phones > .mock-fig figcaption { align-self: center; }
.r-phones > .mock-fig > .phone { flex: none; }

/* ---------- Frames ---------- */
.mock { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: var(--r-bg); color: var(--r-text); border: 1px solid var(--r-border); box-shadow: 0 34px 64px -28px color-mix(in oklab, var(--r-shadow, #000) 60%, transparent); font-family: var(--font-body); font-size: 14px; line-height: 1.42; font-variant-numeric: tabular-nums; outline: none; }
.mock * { box-sizing: border-box; }
/* Colors only animate while a new palette is arriving, so clicks inside the apps stay instant. */
html:not(.tween-vars) .recolor .mock-fig, html:not(.tween-vars) .recolor .mock-fig * { transition: background-color .7s ease var(--d, 0s), color .7s ease var(--d, 0s), border-color .7s ease var(--d, 0s), fill .7s ease var(--d, 0s); }
/* The palette itself eases inside each app, so every use of a color (gradients included) moves as one. */
.tween-vars .recolor .mock-fig { transition: var(--tween); transition-delay: var(--d, 0s); }
.tween-vars .recolor .mock-fig * { transition: none; }
.mock button, .mock input, .mock select { font: inherit; color: inherit; }
.mock button { cursor: pointer; }
.mock button:disabled { cursor: default; }
.mock :focus-visible { outline: 2px solid var(--r-pop-ink); outline-offset: 2px; }
.mock h3, .mock h4 { margin: 0; font-weight: 700; }
.mock p { margin: 0; }
.ic { flex: none; display: block; }
.tl { display: inline-flex; gap: 6px; flex: none; }
.tl i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in oklab, var(--r-text) 22%, var(--r-bg)); }
.win-bar { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 7px 14px; background: var(--r-surface); border-bottom: 1px solid var(--r-border); flex: none; }
.win-title { font-size: 13px; font-weight: 600; }
.win-bar .k-tag, .win-bar .m-end { margin-left: auto; }
[data-app="dash"] .tl, [data-app="sales"] .tl, [data-app="run"] .tl, [data-app="calendar"] .tl, [data-app="board"] .tl, [data-app="kit"] .tl, [data-app="form"] .tl { display: none; }
.br-bar { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 7px 14px; background: var(--r-surface); border-bottom: 1px solid var(--r-border); flex: none; }
.br-url { flex: 1; max-width: 460px; margin: 0 auto; transform: translateX(-28px); display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 7px; background: var(--r-bg); font-size: 12.5px; color: var(--r-muted); min-width: 0; overflow: hidden; white-space: nowrap; }
.br-url span { overflow: hidden; text-overflow: ellipsis; }
.phone { width: 100%; max-width: 280px; flex: 1 1 0; border-radius: 42px; border: 0; padding: 7px; background: #0b0c0f; box-shadow: 0 0 0 1px color-mix(in oklab, var(--r-text) 22%, #000), 0 44px 70px -30px rgba(0,0,0,.72); overflow: visible; }
.r-phones > .mock-fig:nth-child(1) { margin-top: 30px; } .r-phones > .mock-fig:nth-child(2) { margin-top: -6px; } .r-phones > .mock-fig:nth-child(3) { margin-top: 44px; } .r-phones > .mock-fig:nth-child(4) { margin-top: 10px; }
.ph-screen { position: relative; flex: 0 0 588px; height: 588px; display: flex; flex-direction: column; gap: 12px; padding: 12px 14px 20px; border-radius: 35px; background: var(--r-bg); overflow: hidden; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; min-height: 22px; font-size: 12.5px; flex: none; }
.ph-status b { font-weight: 650; }
.ph-status span { display: inline-flex; gap: 3px; align-items: center; }
.ph-island { position: absolute; left: 50%; top: 11px; width: 74px; height: 22px; margin-left: -37px; border-radius: 12px; background: #000; }
.ph-home { position: absolute; left: 50%; bottom: 7px; width: 96px; height: 4px; margin-left: -48px; border-radius: 2px; background: var(--r-text); opacity: .75; }
.ph-head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ph-head b { font-size: 17px; font-weight: 700; }
.ph-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
.ph-row .m-grow { display: flex; flex-direction: column; min-width: 0; }
.ph-row b.m-truncate { font-weight: 600; }
.ph-row b.m-mono { font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.ph-row .pos { color: var(--r-ok); }
.ph-row .k-avatar { width: 32px; height: 32px; font-size: 12px; }
.ph-tabs { margin: auto -14px -8px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-top: 6px; border-top: 1px solid var(--r-border); flex: none; }
.ph-tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; padding: 3px 0 0; border: 0; background: transparent; color: var(--r-muted); font-size: 10.5px; }
.ph-tabs button[aria-pressed="true"] { color: var(--r-pop-ink); font-weight: 650; }

/* ---------- Utilities ---------- */
.m-body { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px; position: relative; }
.m-note { font-size: 12px; color: var(--r-muted); }
.m-mono { font-family: var(--font-mono); }
.m-cap { font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--r-muted); }
.m-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.m-wrap { flex-wrap: wrap; }
.m-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.m-grow { flex: 1; min-width: 0; }
.m-end { margin-left: auto; }
.m-big { font-size: 24px; font-weight: 650; letter-spacing: -.015em; line-height: 1.15; }
.m-card { padding: 12px; border-radius: 8px; background: var(--r-surface); min-width: 0; }
.m-link { color: var(--r-link); }
.m-truncate { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- Kit ---------- */
.k-btn { min-height: 36px; padding: 0 13px; border-radius: 6px; border: 1px solid transparent; background: var(--r-accent); color: var(--r-on-accent) !important; font-weight: 600 !important; font-size: 13px !important; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; text-decoration: none; transition: filter .15s; }
.k-btn:hover:not(:disabled) { filter: brightness(1.1); }
.k-btn:active:not(:disabled) { transform: translateY(1px); }
.k-btn:disabled { opacity: .55; }
.k-btn.lg { min-height: 42px; padding: 0 18px; font-size: 14px !important; }
.k-btn.sec { background: var(--r-secondary); color: var(--r-on-secondary) !important; }
.k-btn.pop { background: var(--r-pop); color: var(--r-on-pop) !important; }
.k-btn.tint { background: var(--r-tint); color: var(--r-on-tint) !important; }
.k-btn.ghost { background: transparent; border-color: var(--r-border); color: var(--r-text) !important; }
.k-btn.ghost:hover:not(:disabled) { background: var(--r-surface); filter: none; }
.k-btn.ghost[aria-pressed="true"] { background: var(--r-surface); border-color: var(--r-muted); }
.k-btn.pop-line { border-color: var(--r-pop-ink); color: var(--r-pop-ink) !important; }
.k-btn.bad { background: var(--r-bad); color: var(--r-onbad) !important; }
.k-btn.icon { width: 36px; padding: 0; }
.k-btn.nudge, .nudge { animation: nudge .4s ease; }
@keyframes nudge { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.k-chip { min-height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--r-border); background: transparent; color: var(--r-text) !important; font-size: 12px !important; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.k-chip:hover { background: var(--r-surface); }
.k-chip[aria-pressed="true"] { background: var(--r-accent); border-color: var(--r-accent); color: var(--r-on-accent) !important; font-weight: 600 !important; }
.k-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.k-seg { display: flex; padding: 3px; gap: 2px; border-radius: 7px; background: var(--r-surface); min-width: 0; }
.k-seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: var(--r-muted) !important; font-size: 12.5px !important; white-space: nowrap; }
.k-seg button:hover { color: var(--r-text) !important; }
.k-seg button[aria-pressed="true"] { background: var(--r-bg); color: var(--r-text) !important; font-weight: 600 !important; box-shadow: 0 0 0 1px var(--r-border); }
.k-seg.small button { min-height: 26px; padding: 0 9px; font-size: 12px !important; }
.k-seg.big button { min-height: 40px; font-size: 13.5px !important; }
.k-tag { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; background: var(--r-tint); color: var(--r-on-tint); flex: none; }
.k-tag.pop { background: var(--r-pop); color: var(--r-on-pop); }
.k-tag.acc { background: var(--r-accent); color: var(--r-on-accent); }
.k-tag.sec { background: var(--r-secondary); color: var(--r-on-secondary); }
.k-tag.ok { background: var(--r-ok); color: var(--r-onok); }
.k-tag.warn { background: var(--r-warn); color: var(--r-onwarn); }
.k-tag.bad { background: var(--r-bad); color: var(--r-onbad); }
.k-tag.info { background: var(--r-info); color: var(--r-oninfo); }
.k-tag.out { background: transparent; color: var(--r-pop-ink); box-shadow: inset 0 0 0 1px currentColor; }
.k-sw { position: relative; flex: none; width: 38px; height: 22px; padding: 0; border-radius: 11px; border: 1px solid var(--r-muted); background: var(--r-surface); }
.k-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--r-muted); transition: transform .16s ease, background-color .16s ease; }
.k-sw[aria-pressed="true"] { background: var(--r-accent); border-color: var(--r-accent); }
.k-sw[aria-pressed="true"]::after { transform: translateX(16px); background: var(--r-on-accent); }
.k-input { width: 100%; min-width: 0; min-height: 36px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--r-border); background: var(--r-surface); color: var(--r-text); font-size: 13px; }
.k-input::placeholder { color: var(--r-muted); opacity: 1; }
.k-input.err { border-color: var(--r-bad); }
.k-track { height: 7px; border-radius: 4px; overflow: hidden; background: var(--r-surface); box-shadow: inset 0 0 0 1px var(--r-border); flex: none; }
.k-fill { display: block; height: 100%; border-radius: 4px; background: var(--r-accent); transition: width .25s ease, background-color .25s ease; }
.k-range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.k-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--r-tint); box-shadow: inset 0 0 0 1px var(--r-border); }
.k-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: var(--r-accent); border: 2px solid var(--r-bg); box-shadow: 0 0 0 1px var(--r-accent); }
.k-range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--r-tint); }
.k-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--r-accent); border: 2px solid var(--r-bg); }
.k-step { display: inline-flex; align-items: center; border: 1px solid var(--r-border); border-radius: 6px; overflow: hidden; flex: none; }
.k-step button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: var(--r-surface); }
.k-step button:hover { background: var(--r-tint); color: var(--r-on-tint); }
.k-step span { min-width: 36px; text-align: center; font: 500 13px var(--font-mono); }
.k-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--r-secondary); color: var(--r-on-secondary); }
.k-avatar.pop { background: var(--r-pop); color: var(--r-on-pop); }
.k-avatar.acc { background: var(--r-accent); color: var(--r-on-accent); }
.k-avatar.tint { background: var(--r-tint); color: var(--r-on-tint); }
.k-avatars { display: flex; }
.k-avatars .k-avatar + .k-avatar { margin-left: -8px; box-shadow: 0 0 0 2px var(--r-bg); }
.k-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--r-muted); vertical-align: 1px; }
.k-dot.live { background: var(--r-pop); box-shadow: 0 0 0 3px color-mix(in oklab, var(--r-pop) 30%, transparent); }
.k-alert { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 7px; background: var(--r-surface); border: 1px solid var(--r-info); font-size: 13px; }
.k-alert > .ic, .k-alert > span > .ic { color: var(--r-info); }
.k-alert > span { display: inline-flex; align-items: center; gap: 8px; }
.k-alert.ok { border-color: var(--r-ok); } .k-alert.ok .ic { color: var(--r-ok); }
.k-alert.warn { border-color: var(--r-warn); } .k-alert.warn .ic { color: var(--r-warn); }
.k-alert.bad { border-color: var(--r-bad); } .k-alert.bad > .ic { color: var(--r-bad); }
.k-alert button { margin-left: auto; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--r-muted); }
.k-alert button:hover { background: var(--r-bg); color: var(--r-text); }

kbd { display: inline-block; padding: 1px 6px; margin-left: 5px; border: 1px solid var(--r-border); border-radius: 4px; background: var(--r-surface); color: var(--r-text); font: 600 11.5px var(--font-body); }

/* The real video thumbnail, cropped out of the real app screenshot. */

.mu-art img { filter: url(#duo); }
.t0 { grid-column: span 4; grid-row: span 2; } .t1 { grid-column: span 2; grid-row: span 2; } .t2 { grid-column: span 2; grid-row: span 2; } .t3 { grid-column: span 2; grid-row: span 1; } .t4 { grid-column: span 2; grid-row: span 2; }
.t5 { grid-column: span 2; grid-row: span 1; } .t6 { grid-column: span 3; grid-row: span 2; } .t7 { grid-column: span 3; grid-row: span 1; } .t8 { grid-column: span 3; grid-row: span 1; }

/* ---------- Northline landing ---------- */
.ld-logo { font: 700 14px var(--font-mono); letter-spacing: .22em; }
.ld-nav { display: flex; align-items: center; gap: 22px; min-height: 60px; padding: 8px 28px; font-size: 13.5px; }
.ld-nav .k-btn { margin-left: auto; }
.ld-nav span { color: var(--r-muted); }
.ld-hero { position: relative; display: flex; align-items: center; min-height: 460px; overflow: hidden; }
.ld-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ld-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--r-bg) 0%, var(--r-bg) 36%, color-mix(in oklab, var(--r-bg) 62%, transparent) 62%, transparent 92%), linear-gradient(0deg, var(--r-bg), transparent 26%); }
.ld-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; max-width: 600px; padding: 34px 28px; }
.ld-copy h3 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 750; line-height: 1.02; letter-spacing: -.028em; }
.ld-copy p { font-size: 17px; line-height: 1.5; max-width: 42ch; }
.on-photo { background: var(--r-bg) !important; }
.ld-speakers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 28px 8px; border: 1px solid var(--r-border); border-radius: 8px; overflow: hidden; background: var(--r-border); }
.ld-speakers div { display: flex; flex-direction: column; gap: 3px; padding: 12px; background: var(--r-surface); }
.ld-speakers b { font-weight: 600; font-size: 13.5px; }
.ld-tix { padding: 22px 28px 28px; }
.ld-tix-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ld-tix-head h4 { font-size: 24px; letter-spacing: -.015em; }
.ld-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ld-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 16px; border-radius: 9px; border: 1px solid var(--r-border); background: var(--r-surface); text-align: left; }
.ld-plan b { font-weight: 650; }
.ld-plan:hover { border-color: var(--r-muted); }
.ld-plan[aria-pressed="true"] { border-color: var(--r-accent); box-shadow: inset 0 0 0 1px var(--r-accent); }
.ld-price { font-size: 30px; font-weight: 720; letter-spacing: -.02em; line-height: 1.1; }
.ld-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; }
.ld-total { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.ld-total b { font-size: 19px; font-weight: 650; }

/* ---------- Bank ---------- */
.bk-card { padding: 15px; min-height: 142px; border-radius: 16px; background: linear-gradient(135deg, var(--r-accent), color-mix(in oklab, var(--r-accent) 72%, var(--r-pop))); color: var(--r-on-accent); display: flex; flex-direction: column; font-size: 13px; transition: filter .3s; }
.bk-card.frozen { filter: grayscale(.85); }
.bk-card button { padding: 0 8px; min-height: 24px; border: 1px solid currentColor; border-radius: 12px; background: transparent; font-size: 11px !important; color: inherit !important; }
.bk-bal { margin-top: auto; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.bk-num { font-size: 12px; }
.bk-acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.bk-acts button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font-size: 11px !important; }
.bk-acts i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--r-surface); color: var(--r-text); transition: background-color .15s; }
.bk-acts button:hover i { background: var(--r-tint); color: var(--r-on-tint); }
.bk-round { padding: 8px 10px; border-radius: 10px; background: var(--r-surface); font-size: 13px; }
.ph-list { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }

/* ---------- Music ---------- */
.mu { gap: 9px; }
.mu-top { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mu-top b { font-weight: 650; display: block; }
.mu-art { position: relative; flex: none; aspect-ratio: 1; max-height: 216px; width: 100%; border-radius: 14px; overflow: hidden; background: var(--r-surface); }
.mu-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mu-title { font-size: 17px; font-weight: 700; display: block; }
.mu-times { margin-top: -6px; }
.mu-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; }
.mu-ctrl .k-btn { border: 0; }
.mu-play { display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: var(--r-accent); color: var(--r-on-accent) !important; }
.mu-play:hover { filter: brightness(1.1); }
.mu-eq { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: flex-end; gap: 2px; height: 16px; opacity: 0; transition: opacity .2s; padding: 3px; border-radius: 4px; background: var(--r-bg); box-sizing: content-box; }
.mu-eq.on { opacity: 1; }
.mu-eq i { width: 3px; height: 40%; background: var(--r-pop-ink); }
.mu-eq.on i { animation: eq .9s ease-in-out infinite alternate; }
.mu-eq i:nth-child(2) { animation-delay: -.3s !important; } .mu-eq i:nth-child(3) { animation-delay: -.6s !important; } .mu-eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { from { height: 25%; } to { height: 100%; } }
.liked { color: var(--r-pop-ink) !important; }
.mu-q { display: flex; flex-direction: column; gap: 0; min-height: 0; overflow: hidden; }
.mu-track { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 30px; padding: 3px 7px; border: 0; border-radius: 6px; background: transparent; text-align: left; font-size: 12.5px !important; }
.mu-track:hover, .mu-track[aria-pressed="true"] { background: var(--r-surface); }
.mu-track[aria-pressed="true"] { font-weight: 600 !important; }

/* ---------- Chat ---------- */
.ch { gap: 8px; }
.ch-top { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--r-border); }
.ch-top b { font-weight: 650; }
.ch-log { flex: 1; display: flex; flex-direction: column; gap: 7px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.ch-day { align-self: center; font-size: 11px; color: var(--r-muted); padding: 2px 0; }
.ch-m { flex: none; align-self: flex-start; max-width: 84%; padding: 7px 11px; border-radius: 15px 15px 15px 4px; background: var(--r-surface); font-size: 13px; overflow-wrap: anywhere; }
.ch-m b { display: block; font-size: 11px; color: var(--r-pop-ink); font-weight: 650; }
.ch-m.me { align-self: flex-end; border-radius: 15px 15px 4px 15px; background: var(--r-accent); color: var(--r-on-accent); }
.ch-pic { flex: none; align-self: flex-start; width: 66%; border-radius: 12px; overflow: hidden; }
.ch-pic img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ch-quick { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; flex: none; }
.ch-quick button { flex: none; min-height: 28px; padding: 0 10px; border: 1px solid var(--r-border); border-radius: 14px; background: none; font-size: 12px !important; }
.ch-quick button:hover { background: var(--r-surface); }
.ch-form { display: flex; gap: 6px; flex: none; }
.ch-form .k-input { border-radius: 18px; }
.ch-form .k-btn { border-radius: 50%; }

/* ---------- Weather ---------- */
.wx-top { display: flex; flex-direction: column; gap: 7px; }
.wx-top .k-chip { padding: 0 9px; min-height: 28px; font-size: 11.5px !important; }
.wx-now { display: flex; align-items: center; gap: 14px; padding: 8px 2px; }
.wx-temp { font-size: 66px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.wx-sky { display: flex; flex-direction: column; gap: 4px; color: var(--r-pop-ink); }
.wx-sky b { color: var(--r-text); font-weight: 600; font-size: 14px; }
.wx-chart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 12px 8px 8px; border-radius: 12px; background: var(--r-surface); flex: 1; min-height: 130px; }
.wx-h { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: var(--r-muted); min-width: 0; }
.wx-h b { font-weight: 500; font-size: 11px; color: var(--r-text); }
.wx-bar { flex: 1; width: 8px; display: flex; align-items: flex-end; border-radius: 4px; background: var(--r-bg); overflow: hidden; }
.wx-bar i { display: block; width: 100%; border-radius: 4px; background: var(--r-accent); transition: height .3s; }
.wx-bar i.peak { background: var(--r-pop); }
.wx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wx-facts div { display: flex; flex-direction: column; gap: 1px; padding: 8px 9px; border-radius: 9px; background: var(--r-surface); }
.wx-facts b { font-weight: 600; font-size: 13px; }
.wx .k-alert { font-size: 12.5px; padding: 8px 10px; margin-bottom: 6px; }

/* ---------- Store ---------- */
.st-nav { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--r-border); }
.st-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.st-art { display: grid; place-items: center; min-height: 340px; background: var(--r-surface); transition: color .25s; }
.st-frame { width: 70%; max-width: 300px; aspect-ratio: 4 / 5; padding: 6%; background: currentColor; box-shadow: 0 18px 30px -16px rgba(0,0,0,.55); transition: background-color .25s; }
.st-frame img { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); filter: url(#duo); }
.st-info { display: flex; flex-direction: column; gap: 9px; padding: 20px; }
.st-info h4 { font-size: 25px; letter-spacing: -.018em; line-height: 1.1; }
.st-stars { display: flex; align-items: center; gap: 2px; color: var(--r-pop-ink); }
.st-stars .m-note { margin-left: 6px; }
.st-price { font-size: 25px; font-weight: 700; letter-spacing: -.015em; }
.st-sw { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 2px solid var(--r-bg); box-shadow: 0 0 0 1px var(--r-border); }
.st-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--r-text); }
.st-buy { margin-top: auto; padding-top: 6px; }
.st-ship { display: flex; align-items: center; gap: 8px; }

/* ---------- Article ---------- */
.ar { max-height: 620px; }
.ar-progress { height: 3px; background: var(--r-surface); flex: none; }
.ar-progress i { display: block; width: 0; height: 100%; background: var(--r-pop); }
.ar-tools { display: flex; align-items: center; gap: 8px; padding: 9px 18px; border-bottom: 1px solid var(--r-border); flex: none; }
.ar-tools b { font-weight: 650; }
.ar-tools .k-btn.icon { min-height: 30px; width: 34px; }
.ar-tools .k-btn { min-height: 30px; }
.ar-tools small { font-size: 10px; }
.ar-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 24px 24px; }
.ar-scroll h4 { font-size: clamp(24px, 2.6vw, 31px); line-height: 1.1; letter-spacing: -.02em; }
.ar-by { margin: 8px 0 14px; }
.ar-body { display: flex; flex-direction: column; gap: 13px; font-size: var(--ar-size, 15px); line-height: 1.62; max-width: 68ch; }
.ar-body figure { margin: 2px 0; }
.ar-body img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 7px; }
.ar-body figcaption { margin-top: 6px; font-size: 12px; color: var(--r-muted); }
.ar-q { margin: 2px 0; font-size: 1.28em; line-height: 1.32; font-weight: 650; letter-spacing: -.01em; color: var(--r-pop-ink); }

/* ---------- Dashboard and charts ---------- */
/* Legend and tooltip for the sales chart. */
.db-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; margin: 8px 0 4px; }
.db-legend span { display: inline-flex; align-items: center; gap: 6px; }
.db-legend button { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; border: 0; background: none; font-size: 12.5px !important; }
.db-legend button i { width: 10px; height: 10px; border-radius: 2px; }
.db-legend button[aria-pressed="false"] { opacity: .5; text-decoration: line-through; }
.db-tip { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; border-radius: 6px; background: var(--r-text); color: var(--r-bg); font-size: 12px; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.db-tip b { font-weight: 650; }
.sa-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sa-bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; min-height: 210px; }
.sa-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; cursor: default; }
.sa-col i { display: block; }
.sa-col i:first-child { border-radius: 4px 4px 0 0; }
.sa-axis { display: flex; gap: 6px; margin-top: -6px; }
.sa-axis span { flex: 1; text-align: center; font-size: 11px; }

/* ---------- Editor ---------- */
.ed-wrap { flex: 1; display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 0; }
.ed-tree { display: flex; flex-direction: column; gap: 2px; padding: 10px; background: var(--r-surface); border-right: 1px solid var(--r-border); }
.ed-tree .m-cap { padding: 2px 6px 7px; }
.ed-file { display: flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 7px; border: 0; border-radius: 5px; background: none; color: var(--r-muted) !important; font: 500 12px var(--font-mono) !important; text-align: left; }
.ed-file:hover { color: var(--r-text) !important; }
.ed-file[aria-pressed="true"] { background: var(--r-bg); color: var(--r-text) !important; }
.ed-main { display: flex; flex-direction: column; min-width: 0; }
.ed-tabs { display: flex; border-bottom: 1px solid var(--r-border); flex: none; }
.ed-tabs span { padding: 8px 14px; font: 500 12px var(--font-mono); border-right: 1px solid var(--r-border); box-shadow: inset 0 -2px 0 var(--r-pop); }
.ed-code { flex: 1; margin: 0; padding: 12px 0; min-height: 300px; font: 12.5px/1.65 var(--font-mono); overflow: auto; counter-reset: ln; }
.ed-code .ln { display: block; padding-right: 16px; white-space: pre; counter-increment: ln; }
.ed-code .ln::before { content: counter(ln); display: inline-block; width: 40px; margin-right: 14px; text-align: right; color: var(--r-muted); }
.ed-code .kw { color: var(--r-link); font-weight: 600; } .ed-code .st { color: var(--r-pop-ink); } .ed-code .cm { color: var(--r-muted); font-style: italic; } .ed-code .nb { color: var(--r-warn); }
.ed-term { flex: none; padding: 9px 14px; border-top: 1px solid var(--r-border); background: var(--r-surface); font-size: 12px; }
.ed-term .m-cap { margin-bottom: 5px; }
.ed-ok { display: inline-flex; align-items: center; gap: 6px; }
.ed-ok .ic { color: var(--r-ok); }
.ed-status { flex: none; display: flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 12px; background: var(--r-accent); color: var(--r-on-accent); font: 500 11.5px var(--font-mono); }

/* ---------- Inbox ---------- */
.ib-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ib-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--r-border); flex: none; }
.ib-item { display: flex; flex-direction: column; gap: 1px; width: 100%; padding: 9px 14px; border: 0; border-bottom: 1px solid var(--r-border); background: none; text-align: left; font-size: 13px !important; }
.ib-item:last-child { border-bottom: 0; }
.ib-item:hover { background: var(--r-surface); }
.ib-item[aria-pressed="true"] { background: var(--r-surface); box-shadow: inset 0 0 0 1px var(--r-accent); border-radius: 3px; }
.ib-item b { font-weight: 600; }
.ib-mark { flex: none; display: inline-flex; align-items: center; width: 14px; }
.ch-on { display: flex; align-items: center; gap: 7px; }
.ib-sub { color: var(--r-muted); font-size: 12.5px; }
.ib-read { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; font-size: 13.5px; line-height: 1.55; }
.ib-title { font-size: 16px; font-weight: 650; }
.ib-read .k-btn.icon { min-height: 32px; width: 32px; border: 0; }
.ib-att { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--r-border); border-radius: 7px; background: var(--r-surface); font-size: 13px; }
.ib-acts { margin-top: auto; padding-top: 4px; }

/* ---------- Run of show ---------- */
.rs-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.rs-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; padding: 5px 8px; border-radius: 7px; font-size: 13px; }
.rs-list li + li { margin-top: 1px; }
.rs-list b { font-weight: 550; }
.rs-list .m-mono { font-size: 12px; color: var(--r-muted); }
.rs-list .done b { color: var(--r-muted); font-weight: 400; text-decoration: line-through; }
.rs-list .done .k-tag { background: transparent; color: var(--r-muted); box-shadow: inset 0 0 0 1px var(--r-border); }
.rs-list .now { background: var(--r-surface); box-shadow: inset 0 0 0 1px var(--r-accent); }
.rs-list .now b { font-weight: 700; }
.rs .k-tag .ic { margin-right: 1px; }

/* ---------- Board ---------- */
.tk-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 1; }
.tk-col { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 8px; background: var(--r-surface); }
.tk-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; padding: 8px; border-radius: 6px; border: 1px solid var(--r-border); background: var(--r-bg); text-align: left; font-size: 12.5px !important; line-height: 1.32; }
.tk-card:hover { border-color: var(--r-accent); }

/* ---------- Calendar ---------- */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal span { font: 500 10px var(--font-mono); color: var(--r-muted); padding: 3px 0; }
.cal button { position: relative; aspect-ratio: 1; min-height: 26px; padding: 0; border: 0; border-radius: 6px; background: transparent; font-size: 12px !important; }
.cal button:hover { background: var(--r-surface); }
.cal button[aria-pressed="true"] { background: var(--r-accent); color: var(--r-on-accent) !important; font-weight: 700 !important; }
.cal button.ev::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--r-pop); }
.cal button.ev[aria-pressed="true"]::after { background: currentColor; }

/* ---------- Parts ---------- */
.kit-ctrl { gap: 14px; }
.kit-ctrl .k-seg { min-width: 200px; }
.kit-range { min-width: 150px; }
.kit-alerts { gap: 6px; }
.fm-f { gap: 4px; }
.fm-err { display: flex; align-items: center; gap: 6px; margin-top: -6px; font-size: 12.5px; color: var(--r-bad); }
.fm-end { margin-top: auto; }
.fm-notes { padding: 8px 10px; resize: vertical; line-height: 1.4; }

/* ---------- Mac app: sidebar, note list, page ---------- */
.r-mac { grid-template-columns: minmax(0, 1fr); }
.r-ld, .r-ipad { grid-template-columns: minmax(0, 1fr); }
.r-ipad { justify-items: center; padding: 18px 0 8px; }
.mac { border-radius: 12px; }
.mc-wrap { display: grid; grid-template-columns: 200px 270px minmax(0, 1fr); height: 470px; }
.mc-side { display: flex; flex-direction: column; gap: 8px; padding: 14px 10px; background: color-mix(in oklab, var(--r-surface) 82%, var(--r-accent)); border-right: 1px solid var(--r-border); }
.mc-lights { min-height: 24px; padding: 0 4px; }
.mc-side .m-cap { padding: 6px 8px 0; font-size: 10.5px; }
.mc-folders { display: flex; flex-direction: column; gap: 2px; }
.mc-folders button { display: flex; align-items: center; gap: 9px; min-height: 32px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: var(--r-text); font-size: 13px; text-align: left; }
.mc-folders button:hover { background: color-mix(in oklab, var(--r-text) 7%, transparent); }
.mc-folders button[aria-pressed="true"] { background: var(--r-accent); color: var(--r-on-accent); font-weight: 600; }
.mc-folders button .ic { color: var(--r-pop-ink); }
.mc-folders button[aria-pressed="true"] .ic { color: inherit; }
.mc-count { font-size: 12px; opacity: .7; }
.mc-list { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--r-border); background: var(--r-bg); }
.mc-tool { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px; border-bottom: 1px solid var(--r-border); flex: none; }
.mc-search { display: flex; align-items: center; gap: 7px; min-height: 32px; color: var(--r-muted); }
.mc-search input { flex: 1; min-width: 0; height: 30px; border: 0; background: none; outline: none; color: var(--r-text); font-size: 13px; }
.mc-search input::placeholder { color: var(--r-muted); }
.mc-items { flex: 1; overflow: auto; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.mc-item { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; text-align: left; color: var(--r-text); min-width: 0; }
.mc-item b { font-size: 13.5px; font-weight: 650; }
.mc-item span { font-size: 12.5px; color: var(--r-muted); }
.mc-item em { font-style: normal; color: var(--r-text); margin-right: 4px; }
.mc-item:hover { background: var(--r-surface); }
.mc-item[aria-pressed="true"] { background: color-mix(in oklab, var(--r-pop) 22%, var(--r-bg)); }
.mc-empty { padding: 12px; }
.mc-doc { display: flex; flex-direction: column; min-width: 0; background: var(--r-bg); }
.mc-page { flex: 1; overflow: auto; padding: 22px 30px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mc-page h3 { font-size: 24px; letter-spacing: -.015em; }
.mc-page p { max-width: 54ch; line-height: 1.6; }
.mc-todo { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.mc-todo li { display: flex; align-items: center; gap: 10px; }
.mc-check { flex: none; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 1.5px solid var(--r-muted); background: transparent; color: transparent; }
.mc-check[aria-pressed="true"] { background: var(--r-accent); border-color: var(--r-accent); color: var(--r-on-accent); }
.mc-check[aria-pressed="true"] + span { color: var(--r-muted); text-decoration: line-through; }

/* ---------- iPad app: landscape tablet with sidebar, list and detail ---------- */
.tablet { width: 100%; max-width: 980px; border-radius: 34px; border: 0; padding: 12px; background: #0b0c0f; box-shadow: 0 0 0 1px color-mix(in oklab, var(--r-text) 22%, #000), 0 50px 80px -34px rgba(0,0,0,.72); overflow: visible; }
.fig-ipad { width: 100%; max-width: 980px; align-items: center; }
.fig-ipad figcaption { align-self: center; }
.tb-screen { position: relative; display: flex; flex-direction: column; height: 600px; border-radius: 22px; background: var(--r-bg); overflow: hidden; }
.tb-status { display: flex; align-items: center; gap: 10px; min-height: 30px; padding: 6px 22px 0; font-size: 12.5px; flex: none; }
.tb-status .m-end { display: inline-flex; gap: 4px; align-items: center; }
.tb-wrap { flex: 1; min-height: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 320px); }
.tb-side { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 30px; background: var(--r-surface); border-right: 1px solid var(--r-border); }
.tb-brand { padding: 4px 8px 0; font: 700 18px var(--font-display, inherit); letter-spacing: .04em; color: var(--r-pop-ink); }
.tb-nav { display: flex; flex-direction: column; gap: 3px; }
.tb-nav button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--r-text); font-size: 14px; text-align: left; }
.tb-nav button .ic { color: var(--r-accent); }
.tb-nav button:hover { background: color-mix(in oklab, var(--r-text) 7%, transparent); }
.tb-nav button[aria-pressed="true"] { background: var(--r-accent); color: var(--r-on-accent); font-weight: 600; }
.tb-nav button[aria-pressed="true"] .ic { color: inherit; }
.tb-badge { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--r-pop); color: var(--r-on-pop); font-size: 11.5px; font-weight: 700; text-align: center; }
.tb-main { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--r-border); }
.tb-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px 10px; flex: none; }
.tb-head h3 { flex: 1; font-size: 24px; letter-spacing: -.015em; }
.tb-list { flex: 1; overflow: auto; padding: 4px 12px 30px; display: flex; flex-direction: column; gap: 4px; }
.tb-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--r-text); text-align: left; }
.tb-row > .m-mono { width: 44px; font-size: 12.5px; color: var(--r-muted); }
.tb-row > i { align-self: stretch; width: 4px; border-radius: 2px; background: var(--c); }
.tb-row .m-grow { display: flex; flex-direction: column; gap: 2px; }
.tb-row b { font-weight: 600; }
.tb-row .ic { color: var(--r-pop-ink); }
.tb-row:hover { background: var(--r-surface); }
.tb-row[aria-pressed="true"] { background: color-mix(in oklab, var(--r-accent) 16%, var(--r-bg)); }
.tb-empty { padding: 14px 12px; }
.tb-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tb-room { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 120px; padding: 14px; border: 1px solid var(--r-border); border-radius: 12px; background: var(--r-surface); color: var(--r-text); text-align: left; }
.tb-room:first-child { grid-column: span 2; min-height: 150px; background: color-mix(in oklab, var(--r-secondary) 30%, var(--r-surface)); }
.tb-room:hover { border-color: var(--r-accent); }
.tb-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px 30px; overflow: auto; background: color-mix(in oklab, var(--r-surface) 45%, var(--r-bg)); }
.tb-detail h3 { font-size: 22px; letter-spacing: -.015em; line-height: 1.2; }
.tb-who { margin-top: 4px; }
.tb-who > span:last-child { display: flex; flex-direction: column; }
.tb-seats { align-self: stretch; padding: 12px; border-radius: 10px; background: var(--r-surface); }
.tb-bar { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--r-bg); overflow: hidden; }
.tb-bar i { display: block; height: 100%; border-radius: 3px; background: var(--r-pop); }
.tb-detail .k-btn { align-self: stretch; margin-top: auto; }

@media (max-width: 1100px) {
  .mc-wrap { grid-template-columns: 170px 230px minmax(0, 1fr); }
  .tb-wrap { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 280px); }
}
@media (max-width: 860px) {
  .mc-wrap { grid-template-columns: minmax(0, 1fr); height: auto; }
  .mc-side { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px; border-right: 0; border-bottom: 1px solid var(--r-border); }
  .mc-side .m-cap { display: none; }
  .mc-folders { flex-direction: row; flex-wrap: wrap; }
  .mc-list { border-right: 0; border-bottom: 1px solid var(--r-border); }
  .mc-items { max-height: 210px; }
  .mc-page { padding: 18px 16px 22px; }
  .tablet { border-radius: 26px; padding: 9px; }
  .tb-screen { height: auto; border-radius: 18px; }
  .tb-wrap { grid-template-columns: minmax(0, 1fr); }
  .tb-side { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--r-border); }
  .tb-nav { flex-direction: row; flex-wrap: wrap; }
  .tb-nav button { min-height: 36px; font-size: 13px; }
  .tb-main { border-right: 0; border-bottom: 1px solid var(--r-border); }
  .tb-list { max-height: 330px; }
  .tb-detail .k-btn { margin-top: 8px; }
}

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .r-st, .r-db, .r-ed, .r-kit { grid-template-columns: minmax(0, 1fr); }
  .r-rs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-phones { flex-wrap: wrap; justify-content: center; row-gap: 34px; padding: 18px 0 40px; max-width: 620px; margin-inline: auto; }
  .r-phones > .mock-fig { flex: 0 0 280px; margin-top: 0 !important; }
  .ar { max-height: none; }
  .ar-scroll { overflow: visible; }
}
@media (max-width: 700px) {
  .r-phones { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 18px 24px 40px; scrollbar-width: none; }
  .r-phones > .mock-fig { scroll-snap-align: center; }
}
@media (max-width: 860px) {
  #mockRoot { padding-left: 16px; padding-right: 16px; }
  .r-phones { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .br-url { transform: none; }
  .ld-nav span { display: none; }
  .ld-nav, .ld-tix { padding-left: 16px; padding-right: 16px; }
  .ld-speakers { margin-left: 16px; margin-right: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-hero { display: block; min-height: 0; }
  .ld-hero > img { position: static; height: 200px; display: block; }
  .ld-hero::after { display: none; }
  .ld-copy { padding: 18px 16px 20px; max-width: none; }
  .ld-plans { grid-template-columns: minmax(0, 1fr); }
  .st-body { grid-template-columns: minmax(0, 1fr); }
  .st-art { min-height: 220px; }
  .ed-wrap { grid-template-columns: minmax(0, 1fr); }
  .ed-tree { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--r-border); }
  .ed-tree .m-cap { display: none; }
  .r-rs { grid-template-columns: minmax(0, 1fr); }
  .tk-board { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
}

/* ---------- Redesign additions: covers, streaming, fitness, home, pricing, terminal, motion ---------- */
.mu-art { background: var(--r-surface); }
.mu-cv { position: absolute; inset: 0; overflow: hidden; animation: cvIn .4s ease both; }
.mu-cv i { position: absolute; display: block; }
.mu-cv.sm { position: relative; inset: auto; flex: none; width: 26px; height: 26px; border-radius: 5px; animation: none; }
@keyframes cvIn { from { opacity: 0; transform: scale(1.06); } }
.mu-art img { filter: none; }

.sm { gap: 10px; }
.sm-top { display: flex; align-items: center; justify-content: space-between; }
.sm-logo { font-size: 17px; font-weight: 800; letter-spacing: -.03em; color: var(--r-pop-ink); }
.sm-hero { position: relative; flex: none; height: 196px; border-radius: 14px; overflow: hidden; transition: background .35s ease; }
.sm-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 38%, rgba(0,0,0,.72)); }
.sm-tags { position: absolute; top: 10px; left: 10px; z-index: 1; }
.sm-info { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; color: #fff; }
.sm-info b { display: block; font-size: 20px; letter-spacing: -.01em; }
.sm-info .m-note { color: rgba(255,255,255,.84); }
.sm-act { gap: 8px; }
.sm-row { display: flex; gap: 8px; flex: none; overflow: hidden; padding: 3px; margin: -3px; }
.sm-tile { flex: none; width: 62px; height: 88px; padding: 0; border: 0; border-radius: 8px; transition: transform .15s ease; }
.sm-tile:hover { transform: translateY(-2px); }
.sm-tile[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--r-bg), 0 0 0 4px var(--r-pop-ink); }
.sm-prog { height: 4px; border-radius: 2px; background: var(--r-tint); flex: none; overflow: hidden; margin-top: -2px; }
.sm-prog i { display: block; height: 100%; background: var(--r-accent); }

.ft { gap: 10px; }
.ft-rings { position: relative; flex: none; width: 168px; height: 168px; margin: 2px auto 0; }
.ft-rings svg { display: block; width: 100%; height: 100%; }
.ft-track { stroke: var(--r-surface); }
.ft-arc { transition: stroke .5s ease; animation: ftFill 7s ease-in-out infinite; stroke-dashoffset: var(--to); }
.ft-arc.a { stroke: var(--r-accent); } .ft-arc.b { stroke: var(--r-pop); animation-delay: .15s; } .ft-arc.c { stroke: var(--r-secondary); animation-delay: .3s; }
@keyframes ftFill { 0% { stroke-dashoffset: var(--c); } 24% { stroke-dashoffset: var(--to); } 86% { stroke-dashoffset: var(--to); } 100% { stroke-dashoffset: var(--c); } }
.ft-big { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ft-big b { font-size: 24px; font-weight: 700; line-height: 1; }
.ft-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; flex: none; }
.ft-legend div { display: flex; flex-direction: column; gap: 1px; font-size: 12px; }
.ft-legend i { width: 18px; height: 4px; border-radius: 2px; margin-bottom: 3px; }
.ft-legend .a { background: var(--r-accent); } .ft-legend .b { background: var(--r-pop); } .ft-legend .c { background: var(--r-secondary); }
.ft-legend b { font-size: 12.5px; }
.ft-week { display: flex; align-items: flex-end; gap: 6px; height: 66px; flex: none; }
.ft-week > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 10px; color: var(--r-muted); }
.ft-week i { display: block; width: 100%; height: var(--h); border-radius: 4px 4px 0 0; background: var(--r-tint); transform-origin: bottom; animation: ftBar 7s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms); }
.ft-week > div:nth-child(4) i { background: var(--r-accent); }
@keyframes ftBar { 0% { transform: scaleY(.12); } 20%, 86% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }

.hm { gap: 10px; }
.hm-dial { position: relative; flex: none; height: 112px; }
.hm-dial svg { display: block; width: 184px; margin: 0 auto; }
.hm-trk { stroke: var(--r-border); }
.hm-arc { stroke: var(--r-pop); stroke-dashoffset: 40; transition: stroke-dashoffset .35s ease; }
.hm-temp { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.hm-temp b { font-size: 32px; font-weight: 700; line-height: 1; }
.hm-minus, .hm-plus { position: absolute; bottom: 0; }
.hm-minus { left: 8px; } .hm-plus { right: 8px; }
.hm-list { display: flex; flex-direction: column; gap: 8px; }
.hm-dev { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--r-surface); font-size: 13px; }
.hm-dev b { font-weight: 600; }
.hm-ic { width: 32px; height: 32px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--r-tint); color: var(--r-on-tint); }

.pr-body { padding: 30px 26px 34px; gap: 24px; }
.pr-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.pr-head h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; }
.pr-sw { gap: 10px; font-size: 13px; margin-top: 6px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pr-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 12px; border: 1px solid var(--r-border); background: var(--r-surface); }
.pr-card.hot { border-color: var(--r-accent); box-shadow: 0 0 0 1px var(--r-accent), 0 22px 44px -26px var(--r-accent); }
.pr-pop { position: absolute; top: -11px; right: 16px; }
.pr-price { display: flex; align-items: baseline; gap: 6px; }
.pr-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; font-size: 13px; }
.pr-card li { display: flex; gap: 8px; align-items: center; }
.pr-card li svg { color: var(--r-ok); flex: none; }
@media (max-width: 700px) { .pr-grid { grid-template-columns: minmax(0, 1fr); } }

.tm { background: var(--r-bg); }
.tm-log { flex: 1; min-height: 230px; padding: 16px 18px; font-size: 12.5px; line-height: 1.8; white-space: pre-wrap; overflow: hidden; }
.tm-c { color: var(--r-text); } .tm-m { color: var(--r-muted); } .tm-ok { color: var(--r-ok); } .tm-warn { color: var(--r-warn); } .tm-bad { color: var(--r-bad); }
.tm-log > div:last-child::after { content: ''; display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px; background: var(--r-text); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.mo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--r-border); }
.mo-tile { display: flex; flex-direction: column; gap: 12px; padding: 18px; min-height: 156px; background: var(--r-bg); }
.mo-tile.wide { grid-column: span 2; }
.mo-skel { display: flex; align-items: center; gap: 10px; }
.mo-skel > div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.mo-skel i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, color-mix(in oklab, var(--r-text) 9%, var(--r-bg)) 25%, color-mix(in oklab, var(--r-text) 20%, var(--r-bg)) 50%, color-mix(in oklab, var(--r-text) 9%, var(--r-bg)) 75%); background-size: 220% 100%; animation: shimmer 1.5s linear infinite; }
.mo-skel i.s { width: 58%; } .mo-skel i.av { flex: none; width: 34px; height: 34px; border-radius: 50%; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.mo-bar { height: 8px; border-radius: 4px; overflow: hidden; background: var(--r-surface); box-shadow: inset 0 0 0 1px var(--r-border); }
.mo-bar i { display: block; height: 100%; background: var(--r-accent); animation: moBar 3.4s ease-in-out infinite; }
.mo-bar.b i { background: var(--r-pop); animation-delay: -1.4s; animation-duration: 2.6s; }
@keyframes moBar { 0% { width: 4%; } 72%, 100% { width: 100%; } }
.mo-spin i { display: block; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--r-tint); border-top-color: var(--r-accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mo-toasts { position: relative; height: 70px; overflow: hidden; }
.mo-toasts .k-alert { position: absolute; left: 0; right: 0; top: 6px; opacity: 0; animation: moToast 6s ease infinite; }
.mo-toasts .t2 { animation-delay: 2s; } .mo-toasts .t3 { animation-delay: 4s; }
@keyframes moToast { 0% { opacity: 0; transform: translateY(18px); } 7%, 28% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-14px); } }
.mo-check { width: 62px; height: 62px; }
.mo-check circle { stroke: var(--r-ok); stroke-dasharray: 145; animation: moDraw 4.5s ease infinite; }
.mo-check path { stroke: var(--r-ok); stroke-dasharray: 36; animation: moDraw2 4.5s ease infinite; }
@keyframes moDraw { 0% { stroke-dashoffset: 145; } 28%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 145; } }
@keyframes moDraw2 { 0%, 22% { stroke-dashoffset: 36; } 40%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 36; } }
.mo-line { width: 100%; height: 84px; }
.mo-line .ln { stroke: var(--r-accent); stroke-dasharray: 420; animation: moLine 6s ease-in-out infinite; }
.mo-line .fill { fill: var(--r-accent); opacity: .14; animation: moFill 6s ease-in-out infinite; }
@keyframes moLine { 0% { stroke-dashoffset: 420; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 420; } }
@keyframes moFill { 0%, 30% { opacity: 0; } 55%, 90% { opacity: .14; } 100% { opacity: 0; } }
.mo-bell { display: grid; place-items: center; height: 70px; }
.mo-bell .k-badge { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--r-surface); color: var(--r-text); box-shadow: inset 0 0 0 1px var(--r-border); animation: ringBell 3.2s ease-in-out infinite; transform-origin: 50% 20%; }
.mo-ping { position: absolute; top: 5px; right: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--r-bad); }
.mo-ping::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--r-bad); animation: ping 1.6s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes ringBell { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(14deg); } 70% { transform: rotate(-12deg); } 76% { transform: rotate(8deg); } 82% { transform: rotate(-4deg); } }
@media (max-width: 700px) { .mo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .mo-tile.wide { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) {
  .ft-arc, .ft-week i, .mo-skel i, .mo-bar i, .mo-spin i, .mo-toasts .k-alert, .mo-check circle, .mo-check path, .mo-line .ln, .mo-line .fill, .mo-bell .k-badge, .mo-ping::after { animation: none !important; }
  .mo-bar i { width: 70%; } .mo-toasts .t1 { opacity: 1; } .mo-check circle, .mo-check path, .mo-line .ln { stroke-dashoffset: 0; } .mo-line .fill { opacity: .14; }
}
