.system-running > .desktop-icon,
.system-running > .install-hint {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.os {
  --ri-workspace-top: 37px;
  --ri-dock-clearance: 98px;
  position: fixed;
  z-index: 10;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  color: var(--ri-text-on-dark);
  background: var(--ri-canvas-dark);
}

.system-running .os {
  visibility: visible;
  opacity: 1;
  animation: os-boot 1.25s var(--ease) both;
}

.os__wallpaper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 22%, rgba(175, 155, 122, .33), transparent 24%),
    radial-gradient(circle at 24% 86%, rgba(108, 110, 105, .24), transparent 34%),
    linear-gradient(133deg, var(--ri-noir-950) 0%, var(--ri-noir-800) 45%, var(--ri-noir-900) 100%);
}

.os__wallpaper::after {
  content: "";
  position: absolute;
  top: -43%;
  right: -9%;
  width: 69vw;
  aspect-ratio: 1;
  border: 1px solid rgba(236, 229, 216, .10);
  border-radius: 50%;
  box-shadow:
    0 0 0 9vw rgba(255, 255, 255, .012),
    0 0 0 20vw rgba(255, 255, 255, .009);
}

.os__wallpaper > i {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: radial-gradient(rgba(255, 255, 255, .12) .6px, transparent .7px);
  background-size: 4px 4px;
}

.os__wallpaper > span {
  position: absolute;
  right: 5vw;
  bottom: -9vh;
  color: rgba(241, 237, 229, .025);
  font-family: var(--serif);
  font-size: min(42vw, 620px);
  letter-spacing: -.12em;
  line-height: .8;
}

.menu-bar {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  height: 42px;
  padding: 0 19px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(9, 9, 9, .58);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  font-size: var(--ri-type-ui);
}

.menu-bar button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-bar__mark {
  padding: 0;
  color: #d7c9b0 !important;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -.07em;
}

.menu-bar__active {
  margin: 0;
  font-weight: 600;
}

.menu-bar__menus {
  display: flex;
  gap: 4px;
}

.menu-bar__menus button,
.menu-bar__menus a {
  padding: 7px 9px;
  border-radius: 6px;
  color: inherit;
  font-size: inherit;
  text-decoration: none;
}

.menu-bar__menus button:hover,
.menu-bar__menus button:focus-visible,
.menu-bar__menus a:hover,
.menu-bar__menus a:focus-visible {
  background: rgba(255, 255, 255, .09);
  outline: none;
}

.menu-bar__status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.menu-bar__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8b39f;
  box-shadow: 0 0 10px rgba(168, 179, 159, .55);
}

.desktop-home {
  position: relative;
  z-index: 2;
  height: calc(100svh - 42px);
  padding: clamp(58px, 8vh, 100px) clamp(45px, 7vw, 110px) 120px;
}

.desktop-home__intro {
  max-width: 690px;
}

.desktop-home__intro > p:first-child,
.desktop-home__edition {
  margin: 0;
  color: #b8aa92;
  font-size: 12px;
  letter-spacing: .19em;
}

.desktop-home__intro h1 {
  margin: 25px 0 0;
  color: var(--ri-text-on-dark);
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 118px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .82;
}

.desktop-home__intro > p:last-child {
  max-width: 450px;
  margin: 32px 0 0;
  color: rgba(240, 236, 228, .66);
  font-family: var(--ri-font-ui);
  font-size: 18px;
  line-height: 1.5;
}

.desktop-home__shortcuts {
  display: flex;
  position: absolute;
  top: 9vh;
  right: 5vw;
  gap: 26px;
}

.desktop-home__shortcuts button,
.mobile-app-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  padding: 6px;
  border: 0;
  color: #f1eee8;
  background: transparent;
  cursor: pointer;
}

.desktop-home__shortcuts b,
.mobile-app-grid b {
  margin-top: 9px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.desktop-home__shortcuts button:hover .system-icon,
.desktop-home__shortcuts button:focus-visible .system-icon {
  transform: translateY(-5px) scale(1.03);
}

.desktop-home__shortcuts button:focus-visible,
.mobile-app-grid button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .65);
  outline-offset: 4px;
}

.desktop-home__edition {
  position: absolute;
  left: clamp(45px, 7vw, 110px);
  bottom: 32px;
  color: rgba(240, 236, 228, .34);
}

.system-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: var(--ri-radius-icon);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, .18),
    0 1px 0 rgba(255, 255, 255, .27) inset;
  transition: transform .38s var(--ease), filter .3s;
}

