:root {
  --p59-blue: #155EEF;
  --p59-blue-dark: #0B3FB8;
  --p59-blue-soft: #F6F8FF;
  --p59-blue-card: #EEF4FF;
  --p59-border: #DDE6F5;
  --p59-text: #102033;
  --p59-muted: #66748A;
  --p59-white: #FFFFFF;
  --p59-success: #1E8A55;
  --p59-success-soft: #EAF8F0;
  --p59-danger: #C83535;
  --p59-danger-soft: #FFF0F0;
  --p59-warning: #B7791F;
  --p59-warning-soft: #FFF8E6;
  --p59-shadow: 0 18px 40px rgba(33, 64, 134, 0.08);
  --p59-radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--p59-blue-soft);
  color: var(--p59-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
.p59spd-button[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
}

[hidden] {
  display: none !important;
}

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

.p59spd-card {
  border: 1px solid var(--p59-border);
  border-radius: var(--p59-radius);
  background: var(--p59-white);
  box-shadow: var(--p59-shadow);
}

.p59spd-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: currentColor;
  line-height: 0;
}

.p59spd-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
}

.p59spd-icon--soft,
.p59spd-icon--small,
.p59spd-icon--danger {
  border-radius: 10px;
  background: var(--p59-blue-card);
  color: var(--p59-blue);
}

.p59spd-icon--soft {
  width: 40px;
  height: 40px;
  padding: 10px;
}

.p59spd-icon--small {
  width: 32px;
  height: 32px;
  padding: 8px;
}

.p59spd-icon--danger {
  width: 40px;
  height: 40px;
  padding: 10px;
  background: var(--p59-danger-soft);
  color: var(--p59-danger);
}

.p59spd-button__icon {
  width: 15px;
  height: 15px;
}

.p59spd-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid var(--p59-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.p59spd-header__inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 24px;
}

.p59spd-brand {
  display: inline-flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--p59-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.p59spd-brand__mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--p59-blue);
  color: var(--p59-white);
}

.p59spd-brand__mark .p59spd-icon {
  width: 14px;
  height: 14px;
}

.p59spd-brand__text span {
  color: var(--p59-muted);
  font-weight: 600;
}

.p59spd-nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.p59spd-nav a {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: #5E6B85;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.p59spd-nav a:hover,
.p59spd-nav a:focus-visible,
.p59spd-nav a.is-active {
  background: var(--p59-blue-card);
  color: var(--p59-blue);
  outline: none;
}

.p59spd-header__cta {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 10px;
  padding: 8px 14px;
  background: var(--p59-blue);
  color: var(--p59-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.p59spd-header__cta:hover {
  background: var(--p59-blue-dark);
}

.p59spd-hero {
  padding: 32px 0 40px;
}

.p59spd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.p59spd-hero__copy {
  min-width: 0;
}

.p59spd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  border: 1px solid var(--p59-border);
  border-radius: 999px;
  background: var(--p59-blue-card);
  padding: 5px 12px;
  color: var(--p59-blue);
  font-size: 12px;
  line-height: 16px;
}

.p59spd-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--p59-blue);
}

.p59spd-hero h1 {
  margin: 0;
  color: var(--p59-text);
  font-size: 46px;
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: 0;
}

.p59spd-hero h1 span {
  color: var(--p59-blue);
}

.p59spd-lead {
  max-width: 448px;
  margin: 16px 0 0;
  color: var(--p59-muted);
  font-size: 16px;
  line-height: 1.75;
}

.p59spd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.p59spd-actions--compact {
  gap: 8px;
}

.p59spd-actions--center {
  justify-content: center;
  margin-top: 28px;
}

.p59spd-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--p59-border);
  border-radius: 10px;
  padding: 9px 18px;
  background: var(--p59-white);
  color: var(--p59-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.p59spd-button--primary {
  border-color: var(--p59-blue);
  background: var(--p59-blue);
  color: var(--p59-white);
  box-shadow: 0 10px 22px rgba(21, 94, 239, 0.16);
}

.p59spd-button--primary:hover {
  border-color: var(--p59-blue-dark);
  background: var(--p59-blue-dark);
}

.p59spd-button--light {
  background: var(--p59-white);
  color: var(--p59-blue);
}

.p59spd-button--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--p59-muted);
  box-shadow: none;
}

