:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f2745;
  background: #f6fafb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.text-icon,
.soft-symbol,
.mini-symbol {
  letter-spacing: 0;
}

.text-icon {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 17px;
}

.soft-symbol {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e8f6f6;
  color: #0e6f78;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}

.mini-symbol {
  color: #0e6f78;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.app-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(241, 248, 249, 0.95), transparent 28%),
    #fbfefd;
  display: grid;
  grid-template-columns: 302px 1fr;
  grid-template-rows: minmax(760px, auto) auto;
}

.sidebar {
  min-height: 760px;
  border-right: 1px solid #d9e5e8;
  background:
    radial-gradient(circle at 6% 74%, rgba(78, 151, 151, 0.08), transparent 18%),
    linear-gradient(180deg, #f7fbfa, #fbfefe 52%, #f2f8f8);
  padding: 32px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d5e1e3;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #b7d3d6;
  border-radius: 18px;
  color: #0e7c82;
  background: #eef8f8;
}

.brand h1,
.brand p,
h2,
h3,
p {
  margin: 0;
}

.brand h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
  color: #0b2949;
  letter-spacing: 0;
}

.brand p {
  margin-top: 6px;
  font-size: 12px;
  color: #506679;
}

nav {
  display: grid;
  gap: 4px;
}

.step {
  position: relative;
  border: 0;
  background: transparent;
  color: #52667a;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0 14px;
  text-align: left;
  padding: 10px 0;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 45px;
  width: 1px;
  height: 38px;
  background: #ccdadd;
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid #cbdade;
  background: #fff;
  color: #6d7d8c;
  font-weight: 700;
  font-size: 13px;
  grid-row: span 2;
}

.step strong {
  color: #263d55;
  font-size: 13px;
  align-self: end;
}

.step small {
  margin-top: 6px;
  color: #637489;
  font-size: 12px;
  line-height: 1.45;
  max-width: 188px;
}

.step.active span {
  background: #0e7c82;
  border-color: #0e7c82;
  color: #fff;
}

.step.active strong {
  color: #0b2949;
}

.side-note {
  padding-top: 20px;
  border-top: 1px solid #d5e1e3;
}

.side-note strong,
.privacy-note strong {
  display: block;
  font-size: 13px;
  color: #14314f;
  margin-bottom: 10px;
}

.side-note p,
.privacy-note p {
  color: #4f6070;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 8px;
}

.support-card {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  gap: 12px;
  align-items: center;
  border: 1px solid #b7d8dc;
  background: #f4fbfb;
  border-radius: 7px;
  padding: 15px;
  color: #0e6f78;
  text-align: left;
}

.support-card strong {
  display: block;
  font-size: 13px;
  color: #105866;
}

.support-card small {
  display: block;
  color: #536b7c;
  line-height: 1.35;
  margin-top: 4px;
  font-size: 11px;
}

.privacy-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: auto;
  color: #0e6f78;
}

.creator {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) 372px;
  min-height: 760px;
}

.form-panel {
  padding: 34px 42px 40px;
  background: #fffefd;
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.heading-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.signup-link {
  height: 34px;
  max-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b8d6db;
  border-radius: 999px;
  padding: 0 15px;
  color: #0e6f78;
  background: #f7fcfc;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #082749;
  font-size: 39px;
  line-height: 1.03;
  letter-spacing: 0;
}

.form-heading p {
  margin-top: 12px;
  color: #293d53;
  font-size: 15px;
  line-height: 1.5;
  max-width: 640px;
}

.progress-pill {
  min-width: 138px;
  border: 1px solid #d5e4e6;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f8fcfc;
}

.progress-pill span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #0e7c82;
  margin-bottom: 6px;
  transition: width 180ms ease;
}

.progress-pill strong {
  color: #456174;
  font-size: 12px;
}

.divider {
  height: 1px;
  background: #d8e3e5;
  margin: 26px 0 22px;
}

.field-block {
  margin-top: 19px;
}

