/* Appily-Eight — Conservatory Triptych (account chrome) */

.page-conservatory .page-main { background: var(--rice); }

.conservatory-page {
  position: relative;
  padding: 40px 0 72px;
  overflow: hidden;
}
.conservatory-glass {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(105deg, transparent 0 40px, rgba(8, 145, 178, 0.04) 40px 41px),
    repeating-linear-gradient(-105deg, transparent 0 40px, rgba(234, 88, 12, 0.03) 40px 41px),
    linear-gradient(180deg, var(--rain-pale) 0%, var(--rice) 50%, var(--rice-2) 100%);
  pointer-events: none;
}
.conservatory-wrap { position: relative; max-width: 1080px; }

.conservatory-intro { text-align: center; margin-bottom: 32px; }
.conservatory-tag {
  display: inline-block;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--indigo);
  border: 1px solid rgba(49, 46, 129, 0.2);
  padding: 5px 12px; border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.7);
}
.conservatory-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 14px 0 10px; color: var(--indigo-deep);
}
.conservatory-intro h1 em { font-style: normal; color: var(--saffron); }
.conservatory-lede {
  margin: 0 auto; max-width: 48ch; color: var(--muted); font-size: .92rem;
}
.conservatory-loading { text-align: center; max-width: 420px; margin: 0 auto 24px; }

/* ── Logged-in: triptych ── */
.member-triptych {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 520px;
}

.brass-rail {
  background: linear-gradient(180deg, #2a2640 0%, var(--indigo-deep) 100%);
  color: var(--rice);
  padding: 24px 18px;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.rail-kicker {
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--saffron); margin: 0 0 8px;
}
.rail-welcome {
  font-family: var(--font-display);
  font-size: 1.2rem; margin: 0 0 20px; line-height: 1.2;
}
.rail-pins {
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.pin-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent; border-radius: var(--radius);
  background: transparent; color: rgba(254, 252, 232, 0.75);
  cursor: pointer; font-family: inherit; text-align: left;
  transition: background .2s, border-color .2s;
}
.pin-btn:hover { background: rgba(255, 255, 255, 0.06); }
.pin-btn.is-active {
  background: rgba(234, 88, 12, 0.18);
  border-color: rgba(234, 88, 12, 0.35);
  color: var(--rice);
}
.pin-head {
  flex-shrink: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fbbf24, #b45309);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.2);
}
.pin-btn.is-active .pin-head {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.4), inset 0 1px 2px rgba(0,0,0,.25);
}
.pin-label { font-size: .84rem; font-weight: 700; }
.rail-actions {
  display: flex; flex-direction: column; gap: 8px; margin-top: 20px;
}
.rail-signout {
  border-color: rgba(254, 252, 232, 0.3) !important;
  color: var(--rice) !important;
}

.atrium-stage {
  padding: 28px 32px 32px;
  background:
    linear-gradient(180deg, rgba(207, 250, 254, 0.25) 0%, transparent 120px),
    var(--white);
}
.atrium-stage #profileVerifyNotice:not(:empty) { margin-bottom: 18px; }
.atrium-panel { display: none; }
.atrium-panel.is-active { display: block; animation: atriumIn .35s ease; }
@keyframes atriumIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.stage-kicker {
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--rain); margin: 0 0 6px;
}
.stage-title {
  font-family: var(--font-display);
  font-size: 1.25rem; margin: 0 0 20px; color: var(--indigo-deep);
}
.stage-head-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; flex-wrap: wrap; margin-bottom: 4px;
}
.stage-head-row .stage-title { margin-bottom: 0; }

.specimen-grid,
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.profile-item {
  padding: 14px 16px;
  background: var(--rice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.profile-item .k {
  display: block;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.profile-item .v {
  display: block; font-weight: 700; color: var(--indigo-deep);
  word-break: break-word; line-height: 1.4;
}
.profile-item .v.mono {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .8rem; font-weight: 500;
}

.atrium-orders .order-row {
  border-left: 3px solid var(--saffron);
  border-radius: var(--radius-lg);
}

.glass-links {
  padding: 24px 16px;
  background: linear-gradient(180deg, var(--rain-pale), rgba(255, 237, 213, 0.5));
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.glass-links-title {
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--indigo); margin: 0 0 8px; text-align: center;
}
.glass-link {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(49, 46, 129, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: transform .2s, box-shadow .2s;
}
.glass-link:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.glass-link-num {
  flex-shrink: 0;
  font-size: .62rem; font-weight: 800; color: var(--saffron);
  padding-top: 2px;
}
.glass-link-text strong { display: block; font-size: .78rem; color: var(--indigo-deep); }
.glass-link-text span { display: block; font-size: .66rem; color: var(--muted); margin-top: 2px; }

.atrium-form {
  display: flex; flex-direction: column; gap: 16px;
}
.atrium-form-narrow { max-width: 400px; }
.atrium-field label {
  display: block; font-size: .82rem; font-weight: 700;
  margin-bottom: 6px; color: var(--indigo-deep);
}
.atrium-field input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: var(--white);
}
.atrium-field input:focus {
  outline: 2px solid rgba(8, 145, 178, 0.35);
  border-color: var(--rain);
}

/* ── Logged-out: shutter kiosk ── */
.shutter-kiosk {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shutter-roof {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--indigo-deep) 0 20px,
    var(--rain) 20px 40px,
    var(--saffron) 40px 60px
  );
}
.shutter-switch {
  display: flex;
  background: var(--rice-2);
  border-bottom: 1px solid var(--line);
  padding: 6px;
  gap: 6px;
}
.shutter-toggle {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: .88rem; font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.shutter-toggle.is-active {
  background: linear-gradient(180deg, var(--indigo), var(--indigo-deep));
  color: var(--rice);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(49, 46, 129, 0.25);
}

.shutter-deck {
  position: relative;
  padding: 32px 28px;
  min-height: 380px;
}
.shutter-panel { display: none; max-width: 480px; margin: 0 auto; }
.shutter-panel.is-active { display: block; animation: shutterSlide .4s ease; }
@keyframes shutterSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.shutter-kicker {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--rain); margin: 0 0 8px;
}
.shutter-panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; margin: 0 0 10px; color: var(--indigo-deep);
}
.shutter-lede { margin: 0 0 22px; color: var(--muted); font-size: .9rem; }
.shutter-forgot {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.shutter-subhead {
  font-family: var(--font-display);
  font-size: 1.05rem; margin: 0 0 12px; color: var(--indigo);
}
.shutter-reset { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }

.seed-ticket-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  background: var(--rice-2);
}
.seed-ticket {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 16px 12px; text-align: center;
  border-right: 1px dashed var(--line);
}
.seed-ticket:last-child { border-right: 0; }
.ticket-notch {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--rice-2);
  border: 1px solid var(--line);
}
.ticket-num {
  font-size: .62rem; font-weight: 800; letter-spacing: .1em;
  color: var(--saffron);
}
.ticket-text {
  font-size: .72rem; font-weight: 600; color: var(--indigo-deep); line-height: 1.3;
}