.p59spd-hero .p59spd-actions {
  margin-top: 26px;
}

.p59spd-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0;
}

.p59spd-hero__stats div {
  min-width: 72px;
}

.p59spd-hero__stats dt,
.p59spd-hero__stats dd {
  margin: 0;
}

.p59spd-hero__stats dt {
  margin-top: 4px;
  color: var(--p59-muted);
  font-size: 12px;
  line-height: 16px;
}

.p59spd-hero__stats dd {
  color: var(--p59-blue);
  font-size: 22px;
  font-weight: 750;
  line-height: 30px;
}

.p59spd-hero-preview {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.p59spd-hero-preview article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--p59-border);
  border-radius: var(--p59-radius);
  background: var(--p59-white);
  padding: 16px;
  box-shadow: var(--p59-shadow);
}

.p59spd-hero-preview article > span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--p59-blue-card);
  color: var(--p59-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  white-space: nowrap;
}

.p59spd-hero-preview h2 {
  margin: 0 0 8px;
  color: var(--p59-text);
  font-size: 15px;
  line-height: 20px;
}

.p59spd-hero-preview div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.p59spd-hero-preview div h2 {
  flex-basis: 100%;
}

.p59spd-hero-preview p {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  border-radius: 999px;
  background: var(--p59-blue-soft);
  padding: 3px 8px;
  color: var(--p59-muted);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.p59spd-hero-preview p .p59spd-icon {
  width: 13px;
  height: 13px;
  color: var(--p59-blue);
}

.p59spd-hero-preview em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--p59-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
  white-space: nowrap;
}

.p59spd-hero-preview em .p59spd-icon {
  width: 12px;
  height: 12px;
}

.p59spd-form-section,
.p59spd-result-section,
.p59spd-locked-section,
.p59spd-sync-section {
  padding: 40px 0;
}

.p59spd-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: 20px;
  align-items: start;
}

.p59spd-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.p59spd-section-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.p59spd-section-head p {
  margin: 0 0 4px;
  color: var(--p59-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.p59spd-section-head h2 {
  margin: 0;
  color: var(--p59-text);
  font-size: 22px;
  line-height: 30px;
}

.p59spd-step {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  border: 1px solid #E8EFFB;
  border-radius: var(--p59-radius);
  padding: 18px;
}

.p59spd-step legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: var(--p59-text);
  font-size: 15px;
  font-weight: 750;
  line-height: 20px;
}

.p59spd-step legend span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  background: var(--p59-blue-card);
  padding: 3px 8px;
  color: var(--p59-blue);
  font-size: 12px;
  line-height: 16px;
}

.p59spd-form-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.p59spd-form-duo .p59spd-step {
  align-content: start;
}

.p59spd-step__hint {
  margin: -2px 0 0;
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 20px;
}

.p59spd-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.p59spd-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 18px;
}

.p59spd-form label > span {
  color: var(--p59-muted);
}

.p59spd-form input,
.p59spd-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--p59-border);
  border-radius: 10px;
  background: var(--p59-white);
  color: var(--p59-text);
  padding: 10px 12px;
  outline: none;
}

.p59spd-form input:focus,
.p59spd-form select:focus {
  border-color: var(--p59-blue);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.10);
}

.p66a4-duration-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.p66a4-custom-duration {
  margin-top: 2px;
}

.p66a4-duration-hint,
.p66a4-duration-error {
  margin: 0;
  font-size: 12px;
  line-height: 17px;
}

.p66a4-duration-hint {
  color: var(--p59-muted);
}

.p66a4-duration-error {
  color: #b42318;
}

.p66a4-duration-field.is-invalid select,
.p66a4-duration-field.is-invalid input {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.10);
}

.p59spd-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.p59spd-form-duo .p59spd-chip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.p59spd-chip-grid label {
  position: relative;
  display: block;
}

