:root{color-scheme:light;--ink:#202124;--muted:#676a70;--faint:#92969d;--line:#e9e9eb;--soft:#f3f3f5;--paper:#fff;--page:#fafafa;--focus:#536ddd;--danger:#a33c3c;--tab-height:70px;--header-height:76px;--keyboard-inset:0px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--page);-webkit-font-smoothing:antialiased;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overscroll-behavior:none}body{line-height:1.5}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;border:0;background:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:4px}a{color:var(--focus);text-underline-offset:3px}h1,h2,p{margin:0}button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}small{font-size:12px}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}.quiet{color:var(--muted);font-size:13px;line-height:1.65}.eyebrow{font-size:10px;line-height:1.4;font-weight:600;letter-spacing:1.45px;text-transform:uppercase;color:var(--faint)}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:14px;min-height:48px;padding:12px 17px;font-size:14px;font-weight:550}.primary{background:var(--ink);color:#fff}.primary>span{margin-left:auto}.secondary{background:var(--soft);color:var(--ink)}.text-button{font-size:13px;min-height:44px;padding:10px 0;color:var(--muted)}.danger{color:var(--danger)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;flex:0 0 44px;font-size:28px;font-weight:300}.icon-button:hover,.text-button:hover{background:#f1f1f3}.notice{position:fixed;left:20px;right:20px;top:calc(env(safe-area-inset-top) + 12px);max-width:480px;margin:auto;z-index:50;border:1px solid var(--line);border-radius:15px;padding:14px 17px;background:#202124;color:#fff;box-shadow:0 7px 30px #0002;font-size:13px;line-height:1.5}.notice.error{background:#823939}.pairing{max-width:490px;min-height:100dvh;padding:calc(36px + env(safe-area-inset-top)) 28px calc(26px + env(safe-area-inset-bottom));margin:auto}.pairing-brand{display:flex;align-items:center;gap:12px;font-size:23px;letter-spacing:-.8px;font-weight:620}.pairing-brand img{width:56px;height:56px;object-fit:contain}.pairing-copy{margin:48px 0 28px}.pairing-copy h1{font-size:38px;line-height:1.17;font-weight:590;letter-spacing:-1.7px;margin:15px 0 18px}.pairing-copy>p:last-child{color:var(--muted);font-size:14px;line-height:1.75;max-width:340px}.pair-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}.pair-card h2{font-size:18px;font-weight:580;margin-bottom:10px}.pair-card>p{font-size:13px;color:var(--muted);line-height:1.7}.pair-card label{display:block;font-size:12px;font-weight:550;margin:23px 0 8px}.pair-card input{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:12px;background:#fbfbfc;padding:12px 10px;font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:8px;text-align:center;color:var(--ink)}.pair-card .primary{width:100%;margin-top:15px}.pair-card .form-error{color:var(--danger);margin-top:12px;font-size:12px}.pair-card .form-error:empty{display:none}.install-note{padding:23px 2px 12px;color:var(--muted);font-size:12px;line-height:1.75}.install-note strong{display:block;color:var(--ink);font-size:12px;font-weight:550;margin-bottom:5px}.pairing>.quiet{font-size:11px;margin-top:16px;color:var(--faint)}.application{height:100dvh;height:calc(100dvh - var(--keyboard-inset));width:100%;max-width:820px;margin:auto;display:flex;flex-direction:column;background:var(--paper);position:relative;overflow:hidden}.app-header{display:flex;align-items:center;justify-content:space-between;min-height:calc(var(--header-height) + env(safe-area-inset-top));padding:calc(12px + env(safe-area-inset-top)) 19px 12px 22px;border-bottom:1px solid var(--line);background:#ffffffef;flex-shrink:0}.brand-small{display:flex;align-items:center;gap:10px}.brand-small img{width:36px;height:36px;object-fit:contain}.brand-small>div{display:flex;flex-direction:column;gap:1px}.brand-small strong{font-size:17px;font-weight:620;letter-spacing:-.5px}.connection{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.connection::before{content:"";width:5px;height:5px;border-radius:50%;background:#a8adb4}.connection.online::before{background:#6f8f73}.connection.offline::before{background:#b68e58}.view{min-height:0;flex:1;overflow:hidden}.chat-view{display:flex;flex-direction:column}.chat-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 22px 15px;scroll-padding-bottom:20px}.chat-intro{padding:40px 2px 24px}.chat-intro h1{font-size:33px;line-height:1.2;font-weight:570;letter-spacing:-1.2px;margin:13px 0}.chat-intro>p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.7}.suggestions{display:grid;gap:8px;margin-top:27px}.suggestions button{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:13px;padding:13px 15px;text-align:left;font-size:13px;min-height:46px}.suggestions button span{color:var(--faint)}.messages{display:flex;flex-direction:column;gap:25px;padding:25px 0 8px}.message{min-width:0;overflow-wrap:anywhere}.message-header{display:flex;align-items:center;gap:8px;margin-bottom:7px;min-height:24px}.message-header strong{font-size:12px;font-weight:600}.message-header small{font-size:9px;color:var(--faint)}.message-header .message-time{margin-left:auto;font-variant-numeric:tabular-nums}.message-body{font-size:14px;line-height:1.8;white-space:pre-wrap;word-break:break-word}.message.user{align-self:flex-end;max-width:92%;padding:12px 15px;border-radius:18px 18px 5px 18px;background:var(--soft)}.message.user .message-header{margin-bottom:5px}.message.user .message-body{font-size:14px;line-height:1.65}.message.assistant{padding:0 2px}.message.assistant .message-header strong{font-size:13px}.message.assistant .message-header::before{content:"";display:block;width:7px;height:7px;border-radius:50%;background:var(--ink)}.message.task-card{background:#fbfbfc;border:1px solid var(--line);border-radius:17px;padding:15px}.message-note{font-size:11px;color:var(--muted);margin-top:10px}.message-tools{display:flex;gap:5px;align-items:center;margin-top:7px}.message-tools button{font-size:10px;color:var(--faint);min-height:44px;padding:7px 10px 7px 0}.message-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.message-buttons button,.attachment-link{min-height:44px;border:1px solid #dfe1e6;background:#fff;border-radius:11px;padding:10px 13px;font-size:12px;line-height:1.5;text-align:left;max-width:100%;overflow-wrap:anywhere;text-decoration:none;color:var(--ink);display:inline-flex;align-items:center;gap:8px}.message-buttons button:hover,.attachment-link:hover{background:var(--soft)}.message audio,.draft-card audio{display:block;max-width:100%;width:310px;height:38px;margin:10px 0}.attachments{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}a.attachment-link::before{content:"↧";font-size:16px;color:var(--muted)}.working{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);padding:19px 2px 8px}.spinner{display:inline-block;border:1.5px solid #d9dbe1;border-top-color:#5b616e;border-radius:50%;width:14px;height:14px;animation:rotate 1s linear infinite;flex-shrink:0}@keyframes rotate{to{transform:rotate(360deg)}}.composer-area{padding:10px 16px 0;background:var(--paper);flex-shrink:0;border-top:1px solid #f4f4f5}.composer{border:1px solid #e1e2e5;border-radius:20px;background:#fafafa;padding:12px 10px 7px;box-shadow:0 2px 10px #00000003}.composer textarea{display:block;width:100%;border:0;outline:0!important;box-shadow:none;background:transparent;resize:none;max-height:140px;min-height:31px;padding:0 5px 5px;font-size:16px;line-height:1.5;color:var(--ink)}.composer textarea::placeholder{color:#999ca3}.composer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px}.composer-toolbar>div{display:flex;align-items:center;gap:4px;min-width:0}.composer-toolbar .icon-button{width:44px;height:44px;flex-basis:44px;color:#666b75}.composer-toolbar .icon-button svg{width:21px;height:21px}.send-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;background:var(--ink);color:#fff;border-radius:50%;margin:1px 1px 1px 5px}.send-button svg{width:21px;height:21px;stroke-width:1.9}.send-button:disabled{opacity:.22}.composer-hint{font-size:9px;line-height:1.5;text-align:center;color:var(--faint);padding:8px 0 6px}.draft-state{font-size:9px;color:var(--faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 10px 10px;border-left:2px solid #b6c1ed;margin:0 6px 10px}.reply-preview small{font-size:10px;color:var(--muted)}.reply-preview p{font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:250px}.reply-preview .icon-button{height:44px;width:44px;flex-basis:44px;font-size:23px}.recording{display:flex;align-items:center;gap:8px;font-size:11px;padding:7px 8px 13px}.recording>button{margin-left:auto;color:var(--danger);min-height:35px}.record-dot{width:7px;height:7px;background:#b04c4c;border-radius:50%;animation:record-pulse 1.4s ease-in-out infinite}#recording-time{font-variant-numeric:tabular-nums;font-weight:600}@keyframes record-pulse{50%{opacity:.3}}#microphone.record-active{background:#f4e5e5;color:#9c3939}.drafts{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.drafts>h2{font-size:12px;font-weight:600;margin-bottom:11px}.draft-card{padding:13px 14px;border:1px solid #e7e3da;background:#fbfaf7;border-radius:14px;margin-bottom:10px;overflow-wrap:anywhere}.draft-card h3{font-size:12px;font-weight:550;margin:0 0 4px}.draft-card>p{font-size:12px;color:#64625d;line-height:1.65;white-space:pre-wrap;max-height:140px;overflow:auto}.draft-card>small{display:block;font-size:10px;color:#938c7c;margin:7px 0}.draft-card .message-buttons{margin-top:8px}.draft-card .message-buttons button{background:#ffffffb0;font-size:11px;min-height:44px;padding:8px 11px}.draft-error{color:var(--danger)!important}.page-view{overflow:auto;padding:28px 24px 30px;overscroll-behavior:contain}.page-heading{margin-bottom:27px}.page-heading h1{font-size:34px;font-weight:570;line-height:1.2;letter-spacing:-1.2px;margin:10px 0}.page-heading>p:last-child{font-size:13px;line-height:1.7;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:26px}.quick-grid>button{position:relative;text-align:left;display:flex;flex-direction:column;gap:6px;padding:17px 14px;border:1px solid var(--line);border-radius:16px;background:#fbfbfc;min-height:95px}.quick-grid span{font-size:14px;font-weight:550}.quick-grid small{font-size:10px;color:var(--muted)}.quick-grid b{position:absolute;top:13px;right:13px;font-size:13px;font-weight:400;color:var(--faint)}.settings-card{border:1px solid var(--line);border-radius:18px;padding:19px;margin-bottom:15px}.settings-card h2{font-size:15px;font-weight:580}.settings-card>small{display:block;font-size:10px;line-height:1.65;color:var(--faint);margin-top:14px}.section-heading{display:flex;gap:12px;align-items:center;margin-bottom:18px}.section-heading p{font-size:11px;color:var(--muted);line-height:1.6;margin-top:4px}.settings-symbol{width:35px;height:35px;display:flex;align-items:center;justify-content:center;background:var(--soft);border-radius:10px;font-size:19px}.settings-card .primary{width:100%;font-size:13px}.settings-buttons{display:flex;gap:14px;align-items:center;margin-top:10px;flex-wrap:wrap}.settings-buttons .secondary{min-height:44px;font-size:12px}.settings-buttons .text-button{font-size:11px}.connection-details{margin:17px 0}.connection-details>div{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;padding:8px 0;font-size:12px}.connection-details dt{color:var(--muted)}.connection-details dd{margin:0;text-align:right;max-width:66%;overflow-wrap:anywhere}.settings-card>.quiet{font-size:11px;margin-bottom:15px}.settings-card>.secondary{font-size:12px;min-height:44px}.privacy-actions{display:flex;flex-direction:column;align-items:flex-start;padding:2px 3px}.privacy-actions .text-button{font-size:12px}.version{font-size:10px;color:#b0b2b7;margin-top:25px;text-align:center}.tab-bar{display:grid;grid-template-columns:repeat(3,1fr);flex-shrink:0;padding:5px 10px calc(4px + env(safe-area-inset-bottom));min-height:calc(var(--tab-height) + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffffa;z-index:5}.tab-bar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;color:#92969d;min-height:56px;border-radius:13px}.tab-bar svg{width:22px;height:22px;stroke-width:1.55}.tab-bar button.active{color:var(--ink)}.tab-bar button.active span{font-weight:600}.today-section-title{font-size:12px;font-weight:600;letter-spacing:.1px;margin:24px 0 11px}.digest-card{padding:18px;background:#f7f8fb;border:1px solid #e9ecf4;border-radius:17px;white-space:pre-wrap;font-size:13px;line-height:1.8}.today-card{padding:15px 0;border-bottom:1px solid var(--line)}.today-card h3{font-size:14px;font-weight:550;margin:0 0 4px;line-height:1.6}.today-card p{font-size:11px;color:var(--muted);line-height:1.7;white-space:pre-wrap}.today-card .message-buttons{margin-top:10px}.today-card .message-buttons button{font-size:11px;min-height:44px;padding:8px 11px}.empty-state{border:1px dashed #dddfe4;border-radius:16px;padding:25px 18px;font-size:13px;line-height:1.75;color:var(--muted)}.preview-dialog{border:1px solid var(--line);border-radius:22px;padding:20px;width:calc(100% - 28px);max-width:620px;max-height:85dvh;color:var(--ink);background:#fff}.preview-dialog::backdrop{background:#20212455;backdrop-filter:blur(4px)}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.preview-heading h2{font-size:18px;font-weight:580;overflow-wrap:anywhere}.preview-content-text{white-space:pre-wrap;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.preview-dialog dl{font-size:12px}.preview-dialog dt{font-weight:600;margin-top:15px}.preview-dialog dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}#preview-content{overflow-wrap:anywhere}.preview-dialog table{width:100%;border-collapse:collapse;font-size:11px}.preview-dialog td,.preview-dialog th{padding:8px;border:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere}.preview-dialog pre{white-space:pre-wrap;font-size:11px;overflow-wrap:anywhere}body.keyboard-open .tab-bar{display:none}body.keyboard-open .app-header{min-height:62px;padding-top:8px;padding-bottom:8px}body.keyboard-open .composer-hint{display:none}
@media(min-width:700px){body{background:#f3f3f5}.application{border-left:1px solid var(--line);border-right:1px solid var(--line)}.chat-scroll{padding-left:44px;padding-right:44px}.composer-area{padding-left:35px;padding-right:35px}.page-view{padding-left:44px;padding-right:44px}.chat-intro{padding-top:65px}.suggestions{grid-template-columns:repeat(3,1fr)}.pairing{padding-top:55px}.pairing-copy{margin-top:56px}.notice{top:20px}}
@media(max-width:350px){.chat-scroll{padding-left:15px;padding-right:15px}.page-view{padding-left:17px;padding-right:17px}.pairing{padding-left:20px;padding-right:20px}.pairing-copy h1{font-size:33px}.pair-card{padding:20px}.pair-card input{letter-spacing:5px}.chat-intro h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

.operation-notice{font-size:12px;line-height:1.7;color:var(--muted);padding:15px 3px 6px;overflow-wrap:anywhere}.preview-steps{padding-left:20px;font-size:13px;line-height:1.8}.preview-steps li{margin:10px 0}
