:root{
  --wine:#7d1826;
  --rose:#bd737a;
  --rose-dark:#a85f68;
  --blush:#f7e9e8;
  --blush-2:#fbf4f2;
  --gold:#c38a3d;
  --gold-soft:#e7c795;
  --ink:#30343a;
  --muted:#77706f;
  --green:#5b6b55;
  --line:#ead7d0;
  --white:#fffdfb;
  --shadow:0 12px 32px rgba(89,52,45,.09);
}
*{box-sizing:border-box}
html,body{margin:0;background:linear-gradient(180deg,#fffdfb 0%,#fff7f4 100%);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100%}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 85% 6%,rgba(239,201,192,.28),transparent 24%),radial-gradient(circle at 7% 82%,rgba(231,199,149,.16),transparent 26%)}
button,input,select{font:inherit}
button{cursor:pointer}
.app-shell{max-width:760px;margin:0 auto;min-height:100vh;padding-bottom:92px;position:relative}
.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:18px 18px 12px;background:rgba(255,253,251,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(195,138,61,.14)}
.eyebrow,.section-kicker,.modal-kicker{font:600 11px/1.2 Georgia,serif;letter-spacing:.22em;color:var(--rose-dark)}
.topbar h1{margin:3px 0 0;font:600 27px/1.05 Georgia,serif;color:var(--wine)}
.topbar h1 span,.script{font-family:"Brush Script MT","Segoe Script",cursive;font-weight:400;color:var(--gold)}
.icon-btn,.soft-btn,.primary-btn,.mini-btn{border:0;border-radius:14px}
.icon-btn{width:43px;height:43px;background:var(--blush);color:var(--wine);font-size:18px}
.main-content{padding:18px}
.hero-card{background:linear-gradient(135deg,#fff 0%,#fcf2ef 100%);border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.hero-card:after{content:"♡";position:absolute;right:-12px;top:-20px;font:120px Georgia;color:rgba(195,138,61,.08)}
.hero-title{font:600 30px/1.1 Georgia,serif;color:var(--wine);margin:6px 0}
.hero-sub{color:var(--muted);font-size:14px;margin-bottom:14px}
.countdown{display:flex;align-items:end;gap:8px;margin:12px 0 16px}.countdown strong{font:600 44px Georgia,serif;color:var(--wine)}.countdown span{padding-bottom:7px;color:var(--rose-dark)}
.progress-track{height:11px;background:#f1e4df;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,var(--rose-dark),var(--gold));border-radius:999px}
.progress-row{display:flex;justify-content:space-between;margin-top:7px;font-size:12px;color:var(--muted)}
.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:16px 0}
.stat-card,.card{background:rgba(255,255,255,.8);border:1px solid var(--line);border-radius:19px;box-shadow:0 7px 22px rgba(89,52,45,.05)}
.stat-card{padding:15px}.stat-card .label{font-size:12px;color:var(--muted)}.stat-card strong{display:block;font:600 23px Georgia,serif;color:var(--wine);margin-top:4px}.stat-card small{color:var(--rose-dark)}
.section-head{display:flex;align-items:end;justify-content:space-between;margin:24px 2px 10px}.section-head h2{font:600 21px Georgia,serif;color:var(--wine);margin:2px 0}.section-head button{background:none;border:0;color:var(--rose-dark);font-weight:600;font-size:13px}
.card{padding:15px;margin-bottom:12px}
.stage-card{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center}.stage-icon{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#f6e5e4,#f0d8d4);display:grid;place-items:center;color:var(--wine);font-size:21px}.stage-card h3{margin:0;color:var(--wine);font:600 16px Georgia,serif}.stage-card p{margin:4px 0 7px;font-size:12px;color:var(--muted)}.stage-percent{font:700 13px Georgia,serif;color:var(--gold)}
.mini-progress{height:6px;background:#f1e6e2;border-radius:999px;overflow:hidden}.mini-progress span{display:block;height:100%;background:var(--rose-dark)}
.task-row{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:start;padding:12px 4px;border-bottom:1px solid #f1e5e1}.task-row:last-child{border-bottom:0}.task-check{appearance:none;width:22px;height:22px;border:2px solid #d5a7a5;border-radius:7px;margin:0;position:relative}.task-check:checked{background:var(--rose-dark);border-color:var(--rose-dark)}.task-check:checked:after{content:"✓";color:#fff;position:absolute;left:4px;top:-1px;font-weight:700}.task-title{font-size:14px;font-weight:600}.task-meta{font-size:11px;color:var(--muted);margin-top:4px}.pill{font-size:10px;padding:5px 8px;border-radius:999px;background:var(--blush);color:var(--wine);white-space:nowrap}.pill.late{background:#fde4df;color:#9b352d}.pill.done{background:#e9f0e7;color:#466041}
.primary-btn{width:100%;padding:13px 16px;background:linear-gradient(135deg,var(--rose-dark),#8f3948);color:#fff;font-weight:700;box-shadow:0 8px 18px rgba(168,95,104,.2)}
.soft-btn{padding:10px 12px;background:var(--blush);color:var(--wine);font-weight:600}.mini-btn{padding:7px 10px;background:#fff;border:1px solid var(--line);color:var(--rose-dark)}
.quick-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.quick-actions button{min-height:54px}
.chart-card{padding:18px}.ring-wrap{display:flex;align-items:center;gap:18px}.ring{--p:0;width:116px;height:116px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--rose-dark) calc(var(--p)*1%),#f1e4df 0);position:relative}.ring:after{content:"";position:absolute;width:84px;height:84px;border-radius:50%;background:var(--white)}.ring strong{position:relative;z-index:1;font:600 25px Georgia;color:var(--wine)}.legend{flex:1}.legend-row{display:flex;justify-content:space-between;font-size:12px;padding:6px 0;border-bottom:1px solid #f1e5e1}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}
.money-row,.guest-row,.vendor-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #f1e5e1}.money-row:last-child,.guest-row:last-child,.vendor-row:last-child{border-bottom:0}.money-row strong,.guest-row strong{color:var(--wine)}
.table-like{width:100%;border-collapse:collapse;font-size:12px}.table-like th{text-align:left;color:var(--rose-dark);font-family:Georgia,serif;font-weight:600;padding:9px;border-bottom:1px solid var(--line)}.table-like td{padding:9px;border-bottom:1px solid #f2e7e3}.table-wrap{overflow:auto}
.empty{padding:26px;text-align:center;color:var(--muted)}
.bottom-nav{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:rgba(255,253,251,.96);backdrop-filter:blur(18px);border-top:1px solid var(--line)}
.nav-item{border:0;background:none;color:#8f8582;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px}.nav-item span{font-size:20px}.nav-item small{font-size:10px}.nav-item.active{color:var(--wine)}
.modal{width:min(92vw,540px);border:0;border-radius:24px;padding:0;box-shadow:0 24px 70px rgba(63,31,25,.25)}.modal::backdrop{background:rgba(70,40,35,.35);backdrop-filter:blur(4px)}.modal form{padding:24px;position:relative;background:#fffdfb}.modal h2{font:600 25px Georgia;color:var(--wine);margin:8px 0 18px}.modal label{display:block;font-size:12px;color:var(--muted);margin:12px 0}.modal input,.modal select{width:100%;margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.modal-close{position:absolute;right:16px;top:13px;border:0;background:none;font-size:26px;color:var(--rose-dark)}
.filter-row{display:flex;gap:7px;overflow:auto;padding-bottom:6px}.filter-chip{border:1px solid var(--line);background:#fff;padding:8px 12px;border-radius:999px;color:var(--muted);white-space:nowrap}.filter-chip.active{background:var(--wine);color:#fff;border-color:var(--wine)}
.bar-list{display:grid;gap:10px}.bar-row{display:grid;grid-template-columns:115px 1fr 38px;gap:8px;align-items:center;font-size:11px}.bar{height:9px;background:#f1e4df;border-radius:999px;overflow:hidden}.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--rose-dark),var(--gold));border-radius:999px}.bar-row b{color:var(--wine)}
.more-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.more-card{text-align:left;min-height:110px}.more-card strong{display:block;font:600 17px Georgia;color:var(--wine);margin:8px 0 4px}.more-card p{margin:0;color:var(--muted);font-size:12px}
@media(min-width:640px){.stat-grid{grid-template-columns:repeat(4,1fr)}.quick-actions{grid-template-columns:repeat(4,1fr)}}
.splash-screen{position:fixed;inset:0;z-index:100;background:linear-gradient(160deg,#fffdfb 0%,#f9ece9 62%,#f3dfda 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;transition:.45s ease}
.splash-screen.hidden{opacity:0;visibility:hidden;pointer-events:none;transform:scale(1.02)}
.splash-flower{width:86px;height:86px;border:1px solid var(--gold-soft);border-radius:50%;display:grid;place-items:center;font:54px Georgia,serif;color:var(--rose-dark);background:rgba(255,255,255,.55);box-shadow:var(--shadow)}
.splash-kicker{margin-top:24px;font:600 12px Georgia,serif;letter-spacing:.28em;color:var(--rose-dark)}
.splash-title{font:600 42px/1.05 Georgia,serif;color:var(--wine);margin:10px 0 6px}.splash-title span{display:block;font-family:"Brush Script MT","Segoe Script",cursive;font-weight:400;color:var(--gold);font-size:56px}
.splash-screen p{max-width:390px;color:var(--muted);line-height:1.55;margin:8px 0 24px}.splash-btn{max-width:320px}
.couple-profile{display:flex;gap:14px;align-items:center;margin-bottom:16px}.couple-photo{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 1px var(--gold-soft),0 7px 20px rgba(89,52,45,.12)}.couple-photo.placeholder{display:grid;place-items:center;background:var(--blush);font:32px Georgia;color:var(--wine)}
.photo-preview-wrap{display:none;margin:8px 0 14px}.photo-preview-wrap.show{display:block}.photo-preview-wrap img{width:90px;height:90px;border-radius:50%;object-fit:cover;border:2px solid var(--gold-soft)}
.alert-card{background:linear-gradient(135deg,#fff8f5,#fff);border-left:4px solid var(--gold);padding:14px;border-radius:16px;margin-bottom:10px}.alert-card.late-alert{border-left-color:#b84a45}.alert-card strong{color:var(--wine);display:block;margin-bottom:3px}.alert-card small{color:var(--muted)}
.dashboard-donut{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(var(--rose-dark) calc(var(--p)*1%),#f1e4df 0)}.dashboard-donut:after{content:"";position:absolute;width:108px;height:108px;border-radius:50%;background:var(--white)}.dashboard-donut .inside{z-index:1;text-align:center}.dashboard-donut strong{font:600 30px Georgia;color:var(--wine);display:block}.dashboard-donut small{color:var(--muted)}
.dashboard-visual{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.dashboard-visual .summary{flex:1;min-width:200px}.summary-line{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #f1e5e1;font-size:12px}.summary-line b{color:var(--wine)}
.share-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.share-grid button{min-height:52px}
.notice-banner{padding:12px 14px;background:#fff8ea;border:1px solid #ecd8ad;border-radius:16px;color:#7b5d28;font-size:12px;line-height:1.45;margin-bottom:14px}
@media(max-width:480px){.splash-title{font-size:34px}.splash-title span{font-size:47px}.dashboard-visual{justify-content:center}.dashboard-visual .summary{width:100%}.share-grid{grid-template-columns:1fr}}
.readvale-signature{margin-top:26px;display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--muted);font-size:10px;letter-spacing:.14em;text-transform:uppercase}
.readvale-signature img{display:block;width:145px;max-height:92px;object-fit:contain;mix-blend-mode:multiply;filter:saturate(.86)}
.br-date{font-variant-numeric:tabular-nums;letter-spacing:.04em}
@media(max-width:480px){.readvale-signature{margin-top:22px}.readvale-signature img{width:125px;max-height:80px}}
.topbar-actions{display:flex;align-items:center;gap:8px}.help-icon-btn{font:700 16px Georgia,serif}.help-modal{width:min(94vw,720px);max-height:88vh}.help-shell{padding:24px;background:#fffdfb;position:relative;max-height:84vh;overflow:auto}.help-shell h2{font:600 28px Georgia,serif;color:var(--wine);margin:8px 0}.help-intro{color:var(--muted);font-size:13px;line-height:1.55;margin:0 0 16px}.help-search-wrap{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:0 12px;margin-bottom:16px}.help-search-wrap span{font-size:20px;color:var(--rose-dark)}.help-search-wrap input{border:0;outline:0;width:100%;padding:13px 0;background:transparent}.help-categories{display:flex;gap:8px;overflow:auto;padding-bottom:8px;margin-bottom:12px}.help-chip{border:1px solid var(--line);background:#fff;padding:8px 11px;border-radius:999px;color:var(--muted);white-space:nowrap}.help-chip.active{background:var(--wine);color:#fff;border-color:var(--wine)}.help-list{display:grid;gap:10px}.help-item{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.help-question{width:100%;border:0;background:transparent;text-align:left;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--wine);font:600 15px Georgia,serif}.help-question span:last-child{font-family:Arial,sans-serif;font-size:19px;color:var(--rose-dark)}.help-answer{display:none;padding:0 16px 16px;color:#554d4a;font-size:13px;line-height:1.58}.help-item.open .help-answer{display:block}.help-item.open .help-question span:last-child{transform:rotate(45deg)}.help-answer strong{color:var(--wine)}.help-answer ul{margin:8px 0 0 18px;padding:0}.help-answer li{margin:5px 0}.help-empty{padding:26px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:16px}.context-help{margin:10px 0 16px;padding:12px 14px;border-radius:15px;background:linear-gradient(135deg,#fff7f4,#fff);border:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.context-help div{font-size:12px;color:var(--muted)}.context-help strong{display:block;color:var(--wine);font:600 14px Georgia,serif;margin-bottom:2px}.context-help button{border:0;background:var(--blush);color:var(--wine);border-radius:999px;padding:8px 12px;font-weight:700;white-space:nowrap}
/* V6 refinements */
.app-shell{max-width:1120px}
.bottom-nav{width:min(1120px,100%)}
.topbar-right{display:flex;align-items:center;gap:14px}.topbar-readvale{width:92px;height:48px;object-fit:contain;mix-blend-mode:multiply}.topbar-title{min-width:0}
.row-actions,.inline-actions{display:flex;align-items:center;gap:6px}.row-actions{justify-content:flex-end;flex-wrap:wrap}.tiny-action{width:28px;height:28px;border-radius:9px;border:1px solid var(--line);background:#fff;color:var(--rose-dark);font-weight:700}.tiny-action.danger{color:#a3423c;background:#fff8f6}.money-side,.guest-side{text-align:right}.guest-side{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.vendor-row strong{color:var(--wine)}
.notice-banner.warning{background:#fff1ee;border-color:#eab7ae;color:#8f342e}.privacy-card p{margin:0 0 10px;line-height:1.6;color:var(--muted);font-size:13px}.privacy-card p:last-child{margin-bottom:0}.app-footer{margin:28px 0 10px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;color:var(--muted)}.app-footer img{width:120px;max-height:80px;object-fit:contain;mix-blend-mode:multiply}.app-footer span{font:600 13px Georgia,serif;color:var(--wine)}.app-footer small{font-size:11px}
@media(min-width:900px){.main-content{padding:24px 28px}.topbar{padding:18px 28px 12px}.hero-card{padding:26px}.card{padding:18px}.dashboard-visual{justify-content:flex-start}.bar-row{grid-template-columns:170px 1fr 46px}.more-grid{grid-template-columns:repeat(3,1fr)}.share-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:640px){.topbar-readvale{width:68px;height:38px}.topbar{padding-left:14px;padding-right:14px}.topbar h1{font-size:23px}.eyebrow{font-size:9px}.topbar-right{gap:7px}.icon-btn{width:38px;height:38px}.task-row{grid-template-columns:28px 1fr}.task-row .row-actions{grid-column:2;justify-content:flex-start}.pill{order:3}.money-row,.guest-row,.vendor-row{grid-template-columns:1fr}.money-side,.guest-side{text-align:left;align-items:flex-start}.inline-actions{margin-top:5px}}
/* V7 — convidados e RSVP */
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.guest-overview-card{background:linear-gradient(145deg,#fffdfb,#fff6f4)}
.guest-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.guest-overview-head h3{margin:4px 0 0;font:600 22px Georgia,serif;color:var(--wine)}
.guest-rate{text-align:right;max-width:190px}.guest-rate strong{display:block;font:600 30px Georgia,serif;color:var(--wine)}.guest-rate span{font-size:11px;color:var(--muted);line-height:1.35}
.guest-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.guest-summary-grid>div{border:1px solid var(--line);background:rgba(255,255,255,.8);border-radius:14px;padding:12px}.guest-summary-grid span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.guest-summary-grid b{display:block;margin-top:4px;font:600 22px Georgia,serif;color:var(--wine)}
.guest-tools{display:grid;grid-template-columns:1fr auto;gap:10px;margin:14px 0 10px}.guest-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 12px;color:var(--rose-dark)}.guest-search input{width:100%;border:0;outline:0;padding:11px 0;background:transparent}.guest-tools select{border:1px solid var(--line);border-radius:14px;background:#fff;padding:0 12px;color:var(--muted)}
.guest-list-head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line);color:var(--wine)}.guest-list-head small{color:var(--muted);font-weight:400}
.guest-row-rich{padding:14px 0}.guest-main{min-width:0}.guest-badges{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.guest-badges span{font-size:10px;border:1px solid var(--line);border-radius:999px;padding:4px 7px;background:#fff8f6;color:var(--wine)}
@media(max-width:760px){.guest-summary-grid{grid-template-columns:repeat(2,1fr)}.guest-overview-head{flex-direction:column}.guest-rate{text-align:left}.guest-tools{grid-template-columns:1fr}.guest-tools select{height:44px}.guest-list-head{align-items:flex-start;flex-direction:column}.form-grid-2{grid-template-columns:1fr}}
