/* Parent photo flow. The navy, mint, glass and gold accents follow the site's
   Stories and About pages; this sheet is not loaded by staff photo tools. */
:root {
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-primary: #203f50;
  --site-primary-dark: #163342;
  --site-accent: #f4c45b;
  --site-leaf: #247b79;
  --site-deep: #183344;
  --site-canvas: #f5f8f8;
  --site-soft: #eff7f4;
  --ink: #213d4c;
  --muted: #5e737d;
  --purple: #226d70;
  --soft: #edf6f3;
  --green: #206c50;
  --line: #dbe5e5;
  --panel-shadow: 0 12px 38px #1d3f5009;
  color: var(--ink);
  background: var(--site-canvas);
}
.client-photos {
  background: radial-gradient(ellipse at 100% 8%, #e2f1ed 0, transparent 34%),
    radial-gradient(ellipse at 0% 45%, #fff4df80 0, transparent 32%), var(--site-canvas);
  min-width: 280px;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 1264px; padding: 32px 32px 72px; }
h1, h2, h3 { color: var(--ink); }
h1 { font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.035em; }
h3 { font-size: 20px; letter-spacing: -.025em; line-height: 1.3; }
.lead { line-height: 1.65; }
.ui-icon { width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }
.eyebrow { color: #326e70; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.photo-header {
  max-width: none; min-height: 84px; padding: 18px max(32px, calc((100% - 1200px) / 2));
  background: #ffffffed; border-bottom: 1px solid #e3eaea;
}
.photo-brand { gap: 10px; color: #3e3831; font-size: 20px; font-weight: 900; letter-spacing: .07em; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 1fr); width: 31px; height: 31px; gap: 3px; transform: rotate(-4deg); }
.brand-mark i { border-radius: 4px; background: #e87962; }
.brand-mark i:nth-child(2) { background: #eec46c; }
.brand-mark i:nth-child(3) { background: #d37a58; }
.brand-mark i:nth-child(4) { background: #478880; }
.button, button {
  min-height: 48px; border-radius: 15px; background: var(--site-accent); color: #273c42;
  font-weight: 750; box-shadow: 0 8px 22px #b8892520;
  transition: background-color .18s, box-shadow .18s, border-color .18s, transform .18s;
}
.button.large { min-height: 56px; padding: 16px 24px; }
.button.secondary, button.secondary { color: #28535d; border-color: var(--line); background: #fff; box-shadow: none; }
.button.soft, button.soft { background: #e8f4ee; color: #25664e; box-shadow: none; }
.button.link, button.link { background: transparent; color: #28676a; box-shadow: none; }
.button.danger { background: #a33246; color: #fff; }
.photo-header a[href="#register"] { background: #b94665; color: #fff; border-color: transparent; box-shadow: 0 8px 22px #b946651a; }
.photo-header a[href="#login"] { background: var(--site-soft); color: #23565d; box-shadow: none; border: 1px solid #d6e6e1; }
.account-nav-link { border-radius: 12px; color: var(--muted); font-size: 14px; }
.account-nav-link.is-active { background: #eaf4f0; color: #23676c; }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid #2b8688; outline-offset: 4px; }
input:not([type="checkbox"]), select, textarea { color: var(--ink); border: 1px solid #cbdadb; border-radius: 13px; min-height: 52px; padding: 13px 14px; background: #fcfefd; }
input::placeholder, textarea::placeholder { color: #71858d; }
input[type="checkbox"] { accent-color: #247b79; }
.check { font-size: 14px; }
.check input { margin-top: 1px; }
label { line-height: 1.45; }
form { gap: 18px; }
.card { border-radius: 24px; padding: 28px; box-shadow: var(--panel-shadow); }
.card h3 { overflow-wrap: anywhere; }
.icon-tile, .guide-icon, .extra-symbol { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #286e70; background: #eaf4f0; flex-shrink: 0; }
.icon-tile .ui-icon { width: 25px; height: 25px; }
/* A shared photo-led welcome for search, sign-in and registration. */
.welcome-layout {
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 44px;
  padding: 48px; border-radius: 34px; color: #fff;
  background: radial-gradient(ellipse at 94% 0, #70b8ab69, transparent 53%),
    radial-gradient(ellipse at 0 100%, #897d633b, transparent 42%), linear-gradient(125deg, #1c3649, #265568);
  box-shadow: 0 20px 56px #1e3c5017;
}
.welcome-layout::before, .flow-heading::before, .account-heading::before, .order-reference::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(#ffffff03 1px, transparent 1px), linear-gradient(90deg, #ffffff03 1px, transparent 1px);
  background-size: 44px 44px;
}
.welcome-copy { min-width: 0; align-self: center; }
.welcome-copy > .eyebrow { color: #f3d68a; margin-bottom: 24px; }
.welcome-copy h2 { color: #fff; font-size: clamp(34px, 3.9vw, 49px); line-height: 1.07; font-weight: 800; letter-spacing: -.055em; margin-bottom: 22px; }
.welcome-copy em { color: #b6e5d6; font-style: normal; }
.welcome-copy > p { max-width: 375px; font-size: 16px; line-height: 1.7; color: #d0e0e4; }
.welcome-art { position: relative; height: 242px; max-width: 410px; margin: 30px 0 0 8px; }
.memory-photo { position: absolute; margin: 0; padding: 8px 8px 0; border: 1px solid #ffffff60; background: #d8efed24; border-radius: 19px; box-shadow: 0 14px 28px #112b4530; }
.memory-photo img { object-fit: cover; border-radius: 12px; width: 100%; height: 173px; }
.memory-photo figcaption { font-size: 10px; font-weight: 600; text-align: center; padding: 9px 0; color: #eff7f4; }
.memory-photo--one { width: 180px; top: 0; left: 4px; transform: rotate(-8deg); }
.memory-photo--two { width: 161px; top: 23px; left: 176px; transform: rotate(9deg); }
.memory-photo--two img { height: 153px; }
.memory-spark { position: absolute; color: #f3c760; top: -20px; right: 28px; font-size: 39px; }
.welcome-layout > .card { position: relative; z-index: 1; width: 100%; max-width: none; margin: 0; padding: 34px; border: 1px solid #ffffffbd; border-radius: 26px; background: #fffffff5; box-shadow: 0 18px 45px #0c253f24; color: var(--ink); }
.welcome-layout > .card > .icon-tile { margin-bottom: 25px; }
.welcome-layout > .card h1 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.045em; }
.welcome-layout > .card > .eyebrow { margin-bottom: 10px; }
.welcome-layout > .card .lead { font-size: 16px; margin-bottom: 25px; }
.find-card input[name="code"] { height: 70px; font-size: 29px; font-weight: 750; letter-spacing: .12em; padding-left: 18px; border-color: #b9d0d0; background: #f4f9f7; }
.find-card #code-hint { margin-top: -7px; font-size: 12px; }
.form-footnote { border-top: 1px solid var(--line); margin: 25px 0 16px; padding-top: 20px; color: var(--muted); font-size: 13px; }
.form-help { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; font-weight: 650; }
.welcome-guide { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.welcome-guide li { display: flex; align-items: flex-start; gap: 18px; padding: 20px 8px; }
.welcome-guide .eyebrow { margin: 0 0 6px; color: #677e80; font-size: 10px; }
.welcome-guide h3 { font-size: 18px; margin-bottom: 6px; }
.welcome-guide p { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.auth-layout { align-items: start; }
.auth-tabs { background: #edf4f2; padding: 5px; border-radius: 15px; gap: 4px; }
.auth-tabs .button { min-height: 44px; border-radius: 11px; font-size: 14px; padding: 10px 12px; }
.auth-tabs .button:not(.secondary) { background: #fff; box-shadow: 0 3px 10px #25455413; color: #224e57; }
.auth-tabs .secondary { background: transparent; border-color: transparent; color: var(--muted); }
.auth-card .section { margin-top: 20px; margin-bottom: 0; font-size: 13px; }
/* Compact chapter headings keep the photographs and next action close by. */
.flow-heading, .account-heading, .order-reference {
  position: relative; isolation: isolate; overflow: hidden; padding: 36px 40px; margin: 0 0 28px;
  background: radial-gradient(ellipse at 100% 0, #77bfaf50, transparent 55%), linear-gradient(115deg, #203c50, #285a64);
  border: 1px solid #426570; border-radius: 28px; box-shadow: var(--panel-shadow); color: #fff;
}
.flow-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.flow-heading > div { max-width: 850px; min-width: 0; position: relative; z-index: 1; }
.flow-heading h1, .account-heading h1, .order-reference h1 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 14px; overflow-wrap: anywhere; }
.flow-heading .eyebrow, .order-reference-label { color: #efcf87; }
.flow-heading .lead, .account-heading .muted { color: #d7e7e8; font-size: 16px; margin-bottom: 0; }
.heading-mosaic { width: 96px; height: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; transform: rotate(12deg); flex: 0 0 auto; opacity: .85; }
.heading-mosaic i { border: 1px solid #ffffff5c; background: #bbdfd32b; border-radius: 13px; }
.heading-mosaic i:nth-child(2) { background: #efc86a67; }
.heading-mosaic i:nth-child(3) { background: #ef94786b; }
.storage-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: #e0efe9; font-size: 12px; }
.storage-note .ui-icon { width: 16px; height: 16px; }
.child-order-hint { margin: -12px 0 24px; }
.back { font-size: 13px; text-decoration: none; color: #466b73; margin-bottom: 12px; }
.steps { gap: 0; border: 1px solid var(--line); border-radius: 18px; background: #ffffffb3; padding: 12px 18px; margin-bottom: 22px; }
.steps li { position: relative; padding: 0 12px; gap: 10px; min-height: 40px; font-size: 12px; }
.steps li:not(:last-child) { border-right: 1px solid #dde9e7; }
.steps b { width: 30px; height: 30px; background: #eaf0ef; color: #64777c; font-size: 12px; }
.steps .active { color: #215c61; }
.steps .active b { background: #286d70; color: #fff; box-shadow: 0 0 0 4px #e7f2ed; }
.steps .complete { color: #3f7167; }
.steps .complete b { background: #e5f1e9; color: #376e59; }
.steps .ui-icon { width: 17px; height: 17px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 36px 0 22px; }
.gallery-toolbar h2 { margin-bottom: 8px; }
.gallery-toolbar p { margin: 0; font-size: 14px; }
.gallery-toolbar label { min-width: 245px; font-size: 12px; color: #466770; }
#children-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 0; }
.child-card { display: flex; flex-direction: column; border: 1px solid #dae5e4; border-radius: 25px; padding: 8px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.child-cover { position: relative; overflow: hidden; border-radius: 19px; background: #f0f4f1; }
.child-cover img { width: 100%; height: 310px; object-fit: contain; background: #eff3f1; }
.photo-open { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 42px; height: 42px; background: #fffffff0; border: 1px solid #fff; border-radius: 50%; color: #295c66; box-shadow: 0 5px 16px #18374420; }
.child-cover--empty { display: grid; place-items: center; height: 310px; color: #73928e; }
.child-cover--empty > .ui-icon { width: 64px; height: 64px; }
.child-card .child-info { display: flex; flex: 1; flex-direction: column; padding: 20px 16px 12px; }
.child-info > small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .05em; margin-bottom: 7px; }
.child-card h3 { font-size: 22px; margin-bottom: 15px; hyphens: auto; }
.child-action { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 650; font-size: 14px; color: #246c70; }
.child-action .ui-icon { width: 18px; height: 18px; }
.child-info .child-payment { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 20px; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: 700; }
.child-payment::before, .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.child-payment.paid { color: #206442; background: #e8f4eb; }
.child-payment.processing { color: #745400; background: #fff1c4; }
.child-payment.unpaid { color: #6a7476; background: #f0f3f2; }
.selection-summary { border-left: 4px solid #7fb6a2; padding: 24px 28px; }
.selection-summary h2 { font-size: 25px; }
.selection-summary p { font-size: 14px; margin: 8px 0 0; }
.selection-summary > strong { color: #275d63; font-size: 26px; white-space: nowrap; }
.selection-summary label { min-width: 260px; }
.gallery { gap: 22px; }
.photo-card { border: 2px solid #e0e9e7; border-radius: 23px; padding: 7px; box-shadow: var(--panel-shadow); transition: border-color .18s, box-shadow .18s; }
.photo-card img { height: 300px; object-fit: contain; background: #eff3f1; border-radius: 15px; }
.photo-card-content { padding: 16px 10px 12px; }
.file-name { font-size: 11px; color: #657e83; }
.photo-card .check { min-height: 46px; align-items: center; padding: 10px; border-radius: 12px; background: #f2f6f4; font-size: 14px; cursor: pointer; }
.photo-card.selected { border-color: #3b8b79; background: #f8fffb; box-shadow: 0 5px 24px #347d7311; }
.photo-card.selected .check { color: #1e624f; background: #e4f2e9; }
.photo-card select, .photo-card input { min-height: 48px; }
.photo-card input[type="checkbox"] { min-height: 20px; }
.section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.section-title h2 { margin-bottom: 0; }
.section-title .eyebrow { margin-bottom: 5px; }
.extras-section { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.extra-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; background: linear-gradient(140deg, #fff 55%, #f7faf5); }
.extra-symbol { width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: #fbf0d7; color: #8b6828; }
.extra-card:nth-child(2n) .extra-symbol { background: #f9e9e4; color: #a66251; }
.extra-card h3 { margin-bottom: 10px; }
.extra-card p.muted { font-size: 14px; }
.extra-card > strong { margin-top: auto; font-size: 20px; }
.extra-card > p.section { width: 100%; margin: 20px 0 0; }
.extra-card button { width: 100%; }
.checkout-bar { bottom: max(14px, env(safe-area-inset-bottom)); border: 1px solid #42616b; border-radius: 22px; padding: 20px 26px; margin-top: 32px; background: #203f50f5; color: #fff; box-shadow: 0 16px 38px #18374735; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.checkout-bar strong { color: #fff; font-size: 27px; }
.cart-caption { display: inline-block; margin-right: 12px; font-size: 13px; color: #c4dedf; }
.checkout-bar small { margin-top: 4px; color: #d5e6e5; }
.checkout-bar .button[aria-disabled="true"] { opacity: .6; }
.two-col { gap: 28px; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); }
.cart-row { align-items: center; padding: 19px 0; gap: 15px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-row p { color: var(--muted); }
.cart-thumb { width: 64px; height: 76px; flex: 0 0 auto; border-radius: 10px; object-fit: contain; background: #f0f4f1; }
.order-composition .section-title { margin-bottom: 4px; }
.order-composition h3 { font-size: 18px; }
.order-composition > p { font-size: 14px; overflow-wrap: anywhere; }
.payment-summary { border-top: 4px solid #82b6a3; background: linear-gradient(155deg, #fff, #f2f8f3); }
.payment-summary > .eyebrow { margin-bottom: 24px; }
.payment-summary .total-line { align-items: baseline; gap: 10px; font-size: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.payment-summary .total-line strong { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.04em; white-space: nowrap; }
.payment-provider { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #406d64; margin-bottom: 0; }
.payment-provider .ui-icon { width: 17px; height: 17px; }
.payment-summary form > small { text-align: center; font-size: 12px; }
.order-reference { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.order-reference-label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; margin-bottom: 8px; }
.order-reference h1 { font-size: clamp(44px, 6vw, 68px); margin: 0 0 12px; }
.order-reference p:last-child { color: #d2e5e5; margin: 0; font-size: 14px; }
.order-reference-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex-shrink: 0; }
.pill { gap: 7px; padding: 8px 12px; font-size: 11px; }
.pill.paid { color: #246b48; background: #e3f3e8; }
.pill.awaiting { color: #805c0b; background: #fff0c8; }
.pill.refunded { color: #9b4253; background: #fceaf0; }
.success-box { border: 1px solid #bbdbc9; background: #eaf6ee; padding: 28px; border-radius: 22px; }
.success-box h2 { color: #286448; font-size: 25px; }
.success-box p { font-size: 14px; overflow-wrap: anywhere; }
.info-box { background: #eef6f2; color: #35605b; }
.error-box { font-size: 14px; }
.account-heading { min-height: 185px; align-items: center; }
.account-heading p { max-width: 560px; }
.account-heading > .button { flex-shrink: 0; }
.account-photo-card img { width: 108px; height: 132px; object-fit: contain; border-radius: 16px; background: #f0f4f1; }
.saved-shoot { padding: 28px; background: linear-gradient(135deg, #fff 65%, #eff6ed); }
.saved-shoot::before { content: ""; width: 35px; height: 5px; border-radius: 3px; background: #8fbeac; margin-bottom: 20px; }
.saved-shoot .button { margin-top: auto; }
.saved-shoot > p { font-size: 14px; }
.account-order-card > .section-head:first-child { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.account-order-card .eyebrow { font-size: 13px; letter-spacing: .02em; margin: 0; }
.account-order-card > .section-head:last-child { margin-top: 24px; margin-bottom: 0; }
.account-order-card strong { font-size: 23px; }
.account-order-link { background: #edf5f1; box-shadow: none; }
.empty { padding: 44px 28px; }
.empty p { max-width: 520px; margin-left: auto; margin-right: auto; }
.empty .actions { justify-content: center; }
#content[data-view="profile"] > .intro, #content[data-view="help"] > .intro { margin: 8px 0 32px; }
#profile-form, #content[data-view="help"] > .two-col { max-width: 1100px; }
details { border-radius: 17px; padding: 20px; box-shadow: var(--panel-shadow); }
summary { min-height: 32px; line-height: 1.6; }
th { background: #eef5f2; }
.notice { background: var(--site-deep); box-shadow: 0 10px 28px #17344430; }
.photo-footer { max-width: 1200px; padding: 28px 0 35px; gap: 24px; align-items: center; font-size: 12px; }
.photo-footer a { color: #566f76; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-signature { display: flex; flex-direction: column; margin-right: auto; }
.footer-signature a { font-weight: 850; font-size: 15px; letter-spacing: .09em; color: #344650; min-height: 28px; }
.footer-signature span { color: #60757b; font-size: 11px; }
@media (hover: hover) {
  :is(.button, button):hover:not(:disabled) { background: #edb747; box-shadow: 0 9px 24px #b384242c; transform: translateY(-1px); }
  :is(.button, button).secondary:hover { color: #224e57; border-color: #8ab4ad; background: #f5faf7; box-shadow: none; }
  :is(.button, button).soft:hover { background: #dceddf; }
  :is(.button, button).link:hover { background: #e9f2ed; box-shadow: none; }
  .photo-header a[href="#register"]:hover { background: #a23957; }
  .account-nav-link:hover { background: #edf4f0; color: #23676c; }
  .child-card:hover { transform: translateY(-4px); border-color: #97bbb0; box-shadow: 0 16px 32px #234e5314; }
  .auth-tabs .button:hover { box-shadow: none; transform: none; }
}
@media (max-width: 1050px) {
  .welcome-layout { padding: 32px; gap: 28px; }
  .welcome-copy h2 { font-size: 39px; }
  .welcome-layout > .card { padding: 27px; }
  .memory-photo--one { width: 157px; }
  .memory-photo--two { width: 141px; left: 145px; }
  .welcome-guide { gap: 14px; }
  .welcome-guide li { gap: 12px; }
  .two-col { grid-template-columns: minmax(0, 1.3fr) minmax(290px, 1fr); gap: 20px; }
  .card { padding: 24px; }
  .child-card, .photo-card { padding: 7px; }
  .child-cover img, .child-cover--empty { height: 265px; }
  .photo-card img { height: 260px; }
  .photo-footer { margin-inline: 32px; }
}
@media (max-width: 800px) {
  main { padding: 24px 20px 48px; }
  .photo-header { padding: 16px 20px; min-height: 78px; }
  .photo-header #account-nav { width: auto; display: flex; gap: 8px; }
  .photo-header #account-nav .button { padding: 11px 14px; font-size: 13px; }
  .photo-header:has(.account-nav-link) #account-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .account-nav-link { font-size: 13px; padding: 11px 6px; }
  .welcome-layout { gap: 22px; padding: 28px; }
  .welcome-copy h2 { font-size: 32px; }
  .welcome-copy > p { font-size: 14px; }
  .welcome-layout > .card { padding: 24px; }
  .welcome-layout > .card h1 { font-size: 29px; }
  .memory-photo--one { width: 139px; }
  .memory-photo--two { width: 116px; left: 108px; top: 36px; }
  .memory-photo--one img { height: 160px; }
  .memory-photo--two img { height: 132px; }
  .memory-photo figcaption { font-size: 8px; }
  .welcome-guide { gap: 12px; }
  .welcome-guide li { flex-direction: column; padding: 12px 4px; }
  .welcome-guide h3 { font-size: 16px; }
  .flow-heading, .account-heading, .order-reference { padding: 28px; border-radius: 24px; }
  .heading-mosaic { width: 70px; height: 70px; }
  .flow-heading h1 { font-size: 35px; }
  .steps { padding: 12px 8px; }
  .steps li { display: flex; padding: 0 8px; font-size: 11px; gap: 8px; }
  .gallery-toolbar { align-items: flex-end; }
  .gallery-toolbar label { min-width: 200px; }
  #children-grid { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .photo-card img { height: 285px; }
  .photo-card .form-row { grid-template-columns: minmax(0, 1fr) 72px; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .side-card { position: static; }
  .checkout-bar { padding: 18px 22px; }
  .photo-footer { margin-inline: 20px; gap: 16px; }
}
@media (max-width: 650px) {
  main { padding: 18px 16px 42px; }
  .photo-header { padding: 14px 16px; }
  .photo-brand { font-size: 17px; letter-spacing: .035em; gap: 8px; }
  .brand-mark { width: 27px; height: 27px; }
  .photo-header #account-nav { gap: 6px; }
  .photo-header #account-nav .button { font-size: 12px; padding: 10px 11px; }
  .welcome-layout { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; border-radius: 26px; }
  .welcome-copy { padding: 28px 26px 22px; }
  .welcome-copy > .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .welcome-copy h2 { font-size: 33px; max-width: 450px; margin-bottom: 12px; }
  .welcome-copy > p { font-size: 14px; line-height: 1.55; margin-bottom: 0; max-width: 460px; }
  .welcome-art { display: none; }
  .welcome-layout > .card { margin: 0 12px 12px; width: auto; padding: 25px 22px; border-radius: 20px; }
  .welcome-layout > .card > .icon-tile { display: none; }
  .welcome-layout > .card h1 { font-size: 29px; margin-bottom: 12px; }
  .welcome-layout > .card > .eyebrow { font-size: 9px; }
  .welcome-layout > .card .lead { font-size: 14px; margin-bottom: 22px; }
  .find-card input[name="code"] { height: 64px; font-size: 27px; }
  .form-footnote { margin-top: 22px; }
  .welcome-guide { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 20px; padding-inline: 10px; }
  .welcome-guide li { flex-direction: row; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); gap: 16px; }
  .welcome-guide li:last-child { border: 0; }
  .welcome-guide .eyebrow { display: none; }
  .guide-icon { width: 44px; height: 44px; border-radius: 14px; }
  .auth-layout .welcome-copy { padding: 25px 26px 22px; }
  .auth-layout .welcome-copy h2 { font-size: 29px; }
  .auth-layout .welcome-copy > p { display: none; }
  .flow-heading, .account-heading, .order-reference { padding: 26px 24px; border-radius: 23px; margin-bottom: 24px; }
  .flow-heading h1, .account-heading h1 { font-size: 32px; }
  .flow-heading .lead, .account-heading .muted { font-size: 14px; }
  .flow-heading .eyebrow { font-size: 10px; line-height: 1.5; }
  .heading-mosaic { position: absolute; right: -22px; top: 18px; width: 90px; height: 90px; opacity: .12; }
  .storage-note { font-size: 11px; line-height: 1.5; }
  .steps { border-radius: 16px; padding: 12px 4px; margin-bottom: 16px; }
  .steps li { flex-direction: column; justify-content: flex-start; padding: 0 3px; gap: 7px; font-size: 10px; text-align: center; line-height: 1.3; }
  .steps b { width: 27px; height: 27px; font-size: 11px; }
  .back { font-size: 12px; }
  .gallery-toolbar { flex-direction: column; align-items: stretch; gap: 18px; margin: 28px 0 20px; }
  .gallery-toolbar h2 { font-size: 25px; }
  .gallery-toolbar p { display: none; }
  .gallery-toolbar label { min-width: 0; }
  #children-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .child-card { padding: 5px; border-radius: 20px; }
  .child-cover { border-radius: 15px; }
  .child-cover img, .child-cover--empty { height: 200px; }
  .photo-open { display: none; }
  .child-card .child-info { padding: 15px 10px 8px; }
  .child-info > small { font-size: 10px; }
  .child-card h3 { font-size: 17px; }
  .child-action { font-size: 11px; }
  .child-action .ui-icon { width: 14px; height: 14px; }
  .child-info .child-payment { margin-top: 15px; padding: 9px 5px; font-size: 11px; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .photo-card { border-radius: 23px; }
  .photo-card img { height: 350px; }
  .photo-card-content { padding: 16px 12px 12px; }
  .selection-summary { padding: 22px; gap: 16px; }
  .selection-summary label { width: 100%; min-width: 0; }
  .selection-summary > strong { font-size: 25px; }
  .extras-section { margin-top: 32px; padding-top: 28px; }
  .section-title { gap: 12px; }
  .section-title h2 { font-size: 23px; }
  .section-title .eyebrow { font-size: 9px; }
  .checkout-bar { padding: 17px; border-radius: 19px; flex-wrap: wrap; gap: 14px; bottom: max(9px, env(safe-area-inset-bottom)); }
  .checkout-bar > div { flex: 1 1 100%; }
  .checkout-bar .button { width: 100%; }
  .checkout-bar strong { font-size: 26px; }
  .checkout-bar small { font-size: 11px; }
  .cart-caption { font-size: 12px; }
  .card { border-radius: 22px; }
  .cart-row { gap: 11px; align-items: flex-start; font-size: 14px; }
  .cart-thumb { width: 49px; height: 64px; border-radius: 8px; }
  .cart-row b { font-size: 13px; }
  .cart-row p, .cart-row small { font-size: 11px; }
  .payment-summary .total-line strong { font-size: 36px; }
  .order-reference { flex-direction: column; align-items: stretch; gap: 20px; }
  .order-reference-actions { flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .order-reference-actions button { font-size: 12px; padding: 11px 14px; }
  .account-heading { gap: 24px; align-items: stretch; }
  .account-photo-card img { width: 78px; height: 103px; }
  .account-photo-info h3 { font-size: 20px; }
  .account-photo-info p { font-size: 13px; }
  .account-photo-info small { font-size: 11px; }
  .account-order-card strong { font-size: 22px; }
  .photo-footer { margin-inline: 20px; gap: 12px 22px; font-size: 11px; }
  .footer-signature { width: 100%; margin-bottom: 8px; }
}
@media (max-width: 380px) {
  .photo-header { gap: 12px; }
  .photo-header #account-nav:not(:has(.account-nav-link)) { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .photo-header #account-nav:has(.account-nav-link) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .account-nav-link { font-size: 11px; }
  .welcome-copy { padding: 25px 23px 21px; }
  .welcome-copy h2 { font-size: 29px; }
  .welcome-copy > p { display: none; }
  .find-card .button.large { font-size: 15px; padding-inline: 14px; }
  .welcome-layout > .card { padding: 23px 17px; }
  .welcome-layout > .card h1 { font-size: 26px; }
  #children-grid { grid-template-columns: minmax(0, 1fr); }
  .child-cover img, .child-cover--empty { height: 280px; }
  .child-card h3 { font-size: 20px; }
  .child-action { font-size: 14px; }
  .child-info .child-payment { font-size: 12px; }
  .photo-card img { height: 300px; }
  .cart-thumb { display: none; }
  .flow-heading, .account-heading, .order-reference { padding: 24px 20px; }
  .card { padding: 22px; }
  .child-card, .photo-card { padding: 6px; }
  .payment-summary .total-line strong { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, button, .child-card, .photo-card { transition: none; }
  :is(.button, button, .child-card):hover { transform: none; }
}
@media print {
  .welcome-layout, .flow-heading, .account-heading, .order-reference { background: #fff; color: #213d4c; box-shadow: none; }
  .flow-heading h1, .account-heading h1, .order-reference h1 { color: #213d4c; }
  .checkout-bar { position: static; }
}
