/* ch-close (round 3): ryze (14), claude (30), week (37), close (38). Every selector starts with a cc- class.
 * The ryze scene is styled by /deck/ryze.css (the shared hero); nothing here touches its rz- classes. */

/* ---------- shared within this chapter ---------- */
.cc-scene .mx-src, .cc-scene .mx-tag { font-size: 14.5px; }
.cc-scene .cc-stack { display: grid; min-width: 0; }
.cc-scene .cc-stack > * { grid-area: 1 / 1; min-width: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cc-scene .cc-stack > .cc-on { opacity: 1; transform: none; }
.cc-scene .cc-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* labels pinned to 3D points (placed every frame; visibility comes from placeAll) */
.cc-scene .cc-lab { z-index: 3; display: grid; gap: 1px; padding: 6px 11px 7px; border-radius: 6px; background: rgb(6 6 8 / .74); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 10px 24px -14px rgb(0 0 0 / .9);
  color: #fff; opacity: 0; transition: opacity .55s var(--ease); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cc-scene .cc-lab.cc-on { opacity: 1; }
.cc-scene .cc-lab__d { font-size: 14.5px; line-height: 1.25; font-weight: 500; color: var(--c); }
.cc-scene .cc-lab__t { font-size: 15.5px; line-height: 1.28; font-weight: 500; letter-spacing: -.005em; }
.cc-scene .cc-lab--day { padding: 1px 6px; background: rgb(6 6 8 / .55); box-shadow: none; font-size: 14px; line-height: 1.2; font-weight: 500; color: var(--c); white-space: nowrap; }
.cc-scene.cc-wk--phone .cc-lab:not(.cc-lab--day) .cc-lab__d { display: none; }
.cc-scene .cc-lab--aqua { --c: #9CE7DD; }
.cc-scene .cc-lab--orange { --c: #FFA066; }
.theme-night.cc-scene .mx-note { color: rgb(255 255 255 / .8); }

/* ================= 30 claude: Claude desktop mock ================= */
.cc-cl.mx.mx--split { grid-template-columns: minmax(0, .3fr) minmax(0, .7fr); }
.cc-cl.mx .mx-side { align-self: start; gap: 16px; max-width: 23em; }
.cc-cl .cc-cl__chips:not(:has(.cc-on)) { display: none; }
.cc-cl .cc-cl__chips { justify-items: start; min-height: 28px; }
.cc-cl .cc-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 1.3; font-weight: 500; color: #1f1e1d;
  text-decoration: underline; text-decoration-color: #FF7F32; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cc-cl .cc-link:hover { color: #C4520F; }
/* the big glowing mark at the top of the side column, and the small one in the link (short frames) */
.cc-cl .cc-cl__hero { --hs: clamp(72px, 15vh, 156px); justify-self: start; width: var(--hs); height: var(--hs); margin: calc(var(--hs) * .3) 0 0 calc(var(--hs) * .25); }
.cc-cl .cc-cl__hero { position: relative; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #2a2826, #121110 70%); box-shadow: 0 0 0 1px rgb(255 127 50 / .25), 0 18px 40px -16px rgb(255 110 30 / .7), 0 0 60px -10px rgb(255 127 50 / .55); }
.cc-cl .cc-cl__hero .rz-mark { display: block; }
.cc-cl .cc-link__mk { display: none; place-items: center; width: 30px; height: 30px; margin: 0 8px 0 0; border-radius: 50%; background: #161514; box-shadow: 0 0 14px -2px rgb(255 127 50 / .7); }
.cc-cl .cc-link > span:nth-child(2) { white-space: nowrap; }
@media (max-height: 459px), (max-width: 759px) and (orientation: portrait) {
  .cc-cl .cc-cl__hero { display: none; }
  .cc-cl .cc-link__mk { display: grid; }
}
@media (max-height: 459px) {
  .cc-cl.mx .mx-side { gap: 6px; }
  .cc-cl .cc-stack > :not(.cc-on) { display: none; }
  .cc-cl .cc-cl__chips:not(:has(.cc-on)) { display: none; }
}
.cc-cl .cc-link__ar { display: grid; width: 15px; height: 15px; color: #FF7F32; }
.cc-cl .cc-link__ar svg { width: 15px; height: 15px; }
.cc-cl.mx .mx-vis { min-height: 0; }
.cc-cl .cc-cl__wrap { position: absolute; inset: 0; display: grid; place-items: center; }

.cc-cl .cc-bar { display: block; flex: none; width: var(--w, 60%); height: 7px; border-radius: 4px; background: #E2DED4; }
.cc-cl .cc-bar--d { background: #CFCABE; }
.cc-cl .cc-ic { display: grid; place-items: center; flex: none; width: 18px; height: 18px; }
.cc-cl .cc-ic svg { width: 100%; height: 100%; }
.cc-cl .cc-cl__logo { display: block; flex: none; }

/* the window */
.cc-cl .cc-cl__win { --pad: 26px; --gap: 14px; --rh: 40px; position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; max-width: 1000px; max-height: 660px;
  border-radius: 12px; overflow: hidden; background: #FAF9F5; color: #1f1e1d; font-size: 15px; line-height: 1.45;
  box-shadow: 0 0 0 1px #E3E0D6, 0 2px 4px rgb(31 30 29 / .04), 0 30px 60px -32px rgb(31 30 29 / .3); }
.cc-cl .cc-cl__top { flex: none; display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; background: #F0EEE6; box-shadow: inset 0 -1px 0 #E3E0D6; }
.cc-cl .cc-cl__dots { display: flex; gap: 6px; }
.cc-cl .cc-cl__dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: #DDD9CE; }
.cc-cl .cc-cl__top .cc-bar { margin: 0 auto; transform: translateX(-30px); }
.cc-cl .cc-cl__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.cc-cl .cc-cl__nav { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px 12px; background: #F3F1EA; box-shadow: inset -1px 0 0 #E6E3DA; color: #77756f; overflow: hidden; }
.cc-cl .cc-cl__navtop { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 4px; }
.cc-cl .cc-cl__navnew, .cc-cl .cc-cl__navit { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 4px; }
.cc-cl .cc-cl__newb { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #D97757; color: #fff; }
.cc-cl .cc-cl__newb svg { width: 13px; height: 13px; }
.cc-cl .cc-cl__navlist { display: grid; gap: 14px; padding: 12px 4px 0; }
.cc-cl .cc-cl__navme { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 0 4px; }
.cc-cl .cc-cl__av { display: block; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #3A3936; }
.cc-cl .cc-cl__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.cc-cl .cc-cl__set, .cc-cl .cc-cl__chat { position: absolute; inset: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
.cc-cl .cc-cl__win[data-view="set"] .cc-cl__chat, .cc-cl .cc-cl__win[data-view="chat"] .cc-cl__set { opacity: 0; visibility: hidden; }
.cc-cl .cc-cl__win[data-view="set"] .cc-cl__set, .cc-cl .cc-cl__win[data-view="chat"] .cc-cl__chat { transition: opacity .5s var(--ease) .1s, visibility 0s; }

/* settings → connectors */
.cc-cl .cc-cl__set { display: flex; flex-direction: column; gap: var(--gap); padding: calc(var(--pad) - 4px) var(--pad); overflow: hidden; }
.cc-cl .cc-cl__crumb { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; line-height: 1.3; color: #6b6a66; }
.cc-cl .cc-cl__crumb .cc-ic { width: 15px; height: 15px; color: #A9A69E; }
.cc-cl .cc-cl__crumb b { font-weight: 500; color: #1f1e1d; }
.cc-cl .cc-cl__setgrid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; min-height: 0; }
.cc-cl .cc-cl__setnav { display: grid; align-content: start; gap: 4px; }
.cc-cl .cc-cl__setnav span { display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 8px; }
.cc-cl .cc-cl__setnav span.is-cur { background: #ECE9E0; }
.cc-cl .cc-cl__setnav span.is-cur .cc-bar { background: #A9A69E; }
.cc-cl .cc-cl__list { display: grid; align-content: start; gap: 8px; min-width: 0; }
.cc-cl .cc-cl__lh { display: grid; gap: 8px; padding: 2px 2px 6px; }
.cc-cl .cc-cl__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #E8E5DC; }
.cc-cl .cc-cl__tile { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--t, #EEE); color: #77756f; }
.cc-cl .cc-cl__rt { display: grid; gap: 6px; min-width: 0; }
.cc-cl .cc-cl__rn { font-size: 15px; line-height: 1.25; font-weight: 500; }
.cc-cl .cc-cl__url { font-size: 14px; line-height: 1.3; color: #6b6a66; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cc-cl .cc-cl__rend { display: grid; justify-items: end; align-items: center; }
.cc-cl .cc-cl__rend > * { grid-area: 1 / 1; }
.cc-cl .cc-cl__tog { position: relative; display: block; width: 34px; height: 20px; border-radius: 10px; background: #DAD6CB; transition: background .35s var(--ease); }
.cc-cl .cc-cl__tog i { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: transform .35s var(--ease); }
.cc-cl .cc-cl__tog--on, .cc-cl .cc-cl__tog.cc-on { background: #D97757; }
.cc-cl .cc-cl__tog--on i, .cc-cl .cc-cl__tog.cc-on i { transform: translateX(14px); }
.cc-cl .cc-cl__rend .cc-cl__tog:not(.cc-cl__tog--on) { opacity: 0; transition: opacity .3s, background .35s var(--ease); }
.cc-cl .cc-cl__rend .cc-cl__tog.cc-on { opacity: 1; }
/* the Ryze row: it slides in under the others; its mark is dark until the connection is allowed */
.cc-cl .cc-cl__row--ryze { max-height: 0; padding-block: 0; opacity: 0; overflow: hidden; margin-top: -8px; transition: max-height .5s var(--ease), padding .5s var(--ease), margin .5s var(--ease), opacity .4s var(--ease); }
.cc-cl .cc-cl__row--ryze.cc-on, .cc-cl .cc-measure .cc-cl__row--ryze { max-height: 120px; padding-block: 9px; margin-top: 0; opacity: 1; overflow: visible; }
.cc-cl .cc-cl__tile--ryze { background: #1F1E1D; isolation: isolate; }
.cc-cl .cc-cl__tile--ryze .rz-mark { filter: grayscale(1) brightness(.55); opacity: .55; transition: filter .6s var(--ease), opacity .6s var(--ease); }
.cc-cl .cc-cl__tile--ryze.cc-on .rz-mark { filter: none; opacity: 1; }
.cc-cl .cc-cl__tile--ryze.cc-on { animation: cc-flare 1.6s var(--ease) forwards; }
@keyframes cc-flare { 0% { box-shadow: 0 0 0 0 rgb(255 127 50 / 0); } 25% { box-shadow: 0 0 26px 10px rgb(255 140 70 / .75); } 100% { box-shadow: 0 0 16px 3px rgb(255 127 50 / .5); } }
.cc-cl .cc-cl__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: transform .15s, filter .15s, opacity .3s; }
.cc-cl .cc-cl__btn--line { box-shadow: inset 0 0 0 1px #D5D1C6; background: #fff; color: #1f1e1d; }
.cc-cl .cc-cl__rend .cc-cl__btn--line { opacity: 0; }
.cc-cl .cc-cl__rend .cc-cl__btn--line.cc-on { opacity: 1; }
.cc-cl .cc-cl__btn--dark { background: #1F1E1D; color: #fff; }
.cc-cl .cc-cl__btn--ghost { box-shadow: inset 0 0 0 1px #E3E0D6; }
.cc-cl .cc-cl__btn--ryze { background: #FF7F32; color: #fff; box-shadow: 0 6px 16px -8px rgb(255 127 50 / .9); }
.cc-cl .cc-press { transform: translateY(1px); filter: brightness(.86); box-shadow: inset 0 0 0 2px rgb(0 0 0 / .12); }
.cc-cl .cc-cl__add { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #D5D1C6; background: #fff;
  font-size: 14.5px; font-weight: 500; transition: opacity .3s var(--ease), transform .15s, filter .15s; }
.cc-cl .cc-cl__add:not(.cc-on) { opacity: 0; }
.cc-cl .cc-cl__add .cc-ic { width: 15px; height: 15px; }
.cc-cl .cc-cl__set > .cc-cl__setgrid { transition: opacity .3s var(--ease) .24s, filter .3s var(--ease) .24s; }
.cc-cl .cc-cl__set.cc-modal > .cc-cl__setgrid { opacity: .04; filter: blur(2px); transition: opacity .1s linear, filter .1s linear; }
.cc-cl .cc-cl__dim { position: absolute; inset: var(--crumb-b, 0px) 0 0 0; background: rgb(31 30 29 / .22); opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.cc-cl .cc-cl__dim.cc-on { opacity: 1; transition: opacity .35s var(--ease) .12s; }
/* the dialog and the sign-in sheet */
.cc-cl .cc-cl__dlg, .cc-cl .cc-cl__sheet { position: absolute; left: 50%; top: calc(50% + var(--crumb-b, 0px) / 2); z-index: 2; box-sizing: border-box; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #E3E0D6, 0 24px 50px -20px rgb(31 30 29 / .45);
  opacity: 0; transform: translate(-50%, -46%) scale(.96); transition: opacity .2s var(--ease), transform .3s var(--ease); }
.cc-cl .cc-cl__dlg.cc-on, .cc-cl .cc-cl__sheet.cc-on { opacity: 1; transform: translate(-50%, -50%); transition: opacity .35s var(--ease) .12s, transform .45s var(--ease) .12s; }
.cc-cl .cc-cl__dlg { display: grid; gap: 12px; width: min(420px, calc(100% - 28px)); padding: 18px 20px; }
.cc-cl .cc-cl__dt { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 500; }
.cc-cl .cc-cl__fld { display: grid; gap: 5px; }
.cc-cl .cc-cl__fl { font-size: 14px; line-height: 1.2; color: #6b6a66; }
.cc-cl .cc-cl__in { display: flex; align-items: center; min-width: 0; min-height: 36px; padding: 0 11px; border-radius: 8px; box-shadow: inset 0 0 0 1px #DAD6CB; font-size: 14.5px; }
.cc-cl .cc-cl__val { min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cc-cl .cc-cl__acts { display: flex; justify-content: flex-end; gap: 8px; }
.cc-cl .cc-cl__sheet { width: min(330px, calc(100% - 28px)); overflow: hidden; transform: translate(-50%, -38%); }
.cc-cl .cc-cl__shbar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; background: #F4F3EF; box-shadow: inset 0 -1px 0 #E8E5DC; }
.cc-cl .cc-cl__shbar .cc-cl__dots i { width: 8px; height: 8px; }
.cc-cl .cc-cl__addr { flex: 1; display: flex; align-items: center; height: 18px; padding: 0 8px; border-radius: 9px; background: #fff; }
.cc-cl .cc-cl__shbody { display: grid; gap: 12px; padding: 16px 18px 16px; }
.cc-cl .cc-cl__shhead { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cc-cl .cc-cl__shplug { width: 16px; height: 16px; color: #A9A69E; }
.cc-cl .cc-cl__shtext { display: grid; justify-items: center; gap: 7px; }
.cc-cl .cc-cl__ws { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px #FF7F32; background: #FFF6EF; }
.cc-cl .cc-cl__wsav { display: block; flex: none; width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(135deg, #FFB27A, #FF7F32); }
.cc-cl .cc-cl__wsck { display: grid; margin-left: auto; color: #FF7F32; }

/* chat */
.cc-cl .cc-cl__chat { display: flex; flex-direction: column; padding: calc(var(--pad) - 6px) var(--pad) calc(var(--pad) - 10px); }
.cc-cl .cc-cl__view { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.cc-cl .cc-cl__hello { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; opacity: 0; transition: opacity .4s var(--ease); }
.cc-cl .cc-cl__win.cc-empty .cc-cl__hello { opacity: 1; }
.cc-cl .cc-cl__hello .cc-bar { width: 160px; height: 10px; }
.cc-cl .cc-cl__thread { position: relative; display: flex; flex-direction: column; transition: transform .6s var(--ease-io); will-change: transform; }
.cc-cl .cc-cl__thread.cc-instant { transition: none; }
.cc-cl .cc-cl__g { display: flex; flex-direction: column; gap: var(--gap); }
.cc-cl .cc-cl__g + .cc-cl__g { margin-top: 48px; }
.cc-cl .cc-cl__it { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.cc-cl .cc-cl__it.cc-on { opacity: 1; transform: none; }
.cc-cl .cc-cl__it.cc-gone { opacity: 0; transform: none; }
.cc-cl .cc-cl__you { align-self: flex-end; max-width: 80%; padding: 10px 15px; border-radius: 14px; background: #EFECE3; font-size: 15.5px; line-height: 1.42; }
.cc-cl .cc-cl__tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 12px 0 9px; border-radius: 9px; background: #F4F2EC; box-shadow: inset 0 0 0 1px #E6E3DA; }
.cc-cl .cc-cl__tn { font-size: 14.5px; font-weight: 500; }
.cc-cl .cc-cl__tst { position: relative; display: grid; width: 16px; height: 16px; color: #A9A69E; }
.cc-cl .cc-cl__tst > span { grid-area: 1 / 1; display: grid; transition: opacity .3s; }
.cc-cl .cc-cl__tst svg { width: 16px; height: 16px; }
.cc-cl .cc-cl__tspin { animation: cc-spin .9s linear infinite; }
.cc-cl .cc-cl__tok { opacity: 0; color: #4E9A63; }
.cc-cl .cc-done .cc-cl__tspin { opacity: 0; }
.cc-cl .cc-done .cc-cl__tok { opacity: 1; }
@keyframes cc-spin { to { transform: rotate(360deg); } }
.cc-cl .cc-cl__lead { display: flex; align-items: center; gap: 10px; }
.cc-cl .cc-cl__spark { display: grid; flex: none; width: 20px; }
.cc-cl .cc-cl__lines { flex: 1; display: grid; gap: 8px; }
.cc-cl .cc-cl__card { margin-left: 30px; display: grid; gap: 4px; padding: 8px 12px 10px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #E6E3DA; }
.cc-cl .cc-cl__tr { display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(110px, 160px) 72px; align-items: center; gap: 12px; min-height: var(--rh); padding: 0 8px; border-radius: 6px;
  transition: opacity .45s var(--ease), background .5s, box-shadow .5s; }
.cc-cl .cc-cl__tr:not(.cc-cl__tr--head) { opacity: 0; }
.cc-cl .cc-cl__tr.cc-on { opacity: 1; }
.cc-cl .cc-cl__tr--head { min-height: 30px; }
.cc-cl .cc-cl__exw { grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc-cl .cc-cl__hchip { display: none; align-items: center; gap: 7px; height: 26px; padding: 0 9px 0 6px; border-radius: 7px; background: #F4F2EC; box-shadow: inset 0 0 0 1px #E6E3DA; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.cc-cl .cc-cl__pfl { display: flex; align-items: center; gap: 10px; }
.cc-cl .cc-cl__pmark { display: none; }
.cc-cl .cc-cl__ex { height: 24px; }
.cc-cl .cc-cl__colh { font-size: 14px; line-height: 1.2; font-weight: 500; color: #6b6a66; white-space: nowrap; }
.cc-cl .cc-cl__sph .cc-bar { height: 6px; }
.cc-cl .cc-cl__th { position: relative; width: 30px; height: 30px; border-radius: 5px; overflow: hidden; background: #ddd; }
.cc-cl .cc-cl__th canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cc-cl .cc-cl__nm { display: grid; gap: 6px; }
.cc-cl .cc-cl__seen { display: flex; align-items: center; gap: 10px; }
.cc-cl .cc-cl__meter { position: relative; flex: 1; height: 8px; border-radius: 4px; background: #EEEBE3; overflow: hidden; }
.cc-cl .cc-cl__meter i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 4px; background: #B9B5AB; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease) .15s; }
.cc-cl .cc-cl__tr.cc-on .cc-cl__meter i { transform: none; }
.cc-cl .cc-cl__seen b { min-width: 2em; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cc-cl .cc-cl__sp svg { display: block; width: 100%; height: 24px; overflow: visible; }
.cc-cl .cc-cl__sp polyline { stroke: #A9A69E; }
.cc-cl .cc-cl__tr--hot.cc-on { background: rgb(255 127 50 / .08); box-shadow: inset 3px 0 0 #FF7F32; }
.cc-cl .cc-cl__tr--hot .cc-cl__meter i { background: #FF7F32; }
.cc-cl .cc-cl__tr--hot .cc-cl__sp polyline { stroke: #E0662A; }
.cc-cl .cc-cl__refresh { margin: 0 0 0 30px; font-size: 16px; line-height: 1.35; font-weight: 500; }
.cc-cl .cc-cl__plan { gap: 10px; padding: 12px 14px; }
.cc-cl .cc-cl__pr { display: grid; grid-template-columns: minmax(92px, 120px) minmax(0, 1fr) 54px; align-items: center; gap: 14px; }
.cc-cl .cc-cl__pn { font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.cc-cl .cc-cl__budget { position: relative; height: 14px; border-radius: 7px; background: #EEEBE3; }
.cc-cl .cc-cl__bfill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--a) * 100%); border-radius: 7px; background: #B9B5AB; transition: width 1.1s var(--ease); }
.cc-cl .cc-cl__bplan { position: absolute; top: 0; bottom: 0; border-radius: 0 7px 7px 0; transition: opacity .6s var(--ease); }
.cc-cl .cc-cl__pr--dn .cc-cl__bplan { left: calc(var(--b) * 100%); width: calc((var(--a) - var(--b)) * 100%); background: repeating-linear-gradient(135deg, rgb(199 149 134 / .9) 0 3px, rgb(199 149 134 / .25) 3px 6px); }
.cc-cl .cc-cl__pr--up .cc-cl__bplan { left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); box-shadow: inset 0 0 0 1.5px #FF7F32; background: rgb(255 127 50 / .12); }
.cc-cl .cc-cl__pr--up .cc-cl__bfill { background: #FF7F32; }
.cc-cl .cc-approved .cc-cl__bfill { width: calc(var(--b) * 100%); }
.cc-cl .cc-approved .cc-cl__bplan { opacity: 0; }
.cc-cl .cc-cl__pd { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.cc-cl .cc-cl__pr--dn .cc-cl__pd { color: #85503F; }
.cc-cl .cc-cl__pr--up .cc-cl__pd { color: #C4520F; }
.cc-cl .cc-cl__pf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 2px; }
.cc-cl .cc-cl__approve { height: 34px; padding: 0 16px; }
.cc-cl .cc-cl__apck { display: grid; width: 0; overflow: hidden; transition: width .35s var(--ease); }
.cc-cl .cc-approved .cc-cl__apck { width: 14px; }
.cc-cl .cc-approved .cc-cl__approve { background: #D96420; }
/* composer */
.cc-cl .cc-cl__input { flex: none; margin-top: 14px; padding: 12px 12px 10px 15px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #E3E0D6, 0 8px 22px -14px rgb(0 0 0 / .2); }
.cc-cl .cc-cl__field { position: relative; min-height: 24px; font-size: 15.5px; line-height: 1.45; }
.cc-cl .cc-cl__ph { position: absolute; left: 0; top: 8px; width: 100%; display: block; transition: opacity .2s; }
.cc-cl .cc-has .cc-cl__ph { opacity: 0; }
.cc-cl .cc-cl__tools { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #6b6a66; }
.cc-cl .cc-cl__tb { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1px #E3E0D6; }
.cc-cl .cc-cl__tb svg { width: 15px; height: 15px; }
.cc-cl .cc-cl__tbmark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #FFF3EA; box-shadow: inset 0 0 0 1px #FFD9BF; }
.cc-cl .cc-cl__model { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cc-cl .cc-cl__model .cc-ic { width: 14px; height: 14px; }
.cc-cl .cc-cl__send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #D97757; color: #fff; }
.cc-cl .cc-cl__send svg { width: 15px; height: 15px; }

/* widths of the window */
.cc-cl .cc-cl__win:is([data-w="l"], [data-w="m"]) .cc-cl__body { grid-template-columns: 52px minmax(0, 1fr); }
.cc-cl .cc-cl__win:is([data-w="l"], [data-w="m"]) .cc-cl__nav { align-items: center; padding: 12px 0; }
.cc-cl .cc-cl__win:is([data-w="l"], [data-w="m"]) .cc-cl__nav .cc-bar,
.cc-cl .cc-cl__win:is([data-w="l"], [data-w="m"]) .cc-cl__navlist,
.cc-cl .cc-cl__win:is([data-w="l"], [data-w="m"]) .cc-cl__navlogo { display: none; }
.cc-cl .cc-cl__win:not([data-w="xl"]) .cc-cl__setgrid { grid-template-columns: minmax(0, 1fr); }
.cc-cl .cc-cl__win:not([data-w="xl"]) .cc-cl__setnav { display: none; }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__body { grid-template-columns: minmax(0, 1fr); }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__nav { display: none; }
.cc-cl .cc-cl__win[data-w="s"] { --pad: 16px; }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__tr { grid-template-columns: 26px minmax(0, 1fr) minmax(86px, 120px) 44px; gap: 8px; padding: 0 6px; }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__th { width: 26px; height: 26px; }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__card { margin-left: 0; padding: 6px 8px 8px; }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__refresh { margin-left: 0; }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__you { max-width: 92%; }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__pr { grid-template-columns: auto minmax(0, 1fr) 50px; gap: 10px; }
.cc-cl .cc-cl__win[data-w="s"] .cc-cl__seen { gap: 6px; }
.cc-cl .cc-cl__win:is([data-w="s"], [data-w="m"]) .cc-cl__model { display: none; }
.cc-cl .cc-cl__win:is([data-w="s"], [data-w="m"]) .cc-cl__send { margin-left: auto; }

/* densities: the richest chrome that fits (fit() in ch-close.js picks it) */
.cc-cl .cc-cl__win[data-d="1"] { --pad: 20px; --gap: 11px; --rh: 36px; }
.cc-cl .cc-cl__win:is([data-d="1"], [data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__top { display: none; }
.cc-cl .cc-cl__win:is([data-d="1"], [data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__lh { display: none; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) { --pad: 14px; --gap: 8px; --rh: 32px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__you { padding: 7px 12px; font-size: 15px; line-height: 1.38; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__input { margin-top: 8px; padding: 7px 8px 7px 12px; border-radius: 12px; display: flex; align-items: center; gap: 8px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__field { flex: 1; min-width: 0; font-size: 15px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__ph { top: 9px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__tools { margin-top: 0; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) :is(.cc-cl__tb, .cc-cl__model) { display: none; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) :is(.cc-cl__tbmark, .cc-cl__send) { width: 28px; height: 28px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__crumb { font-size: 16px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__row { padding: 6px 10px; gap: 10px; grid-template-columns: 30px minmax(0, 1fr) auto; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__row--ryze.cc-on,
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]).cc-measure .cc-cl__row--ryze { padding-block: 6px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__tile { width: 30px; height: 30px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__dlg { gap: 8px; padding: 12px 14px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__fld { grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 8px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__in { min-height: 32px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__btn { height: 30px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__shbody { gap: 9px; padding: 11px 14px 12px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__ws { height: 32px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__card { padding: 5px 10px 7px; gap: 2px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__plan { gap: 7px; padding: 8px 12px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__tool { height: 30px; }
.cc-cl .cc-cl__win:is([data-d="2"], [data-d="3"], [data-d="4"]) .cc-cl__g + .cc-cl__g { margin-top: 32px; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) { --gap: 6px; --rh: 29px; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__lead { display: none; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__list > .cc-cl__row:nth-child(2) { display: none; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__shtext .cc-bar:nth-child(2) { display: none; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__tr--head { min-height: 26px; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__th { width: 24px; height: 24px; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__ex { height: 22px; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__refresh { font-size: 15px; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__g > .cc-cl__tool { display: none; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__hchip { display: inline-flex; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__pmark { display: grid; }
.cc-cl .cc-cl__win[data-d="4"] { --pad: 10px; --rh: 24px; }
.cc-cl .cc-cl__win[data-d="4"] .cc-sent .cc-cl__input { display: none; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__nm { display: none; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__tr { grid-template-columns: 22px minmax(70px, 1fr) 44px; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__th { width: 22px; height: 22px; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__tr--head { display: flex; justify-content: space-between; gap: 10px; }
.cc-cl .cc-cl__win:is([data-d="3"], [data-d="4"]) .cc-cl__sph { display: none; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__dlg { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t a" "n n" "u u"; align-items: center; gap: 6px 10px; padding: 10px 12px; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__dt { grid-area: t; font-size: 15.5px; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__acts { grid-area: a; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__acts .cc-cl__btn--ghost { display: none; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__fld--n { grid-area: n; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__fld--u { grid-area: u; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__in { min-height: 30px; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__list > .cc-cl__row:nth-child(3) { display: none; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__shhead { display: none; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__tool { height: 28px; }
.cc-cl .cc-cl__win[data-d="4"] .cc-cl__you { padding: 5px 10px; }

/* ================= 37 week: the stepping stones ================= */
.cc-wk .cc-scrim { background: linear-gradient(180deg, rgb(5 5 6 / .85) 0, rgb(5 5 6 / .55) 22%, rgb(5 5 6 / 0) 40%); }
.cc-wk__in.mx.mx--full .mx-side { max-width: 34em; }
.cc-scene.cc-wk--low .mx-note { font-size: 14px; line-height: 1.28; }
.cc-wk .cc-lab { white-space: nowrap; }
.cc-scene.cc-wk--tight .cc-lab { white-space: normal; padding: 4px 8px 5px; }
.cc-scene.cc-wk--tight.cc-wk--small .cc-lab { padding: 3px 7px 4px; }
.cc-scene.cc-wk--tight.cc-wk--small .cc-lab__d, .cc-scene.cc-wk--tight.cc-wk--small .cc-lab__t { font-size: 14px; line-height: 1.14; }
.cc-scene.cc-wk--tight .cc-lab__d { font-size: 14px; line-height: 1.2; }
.cc-scene.cc-wk--tight .cc-lab__t { font-size: 14.5px; line-height: 1.22; }
.cc-scene.cc-wk--tight.cc-wk--low .cc-lab { padding: 3px 2px 4px; text-align: center; }
.cc-scene.cc-wk--tight.cc-wk--low .cc-lab__d, .cc-scene.cc-wk--tight.cc-wk--low .cc-lab__t { font-size: 14px; line-height: 1.14; }

/* ================= 38 close: the weekly gears ================= */
.cc-gr .cc-scrim { background: linear-gradient(180deg, rgb(5 5 6 / .85) 0, rgb(5 5 6 / .55) 22%, rgb(5 5 6 / 0) 40%); }
.cc-gr__in.mx.mx--full .mx-side { max-width: 34em; }
.cc-scene .cc-lab--gear { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px; font-size: 16px; line-height: 1.25; font-weight: 500; white-space: nowrap; }
.cc-scene .cc-lab--gear::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.cc-scene .cc-lab--g0 { --c: #FF7F32; }
.cc-scene .cc-lab--g1 { --c: #9CE7DD; }
.cc-scene .cc-lab--g2 { --c: #CDBDEB; }

/* ---------- compact: landscape below 960 x 620 ---------- */
@media (orientation: landscape) and (max-width: 959px), (orientation: landscape) and (max-height: 619px) {
  .cc-cl.mx.mx--split { grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); }
  .cc-cl.mx .mx-side { gap: 10px; }
  .cc-cl .cc-link { font-size: 15px; }
  .cc-scene .cc-lab { padding: 5px 9px 6px; }
  .cc-scene .cc-lab__t { font-size: 15px; }
  .cc-scene .cc-lab--gear { font-size: 15px; }
  .cc-wk__in.mx.mx--full .mx-side { max-width: none; }
}

/* ---------- phone: portrait and narrower than 760 ---------- */
@media (max-width: 759px) and (orientation: portrait) {
  .cc-cl.mx.mx--split { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .cc-cl.mx .mx-side { gap: 8px; max-width: none; }
  .cc-cl .cc-link { font-size: 15px; }
  .cc-wk__in.mx.mx--full .mx-side { justify-self: stretch; max-width: none; }
  .cc-scene .cc-lab { padding: 5px 9px 6px; }
  .cc-wk .cc-lab { white-space: normal; }
  .cc-scene.cc-wk .cc-lab { padding: 3px 7px; }
  .cc-scene.cc-wk .cc-lab__d { line-height: 1.18; }
  .cc-scene.cc-wk .cc-lab__t { font-size: 14px; line-height: 1.18; }
  .cc-scene.cc-wk .cc-lab--day { padding: 1px 6px; max-width: none; }
  .cc-scene .cc-lab__t { font-size: 14.5px; }
  .cc-scene .cc-lab--gear { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-cl .cc-cl__tspin { animation: none; }
  .cc-cl .cc-cl__tile--ryze.cc-on { animation: none; box-shadow: 0 0 16px 3px rgb(255 127 50 / .5); }
}