.system-icon--home {
  color: #eee9df;
  background: linear-gradient(145deg, #353431, #080808);
}

.system-icon--home i {
  font-family: var(--serif);
  font-size: 21px;
  font-style: normal;
  letter-spacing: -.08em;
}

.system-icon--profile {
  background: linear-gradient(145deg, #e8e4dc, #aaa297);
}

.system-icon--profile i {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #242321;
}

.system-icon--profile i::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 8px;
  width: 30px;
  height: 19px;
  border-radius: 18px 18px 8px 8px;
  background: #242321;
}

.system-icon--journey {
  background: linear-gradient(145deg, #857866, #302d28);
}

.system-icon--journey i {
  width: 30px;
  height: 30px;
  border-left: 2px solid #f1ece3;
  border-bottom: 2px solid #f1ece3;
}

.system-icon--journey i::before,
.system-icon--journey i::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f1ece3;
}

.system-icon--journey i::before {
  top: 13px;
  left: 25px;
}

.system-icon--journey i::after {
  right: 11px;
  bottom: 11px;
}

.system-icon--projects {
  grid-template-columns: repeat(2, 13px);
  grid-template-rows: repeat(2, 13px);
  gap: 5px;
  background: linear-gradient(145deg, #d7d3cb, #837c70);
}

.system-icon--projects i,
.system-icon--projects::after {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #1a1918;
}

.system-icon--projects::after {
  content: "";
}

.system-icon--credentials {
  background: linear-gradient(145deg, #292929, #090909);
}

.system-icon--credentials i {
  width: 28px;
  height: 34px;
  border-radius: 2px;
  background: #eee9df;
}

.system-icon--credentials i::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 11px;
  width: 11px;
  height: 11px;
  border: 2px solid #998b75;
  border-radius: 50%;
}

.system-icon--clients {
  background: linear-gradient(145deg, #c0b39e, #756b5d);
}

.system-icon--clients i,
.system-icon--clients i::before,
.system-icon--clients i::after {
  position: absolute;
  width: 14px;
  height: 28px;
  border-radius: 8px;
  background: #171716;
}

.system-icon--clients i::before,
.system-icon--clients i::after {
  content: "";
}

.system-icon--clients i::before {
  left: -17px;
  top: 6px;
}

.system-icon--clients i::after {
  left: 17px;
  top: 6px;
}

.system-icon--legacy {
  color: #e8ddca;
  background:
    radial-gradient(circle at 70% 25%, #6b5944, transparent 30%),
    #080808;
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
}

.system-icon--contact {
  background: linear-gradient(145deg, #eeeae2, #aaa49a);
}

.system-icon--contact i {
  width: 32px;
  height: 23px;
  border-radius: 4px;
  background: #20201f;
}

.system-icon--contact i::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 15px;
  width: 23px;
  height: 23px;
  border-left: 2px solid #e7e1d7;
  border-bottom: 2px solid #e7e1d7;
  transform: rotate(-45deg);
}

.dock {
  position: absolute;
  z-index: 16;
  bottom: 18px;
  left: 50%;
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background: rgba(42, 41, 38, .56);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  transform: translateX(-50%);
}

.dock button {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dock button > b {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  visibility: hidden;
  padding: 7px 10px;
  border-radius: 7px;
  color: #222;
  background: rgba(250, 249, 247, .92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  white-space: nowrap;
  transform: translate(-50%, 5px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}

.dock button:hover > b,
.dock button:focus-visible > b {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.dock button:hover .system-icon,
.dock button:focus-visible .system-icon {
  transform: translateY(-8px) scale(1.08);
}

.dock button:focus-visible {
  outline: none;
}

.dock button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f3eee5;
  transform: translateX(-50%);
}

.os-window {
  position: absolute;
  z-index: 20;
  top: calc(50% + 10px);
  left: 50%;
  display: grid;
  grid-template-rows: 48px 1fr;
  width: min(1040px, calc(100vw - 110px));
  height: min(690px, calc(100svh - 125px));
  min-height: 520px;
  visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--ri-radius-window);
  background: var(--ri-canvas-light);
  box-shadow:
    0 45px 120px rgba(0, 0, 0, .42),
    0 12px 30px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translate(-50%, -47%) scale(.94);
}

.os.app-open .os-window:not(.is-minimized) {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity .35s ease, transform .6s var(--ease), visibility .35s;
}

.os-window.is-maximized {
  top: 54px !important;
  left: 12px !important;
  width: calc(100vw - 24px);
  height: calc(100svh - 66px);
  min-height: 0;
  border-radius: 14px;
  transform: none !important;
  transition: width .55s var(--ease), height .55s var(--ease), top .55s var(--ease), left .55s var(--ease);
}

.os-window.is-dragging {
  transition: none !important;
}

.os-window__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid #d8d5cf;
  color: #3c3a36;
  background: rgba(235, 233, 228, .94);
  cursor: grab;
  touch-action: none;
}

.os-window__bar:active {
  cursor: grabbing;
}

.os-window__bar h2,
.os-window__bar p {
  margin: 0;
  font-size: 13px;
}

.os-window__bar h2 {
  font-weight: 600;
}

.os-window__bar p {
  justify-self: end;
  color: #89857e;
  letter-spacing: .08em;
}

.os-window__controls {
  display: flex;
  gap: 9px;
  width: fit-content;
}

.os-control {
  position: relative;
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.os-control::after {
  position: absolute;
  inset: -4px;
  content: "";
}

.os-control--close { background: #d66b5d; }
.os-control--minimize { background: #d5a94d; }
.os-control--maximize { background: #65a65d; }

.os-control i,
.os-control i::before {
  position: absolute;
  display: block;
  opacity: 0;
  content: "";
  transition: opacity .15s;
}

.os-window__controls:hover .os-control i,
.os-window__controls:hover .os-control i::before,
.os-window__controls:focus-within .os-control i,
.os-window__controls:focus-within .os-control i::before {
  opacity: .7;
}

.os-control--close i,
.os-control--close i::before {
  width: 7px;
  height: 1px;
  background: #5f1d15;
}

.os-control--close i { transform: rotate(45deg); }
.os-control--close i::before { transform: rotate(90deg); }

.os-control--minimize i {
  width: 7px;
  height: 1px;
  background: #66490b;
}

.os-control--maximize i {
  width: 6px;
  height: 6px;
  border: 1px solid #1e571b;
}

.os-control:focus-visible {
  outline: 2px solid #222;
  outline-offset: 2px;
}

.os-window__content {
  overflow: auto;
  color: var(--ri-text-on-light);
  background: var(--ri-canvas-light);
  scrollbar-color: #bbb6ad transparent;
  scrollbar-width: thin;
  container-type: inline-size;
}

.mobile-home,
.mobile-app,
.mobile-notification-shade {
  display: none;
}

.app-page {
  min-height: 100%;
  padding: clamp(32px, 4vw, 52px) clamp(42px, 6vw, 76px);
}

.app-page__eyebrow {
  margin: 0 0 24px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ri-tracking-label);
}

.app-page__title {
  max-width: 790px;
  margin: 0;
  color: var(--ri-text-on-light);
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: var(--ri-tracking-display);
  line-height: 1.02;
}

.app-page__lead {
  max-width: 710px;
  margin: 28px 0 0;
  color: var(--ri-text-muted-light);
  font-family: var(--ri-font-ui);
  font-size: 18px;
  line-height: 1.6;
}

.app-divider {
  width: 100%;
  height: 1px;
  margin: 48px 0;
  background: #dedbd5;
}

.home-current {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 45px;
}

.home-current > p {
  margin: 4px 0 0;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}

.home-current h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.home-current div p {
  max-width: 620px;
  margin: 15px 0 0;
  color: #69655f;
  font-size: 16px;
  line-height: 1.7;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: #d8d4cd;
}

.pillar {
  min-height: 190px;
  padding: 24px;
  background: #f7f6f3;
}

.pillar span {
  color: var(--champagne);
  font-size: 12px;
}

.pillar h3 {
  margin: 45px 0 10px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.pillar p {
  margin: 0;
  color: #77726b;
  font-size: 14px;
  line-height: 1.5;
}

.about-page {
  padding-bottom: clamp(36px, 4vw, 52px);
}

.about-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.about-header .app-page__eyebrow {
  margin-bottom: 17px;
}

.about-header .app-page__title {
  font-size: clamp(48px, 6vw, 76px);
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 24px;
  min-height: 44px;
  padding: 8px 2px;
  border-bottom: 1px solid #bdb7ad;
  color: #262421;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}

.about-linkedin i,
.about-clients i {
  font-style: normal;
  transition: transform .2s ease;
}

.about-linkedin:hover {
  border-color: var(--champagne);
  color: #77664d;
}

.about-linkedin:hover i,
.about-clients:hover i {
  transform: translate(3px, -1px);
}

.about-rule {
  height: 1px;
  margin: 35px 0 42px;
  background: #d9d5ce;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(460px, 1.1fr);
  align-items: start;
  gap: clamp(32px, 3cqw, 56px);
}

.about-copy {
  max-width: 560px;
  padding-top: 4px;
}

.about-copy p {
  margin: 0 0 22px;
  color: #514e49;
  font-size: 16px;
  line-height: 1.72;
}

.about-copy a {
  color: #1f1e1c;
  font-weight: 600;
  text-decoration-color: #a79577;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.about-copy a:hover {
  color: #806d50;
}

.about-clients {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  min-width: 178px;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 17px;
  border: 1px solid #1e1d1b;
  border-radius: 2px;
  color: #f5f1e9;
  background: #1e1d1b;
  font: 600 14px/1 var(--ri-font-ui);
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.about-clients:hover {
  color: #1e1d1b;
  background: transparent;
}

.about-clients:focus-visible,
.about-linkedin:focus-visible,
.about-copy a:focus-visible {
  outline: 2px solid #8f7958;
  outline-offset: 3px;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  justify-self: end;
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
  max-width: 900px;
}

.about-gallery__item {
  margin: 0;
}

.about-gallery__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.9;
  border-radius: 10px;
  background: #d8d7d2;
}

.about-gallery__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(191, 174, 146, .04), rgba(30, 29, 27, .08));
  content: "";
  pointer-events: none;
}

.about-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.03);
  transition: filter .35s ease, transform .55s cubic-bezier(.2, .75, .2, 1);
}

.about-gallery__item:hover img {
  filter: saturate(.95) contrast(1.02);
  transform: scale(1.012);
}

.about-gallery__item figcaption {
  min-height: 54px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #d9d5ce;
  color: #66615a;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
}

.about-gallery__item--primary figcaption {
  color: #35322e;
}

@container (max-width: 1280px) {
  .about-page {
    padding-right: clamp(42px, 5cqw, 62px);
    padding-left: clamp(42px, 5cqw, 62px);
  }

  .about-header .app-page__title {
    font-size: clamp(52px, 5.4cqw, 68px);
  }

  .about-rule {
    margin-top: 30px;
    margin-bottom: 36px;
  }

  .about-layout {
    grid-template-columns: minmax(340px, .92fr) minmax(420px, 1.08fr);
    gap: clamp(30px, 3cqw, 44px);
  }
}

@container (max-width: 960px) {
  .about-header {
    align-items: flex-start;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-copy {
    max-width: 720px;
  }

  .about-gallery {
    justify-self: start;
    max-width: 760px;
  }
}

@container (max-width: 540px) {
  .about-page {
    padding: 28px 22px 42px;
  }

  .about-header {
    display: block;
  }

  .about-header .app-page__title {
    font-size: clamp(43px, 14vw, 58px);
  }

  .about-linkedin {
    width: 100%;
    margin-top: 28px;
    justify-content: space-between;
  }

  .about-rule {
    margin: 28px 0 32px;
  }

  .about-layout {
    gap: 45px;
  }

  .about-copy p {
    font-size: 17px;
    line-height: 1.68;
  }

  .about-clients {
    width: 100%;
    margin-top: 7px;
  }

  .about-gallery {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-gallery__item figcaption {
    min-height: 0;
    font-size: 17px;
  }
}

.project-tag {
  padding: 7px 10px;
  border-radius: 999px;
  color: #55514b;
  background: #ebe8e2;
  font-size: 12px;
}

.timeline {
  margin-top: 58px;
  border-top: 1px solid #d7d3cc;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 220px 1fr;
  gap: 35px;
  padding: 34px 0;
  border-bottom: 1px solid #d7d3cc;
}

.timeline-item > span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
}

.timeline-item h3,
.timeline-item h4,
.timeline-item p {
  margin: 0;
}

.timeline-item h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.timeline-item h4 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.timeline-item p {
  color: #6c6862;
  font-size: 15px;
  line-height: 1.65;
}

.credential-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.credential-group {
  padding: 30px;
  border-radius: 4px;
  background: #efede8;
}

.credential-group > p {
  margin: 0 0 35px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
}

.credential-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-group li {
  padding: 17px 0;
  border-top: 1px solid #d6d2ca;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
}

.client-browser {
  margin-top: 42px;
}

.client-toolbar {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(88, 82, 74, .16);
  border-radius: 14px;
  background: rgba(235, 232, 226, .9);
  box-shadow: 0 12px 30px rgba(31, 29, 26, .08);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.client-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid #d3cec5;
  border-radius: 10px;
  background: rgba(255, 255, 255, .78);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.client-search:focus-within {
  border-color: #9d8969;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(157, 137, 105, .13);
}

.client-search > svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: 14px;
  fill: none;
  stroke: #77726a;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.client-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 38px 0 11px;
  border: 0;
  outline: 0;
  color: #272522;
  background: transparent;
  font: 14px/1 var(--ri-font-ui);
}

.client-search input::placeholder {
  color: #89837b;
}

.client-search input::-webkit-search-cancel-button {
  display: none;
}

.client-search button {
  position: absolute;
  right: 7px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  color: #f7f4ef;
  background: #7e7971;
  font: 18px/1 var(--ri-font-ui);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(.84);
  transition: opacity .18s ease, transform .18s ease;
}

.client-search button:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.client-search button[hidden] {
  display: none;
}

.client-view-switch {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: #d9d5ce;
}

.client-view-switch button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #6d6861;
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.client-view-switch button[aria-pressed="true"] {
  color: #f7f3ec;
  background: #252320;
  box-shadow: 0 4px 10px rgba(28, 26, 23, .2);
}

.client-view-icon--grid {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
}

.client-view-icon--grid i {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: currentColor;
}

.client-view-icon--list {
  display: grid;
  gap: 3px;
}

.client-view-icon--list i {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.client-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0 20px;
}

.client-filters {
  display: flex;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.client-filters::-webkit-scrollbar {
  display: none;
}

.client-filters button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #68635c;
  background: #ebe8e2;
  font: 500 13px/1 var(--ri-font-ui);
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.client-filters button:hover {
  border-color: #c6b99f;
  color: #262421;
}

.client-filters button[aria-pressed="true"] {
  color: #f8f4ed;
  background: #24221f;
}

.client-results {
  flex: 0 0 auto;
  margin: 0;
  color: #817b73;
  font-size: 13px;
  white-space: nowrap;
}

.client-results strong {
  color: #292724;
  font-weight: 600;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.client-grid[hidden],
.client-empty[hidden] {
  display: none;
}

.client-card {
  min-width: 0;
  min-height: 205px;
  padding: 15px;
  border: 1px solid #ddd8cf;
  border-radius: 14px;
  background: #f9f8f5;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.client-card:hover {
  border-color: #bba98c;
  box-shadow: 0 16px 32px rgba(41, 37, 31, .1);
  transform: translateY(-3px);
}

.client-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #968b7b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.client-card__meta span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  margin: 13px 0 12px;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
}

.client-card__logo img {
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(.78);
  opacity: .74;
  transition: filter .28s ease, opacity .28s ease, transform .28s ease;
}

.client-card:hover .client-card__logo img {
  filter: none;
  opacity: 1;
  transform: scale(1.025);
}

.client-card h3 {
  overflow: hidden;
  margin: 0;
  color: #2b2926;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-grid.is-list {
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid #d9d4cb;
  border-radius: 14px;
  background: #faf9f6;
}

.client-grid.is-list .client-card {
  display: grid;
  grid-template-areas: "logo name meta";
  grid-template-columns: 86px minmax(160px, 1fr) auto;
  align-items: center;
  min-height: 78px;
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid #e2ded7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.client-grid.is-list .client-card:last-child {
  border-bottom: 0;
}

.client-grid.is-list .client-card:hover {
  background: #eeeae3;
  transform: none;
}

.client-grid.is-list .client-card__logo {
  grid-area: logo;
  width: 68px;
  height: 56px;
  margin: 0;
  padding: 9px;
  border-radius: 8px;
}

.client-grid.is-list .client-card__logo img {
  max-height: 36px;
}

.client-grid.is-list .client-card h3 {
  grid-area: name;
  font-family: var(--ri-font-ui);
  font-size: 15px;
  font-weight: 600;
}

.client-grid.is-list .client-card__meta {
  grid-area: meta;
  gap: 18px;
}

.client-empty {
  min-height: 285px;
  padding: 52px 24px;
  border: 1px dashed #cbc3b7;
  border-radius: 14px;
  color: #6d675f;
  text-align: center;
  background: #f6f4ef;
}

.client-empty > span {
  display: block;
  color: #9d8969;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
}

.client-empty h3 {
  margin: 13px 0 7px;
  color: #292724;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.client-empty p {
  margin: 0 auto;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.55;
}

.client-empty button {
  min-height: 40px;
  margin-top: 22px;
  padding: 0 16px;
  border: 1px solid #292724;
  border-radius: 8px;
  color: #f8f4ed;
  background: #292724;
  font: 600 13px/1 var(--ri-font-ui);
  cursor: pointer;
}

.client-search button:focus-visible,
.client-view-switch button:focus-visible,
.client-filters button:focus-visible,
.client-empty button:focus-visible {
  outline: 2px solid #8f7958;
  outline-offset: 2px;
}

@container (max-width: 680px) {
  .client-browser {
    margin-top: 30px;
  }

  .client-toolbar {
    padding: 7px;
  }

  .client-search {
    height: 44px;
  }

  .client-view-switch button {
    width: 44px;
    height: 44px;
  }

  .client-filter-row {
    display: block;
    margin-top: 14px;
  }

  .client-filters {
    margin-right: -22px;
    padding-right: 22px;
  }

  .client-results {
    margin-top: 12px;
  }

  .client-filters button {
    min-height: 44px;
  }

  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .client-card {
    min-height: 172px;
    padding: 12px;
  }

  .client-card__meta {
    font-size: 12px;
  }

  .client-card__logo {
    height: 83px;
    margin: 11px 0;
    padding: 13px;
  }

  .client-card__logo img {
    max-height: 55px;
  }

  .client-card h3 {
    font-size: 16px;
  }

  .client-grid.is-list .client-card {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "logo name"
      "logo meta";
    min-height: 72px;
    padding: 8px 10px;
  }

  .client-grid.is-list .client-card__logo {
    width: 58px;
    height: 52px;
  }

  .client-grid.is-list .client-card__meta {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 4px;
  }
}

.client-browser.client-browser {
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f4f2ed;
}

.client-browser .client-toolbar {
  position: relative;
  z-index: 8;
  top: auto;
  display: grid;
  grid-template-columns: 34px 1px minmax(145px, 1fr) auto minmax(190px, 270px);
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(38, 35, 31, .12);
  border-radius: 0;
  background: rgba(236, 233, 227, .94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .72) inset;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.client-toolbar__leading,
.client-toolbar__actions {
  display: flex;
  align-items: center;
  min-width: 0;
}

.client-toolbar__leading {
  gap: 12px;
}

.client-toolbar__actions {
  justify-content: flex-end;
  flex: 1;
  gap: 9px;
}

.client-sidebar-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #625d56;
  background: transparent;
  cursor: pointer;
}

.client-sidebar-toggle:hover {
  border-color: #cbc5bb;
  background: rgba(255, 255, 255, .58);
}

.client-sidebar-toggle > span {
  position: relative;
  width: 17px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.client-sidebar-toggle > span::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 1.5px;
  background: currentColor;
  content: "";
}

.client-sidebar-toggle > span i {
  position: absolute;
  top: 3px;
  left: 2px;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 3px currentColor, 0 6px currentColor;
}

.client-location {
  display: grid;
  gap: 2px;
  min-width: 145px;
}

.client-location strong {
  overflow: hidden;
  color: #2d2a27;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-location span {
  color: #817b72;
  font-size: 12px;
}

.client-browser .client-search {
  width: auto;
  height: 32px;
  border-color: rgba(45, 41, 36, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
}

.client-browser .client-search input {
  font-size: 14px;
}

.client-browser .client-view-switch {
  background: rgba(255, 255, 255, .45);
}

.client-browser .client-view-switch button {
  width: 31px;
  height: 27px;
  border-radius: 5px;
}

.client-workspace {
  position: relative;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  transition: grid-template-columns .28s var(--ease);
}

.client-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 19px 11px 14px;
  overflow: auto;
  border-right: 1px solid #d5d0c8;
  background: rgba(229, 226, 219, .88);
  transition: opacity .2s ease, transform .28s var(--ease);
}

.client-sidebar > p {
  margin: 0 10px 9px;
  color: #8c8377;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.client-browser .client-filters {
  display: grid;
  gap: 3px;
  overflow: visible;
}

.client-browser .client-filters button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 35px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: #4f4a44;
  background: transparent;
  font-size: 13px;
  text-align: left;
}

.client-browser .client-filters button:hover {
  color: #2d2a27;
  background: rgba(255, 255, 255, .55);
}

.client-browser .client-filters button[aria-pressed="true"] {
  color: #2b2722;
  background: rgba(185, 164, 130, .35);
}

.client-browser .client-filters button i {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(55, 51, 46, .14);
  border-radius: 5px;
  background: linear-gradient(145deg, #c9b48e, #a68b61);
  box-shadow: 0 1px 2px rgba(40, 36, 31, .12);
}

.client-browser .client-filters button:nth-child(2) i { background: linear-gradient(145deg, #958b7c, #665f56); }
.client-browser .client-filters button:nth-child(3) i { background: linear-gradient(145deg, #c2b58e, #897847); }
.client-browser .client-filters button:nth-child(4) i { background: linear-gradient(145deg, #9eabb0, #697980); }
.client-browser .client-filters button:nth-child(5) i { background: linear-gradient(145deg, #b6aea0, #817769); }
.client-browser .client-filters button:nth-child(6) i { background: linear-gradient(145deg, #aeb8aa, #748071); }
.client-browser .client-filters button:nth-child(7) i { background: linear-gradient(145deg, #b89c93, #805f57); }

.client-browser .client-filters button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-browser .client-filters button b {
  color: #91897d;
  font-size: 12px;
  font-weight: 600;
}

.client-sidebar__note {
  margin: 0 9px 17px;
  padding-bottom: 16px;
  border-bottom: 1px solid #cbc6bd;
}

.client-sidebar__note > span {
  color: #9b896c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
}

.client-sidebar__note p {
  margin: 7px 0 0;
  color: #777168;
  font-size: 12px;
  line-height: 1.45;
}

.client-main {
  min-width: 0;
  overflow: auto;
  padding: 20px 24px 32px;
  background: var(--ri-canvas-light);
  scrollbar-color: #bbb6ad transparent;
  scrollbar-width: thin;
}

.client-main__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.client-main__header h2 {
  margin: 0;
  color: #252320;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 450;
  letter-spacing: -.02em;
}

.client-browser .client-results {
  margin: 0;
  font-size: 12px;
}

.client-list-head {
  display: none;
}

.client-browser .client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 12px 10px;
  border: 0;
  background: transparent;
}

.client-browser .client-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
  min-height: 154px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #292724;
  background: transparent;
  box-shadow: none;
  font-family: var(--ri-font-ui);
  cursor: default;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.client-browser .client-card[hidden] {
  display: none;
}

.client-browser .client-card:hover {
  border-color: rgba(178, 159, 128, .38);
  background: rgba(234, 229, 220, .64);
  box-shadow: none;
  transform: none;
}

.client-browser .client-card[aria-pressed="true"] {
  border-color: #b29b76;
  background: #e5d8c2;
  box-shadow: 0 0 0 2px rgba(178, 155, 118, .16);
}

.client-browser .client-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  margin: 0 0 8px;
  padding: 16px;
  border: 1px solid #e0dcd5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 13px rgba(48, 43, 36, .06);
}

.client-browser .client-card__logo img {
  max-width: 100%;
  max-height: 62px;
  filter: grayscale(1) saturate(0) contrast(.8);
  opacity: .76;
}

.client-browser .client-card:hover .client-card__logo img,
.client-browser .client-card[aria-pressed="true"] .client-card__logo img {
  filter: none;
  opacity: 1;
  transform: none;
}

.client-card__name {
  display: block;
  overflow: hidden;
  width: 100%;
  color: #2c2926;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-card__sector {
  display: block;
  overflow: hidden;
  width: 100%;
  margin-top: 3px;
  color: #8a837a;
  font-size: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-main.is-list-view .client-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 14px;
  padding: 0 12px 7px 71px;
  border-bottom: 1px solid #d5d1c9;
  color: #8d857b;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.client-browser .client-grid.is-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.client-browser .client-grid.is-list .client-card {
  display: grid;
  grid-template-areas: "logo name sector";
  grid-template-columns: 52px minmax(0, 1fr) 170px;
  gap: 12px;
  min-height: 54px;
  padding: 5px 12px 5px 7px;
  border: 0;
  border-bottom: 1px solid #e0dcd5;
  border-radius: 0;
  background: transparent;
}

.client-browser .client-grid.is-list .client-card[hidden] {
  display: none !important;
}

.client-browser .client-grid.is-list .client-card:hover {
  background: #eeeae3;
}

.client-browser .client-grid.is-list .client-card[aria-pressed="true"] {
  background: #e5d8c2;
  box-shadow: none;
}

.client-browser .client-grid.is-list .client-card__logo {
  grid-area: logo;
  width: 46px;
  height: 42px;
  margin: 0;
  padding: 7px;
  border-radius: 7px;
}

.client-browser .client-grid.is-list .client-card__logo img {
  max-height: 28px;
}

.client-browser .client-grid.is-list .client-card__name,
.client-browser .client-grid.is-list .client-card__sector {
  width: auto;
  margin: 0;
  text-align: left;
}

.client-browser .client-grid.is-list .client-card__name {
  grid-area: name;
  font-size: 13px;
}

.client-browser .client-grid.is-list .client-card__sector {
  grid-area: sector;
  font-size: 12px;
}

.client-browser .client-empty {
  min-height: 100%;
  padding-top: 85px;
  border: 0;
  background: transparent;
}

.client-browser.is-sidebar-collapsed .client-workspace {
  grid-template-columns: 0 minmax(0, 1fr);
}

.client-browser.is-sidebar-collapsed .client-sidebar {
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
  border-right: 0;
  opacity: 0;
}

.client-sidebar-toggle:focus-visible,
.client-browser .client-card:focus-visible {
  outline: 2px solid #8f7958;
  outline-offset: -2px;
}

@container (max-width: 720px) {
  .client-browser.client-browser {
    grid-template-rows: 50px minmax(0, 1fr);
  }

  .client-browser .client-toolbar {
    grid-template-columns: 34px 1px auto minmax(145px, 1fr);
    height: 50px;
    gap: 7px;
    padding: 0 9px;
  }

  .client-sidebar-toggle {
    width: 32px;
    height: 32px;
  }

  .client-location {
    display: none;
  }

  .client-toolbar__leading {
    gap: 0;
  }

  .client-toolbar__actions {
    gap: 7px;
  }

  .client-browser .client-search {
    width: auto;
    height: 32px;
  }

  .client-browser .client-view-switch button {
    width: 31px;
    height: 27px;
  }

  .client-workspace {
    display: block;
  }

  .client-sidebar {
    position: absolute;
    z-index: 7;
    inset: 0 auto 0 0;
    width: min(265px, 82cqw);
    border-right: 1px solid #c8c2b8;
    box-shadow: 18px 0 40px rgba(38, 34, 29, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-102%);
  }

  .client-browser.is-sidebar-open .client-sidebar {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .client-main {
    height: 100%;
    padding: 17px 15px 28px;
  }

  .client-main__header {
    margin-bottom: 13px;
  }

  .client-main__header h2 {
    font-size: 25px;
  }

  .client-browser .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 7px;
  }

  .client-browser .client-card {
    min-height: 145px;
    padding: 7px;
  }

  .client-browser .client-card__logo {
    height: 91px;
    padding: 12px;
  }

  .client-main.is-list-view .client-list-head {
    grid-template-columns: minmax(0, 1fr) 92px;
    padding-left: 62px;
  }

  .client-browser .client-grid.is-list .client-card {
    grid-template-columns: 45px minmax(0, 1fr) 92px;
    gap: 9px;
    padding-right: 7px;
  }
}

@container (max-width: 430px) {
  .client-browser .client-toolbar {
    grid-template-columns: 34px 1px minmax(0, 1fr);
  }

  .client-browser .client-view-switch {
    display: none;
  }
}

.project-explorer-app {
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: #252320;
  background: #f7f5f1;
  container-name: project-app;
  container-type: inline-size;
}

.project-explorer-app button,
.project-explorer-app input {
  font-family: var(--sans);
}

.project-explorer-app [hidden] {
  display: none !important;
}

.project-explorer-toolbar {
  display: grid;
  grid-template-columns: 34px 1px minmax(145px, 1fr) auto minmax(190px, 270px);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 0 14px;
  border-bottom: 1px solid rgba(38, 35, 31, .12);
  background: rgba(236, 233, 227, .96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
}

.project-sidebar-toggle,
.project-view-switch button,
.project-inspector__header button,
.project-lightbox__bar button,
.project-lightbox__nav {
  display: grid;
  place-items: center;
  border: 0;
  color: #36332f;
  background: transparent;
  cursor: pointer;
}

.project-sidebar-toggle {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.project-sidebar-toggle:hover,
.project-sidebar-toggle:focus-visible,
.project-view-switch button:hover,
.project-view-switch button:focus-visible {
  background: rgba(33, 31, 28, .08);
}

.project-sidebar-toggle svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.project-toolbar-separator {
  width: 1px;
  height: 22px;
  background: rgba(38, 35, 31, .13);
}

.project-toolbar__location {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
}

.project-toolbar__location strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-toolbar__location span {
  color: #827d75;
  font-size: 12px;
  white-space: nowrap;
}

.project-view-switch {
  display: grid;
  grid-template-columns: repeat(2, 31px);
  padding: 2px;
  border: 1px solid rgba(38, 35, 31, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .45);
}

.project-view-switch button {
  width: 31px;
  height: 27px;
  border-radius: 5px;
}

.project-view-switch button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 1px 4px rgba(31, 28, 23, .13);
}

.project-view-switch svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.project-explorer-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 22px;
  align-items: center;
  height: 32px;
  padding: 0 5px 0 8px;
  border: 1px solid rgba(45, 41, 36, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 1px 1px rgba(255, 255, 255, .8) inset;
}

.project-explorer-search:focus-within {
  border-color: rgba(47, 111, 206, .55);
  box-shadow: 0 0 0 2px rgba(47, 111, 206, .16);
}

.project-explorer-search svg {
  width: 16px;
  fill: none;
  stroke: #77726a;
  stroke-width: 1.5;
}

.project-explorer-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #272521;
  background: transparent;
  font-size: 14px;
}

.project-explorer-search input::placeholder {
  color: #8d877e;
}

.project-explorer-search button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #6e6961;
  background: rgba(35, 32, 29, .08);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 761px) {
  .client-browser .client-sidebar-toggle.project-sidebar-toggle {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    color: #36332f;
    background: transparent;
  }

  .client-browser .client-sidebar-toggle.project-sidebar-toggle:hover,
  .client-browser .client-sidebar-toggle.project-sidebar-toggle:focus-visible {
    border: 0;
    background: rgba(33, 31, 28, .08);
  }

  .client-browser .client-view-switch.project-view-switch {
    display: grid;
    grid-template-columns: repeat(2, 31px);
    gap: 0;
    padding: 2px;
    border: 1px solid rgba(38, 35, 31, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .45);
  }

  .client-browser .client-view-switch.project-view-switch button {
    width: 31px;
    height: 27px;
    padding: 0;
    border-radius: 5px;
    color: #36332f;
    background: transparent;
    box-shadow: none;
  }

  .client-browser .client-view-switch.project-view-switch button[aria-pressed="true"] {
    color: #36332f;
    background: #fff;
    box-shadow: 0 1px 4px rgba(31, 28, 23, .13);
  }

  .client-browser .client-view-switch.project-view-switch svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
  }

  .client-browser .client-search.project-explorer-search {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 22px;
    align-items: center;
    width: auto;
    min-width: 0;
    height: 32px;
    padding: 0 5px 0 8px;
    border: 1px solid rgba(45, 41, 36, .15);
    border-radius: 8px;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 1px 1px rgba(255, 255, 255, .8) inset;
  }

  .client-browser .client-search.project-explorer-search:focus-within {
    border-color: rgba(47, 111, 206, .55);
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 0 0 2px rgba(47, 111, 206, .16);
  }

  .client-browser .client-search.project-explorer-search > svg {
    width: 16px;
    height: 16px;
    margin: 0;
    fill: none;
    stroke: #77726a;
    stroke-width: 1.5;
  }

  .client-browser .client-search.project-explorer-search input {
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    font-size: 14px;
  }

  .client-browser .client-search.project-explorer-search button {
    position: static;
    width: 22px;
    height: 22px;
    padding: 0;
    color: #6e6961;
    background: rgba(35, 32, 29, .08);
    font-size: 17px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

.project-explorer-workspace {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.project-explorer-sidebar {
  min-width: 0;
  overflow: auto;
  padding: 17px 11px 24px;
  border-right: 1px solid rgba(38, 35, 31, .1);
  background:
    linear-gradient(155deg, rgba(197, 183, 158, .12), transparent 38%),
    #edeae4;
}

.project-sidebar__intro {
  margin: 0 9px 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(38, 35, 31, .13);
}

.project-sidebar__intro > span {
  color: #9b896c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
}

.project-sidebar__intro p {
  margin: 7px 0 0;
  color: #777168;
  font-size: 12px;
  line-height: 1.45;
}

.project-explorer-sidebar section + section {
  margin-top: 23px;
}

.project-explorer-sidebar h2 {
  margin: 0 10px 7px;
  color: #878178;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.project-sidebar__tags {
  display: grid;
  gap: 1px;
}

.project-sidebar__item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  width: 100%;
  min-height: 32px;
  padding: 5px 9px;
  border: 0;
  border-radius: 7px;
  color: #4f4b45;
  background: transparent;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.project-sidebar__item:hover {
  background: rgba(255, 255, 255, .52);
}

.project-sidebar__item.is-active,
.project-sidebar__item[aria-pressed="true"] {
  color: #1d1b18;
  background: rgba(197, 183, 158, .55);
  box-shadow: 0 0 0 1px rgba(129, 110, 78, .08) inset;
}

.project-sidebar__item svg {
  width: 17px;
  fill: rgba(154, 137, 111, .15);
  stroke: #8d7b60;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.project-sidebar__item > span:not(.project-sidebar__tag) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-sidebar__item small {
  color: #958f86;
  font-size: 12px;
}

.project-sidebar__tag {
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: #a99778;
  box-shadow: 0 0 0 3px rgba(169, 151, 120, .12);
}

.project-sidebar__tags .project-sidebar__item:nth-child(3n + 2) .project-sidebar__tag {
  background: #89958b;
  box-shadow: 0 0 0 3px rgba(137, 149, 139, .12);
}

.project-sidebar__tags .project-sidebar__item:nth-child(3n) .project-sidebar__tag {
  background: #7e8990;
  box-shadow: 0 0 0 3px rgba(126, 137, 144, .12);
}

.project-explorer-main {
  min-width: 0;
  overflow: auto;
  padding: 22px 25px 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(197, 183, 158, .12), transparent 25%),
    #f7f5f1;
}

.project-main__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.project-main__header p {
  margin: 0 0 4px;
  color: #9a896f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

.project-main__header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3cqw, 38px);
  font-weight: 400;
  line-height: 1.05;
}

.project-results {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: #8a847b;
  font-size: 12px;
}

.project-results strong {
  color: #4b4741;
  font-weight: 600;
}

.project-browser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 19px 15px;
}

.project-item {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 6px;
  border: 0;
  border-radius: 11px;
  color: #272521;
  background: transparent;
  text-align: left;
  cursor: default;
}

.project-item:hover {
  background: rgba(223, 217, 206, .52);
}

.project-item[aria-pressed="true"] {
  background: rgba(197, 183, 158, .48);
  box-shadow: 0 0 0 1px rgba(126, 105, 72, .14) inset;
}

.project-item:focus-visible {
  outline: 2px solid var(--ri-signal-blue, #2f6fce);
  outline-offset: 2px;
}

.project-item__preview {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(33, 30, 27, .11);
  border-radius: 8px;
  background: #ddd9d1;
  box-shadow: 0 7px 17px rgba(48, 42, 34, .1);
}

.project-item__preview::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.project-item__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(.97);
  transition: filter 220ms ease, transform 320ms cubic-bezier(.2, .7, .2, 1);
}

.project-item:hover .project-item__preview img,
.project-item[aria-pressed="true"] .project-item__preview img {
  filter: saturate(1) contrast(1);
  transform: scale(1.018);
}

.project-item__featured,
.project-item__image-count {
  position: absolute;
  z-index: 1;
  top: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #f8f5ee;
  background: rgba(20, 19, 17, .75);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
  backdrop-filter: blur(10px);
}

.project-item__featured {
  left: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.project-item__image-count {
  right: 8px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 12px;
}

.project-item__copy {
  display: grid;
  min-width: 0;
  padding: 10px 5px 3px;
}

.project-item__copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-item__copy > span {
  overflow: hidden;
  margin-top: 3px;
  color: #847e75;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-list-head {
  display: none;
}

.project-explorer-app.is-list-view .project-list-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(130px, .7fr);
  gap: 18px;
  padding: 0 12px 7px 78px;
  border-bottom: 1px solid rgba(38, 35, 31, .1);
  color: #8b857c;
  font-size: 12px;
}

.project-browser-grid.is-list {
  display: block;
}

.project-browser-grid.is-list .project-item {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  width: 100%;
  padding: 6px 8px;
  border-radius: 7px;
}

.project-browser-grid.is-list .project-item + .project-item {
  border-top: 1px solid rgba(38, 35, 31, .075);
}

.project-browser-grid.is-list .project-item__preview {
  width: 54px;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  box-shadow: none;
}

.project-browser-grid.is-list .project-item__featured,
.project-browser-grid.is-list .project-item__image-count {
  display: none;
}

.project-browser-grid.is-list .project-item__copy {
  grid-template-columns: minmax(120px, 1fr) minmax(130px, .7fr);
  gap: 18px;
  align-items: center;
  padding: 0;
}

.project-browser-grid.is-list .project-item__copy > span {
  margin: 0;
}

.project-browser-empty {
  display: grid;
  place-items: center;
  min-height: 270px;
  color: #7d776e;
  text-align: center;
}

.project-browser-empty[hidden] {
  display: none;
}

.project-browser-empty svg {
  width: 50px;
  margin-bottom: 14px;
  fill: rgba(154, 137, 111, .09);
  stroke: #9a896f;
  stroke-width: 1.15;
}

.project-browser-empty h3 {
  margin: 0 0 7px;
  color: #302d29;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.project-browser-empty p {
  max-width: 370px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.project-browser-empty button {
  min-height: 36px;
  margin-top: 18px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  color: #f6f2ea;
  background: #24221f;
  font-size: 14px;
  cursor: pointer;
}

.project-explorer-app.is-sidebar-collapsed .project-explorer-workspace {
  grid-template-columns: 0 minmax(0, 1fr);
}

.project-explorer-app.is-sidebar-collapsed .project-explorer-sidebar {
  overflow: hidden;
  padding-inline: 0;
  border: 0;
  opacity: 0;
}

.project-inspector {
  display: grid;
  grid-template-rows: 53px minmax(0, 1fr);
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 62%);
  border-left: 1px solid rgba(38, 35, 31, .13);
  background: rgba(248, 246, 241, .985);
  box-shadow: -18px 0 45px rgba(35, 31, 26, .16);
  opacity: 0;
  transform: translateX(104%);
  transition: transform 330ms cubic-bezier(.22, .78, .22, 1), opacity 180ms ease;
  pointer-events: none;
  contain: layout paint;
  will-change: transform, opacity;
}

.project-inspector[aria-hidden="false"] {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.project-inspector__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px 0 18px;
  border-bottom: 1px solid rgba(38, 35, 31, .11);
  background: #efede8;
}

.project-inspector__header > div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 9px;
}

.project-inspector__header span {
  color: #9a896f;
  font-size: 12px;
}

.project-inspector__header strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-inspector__header button,
.project-lightbox__bar button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
}

.project-inspector__header button:hover,
.project-lightbox__bar button:hover {
  background: rgba(36, 33, 29, .08);
}

.project-inspector__body {
  min-height: 0;
  overflow: auto;
  padding: 23px 20px 34px;
}

.project-detail-gallery {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding: 3px 3px 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-color: #c2bbb0 transparent;
  scrollbar-width: thin;
}

.project-detail-gallery button {
  display: block;
  flex: 0 0 min(310px, 82%);
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #ddd9d1;
  cursor: zoom-in;
  scroll-snap-align: start;
}

.project-detail-gallery button:first-child {
  grid-column: auto;
  aspect-ratio: 16 / 10;
}

.project-detail-gallery button:only-child {
  aspect-ratio: 16 / 10;
}

.project-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.project-detail-gallery button:hover img {
  transform: scale(1.025);
}

.project-detail-gallery button span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 14, 13, .7);
  font-size: 14px;
  backdrop-filter: blur(8px);
}

.project-detail-content {
  padding: 0 3px;
}

.project-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px 14px;
}

.project-detail-heading p {
  grid-column: 1 / -1;
  margin: 0;
  color: #9a896f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
}

.project-detail-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 4cqw, 42px);
  font-weight: 400;
  line-height: 1.04;
}

.project-detail-heading > span {
  margin-top: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #796a53;
  background: #ebe4d8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.project-detail-description {
  margin: 22px 0 0;
  color: #5e5952;
  font-size: 15px;
  line-height: 1.65;
}

.project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(38, 35, 31, .1);
}

.project-detail-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #615b54;
  background: #ebe8e2;
  font-size: 12px;
}

.project-detail-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 15px;
  border-radius: 8px;
  color: #f5f1e9;
  background: #24221f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.project-detail-action i {
  font-style: normal;
}

.project-lightbox {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 62px;
  grid-template-rows: 53px minmax(0, 1fr);
  position: absolute;
  z-index: 30;
  inset: 0;
  color: #f2ede4;
  background: rgba(10, 10, 9, .95);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
  backdrop-filter: blur(18px);
}

.project-lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.project-lightbox__bar {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.project-lightbox__bar span {
  overflow: hidden;
  color: rgba(242, 237, 228, .75);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-lightbox__bar button,
.project-lightbox__nav {
  color: #f2ede4;
}

.project-lightbox figure {
  display: grid;
  grid-column: 2;
  place-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 22px;
}

.project-lightbox figure img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 5px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  object-fit: contain;
}

.project-lightbox__nav {
  grid-row: 2;
  width: 46px;
  height: 46px;
  align-self: center;
  justify-self: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 300;
  line-height: 1;
}

.project-lightbox__nav:hover {
  background: rgba(255, 255, 255, .14);
}

.project-lightbox__nav.is-previous {
  grid-column: 1;
}

.project-lightbox__nav.is-next {
  grid-column: 3;
}

@container project-app (max-width: 900px) {
  .project-explorer-workspace {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .project-explorer-toolbar {
    grid-template-columns: 34px 1px minmax(115px, 1fr) auto minmax(165px, 220px);
  }

  .project-browser-grid {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 15px 11px;
  }

  .project-explorer-main {
    padding-inline: 19px;
  }
}

@container project-app (max-width: 720px) {
  .project-explorer-app {
    grid-template-rows: 50px minmax(0, 1fr);
  }

  .project-explorer-toolbar {
    grid-template-columns: 34px 1px auto minmax(145px, 1fr);
    gap: 7px;
    padding-inline: 9px;
  }

  .project-toolbar__location {
    display: none;
  }

  .project-explorer-workspace,
  .project-explorer-app.is-sidebar-collapsed .project-explorer-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-explorer-sidebar {
    position: absolute;
    z-index: 10;
    inset: 0 auto 0 0;
    width: min(270px, 84%);
    padding: 17px 11px 24px;
    border-right: 1px solid rgba(38, 35, 31, .13);
    box-shadow: 18px 0 45px rgba(35, 31, 26, .2);
    opacity: 0;
    transform: translateX(-103%);
    transition: transform 280ms cubic-bezier(.22, .78, .22, 1), opacity 160ms ease;
    pointer-events: none;
  }

  .project-explorer-app.is-sidebar-open .project-explorer-sidebar {
    overflow: auto;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .project-explorer-main {
    padding: 18px 15px 30px;
  }

  .project-main__header {
    margin-bottom: 16px;
  }

  .project-browser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .project-item {
    padding: 4px;
  }

  .project-item__copy {
    padding-inline: 3px;
  }

  .project-item__copy > span {
    display: none;
  }

  .project-inspector {
    width: 100%;
    border-left: 0;
  }

  .project-lightbox {
    grid-template-columns: 45px minmax(0, 1fr) 45px;
  }

  .project-lightbox figure {
    padding: 12px 4px;
  }

  .project-lightbox__nav {
    width: 38px;
    height: 38px;
  }

  .project-explorer-app.is-list-view .project-list-head {
    grid-template-columns: minmax(120px, 1fr) minmax(90px, .7fr);
    padding-left: 72px;
  }

  .project-browser-grid.is-list .project-item__copy {
    grid-template-columns: minmax(100px, 1fr) minmax(90px, .7fr);
  }

  .project-browser-grid.is-list .project-item__copy > span {
    display: block;
  }
}

@container project-app (max-width: 430px) {
  .project-explorer-toolbar {
    grid-template-columns: 34px 1px minmax(0, 1fr);
  }

  .project-view-switch {
    display: none;
  }

  .project-browser-grid {
    gap: 12px 6px;
  }

  .project-item__featured {
    display: none;
  }

  .project-detail-gallery {
    grid-template-columns: 1fr;
  }

  .project-detail-gallery button,
  .project-detail-gallery button:first-child {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-item__preview img,
  .project-inspector,
  .project-lightbox,
  .project-explorer-sidebar {
    transition: none;
  }
}

.legacy-page {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 100%;
  padding: 0;
  color: #efebe3;
  background: #0a0a09;
}

.legacy-mark {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 560px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(160px, 23vw, 320px);
  font-style: italic;
  color: #b09c7e;
  background:
    radial-gradient(circle at 50% 45%, #403528, transparent 33%),
    #070707;
}

.legacy-mark::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(210, 194, 168, .16);
  border-radius: 50%;
}

.legacy-copy {
  align-self: center;
  padding: clamp(45px, 7vw, 90px);
}

.legacy-copy .app-page__eyebrow {
  color: #b7a184;
}

.legacy-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -.05em;
}

.legacy-copy h3 {
  margin: 20px 0 0;
  color: #b7a184;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
}

.legacy-copy > p:not(.app-page__eyebrow) {
  max-width: 500px;
  margin: 26px 0 0;
  color: rgba(239, 235, 227, .64);
  font-size: 16px;
  line-height: 1.7;
}

.app-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-width: 220px;
  margin-top: 38px;
  padding: 14px 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.app-action i {
  font-size: 20px;
  font-style: normal;
  transition: transform .3s var(--ease);
}

.app-action:hover i,
.app-action:focus-visible i {
  transform: translateX(6px);
}

.contact-links {
  margin-top: 60px;
  border-top: 1px solid #d7d3cc;
}

.contact-link {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid #d7d3cc;
  color: #1a1918;
  text-decoration: none;
}

.contact-link span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

.contact-link strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.contact-link i {
  font-size: 22px;
  font-style: normal;
  transition: transform .3s var(--ease);
}

.contact-link:hover i,
.contact-link:focus-visible i {
  transform: translate(4px, -4px);
}

.contact-note {
  margin: 35px 0 0;
  color: #8b867f;
  font-size: 13px;
}

@keyframes os-boot {
  from { opacity: 0; filter: blur(15px); transform: scale(1.025); }
  to { opacity: 1; filter: none; transform: none; }
}

@media (max-width: 760px) {
  .menu-bar,
  .desktop-home,
  .dock,
  .os-window {
    display: none !important;
  }

  .os__wallpaper {
    background:
      radial-gradient(circle at 83% 12%, rgba(177, 157, 124, .42), transparent 27%),
      radial-gradient(circle at 18% 85%, rgba(108, 110, 105, .25), transparent 35%),
      linear-gradient(145deg, #090909, #211f1b 55%, #0b0b0a);
  }

  .os__wallpaper::after {
    top: -16%;
    right: -48%;
    width: 130vw;
  }

  .mobile-home {
    display: flex;
    position: relative;
    z-index: 2;
    flex-direction: column;
    min-height: 100svh;
    padding:
      calc(14px + env(safe-area-inset-top))
      20px
      calc(20px + env(safe-area-inset-bottom));
  }

  .mobile-status {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    font-size: 13px;
  }

  .mobile-status time {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }

  .mobile-status p {
    margin: 0;
    color: rgba(242, 238, 230, .62);
    font-size: 12px;
    letter-spacing: .12em;
  }

  .mobile-status span {
    justify-self: end;
    color: #aab39f;
    font-size: 12px;
  }

  .mobile-hero {
    margin-top: clamp(42px, 8vh, 76px);
  }

  .mobile-hero > p {
    margin: 0;
    color: #c1b195;
    font-size: 12px;
    letter-spacing: .14em;
  }

  .mobile-hero h1 {
    margin: 18px 0 16px;
    font-family: var(--serif);
    font-size: clamp(54px, 16vw, 76px);
    font-weight: 400;
    letter-spacing: -.065em;
    line-height: .84;
  }

  .mobile-hero > span {
    color: rgba(242, 238, 230, .63);
    font-family: var(--serif);
    font-size: 16px;
  }

  .mobile-app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 4vh, 32px) 8px;
    margin: auto -5px;
  }

  .mobile-app-grid button {
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .mobile-app-grid .system-icon {
    width: 58px;
    height: 58px;
  }

  .mobile-app-grid b {
    overflow: hidden;
    width: 100%;
    color: #f0ece4;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-home__edition {
    margin: 25px 0 0;
    color: rgba(240, 236, 228, .31);
    font-size: 12px;
    letter-spacing: .15em;
    text-align: center;
  }

  .mobile-app {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    visibility: hidden;
    color: var(--ink);
    background: #f7f6f3;
    opacity: 0;
    transform: translateY(35px) scale(.98);
    transition: opacity .35s, transform .55s var(--ease), visibility .35s;
  }

  .os.mobile-app-open .mobile-app {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .mobile-app__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: calc(54px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 16px 0;
    border-bottom: 1px solid #d8d4cd;
    background: rgba(247, 246, 243, .92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .mobile-app__bar button {
    justify-self: start;
    padding: 8px 0;
    border: 0;
    color: #8e7e65;
    background: transparent;
    font-size: 19px;
  }

  .mobile-app__bar button span {
    font-size: 14px;
    vertical-align: 2px;
  }

  .mobile-app__bar h2 {
    margin: 0;
    font-size: 14px;
  }

  .mobile-app__content {
    overflow: auto;
    padding-bottom: env(safe-area-inset-bottom);
    container-type: inline-size;
  }

  .app-page {
    padding: 34px 22px 55px;
  }

  .app-page__eyebrow {
    margin-bottom: 18px;
  }

  .app-page__title {
    font-size: clamp(39px, 11.5vw, 52px);
  }

  .app-page__lead {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.55;
  }

  .app-divider {
    margin: 34px 0;
  }

  .home-current {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-current h3 {
    font-size: 27px;
  }

  .home-current div p {
    font-size: 15px;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 35px;
  }

  .pillar {
    min-height: 170px;
    padding: 19px;
  }

  .pillar h3 {
    margin-top: 32px;
    font-size: 22px;
  }

  .timeline {
    margin-top: 38px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 27px 0;
  }

  .timeline-item h3 {
    font-size: 25px;
  }

  .credential-groups {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 36px;
  }

  .credential-group {
    padding: 24px;
  }

  .project-browser {
    margin-top: 28px;
  }

  .project-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    top: 0;
  }

  .project-filters {
    margin: 0 -22px;
    padding: 0 22px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 235px;
    padding: 23px;
  }

  .legacy-page {
    grid-template-columns: 1fr;
  }

  .legacy-mark {
    min-height: 34svh;
    font-size: 42vw;
  }

  .legacy-copy {
    padding: 42px 23px 60px;
  }

  .legacy-copy h2 {
    font-size: 53px;
  }

  .contact-links {
    margin-top: 40px;
  }

  .contact-link {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 23px 0;
  }

  .contact-link span {
    grid-column: 1 / -1;
  }

  .contact-link strong {
    overflow-wrap: anywhere;
    font-size: 21px;
  }
}

@media (max-width: 370px) {
  .mobile-app-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 17px 7px;
  }

  .mobile-hero {
    margin-top: 32px;
  }

  .mobile-hero h1 {
    font-size: 50px;
  }
}

.menu-bar {
  position: absolute;
  top: 14px;
  left: 50%;
  grid-template-columns: auto 1fr auto;
  width: min(1260px, calc(100vw - 40px));
  height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(238, 234, 226, .14);
  border-radius: 16px;
  background: rgba(22, 21, 19, .68);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  transform: translateX(-50%);
}

.menu-bar__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--ri-noir-950) !important;
  background: var(--ri-ivory-100) !important;
  font-family: var(--ri-font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.menu-bar__identity {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.menu-bar__identity p,
.menu-bar__identity span,
.menu-bar__edition {
  margin: 0;
}

.menu-bar__identity p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.menu-bar__identity span {
  color: rgba(243, 239, 231, .58);
  font-size: 13px;
}

.menu-bar__edition {
  justify-self: center;
  color: rgba(243, 239, 231, .42);
  font-size: 12px;
  letter-spacing: .13em;
}

.menu-bar__status a {
  padding: 7px 9px;
  border-radius: 7px;
  color: rgba(243, 239, 231, .72);
  font-size: 13px;
  text-decoration: none;
  transition: color var(--ri-duration-fast), background var(--ri-duration-fast);
}

.menu-bar__status a:hover,
.menu-bar__status a:focus-visible {
  color: var(--ri-text-on-dark);
  background: rgba(255, 255, 255, .09);
  outline: none;
}

.desktop-home {
  height: 100svh;
  padding-top: clamp(110px, 14vh, 150px);
}

.desktop-home__shortcuts {
  display: block;
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}

.desktop-home__shortcuts .os-desktop-icon {
  position: absolute;
  top: 92px;
  display: flex;
  width: 118px;
  min-height: 102px;
  padding: 8px 6px;
  border-radius: 10px;
  pointer-events: auto;
  touch-action: none;
}

.os img,
.os a {
  -webkit-user-drag: none;
}

.os-desktop-icon,
.dock button {
  -webkit-user-select: none;
  user-select: none;
}

.desktop-home__shortcuts .os-desktop-icon:first-child {
  left: calc(100% - 270px);
}

.desktop-home__shortcuts .os-desktop-icon:last-child {
  left: calc(100% - 142px);
}

.desktop-home__shortcuts .os-desktop-icon.is-dragging {
  opacity: .86;
  cursor: grabbing;
}

.desktop-home__shortcuts .os-desktop-icon.is-selected {
  background: rgba(47, 111, 206, .11);
  box-shadow: 0 0 0 1px rgba(47, 111, 206, .22) inset;
}

.desktop-home__shortcuts .os-desktop-icon.is-selected b {
  position: relative;
  z-index: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  white-space: nowrap;
}

.desktop-home__shortcuts .os-desktop-icon.is-selected b::before {
  position: absolute;
  z-index: -1;
  inset: -3px -6px;
  border-radius: 5px;
  background: var(--ri-signal-blue);
  content: "";
}

.desktop-selection-box {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(104, 163, 238, .9);
  background: rgba(47, 111, 206, .2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
  pointer-events: none;
}

.desktop-selection-box[aria-hidden="true"] {
  display: none;
}

.system-icon {
  display: grid;
  grid-template: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, .18),
    0 1px 0 rgba(255, 255, 255, .35) inset;
}

.system-icon::before,
.system-icon::after {
  content: none !important;
}

.system-icon img {
  display: block;
  width: 27px;
  height: 27px;
}

.system-icon--home {
  background: linear-gradient(145deg, #dbcaaa, #aa916a);
}

.system-icon--profile {
  background: linear-gradient(145deg, #f8f6f1, #d8dde1);
}

.system-icon--journey {
  background: linear-gradient(145deg, #9ca9b0, #5e6971);
}

.system-icon--projects {
  background: linear-gradient(145deg, #d4c29f, #a88b60);
}

.system-icon--credentials {
  background: linear-gradient(145deg, #f2f2ec, #c7cec0);
}

.system-icon--clients {
  background: linear-gradient(145deg, #adb8b1, #717d76);
}

.system-icon--legacy {
  background:
    radial-gradient(circle at 72% 20%, rgba(221, 186, 166, .26), transparent 32%),
    linear-gradient(145deg, #54383b, #20191b);
}

.system-icon--contact {
  background: linear-gradient(145deg, #eee7df, #cbb8aa);
}

.system-icon--terminal {
  color: #eeeae2;
  background:
    radial-gradient(circle at 72% 18%, rgba(197, 183, 158, .2), transparent 34%),
    linear-gradient(145deg, #353431, #0d0d0c);
}

.system-icon--terminal i {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--ri-font-mono);
  font-size: 23px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: 1;
}

.system-icon--terminal i span:last-child {
  transform: translateY(1px);
}

.system-icon--journey img,
.system-icon--clients img,
.system-icon--legacy img,
.system-icon--terminal img {
  filter: invert(95%) sepia(8%) saturate(380%) hue-rotate(354deg) brightness(101%);
}

.dock {
  gap: 6px;
  padding: 7px 9px;
  border-color: rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: rgba(35, 34, 32, .58);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, .34),
    0 1px 0 rgba(255, 255, 255, .08) inset;
}

.dock .system-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.dock .system-icon img {
  width: 26px;
  height: 26px;
}

.os-window {
  height: min(690px, calc(100svh - 155px));
}

.os-window.is-maximized {
  top: 78px !important;
  height: calc(100svh - 90px);
}

.menu-bar {
  position: absolute;
  z-index: 1100;
  top: 0;
  left: 0;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  width: 100%;
  height: 37px;
  padding: 0 12px 0 15px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  border-radius: 0;
  background: rgba(15, 15, 14, .69);
  box-shadow: 0 1px 12px rgba(0, 0, 0, .16);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  transform: none;
}

.menu-bar__mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid rgba(197, 183, 158, .58);
  border-radius: 50%;
  color: var(--ri-ivory-100) !important;
  background: rgba(197, 183, 158, .08) !important;
  font-family: var(--ri-font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.05em;
}

.menu-bar__active {
  margin: 0;
  padding: 0 9px;
  color: rgba(246, 243, 237, .96);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.menu-bar__menus {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  min-width: 0;
  gap: 2px;
}

.system-menu {
  position: relative;
  display: flex;
  align-items: stretch;
}

.system-menu--brand {
  align-items: center;
}

.system-menu--application {
  align-self: stretch;
}

.system-menu--application .menu-bar__active {
  height: 100%;
}

.system-menu--brand .system-menu__panel {
  top: calc(100% + 6px);
}

.system-menu__trigger {
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  color: rgba(246, 243, 237, .77);
  background: transparent;
  font-size: 13px;
  font-weight: 450;
  cursor: default;
}

.system-menu--application .menu-bar__active {
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0;
}

.system-menu--brand .menu-bar__mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid rgba(197, 183, 158, .58);
  border-radius: 50%;
  background: rgba(197, 183, 158, .08);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.system-menu__trigger:hover,
.system-menu__trigger:focus-visible,
.system-menu__trigger[aria-expanded="true"],
.menu-bar__mark:hover,
.menu-bar__mark:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .10) !important;
  outline: none;
}

.menu-bar__mark:hover,
.menu-bar__mark:focus-visible,
.menu-bar__mark[aria-expanded="true"] {
  border-color: rgba(222, 211, 192, .82);
  background: rgba(197, 183, 158, .2) !important;
}

.system-menu__panel {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: max-content;
  min-width: 265px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  color: rgba(249, 247, 242, .94);
  background: rgba(35, 34, 32, .88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
  backdrop-filter: blur(30px) saturate(1.35);
  -webkit-backdrop-filter: blur(30px) saturate(1.35);
}

.system-menu__panel--right {
  right: 0;
  left: auto;
}

.system-menu__panel[hidden] {
  display: none;
}

.system-menu__panel button,
.system-menu__panel a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: default;
}

.system-menu__panel button:hover,
.system-menu__panel button:focus-visible,
.system-menu__panel a:hover,
.system-menu__panel a:focus-visible {
  color: #fff;
  background: var(--ri-signal-blue);
  outline: none;
}

.system-menu__panel button:disabled {
  color: rgba(249, 247, 242, .3);
  background: transparent;
}

.system-menu__panel kbd {
  color: rgba(249, 247, 242, .52);
  font: inherit;
}

.system-menu__panel hr {
  height: 1px;
  margin: 5px 7px;
  border: 0;
  background: rgba(255, 255, 255, .12);
}

.os-context-menu {
  position: fixed;
  z-index: 1400;
  width: max-content;
  min-width: 236px;
  max-width: min(300px, calc(100vw - 16px));
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 11px;
  color: rgba(249, 247, 242, .95);
  background: rgba(35, 34, 32, .9);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .45);
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(30px) saturate(1.35);
  -webkit-backdrop-filter: blur(30px) saturate(1.35);
  transform: scale(1);
  transform-origin: top left;
  transition:
    opacity 120ms ease,
    visibility 120ms ease,
    transform 160ms var(--ease);
}

.os-context-menu[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.97);
}

.os-context-menu__title {
  margin: 0;
  padding: 7px 10px 8px;
  overflow: hidden;
  color: rgba(249, 247, 242, .58);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.os-context-menu hr {
  height: 1px;
  margin: 4px 7px;
  border: 0;
  background: rgba(255, 255, 255, .12);
}

.os-context-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font-family: var(--ri-font-ui);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.25;
  text-align: left;
  cursor: default;
}

.os-context-menu button:hover,
.os-context-menu button:focus-visible {
  color: #fff;
  background: var(--ri-signal-blue);
  outline: none;
}

.os-context-menu button:disabled {
  color: rgba(249, 247, 242, .3);
  background: transparent;
}

.menu-bar__status {
  align-self: stretch;
  align-items: stretch;
  justify-self: end;
  gap: 10px;
  color: rgba(246, 243, 237, .84);
  font-size: 13px;
}

.menu-bar__status time {
  display: grid;
  place-items: center;
  height: 100%;
  line-height: 1;
  white-space: nowrap;
}

.system-menu--locale {
  align-self: stretch;
}

.locale-trigger {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0 7px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .04em;
}

.locale-menu {
  min-width: 220px;
}

.locale-menu button[aria-current="true"] span {
  font-weight: 600;
}

.locale-menu button:disabled kbd {
  color: rgba(249, 247, 242, .28);
  font-size: 12px;
}

.desktop-home {
  height: 100svh;
  padding: 0;
}

.os-window-layer {
  position: absolute;
  z-index: 20;
  inset: 0;
  pointer-events: none;
}

.os-window-layer .os-window {
  --cascade-x: 0px;
  --cascade-y: 0px;
  z-index: 30;
  grid-template-rows: 38px 1fr;
  top: calc(
    var(--ri-workspace-top) +
    (100svh - var(--ri-workspace-top) - var(--ri-dock-clearance)) / 2
  );
  width: min(1120px, calc(100vw - 64px));
  height: min(
    600px,
    calc(100svh - var(--ri-workspace-top) - var(--ri-dock-clearance) - 32px)
  );
  min-height: min(
    460px,
    calc(100svh - var(--ri-workspace-top) - var(--ri-dock-clearance) - 32px)
  );
  pointer-events: auto;
  transform:
    translate(
      calc(-50% + var(--cascade-x)),
      calc(-47% + var(--cascade-y))
    )
    scale(.965);
  transition:
    opacity .28s ease,
    transform .5s var(--ease),
    visibility .28s,
    box-shadow .25s ease,
    width .5s var(--ease),
    height .5s var(--ease),
    top .5s var(--ease),
    left .5s var(--ease),
    border-radius .5s var(--ease);
}

.os-window-layer .os-window.is-geometry-lock {
  transition: none !important;
}

.os-window-layer .os-window.is-resizing {
  user-select: none;
  transition: none !important;
}

.os-window-layer .os-window.is-open:not(.is-minimized) {
  visibility: visible;
  opacity: 1;
  transform:
    translate(
      calc(-50% + var(--cascade-x)),
      calc(-50% + var(--cascade-y))
    )
    scale(1);
}

.os-window-layer .os-window.is-focused {
  box-shadow:
    0 48px 130px rgba(0, 0, 0, .5),
    0 14px 36px rgba(0, 0, 0, .25);
}

.os-window-layer .os-window.is-minimized {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 42vh) scale(.2);
}

.os-window-layer .os-window.is-maximized {
  top: var(--ri-workspace-top) !important;
  left: 0 !important;
  width: 100vw !important;
  height: calc(100svh - var(--ri-workspace-top) - var(--ri-dock-clearance)) !important;
  border-radius: 0;
  transform: none !important;
}

.os-window__bar {
  padding: 0 13px;
}

.os-window__bar h2 {
  grid-column: 2;
}

.window-resizer {
  position: absolute;
  z-index: 6;
  display: block;
  touch-action: none;
}

.window-resizer--n,
.window-resizer--s {
  right: 10px;
  left: 10px;
  height: 6px;
  cursor: ns-resize;
}

.window-resizer--n { top: 0; }
.window-resizer--s { bottom: 0; }

.window-resizer--e,
.window-resizer--w {
  top: 10px;
  bottom: 10px;
  width: 6px;
  cursor: ew-resize;
}

.window-resizer--e { right: 0; }
.window-resizer--w { left: 0; }

.window-resizer--ne,
.window-resizer--nw,
.window-resizer--se,
.window-resizer--sw {
  width: 12px;
  height: 12px;
}

.window-resizer--ne {
  top: 0;
  right: 0;
  cursor: nesw-resize;
}

.window-resizer--nw {
  top: 0;
  left: 0;
  cursor: nwse-resize;
}

.window-resizer--se {
  right: 0;
  bottom: 0;
  cursor: nwse-resize;
}

.window-resizer--sw {
  bottom: 0;
  left: 0;
  cursor: nesw-resize;
}

.os-window.is-maximized .window-resizer {
  display: none;
}

.os-window__controls {
  gap: 8px;
}

.os-control {
  width: 13px;
  height: 13px;
}

.os-control--close i,
.os-control--close i::before,
.os-control--minimize i {
  width: 7px;
  height: 1px;
}

.os-control--maximize i {
  width: 6px;
  height: 6px;
}

.dock {
  z-index: 1000;
}

@media (max-width: 760px) {
  .os-window-layer {
    display: none;
  }

  .mobile-app-grid {
    align-content: center;
    flex: 1;
    margin: 0 -5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-running .os,
  .os-window-layer .os-window {
    animation: none;
    transition: none;
  }
}

.menu-bar__status {
  gap: 5px;
}

.notification-center-trigger,
.user-profile-trigger {
  position: relative;
  align-self: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: rgba(246, 243, 237, .82);
  background: transparent;
  cursor: default;
}

.notification-center-trigger:hover,
.notification-center-trigger:focus-visible,
.notification-center-trigger[aria-expanded="true"],
.user-profile-trigger:hover,
.user-profile-trigger:focus-visible,
.user-profile-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, .1);
  outline: none;
}

.notification-center-trigger > img {
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  filter: invert(94%) sepia(4%) saturate(440%) hue-rotate(354deg) brightness(104%);
}

.notification-center-trigger > b {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(18, 17, 15, .72);
  border-radius: 50%;
  background: var(--ri-champagne-300);
  box-shadow: 0 0 0 2px rgba(197, 183, 158, .12);
}

.notification-center-trigger > b[hidden] {
  display: none;
}

.user-profile-trigger {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.user-profile-trigger img {
  width: 23px;
  height: 23px;
  border: 1px solid rgba(238, 231, 219, .58);
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .28);
  object-fit: cover;
}

.notification-center,
.user-profile-panel {
  position: absolute;
  z-index: 1060;
  top: 45px;
  right: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  color: #eeeae2;
  background:
    linear-gradient(145deg, rgba(197, 183, 158, .08), transparent 38%),
    rgba(31, 30, 28, .84);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .46),
    0 1px 0 rgba(255, 255, 255, .08) inset;
  opacity: 0;
  transform: translateX(24px) scale(.985);
  transform-origin: top right;
  transition:
    opacity 180ms ease,
    transform 320ms cubic-bezier(.22, .78, .22, 1),
    visibility 180ms;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(34px) saturate(1.3);
  -webkit-backdrop-filter: blur(34px) saturate(1.3);
}

.notification-center[aria-hidden="false"],
.user-profile-panel[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.notification-center {
  bottom: 112px;
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr);
  width: min(358px, calc(100vw - 24px));
}

.user-profile-panel {
  width: min(360px, calc(100vw - 24px));
}

.system-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 12px 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.system-panel__header > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.system-panel__header > div > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ri-champagne-300);
  box-shadow: 0 0 0 4px rgba(197, 183, 158, .09);
}

.system-panel__header h2 {
  margin: 0;
  color: #f4f0e8;
  font-size: 14px;
  font-weight: 600;
}

.system-panel__header > button,
.welcome-notification__top > button {
  display: grid;
  place-items: center;
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(242, 237, 228, .7);
  background: transparent;
  font-family: var(--ri-font-ui);
  font-size: 0;
  font-weight: 300;
  cursor: default;
}

.system-panel__header > button::before,
.system-panel__header > button::after,
.welcome-notification__top > button::before,
.welcome-notification__top > button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.system-panel__header > button::after,
.welcome-notification__top > button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.system-panel__header > button:hover,
.system-panel__header > button:focus-visible,
.welcome-notification__top > button:hover,
.welcome-notification__top > button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .09);
  outline: none;
}

.notification-center__body {
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.welcome-notification {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 13px;
  background:
    linear-gradient(150deg, rgba(197, 183, 158, .13), transparent 56%),
    rgba(255, 255, 255, .055);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
}

.welcome-notification__top {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
}

.welcome-notification__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(223, 211, 190, .5);
  border-radius: 10px;
  color: #eee7db;
  background: rgba(197, 183, 158, .12);
  font-size: 12px;
  font-weight: 600;
}

.welcome-notification__top > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.welcome-notification__top strong {
  font-size: 14px;
  font-weight: 600;
}

.welcome-notification__top time {
  color: rgba(238, 234, 226, .5);
  font-size: 12px;
}

.welcome-notification > p {
  margin: 14px 0 15px;
  color: rgba(238, 234, 226, .7);
  font-size: 14px;
  line-height: 1.55;
}

.welcome-notification__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #f2eee6;
  background: rgba(255, 255, 255, .07);
  font-size: 14px;
  font-weight: 500;
  cursor: default;
}

.welcome-notification__actions {
  display: grid;
  gap: 8px;
}

.welcome-notification__action.is-primary {
  color: #1d1a17;
  border-color: rgba(238, 227, 207, .36);
  background: #d8c5a3;
}

.welcome-notification__action.is-primary:hover,
.welcome-notification__action.is-primary:focus-visible {
  color: #171512;
  background: #e3d2b4;
}

.welcome-notification__action:hover,
.welcome-notification__action:focus-visible {
  background: rgba(197, 183, 158, .16);
  outline: 1px solid rgba(197, 183, 158, .38);
}

.notification-center__empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 230px;
  color: rgba(238, 234, 226, .56);
  text-align: center;
}

.notification-center__empty[hidden] {
  display: none;
}

.notification-center__empty > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border: 1px solid rgba(197, 183, 158, .36);
  border-radius: 50%;
  color: var(--ri-champagne-300);
}

.notification-center__empty h3 {
  margin: 0;
  color: #eeeae2;
  font-family: var(--ri-font-display);
  font-size: 21px;
  font-weight: 400;
}

.notification-center__empty p {
  margin: 5px 0 0;
  font-size: 14px;
}

.user-profile-panel__body {
  padding: 17px;
}

.user-profile-panel__identity {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.user-profile-panel__identity img {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(238, 231, 219, .42);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .26);
  object-fit: cover;
}

.user-profile-panel__identity h3 {
  margin: 0;
  color: #f5f1e9;
  font-family: var(--ri-font-display);
  font-size: 23px;
  font-weight: 400;
}

.user-profile-panel__identity p,
.user-profile-panel__specialities,
.user-profile-panel__summary {
  color: rgba(238, 234, 226, .64);
  font-size: 14px;
}

.user-profile-panel__identity p {
  margin: 3px 0 0;
}

.user-profile-panel__specialities {
  margin: 17px 0 0;
  color: var(--ri-champagne-300);
  line-height: 1.45;
}

.user-profile-panel__summary {
  margin: 11px 0 0;
  line-height: 1.55;
}

.user-profile-panel__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.user-profile-panel__credentials span {
  padding: 6px 9px;
  border-radius: 999px;
  color: rgba(244, 240, 232, .83);
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
  font-weight: 500;
}

.user-profile-panel__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 17px;
}

.user-profile-panel__actions button,
.user-profile-panel__actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #f2eee6;
  background: rgba(255, 255, 255, .07);
  font-family: var(--ri-font-ui);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: default;
}

.user-profile-panel__actions a {
  gap: 15px;
}

.user-profile-panel__actions button:hover,
.user-profile-panel__actions button:focus-visible,
.user-profile-panel__actions a:hover,
.user-profile-panel__actions a:focus-visible {
  background: rgba(197, 183, 158, .16);
  outline: 1px solid rgba(197, 183, 158, .38);
}

.desktop-home__shortcuts .os-desktop-icon:nth-child(1) {
  top: 84px;
  left: 24px;
}

.desktop-home__shortcuts .os-desktop-icon:nth-child(2) {
  top: 204px;
  left: 24px;
}

.desktop-home__shortcuts .os-desktop-icon:nth-child(3) {
  top: 324px;
  left: 24px;
}

.dock {
  gap: 12px;
  padding-inline: 14px;
}

.dock button > b {
  bottom: calc(100% + 24px);
  z-index: 3;
}

.dock button > b::after {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: 12px;
  height: 7px;
  background: rgba(250, 249, 247, .92);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  transform: translateX(-50%);
}

.os-window-layer .os-window.is-positioned {
  transform: scale(.965);
  transform-origin: center;
}

.os-window-layer .os-window.is-positioned.is-open:not(.is-minimized):not(.is-maximized) {
  transform: scale(1);
}

.os-window-layer .os-window.is-positioned.is-minimized {
  transform: translateY(42vh) scale(.2);
}

@media (max-width: 980px) and (min-width: 761px) {
  .notification-center {
    width: 330px;
  }
}

@media (max-width: 760px) {
  .notification-center,
  .user-profile-panel {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notification-center,
  .user-profile-panel {
    transition: none;
  }
}

.system-preloader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ri-ivory-100);
  background:
    radial-gradient(circle at 50% 42%, rgba(197, 183, 158, .1), transparent 24%),
    var(--ri-noir-950);
  opacity: 1;
  transition: opacity 520ms ease, filter 520ms ease, transform 620ms cubic-bezier(.22, .78, .22, 1);
}

.system-preloader[hidden] {
  display: none;
}

.system-preloader.is-leaving {
  opacity: 0;
  filter: blur(10px);
  transform: scale(1.018);
  pointer-events: none;
}

.system-preloader__content {
  display: grid;
  place-items: center;
  width: min(320px, calc(100vw - 48px));
  text-align: center;
}

.system-preloader__mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(197, 183, 158, .64);
  border-radius: 50%;
  color: var(--ri-ivory-100);
  background: rgba(197, 183, 158, .06);
  box-shadow:
    0 0 0 8px rgba(197, 183, 158, .025),
    0 18px 50px rgba(0, 0, 0, .34);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.system-preloader__content > p {
  margin: 20px 0 0;
  color: #f2ede4;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
}

.system-preloader__content > span:not(.system-preloader__mark) {
  margin-top: 7px;
  color: rgba(238, 234, 226, .5);
  font-size: 12px;
  letter-spacing: .04em;
}

.system-preloader__progress {
  position: relative;
  overflow: hidden;
  width: 176px;
  height: 2px;
  margin-top: 25px;
  border-radius: 999px;
  background: rgba(238, 234, 226, .12);
}

.system-preloader__progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ri-champagne-500), var(--ri-ivory-100));
  box-shadow: 0 0 12px rgba(197, 183, 158, .35);
  animation: system-preloader-progress 1.05s cubic-bezier(.22, .78, .22, 1) forwards;
}