/* Shared */
.conservatory-page .notice { border-radius: var(--radius-lg); }
.atrium-stage .notice.success { background: #f0fdf4; }
.atrium-stage .notice.warning { background: var(--saffron-pale); }

.toast {
  position: fixed; bottom: 24px; right: 24px;
  max-width: 360px; padding: 14px 18px;
  background: var(--indigo-deep); color: var(--rice);
  border-radius: var(--radius-lg);
  font-size: .88rem; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .3s; z-index: 100;
}
.toast.visible,
.toast.is-visible { opacity: 1; pointer-events: auto; }

.dash-panel { display: none; }
.dash-panel.is-active { display: block; }

@media (max-width: 960px) {
  .member-triptych { grid-template-columns: 1fr; }
  .brass-rail {
    flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px;
    padding: 18px 16px;
  }
  .rail-welcome { width: 100%; margin-bottom: 8px; }
  .rail-pins { flex-direction: row; flex-wrap: wrap; flex: 1; }
  .rail-actions { flex-direction: row; margin-top: 0; width: 100%; }
  .glass-links {
    flex-direction: row; flex-wrap: wrap;
    border-left: 0; border-top: 1px solid var(--line);
  }
  .glass-link { flex: 1 1 calc(50% - 8px); }
  .seed-ticket-row { grid-template-columns: 1fr 1fr; }
  .seed-ticket:nth-child(2) { border-right: 0; }
}
@media (max-width: 640px) {
  .atrium-stage { padding: 22px 18px 28px; }
  .specimen-grid, .profile-grid { grid-template-columns: 1fr; }
  .shutter-deck { padding: 24px 18px; }
  .seed-ticket-row { grid-template-columns: 1fr; }
  .seed-ticket { border-right: 0; border-bottom: 1px dashed var(--line); }
  .seed-ticket:last-child { border-bottom: 0; }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ── Cart: Moisture Satchel Loft (Appily Eight) ── */
.page-satchel-loft .page-main { background: var(--rice); }

.satchel-loft-hero {
  position: relative;
  background: linear-gradient(155deg, var(--indigo-deep) 0%, #2d3a6e 45%, var(--indigo) 100%);
  color: var(--rice);
  overflow: hidden;
  padding: 44px 0 36px;
}
.satchel-flap {
  position: absolute;
  right: 6%;
  top: 18px;
  width: min(220px, 34vw);
  height: 120px;
  background: linear-gradient(165deg, rgba(254, 252, 232, 0.18), rgba(8, 145, 178, 0.12));
  border: 1px solid rgba(254, 252, 232, 0.22);
  border-radius: 0 0 28px 28px;
  transform: rotate(8deg);
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.12);
}
.flap-stitch {
  position: absolute;
  left: 12px; right: 12px; top: 14px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(254, 252, 232, 0.5) 0 6px, transparent 6px 12px);
}
.flap-buckle {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  width: 28px; height: 18px;
  border: 2px solid rgba(234, 88, 12, 0.85);
  border-radius: 4px;
  background: rgba(234, 88, 12, 0.25);
}
.satchel-hero-inner { position: relative; max-width: 620px; }
.satchel-kicker {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--saffron); margin: 0 0 10px;
}
.satchel-loft-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.08; margin: 0 0 12px;
}
.satchel-loft-hero h1 em { font-style: normal; color: var(--rain-pale); }
.satchel-lede { margin: 0; opacity: .84; max-width: 48ch; font-size: .92rem; }
.satchel-rainbar {
  height: 10px;
  background: linear-gradient(90deg, var(--saffron), var(--rain), var(--indigo), var(--saffron));
  opacity: .75;
}

.satchel-loft-body { padding: 36px 0 56px; }

.satchel-empty {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 0 24px;
}
.satchel-empty-vessel {
  position: relative;
  width: min(280px, 80vw);
  height: 160px;
  margin: 0 auto 24px;
  background: linear-gradient(180deg, var(--rain-pale), var(--white));
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.empty-flap-lip {
  position: absolute;
  left: 0; right: 0; top: -28px;
  height: 32px;
  background: linear-gradient(180deg, var(--indigo), var(--indigo-deep));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: .85;
}
.empty-wire {
  position: absolute;
  left: -8%; right: -8%; top: 42px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #94a3b8, #64748b, #94a3b8, transparent);
  transform: rotate(-2deg);
}
.empty-peg {
  position: absolute;
  top: 34px;
  width: 10px; height: 18px;
  background: var(--saffron);
  border-radius: 2px 2px 6px 6px;
  box-shadow: 0 4px 8px rgba(234, 88, 12, 0.25);
}
.empty-peg.left { left: 18%; transform: rotate(-8deg); }
.empty-peg.right { right: 18%; transform: rotate(8deg); }
.empty-mark {
  position: absolute;
  left: 50%; top: 58%;
  transform: translate(-50%, -50%);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.satchel-empty h2 {
  font-family: var(--font-display);
  font-size: 1.35rem; color: var(--indigo-deep);
  margin: 0 0 10px;
}
.satchel-empty p { margin: 0 0 20px; color: var(--muted); font-size: .92rem; }

.satchel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 28px;
  align-items: start;
}

.clothesline-deck {
  position: relative;
  padding: 48px 20px 24px;
  background: linear-gradient(180deg, var(--white), var(--rain-pale));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.clothesline-post {
  position: absolute;
  top: 0;
  width: 8px; height: 72px;
  background: linear-gradient(180deg, #78716c, #57534e);
  border-radius: 0 0 4px 4px;
}
.clothesline-post-left { left: 24px; transform: rotate(-4deg); }
.clothesline-post-right { right: 24px; transform: rotate(4deg); }
.clothesline-wire {
  position: absolute;
  left: 28px; right: 28px; top: 58px;
  height: 3px;
  background: linear-gradient(90deg, #78716c, #a8a29e, #78716c);
  transform: rotate(-1.5deg);
  z-index: 1;
}
.clothesline-meta {
  margin: 0 0 20px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}

.pouch-line {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pouch-sway {
  position: relative;
  padding-top: 18px;
  transform: rotate(var(--swing, 0deg));
  transform-origin: top center;
}
.pouch-peg {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 12px; height: 20px;
  background: linear-gradient(180deg, var(--saffron), #c2410c);
  border-radius: 3px 3px 8px 8px;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}
.pouch-clip-tag {
  position: absolute;
  left: 50%; top: 2px;
  transform: translateX(calc(-50% + 28px));
  font-size: .58rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--rain);
  z-index: 4;
}
.pouch-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 14px 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(49, 46, 129, 0.08);
}
.pouch-thumb {
  display: block;
  width: 72px; height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--rice-2);
}
.pouch-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pouch-thumb-fallback {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.4rem;
  color: var(--indigo);
  opacity: .35;
}
.pouch-copy { min-width: 0; }
.pouch-sku {
  display: inline-block;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 4px;
}
.pouch-copy h2 {
  font-family: var(--font-display);
  font-size: .98rem; line-height: 1.25;
  margin: 0 0 4px; color: var(--indigo-deep);
}
.pouch-copy h2 a:hover { color: var(--rain); }
.pouch-pack { margin: 0 0 4px; font-size: .82rem; color: var(--muted); }
.pouch-unit { font-size: .78rem; font-weight: 600; color: var(--indigo); }
.pouch-qty label {
  display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.pouch-qty input {
  width: 72px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; text-align: center;
}
.pouch-qty input:focus {
  outline: 2px solid rgba(8, 145, 178, 0.35);
  border-color: var(--rain);
}
.pouch-total { text-align: right; min-width: 72px; }
.pouch-total-label {
  display: block;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.pouch-total strong {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--indigo-deep);
}

.satchel-form-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
}

.seal-manifest {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.manifest-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(8, 145, 178, 0.35);
}
.manifest-corner-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.manifest-corner-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.manifest-corner-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.manifest-corner-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.manifest-wax {
  position: absolute;
  top: 18px; right: 18px;
  width: 52px; height: 52px;
}
.wax-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fca5a5, var(--saffron) 55%, #9a3412);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.35), 0 6px 14px rgba(234, 88, 12, 0.35);
}
.wax-mark {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .06em; color: rgba(255, 255, 255, 0.92);
}
.manifest-store {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--indigo); margin: 0 0 6px;
}
.manifest-title {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--indigo-deep); margin: 0 0 4px;
}
.manifest-meta {
  margin: 0 0 18px;
  font-size: .78rem; color: var(--muted);
}
.manifest-rows { margin: 0 0 16px; }
.manifest-rows div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.manifest-rows div:last-child { border-bottom: 0; }
.manifest-rows dt {
  font-size: .82rem; color: var(--muted); font-weight: 600;
}
.manifest-rows dd {
  margin: 0; font-weight: 800; color: var(--indigo-deep);
}
.manifest-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0 16px;
  border-top: 2px solid var(--indigo-deep);
  margin-bottom: 12px;
}
.manifest-total span {
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--indigo-deep);
}
.manifest-total strong {
  font-family: var(--font-display);
  font-size: 1.35rem; color: var(--saffron);
}
.manifest-notes {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.manifest-notes li {
  font-size: .76rem; color: var(--muted);
  padding-left: 14px; position: relative;
}
.manifest-notes li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rain);
}
.satchel-checkout-btn { margin-bottom: 0; }
.manifest-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 8px;
}
.satchel-add-more-btn {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--indigo-deep);
}
.btn-block { width: 100%; text-align: center; justify-content: center; }
.manifest-perforation {
  height: 8px;
  margin-top: 8px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
  opacity: .7;
}

