@charset "UTF-8";
:root{--bg:#f5f1e9;--surface:#fffcf7;--card:rgba(255,255,255,.69);--ink:#09101f;--muted:#777b83;--line:#e7e4dc;--blue:#4169e8;--violet:#7864ff;--champagne:#d4b07a;--tint:#edf2ff;--sidebar:#f1ede5;--shadow:0 14px 55px rgba(22,32,57,.04);--radius:22px;color-scheme:light}
:root[data-theme=dark]{--bg:#10141d;--surface:#171d29;--card:#1c2432;--ink:#f5f1e9;--muted:#a2aec1;--line:#2d3544;--blue:#8ba4ff;--violet:#aa99ff;--tint:#252f48;--sidebar:#0c1018;--shadow:0 14px 55px #0002;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}button,a,input,textarea,select{outline-offset:5px}button:focus-visible,a:focus-visible{outline:2px solid var(--blue)}button{color:inherit}button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button[data-nav]{border:0;background:transparent;text-align:left}a{color:var(--blue)}.app-shell{display:flex;min-height:100dvh}.sidebar{width:252px;flex-shrink:0;position:fixed;inset:0 auto 0 0;padding:31px 19px 22px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:8}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:600;letter-spacing:-1.2px;padding:0;background:transparent;border:0}.brand-ai{font-size:12px;letter-spacing:0;font-weight:500;margin-left:5px;color:var(--muted)}.brand-mark{display:block;width:36px;height:36px;background:#0c1427;border-radius:11px;position:relative;box-shadow:inset 0 0 0 1px #fff1;flex-shrink:0}.brand-mark:before{content:"";position:absolute;inset:7px;border:5px solid transparent;border-top-color:#ece9df;border-left-color:#7492ff;border-bottom-color:#a193ff;transform:rotate(-24deg);border-radius:7px}.brand-mark:after{content:"";position:absolute;background:#d4b07a;width:5px;height:6px;right:7px;top:8px;transform:rotate(-24deg);border-radius:1px}.new-chat{margin:34px 0 25px;width:100%;display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:13px 12px;font-size:12px;box-shadow:0 2px 4px #00000003}.keyboard-hint{margin-left:auto;font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:2px 3px}.navigation{display:grid;gap:5px}.navigation button,.settings-nav{display:flex;align-items:center;gap:13px;min-height:45px;padding:12px 14px;border-radius:10px;font-size:13px;color:var(--muted)}.navigation button.active{background:var(--tint);color:var(--blue);font-weight:600}.nav-count{margin-left:auto;font-size:11px}.sidebar-recent{margin:36px 9px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:var(--muted)}#recent-list{margin-top:16px;display:grid;gap:6px}.recent-item{border:0;background:transparent;color:var(--muted);padding:9px 0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:left;font-size:12px}.recent-item:hover{color:var(--blue)}.recent-empty{font-size:12px;color:var(--muted);line-height:1.8}.sidebar-bottom{margin-top:auto}.upgrade-card{width:100%;padding:17px 13px 15px;background:linear-gradient(140deg,var(--surface),var(--tint));border:1px solid var(--line);border-radius:14px;text-align:left}.upgrade-card>span{display:block}.upgrade-top{display:flex!important;align-items:center;gap:6px;font-size:11px;font-weight:600}.upgrade-top>span:last-child{margin-left:auto}.little-spark{font-size:24px;color:var(--blue)}.upgrade-card>span:nth-child(2){color:var(--muted);font-size:10px;line-height:1.6;margin:9px 0 15px}.upgrade-link{font-size:11px;font-weight:600;color:var(--blue)}.settings-nav{margin-top:17px;width:100%;background:transparent;border:0!important}.version{margin-left:auto;font-size:11px;color:var(--muted)}.sidebar-caption{color:var(--muted);font-size:8px;letter-spacing:2px;text-align:center;margin-top:19px}.main-shell{margin-left:252px;width:calc(100% - 252px);min-height:100dvh}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;gap:13px;font-size:12px;color:var(--muted)}.breadcrumb span:last-child{color:var(--ink)}.crumb-divider{opacity:.3}.header-actions{display:flex;align-items:center;gap:14px}.icon-button{width:40px;height:40px;background:transparent;border:0;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:var(--muted)}.icon-button:hover{background:var(--tint);color:var(--blue)}.locale-toggle{width:auto;padding:0 9px;font-size:11px}.mode-pill{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--line);border-radius:100px}.mode-pill i{width:5px;height:5px;border-radius:50%;background:#bc9861}.mode-pill.live i{background:#469c7d}.mobile-brand,.mobile-nav{display:none}#main{max-width:1180px;margin:auto;padding:42px 56px 38px}.home-hero{display:flex;justify-content:space-between;align-items:center;min-height:258px;margin-bottom:29px;position:relative}.hero-copy{position:relative;z-index:1;flex:1}.hero-eyebrow{display:flex;align-items:center;gap:9px;margin-bottom:22px;font-size:10px;letter-spacing:2.4px;font-weight:500;color:var(--muted)}.hero-eyebrow:before{content:"";width:18px;height:1px;background:var(--champagne)}h1,h2,.editorial{font-family:"Iowan Old Style","Baskerville","Palatino Linotype","Noto Serif JP",Georgia,serif;font-weight:400}h1{font-size:clamp(34px,3.65vw,59px);line-height:1.11;letter-spacing:-2px;margin:0 0 19px}h1 em{font-style:normal;color:var(--blue)}.hero-description{color:var(--muted);font-size:13px;line-height:1.9;margin:0;max-width:420px}.hero-art{width:250px;height:235px;position:relative;display:flex;align-items:center;justify-content:center;margin-right:0;flex-shrink:0}.orb{width:153px;height:153px;border-radius:39px;background:conic-gradient(from 130deg,#405bad,#a4b6ee,#f4eee1,#c0aa8e,#7189b6,#3c5591,#405bad);transform:rotate(-16deg);box-shadow:18px 28px 45px #52679220,inset 1px 1px 2px #fff8;position:relative}.orb:before{content:"";position:absolute;inset:28px;border:20px solid transparent;border-top-color:#f2efe9;border-left-color:#ffffffa8;border-bottom-color:#4e67bc;transform:rotate(-9deg);border-radius:25px;filter:drop-shadow(2px 7px 5px #263e6538)}.orb:after{content:"";position:absolute;inset:-35px;border:1px solid #bdc5d130;border-radius:63px;transform:rotate(35deg)}.art-dot{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--champagne);right:18px;top:32px}.art-dot.small{width:4px;height:4px;left:11px;top:auto;bottom:28px;background:var(--blue)}.section-label{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px}.section-label h2{font-family:inherit;font-size:13px;font-weight:500;margin:0}.section-label span{font-size:11px;color:var(--muted)}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tool-card{border:1px solid var(--line);background:var(--card);border-radius:17px;padding:19px;text-align:left;position:relative;transition:transform .18s,border-color .18s,background .18s;box-shadow:0 3px 8px #00000001;min-height:133px}.tool-card:hover,.tool-card.selected{transform:translateY(-3px);border-color:#9cadde;background:var(--surface)}.tool-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:var(--blue);background:var(--tint);margin-bottom:14px}.tool-card:nth-child(2) .tool-icon,.tool-card:nth-child(5) .tool-icon{color:#9b7749;background:#f0e9db}.tool-card:nth-child(3) .tool-icon,.tool-card:nth-child(6) .tool-icon{color:#78719c;background:#ece9f3}[data-theme=dark] .tool-card .tool-icon{background:var(--tint);color:var(--blue)}.tool-title{display:block;font-size:13px;font-weight:600;margin-bottom:5px}.tool-description{display:block;font-size:11px;color:var(--muted);line-height:1.6}.tool-arrow{position:absolute;right:18px;top:22px;color:#a9afbc;font-size:15px}.starter-row{display:flex;gap:9px;margin:22px 0 27px;flex-wrap:wrap}.starter{font-size:10px;padding:8px 11px;background:transparent;border:1px solid var(--line);color:var(--muted);border-radius:100px;display:flex;align-items:center;gap:6px}.starter:hover{border-color:var(--blue);color:var(--blue)}.composer-wrap{position:relative}.composer{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:14px 16px 11px;box-shadow:var(--shadow)}.composer:focus-within{border-color:#8d9fc7;box-shadow:0 0 0 3px #4169e807}.composer textarea{display:block;width:100%;min-height:54px;max-height:180px;resize:none;background:transparent;color:var(--ink);border:0;outline:none;font-size:13px;line-height:1.75;padding:2px 4px}.composer textarea::placeholder{color:#9b9da5}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:4px}.composer-actions{display:flex;align-items:center;gap:8px}.usecase-pill{font-size:10px;color:var(--muted);background:var(--bg);border-radius:6px;padding:5px 8px;border:0}.send{border:0;background:var(--ink);color:var(--bg);width:37px;height:37px;display:flex;align-items:center;justify-content:center;border-radius:11px}.send:hover{background:var(--blue);color:#fff}.composer-caption{margin-top:12px;text-align:center;color:var(--muted);font-size:10px;line-height:1.7}.privacy-inline{display:flex;justify-content:center;align-items:center;gap:5px;font-size:10px;color:var(--muted);margin-top:19px}.privacy-inline svg{width:12px;height:12px}.view-title{font-size:38px;letter-spacing:-1px;line-height:1.2;margin-bottom:9px}.view-subtitle{color:var(--muted);font-size:13px;line-height:1.8;margin:0 0 28px}.search-input{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:12px;color:var(--ink);padding:13px 16px;margin:6px 0 22px;font-size:13px}.history-item{display:flex;align-items:center;gap:12px;padding:17px 18px;border:1px solid var(--line);border-radius:15px;margin:10px 0;background:var(--card)}.history-open{flex:1;min-width:0;background:transparent;border:0;text-align:left}.history-open strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:7px}.history-open span{font-size:10px;color:var(--muted)}.empty-state{text-align:center;padding:65px 20px;background:var(--card);border:1px dashed var(--line);border-radius:20px}.empty-state .empty-icon{font-size:35px;color:var(--blue)}.empty-state h2{font-size:26px;margin:17px 0 9px}.empty-state p{color:var(--muted);font-size:12px}.primary-button{padding:14px 24px;border:0;border-radius:12px;background:var(--blue);color:white;font-size:13px;font-weight:600;min-height:46px}.secondary-button{padding:12px 17px;border:1px solid var(--line);background:var(--surface);border-radius:12px;font-size:12px;min-height:44px}.text-button{border:0;background:transparent;font-size:12px;color:var(--blue);padding:8px}.chat-top{display:flex;align-items:center;gap:13px;margin-bottom:25px}.chat-top h2{font-family:inherit;font-size:15px;font-weight:500;margin:0;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-content{max-width:790px;margin:auto}.messages{min-height:calc(100dvh - 377px)}.message{margin:22px 0 31px}.message.user{display:flex;justify-content:flex-end}.user-bubble{background:var(--tint);padding:14px 19px;border-radius:18px 18px 4px 18px;max-width:85%;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-head{display:flex;gap:9px;align-items:center;margin-bottom:15px;font-size:12px;font-weight:600}.assistant-head .brand-mark{width:23px;height:23px;border-radius:7px}.assistant-head .brand-mark:before{inset:5px;border-width:3px;border-radius:4px}.assistant-head .brand-mark:after{width:3px;height:4px;top:5px;right:4px}.response-label{font-weight:400;font-size:9px;color:var(--muted);border:1px solid var(--line);padding:3px 6px;border-radius:5px}.answer-body{font-size:14px;line-height:1.95;overflow-wrap:anywhere;white-space:pre-wrap}.answer-body strong{font-weight:600}.answer-body code{display:inline-block;max-width:100%;overflow:auto;background:var(--tint);padding:4px 7px;border-radius:5px;font-size:12px}.answer-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:16px}.action-chip{display:inline-flex;gap:5px;align-items:center;background:transparent;border:1px solid var(--line);padding:7px 10px;border-radius:8px;font-size:10px;color:var(--muted);min-height:34px}.action-chip:hover,.action-chip.saved{background:var(--tint);color:var(--blue)}.action-chip svg{width:13px;height:13px}.chat-composer{position:sticky;bottom:12px;background:linear-gradient(transparent,var(--bg) 12%);padding-top:18px;margin-top:20px}.typing-indicator{display:flex;gap:4px;padding:10px 0}.typing-indicator i{width:5px;height:5px;border-radius:50%;background:var(--muted);animation:pulse 1s infinite}.typing-indicator i:nth-child(2){animation-delay:.2s}.typing-indicator i:nth-child(3){animation-delay:.4s}@keyframes pulse{50%{opacity:.2;transform:translateY(-2px)}}.error-box{border:1px solid #ba6e5e66;border-radius:12px;padding:12px 14px;color:var(--ink);font-size:12px;line-height:1.7;background:#b468430b}.saved-card{padding:20px;background:var(--card);border:1px solid var(--line);border-radius:18px;margin-bottom:14px}.saved-card .saved-text{font-size:13px;line-height:1.9;white-space:pre-wrap;max-height:220px;overflow:auto}.settings-section{background:var(--card);border:1px solid var(--line);border-radius:18px;margin-bottom:20px;overflow:hidden}.settings-section h3{font-size:10px;letter-spacing:2px;color:var(--muted);padding:20px 21px 2px;margin:0}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:17px 21px;gap:20px}.setting-row+.setting-row{border-top:1px solid var(--line)}.setting-copy strong{font-weight:500;font-size:13px;display:block}.setting-copy p{font-size:11px;color:var(--muted);line-height:1.7;margin:5px 0 0;max-width:500px}.setting-row select{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:9px;font-size:12px;color:var(--ink)}.danger{color:#b55c50!important}.pill-small{font-size:10px;border:1px solid var(--line);border-radius:20px;padding:5px 9px;white-space:nowrap}.connection-note{margin:0 21px 18px;font-size:11px;color:var(--muted);line-height:1.8}.footer-small{font-size:10px;color:var(--muted);line-height:1.9;text-align:center;padding-top:17px}.mobile-only{display:none}
#modal{width:min(510px,calc(100% - 30px));background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:25px;padding:0;box-shadow:0 30px 150px #0003;max-height:90dvh}#modal::backdrop{background:#080f2566;backdrop-filter:blur(5px)}.modal-inner{padding:34px;position:relative}.modal-close{position:absolute;right:13px;top:12px}.modal-inner h2{font-size:37px;line-height:1.14;letter-spacing:-1.2px;margin:21px 0 14px}.modal-inner p{font-size:12px;line-height:1.85;color:var(--muted)}.paywall-logo{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.benefits{display:grid;gap:14px;margin:24px 0 26px}.benefit{display:flex;align-items:center;gap:10px;font-size:12px}.benefit svg{width:16px;height:16px;stroke:var(--blue);fill:none;stroke-width:1.8}.price-box{background:var(--tint);padding:19px;border-radius:15px;margin-bottom:16px}.price-main{font-family:Georgia,serif;font-size:27px;letter-spacing:-.8px;margin-bottom:8px}.price-small{font-size:11px;color:var(--muted);line-height:1.8}.full-width{width:100%}.paywall-terms{display:flex;justify-content:center;gap:12px;margin-top:18px;flex-wrap:wrap}.paywall-terms button{background:transparent;border:0;color:var(--muted);font-size:10px;padding:4px}.preview-note{border-left:2px solid var(--champagne);padding:7px 11px;font-size:10px!important;line-height:1.7!important;margin:17px 0 0}.modal-form{display:grid;gap:15px}.modal-form label{font-size:11px;color:var(--muted);display:grid;gap:7px}.modal-form input[type=text],.modal-form input[type=password],.modal-form input[type=url]{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font-size:12px}.modal-form .checkbox-label{display:flex;align-items:flex-start;line-height:1.75;font-size:11px}.modal-form input[type=checkbox]{margin-top:3px}.modal-error{color:#ba6658;font-size:12px;line-height:1.7}.badge-demo{color:var(--muted);font-size:9px;letter-spacing:1px}.file-input{display:none}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,14px);z-index:99;background:var(--ink);color:var(--bg);font-size:12px;border-radius:10px;padding:13px 21px;opacity:0;pointer-events:none;transition:.2s;max-width:88vw;line-height:1.6}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){#main{padding-top:64px}.home-hero{min-height:285px}h1{font-size:65px}}
@media(max-width:1150px){.sidebar{width:224px}.main-shell{margin-left:224px;width:calc(100% - 224px)}#main{padding:31px}.topbar{padding:0 30px}.hero-art{width:183px}.orb{width:123px;height:123px;border-radius:31px}.orb:before{inset:22px;border-width:16px;border-radius:20px}.hero-description{font-size:12px}.tool-card{padding:16px}}
@media(max-width:850px){.hero-art{width:135px;opacity:.8}.orb{width:100px;height:100px;border-radius:26px}.orb:before{inset:17px;border-width:14px;border-radius:16px}.orb:after{inset:-17px;border-radius:40px}.tool-grid{grid-template-columns:repeat(2,1fr)}.hero-copy{min-width:0}.home-hero{min-height:233px}.mode-pill{display:none}}
@media(max-width:700px){.sidebar{display:none}.main-shell{width:100%;margin:0;padding-bottom:76px}.topbar{height:78px;padding:0 23px;border-bottom:0}.mobile-brand{display:flex}.brand{font-size:23px}.brand-mark{width:33px;height:33px}.brand-ai{font-size:11px}.breadcrumb{display:none}.header-actions{gap:3px}.icon-button{width:36px;height:38px}.locale-toggle{font-size:10px;width:44px}#main{padding:8px 22px 25px}.home-hero{min-height:235px;margin-bottom:22px}.hero-eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:18px}.hero-copy{max-width:100%}h1{font-size:39px;letter-spacing:-1.5px;line-height:1.15;margin-bottom:17px}.hero-description{font-size:11px;max-width:280px;line-height:1.8}.hero-art{position:absolute;right:-4px;top:23px;width:87px;height:95px;opacity:.16;z-index:0}.orb{width:78px;height:78px;border-radius:21px}.orb:before{inset:15px;border-width:10px}.art-dot{display:none}.tool-grid{gap:10px}.tool-card{min-height:119px;padding:15px 14px;border-radius:16px}.tool-icon{margin-bottom:11px;width:30px;height:30px;border-radius:9px}.tool-title{font-size:12px}.tool-description{font-size:10px}.tool-arrow{top:17px;right:13px}.section-label h2{font-size:12px}.section-label span{font-size:9px}.starter-row{margin:19px 0;gap:7px}.starter{font-size:9px;padding:8px 10px}.starter:last-child{display:none}.composer{border-radius:17px;padding:14px 12px 10px}.composer textarea{font-size:13px;min-height:48px}.composer-caption{font-size:9px;padding:0 7px}.privacy-inline{font-size:9px;margin-top:15px}.mobile-nav{position:fixed;display:flex;justify-content:space-around;inset:auto 0 0;background:var(--surface);border-top:1px solid var(--line);padding:10px 6px calc(8px + env(safe-area-inset-bottom));z-index:10;backdrop-filter:blur(20px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:9px;color:var(--muted);min-width:64px;min-height:44px}.mobile-nav button.active{color:var(--blue)}.mobile-nav svg{width:20px;height:20px}.view-title{font-size:33px;margin-top:19px}.view-subtitle{font-size:12px}.messages{min-height:calc(100dvh - 386px)}.chat-composer{bottom:75px}.chat-top{margin-top:10px}.chat-top h2{font-size:13px}.answer-body{font-size:13px}.user-bubble{font-size:12px;max-width:94%}.answer-actions{gap:6px}.action-chip{font-size:9px;padding:7px}.setting-row{padding:16px;gap:12px}.settings-section h3{padding:18px 16px 0}.setting-copy p{font-size:10px}.setting-copy strong{font-size:12px}.setting-row select{font-size:11px;max-width:124px}.modal-inner{padding:27px}.modal-inner h2{font-size:34px}.footer-small{font-size:9px}.mobile-only{display:block}#toast{bottom:90px}.chat-content{margin-top:0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Contain the decorative orbital pseudo-element, not the page's scrollable content. */
.home-hero{overflow:clip}.privacy-inline svg{fill:none;stroke:currentColor;stroke-width:1.5}
@media(max-width:700px){html[lang=ja] .home-hero h1{font-size:29px;line-height:1.4;letter-spacing:-.8px}.setting-copy{min-width:0}.connection-note{overflow-wrap:anywhere}}