.system-preloader.is-ready .system-preloader__progress i {
  width: 100%;
}

@keyframes system-preloader-progress {
  0% { width: 0; }
  34% { width: 27%; }
  68% { width: 71%; }
  100% { width: 96%; }
}

.home-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  min-height: 100%;
  color: #24211e;
  background:
    radial-gradient(circle at 0 100%, rgba(197, 183, 158, .13), transparent 31%),
    var(--ri-ivory-50);
}

.home-welcome__hero,
.home-welcome__guide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5cqw, 68px);
}

.home-welcome__hero > p:first-child,
.home-welcome__guide > div:first-child > p {
  margin: 0;
  color: var(--ri-champagne-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
}

.home-welcome__identity {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 19px;
}

.home-welcome__identity img {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(118, 101, 77, .22);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(44, 37, 28, .16);
  object-fit: cover;
}

.home-welcome__identity h2 {
  margin: 0;
  font-family: var(--ri-font-display);
  font-size: clamp(37px, 5.3cqw, 62px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
}

.home-welcome__roles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 27px;
}

.home-welcome__roles span {
  display: flex;
  align-items: center;
  color: #3b3732;
  font-family: var(--ri-font-ui);
  font-size: clamp(16px, 2cqw, 20px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.home-welcome__roles span:last-child {
  color: var(--ri-champagne-700);
}

.home-welcome__roles span + span::before {
  width: 1px;
  height: 20px;
  margin: 0 16px;
  background: rgba(75, 71, 65, .24);
  content: "";
}

.home-welcome__introduction {
  max-width: 640px;
  margin: 31px 0 0;
  color: #625d56;
  font-size: 17px;
  line-height: 1.65;
}

.home-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-welcome__actions button,
.home-welcome__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #292724;
  border-radius: 8px;
  color: #f7f3eb;
  background: #292724;
  font: 600 13px/1 var(--ri-font-ui);
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-welcome__actions a {
  border-color: rgba(61, 57, 52, .24);
  color: #3f3a34;
  background: rgba(255, 255, 255, .42);
}

.home-welcome__actions button:hover,
.home-welcome__actions button:focus-visible,
.home-welcome__actions a:hover,
.home-welcome__actions a:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.home-welcome__actions button:focus-visible,
.home-welcome__actions a:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 111, 206, .17);
}

.home-welcome__actions span {
  font-size: 17px;
  font-weight: 400;
}

.home-welcome__guide {
  border-left: 1px solid rgba(75, 71, 65, .13);
  background: rgba(237, 233, 226, .48);
}

.home-welcome__guide h3 {
  margin: 13px 0 0;
  font-family: var(--ri-font-display);
  font-size: clamp(31px, 3.6cqw, 43px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.home-welcome__guide > div:first-child > span {
  display: block;
  max-width: 500px;
  margin-top: 17px;
  color: #6d675f;
  font-size: 15px;
  line-height: 1.6;
}

.home-welcome__steps {
  display: grid;
  margin-top: 31px;
  border-top: 1px solid rgba(75, 71, 65, .13);
}

.home-welcome__steps article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(75, 71, 65, .13);
}

.home-welcome__steps article:last-child {
  border-bottom: 0;
}

.home-welcome__steps article > span {
  padding-top: 2px;
  color: var(--ri-champagne-500);
  font-size: 12px;
}

.home-welcome__steps h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.home-welcome__steps p {
  margin: 3px 0 0;
  color: #777169;
  font-size: 14px;
  line-height: 1.45;
}

.credentials-linkedin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(340px, 100%);
  min-height: 46px;
  margin-top: 24px;
  padding: 0 15px;
  border-radius: 8px;
  color: #f5f1e9;
  background: #24221f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.credentials-linkedin i {
  font-style: normal;
  transition: transform 180ms ease;
}

.credentials-linkedin:hover i,
.credentials-linkedin:focus-visible i {
  transform: translate(3px, -3px);
}

.legacy-game {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #050606;
}

.legacy-game__loader {
  display: grid;
  position: absolute;
  z-index: 2;
  inset: 0;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px;
  color: #eee8dc;
  background:
    radial-gradient(circle at 70% 20%, rgba(171, 144, 106, .16), transparent 34%),
    #050606;
  text-align: center;
  transition: opacity 300ms ease;
}

.legacy-game__loader > span {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(238, 232, 220, .2);
  border-top-color: #c5b79e;
  border-radius: 50%;
  animation: legacy-loader-spin 900ms linear infinite;
}

.legacy-game__loader strong {
  font-size: 15px;
}

.legacy-game__loader p {
  max-width: 320px;
  margin: 0;
  color: rgba(238, 232, 220, .64);
  font-size: 13px;
  line-height: 1.5;
}

.legacy-game__loader button {
  min-height: 36px;
  margin-top: 6px;
  padding: 0 14px;
  border: 1px solid rgba(238, 232, 220, .24);
  border-radius: 8px;
  color: #eee8dc;
  background: rgba(255, 255, 255, .07);
}

.legacy-game.is-ready .legacy-game__loader {
  opacity: 0;
  pointer-events: none;
}

@keyframes legacy-loader-spin {
  to { transform: rotate(360deg); }
}

.legacy-game iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050606;
}