@media (max-width: 960px) {
  .satchel-layout { grid-template-columns: 1fr; }
  .satchel-flap { display: none; }
}
@media (max-width: 720px) {
  .pouch-card {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }
  .pouch-qty, .pouch-total {
    grid-column: 1 / -1;
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
  }
  .pouch-total { text-align: left; }
  .pouch-clip-tag { display: none; }
}
@media (max-width: 480px) {
  .clothesline-deck { padding: 44px 14px 20px; }
  .pouch-card { padding: 14px; gap: 12px; }
}

/* ── Orders: Monsoon Terrace Archive (Appily Eight) ── */
.page-terrace-archive .page-main { background: var(--rice); }

.terrace-archive-hero {
  position: relative;
  background: linear-gradient(165deg, var(--indigo-deep) 0%, var(--indigo) 55%, #1e4d5a 100%);
  color: var(--rice);
  overflow: hidden;
  padding: 44px 0 36px;
}
.terrace-silhouette {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: min(240px, 38vw);
  height: 140px;
}
.terrace-step {
  position: absolute;
  left: 0; right: 0;
  height: 28px;
  border: 1px solid rgba(254, 252, 232, 0.18);
  border-bottom: 0;
  background: rgba(8, 145, 178, 0.12);
}
.terrace-step-1 { bottom: 0; border-radius: 6px 6px 0 0; }
.terrace-step-2 { bottom: 28px; left: 12%; right: 8%; opacity: .85; }
.terrace-step-3 { bottom: 56px; left: 24%; right: 16%; opacity: .7; }
.terrace-rain-mist {
  position: absolute;
  top: 0; right: 10%;
  width: 2px; height: 100%;
  background: repeating-linear-gradient(180deg, rgba(207, 250, 254, 0.5) 0 6px, transparent 6px 14px);
  opacity: .45;
}
.terrace-hero-inner { position: relative; max-width: 640px; }
.terrace-kicker {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--saffron); margin: 0 0 10px;
}
.terrace-archive-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.08; margin: 0 0 12px;
}
.terrace-archive-hero h1 em { font-style: normal; color: var(--rain-pale); }
.terrace-lede { margin: 0; opacity: .84; max-width: 50ch; font-size: .92rem; }
.terrace-rainbar {
  height: 10px;
  background: linear-gradient(90deg, var(--rain), var(--saffron), var(--indigo), var(--rain));
  opacity: .75;
}

.terrace-archive-body { padding: 36px 0 56px; }
.terrace-loading {
  text-align: center;
  max-width: 420px;
  margin: 0 auto 24px;
}

.archive-latch-gate {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 36px 28px 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--white), var(--rain-pale));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.latch-ring {
  display: block;
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border: 3px solid var(--rain);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--rain-pale), rgba(8, 145, 178, 0.2));
}
.latch-bar {
  position: absolute;
  top: 52px; left: 50%;
  width: 4px; height: 28px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--indigo), var(--indigo-deep));
  border-radius: var(--radius-round);
}
.latch-drip {
  position: absolute;
  top: 78px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 14px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--rain);
  opacity: .65;
}
.archive-latch-gate h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--indigo-deep);
  margin: 8px 0 10px;
}
.archive-latch-gate p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .92rem;
}
.terrace-guest,
.terrace-logged-in {
  width: 100%;
}
.terrace-guest-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.orders-view-all {
  margin-left: auto;
}
.shutter-signin,
.shutter-register {
  width: 100%;
}