.section-title {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.section-title span {
  color: #0b2949;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.45;
}

.section-title h3 {
  color: #102a48;
  font-size: 17px;
  line-height: 1.35;
}

.section-title p {
  margin-top: 5px;
  color: #657688;
  font-size: 13px;
  line-height: 1.45;
}

.section-title em {
  color: #5d6f7c;
  font-style: normal;
  font-size: 12px;
}

.tight {
  margin-bottom: 10px;
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.upload-row input {
  display: none;
}

.upload-box {
  width: 100%;
  height: 95px;
  border: 1.5px dashed #8ebfc4;
  border-radius: 6px;
  background: #f7fcfc;
  color: #0b7780;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 16px;
  text-align: left;
  overflow: hidden;
}

.upload-box:hover,
.upload-box:focus-visible {
  outline: 2px solid rgba(14, 124, 130, 0.18);
  background: #f0fafa;
}

.upload-icon {
  width: 43px;
  height: 43px;
  border-radius: 999px;
  background: #e4f5f5;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.upload-box strong {
  color: #25435b;
  font-size: 13px;
  display: block;
}

.upload-box small {
  display: block;
  margin-top: 5px;
  color: #697b8a;
  font-size: 11px;
}

.upload-box.has-file {
  justify-content: flex-start;
  background: #fff;
  border-style: solid;
  border-color: #c9dcdf;
}

.upload-box img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
  flex: 0 0 auto;
}

.photo-tips {
  list-style: none;
  padding: 0;
  margin: 11px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-tips li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5e7383;
  font-size: 12px;
  min-width: 0;
}

.photo-tips svg {
  color: #78939b;
  flex: 0 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.55fr);
  gap: 18px;
  align-items: end;
}

.select-wrap {
  height: 46px;
  border: 1px solid #cfdde1;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 24px 1fr 18px;
  gap: 9px;
  align-items: center;
  padding: 0 13px;
  background: #fff;
  color: #0e7c82;
}

.select-wrap select {
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #526475;
  min-width: 0;
  height: 100%;
}

.style-setting {
  height: 46px;
  border: 1px solid #d6e3e5;
  border-radius: 6px;
  background: #f8fcfc;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
}

.style-setting > span {
  width: 29px;
  height: 29px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #edf7f7;
  color: #0e7c82;
}

.style-setting strong,
.style-setting small {
  display: block;
}

.style-setting strong {
  font-size: 12px;
  color: #233d55;
}

.style-setting small {
  margin-top: 2px;
  font-size: 11px;
  color: #6e7b85;
}

.textarea-wrap {
  display: block;
  position: relative;
}

textarea {
  width: 100%;
  height: 88px;
  resize: none;
  border: 1px solid #d1dde1;
  border-radius: 6px;
  padding: 15px 58px 15px 15px;
  color: #2c435b;
  line-height: 1.45;
  outline: none;
}

textarea:focus {
  border-color: #0e7c82;
  box-shadow: 0 0 0 3px rgba(14, 124, 130, 0.12);
}

.textarea-wrap span {
  position: absolute;
  right: 13px;
  bottom: 12px;
  color: #697986;
  font-size: 12px;
}

.check-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 10px;
  cursor: pointer;
}

.check-row input {
  position: absolute;
  opacity: 0;
}

.fake-check {
  width: 18px;
  height: 18px;
  border: 1px solid #b8c9d1;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-top: 2px;
}

.check-row input:checked + .fake-check {
  background: #0e7c82;
  border-color: #0e7c82;
}

.check-row input:checked + .fake-check::after {
  content: "✓";
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.check-row strong {
  display: block;
  color: #16314f;
  font-size: 13px;
}

.check-row small {
  display: block;
  color: #6a7a86;
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.4;
}

.disclosure-row {
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid #d4e1e4;
  border-radius: 6px;
  background: #f7fbfb;
  display: grid;
  grid-template-columns: 26px auto 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 8px 10px;
  color: #0e7480;
}

.disclosure-row > span {
  display: grid;
  place-items: center;
}

.disclosure-row strong {
  font-size: 13px;
  color: #16314f;
}

.disclosure-row small {
  color: #667b87;
  font-size: 12px;
}

.disclosure-row input {
  position: absolute;
  opacity: 0;
}

.disclosure-row i {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #c7d6db;
  position: relative;
}

.disclosure-row i::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 3px;
  left: 3px;
  border-radius: 999px;
  background: #fff;
  transition: transform 160ms ease;
}

.disclosure-row input:checked + i {
  background: #0e7c82;
}

.disclosure-row input:checked + i::after {
  transform: translateX(16px);
}

.generate-button {
  margin-top: 15px;
  width: 100%;
  min-height: 63px;
  border: 0;
  border-radius: 7px;
  background: #d8eaec;
  color: #78929a;
  display: grid;
  place-items: center;
  gap: 2px;
  font-weight: 800;
  font-size: 16px;
}

.generate-button > svg,
.generate-button > .spinner {
  margin-right: 8px;
}

