:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#222b4b;background:#f7f5ff}
*{box-sizing:border-box}body{margin:0}.app{min-height:100dvh;display:flex;flex-direction:column;max-width:960px;margin:auto;background:linear-gradient(150deg,#f8f4ff,#eef8ff)}
.app-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fff;box-shadow:0 1px 9px #2d286a0b}.brand-mark,.large-mark{background:linear-gradient(120deg,#5548d8,#d254bc,#5abbdc);color:white;display:grid;place-items:center}.brand-mark{width:38px;height:38px;border-radius:13px;font-size:22px}.brand-name{font-weight:850;letter-spacing:.02em}.text-action{margin-left:auto;background:#f2ebff;border:1px solid #e2d6ff;color:#6244c8;border-radius:14px;font-size:14px;font-weight:700;padding:10px 14px}.dialogue{flex:1;min-height:0;overflow:auto;padding:22px 16px 20px;display:flex;flex-direction:column;gap:14px}.hello{text-align:center;margin:auto 0;color:#263258}.hello h1{font-size:clamp(24px,6vw,34px);line-height:1.25;max-width:460px;margin:18px auto 9px}.hello p{color:#68718e}.large-mark{width:74px;height:74px;border-radius:23px;margin:0 auto;font-size:42px}.message{border-radius:20px;padding:14px 16px;line-height:1.6;max-width:94%;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 4px 18px #35347012}.message.user{align-self:flex-end;color:#fff;background:linear-gradient(110deg,#6551e1,#ae4fd0);border-bottom-right-radius:5px}.message.assistant{align-self:flex-start;background:#fff;border-bottom-left-radius:5px}.composer-area{background:#fff;box-shadow:0 -5px 25px #53469c0a;padding:10px 12px max(14px,env(safe-area-inset-bottom))}#feedback:not(:empty){padding:6px 8px;color:#7446b7;font-size:13px}.composer{display:flex;align-items:center;border:1px solid #ddd4ff;border-radius:25px;padding:6px;gap:7px;box-shadow:0 0 0 4px #8d76ef10}.composer textarea{resize:none;border:0;outline:0;flex:1;max-height:140px;min-width:0;font:inherit;padding:12px 2px;line-height:1.3;background:transparent;color:inherit}.composer button{border:0;min-width:43px;height:43px;border-radius:15px;cursor:pointer;font-size:23px}.composer #attachBtn{background:#eee9ff;color:#6c4bdc}.composer #submitBtn{background:linear-gradient(120deg,#6753e6,#a846cf);color:white}.composer button:disabled{opacity:.5}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.modal-backdrop{position:fixed;inset:0;background:#25224980;display:grid;place-items:center;z-index:20;padding:22px}.modal-backdrop[hidden]{display:none}.signin-modal{background:white;border-radius:24px;padding:24px;max-width:380px;width:100%;box-shadow:0 16px 50px #14103d33}.signin-modal h2{margin:0 0 9px}.signin-modal p{color:#58637c;line-height:1.55}.modal-actions{display:flex;gap:10px;margin-top:22px;align-items:center}.modal-actions .secondary,.google-btn{border:0;border-radius:13px;padding:13px 14px;font:600 14px system-ui;text-decoration:none}.secondary{background:#eeeafa;color:#5f4da6}.google-btn{background:#674de1;color:white;flex:1;text-align:center}.voice-control{background:#efe9ff!important;color:#6247ce!important;font-size:18px!important}.voice-control.is-active{background:#f7d4ee!important}.voice-options{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:4px 3px 0;color:#606988;font-size:13px}.voice-options label{display:flex;gap:5px;align-items:center}select{border:1px solid #e6dcff;border-radius:9px;background:#fff;color:#463a85;padding:4px 6px}

/* Verified published-news source links; regular chat bubbles are unchanged. */
.news-links{margin-top:12px;padding-top:9px;border-top:1px solid #e9e6f7;display:flex;flex-direction:column;gap:7px}.news-links a{color:#5346bc;text-decoration:underline;text-underline-offset:2px;font-size:13px;font-weight:600;overflow-wrap:anywhere}
