*,:before,:after{box-sizing:border-box}html,body{margin:0;padding:0}body{color:#1a1a1a;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8f8f7;min-height:100dvh;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}button{font:inherit;cursor:pointer}input{font:inherit}.page{max-width:640px;margin:0 auto;padding:4rem 1.5rem}.page h1{margin:0 0 1rem;font-size:1.75rem;font-weight:600}.page p{color:#555;margin:0}.page .signout{color:#333;background:#fff;border:1px solid #ccc;border-radius:9999px;margin-top:1.5rem;padding:.4rem 1rem}.page .signout:hover{border-color:#888}.legal-doc{color:#333;max-width:680px;margin:0 auto;padding:3rem 1.5rem 5rem;line-height:1.6}.legal-doc h1{margin:0 0 1.5rem;font-size:1.6rem;font-weight:600}.legal-doc h2{margin:2rem 0 .5rem;font-size:1.1rem;font-weight:600}.legal-doc p{margin:0 0 .75rem}.legal-doc ul{margin:0 0 .75rem;padding-left:1.4rem}.legal-doc a{color:#1a1a1a}.chat-shell{max-width:760px;height:100dvh;padding:1.25rem 1rem;padding-top:max(1.25rem, env(safe-area-inset-top));padding-bottom:max(1.25rem, env(safe-area-inset-bottom));flex-direction:column;margin:0 auto;display:flex}.chat-header{border-bottom:1px solid #ececea;margin-bottom:1.25rem;padding-bottom:.75rem;position:relative}.chat-header-action{position:absolute;top:0;right:0}.chat-header-action button{color:#555;cursor:pointer;background:0 0;border:1px solid #e0dcd4;border-radius:9999px;padding:.3rem .85rem;font-size:.85rem}.chat-header-action button:hover{color:#1a1a1a;border-color:#b0a89c}.chat-breadcrumb{color:#888;flex-wrap:wrap;align-items:center;gap:.35rem;margin:0 0 .3rem;font-size:.8rem;display:flex}.chat-breadcrumb-link{color:inherit;text-decoration:none}.chat-breadcrumb-link:hover{color:#1a1a1a;text-decoration:underline}.chat-breadcrumb-sep{color:#ccc}.chat-header h1{margin:0;font-size:1.125rem;font-weight:600}.chat-header p{color:#888;margin:.25rem 0 0;font-size:.875rem}.chat-messages{scrollbar-gutter:stable;flex-direction:column;flex:1;gap:1.75rem;padding:0 .75rem 1rem 0;line-height:1.6;display:flex;overflow-y:auto}.chat-empty{color:#999;font-size:.875rem}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.bubble-link{color:inherit;text-decoration:underline}.bubble-link:hover{opacity:.8}.bubble.user p{margin:0}.bubble.user p+p{margin-top:.5em}.bubble.assistant p{margin:0}.bubble.assistant p+p,.bubble.assistant p+ul,.bubble.assistant p+ol,.bubble.assistant p+table,.bubble.assistant ul+p,.bubble.assistant ol+p,.bubble.assistant table+p{margin-top:.75em}.bubble ul,.bubble ol{margin:.4em 0;padding-left:1.4em;list-style-position:inside}.bubble.assistant ul,.bubble.assistant ol{margin:.6em 0}.bubble table{border-collapse:collapse;max-width:100%;display:block;overflow-x:auto}.bubble th,.bubble td{text-align:left;vertical-align:top;border:1px solid #d8d4cc;padding:.25em .5em}.bubble th{font-weight:600}.bubble code{background:#0000000f;border-radius:.2em;padding:.1em .3em;font-size:.92em}.bubble.typing{align-items:center;gap:5px;margin-right:auto;padding:.4rem 0;display:inline-flex}.bubble.typing span{background:#b0a89c;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite both typing-bounce}.bubble.typing span:first-child{animation-delay:-.32s}.bubble.typing span:nth-child(2){animation-delay:-.16s}@keyframes typing-bounce{0%,80%,to{opacity:.4;transform:scale(.6)}40%{opacity:1;transform:scale(1)}}.bubble.user{color:#1a1a1a;background:#efeae3;border-radius:1.25rem;max-width:75%;margin-left:auto;padding:.7rem 1.1rem}.bubble.assistant{color:#1a1a1a;max-width:100%;margin-right:auto}.composer{align-items:flex-end;gap:.5rem;padding-top:1rem;display:flex}.composer textarea{resize:none;font:inherit;background:#fff;border:1px solid #e0dcd4;border-radius:1.25rem;outline:none;flex:1;max-height:9rem;padding:.6rem 1.1rem;line-height:1.4;overflow-y:auto}.composer textarea:focus{border-color:#b0a89c}.composer button{color:#fff;cursor:pointer;background:#25375d;border:none;border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;display:inline-flex}.composer button:disabled{opacity:.4;cursor:not-allowed}.protocol{color:#1a1a1a;max-width:680px;margin:0 auto;padding:4.5rem 2.5rem 6rem;font-family:Georgia,Times New Roman,Liberation Serif,DejaVu Serif,Noto Serif,serif;font-size:.9375rem;line-height:1.7}.protocol-header{margin-bottom:3.5rem}.protocol-header h1{letter-spacing:-.005em;margin:0 0 .4rem;font-size:1.5rem;font-weight:600}.protocol-date{color:#888;margin:0 0 1.75rem;font-size:.8125rem}.protocol-print-button{color:#555;cursor:pointer;background:0 0;border:1px solid #e0dcd4;border-radius:9999px;padding:.35rem 1rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.8125rem}.protocol-print-button:hover{color:#1a1a1a;border-color:#b0a89c}.protocol-section{margin-bottom:2rem}.protocol-section h2{color:#888;text-transform:uppercase;letter-spacing:.08em;margin:0 0 1.75rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.75rem;font-weight:600}.protocol-text{white-space:pre-wrap;word-wrap:break-word}.protocol-transcript{margin:0;padding:0;list-style:none}.protocol-message{break-inside:avoid;page-break-inside:avoid;margin-bottom:1.75rem}.protocol-message-meta{color:#888;letter-spacing:.01em;margin-bottom:.35rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.75rem}.protocol-role{color:#1a1a1a;margin-right:.5rem;font-weight:600}.protocol-time{color:#aaa}.analysis-content{font-size:.9375rem;line-height:1.7}.analysis-content h1{margin:2rem 0 .75rem;font-size:1.4rem;font-weight:600}.analysis-content h2{margin:1.75rem 0 .5rem;font-size:1.1rem;font-weight:600}.analysis-content h3{margin:1.25rem 0 .4rem;font-size:1rem;font-weight:600}.analysis-content p{margin:0 0 .75rem}.analysis-content ul,.analysis-content ol{margin:0 0 .75rem;padding-left:1.4rem}.analysis-content li{margin:.2rem 0}.analysis-content hr{border:none;border-top:1px solid #e5e5e5;margin:1.75rem 0}.analysis-content strong{font-weight:600}@media print{@page{margin:2cm}body{background:#fff}.protocol{max-width:none;padding:0}.protocol-print-button{display:none}.protocol-section h2,.analysis-content h1,.analysis-content h2,.analysis-content h3{break-after:avoid;page-break-after:avoid}.analysis-content hr{display:none}}
