*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;font-size:18px}body{color:#4a3728;-webkit-font-smoothing:antialiased;background-color:#fff8f0;flex-direction:column;min-height:100dvh;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;display:flex}h1,h2,h3{font-family:Georgia,Palatino Linotype,Book Antiqua,Palatino,serif;font-weight:400;line-height:1.3}.tab-nav{justify-content:center;gap:0;width:100%;max-width:800px;margin:0 auto;padding:1rem 1rem 0;display:flex}.tab-btn{color:#8a7a6a;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:#fff;border:2px solid #e8ddd4;flex:1;max-width:260px;padding:.9rem 1.2rem;font-family:system-ui,-apple-system,sans-serif;font-size:1.05rem;font-weight:600;transition:all .2s}.tab-btn:first-child{border-right:1px solid #e8ddd4;border-radius:14px 0 0 14px}.tab-btn:last-child{border-left:1px solid #e8ddd4;border-radius:0 14px 14px 0}.tab-btn.active{color:#4a3728;background:linear-gradient(135deg,#f5c6d0 0%,#e8adb9 100%);border-color:#f5c6d0}.tab-btn:not(.active):hover{color:#4a3728;background:#fff8f0}.app-container{flex-direction:column;flex:1;justify-content:flex-start;align-items:center;padding:2rem 1.25rem 4rem;display:flex}.screen{width:100%;max-width:800px;margin-top:auto;margin-bottom:auto;animation:.4s fadeIn}.screen.active{display:block}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.screen-content{background:#fff;border-radius:20px;padding:2.5rem 2rem;box-shadow:0 2px 20px #4a37280f,0 0 0 1px #a8c3a026}.floral-border{text-align:center;margin-bottom:1.5rem;padding:1.5rem 1rem;position:relative}.floral-border:before,.floral-border:after{content:"";background:linear-gradient(90deg,#0000,#a8c3a0 20%,#f5c6d0 50%,#a8c3a0 80%,#0000);max-width:280px;height:2px;margin:0 auto;display:block}.floral-border:before{margin-bottom:1.5rem}.floral-border:after{margin-top:1.5rem}.welcome-content{text-align:center}.title-elegant{color:#4a3728;letter-spacing:.02em;margin-bottom:.25rem;font-size:2.8rem}.subtitle{color:#a8c3a0;letter-spacing:.05em;font-size:1.4rem;font-style:italic;font-weight:700}.welcome-text{color:#6b5544;max-width:560px;margin:0 auto 1.5rem;font-size:1.1rem}.headline{color:#4a3728;margin-bottom:2rem;font-size:1.55rem}.btn{cursor:pointer;text-align:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border:none;border-radius:14px;min-height:60px;padding:1rem 2rem;font-family:system-ui,-apple-system,sans-serif;font-size:1.1rem;font-weight:600;line-height:1.3;text-decoration:none;transition:all .2s;display:inline-block}.btn:active{transform:scale(.97)}.btn-primary{color:#4a3728;background:linear-gradient(135deg,#f5c6d0 0%,#e8adb9 100%);box-shadow:0 4px 12px #f5c6d066}.btn-primary:hover{box-shadow:0 6px 18px #f5c6d08c}.btn-secondary{color:#4a3728;background:#fff;border:2px solid #a8c3a0}.btn-secondary:hover{background:#f4f9f2}.btn-outline{color:#7b6b8a;background:0 0;border:2px solid #c4b7d4;border-radius:12px;min-height:48px;padding:.7rem 1.5rem;font-size:1rem}.btn-outline:hover{background:#c4b7d41a}.btn-danger{color:#fff;background:#e74c3c}.btn-danger:hover{background:#c0392b}.btn-control{min-height:52px;padding:.8rem 1.5rem;font-size:1rem}.button-group{flex-direction:column;align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.button-group .btn{width:100%;max-width:340px}.info-link{color:#a8c3a0;text-underline-offset:3px;margin-bottom:1rem;font-size:.9rem;text-decoration:underline;display:inline-block}.info-link:hover{color:#8aab80}.info-section{text-align:left;background:#a8c3a014;border:1px solid #a8c3a033;border-radius:12px;margin-top:1rem;padding:1.5rem}.info-section h3{color:#4a3728;margin-bottom:.5rem;font-size:1.1rem}.info-section p{color:#6b5544;font-size:.95rem}.screen-heading{text-align:center;color:#4a3728;margin-bottom:2rem;font-size:1.75rem}.form-group{margin-bottom:1.5rem}.form-group label{color:#4a3728;margin-bottom:.5rem;font-size:1rem;font-weight:600;display:block}.required{color:#e74c3c}.optional{color:#a8c3a0;font-size:.9em;font-weight:400}.form-group input[type=text],.form-group input[type=email]{color:#4a3728;appearance:none;background:#fff8f0;border:2px solid #e8ddd4;border-radius:12px;width:100%;padding:1rem 1.25rem;font-family:system-ui,-apple-system,sans-serif;font-size:1.1rem;transition:border-color .2s}.form-group input[type=text]:focus,.form-group input[type=email]:focus{border-color:#f5c6d0;outline:none;box-shadow:0 0 0 3px #f5c6d033}.form-group input::placeholder{color:#c4b5a8}.checkbox-group{margin-top:2rem;margin-bottom:2rem}.checkbox-label{cursor:pointer;background:#c4b7d414;border:2px solid #e8ddd4;border-radius:12px;align-items:flex-start;gap:.85rem;padding:1.25rem;transition:border-color .2s;display:flex}.checkbox-label:hover{border-color:#c4b7d4}.checkbox-label input[type=checkbox]{opacity:0;width:0;height:0;position:absolute}.checkbox-custom{background:#fff;border:2px solid #c4b7d4;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:2px;transition:all .2s;display:flex}.checkbox-label input[type=checkbox]:checked+.checkbox-custom{background:#a8c3a0;border-color:#a8c3a0}.checkbox-label input[type=checkbox]:checked+.checkbox-custom:after{content:"";border:3px solid #fff;border-width:0 3px 3px 0;width:8px;height:14px;margin-top:-3px;display:block;transform:rotate(45deg)}.checkbox-label input[type=checkbox]:focus+.checkbox-custom{box-shadow:0 0 0 3px #a8c3a04d}.checkbox-text{color:#6b5544;font-size:.95rem;line-height:1.5;font-weight:400!important}.form-error{color:#c0392b;text-align:center;background:#e74c3c14;border:1px solid #e74c3c40;border-radius:10px;margin-bottom:1.5rem;padding:.85rem 1.25rem;font-size:.95rem}.recording-content{text-align:center}.prompt-text{color:#4a3728;min-height:3em;margin-bottom:1.25rem;font-family:Georgia,Palatino Linotype,serif;font-size:1.35rem;font-style:italic;line-height:1.5}.countdown-overlay{z-index:100;background:#4a3728b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.countdown-overlay[hidden]{display:none}.countdown-number{color:#fff;font-family:Georgia,serif;font-size:8rem;animation:1s infinite countPulse}@keyframes countPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.15)}}.recording-indicator{justify-content:center;align-items:center;gap:.6rem;margin-bottom:1rem;display:flex}.recording-indicator[hidden]{display:none}.pulse-dot{background:#e74c3c;border-radius:50%;width:14px;height:14px;animation:1.2s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.85)}}.recording-label{color:#e74c3c;text-transform:uppercase;letter-spacing:.1em;font-size:1rem;font-weight:600}.timer-display{color:#4a3728;letter-spacing:.1em;margin-bottom:1.5rem;font-family:Courier New,Courier,monospace;font-size:2.8rem;font-weight:700}.btn-record{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:#fff;border:4px solid #e74c3c;border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;margin:0 auto 1.5rem;transition:all .2s;display:flex;box-shadow:0 4px 16px #e74c3c26}.btn-record:hover{box-shadow:0 6px 24px #e74c3c40}.btn-record:active{transform:scale(.95)}.btn-record.recording{animation:1.5s ease-in-out infinite recordPulse}@keyframes recordPulse{0%,to{box-shadow:0 0 #e74c3c4d}50%{box-shadow:0 0 0 20px #e74c3c00}}.record-icon{background:#e74c3c;border-radius:50%;width:48px;height:48px;transition:all .2s;display:block}.btn-record.recording .record-icon{border-radius:8px;width:36px;height:36px}.recording-controls{justify-content:center;gap:1rem;margin-bottom:1rem;display:flex}.recording-controls[hidden]{display:none}.time-limit-note{color:#b0a090;font-size:.85rem}.audio-player-wrapper{background:#fff8f0;border:1px solid #e8ddd4;border-radius:14px;margin-bottom:2rem;padding:1.25rem}.audio-player-wrapper audio{width:100%;height:48px}.upload-status{text-align:center;border-radius:10px;margin-top:1rem;padding:1rem;font-size:.95rem}.upload-status[hidden]{display:none}.upload-status.success{color:#6b8a60;background:#a8c3a026;border:1px solid #a8c3a04d}.upload-status.saving{color:#7b6b8a;background:#c4b7d426;border:1px solid #c4b7d44d}.upload-status.error{color:#c0392b;background:#e74c3c14;border:1px solid #e74c3c33}.thank-you-content{text-align:center}.thank-you-icon{color:#f5c6d0;margin-bottom:.5rem;font-size:3rem}.thank-you-text{color:#6b5544;max-width:480px;margin:0 auto 2rem;font-size:1.15rem}.status-bar{z-index:50;background:#fff;border-top:1px solid #e8ddd4;justify-content:center;align-items:center;gap:1rem;padding:.6rem 1rem;font-size:.8rem;display:flex;position:fixed;bottom:0;left:0;right:0}.status-indicator{align-items:center;gap:.4rem;display:flex}.status-indicator[hidden]{display:none}.status-indicator.online:before{content:"";background:#a8c3a0;border-radius:50%;width:8px;height:8px;display:inline-block}.status-indicator.offline{color:#c0392b}.status-indicator.offline:before{content:"";background:#e74c3c;border-radius:50%;width:8px;height:8px;display:inline-block}.status-pending{color:#7b6b8a}.status-pending[hidden]{display:none}.form-group textarea{color:#4a3728;resize:vertical;appearance:none;background:#fff8f0;border:2px solid #e8ddd4;border-radius:12px;width:100%;min-height:80px;padding:1rem 1.25rem;font-family:system-ui,-apple-system,sans-serif;font-size:1.1rem;transition:border-color .2s}.form-group textarea:focus{border-color:#f5c6d0;outline:none;box-shadow:0 0 0 3px #f5c6d033}.form-group textarea::placeholder{color:#c4b5a8}.photo-drop-zone{text-align:center;cursor:pointer;background:#c4b7d40d;border:3px dashed #c4b7d4;border-radius:16px;margin-bottom:1.5rem;padding:2.5rem 1.5rem;transition:all .2s}.photo-drop-zone:hover,.photo-drop-zone.drag-over{background:#a8c3a014;border-color:#a8c3a0}.drop-zone-icon{margin-bottom:.75rem;font-size:3rem;display:block}.drop-zone-text{color:#4a3728;margin-bottom:.4rem;font-size:1.1rem;font-weight:600}.drop-zone-hint{color:#b0a090;font-size:.9rem}.photo-preview-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem;margin-bottom:1.5rem;display:grid}.photo-preview-item{aspect-ratio:1;background:#f0ebe4;border:2px solid #e8ddd4;border-radius:12px;position:relative;overflow:hidden}.photo-preview-item img{object-fit:cover;width:100%;height:100%;display:block}.photo-preview-remove{color:#fff;cursor:pointer;background:#4a3728b3;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.1rem;line-height:1;transition:background .2s;display:flex;position:absolute;top:6px;right:6px}.photo-preview-remove:hover{background:#c0392b}.photo-count{text-align:center;color:#6b5544;margin-bottom:1.5rem;font-size:1rem;font-weight:600}.upload-progress{margin-top:1.5rem}.upload-progress[hidden]{display:none}.progress-bar-track{background:#e8ddd4;border-radius:6px;width:100%;height:12px;margin-bottom:.75rem;overflow:hidden}.progress-bar-fill{background:linear-gradient(90deg,#a8c3a0,#8aab80);border-radius:6px;width:0%;height:100%;transition:width .3s}.progress-text{text-align:center;color:#6b5544;font-size:.95rem}@media (width<=600px){html{font-size:16px}.app-container{padding:1.25rem 1rem 3.5rem}.screen-content{border-radius:16px;padding:1.75rem 1.25rem}.title-elegant{font-size:2.2rem}.headline{font-size:1.3rem}.prompt-text{font-size:1.15rem}.timer-display{font-size:2.2rem}.btn-record{width:100px;height:100px}.record-icon{width:40px;height:40px}.btn-record.recording .record-icon{width:30px;height:30px}.recording-controls{flex-direction:column;align-items:center}.recording-controls .btn{width:100%;max-width:280px}.checkbox-label{padding:1rem}.checkbox-text{font-size:.88rem}}@media (width>=601px){.button-group{flex-direction:row;justify-content:center}.button-group .btn{width:auto;min-width:220px}}
