/* Verba visual refresh: existing controls and flows remain in place. */
:root{--verba-violet:#7040e7;--verba-ink:#281e4c;--verba-border:#e9e1f2}
body{background:#f8f6fc;color:var(--verba-ink)}
.shell>aside{box-shadow:3px 0 20px #39205705}.shell>aside nav button{min-height:48px;transition:background-color .16s,color .16s}.shell>aside nav button:hover{background:#f6f1ff;color:#6537cb}.shell>aside nav button.active{background:#eee7ff;color:#6132cf}
header{border-color:#eee7f5}.page{max-width:1500px}.heading h1{color:#211748}.heading p{color:#6e6680}.toolbar,.editors,.chat-view,#historyView{box-shadow:0 9px 30px #38205e0b}.primary{background:var(--verba-violet)}button:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #ae91f5;outline-offset:2px}
.chat-view{border-radius:20px;padding:24px;overflow:visible}.chat-top h2{color:#25194d}.chat-privacy{background:#f4efff;color:#514274}.chat-toolbar{gap:8px}.chat-toolbar button,.chat-history-label select{border-radius:10px}.chat-messages{background:#faf8fd;border-radius:16px;min-height:260px;padding:18px}.chat-message{border-radius:15px;line-height:1.7;color:#3d3453}.chat-message.assistant{position:relative;margin-left:48px;max-width:calc(85% - 48px);border-top-left-radius:4px}.chat-message.assistant::before{content:"";position:absolute;width:42px;height:42px;left:-50px;top:0;background:url('/static/verba-mascot-v1.png') center/contain no-repeat}.chat-message.user{border-top-right-radius:4px}.chat-message p{overflow-wrap:anywhere}.chat-form{border-radius:14px}.chat-form textarea{font-family:inherit;line-height:1.5}.chat-form-foot{padding:10px 12px}.chat-progress:not([hidden]){display:flex;align-items:center;gap:10px;min-height:56px;margin:10px 10px 0;padding:8px 12px;font-size:13px;line-height:1.4}.chat-progress:not([hidden])::before{content:"";width:42px;height:42px;flex:none;background:url('/static/verba-mascot-v1.png') center/contain no-repeat;animation:verba-bob 2s ease-in-out infinite}@keyframes verba-bob{50%{transform:translateY(-3px) rotate(2deg)}}
@media(max-width:700px){.page{padding-left:14px;padding-right:14px}.heading h1{font-size:clamp(25px,7vw,34px);letter-spacing:-.9px}.heading p{line-height:1.5}.chat-view{padding:14px;border-radius:16px}.chat-top{gap:8px;flex-wrap:wrap}.chat-top>div{min-width:0}.chat-top h2{font-size:19px;line-height:1.3}.chat-privacy{margin:12px 0;overflow-wrap:anywhere}.chat-toolbar{display:flex;align-items:stretch}.chat-toolbar button{flex:1 1 auto;min-height:44px}.chat-history-label{flex:1 1 100%;min-width:0}.chat-history-label select{width:100%;max-width:100%}.chat-messages{margin:14px 0;min-height:210px;max-height:420px;padding:12px;overflow:auto}.chat-message{font-size:14px}.chat-message.assistant{margin-left:40px;max-width:calc(100% - 40px)}.chat-message.assistant::before{left:-42px;width:35px;height:35px}.chat-message.user{max-width:90%}.chat-form textarea{font-size:16px;min-height:76px}.chat-form-foot button{min-height:44px}.panel-head{min-width:0}.panel-head .input-actions{flex-wrap:wrap}.panel-foot{min-width:0}.panel-foot>*{min-width:0}.grammar-language label{flex-wrap:wrap}.grammar-language select{max-width:100%}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}}
@media(max-width:360px){.page{padding-left:10px;padding-right:10px}.chat-view{padding:11px}.chat-message.assistant{margin-left:36px;max-width:calc(100% - 36px)}.chat-message.assistant::before{left:-37px;width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.chat-progress:not([hidden])::before{animation:none}.shell>aside nav button{transition:none}}
