:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182039;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer;background:#203568;color:white;border:0;border-radius:12px;padding:12px 20px;font-weight:600}button:hover{background:#30497c}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ef764b;outline-offset:3px}label{display:block;margin:22px 0 8px;font-weight:600;font-size:14px}input,textarea{width:100%;padding:13px 15px;border:1px solid #d9dce4;border-radius:12px;background:white;color:#182039}textarea{resize:vertical;line-height:1.6}.brand{font-size:28px;letter-spacing:-1.3px;display:inline-flex;align-items:baseline}.brand b{color:#ef552b}.brand strong{color:#203568}.brand span{color:#16191f;font-weight:650}.setup{background:#f4f5f8;padding:64px 20px}.card{max-width:510px;margin:auto;padding:40px;background:white;border:1px solid #e5e7ed;border-radius:22px;box-shadow:0 12px 60px #1a2d4f08}h1{font-size:30px;line-height:1.25;letter-spacing:-.9px}p{line-height:1.65;color:#626b7c}small{display:block;color:#737b8b;font-size:12px;line-height:1.6;margin:7px 0}.card button{margin:24px 0;width:100%}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;margin-top:30px;color:#858b99}.notice{background:#f3f5fb;border-left:3px solid #203568;padding:12px 16px;border-radius:5px;color:#203568}.app{display:flex;min-height:100dvh}aside{width:270px;flex:none;background:#f6f7f9;border-right:1px solid #e7e9ef;padding:28px 20px;display:flex;flex-direction:column}aside .brand{margin:0 8px 28px}.new{width:100%;text-align:left;background:white;color:#233567;border:1px solid #dadfe8}.new:hover{background:#e8edf5}.history{display:block;border-radius:9px;padding:12px;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history:hover,.history.active{background:#e6eaf2}.profile{margin-top:auto;padding-top:30px}.quiet{background:transparent;color:#626b7c;padding:8px 0}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}header{height:80px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;font-size:14px;border-bottom:1px solid #f0f1f5}.badge{font-size:11px;color:#656f81;background:#f3f5f8;padding:7px 12px;border-radius:20px}.conversation{width:min(760px,100%);margin:auto;padding:50px 32px}.empty{text-align:center;padding:40px 0 80px}.empty h1{font-size:38px}.mark{background:#eef1f7;color:#203568;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;font-size:26px;margin:0 auto 24px}.empty button{margin-top:18px}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px}footer{text-align:center;color:#9198a5;font-size:11px;padding:24px}details{margin-top:30px;color:#7e8797;font-size:12px}summary{cursor:pointer}.danger{background:#a13232}.muted{font-size:14px}@media(max-width:700px){.app{flex-direction:column}aside{width:100%;padding:16px;border-right:0;border-bottom:1px solid #e7e9ef}aside .brand{margin:0 0 12px}aside nav{max-height:150px;overflow:auto}aside .profile{margin-top:10px;padding-top:0;display:flex;justify-content:space-between;align-items:center}aside .eyebrow{margin-top:15px}header{height:55px;padding:0 20px}.conversation{padding:30px 20px}.empty{padding:20px 0}.empty h1{font-size:30px}.card{padding:26px}.setup{padding:30px 16px}}
/* Chat workspace 0.3.1; authentication and installer styles retained. */
.chat-app{min-height:100dvh}.chat-app aside{position:sticky;top:0;height:100dvh;width:260px;padding:28px 18px}.chat-app aside nav{overflow-y:auto;flex:1}.chat-app .profile{flex:none}.chat-app header{height:70px;gap:16px}.header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.badge{white-space:nowrap}.chat-conversation{width:min(880px,100%);padding:24px 36px;margin:0 auto;flex:1;display:flex;flex-direction:column}.conversation-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}.conversation-tools .eyebrow{margin:0}.conversation-tools a{color:#58647c;text-decoration:underline;text-underline-offset:3px}.message-history{text-align:center;flex:1;min-height:240px;padding:52px 12px 32px;display:flex;flex-direction:column;justify-content:center}.message-history h1{font-size:29px;margin:0 0 12px}.message-history p{margin:0;font-size:14px}.message-history .mark{width:46px;height:46px;font-size:22px;margin-bottom:20px}.composer{border:1px solid #dce1e9;border-radius:22px;padding:18px 20px;box-shadow:0 6px 25px #20356808}.composer label{margin:0 0 8px;color:#657084;font-size:12px}.composer textarea{border:0;border-radius:6px;padding:6px 0;min-height:112px;max-height:350px}.composer textarea:focus-visible{outline-offset:4px}.composer-footer{margin-top:8px}.composer-actions{display:flex;gap:8px;flex-shrink:0}.composer-actions button{padding:10px 15px;font-size:13px}button:disabled{cursor:not-allowed;background:#eef0f4;color:#9299a7}.settings{margin-top:18px}.settings input{max-width:100%}.delete-settings{margin-top:18px}.chat-app footer{padding:18px}.chat-app .empty{margin:auto 0}.chat-app .empty small{margin-top:22px}.chat-app .empty h1{font-size:36px}.chat-app .empty .eyebrow{margin:0 0 18px}
@media(max-width:700px){.chat-app aside{position:static;height:auto;width:100%;padding:16px}.chat-app aside nav{max-height:120px;flex:auto}.chat-app .profile{padding-top:4px}.chat-app aside .brand{margin-bottom:12px}.chat-app header{height:58px;padding:0 18px}.chat-conversation{padding:20px 16px}.message-history{padding:30px 0;min-height:200px}.message-history h1{font-size:25px}.composer{padding:15px}.composer-footer{align-items:flex-start;flex-direction:column;gap:8px}.composer-actions{align-self:flex-end}.conversation-tools{align-items:flex-start}.chat-app .empty h1{font-size:29px}.badge{font-size:10px;padding:6px 9px}}

.message-list{padding:28px 0;flex:1}.saved-message{margin:0 0 20px auto;max-width:90%;background:#f3f5f9;border:1px solid #e7ebf1;border-radius:18px;padding:16px 20px}.message-meta{font-size:12px;font-weight:600;color:#203568;margin-bottom:10px;display:flex;justify-content:space-between;gap:12px}.message-meta time{font-size:10px;color:#727d90;font-weight:400}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:15px}.offline-note{font-size:12px;color:#707b8c;text-align:center;margin:12px 0}.history-page{display:block;font-size:13px;color:#203568;text-decoration:underline;margin:12px 0}.composer-actions{flex-wrap:wrap}@media(max-width:700px){.saved-message{max-width:100%;padding:14px}.message-meta{flex-wrap:wrap}.composer-actions button{font-size:12px;padding:10px 12px}}

.search-form{margin-top:16px}.search-form label{margin:0 0 8px;font-size:12px}.search-form input{font-size:12px;padding:10px}.search-button{width:100%;margin-top:8px;padding:8px;font-size:12px}.chat-app aside .list-tabs{display:flex;flex:none;gap:6px;margin-top:14px;overflow:visible}.list-tabs a{flex:1;padding:8px;text-align:center;font-size:12px;border-radius:8px}.list-tabs a[aria-current]{background:#e6eaf2;font-weight:600}.list-pages{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-top:12px}.archive-settings{margin-top:20px}.chat-app aside .eyebrow{margin-top:18px}@media(max-width:700px){.search-form{display:flex;flex-wrap:wrap;gap:6px}.search-form label{width:100%}.search-form input[type=search]{flex:1;width:0}.search-button{width:auto;margin:0;padding:8px 14px}}
