/* Approved simple navigation, connected to the existing live application. */
:root{--ink:#302b39;--muted:#68616e;--brand:#7241bc;--line:#e8e1eb;--soft:#f0e8fa;--paper:#fffefa;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{padding:0;background:#f7f5f1;color:var(--ink)}
.app{width:100%;max-width:1120px;height:100dvh;max-height:none;border-radius:0;border:0;background:#fffefa;box-shadow:0 0 55px #4032470a}
.header{display:flex!important;position:relative;min-height:72px;padding:12px 24px;background:#fffefa;border-bottom:1px solid #eee8ec;flex-shrink:0}
.header .brand-group{display:contents}.header .brand{position:absolute;inset-inline-start:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:22px;font-weight:680;letter-spacing:-.8px}
.header .brand img{width:31px;height:31px}.header .avatar-button{margin-left:auto;width:40px;height:40px;box-shadow:none}
.language-bar{padding:0 24px;min-height:0;border:0;background:transparent;justify-content:flex-end;gap:10px}
.language-hint{display:none}.language-control{margin:3px 0}.language-control select{min-height:30px;max-width:170px;font-size:11px;padding:4px 24px 4px 8px;border-color:transparent;background:transparent}
.install-entry{font-size:12px;min-height:34px}.menu{max-height:65dvh;padding:10px 24px}.menu small{display:none}
#main{width:100%;padding:24px 32px 32px;scroll-padding-block:16px 40px}.back{margin-bottom:9px}
#main[data-view=home]{padding-top:12px}h1{font-size:30px;line-height:1.2;letter-spacing:-1px}h2{font-size:22px}button,a,input,select,textarea{touch-action:manipulation}
.bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0;width:100%;padding:8px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#fffefa;border-top:1px solid var(--line)}
.bottom-nav button{font-size:11px;min-height:58px;padding:7px 3px;gap:6px;line-height:1.2;border-radius:14px;color:#716977;min-width:0}.bottom-nav button>span{font-size:inherit;white-space:nowrap}.bottom-nav button>svg{width:22px;height:22px}.bottom-nav button[aria-current=page]{color:var(--brand);background:#f2ebfb}.bottom-nav .simple-nav-desk svg{box-sizing:content-box;padding:8px;border-radius:13px;background:var(--brand);color:#fff;width:20px;height:20px;margin-top:-10px}.bottom-nav .simple-nav-desk{color:var(--brand)}
.simple-home{max-width:920px;margin:auto;text-align:left;padding:0}.simple-location{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-bottom:14px}.simple-location button{display:flex;align-items:center;gap:6px;font-size:12px;padding:0;min-height:38px;color:var(--ink)}.simple-location svg{width:15px}.simple-location>span{font-size:12px}
.simple-home .simple-hero{max-width:none;width:100%;height:340px;margin:0;position:relative;border-radius:28px;overflow:hidden;background:#dac9b8;isolation:isolate}.simple-hero-link{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;text-align:left;color:#fff}.simple-hero .scene-wrap{border-radius:0}.simple-hero .scene{object-position:center 42%}.simple-hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#241d21bd,transparent 85%);pointer-events:none}.simple-hero-copy{position:absolute;bottom:32px;left:32px;right:24px;z-index:2;pointer-events:none}.simple-hero-copy>span{font-size:12px;letter-spacing:.3px}.simple-hero-copy h1{font-size:44px;line-height:1.07;letter-spacing:-1.6px;margin:10px 0 0;font-weight:700;color:#fff}.simple-hero-link:focus-visible{outline:3px solid #a881e0;outline-offset:-5px}.simple-hero .carousel-controls{position:absolute;right:12px;bottom:12px;z-index:3;margin:0;gap:4px}.simple-hero .carousel-controls button{width:38px;height:38px;background:#ffffffea;color:#473354}.simple-hero .carousel-controls svg{width:17px}
.simple-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 26px}.simple-quick-actions button{border:1px solid #e4d9ee;border-radius:22px;background:#f7f2fc;padding:9px 17px;min-height:42px;font-size:13px;color:#62437e}.simple-quick-actions button:last-child{background:#edf4ed;border-color:#dbe7db;color:#3d6046}
.simple-section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:4px 0 12px}.simple-section-title h2{font-size:20px;margin:0}.simple-section-title .text-button{font-size:13px}
.simple-visual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.simple-image-card{padding:0;border:1px solid #e7e0e8;border-radius:20px;overflow:hidden;text-align:left;background:#fff;min-width:0;box-shadow:0 5px 14px #47314806}.simple-image-card>img{display:block;width:100%;height:155px;object-fit:cover}.simple-image-card>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px;font-size:14px;font-weight:600}.simple-image-card b{font-weight:400;color:var(--brand)}
.simple-access{display:flex;align-items:center;justify-content:center;gap:20px;margin:28px 0 0;flex-wrap:wrap}.simple-access .button-link{width:auto;min-width:160px}.simple-access .text-button{text-align:center}
.simple-discovery{max-width:820px;margin:auto;min-height:100%}.simple-discovery .discovery-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 22px;padding:0;background:transparent;min-height:0}.simple-discovery .discovery-header h1{font-size:30px;margin:0}.simple-discovery .discovery-new{width:44px;height:44px;border:1px solid #e6ddee;border-radius:50%;font-size:23px;text-align:center;padding:0;background:#f4eefb}.simple-discovery .discovery-thread{display:flex;flex-direction:column;min-height:58dvh}.simple-search-welcome{display:flex;align-items:center;gap:12px;padding:18px 0 24px;color:var(--muted)}.simple-search-welcome img{width:34px;height:34px}.simple-search-welcome p{font-size:17px;margin:0}
.simple-discovery .discovery-conversation{flex:1;gap:26px}.simple-discovery .discovery-turn.is-user{align-self:flex-end;width:auto;max-width:85%}.simple-discovery .discovery-turn.is-user>span{display:none}.simple-discovery .discovery-turn.is-user>.discovery-turn-text{font-size:15px;font-weight:400;background:#eee5f7;padding:12px 16px;border-radius:20px 20px 5px 20px;color:#493258}.simple-discovery .discovery-turn.is-guide>.discovery-turn-text{font-size:15px;line-height:1.7}.simple-discovery .discovery-turn.is-guide{background:transparent}.simple-discovery .discovery-next{padding:8px 0 0;border:0;background:none}.simple-discovery .discovery-next>div{display:flex;flex-wrap:wrap;gap:8px}.simple-discovery .discovery-next button{width:auto;font-size:12px;min-height:40px;border-radius:22px;padding:9px 13px}.simple-discovery .discovery-results h2{font-size:17px}.simple-discovery .discovery-results>.small{font-size:12px}.simple-discovery .discovery-member{padding:15px;box-shadow:0 3px 12px #43304f05;background:#fff}.simple-discovery .discovery-member p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.simple-discovery .discovery-external-heading h2{font-size:17px}.simple-discovery .discovery-external-heading p{font-size:12px;line-height:1.5}.simple-discovery .discovery-progress{margin:16px 0}.simple-discovery .discovery-progress p{font-size:12px}
.simple-composer,.discovery-thread .simple-composer{display:grid;grid-template-columns:minmax(0,1fr) 46px;align-items:start;position:relative;border:1px solid #d9cce6;border-radius:22px;background:#fff;box-shadow:0 6px 20px #62448107;padding:12px;margin:18px 0 8px;gap:0 8px;max-width:none}
.simple-composer>label.sr-only{position:absolute}.simple-composer>.voice-input-wrap,.simple-composer>textarea{grid-column:1;grid-row:1;min-width:0}.simple-composer textarea,.discovery-thread .simple-composer textarea{border:0;background:transparent;min-height:48px;height:48px;max-height:180px;resize:vertical;padding:12px 46px 8px 8px;line-height:1.5;font-size:16px;border-radius:12px}.simple-composer textarea::placeholder{font-size:15px;color:#736b79}.simple-composer textarea:focus-visible,.discovery-thread .simple-composer textarea:focus{outline:2px solid #ad89d1;outline-offset:0}.simple-composer>.voice-field-tools{grid-column:1/-1;grid-row:3}.simple-composer .voice-info{font-size:11px}.simple-composer>.discovery-composer-footer{display:contents}.simple-composer .discovery-send{grid-column:2;grid-row:1;margin:2px 0 0;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;display:grid;place-items:center;font-size:22px}.simple-composer .discovery-send>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.simple-composer .discovery-attach{grid-column:2;grid-row:2;margin-top:6px!important;width:40px;height:40px;min-width:40px;border:0;background:#f5f0fa}.simple-composer .discovery-attach svg{width:19px}.simple-composer #discovery-composer-help{grid-column:1;grid-row:2;font-size:11px;line-height:1.5;margin:12px 0 6px 8px;max-width:100%;color:#655c6f;display:none}.simple-composer:focus-within #discovery-composer-help,.simple-composer[aria-busy=true] #discovery-composer-help{display:block}.simple-composer>.discovery-attachments{grid-column:1/-1;grid-row:4;margin-top:10px}.simple-composer .simple-composer-info{grid-column:1;grid-row:2;margin:10px 0 4px 8px;color:#6f647a;font-size:11px;min-width:0}.simple-composer:focus-within .simple-composer-info{grid-column:1/-1;grid-row:5}.simple-composer-info summary{cursor:pointer;min-height:30px;padding:6px 0}.simple-composer-info .discovery-notice{margin:0}.simple-composer-info p{font-size:12px;line-height:1.6}.simple-composer .voice-info{display:none}.simple-discovery .simple-composer{margin-top:auto}.simple-discovery .simple-composer-info[open]{grid-column:1/-1;grid-row:5}.simple-composer .discovery-kinds{grid-column:1/-1;grid-row:6}.simple-discovery .discovery-offer{margin-top:12px;padding:0;border:0;background:transparent}.simple-discovery .discovery-offer-actions{gap:8px}.simple-discovery .discovery-offer-actions .secondary{flex:0 1 auto;font-size:12px;min-height:40px;border-radius:22px}
.simple-composer .voice-field-tools.voice-active{display:block;padding:12px;margin:6px 0}.simple-composer .voice-field-tools:not(.voice-active):has(.voice-status[hidden]){min-height:0}.simple-composer .voice-status{font-size:12px}
@media(min-width:820px){#main{padding-inline:40px}.bottom-nav{padding-inline:20%}.simple-hero-copy h1{font-size:46px}.header{padding-inline:40px}}
@media(max-width:700px){.header{min-height:62px;padding:8px 15px}.header .brand{font-size:20px;gap:6px}.header .brand img{width:27px;height:27px}.header .avatar-button{width:35px;height:35px}.language-bar{padding-inline:16px}.app{border-radius:0;height:100dvh}.bottom-nav{padding-top:8px;padding-inline:6px}.bottom-nav button{font-size:10px}.bottom-nav button>span{font-size:10px}#main{padding:18px 18px 26px}#main[data-view=home]{padding-top:7px}.simple-location{margin-bottom:9px}.simple-location>span{font-size:11px}.simple-home .simple-hero{height:275px;border-radius:24px}.simple-hero-copy{left:22px;bottom:24px}.simple-hero-copy h1{font-size:34px}.simple-hero-copy>span{font-size:11px}.simple-hero .carousel-controls{right:8px;bottom:8px}.simple-hero .carousel-controls button{width:32px;height:32px}.simple-quick-actions{gap:6px;margin:12px 0 21px;flex-wrap:nowrap}.simple-quick-actions button{font-size:12px;padding:8px 12px;flex:1 0 auto;min-height:40px}.simple-visual-grid{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x proximity;padding-bottom:10px}.simple-image-card{flex:0 0 68%;scroll-snap-align:start}.simple-image-card>img{height:144px}.simple-image-card>span{padding:13px}.simple-access{gap:10px;margin-top:16px}.simple-composer,.discovery-thread .simple-composer{padding:9px;margin-top:16px}.simple-discovery .discovery-thread{min-height:64dvh}.simple-discovery .discovery-header{margin-bottom:14px}.simple-discovery .discovery-header h1{font-size:28px}.simple-search-welcome p{font-size:16px}.simple-discovery .discovery-turn.is-user{max-width:91%}.simple-discovery .discovery-next button{width:auto}.menu{padding-inline:18px}}
@media(max-width:350px){#main{padding-inline:12px}.header .brand{font-size:18px}.simple-home .simple-hero{height:250px}.simple-hero-copy h1{font-size:31px}.simple-location>span{display:none}.simple-quick-actions button{font-size:11px;padding-inline:10px}.bottom-nav button>span{font-size:9px}.simple-composer textarea::placeholder{font-size:14px}}
@media(prefers-reduced-motion:reduce){.scene{transition:none}#main{scroll-behavior:auto}}
@media print{.bottom-nav,.language-bar,.header,.simple-composer,.install-invitation,.menu{display:none!important}.app{height:auto;overflow:visible}#main{overflow:visible}}

#main:focus{outline:none}.menu .language-bar{margin:0 0 10px;padding:0;justify-content:flex-start;gap:8px}.menu .language-hint{display:block;font-size:11px}
/* The install invitation sits in the vertical app shell, not the horizontal
   language bar: its old 100% flex basis swallowed the mobile scrolling area. */
.app>.install-invitation{margin:8px 18px;flex:0 0 auto;order:0}
.simple-discovery .discovery-thread>.simple-composer{margin-top:auto}
@media(min-width:701px){.simple-hero .scene:not(:first-child){object-position:center 12%}}
