:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#503b43;background:#faf1eb}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:#783e57}.shell{max-width:1040px;margin:auto;min-height:100vh;padding:20px 20px 105px}.head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:5px 0 24px}.brand{font-size:20px;letter-spacing:.13em;font-weight:800;color:#65364b}.tagline{font-size:12px;color:#997682;margin-top:4px}.pill{border-radius:50px;background:#f0dfe2;color:#77475b;padding:9px 13px;font-size:12px;font-weight:700}.hero{background:linear-gradient(125deg,#66374b,#a7667e);color:white;padding:30px;border-radius:27px;box-shadow:0 14px 30px #65364b25;margin-bottom:18px}.hero h1{font-size:clamp(27px,6vw,42px);letter-spacing:-.03em;margin:10px 0}.hero p{color:#f7e6ec;max-width:560px;line-height:1.6}.eyebrow{letter-spacing:.13em;font-size:11px;font-weight:800;text-transform:uppercase;opacity:.8}.layout{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.card{background:#fffdfc;border:1px solid #eedfe4;border-radius:21px;padding:20px;box-shadow:0 4px 14px #65364b0b;margin-bottom:16px}.card h2,.card h3{margin:0 0 13px;color:#65364b}.muted{color:#957c83;font-size:13px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tile{border:1px solid #eddce2;padding:17px;background:white;border-radius:16px;min-height:105px;text-align:left}.tile strong{display:block;color:#66374b;margin:8px 0 4px}.tile small{color:#8c707a}.nav{position:fixed;bottom:0;left:0;right:0;background:#fffaf9f5;backdrop-filter:blur(14px);border-top:1px solid #ead9df;display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 8px max(10px,env(safe-area-inset-bottom));z-index:20;overflow:auto}.nav button{border:0;background:transparent;color:#765e67;padding:9px 12px;border-radius:14px;font-size:12px;white-space:nowrap}.nav button.active{background:#65364b;color:#fff}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.item{padding:14px 0;border-bottom:1px solid #f0e4e8}.item:last-child{border:0}.item b{color:#5d384a}.btn{border:0;border-radius:13px;background:#65364b;color:white;padding:12px 16px;font-weight:700}.btn.secondary{background:#f2e5e9;color:#65364b}.btn.ghost{background:transparent;color:#65364b;border:1px solid #dec7cf}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}input,select,textarea{background:#fff;border:1px solid #e3cbd4;border-radius:12px;padding:12px;width:100%;color:#503b43}label{display:block;font-weight:650;font-size:13px;margin:12px 0 5px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.notice{padding:14px;border:1px solid #d6b4c0;background:#f9edf1;border-radius:15px;color:#72495a;font-size:13px;line-height:1.5;margin:0 0 18px}.metric{font-size:28px;font-weight:800;color:#65364b}.progress{height:8px;border-radius:50px;background:#f2e4e9;overflow:hidden}.progress span{height:100%;background:#ac6d83;display:block;border-radius:50px}.badge{background:#f0e1e5;color:#79485e;border-radius:99px;padding:5px 8px;font-size:11px;font-weight:700}.secret{background:#f8edf0;border:1px dashed #c08da1;border-radius:14px;padding:16px}.screen-title{font-size:29px;margin:0 0 8px;color:#60364a}.tiny{font-size:12px}.empty{color:#997f88;padding:20px;text-align:center;border:1px dashed #e7cfd8;border-radius:16px}.chat{min-height:170px;max-height:350px;overflow:auto;display:grid;gap:10px}.bubble{padding:12px;border-radius:14px;background:#f2e5ea;line-height:1.6;max-width:90%;white-space:pre-wrap}.bubble.me{background:#65364b;color:#fff;justify-self:end}.footerline{margin-top:30px;color:#9b828b;font-size:12px;text-align:center}@media(max-width:700px){.layout{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}.hero{padding:24px}.shell{padding:15px 15px 100px}.card{padding:17px}.nav{justify-content:flex-start}.formgrid{grid-template-columns:1fr}.head{align-items:flex-start}}@media(max-width:380px){.grid{grid-template-columns:1fr}}