.terrace-ladder-unit {
  position: relative;
  padding: 36px 24px 28px;
  background: linear-gradient(180deg, var(--white), var(--rice-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.ladder-rail {
  position: absolute;
  top: 20px; bottom: 20px;
  width: 6px;
  background: linear-gradient(180deg, #78716c, #57534e);
  border-radius: var(--radius-round);
  opacity: .35;
}
.ladder-rail-left { left: 10px; }
.ladder-rail-right { right: 10px; }
.ladder-label {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  font-size: .62rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  background: var(--rice-2);
  padding: 4px 12px;
  border-radius: var(--radius-round);
  border: 1px dashed var(--line);
}

.terrace-folio-ladder {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.terrace-folio {
  position: relative;
  margin-left: var(--terrace-drop, 0px);
  padding: 22px 22px 20px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  box-shadow: 0 12px 32px rgba(49, 46, 129, 0.08);
  transition: transform .2s, box-shadow .2s;
}
.terrace-folio:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.folio-lip {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.terrace-folio.tone-indigo .folio-lip { background: linear-gradient(180deg, var(--indigo), var(--indigo-deep)); }
.terrace-folio.tone-rain .folio-lip { background: linear-gradient(180deg, var(--rain), #0e7490); }
.terrace-folio.tone-saffron .folio-lip { background: linear-gradient(180deg, var(--saffron), #c2410c); }
.terrace-folio.tone-teal .folio-lip { background: linear-gradient(180deg, #14b8a6, #0d9488); }
.terrace-folio.tone-rice .folio-lip { background: linear-gradient(180deg, #eab308, #ca8a04); }

.folio-step-tag {
  position: absolute;
  top: 12px; right: 14px;
  font-size: .58rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--rain);
}
.folio-dew-stamp {
  position: absolute;
  top: 10px; right: 72px;
  width: 44px; height: 44px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  display: grid; place-items: center;
  font-size: .58rem; font-weight: 800;
  letter-spacing: .04em;
  transform: rotate(-8deg);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
}
.dew-placed { background: var(--rain-pale); color: var(--indigo-deep); border: 1px solid rgba(8, 145, 178, 0.35); }
.dew-packed { background: var(--saffron-pale); color: #9a3412; border: 1px solid rgba(234, 88, 12, 0.3); }
.dew-shipped { background: #e0e7ff; color: var(--indigo); border: 1px solid rgba(49, 46, 129, 0.25); }
.dew-delivered { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.dew-cancelled { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.folio-label {
  display: block;
  font-size: .58rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.folio-head { margin-bottom: 10px; padding-right: 120px; }
.folio-ref strong {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--indigo-deep);
  word-break: break-all;
}
.folio-meta {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  margin-bottom: 10px;
  font-size: .82rem; color: var(--indigo-deep);
}
.folio-meta > span { font-weight: 600; }
.folio-items {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--rice-2);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  font-size: .82rem; color: var(--muted);
  line-height: 1.45;
}
.folio-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.folio-total strong {
  font-family: var(--font-display);
  font-size: 1.1rem; color: var(--saffron);
}
.folio-status-text {
  font-size: .76rem; font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  margin-left: auto;
}
.folio-status-text.dew-placed { background: var(--rain-pale); color: var(--indigo-deep); }
.folio-status-text.dew-packed { background: var(--saffron-pale); color: #9a3412; }
.folio-status-text.dew-shipped { background: #e0e7ff; color: var(--indigo); }
.folio-status-text.dew-delivered { background: #dcfce7; color: #166534; }
.folio-status-text.dew-cancelled { background: #fee2e2; color: #991b1b; }
.terrace-track-btn { flex-shrink: 0; }
.folio-rain-edge {
  position: absolute;
  right: 0; bottom: 0;
  width: 48px; height: 48px;
  background: radial-gradient(circle at 100% 100%, rgba(8, 145, 178, 0.08), transparent 70%);
  pointer-events: none;
}

.terrace-empty {
  text-align: center;
  padding: 32px 20px 12px;
}
.terrace-empty-steps {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; margin-bottom: 24px;
}
.terrace-empty-steps span {
  display: block;
  height: 14px;
  background: var(--rain-pale);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.terrace-empty-steps span:nth-child(1) { width: 180px; }
.terrace-empty-steps span:nth-child(2) { width: 140px; margin-left: 24px; opacity: .8; }
.terrace-empty-steps span:nth-child(3) { width: 100px; margin-left: 48px; opacity: .6; }
.terrace-empty h2 {
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--indigo-deep);
  margin: 0 0 10px;
}
.terrace-empty p {
  margin: 0 0 18px; color: var(--muted); font-size: .92rem;
}

.page-terrace-archive .order-row {
  display: none;
}

@media (max-width: 960px) {
  .terrace-silhouette { display: none; }
}
@media (max-width: 720px) {
  .terrace-ladder-unit { padding: 32px 16px 24px; }
  .ladder-rail { display: none; }
  .terrace-folio { margin-left: 0 !important; }
  .folio-head { padding-right: 0; }
  .folio-dew-stamp {
    position: static;
    display: inline-grid;
    margin-bottom: 10px;
    transform: none;
  }
  .folio-step-tag { position: static; display: block; margin-bottom: 8px; text-align: left; }
  .folio-foot { flex-direction: column; align-items: stretch; }
  .folio-status-text { margin-left: 0; align-self: flex-start; }
  .terrace-track-btn { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .archive-latch-gate { padding: 28px 20px 24px; }
  .terrace-guest-actions { flex-direction: column; }
  .terrace-guest-actions .btn { width: 100%; }
}

/* ── Checkout: Rain Canopy Dispatch Desk (Appily Eight) ── */
.page-rain-canopy .page-main { background: var(--rice); }

.rain-canopy-hero {
  position: relative;
  background: linear-gradient(165deg, var(--indigo-deep) 0%, var(--indigo) 48%, #1e4d5a 100%);
  color: var(--rice);
  overflow: hidden;
  padding: 0 0 32px;
}
.canopy-awning {
  position: relative;
  height: 56px;
  background: linear-gradient(180deg, rgba(254, 252, 232, 0.22), rgba(8, 145, 178, 0.15));
  border-bottom: 1px solid rgba(254, 252, 232, 0.15);
  transform: skewY(-2deg);
  transform-origin: top left;
  margin-bottom: 28px;
}
.awning-fold {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(254, 252, 232, 0.06) 0 24px,
    rgba(8, 145, 178, 0.08) 24px 48px
  );
}
.awning-drip-row {
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  display: flex;
  justify-content: space-evenly;
  padding: 0 8px;
}
.awning-drip {
  width: 3px; height: 12px;
  border-radius: 0 0 50% 50%;
  background: rgba(207, 250, 254, 0.55);
}
.canopy-hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.canopy-kicker {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--saffron); margin: 0 0 10px;
}
.rain-canopy-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.08; margin: 0 0 12px;
}
.rain-canopy-hero h1 em { font-style: normal; color: var(--rain-pale); }
.canopy-lede { margin: 0; opacity: .84; max-width: 48ch; font-size: .92rem; }
.canopy-pass-tile {
  flex-shrink: 0;
  padding: 16px 20px;
  background: rgba(254, 252, 232, 0.1);
  border: 1px solid rgba(254, 252, 232, 0.22);
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 140px;
}
.pass-label {
  display: block;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--rain-pale); margin-bottom: 6px;
}
.pass-code {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  letter-spacing: .06em;
}
.pass-qty {
  display: block;
  margin-top: 6px;
  font-size: .78rem; opacity: .8;
}
.canopy-rainbar {
  height: 10px;
  background: linear-gradient(90deg, var(--rain), var(--saffron), var(--indigo), var(--rain));
  opacity: .75;
}

.rain-canopy-body { padding: 32px 0 56px; }

.canopy-drop-trail {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.drop-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.drop-bulb {
  width: 28px; height: 36px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--rice-2);
  border: 2px solid var(--line);
  box-shadow: inset 0 -4px 8px rgba(8, 145, 178, 0.15);
}
.drop-step.is-active .drop-bulb {
  background: linear-gradient(180deg, var(--rain-pale), var(--rain));
  border-color: var(--rain);
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
}
.drop-label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}
.drop-step.is-active .drop-label { color: var(--indigo-deep); }
.drop-stream {
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--line), var(--rain-pale), var(--line));
  border-radius: var(--radius-round);
  margin: 0 4px;
  align-self: flex-start;
  margin-top: 16px;
}

.canopy-desk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 28px;
  align-items: start;
}

.pavilion-dispatch-desk {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.desk-rain-sheen {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 40px,
      rgba(8, 145, 178, 0.03) 40px 41px
    );
  pointer-events: none;
}
.desk-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}
.desk-stencil {
  flex-shrink: 0;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .1em;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--indigo-deep);
  color: var(--rice);
  transform: rotate(-4deg);
}
.desk-code {
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700;
  color: var(--rain); margin: 0 0 4px;
}
.desk-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem; margin: 0;
  color: var(--indigo-deep);
}
.canopy-error { margin-bottom: 18px; position: relative; }

.canopy-form fieldset {
  border: 0; margin: 0; padding: 0;
}
.desk-tab-strip { margin-bottom: 20px; position: relative; }
.desk-tab-strip legend {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700;
  color: var(--indigo-deep);
  margin-bottom: 14px;
  padding: 0;
}
.tab-ribbon {
  display: grid; place-items: center;
  width: 28px; height: 32px;
  font-size: .72rem; font-weight: 800;
  color: var(--rice);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 10px rgba(49, 46, 129, 0.2);
}
.tab-ribbon-i { background: var(--indigo); }
.tab-ribbon-ii { background: var(--rain); }
.tab-ribbon-iii { background: var(--saffron); }

.desk-fields { display: grid; gap: 14px; }
.desk-fields-duo { grid-template-columns: 1fr 1fr; }
.desk-fields-route { grid-template-columns: 1fr 1fr; }
.desk-field-wide { grid-column: 1 / -1; }
.desk-label {
  display: block;
  font-size: .78rem; font-weight: 700;
  color: var(--indigo-deep); margin-bottom: 6px;
}
.desk-field input,
.desk-field textarea,
.desk-field select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: var(--white);
}
.desk-field input:focus,
.desk-field textarea:focus,
.desk-field select:focus {
  outline: 2px solid rgba(8, 145, 178, 0.35);
  border-color: var(--rain);
}
.desk-field input[readonly] { background: var(--rice-2); }
.desk-field textarea { min-height: 88px; resize: vertical; }
.desk-hint {
  display: block; margin-top: 6px;
  font-size: .74rem; color: var(--muted);
}

.desk-rain-divider {
  height: 8px; margin: 4px 0 20px;
  background: repeating-linear-gradient(90deg, var(--rain-pale) 0 10px, transparent 10px 18px);
  opacity: .8;
}

.desk-pay-single {
  display: flex; align-items: center; gap: 12px;
  margin: 0; padding: 14px 16px;
  background: var(--rain-pale);
  border: 1px solid rgba(8, 145, 178, 0.25);
  border-radius: var(--radius-lg);
  font-weight: 600; color: var(--indigo-deep);
}
.rain-coin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.rain-coin-option { cursor: pointer; }
.rain-coin-option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.rain-coin-body {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.rain-coin {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--rain-pale), var(--rain));
  border: 2px solid rgba(8, 145, 178, 0.35);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.5);
}
.rain-coin-set {
  flex-shrink: 0;
  width: 32px; height: 32px;
}
.rain-coin-name {
  font-size: .82rem; font-weight: 700;
  text-align: center; color: var(--indigo-deep);
}
.rain-coin-option input:checked + .rain-coin-body {
  border-color: var(--rain);
  box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.2);
  transform: translateY(-2px);
}
.rain-coin-option input:checked + .rain-coin-body .rain-coin {
  background: radial-gradient(circle at 35% 30%, var(--saffron-pale), var(--saffron));
  border-color: var(--saffron);
}

.desk-foot { margin-top: 8px; position: relative; }
.desk-policy {
  margin: 0 0 16px;
  font-size: .78rem; color: var(--muted); line-height: 1.5;
}
.desk-policy a { color: var(--rain); text-decoration: underline; }
.desk-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
}

.gauge-pouch-manifest {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.manifest-gauge-tower {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  background: linear-gradient(180deg, var(--indigo-deep), var(--indigo));
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.gauge-tube {
  position: relative;
  width: 22px; flex: 1;
  min-height: 120px;
  border: 2px solid rgba(254, 252, 232, 0.3);
  border-radius: 8px 8px 16px 16px;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
}
.gauge-level {
  height: 62%;
  background: linear-gradient(180deg, var(--saffron), var(--rain));
  border-radius: 0 0 12px 12px;
  animation: gaugePulse 3s ease-in-out infinite;
}
.gauge-cap {
  margin-top: 10px;
  font-size: .52rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--rain-pale);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.manifest-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-soft);
}
.manifest-head { margin-bottom: 16px; }
.manifest-brand {
  display: block;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--rain); margin-bottom: 4px;
}
.manifest-head h2 {
  font-family: var(--font-display);
  font-size: 1.15rem; margin: 0 0 4px;
  color: var(--indigo-deep);
}
.manifest-head p {
  margin: 0; font-size: .78rem; color: var(--muted);
}
.manifest-pouch-list {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  max-height: 280px; overflow-y: auto;
}
.manifest-pouch-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px; align-items: center;
  padding: 8px 10px;
  background: var(--rice-2);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}
.manifest-pouch-thumb {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.manifest-pouch-thumb img { width: 100%; height: 100%; object-fit: cover; }
.manifest-pouch-empty {
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; color: var(--indigo);
  opacity: .3;
}
.manifest-pouch-info { min-width: 0; }
.manifest-pouch-info strong {
  display: block;
  font-size: .82rem; line-height: 1.25;
  color: var(--indigo-deep);
}
.manifest-pouch-info span {
  font-size: .72rem; color: var(--muted);
}
.manifest-pouch-price {
  font-weight: 800; font-size: .88rem;
  color: var(--indigo-deep); white-space: nowrap;
}
.manifest-totals { margin: 0 0 12px; }
.manifest-totals div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .82rem;
}
.manifest-totals div:last-child { border-bottom: 0; }
.manifest-totals dt { color: var(--muted); font-weight: 600; }
.manifest-totals dd { margin: 0; font-weight: 800; color: var(--indigo-deep); }
.manifest-grand {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0 14px;
  border-top: 2px solid var(--indigo-deep);
  margin-bottom: 10px;
}
.manifest-grand span {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--indigo-deep);
}
.manifest-grand strong {
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--saffron);
}
.manifest-notes {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.manifest-notes li {
  font-size: .72rem; color: var(--muted);
  padding-left: 12px; position: relative;
}
.manifest-notes li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--rain);
}
.manifest-ready-stamp {
  position: absolute;
  bottom: 16px; right: 14px;
  font-size: .58rem; font-weight: 800;
  letter-spacing: .12em;
  color: var(--rain);
  border: 2px solid var(--rain);
  padding: 4px 10px;
  border-radius: var(--radius);
  transform: rotate(-12deg);
  opacity: .65;
}

@media (max-width: 960px) {
  .canopy-desk-layout { grid-template-columns: 1fr; }
  .gauge-pouch-manifest { grid-template-columns: 1fr; }
  .manifest-gauge-tower {
    flex-direction: row;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 12px 20px;
    gap: 12px;
  }
  .gauge-tube {
    min-height: 0; height: 28px; width: 120px;
    flex-direction: row;
    border-radius: var(--radius-round);
  }
  .gauge-level {
    height: 100%; width: 62%;
    border-radius: var(--radius-round);
  }
  .gauge-cap {
    writing-mode: horizontal-tb;
    transform: none;
    margin-top: 0;
  }
  .manifest-panel {
    border-left: 1px solid var(--line);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
}
@media (max-width: 720px) {
  .desk-fields-duo,
  .desk-fields-route { grid-template-columns: 1fr; }
  .canopy-hero-inner { flex-direction: column; }
  .canopy-pass-tile { width: 100%; }
  .drop-stream { display: none; }
  .canopy-drop-trail { gap: 16px; }
  .desk-actions { flex-direction: column; }
  .desk-actions .btn { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .pavilion-dispatch-desk { padding: 22px 18px 20px; }
  .manifest-panel { padding: 18px 16px; }
}

/* ── Order Status: Monsoon Lantern Folio (Appily Eight) ── */
.page-lantern-folio .page-main { background: var(--rice); }

.lantern-folio-hero {
  position: relative;
  background: linear-gradient(160deg, var(--indigo-deep) 0%, var(--indigo) 50%, #1a3d4a 100%);
  color: var(--rice);
  overflow: hidden;
  padding: 40px 0 32px;
}
.lantern-beam-deco {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: min(420px, 90%);
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 8px;
  opacity: .35;
}
.beam-rope {
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(254, 252, 232, 0.5), transparent);
}
.beam-lantern {
  width: 14px; height: 22px;
  border-radius: 50% 50% 40% 40%;
  background: radial-gradient(circle at 50% 30%, var(--saffron-pale), var(--saffron));
  box-shadow: 0 0 12px rgba(234, 88, 12, 0.4);
  margin-top: 6px;
}
.beam-lantern-out {
  background: radial-gradient(circle at 50% 30%, #475569, #334155);
  box-shadow: none;
}
.lantern-hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.lantern-kicker {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--saffron); margin: 0 0 10px;
}
.lantern-folio-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.08; margin: 0 0 12px;
}
.lantern-folio-hero h1 em { font-style: normal; color: var(--rain-pale); }
.lantern-lede { margin: 0; opacity: .84; max-width: 50ch; font-size: .92rem; }
.lantern-folio-badge {
  flex-shrink: 0;
  padding: 14px 18px;
  background: rgba(254, 252, 232, 0.1);
  border: 1px solid rgba(254, 252, 232, 0.22);
  border-radius: var(--radius-lg);
  text-align: center;
}
.folio-badge-label {
  display: block;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--rain-pale); margin-bottom: 4px;
}
.folio-badge-code {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 800;
}
.lantern-rainbar {
  height: 10px;
  background: linear-gradient(90deg, var(--saffron), var(--rain), var(--indigo), var(--saffron));
  opacity: .75;
}

.lantern-folio-body { padding: 32px 0 56px; }

.dispatch-deed {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 28px;
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.dispatch-deed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--indigo), var(--rain), var(--saffron));
}
.dispatch-deed.tone-arrived::before { background: linear-gradient(90deg, #166534, var(--rain), #166534); }
.dispatch-deed.tone-routing::before { background: linear-gradient(90deg, var(--indigo), var(--rain), var(--indigo)); }
.dispatch-deed.tone-sealed::before { background: linear-gradient(90deg, var(--saffron), var(--rain-pale), var(--saffron)); }
.dispatch-deed.tone-void::before { background: linear-gradient(90deg, #991b1b, #fecaca, #991b1b); }
.deed-wax-seal {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fca5a5, var(--saffron) 55%, #9a3412);
  display: grid; place-items: center;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .04em; color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
  flex-shrink: 0;
}
.deed-kicker {
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700;
  color: var(--rain); margin: 0 0 6px;
}
.deed-order-id {
  font-family: var(--font-display);
  font-size: 1.35rem; margin: 0 0 10px;
  color: var(--indigo-deep); word-break: break-all;
}
.deed-status-pill {
  display: inline-block;
  font-size: .76rem; font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-round);
  background: var(--indigo-deep);
  color: var(--rice);
  margin-bottom: 16px;
}
.deed-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
}
.deed-meta div { min-width: 0; }
.deed-meta dt {
  font-size: .62rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.deed-meta dd { margin: 0; font-weight: 700; color: var(--indigo-deep); }

.lantern-folio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}

.lantern-progress-panel,
.almanac-strip-panel,
.pavilion-clerk-window {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
}
.lantern-panel-title {
  font-family: var(--font-display);
  font-size: 1rem; margin: 0 0 18px;
  color: var(--indigo-deep);
}

.lantern-cancelled {
  padding: 20px;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 18px;
}
.lantern-void-stamp {
  display: inline-block;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .12em;
  padding: 6px 14px;
  border: 2px solid #991b1b;
  color: #991b1b;
  border-radius: var(--radius);
  transform: rotate(-6deg);
  margin-bottom: 10px;
}
.lantern-cancelled p { margin: 0; color: #991b1b; font-size: .88rem; }

.lantern-beam-track {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lantern-beam-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}
.beam-lantern-icon {
  position: relative;
  width: 32px; height: 40px;
  display: grid; place-items: center;
}
.lantern-frame {
  width: 22px; height: 28px;
  border-radius: 50% 50% 40% 40%;
  background: var(--rice-2);
  border: 2px solid var(--line);
  position: relative;
  z-index: 1;
}
.lantern-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.35), transparent 70%);
  opacity: 0;
}
.lantern-beam-step.is-done .lantern-frame {
  background: linear-gradient(180deg, var(--saffron-pale), var(--saffron));
  border-color: var(--saffron);
}
.lantern-beam-step.is-done .lantern-glow { opacity: .6; }
.lantern-beam-step.is-active .lantern-frame {
  background: linear-gradient(180deg, var(--rain-pale), var(--rain));
  border-color: var(--rain);
  box-shadow: 0 0 16px rgba(8, 145, 178, 0.45);
}
.lantern-beam-step.is-active .lantern-glow {
  opacity: 1;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.4), transparent 70%);
}
.beam-phase-mark {
  font-size: .62rem; font-weight: 800;
  letter-spacing: .08em; color: var(--muted);
}
.lantern-beam-step.is-done .beam-phase-mark,
.lantern-beam-step.is-active .beam-phase-mark { color: var(--indigo-deep); }
.beam-step-copy strong {
  display: block;
  font-size: .88rem; color: var(--indigo-deep);
}
.beam-step-copy span {
  font-size: .76rem; color: var(--muted);
}
.lantern-beam-step.is-done .beam-step-copy strong,
.lantern-beam-step.is-active .beam-step-copy strong { color: var(--indigo-deep); }
.beam-cord {
  position: absolute;
  left: 15px; top: 44px;
  width: 2px; height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--line), var(--rain-pale));
}

