.login-required-dialog__backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  background: rgb(0 0 0 / 40%);
  place-items: center;
}

.login-required-dialog {
  display: flex;
  width: min(440px, 100%);
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 16px 48px rgb(54 56 61 / 24%);
}

.login-required-dialog__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-required-dialog h2,
.login-required-dialog p {
  margin: 0;
  line-height: 1.5;
}

.login-required-dialog h2 {
  font-size: 17px;
}

.login-required-dialog p {
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  white-space: pre-line;
}

.login-required-dialog__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.login-required-dialog__actions button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
  cursor: pointer;
  font-weight: 700;
}

.login-required-dialog__actions button:last-child {
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
}

.login-required-dialog__actions button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .login-required-dialog__backdrop {
    padding: 16px;
  }

  .login-required-dialog {
    padding: 20px;
    border-radius: 14px;
  }
}

.brand-header {
  min-width: 320px;
  height: 72px;
  flex: none;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
  background: var(--color-bg-layer-default);
}

.brand-header__inner {
  display: flex;
  width: min(calc(100% - 48px), 1440px);
  height: 100%;
  align-items: center;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .brand-header {
    height: 64px;
  }

  .brand-header__inner {
    width: min(calc(100% - 32px), 1440px);
  }
}

.bibidi-brand__logo-clip {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-bg-layer-default);
}

.bibidi-brand__logo {
  position: absolute;
  width: 74px;
  max-width: none;
  height: auto;
  transform: translate(-23px, -6px);
}

.bibidi-brand__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-brand-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  border-radius: 6px;
  color: var(--color-fg-neutral);
  gap: 8px;
  text-decoration: none;
}

.header-brand-link:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 4px;
}

.auth-layout {
  display: flex;
  min-width: 320px;
  min-height: 100dvh;
  flex-direction: column;
  background: var(--color-bg-layer-basement);
}

.auth-page {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 56px 24px 96px;
}

@media (max-width: 760px) {
  .auth-page {
    align-items: start;
    padding: 42px 16px 48px;
  }
}

.checklist-workspace {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.checklist-workspace__foreground {
  display: contents;
}

.checklist-workspace--detail-open,
.checklist-workspace--add-open {
  display: grid;
  width: 100%;
  min-height: calc(100dvh - 96px);
  grid-template-columns: minmax(0, 1fr) 480px;
  align-items: start;
  margin-top: -32px;
  margin-bottom: -64px;
}

.checklist-workspace--detail-open .checklist-workspace__main,
.checklist-workspace--add-open .checklist-workspace__main {
  width: 100%;
  min-width: 0;
  padding: 32px 40px 64px clamp(32px, 5vw, 80px);
}

.checklist-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.checklist-categories {
  position: sticky;
  top: 24px;
}

.checklist-categories__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-categories__button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--color-fg-neutral-muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.checklist-categories__button:hover {
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
}

.checklist-categories__button--current {
  border-color: var(--color-stroke-brand-weak);
  background: var(--color-bg-brand-weak);
  color: var(--color-fg-brand);
}

.checklist-categories__button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.checklist-categories__count {
  flex: none;
  font-size: 12px;
  font-weight: 700;
}

.checklist {
  --checklist-toolbar-height: 88px;

  overflow: clip;
  min-width: 0;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 16px;
  background: var(--color-bg-layer-default);
}

.checklist__toolbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
}

.checklist__summary {
  min-width: 0;
}

.checklist__summary h1,
.checklist__summary p,
.checklist__empty h2,
.checklist__empty p {
  margin: 0;
}

.checklist__summary h1 {
  color: var(--color-fg-neutral);
  font-size: 22px;
  line-height: 1.4;
}

.checklist__summary p {
  margin-top: 4px;
  color: var(--color-fg-neutral-muted);
  font-size: 13px;
  line-height: 1.4;
}

.checklist__add-task,
.checklist__empty-primary,
.checklist__empty-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.checklist__add-task,
.checklist__empty-primary {
  border: 1px solid var(--color-bg-brand-solid);
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
}

.checklist__empty-secondary {
  border: 1px solid var(--color-stroke-neutral-weak);
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
}

.checklist__add-task:hover,
.checklist__empty-primary:hover {
  border-color: var(--color-bg-brand-solid-pressed);
  background: var(--color-bg-brand-solid-pressed);
}

.checklist__empty-secondary:hover {
  background: var(--color-bg-neutral-weak);
}

.checklist__add-task:focus-visible,
.checklist__empty-primary:focus-visible,
.checklist__empty-secondary:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.checklist__add-task span {
  font-size: 18px;
  line-height: 1;
}

.checklist__groups {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.checklist__group {
  overflow: hidden;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 12px;
  background: var(--color-bg-layer-default);
}

.checklist__group-heading {
  margin: 0;
}

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

.checklist__group-header:hover {
  background: var(--color-bg-neutral-weak);
}

.checklist__group-header:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: -3px;
}

.checklist__group-copy,
.checklist__group-title-area,
.checklist__progress-area {
  display: flex;
  align-items: center;
}

.checklist__group-copy {
  min-width: 0;
  gap: 12px;
}

.checklist__group-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-brand-weak);
  color: var(--color-fg-brand);
  font-size: 12px;
  font-weight: 800;
}

.checklist__group-title-area {
  min-width: 0;
  gap: 8px;
}

.checklist__group-title {
  overflow: hidden;
  color: var(--color-fg-neutral);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checklist__group-count,
.checklist__progress-label,
.checklist__task-schedule {
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  line-height: 1.5;
}

.checklist__progress-area {
  flex: none;
  gap: 10px;
}

.checklist__progress {
  overflow: hidden;
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-bg-neutral-weak);
}

.checklist__progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-bg-brand-solid);
}

.checklist__progress-label {
  min-width: 30px;
  font-weight: 600;
  text-align: right;
}

.checklist__disclosure {
  width: 16px;
  flex: none;
  color: var(--color-fg-neutral-muted);
  font-size: 22px;
  line-height: 1;
  text-align: center;
  transform: translateY(-1px);
  transition: transform 160ms ease;
}

.checklist__disclosure--expanded {
  transform: rotate(90deg) translateX(-1px);
}

.checklist__tasks {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-stroke-neutral-weak);
  list-style: none;
}