/* MELONWELS v0.2 — refinamiento romántico y navegación */
:root{--wine:#702a46;--wine-dark:#502438;--rose:#bd7b90;--ivory:#fffaf6;--paper:#fffdfc;--ink:#593449}
body{background:radial-gradient(ellipse at 15% 0%,#fbe5e3 0%,transparent 46%),linear-gradient(150deg,#fff8f3 0%,#f9e9eb 57%,#f9f1e7 100%);color:var(--ink)}
.shell{max-width:1140px;padding:28px 28px 120px}.head{margin:0 0 27px;padding:12px 2px;align-items:center}
.head-left,.head-right{display:flex;align-items:center;gap:15px}.head-right{gap:12px}.head-right select{padding:8px;width:auto;min-width:120px}.head-right label{margin:0 0 4px}
.brand{font-family:Georgia,'Times New Roman',serif;font-size:clamp(21px,3vw,27px);letter-spacing:.075em;color:var(--wine)}.brand span{font-weight:400}.tagline{font-style:italic;color:#98717f}
.back-button,.settings-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border-radius:50%;border:1px solid #e7cad2;background:#fff8f7;color:var(--wine);font-size:24px;box-shadow:0 5px 13px #66364b10}.settings-button{font-size:21px}
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 92% 5%,#bd7a85 0%,transparent 40%),linear-gradient(110deg,#58253e,#863b59 55%,#b87587);padding:clamp(27px,5vw,52px);border-radius:30px;box-shadow:0 20px 44px #692a4630;margin-bottom:23px;isolation:isolate}.hero:after{content:'♡';position:absolute;right:6%;bottom:-55px;font-size:230px;line-height:1;color:#ffffff14;pointer-events:none;z-index:-1;font-family:Georgia,serif}.hero-mark{font-family:Georgia,serif;font-size:21px;letter-spacing:.14em;color:#ffe7e9;margin-top:25px}.hero h1{font-family:Georgia,serif;font-weight:500;line-height:1.15;margin-top:13px;font-size:clamp(30px,5vw,51px)}.hero p{font-size:15px;max-width:520px}.hero-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.btn.light{background:#fff9f4;color:#682c47}.btn.light-outline{background:#ffffff10;border:1px solid #ffffff77;color:#fff}
.welcome-section{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:25px 2px 17px}.welcome-section h2{font-family:Georgia,serif;color:var(--wine);font-size:27px;font-weight:500;margin:6px 0}.eyebrow.ink{color:#a77082}.grid{gap:23px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:28px}.tile{min-height:140px;border-radius:24px;border:1px solid #ead0d7;text-align:left;padding:24px;background:linear-gradient(150deg,#ffffff 40%,#fff8f7);box-shadow:0 10px 22px #773d5410;transition:transform .18s,box-shadow .18s,border-color .18s}.tile:hover,.tile:focus-visible{transform:translateY(-3px);box-shadow:0 14px 27px #773d5420;border-color:#c895a6}.tile span{font-size:24px}.tile strong{font-family:Georgia,serif;font-size:20px;font-weight:600;margin:13px 0 8px;color:#6c314d}.tile small{font-size:13px}
.card{padding:28px;border-radius:26px;border-color:#efd8db;box-shadow:0 9px 24px #773d540b;margin-bottom:23px}.card h2{font-family:Georgia,serif;font-weight:600;font-size:25px;color:var(--wine)}.item{padding:18px 0}.btn{background:var(--wine);border-radius:16px;min-height:44px}.btn.secondary{background:#f5e5e8;color:var(--wine)}.nav{gap:10px;background:#fff9f8f5;padding:12px 16px max(12px,env(safe-area-inset-bottom));box-shadow:0 -6px 22px #6b354313}.nav button{border-radius:14px;min-height:44px}.nav button.active{background:var(--wine)}.notice{background:#fff5f3;border-color:#e9ced7}.screen-title{font-family:Georgia,serif;font-size:34px;font-weight:500;color:var(--wine)}
.rose-mode{--wine:#91516c;--wine-dark:#723950;--rose:#e0a5b6;background:radial-gradient(ellipse at 0% 0%,#ffe3e9,transparent 55%),linear-gradient(130deg,#fff7f8,#f9e7f0)}
@media(max-width:700px){.shell{padding:16px 16px 104px}.head{gap:12px}.head-left{gap:8px}.head-right{gap:6px}.brand{font-size:20px;letter-spacing:.02em}.tagline{font-size:10px}.back-button,.settings-button{width:37px;height:37px}.head-right select{min-width:80px;width:88px;padding:7px;font-size:12px}.head-right label{font-size:10px}.hero{padding:30px 25px}.hero-mark{font-size:15px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.tile{padding:18px;min-height:126px}.tile strong{font-size:17px}.card{padding:20px;margin-bottom:18px}.card h2{font-size:23px}.welcome-section h2{font-size:24px}}
@media(max-width:390px){.tagline{display:none}.head-right select{width:75px;min-width:75px}.grid{gap:12px}.tile{padding:14px;min-height:112px}.welcome-section .btn{font-size:12px}}
@media(prefers-reduced-motion:reduce){.tile{transition:none}}
