:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#182a27;background:#f3f6f3}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #e4b44b;outline-offset:2px}.shell{max-width:760px;min-height:100vh;margin:auto;background:#fff;padding:0 20px 95px}.top{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e7eeea;padding:22px 0 18px}.top h1{font-size:23px;margin:4px 0 0}.top small{color:#63746d;font-size:10px;letter-spacing:1px}.top .profile{margin-left:auto;border:0;background:#eff5f0;border-radius:24px;padding:9px;font-size:12px;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.back{border:0;background:none;font-size:25px}.hidden{visibility:hidden}.banner{background:linear-gradient(125deg,#075e4a,#18a68a);color:white;border-radius:22px;padding:27px 24px;margin:22px 0}.banner h2{margin:0;font-size:25px}.banner p{line-height:1.5;margin-bottom:0}.homegrid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.tile{min-height:150px;background:#fff;border:1px solid #e0eae4;box-shadow:0 3px 13px #173e2b10;border-radius:18px;padding:17px;text-align:left;display:flex;flex-direction:column;position:relative;gap:7px}.tileicon{font-size:27px}.tile strong{font-size:17px}.tile small{color:#64766d}.tile b{position:absolute;right:15px;bottom:16px;font-size:23px;color:#075e4a}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e1e9e5;box-shadow:0 -3px 14px #18392b10;padding:10px 4px max(10px,env(safe-area-inset-bottom))}.bottom button{border:0;background:none;color:#7b8d84;font-size:23px;display:flex;flex-direction:column;align-items:center;gap:1px;min-width:57px}.bottom span{font-size:10px}.bottom .active{color:#087659;font-weight:700}.note,.intro,.hint{color:#687970;font-size:14px;line-height:1.5}.note{margin-top:22px}.intro{margin:20px 0}.filters{display:flex;gap:8px;margin:18px 0}.chip{border:1px solid #d9e6df;border-radius:30px;padding:9px 18px;background:#fff}.chip.on{background:#087659;color:#fff}.cards{display:grid;gap:14px;margin:16px 0}.activity,.panel{border:1px solid #e0e8e2;border-radius:19px;background:white;padding:19px;box-shadow:0 4px 15px #163b2a0b}.itemhead{display:flex;gap:14px;align-items:center}.emoji{font-size:37px;background:#eaf6ee;border-radius:13px;width:67px;height:67px;display:grid;place-items:center;flex-shrink:0}.itemname{font-weight:750;font-size:17px}.cost{margin:6px 0;font-size:13px}.cost span{background:#fff0cb;color:#805100;padding:3px 7px;border-radius:7px;font-weight:750}.itemhead small{color:#687970}.activity p{font-size:14px;color:#52675b;line-height:1.5}.votes{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.votes button{padding:12px 4px;border:1px solid #d7e2da;background:white;border-radius:10px;font-size:13px}.votes .yes{background:#d8f4e2;border-color:#16a263;color:#006e40;font-weight:700}.votes .maybe{background:#fff1c6;border-color:#dba734;font-weight:700}.votes .no{background:#f1f2f2;border-color:#8b9491;font-weight:700}.panel{margin:20px 0}.panel h2,.section{font-size:19px;margin:0 0 12px}.section{margin-top:28px}select,input{width:100%;background:#fff;border:1px solid #cadbd1;border-radius:10px;padding:14px;margin:8px 0 20px;color:#1d3128}.primary{background:#087659;color:#fff;border:0;border-radius:11px;padding:15px 18px;font-weight:700;width:100%;margin:12px 0}.panel label{display:block;font-weight:650;margin-top:16px}.login{min-height:100vh;display:flex;flex-direction:column;justify-content:center;max-width:480px;margin:auto;background:linear-gradient(#c1e8da,#fff)}.hero{background:linear-gradient(135deg,#074c42,#159f81);color:#fff;padding:42px 25px;border-radius:0 0 30px 30px}.hero h1{margin:0}.login .panel{margin:30px 20px;text-align:center}.bigicon{font-size:38px}.error{color:#b22525}.chooser{display:flex;flex-direction:column;justify-content:center;padding-bottom:25px}.chooser>h1{text-align:center}.chooser .panel{text-align:center}.textbutton{background:none;border:0;color:#087659}.sr{position:absolute;left:-9999px}.results{display:grid;gap:8px}.result{padding:13px 0;border-bottom:1px solid #e9efeb}.result summary{cursor:pointer;list-style:none}.result summary::-webkit-details-marker{display:none}.result summary>span:first-child{display:flex;justify-content:space-between;gap:10px;font-size:13px}.result small{color:#687970}.meter{display:flex;width:100%;height:12px;border-radius:9px;background:#e4e8e5;margin-top:9px;overflow:hidden}.meter i{background:#11865f}.meter em{background:#efb936}.resultdetail{font-size:13px;line-height:1.5;color:#40574a}.budgetrow{border-bottom:1px solid #e9efeb;padding:12px 0;display:grid;gap:4px}.budgetrow span{color:#087659}.budgetrow small{color:#687970}@media(min-width:680px){.cards{grid-template-columns:1fr 1fr}.homegrid{gap:20px}.tile{min-height:175px}.shell{padding-left:35px;padding-right:35px}}@media(max-width:370px){.votes button{font-size:11px}.top h1{font-size:20px}}

