:root{font-family:Arial,"Segoe UI",sans-serif;color:#1e2530;background:#f4f6f9}*{box-sizing:border-box}body{margin:0;background:#f4f6f9;color:#1e2530}a{text-decoration:none;color:inherit}.couple-topbar{height:72px;background:#fff;border-bottom:1px solid #e4e8ee;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;position:sticky;top:0;z-index:20}.couple-brand{display:flex;align-items:center;gap:10px;font-size:20px}.couple-brand span,.couple-login-brand>span{width:42px;height:42px;border-radius:14px;background:#1e2530;color:#fff;display:grid;place-items:center;font-weight:800}.couple-user{display:flex;align-items:center;gap:14px;color:#667085}.couple-user form{margin:0}.couple-user button{border:1px solid #d8dee7;background:#fff;padding:8px 12px;border-radius:10px;cursor:pointer}.couple-container{max-width:1320px;margin:0 auto;padding:36px 28px 70px}.couple-hero{background:#fff;border:1px solid #e2e7ee;border-radius:28px;padding:35px 38px;margin-bottom:24px;box-shadow:0 12px 32px rgba(35,45,60,.05)}.couple-hero p{margin:0 0 8px;color:#737d8c}.couple-hero h1{margin:0 0 8px;font-size:38px}.couple-hero span{color:#667085}.couple-wedding-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:20px}.couple-wedding-card,.couple-section{background:#fff;border:1px solid #e2e7ee;border-radius:24px;padding:24px;box-shadow:0 10px 26px rgba(35,45,60,.04)}.couple-wedding-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(35,45,60,.08)}.couple-card-top,.couple-card-bottom,.couple-section-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.couple-card-top strong{font-size:20px}.couple-card-top span,.couple-muted,.couple-section-title p{color:#707b8c}.couple-muted{margin:12px 0 20px}.couple-progress{height:8px;background:#edf0f4;border-radius:999px;overflow:hidden}.couple-progress i{display:block;height:100%;background:#252d38;border-radius:999px}.couple-progress.large{height:12px;margin:14px 0 24px}.couple-card-bottom{font-size:13px;margin-top:12px}.couple-section{margin-bottom:22px}.couple-section-title h2{margin:0}.couple-section-title p{margin:5px 0 0}.couple-stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.couple-stage-grid>div{background:#f7f8fa;border-radius:16px;padding:16px}.couple-stage-grid span,.couple-stage-grid b{display:block;margin-bottom:9px}.couple-kpis{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}.couple-kpis span{background:#f7f8fa;padding:14px 18px;border-radius:14px}.couple-album{margin-top:28px}.couple-album h3{font-size:22px}.couple-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}.couple-photo{border:1px solid #e0e5ec;background:#fff;border-radius:18px;overflow:hidden;padding:0;cursor:pointer;text-align:right;color:#1e2530}.couple-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#e9edf2}.couple-photo span{display:block;padding:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.couple-photo:hover{box-shadow:0 10px 28px rgba(20,30,45,.12)}.couple-empty{background:#fff;border:1px dashed #d4dae4;padding:30px;border-radius:18px;color:#707b8c}.couple-back{display:inline-block;margin:0 0 15px;color:#566171}.couple-alert{padding:14px 18px;border-radius:14px;margin-bottom:18px}.couple-alert.error{background:#fff0f0;border:1px solid #ffd0d0;color:#9d3131}.couple-alert.success{background:#effaf3;border:1px solid #caedd5;color:#286b40}.couple-login-body{min-height:100vh;display:grid;place-items:center;padding:25px;background:#eef1f5}.couple-login-card{width:min(460px,100%);background:#fff;border:1px solid #e0e5ec;border-radius:28px;padding:34px;box-shadow:0 22px 60px rgba(26,36,50,.1)}.couple-login-brand{display:flex;align-items:center;gap:12px}.couple-login-brand strong,.couple-login-brand small{display:block}.couple-login-brand small{color:#7a8492}.couple-login-card h1{margin:30px 0 8px}.couple-login-card>p{color:#727d8c}.couple-login-card label{display:block;font-weight:700;margin-top:18px}.couple-login-card input[type=email],.couple-login-card input[type=password]{width:100%;margin-top:8px;border:1px solid #d7dde6;border-radius:13px;padding:13px 14px;font:inherit}.couple-login-card .remember{font-weight:400;display:flex;gap:8px;align-items:center}.couple-login-card button[type=submit]{width:100%;border:0;border-radius:14px;background:#202832;color:#fff;padding:14px;font:inherit;font-weight:800;margin-top:20px;cursor:pointer}.couple-viewer[hidden]{display:none}.couple-viewer{position:fixed;inset:0;background:rgba(8,11,16,.94);z-index:100;display:flex;align-items:center;justify-content:center;padding:70px 90px}.viewer-content{max-width:calc(100vw - 180px);max-height:calc(100vh - 110px);text-align:center}.viewer-content img{max-width:100%;max-height:calc(100vh - 150px);object-fit:contain}.viewer-name{color:#fff;margin-top:10px}.viewer-close,.viewer-nav{position:absolute;border:0;color:#fff;background:rgba(255,255,255,.12);cursor:pointer;border-radius:999px}.viewer-close{top:20px;left:25px;width:48px;height:48px;font-size:30px}.viewer-nav{top:50%;width:52px;height:52px;font-size:38px}.viewer-nav.prev{right:22px}.viewer-nav.next{left:22px}.viewer-open{overflow:hidden}@media(max-width:700px){.couple-container{padding:20px 14px 50px}.couple-topbar{padding:0 16px}.couple-user>span{display:none}.couple-hero{padding:25px 22px}.couple-hero h1{font-size:29px}.couple-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.couple-photo span{font-size:12px}.couple-viewer{padding:60px 12px}.viewer-content{max-width:100%}.viewer-nav{width:42px;height:42px}.viewer-nav.prev{right:8px}.viewer-nav.next{left:8px}}

/* PHASE5B_SELECTION_DRAFT */
.couple-selection-summary{position:sticky;top:78px;z-index:15;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border:1px solid #dde3eb;border-radius:20px;padding:14px;margin:18px 0;box-shadow:0 12px 30px rgba(22,31,43,.08)}
.couple-selection-summary>div{background:#f5f7fa;border-radius:14px;padding:11px 13px}.couple-selection-summary small{display:block;color:#768191;font-size:12px;margin-bottom:4px}.couple-selection-summary strong{font-size:18px}.selection-draft-badge{display:inline-flex;align-items:center;background:#fff3ce;color:#74570b;border:1px solid #f0d783;border-radius:999px;padding:7px 12px;font-weight:800;font-size:13px}.selection-help{background:#f7f8fb;border:1px solid #e1e6ee;border-radius:15px;padding:13px 15px;color:#5f6977;margin-bottom:18px}.selection-gallery{align-items:start}.couple-photo-card{border:1px solid #dfe5ed;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 5px 16px rgba(26,34,45,.04)}.couple-photo-card .couple-photo{border:0;border-radius:0;width:100%;box-shadow:none}.selection-actions{display:grid;grid-template-columns:1fr;gap:7px;padding:9px}.selection-toggle{border:1px solid #dce2e9;background:#f7f8fa;border-radius:11px;padding:9px 8px;font:inherit;font-size:12px;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;color:#566170}.selection-toggle span{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e5e9ef;color:#7b8490}.selection-toggle.print.active{background:#eaf7ef;border-color:#a9d8b8;color:#1e6a38}.selection-toggle.print.active span{background:#2f9852;color:#fff}.selection-toggle.guest.active{background:#edf3ff;border-color:#b5c9ed;color:#315b97}.selection-toggle.guest.active span{background:#4777b8;color:#fff}.selection-toggle:disabled{opacity:.55;cursor:wait}@media(max-width:900px){.couple-selection-summary{grid-template-columns:repeat(2,minmax(0,1fr));top:68px}.couple-selection-summary .wide{grid-column:1/-1}}@media(max-width:520px){.couple-selection-summary{position:static;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.couple-selection-summary strong{font-size:16px}.selection-toggle{font-size:11px;padding:8px 5px}}

/* PHASE5B_HOTFIX1_VIEWER_SELECTION_CONTROLS */
.viewer-selection-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.viewer-selection-toggle{min-width:175px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff;border-radius:13px;padding:10px 14px;font:inherit;font-size:13px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;backdrop-filter:blur(8px)}
.viewer-selection-toggle span{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.16);color:#fff}
.viewer-selection-toggle.print.active{background:rgba(47,152,82,.28);border-color:rgba(127,220,157,.75);color:#e8ffef}
.viewer-selection-toggle.print.active span{background:#2f9852;color:#fff}
.viewer-selection-toggle.guest.active{background:rgba(71,119,184,.32);border-color:rgba(154,187,232,.8);color:#edf4ff}
.viewer-selection-toggle.guest.active span{background:#4777b8;color:#fff}
.viewer-selection-toggle:disabled{opacity:.52;cursor:wait}
.viewer-selection-note{margin-top:8px;color:rgba(255,255,255,.6);font-size:11px}
.couple-viewer .viewer-content img{max-height:calc(100vh - 245px)}
@media(max-width:700px){.viewer-selection-actions{gap:7px;width:100%}.viewer-selection-toggle{min-width:0;flex:1 1 calc(50% - 7px);padding:9px 7px;font-size:11px}.couple-viewer .viewer-content img{max-height:calc(100vh - 235px)}.viewer-selection-note{font-size:10px}}

/* PHASE5C_FINAL_SELECTION */
.selection-final-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.couple-finalize-button{border:0;border-radius:12px;padding:10px 15px;font:inherit;font-weight:800;cursor:pointer;background:#111827;color:#fff}
.selection-lock-notice{margin:14px 0;padding:12px 14px;border-radius:14px;font-size:.92rem;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.selection-lock-notice.locked{background:#eef2ff;border:1px solid #c7d2fe}.selection-lock-notice.reopened{background:#fff7ed;border:1px solid #fed7aa}
.selection-draft-badge.status-submitted{background:#dcfce7;color:#166534}.selection-draft-badge.status-reopened{background:#ffedd5;color:#9a3412}
.selection-toggle:disabled,.viewer-selection-toggle:disabled{cursor:not-allowed;opacity:.68}
@media(max-width:700px){.selection-final-actions{justify-content:flex-start}.couple-finalize-button{width:100%}}
