/* Original Relay UI. No client claims or product analytics. */
.relay-app {
  --relay-ink: #25292c;
  --relay-muted: #6c7375;
  --relay-line: #e5e8e7;
  --relay-orange: #ff5e00;
  container-type: inline-size;
  background: #fff;
  border: 1px solid #dfe3e1;
  border-radius: 12px;
  overflow: hidden;
  color: var(--relay-ink);
  font-family: Inter, Arial, sans-serif;
  text-align: left;
  box-shadow: 0 16px 40px #202c2510;
  min-width: 0;
}
.relay-app * {
  box-sizing: border-box;
}
.relay-app [hidden] {
  display: none !important;
}
.relay-app button,
.relay-app input {
  font-family: inherit;
}
.relay-app button {
  cursor: pointer;
}
.relay-app button:disabled {
  cursor: default;
}
.relay-app button:focus-visible,
.relay-app input:focus-visible {
  outline: 2px solid var(--relay-orange);
  outline-offset: 3px;
}
.relay-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: clamp(25px, 4cqw, 42px);
  padding: 0 2.5%;
  border-bottom: 1px solid var(--relay-line);
  font-size: clamp(5px, 0.85cqw, 9px);
  color: #7e8585;
  background: #fafbfa;
  letter-spacing: 0.01em;
}
.relay-window-dots {
  font-size: clamp(4px, 0.65cqw, 7px);
  color: #c8ceca;
  letter-spacing: 2px;
}
.relay-concept {
  font-size: clamp(4px, 0.65cqw, 7px);
  letter-spacing: 0.12em;
  color: #8a9290;
}
.relay-layout {
  display: grid;
  grid-template-columns: 22% minmax(0, 1fr);
  min-height: clamp(300px, 49cqw, 540px);
}
.relay-sidebar {
  padding: clamp(15px, 3cqw, 32px) clamp(10px, 2cqw, 23px);
  border-right: 1px solid var(--relay-line);
  background: #f7f9f7;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.relay-brand {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: clamp(16px, 2.6cqw, 28px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}
.relay-brand > span {
  display: inline-grid;
  place-items: center;
  width: 1.05em;
  height: 1.05em;
  background: var(--relay-ink);
  border-radius: 5px;
  color: #fff;
  font-size: 0.9em;
  font-weight: 400;
  letter-spacing: 0;
}
.relay-sidebar > small {
  font-size: clamp(4px, 0.7cqw, 8px);
  letter-spacing: 0.07em;
  color: #8b9490;
  line-height: 1.7;
  margin-top: clamp(24px, 4.6cqw, 48px);
}
.relay-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.6cqw, 7px);
  margin-top: clamp(10px, 1.5cqw, 16px);
}
.relay-sidebar nav > button {
  display: flex;
  align-items: center;
  gap: clamp(5px, 1cqw, 12px);
  border: 0;
  background: none;
  color: #7c8680;
  font-size: clamp(5px, 1.03cqw, 11px);
  line-height: 1.4;
  padding: clamp(7px, 1.15cqw, 13px) clamp(5px, 0.9cqw, 10px);
  border-radius: 5px;
  text-align: left;
  white-space: nowrap;
}
.relay-sidebar nav > button > span {
  font-size: 1.3em;
  color: #8a948e;
}
.relay-sidebar nav > button[aria-pressed="true"] {
  background: #e9eeea;
  color: #263b2e;
}
.relay-sidebar nav > button[aria-pressed="true"] > span {
  color: #36513c;
}
.relay-sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 35px;
  font-size: clamp(4px, 0.8cqw, 9px);
  line-height: 1.6;
  color: #4b5750;
}
.relay-avatar {
  width: clamp(16px, 2.7cqw, 28px);
  height: clamp(16px, 2.7cqw, 28px);
  display: grid;
  place-items: center;
  background: #e2e9e1;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.8em;
  color: #66745d;
}
.relay-sidebar-bottom small {
  display: block;
  font-size: 0.85em;
  color: #939b96;
}
.relay-content {
  position: relative;
  padding: clamp(18px, 3.5cqw, 38px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}
.relay-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2cqw, 20px);
  padding-bottom: clamp(19px, 3.7cqw, 40px);
}
.relay-overline {
  display: block;
  font-size: clamp(4px, 0.7cqw, 8px);
  line-height: 1.5;
  letter-spacing: 0.07em;
  color: #8a948d;
}
.relay-page-head h3 {
  font-size: clamp(17px, 2.7cqw, 30px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.05em;
  margin: clamp(7px, 1.4cqw, 15px) 0 0;
}
.relay-page-head p {
  font-size: clamp(5px, 0.95cqw, 11px);
  line-height: 1.6;
  color: #7e8881;
  margin: clamp(7px, 1.2cqw, 14px) 0 0;
}
.relay-add {
  flex: none;
  font-size: clamp(5px, 0.9cqw, 10px);
  line-height: 1.5;
  color: #fff;
  background: var(--relay-ink);
  border: 1px solid var(--relay-ink);
  border-radius: 5px;
  padding: clamp(7px, 1.1cqw, 12px) clamp(9px, 1.4cqw, 17px);
}
.relay-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: clamp(5px, 1cqw, 11px);
  padding-bottom: clamp(10px, 1.7cqw, 19px);
  color: #647068;
  line-height: 1.5;
}
.relay-live-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8em;
  color: #909992;
}
.relay-live-label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8b9a77;
}
.relay-request {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.6cqw, 18px);
  padding: clamp(12px, 2.1cqw, 23px) clamp(10px, 1.8cqw, 20px);
  text-align: left;
  border: 1px solid var(--relay-line);
  background: #fff;
  border-radius: 7px;
  margin: 0 0 clamp(7px, 1cqw, 12px);
  color: inherit;
  transition:
    border-color 0.5s,
    background 0.5s;
}
.relay-request.is-active {
  background: #f8faf6;
  border-color: #d7dfcf;
}
.relay-request-symbol {
  flex: none;
  display: grid;
  place-items: center;
  background: #edf0e8;
  width: clamp(19px, 3.4cqw, 36px);
  height: clamp(19px, 3.4cqw, 36px);
  border-radius: 6px;
  font-size: clamp(9px, 1.4cqw, 16px);
  color: #79876d;
}
.relay-request > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.relay-request strong {
  display: block;
  font-size: clamp(7px, 1.2cqw, 13px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.relay-request small {
  display: block;
  font-size: clamp(5px, 0.85cqw, 10px);
  line-height: 1.6;
  color: #879082;
  margin-top: 5px;
}
.relay-status {
  font-size: clamp(4px, 0.75cqw, 9px);
  line-height: 1.6;
  background: #f0f2ed;
  border-radius: 4px;
  padding: 4px 7px;
  color: #798169;
  white-space: nowrap;
}
.relay-request.is-active .relay-status {
  background: #ebeee1;
  color: #6c7953;
}
.relay-row-arrow {
  font-size: clamp(9px, 1.3cqw, 15px);
  color: #a4ad9e;
}
.relay-focus-note {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6cqw, 18px);
  margin-top: clamp(17px, 3cqw, 34px);
  padding: clamp(14px, 2.4cqw, 27px) 0;
  border-top: 1px solid var(--relay-line);
}
.relay-focus-note > span:first-child {
  font-size: clamp(20px, 3.5cqw, 39px);
  font-weight: 300;
  color: #adb69b;
}
.relay-focus-note strong {
  font-size: clamp(6px, 1.1cqw, 12px);
  font-weight: 500;
}
.relay-focus-note p {
  font-size: clamp(5px, 0.85cqw, 10px);
  line-height: 1.7;
  color: #91988b;
  margin: 6px 0 0;
}
.relay-note-line {
  display: block;
  margin-left: auto;
  width: 12%;
  height: 20px;
  background: repeating-linear-gradient(
    120deg,
    transparent 0 5px,
    #cbd2c1 6px 6.5px,
    transparent 7px 10px
  );
  opacity: 0.65;
}
.relay-app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: clamp(15px, 2.2cqw, 25px);
  font-size: clamp(4px, 0.75cqw, 9px);
  color: #9aa18f;
}
.relay-app-footer > span:last-child {
  color: var(--relay-orange);
  font-size: 1.5em;
}
.relay-detail,
.relay-feedback-form {
  position: relative;
  border: 1px solid #dfe4d8;
  border-radius: 7px;
  padding: clamp(18px, 3cqw, 34px);
  background: #fafbf7;
  flex: 1;
  min-height: 230px;
}
.relay-detail-back {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  color: #727b68;
  font-size: clamp(7px, 1cqw, 11px);
  margin-bottom: clamp(18px, 3cqw, 33px);
}
.relay-detail h4 {
  font-size: clamp(17px, 2.7cqw, 29px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin: 13px 0 0;
}
.relay-detail > p {
  font-size: clamp(8px, 1.2cqw, 13px);
  line-height: 1.7;
  color: #818a78;
  margin: 12px 0 0;
}
.relay-detail-context {
  border-top: 1px solid #e1e5d9;
  margin-top: clamp(20px, 3cqw, 33px);
  padding-top: clamp(15px, 2cqw, 23px);
}
.relay-detail-context > span {
  font-size: clamp(7px, 0.9cqw, 10px);
  color: #8c957e;
}
.relay-detail-context p {
  font-size: clamp(8px, 1.2cqw, 13px);
  line-height: 1.8;
  color: #667058;
  max-width: 380px;
  margin: 8px 0 0;
}
.relay-plan {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-radius: 5px;
  background: var(--relay-orange);
  color: #fff;
  font-size: clamp(8px, 1.1cqw, 12px);
  line-height: 1.5;
  padding: clamp(10px, 1.3cqw, 15px) clamp(12px, 1.7cqw, 19px);
  margin-top: 22px;
}
.relay-plan > span {
  font-size: 1.3em;
}
.relay-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 260px;
}
.relay-board > div {
  background: #f7f9f5;
  border: 1px solid var(--relay-line);
  border-radius: 6px;
  padding: clamp(12px, 2cqw, 23px);
}
.relay-board h4 {
  font-size: clamp(9px, 1.3cqw, 14px);
  font-weight: 500;
  margin: 0 0 20px;
}
.relay-board article {
  background: #fff;
  border: 1px solid #e1e7da;
  border-radius: 5px;
  padding: clamp(12px, 2cqw, 22px);
  min-height: 130px;
}
.relay-board strong {
  display: block;
  font-size: clamp(10px, 1.5cqw, 16px);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 18px;
}
.relay-board article p,
.relay-board-empty {
  font-size: clamp(8px, 1.1cqw, 12px);
  line-height: 1.8;
  color: #919982;
  margin: 12px 0 0;
}
.relay-board-dot {
  display: block;
  background: var(--relay-orange);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.relay-release-note {
  padding: clamp(20px, 4cqw, 44px);
  background: #f4f7ee;
  border: 1px solid #e5e9da;
  border-radius: 8px;
  min-height: 260px;
}
.relay-release-note h4 {
  font-size: clamp(18px, 3cqw, 33px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.14;
  max-width: 380px;
  margin: 20px 0;
}
.relay-release-note p {
  font-size: clamp(9px, 1.3cqw, 14px);
  color: #859074;
  line-height: 1.8;
  max-width: 450px;
}
.relay-release-note > span:last-child {
  display: block;
  font-size: clamp(8px, 1.1cqw, 12px);
  margin-top: 28px;
  color: #697850;
}
.relay-feedback-form label {
  display: block;
  font-size: clamp(11px, 1.5cqw, 16px);
  line-height: 1.7;
  font-weight: 500;
}
.relay-feedback-form input {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #cdd6c2;
  border-radius: 5px;
  padding: 14px;
  color: var(--relay-ink);
  font-size: clamp(12px, 1.4cqw, 15px);
  margin-top: 18px;
}
.relay-feedback-form > div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}
.relay-feedback-form [data-relay-cancel] {
  background: none;
  border: 0;
  color: #6a755c;
  font-size: clamp(10px, 1.2cqw, 13px);
  padding: 12px;
  margin-top: 22px;
}
.relay-feedback-form > small {
  display: block;
  color: #8d967f;
  font-size: clamp(8px, 1cqw, 11px);
  margin-top: 22px;
}
.relay-message {
  font-size: clamp(8px, 1cqw, 11px);
  line-height: 1.6;
  color: #62774b;
  margin: 0;
  min-height: 0;
}
.relay-message:not(:empty) {
  padding-top: 17px;
}
/* Deliberately unfinished structure, then an interactive design, then a usable slice. */
.relay-app[data-stage="wireframe"] {
  --relay-ink: #6d7270;
  --relay-muted: #999e9a;
  --relay-line: #daddd9;
  --relay-orange: #a1a6a0;
  box-shadow: none;
  filter: grayscale(1);
}
.relay-app[data-stage="wireframe"] .relay-layout {
  background: #fcfcfb;
}
.relay-app[data-stage="wireframe"] .relay-sidebar,
.relay-app[data-stage="wireframe"] .relay-content {
  background: #fcfcfb;
}
.relay-app[data-stage="wireframe"] .relay-brand > span {
  background: #a2a7a2;
}
.relay-app[data-stage="wireframe"] .relay-request {
  background: transparent;
  border-style: dashed;
  border-radius: 0;
}
.relay-app[data-stage="wireframe"] .relay-request.is-active {
  border-color: #b8beb7;
}
.relay-app[data-stage="wireframe"] .relay-request-symbol {
  background: #e7eae6;
  border-radius: 0;
  color: transparent;
}
.relay-app[data-stage="wireframe"] .relay-request small {
  color: transparent;
  background: #e8ebe6;
  width: 65%;
  height: 5px;
  margin-top: 10px;
}
.relay-app[data-stage="wireframe"] .relay-page-head p {
  color: transparent;
  background: #e7eae5;
  width: 85%;
  height: 6px;
  margin-top: 15px;
}
.relay-app[data-stage="wireframe"] .relay-focus-note p {
  color: transparent;
  background: #e8ebe6;
  height: 5px;
  width: 90%;
}
.relay-app[data-stage="wireframe"] .relay-focus-note > span:first-child {
  color: transparent;
  border: 1px dashed #bdc4b8;
  width: 30px;
  height: 30px;
}
.relay-app[data-stage="wireframe"] .relay-add {
  color: #8b9386;
  background: transparent;
  border-style: dashed;
  border-color: #bac2b5;
  border-radius: 0;
}
.relay-app[data-stage="wireframe"] .relay-status {
  background: #eef0ec;
  color: #959e8c;
}
.relay-app[data-stage="wireframe"] .relay-note-line {
  opacity: 0;
}
.relay-app[data-stage="prototype"] .relay-content {
  background: #fffefa;
}
.relay-app[data-stage="prototype"] .relay-request.is-active {
  border-color: #ff5e0055;
  background: #fff8f0;
}
.relay-app[data-stage="prototype"] .relay-add {
  background: #f0eee7;
  border-color: #f0eee7;
  color: #a9a491;
}
@media (hover: hover) {
  .relay-app:not([data-stage="wireframe"]) .relay-request:hover {
    border-color: #ff5e0077;
    background: #fffaf6;
  }
  .relay-sidebar nav > button:not(:disabled):hover {
    background: #e9eeea;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .relay-app[data-relay-active] .relay-content {
    animation: relay-stage-in 0.55s ease-out;
  }
  @keyframes relay-stage-in {
    from {
      opacity: 0.5;
      translate: 0 8px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
.relay-demo {
  margin: 0;
  padding: 22px;
  background: #f4f5f2;
  font-family: Inter, Arial, sans-serif;
}
.relay-demo main {
  max-width: 1100px;
  margin: auto;
}
.relay-demo-banner {
  font-size: 11px;
  line-height: 1.8;
  color: #78806f;
  margin: 0 0 16px;
}
.relay-demo .relay-app {
  box-shadow: none;
}
@container (max-width:480px) {
  .relay-layout {
    grid-template-columns: 1fr;
    min-height: 480px;
  }
  .relay-sidebar {
    padding: 17px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--relay-line);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .relay-sidebar > small,
  .relay-sidebar-bottom {
    display: none;
  }
  .relay-brand {
    font-size: 22px;
  }
  .relay-sidebar nav {
    flex-direction: row;
    margin: 0;
    gap: 4px;
  }
  .relay-sidebar nav > button {
    font-size: 9px;
    padding: 9px 6px;
    gap: 5px;
  }
  .relay-content {
    padding: 22px 18px;
  }
  .relay-overline {
    font-size: 6px;
  }
  .relay-page-head {
    padding-bottom: 27px;
    gap: 10px;
  }
  .relay-page-head h3 {
    font-size: 24px;
  }
  .relay-page-head p {
    font-size: 9px;
    max-width: 200px;
    line-height: 1.7;
  }
  .relay-add {
    font-size: 9px;
    padding: 9px;
    min-height: 37px;
  }
  .relay-list-top {
    font-size: 9px;
    padding-bottom: 14px;
  }
  .relay-live-label {
    font-size: 7px;
  }
  .relay-request {
    gap: 9px;
    padding: 15px 11px;
    margin-bottom: 9px;
  }
  .relay-request-symbol {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  .relay-request strong {
    font-size: 10px;
  }
  .relay-request small {
    font-size: 8px;
  }
  .relay-status {
    font-size: 7px;
    padding: 4px 5px;
  }
  .relay-row-arrow {
    display: none;
  }
  .relay-focus-note {
    margin-top: 24px;
    padding-top: 22px;
  }
  .relay-focus-note strong {
    font-size: 10px;
  }
  .relay-focus-note p {
    font-size: 8px;
  }
  .relay-focus-note > span:first-child {
    font-size: 26px;
  }
  .relay-app-footer {
    font-size: 7px;
  }
  .relay-toolbar {
    font-size: 7px;
    min-height: 28px;
  }
  .relay-window-dots {
    font-size: 5px;
  }
  .relay-concept {
    font-size: 6px;
  }
  .relay-detail h4 {
    font-size: 25px;
  }
  .relay-detail > p {
    font-size: 11px;
  }
  .relay-detail-back {
    font-size: 10px;
    margin-bottom: 23px;
  }
  .relay-detail-context p {
    font-size: 11px;
  }
  .relay-detail-context > span {
    font-size: 9px;
  }
  .relay-plan {
    font-size: 10px;
    padding: 11px 13px;
  }
  .relay-board {
    gap: 10px;
    min-height: 260px;
  }
  .relay-board > div {
    padding: 12px;
  }
  .relay-board h4 {
    font-size: 11px;
  }
  .relay-board article {
    padding: 12px;
  }
  .relay-board strong {
    font-size: 12px;
  }
  .relay-board article p,
  .relay-board-empty {
    font-size: 10px;
  }
  .relay-release-note h4 {
    font-size: 27px;
  }
  .relay-release-note p {
    font-size: 11px;
  }
  .relay-release-note > span:last-child {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .relay-demo {
    padding: 12px;
  }
  .relay-demo-banner {
    font-size: 9px;
  }
}

.relay-request strong {
  overflow-wrap: anywhere;
}
@container (max-width:480px) {
  .relay-sidebar {
    flex-wrap: wrap;
    gap: 13px;
  }
  .relay-sidebar nav {
    flex-basis: 100%;
    width: 100%;
    justify-content: space-between;
  }
  .relay-sidebar nav > button {
    min-height: 40px;
    padding: 9px 7px;
  }
  .relay-add,
  .relay-plan,
  .relay-detail-back,
  .relay-feedback-form [data-relay-cancel] {
    min-height: 44px;
  }
  .relay-feedback-form input {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .relay-request {
    transition: none;
  }
}
