/* Figma Make visual port for Control home. Production split/behaviour stay in JS. */

html {
  background: #f8f7f5;
}

body {
  margin: 0;
  background: #f8f7f5;
  color: #141210;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.family-5m {
  background: #f8f7f5;
  color: #141210;
}

body.family-bd {
  background: #1a2118;
  color: #ede9df;
}

html:has(body.family-bd) {
  background: #1a2118;
}

#homeRoot {
  min-height: 100dvh;
}

.fig-shell {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 24px calc(80px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.fig-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.fig-5m-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #141210;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.fig-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b0ada7;
}

.fig-clock {
  text-align: center;
  margin-bottom: 12px;
}

.fig-time {
  display: block;
  font-size: clamp(54px, 13vw, 86px);
  font-weight: 220;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #141210;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.fig-date {
  margin: 8px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #a8a5a0;
}

.fig-mantra {
  display: block;
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: #c5c2bc;
}

.fig-text {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #b0ada7;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.fig-text:hover {
  color: #6b6967;
}

.fig-today {
  margin-bottom: 20px;
}

.fig-today-toggle {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.fig-today-toggle .fig-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.fig-today-summary {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #141210;
}

.fig-today-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid #e3e1dc;
  border-radius: 999px;
  color: #b8b5b0;
}

.fig-today-toggle.is-open .fig-today-chevron,
.fig-advanced-toggle.is-open .fig-chevron {
  transform: rotate(180deg);
}

.fig-today-toggle.is-open .fig-today-chevron {
  background: #edeae6;
  border-color: #d4d2ce;
}

.fig-today-panel {
  margin-top: 12px;
  border: 1px solid #e3e1dc;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.fig-today-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 12px 16px;
  border-bottom: 1px solid #e3e1dc;
  color: #141210;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  background: #fff;
}

.fig-today-item:last-child {
  border-bottom: 0;
}

.fig-today-go {
  background: #fffdf0;
}

.fig-today-go small {
  margin-left: auto;
  font-size: 12px;
  color: #b88830;
}

.fig-today-dot {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid #cdcac4;
  border-radius: 999px;
}

.fig-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.fig-pair a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e3e1dc;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.fig-pair a:hover {
  background: #f4f3f0;
  border-color: #d4d2ce;
}

.fig-pair a:active {
  transform: scale(0.97);
}

.fig-pair b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.fig-pair span {
  font-size: 12px;
  font-weight: 400;
  color: #a8a5a0;
}

.fig-pair .fig-arrow {
  color: #c5c3bc;
  margin-top: 0;
}

.fig-rule {
  border: 0;
  border-top: 1px solid #e3e1dc;
  margin: 0 0 24px;
}

.fig-capture {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.fig-ask {
  width: 100%;
}

.fig-ask-open {
  display: block;
  margin: 0 auto;
  padding: 10px 28px;
  border: 1px solid #dedad5;
  border-radius: 12px;
  background: #fff;
  color: #2e2c2a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}

.fig-ask-open:hover {
  background: #f4f3f0;
  border-color: #cdcac4;
}

.fig-ask-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fig-ask-panel textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid #e3e1dc;
  border-radius: 13px;
  background: #fff;
  color: #141210;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: none;
}

.fig-ask-panel textarea:focus {
  outline: none;
  border-color: #c0bdb7;
}

.fig-ask-panel textarea::placeholder {
  color: #c5c2bc;
}

.fig-ask-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.fig-ask-actions button[type="submit"] {
  border: 0;
  border-radius: 10px;
  padding: 8px 20px;
  background: #141210;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.fig-ask-actions button[type="submit"]:hover {
  background: #2e2c2a;
}

.fig-ask-actions button[type="submit"]:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.fig-mic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.fig-mic-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #c8201a;
  color: #fff;
  box-shadow: 0 2px 14px rgb(200 32 26 / 0.22);
}

.fig-mic:hover .fig-mic-button {
  background: #b31c17;
}

.fig-mic strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b0ada7;
}

.fig-list {
  margin: 0 0 4px;
}

.fig-list > .fig-kicker {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.fig-list-quiet {
  margin-top: 20px;
}

.fig-list-quiet > .fig-kicker {
  color: #cccac6;
}

.fig-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 15px 0;
  border-bottom: 1px solid #edeae6;
  color: inherit;
  text-decoration: none;
}

.fig-row-copy {
  min-width: 0;
}

.fig-row-copy b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.fig-row-copy span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #9c9a95;
}

.fig-row:hover .fig-row-copy b {
  color: #000;
}

.fig-arrow {
  flex-shrink: 0;
  margin-top: 3px;
  color: #d0cec8;
}

.fig-row:hover .fig-arrow {
  color: #9c9a95;
}