.p59spd-chip-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.p59spd-chip-grid span {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--p59-border);
  border-radius: 999px;
  background: var(--p59-white);
  color: var(--p59-muted);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
  text-align: center;
}

.p59spd-chip-grid input:checked + span {
  border-color: rgba(21, 94, 239, 0.34);
  background: var(--p59-blue-card);
  color: var(--p59-blue);
}

.p59spd-form__submit {
  width: fit-content;
}

.p59spd-state-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
  position: sticky;
  top: 76px;
}

.p59spd-loading-state,
.p59spd-failure-state,
.p59spd-form-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
}

.p59spd-loading-state h2,
.p59spd-failure-state h2,
.p59spd-form-note h2 {
  margin: 0 0 10px;
  color: var(--p59-text);
  font-size: 18px;
  line-height: 24px;
}

.p59spd-loading-state ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p59spd-loading-state li {
  position: relative;
  padding-left: 18px;
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 20px;
}

.p59spd-loading-state li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--p59-blue);
}

.p59spd-spinner {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 3px solid var(--p59-blue-card);
  border-top-color: var(--p59-blue);
  border-radius: 50%;
  animation: p59spd-spin 0.9s linear infinite;
}

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

.p59spd-failure-state {
  border-color: #FFD4D4;
  background: #FFFDFD;
}

.p59spd-failure-state p,
.p59spd-form-note p {
  margin: 0;
  color: var(--p59-muted);
  font-size: 14px;
  line-height: 1.7;
}

.p59spd-failure-state .p59spd-actions {
  margin-top: 14px;
}

.p59spd-result-section {
  background: linear-gradient(180deg, rgba(246, 248, 255, 0) 0%, #F3F7FF 100%);
}

.p59spd-result-status {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 14px 20px;
  color: var(--p59-text);
}

.p59spd-result-status > span:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--p59-text);
  font-size: 14px;
  line-height: 20px;
}

.p59spd-result-status button {
  min-height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--p59-border);
  border-radius: 10px;
  background: var(--p59-white);
  color: var(--p59-blue);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.p70d-study-cloud {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0 0;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  background: #EFF6FF;
  padding: 12px 14px;
  color: #1E3A8A;
}

.p70d-study-cloud[hidden] {
  display: none !important;
}

.p70d-study-cloud[data-state="conflict"] {
  border-color: #FED7AA;
  background: #FFF7ED;
  color: #9A3412;
}

.p70d-study-cloud[data-state="error"] {
  border-color: #FECACA;
  background: #FFF1F2;
  color: #BE123C;
}

.p70d-study-cloud__copy {
  min-width: 0;
}

.p70d-study-cloud__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.p70d-study-cloud__copy p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.p70d-study-cloud__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.p70d-study-cloud__button {
  min-height: 34px;
  border: 1px solid #93C5FD;
  border-radius: 8px;
  background: #FFFFFF;
  color: #1D4ED8;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  appearance: none;
}

.p70d-study-cloud[data-state="conflict"] .p70d-study-cloud__button {
  border-color: #FDBA74;
  color: #C2410C;
}

.p70d-study-cloud[data-state="error"] .p70d-study-cloud__button {
  border-color: #FDA4AF;
  color: #BE123C;
}

.p70d-study-cloud__button:hover,
.p70d-study-cloud__button:focus-visible {
  background: #F8FAFC;
  outline: none;
}

.p59spd-result-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 28px;
}

.p59spd-result-head h2,
.p59spd-centered-head h2,
.p59spd-bottom-cta h2 {
  margin: 0;
  color: var(--p59-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0;
}

.p59spd-result-head p,
.p59spd-centered-head p,
.p59spd-bottom-cta p {
  margin: 6px 0 0;
  color: var(--p59-muted);
  font-size: 14px;
  line-height: 20px;
}

.p59spd-mini-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.p59spd-mini-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--p59-border);
  border-radius: 999px;
  background: var(--p59-white);
  padding: 4px 10px;
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

