.login-form{display:grid;gap:12px}.login-form label{display:grid;gap:6px;font-weight:600}.login-form input{font:inherit;width:100%;padding:13px;border:1px solid #cddbd3;border-radius:12px;background:#fff;color:#192e3b}.chat-list{display:grid;gap:14px;padding-bottom:12px}.bubble{max-width:92%;padding:14px 16px;border-radius:20px;background:white;border:1px solid #dce7df;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.bubble.user-message{justify-self:end;background:#e7f1ec}.bubble.hermes-message{justify-self:start}.chat-caption{font-size:12px;color:#526b70}.header-right{gap:10px}.lock-control{border:0;background:transparent;padding:10px;color:#192e3b;min-height:44px}.unavailable{padding:24px;background:#fff;border-radius:20px;border:1px solid #dce7df}.command-form input{min-width:0}.command-form button:disabled{opacity:.5}.sr-alert{margin:8px 0;color:#96521b}.login-hint{font-size:13px;color:#536b65;line-height:1.6}.module-grid{display:grid;gap:10px}.offline-banner{padding:10px;text-align:center;color:#96521b}.subtitle{line-height:1.6}

.chat-list .bubble{position:static;bottom:auto;margin:0;width:fit-content;backdrop-filter:none;box-shadow:none;z-index:auto}.chat-list .hermes-message{background:#fff;border-radius:18px 18px 18px 5px}.chat-list .user-message{border-radius:18px 18px 5px 18px}
/* Keep conversation messages independent from the approved assistant dock. */
.shell{height:var(--app-height,100dvh)}
.chat-list{gap:18px;padding:4px 0 24px}.chat-item{display:grid;gap:6px;max-width:92%;min-width:0}.from-user{justify-self:end}.from-hermes{justify-self:start}.speaker{font-size:11px;color:var(--muted);padding:0 4px}.from-user .speaker{text-align:right}.message-text{background:white;border:1px solid var(--line);border-radius:18px 18px 18px 5px;padding:13px 15px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:15px}.from-user .message-text{background:var(--sage);border-radius:18px 18px 5px 18px}.text-action{min-height:44px;justify-self:start;background:transparent;font-size:12px;color:var(--teal);padding:8px 4px}.menu-group-title{font-size:12px;letter-spacing:.2px;color:var(--muted);margin:26px 0 10px}.menu-group-title:first-of-type{margin-top:0}.menu-list .row{min-height:68px}.menu-list .row-icon{width:34px;height:34px;background:transparent}.menu-list .row-icon svg{width:21px;height:21px}.menu-list .row{border-radius:15px}.toolbar{display:flex;gap:8px;justify-content:space-between;margin:0 0 18px;flex-wrap:wrap}.record-form,.login-form{display:grid;gap:16px}.form-field{display:grid;gap:7px;font-size:13px;font-weight:600}.form-field input,.form-field textarea{width:100%;min-width:0;font:inherit;font-size:16px;font-weight:400;padding:12px 13px;border:1px solid #cddbd3;border-radius:12px;background:#fff;color:var(--ink);line-height:1.5}.form-field textarea{min-height:120px}.form-field input{min-height:46px}.record-form .actions{margin-top:4px}.empty-state{margin-top:10px}.empty-state h2{font-size:19px}.conversation-link{display:block;background:transparent;min-height:44px;margin:18px auto 0;color:var(--teal);font-size:13px}.check-field{display:flex;gap:10px;align-items:center;font-size:14px;line-height:1.5;margin:16px 0}.check-field input{width:20px;height:20px;accent-color:var(--teal)}.audio-panel{display:flex;align-items:center;gap:8px;margin:8px 0}.audio-panel audio{min-width:0;width:100%;height:40px}.audio-panel button{background:transparent;min-width:44px;min-height:44px;font-size:12px}.notice{max-height:20dvh;overflow:auto}.bottom-nav [aria-current=page]{color:var(--teal)}.row>svg:last-child{width:17px;height:17px;flex-shrink:0}.shell[data-writing=true] .bottom-dock{padding-top:8px}.shell[data-writing=true] .bottom-dock::before{display:none}.shell[data-writing=true] .assistant-controls{height:44px}.shell[data-writing=true] .orb-button{width:44px;height:44px;transform:none;padding:6px}.shell[data-writing=true] .orb{width:28px;height:28px}.shell[data-writing=true] .assistant-meta{height:18px;font-size:11px}.shell[data-writing=true] .assistant{padding:0 4px}.header{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:20px}@media(max-height:650px){.header{padding-top:10px;padding-bottom:10px}.intro{padding:10px 0 18px!important}.intro h1{font-size:28px!important}.preview-note{display:none}}@media(max-width:380px){.shell{padding-left:16px;padding-right:16px}.row{gap:10px}.row .row-icon{width:32px;height:32px}.card{padding:16px}}
/* iOS keyboard: keep the application inside the visual viewport, without disabling user zoom. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
body{position:fixed;inset:0}
.shell{position:fixed;top:var(--app-top,0px);left:0;right:0;width:100%;max-width:900px;margin:0 auto;overflow:hidden}
.header,main,.bottom-bar,.command-form,.notice{min-width:0;max-width:100%}
.command-form{width:100%;align-items:center;flex-wrap:nowrap}
.command-form input{font-size:16px!important;line-height:1.4;flex:1 1 0;width:0;min-width:0;max-width:100%;min-height:46px;padding:11px 12px}
.command-form button{flex:0 0 46px;width:46px;height:46px;min-width:46px;min-height:46px;align-self:stretch}
.shell[data-keyboard=true] .header{padding-top:8px;padding-bottom:8px}
.shell[data-keyboard=true] .preview-note{display:none}
.shell[data-keyboard=true] .bottom-bar{padding-bottom:4px}
.shell[data-keyboard=true] .bottom-dock{padding-top:8px}
.shell[data-keyboard=true] .intro{padding-top:8px!important;padding-bottom:14px!important}
.shell[data-keyboard=true] .notice{max-height:68px;font-size:12px;padding:8px 10px;overflow-wrap:anywhere}
input,textarea,select{font-size:16px}
.screen-title{display:flex;align-items:center;gap:12px;min-width:0}.screen-title h1{min-width:0;overflow-wrap:anywhere;margin:0!important}.back-control{flex:0 0 auto;min-width:54px;min-height:44px;padding:8px 11px;border-radius:12px;border:1px solid var(--line);background:white;color:var(--teal);font-size:13px;font-weight:600}.intro>.subtitle{margin-top:12px}.work-product{min-height:260px;line-height:1.7;font-size:16px;resize:vertical;margin:12px 0 18px}.chat-list{padding-bottom:30px}.chat-item{position:static;bottom:auto;transform:none;backdrop-filter:none}.chat-item .message-text{max-width:100%}
