.personal-dialog { width:min(600px,calc(100% - 24px)); max-height:88dvh; overflow:auto; border:1px solid #6f807a; border-radius:20px; padding:22px; background:#10242a; color:#eee6d8; }
.personal-dialog::backdrop { background:#031014aa; }
.personal-dialog h2,.personal-dialog h3 { font-family:Georgia,serif; }
.personal-dialog label { display:grid; gap:6px; margin:14px 0; font-size:14px; }
.personal-dialog input,.personal-dialog select,.personal-dialog button { font:inherit; border:1px solid #637479; border-radius:8px; padding:11px; color:#eee6d8; background:#1c333a; min-width:0; }
.personal-dialog .personal-check { display:flex; align-items:flex-start; gap:10px; }
.personal-check input { width:20px; height:20px; flex-shrink:0; }
.personal-top,.personal-actions { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.personal-top h2 { margin:0; }
.personal-dialog .personal-primary { background:#d1aa80; color:#12262c; }
.personal-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; }
.personal-hint,.personal-dialog p { color:#c3cfcd; font-size:13px; }
.personal-group { display:flex; align-items:center; gap:10px; }
.personal-group>input { width:65%; }
#personalError { color:#ffc4ad; }
#personalHome { margin:10px 0; }
.personal-start { display:block; width:100%; padding:12px 14px; border:1px solid #a88b68; border-radius:12px; background:#10242a; color:#edddc5; text-align:left; }
.personal-start span { display:block; font-size:12px; color:#bdcdcf; margin-top:4px; }
.expedition-week { display:grid; gap:4px; padding:12px 4px; color:#e6d9c4; font-size:13px; }
.expedition-week small { color:#bdcdcf; }
body[data-screen=home] #home { height:auto; min-height:100%; }
.personal-goal { padding:14px; margin:14px 0; border:1px solid #536d71; border-radius:12px; background:#142c33; }
.personal-dialog [hidden] { display:none!important; }
@media(max-width:440px) { .personal-grid { grid-template-columns:1fr; } .personal-dialog { padding:16px; } }

/* Nutrition preferences choose defaults; all tools remain accessible. */
#accountPanel button { margin:6px 8px 6px 0; }

.expedition-week { background:#10242ae8; border:1px solid #586764; border-radius:10px; margin-top:8px; padding:10px 12px; }

/* First account entry: choose whether to bring the local guest journey. */
.guest-transfer { width:min(480px,calc(100% - 24px)); max-height:calc(100dvh - 32px); padding:0; margin:auto; overflow:auto; border:1px solid #b49a7377; border-radius:22px; background:#12272e; color:#eee1cd; box-shadow:0 24px 100px #0008; }
.guest-transfer::backdrop { background:#041015bd; }
.guest-transfer-scene { padding:48px 24px 24px; background:linear-gradient(0deg,#12272e,#12272e44),url('assets/worlds/alpine-recomp-hut-fixed.webp') center 38%/cover; }
.guest-transfer-scene p { font:9px system-ui; letter-spacing:.16em; color:#e0c69e; margin:0 0 12px; }
.guest-transfer h2 { font:32px/1.1 Georgia,serif; margin:0; color:#f1e5d2; }
.guest-transfer-body { padding:0 24px 24px; }
.guest-transfer-body p { font:14px/1.6 system-ui; }
.guest-transfer-body .guest-transfer-note { font-size:11px; color:#a6bcb5; }
.guest-transfer-actions { display:grid; gap:10px; margin-top:22px; }
.guest-transfer-actions button { min-height:48px; border:1px solid #bfa78066; border-radius:10px; padding:12px; color:#e1d3bd; background:#1b333a; font:13px system-ui; }
.guest-transfer-actions #guestTransferYes { background:#d2b38c; color:#16282e; border-color:#e4c69b; font-weight:600; }
.guest-transfer-actions button:focus-visible { outline:2px solid #f8d8a6; outline-offset:3px; }
#guestTransferError { color:#f2b39f; font-size:12px; }
#guestTransferError:empty { display:none; }

.phase-target-preview{margin:14px 0;padding:16px;border:1px solid #aa956c77;border-radius:12px;background:#1c3338;color:#ebdfc8;font:13px/1.5 system-ui}.phase-target-preview ul{list-style:none;padding:0;margin:12px 0}.phase-target-preview li{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid #b0bca533}.phase-target-preview p{font-size:12px;color:#b6c5bd}.nutrition-adjustments{margin:14px 0;padding:12px;border:1px solid #798b7d66;border-radius:10px}.nutrition-adjustments summary{cursor:pointer;min-height:32px}.nutrition-adjustments p{font-size:12px;line-height:1.5;color:#bbc9c2}