.monsoon-route-card {
  padding: 14px 16px;
  background: var(--rain-pale);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: var(--radius-lg);
}
.monsoon-route-card h4 {
  font-size: .78rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--indigo); margin: 0 0 8px;
}
.monsoon-route-card p {
  margin: 0 0 4px;
  font-size: .84rem; color: var(--indigo-deep);
  line-height: 1.45;
}
.route-phone { font-weight: 700; margin-top: 8px !important; }

.almanac-strip-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.strip-clip {
  flex-shrink: 0;
  width: 12px; height: 20px;
  background: var(--saffron);
  border-radius: 2px 2px 6px 6px;
  margin-top: 4px;
}
.almanac-strip-head h3 {
  font-family: var(--font-display);
  font-size: 1rem; margin: 0 0 4px;
  color: var(--indigo-deep);
}
.almanac-strip-head p {
  margin: 0; font-size: .78rem; color: var(--muted);
}
.almanac-strip-list {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 320px; overflow-y: auto;
}
.almanac-strip-row {
  display: grid;
  grid-template-columns: 40px 28px minmax(0, 1fr) auto auto;
  gap: 8px; align-items: center;
  padding: 8px 10px;
  background: var(--rice-2);
  border-radius: var(--radius);
  border-left: 3px solid var(--rain);
}
.strip-thumb {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.strip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.strip-thumb-empty {
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; opacity: .3;
}
.strip-num {
  font-size: .62rem; font-weight: 800;
  color: var(--saffron);
}
.strip-name {
  font-size: .82rem; font-weight: 600;
  color: var(--indigo-deep);
  min-width: 0;
  line-height: 1.25;
}
.strip-qty { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.strip-amt { font-weight: 800; font-size: .84rem; color: var(--indigo-deep); white-space: nowrap; }
.almanac-strip-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 12px;
  border-top: 2px solid var(--indigo-deep);
}
.almanac-strip-total span {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--indigo-deep);
}
.almanac-strip-total strong {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--saffron);
}

