@font-face{font-family:Inter;src:url('/assets/manrope.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f7f5ef;color:#20291f;font-family:Arial,sans-serif;font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #d9ddd3;border-radius:10px;padding:10px 15px;background:transparent;color:inherit;transition:background .18s,transform .18s}button:hover{background:#e9ede2}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-underline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b5613c;outline-offset:3px}[hidden]{display:none!important}.primary,.send{background:#244b3b;color:white;border-color:#244b3b}.primary:hover,.send:hover{background:#173c2d}.wide{width:100%}.topbar{height:86px;padding:16px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #dedfd6;background:#f7f5eff5;position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:30px;font-weight:750;line-height:1}.brand img{width:40px;height:44px;object-fit:contain}.brand small{font-size:8px;display:block;letter-spacing:1.4px;margin-top:9px}.header-motto{font-size:12px;color:#687160}.topbar nav{display:flex;align-items:center;gap:10px}.topbar nav button{font-size:12px}.profile-button{display:flex;align-items:center;gap:8px}.avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;background:#e0e6d9;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:#244b3b;flex-shrink:0}.workspace{display:flex;min-height:calc(100dvh - 86px)}.hero{position:relative;width:57%;min-height:calc(100dvh - 86px);color:#fff;overflow:hidden;isolation:isolate}.hero-photo,.hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero-photo{object-position:52% center;animation:hero-arrive 1.4s ease-out both}.hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(12,30,21,.76),rgba(16,32,23,.28)),linear-gradient(0deg,rgba(9,24,18,.85),transparent 60%)}.hero-content{padding:clamp(30px,5vw,88px) clamp(28px,4vw,72px) 160px;max-width:830px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;display:block}.hero h1{font-size:clamp(42px,4.5vw,76px);letter-spacing:-3px;line-height:1.03;margin:42px 0 30px;font-weight:600}.hero em,.welcome em{font-family:Georgia,serif;font-weight:400;color:#e0c799}.hero p{font-size:clamp(14px,1.2vw,18px);line-height:1.75;max-width:380px;color:#eee9de}.hero-button{margin-top:28px;border-color:#ffffff50;border-radius:0;color:white;min-width:230px;display:flex;justify-content:space-between;padding:16px 20px}.hero-button:hover{background:#ffffff18}.hero-bottom{position:absolute;bottom:28px;left:clamp(28px,4vw,72px);right:clamp(28px,4vw,72px);display:flex;justify-content:space-between;border-top:1px solid #ffffff40;padding-top:20px;font-size:10px;letter-spacing:.5px;gap:20px}.hero-bottom b{font-weight:500}.chat-panel{width:43%;min-width:0;display:flex;flex-direction:column;height:calc(100dvh - 86px);position:sticky;top:86px;padding:0 clamp(18px,2.5vw,46px) 10px;background:#f7f5ef}.chat-heading{display:flex;align-items:center;gap:12px;padding:23px 0;border-bottom:1px solid #dddcd3;flex-shrink:0}.chat-heading>div:nth-child(2){flex:1}.chat-heading strong{font-size:13px}.chat-heading small{display:block;font-size:10px;color:#747c70}.chat-heading button{padding:5px 9px;border:0;font-size:21px}.assistant-mark{font-size:19px;font-weight:700;position:relative;border:1px solid #cbd0c1;border-radius:50%;width:43px;height:43px;display:grid;place-items:center}.assistant-mark span{position:absolute;width:8px;height:8px;background:#719568;border:2px solid #f7f5ef;border-radius:50%;bottom:2px;right:0}.messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5cbbc transparent;padding:12px 5px 22px 0}.welcome{padding:clamp(20px,5vh,70px) 0 15px;animation:arrive .6s ease-out}.welcome .eyebrow{color:#78816f}.welcome h2{font-size:clamp(28px,2.5vw,43px);line-height:1.15;letter-spacing:-1.4px;font-weight:500;margin:24px 0}.welcome em{color:#66775a}.welcome p{color:#78816f;font-size:13px;max-width:330px}.suggestions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:25px}.suggestions button{font-size:11px;border-radius:30px;padding:9px 15px}.message{margin:18px 0 28px;overflow-wrap:anywhere;animation:arrive .32s ease-out}.message.user{background:#e9ede2;border-radius:18px 18px 4px 18px;padding:15px 18px;margin-left:28px}.message-head{display:flex;align-items:center;gap:8px;font-size:10px;color:#737e6c;margin-bottom:9px}.message-head .avatar{width:22px;height:22px;font-size:10px}.message-body{font-size:14px;line-height:1.8;font-weight:400}.message-body p{margin:0 0 14px}.message-body p:last-child{margin:0}.message-body h2,.message-body h3{font-size:17px;line-height:1.4;margin:20px 0 10px}.message-body ul,.message-body ol{padding-left:24px}.message-body li{margin:7px 0}.message-body strong{font-weight:650}.message-body pre{white-space:pre-wrap;background:#e9ede2;padding:14px;border-radius:10px}.message-actions{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}.message-actions button{font-size:10px;border:0;padding:4px 7px;color:#7a8176}.message-actions button[aria-pressed=true]{background:#dce8d4;color:#244b3b}.sources{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.sources button{font-size:10px;padding:6px 9px;max-width:100%;text-align:left}.thinking{display:flex;align-items:center;gap:6px;padding:16px 0;min-height:60px;color:#75816d}.thinking i{width:6px;height:6px;background:#57764a;border-radius:50%;animation:pulse 1.3s infinite}.thinking i:nth-child(2){animation-delay:.18s}.thinking i:nth-child(3){animation-delay:.36s}.thinking span{font-size:11px;margin-left:8px}#composer{border:1px solid #d4d9cc;border-radius:20px;background:#eeefe7;padding:14px 15px 9px;flex-shrink:0}#composer textarea{width:100%;resize:none;background:transparent;border:0;outline:none;max-height:140px;min-height:32px;color:#20291f;line-height:1.5;padding:0;font-size:14px}.composer-actions{display:flex;align-items:center;gap:6px}.composer-actions>button{border:0;padding:4px 9px;font-size:21px}.composer-actions #composer-label{font-size:9px;color:#87917e;flex:1}.composer-actions .send{width:35px;height:35px;border-radius:50%;font-size:22px;line-height:1}.disclaimer{text-align:center;font-size:9px;color:#8a9182;margin:10px 0 0}.history-panel{width:270px;flex-shrink:0;background:#ecefe5;border-right:1px solid #d9decf;padding:24px 16px;overflow-y:auto;height:calc(100dvh - 86px);position:sticky;top:86px}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading h2{font-size:15px;margin:0 0 16px}.panel-heading button{border:0;padding:0 8px;font-size:23px}.search-label{display:block;font-size:10px;color:#6c7862;margin:22px 0 12px}.search-label input{width:100%;border:1px solid #cdd4c5;border-radius:8px;background:#f7f8f3;padding:10px;margin-top:6px;font-size:12px}.history-item{display:block;text-align:left;width:100%;border:0;border-radius:8px;margin:5px 0;padding:10px;font-size:12px}.history-item.active{background:#dce4d2}.history-item small{display:block;font-size:10px;color:#829076;margin-top:4px}.history-panel>.wide:last-child{margin-top:20px}.workspace:has(.history-panel:not([hidden])) .hero{display:none}.workspace:has(.history-panel:not([hidden])) .chat-panel{flex:1;width:auto;padding-left:max(24px,calc((100% - 1160px)/2));padding-right:max(24px,calc((100% - 1160px)/2))}.is-full .chat-panel{width:100%;padding-left:max(24px,calc((100% - 800px)/2));padding-right:max(24px,calc((100% - 800px)/2))}.is-full .welcome{max-width:650px;margin:auto}.media-card{border:1px solid #d9dece;border-radius:14px;padding:13px;margin:16px 0}.media-card h3{font-size:13px;margin:4px 0 7px}.media-card p{font-size:11px;color:#718067}.media-card iframe{width:100%;height:260px;border:0;border-radius:8px;margin-top:12px}.media-card button,.media-card a{font-size:11px;padding:6px 10px}.media-card img{max-width:100%;border-radius:8px}.proposal-card{background:#e5eddd;border:1px solid #ccd9c1;border-radius:12px;padding:15px;margin-top:16px}.proposal-card strong{display:block;font-size:13px}.proposal-card p{font-size:11px;margin:5px 0 12px}.proposal-card button{background:#f9fbf5;font-size:11px}.audio-player{width:100%;height:38px;margin:8px 0}#audio-preview{padding:10px 0;font-size:11px}#audio-preview audio{width:100%;height:35px}dialog{border:1px solid #dde1d4;border-radius:24px;background:#f9f8f3;color:#20291f;padding:40px;max-width:min(900px,calc(100% - 28px));width:680px;max-height:90dvh;box-shadow:0 30px 100px #10231b33}dialog::backdrop{background:#17291f77;backdrop-filter:blur(5px)}.modal-close{position:absolute;right:15px;top:15px;border:0;border-radius:50%;font-size:24px;width:36px;height:36px;padding:0;z-index:2;background:#f9f8f3dd}dialog h2{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:14px 0 22px}dialog h3{font-size:17px;margin:24px 0 10px}dialog p{color:#717c68;font-size:13px}dialog label{display:block;font-size:12px;margin:15px 0}dialog input,dialog select,dialog textarea{display:block;width:100%;padding:12px;border:1px solid #d2dacb;background:#fff;border-radius:9px;margin-top:6px;color:#283523}dialog textarea{min-height:130px;resize:vertical}dialog input[type=checkbox]{display:inline;width:auto}dialog form .primary{margin-top:12px}.form-error{color:#a54026!important;min-height:1em}.about-cover{width:calc(100% + 80px);height:270px;margin:-40px -40px 25px;object-fit:cover}.about-pillars{display:grid;grid-template-columns:1fr 1fr;gap:15px}.about-pillars article{border-top:1px solid #d6ddcd;padding-top:10px}.about-pillars h3{font-size:15px;margin:5px 0}.about-pillars p{font-size:12px}.about-pillars img{width:100%;height:130px;object-fit:cover;border-radius:8px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px}.comparison>div{min-width:0;max-height:360px;overflow:auto;background:#edf0e7;border-radius:12px;padding:16px;font-size:12px;overflow-wrap:anywhere}.comparison h3{margin-top:0}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}#notice{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:#244b3b;color:#fff;border-radius:12px;padding:12px 20px;font-size:12px;max-width:calc(100% - 30px);transition:.2s}#notice.visible{opacity:1;transform:translate(-50%,0)}.is-admin #chat{display:none}.is-admin #admin-space:not([hidden]){display:flex;width:100%}.admin-nav{width:240px;flex-shrink:0;padding:38px 22px;border-right:1px solid #dce1d2;background:#f1f3ec;min-height:calc(100dvh - 86px)}.admin-nav nav{display:flex;flex-direction:column;gap:7px;margin-top:22px}.admin-nav nav button{text-align:left;border:0;padding:12px;font-size:12px}.admin-nav nav button.active{background:#244b3b;color:#fff}.admin-nav>a{display:block;font-size:11px;margin-top:40px}.admin-main{padding:45px clamp(24px,5vw,90px);width:100%;min-width:0}.admin-main>header h1{font-size:36px;letter-spacing:-1.5px;margin:12px 0 6px}.admin-main>header p{color:#75816c;margin:0 0 35px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{background:#fff;border:1px solid #dce1d4;border-radius:16px;padding:22px}.stat strong{display:block;font-size:32px;font-weight:500}.stat span{font-size:11px;color:#77846c}.admin-card{background:#fff;border:1px solid #dce1d4;border-radius:14px;padding:24px;margin:15px 0}.admin-card h2,.admin-card h3{margin:0 0 8px;font-size:17px}.admin-card p{font-size:12px;color:#75816a}.admin-card .row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.admin-card .row>div{min-width:0}.badge{display:inline-block;border:1px solid #d9e0cf;background:#eef3e6;font-size:10px;padding:4px 9px;border-radius:20px}.admin-card small{display:block;color:#87927f;font-size:10px}.admin-card button{font-size:11px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.filters button{font-size:11px}.filters .active{background:#244b3b;color:#fff}.pagination{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-top:20px}.pagination button{font-size:11px}.empty{padding:40px 20px;background:#edf1e6;border-radius:16px;color:#6f7c64;text-align:center}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip:focus{position:fixed;z-index:200;top:0;background:white;padding:12px}#record.recording{color:#c64c32;animation:pulse 1s infinite}@keyframes pulse{0%,80%,100%{opacity:.35;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}@keyframes arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes hero-arrive{from{transform:scale(1.025);opacity:.5}to{transform:scale(1);opacity:1}}@media(min-width:1600px){.chat-panel{padding-left:60px;padding-right:60px}.hero-content{padding-top:100px}}@media(max-width:1050px){.topbar{padding:14px 20px}.header-motto{display:none}.hero{width:50%}.chat-panel{width:50%;padding-left:22px;padding-right:22px}.hero h1{font-size:52px}.stats{grid-template-columns:1fr 1fr}.admin-nav{width:200px;padding:30px 14px}}@media(max-width:740px){.topbar{height:72px;padding:12px 16px;gap:10px}.brand{font-size:25px;gap:8px}.brand img{width:30px;height:36px}.brand small{font-size:6px;letter-spacing:1px}.topbar nav{gap:5px}.topbar nav button,.topbar nav a{font-size:10px;padding:7px 9px}.topbar nav>a{display:none}.topbar nav>button:first-child:not(.profile-button){display:none}.workspace{display:block;min-height:calc(100dvh - 72px)}.hero{width:100%;min-height:560px}.hero-content{padding:42px 28px 160px}.hero h1{font-size:57px;letter-spacing:-2.8px;margin:30px 0 22px}.hero p{font-size:14px}.hero-bottom{left:28px;right:28px;font-size:9px}.hero-photo{object-position:center 40%}.chat-panel{width:100%;height:calc(100dvh - 72px);min-height:570px;position:relative;top:0;padding:0 20px 12px}.chat-heading{padding:20px 0}.welcome{padding:35px 0 20px}.welcome h2{font-size:36px}.history-panel{position:fixed;top:72px;bottom:0;left:0;height:auto;z-index:25;width:min(310px,88vw);box-shadow:15px 0 80px #14241b44}.workspace:has(.history-panel:not([hidden])) .chat-panel{padding:0 20px 12px}.is-full .chat-panel{padding:0 18px 12px}.comparison,.about-pillars{grid-template-columns:1fr}.comparison>div{max-height:230px}dialog{padding:28px 22px;border-radius:18px;max-height:92dvh}dialog h2{font-size:28px}.about-cover{width:calc(100% + 44px);margin:-28px -22px 20px;height:210px}.about-pillars{gap:20px}.about-pillars img{height:190px}.is-admin #admin-space:not([hidden]){display:block}.admin-nav{width:100%;min-height:0;padding:18px;border-right:0;border-bottom:1px solid #dce1d2}.admin-nav>.eyebrow,.admin-nav>a{display:none}.admin-nav nav{margin:0;flex-direction:row;overflow:auto;gap:5px}.admin-nav nav button{white-space:nowrap;font-size:11px;padding:8px 12px}.admin-main{padding:28px 18px}.admin-main>header h1{font-size:30px}.stats{gap:10px}.stat{padding:16px}.admin-card{padding:18px}.media-card iframe{height:230px}.profile-button .profile-name{max-width:65px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.hero h1,.welcome h2,.admin-main>header h1{font-family:Inter,Arial,sans-serif}.hero h1 em,.welcome h2 em{font-family:Georgia,serif}.media-frame{width:100%;height:260px;border:0}.media-image{max-width:100%;max-height:80vh;object-fit:contain}

.signed-in .workspace>.hero{display:none}.signed-in .chat-panel{width:100%;padding-left:max(24px,calc((100% - 830px)/2));padding-right:max(24px,calc((100% - 830px)/2))}.chat-heading .help-button{font-size:12px;white-space:nowrap}.chat-heading .help-button span{font-size:10px}.workspace:not(.is-admin):not(.is-full){position:relative}.signed-in .workspace:has(.history-panel:not([hidden])) .chat-panel{padding-left:max(24px,calc((100% - 1100px)/2));padding-right:max(24px,calc((100% - 1100px)/2))}@media(max-width:740px){.signed-in .chat-panel{padding:0 18px 12px}.topbar nav>a{display:block;font-size:10px;padding:4px}.signed-in .profile-name{display:none}.topbar .profile-button{padding:5px}.chat-heading small{max-width:180px}.chat-heading{gap:8px}.chat-heading button{padding:5px}.chat-heading .help-button{font-size:11px}.chat-heading .help-button span{display:none}.signed-in .workspace:has(.history-panel:not([hidden])) .chat-panel{padding:0 18px 12px}}

.hero-photo{object-position:60% 55%}.hero-shade{background:linear-gradient(90deg,rgba(12,30,21,.35),rgba(16,32,23,.02)),linear-gradient(0deg,rgba(9,24,18,.66),transparent 50%)}.hero-content{padding-top:clamp(30px,4vw,65px)}.hero h1{margin-top:26px}@media(max-width:740px){.hero-photo{object-position:center center}.hero-content{padding-top:35px}.hero h1{font-size:49px}.hero{min-height:620px}.hero p{max-width:260px}}

.workspace>.hero{flex:1;width:auto}.workspace>.chat-panel{width:var(--chat-width,43%)}#chat-resize{width:7px;flex-shrink:0;background:#edf0e7;cursor:col-resize;position:relative;z-index:2}#chat-resize::after{content:'';position:absolute;top:45%;left:2px;width:3px;height:46px;border-radius:3px;background:#c9d1bf}.signed-in #chat-resize,.is-full #chat-resize,.is-admin #chat-resize{display:none}.signed-in .workspace>.chat-panel,.is-full>.chat-panel{width:100%}.message.assistant .message-body>*{animation:arrive .3s ease-out both}.message.assistant .message-body>*:nth-child(2){animation-delay:.04s}.message.assistant .message-body>*:nth-child(3){animation-delay:.08s}.message.assistant .message-body>*:nth-child(4){animation-delay:.12s}@media(max-width:740px){#chat-resize{display:none}.workspace>.hero,.workspace>.chat-panel{width:100%}.signed-in .workspace>.chat-panel{width:100%}}@media(prefers-reduced-motion:reduce){.message.assistant .message-body>*{animation:none!important}}

@media(max-width:740px){.chat-heading .help-button span{display:inline;font-size:9px}.chat-heading>div:nth-child(2){min-width:0}.chat-heading small{font-size:9px;max-width:140px}.chat-heading .help-button{padding:5px 2px}}
/* Full-screen public entry; the conversation opens only when invited. */
.chat-launcher,.chat-close{display:none}.hero-picture{display:contents}
.landing-page:not(.signed-in){background:#13271d}.landing-page:not(.signed-in) .topbar{position:absolute;inset:0 0 auto;height:92px;background:transparent;border:0;backdrop-filter:none;color:#fff;padding:22px clamp(24px,4vw,72px)}.landing-page:not(.signed-in) .header-motto{color:#e6e8de}.landing-page:not(.signed-in) .topbar button{border-color:#ffffff45;background:#ffffff0c;color:white}.landing-page:not(.signed-in) .topbar button:hover{background:#ffffff22}.landing-page:not(.signed-in) .topbar .primary{background:#f5f2e8;color:#203829;border-color:#f5f2e8;padding:12px 22px}.landing-page:not(.signed-in) .workspace{min-height:100svh;display:block}.landing-page:not(.signed-in) .workspace>.hero{width:100%;min-height:100svh;height:100dvh;min-height:680px;display:flex;align-items:center}.landing-page:not(.signed-in) .hero-photo{object-position:center center}.landing-page:not(.signed-in) .hero-shade{background:linear-gradient(90deg,#081b15c9 0%,#0c211955 48%,transparent 76%),linear-gradient(180deg,#07180c66,transparent 28%,transparent 70%,#081a12a6)}.landing-page:not(.signed-in) .hero-content{padding:120px clamp(24px,6vw,110px) 135px;max-width:880px}.landing-page:not(.signed-in) .hero h1{font-size:clamp(50px,5.7vw,90px);margin:28px 0;letter-spacing:-3px}.landing-page:not(.signed-in) .hero p{max-width:420px}.landing-page:not(.signed-in) .hero-bottom{left:clamp(24px,6vw,110px);right:clamp(24px,6vw,110px);bottom:28px;max-width:680px}.landing-page #chat-resize{display:none!important}.landing-page:not(.signed-in) .chat-panel{display:none}.landing-page:not(.signed-in).chat-open .chat-panel{display:flex;position:fixed;z-index:40;right:24px;top:104px;width:min(470px,calc(100vw - 48px));height:calc(100dvh - 128px);padding:0 22px 15px;border:1px solid #dce2d4;border-radius:22px;box-shadow:0 20px 100px #081b1566;animation:arrive .24s ease-out}.landing-page:not(.signed-in).chat-open .chat-close{display:block;font-size:27px;line-height:1}.landing-page:not(.signed-in).chat-open .chat-heading{gap:7px;padding:17px 0}.landing-page:not(.signed-in).chat-open .chat-heading small{max-width:145px}.landing-page:not(.signed-in).chat-open .welcome{padding-top:25px}.landing-page:not(.signed-in).chat-open .welcome h2{font-size:31px}.landing-page:not(.signed-in) .chat-launcher{display:flex;align-items:center;gap:12px;position:fixed;right:28px;bottom:max(28px,env(safe-area-inset-bottom));z-index:35;background:#f5f2e8;color:#234933;border:1px solid #fff8;box-shadow:0 8px 40px #071b1540;border-radius:40px;padding:15px 21px;font-size:13px;font-weight:600}.landing-page:not(.signed-in) .chat-launcher:hover{background:white;transform:translateY(-2px)}.landing-page:not(.signed-in).chat-open .chat-launcher{display:none}.login-footnote{text-align:center;font-size:11px!important}#login-form input{min-height:48px}#login-form .primary{min-height:48px}
@media(max-width:740px){.landing-page:not(.signed-in) .topbar{height:78px;padding:16px 21px;gap:12px}.landing-page:not(.signed-in) .topbar nav button:not(.primary){display:none}.landing-page:not(.signed-in) .brand{font-size:27px}.landing-page:not(.signed-in) .brand img{width:34px;height:38px}.landing-page:not(.signed-in) .hero-content{padding:116px 26px 190px;align-self:flex-start;max-width:100%}.landing-page:not(.signed-in) .workspace>.hero{height:100svh;min-height:720px}.landing-page:not(.signed-in) .hero-photo{object-position:70% 60%}.landing-page:not(.signed-in) .hero-shade{background:linear-gradient(180deg,#071d15b8,#0920176b 46%,#09201720 72%,#071d15d9),linear-gradient(90deg,#071d1533,transparent)}.landing-page:not(.signed-in) .hero h1{font-size:clamp(44px,11vw,66px);letter-spacing:-2px;margin:22px 0}.landing-page:not(.signed-in) .hero p{font-size:14px;max-width:310px;line-height:1.6}.landing-page:not(.signed-in) .hero-button{margin-top:22px;min-width:215px;padding:13px 16px;font-size:12px}.landing-page:not(.signed-in) .hero-bottom{left:26px;right:26px;bottom:96px;padding-top:14px;font-size:9px;gap:15px}.landing-page:not(.signed-in) .chat-launcher{right:20px;bottom:max(20px,env(safe-area-inset-bottom));padding:14px 18px;font-size:12px}.landing-page:not(.signed-in).chat-open{overflow:hidden}.landing-page:not(.signed-in).chat-open .topbar{position:fixed;background:#f7f5ef;color:#203829;height:72px;z-index:45}.landing-page:not(.signed-in).chat-open .topbar .primary{background:#244b3b;color:white;border-color:#244b3b;padding:10px 16px}.landing-page:not(.signed-in).chat-open .chat-panel{top:72px;right:0;bottom:0;width:100%;height:calc(100dvh - 72px);border:0;border-radius:0;padding:0 18px max(12px,env(safe-area-inset-bottom));box-shadow:none}.landing-page:not(.signed-in).chat-open .chat-heading{gap:6px;padding:14px 0}.landing-page:not(.signed-in).chat-open .chat-heading small{font-size:8px;max-width:120px}.landing-page:not(.signed-in).chat-open .assistant-mark{width:35px;height:35px;font-size:16px}.landing-page:not(.signed-in).chat-open .chat-heading button{padding:5px}.landing-page:not(.signed-in).chat-open .welcome h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.landing-page:not(.signed-in).chat-open .chat-panel{animation:none}}
/* Phones: compact round launcher and a hero that always fits the visible screen. */
@media(max-width:740px){.landing-page:not(.signed-in) .chat-launcher{width:58px;height:58px;padding:0;justify-content:center;border-radius:50%;right:18px;bottom:max(18px,env(safe-area-inset-bottom))}.landing-page:not(.signed-in) .chat-launcher span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.landing-page:not(.signed-in) .hero-bottom{right:96px;bottom:max(26px,env(safe-area-inset-bottom))}}
@media(max-width:740px) and (max-height:760px){.landing-page:not(.signed-in) .workspace>.hero{min-height:100svh;height:100svh}.landing-page:not(.signed-in) .hero-content{padding:96px 22px 110px}.landing-page:not(.signed-in) .hero h1{font-size:clamp(36px,10.5vw,52px);margin:14px 0}.landing-page:not(.signed-in) .hero p{font-size:13px;line-height:1.5}.landing-page:not(.signed-in) .hero-button{margin-top:16px}}
@media(max-width:740px) and (max-height:600px){.landing-page:not(.signed-in) .hero-bottom{display:none}.landing-page:not(.signed-in) .hero-content{padding-top:84px;padding-bottom:84px}}
/* Launcher is always a compact round icon, on every screen size. */
.landing-page:not(.signed-in) .chat-launcher{width:56px;height:56px;padding:0;justify-content:center;border-radius:50%;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));gap:0}.landing-page:not(.signed-in) .chat-launcher span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.landing-page:not(.signed-in) .chat-launcher svg{width:24px;height:24px}
@media(min-width:741px){.landing-page:not(.signed-in) .chat-launcher{width:60px;height:60px;right:28px;bottom:28px}.landing-page:not(.signed-in) .hero-bottom{right:110px}}
/* The assistant's face: on the floating launcher and in the chat heading. */
.assistant-mark img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 18%;background:#efe9dc}
.landing-page:not(.signed-in) .chat-launcher{overflow:visible;padding:3px;background:#f5f2e8;border:2px solid #c9773f}.landing-page:not(.signed-in) .chat-launcher .launcher-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 18%;background:#efe9dc;display:block}.landing-page:not(.signed-in) .chat-launcher::after{content:"";position:absolute;right:3px;bottom:4px;width:10px;height:10px;border-radius:50%;background:#719568;border:2px solid #f5f2e8}
/* Greeting bubble beside the launcher; visible before the chat is opened. */
.chat-greeting{display:none}
.landing-page:not(.signed-in) .chat-greeting:not([hidden]){display:flex;align-items:flex-start;position:fixed;z-index:36;right:100px;bottom:34px;max-width:300px;background:#f7f5ef;color:#203829;border-radius:18px 18px 4px 18px;box-shadow:0 12px 40px #071b1555;animation:greet .35s ease-out}
.chat-greeting .greeting-text{all:unset;cursor:pointer;padding:14px 4px 14px 16px;display:grid;gap:4px;font-size:13px;line-height:1.45}.chat-greeting .greeting-text strong{font-size:14px}.chat-greeting .greeting-text span{color:#4d5c50}.chat-greeting .greeting-text:focus-visible{outline:2px solid #c9773f;border-radius:14px}
.chat-greeting .greeting-close{flex:none;border:0;background:transparent;color:#4d5c50;font-size:20px;line-height:1;width:36px;height:36px;margin:4px 4px 0 0;border-radius:50%;cursor:pointer}.chat-greeting .greeting-close:hover{background:#e8e4d8}
.landing-page:not(.signed-in).chat-open .chat-greeting{display:none!important}
@keyframes greet{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:740px){.landing-page:not(.signed-in) .chat-greeting:not([hidden]){right:16px;left:auto;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 68px);max-width:min(300px,calc(100vw - 32px));border-radius:18px 18px 4px 18px}}
@media(prefers-reduced-motion:reduce){.chat-greeting{animation:none!important}}
/* Back link from a pillar to the movement overview. */
.modal-back{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#244b3b;padding:8px 12px 8px 0;margin:-6px 0 10px;min-height:32px}.modal-back:hover{text-decoration:underline}.modal-back:focus-visible{outline:2px solid #c9773f;border-radius:8px}

/* Admin: five clear destinations with icons; photo on the user form. */
.admin-nav nav button{display:flex;align-items:center;gap:11px;font-size:13px;padding:11px 12px;border-radius:12px;background:transparent;color:#2c3b31}.admin-nav nav button svg{flex:none;opacity:.85}.admin-nav nav button:hover{background:#e6eadf}.admin-nav nav button.active{background:#244b3b;color:#fff}.admin-nav nav button.active svg{opacity:1}
.filters{display:flex;flex-wrap:wrap;gap:8px}
.user-photo{display:flex;align-items:center;gap:16px;margin-bottom:6px}.avatar-preview{flex:none;width:72px;height:72px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#e6eadf;color:#244b3b;font-size:26px;font-weight:700;border:1px solid #d6dccd}.avatar-preview img{width:100%;height:100%;object-fit:cover}.user-photo small{display:block;font-size:11px;color:#6b7768;margin-top:6px}
.photo-pick{display:inline-flex!important;align-items:center;cursor:pointer;border:1px solid #cdd3c4;border-radius:10px;padding:9px 14px;font-size:13px;font-weight:600;background:#fff;color:#244b3b}.photo-pick:hover{background:#f1f3ec}.photo-pick input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.photo-pick:focus-within{outline:2px solid #c9773f;outline-offset:2px}
@media(max-width:740px){.admin-nav nav{gap:6px;padding-bottom:2px;scrollbar-width:none}.admin-nav nav::-webkit-scrollbar{display:none}.admin-nav nav button{flex:none;font-size:12px;padding:9px 13px;gap:7px;background:#fff;border:1px solid #dce1d2}.admin-nav nav button svg{width:16px;height:16px}.admin-nav nav button.active{border-color:#244b3b}.filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.filters::-webkit-scrollbar{display:none}.filters button{flex:none}}

/* Chat heading: history and new conversation spelled out. */
.chat-heading .head-action{display:inline-flex;align-items:center;gap:7px;border:1px solid #d6dccd;background:#fff;color:#244b3b;border-radius:999px;padding:8px 14px;font-size:12px;font-weight:600;white-space:nowrap}.chat-heading .head-action:hover{background:#eef1e8}.chat-heading .head-action svg{flex:none}
@media(max-width:560px){.chat-heading small{display:none}.chat-heading .head-action{padding:7px 10px;gap:5px;font-size:11px}.chat-heading .head-action .long{display:none}.chat-heading .help-button span{display:none}}

/* Live recording strip, image tray and images inside the conversation. */
.rec-live{display:flex;align-items:center;gap:10px;padding:8px 12px;margin:0 0 8px;border-radius:14px;background:#fbeee9;color:#8a3420}.rec-live canvas{flex:1;min-width:0;height:36px;width:100%}.rec-dot{width:10px;height:10px;border-radius:50%;background:#c64c32;animation:recblink 1s infinite;flex:none}.rec-time{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600;flex:none}
@keyframes recblink{50%{opacity:.25}}
.image-tray{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px}.image-tray[hidden]{display:none}.image-tray figure{position:relative;margin:0;width:64px;height:64px;border-radius:12px;overflow:hidden;background:#e6eadf;border:1px solid #d6dccd}.image-tray img{width:100%;height:100%;object-fit:cover}.image-tray .tray-loading{display:grid;place-items:center;height:100%;font-size:9px;color:#5b6858}.image-tray figure button{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;border:0;padding:0;background:#203829d9;color:#fff;font-size:14px;line-height:22px}
.message-images{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 8px;justify-content:flex-end}.message-images button{all:unset;cursor:pointer;width:120px;height:120px;border-radius:14px;overflow:hidden;border:1px solid #d6dccd}.message-images img{width:100%;height:100%;object-fit:cover;display:block}.message-images button:focus-visible{outline:2px solid #c9773f}
.image-full{display:block;width:100%;max-height:70vh;object-fit:contain;border-radius:14px;background:#111;margin:12px 0}
.message.assistant .message-head img.avatar{object-fit:cover;object-position:50% 18%}
@media(max-width:560px){.message-images button{width:96px;height:96px}}
@media(prefers-reduced-motion:reduce){.rec-dot{animation:none}}

/* Without an account there is no history: offer the way back instead. */
body:not(.signed-in) .chat-heading .head-action[data-action=history]{display:none}
.chat-heading .guest-home{display:none;text-decoration:none}
body:not(.signed-in):not(.landing-page) .chat-heading .guest-home{display:inline-flex}

/* Admin media grid; files open in a modal on the same tab. */
.mtile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin-top:18px}
.mtile{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;background:#fff;border:1px solid #dce1d2;border-radius:18px;overflow:hidden;transition:transform .15s,box-shadow .15s}.mtile:hover{transform:translateY(-2px);box-shadow:0 10px 30px #1f382a1f}.mtile:focus-visible{outline:2px solid #c9773f;outline-offset:2px}
.media-thumb{position:relative;display:block;aspect-ratio:16/10;background:#1f382a;overflow:hidden}.media-thumb video,.media-thumb img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.media-thumb .badge{position:absolute;left:10px;top:10px;background:#f7f5efe6;color:#203829}
.media-audio{display:grid;place-items:center;width:100%;height:100%;color:#f1e7d3;background:linear-gradient(135deg,#244b3b,#3d6b4f)}
.media-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#f7f5efd9;color:#244b3b;padding-left:3px;box-sizing:border-box}
.media-info{display:grid;gap:6px;padding:14px 16px 16px}.media-info strong{font-size:14px;color:#203829}.media-info small{font-size:12px;line-height:1.45;color:#5f6b5c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.media-modal-video{display:block;width:100%;max-height:65vh;border-radius:14px;background:#000;margin:12px 0}.media-modal-audio{display:block;width:100%;margin:16px 0}.media-modal-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:14px;margin:12px 0;background:#000}
@media(max-width:560px){.mtile-grid{grid-template-columns:1fr 1fr;gap:12px}.media-info{padding:10px 12px 12px}.media-info small{display:none}.media-play{width:38px;height:38px}}

/* Admin lists as grids of clickable cards. */
#admin-content.grid-view{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;align-items:stretch}
#admin-content.grid-view>*{margin:0}
#admin-content.grid-view>.filters,#admin-content.grid-view>.pagination,#admin-content.grid-view>.empty,#admin-content.grid-view>p,#admin-content.grid-view>[data-new-user],#admin-content.grid-view>.admin-card:has(h2),#admin-content.grid-view>.stats,#admin-content.grid-view>#reaction-list{grid-column:1/-1}
#admin-content.grid-view>[data-new-user]{justify-self:start}
#reaction-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}#reaction-list>.pagination,#reaction-list>.empty{grid-column:1/-1}
#admin-content.grid-view .admin-card,#reaction-list .admin-card{display:flex;flex-direction:column;padding:18px;border-radius:16px;cursor:pointer;transition:transform .15s,box-shadow .15s;min-width:0}
#admin-content.grid-view .admin-card:hover,#reaction-list .admin-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px #1f382a1a}
#admin-content.grid-view .admin-card:has(h2){cursor:default;transform:none;box-shadow:none}
#admin-content.grid-view .admin-card .row,#reaction-list .admin-card .row{flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:14px}
#admin-content.grid-view .admin-card h3,#reaction-list .admin-card h3{font-size:15px;line-height:1.35;margin:8px 0 6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#admin-content.grid-view .admin-card small,#admin-content.grid-view .admin-card p{font-size:11px}
#admin-content.grid-view .admin-card .row>button,#reaction-list .admin-card .row>button{align-self:flex-start}
#admin-content .pagination{display:flex;align-items:center;justify-content:space-between;gap:10px}
@media(max-width:560px){#admin-content.grid-view,#reaction-list{grid-template-columns:1fr}}

/* Premium finish for admin cards. */
#admin-content.grid-view .admin-card,#reaction-list .admin-card{background:#fff;border:1px solid #e2e6da;box-shadow:0 1px 2px #1f382a0d;gap:4px}
#admin-content.grid-view .admin-card .badge,#reaction-list .admin-card .badge{align-self:flex-start;font-size:10px;letter-spacing:.3px}
#admin-content.grid-view .admin-card .row>button,#reaction-list .admin-card .row>button{align-self:stretch;width:100%;display:inline-flex;justify-content:center;align-items:center;gap:6px;border:0;border-radius:12px;padding:11px 14px;background:#f1f4ec;color:#244b3b;font-size:12px;font-weight:600}
#admin-content.grid-view .admin-card .row>button:hover,#reaction-list .admin-card .row>button:hover{background:#244b3b;color:#fff}
#admin-content.grid-view .admin-card .row>button[data-remove-conversation]{background:#fff;border:1px solid #e7c9bf;color:#a03a26}
#admin-content.grid-view .admin-card .row>button[data-remove-conversation]:hover{background:#a03a26;color:#fff;border-color:#a03a26}
#admin-content.grid-view .admin-card:has([data-remove-conversation]){cursor:default}
#admin-content.grid-view .admin-card:has([data-remove-conversation]):hover{transform:none;box-shadow:0 1px 2px #1f382a0d}
#admin-content.grid-view .admin-card .profile-button{display:flex;align-items:center;gap:12px;text-align:left}
.mtile{box-shadow:0 1px 2px #1f382a0d}.media-info{flex:1;align-content:start}
.media-info::after{content:"Ver →";justify-self:start;margin-top:6px;font-size:12px;font-weight:600;color:#244b3b;background:#f1f4ec;border-radius:10px;padding:8px 12px}
.mtile:hover .media-info::after{background:#244b3b;color:#fff}
.mtile{min-height:100%}
.media-info{grid-template-rows:auto auto 1fr}.media-info::after{align-self:end}

/* Credits on media, people on reactions. */
.media-credit{font-style:normal;font-size:11px;color:#7a6a4f}
.media-credits{font-size:12px;color:#5f6b5c;border-top:1px solid #e2e6da;padding-top:10px}
.people-filter{margin-top:-4px}.people-filter button{font-size:11px}
#admin-content.grid-view>.people-filter{grid-column:1/-1}
.reaction-who{display:flex;align-items:center;gap:10px;margin-bottom:6px}.reaction-who .avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none;display:grid;place-items:center;background:#e6eadf;color:#244b3b;font-weight:700}.reaction-who span:not(.badge){display:grid;line-height:1.25;min-width:0}.reaction-who strong{font-size:13px}.reaction-who small{font-size:11px;color:#6b7768}.reaction-who .badge{margin-left:auto}
.reaction-who.big{margin:8px 0 4px}.reaction-who.big .avatar{width:44px;height:44px}
.badge.good{background:#e3f0dc;color:#2f5a2b}.badge.bad{background:#f6e3dc;color:#8a3420}

/* Media tiles inside chat answers. */
.message .mtile-grid.chat-tiles{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin:14px 0 6px}
.message .chat-tiles .mtile{border-radius:14px}
.message .chat-tiles .media-info{padding:10px 12px 12px;gap:4px}
.message .chat-tiles .media-info strong{font-size:13px;line-height:1.3}
.message .chat-tiles .media-info small{font-size:11px}
.message .chat-tiles .media-info::after{padding:6px 10px;font-size:11px}
.message .chat-tiles .media-play{width:40px;height:40px}
@media(max-width:560px){.message .mtile-grid.chat-tiles{grid-template-columns:1fr 1fr;gap:10px}}
/* Entrar stays legible on hover, focus and tap. */
.landing-page:not(.signed-in) .topbar .primary:hover,.landing-page:not(.signed-in) .topbar .primary:focus,.landing-page:not(.signed-in) .topbar .primary:focus-visible,.landing-page:not(.signed-in) .topbar .primary:active{background:#fff;color:#203829;border-color:#fff}
.landing-page:not(.signed-in).chat-open .topbar .primary:hover,.landing-page:not(.signed-in).chat-open .topbar .primary:focus,.landing-page:not(.signed-in).chat-open .topbar .primary:active{background:#1c3b2e;color:#fff;border-color:#1c3b2e}

/* Bulk actions per person in Conversas. */
.bulk-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border:1px solid #e2e6da;border-radius:14px;background:#fff;font-size:13px}
.bulk-bar button{border-radius:10px;padding:9px 14px;font-size:12px;font-weight:600}
.bulk-bar button.danger{background:#fff;border:1px solid #e7c9bf;color:#a03a26}.bulk-bar button.danger:hover{background:#a03a26;color:#fff;border-color:#a03a26}

/* Voice waveform: crisp canvas filling the strip. */
.rec-live{padding:10px 14px;border-radius:16px;background:linear-gradient(90deg,#fbefea,#fdf6f3)}
.rec-live canvas{display:block;height:40px;flex:1;min-width:0;width:100%}
.rec-dot{width:9px;height:9px;box-shadow:0 0 0 4px #c64c3222}
.rec-time{min-width:34px;text-align:right;color:#a03a26}

/* Admin-only delete next to each conversation in the history panel. */
#history-list .history-row{display:flex;align-items:stretch;gap:4px}
#history-list .history-row .history-item{flex:1;min-width:0}
#history-list .history-delete{flex:none;width:38px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:transparent;color:#a03a26;opacity:.5;cursor:pointer}
#history-list .history-row:hover .history-delete,#history-list .history-delete:focus-visible{opacity:1}
#history-list .history-delete:hover{background:#f6e3dc;opacity:1}
@media(hover:none){#history-list .history-delete{opacity:.8}}
#modal .primary.danger{background:#a03a26;border-color:#a03a26}
#history-list .history-item{overflow-wrap:anywhere;word-break:break-word}

/* Voice like ChatGPT: mic when empty, send when there is text; recording strip with pause and send. */
#composer:not(.has-text) #send{display:none}
#composer.has-text #record{display:none}
#composer #record.mic{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;padding:0;background:#244b3b;color:#fff;border:0}
#composer #record.mic svg{width:20px;height:20px}
#composer #record.mic:hover{background:#1c3b2e}
#composer.is-recording textarea,#composer.is-recording .composer-actions,#composer.is-recording .image-tray{display:none!important}
#composer .rec-live{margin:0;gap:10px}
#composer .rec-live button{flex:none;border:0;cursor:pointer;display:grid;place-items:center;padding:0;border-radius:50%}
#composer .rec-cancel{width:32px;height:32px;background:transparent;color:#8a3420;font-size:22px;line-height:1}
#composer .rec-cancel:hover{background:#f3ddd5}
#composer .rec-pause{width:40px;height:40px;background:#fff;color:#a03a26;border:1px solid #e7c9bf!important}
#composer .rec-pause:hover{background:#fbeee9}
#composer .rec-send{width:40px;height:40px;background:#244b3b;color:#fff;font-size:20px}
#composer .rec-send:hover{background:#1c3b2e}
#composer .rec-live.paused .rec-dot{animation:none;opacity:.35}
#composer .rec-live.paused canvas{opacity:.55}
#composer .rec-live.working canvas{opacity:.35}
#composer .rec-live.working .rec-time{min-width:auto;font-weight:500}
#composer .rec-live button:disabled{opacity:.45;cursor:default}
@media(max-width:560px){#composer .rec-live{gap:7px;padding:8px 10px}#composer .rec-live canvas{height:34px}#composer .rec-time{min-width:30px;font-size:11px}}
#composer.has-text #record.mic{display:none}

/* Voice message waiting for its transcript. */
.message.user.pending-voice .message-body{color:#5f6b5c;font-style:italic}
.voice-wait{display:inline-flex;gap:3px;margin-right:6px;vertical-align:middle}
.voice-wait i{width:5px;height:5px;border-radius:50%;background:#7b8a74;animation:voicewait 1s infinite}
.voice-wait i:nth-child(2){animation-delay:.15s}.voice-wait i:nth-child(3){animation-delay:.3s}
@keyframes voicewait{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.voice-wait i{animation:none}}

/* Plain-language explanation of each access level; proposal card states. */
.level-help{display:grid;gap:4px;margin:-4px 0 12px;padding:12px 14px;border-radius:12px;background:#eef2e8;border:1px solid #dce3d3;font-size:13px;line-height:1.5;color:#35473a}
.level-help strong{font-size:13px;color:#203829}
.proposal-card.sent{border-color:#c9d8c2;background:#f2f7ef}
.proposal-card.sent .eyebrow{color:#2f5a2b}

/* Curation cards inside the conversation. */
.review-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin:14px 0 6px}
.review-card{display:grid;gap:6px;align-content:start;padding:14px;border:1px solid #dce3d3;border-radius:14px;background:#fff}
.review-card .badge{justify-self:start;font-size:10px}
.review-card strong{font-size:14px;line-height:1.35;color:#203829;overflow-wrap:anywhere}
.review-card small{font-size:11px;color:#6b7768}
.review-card button{justify-self:stretch;margin-top:4px;border:0;border-radius:10px;padding:9px 12px;background:#f1f4ec;color:#244b3b;font-size:12px;font-weight:600;cursor:pointer}
.review-card button:hover{background:#244b3b;color:#fff}
.review-card.decided{opacity:.75}
@media(max-width:560px){.review-cards{grid-template-columns:1fr}}

/* Conversas by day, and a read-only transcript. */
#admin-content.grid-view>.day-heading{grid-column:1/-1;margin:14px 0 0;font-size:14px;font-weight:700;color:#203829;display:flex;align-items:center;gap:8px;text-transform:none}
#admin-content.grid-view>.day-heading span{font-size:11px;font-weight:600;color:#5f6b5c;background:#e6eadf;border-radius:999px;padding:2px 8px}
#admin-content.grid-view .conv-card{cursor:pointer}
#admin-content.grid-view .conv-card:has([data-read-conversation]),#admin-content.grid-view .conv-card:has([data-guest-conv]){cursor:pointer}
#admin-content.grid-view .conv-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px #1f382a1a}
.conv-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.conv-actions button{width:100%;border:0;border-radius:12px;padding:11px 10px;background:#f1f4ec;color:#244b3b;font-size:12px;font-weight:600;cursor:pointer}
.conv-actions button:hover{background:#244b3b;color:#fff}
.conv-actions button[data-remove-conversation]{background:#fff;border:1px solid #e7c9bf;color:#a03a26}
.conv-actions button[data-remove-conversation]:hover{background:#a03a26;color:#fff}
.conv-actions:not(:has([data-read-conversation])){grid-template-columns:1fr}
.transcript{display:grid;gap:18px;margin:14px 0}
.t-turn{display:grid;gap:10px}
.t-user{justify-self:end;max-width:88%;background:#e9efe4;border-radius:16px 16px 4px 16px;padding:10px 14px}
.t-bot{max-width:100%;padding:2px 2px 0}
.t-who{display:block;font-size:11px;font-weight:600;color:#6b7768;margin-bottom:4px}
.t-user .message-images{justify-content:flex-start}

/* Compact, elegant sign-in window. */
#modal:has(#login-form){width:400px;padding:32px 32px 24px;border-radius:22px}
#modal:has(#login-form) .login-mark{display:block;width:38px;height:auto;margin:0 0 16px}
#modal:has(#login-form) .eyebrow{font-size:9px;letter-spacing:2.4px}
#modal:has(#login-form) h2{font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:8px 0 8px}
#modal:has(#login-form) h2+p{font-size:12.5px;line-height:1.55;margin:0 0 6px}
#modal:has(#login-form) label{margin:14px 0 0;font-size:12px;font-weight:600;color:#2c3b31}
#modal:has(#login-form) input{min-height:44px;padding:10px 13px;border-radius:11px;font-size:14px}
#modal:has(#login-form) input:focus{outline:2px solid #244b3b33;border-color:#244b3b}
#modal:has(#login-form) #login-form .primary{min-height:46px;margin-top:20px;border-radius:12px;font-size:14px}
#modal:has(#login-form) .login-footnote{margin:14px 0 0;font-size:11px!important}
@media(max-width:480px){#modal:has(#login-form){padding:28px 22px 20px}#modal:has(#login-form) h2{font-size:23px}}

/* All access levels in one card; the chosen one is highlighted. */
.level-picker{border:0;padding:0;margin:16px 0 6px;min-width:0}
.level-picker legend{font-size:12px;padding:0;margin-bottom:8px;color:#20291f}
.level-picker .level-help{display:grid;gap:0;margin:0;padding:6px;border-radius:14px;background:#fff;border:1px solid #dce3d3}
.level-option{all:unset;box-sizing:border-box;display:flex;gap:12px;align-items:flex-start;width:100%;padding:12px 12px;border-radius:10px;cursor:pointer;color:#35473a}
.level-option+.level-option{border-top:1px solid #eef1ea}
.level-option:hover{background:#f5f7f1}
.level-option:focus-visible{outline:2px solid #c9773f;outline-offset:-2px}
.level-option.active{background:#eaf1e5}
.level-option.active+.level-option{border-top-color:transparent}
.level-dot{flex:none;width:18px;height:18px;margin-top:1px;border-radius:50%;border:2px solid #b9c4b0;background:#fff}
.level-option.active .level-dot{border-color:#244b3b;background:radial-gradient(circle,#244b3b 0 4px,#fff 5px)}
.level-text{display:grid;gap:3px}
.level-text strong{font-size:13px;color:#203829}
.level-text small{font-size:12px;line-height:1.5;color:#5f6b5c}
.level-option.active .level-text small{color:#35473a}
@media(hover:none){.level-option:hover{background:transparent}.level-option.active:hover{background:#eaf1e5}}

/* Warning when access is switched off. */
.inactive-note{margin:-4px 0 14px;padding:12px 14px;border-radius:12px;background:#fbeee9;border:1px solid #efcdc2;color:#7a3322!important;font-size:12.5px!important;line-height:1.55}
.inactive-note strong{color:#8a3420}
.inactive-note[hidden]{display:none}
.button-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:12px 18px;border-radius:12px;background:#244b3b;color:#fff!important;font-weight:600;font-size:14px}

/* ===== Public landing v2 (owner's mock-up) ===== */
.landing-more,.hero-strip,.hero-actions{display:none}
.landing-page:not(.signed-in) .landing-more{display:block}
.landing-page:not(.signed-in) .workspace>.hero{height:auto;min-height:max(640px,88svh);display:flex;flex-direction:column;justify-content:center;padding-bottom:0}
.landing-page:not(.signed-in) .hero-bottom{display:none}
.landing-page:not(.signed-in) .hero-content{position:relative;z-index:2;padding:150px clamp(24px,6vw,110px) 40px;max-width:820px}
.landing-page:not(.signed-in) .hero h1{font-size:clamp(46px,5.4vw,84px);margin:22px 0 22px;letter-spacing:-2.6px}
.landing-page:not(.signed-in) .hero-content>p{max-width:470px;font-size:16px;line-height:1.65;color:#eef0e8}
.landing-page:not(.signed-in) .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero-cta,.hero-ghost{display:inline-flex;align-items:center;gap:12px;border-radius:12px;padding:14px 22px;font-size:14px;font-weight:600;cursor:pointer;transition:transform .15s,background .15s}
.hero-cta{background:#244b3b;color:#fff;border:1px solid #2f5d49}
.hero-cta:hover{background:#1c3b2e;transform:translateY(-1px)}
.hero-ghost{background:#ffffff14;color:#fff;border:1px solid #ffffff66;backdrop-filter:blur(4px)}
.hero-ghost:hover{background:#ffffff26;transform:translateY(-1px)}
.hero-cta:focus-visible,.hero-ghost:focus-visible{outline:2px solid #e2c79a;outline-offset:3px}
.landing-page:not(.signed-in) .hero-strip{display:flex;position:relative;z-index:2;align-items:center;justify-content:space-between;gap:24px;margin-top:auto;padding:22px clamp(24px,6vw,110px) 30px;border-top:1px solid #ffffff2b;background:linear-gradient(180deg,transparent,#06150fb3)}
.hero-stats{list-style:none;display:flex;flex-wrap:wrap;gap:14px 34px;margin:0;padding:0}
.hero-stats li{display:flex;align-items:center;gap:10px;color:#e6dcc4}
.hero-stats span{display:grid;font-size:11px;line-height:1.35;color:#d9ded3}
.hero-stats b{font-size:13px;color:#fff;font-weight:600}
.hero-script{display:flex;align-items:center;gap:14px;margin:0;font-family:Playfair,Georgia,serif;font-style:italic;font-size:22px;line-height:1.2;color:#f1e7d3;text-align:right;transform:rotate(-4deg)}
.hero-script span{width:70px;height:1px;background:#f1e7d388}
.landing-more{background:#f6f4ee;padding:64px clamp(20px,6vw,110px) 28px;color:#1d2a20}
.paths-head h2{font-size:clamp(28px,3.4vw,42px);letter-spacing:-1.2px;line-height:1.1;margin:0;color:#1f3b2c}
.paths-head h2 span{color:#244b3b}
.paths-head p{margin:10px 0 0;color:#5f6b5c;font-size:14px}
.paths{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:30px 0 26px}
.path button{all:unset;box-sizing:border-box;display:flex;flex-direction:column;width:100%;height:100%;cursor:pointer;background:#fff;border:1px solid #e1e5da;border-radius:18px;overflow:hidden;transition:transform .18s,box-shadow .18s}
.path button:hover{transform:translateY(-3px);box-shadow:0 16px 36px #1f382a1f}
.path button:focus-visible{outline:2px solid #c9773f;outline-offset:2px}
.path-img{display:block;aspect-ratio:4/3;overflow:hidden;background:#1f382a}
.path-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.path button:hover .path-img img{transform:scale(1.04)}
.path-body{display:grid;grid-template-rows:auto 1fr auto;gap:6px;padding:16px 16px 16px;flex:1}
.path-body strong{font-size:15px;line-height:1.25;color:#1f3b2c}
.path-body small{font-size:12.5px;line-height:1.5;color:#5f6b5c}
.path-go{display:grid;place-items:center;width:34px;height:34px;margin-top:6px;border-radius:50%;border:1px solid #cfd7c8;color:#244b3b;font-size:15px;transition:background .15s,color .15s}
.path button:hover .path-go{background:#244b3b;color:#fff;border-color:#244b3b}
.motto{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;border-radius:20px;background:#efece3;border:1px solid #e1ddd0}
.motto blockquote{margin:0;font-family:Playfair,Georgia,serif;font-style:italic;font-size:clamp(19px,2vw,26px);line-height:1.35;color:#1f3b2c}
.motto cite{display:flex;align-items:center;gap:12px;margin-top:8px;font-family:Manrope,system-ui,sans-serif;font-style:normal;font-size:12px;font-weight:700;letter-spacing:2px;color:#5f6b5c}
.motto cite::before{content:"";width:80px;height:1px;background:#9aa592}
.landing-foot{margin-top:26px;text-align:center;font-size:11px;color:#7b8576}
@media(max-width:1100px){.paths{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){
 .landing-page:not(.signed-in) .workspace>.hero{min-height:100svh;justify-content:flex-start}
 .landing-page:not(.signed-in) .hero-content{padding:104px 22px 24px}
 .landing-page:not(.signed-in) .hero h1{font-size:clamp(40px,11vw,58px);letter-spacing:-1.8px;margin:16px 0 14px}
 .landing-page:not(.signed-in) .hero-content>p{font-size:14px;max-width:340px}
 .landing-page:not(.signed-in) .hero-actions{gap:10px;margin-top:20px}
 .hero-cta,.hero-ghost{padding:12px 16px;font-size:13px}
 .landing-page:not(.signed-in) .hero-strip{flex-direction:column;align-items:flex-start;gap:16px;padding:18px 22px 92px}
 .hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;width:100%}
 .hero-stats svg{width:22px;height:22px}
 .hero-script{font-size:18px;align-self:flex-end;transform:rotate(-3deg)}
 .hero-script span{width:40px}
 .landing-more{padding:44px 0 24px}
 .paths-head,.motto,.landing-foot{margin-left:20px;margin-right:20px}
 .paths{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:4px 20px 8px;margin:22px 0 18px;scrollbar-width:none}
 .paths::-webkit-scrollbar{display:none}
 .path{flex:0 0 72%;scroll-snap-align:start}
 .motto{flex-direction:column;align-items:flex-start;padding:22px 20px}
}
@media(max-width:740px) and (max-height:700px){.landing-page:not(.signed-in) .hero-content{padding-top:90px}.landing-page:not(.signed-in) .hero h1{font-size:clamp(34px,10vw,46px)}}
@media(prefers-reduced-motion:reduce){.path button,.path-img img,.hero-cta,.hero-ghost{transition:none}}
.landing-page:not(.signed-in) .workspace>.hero{align-items:stretch}
.landing-page:not(.signed-in) .hero-content{align-self:flex-start;margin:0}
@media(max-width:740px){.landing-page:not(.signed-in) .hero-script{margin-right:4px}}
@media(max-width:740px){.paths{scroll-padding-left:20px;scroll-padding-right:20px}.landing-page:not(.signed-in) .hero-script{align-self:flex-start;text-align:left;margin-right:0}.landing-page:not(.signed-in) .hero-script span{order:2}}

/* Pillar arrows and mouse dragging (only when the cards scroll sideways). */
.paths-nav{display:none}
.paths img{-webkit-user-drag:none;user-select:none}
@media(max-width:740px){
 .paths-head{position:relative}
 .paths-nav{display:flex;gap:8px;margin-top:14px}
 .paths-nav button{width:40px;height:40px;border-radius:50%;border:1px solid #cfd7c8;background:#fff;color:#244b3b;font-size:16px;display:grid;place-items:center;padding:0;cursor:pointer}
 .paths-nav button:hover{background:#244b3b;color:#fff;border-color:#244b3b}
 .paths{cursor:grab}
 .paths.dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
 .paths.dragging .path button{pointer-events:none}
}

/* Landing without the header: the page starts on the hero; sign-in is reached through «Quero fazer parte». */
.landing-page:not(.signed-in) .topbar{display:none}
.landing-page:not(.signed-in) .hero-content{padding-top:110px}
.landing-page:not(.signed-in).chat-open .chat-panel{top:24px;height:calc(100dvh - 48px)}
@media(max-width:740px){
 .landing-page:not(.signed-in) .hero-content{padding-top:64px}
 .landing-page:not(.signed-in).chat-open .chat-panel{top:0;height:100dvh;padding-top:max(8px,env(safe-area-inset-top))}
}
@media(max-width:740px) and (max-height:700px){.landing-page:not(.signed-in) .hero-content{padding-top:48px}}

/* Highlights strip like the mock-up: golden icons and a handwritten line. */
@font-face{font-family:Caveat;src:url('/assets/caveat.woff2') format('woff2');font-weight:400 700;font-display:swap}
.landing-page:not(.signed-in) .hero-stats li{gap:12px}
.landing-page:not(.signed-in) .hero-stats li svg{color:#e2c79a;flex:none}
.landing-page:not(.signed-in) .hero-stats span{font-size:11.5px;color:#e7e2d4}
.landing-page:not(.signed-in) .hero-stats b{font-size:13.5px;font-weight:600}
.landing-page:not(.signed-in) .hero-script{font-family:Caveat,'Segoe Script','Bradley Hand',cursive;font-style:normal;font-weight:600;font-size:34px;line-height:1;letter-spacing:.2px;color:#fff;transform:rotate(-6deg);text-align:right;gap:22px}
.landing-page:not(.signed-in) .hero-script span{width:110px;background:#ffffffb3;align-self:center}
@media(max-width:740px){.landing-page:not(.signed-in) .hero-script{font-size:28px;transform:rotate(-4deg);gap:14px}.landing-page:not(.signed-in) .hero-script span{width:48px}.landing-page:not(.signed-in) .hero-stats li svg{width:26px;height:26px}}
/* The greeting bubble only shows while the hero is on screen, so it never covers the page's buttons. */
.landing-page.greeting-away .chat-greeting{display:none!important}
.landing-page:not(.signed-in) .hero p.hero-script{font-size:34px;line-height:1;max-width:none;color:#fff}
@media(max-width:740px){.landing-page:not(.signed-in) .hero p.hero-script{font-size:27px}}

/* Pillar window opens with the same photo as its card. */
.pillar-cover{display:block;object-position:center 35%;border-radius:0}

/* «Novidades» at the top of the landing. */
.news-pill{display:none}
.landing-page:not(.signed-in) .news-pill{display:inline-flex;align-items:center;gap:8px;margin:0 0 22px;padding:8px 14px;border-radius:999px;background:#ffffff1a;border:1px solid #ffffff40;color:#fff;font-size:12px;font-weight:600;cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.landing-page:not(.signed-in) .news-pill:hover{background:#ffffff2e}
.landing-page:not(.signed-in) .news-pill:focus-visible{outline:2px solid #e2c79a;outline-offset:3px}
.news-date{font-weight:400;color:#e6dcc4}
.news-dot{width:7px;height:7px;border-radius:50%;background:#e2c79a;box-shadow:0 0 0 4px #e2c79a33;animation:newsdot 2s infinite}
@keyframes newsdot{50%{box-shadow:0 0 0 7px #e2c79a00}}
.news-list{list-style:none;counter-reset:n;margin:18px 0 6px;padding:0;display:grid;gap:14px}
.news-list li{counter-increment:n;display:grid;grid-template-columns:30px 1fr;gap:4px 12px}
.news-list li::before{content:counter(n);grid-row:span 2;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eaf1e5;color:#244b3b;font-size:12px;font-weight:700}
.news-list strong{font-size:14px;color:#1f3b2c}
.news-list span{font-size:13px;line-height:1.55;color:#5f6b5c}
@media(max-width:740px){.landing-page:not(.signed-in) .news-pill{margin-bottom:16px;font-size:11.5px}.news-date{display:none}}
@media(prefers-reduced-motion:reduce){.news-dot{animation:none}}