.ai-app {
  display: grid;
  grid-template-rows: auto auto minmax(150px, 1fr) auto auto auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: #292622;
  background:
    radial-gradient(circle at 88% 8%, rgba(188, 167, 130, .2), transparent 28%),
    #f5f2ec;
  font-family: var(--ri-font-ui);
}

.ai-app__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  padding: 24px 28px 19px;
  border-bottom: 1px solid rgba(74, 68, 59, .12);
}

.ai-app__hero p {
  margin: 0 0 7px;
  color: #9d8968;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
}

.ai-app__hero h2 {
  margin: 0;
  color: #211f1c;
  font-family: var(--ri-font-display);
  font-size: clamp(29px, 4.2cqw, 43px);
  font-weight: 450;
  letter-spacing: -.035em;
  line-height: 1.03;
}

.ai-app__hero div > span {
  display: block;
  max-width: 640px;
  margin-top: 9px;
  color: #706a61;
  font-size: 13px;
  line-height: 1.5;
}

.ai-app__status {
  padding: 8px 11px;
  border: 1px solid #d3c8b7;
  border-radius: 999px;
  color: #77664d;
  background: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.ai-app__status[data-mode="local"] {
  border-color: #9eaf9f;
  color: #526353;
  background: #edf2eb;
}

.ai-app__status[data-mode="unsupported"] {
  border-color: #d7b9ae;
  color: #8a584a;
  background: #f5eae6;
}

.ai-app__privacy {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin: 13px 28px 0;
  padding: 10px 12px;
  border: 1px solid rgba(113, 101, 82, .15);
  border-radius: 12px;
  background: rgba(255, 255, 255, .52);
}

.ai-app__privacy-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #eee5d7;
  background: #302b24;
  font-family: var(--ri-font-display);
  font-size: 13px;
}