.pavilion-clerk-window {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.clerk-window-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.window-shutter {
  position: absolute;
  top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(180deg, var(--indigo), var(--indigo-deep));
  opacity: .15;
}
.window-shutter-left { left: 0; border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
.window-shutter-right { right: 0; border-radius: 0 var(--radius-xl) var(--radius-xl) 0; }
.clerk-window-inner {
  position: relative;
  padding: 22px 24px;
  background: linear-gradient(180deg, var(--white), var(--rain-pale));
}
.clerk-window-head {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 18px;
}
.clerk-badge {
  flex-shrink: 0;
  font-size: .58rem; font-weight: 800;
  letter-spacing: .1em;
  padding: 6px 8px;
  background: var(--indigo-deep);
  color: var(--rice);
  border-radius: var(--radius);
}
.clerk-window-head h3 {
  font-family: var(--font-display);
  font-size: 1rem; margin: 0 0 4px;
  color: var(--indigo-deep);
}
.clerk-window-head p {
  margin: 0; font-size: .78rem; color: var(--muted);
}
.clerk-field { display: block; margin-bottom: 14px; }
.clerk-label {
  display: block;
  font-size: .76rem; font-weight: 700;
  color: var(--indigo-deep); margin-bottom: 6px;
}
.clerk-field input,
.clerk-field select,
.clerk-field textarea {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: var(--white);
}
.clerk-field input:focus,
.clerk-field select:focus,
.clerk-field textarea:focus {
  outline: 2px solid rgba(8, 145, 178, 0.35);
  border-color: var(--rain);
}
.clerk-field textarea { min-height: 88px; resize: vertical; }
.clerk-submit { width: 100%; }
.clerk-filings {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.clerk-filings h4 {
  font-size: .82rem; margin: 0 0 12px;
  color: var(--indigo-deep);
}
.clerk-filing-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.clerk-filing-item:last-child { border-bottom: 0; }
.clerk-filing-item strong {
  display: block; font-size: .82rem;
  color: var(--indigo-deep); margin-bottom: 4px;
}
.clerk-filing-item p {
  margin: 0 0 4px; font-size: .78rem; color: var(--muted);
}
.clerk-filing-item time {
  font-size: .72rem; color: var(--muted);
}

.lantern-foot-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}

.page-lantern-lost .page-main { background: var(--rice); }
.lantern-lost {
  padding: 56px 0 72px;
  text-align: center;
}
.lantern-lost-beam {
  display: flex; justify-content: center; gap: 24px;
  margin-bottom: 28px;
}
.lost-lantern {
  width: 24px; height: 36px;
  border-radius: 50% 50% 40% 40%;
  background: radial-gradient(circle at 50% 30%, var(--saffron-pale), var(--saffron));
  box-shadow: 0 0 16px rgba(234, 88, 12, 0.3);
}
.lost-lantern-out {
  background: #cbd5e1;
  box-shadow: none;
  opacity: .5;
}
.lantern-lost-wrap { max-width: 480px; margin: 0 auto; }
.lantern-lost h1 {
  font-family: var(--font-display);
  font-size: 1.45rem; color: var(--indigo-deep);
  margin: 0 0 12px;
}
.lantern-lost p {
  margin: 0 0 20px; color: var(--muted); font-size: .92rem;
}
.lantern-lost-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .lantern-folio-grid { grid-template-columns: 1fr 1fr; }
  .pavilion-clerk-window { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .lantern-folio-grid { grid-template-columns: 1fr; }
  .dispatch-deed { grid-template-columns: 1fr; }
  .deed-wax-seal { width: 48px; height: 48px; }
  .deed-meta { grid-template-columns: 1fr; }
  .lantern-beam-deco { display: none; }
  .lantern-hero-inner { flex-direction: column; padding-top: 0; }
  .almanac-strip-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }
  .strip-num { display: none; }
  .strip-qty { grid-column: 2; }
  .strip-amt { grid-column: 3; grid-row: 1 / 3; align-self: center; }
}
@media (max-width: 480px) {
  .lantern-foot-nav { flex-direction: column; }
  .lantern-foot-nav .btn { width: 100%; text-align: center; }
  .lantern-lost-actions { flex-direction: column; }
  .lantern-lost-actions .btn { width: 100%; }
}

/* ── Product: Monsoon Dew Vitrine (Appily Eight) ── */
.page-dew-vitrine .page-main { background: var(--rice); }

.dew-vitrine-hero {
  position: relative;
  background: linear-gradient(165deg, var(--indigo-deep) 0%, var(--indigo) 55%, #1e4d5a 100%);
  color: var(--rice);
  overflow: hidden;
  padding: 28px 0 24px;
}
.vitrine-mist {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(207, 250, 254, 0.12), transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(254, 252, 232, 0.08), transparent 40%);
  pointer-events: none;
}
.vitrine-hero-inner { position: relative; }
.vitrine-trail {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .82rem; margin-bottom: 12px;
}
.vitrine-trail a {
  color: var(--rain-pale);
  opacity: .85;
}
.vitrine-trail a:hover { opacity: 1; text-decoration: underline; }
.vitrine-trail-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(254, 252, 232, 0.45);
}
.vitrine-trail-current {
  opacity: .65;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vitrine-kicker {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--saffron); margin: 0;
}
.vitrine-rainbar {
  height: 8px;
  background: linear-gradient(90deg, var(--rain), var(--saffron), var(--indigo), var(--rain));
  opacity: .75;
}