.generate-button.ready {
  color: #fff;
  background: linear-gradient(135deg, #0f8288, #2c9aa0);
  box-shadow: 0 12px 28px rgba(14, 124, 130, 0.18);
}

.generate-button small {
  display: block;
  font-size: 11px;
  color: inherit;
  opacity: 0.76;
  font-weight: 600;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  display: inline-block;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.right-panel {
  background: #f4f9fb;
  border-left: 1px solid #d7e5e8;
  padding: 36px 31px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.policy-panel {
  padding-bottom: 26px;
  border-bottom: 1px solid #d3e1e5;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0e7c82;
}

.panel-title h2,
.preview-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #0b2949;
  font-size: 20px;
  line-height: 1.15;
}

.policy-panel p,
.preview-panel p {
  color: #425a6d;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 16px;
}

.policy-panel ul {
  list-style: none;
  padding: 0;
  margin: 19px 0 0;
  display: grid;
  gap: 15px;
}

.policy-panel li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #273f55;
  font-size: 13px;
  line-height: 1.35;
}

.policy-panel li svg {
  background: #0e7c82;
  color: #fff;
  border-radius: 999px;
  padding: 2px;
  flex: 0 0 auto;
}

.policy-check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #0e7c82;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.text-link {
  border: 0;
  padding: 0;
  margin-top: 22px;
  background: transparent;
  color: #0e6f78;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.preview-panel h2 span {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  color: #3d586d;
}

.preview-frame {
  margin: 22px 0 0;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  background: #dfe8e9;
  aspect-ratio: 4 / 3;
}

.preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-frame figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: rgba(33, 43, 48, 0.7);
  border-radius: 7px;
  padding: 8px 10px;
  backdrop-filter: blur(8px);
}

.preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.preview-actions button {
  border: 1px solid #cddde1;
  background: #fff;
  color: #264258;
  height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  font-size: 12px;
}

.lockline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  text-align: center;
  color: #526979;
  font-size: 12px !important;
}

.gallery-bar {
  grid-column: 1 / -1;
  background: #fffefd;
  border-top: 1px solid #d9e5e8;
  padding: 20px 52px 28px;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gallery-heading h2 {
  color: #0b2949;
  font-size: 14px;
  font-weight: 800;
}

.gallery-heading span {
  color: #647786;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.memory-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(148px, 1fr)) 160px;
  gap: 15px;
}

.memory-card,
.create-card {
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  padding: 0;
  min-width: 0;
}

.memory-card {
  color: #1d344c;
}

.memory-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.memory-card strong,
.memory-card small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.memory-card strong {
  margin-top: 8px;
  font-size: 12px;
}

.memory-card small {
  color: #71808c;
  margin-top: 3px;
  font-size: 11px;
}

.memory-card.selected {
  outline: 2px solid rgba(14, 124, 130, 0.24);
  outline-offset: 5px;
}

.create-card {
  border-color: #d4e0e4;
  background: #f9fcfc;
  color: #0e7480;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  text-align: center;
  min-height: 118px;
}

.create-card strong {
  font-size: 12px;
  line-height: 1.35;
  max-width: 112px;
}

.help-fab {
  position: fixed;
  right: 24px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #b9d7dc;
  background: #ffffff;
  color: #0e6f78;
  display: none;
  place-items: center;
  box-shadow: 0 14px 30px rgba(12, 49, 67, 0.12);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 23, 35, 0.42);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 10;
}

.support-modal {
  position: relative;
  width: min(480px, 100%);
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 28px 70px rgba(8, 31, 46, 0.24);
  color: #12314d;
}

.support-modal > svg {
  color: #0e7c82;
}

.support-modal h2 {
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: #0b2949;
}

.support-modal p {
  margin-top: 12px;
  color: #4d6374;
  line-height: 1.55;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid #d4e0e4;
  background: #fff;
  border-radius: 999px;
  color: #274056;
  display: grid;
  place-items: center;
}

.modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.modal-actions button {
  flex: 1;
  min-height: 42px;
  border: 1px solid #0e7c82;
  background: #0e7c82;
  color: #fff;
  border-radius: 6px;
  font-weight: 800;
}

.modal-actions .secondary {
  background: #fff;
  color: #0e6f78;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 124, 130, 0.12), transparent 24%),
    linear-gradient(135deg, #f5faf9, #fffefd 54%, #eef6f7);
}

.auth-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) 470px;
  gap: 54px;
  align-items: center;
  padding: 54px 0;
}

.compact-auth {
  grid-template-columns: minmax(320px, 520px);
  justify-content: center;
}

.auth-hero {
  color: #0b2949;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #0b2949;
  text-decoration: none;
}

.auth-brand strong,
.auth-brand small {
  display: block;
}

.auth-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0;
}

.auth-brand small {
  margin-top: 4px;
  color: #617587;
  font-size: 12px;
}

.auth-hero-copy {
  margin-top: 78px;
  max-width: 540px;
}

.eyebrow {
  color: #0e7480;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-hero-copy h1,
.auth-card h1,
.auth-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  color: #082749;
}

.auth-hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  max-width: 680px;
}

.auth-hero-copy p:not(.eyebrow) {
  margin-top: 20px;
  color: #3a536a;
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
}