.ai-app__privacy strong {
  font-size: 12px;
}

.ai-app__privacy p {
  margin: 3px 0 0;
  color: #777066;
  font-size: 11px;
  line-height: 1.4;
}

.ai-app__conversation {
  min-height: 0;
  overflow: auto;
  padding: 17px 28px 11px;
  scrollbar-color: rgba(89, 82, 72, .25) transparent;
  scrollbar-width: thin;
}

.ai-message {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  max-width: 84%;
  margin-bottom: 12px;
}

.ai-message > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  color: #eee7dc;
  background: #332e27;
  font-size: 9px;
  font-weight: 700;
}

.ai-message p {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #dfd8ce;
  border-radius: 4px 13px 13px;
  color: #565047;
  background: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.52;
  white-space: pre-wrap;
}

.ai-message--user {
  grid-template-columns: minmax(0, 1fr) 29px;
  margin-left: auto;
}

.ai-message--user > span {
  grid-column: 2;
  color: #38332c;
  background: #d5c19d;
}

.ai-message--user p {
  grid-row: 1;
  border-color: #cbb99a;
  border-radius: 13px 4px 13px 13px;
  color: #2d2923;
  background: #e8ddca;
}

.ai-app__suggestions {
  display: flex;
  gap: 7px;
  padding: 0 28px 11px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ai-app__suggestions::-webkit-scrollbar {
  display: none;
}

.ai-app__suggestions button {
  flex: 0 0 auto;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid #d5cec3;
  border-radius: 999px;
  color: #665f55;
  background: rgba(255, 255, 255, .54);
  font: 600 11px/1 var(--ri-font-ui);
  cursor: pointer;
}

.ai-app__suggestions button:hover,
.ai-app__suggestions button:focus-visible {
  border-color: #ad9a7d;
  color: #332e28;
  background: #fff;
  outline: none;
}

.ai-app__engine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .75fr);
  align-items: center;
  gap: 18px;
  padding: 10px 28px;
  border-top: 1px solid rgba(75, 70, 63, .11);
  background: rgba(232, 228, 220, .56);
}

.ai-app__engine > div:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.ai-app__engine button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  color: #f7f3eb;
  background: #34302a;
  font: 650 11px/1 var(--ri-font-ui);
  cursor: pointer;
}

