:root{--background:#fff;--surface:#f5f6f8;--text:#24262a;--muted:#656970;--line:#e5e7eb;--field-border:#8c929b;--link:#245bdb;--danger:#b42318;color:var(--text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;background:#f0f1f3;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;background:var(--background);border:1px solid var(--line);-webkit-tap-highlight-color:transparent;touch-action:manipulation;border-radius:10px;min-height:44px;padding:10px 16px}button:disabled{opacity:.55;cursor:default}button:active:not(:disabled){background:var(--surface)}input,textarea{background:var(--surface);border:1px solid var(--line);border-radius:10px;width:100%;min-width:0;padding:12px;line-height:1.6}textarea{resize:vertical}input[type=checkbox]{width:22px;height:22px;accent-color:var(--text);flex-shrink:0;padding:0}label{margin:12px 0;line-height:1.6;display:block}label input,label textarea{margin-top:8px}h2{margin:22px 22px 14px;font-size:18px;font-weight:550;line-height:1.6}h3{font-size:17px;font-weight:500;line-height:1.65}small,.muted{color:var(--muted);font-size:13px}.muted{line-height:1.85}a{color:var(--link);text-underline-offset:3px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--link);outline-offset:3px}.icon{vertical-align:middle;flex-shrink:0;width:20px;height:20px;display:inline-block}.icon-button{background:0 0;border:0;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;padding:0;display:inline-flex}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app{background:var(--background);max-width:480px;height:100dvh;padding-top:env(safe-area-inset-top);flex-direction:column;margin:auto;display:flex;position:relative;overflow:hidden}header{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;min-height:60px;padding:8px 14px 8px 22px;display:flex}header h1{letter-spacing:.5px;flex:1;margin:0;font-size:18px;font-weight:600;line-height:1.5}header>button{border:0;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;padding:0;display:inline-flex}header>button:first-child{margin-left:-12px}.brand{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.brand img{object-fit:cover;flex-shrink:0;width:28px;height:28px}nav{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:center;gap:40px;display:flex}nav button{min-width:64px;height:46px;color:var(--muted);border:0;border-radius:0;padding:12px 6px;font-weight:400;position:relative}nav .selected{color:var(--text);font-weight:550}nav .selected:after{content:"";background:var(--text);width:22px;height:2px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.business-tabs{margin-bottom:18px}.search{background:var(--surface);border:1px solid #0000;border-radius:10px;flex-shrink:0;align-items:center;gap:10px;height:48px;min-height:48px;margin:0 22px;padding:0 13px;display:flex}.search>.icon{width:19px;height:19px;color:var(--muted)}.search input{background:0 0;border:0;border-radius:0;outline:none;flex:1;width:0;height:46px;padding:0;line-height:normal}.search input::-webkit-search-cancel-button{-webkit-appearance:none}.search input::placeholder{color:var(--muted);opacity:1}.search:focus-within{border-color:var(--text);background:var(--background)}.search .icon-button{color:var(--muted);margin-right:-12px}.section-heading{flex-shrink:0;justify-content:space-between;align-items:center;padding:27px 22px 10px;display:flex}.section-heading h2{margin:0;font-size:17px;font-weight:550}.section-heading small{font-size:12px}.scroll{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.results{padding:0 22px calc(22px + env(safe-area-inset-bottom))}.reference{text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;width:100%;padding:21px 0;display:block}.reference>small{font-size:12px}.reference h3{margin:8px 0 9px;font-size:17px;font-weight:500}.reference p{color:var(--muted);-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;font-size:15px;line-height:1.85;display:-webkit-box;overflow:hidden}.reference-footer{color:var(--muted);justify-content:space-between;align-items:center;margin-top:14px;font-size:12px;display:flex}.reference-footer small{font-size:12px}.reference-footer span{align-items:center;gap:3px;display:inline-flex}.reference-footer .icon{width:14px;height:14px}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:36px 12px 48px;display:flex}.empty-state>.icon{stroke-width:1.3px;color:#92969d;width:30px;height:30px;margin-bottom:17px}.empty-state h3{margin:0 0 8px;font-size:16px;font-weight:500;line-height:1.6}.empty-state p{color:var(--muted);max-width:290px;margin:0 0 20px;font-size:14px;line-height:1.85}.empty-state button{border-radius:8px;min-height:44px;padding:0 21px;font-size:14px}.skeleton-card{border-bottom:1px solid var(--line);padding:23px 0}.skeleton{background:var(--surface);border-radius:3px;height:12px;margin-bottom:13px;animation:1.6s ease-in-out infinite skeleton-pulse}.skeleton.meta{width:30%;height:10px}.skeleton.title{width:78%;height:19px}.skeleton.short{width:62%;margin-bottom:0}@keyframes skeleton-pulse{50%{opacity:.45}}.article,.chat{padding:22px}.article h2{overflow-wrap:anywhere;margin:12px 0 24px;font-size:23px;font-weight:550;line-height:1.65}.article details{margin:22px 0}.article summary{cursor:pointer;min-height:44px;padding:10px 0}.full-text{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;font-size:17px;line-height:1.95}footer{border-top:1px solid var(--line);padding:14px 22px calc(14px + env(safe-area-inset-bottom));background:var(--background);flex-shrink:0;gap:12px;display:flex}footer button{flex:1;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:48px;padding:10px 8px;font-size:15px;display:inline-flex}.primary{background:var(--text);color:#fff;border-color:var(--text);font-weight:550}.primary:active:not(:disabled){background:#3c3f44}.secondary{border-color:var(--field-border);font-weight:550}.empty{color:var(--muted);text-align:center;margin:40px 20px}.composer{border-top:1px solid var(--line);padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--background);flex-shrink:0;align-items:flex-end;gap:8px;display:flex}.composer textarea{flex:1;height:64px;min-height:48px;max-height:160px;font-size:16px}.composer button{min-height:48px;padding:10px 14px}.message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.85}.message.user{background:var(--surface);border-radius:12px;margin-left:26px;padding:14px 16px}.message.assistant{margin-right:10px}.title-editor,.body-editor{background:var(--background);border:0;border-radius:0;padding:16px 0}.title-editor{min-height:90px;font-size:23px;font-weight:550;line-height:1.65}.body-editor{min-height:50dvh;font-size:17px;line-height:1.95}.week{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 14px 14px;display:flex}.week strong{text-align:center;font-size:14px;font-weight:500}.week button{border:0;justify-content:center;align-items:center;width:44px;padding:0;font-size:24px;display:inline-flex}.table-scroll{overscroll-behavior-x:contain;max-width:100%;margin-top:16px;overflow-x:auto}table{border-collapse:collapse;min-width:620px;font-size:14px}th,td{border:1px solid var(--line);text-align:center;padding:10px}th{background:var(--surface);font-weight:500}th:first-child{z-index:1;min-width:70px;position:sticky;left:0}select{background:var(--background);border:1px solid var(--line);border-radius:6px;max-width:100%;min-height:44px;padding:5px 8px}.notice{border:1px solid var(--line);background:var(--surface);overflow-wrap:anywhere;border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.85}.feedback{bottom:calc(90px + env(safe-area-inset-bottom));background:var(--text);color:#fff;z-index:40;border-radius:10px;padding:14px;font-size:14px;line-height:1.6;position:absolute;left:16px;right:16px;box-shadow:0 4px 16px #0001}.overlay{z-index:30;background:#0005;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:480px;max-height:calc(90dvh - env(safe-area-inset-top));overscroll-behavior:contain;background:var(--background);padding:30px 24px calc(24px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;position:relative;overflow:auto}.sheet-handle{background:var(--line);border-radius:4px;width:32px;height:4px;position:absolute;top:10px;left:calc(50% - 16px)}.sheet>button:not(.close){width:100%;min-height:48px;margin:10px 0;font-size:15px;display:block}.sheet h2{min-height:28px;margin:0 48px 18px 0;font-size:19px;font-weight:550}.sheet .close{color:var(--muted);position:absolute;top:20px;right:12px}.sheet form>.primary{min-height:48px}.sheet p{overflow-wrap:anywhere}.row{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-width:0;padding:10px 0;display:flex}.row>span{overflow-wrap:anywhere}.row small{margin-left:auto}.row button{flex-shrink:0;font-size:14px}.memory{border-bottom:1px solid var(--line);padding:16px 0}.memory button{margin-left:10px}.login{padding:calc(44px + env(safe-area-inset-top)) 28px calc(18px + env(safe-area-inset-bottom));overflow-y:auto}.login-inner{width:100%;max-width:380px;margin:0 auto}.login-brand{align-items:center;gap:14px;display:flex}.login-brand img{object-fit:cover;flex-shrink:0;width:48px;height:48px}.login-brand h1{letter-spacing:1px;margin:0;font-size:22px;font-weight:500;line-height:1.4}.login-brand p{color:var(--muted);letter-spacing:.5px;margin:5px 0 0;font-size:12px;line-height:1.5}.login-greeting{margin-top:40px}.login-greeting h2{margin:0 0 7px;font-size:22px;font-weight:500;line-height:1.5}.login-greeting p{color:var(--muted);margin:0;font-size:14px;line-height:1.8}.login form{margin-top:30px}.login-field{margin-bottom:20px}.login-field label{margin:0 0 9px;font-size:14px;font-weight:500;line-height:1.5}.field-shell{border:1px solid var(--field-border);background:var(--background);border-radius:10px;align-items:center;min-height:50px;transition:border-color .15s,box-shadow .15s;display:flex}.field-shell:focus-within{border-color:var(--text);box-shadow:0 0 0 1px var(--text)}.field-shell:has([aria-invalid=true]){border-color:var(--danger)}.field-shell input{background:0 0;border:0;border-radius:10px;outline:0;flex:1;width:0;height:48px;padding:0 14px;line-height:normal}.field-shell input::placeholder{color:#8c9199;opacity:1}.field-shell .icon-button{color:var(--muted);margin-right:3px}.login .primary{width:100%}.login-submit{justify-content:center;align-items:center;gap:9px;height:50px;min-height:50px;margin-top:5px;font-size:16px;font-weight:550;display:flex}.login-submit:disabled{opacity:1;color:#8c9199;background:#eceef1;border-color:#eceef1}.login-submit[aria-busy=true]{background:var(--text);color:#fff;border-color:var(--text)}.login-error{color:var(--danger);margin:10px 0 4px;font-size:13px;line-height:1.75}.login-help{color:var(--muted);margin:21px 0 0;font-size:13px;line-height:1.85}.session-loading{align-items:center;gap:10px;margin-top:40px;display:flex}.spinner{border:1.5px solid;border-right-color:#0000;border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.account-summary{color:var(--muted);margin:0 0 20px;padding-right:12px;font-size:14px;line-height:1.8}.account-row{border-top:1px solid var(--line);padding:20px 0}.account-row button{margin:5px 8px 5px 0}.credential-delivery{background:var(--surface);overflow-wrap:anywhere;border-radius:10px;margin:20px 0;padding:16px}.credential-delivery code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;display:block}.library-item{border-bottom:1px solid var(--line);padding:16px 0}.library-open{text-align:left;border:0;width:100%;padding:8px 0}.library-open p{color:var(--muted);font-size:15px;line-height:1.85}.rename-form{flex-wrap:wrap;flex:1;gap:6px;min-width:0;display:flex}.rename-form input{flex-basis:100%}.source-images{margin:20px 0}.source-images figure{margin:16px 0}.source-images img{border-radius:10px;width:100%;height:auto}.source-images figcaption{color:var(--muted);margin-top:8px;font-size:13px}.export-actions{margin:20px 0}.download-button{border:1px solid var(--field-border);min-height:44px;color:inherit;border-radius:10px;margin:0 8px 8px 0;padding:12px 16px;text-decoration:none;display:inline-block}@media (width<=350px){.login{padding-left:22px;padding-right:22px}.search{margin-left:18px;margin-right:18px}.section-heading,.article,.chat,.results{padding-left:18px;padding-right:18px}footer{gap:8px;padding-left:18px;padding-right:18px}footer button{gap:5px;font-size:14px}}@media (height<=700px){.login{padding-top:calc(24px + env(safe-area-inset-top))}.login-greeting{margin-top:28px}.login form{margin-top:25px}.login-field{margin-bottom:17px}}@media (prefers-contrast:more){:root{--muted:#474b52;--field-border:#646a73;--line:#8c929b}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
