:root{--theme-bg-start:#fff1f2;--theme-bg-mid:#ffe4e6;--theme-border:#fecaca;--theme-primary:#e11d48;--theme-primary-hover:#be123c;--theme-heading:#9f1239;--theme-shadow:#f472b62e;--theme-shadow-strong:#f8717166}html,body{color:#0f172a;background:#f9fafb;min-height:100%;margin:0;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{-webkit-font-smoothing:antialiased}a{color:var(--theme-primary);text-decoration:underline}a:hover{color:var(--theme-heading)}.app-body{background:linear-gradient(to bottom, var(--theme-bg-start), var(--theme-bg-mid), var(--theme-bg-start));color:#0f172a;min-height:100vh}.layout-outer{justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}.layout-inner{width:100%;max-width:768px}.card{box-shadow:0 18px 45px var(--theme-shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffe6;border:1px solid #fffc;border-radius:18px}.text-center{text-align:center}.heading-main{letter-spacing:-.03em;color:var(--theme-heading);font-size:1.875rem;font-weight:600;line-height:1.2}.heading-sub{color:var(--theme-heading);font-size:1.25rem;font-weight:600}.text-muted{color:#475569;font-size:.95rem}.section{margin-top:16px;margin-bottom:16px}.btn{cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;padding:8px 18px;font-size:.85rem;font-weight:600;display:inline-flex}.btn-primary{background:var(--theme-primary);color:#fff;box-shadow:0 10px 25px var(--theme-shadow-strong)}.btn-primary:hover{background:var(--theme-primary-hover);color:#fff}.badge{border-radius:999px;padding:2px 8px;font-size:.7rem;font-weight:500;display:inline-block}.badge-kid{color:#92400e;background:#fef3c7}.input,.textarea,.select{box-sizing:border-box;border:1px solid #cbd5f5;border-radius:8px;width:100%;padding:6px 10px;font-size:.85rem}.guest-dietary-notes::placeholder{color:#cbd5e1;opacity:1}.text-xs{font-size:.75rem}.table-wrapper{background:#ffffffe6;border:1px solid #e2e8f0;border-radius:12px;max-height:420px;overflow:auto}.table{border-collapse:collapse;width:100%;font-size:.8rem}.table thead{background:#f8fafc}.table th,.table td{text-align:left;padding:6px 10px}.table tbody tr:nth-child(2n){background:#f9fafb}.stats-box{background:#f8fafc;border-radius:12px;padding:10px 14px;font-size:.8rem}.upload-spinner{vertical-align:middle;border:2px solid;border-right-color:#0000;border-radius:50%;width:1em;height:1em;margin-right:8px;animation:.7s linear infinite upload-spin;display:inline-block}@keyframes upload-spin{to{transform:rotate(360deg)}}.file-input-native-hidden{opacity:0;pointer-events:none;overflow:hidden;width:0!important;height:0!important;position:absolute!important}.file-input-label{min-width:0;font-size:inherit;color:#64748b;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.file-input-browse{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;flex-shrink:0;padding:6px 14px;font-size:.85rem;font-weight:500}.file-input-browse:hover{background:#e2e8f0}.btn-secondary,.btn-secondary-active{color:var(--theme-heading);border:1px solid var(--theme-border);background:#fff}.btn-secondary:hover{background:color-mix(in srgb, var(--theme-bg-mid) 60%, white)}.btn-secondary-active{background:var(--theme-bg-mid);border-color:var(--theme-primary)}.btn:disabled{opacity:.5;cursor:default;box-shadow:none}.gallery-panel{border:1px solid var(--theme-border);background:color-mix(in srgb, var(--theme-bg-mid) 55%, white);border-radius:12px;margin-top:12px;padding:16px 12px}.gallery-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px;display:flex}.gallery-btn{gap:8px;padding:10px 18px}.gallery-btn-small{flex-shrink:0;gap:6px;padding:6px 12px;font-size:.75rem}.gallery-btn-meta{opacity:.75;font-weight:500}.gallery-chips{scrollbar-width:none;justify-content:safe center;gap:6px;margin:16px -12px 0;padding:2px 12px 4px;display:flex;overflow-x:auto}.gallery-chips::-webkit-scrollbar{display:none}.gallery-chip{border:1px solid var(--theme-border);color:#334155;cursor:pointer;background:#fff;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;font-weight:500;display:inline-flex}.gallery-chip:hover{border-color:var(--theme-primary)}.gallery-chip.is-active{background:var(--theme-primary);border-color:var(--theme-primary);color:#fff}.gallery-chip-count{background:var(--theme-bg-mid);color:var(--theme-heading);border-radius:999px;padding:1px 6px;font-size:.7rem;font-weight:600}.gallery-chip.is-active .gallery-chip-count{color:#fff;background:#ffffff40}.gallery-folder{text-align:left;margin-top:18px}.gallery-folder-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.gallery-folder-title{color:var(--theme-heading);text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:600;overflow:hidden}.gallery-folder-meta{color:#64748b;font-size:.75rem}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:6px;display:grid}@media (min-width:600px){.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))}}.gallery-tile{aspect-ratio:1;cursor:pointer;background:var(--theme-bg-mid);outline-offset:-3px;border:none;border-radius:10px;outline:3px solid #0000;padding:0;transition:outline-color .15s;display:block;position:relative;overflow:hidden}.gallery-tile:focus-visible{outline-color:var(--theme-primary)}.gallery-tile-media{object-fit:cover;pointer-events:none;width:100%;height:100%;transition:transform .25s,opacity .15s;display:block}@media (hover:hover){.gallery-tile:hover .gallery-tile-media{transform:scale(1.04)}}.gallery-tile.is-selecting .gallery-tile-media{opacity:.85}.gallery-tile.is-selected{outline-color:var(--theme-primary)}.gallery-tile.is-selected .gallery-tile-media{opacity:1;border-radius:6px;transform:scale(.92)}.gallery-tile-fallback{color:var(--theme-heading);flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:absolute;inset:0}.gallery-tile-play{box-sizing:border-box;color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a8c;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding-left:2px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.gallery-tile-check{color:#fff;box-sizing:border-box;background:#0f172a40;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:flex;position:absolute;top:6px;right:6px;box-shadow:0 1px 4px #0f172a4d}.gallery-tile.is-selected .gallery-tile-check{background:var(--theme-primary)}.gallery-selection-bar{z-index:5;border:1px solid var(--theme-border);box-shadow:0 12px 30px var(--theme-shadow-strong);text-align:left;background:#fffffff5;border-radius:999px;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;padding:8px 8px 8px 16px;display:flex;position:sticky;bottom:12px}.gallery-icon-btn{border:1px solid var(--theme-border);color:#475569;cursor:pointer;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.gallery-lightbox{z-index:10000;color:#fff;background:#0f172af2;flex-direction:column;animation:.15s gallery-fade-in;display:flex;position:fixed;inset:0}@keyframes gallery-fade-in{0%{opacity:0}}.gallery-lightbox-top,.gallery-lightbox-bottom{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.gallery-lightbox-bottom{padding-bottom:max(16px, env(safe-area-inset-bottom))}.gallery-lightbox-sub{color:#ffffffa6;font-size:.75rem}.gallery-lightbox-name{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:500;overflow:hidden}.gallery-lightbox-stage{flex:1;justify-content:center;align-items:center;min-height:0;padding:0 12px;display:flex;position:relative}.gallery-lightbox-media{object-fit:contain;border-radius:6px;max-width:100%;max-height:100%;transition:opacity .2s}.gallery-lightbox-spinner{color:#fffc;width:28px;height:28px;margin:0;position:absolute}.gallery-lightbox-round{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.gallery-lightbox-round:hover{background:#ffffff38}.gallery-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%)}.gallery-lightbox-nav.is-prev{left:12px}.gallery-lightbox-nav.is-next{right:12px}@media (max-width:599px){.gallery-lightbox-nav{background:#0f172a73;width:36px;height:36px}.gallery-lightbox-nav.is-prev{left:4px}.gallery-lightbox-nav.is-next{right:4px}}.gallery-btn.is-busy,.gallery-btn-small.is-busy{pointer-events:none;opacity:.85}
