/* =====================================================================
   Home, people & travel hub (+ emoji/photo fields in forms)
   ===================================================================== */
.emojis{display:flex;flex-wrap:wrap;gap:6px}
.emo{width:42px;height:42px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);font-size:1.3rem;cursor:pointer;padding:0}
.emo.on{border-color:var(--ink);background:var(--alert-soft)}
.emo-own{width:120px!important;border-radius:12px}
.photo-pick{width:140px;height:140px;border:2px dashed var(--line);border-radius:14px;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;color:var(--muted);font-weight:700;font-size:.85rem;padding:8px;overflow:hidden;text-align:center}
.photo-pick.has{padding:0;border-style:solid}
.photo-pick img{width:100%;height:100%;object-fit:cover}
/* chores, maintenance */
.rooms{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}
.rooms h3{font-family:var(--display);font-size:1.1rem;margin:0 0 4px}
.rooms ul{margin:0;padding-left:18px;font-size:.93rem;display:flex;flex-direction:column;gap:4px}
.maint{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.maint h3{font-family:var(--display);margin:0;font-size:1.25rem}
.maint .grow{flex:1 1 260px}
.maint-next{display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right}
.maint-next p{margin:0}.maint-next b{font-family:var(--display);font-size:1.3rem}
.mini-thumbs{display:flex;gap:6px;margin-top:8px}.mini-thumbs img{width:54px;height:54px;border-radius:8px;object-fit:cover}
/* mood boards */
.mboard{display:flex;flex-direction:column;gap:12px}
.mgrid2{columns:220px;column-gap:14px;padding:16px}
.mtile{break-inside:avoid;margin:0 0 14px;border-radius:14px;overflow:hidden;position:relative;display:block}
.mtile img{width:100%;display:block}
.mtile .icon-btn{position:absolute;top:8px;right:8px;width:30px;height:30px;opacity:.9}
.mtile.add{width:100%;min-height:160px;border:2px dashed var(--line);background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);cursor:pointer;padding:16px;text-align:center;font:inherit;font-weight:700}
/* vehicles */
.veh{display:flex;flex-direction:column;gap:12px;padding-top:0;overflow:hidden}
.veh-ph{margin:0 -20px;height:170px;border:0;border-bottom:1px solid var(--line);background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--muted);cursor:pointer;font-weight:700;padding:0;overflow:hidden}
.veh-ph img{width:100%;height:100%;object-fit:cover}
.veh-ph .ic{width:40px;height:40px;stroke-width:1.3}
.veh h3{font-family:var(--display);margin:0;font-size:1.35rem}
.veh-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.veh-stats b{display:block;font-family:var(--display);font-size:1.3rem}
.veh-stats small{color:var(--muted);font-size:.78rem}
/* people */
.avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-size:1.6rem;font-weight:var(--hw);border:1.5px solid var(--ink);overflow:hidden;flex:none}
.avatar img{width:100%;height:100%;object-fit:cover}
.avatar.sm{width:38px;height:38px;font-size:1.05rem}
.avatar.tint-0{background:var(--calm-soft)}.avatar.tint-1{background:var(--alert-soft)}.avatar.tint-2{background:var(--money-soft)}.avatar.tint-3{background:var(--do-soft)}
.person{display:flex;flex-direction:column;gap:8px}
.p-name{font-family:var(--display);font-size:1.25rem}
.person .tx-main small .ic,.person .small .ic,.rows small .ic{width:13px;height:13px;vertical-align:-2px}
.person p{margin:0}
.p-foot{margin-top:auto;border-top:1px dashed var(--line);padding-top:10px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
/* gifts */
.gift-groups{columns:260px;column-gap:16px}
.ggroup{break-inside:avoid;margin-bottom:18px;display:flex;flex-direction:column;gap:10px}
.gg-h{font-family:var(--display);font-size:1.35rem;margin:0}
.gg-h small{font-family:var(--font);font-size:.8rem;font-weight:600}
.gift{display:flex;flex-direction:column;gap:6px}
.gift h4{margin:4px 0 0;font-size:1.05rem}
.gift p{margin:0}
.gift .muted .ic{width:13px;height:13px;vertical-align:-2px}
.g-emo{font-size:2rem;line-height:1}
.g-ph{width:56px;height:56px;border-radius:10px;object-fit:cover}
.g-price{font-family:var(--display);font-size:1.4rem;font-weight:var(--hw)}
.gift.st-given{opacity:.65}
button.tag{cursor:pointer;font:inherit;font-size:.75rem;font-weight:800}
.gst-idea{background:var(--alert-soft)!important}.gst-bought{background:var(--calm-soft)!important}.gst-wrapped{background:var(--do-soft)!important}.gst-given{background:var(--money-soft)!important}
/* travel */
.world{background:color-mix(in srgb,var(--calm) 10%,var(--surface));border-radius:14px;overflow:hidden;min-height:120px;display:grid;place-items:center}
.map-svg{width:100%;height:auto;display:block}
.m-sea{fill:color-mix(in srgb,var(--calm) 14%,var(--surface))}
.m-c{fill:var(--surface);stroke:color-mix(in srgb,var(--ink) 35%,transparent);stroke-width:.4;cursor:pointer;transition:fill .15s}
.m-c:hover{fill:var(--alert-soft)}
.m-c.been{fill:color-mix(in srgb,var(--do) 55%,var(--surface))}
.m-c.plan{fill:color-mix(in srgb,var(--money) 45%,var(--surface))}
.lgd.been{background:color-mix(in srgb,var(--do) 55%,var(--surface));height:12px;width:12px}
.lgd.plan{background:color-mix(in srgb,var(--money) 45%,var(--surface));height:12px;width:12px}
.trip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px}
.tcard{background:#fffdf8;color:#2b2a30;border:1px solid var(--line);padding:10px 10px 16px;box-shadow:0 14px 26px -18px rgb(0 0 0/.55);display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;cursor:pointer;font:inherit}
html[data-doodles] .tcard:nth-child(odd){transform:rotate(-1.2deg)}
html[data-doodles] .tcard:nth-child(even){transform:rotate(1deg)}
.tcard small{color:#666;display:flex;gap:4px;align-items:center}
.tcard small .ic{width:13px;height:13px}
.t-ph{position:relative;width:100%;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;color:#fff;border:0;padding:0;cursor:pointer}
.t-ph img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.t-ph .ic{width:42px;height:42px;stroke-width:1.4}
.t-ph .tag{position:absolute;top:8px;left:8px;background:#fffdf8;color:#2b2a30}
.art-0{background:linear-gradient(160deg,#3b2f6b,#c46d9a 70%,#f2b178)}.art-1{background:linear-gradient(180deg,#f7a26b,#f5d28a 55%,#3aa6a0 56%,#2d7d8c)}.art-2{background:linear-gradient(180deg,#1d2440,#2e5e7a 55%,#7fd1b9)}.art-3{background:linear-gradient(180deg,#f3c6b0,#f6e2b6 55%,#7aa7d6 56%,#4b7cb8)}
.t-title{font-family:var(--display);font-style:italic;font-size:1.35rem;line-height:1.15;margin-top:4px}
.trip-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:center}
@media(max-width:800px){.trip-hero{grid-template-columns:minmax(0,1fr)}}
.t-ph.big{border:10px solid #fffdf8;box-shadow:0 18px 30px -18px rgb(0 0 0/.55);border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-weight:700}
html[data-doodles] .t-ph.big{transform:rotate(-1deg)}
.trip-hero .mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