.dew-vitrine-stage { padding: 36px 0 48px; }
.vitrine-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.vitrine-showcase {
  position: relative;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, var(--white), var(--rain-pale));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.showcase-stand {
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 12px;
  background: linear-gradient(180deg, #78716c, #57534e);
  border-radius: 0 0 8px 8px;
  opacity: .25;
}
.showcase-glass {
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(8, 145, 178, 0.25);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  overflow: hidden;
  margin-bottom: 16px;
}
.glass-streak {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(207, 250, 254, 0.6), transparent);
  opacity: .5;
  z-index: 2;
  pointer-events: none;
}
.glass-streak-1 { left: 18%; top: 0; bottom: 0; transform: rotate(2deg); }
.glass-streak-2 { left: 52%; top: 0; bottom: 0; transform: rotate(-1deg); }
.glass-streak-3 { right: 22%; top: 0; bottom: 0; transform: rotate(3deg); }
.glass-condense {
  position: absolute;
  top: 12px; right: 16px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(207, 250, 254, 0.3));
  z-index: 2;
}
.showcase-specimen {
  margin: 0;
  position: relative;
  z-index: 1;
}
.showcase-specimen img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--rice-2);
  border: 1px solid var(--line);
}
.showcase-plinth {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--indigo-deep);
  color: var(--rice);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}
.plinth-entry {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.plinth-sku {
  font-family: var(--font-display);
  font-size: .88rem; font-weight: 800;
  color: var(--saffron);
}
.showcase-dew-badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px;
  background: var(--saffron);
  color: var(--rice);
  border-radius: var(--radius-round);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  z-index: 3;
}
.showcase-promise {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.showcase-promise li {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600;
  color: var(--indigo-deep);
}
.promise-drop {
  flex-shrink: 0;
  width: 8px; height: 12px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--rain);
  opacity: .75;
}

.vitrine-showcase.tone-veg .showcase-glass { border-color: rgba(74, 222, 128, 0.35); }
.vitrine-showcase.tone-bloom .showcase-glass { border-color: rgba(244, 114, 182, 0.35); }
.vitrine-showcase.tone-forage .showcase-glass { border-color: rgba(163, 163, 163, 0.35); }
.vitrine-showcase.tone-fruit .showcase-glass { border-color: rgba(251, 146, 60, 0.35); }
.vitrine-showcase.tone-herb .showcase-glass { border-color: rgba(52, 211, 153, 0.35); }
.vitrine-showcase.tone-spice .showcase-glass { border-color: rgba(251, 191, 36, 0.35); }
.vitrine-showcase.tone-misc .showcase-glass { border-color: rgba(129, 140, 248, 0.35); }