.fig-row-sm {
  align-items: center;
  padding: 14px 0;
}

.fig-row-sm .fig-row-copy b {
  font-size: 13px;
  font-weight: 500;
  color: #a8a5a0;
}

.fig-row-sm .fig-row-copy span:empty {
  display: none;
}

.fig-row-sm .fig-arrow {
  width: 13px;
  height: 13px;
  color: #d8d6d0;
}

.fig-advanced {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #edeae6;
}

.fig-advanced-toggle {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c5c2bc;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.fig-advanced-toggle:hover {
  color: #a8a5a0;
}

.fig-advanced-toggle .fig-chevron {
  width: 14px;
  height: 14px;
}

.fig-advanced-panel {
  margin-top: 4px;
}

.fig-advanced-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f0eb;
  color: #a8a5a0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.fig-advanced-link small {
  font-size: 11px;
  color: #c5c2bc;
}

.fig-switch {
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid #edeae6;
  text-align: center;
}

.fig-switch a {
  color: #c5c2bc;
  font-size: 12px;
  text-decoration: none;
}

.fig-switch a:hover {
  color: #9c9a95;
}

.fig-bd-identity {
  margin-bottom: 32px;
}

.fig-bd-identity .fig-kicker {
  margin-bottom: 20px;
  letter-spacing: 0.2em;
  color: #3d5040;
}

.fig-bd-identity h1 {
  margin: 0 0 12px;
  font-size: clamp(44px, 11vw, 68px);
  font-weight: 260;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #ede9df;
}

.fig-tagline {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: #3d5040;
}

.fig-bd .fig-list {
  border-top: 1px solid #243525;
}

.fig-bd .fig-row {
  border-bottom-color: #243525;
}

.fig-bd .fig-row-lg {
  padding: 24px 0;
}

.fig-bd .fig-row-lg .fig-row-copy b {
  font-size: 20px;
  color: #ede9df;
}

.fig-bd .fig-row-lg .fig-row-copy span {
  color: #4a6050;
}

.fig-bd .fig-row-lg .fig-arrow {
  width: 18px;
  height: 18px;
  color: #3d5040;
}

.fig-cluster {
  padding: 20px 0;
  border-bottom: 1px solid #243525;
}

.fig-cluster > .fig-kicker {
  margin-bottom: 12px;
  color: #3d5040;
}

.fig-cluster .fig-row {
  align-items: center;
  padding: 16px 0;
}

.fig-cluster .fig-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fig-cluster .fig-row-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
}

.fig-cluster .fig-row-copy b {
  display: inline;
  font-size: 16px;
  font-weight: 500;
  color: #c2beb0;
}

.fig-cluster .fig-row-copy span {
  display: inline;
  margin: 0 0 0 8px;
  font-size: 12px;
  color: #3d5040;
}

.fig-cluster .fig-arrow {
  color: #344535;
}

.fig-bd .fig-list > .fig-row:not(.fig-row-lg) .fig-row-copy b {
  font-size: 17px;
  color: #c2beb0;
}

.fig-bd .fig-list > .fig-row:not(.fig-row-lg) .fig-row-copy span {
  color: #4a6050;
}

.fig-bd .fig-advanced {
  border-top-color: #243525;
}

.fig-bd .fig-advanced-toggle,
.fig-bd .fig-advanced-link,
.fig-bd .fig-advanced-link small {
  color: #3d5040;
}

.fig-bd .fig-advanced-link {
  border-bottom-color: #1f2b20;
}

.fig-bd .fig-switch {
  margin-top: 40px;
  padding-top: 0;
  border: 0;
}

.fig-bd .fig-switch a {
  color: #3d5040;
}

.fig-shell a:focus-visible,
.fig-shell button:focus-visible,
.fig-shell textarea:focus-visible {
  outline: 2px solid #141210;
  outline-offset: 2px;
}

.fig-bd a:focus-visible,
.fig-bd button:focus-visible {
  outline-color: #ede9df;
}

.fig-row-sm:hover .fig-row-copy b {
  color: #6b6967;
}

.fig-bd .fig-row:hover .fig-row-copy b,
.fig-bd .fig-cluster .fig-row:hover .fig-row-copy b {
  color: #ede9df;
}

@media (min-width: 640px) {
  .fig-shell {
    padding-top: 48px;
  }
}

@media (min-width: 1024px) {
  .fig-shell {
    padding-top: 56px;
  }
}

@media (min-width: 1200px) {
  .fig-shell.fig-5m,
  .fig-shell.fig-bd {
    max-width: 520px;
  }
}

@media (max-width: 389px) {
  .fig-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .fig-pair {
    gap: 8px;
  }
}