/* Guided three-step flow */
.homegrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tile{min-height:150px;padding:14px}.tile strong{font-size:15px}.tile small{font-size:12px}.tilecomplete{border-color:#3aaf80;background:#f2fbf6}.progressheader{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:20px 0 9px}.progressheader span{color:#087659}.progressbar{height:9px;background:#e7ede9;border-radius:20px;overflow:hidden;margin-bottom:17px}.progressbar i{display:block;height:100%;background:#087659;transition:width .2s}.grouplink{width:100%;background:#f2f7f4;border:1px solid #cfe1d5;border-radius:12px;color:#086a50;padding:15px;font-weight:700;margin-top:18px}.profile{margin-left:auto;background:#eff5f0;border-radius:24px;padding:9px;font-size:12px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stepper{display:flex;gap:6px;margin:19px 0;justify-content:space-between}.step{border:1px solid #d8e5dd;border-radius:30px;padding:9px 8px;font-size:11px;text-align:center;flex:1;color:#6c7c73}.step.current{background:#087659;color:#fff;border-color:#087659;font-weight:700}.step.done:not(.current){background:#e5f5eb;color:#086c49}.pagecontrols{display:flex;gap:12px;margin:24px 0 32px}.pagecontrols button{flex:1;margin:0}.secondary{border:1px solid #b8d3c2;background:#fff;color:#087659;border-radius:11px;padding:15px;font-weight:700}.stylechoices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 22px}.stylechoice{border:1px solid #d5e3d9;border-radius:12px;background:#fff;padding:15px 10px;text-align:left;min-height:72px;font-size:13px;display:flex;align-items:center;gap:8px}.stylechoice.chosen{background:#e4f6eb;border-color:#148457;color:#05643f;font-weight:700}.stylecircle{font-size:22px;color:#0c8054}.required{font-size:11px;color:#a34b12;background:#fff0d7;padding:3px 6px;border-radius:5px;vertical-align:middle}.votes .no-option{color:inherit;border-color:#d7e2da;background:#fff;font-weight:400}.votes .no-option.selected{background:#f9d8d8;color:#8d2020;border-color:#c44848;font-weight:750}.top .profile{border:0}.panel select{margin-top:10px}@media(max-width:420px){.homegrid{grid-template-columns:1fr}.tile{min-height:95px;padding:12px 16px}.tileicon{font-size:22px}.tile b{bottom:30px}.stylechoices{grid-template-columns:1fr}.step{font-size:10px;padding:8px 4px}}

/* v4: account logout and neutral text on selected No Thanks */
.top .account{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:0}
.top .account .profile{margin-left:0}
.logout-button{border:0;background:transparent;color:#52675b;text-decoration:underline;text-underline-offset:2px;font-size:12px;padding:3px 8px}
.logout-button:hover{color:#075e4a}
.votes .no-option.selected{color:#182a27}

/* v5: anonymous group budget distribution */
.aggregate-bars{display:grid;gap:17px;margin:20px 0}
.aggregate-heading{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:7px}
.aggregate-heading span{white-space:nowrap;color:#52675b}
.aggregate-track{height:13px;border-radius:12px;background:#e7ede9;overflow:hidden}
.aggregate-track span{display:block;height:100%;background:#11865f;border-radius:12px;transition:width .2s}

/* v6: consistent blue vote label, including selected No Thanks */
.votes button{color:#245b83}
.votes .no-option,.votes .no-option.selected{color:#245b83}

/* v7: keep the login form above the mobile on-screen keyboard.
   Top-align instead of vertically centering on narrow/touch screens;
   allow scrolling when the visual viewport shrinks. */
@media (max-width: 600px), (max-height: 650px) and (pointer: coarse) {
  .login {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    justify-content: flex-start;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .login .hero { padding: 22px 22px; }
  .login .panel { margin: 14px 16px 24px; padding: 17px; }
  .login .bigicon { font-size: 29px; }
  .login .panel h2 { margin: 7px 0; }
  .login .panel p { margin: 8px 0; }
  .login input { margin: 8px 0 10px; font-size: 16px; }
  .login .primary { margin: 8px 0; }
}

/* v8 — Airbnb-inspired visual refresh (original styling, no brand assets). */
:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#222;background:#f7f7f7}
body{background:#f7f7f7;color:#222}
button,select,input{font-family:inherit}
button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #ff385c;outline-offset:3px}
.shell{max-width:940px;background:#fff;box-shadow:0 0 55px rgba(0,0,0,.035);padding-bottom:110px}
.top{padding:25px 0 22px;border-bottom:1px solid #ebebeb;gap:16px}
.top h1{font-size:25px;letter-spacing:-.7px;font-weight:750;color:#222}
.top small{color:#717171;font-size:10px;letter-spacing:1.3px;font-weight:750}
.top .profile{background:#f7f7f7;color:#222;border:1px solid #ebebeb;padding:10px 14px;font-weight:650;max-width:160px}
.back{color:#222;font-size:24px}
.logout-button{color:#717171;text-decoration:none;font-weight:600}
.logout-button:hover{color:#e31c5f;text-decoration:underline}
.banner{background:linear-gradient(120deg,rgba(0,0,0,.48),rgba(0,0,0,.12)),linear-gradient(125deg,#427c78 0%,#4fa1a4 47%,#edab7b 100%);border-radius:23px;padding:38px 32px;margin:26px 0 29px;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.banner h2{font-size:31px;letter-spacing:-1px;line-height:1.15}
.banner p{font-size:15px;max-width:460px;color:#fff;line-height:1.6}
.progressheader{font-size:15px;color:#222}.progressheader span{color:#717171;font-weight:650}
.progressbar{background:#ebebeb;height:7px;margin-bottom:21px}.progressbar i{background:#ff385c}
.homegrid{gap:13px}.tile{border:1px solid #dedede;border-radius:18px;box-shadow:0 4px 14px rgba(0,0,0,.045);padding:20px;min-height:155px;transition:transform .15s,box-shadow .15s,border-color .15s}
.tile:hover,.activity:hover{border-color:#b0b0b0;box-shadow:0 7px 22px rgba(0,0,0,.075)}.tile:hover{transform:translateY(-2px)}
.tileicon{font-size:30px}.tile strong{font-size:17px;letter-spacing:-.35px;color:#222}.tile small{color:#717171}.tile b{color:#ff385c}
.tilecomplete{background:#fff9fa;border-color:#ffb7c5}.tilecomplete small{color:#b51946;font-weight:700}
.grouplink{background:#fff;border:1px solid #dedede;color:#222;border-radius:13px;margin-top:23px;padding:17px;font-size:14px;box-shadow:0 3px 9px rgba(0,0,0,.035)}.grouplink:hover{border-color:#222}
.note,.intro,.hint{color:#717171}.intro{font-size:15px}
.bottom{max-width:940px;border-top:1px solid #ebebeb;box-shadow:0 -3px 18px rgba(0,0,0,.04);padding-top:13px}
.bottom button{color:#717171;font-size:23px}.bottom .active{color:#e31c5f}.bottom span{font-size:11px}
.step{border:1px solid #dedede;color:#717171;background:#fff}.step.current{background:#222;color:#fff;border-color:#222}.step.done:not(.current){background:#fff1f3;border-color:#ffc2cc;color:#c4214f}
.chip{border-color:#dedede;color:#222;font-weight:600}.chip.on{background:#222;border-color:#222;color:#fff}
.cards{gap:17px}.activity,.panel{border:1px solid #e5e5e5;border-radius:18px;padding:21px;box-shadow:0 3px 15px rgba(0,0,0,.035)}
.itemname{font-size:18px;color:#222;letter-spacing:-.35px}.emoji{background:#fff2ef;border-radius:14px;width:68px;height:68px}
.cost{color:#484848}.cost span{background:#fff0f2;color:#bd224e;border-radius:7px}
.itemhead small,.activity p,.result small,.resultdetail,.budgetrow small{color:#717171}
.votes button{border-color:#dedede;border-radius:10px;background:#fff;color:#245b83;font-weight:650;padding:12px 5px}
.votes .yes{background:#e4f6ec;border-color:#59b789;color:#245b83}
.votes .maybe{background:#fff2d4;border-color:#e2b45e;color:#245b83}
.votes .no-option,.votes .no-option:not(.selected){background:#fff;border-color:#dedede;color:#245b83;font-weight:650}
.votes .no-option.selected{background:#ffe1e6;border-color:#ff718d;color:#245b83;font-weight:750}
.panel h2,.section{color:#222;font-size:21px;letter-spacing:-.45px}
.primary{background:linear-gradient(100deg,#ff385c,#e31c5f);border-radius:11px;color:white;box-shadow:0 4px 11px rgba(227,28,95,.14)}
.primary:hover{filter:brightness(.97)}.secondary{border-color:#dedede;color:#222;background:#fff;border-radius:11px}
.stylechoice{border-color:#dedede;border-radius:12px;color:#222}.stylechoice.chosen{background:#fff0f3;border-color:#ff385c;color:#9b1741}.stylecircle{color:#e31c5f}
.required{color:#b51f45;background:#fff0f3}
select,input{border:1px solid #b0b0b0;border-radius:10px;color:#222}
.login{background:#fff;max-width:520px}.hero{background:linear-gradient(120deg,rgba(0,0,0,.25),rgba(0,0,0,.02)),linear-gradient(125deg,#4a8e87,#f0ae86);border-radius:0 0 26px 26px;padding:46px 30px}
.hero h1{font-size:33px;letter-spacing:-1px}.hero p{color:#fff}
.login .panel{border-radius:18px;box-shadow:0 6px 25px rgba(0,0,0,.06)}
.chooser{background:#fff}.chooser .panel{max-width:520px;width:100%;align-self:center}.chooser>h1{letter-spacing:-1px}
.textbutton{color:#e31c5f;font-weight:650}
.aggregate-track{background:#f0f0f0}.aggregate-track span,.meter i{background:#ff385c}.meter em{background:#f6b84e}
.aggregate-heading span{color:#717171}
@media(min-width:680px){.shell{padding-left:40px;padding-right:40px}.tile{min-height:178px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.homegrid{grid-template-columns:1fr}.tile{min-height:94px}.banner{padding:28px 22px}.banner h2{font-size:27px}.top h1{font-size:21px}.top small{font-size:9px}.top .profile{max-width:100px;padding:8px}.votes button{font-size:12px}}
@media(max-width:600px){.login{justify-content:flex-start;min-height:100dvh;padding-top:max(12px,env(safe-area-inset-top))}.login .hero{padding:24px 22px}.login .panel{margin:15px 16px 24px;padding:18px}.login input{font-size:16px}}