.p59spd-mini-metrics .p59spd-icon {
  width: 12px;
  height: 12px;
  color: var(--p59-blue);
}

.p59spd-day-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.p59spd-day-card {
  display: grid;
  min-width: 0;
  gap: 16px;
  padding: 20px;
}

.p59spd-day-card__head {
  display: grid;
  gap: 8px;
  min-height: 80px;
  border-bottom: 1px solid #E8EFFB;
  padding-bottom: 14px;
}

.p59spd-day-card__head span {
  width: fit-content;
  border-radius: 999px;
  background: var(--p59-blue-card);
  color: var(--p59-blue);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
}

.p59spd-day-card__head strong {
  color: var(--p59-text);
  font-size: 18px;
  line-height: 24px;
}

.p59spd-day-card__head em {
  width: fit-content;
  border-radius: 999px;
  background: var(--p59-success-soft);
  color: var(--p59-success);
  padding: 3px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 16px;
}

.p59spd-day-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.p59spd-day-card dl div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.p59spd-day-card dt,
.p59spd-day-card dd {
  margin: 0;
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
}

.p59spd-day-card dt {
  color: var(--p59-blue);
  font-weight: 750;
}

.p59spd-day-card dd {
  color: var(--p59-muted);
  overflow-wrap: anywhere;
}

.p59spd-day-card p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 18px;
}

.p59spd-day-card p .p59spd-icon {
  width: 14px;
  height: 14px;
  color: var(--p59-blue);
}

.p59spd-day-card__sync {
  width: fit-content;
  min-height: 32px;
  border: 1px solid var(--p59-border);
  border-radius: 999px;
  background: var(--p59-white);
  color: var(--p59-blue);
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 750;
  line-height: 16px;
}

.p59spd-result-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
}

.p59spd-result-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.p59spd-result-actions p {
  margin: 0;
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 20px;
}

.p59spd-centered-head {
  text-align: center;
}

.p59spd-locked-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 352px));
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.p59spd-locked-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 228px;
  padding: 24px;
}

.p59spd-locked-card > strong {
  color: var(--p59-text);
  font-size: 18px;
  line-height: 24px;
}

.p59spd-locked-card p {
  margin: 0;
  color: var(--p59-muted);
  font-size: 14px;
  line-height: 1.65;
}

.p59spd-locked-card em {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: #F5F7FB;
  color: var(--p59-muted);
  padding: 4px 9px;
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
}

.p59spd-locked-card em .p59spd-icon {
  width: 11px;
  height: 11px;
}

.p59spd-locked-card .p59spd-button {
  width: fit-content;
  align-self: end;
}

.p59spd-sync-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.p59spd-sync-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.p59spd-sync-card > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p59spd-sync-card em {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--p59-blue-card);
  color: var(--p59-blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
}

.p59spd-sync-card h3 {
  margin: 2px 0 0;
  color: var(--p59-text);
  font-size: 18px;
  line-height: 24px;
}

.p59spd-sync-card p {
  margin: 0;
  color: var(--p59-muted);
  font-size: 14px;
  line-height: 20px;
}

.p59spd-sync-card > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--p59-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.p59spd-sync-card > span .p59spd-icon {
  width: 13px;
  height: 13px;
}

.p59spd-bottom-cta {
  padding: 40px 0;
  text-align: center;
}

.p59spd-bottom-cta .p59spd-shell {
  border: 1px solid var(--p59-border);
  border-radius: var(--p59-radius);
  background: var(--p59-white);
  padding: 40px 32px;
  box-shadow: var(--p59-shadow);
}

.p59spd-footer {
  border-top: 1px solid var(--p59-border);
  background: var(--p59-white);
  padding: 32px 0 28px;
}

.p59spd-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.p59spd-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--p59-text);
  font-size: 14px;
  line-height: 20px;
}

.p59spd-footer p,
.p59spd-footer a {
  display: block;
  margin: 0;
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 1.7;
}

.p59spd-footer a {
  margin-top: 7px;
}

.p59spd-footer a:hover {
  color: var(--p59-blue);
}

