.brainflow{min-height:100svh;background:var(--paper);color:var(--ink)}.bf-header{background:var(--green);color:#fff;min-height:84px;padding:18px max(22px,calc((100vw - 1080px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:2px solid var(--orange)}.bf-header>a{display:flex;align-items:center;gap:20px;color:inherit;text-decoration:none}.bf-header img{width:112px;height:38px;object-fit:contain}.bf-header a>span{font-size:13px;border-left:1px solid #ffffff40;padding-left:20px}.bf-header b{font-weight:500;color:#d3ded4}.bf-dot{font-size:11px;white-space:nowrap;color:#d3ded4}.bf-dot:before{content:'';display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;margin-right:7px}.bf-main{max-width:632px;margin:auto;padding:46px 24px 24px}.bf-heading .eyebrow{font-size:10px;letter-spacing:.17em;color:var(--muted);margin:0 0 12px}.bf-heading h1{font:500 clamp(34px,7vw,44px)/1.07 var(--serif);letter-spacing:-1.4px;margin:0 0 28px}.bf-heading em{font-weight:400;color:var(--green-3)}.brainflow fieldset{border:0;padding:0;margin:0;min-width:0}.bf-composer{border:1px solid var(--line);border-radius:20px;background:var(--paper-2);overflow:hidden;box-shadow:0 5px 18px #0d463705}.bf-composer:focus-within{border-color:var(--green-3);box-shadow:0 0 0 3px #27675612}.bf-composer textarea{display:block;width:100%;min-height:160px;border:0;resize:vertical;background:transparent;padding:22px;font-size:17px;line-height:1.7;outline:none}.bf-composer textarea::placeholder{color:#849087}.bf-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;border-top:1px solid var(--line)}.bf-tool{background:var(--sage);border:0;border-radius:12px;min-height:72px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;font-size:11px;font-weight:650}.bf-tool:hover{background:var(--sage-2)}.bf-tool svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.bf-tool.recording{background:var(--orange-soft);color:#963b1e}.bf-save{font-size:11px;color:var(--muted);margin:10px 3px 22px}.bf-options{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bf-options summary{display:flex;justify-content:space-between;gap:8px;align-items:center;list-style:none;cursor:pointer;min-height:62px;font-size:13px}.bf-options summary::-webkit-details-marker{display:none}.bf-options summary small{color:var(--muted);font-size:11px}.bf-options summary small span{font-size:17px;margin-left:10px}.bf-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:5px 0 20px}.bf-fields label{display:block;font-size:12px;font-weight:600}.bf-fields input,.bf-fields select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:10px;background:var(--paper-2);padding:10px;margin-top:7px;font-size:16px}.bf-search{display:flex;gap:4px}.bf-search button{border:0;background:transparent;min-width:40px;font-size:22px}.bf-results{max-height:240px;overflow:auto}.bf-results button{display:block;width:100%;min-height:48px;text-align:left;padding:10px;border:0;border-bottom:1px solid var(--line);background:var(--paper-2);font-size:13px}.bf-results small{display:block;color:var(--muted)}.bf-chosen{font-size:12px;margin:12px 0;min-height:0;color:var(--green-3)}.bf-chosen:empty{display:none}.bf-send{width:100%;min-height:58px;display:flex;justify-content:space-between;background:var(--green);border-radius:13px;margin-top:20px;font-size:15px;box-shadow:none;padding:15px 22px}.bf-send:hover{background:var(--green-2)}.bf-send span{font-size:24px;font-weight:400}.brainflow button:disabled{opacity:.5;cursor:default}.bf-outbox{margin-top:38px}.bf-section-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:13px}.bf-section-head h2{font-size:12px;font-weight:650;margin:0}.bf-section-head>span{font-size:11px;color:var(--muted)}.bf-empty{font:italic 18px var(--serif);color:var(--muted);padding:20px 0}.bf-entry{border-bottom:1px solid var(--line);padding:17px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px}.bf-entry b{display:block;font-size:13px;overflow-wrap:anywhere}.bf-entry small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.bf-entry .state{font-size:10px;border-radius:30px;padding:5px 8px;background:var(--sage);align-self:start}.bf-entry .state.failed{background:var(--orange-soft);color:#913e24}.bf-entry button,.bf-entry a,.bf-link{font-size:12px;color:var(--green);border:0;background:none;text-align:left;padding:8px 0;min-height:44px;text-decoration:underline}.bf-entry p{grid-column:1/-1;font-size:12px;margin:0}.bf-entry a{display:inline-block}.bf-main footer{margin-top:34px;font:italic 18px var(--serif);display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px}.bf-main footer span{font:10px var(--sans)}.bf-main footer small{font:10px/1.6 var(--sans);flex-basis:100%}.bf-previews{display:flex;flex-wrap:wrap;gap:10px;padding:0 16px}.bf-preview{position:relative;margin:0 0 14px;max-width:100%;padding:7px;border:1px solid var(--line);border-radius:10px}.bf-preview img{width:90px;height:90px;object-fit:cover;border-radius:7px}.bf-preview audio{max-width:100%;height:44px}.bf-preview button{display:block;min-height:44px;border:0;background:none;font-size:11px}.bf-preview figcaption{font-size:11px;max-width:230px;overflow:hidden;text-overflow:ellipsis}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#notice,#recordStatus{padding:12px 14px;background:var(--orange-soft);border-radius:10px;font-size:13px;line-height:1.6}#login{display:inline-block;min-height:44px;color:var(--green);font-size:13px}#login[hidden],[hidden]{display:none!important}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:3px}@media(max-width:520px){.bf-header{min-height:68px;padding:12px 20px}.bf-header img{width:88px;height:30px}.bf-header>a{gap:12px}.bf-header a>span{font-size:10px;padding-left:12px;line-height:1.6}.bf-header b{display:block}.bf-dot{font-size:10px}.bf-main{padding:30px 20px max(24px,env(safe-area-inset-bottom))}.bf-heading h1{max-width:300px;margin-bottom:22px}.bf-fields{grid-template-columns:1fr}.bf-composer textarea{padding:18px;min-height:148px}.bf-options summary{font-size:12px}.bf-tool{min-height:70px}.bf-outbox{margin-top:30px}}

.bf-header-actions{display:flex;align-items:center;gap:12px}.bf-header-actions button{border:1px solid #ffffff35;background:transparent;color:#fff;border-radius:50%;width:44px;height:44px;font-size:20px}#settingsDialog{width:min(540px,calc(100% - 32px));border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);padding:24px;max-height:90svh;overflow:auto}#settingsDialog::backdrop{background:#082e24a0}#settingsDialog h2{font:28px var(--serif)}#settingsClose{border:0;background:none;font-size:25px;width:44px;height:44px}.bf-checkbox{display:flex;align-items:center;gap:12px;font-size:13px;min-height:48px}.bf-checkbox input{width:20px;height:20px;accent-color:var(--green)}#settingsStatus{font-size:12px}

/* The selected client owns the header; Baja Verde remains the developer credit. */
.bf-header>a{min-width:0;gap:16px}.bf-header .bf-client-brand{border:0;padding:0;min-width:0;display:flex;align-items:center}.bf-header .bf-client-brand img{width:136px;max-width:100%;height:40px;object-fit:contain;object-position:left center}.bf-logo-white{filter:brightness(0) invert(1)}.bf-brand-name{font-size:16px;font-weight:650;line-height:1.2;overflow-wrap:anywhere}.bf-header .bf-product-name{font-size:13px;padding-left:16px;flex-shrink:0}.bf-settings-brand{background:var(--green);border-radius:13px;min-height:80px;padding:18px 22px;display:flex;align-items:center;margin-bottom:20px;color:#fff}.bf-settings-brand img{width:170px;height:44px;object-fit:contain;object-position:left center}.bf-main footer{display:block;border-top:0;padding-top:0}.bf-credit{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 23px;border-radius:15px;background:var(--green);color:#fff;text-decoration:none;margin-bottom:18px}.bf-main footer .bf-credit>span:first-child{display:flex;align-items:center;gap:19px}.bf-main footer .bf-credit small{font:10px var(--sans);letter-spacing:.05em;color:#c6d8ce}.bf-credit img{width:124px;height:40px;object-fit:contain}.bf-main footer .bf-credit>span:last-child{font:24px var(--sans);color:#d3ded4}.bf-credit:hover{background:var(--green-2)}.bf-main footer>small{display:block}@media(max-width:520px){.bf-header>a{gap:10px;flex:1}.bf-header .bf-client-brand img{width:106px;height:34px}.bf-header .bf-product-name{padding-left:10px;font-size:11px}.bf-header-actions{gap:8px}.bf-header{gap:10px}.bf-header .bf-dot{font-size:0}.bf-header .bf-dot:before{width:7px;height:7px;margin:0}.bf-brand-name{font-size:13px}.bf-main footer .bf-credit>span:first-child{gap:16px}}
