/* MYUNE: a pastel photo album, with motion kept outside working forms. */
:root {
  --paper: #fffaf8;
  --white: #fffdfb;
  --ink: #514954;
  --muted: #897d8a;
  --pink: #f4cbd6;
  --pink-light: #fff0f3;
  --rose: #a3607e;
  --lilac: #ebe5fa;
  --line: #ebdfe5;
  --sky: #bddcf5;
  --sky-light: #edf6ff;
  --coral: #ed99b0;
}
html { scroll-padding-top: 85px; }
body { background: var(--paper); }
main { min-width: 0; }
#main:focus { outline: none; }
.beta-strip { display: none; }
.site-header {
  height: 76px;
  padding: 0 clamp(22px, 4vw, 76px);
  background: #fffaf8ed;
  border-bottom-color: #ebdfe580;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand { min-height: 44px; }
.brand-wordmark { color: #a56885; font-size: 36px; }
.brand-bow { width: 35px; }
.brand-label { font-size: 10px; }
.main-nav { gap: 32px; }
.main-nav a { font-size: 12px; color: #756c77; min-height: 44px; }
.main-nav a.active:after { width: 14px; height: 3px; border-radius: 5px; left: calc(50% - 7px); background: var(--coral); }
.header-actions { min-width: 0; gap: 20px; }
.header-actions .button { border-radius: 30px; min-height: 40px; border-color: #e5c5d5; padding-inline: 18px; background: #fff; }
.button { border-radius: 12px; background: #a56885; border-color: #a56885; }
.button.secondary { border-color: #d9bdce; }
.button:hover { background: #8f5775; }
.button.secondary:hover { background: #fcebf1; }
.text-button { min-height: 44px; display: inline-flex; align-items: center; }
.page-top { padding-top: 45px; }
.page-top h1 { font-size: 36px; letter-spacing: -1.6px; font-weight: 500; }
.page-top .eyebrow { color: #9b7691; }
.page-body { padding-bottom: 64px; }
.container { max-width: 1440px; padding-inline: clamp(22px, 4vw, 72px); }
.panel, .calendar, .request-card, .stat-box, .login-prompt, .empty-state { border-radius: 17px; }
.panel { background: #fffdfbf5; }
.field input, .field textarea, .field select, .standalone-input { border-radius: 9px; }
.login-dialog { border-radius: 24px; box-shadow: 0 20px 100px #5c3e6826; }
.login-dialog::backdrop { background: #51435366; backdrop-filter: blur(10px); }
.site-footer { background: #f8edf3; border-top: 1px solid #eddde6; }
.site-footer nav a:hover { color: #a56885; }
.site-footer .footer-meta>span { letter-spacing: 2px; }

/* The moving contact sheet is the landing page, not a backdrop to menus. */
.editorial-home { overflow: clip; }
.photo-stage {
  position: relative;
  isolation: isolate;
  min-height: 660px;
  height: min(760px, calc(100svh - 76px));
  max-height: 850px;
  overflow: hidden;
  background: linear-gradient(125deg, #e9f4ff 2%, #f8f3fc 44%, #ffe8ef 100%);
}
.photo-stage:before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #f5f5fded 0%, #f7f4fc7a 12%, transparent 36%), linear-gradient(0deg, #fffaf8 0%, #fffaf8b3 7%, transparent 26%);
}
.photo-stage:after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 48vw;
  height: 48vw;
  left: -17vw;
  bottom: -28vw;
  border: 1px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 24px #ffffff38, 0 0 0 25px #fff, 0 0 0 80px #ffffff25;
  pointer-events: none;
}
.photo-wall {
  position: absolute;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 1.7vw, 28px);
  width: 108%;
  left: 9%;
  top: -180px;
  transform: rotate(-7deg);
  transform-origin: 50% 50%;
}
.photo-column {
  display: grid;
  gap: clamp(14px, 1.7vw, 28px);
  min-width: 0;
  animation: photo-drift 14s ease-in-out infinite alternate;
  will-change: transform;
}
.photo-column:nth-child(2) { padding-top: 120px; animation-delay: -7s; animation-duration: 17s; }
.photo-column:nth-child(3) { padding-top: 35px; animation-delay: -4s; animation-duration: 16s; }
.photo-column:nth-child(4) { padding-top: 155px; animation-delay: -10s; animation-duration: 19s; }
.wall-photo {
  display: block;
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 6px solid #fffdfa;
  border-radius: 9px;
  background: #e7e2e8;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 10px 26px #70637c1a;
  text-align: left;
  transform: translateZ(0);
}
.wall-photo:nth-child(even) { aspect-ratio: 1 / 1; }
.photo-column:nth-child(even) .wall-photo:nth-child(odd) { aspect-ratio: 4 / 5; }
.photo-column:nth-child(3) .wall-photo:nth-child(even) { aspect-ratio: 3 / 4; }
.wall-photo>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform .75s cubic-bezier(.2,.7,.1,1), filter .5s;
  user-select: none;
  -webkit-user-drag: none;
}
.wall-photo:nth-child(even)>img { object-position: 50% 14%; }
.photo-column:nth-child(2) .wall-photo>img { object-position: 50% 37%; }
.photo-column:nth-child(4) .wall-photo>img { object-position: 65% 23%; }
.is-profile-wall .wall-photo>img { scale: 1.35; transform-origin: 50% 23%; }
.wall-caption {
  position: absolute;
  inset: auto 0 0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 42px 16px 15px;
  background: linear-gradient(transparent, #382e425e);
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  opacity: 0;
  transition: opacity .3s;
}
.wall-caption p, .wall-caption span { margin: 0; }
.wall-caption .icon { width: 16px; height: 16px; }
.wall-photo:focus-visible { outline-offset: 6px; outline-color: #be759b; }
.wall-photo:focus-visible .wall-caption { opacity: 1; }
.stage-heading {
  position: absolute;
  z-index: 3;
  top: 34%;
  left: clamp(24px, 5.5vw, 95px);
  pointer-events: none;
  transform: rotate(-6deg);
  color: #79586f;
  text-shadow: 0 1px 20px #fff, 0 1px 8px #fff;
}
.stage-heading .eyebrow { font-size: 9px; letter-spacing: 3.3px; color: #8d6d83; margin: 0 0 4px 8px; }
.stage-heading h1 { font: italic 500 clamp(76px, 9.3vw, 148px)/1 Georgia, "Times New Roman", serif; letter-spacing: -.075em; margin: 0 0 9px; }
.stage-name { display: block; font-size: 12px; letter-spacing: 8px; margin: 14px 0 0 15px; }
.stage-signature {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 5.5vw, 95px);
  right: clamp(24px, 5.5vw, 95px);
  bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: #7d6579;
  font-size: 11px;
}
.stage-signature p { margin: 0; }
.stage-signature>span { font-size: 11px; letter-spacing: 2px; }
.stage-links { display: flex; align-items: center; gap: 12px; }
.stage-links a { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #e4c8d8; border-radius: 50px; min-height: 44px; padding: 0 22px; background: #fffcfaf2; backdrop-filter: blur(10px); font-size: 11px; color: #82647b; transition: background .3s, transform .3s; }
.stage-links a:hover { background: #fce7ef; transform: translateY(-3px); }
.stage-links .icon { width: 16px; height: 16px; }
.motion-toggle {
  position: absolute;
  top: 22px;
  right: clamp(22px, 4vw, 76px);
  z-index: 5;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  background: #fffdfadf;
  border: 1px solid #ffffff;
  border-radius: 40px;
  font-size: 10px;
  color: #816c7f;
  box-shadow: 0 3px 16px #8f759a0c;
  backdrop-filter: blur(8px);
}
.motion-toggle .icon { width: 14px; height: 14px; }
.stage-ornaments { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stage-spark { position: absolute; color: #fffef6; font-size: 46px; text-shadow: 0 0 24px #fffcf5; animation: sparkle-turn 6s ease-in-out infinite; }
.stage-spark:nth-child(1) { left: 29%; top: 12%; font-size: 60px; color: #ffd5df; }
.stage-spark:nth-child(2) { left: 68%; top: 72%; animation-delay: -2s; }
.stage-spark:nth-child(3) { right: 12%; top: 21%; font-size: 25px; animation-delay: -4s; }
.stage-bow {
  position: absolute;
  left: 5%; top: 72%;
  width: 90px; height: 60px;
  color: #c299bf;
  transform: rotate(-15deg);
  animation: bow-float 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 3px 1px #fff);
}
.stage-bow:before, .stage-bow:after { content: ""; position: absolute; width: 46px; height: 33px; top: 8px; border: 3px solid currentColor; border-radius: 75% 25% 60% 40%; background: #fff7fc80; transform: rotate(30deg); }
.stage-bow:after { left: 43px; transform: rotate(-30deg) scaleX(-1); }
.bow-knot { position: absolute; left: 39px; top: 20px; z-index: 1; font-size: 0; width: 15px; height: 18px; background: #f4dceb; border: 3px solid currentColor; border-radius: 6px; transform: rotate(-5deg); }
.bow-knot:before, .bow-knot:after { content: ""; position: absolute; top: 11px; width: 4px; height: 29px; border-radius: 5px; background: currentColor; transform: rotate(24deg); transform-origin: top; }
.bow-knot:after { left: 5px; transform: rotate(-24deg); }

/* Photos below the cover keep their actual proportions and visible credits. */
.home-collection { max-width: 1600px; margin: 0 auto; padding: 44px clamp(22px, 4vw, 76px) 50px; position: relative; }
.collection-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; align-items: center; }
.home-collection .eyebrow { font-size: 9px; letter-spacing: 3px; margin-bottom: 7px; }
.collection-heading h2 { font-size: 28px; font-weight: 500; letter-spacing: -1px; margin: 0; }
.collection-count { color: #b18ba3; margin-left: 14px; font: italic 400 25px Georgia, serif; }
.collection-empty { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 23px 0; border-block: 1px solid var(--line); color: #938292; font-size: 12px; }
.collection-empty p { margin: 0; }
.gallery-grid, .gallery-page .gallery-grid {
  display: grid;
  columns: auto;
  grid-template-columns: repeat(var(--gallery-columns, 4), minmax(0, 1fr));
  gap: 26px 20px;
  align-items: start;
}
.gallery-tile { min-width: 0; margin: 0; }
.gallery-image-button { aspect-ratio: 4 / 5; border-radius: 9px; background: #f1e5ee; position: relative; }
.gallery-image-button:after { content: "↗" / ""; display: grid; place-content: center; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; color: #8f6b83; background: #fffbf4ec; font-size: 20px; opacity: 0; transform: translateY(9px) rotate(-15deg); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.1,1); }
.gallery-image-button:focus-visible:after { opacity: 1; transform: none; }
.gallery-tile .gallery-image-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  transform: none;
}
.gallery-tile figcaption { padding: 11px 2px 0; overflow-wrap: anywhere; }
.gallery-tile figcaption p { font-size: 12px; line-height: 1.7; margin-bottom: 5px; }
.photo-credit { font-size: 9px; color: #998896; letter-spacing: .7px; }
.gallery-tile figcaption>.icon { display: none; }
.gallery-empty { background: linear-gradient(115deg, #eef6ff, #fff0f4); border: 1px solid #eee0e9; border-radius: 18px; min-height: 200px; }
.gallery-empty:before, .gallery-empty:after { display: none; }
.reveal-ready .reveal-item { transition: opacity .7s ease, transform .9s cubic-bezier(.2,.75,.15,1); }
.reveal-ready .reveal-item:not(.is-revealed) { opacity: 0; transform: translateY(28px) rotate(1.5deg); }
.home-connect { max-width: 1440px; margin: 0 auto 54px; padding: 27px clamp(22px, 4vw, 72px); display: flex; gap: 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: 12px; }
.home-connect>div { min-width: 0; }
.home-connect h2 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.home-connect p { font-size: 12px; color: var(--muted); margin: 0; }
.home-connect a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #916c86; }
.home-connect .button { color: #fff; }
.home-connect .button.secondary { color: #916c86; }
.connect-actions { display: flex; align-items: center; gap: 28px; }
.connect-schedule>span { display: grid; grid-template-columns: auto auto; gap: 6px 18px; }
.connect-schedule small { grid-column: 1 / -1; font-size: 10px; color: #9b8697; }
.connect-schedule strong { font-weight: 500; }
.connect-schedule time { font-size: 11px; color: #9b8697; }
.connect-schedule>.icon:first-child { width: 26px; height: 26px; margin-right: 8px; }
.reveal-step-1 { transition-delay: 60ms!important; }
.reveal-step-2 { transition-delay: 120ms!important; }
.reveal-step-3 { transition-delay: 180ms!important; }

/* Profile is presented as a print, preserving the same photographs. */
.profile-layout { gap: clamp(38px, 7vw, 110px); padding-bottom: 50px; align-items: center; }
.profile-photo-wrap { background: #fff; border: 1px solid #e9dce7; border-radius: 4px; box-shadow: 12px 14px 0 #d9e9fa80, -9px -10px 0 #f9d7e370; transform: rotate(-2deg); }
.profile-photo { border-radius: 2px; object-position: 50% 25%; }
.profile-name { color: #a46784; font-weight: 400; }
.profile-bio { max-width: 380px; }
.social-list a { min-height: 44px; }
.profile-layout .social-list { border-color: #e6d6e2; }

/* Curtains and photographic expansion are driven by app.js, with plain fallbacks. */
.scene-wipe { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; contain: strict; }
.scene-wipe-sheet { position: absolute; inset: 0; transform: translateX(-110%); will-change: transform; }
.scene-wipe-sheet.sheet-blue { background: #c7e1f8; }
.scene-wipe-sheet.sheet-pink { background: linear-gradient(115deg, #fff0f6, #f2c9dc); }
.scene-wipe-mark { position: absolute; inset: 0; display: grid; place-items: center; font: italic 500 clamp(65px, 10vw, 160px)/1 Georgia, serif; color: #aa6e8d; letter-spacing: -.07em; transform: translateX(-110%); }
.page-scene { transform-origin: 50% 0; }
body.photo-viewing { overflow: hidden; }
.lightbox-dialog { width: min(1260px, calc(100vw - 64px)); max-width: none; max-height: calc(100dvh - 64px); padding: 0; border: 1px solid #fff8; border-radius: 18px; background: #fffaf7; overflow: auto; box-shadow: 0 30px 100px #3d294e40; }
.lightbox-dialog::backdrop { background: #423345b3; backdrop-filter: blur(14px); }
.lightbox-content { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(220px, .65fr); align-items: center; }
.lightbox-photo { width: 100%; height: min(80dvh, 900px); min-height: 0; max-height: calc(100dvh - 66px); object-fit: contain; background: #f3edf3; }
.lightbox-copy { padding: clamp(24px, 3vw, 48px); overflow-wrap: anywhere; }
.lightbox-copy h2 { font-size: 22px; line-height: 1.5; font-weight: 500; }
.lightbox-copy p { font-size: 12px; }
.lightbox-dialog .dialog-close { position: absolute; top: 12px; right: 12px; background: #fffaf5ed; border: 1px solid #e2d0df; border-radius: 50%; width: 44px; height: 44px; z-index: 5; }
.lightbox-navigation { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.lightbox-navigation button { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.photo-expand-ghost { position: fixed; z-index: 100; object-fit: cover; pointer-events: none; }

@keyframes photo-drift { from { transform: translateY(0); } to { transform: translateY(-42px); } }
@keyframes sparkle-turn { 0%, 100% { transform: scale(.8) rotate(-12deg); opacity: .45; } 50% { transform: scale(1.1) rotate(12deg); opacity: .95; } }
@keyframes bow-float { from { transform: translateY(0) rotate(-15deg); } to { transform: translateY(-16px) rotate(-7deg); } }
body.motion-paused .photo-column, body.motion-paused .stage-spark, body.motion-paused .stage-bow,
body.motion-hidden .photo-column, body.motion-hidden .stage-spark, body.motion-hidden .stage-bow,
body.photo-viewing .photo-column, body.photo-viewing .stage-spark, body.photo-viewing .stage-bow,
.photo-stage.is-offscreen .photo-column, .photo-stage.is-offscreen .stage-spark, .photo-stage.is-offscreen .stage-bow { animation-play-state: paused; }
body.motion-reduced .photo-column, body.motion-reduced .stage-spark, body.motion-reduced .stage-bow { animation: none; }
body.motion-reduced .reveal-item { opacity: 1!important; transform: none!important; transition: none!important; }
@media(hover:hover) and (pointer:fine) {
  .wall-photo:is(button,a):hover>img { transform: scale(1.045); filter: saturate(1.06); }
  .wall-photo:is(button,a):hover .wall-caption { opacity: 1; }
  .photo-wall:has(.wall-photo:focus-visible) .photo-column, .photo-wall:hover .photo-column { animation-play-state: paused; }
  .gallery-image-button:hover:after { opacity: 1; transform: none; }
}
@media(min-width:768px) and (max-width:1100px) {
  .main-nav { gap: 22px; }
  .header-actions { gap: 13px; }
  .brand-label { display: none; }
  .photo-stage { min-height: 610px; }
  .photo-wall { width: 126%; left: 4%; top: -120px; }
  .stage-heading { top: 35%; }
  .gallery-grid { --gallery-columns: 3; column-gap: 16px; }
}
@media(max-width:767px), (max-width:1024px) and (max-height:500px) {
  html { scroll-padding-top: 70px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .site-header { height: calc(60px + env(safe-area-inset-top, 0px)); padding-inline: max(15px, env(safe-area-inset-left, 0px)); gap: 10px; }
  .brand-wordmark { font-size: 30px; }
  .brand-bow { width: 27px; }
  .brand-label, .main-nav, .desktop-submit { display: none; }
  .header-actions { min-width: 0; gap: 12px; }
  .header-actions .text-button, .mobile-profile-link { font-size: 11px; min-height: 44px; }
  .header-user { max-width: 44px; }
  .mobile-nav { border-top: 1px solid #e9d7e5; background: #fffcfaf2; padding-top: 5px; }
  .mobile-nav a { color: #8e798b; border-radius: 12px; min-height: 54px; }
  .mobile-nav a.active { background: linear-gradient(125deg, #eaf4ff, #ffe8f0); color: #9d6688; }
  .mobile-nav a[data-route="new"] .icon { background: #f9e0eb; border-color: #ddb7cc; }
  .photo-stage { min-height: 510px; height: min(610px, calc(100svh - 120px)); max-height: none; }
  .photo-stage:before { background: linear-gradient(90deg, #eef4fbb5, transparent 36%), linear-gradient(0deg, #fffaf8, #fffaf899 9%, transparent 27%); }
  .photo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 117%; left: -4%; top: -80px; gap: 13px; transform: rotate(-7deg); }
  .photo-column { gap: 13px; animation-duration: 16s; }
  .photo-column:nth-child(2) { padding-top: 85px; }
  .photo-column:nth-child(n+3) { display: none; }
  .wall-photo { border-width: 4px; border-radius: 7px; aspect-ratio: 3/4; box-shadow: 0 8px 18px #70637c15; }
  .photo-column:nth-child(even) .wall-photo:nth-child(odd) { aspect-ratio: 3/4; }
  .wall-photo:nth-child(even) { aspect-ratio: 3/4; }
  .wall-caption { display: none; }
  .stage-heading { top: 37%; left: 20px; }
  .stage-heading h1 { font-size: clamp(62px, 18vw, 96px); line-height: 1; }
  .stage-heading .eyebrow { font-size: 7px; letter-spacing: 1.7px; margin-left: 5px; }
  .stage-name { font-size: 10px; letter-spacing: 5px; margin: 10px 0 0 8px; }
  .stage-spark:nth-child(1) { left: 76%; top: 17%; font-size: 42px; }
  .stage-spark:nth-child(2) { left: 82%; top: 72%; font-size: 28px; }
  .stage-spark:nth-child(3) { display: none; }
  .stage-bow { width: 70px; height: 45px; top: 71%; left: 8%; scale: .75; }
  .stage-signature { left: 18px; right: 18px; bottom: 18px; font-size: 10px; align-items: center; gap: 8px; }
  .stage-signature>span { font-size: 9px; letter-spacing: .8px; }
  .stage-links { gap: 7px; }
  .stage-links a { padding-inline: 14px; min-height: 44px; font-size: 10px; gap: 7px; }
  .stage-links .icon { width: 13px; height: 13px; }
  .motion-toggle { top: 12px; right: 12px; padding-inline: 13px; font-size: 9px; min-height: 44px; }
  .home-collection { padding: 23px 12px 30px; }
  .collection-heading { margin: 0 3px 18px; }
  .collection-heading .eyebrow { display: none; }
  .collection-heading h2 { font-size: 21px; }
  .collection-count { font-size: 16px; margin-left: 10px; }
  .home-collection .section-link { min-height: 44px; padding: 0; font-size: 10px; }
  .collection-empty { padding: 16px 3px; gap: 14px; font-size: 11px; }
  .collection-empty p { font-size: 11px; }
  .gallery-grid, .gallery-page .gallery-grid { --gallery-columns: 2; gap: 19px 10px; }
  .gallery-image-button { border-radius: 7px; }
  .gallery-image-button:after { display: none; }
  .gallery-tile figcaption { padding: 8px 2px 0; }
  .gallery-tile figcaption p { font-size: 11px; margin-bottom: 2px; }
  .photo-credit { font-size: 9px; letter-spacing: .15px; }
  .home-connect { display: block; padding: 20px 18px 0; margin-bottom: 20px; }
  .home-connect h2 { font-size: 13px; }
  .home-connect p { font-size: 11px; }
  .connect-actions { margin-top: 18px; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
  .connect-schedule>span { gap: 5px 12px; }
  .connect-schedule time { font-size: 10px; }
  .home-connect a { font-size: 11px; }
  .container { padding-inline: 16px; }
  .page-top { padding: 28px 0 22px; margin-bottom: 22px; }
  .page-top h1 { font-size: 26px; letter-spacing: -1px; }
  .page-top p:last-child { font-size: 12px; }
  .page-body { padding-bottom: 26px; }
  .profile-layout { gap: 32px; padding: 6px 6px 20px; }
  .profile-photo-wrap { padding: 8px; transform: rotate(-2deg); border-radius: 4px; overflow: visible; box-shadow: 6px 8px 0 #d9e9fa90, -4px -5px 0 #f9d7e370; }
  .profile-photo { height: auto; max-height: 480px; aspect-ratio: 4/5; object-fit: cover; }
  .profile-name { font-size: 58px; }
  .profile-bio { font-size: 13px; }
  .field input, .field textarea, .field select, .standalone-input { font-size: 16px; }
  .panel, .calendar, .request-card, .login-prompt { border-radius: 14px; }
  .lightbox-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .lightbox-content { grid-template-columns: minmax(0, 1fr); }
  .lightbox-photo { height: auto; min-height: 180px; max-height: 66dvh; object-fit: contain; }
  .lightbox-copy { padding: 20px; }
  .lightbox-copy h2 { font-size: 17px; }
  .lightbox-copy p { font-size: 11px; }
  .lightbox-dialog .dialog-close { position: fixed; top: 15px; right: 15px; }
  .scene-wipe-mark { font-size: 82px; }
}
@media(max-width:359px) {
  .site-header { padding-inline: 12px; gap: 6px; }
  .header-actions { gap: 5px; }
  .header-actions .header-admin { min-width: 44px; }
  .brand-wordmark { font-size: 27px; }
  .brand-bow { width: 24px; }
  .photo-stage { min-height: 465px; }
  .stage-heading h1 { font-size: 62px; }
  .stage-signature { left: 12px; right: 12px; }
  .stage-links a { padding-inline: 11px; }
}
@media(max-width:1024px) and (max-height:500px) and (orientation:landscape) {
  .photo-stage { min-height: 380px; height: 380px; }
  .photo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 112%; left: 5%; top: -185px; }
  .photo-column:nth-child(n+3) { display: grid; }
  .stage-heading { top: 28%; }
  .stage-heading h1 { font-size: 84px; }
  .home-collection { padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
  .gallery-grid, .gallery-page .gallery-grid { --gallery-columns: 3; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none!important; transition: none!important; }
  .photo-column { will-change: auto; }
  .reveal-ready .reveal-item { opacity: 1!important; transform: none!important; }
  .scene-wipe { display: none; }
}

/* The rest of the album: individual layouts, shared paper and ink. */
body:not([data-page="home"]) main {
  background: radial-gradient(ellipse at 100% 0, #eaf3ff70, transparent 43%), radial-gradient(ellipse at 0 380px, #fcebf270, transparent 48%);
}
.page-body { padding-bottom: 76px; }
.page-top { position: relative; padding: 46px 0 30px; margin-bottom: 36px; border-bottom: 1px solid #e4d5e0; }
.page-top:after { content: "✦" / ""; position: absolute; right: 3px; bottom: -11px; padding-inline: 10px; color: #c095b0; background: var(--paper); font-size: 19px; }
.page-top .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 9px; letter-spacing: 2.7px; margin-bottom: 12px; }
.page-top .eyebrow:before { content: ""; width: 25px; height: 1px; background: #c398b4; }
.page-top h1 { color: #66505e; font-size: clamp(30px, 3vw, 44px); line-height: 1.35; font-weight: 500; letter-spacing: -1.8px; margin-bottom: 11px; }
.page-top>p:last-child:not(.eyebrow) { color: #847782; font-size: 13px; line-height: 1.8; margin: 0; max-width: 620px; }
.route-studio, .route-settings, .route-new, .route-admin { max-width: 1230px; }
.page-body> :last-child { margin-bottom: 0; }
.panel { border: 1px solid #e7d9e2; border-radius: 22px; padding: clamp(24px, 3vw, 40px); background: #fffdfcf5; box-shadow: 0 10px 32px #856b7c05; }
.panel>h2 { color: #665362; font-size: 20px; font-weight: 500; letter-spacing: -.55px; margin: 0 0 26px; }
.field { gap: 9px; margin-bottom: 24px; }
.field>span:first-child, .field-label { color: #675865; font-size: 13px; font-weight: 500; }
.field .optional { color: #9b8997; font-size: 10px; font-weight: 400; margin-left: 6px; }
.field input, .field textarea, .field select, .standalone-input { min-height: 48px; border: 1px solid #dfd1db; border-radius: 11px; background: #fffefd; color: #564851; font-size: 14px; padding: 12px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { line-height: 1.8; min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #ab9ba7; opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #bb90aa; box-shadow: 0 0 0 4px #f6e7ef; outline: none; }
.field input:disabled { background: #f3eef1; color: #8c7b87; }
.field-row { column-gap: 20px; }
.button { min-height: 48px; border-radius: 50px; padding: 0 25px; background: #9b6684; border-color: #9b6684; font-size: 12px; box-shadow: 0 4px 12px #95658210; }
.button.secondary { color: #8b647d; background: #fffdfc; border-color: #d9c1d0; box-shadow: none; }
.button.danger { color: #9b4c68; background: #fff2f5; border-color: #e5bac8; box-shadow: none; }
.button.danger:hover { background: #f8dce5; }
.button.small, .inline-actions .button { min-height: 44px; padding-inline: 17px; }
.button:active:not(:disabled) { transform: translateY(1px); }
.icon-button { min-height: 44px; min-width: 44px; border-radius: 50%; border: 1px solid #e5d4df; background: #fffdfb; color: #956c87; }
.form-actions { margin-top: 28px; gap: 12px; }
.form-message { margin: 12px 0 0; font-size: 12px; }
.form-message:empty { display: none; }
.upload-error { color: #a7627f; font-size: 12px; line-height: 1.8; margin: 13px 0 0; }
.upload-error:empty { display: none; }
.check-field { align-items: start; gap: 12px; color: #6e5a68; font-size: 12px; line-height: 1.8; min-height: 44px; padding-block: 5px; }
.check-field input { accent-color: #a16c8b; width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; }
.check-field small { display: block; font-size: 11px; color: #8d7a88; line-height: 1.8; margin-top: 4px; }
.small-muted, .private-note { color: #8f7d89; font-size: 12px; }
.private-note { align-items: start; line-height: 1.8; padding: 15px 0; }
.private-note .icon { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 3px; }
.empty-state { border: 1px dashed #dfcbd9; background: #fffafc; padding: 32px 22px; color: #87717f; font-size: 13px; }
.empty-state p { color: #978591; font-size: 12px; }

/* Public profile, arranged like a print and its handwritten caption. */
.profile-editorial { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); padding: 8px 3% 50px; }
.profile-portrait { position: relative; max-width: 540px; padding: 12px 12px 32px; border: 1px solid #ead9e5; border-radius: 5px; box-shadow: 16px 18px 0 #dbeaf9, -12px -13px 0 #f6dfe9; transform: rotate(-2deg); }
.profile-portrait:before { content: ""; position: absolute; z-index: 1; left: 36%; top: -16px; width: 29%; height: 28px; background: #f2d9e4b3; border-inline: 1px dashed #fff9; transform: rotate(4deg); }
.profile-portrait .profile-photo { width: 100%; height: 620px; max-height: 65vh; object-fit: cover; object-position: 50% 23%; border-radius: 1px; }
.profile-portrait>p { margin: 15px 8px -13px; color: #a28a9b; font-size: 8px; letter-spacing: 2.4px; }
.profile-copy { position: relative; padding: 35px 0; min-width: 0; }
.profile-copy .profile-name { font: italic 500 clamp(68px, 7vw, 110px)/1 Georgia, serif; letter-spacing: -.07em; color: #a06c88; margin: 0 0 14px; }
.profile-copy .profile-korean { color: #9b7e91; font-size: 12px; letter-spacing: 7px; margin-bottom: 28px; }
.profile-copy .profile-bio { color: #776874; line-height: 2; font-size: 14px; max-width: 410px; margin-bottom: 30px; }
.profile-copy .social-list { display: grid; gap: 0; border-top: 1px solid #e6d5e0; padding-top: 0; }
.profile-copy .social-list a { display: flex; min-height: 62px; gap: 16px; padding: 10px 3px; border-bottom: 1px solid #e6d5e0; font-size: 13px; color: #805d76; transition: padding .3s, background .3s; }
.profile-copy .social-list a>.icon:first-child { width: 19px; height: 19px; }
.profile-copy .social-list a>.icon:last-child { margin-left: auto; width: 15px; height: 15px; }
.profile-copy .social-list a:hover { padding-inline: 13px; background: #fcebf280; }
.profile-stamp { display: grid; place-content: center; position: absolute; bottom: -16px; right: -28px; width: 82px; height: 82px; border: 1px solid #d7b7ce; border-radius: 50%; color: #aa81a0; background: #fbf2f7ed; font: italic 36px Georgia, serif; text-align: center; transform: rotate(14deg); box-shadow: inset 0 0 0 5px #fff6, 0 3px 12px #90627f0c; }
.profile-copy>.eyebrow { color: #b18dA5; font-size: 9px; letter-spacing: 3px; margin-bottom: 13px; }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 27px; }

/* A generous gallery, including a composed empty state before the first publication. */
.route-gallery { max-width: 1600px; }
.gallery-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; border-bottom: 1px solid #e4d5e0; }
.gallery-intro>.page-top { flex: 1; border-bottom: 0; margin-bottom: 0; }
.gallery-intro>.page-top:after { display: none; }
.gallery-intro>.gallery-summary { margin-bottom: 34px; }
.gallery-summary { color: #9d7c94; font-size: 12px; white-space: nowrap; }
.gallery-summary strong { font: italic 400 26px Georgia, serif; color: #b486a2; margin-right: 8px; }
.gallery-page .gallery-grid { gap: 30px 24px; }
.gallery-page .gallery-image-button { border-radius: 5px; outline-offset: 6px; box-shadow: 0 5px 20px #765d7310; }
.gallery-page .gallery-tile figcaption { padding-top: 12px; }
.gallery-page .gallery-tile figcaption p { color: #756372; }
.gallery-page .gallery-empty { display: grid; grid-template-columns: 180px minmax(0, 380px); grid-template-rows: 1fr auto auto 1fr; gap: 0 46px; justify-content: center; text-align: left; min-height: 350px; padding: 45px; background: linear-gradient(120deg, #eaf3ff, #fff5fa 65%, #fce6ee); border-radius: 26px; border: 1px solid #e9dce7; }
.gallery-page .gallery-empty:before { content: ""; display: block; position: relative; inset: auto; grid-column: 1; grid-row: 1 / -1; background: url('./assets/myune.jpg') 50% 22% / cover; width: 180px; height: 245px; border: 8px solid #fffdfb; box-shadow: 7px 10px 0 #d9e8f2a6; transform: rotate(-6deg); }
.gallery-page .gallery-empty .empty-icon { display: none; }
.gallery-page .gallery-empty h3 { grid-column: 2; grid-row: 2; word-break: keep-all; font-size: 20px; font-weight: 500; line-height: 1.7; letter-spacing: -.6px; margin: 0 0 12px; }
.gallery-page .gallery-empty p { grid-column: 2; grid-row: 3; word-break: keep-all; color: #94818e; font-size: 13px; line-height: 1.9; margin: 0; }

/* Calendar: readable dates, with the next appearance treated as an invitation. */
.schedule-spotlight { display: grid; grid-template-columns: 76px minmax(0, 1fr) 50px; align-items: center; gap: 6px 25px; padding: 27px 34px; margin-bottom: 30px; border: 1px solid #e5d4e1; border-radius: 22px; background: linear-gradient(115deg, #edf5ff, #fff6fa 52%, #f9e2ed); position: relative; overflow: hidden; }
.schedule-spotlight>.spotlight-label { grid-column: 2; grid-row: 1; align-self: end; }
.schedule-spotlight>.spotlight-date { grid-column: 1; grid-row: 1 / 3; }
.schedule-spotlight>.spotlight-copy { grid-column: 2; grid-row: 2; align-self: start; }
.spotlight-star { grid-column: 3; grid-row: 1 / 3; color: #d9b1c9; font: 58px Georgia, serif; transform: rotate(13deg); }
.spotlight-date { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 76px; min-height: 78px; background: #fffdfbd9; border: 1px solid #ebdbe6; border-radius: 16px; color: #a47795; }
.spotlight-date strong { font: italic 400 36px/1.1 Georgia, serif; }
.spotlight-date span { font-size: 10px; letter-spacing: 2px; margin-top: 4px; }
.spotlight-copy { position: relative; z-index: 1; min-width: 0; }
.spotlight-copy h2 { margin: 7px 0; font-size: 21px; font-weight: 500; letter-spacing: -.6px; color: #75596d; overflow-wrap: anywhere; }
.spotlight-copy p, .spotlight-copy time { color: #9d8195; font-size: 12px; margin: 0; line-height: 1.8; }
.spotlight-label { color: #9e7893; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; }
.schedule-layout { grid-template-columns: minmax(0, 1.9fr) minmax(240px, 1fr); gap: 34px; }
.calendar { border-radius: 24px; padding: 30px; border-color: #e6d4e0; box-shadow: 0 8px 30px #90738a05; overflow: hidden; }
.calendar-toolbar { padding-bottom: 24px; margin-bottom: 12px; border-bottom: 1px solid #eadfe6; }
.calendar-title { font: italic 400 32px/1.2 Georgia, serif; letter-spacing: -.7px; color: #a17190; }
.calendar-controls { gap: 8px; }
.calendar-weekdays span { color: #9d8495; font-size: 9px; letter-spacing: .7px; padding-block: 8px 14px; }
.calendar-day { min-height: 76px; border-color: #eee5eb; padding: 9px 5px; }
.calendar-day-number { width: 29px; height: 29px; color: #826f7c; font-size: 12px; }
.calendar-day.today .calendar-day-number { color: #fff; background: #b783a1; border-radius: 50%; box-shadow: 0 2px 9px #ba89a92b; }
.calendar-day.other-month .calendar-day-number { color: #aa97a5; }
.calendar-day:has(.calendar-event) { background: #fbf2f7; }
.calendar-event { color: #8c5d79; background: #f2dfe9; border-radius: 4px; font-size: 9px; line-height: 1.5; padding: 4px 5px; overflow-wrap: anywhere; }
.schedule-aside { padding: 8px 0; }
.schedule-aside h2 { font-size: 16px; font-weight: 500; color: #7a6173; border-color: #e5d4e1; padding-bottom: 20px; }
.event-row { padding-block: 22px; border-color: #e9dce5; gap: 18px; }
.event-date { background: #f6e7f0; border-radius: 12px; min-width: 52px; padding: 10px 6px; }
.event-date strong { font: italic 400 29px Georgia, serif; color: #a97f99; }
.event-date span { color: #a3889c; font-size: 8px; letter-spacing: 1.4px; }
.event-copy h3 { font-size: 13px; font-weight: 500; color: #765e70; line-height: 1.8; }
.event-copy p { font-size: 11px; color: #9b8394; line-height: 1.8; }
.event-weekday { color: #a4879a; font-size: 10px; }

/* Working pages keep the controls calm and the photographs easy to inspect. */
.workspace-toolbar { align-items: center; border-bottom: 1px solid #eadde6; padding-bottom: 25px; margin-bottom: 27px; }
.workspace-toolbar p { color: #8c7484; font-size: 13px; line-height: 1.8; margin: 0; }
.request-list { display: grid; gap: 13px; }
.request-card { position: relative; padding: 26px 28px 26px 32px; border: 1px solid #e8d9e3; border-radius: 18px; background: #fffefcf5; box-shadow: 0 3px 12px #8b6a7f04; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .3s; }
.request-card:before { content: ""; position: absolute; top: 23px; bottom: 23px; left: 0; width: 4px; border-radius: 0 5px 5px 0; background: #e8c5d7; }
.request-card:has(.badge.in_progress):before { background: #bed9f0; }
.request-card:has(.badge.returned):before { background: #cbbfe3; }
.request-card-top { gap: 16px; margin-bottom: 13px; }
.request-card-top h2 { color: #695261; font-size: 16px; letter-spacing: -.3px; line-height: 1.6; }
.request-meta { font-size: 11px; color: #95808f; gap: 7px 17px; }
.request-arrow { color: #b493aa; }
.badge { font-size: 10px; padding: 6px 10px; border-radius: 8px; color: #926b81; background: #f8eaf1; border-color: #ecd4e1; white-space: nowrap; }
.badge.in_progress { color: #648299; background: #ebf4fc; border-color: #d0e4f3; }
.badge.returned { color: #8c799d; background: #f1ecf8; border-color: #ded4ea; }
.request-pager .admin-toolbar { gap: 20px; margin-bottom: 18px; }
.request-pager .admin-toolbar .small-muted { font-size: 11px; }
.request-pager .form-actions { justify-content: center; }
.admin-toolbar select, .status-controls select { min-height: 44px; padding: 10px 34px 10px 14px; border-radius: 11px; border-color: #dfccd9; font-size: 12px; color: #7e6376; background: #fffdfa; }

.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
.form-main { min-width: 0; }
.form-main>form, form.form-main { margin: 0; }
.form-aside { border: 1px solid #e7d6e2; background: linear-gradient(135deg, #f5e8f1, #edf5fc); border-radius: 20px; padding: 25px; color: #8e7487; position: sticky; top: 108px; }
.form-aside>img { width: 100%; height: 240px; object-fit: cover; object-position: 50% 23%; border: 7px solid #fffdf9; border-radius: 5px; transform: rotate(3deg); box-shadow: 0 5px 12px #917b9210; margin-bottom: 24px; }
.form-aside h2, .form-aside h3 { color: #88677e; font-size: 15px; font-weight: 500; line-height: 1.7; }
.form-aside p, .form-aside li { font-size: 11px; line-height: 1.9; }
.form-aside .icon { width: 24px; height: 24px; color: #ad88a1; margin-bottom: 14px; }
.form-aside ol { margin: 0; padding-left: 18px; }
.form-section-title { color: #735a6c; font-size: 15px; border-color: #eadce6; margin-top: 24px; padding-bottom: 15px; }
.drop-zone { position: relative; border: 1px dashed #cba8bf; border-radius: 17px; min-height: 215px; padding: 30px 22px; background: linear-gradient(135deg, #f0f6ff, #fff6fa 60%, #fae7ef); }
.drop-zone>label { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #79546f; font-size: 14px; width: 100%; min-height: 100px; }
.drop-zone .icon { color: #b48ca6; width: 32px; height: 32px; margin-bottom: 15px; }
.drop-zone input[type=file] { position: absolute; inset: 0; z-index: 2; opacity: 0; max-width: none; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.drop-zone:focus-within { outline: 3px solid #c08dab; outline-offset: 4px; }
.drop-zone input::file-selector-button { min-height: 44px; padding: 10px 18px; border-radius: 30px; color: #966b86; border: 1px solid #d7b8cc; background: #fffdfa; margin-right: 10px; }
.drop-zone p { margin-top: 17px; color: #9a8393; font-size: 10px; }
.upload-picker.has-files .drop-zone { min-height: 112px; padding: 14px 20px; }
.upload-picker.has-files .drop-zone>label { flex-direction: row; min-height: 44px; gap: 12px; }
.upload-picker.has-files .drop-zone .icon { width: 21px; height: 21px; margin: 0; }
.upload-picker.has-files .drop-zone p { margin-top: 8px; }
.upload-preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 12px; margin-top: 20px; }
.upload-preview { position: relative; margin: 0; min-width: 0; padding: 5px; background: #fffdfb; border: 1px solid #e3d1df; border-radius: 10px; }
.upload-preview img, .upload-file-placeholder { display: grid; place-content: center; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; background: #f3eaf0; color: #b48fa6; }
.upload-preview figcaption { padding: 7px 3px 3px; font-size: 10px; line-height: 1.7; color: #94798b; min-width: 0; }
.upload-preview figcaption>span:first-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-preview figcaption small { display: block; font-size: 9px; color: #aa93a1; }
.upload-remove { position: absolute; top: -6px; right: -6px; width: 44px; height: 44px; border: 4px solid transparent; border-radius: 50%; background: #fffdfa; background-clip: padding-box; color: #956f87; display: grid; place-items: center; box-shadow: 0 2px 6px #8e6b8220; }
.upload-remove .icon { width: 16px; height: 16px; }
.selected-files:empty, .upload-preview-grid:empty { display: none; }
.selected-files { font-size: 11px; color: #796474; line-height: 1.8; }
.selected-file { border-radius: 8px; background: #f9eff5; font-size: 11px; }

.optional-fields { margin: 23px 0; border-block: 1px solid #e9dbe4; }
.optional-summary { display: flex; align-items: center; gap: 10px; min-height: 60px; list-style: none; cursor: pointer; padding: 14px 2px; color: #806477; font-size: 13px; font-weight: 500; }
.optional-summary::-webkit-details-marker { display: none; }
.optional-summary:focus-visible { outline: 3px solid #cba2bb; outline-offset: 4px; border-radius: 6px; }
.optional-summary>.icon { width: 17px; height: 17px; margin-left: auto; color: #b58da7; transition: transform .25s; }
.optional-tag { font-size: 9px; font-weight: 400; color: #a58b9e; background: #f5eaf1; padding: 3px 7px; border-radius: 5px; }
.optional-fields[open]>.optional-summary>.icon { transform: rotate(45deg); }
.optional-fields-body { padding: 5px 2px 16px; }
.optional-fields[open]>.optional-fields-body { animation: details-appear .22s ease-out; }
@keyframes details-appear { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.motion-paused .optional-fields-body, .motion-reduced .optional-fields-body { animation: none; }
.optional-fields-body>.field:last-child { margin-bottom: 4px; }
.optional-fields-body .small-muted { font-size: 11px; margin-bottom: 17px; }
.consent-box { border: 1px solid #e7d8e2; border-radius: 14px; background: #faf3f7; padding: 21px 22px; margin: 23px 0; }
.consent-box h3 { font-size: 13px; color: #775f70; font-weight: 500; line-height: 1.7; }
.consent-box li, .consent-box p { color: #8d7786; font-size: 11px; line-height: 1.9; }
.consent-box ul { padding-left: 18px; }
.consent-box .check-field { margin: 0; }
.settings-layout { max-width: 720px; }
.account-identity { display: flex; align-items: center; gap: 16px; padding: 20px 23px; border: 1px solid #e1d6e5; border-radius: 16px; background: linear-gradient(110deg, #eff5ff, #fff6fa); margin-bottom: 26px; min-width: 0; }
.account-identity>.icon { flex: 0 0 24px; width: 24px; height: 24px; color: #ac86a1; }
.account-identity>span { display: grid; gap: 6px; min-width: 0; }
.account-identity small { color: #a18a9b; font-size: 10px; }
.account-identity strong { font-size: 14px; font-weight: 500; color: #795e70; overflow-wrap: anywhere; }
.consent-status, .consent-complete { display: flex; align-items: center; gap: 9px; padding: 15px 0; color: #9c8295; font-size: 11px; line-height: 1.8; }
.consent-status .icon, .consent-complete .icon { width: 15px; height: 15px; flex: 0 0 15px; }
.account-welcome>h2 { color: #76596e; font-size: 20px; font-weight: 500; line-height: 1.6; letter-spacing: -.5px; margin: 27px 0 20px; }
.account-welcome .consent-box { margin-top: 0; }
.notification-choice { padding: 5px 0; }
.notification-choice>.check-field { margin: 0; }
.publication-choice { background: #f9f0f6; }
.close-session { padding: 18px 5px; margin-top: 12px; align-items: center; }
.close-session p { font-size: 11px; color: #9b8695; max-width: 430px; }

/* Photos and conversation are separate, readable columns on a wide screen. */
.detail-page { max-width: 1480px; }
.detail-page .page-top { padding-bottom: 25px; }
.detail-heading { margin: 0; align-items: center; }
.detail-heading h1 { font-size: clamp(24px, 2.3vw, 35px); font-weight: 500; line-height: 1.55; color: #715468; margin-bottom: 14px; }
.detail-heading .request-meta { font-size: 11px; }
.back-link { min-height: 44px; margin-bottom: 19px; font-size: 11px; color: #a18498; }
.detail-grid { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 34px; align-items: start; }
.detail-side { display: grid; gap: 24px; }
.detail-side .panel+.panel { margin-top: 0; }
.detail-side .panel { padding: 26px; }
.detail-side .panel>h2 { font-size: 16px; margin-bottom: 22px; }
.file-group-title { color: #7f6175; font-size: 17px; font-weight: 500; padding-bottom: 15px; border-bottom: 1px solid #e5d6e1; margin-bottom: 20px; }
.file-group-title span { font: italic 400 16px Georgia, serif; color: #b08ba3; }
.file-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.file-grid:has(>.private-file:only-child) { grid-template-columns: minmax(0, 420px); }
.file-grid>.private-file:only-child img { aspect-ratio: auto; height: min(440px, 60dvh); object-fit: contain; background: #f5edf2; }
.private-file { border-color: #e8dce4; border-radius: 12px; overflow: hidden; }
.private-file img { aspect-ratio: 4/5; object-fit: cover; transition: transform .5s; }
.private-file>a { overflow: hidden; }
.file-info { padding: 12px; }
.file-info>p { font-size: 10px; color: #9d8697; margin-bottom: 8px; }
.file-info>a { display: flex; min-height: 36px; gap: 7px; font-size: 10px; color: #976e88; }
.file-info>a .icon { width: 13px; height: 13px; }
.file-info>a .small-muted { margin-left: auto; font-size: 9px; }
.file-info .field>span { font-size: 10px; }
.file-info .field input { min-height: 44px; font-size: 12px; padding: 9px; border-radius: 8px; }
.file-info .check-field { font-size: 11px; min-height: 44px; align-items: center; }
.file-info .check-field input { width: 18px; height: 18px; flex-basis: 18px; margin-top: 0; }
.file-info .button { width: 100%; font-size: 10px; padding: 0 11px; min-height: 44px; }
.file-info .small-muted { font-size: 10px; }
.detail-info { grid-template-columns: 84px minmax(0, 1fr); row-gap: 11px; font-size: 11px; line-height: 1.9; }
.detail-info dt { color: #ab93a3; }
.detail-info dd { color: #7d6274; }
.returned-summary { padding: 18px 22px; border-radius: 13px; color: #8e789d; background: #f0eaf9; border-color: #dfd2eb; font-size: 12px; margin-bottom: 28px; }
.comments { gap: 14px; max-height: 480px; padding: 2px; scrollbar-width: thin; scrollbar-color: #dcc3d4 transparent; }
.comment { border-radius: 14px 14px 14px 3px; border: 1px solid #ebdce6; background: #fcf6fa; padding: 16px; margin-right: 12px; }
.comment.admin-comment { border-radius: 14px 14px 3px 14px; background: #edf4fc; border-color: #dce7f3; margin-left: 12px; margin-right: 0; }
.comment-header { gap: 10px; flex-wrap: wrap; margin-bottom: 9px; }
.comment-header strong { color: #94738a; font-size: 11px; }
.comment-header time { color: #ac96a4; font-size: 9px; }
.comment p { color: #796673; line-height: 1.9; font-size: 12px; }
.comment-empty { color: #ab95a4; font-size: 12px; padding: 15px 6px 23px; margin: 0; }
.comment-form textarea { min-height: 104px; }
.comment-form .form-actions { margin-top: 14px; }
.comment-form .button { min-height: 44px; padding-inline: 19px; }
.return-panel { margin-top: 25px; background: linear-gradient(140deg, #fffdfa, #fbf1f7); }
.admin-publication-note { color: #9f8196; font-size: 11px; line-height: 1.9; }
.request-sections { position: sticky; top: 76px; z-index: 25; display: flex; gap: 6px; padding: 7px; margin: 0 0 27px; border: 1px solid #e7d7e2; border-radius: 16px; background: #fffcfaed; backdrop-filter: blur(14px); box-shadow: 0 5px 15px #856c8007; }
.request-section-link { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: #85657b; font-size: 12px; }
.request-section-link:hover { background: #f7eaf2; }
.request-section-count { font: italic 400 17px Georgia, serif; color: #a37d97; }
.request-section-target { scroll-margin-top: 68px; }
.request-section-heading:focus-visible { outline: 2px solid #c9a5bc; outline-offset: 5px; border-radius: 3px; }
.status-segments { display: flex; gap: 7px; padding: 5px; border: 1px solid #e5d2df; border-radius: 15px; background: #fffdfb; }
.status-option { min-height: 44px; min-width: 77px; padding: 9px 13px; background: transparent; color: #a3859b; border: 1px solid transparent; border-radius: 10px; font-size: 11px; transition: background .2s, color .2s; }
.status-option.active { color: #98718b; background: #f5e8f0; border-color: #e8d4e0; font-weight: 500; }
.status-option[disabled] { cursor: wait; }

/* Administration uses the same album, with compact controls and clear counts. */
.admin-tabs { border-bottom: 1px solid #e4d3df; gap: 9px; padding-bottom: 18px; margin-bottom: 28px; }
.admin-tab { min-height: 46px; padding: 10px 24px; border-radius: 50px; border: 1px solid #e3cdda; color: #98718b; background: #fffdfa; font-size: 12px; transition: background .2s, border-color .2s, color .2s; }
.admin-tab.active { background: #a57694; color: #fffdfb; border-color: #a57694; box-shadow: 0 4px 14px #ac81a021; }
.stat-row { gap: 16px; margin-bottom: 28px; }
.stat-box { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 100px; padding: 21px 26px; border-radius: 17px; border-color: #e4d4df; background: linear-gradient(120deg, #fffdfc, #faedf4); }
.stat-box:nth-child(2) { background: linear-gradient(120deg, #fffdfc, #eaf4fc); }
.stat-box:nth-child(3) { background: linear-gradient(120deg, #fffdfc, #f0eafa); }
.stat-box span { font-size: 11px; margin: 0; color: #a08296; }
.stat-box strong { font: italic 400 38px/1 Georgia, serif; color: #b0809e; }
.schedule-admin-list { gap: 12px; margin-top: 25px; }
.schedule-admin-item { padding: 23px 26px; border: 1px solid #e5d5df; border-radius: 16px; background: #fffdfbf5; }
.schedule-admin-item h3 { font-size: 14px; color: #7c5d70; line-height: 1.8; margin-bottom: 7px; }
.schedule-admin-item p { font-size: 11px; color: #a68b9d; }
.narrow { max-width: 800px; }
.login-prompt { border-radius: 26px; background: linear-gradient(130deg, #eff5ff, #fff6fa 56%, #f8e4ef); border: 1px solid #e4d1df; max-width: 640px; margin: 25px auto 65px; padding: 50px 40px; }
.login-prompt>.icon { width: 31px; height: 31px; padding: 15px; box-sizing: content-box; background: #fffdfaaf; border: 1px solid #eadbe5; border-radius: 20px; color: #b289a4; margin-bottom: 23px; }
.login-prompt h2 { color: #7c5c71; font-size: 25px; font-weight: 500; letter-spacing: -.9px; line-height: 1.55; }
.login-prompt p { color: #967b8e; font-size: 13px; line-height: 1.9; }

/* Dialog movement is provided by JS so Escape, reversal and reduced motion agree. */
body.modal-open, body.dialog-viewing { overflow: hidden; }
body.dialog-viewing .photo-column, body.dialog-viewing .stage-spark, body.dialog-viewing .stage-bow { animation-play-state: paused; }
.login-dialog, .confirm-dialog { border: 1px solid #e7d4e1; color: #695262; background: linear-gradient(145deg, #fffdfb 40%, #fcf0f7); border-radius: 26px; padding: 38px; box-shadow: 0 22px 90px #6b4d7033; }
.login-dialog { width: min(470px, calc(100vw - 32px)); }
.confirm-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
.login-dialog::backdrop, .confirm-dialog::backdrop { background: #52405279; backdrop-filter: blur(12px); }
.dialog-close { border: 1px solid #ead8e5; background: #fffdfbdb; border-radius: 50%; width: 44px; height: 44px; min-width: 44px; min-height: 44px; top: 13px; right: 13px; color: #ad829d; }
.login-mark, .confirm-symbol { display: grid; place-content: center; width: 62px; height: 62px; border: 1px solid #e7d0df; border-radius: 20px; margin-bottom: 23px; background: linear-gradient(135deg, #e9f3ff, #f9e5f0); color: #b18ca5; font: italic 34px Georgia, serif; }
.login-mark { width: max-content; height: auto; background: none; border: 0; border-radius: 0; font-size: 43px; letter-spacing: -3px; margin-bottom: 23px; }
.login-mark .icon, .confirm-symbol .icon { width: 25px; height: 25px; }
.login-dialog h2, .confirm-dialog h2 { color: #78576d; font-size: 25px; font-weight: 500; letter-spacing: -.8px; line-height: 1.55; margin: 0 0 14px; padding-right: 5px; }
.login-step-indicator { display: flex; gap: 7px; align-items: center; margin: 0 0 19px; color: #b69aaa; font-size: 10px; letter-spacing: .5px; }
.login-step-indicator strong { color: #9a6d89; font-weight: 500; }
.dialog-intro, #confirm-description { font-size: 12px; color: #95798d; line-height: 1.9; overflow-wrap: anywhere; margin-bottom: 25px; }
.login-dialog .eyebrow { font-size: 8px; letter-spacing: 2.1px; color: #b394a9; }
.login-dialog .field { margin-bottom: 19px; }
.login-dialog .field input { min-height: 52px; font-size: 16px; }
.login-dialog .button { min-height: 49px; }
.login-dialog .login-bottom { color: #aa909f; font-size: 10px; line-height: 1.9; margin-top: 26px; }
.login-back { font-size: 11px; color: #a48098; min-height: 44px; margin-bottom: 15px; }
.code-input { border-radius: 12px!important; padding-inline: 12px!important; letter-spacing: .32em; font: 400 25px/1.4 ui-monospace, monospace!important; }
.code-caption { color: #a98c9e; font-size: 11px; }
.confirm-actions, .dialog-actions { display: flex; gap: 10px; justify-content: end; margin-top: 28px; }
.confirm-actions .button, .dialog-actions .button { flex: 1; padding-inline: 14px; min-width: 0; }
.lightbox-copy .eyebrow { color: #b18ca4; }
.lightbox-copy h2 { color: #74546b; }
.lightbox-copy .social-list { padding-top: 19px; border-color: #e6d2df; }
#toast { border-radius: 50px; padding: 14px 24px; box-shadow: 0 6px 25px #72516d24; background: #8b6580; }
.scene-wipe-sheet.sheet-blue { background: radial-gradient(circle at 25% 45%, #edf6ff, transparent 42%), #c7e1f8; }
.scene-wipe-sheet.sheet-pink { background: radial-gradient(ellipse at 60% 20%, #fff6fc, transparent 58%), linear-gradient(115deg, #f7dfea, #efc7dd); }
.scene-wipe-sheet:before { content: ""; position: absolute; width: min(48vw, 580px); aspect-ratio: 1; border: 1px solid #fff9; border-radius: 50%; top: -10%; right: -8%; box-shadow: 0 0 0 25px #fff2, 0 0 0 26px #fff6, 0 0 0 70px #fff1; }
.scene-wipe-sheet:after { content: "✧" / ""; position: absolute; left: 14%; bottom: 18%; font: clamp(80px, 12vw, 180px) Georgia, serif; color: #fff9; transform: rotate(-13deg); }
.scene-wipe-mark:after { content: ""; position: absolute; width: 72px; height: 60px; left: calc(50% - 36px); top: calc(50% + 78px); background: url('./assets/favicon.svg') center / contain no-repeat; opacity: .85; transform: rotate(-8deg); }

@media(hover:hover) and (pointer:fine) {
  .request-card:hover { border-color: #caa6bc; box-shadow: 0 8px 23px #9a739011; transform: translateY(-2px); }
  .private-file>a:hover img { transform: scale(1.035); }
  .optional-summary:hover { color: #a57692; }
  .upload-remove:hover { background-color: #f9e5ef; }
}
@media(min-width:768px) and (max-width:1100px) {
  .profile-editorial { gap: 45px; padding-inline: 2%; }
  .profile-portrait .profile-photo { height: 530px; }
  .profile-stamp { right: -17px; width: 65px; height: 65px; font-size: 30px; }
  .schedule-layout { grid-template-columns: minmax(0, 1.75fr) minmax(210px, 1fr); gap: 22px; }
  .calendar { padding: 22px 18px; }
  .calendar-day { min-height: 72px; }
  .form-shell { grid-template-columns: minmax(0, 1fr) 220px; gap: 23px; }
  .form-aside { padding: 21px; }
  .form-aside>img { height: 200px; }
  .detail-grid { grid-template-columns: minmax(0, 1.35fr) minmax(270px, 1fr); gap: 23px; }
  .file-grid, .upload-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-side .panel { padding: 22px; }
  .stat-box { padding: 22px; }
}
@media(max-width:767px), (max-width:1024px) and (max-height:500px) {
  .page-body { padding-bottom: 28px; }
  .page-top { padding: 28px 0 23px; margin-bottom: 25px; }
  .page-top h1 { font-size: 27px; letter-spacing: -.9px; margin-bottom: 9px; }
  .page-top>p:last-child:not(.eyebrow) { font-size: 12px; line-height: 1.8; max-width: 340px; }
  .page-top:after { font-size: 16px; bottom: -9px; right: 0; padding-inline: 8px; }
  .panel { padding: 23px 18px; border-radius: 18px; }
  .panel>h2 { font-size: 18px; margin-bottom: 23px; }
  .field { margin-bottom: 22px; gap: 9px; }
  .field input, .field textarea, .field select, .standalone-input, .admin-toolbar select, .status-controls select { font-size: 16px; min-height: 48px; padding: 12px; border-radius: 10px; }
  .field>span:first-child, .field-label { font-size: 13px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .button, .button.small, .inline-actions .button, .status-controls .button { min-height: 46px; border-radius: 30px; padding-inline: 19px; font-size: 12px; }
  .form-actions { margin-top: 24px; gap: 10px; }
  .check-field { font-size: 12px; gap: 10px; }
  .check-field small { font-size: 11px; }
  .small-muted { font-size: 11px; }
  .private-note { font-size: 11px; margin-top: 15px; }
  .empty-state { font-size: 12px; padding: 26px 18px; }
  .profile-editorial { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 5px 8px 16px; }
  .profile-portrait { width: calc(100% - 10px); max-width: 430px; margin: 0 auto; padding: 8px 8px 23px; border: 1px solid #e3ccd9; border-radius: 4px; overflow: visible; box-shadow: 7px 9px 0 #dbeaf9, -6px -7px 0 #f6dfe9; transform: rotate(-2deg); }
  .profile-portrait:before { top: -12px; height: 22px; }
  .profile-portrait .profile-photo { height: auto; max-height: 450px; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 23%; }
  .profile-portrait>p { display: block; font-size: 7px; letter-spacing: 1.8px; margin: 11px 6px -13px; }
  .profile-copy { padding: 12px 0 5px; }
  .profile-copy .profile-name { font-size: 68px; margin-bottom: 10px; }
  .profile-copy .profile-korean { display: block; font-size: 10px; letter-spacing: 5px; margin-bottom: 22px; }
  .profile-copy .profile-bio { font-size: 13px; margin-bottom: 24px; max-width: none; }
  .profile-copy .social-list a { min-height: 59px; gap: 15px; font-size: 13px; }
  .profile-stamp { width: 66px; height: 66px; bottom: -16px; right: -6px; font-size: 29px; }
  .profile-actions { gap: 9px; margin-top: 24px; }
  .profile-actions>.button { flex: 1; font-size: 11px; padding-inline: 13px; }
  .gallery-intro { gap: 12px; margin-bottom: 19px; align-items: center; }
  .gallery-intro>.gallery-summary { margin: 10px 0 0; }
  .gallery-summary { font-size: 10px; }
  .gallery-summary strong { font-size: 21px; margin-right: 5px; }
  .gallery-page .gallery-grid { gap: 23px 10px; }
  .gallery-page .gallery-tile figcaption { padding-top: 9px; }
  .gallery-page .gallery-tile figcaption p { font-size: 11px; line-height: 1.7; }
  .gallery-page .gallery-empty { grid-template-columns: minmax(90px, .85fr) minmax(0, 1.15fr); column-gap: 22px; min-height: 245px; padding: 25px 20px; border-radius: 19px; }
  .gallery-page .gallery-empty:before { width: 100%; height: 180px; border-width: 5px; box-shadow: 5px 6px 0 #d9e8f2a6; }
  .gallery-page .gallery-empty h3 { font-size: 16px; line-height: 1.6; letter-spacing: -.3px; margin-bottom: 10px; }
  .gallery-page .gallery-empty p { font-size: 13px; line-height: 1.8; }
  .schedule-spotlight { grid-template-columns: 58px minmax(0, 1fr) 28px; padding: 21px 20px; gap: 4px 17px; margin-bottom: 22px; border-radius: 18px; }
  .spotlight-star { font-size: 37px; }
  .spotlight-date { flex-basis: 58px; min-height: 64px; border-radius: 13px; }
  .spotlight-date strong { font-size: 29px; }
  .spotlight-date span { font-size: 8px; letter-spacing: 1.4px; }
  .spotlight-copy h2 { font-size: 17px; line-height: 1.6; margin: 5px 0; }
  .spotlight-copy p, .spotlight-copy time { font-size: 11px; }
  .spotlight-label { font-size: 8px; letter-spacing: 1.4px; }
  .schedule-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .calendar { padding: 21px 10px 17px; border-radius: 19px; }
  .calendar-toolbar { padding: 0 6px 17px; margin-bottom: 8px; }
  .calendar-title { font-size: 28px; }
  .calendar-controls { gap: 5px; }
  .calendar-weekdays span { font-size: 9px; letter-spacing: 0; padding-block: 9px 12px; }
  .calendar-day { min-height: 57px; padding: 7px 1px; }
  .calendar-day-number { font-size: 12px; width: 28px; height: 28px; }
  .calendar-event { width: 5px; height: 5px; padding: 0; border-radius: 50%; font-size: 0; background: #b987a4; margin: 3px 1px 0; }
  .schedule-aside { padding-top: 2px; }
  .schedule-aside h2 { font-size: 16px; padding-bottom: 16px; }
  .event-row { padding-block: 18px; }
  .event-copy h3 { font-size: 13px; }
  .event-copy p { font-size: 11px; }
  .workspace-toolbar { gap: 12px; padding-bottom: 21px; margin-bottom: 23px; }
  .workspace-toolbar p { font-size: 12px; max-width: 51%; }
  .workspace-toolbar .button { padding-inline: 16px; min-height: 46px; font-size: 11px; }
  .request-card { padding: 21px 17px 21px 22px; border-radius: 16px; gap: 10px; }
  .request-card-top { gap: 10px; margin-bottom: 13px; align-items: start; flex-direction: column; }
  .request-card-top h2 { font-size: 15px; line-height: 1.7; }
  .request-meta { font-size: 10px; gap: 6px 12px; }
  .badge { font-size: 9px; padding: 5px 9px; }
  .request-pager .admin-toolbar { gap: 12px; margin-bottom: 16px; }
  .request-pager .admin-toolbar .small-muted { font-size: 10px; }
  .form-shell { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .form-aside { display: none; }
  .drop-zone { min-height: 200px; padding: 26px 17px; border-radius: 14px; }
  .drop-zone>label { font-size: 13px; }
  .drop-zone input[type=file] { font-size: 12px; min-height: 44px; }
  .drop-zone input::file-selector-button { min-height: 44px; padding-inline: 14px; }
  .drop-zone p { font-size: 10px; line-height: 1.9; margin-top: 15px; }
  .upload-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
  .upload-preview { border-radius: 8px; padding: 4px; }
  .upload-preview figcaption { font-size: 9px; padding-inline: 1px; }
  .upload-preview figcaption small { font-size: 8px; }
  .optional-summary { min-height: 58px; font-size: 12px; }
  .optional-fields-body { padding-bottom: 12px; }
  .consent-box { padding: 18px 16px; border-radius: 12px; }
  .consent-box h3 { font-size: 12px; }
  .consent-box li, .consent-box p { font-size: 11px; }
  .account-identity { padding: 18px 17px; gap: 13px; border-radius: 13px; }
  .account-identity strong { font-size: 13px; }
  .account-welcome>h2 { font-size: 18px; }
  .close-session { padding-inline: 3px; flex-wrap: wrap; gap: 14px; }
  .close-session p { max-width: 250px; font-size: 10px; }
  .detail-heading { flex-direction: column; align-items: start; gap: 20px; }
  .detail-heading h1 { font-size: 24px; margin-bottom: 13px; }
  .detail-heading .request-meta { font-size: 11px; }
  .detail-page .page-top { padding-bottom: 22px; }
  .back-link { font-size: 11px; margin-bottom: 15px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .detail-side { gap: 21px; }
  .detail-side .panel { padding: 24px 18px; }
  .file-group-title { font-size: 16px; padding-bottom: 14px; margin-bottom: 17px; }
  .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .file-grid:has(>.private-file:only-child) { grid-template-columns: minmax(0, 420px); }
  .request-sections { top: calc(60px + env(safe-area-inset-top, 0px)); gap: 4px; padding: 5px; border-radius: 13px; margin-bottom: 24px; }
  .request-section-link { min-height: 44px; gap: 7px; font-size: 11px; border-radius: 9px; }
  .request-section-count { font-size: 16px; }
  .request-section-target { scroll-margin-top: calc(60px + env(safe-area-inset-top, 0px)); }
  .file-info { padding: 10px; }
  .file-info>p { font-size: 10px; }
  .file-info>a { min-height: 44px; font-size: 10px; gap: 5px; flex-wrap: wrap; }
  .file-info>a .small-muted { margin-left: 0; font-size: 9px; }
  .file-info .field input { font-size: 16px; min-height: 46px; }
  .file-info .check-field { font-size: 11px; gap: 8px; }
  .file-info .button { min-height: 44px; font-size: 10px; padding-inline: 9px; }
  .detail-info { grid-template-columns: 80px minmax(0, 1fr); font-size: 11px; row-gap: 11px; }
  .returned-summary { padding: 17px 18px; font-size: 11px; margin-bottom: 24px; }
  .comments { max-height: none; }
  .comment { padding: 15px; margin-right: 10px; }
  .comment.admin-comment { margin-left: 10px; }
  .comment-header strong { font-size: 11px; }
  .comment-header time { font-size: 9px; }
  .comment p { font-size: 12px; }
  .status-controls { gap: 9px; }
  .status-segments { gap: 4px; padding: 4px; border-radius: 13px; }
  .status-option { min-width: 72px; padding-inline: 12px; font-size: 11px; }
  .status-controls select { font-size: 14px; }
  .admin-tabs { gap: 7px; flex-wrap: nowrap; padding-bottom: 17px; margin-bottom: 23px; }
  .admin-tab { min-height: 45px; padding: 10px 17px; border-radius: 40px; font-size: 11px; }
  .stat-row { gap: 9px; margin-bottom: 24px; }
  .stat-box { display: block; padding: 18px 13px; min-height: 96px; border-radius: 14px; }
  .stat-box span { display: block; font-size: 10px; margin-bottom: 11px; }
  .stat-box strong { font-size: 31px; }
  .schedule-admin-item { padding: 20px 18px; gap: 15px; border-radius: 14px; }
  .schedule-admin-item h3 { font-size: 13px; }
  .schedule-admin-item p { font-size: 11px; }
  .schedule-admin-item .inline-actions { align-self: flex-end; }
  .login-prompt { border-radius: 21px; margin: 8px 0 30px; padding: 35px 23px; }
  .login-prompt>.icon { display: block; width: 27px; height: 27px; padding: 13px; border-radius: 17px; margin-bottom: 20px; }
  .login-prompt h2 { font-size: 22px; }
  .login-prompt p { font-size: 12px; }
  .login-dialog, .confirm-dialog { width: calc(100vw - 24px); max-width: 440px; padding: 30px 24px; border-radius: 23px; max-height: calc(100dvh - 24px); }
  .login-mark, .confirm-symbol { width: 55px; height: 55px; border-radius: 17px; font-size: 29px; margin-bottom: 20px; }
  .login-mark { width: max-content; height: auto; border-radius: 0; font-size: 40px; }
  .login-dialog h2, .confirm-dialog h2 { font-size: 23px; letter-spacing: -.7px; margin-bottom: 13px; }
  .dialog-intro, #confirm-description { font-size: 12px; margin-bottom: 22px; }
  .login-step-indicator { font-size: 9px; margin-bottom: 16px; }
  .login-dialog .login-bottom { font-size: 10px; margin-top: 23px; }
  .code-input { font-size: 23px!important; letter-spacing: .28em; }
  .login-back { font-size: 11px; }
  .confirm-actions, .dialog-actions { margin-top: 24px; gap: 9px; }
  .confirm-actions .button, .dialog-actions .button { font-size: 12px; }
  #toast { border-radius: 18px; padding: 14px 20px; font-size: 12px; }
  .scene-wipe-mark:after { width: 52px; height: 45px; left: calc(50% - 26px); top: calc(50% + 53px); }
}
@media(max-width:359px) {
  .panel { padding: 21px 15px; }
  .page-top h1 { font-size: 25px; }
  .profile-copy .profile-name { font-size: 62px; }
  .profile-stamp { width: 58px; height: 58px; font-size: 25px; }
  .gallery-page .gallery-empty { grid-template-columns: 85px minmax(0, 1fr); column-gap: 18px; padding-inline: 17px; }
  .gallery-page .gallery-empty:before { height: 155px; }
  .gallery-page .gallery-empty h3 { font-size: 15px; }
  .gallery-page .gallery-empty p { font-size: 12px; }
  .schedule-spotlight { grid-template-columns: 51px minmax(0, 1fr) 20px; padding-inline: 17px; column-gap: 13px; }
  .spotlight-star { font-size: 30px; }
  .spotlight-date { flex-basis: 51px; }
  .spotlight-copy h2 { font-size: 16px; }
  .calendar { padding-inline: 7px; }
  .calendar-day { min-height: 53px; }
  .calendar-title { font-size: 25px; }
  .calendar-controls { gap: 3px; }
  .workspace-toolbar .button { padding-inline: 13px; font-size: 10px; }
  .request-card { padding-inline: 18px 15px; }
  .request-card-top h2 { font-size: 14px; }
  .upload-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .optional-summary { font-size: 11px; gap: 7px; }
  .optional-tag { font-size: 8px; }
  .admin-tab { padding-inline: 14px; font-size: 10px; }
  .stat-box { padding-inline: 10px; }
  .stat-box span { font-size: 9px; }
  .file-info { padding: 9px; }
  .file-info .check-field { font-size: 10px; gap: 6px; }
  .login-dialog, .confirm-dialog { padding: 29px 20px; }
  .login-dialog h2, .confirm-dialog h2 { font-size: 21px; }
  .code-input { letter-spacing: .23em; font-size: 22px!important; }
}
@media(max-width:1024px) and (max-height:500px) and (orientation:landscape) {
  .profile-editorial { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 35px; }
  .profile-portrait .profile-photo { max-height: 430px; }
  .profile-copy .profile-name { font-size: 60px; }
  .form-shell { max-width: 680px; margin-inline: auto; }
  .login-dialog, .confirm-dialog { max-height: calc(100dvh - 20px); }
}

/* Pale color belongs to the decoration; small functional text stays readable. */
.button { background-color: #91617e; border-color: #91617e; }
.button.secondary { color: #79546f; background-color: #fffdfc; border-color: #d9c1d0; }
.button.danger { color: #9b4c68; background-color: #fff2f5; border-color: #e5bac8; }
.page-top>p:last-child:not(.eyebrow),
.page-body :is(.small-muted, .private-note, .request-meta, .event-weekday, .photo-credit, .gallery-summary, .spotlight-label, .consent-status, .consent-complete, .admin-publication-note),
.page-body :is(.field small, .field-help, .field .optional, .check-field small, .optional-tag, .optional-fields-body .small-muted),
.page-body :is(.drop-zone p, .drop-zone input[type=file], .upload-preview figcaption, .upload-preview figcaption small),
.page-body :is(.account-identity small, .close-session p, .consent-box li, .consent-box p, .notification-choice small),
.page-body :is(.spotlight-copy p, .spotlight-copy time, .calendar-weekdays span, .event-copy p, .event-date span),
.page-body :is(.detail-info dt, .detail-info dd, .file-info>p, .file-info .small-muted, .comment-header time, .comment-empty),
.page-body :is(.stat-box span, .schedule-admin-item p, .form-aside p, .form-aside li, .gallery-empty p),
.login-dialog :is(.dialog-intro, .login-bottom, .code-caption, .login-back, .login-step-indicator),
.confirm-dialog #confirm-description { color: #796474; }
.page-body .field input::placeholder, .page-body .field textarea::placeholder,
.login-dialog .field input::placeholder { color: #806b7a; }
.page-body .calendar-event { color: #79546d; }
.page-body .status-option { color: #796474; }
.page-body .status-option.active { color: #79546d; }
.page-body .admin-tab { color: #79546f; }
.page-body .admin-tab.active { color: #fffdfb; background: #91617e; border-color: #91617e; }
.page-body .login-prompt p { color: #796474; }
.page-body .badge { color: #79546d; }
.page-body .badge.in_progress { color: #4f728d; }
.page-body .badge.returned { color: #75608c; }
.page-body .returned-summary { color: #75608c; }
@media(max-width:767px), (max-width:1024px) and (max-height:500px) {
  .page-body .calendar-event { color: transparent; }
}

/* Schedule-led submissions keep the selected files in the existing form. */
.submission-schedule { padding-bottom: 5px; }
.submission-schedule .field { margin-bottom: 10px; }
.submission-schedule select { width: 100%; min-width: 0; min-height: 48px; padding-right: 36px; }
.submission-schedule select:disabled { background: #f3eef1; color: #796474; cursor: not-allowed; }
.submission-schedule-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; }
.submission-schedule-tools .small-muted { margin: 0; line-height: 1.8; }
.submission-schedule-tools .button { flex-shrink: 0; min-height: 44px; }
.submission-schedule-status { margin: 10px 0 0; color: #796474; font-size: 11px; line-height: 1.8; }
.submission-schedule-error { margin: 10px 0 0; color: #9b4c68; font-size: 12px; line-height: 1.8; }
.submission-schedule-status:empty, .submission-schedule-error:empty, .submission-selected-schedule:empty { display: none; }
.submission-selected-schedule { margin: 14px 0 0; padding: 13px 16px; border-left: 3px solid #b894aa; background: #faf1f6; overflow-wrap: anywhere; }
.submission-selected-schedule strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.7; color: #705468; }
.submission-selected-schedule>span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.8; color: #796474; }
.submission-schedule-empty { margin-top: 14px; padding: 16px; background: #f8f0f5; border: 1px solid #e7d6e2; border-radius: 11px; }
.submission-schedule-empty p { margin: 0; font-size: 13px; line-height: 1.9; color: #705468; }
.submission-schedule-empty .button { min-height: 44px; margin-top: 12px; }
.submission-form>.form-section-title { margin-top: 24px; }
.drop-zone.is-dragover { border-color: #91617e; background: #f5e6ef; box-shadow: inset 0 0 0 2px #c79ab5; }
.request-title-label { display: block; margin-bottom: 4px; color: #796474; font-size: 10px; font-weight: 400; letter-spacing: .4px; }
.request-event-date { font-weight: 500; }
.schedule-editor-help { margin: 0 0 22px; line-height: 1.8; }
.automatic-status-note { max-width: 360px; margin: 0; color: #796474; font-size: 12px; line-height: 1.8; }
.private-file-preview { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.private-file-preview img { display: block; width: 100%; }
.private-file-download { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 44px; padding: 4px 0; border: 0; background: transparent; color: #79546d; font: inherit; font-size: 12px; cursor: pointer; text-align: left; }
.private-file-preview:focus-visible, .private-file-download:focus-visible { outline: 2px solid #91617e; outline-offset: -3px; }
.private-file-preview:disabled, .private-file-download:disabled { opacity: .65; cursor: progress; }
.file-info .file-access-status { margin: 6px 0 0; font-size: 11px; line-height: 1.7; white-space: normal; color: #79546d; }
.file-access-status:empty { display: none; }
@media(max-width:767px), (max-width:1024px) and (max-height:500px) {
  .submission-schedule select { font-size: 16px; min-height: 48px; }
  .submission-schedule-tools { align-items: flex-start; gap: 10px; }
  .submission-schedule-tools .small-muted { font-size: 11px; padding-top: 6px; }
  .submission-schedule-tools .button { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .submission-selected-schedule { padding: 12px 14px; }
  .submission-selected-schedule strong { font-size: 13px; }
  .submission-schedule-empty p { font-size: 12px; }
}