.p59spd-copyright {
  max-width: none;
  margin-top: 32px !important;
  border-top: 1px solid #E8EFFB;
  padding-top: 20px;
  text-align: center;
  font-size: 12px !important;
}

.p59spd-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.p59spd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 32, 51, 0.36);
}

.p59spd-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(480px, 100%);
  gap: 14px;
  border: 1px solid var(--p59-border);
  border-radius: var(--p59-radius);
  background: var(--p59-white);
  padding: 22px;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.20);
}

.p59spd-modal__panel h2,
.p59spd-modal__panel p {
  margin: 0;
}

.p59spd-modal__panel h2 {
  color: var(--p59-text);
  font-size: 20px;
  line-height: 28px;
}

.p59spd-modal__panel p {
  color: var(--p59-muted);
  font-size: 14px;
  line-height: 1.7;
}

.p59spd-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 1120px) {
  .p59spd-header__inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 0;
  }

  .p59spd-nav {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .p59spd-hero__grid,
  .p59spd-form-layout {
    grid-template-columns: 1fr;
  }

  .p59spd-state-stack {
    position: static;
  }
}

@media (max-width: 900px) {
  .p59spd-form-duo {
    grid-template-columns: 1fr;
  }

  .p59spd-day-grid,
  .p59spd-sync-grid {
    grid-template-columns: 1fr;
  }

  .p59spd-result-head {
    display: grid;
  }

  .p59spd-mini-metrics {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .p59spd-shell {
    width: min(100% - 32px, 1180px);
  }

  .p59spd-header__inner {
    min-height: 56px;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0;
  }

  .p59spd-nav {
    display: none;
  }

  .p59spd-header__cta {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .p59spd-brand {
    font-size: 13px;
  }

  .p59spd-hero {
    padding: 28px 0 32px;
  }

  .p59spd-hero__grid {
    gap: 28px;
  }

  .p59spd-hero h1 {
    font-size: 34px;
  }

  .p59spd-lead {
    font-size: 15px;
  }

  .p59spd-field-grid,
  .p59spd-locked-grid,
  .p59spd-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .p59spd-result-status {
    align-items: flex-start;
  }

  .p70d-study-cloud {
    flex-direction: column;
  }

  .p70d-study-cloud__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .p59spd-shell {
    width: min(100% - 28px, 1180px);
  }

  .p59spd-brand__mark {
    width: 26px;
    height: 26px;
  }

  .p59spd-brand__text {
    max-width: 188px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .p59spd-header__cta span:first-child {
    display: none;
  }

  .p59spd-hero h1 {
    font-size: 28px;
    line-height: 1.22;
  }

  .p59spd-actions,
  .p59spd-result-actions > div,
  .p59spd-modal__actions {
    display: grid;
    width: 100%;
  }

  .p59spd-button,
  .p59spd-result-status button,
  .p59spd-locked-card .p59spd-button {
    width: 100%;
  }

  .p59spd-hero-preview article {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .p59spd-hero-preview em {
    grid-column: 2;
  }

  .p59spd-form,
  .p59spd-day-card,
  .p59spd-result-actions,
  .p59spd-locked-card,
  .p59spd-sync-card {
    padding: 18px;
  }

  .p59spd-chip-grid {
    grid-template-columns: 1fr;
  }

  .p59spd-form-duo .p59spd-chip-grid {
    grid-template-columns: 1fr;
  }

  .p59spd-result-status {
    display: grid;
  }

  .p59spd-day-card dl div {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .p59spd-bottom-cta .p59spd-shell {
    padding: 28px 18px;
  }
}

@media (max-width: 390px) {
  .p59spd-shell {
    width: min(100% - 24px, 1180px);
  }

  .p59spd-brand__text {
    max-width: 172px;
  }

  .p59spd-hero h1 {
    font-size: 26px;
  }

  .p59spd-form,
  .p59spd-step,
  .p59spd-day-card,
  .p59spd-result-actions,
  .p59spd-locked-card,
  .p59spd-sync-card,
  .p59spd-modal__panel {
    padding: 16px;
  }
}
