.scene-photo { width: 100%; height: 100%; border-radius: 12px; }
.photo-back { width: 220px; height: 180px; top: 8px; right: 15px; transform: rotate(7deg); }
.photo-front { width: 235px; height: 210px; left: 55px; bottom: 4px; transform: rotate(-6deg); }
.photo-front .scene-photo { height: 158px; }
.photo-caption { height: 38px; display: flex; align-items: center; justify-content: center; gap: 7px; font-family: Georgia, 'Times New Roman', serif; font-size: 13px; color: #7c5148; }
.heart-pop { position: absolute; right: 6px; bottom: 28px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: white; color: var(--brand); box-shadow: 0 12px 25px rgba(85,42,31,.15); transform: rotate(9deg); }

.scene-photo, .moment-image, .photo-option, .giver-photo { position: relative; overflow: hidden; }
.blanket-scene { background: linear-gradient(145deg, #d6b9a5, #f2d7c4 55%, #cf9c82); }
.blanket-scene::before { content: ''; position: absolute; inset: 55% -20% -25% -20%; border-radius: 50%; background: #f7ebe1; transform: rotate(-7deg); }
.scene-cloud { position: absolute; width: 42px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.72); filter: blur(.3px); }
.scene-cloud::before, .scene-cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.scene-cloud::before { width: 22px; height: 22px; left: 7px; top: -10px; }
.scene-cloud::after { width: 18px; height: 18px; right: 4px; top: -6px; }
.cloud-one { left: 12%; top: 18%; transform: scale(.85); }
.cloud-two { right: 13%; top: 30%; transform: scale(.65); }
.scene-baby { position: absolute; width: 82px; height: 50px; border-radius: 50% 45% 48% 46%; background: #c8866d; left: 50%; top: 58%; transform: translate(-50%,-50%) rotate(-9deg); box-shadow: inset 0 0 0 14px #eee6dc, 0 0 0 11px rgba(255,255,255,.15); }
.scene-baby::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #d99a7c; left: -12px; top: 7px; }
.chair-scene { background: linear-gradient(135deg, #d8d8c7, #f3eddd 65%, #decfb8); }
.scene-window { position: absolute; width: 42%; height: 63%; left: 8%; top: 9%; border: 8px solid rgba(255,255,255,.75); background: linear-gradient(#b9d3dc, #f6dfbd); box-shadow: inset 0 0 0 2px rgba(83,80,68,.12); }
.scene-chair { position: absolute; width: 41%; height: 53%; right: 12%; bottom: 10%; background: #9b6f51; border-radius: 50% 50% 18% 18%; box-shadow: inset 0 0 0 10px #b98b68; transform: rotate(4deg); }
.scene-chair::after { content: ''; position: absolute; width: 120%; height: 18%; background: #6d4b37; left: -10%; bottom: -7%; border-radius: 50%; }
.scene-plant { position: absolute; width: 12%; height: 28%; left: 15%; bottom: 7%; border-radius: 0 0 30% 30%; background: #a98c68; }
.scene-plant::after { content: '✦'; position: absolute; color: #668063; font-size: 44px; left: -14px; top: -38px; transform: rotate(18deg); }
.gym-scene { background: linear-gradient(145deg, #ede2d2, #d9c6ae); }
.scene-mat { position: absolute; width: 74%; height: 35%; left: 13%; bottom: 9%; border-radius: 50%; background: #c58b70; box-shadow: inset 0 0 0 9px rgba(255,255,255,.18); }
.scene-arch { position: absolute; width: 47%; height: 62%; top: 17%; border: 8px solid #8d6b50; border-bottom: 0; border-radius: 50% 50% 0 0; }
.arch-one { left: 24%; transform: rotate(23deg); }
.arch-two { right: 24%; transform: rotate(-23deg); }
.scene-toy { position: absolute; width: 17px; height: 17px; border-radius: 50%; top: 42%; background: #df876e; box-shadow: 0 15px 0 -4px #a96d55; }
.toy-one { left: 40%; }
.toy-two { right: 38%; background: #78947b; }
.nightlight-scene { background: linear-gradient(155deg, #4a4054, #8d7385 62%, #b8948b); }
.scene-moon { position: absolute; width: 48px; height: 48px; border-radius: 50%; right: 14%; top: 12%; background: #f8e8bd; box-shadow: 0 0 30px rgba(248,232,189,.58); }
.scene-fox { position: absolute; width: 74px; height: 74px; border-radius: 48% 48% 42% 42%; left: 50%; bottom: 15%; transform: translateX(-50%); background: #e98f67; box-shadow: 0 0 35px rgba(255,190,133,.45); }
.scene-fox::before, .scene-fox::after { content: ''; position: absolute; width: 31px; height: 36px; top: -15px; background: #e98f67; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.scene-fox::before { left: 1px; transform: rotate(-14deg); }
.scene-fox::after { right: 1px; transform: rotate(14deg); }
.scene-stars { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.75) 0 1px, transparent 2px); background-size: 37px 33px; opacity: .75; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 20px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 19px; min-height: 145px; box-shadow: 0 8px 28px rgba(77,44,37,.035); }
.stat-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 13px; }
.stat-icon.coral { background: var(--brand-soft); color: var(--brand-dark); }
.stat-icon.sage { background: var(--sage); color: var(--sage-dark); }
.stat-icon.gold { background: var(--gold); color: #8a6a2f; }
.stat-icon.lavender { background: var(--lavender); color: #735d79; }
.stat-value { font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 12px; font-weight: 700; margin-top: 5px; }
.stat-detail { color: var(--soft-muted); font-size: 10px; margin-top: 6px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, .7fr); gap: 20px; margin-top: 20px; }
.content-card { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 23px; box-shadow: 0 8px 28px rgba(77,44,37,.035); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.section-heading h2, .access-card h2, .helper-card h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 23px; margin: 5px 0 0; letter-spacing: -.02em; }
.rotate-180 { transform: rotate(180deg); }
.moment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.moment-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fffcfa; min-width: 0; }
.moment-image { height: 145px; }
.moment-date { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 5px 8px; color: #6b5350; font-size: 9px; font-weight: 700; }
.moment-share { position: absolute; right: 9px; top: 9px; width: 30px; height: 30px; border: 0; border-radius: 9px; background: rgba(255,255,255,.92); color: #6b5350; display: grid; place-items: center; }
.moment-body { padding: 13px; }
.gift-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: 5px 8px; font-size: 9px; font-weight: 700; max-width: 100%; }
.moment-body p { font-family: Georgia, 'Times New Roman', serif; font-size: 13px; line-height: 1.4; margin: 10px 0 13px; }
.moment-giver { display: flex; align-items: center; gap: 8px; color: var(--soft-muted); font-size: 9px; }
.moment-giver strong { color: var(--muted); }
.avatar { width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 10px; font-weight: 700; color: #654845; background: #eee3dc; }
.avatar.rose { background: #f4d6d0; color: #8d5048; }
.avatar.sage { background: #dce8d9; color: #52694f; }
.avatar.gold { background: #f7e5bb; color: #856a36; }
.avatar.blue { background: #dcebf1; color: #4f6b77; }
.avatar.lavender { background: #eadfed; color: #755f7b; }
.avatar.neutral { background: #e9dfd8; color: #6a514b; }

.access-card p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 10px 0 16px; }
.code-panel { border: 1px dashed #dcc9bf; border-radius: 14px; padding: 13px 12px; display: flex; align-items: center; justify-content: space-between; background: #fffbf8; }
.code-panel div { display: flex; flex-direction: column; }
.code-panel span { color: var(--soft-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.code-panel strong { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; letter-spacing: .12em; margin-top: 3px; }
.giver-preview-link { width: 100%; border: 0; background: transparent; color: var(--brand-dark); font-size: 10px; font-weight: 700; margin-top: 13px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.gift-table-card { margin-top: 20px; }
.section-actions { display: flex; gap: 8px; }
.table-scroll { overflow-x: auto; }
.gift-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.gift-table th { color: var(--soft-muted); text-transform: uppercase; letter-spacing: .09em; font-size: 9px; text-align: left; padding: 10px 11px; border-bottom: 1px solid var(--line); }
.gift-table td { padding: 13px 11px; border-bottom: 1px solid #f3ebe6; vertical-align: middle; }
.gift-table tbody tr:last-child td { border-bottom: 0; }
.giver-cell { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.giver-cell > div:last-child, .gift-name { display: flex; flex-direction: column; }
.giver-cell strong, .gift-name strong { font-size: 11px; }
.giver-cell span, .gift-name span { color: var(--soft-muted); font-size: 9px; margin-top: 3px; max-width: 320px; }
.update-count { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.status-chip { min-height: 25px; border-radius: 999px; padding: 0 9px; display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; }
.status-chip.sent { color: #567154; background: #e8f1e5; }
.status-chip.pending { color: #8f6a2f; background: #fbf0d4; }

.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 9px 0 25px; }
.page-header h1 { font-size: clamp(34px, 4vw, 50px); margin: 8px 0 9px; }
.page-header p { color: var(--muted); margin: 0; font-size: 13px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.search-field { height: 41px; min-width: 280px; max-width: 410px; flex: 1; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 9px; padding: 0 12px; color: var(--soft-muted); background: #fffcfa; }
.search-field input { flex: 1; border: 0; outline: none; background: transparent; color: var(--ink); min-width: 0; }
.toolbar-summary { color: var(--soft-muted); font-size: 10px; }
.toolbar-summary strong { color: var(--muted); }
.empty-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--soft-muted); text-align: center; }
.empty-state strong { color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 18px; margin-top: 10px; }
.empty-state span { font-size: 11px; margin-top: 5px; }
.updates-full-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.updates-full-grid .moment-image { height: 220px; }
.updates-full-grid .moment-body p { font-size: 16px; }
.thanks-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 20px; }
.thank-row { display: flex; align-items: flex-start; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.thank-row:last-child { border-bottom: 0; }
.thank-main { flex: 1; min-width: 0; }
.thank-title { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; }
.thank-title span { color: var(--soft-muted); }
.thank-main p { color: var(--muted); font-family: Georgia, 'Times New Roman', serif; background: #fffaf6; border: 1px solid #f2e6de; border-radius: 12px; padding: 12px; font-size: 12px; line-height: 1.55; }
.thank-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.helper-card { align-self: start; background: linear-gradient(160deg, #fffdfb, #fff4ed); }
.helper-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-dark); background: var(--brand-soft); margin-bottom: 16px; }
.helper-card > p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.sample-note { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 13px; margin: 18px 0 4px; }
.sample-note span { color: var(--soft-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.sample-note p { font-family: Georgia, 'Times New Roman', serif; font-size: 12px; line-height: 1.55; margin-bottom: 0; }


/* Editable thank-you draft workflow */
.draft-label { display:block; margin:12px 0 6px; color:var(--soft-muted); font-size:9px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.note-editor { width:100%; min-height:142px; border:1px solid #eadbd3; border-radius:12px; padding:12px; resize:vertical; color:var(--ink); background:#fffaf6; font-family:Georgia,'Times New Roman',serif; font-size:12px; line-height:1.55; outline:none; }
.note-editor:focus { border-color:#dd8a78; box-shadow:0 0 0 3px rgba(228,95,72,.09); background:white; }
.thank-row.selected-draft { margin-inline:-10px; padding-inline:10px; border-radius:14px; background:#fff8f3; }
.sample-note p { white-space:pre-wrap; }
.delivery-notice { margin-top:14px!important; padding-top:13px; border-top:1px solid var(--line); color:var(--soft-muted)!important; font-size:10px!important; line-height:1.5!important; }
.delivery-notice strong { color:var(--ink); }
