@charset "UTF-8";
.routine-content {
  z-index: 1;
  justify-content: flex-start;
}
.routine-content .eyebrow {
  margin-bottom: 6px;
}
.routine-content h2 {
  font-size: 56px;
  line-height: 1.06;
}
.routine-prompt {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 20px;
  margin-top: 10px;
  border: 1px solid #dad5ed;
  border-radius: 17px;
  background: #fffefbf2;
  box-shadow: 0 9px 30px #533c810a;
}
.routine-prompt-label {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 650;
  color: #6840ba;
}
.routine-prompt blockquote {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.routine-panels {
  display: grid;
  grid-template-columns: 180px repeat(3, minmax(0, 1fr));
  gap: 18px 26px;
  margin-top: 8px;
  align-items: start;
}
.routine-loading-row {
  grid-column: 3 / -1;
  grid-row: 1;
}
.routine-loading-bubble {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #d4c8ea;
  border-radius: 16px;
  background: #fffefb;
  box-shadow: 0 8px 22px #533c810d;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
}
.routine-loading-bubble::before,
.routine-loading-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #fffefb;
  border-right: 1px solid #d4c8ea;
  border-bottom: 1px solid #d4c8ea;
  transform: rotate(45deg);
}
.routine-loading-bubble::before { left: 24%; }
.routine-loading-bubble::after { left: 75%; }
.routine-slide.active:not([data-current-step="2"]) .routine-loading-bubble {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.routine-loading-caption {
  flex-shrink: 0;
  font-size: 14px;
  color: #6840ba;
}
.routine-loading {
  flex: 1;
  width: auto;
  max-width: 100%;
}
.routine-slide[data-current-step="2"] .routine-loading-caption {
  color: #29815e;
}
.routine-box {
  grid-row: 2;
  --routine-color: #7650b2;
  --routine-tint: #f0eaf9;
  --routine-angle: -2deg;
  height: 300px;
  position: relative;
  border: 1px solid #dcd8e5;
  border-radius: 22px;
  background: linear-gradient(160deg, #fff 55%, var(--routine-tint));
  box-shadow: 0 19px 32px #3b235516, 0 4px 9px #3b235508;
  transform: rotate(var(--routine-angle));
  transform-origin: 50% 55%;
}
.routine-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--routine-color);
}
.routine-mail { --routine-angle: 1.5deg; --routine-color: #bc5543; --routine-tint: #fcf1ec; }
.routine-agenda { --routine-angle: -1.5deg; --routine-color: #3974ae; --routine-tint: #edf4fc; }
.routine-replies { --routine-angle: 2deg; --routine-color: #5c8d78; --routine-tint: #edf5f0; }
.routine-box:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 150px;
  left: 100%;
  height: 4px;
  width: 27px;
  background: repeating-linear-gradient(
    90deg,
    #00a5b6 0 8px,
    transparent 8px 13px
  );
  background-size: 26px 4px;
  animation: connector-transmit 1.1s linear infinite paused;
}
.routine-slide.active .routine-box::after {
  animation-play-state: running;
}
.routine-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 15%, #fff 0, #f3effb 65%, #e8def6);
  border-color: #d5c6ef;
}
.routine-everyday {
  font-size: 17px;
  font-weight: 600;
  color: #6b4a95;
  margin-bottom: 20px;
}
.routine-clock {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 7px #ded6ed80,
    0 6px 20px #66369917;
  border: 1px solid #c6b4e2;
}
.clock-mark {
  position: absolute;
  width: 3px;
  height: 7px;
  background: #a58cba;
  border-radius: 2px;
  left: calc(50% - 1.5px);
  top: 5px;
}
.mark-right {
  transform: rotate(90deg);
  left: auto;
  right: 7px;
  top: calc(50% - 3.5px);
}
.mark-bottom {
  top: auto;
  bottom: 5px;
}
.mark-left {
  transform: rotate(90deg);
  left: 7px;
  top: calc(50% - 3.5px);
}
.clock-hand {
  position: absolute;
  height: 4px;
  left: 50%;
  top: calc(50% - 2px);
  border-radius: 3px;
  transform-origin: 0 50%;
  background: #674198;
}
.hour-hand {
  width: 25px;
  transform: rotate(180deg);
}
.minute-hand {
  width: 33px;
  transform: rotate(-90deg);
  animation: routine-clock-tick 3s ease-in-out infinite paused;
}
.clock-pin {
  position: absolute;
  width: 8px;
  height: 8px;
  left: calc(50% - 4px);
  top: calc(50% - 4px);
  border-radius: 50%;
  background: #674198;
}
.routine-slide.active .minute-hand {
  animation-play-state: running;
}
.routine-time {
  font-size: 49px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.065em;
  color: #55318b;
  margin-top: 22px;
  font-variant-numeric: tabular-nums;
}
.routine-time span {
  animation: routine-colon 1.8s ease-in-out infinite paused;
}
.routine-slide.active .routine-time span {
  animation-play-state: running;
}
.routine-trigger-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  margin-top: 12px;
  color: #6b4a95;
}
.routine-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22a37b;
}
.routine-panel-head {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 65px;
  padding: 0 16px;
  border-bottom: 1px solid #e5e1e9;
  background: linear-gradient(120deg, #ffffffdd, var(--routine-tint));
  border-radius: 22px 22px 0 0;
}
.routine-panel-head h3 {
  font-size: 25px;
  letter-spacing: -0.05em;
}
.routine-panel-head img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.routine-panel-head .icon {
  width: 26px;
  height: 26px;
  color: #8051c4;
}
.routine-step-number {
  font-size: 13px;
  font-weight: 650;
  color: var(--routine-color);
  background: #ffffffd9;
  border: 1px solid #dedbe5;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  margin-left: auto;
}
.routine-inbox {
  padding: 2px 13px;
}
.routine-message {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #eeeaf3;
  position: relative;
}
.routine-message:last-child {
  border-bottom: 0;
}
.routine-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  background: #ede5f7;
  color: #764ea7;
}
.contact-marc {
  background: #e0eefb;
  color: #316a9a;
}
.contact-sonia {
  background: #f9e5dc;
  color: #aa5e40;
}
.routine-message strong {
  font-size: 17px;
  letter-spacing: -0.015em;
}
.routine-message p {
  font-size: 16px;
  line-height: 1.25;
  color: #6b6375;
  margin-top: 4px;
}
.mail-read {
  font-size: 15px;
  font-weight: 700;
  color: #1c956d;
  margin-left: auto;
}
.routine-read-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: #29815e;
  padding: 5px 15px;
}
.routine-slide[data-current-step="1"] .routine-mail,
.routine-slide[data-current-step="2"] .routine-mail {
  border-color: #8cc9b3;
  box-shadow:
    0 19px 32px #3b235516,
    0 0 0 3px #dceddf88;
}
.routine-panel-body {
  position: relative;
  height: 233px;
  padding: 16px;
}
.routine-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
  color: #8e829e;
  font-size: 20px;
  line-height: 1.2;
}
.routine-placeholder .icon {
  width: 38px;
  height: 38px;
  color: #b2a1c9;
}
.routine-slide[data-current-step="2"] .routine-placeholder {
  visibility: hidden;
}
.routine-calendar-result {
  height: 100%;
}
.routine-week {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  color: #8b809a;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-align: center;
}
.routine-calendar-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  height: 150px;
  margin-top: 8px;
  padding: 10px 2px;
  background: linear-gradient(
    90deg,
    transparent calc(50% - 0.5px),
    #eee9f3 calc(50% - 0.5px),
    #eee9f3 calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
}
.routine-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #eee9f3;
  top: 36px;
}
.line-two {
  top: 76px;
}
.line-three {
  top: 116px;
}
.routine-event {
  position: relative;
  z-index: 1;
  align-self: start;
  border-radius: 8px;
  border-left: 3px solid #5793da;
  background: #e8f1ff;
  padding: 9px 8px;
  color: #2c5788;
}
.event-camille {
  margin-top: 34px;
}
.event-marc {
  background: #ece6f8;
  border-color: #9570cc;
  color: #644795;
}
.routine-event span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.routine-event strong {
  display: block;
  font-size: 15px;
  margin-top: 7px;
}
.routine-event p {
  font-size: 11px;
  margin-top: 3px;
}
.routine-calendar-count {
  display: block;
  text-align: center;
  color: #39795d;
  font-size: 13px;
  font-weight: 600;
  margin-top: 13px;
}
.routine-draft-result {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.routine-draft-tag {
  font-size: 11px;
  color: #9c6c26;
  background: #fff0cf;
  padding: 4px 8px;
  border-radius: 5px;
  align-self: flex-start;
  font-weight: 650;
}
.routine-draft-result blockquote {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-top: 10px;
}
.routine-draft-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
}
.routine-draft-stack span {
  font-size: 11px;
  color: #8d809d;
  background: #f3f0f8;
  border-radius: 5px;
  padding: 5px 7px;
}
.routine-review {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: #7855a9;
  margin-top: auto;
}
.routine-review .icon {
  width: 15px;
  height: 15px;
}
.routine-simulation {
  display: block;
  text-align: right;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0;
  color: #8d809d;
}
.routine-slide.active .routine-calendar-result.is-visible .routine-event {
  animation: routine-arrive 0.55s both;
}
.routine-slide.active .routine-calendar-result.is-visible .event-marc {
  animation-delay: 0.14s;
}
.routine-slide.active .routine-draft-result.is-visible {
  animation: routine-arrive 0.6s 0.18s both;
}
@keyframes routine-arrive {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes routine-clock-tick {
  0%,
  100% {
    transform: rotate(-90deg);
  }
  50% {
    transform: rotate(-84deg);
  }
}
@keyframes routine-colon {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@media screen and (max-width: 759px) {
  .routine-loading-row {
    grid-column: 1;
    grid-row: auto;
  }
  .routine-loading-bubble {
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }
  .routine-loading {
    width: 100%;
  }
  .routine-loading-bubble::before {
    display: none;
  }
  .routine-loading-bubble::after {
    left: calc(50% - 5px);
  }
  .routine-content h2 {
    font-size: 43px;
  }
  .routine-prompt {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 20px;
    margin-top: 23px;
  }
  .routine-prompt blockquote {
    font-size: 25px;
  }
  .routine-panels {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .routine-box {
    grid-row: auto;
    height: auto;
    min-height: 284px;
    transform: none;
  }
  .routine-trigger {
    padding: 22px;
    min-height: 266px;
  }
  .routine-everyday {
    margin-bottom: 18px;
  }
  .routine-clock {
    width: 80px;
    height: 80px;
  }
  .routine-time {
    font-size: 48px;
    margin-top: 20px;
  }
  .routine-box:not(:last-child)::after {
    left: calc(50% - 2px);
    top: 100%;
    height: 26px;
    width: 4px;
    background: repeating-linear-gradient(
      0deg,
      #00a5b6 0 8px,
      transparent 8px 13px
    );
  }
  .routine-panel-head h3 {
    font-size: 27px;
  }
  .routine-panel-head {
    height: 64px;
  }
  .routine-message {
    padding: 16px 4px;
    gap: 13px;
  }
  .routine-message strong {
    font-size: 18px;
  }
  .routine-message p {
    font-size: 17px;
  }
  .routine-read-status {
    font-size: 15px;
    padding: 10px 17px 14px;
  }
  .routine-panel-body {
    height: 250px;
    padding: 17px;
  }
  .routine-calendar-grid {
    height: 158px;
  }
  .routine-event {
    padding: 12px;
  }
  .routine-event span {
    font-size: 18px;
  }
  .routine-event strong {
    font-size: 18px;
  }
  .routine-event p {
    font-size: 12px;
  }
  .routine-calendar-count {
    font-size: 15px;
  }
  .routine-draft-result blockquote {
    font-size: 25px;
  }
  .routine-draft-tag {
    font-size: 13px;
  }
  .routine-draft-stack span {
    font-size: 12px;
  }
  .routine-review {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce), print {
  .routine-slide *,
  .routine-slide *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .routine-loading-row {
    display: none;
  }
  .routine-box { transform: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .routine-placeholder {
    display: none;
  }
  .routine-mail {
    border-color: #8cc9b3;
  }
}