.specimen-ledger {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.ledger-tab {
  position: absolute;
  top: 0; left: 28px;
  width: 48px; height: 14px;
  background: var(--saffron);
  border-radius: 0 0 var(--radius) var(--radius);
}
.specimen-ledger.tone-veg .ledger-tab { background: #4ade80; }
.specimen-ledger.tone-bloom .ledger-tab { background: #f472b6; }
.specimen-ledger.tone-forage .ledger-tab { background: #a3a3a3; }
.specimen-ledger.tone-fruit .ledger-tab { background: #fb923c; }
.specimen-ledger.tone-herb .ledger-tab { background: #34d399; }
.specimen-ledger.tone-spice .ledger-tab { background: #fbbf24; }
.specimen-ledger.tone-misc .ledger-tab { background: #818cf8; }

.ledger-kicker {
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700;
  color: var(--rain); margin: 8px 0 6px;
}
.ledger-collection {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px;
  background: var(--rain-pale);
  color: var(--indigo-deep);
  border-radius: var(--radius-round);
  margin-bottom: 10px;
}
.specimen-ledger h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  color: var(--indigo-deep);
  margin: 0 0 12px;
}
.ledger-pack {
  margin: 0 0 12px;
  font-size: .88rem; color: var(--muted);
}
.ledger-desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.ledger-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 22px;
}
.ledger-index div {
  padding: 10px 12px;
  background: var(--rice-2);
  border-radius: var(--radius);
  border-left: 3px solid var(--rain);
}
.ledger-index dt {
  font-size: .62rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.ledger-index dd {
  margin: 0; font-weight: 700;
  color: var(--indigo-deep);
  word-break: break-all;
}

.satchel-clip-station {
  padding: 20px;
  background: linear-gradient(145deg, var(--indigo-deep), var(--indigo));
  color: var(--rice);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.clip-station-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.clip-peg {
  flex-shrink: 0;
  width: 14px; height: 22px;
  background: linear-gradient(180deg, var(--saffron), #c2410c);
  border-radius: 3px 3px 8px 8px;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.35);
}
.clip-label {
  display: block;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  opacity: .85; margin-bottom: 2px;
}
.clip-price {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--saffron);
}
.clip-buy-form {
  display: flex; flex-wrap: wrap;
  gap: 12px; align-items: flex-end;
}
.clip-qty-label {
  display: block;
  font-size: .78rem; font-weight: 600;
  margin-bottom: 6px; width: 100%;
}
.clip-qty {
  padding: 10px 12px;
  border: 1px solid rgba(254, 252, 232, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--rice);
  font: inherit;
  min-width: 72px;
}
.clip-add-btn { flex: 1 1 auto; }
.clip-note {
  margin: 14px 0 0;
  font-size: .74rem; opacity: .78; line-height: 1.45;
}

.adjacent-folio {
  padding: 0 0 56px;
  background: linear-gradient(180deg, transparent, var(--rain-pale));
}
.adjacent-head {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
}
.adjacent-mark {
  flex-shrink: 0;
  width: 4px; height: 48px;
  background: linear-gradient(180deg, var(--saffron), var(--rain));
  border-radius: var(--radius-round);
}
.adjacent-kicker {
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700;
  color: var(--rain); margin: 0 0 4px;
}
.adjacent-head h2 {
  font-family: var(--font-display);
  font-size: 1.25rem; margin: 0;
  color: var(--indigo-deep);
}
.folio-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.page-vitrine-lost .page-main { background: var(--rice); }
.vitrine-lost {
  padding: 64px 0 80px;
  text-align: center;
}
.vitrine-lost-glass {
  position: relative;
  width: min(200px, 60vw);
  height: 160px;
  margin: 0 auto 28px;
  background: linear-gradient(180deg, rgba(207, 250, 254, 0.4), rgba(255, 255, 255, 0.8));
  border: 2px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.lost-streak {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(8, 145, 178, 0.2);
}
.lost-streak:first-child { left: 30%; }
.lost-streak:last-child { right: 28%; }
.lost-fog {
  position: absolute; inset: 0;
  background: rgba(254, 252, 232, 0.65);
}
.vitrine-lost-wrap { max-width: 440px; margin: 0 auto; }
.vitrine-lost h1 {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--indigo-deep);
  margin: 0 0 12px;
}
.vitrine-lost p {
  margin: 0 0 20px; color: var(--muted); font-size: .92rem;
}

@media (max-width: 900px) {
  .vitrine-stage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ledger-index { grid-template-columns: 1fr; }
  .clip-buy-form { flex-direction: column; align-items: stretch; }
  .clip-add-btn { width: 100%; }
  .vitrine-trail-current { max-width: 160px; }
  .folio-grid-compact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .folio-grid-compact { grid-template-columns: 1fr; }
  .specimen-ledger { padding: 24px 18px 20px; }
  .vitrine-showcase { padding: 22px 16px 20px; }
}

/* ── Global mobile polish (Appily Eight pages) ── */
@media (max-width: 980px) {
  .conservatory-wrap,
  .satchel-hero-inner,
  .terrace-hero-inner,
  .canopy-hero-inner,
  .lantern-hero-inner,
  .vitrine-hero-inner,
  .monsoon-track-hero-inner { max-width: none; }

  .conservatory-intro { text-align: left; }
  .member-triptych { gap: 16px; }
  .glass-links { border-top: 1px solid var(--line); border-left: 0; }

  .satchel-layout,
  .canopy-desk-layout,
  .lantern-folio-grid,
  .vitrine-stage-grid,
  .monsoon-track-grid { gap: 20px; }

  .dispatch-deed { grid-template-columns: 1fr; padding: 20px; }
  .deed-wax-seal { width: 48px; height: 48px; }

  .compass-rose { min-height: 200px; }
  .compass-core { width: 38px; height: 38px; font-size: .95rem; }

  .shutter-kiosk { max-width: none; }
  .shutter-switch { flex-direction: column; }
  .shutter-toggle { width: 100%; text-align: center; }
}

@media (max-width: 720px) {
  .satchel-loft-hero,
  .terrace-archive-hero,
  .rain-canopy-hero,
  .lantern-folio-hero,
  .dew-vitrine-hero,
  .monsoon-track-hero { padding: 32px 0 28px; }

  .satchel-flap,
  .terrace-silhouette,
  .canopy-awning,
  .lantern-beam-deco,
  .vitrine-mist { display: none; }

  .canopy-pass-tile,
  .lantern-folio-badge,
  .terrace-hero-inner,
  .satchel-hero-inner { flex-direction: column; align-items: flex-start; }

  .canopy-drop-trail { gap: 8px; }
  .drop-stream { display: none; }

  .pouch-card {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }
  .pouch-qty,
  .pouch-total {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
  }

  .terrace-folio { margin-left: 0 !important; }
  .folio-dew-stamp { position: static; display: inline-grid; margin-bottom: 10px; transform: none; }
  .folio-head { padding-right: 0; }
  .folio-foot { flex-direction: column; align-items: stretch; }
  .terrace-track-btn { width: 100%; text-align: center; }

  .lantern-beam-step { grid-template-columns: 36px 28px minmax(0, 1fr); padding: 10px 0; }
  .beam-cord { left: 13px; }

  .clerk-window-inner { padding: 18px 16px; }
  .almanac-strip-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .strip-num { display: none; }

  .brass-rail { flex-direction: column; align-items: stretch; }
  .rail-pins { flex-direction: column; width: 100%; }
  .pin-btn { width: 100%; justify-content: flex-start; }
  .rail-actions { flex-direction: column; width: 100%; }
  .rail-actions .btn { width: 100%; }

  .seed-ticket-row { grid-template-columns: 1fr; }
  .seed-ticket { border-right: 0; border-bottom: 1px dashed var(--line); }

  .folio-stats,
  .deed-meta,
  .manifest-totals div { grid-template-columns: 1fr; }

  .downpour-path { padding-left: 0; }
  .shipment-folio { padding: 22px 18px; }
}

@media (max-width: 480px) {
  .satchel-form-actions,
  .desk-actions,
  .lantern-foot-nav,
  .satchel-guest-actions,
  .terrace-guest-actions,
  .lantern-lost-actions,
  .vitrine-lost-wrap .btn { flex-direction: column; width: 100%; }

  .satchel-form-actions .btn,
  .desk-actions .btn,
  .lantern-foot-nav .btn,
  .clip-buy-form .btn,
  .clip-add-btn,
  .canopy-seal-btn { width: 100%; }

  .archive-latch-gate,
  .shutter-deck,
  .atrium-stage { padding: 22px 16px; }

  .gauge-pouch-manifest { grid-template-columns: 1fr; }
  .manifest-gauge-tower {
    flex-direction: row;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 12px 16px;
  }
  .gauge-tube { width: 120px; height: 28px; min-height: 0; flex-direction: row; border-radius: var(--radius-round); }
  .gauge-level { width: 62%; height: 100%; }
  .gauge-cap { writing-mode: horizontal-tb; transform: none; margin-top: 0; }
  .manifest-panel { border-left: 1px solid var(--line); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

  .mobile-nav-foot { grid-template-columns: 1fr; }
  .pavilion-nav { width: min(360px, 100vw); border-radius: 0; }
}

@media (max-width: 380px) {
  .product-grid-compact,
  .folio-grid,
  .folio-grid-compact { grid-template-columns: 1fr !important; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; flex: none; }
}