.ai-app__engine button:disabled {
  color: #776f64;
  background: #d8d2c8;
  cursor: default;
}

.ai-app__engine p {
  margin: 0;
  color: #81796e;
  font-size: 10px;
  line-height: 1.35;
}

.ai-app__progress {
  display: grid;
  gap: 5px;
}

.ai-app__progress > span {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #d2cbc0;
}

.ai-app__progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #9a805b;
  transition: width 180ms ease;
}

.ai-app__progress small {
  overflow: hidden;
  color: #766e63;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-app__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
  padding: 11px 16px 14px 28px;
  border-top: 1px solid rgba(75, 70, 63, .13);
  background: #f5f2ec;
}

.ai-app__composer textarea {
  width: 100%;
  min-height: 40px;
  max-height: 108px;
  resize: none;
  padding: 10px 12px;
  border: 1px solid #cec7bc;
  border-radius: 12px;
  color: #2a2723;
  background: #fff;
  outline: none;
  font: 13px/1.45 var(--ri-font-ui);
}

.ai-app__composer textarea:focus {
  border-color: #a9916d;
  box-shadow: 0 0 0 3px rgba(169, 145, 109, .13);
}

.ai-app__composer button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  color: #f7f2e9;
  background: #2d2924;
  cursor: pointer;
}

.ai-app__composer button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.ai-app__composer button i {
  font-size: 18px;
  font-style: normal;
}

.ai-app.is-thinking .ai-app__status::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: ai-pulse 1s ease-in-out infinite alternate;
}

@keyframes ai-pulse {
  to { opacity: .25; }
}

.terminal-app {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: #171717;
  background: #fff;
  font-family: var(--ri-font-mono);
  font-size: 14.5px;
  line-height: 1.22;
}

.terminal-app__screen {
  display: flex !important;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  height: 100%;
  min-height: 0;
  padding: 8px 8px 18px;
  overflow: auto;
  color: inherit;
  background: inherit;
  scrollbar-color: rgba(0, 0, 0, .24) transparent;
  scrollbar-width: thin;
  cursor: text;
}

.terminal-app__output {
  flex: 0 0 auto;
  display: block;
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.terminal-app__entry,
.terminal-app__prompt-line {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  min-width: 0;
}

.terminal-app__entry {
  flex-wrap: wrap;
}

.terminal-app__prompt {
  flex: 0 0 auto;
  margin-right: 8px;
  color: #171717;
  white-space: nowrap;
}

.terminal-app__prompt strong {
  color: inherit;
  font-weight: 500;
}

.terminal-app__prompt em {
  color: inherit;
  font-style: normal;
}

.terminal-app__command {
  color: #171717;
}

.terminal-app__result {
  width: 100%;
  color: #171717;
  white-space: pre-wrap;
}

.terminal-app__result.is-error {
  color: #a22920;
}

.terminal-app__input {
  flex: 1 1 auto;
  min-width: 80px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #171717;
  caret-color: #555;
  background: transparent;
  font: inherit;
  line-height: inherit;
  outline: none;
}

.terminal-app__input::selection,
.terminal-app__output ::selection {
  color: #fff;
  background: var(--ri-signal-blue);
}

.terminal-app__directory {
  color: #1d58a5;
  font-weight: 600;
}

@container (max-width: 800px) {
  .home-welcome {
    grid-template-columns: 1fr;
  }

  .home-welcome__hero,
  .home-welcome__guide {
    padding: 34px clamp(22px, 6cqw, 42px);
  }

  .home-welcome__guide {
    border-top: 1px solid rgba(75, 71, 65, .13);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .home-welcome {
    display: block;
  }

  .home-welcome__identity h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .home-welcome__roles span {
    font-size: 16px;
  }

  .home-welcome__introduction {
    font-size: 16px;
  }

  .home-welcome__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legacy-game {
    min-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-preloader,
  .system-preloader__progress i {
    animation: none;
    transition: none;
  }
}

.system-icon--code {
  color: #f5f0e7;
  background:
    radial-gradient(circle at 72% 18%, rgba(225, 205, 171, .24), transparent 34%),
    linear-gradient(145deg, #53626a, #263037);
}

.system-icon--code > img {
  width: 44%;
  height: 44%;
  filter: brightness(0) invert(1);
}

.system-icon--ai {
  color: #f6efe2;
  background:
    radial-gradient(circle at 72% 20%, rgba(225, 203, 160, .38), transparent 34%),
    linear-gradient(145deg, #6c604f, #29241e);
}

.system-icon--ai > span {
  display: grid;
  place-items: center;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(248, 241, 228, .72);
  border-radius: 50%;
  font-family: var(--ri-font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.ri-code-app {
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr);
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: #292724;
  background: #d9d6cf;
  container: ri-code / inline-size;
}

.ri-code-app [hidden] {
  display: none !important;
}

.ri-code-toolbar {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  border-bottom: 1px solid #bbb7af;
  background: rgba(239, 237, 232, .96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .72) inset;
}

.ri-code-toolbar__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.ri-code-toolbar__identity > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border: 1px solid #9e927f;
  border-radius: 8px;
  color: #f7f2e9;
  background: #343c40;
  font-size: 11px;
  font-weight: 700;
}

.ri-code-toolbar__identity > div {
  display: grid;
  min-width: 0;
}

.ri-code-toolbar__identity strong {
  font-size: 13px;
  font-weight: 650;
}

.ri-code-toolbar__identity small {
  overflow: hidden;
  color: #827c73;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ri-code-mode {
  display: flex;
  padding: 3px;
  border: 1px solid #c8c3ba;
  border-radius: 9px;
  background: #dfdcd6;
}

.ri-code-mode button,
.ri-code-toolbar__actions button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #5b5650;
  background: transparent;
  font: 600 12px/1 var(--ri-font-ui);
  cursor: pointer;
}

.ri-code-mode button[aria-pressed="true"] {
  color: #252320;
  background: #f8f6f1;
  box-shadow: 0 1px 5px rgba(48, 43, 36, .16);
}

.ri-code-toolbar__actions {
  display: flex;
  justify-self: end;
  gap: 5px;
}

.ri-code-toolbar__actions button:hover,
.ri-code-toolbar__actions button:focus-visible {
  background: rgba(39, 36, 32, .08);
}

.ri-code-toolbar__actions button.is-primary {
  color: #f7f2e9;
  background: #343c40;
}

.ri-code-workspace {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 0;
}

.ri-code-tools {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 14px 9px 12px;
  border-right: 1px solid #b8b4ac;
  background:
    linear-gradient(145deg, rgba(197, 183, 158, .18), transparent 40%),
    #ece9e3;
}

.ri-code-tools > p {
  margin: 0 7px 10px;
  color: #8a8174;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ri-code-tools > div {
  display: grid;
  gap: 3px;
}

.ri-code-tools button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 3px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #5b5751;
  background: transparent;
  font-family: var(--ri-font-ui);
  text-align: left;
  cursor: pointer;
}

.ri-code-tools button:hover {
  background: rgba(214, 207, 196, .56);
}

.ri-code-tools button[aria-pressed="true"] {
  border-color: #aa9a80;
  color: #292622;
  background: #ddd2c0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .65) inset;
}

.ri-code-tools button span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #c8c2b8;
  border-radius: 6px;
  background: #f8f6f1;
  font-family: var(--ri-font-mono);
  font-size: 17px;
  font-weight: 500;
}

.ri-code-tools button span img {
  width: 18px;
  height: 18px;
}

.ri-code-tools button[data-code-tool="radio"] span img {
  width: 17px;
  height: 17px;
}

.ri-code-tools button b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ri-code-tools__hint {
  margin: auto 6px 0;
  padding-top: 13px;
  border-top: 1px solid #cec9c0;
  color: #858078;
  font-size: 12px;
  line-height: 1.45;
}

.ri-code-stage {
  display: grid;
  grid-template-rows: 39px minmax(0, 1fr) 31px;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .24), transparent 32%),
    #c9c6c0;
}

.ri-code-stage > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 15px;
  border-bottom: 1px solid #b3afa8;
  color: #5f5a53;
  background: rgba(221, 218, 212, .92);
}

.ri-code-stage > header div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.ri-code-page-navigation {
  align-items: center !important;
}

.ri-code-page-navigation button {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid #c3beb6;
  border-radius: 6px;
  color: #4e4942;
  background: rgba(248, 246, 241, .78);
  font: 600 16px/1 var(--ri-font-ui);
  cursor: pointer;
}

.ri-code-page-navigation button:hover,
.ri-code-page-navigation button:focus-visible {
  border-color: #a99b85;
  background: #fff;
}

.ri-code-page-navigation button:disabled {
  opacity: .38;
  cursor: default;
}

.ri-code-page-navigation strong {
  min-width: 104px;
  text-align: center;
}

