@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;700;800;900;1000&display=swap');
:root{font-family:Nunito,'Trebuchet MS',sans-serif;color:#123653;--blue:#008df2;--panel:min(720px,53vw)}*{box-sizing:border-box}body{margin:0;min-height:100svh;background:#cceeff}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ffcf18;outline-offset:4px}button{border:0}button,a,input,textarea{-webkit-tap-highlight-color:transparent}input,textarea{min-width:0}[hidden]{display:none!important}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.scenery{position:fixed;inset:0;background:url('/mindduck-park-clean-v2.webp') center center/cover no-repeat;z-index:-2}.scene-wash{position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#0069b60a 65%,#103b1280)}.app-header{display:flex;align-items:center;justify-content:space-between;padding:24px clamp(20px,3vw,64px);gap:18px;position:relative;z-index:20}.wordmark{background:none;color:white;text-shadow:-3px -3px #081b27,3px -3px #081b27,-3px 3px #081b27,3px 3px #081b27,0 6px #061c26;font-size:clamp(28px,3.5vw,60px);font-weight:1000;letter-spacing:-3px;line-height:.95;text-align:left;transform:rotate(-2deg)}.wordmark span{color:#ffda21}.wordmark small{font-size:.7em;letter-spacing:-1px}.wordmark em{display:block;font-size:clamp(10px,.95vw,16px);color:#0b293b;text-shadow:0 1px 3px white,0 -1px 3px white;font-style:normal;letter-spacing:0;margin:12px 0 0 8px;font-weight:1000}.app-header nav{display:flex;gap:10px;align-items:center}.nav-pill,.profile-bubble{border:2px solid white;border-radius:999px;background:#ffffffef;padding:11px 17px;font-size:14px;font-weight:900;color:#193e58;box-shadow:0 4px 12px #0b37552b}.profile-bubble{display:flex;align-items:center;gap:9px;padding:6px 14px 6px 6px;min-height:46px}.profile-bubble #profileAvatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#fff,#e8f5ff);color:#2673dd;border:1px solid #d8e6f0;font-weight:1000}.profile-bubble img{width:32px;height:32px;border-radius:50%;object-fit:cover}.category-rail{position:absolute;left:3vw;top:28vh;display:grid;gap:10px;width:clamp(145px,14vw,240px)}.category-rail button{background:linear-gradient(#ffffff30,transparent),var(--cat);border:3px solid white;border-radius:999px;color:white;text-shadow:0 1px 2px #0004;box-shadow:0 4px 0 #153a4655;display:flex;align-items:center;gap:10px;padding:11px 14px;font-size:clamp(13px,1.1vw,18px);font-weight:900;min-height:46px}.category-rail button b{margin-left:auto}.category-rail button:hover{transform:translateX(4px)}.hero-content{width:min(900px,58vw);margin:clamp(25px,5vh,70px) 5vw 180px auto;text-align:center}.speech{display:inline-block;padding:25px 45px 30px;background:#fffffff2;border:5px solid #ffde32;border-radius:48% 46% 43% 16%/40% 45% 42% 28%;box-shadow:0 0 0 4px #112830,0 8px 22px #0b477332;transform:rotate(-2deg);position:relative}.eyebrow{display:block;font-size:10px;font-weight:1000;letter-spacing:1.8px;color:#39748d}.speech .eyebrow{margin:0 0 10px;color:#40708c}.speech h1{margin:0;color:#0b1825;font-size:clamp(26px,3.7vw,64px);font-weight:1000;line-height:1.06;letter-spacing:-2px}.speech h1 span{color:#0063f7}.discover-form{margin:40px 0 0;display:flex;align-items:center;gap:10px;padding:7px 8px 7px 20px;border:4px solid #009df7;background:white;border-radius:999px;box-shadow:0 5px 0 #075daa55,0 9px 30px #0e456224}.search-icon{font-size:36px;color:#1d7dd3;line-height:1}.discover-form input{flex:1;border:0;outline:none!important;background:transparent;font-size:clamp(14px,1.25vw,21px);color:#1a4268;padding:10px 2px;min-width:0;width:100%}.discover-form input::placeholder{color:#597898}.discover-form button,.followup-form>button{width:56px;height:48px;flex:0 0 auto;border-radius:50%;background:linear-gradient(#00c4ff,#0066ef);color:white;font-size:30px;box-shadow:0 2px #0052be}.search-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 12px;color:#0d3b53;font-size:12px;font-weight:900;text-shadow:0 1px white}.search-meta>span{background:#ffffffd9;padding:6px 10px;border-radius:20px}.search-meta button{background:#fff4b7;color:#173c50;border-radius:20px;padding:7px 12px;font-weight:900;font-size:12px;border:1px solid #ffdc6d}.search-meta button[aria-pressed=true]{background:#174265;color:white;text-shadow:none}.hero-actions{display:flex;justify-content:center;gap:10px;margin:22px 0 12px}.hero-actions button{background:#ffffffeb;color:#19445b;font-weight:900;font-size:13px;padding:11px 18px;border-radius:24px;border:2px solid white;box-shadow:0 4px 12px #173e5a25}.hero-caption{display:inline-block;color:#16445b;background:#ffffffce;border-radius:20px;padding:5px 12px;font-size:12px;font-weight:800;margin:0}.ad-row{position:absolute;left:3vw;right:3vw;bottom:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.ad-slot{min-height:100px;background:#ffffffe0;border:2px dashed #ffffff;border-radius:20px;padding:13px 20px;display:flex;flex-direction:column;justify-content:center;color:#224b5b;backdrop-filter:blur(8px);box-shadow:0 8px 24px #123e241c}.ad-slot small{font-size:9px;letter-spacing:2px;color:#698995;font-weight:900}.ad-slot strong{font-size:clamp(16px,1.4vw,23px);margin:4px 0}.ad-slot span{font-size:11px;color:#5b7f89}.bottom-nav{display:none}.discovery-panel{position:fixed;z-index:30;top:103px;right:24px;bottom:24px;width:var(--panel);background:#fffffffa;border:3px solid white;border-radius:28px;box-shadow:0 24px 70px #07274360;display:flex;flex-direction:column;overflow:hidden;backdrop-filter:blur(16px)}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid #deedf3;gap:12px;background:#f7fcff}.panel-header h2{font-size:18px;line-height:1.3;margin:5px 0 0;max-width:540px}.icon-button{width:32px;height:32px;border-radius:50%;background:#e9f4f8;color:#28566c;flex-shrink:0}.panel-content{flex:1;overflow:auto;padding:20px;overscroll-behavior:contain;scrollbar-width:thin}.turn{line-height:1.7;font-size:15px;color:#244459;overflow-wrap:anywhere;margin-bottom:22px}.turn .speaker{font-size:10px;letter-spacing:1.3px;font-weight:1000;color:#447f92;display:block;margin-bottom:6px}.turn.user{padding:13px 16px;background:#eaf6ff;border-radius:19px 19px 4px 19px}.turn p{white-space:pre-wrap;margin:0}.turn.pending p{color:#618395}.folder-chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:900;border-radius:16px;padding:6px 10px;background:#e9f9ee;color:#247443;margin:8px 6px 12px 0}.reclassify{font:inherit;border:0;background:transparent;color:#247443;cursor:pointer}.source-list{display:grid;gap:6px;margin:14px 0}.source-list a{padding:10px 12px;background:#f2f8ff;border:1px solid #dbeaf6;border-radius:12px;font-size:12px;line-height:1.4;color:#15679f;word-break:break-word;text-decoration:none}.source-list .source-note{font-size:10px;color:#6f8690}.step-card,.trail-card{background:#fff9e6;border:1px solid #ffe29c;border-radius:16px;padding:13px 15px;margin:12px 0}.step-card strong,.trail-card strong{font-size:12px}.step-card p{font-size:13px;margin:6px 0 0;line-height:1.55}.trail-card{background:#eefaff;border-color:#c7e9f5}.trail-card button{display:block;text-align:left;background:transparent;color:#176e96;font-size:12px;padding:8px 0;font-weight:800;line-height:1.4}.record-actions{display:flex;gap:7px;margin:12px 0;flex-wrap:wrap}.record-actions button,.filter-row button,.library-controls button{border:1px solid #d0e6ef;border-radius:18px;background:#f0f9fd;padding:7px 11px;color:#315d73;font-size:11px;font-weight:900}.record-actions button:hover{background:#d7f1ff}.followup-form{display:flex;align-items:center;gap:8px;padding:13px 16px;background:#f9fcff;border-top:1px solid #e0edf2}.followup-form textarea{resize:none;flex:1;max-height:100px;min-height:44px;background:white;border:1px solid #c8e4f0;border-radius:20px;padding:12px;font-size:14px;line-height:1.4}.followup-form>button{width:42px;height:42px;font-size:23px}.attach-button{font-size:22px;color:#47758c;cursor:pointer;padding:5px}.image-notice{font-size:11px;color:#50758c;padding:0 18px 9px;background:#f9fcff}.panel-open .hero-content{width:calc(100vw - var(--panel) - 85px);margin:35px auto 0 24px;max-width:470px}.panel-open .speech,.panel-open .category-rail,.panel-open .ad-row,.panel-open .hero-caption{display:none}.panel-open .discover-form{margin-top:10px}.panel-open .search-meta{flex-wrap:wrap}.panel-open .hero-actions{justify-content:flex-start}.library-search{width:100%;border:1px solid #c8e2ed;padding:12px 14px;border-radius:18px;background:white;font-size:14px}.filter-row{display:flex;gap:6px;overflow:auto;padding:13px 0}.filter-row button{white-space:nowrap}.filter-row button.active{background:#087fd2;color:white}.saved-card{border:1px solid #d4e8f1;border-radius:18px;padding:15px;margin:10px 0;background:white}.saved-card .open-record{background:transparent;text-align:left;color:#21465d;font-weight:900;padding:0;font-size:14px;line-height:1.5;width:100%}.saved-card small{font-size:10px;color:#6b8b9b;display:block;margin:8px 0}.saved-card .excerpt{font-size:12px;line-height:1.5;color:#6a8392;margin:8px 0}.library-controls{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.empty-state{text-align:center;padding:40px 18px;color:#557e92;font-size:14px}.lab-intro{background:linear-gradient(120deg,#fff9d2,#e7f9ff);padding:18px;border-radius:20px;margin-bottom:17px}.lab-intro h3{margin:0 0 7px;font-size:20px}.lab-intro p{margin:0;font-size:13px;line-height:1.6}.toast{position:fixed;z-index:10000;left:50%;transform:translateX(-50%);bottom:20px;max-width:90vw;background:#123b55;color:white;padding:11px 18px;border-radius:20px;font-size:12px;box-shadow:0 8px 30px #10293940}#mdProfileCard,#mdWelcomeNow{font-family:Nunito,sans-serif}#mdProfileBox{border:3px solid white;box-shadow:0 20px 70px #001a2d55}#mdProfileBox button{min-height:44px}#mdProfileBox .profile-close{float:right;border-radius:50%;width:32px;min-height:32px;background:#edf5fa;color:#285169}.attachment-preview{max-width:200px;max-height:160px;border-radius:15px;margin-top:10px}.folder-picker{padding:6px 10px;border:1px solid #cfe4d5;border-radius:15px;color:#247443;background:white;font-size:11px}
@media(min-width:1800px){.hero-content{margin-top:8vh}.app-header{padding-top:35px}.category-rail{top:30vh}.ad-row{bottom:35px}.ad-slot{min-height:125px}}
@media(max-width:1100px) and (min-width:701px){.hero-content{width:62vw;margin-right:3vw}.category-rail{left:2vw;width:160px;top:29vh;gap:8px}.category-rail button{padding:8px 10px;font-size:13px}.speech{padding:25px 30px}.app-header .nav-pill{font-size:12px;padding:9px 11px}.ad-slot{padding:12px}.ad-row{gap:10px}.panel-open .hero-content{max-width:none;width:calc(100vw - var(--panel) - 60px)}.panel-open .hero-actions{flex-direction:column;align-items:flex-start}}
@media(max-height:760px) and (min-width:701px){.app-header{padding-top:16px;padding-bottom:10px}.hero-content{margin-top:18px;margin-bottom:140px}.speech{padding:20px 35px}.speech h1{font-size:clamp(29px,3.3vw,49px)}.discover-form{margin-top:26px}.hero-actions{margin-top:13px}.category-rail{top:25vh;gap:7px}.category-rail button{min-height:40px;padding-top:7px;padding-bottom:7px}.ad-row{bottom:15px}.ad-slot{min-height:85px}}
@media(max-width:700px){
 body{min-height:100svh;padding-bottom:calc(76px + env(safe-area-inset-bottom));background:#e9f7ff}.scenery{background-position:28% 30%;background-size:auto 72svh;inset:0 0 auto;height:72svh;background-color:#5bcaff}.scene-wash{background:linear-gradient(180deg,#d6f6ff35 0%,transparent 26%,#e8f8ffbf 52%,#f2faff 75%)}
 .app-header{padding:18px 18px 12px;gap:10px;position:relative;z-index:20}.wordmark{font-size:32px;letter-spacing:-2px;text-shadow:-2px -2px #102f40,2px -2px #102f40,-2px 2px #102f40,2px 2px #102f40,0 4px #102f40}.wordmark em{font-size:9px;margin:8px 0 0 2px}.app-header nav{gap:0}.desktop{display:none}.profile-bubble{font-size:11px;gap:5px;min-height:42px;padding:4px 10px 4px 4px}.profile-bubble #profileAvatar,.profile-bubble img{width:29px;height:29px}
 #appHome{display:flex;flex-direction:column}.hero-content{order:0;width:auto;max-width:none;margin:26px 18px 0;text-align:center}.speech{padding:22px 20px 24px;border-width:4px;border-radius:34px 34px 34px 10px;box-shadow:0 0 0 2px #174364,0 8px 25px #0c446b23;transform:rotate(-1deg);width:100%;background:#fffffff0}.speech .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:8px}.speech h1{font-size:clamp(27px,8vw,42px);line-height:1.08;letter-spacing:-1px}.discover-form{margin-top:130px;padding:5px 6px 5px 14px;border-width:3px;box-shadow:0 4px #0d8bd62b,0 6px 20px #18547725;gap:5px}.discover-form input{font-size:16px;padding:12px 0;min-height:44px}.discover-form button{width:44px;height:44px;font-size:25px}.search-icon{font-size:29px}.search-meta{margin:10px 0 0;font-size:10px;gap:4px}.search-meta>span{padding:5px 7px}.search-meta button{padding:6px 9px;font-size:10px;white-space:nowrap}.hero-actions{gap:7px;margin:16px 0 8px}.hero-actions button{padding:10px 13px;font-size:11px;border-width:1px;box-shadow:0 3px 9px #12395412}.hero-caption{font-size:10px;background:transparent;color:#4b7185;padding:4px 0}
 .category-rail{position:relative;order:1;top:auto;left:auto;width:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:23px 18px 18px}.category-rail button{border-width:2px;font-size:12px;padding:11px 10px;min-height:44px;gap:6px;border-radius:20px;box-shadow:0 3px #194e6b22}.category-rail button b{font-size:18px}.category-rail:before{content:'FOLLOW YOUR CURIOSITY';grid-column:1/-1;font-size:9px;letter-spacing:1.9px;font-weight:1000;color:#5b8093;margin:0 0 3px}
 .ad-row{position:relative;order:2;left:auto;right:auto;bottom:auto;display:block;margin:0 18px 20px}.ad-slot{min-height:80px;border:1px dashed #b5d7e7;box-shadow:none;background:#f7fcffbb;align-items:center;text-align:center;border-radius:18px}.ad-slot:not(:first-child){display:none}.ad-slot strong{font-size:16px}.ad-slot small{font-size:8px}.ad-slot span{font-size:10px}
 .bottom-nav{position:fixed;z-index:60;left:0;right:0;bottom:0;background:#fffffff7;backdrop-filter:blur(18px);border-top:1px solid #cfe5ee;display:grid;grid-template-columns:repeat(4,1fr);padding:7px 12px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px #1a537e0d}.bottom-nav button{background:transparent;display:flex;align-items:center;flex-direction:column;gap:2px;padding:5px 0;color:#6d8b9b;font-size:9px;font-weight:900;border-radius:16px}.bottom-nav button span{font-size:23px;line-height:26px}.bottom-nav button.active{color:#087fd2;background:#edf8ff}
 .discovery-panel{top:97px;left:10px;right:10px;bottom:calc(77px + env(safe-area-inset-bottom));width:auto;border-radius:24px;border-width:2px;box-shadow:0 12px 40px #0d3d6340}.panel-header{padding:13px 15px}.panel-header h2{font-size:15px;max-width:270px}.panel-header .eyebrow{font-size:8px;letter-spacing:1px}.panel-content{padding:15px}.turn{font-size:14px;line-height:1.65}.followup-form{padding:10px;gap:6px}.followup-form textarea{font-size:16px;padding:10px;min-height:44px}.followup-form>button{width:39px;height:39px}.attach-button{padding:3px}.panel-open .hero-content{width:auto;max-width:none;margin:26px 18px 0}.panel-open .hero-content>*{visibility:hidden}.panel-open .category-rail,.panel-open .ad-row{display:none}.toast{bottom:92px;font-size:11px}.library-controls button{min-height:38px}.saved-card .open-record{font-size:13px}
}
@media(prefers-reduced-motion:no-preference){.discovery-panel{animation:panel-in .25s ease-out}.hero-actions button:hover{transform:translateY(-2px)}@keyframes panel-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