.auth-assurance {
  margin-top: 18px;
  max-width: 460px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.auth-assurance:first-of-type {
  margin-top: 52px;
}

.auth-assurance > span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #0e7c82;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.auth-assurance strong,
.auth-assurance small {
  display: block;
}

.auth-assurance strong {
  color: #16314f;
  font-size: 14px;
}

.auth-assurance small {
  color: #647685;
  line-height: 1.45;
  margin-top: 5px;
}

.auth-card {
  border: 1px solid #d4e2e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 70px rgba(18, 49, 70, 0.12);
  padding: 32px;
}

.auth-card h1,
.auth-card h2 {
  font-size: 32px;
  line-height: 1.08;
}

.auth-card p,
.auth-card code {
  color: #4f6577;
  line-height: 1.55;
}

.auth-card-heading p {
  margin-top: 9px;
  color: #607487;
}

.sso-grid {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.sso-button {
  min-height: 48px;
  border: 1px solid #cddde1;
  border-radius: 7px;
  background: #fff;
  color: #18344f;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.sso-button span {
  width: 27px;
  height: 27px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eef7f7;
  color: #0e7480;
  font-size: 11px;
  font-weight: 900;
}

.auth-divider {
  height: 1px;
  background: #d8e4e7;
  margin: 24px 0;
  display: grid;
  place-items: center;
}

.auth-divider span {
  background: #fff;
  color: #718391;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.email-form {
  display: grid;
  gap: 14px;
}

.email-form label:not(.check-row) {
  display: grid;
  gap: 7px;
}

.email-form label > span:first-child {
  color: #17324e;
  font-size: 13px;
  font-weight: 900;
}

.email-form input[type="email"],
.email-form input:not([type]) {
  width: 100%;
  height: 46px;
  border: 1px solid #cfdde1;
  border-radius: 6px;
  padding: 0 13px;
  color: #1a3550;
  outline: none;
}

.email-form input:focus {
  border-color: #0e7c82;
  box-shadow: 0 0 0 3px rgba(14, 124, 130, 0.12);
}

.auth-check {
  margin-top: 2px;
}

.auth-submit,
.auth-primary-link {
  min-height: 54px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #0f8288, #2c9aa0);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(14, 124, 130, 0.18);
}

.auth-submit small {
  display: block;
  margin-top: 3px;
  opacity: 0.78;
  font-size: 11px;
}

.auth-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.auth-footnote {
  margin-top: 18px;
  text-align: center;
  color: #65788a;
  font-size: 13px;
}

.auth-footnote a {
  color: #0e6f78;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 248px 1fr;
  }

  .sidebar {
    padding: 26px 24px;
  }

  .creator {
    grid-template-columns: 1fr;
  }

  .right-panel {
    border-left: 0;
    border-top: 1px solid #d7e5e8;
    display: grid;
    grid-template-columns: 1fr 360px;
  }

  .memory-list {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d9e5e8;
  }

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

  .step {
    display: block;
    padding: 0;
  }

  .step:not(:last-child)::after,
  .step small {
    display: none;
  }

  .step span {
    margin-bottom: 6px;
  }

  .step strong {
    font-size: 11px;
  }

  .side-note,
  .privacy-note {
    display: none;
  }

  .creator,
  .right-panel {
    display: block;
  }

  .form-panel,
  .right-panel,
  .gallery-bar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .form-heading {
    display: block;
  }

  .heading-actions {
    justify-items: start;
  }

  .progress-pill {
    margin-top: 16px;
    width: 160px;
  }

  .form-heading h2 {
    font-size: 34px;
  }

  .upload-grid,
  .two-column,
  .photo-tips {
    grid-template-columns: 1fr;
  }

  .disclosure-row {
    grid-template-columns: 26px 1fr auto;
  }

  .disclosure-row small {
    grid-column: 2 / 4;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .memory-list {
    display: flex;
    overflow-x: auto;
    padding: 6px 5px 12px;
    margin-left: -5px;
    margin-right: -5px;
  }

  .memory-card {
    width: 215px;
    flex: 0 0 auto;
  }

  .create-card {
    width: 160px;
    flex: 0 0 auto;
  }

  .help-fab {
    display: none;
  }
}

@media (max-width: 860px) {
  .auth-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 26px 0;
  }

  .auth-hero-copy {
    margin-top: 34px;
  }

  .auth-hero-copy h1 {
    font-size: 40px;
  }

  .auth-card {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .brand h1 {
    font-size: 27px;
  }

  .form-heading h2 {
    font-size: 30px;
  }

  nav {
    grid-template-columns: 1fr 1fr;
  }

  .modal-actions,
  .preview-actions {
    grid-template-columns: 1fr;
    display: grid;
  }
}