.ri-code-page-size {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ri-code-page-size span {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.ri-code-page-size input {
  width: 54px;
  height: 25px;
  padding: 0 5px;
  border: 1px solid #c3beb6;
  border-radius: 6px;
  color: #4e4942;
  background: rgba(248, 246, 241, .78);
  font: 600 11px/1 var(--ri-font-ui);
  text-align: center;
}

.ri-code-stage > header strong {
  color: #302d29;
  font-size: 12px;
}

.ri-code-stage > header span,
.ri-code-stage > header p {
  margin: 0;
  color: #817b72;
  font-size: 12px;
}

.ri-code-stage__viewport {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 21px;
  background-image:
    linear-gradient(rgba(82, 78, 71, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 78, 71, .06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.ri-code-canvas-frame {
  position: relative;
  flex: 0 0 auto;
  border: 1px solid #918c84;
  background: #fff;
  box-shadow:
    0 26px 64px rgba(48, 43, 36, .22),
    0 0 0 1px rgba(255, 255, 255, .65);
}

.ri-code-canvas {
  position: absolute;
  inset: 0 auto auto 0;
  width: 640px;
  height: 480px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(197, 183, 158, .055), transparent 38%),
    #fbfaf7;
  transform-origin: 0 0;
  touch-action: none;
}

.ri-code-canvas[data-tool]:not([data-tool="select"]) {
  cursor: crosshair;
}

.ri-code-stage > footer {
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-top: 1px solid #b3afa8;
  color: #716b63;
  background: #dedbd5;
  font-size: 12px;
}

.ri-code-widget {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  min-width: 4px;
  min-height: 4px;
  box-sizing: border-box;
  color: #272522;
  cursor: move;
  touch-action: none;
  user-select: none;
}

.ri-code-widget::after {
  position: absolute;
  z-index: 3;
  inset: -4px;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
}

.ri-code-widget.is-selected::after {
  border-color: var(--ri-signal-blue);
}

.ri-code-widget.is-selected {
  box-shadow:
    -4px -4px 0 -3px var(--ri-signal-blue),
    4px -4px 0 -3px var(--ri-signal-blue),
    -4px 4px 0 -3px var(--ri-signal-blue),
    4px 4px 0 -3px var(--ri-signal-blue);
}

.ri-code-widget__resize {
  display: none;
  position: absolute;
  z-index: 5;
  right: -7px;
  bottom: -7px;
  width: 11px;
  height: 11px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: var(--ri-signal-blue);
  cursor: nwse-resize;
}

.ri-code-widget.is-selected .ri-code-widget__resize {
  display: block;
}

.ri-code-widget--text {
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 5px;
  font-family: var(--ri-font-display);
  font-size: 28px;
  line-height: 1;
}

.ri-code-widget--text > span,
.ri-code-widget--button > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ri-code-widget--button {
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid #22211f;
  border-radius: 6px;
  color: #f8f5ef;
  background: linear-gradient(#3e3c38, #242321);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset;
  font: 600 14px/1 var(--ri-font-ui);
}

.ri-code-widget--image {
  overflow: hidden;
  border: 1px solid #b8b1a6;
  color: #8f877a;
  background:
    linear-gradient(145deg, rgba(197, 183, 158, .16), transparent),
    #eeeae2;
}

.ri-code-widget--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ri-code-widget__image {
  display: grid;
  place-items: center;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  border: 1px dashed #b6ad9e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
}

.ri-code-widget--rectangle {
  border: 2px solid #6f6a62;
  background: rgba(197, 183, 158, .13);
}

.ri-code-widget--ellipse {
  border: 2px solid #6f6a62;
  border-radius: 50%;
  background: rgba(159, 169, 148, .14);
}

.ri-code-widget--line::before {
  width: 100%;
  border-top: 2px solid #5d5953;
  content: "";
}

.ri-code-widget--table {
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  border: 1px solid #d4cdc2;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 20px rgba(44, 39, 33, .08);
}

.ri-code-widget--table table {
  width: 100%;
  border-collapse: collapse;
  color: #4c4740;
  font: 11px/1.25 var(--ri-font-ui);
  text-align: left;
  pointer-events: none;
}

.ri-code-widget--table th,
.ri-code-widget--table td {
  overflow: hidden;
  padding: 7px 9px;
  border-bottom: 1px solid #e5dfd6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ri-code-widget--table th {
  color: #847a6c;
  background: #eee9e1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ri-code-widget--table tbody tr:last-child td {
  border-bottom: 0;
}

.ri-code-widget--table td:nth-child(3) {
  color: #657767;
  font-weight: 650;
}

.ri-code-widget--table td:last-child {
  color: #302d29;
  font-weight: 650;
  text-align: right;
}

.ri-code-widget--textarea {
  align-items: stretch;
  justify-content: stretch;
}

.ri-code-widget--textarea textarea {
  width: 100%;
  height: 100%;
  resize: none;
  padding: 8px 10px;
  border: 1px solid #bcb5aa;
  border-radius: 7px;
  color: #34312d;
  background: rgba(255, 255, 255, .92);
  font: 12px/1.35 var(--ri-font-ui);
}

.ri-code-widget--checkbox,
.ri-code-widget--radio {
  justify-content: flex-start;
  gap: 8px;
  padding: 0 7px;
  font: 13px/1.2 var(--ri-font-ui);
}

.ri-code-widget--checkbox input,
.ri-code-widget--radio input {
  width: 17px;
  height: 17px;
  accent-color: #343c40;
}

.ri-code-app:not(.is-preview) .ri-code-widget textarea,
.ri-code-app:not(.is-preview) .ri-code-widget input {
  pointer-events: none;
}

.ri-code-widget--rectangle[data-variant="sample-card"] {
  border: 1px solid #d8d0c3;
  border-radius: 12px;
  background:
    radial-gradient(circle at 84% 12%, rgba(196, 177, 146, .2), transparent 34%),
    #f5f2ec;
  box-shadow: 0 18px 42px rgba(50, 44, 35, .12);
}

.ri-code-widget--text[data-variant="sample-eyebrow"] {
  color: #93826a;
  font-family: var(--ri-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.ri-code-widget--text[data-variant="sample-title"] {
  align-items: flex-start;
  padding: 0;
  font-size: 37px;
  line-height: .98;
}

.ri-code-widget--text[data-variant="sample-title"] > span,
.ri-code-widget--text[data-variant="sample-body"] > span {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.ri-code-widget--text[data-variant="sample-body"] {
  align-items: flex-start;
  padding: 0;
  color: #686158;
  font-family: var(--ri-font-ui);
  font-size: 14px;
  line-height: 1.48;
}

.ri-code-widget--image[data-variant="sample-image"] {
  border: 0;
  border-radius: 9px;
  box-shadow: 0 16px 34px rgba(41, 37, 32, .16);
}

.ri-code-widget--button[data-variant="sample-primary"] {
  border-color: #2c2b28;
  background: #2c2b28;
}

.ri-code-widget--button[data-variant="sample-secondary"] {
  border-color: #c2b8aa;
  color: #35312c;
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
}

.ri-code-widget--table[data-variant="sample-table"] {
  box-shadow: 0 12px 28px rgba(43, 38, 31, .09);
}

.ri-code-app.is-preview .ri-code-widget {
  cursor: pointer;
}

.ri-code-app.is-preview .ri-code-widget::after,
.ri-code-app.is-preview .ri-code-widget__resize {
  display: none;
}

.ri-code-editor {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 30;
  inset: 0;
  padding: 24px;
  background: rgba(22, 21, 19, .48);
  opacity: 1;
  transition: opacity 180ms ease;
  backdrop-filter: blur(14px);
}

.ri-code-editor[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.ri-code-editor__sheet {
  display: grid;
  gap: 15px;
  width: min(560px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 15px;
  background: #f5f2ec;
  box-shadow: 0 32px 90px rgba(16, 14, 12, .38);
  transform: translateY(0) scale(1);
  transition: transform 240ms var(--ri-ease-luxury);
}

.ri-code-editor[aria-hidden="true"] .ri-code-editor__sheet {
  transform: translateY(16px) scale(.98);
}

.ri-code-editor__sheet > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d6d0c7;
}

.ri-code-editor__sheet > header span {
  color: var(--ri-champagne-700);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ri-code-editor__sheet h2 {
  margin: 3px 0 0;
  font-family: var(--ri-font-display);
  font-size: 27px;
  font-weight: 450;
}

.ri-code-editor__sheet > header button {
  display: grid;
  position: relative;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #5e5952;
  background: #e5e0d7;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
}

.ri-code-editor__sheet > header button::before,
.ri-code-editor__sheet > header button::after {
  position: absolute;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.ri-code-editor__sheet > header button::before {
  transform: rotate(45deg);
}

.ri-code-editor__sheet > header button::after {
  transform: rotate(-45deg);
}

.ri-code-editor__sheet > label {
  display: grid;
  gap: 6px;
  color: #625d56;
  font-size: 12px;
  font-weight: 600;
}

.ri-code-editor__sheet > label small {
  color: #8a8379;
  font-size: 11px;
  font-weight: 450;
  line-height: 1.4;
}

.ri-code-editor__check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.ri-code-editor__check input {
  width: 18px;
  height: 18px;
}

.ri-code-compiler__sheet {
  width: min(480px, 100%);
}

.ri-code-compiler__description {
  margin: 0;
  color: #716a61;
  font-size: 14px;
  line-height: 1.55;
}

.ri-code-compiler__sheet > footer {
  grid-template-columns: 1fr auto auto;
}

.compiled-app-runtime {
  display: grid;
  position: relative;
  place-items: start;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #fbfaf7;
}

.compiled-app-runtime__frame {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fbfaf7;
  box-shadow: none;
}

.os-window[data-app^="compiled-"] {
  min-width: 0;
  min-height: 0;
}

.os-window[data-app^="compiled-"] .os-window__content {
  overflow: hidden;
}

.compiled-app-runtime__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 640px;
  height: 480px;
  overflow: hidden;
  background: #fbfaf7;
  transform-origin: 0 0;
}

.compiled-app-runtime .ri-code-widget {
  cursor: default;
}

.compiled-app-runtime .ri-code-widget textarea,
.compiled-app-runtime .ri-code-widget input {
  pointer-events: auto;
}

.compiled-app-runtime .ri-code-widget--table table {
  pointer-events: auto;
}

.compiled-app-runtime .ri-code-widget--table tbody tr {
  cursor: pointer;
}

.compiled-app-runtime .ri-code-widget--table tbody tr:hover,
.compiled-app-runtime .ri-code-widget--table tbody tr.is-selected {
  background: rgba(197, 183, 158, .24);
}

.compiled-app-runtime button.ri-code-widget {
  cursor: pointer;
}

.compiled-app-runtime__toast {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  padding: 10px 14px;
  border-radius: 9px;
  color: #f7f2e9;
  background: rgba(39, 37, 33, .94);
  box-shadow: 0 15px 34px rgba(0, 0, 0, .24);
  font-size: 13px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 220ms var(--ri-ease-luxury);
}

.compiled-app-runtime__toast[aria-hidden="true"] {
  opacity: 0;
  transform: translateY(7px);
  pointer-events: none;
}

.ri-code-editor__sheet input,
.ri-code-editor__sheet textarea {
  width: 100%;
  border: 1px solid #c8c1b7;
  border-radius: 8px;
  color: #26231f;
  background: #fff;
  outline: none;
}

.ri-code-editor__sheet textarea[data-code-value],
.ri-code-editor__sheet textarea[data-code-table-columns],
.ri-code-editor__sheet textarea[data-code-table-rows] {
  min-height: 72px;
  font-family: var(--ri-font-ui);
}

.ri-code-editor__sheet input {
  height: 38px;
  padding: 0 11px;
  font: 14px/1 var(--ri-font-ui);
}

.ri-code-editor__sheet textarea {
  min-height: 170px;
  padding: 12px;
  resize: vertical;
  font: 13px/1.55 var(--ri-font-mono);
  tab-size: 2;
}

.ri-code-editor__sheet input:focus,
.ri-code-editor__sheet textarea:focus {
  border-color: var(--ri-signal-blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 206, .12);
}

.ri-code-editor__sheet > p {
  margin: -5px 0 0;
  color: #817a70;
  font-size: 12px;
  line-height: 1.5;
}

.ri-code-editor__sheet > footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 7px;
  padding-top: 3px;
}

.ri-code-editor__sheet > footer button {
  min-height: 35px;
  padding: 0 13px;
  border: 1px solid #c9c2b8;
  border-radius: 7px;
  color: #4f4a44;
  background: #ebe7df;
  font: 600 12px/1 var(--ri-font-ui);
  cursor: pointer;
}

.ri-code-editor__sheet > footer button.is-primary {
  border-color: #343c40;
  color: #f7f2e9;
  background: #343c40;
}

.ri-code-editor__sheet > footer button.is-danger {
  border-color: rgba(173, 77, 67, .25);
  color: #a14c43;
  background: rgba(204, 103, 91, .08);
}

.ri-code-toast {
  position: absolute;
  z-index: 35;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100% - 36px));
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: #f5f0e7;
  background: rgba(36, 35, 32, .94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .25);
  font-size: 13px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 220ms var(--ri-ease-luxury);
}

.ri-code-toast[aria-hidden="true"] {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

@container ri-code (max-width: 760px) {
  .ri-code-toolbar {
    grid-template-columns: minmax(130px, 1fr) auto minmax(190px, 1fr);
    gap: 7px;
  }

  .ri-code-toolbar__identity > span {
    display: none;
  }

  .ri-code-toolbar__actions button {
    padding-inline: 8px;
  }

  .ri-code-workspace {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ri-code-tools button {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .ri-code-tools button b {
    display: none;
  }

  .ri-code-tools__hint {
    display: none;
  }
}

@media (max-width: 760px) {
  .system-dialog {
    align-items: end;
    padding: 10px;
  }

  .system-dialog__sheet {
    max-height: min(84svh, 680px);
    padding: 21px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 10px 10px;
  }

  .system-dialog__sheet footer button {
    min-height: 44px;
  }

  .ri-code-app {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .ri-code-toolbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px;
    padding-block: 6px;
    min-height: 52px;
  }

  .ri-code-toolbar__identity {
    justify-self: start;
  }

  .ri-code-mode {
    display: none;
  }

  .ri-code-toolbar__actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    padding-bottom: 1px;
  }

  .ri-code-toolbar__actions button[data-code-reset] {
    display: none;
  }

  .ri-code-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: 61px minmax(0, 1fr);
  }

  .ri-code-tools {
    display: block;
    overflow-x: auto;
    padding: 7px 10px;
    border-right: 0;
    border-bottom: 1px solid #b8b4ac;
    white-space: nowrap;
  }

  .ri-code-tools > p,
  .ri-code-tools__hint {
    display: none;
  }

  .ri-code-tools > div {
    display: flex;
    gap: 5px;
  }

  .ri-code-tools button {
    display: grid;
    grid-template-columns: 38px;
    min-width: 44px;
    min-height: 44px;
    padding: 2px;
  }

  .ri-code-tools button span {
    width: 36px;
    height: 36px;
  }

  .ri-code-stage {
    grid-template-rows: 38px minmax(0, 1fr) 36px;
  }

  .ri-code-stage > header {
    gap: 6px;
    padding-inline: 8px;
  }

  .ri-code-stage > header > p,
  .ri-code-page-navigation > span {
    display: none;
  }

  .ri-code-page-navigation {
    width: 100%;
    justify-content: flex-start;
    gap: 5px !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ri-code-page-navigation strong {
    min-width: 88px;
    font-size: 11px;
  }

  .ri-code-stage__viewport {
    padding: 12px;
  }

  .ri-code-editor {
    align-items: end;
    overflow: hidden;
    padding: 10px;
  }

  .ri-code-editor__sheet {
    width: 100%;
    max-height: calc(100% - 4px);
    overscroll-behavior: contain;
    gap: 12px;
    padding: 16px;
    border-radius: 15px 15px 8px 8px;
  }

  .ri-code-editor__sheet textarea {
    min-height: 92px;
  }

  .ri-code-editor__sheet > footer {
    grid-template-columns: 1fr 1fr;
  }

  .ri-code-editor__sheet > footer span {
    display: none;
  }

  .ri-code-editor__sheet > footer button {
    min-height: 42px;
  }

  .ri-code-editor__sheet > footer button.is-danger {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .mobile-home {
    display: flex;
    min-height: 100svh;
    padding: calc(10px + env(safe-area-inset-top)) 17px calc(12px + env(safe-area-inset-bottom));
    overflow: hidden;
    touch-action: pan-x pan-y;
  }

  .mobile-status {
    position: relative;
    grid-template-columns: 1fr 1fr;
    min-height: 34px;
    color: #f5f1e9;
  }

  .mobile-status time {
    padding-left: 5px;
    font-size: 14px;
    letter-spacing: -.01em;
  }

  .mobile-status__island {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    color: rgba(246, 242, 234, .86);
    background: rgba(2, 2, 2, .9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
    font: 650 10.5px/1 var(--ri-font-ui);
    letter-spacing: .03em;
    transform: translate(-50%, -50%);
  }

  .mobile-status__signals {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 8px;
    min-width: 58px;
    min-height: 34px;
    padding: 0 4px;
    border: 0;
    color: #f5f1e9;
    background: transparent;
  }

  .mobile-status__signals > img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
  }

  .mobile-signal {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 13px;
  }

  .mobile-signal i {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: currentColor;
  }

  .mobile-signal i:nth-child(1) { height: 5px; opacity: .62; }
  .mobile-signal i:nth-child(2) { height: 8px; opacity: .8; }
  .mobile-signal i:nth-child(3) { height: 11px; }

  .mobile-widgets {
    display: grid;
    grid-template-columns: minmax(104px, .72fr) minmax(0, 1.28fr);
    gap: 11px;
    margin-top: clamp(14px, 2.8vh, 24px);
  }

  .mobile-date-widget,
  .mobile-welcome-widget {
    min-height: clamp(128px, 18.5vh, 158px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 23px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
    backdrop-filter: blur(24px) saturate(1.12);
    -webkit-backdrop-filter: blur(24px) saturate(1.12);
  }

  .mobile-date-widget {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 14px;
    color: #181715;
    background:
      radial-gradient(circle at 84% 14%, rgba(255, 255, 255, .4), transparent 30%),
      linear-gradient(145deg, #d6c09a, #a78d65);
  }

  .mobile-date-widget p,
  .mobile-date-widget span {
    margin: 0;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .11em;
  }

  .mobile-date-widget strong {
    margin: auto 0 -5px;
    font-family: var(--serif);
    font-size: clamp(56px, 16vw, 74px);
    font-weight: 400;
    letter-spacing: -.075em;
    line-height: .84;
  }

  .mobile-welcome-widget {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid rgba(244, 239, 230, .13);
    color: #f5f1e9;
    background:
      radial-gradient(circle at 92% 4%, rgba(197, 183, 158, .24), transparent 39%),
      rgba(24, 23, 21, .74);
    font: inherit;
    text-align: left;
  }

  .mobile-welcome-widget__head {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
  }

  .mobile-welcome-widget__head img {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    object-fit: cover;
  }

  .mobile-welcome-widget__head > span {
    display: grid;
    min-width: 0;
  }

  .mobile-welcome-widget__head b {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-welcome-widget__head small {
    color: rgba(245, 241, 233, .5);
    font-size: 10px;
  }

  .mobile-welcome-widget > span:last-child {
    margin-top: auto;
    color: rgba(245, 241, 233, .78);
    font-size: 13px;
    line-height: 1.38;
  }

  .mobile-section-label {
    margin: clamp(20px, 3.6vh, 30px) 5px 12px;
    color: rgba(245, 241, 233, .52);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .mobile-app-grid {
    flex: 0 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: clamp(16px, 2.5vh, 24px) 10px;
    margin: 0;
  }

  .mobile-app-grid button,
  .mobile-dock button {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: 0;
    color: #f4f0e8;
    background: transparent;
    font-family: var(--ri-font-ui);
  }

  .mobile-app-grid .system-icon,
  .mobile-dock .system-icon {
    width: clamp(58px, 17vw, 68px);
    height: clamp(58px, 17vw, 68px);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .24), 0 1px 0 rgba(255, 255, 255, .22) inset;
  }

  .mobile-app-grid b,
  .mobile-dock b {
    overflow: hidden;
    width: 100%;
    margin-top: 7px;
    color: #f4f0e8;
    font-size: 11px;
    font-weight: 450;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-search-pill {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 6px;
    min-height: 28px;
    margin: auto 0;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    color: rgba(245, 241, 233, .65);
    background: rgba(14, 14, 13, .38);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font: 500 11px/1 var(--ri-font-ui);
  }

  .mobile-search-pill svg {
    width: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .mobile-dock {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 10px 18px 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 27px;
    background: rgba(24, 23, 21, .56);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .26), 0 1px 0 rgba(255, 255, 255, .09) inset;
    backdrop-filter: blur(28px) saturate(1.22);
    -webkit-backdrop-filter: blur(28px) saturate(1.22);
  }

  .mobile-dock b {
    display: none;
  }

  .mobile-notification-shade {
    display: flex;
    position: absolute;
    z-index: 80;
    inset: 0;
    flex-direction: column;
    padding: calc(10px + env(safe-area-inset-top)) 17px calc(18px + env(safe-area-inset-bottom));
    overflow: auto;
    color: #f5f1e9;
    background:
      radial-gradient(circle at 82% 4%, rgba(197, 183, 158, .3), transparent 34%),
      linear-gradient(155deg, rgba(28, 27, 25, .94), rgba(8, 8, 8, .97));
    opacity: 0;
    transform: translateY(-102%);
    transition: transform 480ms var(--ease), opacity 260ms ease;
    pointer-events: none;
    touch-action: pan-y;
  }

  .os.mobile-notification-open .mobile-notification-shade {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .mobile-notification-shade__status {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 34px;
  }

  .mobile-notification-shade__status time {
    padding-left: 5px;
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-notification-shade__status button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
  }

  .mobile-notification-shade__status button span {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #f5f1e9;
  }

  .mobile-notification-shade__date {
    margin: 22px 4px 26px;
  }

  .mobile-notification-shade__date p {
    margin: 0 0 4px;
    color: #c5b79e;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
  }

  .mobile-notification-shade__date strong {
    font-family: var(--serif);
    font-size: clamp(42px, 12vw, 58px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1;
  }

  .mobile-control-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .mobile-control-panel button {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    color: #f5f1e9;
    background: rgba(255, 255, 255, .08);
    font-family: var(--ri-font-ui);
    text-align: left;
  }

  .mobile-control-panel button span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #171614;
    background: #c5b79e;
    font-size: 19px;
  }

  .mobile-control-panel button b {
    font-size: 11px;
    font-weight: 550;
    line-height: 1.25;
  }

  .mobile-notification-card {
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    color: #27231f;
    background: rgba(248, 246, 241, .94);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .25);
  }

  .mobile-notification-card header {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .mobile-notification-card header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
  }

  .mobile-notification-card header div {
    display: grid;
  }

  .mobile-notification-card header strong {
    font-size: 12px;
  }

  .mobile-notification-card header time {
    color: #8b847a;
    font-size: 11px;
  }

  .mobile-notification-card h2 {
    margin: 17px 0 7px;
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
  }

  .mobile-notification-card p {
    margin: 0;
    color: #625d56;
    font-size: 14px;
    line-height: 1.5;
  }

  .mobile-notification-card > button {
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    border: 0;
    border-radius: 12px;
    color: #f8f6f1;
    background: #252320;
    font: 600 13px/1 var(--ri-font-ui);
  }

  .mobile-notification-shade__hint {
    margin: auto 0 0;
    padding-top: 25px;
    color: rgba(245, 241, 233, .47);
    font-size: 11px;
    text-align: center;
  }

  .mobile-app {
    z-index: 30;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100svh;
    overflow: hidden;
    background: #f8f6f1;
    opacity: 1;
    transform: translateX(102%);
    transition: transform 480ms var(--ease), visibility 480ms;
  }

  .os.mobile-app-open .mobile-app {
    transform: none;
  }

  .mobile-app__bar {
    min-height: calc(50px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 13px 0;
    border-bottom: 1px solid rgba(69, 64, 58, .13);
    background: rgba(248, 246, 241, .86);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
  }

  .mobile-app__bar > button {
    min-width: 48px;
    min-height: 44px;
    margin: 0;
  }

  .mobile-app__bar h2 {
    max-width: 52vw;
    overflow: hidden;
    color: #292622;
    font-size: 14px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-app__bar #mobile-app-back {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #8f7958;
    font-size: 25px;
  }

  .mobile-app__more {
    display: flex;
    justify-self: end;
    justify-content: center;
    align-items: center;
    gap: 3px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-app__more i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #706a62;
  }

  .mobile-app__content {
    min-height: 0;
    overscroll-behavior: contain;
    padding-bottom: calc(13px + env(safe-area-inset-bottom));
  }

  .mobile-home-indicator {
    position: absolute;
    z-index: 12;
    left: 50%;
    bottom: calc(5px + env(safe-area-inset-bottom));
    width: 112px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(30, 29, 27, .62);
    transform: translateX(-50%);
  }

  .mobile-app[data-app="clients"] .mobile-app__content,
  .mobile-app[data-app="projects"] .mobile-app__content,
  .mobile-app[data-app="code"] .mobile-app__content,
  .mobile-app[data-app="terminal"] .mobile-app__content,
  .mobile-app[data-app="legacy"] .mobile-app__content {
    overflow: hidden;
    padding-bottom: 0;
  }

  .app-page {
    padding: 26px 20px calc(58px + env(safe-area-inset-bottom));
  }

  .app-page__eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .app-page__title {
    font-size: clamp(39px, 12vw, 52px);
    line-height: .98;
  }

  .about-hero {
    gap: 20px;
  }

  .about-gallery,
  .profile-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .client-browser,
  .project-explorer-app,
  .ri-code-app,
  .terminal-app,
  .legacy-game {
    height: 100%;
    min-height: 0;
  }

  .client-browser .client-toolbar,
  .project-explorer-toolbar {
    height: 48px;
    grid-template-columns: 34px 1px minmax(0, 1fr);
    gap: 7px;
    padding: 0 9px;
  }

  .client-location,
  .project-toolbar__location,
  .client-view-switch,
  .project-view-switch {
    display: none;
  }

  .client-browser .client-search,
  .project-explorer-search {
    width: auto;
    min-width: 0;
    height: 32px;
  }

  .client-main,
  .project-explorer-main {
    padding: 17px 13px calc(45px + env(safe-area-inset-bottom));
  }

  .client-main__header h2,
  .project-main__header h2 {
    font-size: 25px;
  }

  .client-browser .client-grid,
  .project-browser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 7px;
  }

  .client-browser .client-card {
    min-height: 142px;
    padding: 6px;
    border-radius: 13px;
  }

  .client-browser .client-card__logo {
    height: 88px;
    border-radius: 9px;
  }

  .client-card__name {
    font-size: 12px;
  }

  .client-card__sector {
    font-size: 10px;
  }

  .project-item {
    padding: 4px;
    border-radius: 12px;
  }

  .project-item__preview {
    border-radius: 9px;
  }

  .project-item__copy strong {
    font-size: 12px;
  }

  .client-sidebar,
  .project-explorer-sidebar {
    top: 0;
    bottom: 0;
    width: min(292px, 88vw);
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
    background: rgba(243, 240, 234, .98);
    box-shadow: 24px 0 60px rgba(25, 22, 18, .27);
  }

  .project-inspector {
    z-index: 16;
    width: 100%;
    padding-bottom: calc(35px + env(safe-area-inset-bottom));
  }

  .project-detail-gallery {
    grid-template-columns: 1fr;
  }

  .project-detail-gallery button,
  .project-detail-gallery button:first-child {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }

  .terminal-app {
    font-size: clamp(12px, 3.7vw, 14px);
    line-height: 1.28;
  }

  .terminal-app__screen {
    padding: 15px 12px calc(34px + env(safe-area-inset-bottom));
  }

  .terminal-app__prompt {
    margin-right: 6px;
  }

  .ri-code-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 6px 9px;
  }

  .ri-code-toolbar__identity > span,
  .ri-code-toolbar__identity small {
    display: none;
  }

  .ri-code-toolbar__identity strong {
    font-size: 12px;
  }

  .ri-code-mode {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }

  .ri-code-mode button {
    flex: 1;
  }

  .ri-code-toolbar__actions button {
    min-height: 32px;
    padding-inline: 9px;
  }

  .ri-code-workspace {
    grid-template-rows: 58px minmax(0, 1fr);
  }

  .ri-code-tools {
    padding: 6px 8px;
  }

  .ri-code-tools > div {
    gap: 7px;
  }

  .ri-code-tools button {
    grid-template-columns: 40px;
    min-width: 44px;
    min-height: 44px;
  }

  .ri-code-stage {
    grid-template-rows: 38px minmax(0, 1fr) 31px;
  }

  .ri-code-stage__viewport {
    padding: 9px;
  }

  .ri-code-editor {
    z-index: 20;
    inset: 0;
    padding: 0;
  }

  .ri-code-editor__sheet {
    max-height: 100%;
    overflow: auto;
    padding: 18px 16px calc(22px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }

  .ri-code-editor__sheet h2 {
    font-size: 29px;
  }

  .ri-code-editor__sheet > header button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 370px), (max-height: 690px) and (max-width: 760px) {
  .mobile-widgets {
    margin-top: 8px;
  }

  .mobile-date-widget,
  .mobile-welcome-widget {
    min-height: 112px;
  }

  .mobile-section-label {
    margin-top: 12px;
    margin-bottom: 8px;
  }

  .mobile-app-grid {
    gap: 10px 8px;
  }

  .mobile-app-grid .system-icon,
  .mobile-dock .system-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .mobile-search-pill {
    margin-bottom: 6px;
  }

  .mobile-dock {
    padding-block: 8px;
  }
}

@media (max-width: 760px) {
  .mobile-date-widget,
  .mobile-welcome-widget {
    min-height: 120px;
    max-height: 120px;
  }

  .mobile-date-widget {
    justify-content: flex-start;
    padding: 14px 16px 13px;
  }

  .mobile-date-widget strong {
    margin: 9px 0 -2px;
    font-size: clamp(45px, 13vw, 58px);
    line-height: .82;
  }

  .mobile-date-widget span {
    margin-top: auto;
  }

  .mobile-welcome-widget {
    padding: 14px;
  }

  .mobile-welcome-widget > span:last-child {
    font-size: 12px;
    line-height: 1.35;
  }

  .mobile-onboarding-toast {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    margin: auto 0 9px;
    padding: 9px 8px 9px 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 19px;
    color: #f5f1e9;
    background:
      linear-gradient(120deg, rgba(197, 183, 158, .13), transparent 45%),
      rgba(21, 20, 19, .72);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
    backdrop-filter: blur(23px) saturate(1.15);
    -webkit-backdrop-filter: blur(23px) saturate(1.15);
    cursor: pointer;
  }

  .mobile-onboarding-toast[hidden] {
    display: none;
  }

  .mobile-onboarding-toast__mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(197, 183, 158, .55);
    border-radius: 11px;
    color: #e8dfd0;
    font-size: 11px;
    font-weight: 650;
  }

  .mobile-onboarding-toast > span:nth-child(2) {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .mobile-onboarding-toast strong {
    font-size: 12px;
    font-weight: 650;
  }

  .mobile-onboarding-toast small {
    color: rgba(245, 241, 233, .62);
    font-size: 11px;
    line-height: 1.28;
  }

  .mobile-onboarding-toast button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0 0 2px;
    border: 0;
    border-radius: 50%;
    color: rgba(245, 241, 233, .72);
    background: rgba(255, 255, 255, .08);
    font: 300 20px/1 var(--ri-font-ui);
  }

  .mobile-search-pill {
    margin: 0 auto 9px;
  }

  .mobile-language-panel {
    display: grid;
    gap: 7px;
    margin: 0 0 14px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
  }

  .mobile-language-panel[hidden],
  .mobile-install-guide[hidden] {
    display: none;
  }

  .mobile-language-panel button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 13px;
    border: 0;
    border-radius: 12px;
    color: #f5f1e9;
    background: transparent;
    font: 550 13px/1 var(--ri-font-ui);
  }

  .mobile-language-panel button[aria-pressed="true"] {
    color: #211f1c;
    background: #c5b79e;
  }

  .mobile-language-panel button b {
    font-size: 11px;
    font-weight: 650;
  }

  .mobile-install-guide {
    margin: 0 0 14px;
    padding: 15px;
    border: 1px solid rgba(197, 183, 158, .28);
    border-radius: 18px;
    background: rgba(197, 183, 158, .1);
  }

  .mobile-install-guide strong {
    display: block;
    font-size: 13px;
  }

  .mobile-install-guide p {
    margin: 7px 0 0;
    color: rgba(245, 241, 233, .68);
    font-size: 12px;
    line-height: 1.45;
  }

  .mobile-app__bar {
    grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
  }

  .mobile-app__bar #mobile-app-back {
    display: grid;
    grid-template-columns: 8px auto;
    justify-self: start;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 0;
    font-size: 0;
  }

  .mobile-app__bar #mobile-app-back i {
    width: 9px;
    height: 9px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .mobile-app__bar #mobile-app-back span {
    font-size: 15px;
    line-height: 1;
    vertical-align: initial;
  }

  .mobile-app__bar-balance {
    justify-self: end;
    width: 48px;
    height: 44px;
  }

  .client-browser,
  .project-explorer-app {
    grid-template-rows: 48px minmax(0, 1fr);
  }

  .mobile-app[data-app="profile"] .about-linkedin {
    border-bottom: 0;
  }
}

@media (max-height: 690px) and (max-width: 760px) {
  .mobile-date-widget,
  .mobile-welcome-widget {
    min-height: 104px;
    max-height: 104px;
  }

  .mobile-date-widget strong {
    margin-top: 6px;
    font-size: 43px;
  }

  .mobile-onboarding-toast {
    min-height: 58px;
    padding-block: 7px;
  }

  .mobile-onboarding-toast small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.system-icon--website {
  color: #f5f0e7;
  background:
    radial-gradient(circle at 76% 18%, rgba(229, 218, 197, .28), transparent 33%),
    linear-gradient(145deg, #647675, #344746);
}

.system-icon--website > img {
  width: 45%;
  height: 45%;
  filter: brightness(0) invert(1);
}

.website-browser {
  display: grid;
  grid-template-rows: 46px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: #302d29;
  background: #ebe8e2;
}

.website-browser__toolbar {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) 34px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-bottom: 1px solid #cbc6bd;
  background: #f2f0eb;
}

.website-browser__navigation {
  display: flex;
  align-items: center;
  gap: 3px;
}

.website-browser__navigation button,
.website-browser__toolbar > a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #57524c;
  background: transparent;
  font: 400 17px/1 var(--ri-font-ui);
  text-decoration: none;
}

.website-browser__navigation button:hover,
.website-browser__toolbar > a:hover {
  background: #e2dfd9;
}

.website-browser__address {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid #d1ccc3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(44, 40, 35, .05) inset;
}

.website-browser__address > span {
  width: 8px;
  height: 8px;
  border: 1.5px solid #7f8b78;
  border-radius: 50%;
}

.website-browser__address input {
  min-width: 0;
  padding: 0;
  border: 0;
  color: #47433e;
  background: transparent;
  font: 500 12px/1 var(--ri-font-ui);
  outline: none;
  text-align: center;
}

.website-browser > iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

@media (max-width: 760px) {
  .mobile-status time {
    grid-column: 1;
  }

  .mobile-status__signals {
    grid-column: 3;
  }

  .mobile-onboarding-toast {
    margin: auto 0 10px;
  }

  .mobile-search-pill {
    margin-top: 0;
  }

  .mobile-onboarding-toast[hidden] + .mobile-search-pill {
    margin-top: auto;
  }

  .mobile-dock {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-inline: 12px;
  }

  .mobile-app[data-app="website"] .mobile-app__content {
    overflow: hidden;
    padding-bottom: 0;
  }

  .website-browser {
    grid-template-rows: 46px minmax(0, 1fr);
  }

  .website-browser__toolbar {
    grid-template-columns: auto minmax(0, 1fr) 32px;
    gap: 6px;
    padding-inline: 7px;
  }

  .website-browser__navigation {
    gap: 0;
  }

  .website-browser__navigation button {
    width: 29px;
    height: 32px;
  }

  .website-browser__address {
    padding-inline: 9px;
  }

  .website-browser__address input {
    font-size: 11px;
  }
}

.system-dialog {
  display: grid;
  place-items: center;
  position: fixed;
  z-index: 260;
  inset: 0;
  padding: 24px;
  background: rgba(18, 17, 15, .46);
  opacity: 1;
  transition: opacity 180ms ease;
  backdrop-filter: blur(16px) saturate(.85);
  -webkit-backdrop-filter: blur(16px) saturate(.85);
}

.system-dialog[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.system-dialog [hidden] {
  display: none !important;
}

.system-dialog__sheet {
  width: min(480px, 100%);
  max-height: min(680px, calc(100svh - 40px));
  overflow: auto;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  color: var(--ri-text-on-light);
  background:
    radial-gradient(circle at 90% 0, rgba(197, 183, 158, .18), transparent 34%),
    #f6f3ed;
  box-shadow: 0 36px 100px rgba(10, 9, 8, .38);
  transform: translateY(0) scale(1);
  transition: transform 240ms var(--ri-ease-luxury);
}

.system-dialog[aria-hidden="true"] .system-dialog__sheet {
  transform: translateY(15px) scale(.98);
}

.system-dialog__eyebrow {
  margin: 0 0 7px;
  color: var(--ri-champagne-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.system-dialog__sheet h2 {
  margin: 0;
  color: var(--ri-text-on-light);
  font-family: var(--ri-font-display);
  font-size: clamp(29px, 5vw, 39px);
  font-weight: 450;
  line-height: 1.04;
}

.system-dialog__message {
  margin: 17px 0 0;
  color: #6b655d;
  font-size: 15px;
  line-height: 1.55;
}

.system-dialog__field {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  color: #5d574f;
  font-size: 13px;
  font-weight: 650;
}

.system-dialog__field input {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid #c8c0b4;
  border-radius: 9px;
  color: #26231f;
  background: #fff;
  outline: 0;
  font: 15px/1 var(--ri-font-ui);
}

.system-dialog__field input:focus {
  border-color: var(--ri-signal-blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 206, .12);
}

.system-dialog__choices {
  display: grid;
  gap: 7px;
  max-height: 310px;
  overflow: auto;
  margin-top: 20px;
}

.system-dialog__choices button {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid #d4cdc2;
  border-radius: 10px;
  color: #302d29;
  background: rgba(255, 255, 255, .68);
  font-family: var(--ri-font-ui);
  text-align: left;
  cursor: pointer;
}

.system-dialog__choices button[aria-pressed="true"] {
  border-color: #a8987f;
  background: #e9dfcf;
}

.system-dialog__choices strong {
  font-size: 14px;
}

.system-dialog__choices span {
  color: #7b746a;
  font-size: 12px;
}

.system-dialog__sheet footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}

.system-dialog__sheet footer button {
  min-height: 39px;
  padding: 0 16px;
  border: 1px solid #c8c1b7;
  border-radius: 8px;
  color: #504a43;
  background: #ebe6dd;
  font: 650 13px/1 var(--ri-font-ui);
  cursor: pointer;
}

.system-dialog__sheet footer button.is-primary {
  border-color: #343c40;
  color: #f8f4ec;
  background: #343c40;
}

.system-dialog__sheet footer button.is-danger {
  border-color: #9e5149;
  background: #9e5149;
}

.system-toast {
  position: fixed;
  z-index: 220;
  top: 55px;
  left: 50%;
  width: max-content;
  max-width: min(430px, calc(100vw - 32px));
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  color: #f6f1e8;
  background: rgba(31, 30, 27, .94);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .3);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  opacity: 1;
  transform: translate(-50%, 0);
  transition: opacity 180ms ease, transform 260ms var(--ease);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}

.system-toast[aria-hidden="true"] {
  opacity: 0;
  transform: translate(-50%, -9px);
  pointer-events: none;
}

@media (max-width: 760px) {
  .mobile-app[data-app="ai"] .mobile-app__content {
    overflow: hidden;
    padding-bottom: 0;
  }

  .ai-app {
    grid-template-rows: auto auto minmax(120px, 1fr) auto auto auto;
    height: 100%;
  }

  .ai-app__hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 16px 14px;
  }

  .ai-app__hero h2 {
    font-size: 31px;
  }

  .ai-app__hero div > span {
    margin-top: 7px;
    font-size: 12px;
  }

  .ai-app__status {
    justify-self: start;
    padding: 6px 9px;
    font-size: 10px;
  }

  .ai-app__privacy {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 9px;
    margin: 10px 12px 0;
    padding: 9px 10px;
  }

  .ai-app__privacy-mark {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }

  .ai-app__privacy p {
    font-size: 10px;
  }

  .ai-app__conversation {
    padding: 13px 12px 8px;
  }

  .ai-message {
    max-width: 94%;
  }

  .ai-message p {
    font-size: 12px;
  }

  .ai-app__suggestions {
    padding: 0 12px 9px;
  }

  .ai-app__engine {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px 12px;
  }

  .ai-app__engine > div:first-child {
    align-items: flex-start;
  }

  .ai-app__engine p {
    font-size: 9px;
  }

  .ai-app__composer {
    padding: 9px 8px calc(11px + env(safe-area-inset-bottom)) 12px;
  }

  .ai-app__composer textarea {
    font-size: 16px;
  }

  html,
  body,
  .os,
  .mobile-home,
  .mobile-app {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .mobile-status__island span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    justify-self: center;
    transform: none;
    text-align: center;
    text-indent: 0;
  }

  .mobile-app__content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  .mobile-app[data-app="clients"] .client-browser,
  .mobile-app[data-app="projects"] .project-explorer-app,
  .mobile-app[data-app="clients"] .client-workspace,
  .mobile-app[data-app="projects"] .project-explorer-workspace,
  .mobile-app[data-app="clients"] .client-main,
  .mobile-app[data-app="projects"] .project-explorer-main,
  .mobile-app[data-app="projects"] .project-inspector {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .mobile-app[data-app="clients"] .client-workspace,
  .mobile-app[data-app="projects"] .project-explorer-workspace,
  .mobile-app[data-app="clients"] .client-main,
  .mobile-app[data-app="projects"] .project-explorer-main {
    overflow-x: hidden;
  }

  .mobile-onboarding-toast {
    grid-template-columns: 44px minmax(0, 1fr) 36px;
    gap: 12px;
    min-height: 92px;
    padding: 13px 11px 13px 13px;
    border-radius: 22px;
  }

  .mobile-onboarding-toast__mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 12px;
  }

  .mobile-onboarding-toast > span:nth-child(2) {
    gap: 4px;
  }

  .mobile-onboarding-toast strong {
    font-size: 13px;
  }

  .mobile-onboarding-toast small {
    font-size: 12px;
    line-height: 1.38;
  }

  .mobile-onboarding-toast button {
    width: 36px;
    height: 36px;
  }

  .mobile-dock {
    align-items: start;
    padding-top: 10px;
    padding-bottom: 9px;
  }

  .mobile-dock button {
    width: 100%;
  }

  .mobile-dock b {
    display: block;
    margin-top: 6px;
    font-size: 9.5px;
    font-weight: 500;
    line-height: 1.15;
  }

  .system-toast {
    top: calc(62px + env(safe-area-inset-top));
    font-size: 12px;
  }
}

@media (max-width: 760px) and (max-height: 690px) {
  .mobile-onboarding-toast {
    min-height: 72px;
    padding-block: 9px;
  }

  .mobile-onboarding-toast__mark {
    width: 38px;
    height: 38px;
  }

  .mobile-onboarding-toast small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mobile-dock b {
    font-size: 9px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    background: #0b0b0a;
    color-scheme: dark;
    overscroll-behavior: none;
  }

  .desktop,
  .os {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    background: #0b0b0a;
  }

  .mobile-home,
  .mobile-app {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    max-width: none;
    background-color: #0b0b0a;
  }

  .mobile-app,
  .mobile-app__content {
    color-scheme: light;
  }

  .mobile-app {
    background-color: #f8f6f1;
  }

  .mobile-app__content,
  .mobile-app[data-app="projects"] .project-explorer-app,
  .mobile-app[data-app="projects"] .project-explorer-workspace,
  .mobile-app[data-app="projects"] .project-explorer-main,
  .mobile-app[data-app="projects"] .project-inspector,
  .mobile-app[data-app="projects"] .project-inspector__body,
  .mobile-app[data-app="projects"] .project-detail-content,
  .mobile-app[data-app="projects"] .project-detail-gallery {
    min-width: 0;
    max-width: 100%;
  }

  .mobile-app__content,
  .mobile-app[data-app="projects"] .project-explorer-workspace,
  .mobile-app[data-app="projects"] .project-explorer-main,
  .mobile-app[data-app="projects"] .project-inspector,
  .mobile-app[data-app="projects"] .project-inspector__body {
    overflow-x: hidden;
  }

  .mobile-app[data-app="projects"] .project-inspector {
    right: 0;
    left: 0;
    width: auto;
    margin: 0;
  }

  .mobile-app[data-app="projects"] .project-inspector__body,
  .mobile-app[data-app="projects"] .project-detail-content {
    margin-right: 0;
    margin-left: 0;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 760px) {
    html {
      height: -webkit-fill-available;
      min-height: -webkit-fill-available;
      background: #0b0b0a;
    }

    body,
    .desktop,
    .os,
    .mobile-home,
    .mobile-app {
      min-height: -webkit-fill-available;
    }
  }
}