.checklist__empty {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.checklist__empty h2 {
  color: var(--color-fg-neutral);
  font-size: 18px;
}

.checklist__empty p {
  margin-top: 8px;
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  line-height: 1.5;
}

.checklist__empty-actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.checklist__task {
  min-height: 56px;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
  background: var(--color-bg-layer-default);
}

.checklist__task:last-child {
  border-bottom: 0;
}

.checklist__task-button {
  display: grid;
  width: 100%;
  min-height: 56px;
  grid-template-columns: minmax(0, 1fr) clamp(72px, 12%, 120px) 64px;
  align-items: center;
  gap: 12px;
  padding: 0 16px 0 66px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.checklist__task-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: -3px;
}

.checklist__task--selected {
  box-shadow: inset 3px 0 0 var(--color-stroke-brand-solid);
}

.checklist__task--complete {
  background: var(--color-bg-positive-subtle);
}

.checklist__task-title {
  overflow: hidden;
  color: var(--color-fg-neutral);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checklist__task--complete .checklist__task-title {
  color: var(--color-fg-neutral-muted);
}

.checklist__task-status {
  display: inline-flex;
  min-width: 52px;
  height: 20px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.checklist__task--in-progress .checklist__task-status {
  background: var(--color-bg-brand-weak);
  color: var(--color-fg-brand);
}

.checklist__task--complete .checklist__task-status {
  background: var(--color-bg-positive-badge);
  color: var(--color-fg-positive);
}

@media (max-width: 1199px) {
  .checklist-workspace {
    width: min(960px, calc(100% - 32px));
  }

  .checklist-layout {
    display: block;
  }

  .checklist-categories {
    position: static;
    overflow-x: auto;
    margin-bottom: 16px;
    scrollbar-width: none;
  }

  .checklist-categories::-webkit-scrollbar {
    display: none;
  }

  .checklist-categories__list {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 6px;
  }

  .checklist-categories__button {
    width: auto;
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
  }

  .checklist-categories__count {
    display: none;
  }
}

@media (max-width: 760px) {
  .checklist-workspace,
  .checklist-workspace--detail-open,
  .checklist-workspace--add-open {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .checklist-workspace--detail-open .checklist-workspace__main,
  .checklist-workspace--add-open .checklist-workspace__main {
    padding: 0;
  }

  .checklist-categories {
    margin: 0 -16px 12px;
    padding: 0 16px;
  }

  .checklist {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .checklist__toolbar {
    min-height: 76px;
    padding: 14px 16px;
  }

  .checklist__summary h1 {
    font-size: 18px;
  }

  .checklist__add-task {
    min-height: 40px;
    padding: 0 12px;
  }

  .checklist__groups {
    gap: 12px;
    padding: 16px;
  }

  .checklist__group-header {
    min-height: 64px;
    padding: 10px 12px;
  }

  .checklist__group-number {
    width: 34px;
    height: 34px;
  }

  .checklist__progress {
    width: 64px;
  }

  .checklist__progress-label {
    display: none;
  }

  .checklist__task-button {
    grid-template-columns: minmax(0, 1fr) 64px;
    padding: 10px 12px 10px 58px;
  }

  .checklist__task-schedule {
    display: none;
  }

  .checklist__empty-actions {
    width: min(100%, 280px);
    flex-direction: column;
  }
}

.checklist-appointment-creation {
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
}

.checklist-appointment-creation--desktop {
  position: sticky;
  top: 0;
  height: calc(100dvh - 96px);
  overflow: hidden;
  border-left: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-appointment-creation__form {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.checklist-appointment-creation__header {
  display: flex;
  min-height: 72px;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-appointment-creation__header > span:first-of-type {
  min-width: 0;
}

.checklist-appointment-creation__header h2 {
  margin: 0;
  font-size: 18px;
}

.checklist-appointment-creation__header small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checklist-appointment-creation__header > button,
.checklist-appointment-creation__header > span[aria-hidden="true"] {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 28px;
  place-items: center;
}

.checklist-appointment-creation__header svg {
  width: 24px;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.checklist-appointment-creation__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding: 24px;
}

.checklist-appointment-creation__field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.checklist-appointment-creation__field-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.checklist-appointment-creation__field label,
.checklist-appointment-creation__field-header label {
  font-size: 14px;
  font-weight: 600;
}

.checklist-appointment-creation__field-header span {
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
}

.checklist-appointment-creation em {
  color: var(--color-fg-critical);
  font-style: normal;
}

.checklist-appointment-creation input,
.checklist-appointment-creation textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 10px;
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
  font: inherit;
}

.checklist-appointment-creation textarea {
  min-height: 104px;
  padding-block: 12px;
  resize: vertical;
}

.checklist-appointment-creation__time-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checklist-appointment-creation [aria-invalid="true"] {
  border-color: var(--color-stroke-critical-solid);
}

.checklist-appointment-creation__field p,
.checklist-appointment-creation__feedback {
  margin: 0;
  color: var(--color-fg-critical);
  font-size: 13px;
  line-height: 1.5;
}

.checklist-appointment-creation__feedback p {
  margin: 0;
}

.checklist-appointment-creation__feedback:focus {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.checklist-appointment-creation__footer {
  display: grid;
  min-height: 88px;
  flex: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-appointment-creation__footer button {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
  cursor: pointer;
  font-weight: 700;
}

.checklist-appointment-creation__footer button:last-child {
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
}

.checklist-appointment-creation button:focus-visible,
.checklist-appointment-creation input:focus-visible,
.checklist-appointment-creation textarea:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.checklist-appointment-creation button:disabled,
.checklist-appointment-creation input:disabled,
.checklist-appointment-creation textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 760px) {
  .checklist-appointment-creation--mobile {
    position: fixed;
    z-index: 60;
    inset: 0;
    height: 100dvh;
  }

  .checklist-appointment-creation__header {
    min-height: calc(64px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 8px 0;
  }

  .checklist-appointment-creation__header > span:first-of-type {
    text-align: center;
  }

  .checklist-appointment-creation__header h2 {
    font-size: 17px;
  }

  .checklist-appointment-creation__body {
    padding: 24px 16px;
    overscroll-behavior-y: contain;
  }

  .checklist-appointment-creation__footer {
    min-height: calc(84px + env(safe-area-inset-bottom));
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  }
}

.checklist-dialog__backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  background: rgb(0 0 0 / 40%);
  place-items: center;
}

.checklist-dialog {
  display: flex;
  width: min(440px, 100%);
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 16px 48px rgb(54 56 61 / 24%);
}

.checklist-dialog__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-dialog h2,
.checklist-dialog__description {
  margin: 0;
  line-height: 1.5;
}

.checklist-dialog h2 {
  font-size: 17px;
}

.checklist-dialog__description {
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  white-space: pre-line;
}

.checklist-dialog__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checklist-dialog__actions button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
  cursor: pointer;
  font-weight: 700;
}

.checklist-dialog__actions button:last-child {
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
}

.checklist-dialog--critical .checklist-dialog__actions button:last-child {
  background: var(--color-fg-critical);
}

.checklist-dialog__actions button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .checklist-dialog__backdrop {
    padding: 16px;
  }

  .checklist-dialog {
    padding: 20px;
    border-radius: 14px;
  }
}

.checklist-task-creation {
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
}

.checklist-task-creation--desktop {
  position: sticky;
  top: 0;
  height: calc(100dvh - 96px);
  overflow: hidden;
  border-left: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-task-creation__form {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.checklist-task-creation__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-task-creation__header h2 {
  margin: 0;
  font-size: 18px;
}

.checklist-task-creation__header button,
.checklist-task-creation__header > span {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 28px;
  place-items: center;
}

.checklist-task-creation__header svg {
  width: 24px;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.checklist-task-creation__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  padding: 24px;
}

.checklist-task-creation__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-task-creation__field-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.checklist-task-creation__field label,
.checklist-task-creation__field-header label {
  font-size: 14px;
  font-weight: 600;
}

.checklist-task-creation__field-header span {
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
}

.checklist-task-creation em {
  color: var(--color-fg-critical);
  font-style: normal;
}

.checklist-task-creation input,
.checklist-task-creation select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 10px;
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
}

.checklist-task-creation [aria-invalid="true"] {
  border-color: var(--color-stroke-critical-solid);
}

.checklist-task-creation__field p,
.checklist-task-creation__body > p {
  margin: 0;
  color: var(--color-fg-neutral-muted);
  font-size: 13px;
  line-height: 1.5;
}

.checklist-task-creation__field p,
.checklist-task-creation__feedback--error {
  color: var(--color-fg-critical);
}

.checklist-task-creation__feedback--success {
  color: var(--color-fg-positive) !important;
}

.checklist-task-creation__footer {
  display: grid;
  min-height: 88px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-task-creation__footer button {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
  cursor: pointer;
  font-weight: 700;
}

.checklist-task-creation__footer button:last-child {
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
}

.checklist-task-creation button:focus-visible,
.checklist-task-creation input:focus-visible,
.checklist-task-creation select:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.checklist-task-creation button:disabled,
.checklist-task-creation input:disabled,
.checklist-task-creation select:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 760px) {
  .checklist-task-creation--mobile {
    position: fixed;
    z-index: 60;
    inset: 0;
    height: 100dvh;
  }

  .checklist-task-creation__header {
    min-height: calc(56px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 8px 0;
  }

  .checklist-task-creation__header h2 {
    font-size: 17px;
  }

  .checklist-task-creation__body {
    padding: 24px 16px;
    overscroll-behavior-y: contain;
  }

  .checklist-task-creation__footer {
    min-height: calc(84px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  }
}

.bottom-sheet-dismiss {
  --bottom-sheet-drag-offset: 0px;
  --bottom-sheet-scrim-opacity: 1;
}

@media (max-width: 760px) {
  .bottom-sheet-dismiss__scrim {
    opacity: var(--bottom-sheet-scrim-opacity);
    transition: opacity 220ms ease-out;
  }

  .bottom-sheet-dismiss__dialog {
    transform: translateY(var(--bottom-sheet-drag-offset));
    transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
  }

  .bottom-sheet-dismiss__handle-area {
    display: flex;
    width: 100%;
    height: 16px;
    flex: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: grab;
    touch-action: none;
  }

  .bottom-sheet-dismiss__handle-area:active {
    cursor: grabbing;
  }

  .bottom-sheet-dismiss__handle {
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: var(--color-stroke-neutral-weak);
  }

  .bottom-sheet-dismiss__handle-area:focus-visible {
    outline: none;
  }

  .bottom-sheet-dismiss__handle-area:focus-visible
    .bottom-sheet-dismiss__handle,
  .bottom-sheet-dismiss__scrim:focus-visible {
    outline: 3px solid var(--color-stroke-focus-ring);
    outline-offset: 2px;
  }

  .bottom-sheet-dismiss--dragging .bottom-sheet-dismiss__dialog,
  .bottom-sheet-dismiss--dragging .bottom-sheet-dismiss__scrim {
    transition: none;
  }

  .bottom-sheet-dismiss--closing {
    pointer-events: none;
  }

  .bottom-sheet-dismiss--closing .bottom-sheet-dismiss__dialog {
    transform: translateY(100%);
  }

  .bottom-sheet-dismiss--closing .bottom-sheet-dismiss__scrim {
    opacity: 0;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .bottom-sheet-dismiss__dialog,
  .bottom-sheet-dismiss__scrim {
    transition-duration: 0.01ms;
  }
}

.checklist-category-editor {
  position: relative;
  max-width: 100%;
}

.checklist-category-editor__trigger {
  display: inline-flex;
  max-width: 100%;
  height: 32px;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-fg-neutral);
  cursor: pointer;
  font: inherit;
}

.checklist-category-editor__trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checklist-category-editor__trigger svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.checklist-category-editor__trigger:hover:not(:disabled) {
  background: var(--color-bg-neutral-weak);
}

.checklist-category-editor__trigger:focus-visible,
.checklist-category-editor__option:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 1px;
}

.checklist-category-editor__trigger:disabled,
.checklist-category-editor__option:disabled {
  cursor: wait;
  opacity: 0.55;
}

.checklist-category-editor__popover {
  position: fixed;
  z-index: 40;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 6px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 10px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 8px 28px rgb(54 56 61 / 16%);
}

.checklist-category-editor__options {
  min-height: 0;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-category-editor__option {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--color-fg-neutral);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.checklist-category-editor__option:hover:not(:disabled),
.checklist-category-editor__option[aria-selected="true"] {
  background: var(--color-bg-brand-weak);
}

.checklist-category-editor__check {
  width: 18px;
  flex: none;
  color: var(--color-fg-brand);
  font-weight: 700;
  text-align: center;
}

.checklist-category-editor__error {
  margin: 6px 4px 2px;
  color: var(--color-fg-critical);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}

.checklist-status-editor {
  position: relative;
}

.checklist-status-editor__trigger {
  gap: 3px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.checklist-status-editor__trigger svg {
  width: 14px;
  height: 14px;
  flex: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.checklist-status-editor__trigger:hover:not(:disabled) {
  filter: brightness(0.96);
}

.checklist-status-editor__trigger:focus-visible,
.checklist-status-editor__option:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 1px;
}

.checklist-status-editor__trigger:disabled,
.checklist-status-editor__option:disabled {
  cursor: wait;
  opacity: 0.55;
}

.checklist-status-editor__popover {
  position: fixed;
  z-index: 40;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 6px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 10px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 8px 28px rgb(54 56 61 / 16%);
}

.checklist-status-editor__options {
  min-height: 0;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-status-editor__option {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--color-fg-neutral);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.checklist-status-editor__option:hover:not(:disabled),
.checklist-status-editor__option[aria-selected="true"] {
  background: var(--color-bg-brand-weak);
}

.checklist-status-editor__check {
  width: 18px;
  flex: none;
  color: var(--color-fg-brand);
  font-weight: 700;
  text-align: center;
}

.checklist-status-editor__error {
  margin: 6px 4px 2px;
  color: var(--color-fg-critical);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}

.checklist-detail-content {
  display: flex;
  min-height: 0;
  overflow-y: auto;
  flex: 1;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
}

.checklist-detail-content h3,
.checklist-detail-content__properties,
.checklist-detail-content__properties dd,
.checklist-detail-content__empty,
.checklist-detail-content__appointments {
  margin: 0;
}

.checklist-detail-content h3 {
  color: var(--color-fg-neutral);
  font-size: 16px;
  line-height: 1.4;
}

.checklist-detail-content__appointments-header {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checklist-detail-content__add-appointment {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-fg-brand);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.checklist-detail-content__add-appointment:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.checklist-detail-content__add-appointment span {
  font-size: 16px;
  line-height: 1;
}

.checklist-detail-content__properties {
  margin-top: 8px;
}

.checklist-detail-content__properties > div {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-detail-content__properties dt,
.checklist-detail-content__properties dd {
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  line-height: 1.4;
}

.checklist-detail-content__properties dd {
  overflow: hidden;
  color: var(--color-fg-neutral);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checklist-detail-content__category-value {
  overflow: visible;
  flex: 1;
  text-align: right;
}

.checklist-detail-content__task-status {
  display: inline-flex;
  min-width: 64px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.checklist-detail-content__task-status--in-progress {
  background: var(--color-bg-brand-weak);
  color: var(--color-fg-brand);
}

.checklist-detail-content__task-status--complete {
  background: var(--color-bg-positive-badge);
  color: var(--color-fg-positive);
}

.checklist-detail-content__appointments {
  padding: 0;
  list-style: none;
}

.checklist-detail-content__appointment {
  position: relative;
  display: grid;
  min-height: 84px;
  grid-template-columns: 28px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-detail-content__appointment-main {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.checklist-detail-content__appointment-check {
  display: grid;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid var(--color-stroke-neutral);
  border-radius: 50%;
  background: var(--color-bg-layer-default);
  color: var(--color-fg-on-brand);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.checklist-detail-content__appointment-check[aria-pressed="true"],
.checklist-detail-content__appointment-check--complete {
  border-color: var(--color-stroke-brand-solid);
  background: var(--color-bg-brand-solid);
}

.checklist-detail-content__appointment-check:disabled {
  cursor: wait;
  opacity: 0.55;
}

.checklist-detail-content__appointment-check:focus-visible,
.checklist-detail-content__appointment-more:focus-visible,
.checklist-detail-content__appointment-menu button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.checklist-detail-content__appointment-date {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 8px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.3;
}

.checklist-detail-content__appointment-date strong {
  color: var(--color-fg-neutral);
  font-size: 14px;
}

.checklist-detail-content__appointment-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.checklist-detail-content__appointment-title,
.checklist-detail-content__appointment-meta,
.checklist-detail-content__appointment-memo {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checklist-detail-content__appointment-title {
  color: var(--color-fg-neutral);
  font-size: 14px;
  line-height: 1.4;
}

.checklist-detail-content__appointment--complete
  .checklist-detail-content__appointment-title {
  color: var(--color-fg-neutral-muted);
  text-decoration: line-through;
}

.checklist-detail-content__appointment--complete
  .checklist-detail-content__appointment-date,
.checklist-detail-content__appointment--complete
  .checklist-detail-content__appointment-meta,
.checklist-detail-content__appointment--complete
  .checklist-detail-content__appointment-memo {
  opacity: 0.68;
}

.checklist-detail-content__appointment-meta,
.checklist-detail-content__appointment-memo {
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  line-height: 1.4;
}

.checklist-detail-content__appointment-memo {
  color: var(--color-fg-placeholder);
}

.checklist-detail-content__appointment-error {
  color: var(--color-fg-critical);
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
}

.checklist-detail-content__appointment-menu-root {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.checklist-detail-content__appointment-more {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-fg-neutral-muted);
  cursor: pointer;
  font: inherit;
  place-items: center;
}

.checklist-detail-content__appointment-more svg {
  width: 20px;
  height: 20px;
}

.checklist-detail-content__appointment-more:hover,
.checklist-detail-content__appointment-more[aria-expanded="true"] {
  background: var(--color-bg-neutral-weak);
}

.checklist-detail-content__appointment-more:disabled {
  cursor: wait;
  opacity: 0.55;
}

.checklist-detail-content__appointment-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  right: 0;
  display: flex;
  width: 120px;
  overflow: hidden;
  flex-direction: column;
  padding: 6px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 10px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 8px 24px rgb(54 56 61 / 16%);
}

.checklist-detail-content__appointment-menu button {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-fg-neutral);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-align: left;
}

.checklist-detail-content__appointment-menu button:hover,
.checklist-detail-content__appointment-menu button:focus-visible {
  background: var(--color-bg-neutral-weak);
}

.checklist-detail-content__appointment-menu-delete {
  color: var(--color-fg-critical) !important;
}

.checklist-detail-content__empty {
  margin-top: 8px;
  padding: 32px 16px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 8px;
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 760px) {
  .checklist-detail-content__appointment {
    padding-right: 0;
    padding-left: 0;
  }

  .checklist-detail-content__appointment-menu button {
    min-height: 48px;
    font-size: 15px;
  }
}

.checklist-title-editor {
  position: relative;
  min-width: 0;
  flex: 1;
}

.checklist-title-editor--read {
  display: flex;
  align-items: center;
  gap: 4px;
}

.checklist-title-editor h2 {
  min-width: 0;
}

.checklist-title-editor__edit,
.checklist-title-editor__action {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-fg-neutral-muted);
  cursor: pointer;
  place-items: center;
}

.checklist-title-editor__edit:hover,
.checklist-title-editor__action:hover:not(:disabled) {
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
}

.checklist-title-editor__edit:focus-visible,
.checklist-title-editor__action:focus-visible,
.checklist-title-editor__input:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 1px;
}

.checklist-title-editor__edit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.checklist-title-editor__form {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}

.checklist-title-editor__input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-bottom: 2px solid var(--color-stroke-brand-solid);
  border-radius: 6px 6px 0 0;
  background: var(--color-bg-layer-basement);
  color: var(--color-fg-neutral);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

.checklist-title-editor__input[aria-invalid="true"] {
  border-bottom-color: var(--color-stroke-critical-solid);
}

.checklist-title-editor__action--save {
  color: var(--color-fg-brand);
  font-size: 18px;
  font-weight: 700;
}

.checklist-title-editor__action:disabled,
.checklist-title-editor__edit:disabled,
.checklist-title-editor__input:disabled {
  cursor: wait;
  opacity: 0.55;
}

.checklist-title-editor__error {
  display: block;
  margin-top: 4px;
  color: var(--color-fg-critical);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.checklist-title-editor__accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .checklist-title-editor {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
  }

  .checklist-title-editor__form {
    width: 100%;
  }

  .checklist-title-editor__input {
    height: 34px;
    padding: 0 8px;
    font-size: 15px;
  }

  .checklist-title-editor__edit,
  .checklist-title-editor__action {
    width: 28px;
    height: 28px;
  }

  .checklist-title-editor__error {
    position: absolute;
    top: calc(100% + 1px);
    right: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--color-bg-critical-weak);
    text-align: left;
  }
}

.checklist-detail-bottom-sheet {
  display: none;
}

@media (max-width: 760px) {
  .checklist-detail-bottom-sheet {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: block;
  }

  .checklist-detail-bottom-sheet__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: rgb(23 23 23 / 40%);
  }

  .checklist-detail-bottom-sheet__dialog {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    max-width: 480px;
    height: min(732px, 90dvh);
    max-height: 90dvh;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 12px;
    padding: 10px 16px max(20px, env(safe-area-inset-bottom));
    margin: 0 auto;
    border-radius: 24px 24px 0 0;
    outline: none;
    background: var(--color-bg-layer-default);
    box-shadow: 0 -8px 32px -8px rgb(0 0 0 / 18%);
  }

  .checklist-detail-bottom-sheet__header {
    display: flex;
    min-height: 44px;
    flex: none;
    align-items: center;
    gap: 12px;
  }

  .checklist-detail-bottom-sheet__header h2 {
    margin: 0;
    overflow: hidden;
    color: var(--color-fg-neutral);
    font-size: 20px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .checklist-detail-bottom-sheet .checklist-detail-content {
    overscroll-behavior-y: contain;
    padding: 12px 0 0;
    -webkit-overflow-scrolling: touch;
  }
}

.checklist-detail-panel {
  position: sticky;
  top: 0;
  display: flex;
  height: calc(100dvh - 96px);
  overflow: hidden;
  flex-direction: column;
  border-left: 1px solid var(--color-stroke-neutral-weak);
  background: var(--color-bg-layer-default);
}

.checklist-detail-panel__header {
  display: flex;
  min-height: 72px;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
}

.checklist-detail-panel__header h2 {
  margin: 0;
  overflow: hidden;
  color: var(--color-fg-neutral);
  font-size: 18px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checklist-detail-panel__close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-fg-neutral);
  cursor: pointer;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  place-items: center;
}

.checklist-detail-panel__close:hover {
  background: var(--color-bg-neutral-weak);
}

.checklist-detail-panel__close:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .checklist-detail-panel {
    display: none;
  }
}

.checklist-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  color: var(--color-fg-neutral);
  text-align: center;
}

.checklist-state p {
  margin: 0;
}

.checklist-state button {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.checklist-state button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.app-header-summary__popover-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: transparent;
}

.app-header-summary__popover {
  position: absolute;
  z-index: 31;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-height: calc(100dvh - 116px);
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 12px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 12px 32px rgb(0 0 0 / 16%);
  white-space: normal;
}

.app-header-summary__popover h2 {
  margin: 0 0 16px;
  color: var(--color-fg-neutral);
  font-size: 16px;
}

.app-header-summary__popover button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.app-header-summary__calendar-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  margin-bottom: 12px;
}

.app-header-summary__calendar-navigation strong {
  font-size: 14px;
  white-space: nowrap;
}

.app-header-summary__calendar-navigation button,
.app-header-summary__calendar-day {
  display: grid;
  min-width: 32px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-fg-neutral);
  cursor: pointer;
  font: inherit;
}

.app-header-summary__calendar-navigation button:hover,
.app-header-summary__calendar-day:hover {
  background: var(--color-bg-neutral-weak);
}

.app-header-summary__calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  text-align: center;
}

.app-header-summary__weekday {
  padding: 6px 0;
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
}

.app-header-summary__calendar-day[aria-pressed="true"] {
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
}

.app-header-summary__calendar-day[aria-current="date"]:not(
    [aria-pressed="true"]
  ) {
  box-shadow: inset 0 0 0 1px var(--color-bg-brand-solid);
}

.app-header-summary__selection,
.app-header-summary__error {
  margin: 12px 0 0;
  font-size: 13px;
}

.app-header-summary__error {
  color: var(--color-fg-critical);
}

.app-header-summary__popover-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.app-header-summary__popover-actions button {
  min-width: 64px;
  padding: 8px 12px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 6px;
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
  cursor: pointer;
}

.app-header-summary__popover-actions button:last-child {
  border-color: var(--color-bg-brand-solid);
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
}

.app-header-summary__popover-actions button:disabled {
  cursor: default;
  opacity: 0.5;
}

@media (max-width: 760px) {
  .app-header-summary__popover {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: 360px;
    max-height: calc(100dvh - 84px);
    margin: 0 auto;
  }
}

.app-header-summary,
.app-header-summary__d-day,
.app-header-summary__d-day-desktop,
.app-header-summary__progress {
  display: flex;
  align-items: center;
}

.app-header-summary {
  width: 360px;
  max-width: 100%;
  height: 48px;
  gap: 16px;
  white-space: nowrap;
}

.app-header-summary__d-day,
.app-header-summary__d-day-desktop,
.app-header-summary__progress {
  gap: 8px;
}

.app-header-summary__wedding-date {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.app-header-summary__d-day-button,
.app-header-summary__retry {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.app-header-summary__d-day-button {
  padding: 6px 0;
  text-align: left;
}

.app-header-summary__d-day-button:hover strong,
.app-header-summary__retry:hover {
  color: var(--color-fg-brand);
}

.app-header-summary__retry {
  flex: none;
  padding: 4px;
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
}

.app-header-summary__d-day-button:focus-visible,
.app-header-summary__retry:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.app-header-summary__d-day-mobile {
  display: none;
}

.app-header-summary strong {
  color: var(--color-fg-neutral);
  font-size: 14px;
  font-weight: 700;
}

.app-header-summary__d-day-desktop > span,
.app-header-summary__progress > span {
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  font-weight: 400;
}

.app-header-summary__d-day-button--unset strong,
.app-header-summary__d-day-button--unset span {
  color: var(--color-fg-brand);
}

.app-header-summary__separator {
  width: 1px;
  height: 24px;
  flex: none;
  background: var(--color-stroke-neutral-weak);
}

.app-header-summary__progress-ring {
  width: 24px;
  height: 24px;
  flex: none;
  overflow: visible;
  transform: rotate(-90deg);
}

.app-header-summary__progress-ring circle {
  fill: none;
  stroke: var(--color-stroke-neutral-weak);
  stroke-width: 4;
}

.app-header-summary__progress-ring .app-header-summary__progress-range {
  stroke: var(--color-bg-brand-solid);
}

@media (max-width: 760px) {
  .app-header-summary {
    width: auto;
    height: 36px;
    gap: 8px;
  }

  .app-header-summary__d-day-desktop,
  .app-header-summary__progress > span,
  .app-header-summary__separator {
    display: none;
  }

  .app-header-summary__d-day-mobile {
    display: inline;
  }

  .app-header-summary__d-day,
  .app-header-summary__progress {
    gap: 4px;
  }

  .app-header-summary__progress-ring {
    width: 20px;
    height: 20px;
  }
}

.feedback-feature {
  position: fixed;
  right: calc(var(--service-side-panel-width, 0px) + 28px);
  bottom: 28px;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}

.feedback-feature__trigger,
.feedback-popover button {
  font: inherit;
}

.feedback-feature__trigger {
  display: flex;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  background: var(--color-bg-brand-solid);
  box-shadow: 0 5px 16px rgb(54 56 61 / 16%);
  color: var(--color-fg-on-brand);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.feedback-feature__trigger:hover {
  filter: brightness(0.98);
}

.feedback-feature__trigger:active {
  background: var(--color-bg-brand-solid-pressed);
}

.feedback-feature__trigger svg {
  width: 18px;
  height: 18px;
}

.feedback-popover {
  width: 344px;
  padding: 24px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 16px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 8px 28px rgb(54 56 61 / 16%);
}

.feedback-popover__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feedback-popover__header h2 {
  margin: 0;
  color: var(--color-fg-neutral);
  font-size: 21px;
  line-height: 1.42;
}

.feedback-popover__close {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.feedback-popover form {
  display: flex;
  margin-top: 18px;
  flex-direction: column;
  gap: 18px;
}

.feedback-rating {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feedback-rating__button {
  display: flex;
  height: 48px;
  border: 1px solid var(--color-stroke-neutral);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.feedback-rating__button[aria-pressed="true"] {
  border-color: var(--color-stroke-brand-solid);
  color: var(--color-fg-brand);
}

.feedback-rating__button svg {
  width: 18px;
  height: 18px;
}

.feedback-rating__thumb--down {
  transform: rotate(180deg);
}

.feedback-popover__field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-popover__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-fg-neutral);
  font-size: 13px;
  font-weight: 600;
}

.feedback-popover__label-row span,
.feedback-popover__count {
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 400;
}

.feedback-popover textarea {
  width: 100%;
  height: 92px;
  padding: 13px 14px 28px;
  resize: none;
  border: 1px solid var(--color-stroke-neutral);
  border-radius: 10px;
  outline: none;
  background: var(--color-bg-layer-basement);
  color: var(--color-fg-neutral);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.feedback-popover textarea::placeholder {
  color: var(--color-fg-placeholder);
}

.feedback-popover textarea:focus {
  border-color: var(--color-stroke-focus-ring);
  box-shadow: 0 0 0 2px rgb(94 152 254 / 18%);
}

.feedback-popover__count {
  position: absolute;
  right: 13px;
  bottom: 9px;
  font-size: 11px;
}

.feedback-popover__submit {
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.feedback-popover__submit:active:not(:disabled) {
  background: var(--color-bg-brand-solid-pressed);
}

.feedback-popover__submit:disabled {
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-placeholder);
  cursor: not-allowed;
}

.feedback-feature button:focus-visible {
  outline: 2px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.feedback-feature button:disabled {
  cursor: not-allowed;
}

.feedback-form__error {
  margin: 0;
  color: var(--color-fg-critical);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.feedback-bottom-sheet {
  display: none;
}

.feedback-snackbar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 30;
  display: flex;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  background: var(--color-fg-neutral);
  box-shadow: 0 5px 18px rgb(54 56 61 / 22%);
  color: var(--color-fg-on-brand);
  font-size: 14px;
  font-weight: 600;
}

.feedback-snackbar__icon {
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  place-items: center;
  background: var(--color-bg-positive-weak);
  color: var(--color-fg-positive);
  font-size: 13px;
}

.feedback-feature__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .feedback-feature {
    position: static;
    display: block;
    width: var(--mobile-dock-size);
    height: var(--mobile-dock-size);
    flex: none;
  }

  .feedback-feature__trigger {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid var(--color-stroke-neutral-weak);
    background: var(--color-bg-layer-default);
    box-shadow: 0 5px 16px rgb(54 56 61 / 12%);
    color: var(--color-fg-neutral);
    justify-content: center;
  }

  .feedback-feature__trigger:active {
    background: var(--color-bg-neutral-weak);
  }

  .feedback-feature__trigger svg {
    width: 24px;
    height: 24px;
  }

  .feedback-feature__trigger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .feedback-snackbar {
    bottom: calc(var(--mobile-dock-size) + var(--mobile-dock-offset) + 12px);
    width: max-content;
    max-width: calc(100vw - 32px);
  }

  .feedback-bottom-sheet {
    display: block;
  }

  .feedback-bottom-sheet__scrim {
    position: fixed;
    inset: 0;
    z-index: 21;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgb(23 23 23 / 40%);
    cursor: default;
  }

  .feedback-bottom-sheet__content {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 22;
    display: flex;
    padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    flex-direction: column;
    gap: 18px;
    background: var(--color-bg-layer-default);
    box-shadow: 0 -8px 32px -8px rgb(0 0 0 / 18%);
  }

  .feedback-bottom-sheet__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .feedback-bottom-sheet__header h2 {
    margin: 0;
    color: var(--color-fg-neutral);
    font-size: 22px;
    line-height: 1.4;
  }

  .feedback-bottom-sheet form {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .feedback-bottom-sheet .feedback-rating__button {
    display: flex;
    height: 74px;
    padding: 0;
    border: 1px solid var(--color-stroke-neutral);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background: var(--color-bg-layer-default);
    color: var(--color-fg-neutral);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
  }

  .feedback-bottom-sheet .feedback-rating__button[aria-pressed="true"] {
    border: 2px solid #e88471;
    color: #8a493f;
  }

  .feedback-bottom-sheet .feedback-rating__button svg {
    width: 22px;
    height: 22px;
  }

  .feedback-bottom-sheet__field {
    display: flex;
    height: 122px;
    padding: 10px 16px;
    border-radius: 12px;
    align-items: flex-start;
    gap: 10px;
    background: #fcfaf4;
    color: var(--color-fg-neutral-muted);
  }

  .feedback-bottom-sheet__field svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
  }

  .feedback-bottom-sheet__field textarea {
    width: 100%;
    height: 100%;
    padding: 0;
    resize: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-fg-neutral);
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
  }

  .feedback-bottom-sheet__field textarea::placeholder {
    color: var(--color-fg-neutral-muted);
    opacity: 1;
  }

  .feedback-bottom-sheet__field:focus-within {
    outline: 2px solid var(--color-stroke-focus-ring);
    outline-offset: 2px;
  }

  .feedback-bottom-sheet__submit {
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #e88471;
    color: var(--color-fg-on-brand);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
  }

  .feedback-bottom-sheet__submit:disabled {
    background: var(--color-bg-neutral-weak);
    color: var(--color-fg-placeholder);
  }
}

.app-bottom-navigation {
  display: none;
}

@media (max-width: 760px) {
  .app-bottom-navigation {
    display: flex;
    min-width: 0;
    height: 100%;
    flex: 1;
    overflow: hidden;
    border: 1px solid var(--color-stroke-neutral-weak);
    border-radius: 999px;
    background: var(--color-bg-layer-default);
  }

  .app-bottom-navigation__item {
    position: relative;
    display: flex;
    min-width: 0;
    margin: 6px;
    flex: 1;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--color-fg-neutral-muted);
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
  }

  .app-bottom-navigation__item svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .app-bottom-navigation__item[aria-current="page"] {
    background: var(--color-bg-neutral-weak);
    color: var(--color-fg-brand);
  }

  .app-bottom-navigation__item:focus-visible {
    outline: 3px solid var(--color-stroke-focus-ring);
    outline-offset: -3px;
  }
}

.app-header {
  min-width: 320px;
  height: 72px;
  flex: none;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
  background: var(--color-bg-layer-default);
}

.app-header__inner {
  display: flex;
  width: min(calc(100% - 48px), 1440px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
}

.app-header__left,
.app-header__navigation,
.app-header__right,
.app-header__guest-actions {
  display: flex;
  align-items: center;
}

.app-header__left {
  min-width: 0;
  align-self: stretch;
  gap: 48px;
}

.app-header__navigation {
  align-self: stretch;
  gap: 30px;
}

.app-header__navigation-item {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: center;
  color: var(--color-fg-neutral-muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.app-header__navigation-item[aria-current="page"] {
  color: var(--color-fg-neutral);
}

.app-header__navigation-item[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-bg-brand-solid);
  content: "";
}

.app-header__right {
  position: relative;
  flex: none;
  gap: 10px;
}

.app-header__user {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
  font-size: 13px;
  font-weight: 700;
}

.app-header__logout {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-fg-neutral-muted);
  cursor: pointer;
}

.app-header__logout:hover:not(:disabled) {
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
}

.app-header__logout:disabled {
  cursor: progress;
  opacity: 0.55;
}

.app-header__logout svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-header__logout-error {
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  right: 0;
  display: flex;
  width: max-content;
  max-width: min(320px, calc(100vw - 24px));
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 8px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
  color: var(--color-fg-neutral);
  font-size: 13px;
  line-height: 1.5;
}

.app-header__logout-error button {
  flex: none;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.app-header__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.app-header__guest-actions {
  flex: none;
  gap: 0;
}

.app-header__auth-pending {
  width: 128px;
  height: 36px;
  flex: none;
  border-radius: 6px;
  background: var(--color-bg-neutral-weak);
}

.app-header__auth-pending-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-header__login,
.app-header__signup {
  position: relative;
  display: inline-flex;
  min-width: auto;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.app-header__login:hover,
.app-header__signup:hover {
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral);
}

.app-header__signup::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 14px;
  background: var(--color-stroke-neutral-weak);
  content: "";
  transform: translateY(-50%);
}

.app-header a:focus-visible,
.app-header button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .app-header {
    height: 64px;
  }

  .app-header__inner {
    width: min(calc(100% - 32px), 1440px);
    gap: 12px;
  }

  .app-header__navigation {
    display: none;
  }

  .app-header__left {
    gap: 0;
  }

  .app-header__right {
    min-width: 0;
    gap: 8px;
  }

  .app-header__summary {
    min-width: 0;
  }

  .app-header__user {
    width: 36px;
    height: 36px;
  }

  .app-header__logout {
    width: 36px;
    height: 36px;
  }

  .app-header__auth-pending {
    width: 108px;
  }
}

@media (max-width: 390px) {
  .app-header__inner {
    width: calc(100% - 24px);
    gap: 8px;
  }

  .app-header__right {
    gap: 4px;
  }

  .app-header__user,
  .app-header__logout {
    width: 32px;
    height: 32px;
  }

  .app-header__login,
  .app-header__signup {
    padding: 0 9px;
    font-size: 13px;
  }
}

.service-layout {
  --mobile-dock-size: 64px;
  --mobile-dock-offset: max(12px, env(safe-area-inset-bottom));
  --service-side-panel-width: 0px;

  display: flex;
  height: 100dvh;
  min-width: 320px;
  overflow: hidden;
  flex-direction: column;
  background: var(--color-bg-layer-basement);
}

@media (min-width: 761px) {
  .service-layout:has(
    .checklist-detail-panel,
    .checklist-appointment-creation--desktop,
    .checklist-task-creation--desktop
  ) {
    --service-side-panel-width: 480px;
  }
}

.service-layout__content {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.service-layout__header {
  display: contents;
}

.service-layout__header[hidden],
.service-layout__mobile-dock[hidden] {
  display: none;
}

.service-layout .service-layout__content > * {
  min-height: 100%;
}

.service-layout__mobile-dock {
  display: contents;
}

@media (max-width: 760px) {
  .service-layout__content {
    padding-bottom: calc(
      var(--mobile-dock-size) + var(--mobile-dock-offset) + 16px
    );
    scroll-padding-bottom: calc(
      var(--mobile-dock-size) + var(--mobile-dock-offset) + 16px
    );
  }

  .service-layout__mobile-dock {
    position: fixed;
    z-index: 20;
    right: 16px;
    bottom: var(--mobile-dock-offset);
    left: 16px;
    display: flex;
    width: auto;
    max-width: 438px;
    height: var(--mobile-dock-size);
    margin: 0 auto;
    gap: clamp(8px, 2vw, 12px);
  }
}

.checklist-page {
  min-width: 320px;
  background: var(--color-bg-layer-basement);
  color: var(--color-fg-neutral);
}

.checklist-page__content {
  width: 100%;
  padding: 32px 0 64px;
}

@media (max-width: 760px) {
  .checklist-page__content {
    width: min(calc(100% - 32px), 960px);
    margin: 0 auto;
  }
}

.login-form {
  display: flex;
  width: min(100%, 360px);
  flex-direction: column;
  gap: 0;
}

.login-form__title {
  margin: 0 0 28px;
  color: var(--color-fg-neutral);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.login-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-form__label {
  color: var(--color-fg-neutral);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.login-form__input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 8px;
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  padding: 0 16px;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.login-form__input::placeholder {
  color: var(--color-fg-placeholder);
  opacity: 1;
}

.login-form__input:focus-visible {
  border-width: 2px;
  border-color: var(--color-stroke-neutral-contrast);
}

.login-form__input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.login-form__submit-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.login-form__submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 120ms ease;
}

.login-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

@media (hover: hover) and (pointer: fine) {
  .login-form__submit:not(:disabled):hover {
    background: var(--color-bg-brand-solid-pressed);
  }
}

@media not all and (hover: hover) and (pointer: fine) {
  .login-form__submit:not(:disabled):active {
    background: var(--color-bg-brand-solid-pressed);
  }
}

.login-form__submit:focus-visible,
.login-form__signup-prompt a:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 3px;
}

.login-form__form-error {
  margin: 0;
  color: var(--color-fg-critical);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.login-form__form-error:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.login-form__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 20px;
  color: var(--color-fg-neutral-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.login-form__divider::before,
.login-form__divider::after {
  height: 1px;
  flex: 1;
  background: var(--color-stroke-neutral-weak);
  content: "";
}

.login-form__social-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-form__social-button {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 0 20px;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    transform 120ms ease;
}

.login-form__social-button--kakao {
  background: #fee500;
  color: #191919;
}

.login-form__social-button--google {
  border-color: #747775;
  background: #ffffff;
  color: #1f1f1f;
}

.login-form__social-button--apple {
  background: #000000;
  color: #ffffff;
}

.login-form__social-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: none;
  align-items: center;
  justify-content: center;
}

.login-form__social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentcolor;
}

.login-form__social-button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 3px;
}

.login-form__social-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

@media (hover: hover) and (pointer: fine) {
  .login-form__social-button--kakao:not(:disabled):hover {
    background: #f4dc00;
  }

  .login-form__social-button--google:not(:disabled):hover {
    background: #f8faff;
  }

  .login-form__social-button--apple:not(:disabled):hover {
    background: #242424;
  }
}

@media not all and (hover: hover) and (pointer: fine) {
  .login-form__social-button:not(:disabled):active {
    transform: scale(0.98);
  }
}

.login-form__social-notice {
  margin: 12px 0 0;
  color: var(--color-fg-neutral-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.login-form__signup-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
  color: var(--color-fg-brand);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.login-form__signup-prompt a {
  border-radius: 4px;
  color: var(--color-fg-brand);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 520px) {
  .login-form__title {
    font-size: 26px;
  }
}

.preparation-task-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.preparation-task-list--checklist {
  padding-top: 8px;
}

.preparation-task-list--scrollable {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}

.preparation-task-list__item {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--color-fg-neutral);
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.preparation-task-list--checklist .preparation-task-list__item {
  padding-right: 16px;
  padding-left: 16px;
}

.preparation-task-list--regular .preparation-task-list__item {
  font-size: 14px;
}

.preparation-task-list--compact .preparation-task-list__item {
  gap: 10px;
  font-size: 13px;
}

.preparation-task-list--compact.preparation-task-list--checklist
  .preparation-task-list__item {
  padding-right: 0;
  padding-left: 0;
}

.preparation-task-list__marker {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
}

.preparation-task-list__marker--checklist {
  background: var(--color-fg-neutral-muted);
}

.preparation-task-list__marker--available {
  background: var(--color-bg-brand-solid);
}

.preparation-task-list__title {
  min-width: 0;
  flex: 1;
}

.preparation-task-list__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.preparation-task-essential-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--color-bg-brand-weak);
  color: var(--color-fg-brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.preparation-task-list--compact .preparation-task-essential-badge {
  font-size: 11px;
}

.preparation-task-list__add {
  min-width: 52px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--color-stroke-brand-solid);
  border-radius: 8px;
  background: var(--color-bg-layer-default);
  color: var(--color-fg-brand);
  font-size: 13px;
  font-weight: 700;
}

.preparation-task-list--compact .preparation-task-list__add {
  min-width: auto;
  min-height: 30px;
  padding: 0 10px;
  background: transparent;
  font-size: 12px;
}

.preparation-task-list__empty-state {
  display: flex;
  min-height: 0;
  overflow-y: auto;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  text-align: center;
}

.preparation-task-list__empty-state--compact {
  overflow: visible;
  padding: 12px 0 4px;
}

.preparation-task-list__empty-state p {
  margin: 8px 0 0;
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.preparation-task-list__empty-state--compact p {
  font-size: 13px;
}

.preparation-task-list__empty-icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
}

.preparation-task-list__empty-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preparation-task-list__empty-state h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.preparation-task-list__add-all {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
  font-size: 14px;
  font-weight: 700;
}

.preparation-task-list__add-all--compact {
  width: 100%;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--color-stroke-brand-solid);
  border-radius: 8px;
  background: transparent;
  color: var(--color-fg-brand);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.preparation-task-list__add-all--compact:hover:not(:disabled) {
  background: color-mix(in srgb, var(--color-bg-brand-weak) 40%, transparent);
}

.preparation-task-list__add-all--compact:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 1px;
}

.preparation-task-list__add-all--large {
  min-height: 48px;
  border-radius: 12px;
}

.preparation-task-list__error {
  margin: 0 0 8px;
  color: var(--color-fg-critical);
  font-size: 13px;
  line-height: 1.5;
}

.preparation-task-list__add:disabled,
.preparation-task-list__add-all:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.preparation-step-checklist {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 16px 16px 0;
  border-top: 1px solid var(--color-stroke-neutral-weak);
  border-left: 1px solid var(--color-stroke-neutral-weak);
  background: color-mix(
    in srgb,
    var(--color-bg-neutral-weak) 26%,
    var(--color-bg-layer-default)
  );
}

.preparation-step-checklist__header {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.preparation-step-checklist__header h3 {
  margin: 0;
  color: var(--color-fg-neutral);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.preparation-step-checklist__count {
  display: inline-flex;
  height: 26px;
  flex: none;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 700;
}

.preparation-step-checklist > .preparation-task-list--checklist {
  padding-top: 0;
  scrollbar-gutter: auto;
}

.preparation-step-checklist
  > .preparation-task-list--checklist
  .preparation-task-list__item {
  padding-right: 0;
  padding-left: 0;
}

.preparation-step-checklist__footer {
  display: flex;
  flex: none;
  justify-content: flex-end;
  padding: 4px 0 8px;
}

.preparation-step-checklist__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-fg-brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.preparation-step-checklist__link:hover {
  text-decoration: underline;
}

.preparation-step-checklist__link:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 3px;
}

.preparation-step-inline-detail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
  padding: 2px 14px 14px;
  border: 0;
  border-radius: 0 0 14px 14px;
  background: var(--color-bg-layer-default);
}

.preparation-step-inline-detail__summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-stroke-neutral-weak);
}

.preparation-step-inline-detail__description {
  margin: 0;
  color: var(--color-fg-neutral-muted);
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.preparation-step-inline-detail__collapse {
  align-self: flex-start;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--color-fg-brand);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.preparation-step-inline-detail__collapse:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.preparation-step-inline-detail__section,
.preparation-step-inline-detail .preparation-step-checklist {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
}

.preparation-step-inline-detail .preparation-step-checklist {
  padding-top: 16px;
  border-top: 1px solid var(--color-stroke-neutral-weak);
}

.preparation-step-inline-detail__section-header,
.preparation-step-inline-detail .preparation-step-checklist__header {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 6px;
  margin: 0;
}

.preparation-step-inline-detail__section-header h3,
.preparation-step-inline-detail .preparation-step-checklist__header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--color-fg-neutral);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.preparation-step-inline-detail__section-header h3::before,
.preparation-step-inline-detail .preparation-step-checklist__header h3::before {
  width: 4px;
  height: 18px;
  flex: none;
  border-radius: 999px;
  background: var(--color-bg-brand-solid);
  content: "";
}

.preparation-step-inline-detail__count,
.preparation-step-inline-detail .preparation-step-checklist__count {
  display: inline-flex;
  height: 24px;
  flex: none;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.preparation-step-inline-detail .preparation-task-list {
  padding: 2px 0;
}

.preparation-step-inline-detail
  .preparation-step-checklist
  > .preparation-task-list--checklist
  .preparation-task-list__item {
  padding-right: 0;
  padding-left: 0;
}

.preparation-step-inline-detail .preparation-task-list__empty-state {
  flex: none;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6px 0 2px;
  text-align: left;
}

.preparation-step-inline-detail .preparation-task-list__empty-icon {
  display: none;
}

.preparation-step-inline-detail .preparation-task-list__empty-state h3 {
  display: none;
}

.preparation-step-inline-detail .preparation-task-list__empty-state p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
}

.preparation-step-inline-detail
  .preparation-step-checklist--empty
  .preparation-step-checklist__footer {
  padding-top: 6px;
}

.preparation-step-inline-detail__footer,
.preparation-step-inline-detail .preparation-step-checklist__footer {
  display: flex;
  flex: none;
  justify-content: flex-end;
  padding: 8px 0 0;
}

.preparation-step-inline-detail .preparation-step-checklist__link {
  min-height: 32px;
  align-items: center;
}

@media (min-width: 761px) {
  .preparation-step-inline-detail {
    display: none;
  }
}

.preparation-roadmap {
  --preparation-roadmap-grid-height: 537px;
  --preparation-roadmap-connector: #c58f80;
  --preparation-roadmap-accent-text: #5b5147;

  isolation: isolate;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}

.preparation-roadmap-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  color: var(--color-fg-neutral);
  text-align: center;
}

.preparation-roadmap-state p {
  margin: 0;
}

.preparation-roadmap-state button {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.preparation-roadmap-state button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.preparation-roadmap__categories {
  padding: 32px 12px;
  background: var(--color-bg-layer-default);
}

.preparation-roadmap__category-list,
.preparation-roadmap__steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.preparation-roadmap__category-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preparation-roadmap__category {
  display: flex;
  width: 156px;
  height: 48px;
  align-items: center;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--color-fg-neutral-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.preparation-roadmap__category--current {
  background: var(--color-bg-brand-weak);
  color: var(--preparation-roadmap-accent-text);
  font-weight: 700;
}

.preparation-roadmap__category:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.preparation-roadmap__workspace {
  display: flex;
  width: 100%;
  max-width: 1680px;
  min-width: 0;
  flex-direction: column;
  padding: 32px clamp(32px, 2.5vw, 48px) 28px;
  margin: 0 auto;
}

.preparation-roadmap__main {
  min-width: 0;
}

.preparation-roadmap__header {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0 2px 24px;
}

.preparation-roadmap__header-copy {
  display: flex;
  max-width: 660px;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.preparation-roadmap__header h1,
.preparation-roadmap__header p,
.preparation-roadmap__step-title,
.preparation-roadmap__guide {
  margin: 0;
}

.preparation-roadmap__header h1 {
  max-width: 100%;
  color: var(--color-fg-neutral);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.preparation-roadmap__guide {
  display: flex;
  flex: none;
  align-items: center;
  padding: 0;
  list-style: none;
}

.preparation-roadmap__guide li {
  display: flex;
  align-items: center;
  color: var(--color-fg-neutral-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.preparation-roadmap__guide li:not(:last-child)::after {
  margin: 0 10px;
  color: var(--color-stroke-neutral-weak);
  content: "→";
}

.preparation-roadmap__guide li > span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--color-bg-brand-weak);
  color: var(--color-fg-brand);
  font-size: 12px;
  font-weight: 700;
}

.preparation-roadmap__content {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.preparation-roadmap__grid-wrap,
.preparation-roadmap__steps {
  position: relative;
  width: 100%;
  height: var(--preparation-roadmap-grid-height);
}

.preparation-roadmap__steps {
  z-index: 1;
  display: grid;
  grid-template-areas:
    "step01 step02 step03"
    "step06 step05 step04"
    "step07 step08 step09";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
}

.preparation-roadmap__step {
  position: relative;
  min-width: 0;
}

.preparation-roadmap__step-button {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  padding: 16px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 14px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 3px 12px rgb(0 0 0 / 4%);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.preparation-roadmap__step-button:not([aria-pressed="true"]):hover {
  border-color: color-mix(
    in srgb,
    var(--color-stroke-brand-solid) 55%,
    var(--color-stroke-neutral-weak)
  );
  box-shadow: 0 7px 18px rgb(193 104 84 / 10%);
}

.preparation-roadmap__step::after {
  position: absolute;
  z-index: -1;
  display: block;
  background: var(--preparation-roadmap-connector);
  content: "";
}

.preparation-roadmap__step--01::after,
.preparation-roadmap__step--02::after,
.preparation-roadmap__step--05::after,
.preparation-roadmap__step--06::after,
.preparation-roadmap__step--07::after,
.preparation-roadmap__step--08::after {
  top: 50%;
  right: -17px;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

.preparation-roadmap__step--03::after {
  bottom: -19px;
  left: 50%;
  width: 2px;
  height: 18px;
}

.preparation-roadmap__step--06::before {
  position: absolute;
  z-index: -1;
  bottom: -19px;
  left: 50%;
  display: block;
  width: 2px;
  height: 18px;
  background: var(--preparation-roadmap-connector);
  content: "";
}

.preparation-roadmap__step:last-child::after {
  display: none;
}

.preparation-roadmap__step-button[aria-pressed="true"] {
  padding: 15px;
  border: 2px solid var(--color-stroke-brand-solid);
  background: color-mix(
    in srgb,
    var(--color-bg-brand-weak) 48%,
    var(--color-bg-layer-default)
  );
  box-shadow: 0 8px 22px rgb(193 104 84 / 12%);
}

.preparation-roadmap__step-button:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

.preparation-roadmap__step--01 {
  grid-area: step01;
}

.preparation-roadmap__step--02 {
  grid-area: step02;
}

.preparation-roadmap__step--03 {
  grid-area: step03;
}

.preparation-roadmap__step--04 {
  grid-area: step04;
}

.preparation-roadmap__step--05 {
  grid-area: step05;
}

.preparation-roadmap__step--06 {
  grid-area: step06;
}

.preparation-roadmap__step--07 {
  grid-area: step07;
}

.preparation-roadmap__step--08 {
  grid-area: step08;
}

.preparation-roadmap__step--09 {
  grid-area: step09;
}

.preparation-roadmap__step-header {
  display: flex;
  flex: none;
  align-items: flex-start;
  margin-bottom: 10px;
}

.preparation-roadmap__step-number {
  display: block;
  color: var(--preparation-roadmap-connector);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.preparation-roadmap__step-title {
  display: block;
  flex: none;
  padding-right: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.preparation-roadmap__step-action {
  position: absolute;
  bottom: 15px;
  left: 16px;
  color: var(--color-fg-brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

.preparation-roadmap__step-button:hover .preparation-roadmap__step-action,
.preparation-roadmap__step-button:focus-visible
  .preparation-roadmap__step-action {
  opacity: 1;
  transform: translateY(0);
}

.preparation-roadmap__step-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.preparation-step-detail {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
}

.preparation-step-detail__header h2,
.preparation-step-detail__header p {
  margin: 0;
}

.preparation-step-detail__panel {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 0 0 14px;
  border: 1px solid
    color-mix(
      in srgb,
      var(--color-stroke-brand-solid) 46%,
      var(--color-stroke-neutral-weak)
    );
  border-radius: 16px;
  background: var(--color-bg-layer-default);
  box-shadow: 0 8px 24px rgb(0 0 0 / 5%);
}

.preparation-step-detail__header {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 20px 14px;
  background: color-mix(
    in srgb,
    var(--color-bg-brand-weak) 34%,
    var(--color-bg-layer-default)
  );
}

.preparation-step-detail__context {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.preparation-step-detail__number {
  display: inline-flex;
  min-width: 34px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
  font-size: 13px;
}

.preparation-step-detail__header h2 {
  width: auto;
  max-width: 100%;
  min-width: 0;
  flex: 1;
  color: var(--color-fg-neutral);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.preparation-step-detail__header p {
  width: 100%;
  max-width: 100%;
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.preparation-step-detail__content {
  overflow: hidden;
  min-height: 0;
  flex: 1;
}

.preparation-step-detail__columns {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.preparation-step-detail__section {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 16px 8px 0 20px;
  border-top: 1px solid var(--color-stroke-neutral-weak);
}

.preparation-step-detail__section > .preparation-task-list--scrollable {
  scrollbar-gutter: auto;
}

.preparation-step-detail__section--empty {
  min-height: 100%;
}

.preparation-step-detail__section-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.preparation-step-detail__section-header h3 {
  margin: 0;
}

.preparation-step-detail__section-header h3 {
  color: var(--color-fg-neutral);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.preparation-step-detail__section-count {
  display: inline-flex;
  height: 26px;
  flex: none;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 700;
}

.preparation-step-detail__section-footer {
  display: flex;
  flex: none;
  justify-content: center;
  padding: 0 12px;
  margin: 0 -8px 0 -20px;
}

.preparation-roadmap__content > .preparation-step-detail {
  height: var(--preparation-roadmap-grid-height);
  min-height: var(--preparation-roadmap-grid-height);
  flex: none;
  padding-top: 0;
}

.preparation-roadmap__content
  > .preparation-step-detail
  .preparation-step-detail__panel {
  min-height: 0;
}

.preparation-roadmap__content
  > .preparation-step-detail
  .preparation-step-detail__header {
  flex: none;
}

.preparation-roadmap__content
  > .preparation-step-detail
  .preparation-step-detail__content {
  overscroll-behavior-y: contain;
}

@media (min-width: 1200px) {
  .preparation-roadmap__categories {
    border-right: 1px solid var(--color-stroke-neutral-weak);
  }
}

@media (max-width: 1199px) {
  .preparation-roadmap__content > .preparation-step-detail {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 1;
  }

  .preparation-roadmap {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
  }

  .preparation-roadmap__categories {
    overflow-x: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 16px 24px 0;
    border-bottom: 1px solid var(--color-stroke-neutral-weak);
    scrollbar-width: none;
  }

  .preparation-roadmap__categories::-webkit-scrollbar {
    display: none;
  }

  .preparation-roadmap__category-list {
    width: max-content;
    flex-direction: row;
    gap: 0;
  }

  .preparation-roadmap__category {
    position: relative;
    width: auto;
    height: 44px;
    padding: 0 16px;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
  }

  .preparation-roadmap__category--current {
    background: transparent;
    color: var(--preparation-roadmap-accent-text);
  }

  .preparation-roadmap__category--current::after {
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--color-stroke-brand-solid);
    content: "";
  }

  .preparation-roadmap__workspace {
    display: flex;
    width: 100%;
    max-width: 1180px;
    flex-direction: column;
    padding: 24px;
    margin: 0 auto;
  }

  .preparation-roadmap__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 24px;
  }

  .preparation-roadmap__main {
    width: 100%;
    max-width: 100%;
  }

  .preparation-roadmap__grid-wrap,
  .preparation-roadmap__steps {
    width: 100%;
    max-width: 640px;
  }

  .preparation-roadmap__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preparation-roadmap__step--03::after,
  .preparation-roadmap__step--06::before {
    left: 50%;
  }

  .preparation-step-detail {
    width: 100%;
    padding-top: 0;
  }

  .preparation-step-detail__panel {
    height: auto;
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .preparation-roadmap__categories {
    position: sticky;
    z-index: 10;
    top: 0;
    padding: 12px 16px 0;
  }

  .preparation-roadmap__workspace {
    gap: 20px;
    padding: 20px 16px 32px;
  }

  .preparation-roadmap__header {
    display: block;
    padding: 0 0 16px;
  }

  .preparation-roadmap__header h1 {
    margin: 0;
    color: var(--color-fg-neutral);
    font-size: clamp(20px, 6.1vw, 24px);
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    word-break: keep-all;
  }

  .preparation-roadmap__header-copy {
    gap: 6px;
  }

  .preparation-roadmap__header p {
    color: var(--color-fg-neutral-muted);
    font-size: 14px;
    line-height: 1.5;
    word-break: keep-all;
  }

  .preparation-roadmap__content {
    gap: 20px;
  }

  .preparation-roadmap__grid-wrap,
  .preparation-roadmap__steps {
    height: auto;
    max-width: none;
  }

  .preparation-roadmap__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .preparation-roadmap__step {
    display: flex;
    flex-direction: column;
  }

  .preparation-roadmap__step--expanded {
    border: 2px solid var(--color-stroke-brand-solid);
    border-radius: 16px;
    background: var(--color-bg-layer-default);
    box-shadow: 0 8px 18px rgb(193 104 84 / 8%);
  }

  .preparation-roadmap__step-button {
    min-height: 120px;
    height: auto;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgb(0 0 0 / 5%);
  }

  .preparation-roadmap__step-button[aria-pressed="true"] {
    padding: 13px;
    background: var(--color-bg-layer-default);
    box-shadow: 0 4px 14px rgb(0 0 0 / 5%);
  }

  .preparation-roadmap__step--expanded
    > .preparation-roadmap__step-button[aria-pressed="true"] {
    min-height: 72px;
    padding: 10px 14px 4px;
    border: 0;
    border-radius: 14px 14px 0 0;
    box-shadow: none;
  }

  .preparation-roadmap__step-header {
    margin-bottom: 6px;
  }

  .preparation-roadmap__step-number {
    font-size: 20px;
  }

  .preparation-roadmap__step-title {
    padding-right: 52px;
    font-size: 16px;
    line-height: 1.35;
  }

  .preparation-roadmap__step-action {
    position: static;
    margin-top: auto;
    padding-top: 6px;
    opacity: 1;
    transform: none;
  }

  .preparation-roadmap__step-icon {
    right: 14px;
    bottom: 12px;
    width: 48px;
    height: 48px;
  }

  .preparation-roadmap__step--expanded
    > .preparation-roadmap__step-button
    .preparation-roadmap__step-header {
    margin-bottom: 2px;
  }

  .preparation-roadmap__step--expanded
    > .preparation-roadmap__step-button
    .preparation-roadmap__step-icon {
    bottom: 6px;
    width: 44px;
    height: 44px;
  }

  .preparation-roadmap__step--expanded > .preparation-step-inline-detail {
    width: 100%;
  }

  .preparation-roadmap__step::after,
  .preparation-roadmap__step--03::after,
  .preparation-roadmap__step--06::before {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 50%;
    width: 2px;
    height: 16px;
  }

  .preparation-roadmap__step:last-child::before,
  .preparation-roadmap__step:last-child::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preparation-roadmap__step-button,
  .preparation-roadmap__step-action {
    transition: none;
  }
}

.home-dashboard-loading__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.home-dashboard-loading__section {
  min-width: 0;
  padding: 24px;
  border-radius: 12px;
  background: var(--color-bg-layer-default);
  box-shadow: inset 0 0 0 1px var(--color-stroke-neutral);
}

.home-dashboard-state__top > .home-dashboard-loading__section {
  height: 436px;
}

.home-dashboard-loading__section-header,
.home-dashboard-loading__upcoming-meta,
.home-dashboard-loading__recommended-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-dashboard-loading__section-header {
  height: 32px;
  margin-bottom: 20px;
}

.home-dashboard-loading__section-title,
.home-dashboard-loading__section-action,
.home-dashboard-loading__upcoming-card,
.home-dashboard-loading__upcoming-date,
.home-dashboard-loading__upcoming-badge,
.home-dashboard-loading__upcoming-title,
.home-dashboard-loading__upcoming-detail,
.home-dashboard-loading__unscheduled-card,
.home-dashboard-loading__unscheduled-category,
.home-dashboard-loading__unscheduled-title,
.home-dashboard-loading__unscheduled-action,
.home-dashboard-loading__recommended-card,
.home-dashboard-loading__recommended-category,
.home-dashboard-loading__recommended-title,
.home-dashboard-loading__recommended-description,
.home-dashboard-loading__recommended-action {
  display: block;
  border-radius: 8px;
  background: var(--color-bg-neutral-weak);
}

.home-dashboard-loading__section-title {
  width: 148px;
  height: 20px;
}

.home-dashboard-loading__section-action {
  width: 64px;
  height: 16px;
}

.home-dashboard-loading__upcoming-list,
.home-dashboard-loading__unscheduled-list,
.home-dashboard-loading__recommended-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-dashboard-loading__upcoming-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-dashboard-loading__upcoming-card {
  display: flex;
  min-width: 0;
  height: 150px;
  padding: 16px;
  flex-direction: column;
  gap: 16px;
}

.home-dashboard-loading__upcoming-meta {
  height: 20px;
}

.home-dashboard-loading__upcoming-date {
  width: 72px;
  height: 12px;
  border-radius: 6px;
}

.home-dashboard-loading__upcoming-badge {
  width: 48px;
  height: 20px;
  border-radius: 6px;
}

.home-dashboard-loading__upcoming-title {
  width: 132px;
  height: 18px;
}

.home-dashboard-loading__spacer {
  flex: 1;
}

.home-dashboard-loading__upcoming-detail {
  width: 104px;
  height: 12px;
  border-radius: 6px;
}

.home-dashboard-loading__unscheduled-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-dashboard-loading__unscheduled-card {
  display: flex;
  height: 86px;
  padding: 14px;
  flex-direction: column;
  gap: 12px;
}

.home-dashboard-loading__unscheduled-category {
  width: 54px;
  height: 11px;
  border-radius: 5px;
}

.home-dashboard-loading__unscheduled-title {
  width: 180px;
  max-width: 100%;
  height: 16px;
}

.home-dashboard-loading__unscheduled-action {
  width: 76px;
  height: 12px;
  border-radius: 6px;
}

.home-dashboard-loading__recommended-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-dashboard-loading__recommended-card {
  display: flex;
  min-width: 0;
  height: 150px;
  padding: 16px;
  flex-direction: column;
  gap: 14px;
}

.home-dashboard-loading__recommended-meta {
  height: 11px;
}

.home-dashboard-loading__recommended-category {
  width: 54px;
  height: 11px;
  border-radius: 5px;
}

.home-dashboard-loading__recommended-title {
  width: 124px;
  height: 16px;
}

.home-dashboard-loading__recommended-description {
  width: 100%;
  height: 12px;
  border-radius: 6px;
}

.home-dashboard-loading__recommended-action {
  width: 92px;
  height: 12px;
  border-radius: 6px;
}

.home-dashboard-state {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 24px;
}

.home-dashboard-state__top {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: minmax(0, 996px) minmax(320px, 420px);
}

.home-dashboard-state__section {
  min-width: 0;
  padding: 24px;
  border-radius: 12px;
  background: var(--color-bg-layer-default);
  box-shadow: inset 0 0 0 1px var(--color-stroke-neutral);
}

.home-dashboard-state__top > .home-dashboard-state__section {
  height: 436px;
}

.home-dashboard-state__section--recommended {
  height: 280px;
}

.home-dashboard-state__section--recommended.home-dashboard-state__section--error {
  height: 320px;
}

.home-dashboard-state__section-header {
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.home-dashboard-state__section--recommended.home-dashboard-state__section--empty
  > .home-dashboard-state__section-header {
  margin-bottom: 16px;
}

.home-dashboard-state__section-header h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--color-fg-neutral);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-dashboard-state__count {
  flex: none;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.home-dashboard-state__result {
  display: flex;
  height: 336px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.home-dashboard-state__section--recommended .home-dashboard-state__result {
  height: 184px;
}

.home-dashboard-state__section--recommended.home-dashboard-state__section--error
  .home-dashboard-state__result {
  height: 220px;
}

.home-dashboard-state__result-asset {
  display: grid;
  width: 56px;
  height: 56px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
}

.home-dashboard-state__result--critical .home-dashboard-state__result-asset {
  background: var(--color-bg-critical-weak);
  color: var(--color-fg-critical);
}

.home-dashboard-state__result-asset svg {
  width: 26px;
  height: 26px;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.home-dashboard-state__result h3,
.home-dashboard-state__result p {
  max-width: 100%;
  margin: 0;
}

.home-dashboard-state__result h3 {
  color: var(--color-fg-neutral);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.home-dashboard-state__result p {
  color: var(--color-fg-neutral-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.home-dashboard-state__result-action {
  display: inline-flex;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-fg-neutral);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 4px;
  opacity: 1;
  text-decoration: none;
}

.home-dashboard-state__result-action svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-dashboard-state__result-action--button {
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--color-bg-neutral-weak);
  gap: 8px;
}

.home-dashboard-state__result-action--button svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1200px) {
  .home-dashboard-state__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .home-dashboard-state__top > .home-dashboard-loading__section,
  .home-dashboard-state__top > .home-dashboard-state__section {
    height: auto;
  }

  .home-dashboard-state__section--recommended {
    height: auto;
  }

  .home-dashboard-state__section--recommended .home-dashboard-state__result {
    height: auto;
    min-height: 184px;
  }

  .home-dashboard-state__section--recommended.home-dashboard-state__section--error
    .home-dashboard-state__result {
    min-height: 220px;
  }

  .home-dashboard-loading__upcoming-list,
  .home-dashboard-loading__recommended-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-dashboard-loading__section,
  .home-dashboard-state__section {
    padding: 20px;
  }

  .home-dashboard-loading__upcoming-list,
  .home-dashboard-loading__recommended-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.recommended-schedule {
  width: 100%;
  padding: 24px;
  border-radius: 12px;
  background: var(--color-bg-layer-default);
  box-shadow: inset 0 0 0 1px var(--color-stroke-neutral);
}

.recommended-schedule__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.recommended-schedule__header h2 {
  margin: 0;
  color: var(--color-fg-neutral);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.recommended-schedule__catalog-action,
.recommended-schedule-card__add-task {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  opacity: 1;
}

.recommended-schedule__catalog-action {
  flex: none;
  color: var(--color-fg-neutral);
  font-size: 14px;
  font-weight: 600;
  gap: 5px;
  text-decoration: none;
}

.recommended-schedule__chevron {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--color-fg-neutral-muted);
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.recommended-schedule__list {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.recommended-schedule-card {
  display: flex;
  min-width: 0;
  min-height: 150px;
  padding: 16px;
  border-radius: 10px;
  background: var(--color-bg-neutral-weak);
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.recommended-schedule-card__top {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  color: var(--color-fg-neutral-muted);
  font-size: 11px;
  font-weight: 600;
  gap: 12px;
}

.recommended-schedule-card__top span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommended-schedule-card__body {
  min-width: 0;
}

.recommended-schedule-card__body h3 {
  margin: 0 0 4px;
  overflow: hidden;
  color: var(--color-fg-neutral);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommended-schedule-card__body p {
  margin: 0;
  overflow: hidden;
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommended-schedule-card__add-task {
  align-self: flex-start;
  color: var(--color-fg-neutral);
  font-size: 12px;
  font-weight: 700;
  gap: 5px;
}

.recommended-schedule-card__error {
  margin: 0;
  color: var(--color-fg-critical);
  font-size: 12px;
  line-height: 1.4;
}

.recommended-schedule-card__plus {
  width: 14px;
  height: 14px;
  flex: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 900px) {
  .recommended-schedule__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .recommended-schedule {
    padding: 20px;
  }

  .recommended-schedule__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.unscheduled-task {
  display: flex;
  width: min(100%, 420px);
  height: 436px;
  padding: 24px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 12px;
  background: var(--color-bg-layer-default);
  flex-direction: column;
  gap: 20px;
}

.unscheduled-task__header {
  flex: none;
}

.unscheduled-task__header h2 {
  margin: 0;
  color: var(--color-fg-neutral);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.unscheduled-task__list {
  display: flex;
  padding: 0;
  margin: 0;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.unscheduled-task-card {
  display: flex;
  min-width: 0;
  min-height: 106px;
  padding: 15px;
  border-radius: 8px;
  background: var(--color-bg-neutral-weak);
  flex-direction: column;
  gap: 10px;
}

.unscheduled-task-card__top,
.unscheduled-task-card__status {
  display: flex;
  align-items: center;
}

.unscheduled-task-card__top {
  min-width: 0;
  justify-content: space-between;
  gap: 12px;
}

.unscheduled-task-card__category {
  overflow: hidden;
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unscheduled-task-card__status {
  flex: none;
  color: var(--color-fg-informative);
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  white-space: nowrap;
}

.unscheduled-task-card__status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.unscheduled-task-card__title {
  margin: 0;
  overflow: hidden;
  color: var(--color-fg-neutral);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unscheduled-task-card__add-schedule {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-fg-neutral);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  opacity: 1;
  text-decoration: none;
}

.unscheduled-task-card__calendar-icon {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (max-width: 600px) {
  .unscheduled-task {
    height: auto;
    padding: 20px;
  }
}

.upcoming-schedule {
  width: min(100%, 996px);
  height: 436px;
  padding: 24px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 12px;
  background: var(--color-bg-layer-default);
}

.upcoming-schedule__header {
  margin-bottom: 20px;
}

.upcoming-schedule__header h2 {
  margin: 0;
  color: var(--color-fg-neutral);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.upcoming-schedule__list {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.upcoming-schedule-card {
  display: flex;
  min-width: 0;
  min-height: 174px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--color-bg-neutral-weak);
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.upcoming-schedule-card__top,
.upcoming-schedule-card__date-group,
.upcoming-schedule-card__detail {
  display: flex;
  align-items: center;
}

.upcoming-schedule-card__top {
  min-width: 0;
  justify-content: space-between;
  gap: 8px;
}

.upcoming-schedule-card__date-group {
  min-width: 0;
  gap: 7px;
}

.upcoming-schedule-card__relative-date {
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.upcoming-schedule-card__date {
  color: var(--color-fg-neutral);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.upcoming-schedule-card__status {
  flex: none;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.upcoming-schedule-card__status--upcoming {
  background: var(--color-bg-neutral-weak);
  color: var(--color-fg-neutral-muted);
}

.upcoming-schedule-card__title {
  margin: 0;
  color: var(--color-fg-neutral);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.upcoming-schedule-card__detail {
  min-width: 0;
  color: var(--color-fg-neutral-muted);
  font-size: 12px;
  font-weight: 500;
  gap: 7px;
}

.upcoming-schedule-card__detail span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upcoming-schedule-card__clock {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (hover: hover) {
  .upcoming-schedule-card:hover {
    border-color: var(--color-stroke-brand-solid);
    background: var(--color-bg-brand-weak);
  }

  .upcoming-schedule-card:hover .upcoming-schedule-card__relative-date {
    color: var(--color-fg-neutral);
  }
}

@media (max-width: 900px) {
  .upcoming-schedule {
    height: auto;
  }

  .upcoming-schedule__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .upcoming-schedule {
    padding: 20px;
  }

  .upcoming-schedule__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.planner-page {
  display: flex;
  min-width: 320px;
  flex-direction: column;
  background: var(--color-bg-layer-basement);
  color: var(--color-fg-neutral);
}

.planner-page__content {
  display: flex;
  width: min(calc(100% - 48px), 1440px);
  flex: 1;
  margin: 0 auto;
  padding: 24px 0 52px;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 760px) {
  .planner-page__content {
    width: min(calc(100% - 32px), 1440px);
  }
}

.preparation-catalog-page {
  display: flex;
  min-width: 320px;
  flex-direction: column;
  background: var(--color-bg-layer-basement);
  color: var(--color-fg-neutral);
}

.preparation-catalog-page > main {
  display: flex;
  flex: 1;
}

.preparation-catalog-page > main > * {
  flex: 1;
}

.signup-form {
  display: flex;
  width: min(100%, 360px);
  flex-direction: column;
  gap: 0;
}

.signup-form__title {
  margin: 0 0 24px;
  color: var(--color-fg-neutral);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.signup-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.signup-form__field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signup-form__label {
  color: var(--color-fg-neutral);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.signup-form__input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--color-stroke-neutral-weak);
  border-radius: 8px;
  background: var(--color-bg-layer-default);
  color: var(--color-fg-neutral);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  padding: 0 16px;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.signup-form__input::placeholder {
  color: var(--color-fg-placeholder);
  opacity: 1;
}

.signup-form__input:focus-visible {
  border-width: 2px;
  border-color: var(--color-stroke-neutral-contrast);
}

.signup-form__input[aria-invalid="true"] {
  border-width: 2px;
  border-color: var(--color-stroke-critical-solid);
}

.signup-form__input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.signup-form__message {
  margin: 0;
  color: var(--color-fg-neutral-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.signup-form__message--error {
  color: var(--color-fg-critical);
}

.signup-form__submit-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.signup-form__submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--color-bg-brand-solid);
  color: var(--color-fg-on-brand);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 120ms ease;
}

.signup-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

@media (hover: hover) and (pointer: fine) {
  .signup-form__submit:not(:disabled):hover {
    background: var(--color-bg-brand-solid-pressed);
  }
}

@media not all and (hover: hover) and (pointer: fine) {
  .signup-form__submit:not(:disabled):active {
    background: var(--color-bg-brand-solid-pressed);
  }
}

.signup-form__submit:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 3px;
}

.signup-form__form-error {
  margin: 0;
  color: var(--color-fg-critical);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.signup-form__login-prompt {
  margin: 28px 0 0;
  color: var(--color-fg-brand);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.signup-form__login-prompt a {
  border-radius: 4px;
  color: var(--color-fg-brand);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 520px) {
  .signup-form__title {
    font-size: 26px;
  }
}

.signup-form__login-prompt a:focus-visible {
  outline: 3px solid var(--color-stroke-focus-ring);
  outline-offset: 2px;
}

:root {
  /* Bibidi core palette */
  --color-palette-coral: #e88471;
  --color-palette-ivory: #f0f0e9;
  --color-palette-yellow: #fdda6e;
  --color-palette-cream: #f8e8c1;
  --color-palette-green: #c2d869;

  /* SEED theme-light role tokens used by Bibidi */
  --color-bg-layer-basement: #fcfaf4;
  --color-bg-layer-default: #ffffff;
  --color-bg-brand-solid: var(--color-palette-coral);
  --color-bg-brand-solid-pressed: #d56f5e;
  --color-bg-brand-weak: var(--color-palette-cream);
  --color-bg-critical-weak: #fdf0f0;
  --color-bg-informative-weak: #eff6ff;
  --color-bg-neutral-weak: var(--color-palette-ivory);
  --color-bg-positive-badge: #eef4d6;
  --color-bg-positive-subtle: #fbfcf7;
  --color-bg-positive-weak: var(--color-palette-green);
  --color-fg-neutral: #36383d;
  --color-fg-neutral-muted: #555d6d;
  --color-fg-placeholder: #b0b3ba;
  --color-fg-brand: #8a493f;
  --color-fg-informative: #217cf9;
  --color-fg-on-brand: #ffffff;
  --color-fg-critical: #fa342c;
  --color-fg-positive: #435016;
  --color-stroke-neutral: #d5d7db;
  --color-stroke-neutral-weak: #dcdee3;
  --color-stroke-brand-solid: var(--color-palette-coral);
  --color-stroke-brand-weak: #e7d9b7;
  --color-stroke-neutral-contrast: #1a1c20;
  --color-stroke-critical-solid: #fa342c;
  --color-stroke-focus-ring: #5e98fe;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--color-bg-layer-basement);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--color-fg-neutral);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input {
  font: inherit;
}

