/* Luna's approved natural identity, 25 October 2026. */
:root{--petrol:#004049;--orange:#2EBDC3;--surface:#00505ae8;--line:#96e7ea66;--txt:#F9FBFB;--muted:#c4d8d8;--cyan:#a8edf0;--sand:#E5D4BE}
html{background:#004049}body{background:linear-gradient(120deg,#00343de8,#004049d4 50%,#00343df0);color:var(--txt)}
h1,h2,h3,.portraitCaption strong,.homeShortcut strong,.moreCard strong{font-family:Montserrat,Arial,sans-serif;letter-spacing:-.025em;text-transform:none}
h1{font-weight:700}h2,h3{font-weight:600}.shell{max-width:1440px;padding-inline:clamp(16px,3vw,44px)}
.topbar{min-height:94px;border-bottom:1px solid #a8edf047}.brandHome img{width:166px;max-height:68px;object-fit:contain}.online{color:#e0eae6}.iconButton{border-color:var(--line);background:#00404966;backdrop-filter:blur(14px)}
.homeView{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(410px,.85fr);gap:24px;align-items:center;min-height:690px;padding:28px 28px 28px 0;margin:24px 0;border:1px solid #dfefdbb0;border-radius:14px;overflow:hidden;box-shadow:0 20px 70px #001e2a40;background:#004049}
.homePortrait{position:absolute;inset:0;z-index:-1;min-height:0;max-height:none;height:auto;align-self:stretch;border:0;border-radius:0;background:#173c32}
.homePortrait img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;transform:none;object-fit:cover;object-position:35% center}
.homePortrait:after{inset:0;background:linear-gradient(90deg,#00272e0d 10%,#00343d05 32%,#00343d50 60%,#002f38b5),linear-gradient(0deg,#00272eb3,transparent 32%)}
.portraitCaption{left:32px;bottom:34px;max-width:40%;gap:9px;text-shadow:0 2px 15px #00262eaa}.portraitCaption span{font-size:10px;letter-spacing:1.8px;color:#fff3dd}.portraitCaption strong{font-size:clamp(19px,2.4vw,30px);line-height:1.3;font-weight:600;color:#fff}
.homeContent{grid-column:2;position:relative;min-width:0;padding:28px;background:linear-gradient(135deg,#004049dc,#00343deb);border:1px solid #9ce6e89c;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:12px;box-shadow:0 6px 30px #001f2f40,0 0 25px #2ebdc318}
.kicker{font-size:10px;letter-spacing:1.8px;color:var(--cyan)}.homeContent h1{font-size:clamp(28px,3.2vw,43px);line-height:1.22;margin:14px 0 14px}.homeContent h1 em{color:#a8edf0;font-style:normal}.homeContent .intro{font-size:14px;line-height:1.7;color:#e5e8dd}
.homeActions{gap:10px;margin-top:22px}.homeAction{min-width:0;min-height:76px;border-radius:9px;padding:14px;gap:11px;background:#00616b65;border-color:#9ce6e877}.homeAction strong{font-size:13px;font-weight:600}.homeAction small{font-size:10px;color:#d4e8e7}.primaryAction{background:#2ebdc3;color:#00343d;border-color:#77dce0}.primaryAction small{color:#00343d}.primaryAction:hover{background:#73d9dc}.homeAction:hover{border-color:#c4f3f4}.actionIcon,.shortcutIcon{color:#a8edf0}.primaryAction .actionIcon{color:#00343d}
.homeShortcuts{margin-top:23px}.homeShortcuts h2{font-family:Montserrat,Arial,sans-serif;font-size:11px;letter-spacing:1.5px;font-weight:600;color:#d5eeee}.homeShortcutGrid{gap:8px}.homeShortcut{min-height:64px;padding:12px;gap:11px;border-radius:8px;border-color:#9ce6e84a;background:#00556060;box-shadow:none}.homeShortcut:hover{background:#0c747b90;border-color:#a8edf0}.homeShortcut strong{font-size:12px;line-height:1.45;font-weight:600}.homeShortcut small{font-size:9px;line-height:1.5;color:#c4d8d8}.shortcutIcon{flex-basis:23px}.shortcutIcon svg{width:23px;height:23px;stroke-width:1.5}
.homeLinks{margin-top:12px;gap:8px 22px}.homeLinks .textButton{font-size:11px;min-height:40px}.homeContent>.quietHint{font-size:10px;line-height:1.6;color:#c4d8d8;margin-top:12px}
.card,.accessCard,.moreCard,.contextRecord,.receiptCard,.daySummary,.followupCard{background:linear-gradient(135deg,#00505ae8,#003d48ed);border-color:#96e7ea66;border-radius:12px;box-shadow:0 10px 35px #001e2e30;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.moreCard:hover{background:#00616be8;border-color:#a8edf0}.moreHighlights .moreCard{background:linear-gradient(135deg,#00616bdf,#004049ed)}.pageHeading{padding-top:4px}.pageHeading h1{font-size:clamp(28px,3vw,38px);line-height:1.3}.pageHeading .intro{color:#e0eae6}
.solidBtn{background:#2ebdc3;border-color:#73d9dc;color:#00343d}.solidBtn:hover{background:#73d9dc}.secondaryBtn{background:#00404999;border-color:#96e7ea66}.secondaryBtn:hover{background:#00616baa}.textButton{color:#a8edf0}
.appDock{background:#004049ec;border-color:#96e7ea77;border-radius:14px 14px 0 0;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 -5px 30px #001e2e40}.appDock :is(button,a)[aria-current=page]{background:#2ebdc323;color:#a8edf0}.appDock :is(button,a){color:#e4efea}.appDock :is(button,a) svg{stroke-width:1.6}
footer{color:#d1dcd7;border-color:#96e7ea44;font-size:10px;letter-spacing:.3px}
dialog{background:#004049f5;border-color:#96e7ea99;border-radius:12px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}dialog::backdrop{background:#002a32bb}
input,select,textarea,.voiceInputWrap{border-color:#96e7ea66!important}input[type=checkbox]{accent-color:#2ebdc3}
.figureStage{height:420px;overflow:visible}.aura{background:radial-gradient(ellipse,#e5d4be20,transparent 65%);border-color:#96e7ea44}.pet{width:255px;aspect-ratio:2/3;height:auto;bottom:20px;background:none;transform:none}
.petFallback,.petStrip,.petStrip[data-clip=waving],.petStrip[data-clip=thinking]{width:100%;height:100%;object-fit:contain;transform:none;animation:none!important;max-width:none}
.pet[data-motion=true] .petStrip[data-active=true]{animation:lunaNaturalPresence 5s ease-in-out infinite!important;transform-origin:50% 94%}
.pet[data-clip=waving][data-motion=true] .petStrip[data-active=true]{animation:lunaNaturalGreeting 1.4s ease-in-out!important}
.figureStatus{background:#004049e8;border-color:#96e7ea77;color:#e4efea}.speech{background:#f9fbfb;color:#004049;border-color:#e5d4be}.act.selected{border-color:#a8edf0;background:#2ebdc326;color:#f9fbfb}
@keyframes lunaNaturalPresence{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.006)}}
@keyframes lunaNaturalGreeting{0%,100%{transform:rotate(0)}50%{transform:rotate(.8deg)}}
@media(prefers-reduced-motion:reduce){.pet:not([data-motion-override=true]) .petStrip{animation:none!important}}
@media(max-width:1050px) and (min-width:651px){.homeView{grid-template-columns:minmax(0,.8fr) minmax(365px,1fr);min-height:700px;padding:20px 20px 20px 0;gap:14px}.homeContent{padding:23px}.homeContent h1{font-size:32px}.homePortrait img{object-position:32% center}.portraitCaption{left:22px;bottom:24px;max-width:32%}.portraitCaption strong{font-size:20px}.homeActions .homeAction{padding:12px;gap:8px}.homeActions .actionIcon{width:22px}.homeContent .intro{font-size:12px}.homeShortcut{padding:11px 10px}.homeShortcut strong{font-size:11px}}
@media(max-width:650px){.shell{padding-inline:max(14px,env(safe-area-inset-left))}.topbar{min-height:84px}.brandHome img{width:148px}.homeView{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:0;margin:16px 0 20px;overflow:hidden;border-radius:12px;background:none}.homePortrait{position:relative;z-index:0;inset:auto;width:100%;height:340px;min-height:340px;max-height:none;border-radius:0}.homePortrait img{inset:0;width:100%;height:100%;max-width:none;transform:none;object-fit:cover;object-position:20% center}.homePortrait:after{background:linear-gradient(0deg,#003a43e8,transparent 38%);inset:0}.portraitCaption{left:20px;bottom:23px;max-width:90%;gap:7px}.portraitCaption span{font-size:9px}.portraitCaption strong{font-size:23px}.homeContent{grid-column:auto;padding:23px 19px;border:0;border-top:1px solid #96e7ea55;border-radius:0;background:#004049ed;box-shadow:none}.homeContent h1{font-size:30px;line-height:1.25;margin:12px 0}.homeContent h1 br{display:none}.homeContent .intro{font-size:13px}.homeContent .intro br{display:none}.homeActions{margin-top:20px}.homeActions .homeAction{padding:13px 11px;min-height:74px;gap:9px}.homeActions .homeAction strong{font-size:12px}.homeActions .homeAction small{font-size:9px}.homeShortcuts{margin-top:22px}.homeShortcut{min-height:67px;padding:12px 10px;gap:9px}.homeShortcut strong{font-size:12px}.homeShortcut small{font-size:9px}.homeContent>.quietHint{margin-top:12px}.voiceView{padding-top:24px}.lunaCompanion{display:block}.figureStage{height:315px;max-width:300px}.pet{width:188px;bottom:16px}.lunaCompanion .actions{max-width:330px;margin:auto}.lunaCompanion>.textButton{margin:8px auto 0}.speech{top:8%;right:1%;font-size:11px;max-width:105px}.voiceCard .cardtop h2{font-size:23px}.card{padding:22px 18px}.pageHeading h1{font-size:29px}.appDock :is(button,a){min-height:60px}}
@media(max-width:360px){.shell{padding-inline:12px}.brandHome img{width:132px}.topbar{gap:10px}.online{font-size:9px}.homePortrait{height:290px;min-height:290px}.homeContent{padding:21px 15px}.homeContent h1{font-size:28px}.homeShortcut strong{font-size:11px}.homeShortcut{gap:7px}.homeActions .actionIcon{display:none}}
.voiceCard .cardtop{position:relative;min-height:64px;padding-left:76px}.voiceCard .cardtop:before{content:'';position:absolute;left:0;top:0;width:60px;height:60px;background:url('assets/luna-natural-portrait-20261025.webp') center/cover;border:2px solid #9ce6e8;border-radius:50%;box-shadow:0 3px 14px #001e2e44}
@media(max-width:360px){.voiceCard .cardtop{padding-left:64px}.voiceCard .cardtop:before{width:50px;height:50px}.voiceCard .cardtop h2{font-size:21px}}
.homeContent h1,.pageHeading h1,.voiceCard .cardtop h2,.modalHeading h2,.cardtop h2,.portraitCaption strong{font-family:Montserrat,Arial,sans-serif}

/* Freddy removed the standing-figure block from the conversation screen. */
.voiceView{grid-template-columns:minmax(0,1fr);max-width:960px;margin-inline:auto}
.lunaCompanion[hidden]{display:none!important}

.outfitLiveCard{display:flex;gap:16px;align-items:center;text-decoration:none;color:var(--text,#F9FBFB);padding:16px;margin:12px 0 20px;border:1px solid rgba(139,226,228,.4);border-radius:20px;background:rgba(0,64,73,.84)}.outfitLiveCard img{object-fit:contain;border-radius:12px}.outfitLiveCard>span:nth-child(2){flex:1;min-width:0}.outfitLiveCard small{display:block;margin-top:6px;line-height:1.5}

/* Freddy: calm petrol background, no flower scene (25 October 2026). */
body{background:radial-gradient(ellipse at 18% 12%,#17646b55,transparent 60%),linear-gradient(135deg,#00343d,#004049 55%,#002c35)}
.homePortrait{background:radial-gradient(ellipse at 28% 42%,#236c7260,transparent 62%),linear-gradient(125deg,#004c56,#00343d)}
.homePortrait img{width:53%;height:calc(100% - 50px);inset:12px auto auto 0;object-fit:contain;object-position:center}
@media(max-width:650px){.homePortrait{height:360px;min-height:360px}.homePortrait img{width:100%;height:100%;inset:0;object-fit:contain;object-position:center bottom}.portraitCaption{max-width:48%;left:18px;bottom:22px}.portraitCaption strong{font-size:19px}.portraitCaption span{font-size:8px}}

/* Shared visible outfit and illustrative environment, selected by the server. */
.homePortrait[data-scene]{background-image:linear-gradient(90deg,#00343d10,#00343d66),var(--luna-scene-image),linear-gradient(125deg,#004c56,#00343d);background-size:cover;background-position:center}
.homePortrait[data-light=night]{background-blend-mode:multiply; background-color:#00343d99}.homePortrait[data-light=evening]{background-color:#00343d33;background-blend-mode:multiply}
.homePortrait[data-pose=original-reference] img{padding:24px 50px 70px;object-fit:contain}.appearanceLink{display:inline-block;font-size:11px;letter-spacing:0!important;font-weight:600;min-height:30px;color:#b8f1ef}
#lunaLiveContext{letter-spacing:0;text-transform:none;font-size:12px;line-height:1.5;max-width:450px}.portraitCaption{max-width:45%}
@media(max-width:650px){.portraitCaption{max-width:80%}.homePortrait[data-pose=original-reference] img{padding:8px 70px 80px}#lunaLiveContext{font-size:10px}.appearanceLink{font-size:10px}.portraitCaption strong{font-size:18px}}

/* Complete menu: equal, readable cards on desktop and one column on phones. */
.appDock a{text-decoration:none;line-height:1.3}
#moreView{padding-top:24px}#moreView .pageHeading{margin-bottom:18px}#moreView h1{margin-bottom:8px}
#moduleGroups{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.compactModuleGroup{min-width:0;padding:16px;background:#004b55;border:1px solid #8dd8dc55;border-radius:14px}
.compactModuleGroup h2{margin:0 0 9px;padding:4px 9px 12px;font-size:17px;color:#a8edf0;font-weight:600;cursor:default}
.moduleRow{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 9px;border:0;border-radius:8px;color:#f9fbfb;font-size:13px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.moduleRow:after{content:'›';color:#9ce6e8;font-size:20px;flex-shrink:0}.moduleRow:hover{background:#2ebdc318;color:#fff}
.moduleFilter{margin-bottom:20px}.moduleFilter input{max-width:600px}.moreTools{border-top:1px solid var(--line);padding-top:12px;margin-top:20px}
@media(max-width:979px){#moduleGroups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#moduleGroups{grid-template-columns:minmax(0,1fr);gap:12px}.compactModuleGroup{padding:13px}.compactModuleGroup h2{font-size:16px;padding-bottom:9px}.moduleRow{font-size:14px;min-height:48px}#moreView{padding-top:20px}}
/* Keep the same four destinations visible in the desktop header. */
@media(min-width:1100px){.shell{padding-bottom:20px}.appDock{top:18px;bottom:auto;width:520px;padding:4px;border:1px solid #96e7ea55;border-radius:14px;box-shadow:0 5px 20px #001e2a33}.appDock :is(button,a){min-height:49px;flex-direction:row;gap:9px;font-size:12px;padding:8px}.appDock :is(button,a) svg{width:20px;height:20px}.topbar{position:relative}.viewNavigation{min-height:64px}}
/* Full workplace photographs remain visible alongside the controls. */
.homeView:has(.homePortrait[data-pose=workspace]){grid-template-columns:minmax(0,1.15fr) minmax(370px,1fr);min-height:0;padding:24px;align-items:center}
.homePortrait[data-pose=workspace]{position:relative;inset:auto;z-index:0;grid-column:1;align-self:center;width:100%;height:auto;min-height:0;max-height:none;border-radius:12px;overflow:hidden;background:#003a43}
.homePortrait[data-pose=workspace] img{display:block;position:relative;inset:auto;width:100%;height:auto;max-width:100%;aspect-ratio:3/2;object-fit:contain;object-position:center;padding:0;transform:none}
.homePortrait[data-pose=workspace]:after{display:none}
.homePortrait[data-pose=workspace] .portraitCaption{position:relative;inset:auto;max-width:none;margin:0;padding:16px 20px;background:#003a43}
.homePortrait[data-pose=workspace] .portraitCaption strong{font-size:22px}
@media(max-width:1050px){.homeView:has(.homePortrait[data-pose=workspace]){display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0}.homePortrait[data-pose=workspace]{border-radius:0}.homeView:has(.homePortrait[data-pose=workspace]) .homeContent{grid-column:auto;border-radius:0;border:0;border-top:1px solid #96e7ea55;padding:24px}.homePortrait[data-pose=workspace] .portraitCaption strong{font-size:20px}}
