/* Área autenticada. As telas públicas têm sua própria composição. */
.ai-draft{border:1px solid var(--line);border-radius:14px;background:#faf5ee;padding:18px;display:grid;gap:12px;margin:12px 0}
.ai-draft h3,.ai-draft h4{margin:0}
.ai-draft>button,.ai-draft article>button{justify-self:start}
.ai-draft [role=status]:empty,.ai-draft [data-ai-result]:empty{display:none}
.ai-draft [data-ai-result]{display:grid;gap:16px}
.ai-draft article{border-top:1px solid var(--line);padding:12px 0;display:grid;gap:6px;overflow-wrap:anywhere}
.ai-draft article blockquote{border-left:2px solid #ac5038;margin:0;padding-left:12px;color:var(--mid)}
.ai-draft article a{text-decoration:underline;text-underline-offset:3px}
.ai-draft article small{display:block;color:var(--mid)}
.ou-shell{
  --ink:#402238;--green:#87432f;--mid:#665963;--paper:#faf7f2;--line:#e1d8d4;--lime:#f4e9e2;
  --plum:#402238;--clay:#ac5038;--blush:#f4e9e2;--serif:"Ouviora Editorial",Georgia,serif;--sans:"Ouviora Texto","Segoe UI",Arial,sans-serif;
  display:flex;flex-flow:column nowrap;min-height:100dvh;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;
}
.ou-shell .workspace{width:100%;overflow:visible}
.ou-shell .body:focus{outline:0}
.ou-masthead{position:sticky;top:0;z-index:5;background:rgba(250,247,242,.97);border-bottom:1px solid var(--line)}
.ou-masthead-inner{max-width:1450px;min-height:78px;padding:0 clamp(24px,4.4vw,76px);margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px}
.ou-shell .wordmark{justify-self:start;display:inline-flex;align-items:center;letter-spacing:normal;margin:0;line-height:1;min-height:44px}
.ou-shell .wordmark .ou-signature{display:block;width:148px;height:auto;max-height:46px}
.ou-main-nav,.ou-account{display:flex;align-items:center;gap:4px}
.ou-main-nav a{font-size:.91rem;font-weight:590;min-height:44px;padding:10px 16px;border-radius:50px;display:flex;align-items:center;gap:8px;color:#63545e}
.ou-main-nav a:hover{background:#f0e9e4}.ou-main-nav a.active{background:#eadde4;color:var(--plum)}
.ou-main-nav .icon{width:16px;height:16px}.ou-account{justify-self:end;gap:13px}
.ou-shell .private{border:0;background:none;color:#64565f;font-weight:530;font-size:.77rem;padding:4px}
.ou-signout{width:42px;height:42px;border-left:1px solid var(--line);display:grid;place-items:center;color:var(--ink)}
.ou-shell .body{max-width:1430px;width:100%;margin:auto;padding:clamp(28px,3.1vw,48px) clamp(24px,4.4vw,76px) 54px}
.ou-shell .overline{color:#804a40;letter-spacing:.135em;text-transform:uppercase;font-size:.67rem;font-weight:710}
.ou-home-head,.ou-shell .page-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:clamp(21px,2.15vw,32px)}
.ou-home-head h1,.ou-shell .page-head h1{font:normal clamp(2.6rem,4.5vw,4.4rem)/1.1 var(--serif);letter-spacing:-.055em;color:var(--plum);margin:5px 0 0}
.ou-home-head time{display:flex;align-items:center;gap:8px;margin-bottom:.5rem;color:#6e6068;font-size:.86rem}
.ou-home-head time::first-letter{text-transform:uppercase}.ou-home-head time .icon{width:16px;height:16px}
.ou-features{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:clamp(14px,1.5vw,24px)}
.ou-capture,.ou-focus{border-radius:16px;position:relative;overflow:hidden;min-height:226px}
.ou-capture{isolation:isolate;background:linear-gradient(112deg,#402238 0%,#4b2a42 65%,#573548 100%);color:#fff7f0}
.ou-capture-text{position:relative;z-index:1;padding:clamp(22px,2.3vw,36px);max-width:72%}
.ou-symbol{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:#fff0e314;border:1px solid #f2d7d03d;color:#f6d1ba}
.ou-symbol .icon{width:19px;height:19px}
.ou-capture h2{font:normal clamp(1.9rem,3.4vw,3.4rem)/1.08 var(--serif);letter-spacing:-.055em;margin:12px 0 6px}
.ou-capture p{color:#efdedf;max-width:29rem;font-size:.91rem;line-height:1.5;margin:0 0 18px}
.ou-echo{position:absolute;right:-3%;bottom:-27%;height:130%;width:43%;transform:rotate(22deg);background:repeating-radial-gradient(ellipse at center,transparent 0 7px,#dda59a5c 8px 9px,transparent 10px 14px);border-radius:48%;opacity:.8;mask-image:linear-gradient(105deg,transparent 1%,black 30%);z-index:-1}
.ou-echo b{position:absolute;inset:14% 15%;border:1px solid #f0c7b08c;border-radius:48%}
.ou-shell .btn,.ou-shell .recorder button{border-radius:8px;font-weight:650;min-height:44px}
.ou-shell .btn.green,.ou-shell .recorder :is([data-cr-start],[data-cr-deliver]){background:var(--clay);color:white;border:1px solid var(--clay)}
.ou-shell .btn.green:hover,.ou-shell .recorder :is([data-cr-start],[data-cr-deliver]):hover{background:#923f2b}
.ou-shell .btn.line,.ou-shell .recorder button{border-color:#d9c9c3;background:#fffdfa;color:var(--plum)}
.ou-shell .ou-cream{background:#fff5ec;border:0;color:var(--plum);flex-direction:row-reverse;gap:14px}
.ou-focus{background:#f0e3dc;padding:clamp(22px,2.45vw,36px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;border:1px solid #e3cfc5}
.ou-focus>.overline{display:inline-flex;align-items:center;gap:7px;color:#794b40}.ou-focus>.overline .icon{width:17px;height:17px}
.ou-focus-count{display:flex;align-items:center;gap:16px;margin:16px 0}.ou-focus-count strong{font:normal clamp(3.1rem,5.1vw,5rem)/.9 var(--serif);font-variant-numeric:lining-nums;color:#633441;letter-spacing:-.07em}
.ou-focus-count span{font-size:1rem;color:#684b49;max-width:130px;line-height:1.32}
.ou-shell .btn.ou-inline,.ou-shell .text-action,.ou-shell .btn.text{display:inline-flex;justify-content:start;min-height:40px;padding:4px 0;background:transparent;border:0;color:#873e2c;gap:7px;font-size:.82rem}
.ou-inline .icon{width:15px;height:15px}.ou-inline:has(.icon[aria-hidden]){flex-direction:row-reverse}.ou-shell .btn.text{min-height:36px}
.ou-overview{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:clamp(14px,1.5vw,24px);align-items:start;margin-top:clamp(16px,1.75vw,26px)}
.ou-shell .panel{border:1px solid #e1d8d4;background:#fffdfb;border-radius:15px;box-shadow:0 2px 8px #452a3403;padding:clamp(19px,2.2vw,31px)}
.ou-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.ou-shell .panel h2{color:var(--plum);font-size:1.38rem;line-height:1.25;letter-spacing:-.025em}
.ou-panel-head h2{font:normal clamp(1.5rem,2.5vw,2.4rem)/1.15 var(--serif)!important;letter-spacing:-.045em!important;margin-top:3px}
.ou-shell .record,.ou-person{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line);min-height:68px}
.ou-shell .record:hover,.ou-person:hover{background:#f9f3ef}.ou-person>span:nth-child(2){min-width:0;flex:1}
.ou-shell .avatar{background:#f0ded2;color:#6f3b31;width:39px;height:39px;font-size:.77rem;font-weight:650;line-height:1}
.ou-shell :is(.record,.ou-person):nth-of-type(3n+1) .avatar{background:#e8dde5;color:#67475e}
.ou-shell :is(.record,.ou-person):nth-of-type(3n+2) .avatar{background:#eee3cf;color:#68512d}
.ou-person strong,.ou-shell .identity b{display:block;color:var(--plum);font-size:.93rem;overflow-wrap:anywhere}
.ou-person small,.ou-shell .identity small{display:block;font-size:.77rem;color:#6f636a}.ou-person>.icon,.ou-shell .record>.icon{width:15px;height:15px;color:#7b666d}
.ou-shell .status{background:#f2dfd1;color:#86432d;font-size:.7rem;border-radius:6px;padding:4px 7px}
.ou-shell .status.ok{background:#e7e9d9;color:#4b5634}.ou-directory .directory-link{margin-top:6px}
.ou-shell .footnote{font-size:.77rem;color:#6e6068;margin:16px 1px 0}
.ou-shell .empty{padding:26px 6px 22px}.ou-shell .empty strong{font-size:1.02rem;margin-top:10px}
.ou-shell .empty p{color:var(--mid);font-size:.88rem;max-width:24rem;margin:0 auto}
.ou-shell .empty-icon,.ou-shell .form-icon{background:#efe0dc;color:#894a3e}
.ou-shell .panel.form:not(.narrow){max-width:900px}.ou-shell .review-grid{grid-template-columns:minmax(0,1fr) minmax(230px,29%)}
.ou-shell .review-grid .form{max-width:none}.ou-shell .dossier{position:sticky;top:96px}
.ou-shell .form-head{padding-bottom:12px;border-bottom:1px solid var(--line)}.ou-shell .form h3{color:var(--plum)}
.ou-shell .search,.ou-shell .form :is(input,select,textarea):not([type=checkbox]):not([type=radio]){border-color:#cfc1c0;background:#fffefd;color:var(--plum)}
.ou-shell .search input{color:var(--ink);background:none}.ou-shell .search:focus-within{outline:2px solid var(--clay);outline-offset:1px}
.ou-shell .form input[type=checkbox],.ou-shell .form input[type=radio]{accent-color:var(--clay)}
.ou-shell .modes label:has(input:checked){border-color:#ad7160;background:#faf0e8}
.ou-shell .filters .selected,.ou-shell .tabs [aria-pressed=true]{background:#efe1e5;color:var(--plum)}
.ou-shell .clip-picks,.ou-shell #source-list blockquote{background:#f7eee9;border-color:#ddc5bc}
.ou-shell .clip-picks .pick{border-top-color:#dfd0cc}.ou-shell .form .fields{padding:8px 0}.ou-shell #record-consent{padding:15px;background:#f8eee9;border-radius:10px}
.ou-shell .clinic-rec{border-color:#d9c9c5;background:#fffdfa;color:var(--ink)}.ou-shell .cr-notice{border-left-color:var(--clay);background:#f5e7de}
.ou-shell .cr-heading p,.ou-shell .cr-detail{color:var(--mid)}.ou-shell .cr-actions button:focus-visible,.ou-shell :is(input,textarea,button,a,summary,select):focus-visible{outline-color:#954b36}
.ou-shell .mobile-nav{display:none}
@media (max-width:980px){
 .ou-masthead-inner{gap:12px}.ou-main-nav a{padding:9px 12px}.ou-shell .review-grid{grid-template-columns:minmax(0,1fr) minmax(210px,29%)}
 .ou-features,.ou-overview{grid-template-columns:minmax(0,1.3fr) minmax(245px,1fr)}.ou-shell .panel{padding:19px}
 .ou-capture-text{max-width:90%}.ou-echo{width:38%;opacity:.5}.ou-shell .record>.icon{display:none}
}
@media (max-width:720px){
 .ou-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;height:100dvh;min-height:0}
 .ou-shell .workspace{min-height:0;overflow-y:auto;overscroll-behavior-y:contain}
 .ou-masthead{position:static}.ou-masthead-inner{min-height:60px;display:flex;justify-content:space-between;gap:8px;padding:0 16px}
 .ou-main-nav{display:none}.ou-shell .wordmark .ou-signature{width:125px;height:auto;max-height:38px}
 .ou-account{gap:6px}.ou-shell .private{font-size:.7rem}.ou-signout{width:34px;height:35px}.ou-signout .icon{width:17px}
 .ou-shell .body{padding:22px 15px 30px}.ou-home-head{display:block;margin-bottom:17px}.ou-home-head h1,.ou-shell .page-head h1{font-size:clamp(2.5rem,9vw,3.6rem)}
 .ou-home-head time{font-size:.76rem;margin:5px 0 0}.ou-home-head time .icon{width:13px;height:13px}
 .ou-features,.ou-overview,.ou-shell .review-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .ou-capture,.ou-focus{border-radius:13px;min-height:0}.ou-capture-text{padding:18px 19px 19px;max-width:87%}
 .ou-capture h2{font-size:1.95rem;margin:5px 0}.ou-capture p{font-size:.83rem;line-height:1.45;max-width:15.5rem;margin-bottom:13px}
 .ou-symbol{position:absolute;right:0;top:19px;transform:translateX(57%);width:34px;height:34px}.ou-echo{right:-11%;width:43%;opacity:.5}
 .ou-focus{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px 12px;padding:13px 16px}
 .ou-focus>.overline{font-size:.6rem;grid-column:1/3}.ou-focus>.overline .icon{width:13px;height:13px}.ou-focus-count{gap:9px;margin:0}
 .ou-focus-count strong{font-size:2.25rem}.ou-focus-count span{font-size:.8rem;max-width:116px}
 .ou-shell .ou-focus .btn{font-size:.72rem;min-height:36px}.ou-shell .btn.ou-inline{white-space:nowrap}
 .ou-overview{margin-top:13px}.ou-panel-head{margin-bottom:9px}.ou-panel-head h2{font-size:1.64rem!important}
 .ou-shell .panel{border-radius:13px;padding:16px}.ou-shell .record,.ou-person{gap:8px;min-height:59px;padding:11px 0}
 .ou-shell .status{font-size:.62rem}.ou-shell .avatar{width:33px;height:33px}.ou-shell .identity b,.ou-person strong{font-size:.86rem}
 .ou-shell .identity small,.ou-person small{font-size:.7rem}.ou-shell .dossier{position:static}
 .ou-shell .mobile-nav{position:static;display:flex;align-items:stretch;justify-content:space-around;background:#fffdfb;border-top:1px solid var(--line);padding:4px 5px max(5px,env(safe-area-inset-bottom))}
 .ou-shell .mobile-nav a{color:#705e68;font-size:.66rem;padding:5px 12px}.ou-shell .mobile-nav a.active{color:var(--plum);background:#f1e4e7}
 .ou-shell .mobile-nav a[href="#nova"]{color:#924631}
}
@media (max-width:365px){.ou-shell .private{font-size:0;gap:0}.ou-focus-count span{font-size:.72rem;max-width:95px}.ou-shell .record .identity small{max-width:130px}.ou-shell .status{max-width:76px}.ou-capture h2{font-size:1.75rem}}

