@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Space+Grotesk:wght@400;500;700&display=swap";:root{--ink: #eef2f7;--muted: #9ca8b8;--panel: rgba(10, 13, 18, .82);--surface: rgba(19, 23, 30, .92);--surface-2: rgba(13, 16, 22, .96);--surface-3: rgba(27, 33, 44, .9);--accent: #d38b39;--accent-2: #f1c077;--accent-soft: rgba(211, 139, 57, .16);--line: rgba(166, 178, 196, .2);--user: #2a313d;--assistant: #171d26;--system: #29242f;--error: #ffb4b4;--success: #6ace97;--sidebar-width: 248px;--right-sidebar-width: 340px;--sidebar-mark-size: 1.25rem;--panel-max-width: 1120px;--research-content-width: 1320px;--research-side-pad: .24rem;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}.mai-shell{position:relative;height:100dvh;min-height:100dvh;display:flex;justify-content:center;align-items:stretch;padding:calc(1rem + var(--safe-top)) 1.15rem calc(1rem + var(--safe-bottom));overflow:hidden}.mai-shell:before,.mai-shell:after{content:"";position:fixed;inset:auto;pointer-events:none;filter:blur(24px);opacity:.8}.mai-shell:before{top:4rem;left:12%;width:320px;height:320px;border-radius:999px;background:radial-gradient(circle,rgba(211,139,57,.18),transparent 68%)}.mai-shell:after{right:8%;bottom:10%;width:360px;height:360px;border-radius:999px;background:radial-gradient(circle,rgba(125,154,198,.14),transparent 70%)}.ai-only-shell{padding:calc(.92rem + var(--safe-top)) .9rem calc(.92rem + var(--safe-bottom))}.ai-only-panel{width:min(1160px,100%);margin-left:0;margin-right:0}.app-mobile-backdrop{position:fixed;inset:0;z-index:32;border:0;padding:0;background:#04070b8f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer}.mai-corner-brand{position:fixed;top:calc(.92rem + var(--safe-top));left:1rem;z-index:24;display:inline-flex;align-items:center;gap:.65rem;padding:.2rem 0;-webkit-user-select:none;user-select:none;pointer-events:none}.mai-corner-brand:before{content:"";width:18px;height:1px;border-radius:999px;background:linear-gradient(90deg,#d38b39eb,#d38b3900)}.mai-corner-brand-mark{font-size:.82rem;font-weight:800;letter-spacing:.28em;line-height:1;text-transform:uppercase;color:#f4f7fbf0;text-shadow:0 1px 12px rgba(0,0,0,.32)}.mai-shell.is-resizing-right,.mai-shell.is-resizing-right *{cursor:ew-resize;-webkit-user-select:none;user-select:none}.mai-panel{width:min(var(--panel-max-width),calc(100% - 2.5rem));height:calc(100dvh - 2rem - var(--safe-top) - var(--safe-bottom));min-height:calc(100dvh - 2rem - var(--safe-top) - var(--safe-bottom));display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:1.05rem;background:transparent;border:0;border-radius:0;padding:1.35rem 0 .55rem;margin-left:0;margin-right:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;transition:margin-left .22s ease,margin-right .22s ease,width .22s ease}.mai-panel.mai-panel-word{width:calc(100% - 2.5rem);grid-template-rows:minmax(0,1fr);gap:0}.mai-shell.sidebar-open .mai-panel{margin-left:var(--sidebar-width);width:min(var(--panel-max-width),calc(100% - var(--sidebar-width) - 2rem))}.mai-shell.sidebar-open .mai-panel.mai-panel-word{width:calc(100% - var(--sidebar-width) - 2rem)}.mai-shell.right-sidebar-open .mai-panel{margin-right:var(--right-sidebar-width);width:min(var(--panel-max-width),calc(100% - var(--right-sidebar-width) - 2rem))}.mai-shell.right-sidebar-open .mai-panel.mai-panel-word{width:calc(100% - var(--right-sidebar-width) - 2rem)}.mai-shell.sidebar-open.right-sidebar-open .mai-panel{margin-left:var(--sidebar-width);width:min(var(--panel-max-width),calc(100% - var(--sidebar-width) - var(--right-sidebar-width) - 1.5rem))}.mai-shell.sidebar-open.right-sidebar-open .mai-panel.mai-panel-word{width:calc(100% - var(--sidebar-width) - var(--right-sidebar-width) - 1.5rem)}.mai-shell.sidebar-closed .mai-panel{margin-left:0}.mai-shell.right-sidebar-fullscreen .mai-panel{opacity:0;pointer-events:none}.mai-shell.right-sidebar-fullscreen .mai-right-sidebar{--fullscreen-content-width: min(var(--panel-max-width), calc(100vw - 2.6rem) );inset:0;width:100vw;z-index:80;border-left:0;padding-left:1rem;padding-right:1rem}.mai-shell.right-sidebar-fullscreen .right-sidebar-header{width:100%;margin-left:0;margin-right:0}.mai-shell.right-sidebar-fullscreen .right-sidebar-messages,.mai-shell.right-sidebar-fullscreen .right-sidebar-form,.mai-shell.right-sidebar-fullscreen .right-sidebar-error{width:var(--fullscreen-content-width);margin-left:auto;margin-right:auto}.mai-shell.right-sidebar-fullscreen .right-sidebar-messages{margin-left:auto;margin-right:auto;padding-left:.9rem;padding-right:.9rem;justify-items:stretch}.mai-shell.right-sidebar-fullscreen .right-sidebar-messages .message-assistant{justify-self:start}.mai-shell.right-sidebar-fullscreen .right-sidebar-messages .message-user{justify-self:end}.mai-shell.right-sidebar-fullscreen .right-sidebar-resizer,.mai-shell.right-sidebar-fullscreen .right-sidebar-floating-toggle,.mai-shell.right-sidebar-fullscreen .sidebar-floating-toggle,.mai-shell.right-sidebar-fullscreen .mai-sidebar{display:none}.mai-sidebar{position:fixed;inset:.7rem auto .7rem .7rem;width:var(--sidebar-width);z-index:40;padding:.7rem .5rem;border:1px solid rgba(162,176,194,.16);border-radius:26px;background:linear-gradient(180deg,#10141cf5,#0b0f16f5),radial-gradient(100% 90% at 0% 0%,rgba(211,139,57,.12),transparent 60%);display:flex;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 24px 60px #00000052;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transition:transform .22s ease,opacity .22s ease}.mai-sidebar.is-open{transform:translate(0);opacity:1}.mai-sidebar.is-closed{transform:translate(calc(-100% - 1rem));opacity:0;pointer-events:none}.mai-right-sidebar{--right-sidebar-pad-x: .85rem;position:fixed;inset:.7rem .7rem .7rem auto;width:var(--right-sidebar-width);z-index:35;padding:1rem var(--right-sidebar-pad-x);border:1px solid rgba(162,176,194,.16);border-radius:26px;background:linear-gradient(180deg,#12161df5,#0c0f16f7),radial-gradient(100% 120% at 100% 0%,rgba(211,139,57,.1),transparent 72%);display:flex;flex-direction:column;gap:.65rem;box-shadow:0 24px 60px #00000052;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transition:transform .22s ease,opacity .22s ease}.mai-right-sidebar.is-open{transform:translate(0);opacity:1}.mai-right-sidebar.is-closed{transform:translate(calc(100% + 1rem));opacity:0;pointer-events:none}.right-sidebar-resizer{position:absolute;top:0;bottom:0;left:-6px;width:12px;cursor:ew-resize;z-index:5}.right-sidebar-resizer:after{content:"";position:absolute;top:.75rem;bottom:.75rem;left:50%;width:1px;transform:translate(-50%);background:#b0b8c46b;opacity:0;transition:opacity .14s ease}.right-sidebar-resizer:hover:after,.mai-shell.is-resizing-right .right-sidebar-resizer:after{opacity:1}.right-sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.35rem}.right-sidebar-header-actions{display:inline-flex;align-items:center;gap:.4rem}.right-sidebar-fullscreen-toggle,.right-sidebar-collapse-toggle{width:34px;height:30px;padding:0;border:0;border-radius:9px;background:#ffffff0d;color:#e1e4ea;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.right-sidebar-fullscreen-toggle:hover,.right-sidebar-collapse-toggle:hover{background:#dbe0e71f}.fullscreen-icon{width:15px;height:15px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.right-sidebar-collapse-toggle .icon-box{width:24px;height:20px}.right-sidebar-floating-toggle{min-height:42px;padding:.45rem .72rem;border:1px solid rgba(184,194,209,.22);border-radius:14px;background:#0a0d12d1;color:#eef2f7;display:inline-flex;align-items:center;justify-content:space-between;gap:.75rem;cursor:pointer;position:fixed;top:calc(.7rem + var(--safe-top));right:.7rem;width:auto;min-width:30px;z-index:55;box-shadow:0 14px 30px #0000003d}.right-sidebar-brand{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#dbe3ee}.right-sidebar-messages{flex:1;min-height:0;margin-right:calc(var(--right-sidebar-pad-x) * -1);padding-right:calc(var(--right-sidebar-pad-x) + .65rem)}.right-sidebar-messages,.message-list,.chat-form textarea{scrollbar-width:thin;scrollbar-color:rgba(186,193,205,.72) rgba(17,19,24,.72)}.right-sidebar-messages::-webkit-scrollbar,.message-list::-webkit-scrollbar,.chat-form textarea::-webkit-scrollbar{width:12px;height:12px}.right-sidebar-messages::-webkit-scrollbar-button,.message-list::-webkit-scrollbar-button,.chat-form textarea::-webkit-scrollbar-button{display:none;width:0;height:0}.right-sidebar-messages::-webkit-scrollbar-track,.message-list::-webkit-scrollbar-track,.chat-form textarea::-webkit-scrollbar-track{border-radius:999px;background:linear-gradient(180deg,#1c1f27f0,#0f1116f0 55%,#0a0b0ff7);border:1px solid rgba(151,160,173,.24);box-shadow:inset 0 0 0 1px #08090c7a}.right-sidebar-messages::-webkit-scrollbar-thumb,.message-list::-webkit-scrollbar-thumb,.chat-form textarea::-webkit-scrollbar-thumb{min-height:36px;border-radius:999px;border:2px solid transparent;background-clip:padding-box;background:linear-gradient(180deg,#d7dce4e6,#a2aab7e6 45%,#858e9de6);box-shadow:inset 0 1px #fafcff40,0 0 0 1px #585f6d61}.right-sidebar-messages::-webkit-scrollbar-thumb:hover,.message-list::-webkit-scrollbar-thumb:hover,.chat-form textarea::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#e9eef6f2,#b9c2d1f2 48%,#99a3b3f2)}.right-sidebar-messages::-webkit-scrollbar-thumb:active,.message-list::-webkit-scrollbar-thumb:active,.chat-form textarea::-webkit-scrollbar-thumb:active{background:linear-gradient(180deg,#c2ccdcf2,#949eaef2)}.right-sidebar-messages .message{width:fit-content;max-width:min(92%,560px);display:grid;padding:0}.right-sidebar-messages .message-text{margin-top:0;font-size:.86rem;line-height:1.35}.right-sidebar-messages .message-assistant{justify-self:start;text-align:left}.right-sidebar-messages .message-user{justify-self:end;text-align:left;margin-right:.55rem}.right-sidebar-messages .message-assistant .message-text{padding:0;background:transparent;border:0}.right-sidebar-messages .message-user .message-text{margin-top:.14rem;padding:.58rem .72rem;border-radius:12px 12px 5px;border:1px solid rgba(178,186,198,.24);background:linear-gradient(160deg,#484e5b85,#2b303a9e 56%,#22272fb3);box-shadow:inset 0 1px #f4f7fc14,0 8px 18px #0003;color:#f2f5f8}.right-sidebar-messages .message-thinking{margin:.32rem 0 0;border:1px solid rgba(166,174,186,.24);border-radius:10px;background:#1013199e;overflow:hidden}.right-sidebar-messages .message-thinking summary{cursor:pointer;padding:.38rem .52rem;font-size:.72rem;letter-spacing:.03em;text-transform:uppercase;color:#cdd4dee6}.right-sidebar-messages .message-thinking pre{margin:0;padding:.52rem;border-top:1px solid rgba(166,174,186,.2);max-height:180px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;white-space:pre-wrap;word-break:break-word;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.69rem;line-height:1.35;color:#dbe2eceb}.thinking-panel-body{margin:0;padding:.56rem .62rem;border-top:1px solid rgba(166,174,186,.2);max-height:220px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.thinking-panel-body::-webkit-scrollbar{width:0;height:0;display:none}.thinking-steps{margin:0;padding:0;list-style:none;display:grid;gap:.5rem}.thinking-step{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:.5rem}.thinking-step-index{width:20px;height:20px;border-radius:999px;border:1px solid rgba(167,176,190,.36);background:#222730bd;color:#e4eaf3f2;font-size:.67rem;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.thinking-step-content{min-width:0}.thinking-step-message{margin:0;font-size:.74rem;line-height:1.35;color:#dfe6f0f2;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.thinking-step-next{margin:.18rem 0 0;font-size:.68rem;line-height:1.32;color:#adb7c6e6;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.thinking-step-code{margin-top:.34rem;border:1px solid rgba(156,167,182,.26);border-radius:8px;background:#0b0e14b8;overflow:hidden}.thinking-step-code summary{cursor:pointer;padding:.34rem .46rem;font-size:.66rem;letter-spacing:.02em;text-transform:uppercase;color:#cdd4dee6;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.thinking-step-code pre{margin:0;padding:.46rem .52rem;border-top:1px solid rgba(156,167,182,.22);max-height:220px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;white-space:pre;word-break:normal;font-size:.66rem;line-height:1.4;color:#dce4eff2;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.thinking-step-code pre code{font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;background:transparent;padding:0;border-radius:0;display:block}.thinking-step-code pre code::selection{background:#7894c26b;color:#f3f7ff}.thinking-step-code pre code::-moz-selection{background:#7894c26b;color:#f3f7ff}.thinking-step-code pre::-webkit-scrollbar{width:0;height:0;display:none}.right-sidebar-form{grid-template-columns:1fr;gap:.55rem}.right-sidebar-form textarea{min-height:76px;max-height:150px}.right-sidebar-error{margin:0;font-size:.78rem}.panel-spacer{min-height:0}.home-page{height:100%;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:1.1rem;padding:0 0 .4rem}.home-hero,.home-card,.research-welcome-card,.research-compose-shell{border:1px solid rgba(166,178,196,.16);border-radius:28px;background:linear-gradient(180deg,#12161ef0,#0b0f15f5),radial-gradient(100% 100% at 100% 0%,rgba(211,139,57,.08),transparent 70%);box-shadow:0 24px 64px #0000003d;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.home-hero{padding:1.45rem 1.55rem 1.35rem;display:grid;gap:1.2rem}.home-badge-row,.surface-badge-row{display:flex;flex-wrap:wrap;gap:.55rem}.surface-badge{display:inline-flex;align-items:center;gap:.35rem;min-height:32px;padding:.3rem .68rem;border-radius:999px;border:1px solid rgba(185,195,210,.16);background:#ffffff0a;color:#dfe7f2;font-size:.77rem;font-weight:600;letter-spacing:.01em}.surface-badge.surface-badge-brand{background:linear-gradient(180deg,#d38b392e,#d38b391a);border-color:#e7bf852e;color:#f7ead8}.surface-badge.is-online{border-color:#6ace9738;background:#6ace971f;color:#daf7e6}.surface-badge.is-offline{border-color:#ff7c7c33;background:#ff7c7c1a;color:#ffdada}.surface-badge.is-checking{border-color:#d38b392e;background:#d38b391a;color:#f4dbc0}.home-eyebrow,.home-card-kicker{margin:0 0 .34rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#d38b39db}.home-hero-copy h1,.research-welcome-copy h1,.research-page-header h1{margin:0;font-size:clamp(2rem,4vw,3.2rem);line-height:1.02;letter-spacing:-.04em;color:#f6f8fb;max-width:13ch}.research-page-header h1{font-size:clamp(1.2rem,1.6vw,1.5rem);max-width:none}.home-hero-description,.research-welcome-copy p{margin:0;max-width:68ch;color:var(--muted);font-size:1rem;line-height:1.6}.home-hero-actions{display:flex;flex-wrap:wrap;gap:.75rem}.home-action-button,.home-tool-button,.prompt-chip{border:0;cursor:pointer;font-family:inherit}.home-action-button{min-height:46px;padding:.72rem 1rem;border-radius:14px;border:1px solid rgba(191,200,214,.16);background:#ffffff0a;color:#eef2f7;font-size:.95rem;font-weight:700;transition:transform .14s ease,border-color .14s ease,background-color .14s ease}.home-action-button:hover,.home-tool-button:hover,.prompt-chip:hover{transform:translateY(-1px)}.home-action-button.home-action-button-primary,.home-tool-card.is-primary .home-tool-button{background:linear-gradient(135deg,#d38b39f5,#f1c077f5);color:#20150a;border-color:#f1c0777a}.home-stats-grid,.home-grid,.home-tool-grid{display:grid;gap:.9rem}.home-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-stat-card{min-height:128px;padding:.95rem 1rem;border-radius:20px;border:1px solid rgba(179,191,208,.14);background:#ffffff08}.home-stat-label{margin:0 0 .48rem;font-size:.76rem;text-transform:uppercase;letter-spacing:.12em;color:#c4cedcbd}.home-stat-value{margin:0;color:#edf2f8;font-size:1rem;line-height:1.55}.home-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,.95fr);align-items:start}.home-card{padding:1.2rem 1.25rem;display:grid;gap:.95rem}.home-card-heading{display:flex;align-items:start;justify-content:space-between;gap:.75rem}.home-card h2{margin:0;font-size:1.25rem;line-height:1.15;letter-spacing:-.03em;color:#f6f8fb}.prompt-chip-list{display:flex;flex-wrap:wrap;gap:.7rem}.prompt-chip{min-height:42px;padding:.66rem .88rem;border-radius:16px;border:1px solid rgba(183,194,211,.14);background:#ffffff0a;color:#e9eef5;font-size:.9rem;line-height:1.4;text-align:left;transition:transform .14s ease,border-color .14s ease,background-color .14s ease}.prompt-chip:hover{border-color:#d38b3952;background:#d38b3914}.home-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-tool-card{min-height:210px;display:grid;align-content:space-between;gap:1rem;padding:1rem;border-radius:20px;border:1px solid rgba(183,194,211,.14);background:#ffffff08}.home-tool-card.is-primary{background:linear-gradient(180deg,#d38b3924,#ffffff08),#ffffff08}.home-tool-title{margin:0 0 .55rem;font-size:1.05rem;font-weight:700;letter-spacing:-.02em;color:#f5f8fb}.home-tool-description{margin:0;color:var(--muted);font-size:.92rem;line-height:1.55}.home-tool-button{min-height:42px;padding:.64rem .82rem;border-radius:14px;border:1px solid rgba(183,194,211,.14);background:#ffffff0a;color:#f2f6fb;font-size:.9rem;font-weight:700;transition:transform .14s ease,border-color .14s ease,background-color .14s ease}.home-card-meta{grid-column:2;grid-row:1 / span 2;align-self:stretch}.home-meta-list{margin:0;display:grid;gap:.8rem}.home-meta-list div{padding:.8rem .9rem;border-radius:18px;border:1px solid rgba(183,194,211,.12);background:#ffffff08}.home-meta-list dt{margin:0 0 .28rem;font-size:.74rem;text-transform:uppercase;letter-spacing:.12em;color:#c4cedcb8}.home-meta-list dd{margin:0;color:#eef2f7;font-size:.94rem;line-height:1.5}.mai-panel.mai-panel-research{width:min(var(--research-content-width),calc(100% - .6rem));grid-template-rows:minmax(0,1fr);gap:0}.tools-page{min-height:calc(100vh - 3.8rem);border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#101218eb,#0b0d12f0);padding:1.15rem 1.2rem}.tools-page h2{margin:0;font-size:1.1rem;letter-spacing:.02em;color:var(--ink)}.tools-page p{margin:.5rem 0 0;font-size:.92rem;line-height:1.45;color:var(--muted)}.research-page{height:100%;min-height:0;display:flex;flex-direction:column;color:var(--ink)}.research-session-reset{position:fixed;left:1rem;bottom:calc(1rem + var(--safe-bottom));z-index:18;width:34px;height:34px;padding:0;border:0;border-radius:10px;background:transparent;color:#e77878eb;display:inline-flex;align-items:center;justify-content:center;box-shadow:none;transition:background-color .14s ease,color .14s ease,opacity .14s ease}.research-session-reset svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.research-session-reset:hover:not(:disabled){background:#c946461a;color:#ffababfa}.research-session-reset:focus-visible{outline:none;background:#c946461a;color:#ffababfa}.research-session-reset:disabled{opacity:.34;cursor:default}.research-page.is-empty{justify-content:center;align-items:center;padding:.7rem .4rem 1rem}.research-empty-state{width:min(960px,100%);display:flex;flex-direction:column;align-items:stretch;gap:0}.research-page.has-conversation{justify-content:flex-end;padding:.55rem 0 .25rem;gap:.7rem}.research-welcome-card{padding:1.35rem 1.45rem;display:grid;gap:1rem}.research-welcome-copy{display:grid;gap:.55rem}.research-thread{width:min(var(--research-content-width),100%);margin:0 auto;padding:0 var(--research-side-pad) .3rem;flex:1;min-height:0;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;display:grid;align-content:start;grid-auto-rows:min-content;gap:.9rem}.research-thread::-webkit-scrollbar{width:0;height:0;display:none}.research-message{width:fit-content;max-width:min(88%,860px)}.research-message-text{margin:0;white-space:pre-wrap;word-break:break-word;line-height:1.45;font-size:.95rem}.research-message-images{margin-bottom:.42rem;display:flex;flex-wrap:wrap;gap:.4rem}.research-message-images img{width:148px;max-width:100%;height:104px;border-radius:10px;border:1px solid rgba(171,179,191,.3);object-fit:cover;background:#0f1116e6}.research-message-assistant{justify-self:start;width:min(100%,860px);padding:0;border:0;background:transparent;box-shadow:none}.research-message-assistant .research-message-text{color:var(--ink)}.research-message-user{justify-self:end}.research-message-user .research-message-text{border:1px solid rgba(178,186,198,.25);border-radius:14px 14px 6px;padding:.62rem .75rem;background:linear-gradient(160deg,#484e5b85,#2b303a9e 56%,#22272fb3)}.research-message-thinking{margin-top:.44rem;border:1px solid rgba(166,174,186,.24);border-radius:10px;background:#1013199e;overflow:hidden}.research-message-thinking summary{cursor:pointer;padding:.42rem .56rem;font-size:.72rem;letter-spacing:.03em;text-transform:uppercase;color:#cdd4dee6}.research-message-thinking pre{margin:0;padding:.56rem;border-top:1px solid rgba(166,174,186,.2);max-height:220px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;white-space:pre-wrap;word-break:break-word;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;line-height:1.4;color:#dbe2eceb}.research-thinking-live-pre{margin:.46rem 0 0;padding:.56rem;border:1px solid rgba(166,174,186,.24);border-radius:10px;background:#1013199e;max-height:220px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;white-space:pre-wrap;word-break:break-word;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;line-height:1.4;color:#dbe2eceb}.research-compose{width:100%;margin:0;padding:0;display:flex;flex-direction:column;gap:.52rem}.research-compose-shell{width:min(960px,100%);margin:0 auto;padding:0;display:grid;gap:.6rem;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.research-compose-shell.is-minimal .research-compose,.research-compose-shell .research-compose{gap:.6rem}.research-compose-shell.is-minimal .research-pending-images{padding:0 0 .08rem}.research-compose-field{position:relative;width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:.4rem;min-height:52px;padding:.34rem .52rem;border:1px solid rgba(130,140,156,.28);border-radius:16px;background:#11151ce6;box-shadow:none;transition:border-color .14s ease,box-shadow .14s ease}.research-compose-field:focus-within{border-color:#b0bac970;box-shadow:0 0 0 3px #aab3c21a}.research-compose-field[data-state=online]{border-color:#828c9c47;box-shadow:none}.research-compose-field[data-state=online]:focus-within{border-color:#b0bac970;box-shadow:0 0 0 3px #aab3c21a}.research-compose-field[data-state=offline]{border-color:#e35656f2;box-shadow:inset 0 1px #ffecec0f,0 0 0 1px #e3565633}.research-compose-field[data-state=offline]:focus-within{border-color:#f06d6dfa;box-shadow:inset 0 1px #fff2f21a,0 0 0 3px #e356563d}.research-compose-field[data-dragging=true]{border-color:#d38b39e6;box-shadow:inset 0 1px #fff7ec24,0 0 0 3px #d38b3933}.research-compose textarea{width:100%;display:block;resize:none;overflow-y:hidden;min-height:24px;max-height:120px;border:0;border-radius:0;padding:0;margin:0;align-self:center;font-family:inherit;font-size:.96rem;line-height:1.35;color:var(--ink);background:transparent}.research-compose textarea::placeholder{color:#a5aebce6}.research-compose textarea:focus{outline:none}.research-hidden-input{display:none}.research-attach-icon-btn{position:static;width:36px;height:36px;border:0;border-radius:9px;padding:0;color:#d7dde8;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transform:none;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}.research-attach-icon-btn:hover:not(:disabled){background:#fffffff0;color:#0f1520;box-shadow:0 1px 10px #0003}.research-attach-icon-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.research-attach-icon-btn:disabled{opacity:.48;cursor:default;background:transparent}.research-send-icon-btn{position:static;width:36px;height:36px;border:1px solid rgba(132,142,158,.22);border-radius:10px;padding:0;color:#cfd8e6;background:#ffffff08;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transform:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.research-send-icon-btn:hover:not(:disabled){background:#ffffff14;border-color:#a2acbc57;color:#f4f7fb}.research-send-icon-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.research-send-icon-btn:disabled{opacity:.45;color:#ccd4e0a8;background:#23283357;border-color:#8d97a633;cursor:default}.research-send-icon-btn.is-sending,.research-send-icon-btn.is-sending:disabled{opacity:1;color:#111722;background:#fffffff5;border-color:#fffffff0;box-shadow:0 1px 12px #0000003d}.research-send-icon-btn.is-sending svg{width:30px;height:30px;fill:currentColor;stroke:none}.research-pending-images{margin:0;display:flex;flex-wrap:wrap;gap:.45rem}.research-pending-image-card{margin:0;width:132px;aspect-ratio:16 / 10;border-radius:12px;border:1px solid rgba(171,179,191,.3);overflow:hidden;position:relative;background:#0f1116e6}.research-pending-image-card img{width:100%;height:100%;object-fit:cover;display:block}.research-pending-image-remove{position:absolute;top:4px;right:4px;width:20px;height:20px;border:0;border-radius:999px;background:#090b10bf;color:#f2f5fa;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.research-pending-image-remove svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.research-pending-image-remove:hover{background:#1c1f27f0}.research-error{width:min(var(--research-content-width),100%);margin:0 auto;padding:0 var(--research-side-pad);color:var(--error);font-size:.85rem}.word-page{height:100%;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:0;border:1px solid #d2d2d2;border-radius:8px;overflow:hidden;background:#f3f3f3;color:#1f1f1f;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.word-titlebar{min-height:34px;padding:.2rem .55rem;border-bottom:1px solid #d8d8d8;background:#ececec;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.45rem}.word-titlebar-left,.word-titlebar-right{display:inline-flex;align-items:center;gap:.3rem}.word-titlebar-right{justify-content:flex-end}.word-titlebar-center{margin:0;font-size:.8rem;color:#323232;text-align:center;white-space:nowrap}.word-quick-btn,.word-share-btn{border:1px solid #c4c4c4;border-radius:5px;background:#fff;color:#1f1f1f;font-family:inherit;font-size:.73rem;font-weight:600;line-height:1;min-height:26px;padding:.38rem .62rem;cursor:pointer}.word-quick-btn:hover:not(:disabled),.word-share-btn:hover:not(:disabled){background:#f7f7f7;border-color:#b2b2b2}.word-title-icon-btn{width:30px;min-width:30px;min-height:28px;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;display:inline-flex;align-items:center;justify-content:center;color:#2a2f38;transition:opacity .12s ease}.word-title-icon-btn:hover:not(:disabled),.word-title-icon-btn:active:not(:disabled){border:0;background:transparent;box-shadow:none}.word-title-icon-btn:hover:not(:disabled){opacity:.78}.word-title-icon-btn:active:not(:disabled){opacity:.6}.word-title-icon-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.word-title-icon-btn:disabled{opacity:.56;cursor:wait}.word-share-btn{width:32px;min-width:32px;border:0;border-radius:0;background:transparent;padding:0;display:inline-flex;align-items:center;justify-content:center;box-shadow:none}.word-share-btn:hover:not(:disabled),.word-share-btn:active:not(:disabled){background:transparent;border-color:transparent}.word-share-btn:hover:not(:disabled){opacity:.78}.word-share-btn:active:not(:disabled){opacity:.62}.word-share-btn:focus-visible{outline:1px solid #7e97c0;outline-offset:1px}.word-share-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.word-quick-btn:disabled{opacity:.64;cursor:wait}.word-tabs{display:flex;align-items:stretch;gap:0;border-bottom:1px solid #d5d5d5;background:#f8f8f8;padding:0 .35rem}.word-tab{border:0;background:transparent;color:#222;font-family:inherit;font-size:.78rem;font-weight:500;padding:.44rem .65rem;cursor:pointer;border-bottom:2px solid transparent}.word-tab:hover{background:#0000000d}.word-tab.is-active{border-bottom-color:#2b579a;color:#1d3f76}.word-tab.is-file{background:#2b579a;color:#fff;border-bottom-color:#2b579a}.word-ribbon{border-bottom:1px solid #d5d5d5;background:linear-gradient(180deg,#f4f4f4,#efefef);display:flex;align-items:stretch;flex-wrap:wrap;gap:.12rem;padding:.42rem .58rem .28rem}.word-ribbon-empty{width:100%;min-height:88px}.word-group{min-height:88px;padding:0 .52rem;display:grid;grid-template-rows:1fr auto;border-right:1px solid #d2d4d8}.word-group:last-child{border-right:0}.word-group.word-group-paragraph,.word-group.word-group-insert,.word-group.word-group-layout{border-right:1px solid #d2d4d8}.word-group-controls{display:inline-flex;align-items:flex-start;gap:.3rem;flex-wrap:wrap}.word-group-controls button,.word-group-controls select{min-height:31px;border:1px solid #bec4ce;border-radius:4px;background:linear-gradient(180deg,#fff,#f6f7f9);color:#1b1f28;font-family:inherit;font-size:.8rem;font-weight:600;padding:.28rem .56rem;box-shadow:inset 0 1px #ffffffb8;transition:border-color .12s ease,background-color .12s ease,box-shadow .12s ease}.word-group-controls button{cursor:pointer}.word-group-controls button:hover:not(:disabled),.word-group-controls select:hover{border-color:#99aecf;background:linear-gradient(180deg,#fff,#eef4ff)}.word-group-controls button:disabled{opacity:.58;cursor:wait}.word-group-controls button:active:not(:disabled){border-color:#87a0c7;background:linear-gradient(180deg,#e8f0ff,#dce8fb)}.word-group-controls button:focus-visible,.word-group-controls select:focus-visible{outline:0;border-color:#6d8ec5;box-shadow:0 0 0 2px #6d8ec538}.word-font-controls{display:flex;flex-direction:column;align-items:flex-start;gap:.28rem;width:max-content;min-width:0}.word-font-controls .word-font-tool-btn,.word-font-controls .word-font-mini-btn{border:0;border-radius:0;background:transparent;box-shadow:none}.word-font-controls .word-font-tool-btn:hover,.word-font-controls .word-font-mini-btn:hover{border:0;background:transparent;opacity:.8}.word-font-controls .word-font-tool-btn:focus-visible,.word-font-controls .word-font-mini-btn:focus-visible{outline:1px solid #7e97c0;outline-offset:1px}.word-font-row{display:inline-flex;align-items:center;gap:.24rem}.word-font-row+.word-font-row{margin-top:1px}.word-font-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;min-height:33px;border:1px solid #a9b6cb;border-radius:7px;padding:.34rem 2rem .34rem .68rem;background:linear-gradient(45deg,transparent 50%,#4b5d7f 50%) calc(100% - 14px) calc(50% - 1px) / 6px 6px no-repeat,linear-gradient(135deg,#4b5d7f 50%,transparent 50%) calc(100% - 10px) calc(50% - 1px) / 6px 6px no-repeat,linear-gradient(180deg,#fff,#eef3fb);opacity:1;color:#1a2232;box-shadow:inset 0 1px #ffffffe0,0 1px #566e9614;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}.word-font-select:hover{border-color:#7d97c0;background:linear-gradient(45deg,transparent 50%,#3f5478 50%) calc(100% - 14px) calc(50% - 1px) / 6px 6px no-repeat,linear-gradient(135deg,#3f5478 50%,transparent 50%) calc(100% - 10px) calc(50% - 1px) / 6px 6px no-repeat,linear-gradient(180deg,#fff,#e6eefc);box-shadow:inset 0 1px #ffffffe6,0 2px 6px #45608e2e}.word-font-select:focus-visible{outline:0;border-color:#5f81ba;box-shadow:0 0 0 2px #5f81ba38,inset 0 1px #ffffffeb}.word-font-select option,.word-font-select optgroup{background:#f4f7fc;color:#1d2636;font-weight:600}.word-font-select option:checked{background:#dbe6f8;color:#182033}.word-font-select-family{min-width:152px;max-width:172px}.word-font-select-size{width:70px;min-width:70px}.word-font-tool-btn{min-width:34px;min-height:31px;padding:.2rem .32rem;font-size:.78rem;font-weight:600;letter-spacing:0}.word-font-mini-btn{min-width:30px;height:28px;border:0;border-radius:0;background:transparent;color:#1b1f28;font-family:inherit;font-size:.8rem;font-weight:600;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding:0 .26rem;cursor:pointer;transition:border-color .12s ease,background-color .12s ease}.word-font-mini-btn:hover{border:0;background:transparent;opacity:.8}.word-font-mini-btn:active{border:0;background:transparent;opacity:.68}.word-font-mini-bold{font-weight:700}.word-font-mini-italic{font-style:italic}.word-font-mini-underline{text-decoration:underline;text-underline-offset:2px}.word-font-mini-strike{text-decoration:line-through}.word-font-mini-btn sub,.word-font-mini-btn sup{font-size:.58em;line-height:1}.word-font-mini-highlight,.word-font-mini-color{position:relative}.word-font-mini-highlight span{display:inline-block;padding:0 .1rem;line-height:1.05;background:#e1ca47;border-radius:2px}.word-font-mini-color:after{content:"";position:absolute;left:5px;right:5px;bottom:4px;height:3px;border-radius:99px;background:#c43a2f}.word-paragraph-controls{display:flex;flex-direction:column;align-items:flex-start;gap:.28rem;width:max-content;min-width:0}.word-paragraph-row{display:inline-flex;align-items:center;gap:.2rem}.word-group-controls .word-paragraph-btn{width:31px;height:28px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#1b1f28;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:opacity .12s ease}.word-group-controls .word-paragraph-btn:hover{border:0;background:transparent;opacity:.8}.word-group-controls .word-paragraph-btn:active{border:0;background:transparent;opacity:.68}.word-group-controls .word-paragraph-btn:focus-visible{outline:1px solid #7e97c0;outline-offset:1px}.word-paragraph-btn svg{width:21px;height:21px;fill:none;stroke:#26303f;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;shape-rendering:geometricPrecision}.word-paragraph-btn svg circle{fill:#26303f;stroke:none}.word-paragraph-btn svg text{fill:#26303f;stroke:none;font-family:Segoe UI,Tahoma,sans-serif;font-size:6.8px;font-weight:700;line-height:1}.word-group-label{margin:0;text-align:center;font-size:.68rem;font-weight:600;letter-spacing:.02em;color:#4f5258;padding:.2rem 0 0}.word-group-insert{min-height:88px}.word-insert-controls{display:inline-flex;align-items:stretch;gap:.2rem}.word-group-controls .word-insert-tile{width:76px;min-height:72px;border:0;border-radius:0;background:transparent;color:#1f2b3d;box-shadow:none;display:grid;grid-template-rows:1fr auto;align-items:center;justify-items:center;gap:.08rem;padding:.32rem .28rem .26rem}.word-group-controls .word-insert-tile:hover{border:0;background:transparent;opacity:.82}.word-group-controls .word-insert-tile:active{border:0;background:transparent;opacity:.68}.word-group-controls .word-insert-tile:focus-visible{outline:1px solid #7e97c0;outline-offset:1px}.word-insert-icon{width:34px;height:30px;fill:none;stroke:#3a4f74;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.word-insert-icon circle{fill:#d8a54b;stroke:#c08c2f;stroke-width:1}.word-insert-tile-label{font-size:.79rem;font-weight:600;line-height:1.05;color:#1f2b3d}.word-insert-tile-label:after{content:" ▾";font-size:.58rem;color:#667b9e}.word-layout-controls{display:inline-flex;align-items:stretch;gap:.3rem}.word-layout-menu-anchor{position:relative}.word-group-controls .word-layout-tile{width:88px;min-height:74px;border:0;border-radius:0;background:transparent;color:#1f2b3d;box-shadow:none;display:grid;grid-template-rows:1fr auto auto auto;align-items:center;justify-items:center;gap:.05rem;padding:.3rem .24rem .16rem}.word-group-controls .word-layout-tile:hover{border:0;background:transparent;opacity:.82}.word-group-controls .word-layout-tile:active{border:0;background:transparent;opacity:.68}.word-group-controls .word-layout-tile.is-open{opacity:.92}.word-group-controls .word-layout-tile:focus-visible{outline:1px solid #7e97c0;outline-offset:1px}.word-layout-icon{width:34px;height:30px;fill:none;stroke:#3a4f74;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.word-layout-tile-label{font-size:.78rem;font-weight:600;line-height:1.03;color:#1f2b3d}.word-layout-tile-value{font-size:.6rem;font-weight:600;line-height:1;color:#667b9e;text-transform:uppercase;letter-spacing:.02em}.word-layout-tile-caret{font-size:.58rem;line-height:1;color:#667b9e}.word-layout-menu{position:absolute;top:calc(100% + .28rem);left:50%;transform:translate(-50%);min-width:146px;padding:.2rem 0;border:1px solid #bcc9dc;border-radius:7px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 12px 24px #12244624,0 1px #ffffffeb inset;z-index:20}.word-layout-controls .word-layout-menu-anchor:first-child .word-layout-menu{left:0;transform:none}.word-layout-controls .word-layout-menu-anchor:last-child .word-layout-menu{left:auto;right:0;transform:none}.word-group-controls .word-layout-menu .word-layout-menu-item{width:100%;min-height:29px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#243653;font-family:inherit;font-size:.75rem;font-weight:600;text-align:left;display:flex;align-items:center;gap:.35rem;padding:.28rem .4rem;cursor:pointer}.word-group-controls .word-layout-menu .word-layout-menu-item+.word-layout-menu-item{border-top:1px solid #e4ebf6}.word-group-controls .word-layout-menu .word-layout-menu-item:hover{background:#e8effa;border-color:transparent}.word-group-controls .word-layout-menu .word-layout-menu-item:active{background:#dbe7fa;border-color:transparent}.word-group-controls .word-layout-menu .word-layout-menu-item:focus-visible{outline:1px solid #6f8ebd;outline-offset:-1px;border-color:transparent;box-shadow:none}.word-group-controls .word-layout-menu .word-layout-menu-item.is-active{background:#dbe7fa;color:#15396f}.word-layout-menu-preview{width:18px;height:14px;fill:none;stroke:#44608d;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.word-group-controls .word-layout-menu .word-layout-menu-item.is-active .word-layout-menu-preview{stroke:#234b87}.word-group.word-group-layout-paragraph{min-width:300px}.word-layout-paragraph-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:.64rem}.word-layout-paragraph-column{min-width:132px;display:flex;flex-direction:column;gap:.22rem}.word-layout-paragraph-column+.word-layout-paragraph-column{border-left:1px solid #d2d4d8;padding-left:.64rem}.word-layout-paragraph-heading{margin:0 0 .08rem;font-size:.78rem;font-weight:600;color:#2a3a53}.word-layout-paragraph-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.24rem;margin:0}.word-layout-paragraph-row-label{display:inline-flex;align-items:center;gap:.18rem;min-width:56px;font-size:.79rem;font-weight:500;color:#2f3f59}.word-layout-paragraph-row-label svg{width:13px;height:13px;fill:none;stroke:#3b4f72;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.word-group-controls select.word-layout-paragraph-select{min-width:82px;min-height:27px;padding:.12rem .28rem;border-radius:3px;border-color:#b8c4d6;font-size:.77rem;font-weight:600;color:#22334e;background:linear-gradient(180deg,#fff,#f6f9ff)}.word-hidden-input{display:none}.word-canvas{min-height:0;overflow:auto;padding:1rem;background:#e5e5e5;display:flex;align-items:flex-start;justify-content:center;scrollbar-width:none}.word-canvas::-webkit-scrollbar{width:0;height:0}.word-paper{--word-paper-zoom: 1;width:min(8.27in,100%);min-height:11.69in;background:transparent;border:1px solid #cfcfcf;zoom:var(--word-paper-zoom);box-shadow:0 0 0 1px #00000005,0 12px 26px #00000024}.word-paper .tox.tox-tinymce{width:100%;border:0!important;border-radius:0;background:transparent;box-shadow:none!important;outline:none!important}.word-paper .tox.tox-tinymce:focus-within,.word-paper .tox.tox-tinymce.tox-tinymce--focused{border:0!important;box-shadow:none!important;outline:none!important}.word-paper .tox .tox-editor-container{background:transparent}.word-paper .tox .tox-edit-area{min-height:calc(11.69in - 2px);border:0!important;background:transparent;box-shadow:none!important;outline:none!important}.word-paper .tox .tox-edit-area__iframe{background:transparent;width:100%;min-height:calc(11.69in - 2px);border:0!important;outline:none!important;box-shadow:none!important}.word-paper .tox .tox-edit-area:focus,.word-paper .tox .tox-edit-area:focus-within,.word-paper .tox .tox-edit-area__iframe:focus,.word-paper .tox .tox-edit-area__iframe:focus-visible{border:0!important;outline:none!important;box-shadow:none!important}.word-paper .tox .tox-statusbar{border-top:0}.word-page .tox .tox-statusbar__branding,.word-page .tox .tox-promotion,.word-page .tox .tox-statusbar__right-container .tox-statusbar__branding{display:none!important}.word-statusbar{min-height:28px;padding:0 .55rem;border-top:1px solid #1e3f77;background:#2b579a;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.7rem;font-size:.71rem;line-height:1}.word-status-left,.word-status-right{display:inline-flex;align-items:center}.word-status-left{min-width:0;gap:.8rem;overflow:hidden}.word-status-item{opacity:.97;white-space:nowrap}.word-status-right{margin-left:auto;gap:.4rem}.word-view-modes{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.42);border-radius:4px;overflow:hidden}.word-view-mode-btn{width:24px;height:20px;border:0;border-right:1px solid rgba(255,255,255,.35);background:transparent;color:#ffffffdb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.word-view-mode-btn:last-child{border-right:0}.word-view-mode-btn:hover{background:#fff3;color:#fff}.word-view-mode-btn.is-active{background:#ffffff4d;color:#fff}.word-view-mode-btn svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.word-zoom-controls{display:inline-flex;align-items:center;gap:.32rem;min-height:22px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.word-zoom-btn{width:20px;height:20px;border:0;border-radius:50%;background:transparent;color:#fff;font-family:inherit;font-size:.86rem;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .12s ease,transform .12s ease}.word-zoom-btn:hover{background:#ffffff3d;transform:translateY(-.5px)}.word-zoom-btn:active{background:#ffffff2e;transform:translateY(0)}.word-zoom-btn:disabled{opacity:.45;cursor:default}.word-zoom-btn:disabled:hover{background:transparent;transform:none}.word-zoom-controls input[type=range]{-webkit-appearance:none;appearance:none;width:98px;height:18px;margin:0;accent-color:#fff;background:transparent;cursor:pointer;padding:0}.word-zoom-controls input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:99px;background:linear-gradient(90deg,#ffffff94,#ffffffd6)}.word-zoom-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;margin-top:-5.5px;border:1px solid rgba(26,58,108,.45);border-radius:50%;background:linear-gradient(180deg,#fff,#e9eef7);box-shadow:0 1px 2px #00000038}.word-zoom-controls input[type=range]::-moz-range-track{height:3px;border-radius:99px;background:linear-gradient(90deg,#ffffff94,#ffffffd6)}.word-zoom-controls input[type=range]::-moz-range-thumb{width:14px;height:14px;border:1px solid rgba(26,58,108,.45);border-radius:50%;background:linear-gradient(180deg,#fff,#e9eef7);box-shadow:0 1px 2px #00000038}.word-zoom-value{min-width:42px;color:#f5f8ff;font-size:.72rem;letter-spacing:.01em;font-weight:600;text-align:right;white-space:nowrap}.sidebar-icon-toggle,.sidebar-floating-toggle,.sidebar-settings-toggle,.sidebar-logout-toggle{width:auto;min-height:42px;padding:0;gap:.9rem;border:0;border-radius:0;background:transparent;color:#e1e4ea;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.sidebar-icon-toggle{margin-left:0;width:100%;padding:0 .38rem;flex-direction:row-reverse;justify-content:space-between}.sidebar-floating-toggle{position:fixed;top:calc(.7rem + var(--safe-top));left:.7rem;min-width:30px;padding:.42rem .62rem;z-index:55;justify-content:flex-start;border:1px solid rgba(184,194,209,.22);border-radius:14px;background:#0a0d12d1;box-shadow:0 14px 30px #0000003d}.sidebar-nav{margin:1.1rem 0 .85rem;padding:0 .38rem;display:grid;gap:.35rem}.sidebar-nav-section{margin-top:.34rem;padding-top:.38rem;border-top:1px solid rgba(146,154,167,.2);display:grid;gap:.26rem}.sidebar-nav-title{margin:0;padding:0 .62rem;font-size:.63rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#acb4c1db}.sidebar-nav-link{width:100%;border:0;border-radius:14px;background:transparent;color:#d9dee7;text-align:left;font-family:inherit;font-size:.93rem;font-weight:600;padding:.64rem .72rem;cursor:pointer;display:inline-flex;align-items:center;gap:.56rem;transition:background-color .14s ease,color .14s ease,transform .14s ease,box-shadow .14s ease}.sidebar-nav-icon{width:15px;height:15px;display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.86}.sidebar-nav-link:hover{background:#c5cddb1f;transform:translateY(-1px)}.sidebar-nav-link:hover .sidebar-nav-icon{opacity:1}.sidebar-nav-link.is-active{color:#f9fbff;background:linear-gradient(180deg,#d38b392e,#d38b391a);box-shadow:inset 0 0 0 1px #e7bf851f}.sidebar-nav-link.is-active .sidebar-nav-icon{opacity:1}.sidebar-settings-toggle{margin-top:auto;margin-left:0;width:100%;padding:0 .38rem;border-radius:14px;justify-content:flex-start;position:relative;transition:background-color .14s ease,transform .14s ease}.sidebar-settings-toggle:before{content:"";position:absolute;left:.35rem;right:.35rem;top:-.42rem;height:1px;background:#9ba4b14d}.sidebar-logout-toggle{margin-left:0;width:100%;padding:0 .38rem;border-radius:14px;justify-content:flex-start;transition:background-color .14s ease,transform .14s ease}.sidebar-settings-toggle:hover,.sidebar-logout-toggle:hover{background:#d6dbe31f;transform:translateY(-1px)}.sidebar-icon-toggle .icon-box,.sidebar-floating-toggle .icon-box{width:32px;height:32px;border-radius:10px;transition:background-color .14s ease}.sidebar-icon-toggle:hover .icon-box,.sidebar-floating-toggle:hover .icon-box{background:#d6dbe333}.icon-box{width:32px;height:26px;border:0;border-radius:0;background:transparent;display:inline-flex;align-items:center;justify-content:center}.sidebar-brand{font-size:var(--sidebar-mark-size);font-weight:700;letter-spacing:.04em;line-height:1;color:#e1e4ea}.sidebar-icon-toggle .sidebar-brand{margin-left:0;text-align:left}.icon{width:calc(var(--sidebar-mark-size) * 1.22);height:calc(var(--sidebar-mark-size) * .82);display:inline-block;position:relative;flex:none}.sidebar-icon-toggle .icon,.sidebar-floating-toggle .icon{width:calc(var(--sidebar-mark-size) * 1);height:calc(var(--sidebar-mark-size) * 1)}.settings-icon{width:calc(var(--sidebar-mark-size) * .9);height:calc(var(--sidebar-mark-size) * .9);display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar-action-label{font-size:.95rem;font-weight:600;letter-spacing:.01em;line-height:1;color:#e1e4ea}.icon-panels{box-sizing:border-box;border:1.4px solid currentColor;border-radius:7px}.icon-panels:before{content:"";position:absolute;top:0;bottom:0;left:6px;width:1px;border-radius:0;background:currentColor}.icon-panels:after{content:"";position:absolute;right:3px;top:50%;width:5px;height:5px;border-top:1.4px solid currentColor;border-left:1.4px solid currentColor;transform:translateY(-50%) rotate(-45deg)}.sidebar-icon-toggle .icon-panels:after,.sidebar-floating-toggle .icon-panels:after{content:none}.icon-panels-right:before{left:auto;right:6px}.icon-panels-right:after{right:auto;left:3px;border-left:0;border-right:1.4px solid currentColor;transform:translateY(-50%) rotate(45deg)}.mai-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}h1{margin:0;font-size:clamp(2rem,5vw,3.5rem);line-height:1;color:var(--ink)}.status-pill{border:1px solid var(--line);border-radius:999px;padding:.5rem .85rem;background:var(--surface);display:grid;text-align:right}.status-pill span{font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.status-pill strong{font-size:.92rem;color:var(--ink)}.model-control{display:grid;gap:.45rem}.model-control span{font-size:.74rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.model-control input{width:100%;border:1px solid var(--line);border-radius:12px;padding:.75rem .85rem;font-size:.95rem;font-family:inherit;color:var(--ink);background:var(--surface)}.model-control input::placeholder{color:var(--muted)}.model-control input:focus{outline:none;border-color:#d4d8df94;box-shadow:0 0 0 2px #d4d8df29}.message-list{border:0;border-radius:0;background:transparent;padding:.2rem 0;overflow:auto;min-height:0;display:grid;align-content:start;grid-auto-rows:min-content;gap:.7rem}.message{border-radius:0;padding:0;border:0;background:transparent;animation:rise .22s ease-out}.message-text{margin:0;line-height:1.45;white-space:pre-wrap;word-break:break-word}.markdown-content{margin:0;white-space:normal}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content p{margin:0 0 .55rem}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4{margin:0 0 .7rem;line-height:1.12;letter-spacing:-.03em;color:#f4f7fb}.markdown-content h1{font-size:1.45rem}.markdown-content h2{font-size:1.18rem}.markdown-content h3{font-size:1rem}.markdown-content ul,.markdown-content ol{margin:.1rem 0 .6rem 1.2rem;padding:0}.markdown-content li{margin:.14rem 0}.markdown-content a{color:#9ecbff;text-decoration:underline}.markdown-content code{font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.93em;padding:.05rem .26rem;border-radius:5px;background:#a1adc029}.markdown-content pre{margin:0 0 .6rem;padding:.62rem .72rem;border:1px solid rgba(166,174,186,.24);border-radius:10px;background:#1013199e;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.markdown-content pre::-webkit-scrollbar{width:0;height:0;display:none}.markdown-content pre code{padding:0;background:transparent}.markdown-content img{display:block;width:min(100%,360px);max-height:220px;margin:.28rem 0 .5rem;border-radius:10px;border:1px solid rgba(171,179,191,.3);object-fit:cover;background:#0f1116e6}.markdown-content blockquote{margin:0 0 .6rem;padding:.16rem 0 .16rem .64rem;border-left:2px solid rgba(166,174,186,.5);color:#d5dce7e6}.markdown-content hr{border:0;border-top:1px solid rgba(166,174,186,.2);margin:.85rem 0}.markdown-content table{display:block;width:100%;max-width:100%;margin:0 0 .8rem;border-collapse:collapse;overflow-x:auto}.markdown-content thead th{background:#ffffff0d}.markdown-content th,.markdown-content td{padding:.62rem .7rem;border:1px solid rgba(166,174,186,.2);text-align:left;vertical-align:top}.message-user{color:#f0f2f5}.message-assistant{color:var(--ink)}.message-system{color:#f3e8ff}.thinking{margin:.2rem 0;font-size:.82rem;display:inline-block;color:#bec6d2b8}@supports ((-webkit-background-clip: text) or (background-clip: text)){.thinking{background:linear-gradient(90deg,#96a0ae57,#eef3faf5 48%,#96a0ae57);background-size:220% 100%;background-position:-120% 0;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:thinking-sweep 1.2s linear infinite}}.thinking-live-wrap{margin:.2rem 0;display:grid;gap:.38rem}.live-response-text{margin:.04rem 0 0}.live-response-text:after{content:"";display:inline-block;width:.58ch;height:1.05em;margin-left:.14rem;vertical-align:-.12em;border-radius:2px;background:#e7edf5d6;animation:live-caret-blink 1s steps(1,end) infinite}.thinking-live-header{display:flex;align-items:baseline;justify-content:flex-start;gap:.42rem;width:fit-content}.message-response-meta{display:flex;justify-content:flex-start;margin:.24rem 0 0}.thinking-duration{flex-shrink:0;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;line-height:1;color:#ced6e0d1}.thinking-live-pre{margin:0;padding:.56rem .62rem;border:1px solid rgba(166,174,186,.24);border-radius:10px;background:#1013199e;max-height:220px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;white-space:pre-wrap;word-break:break-word;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.71rem;line-height:1.38;color:#dbe2eceb}.right-sidebar-messages .message-thinking pre::-webkit-scrollbar,.research-message-thinking pre::-webkit-scrollbar,.research-thinking-live-pre::-webkit-scrollbar,.thinking-live-pre::-webkit-scrollbar{width:0;height:0;display:none}.chat-form{display:grid;grid-template-columns:1fr auto;gap:.8rem}.chat-form textarea{resize:none;overflow-y:hidden;min-height:64px;max-height:180px;border:1px solid var(--line);border-radius:12px;padding:.75rem .85rem;font-family:inherit;font-size:.95rem;color:var(--ink);background:var(--surface)}.chat-form textarea::placeholder{color:var(--muted)}.chat-form textarea:focus{outline:none;border-color:#d4d8df94;box-shadow:0 0 0 2px #d4d8df29}.chat-form button{align-self:end;border:0;border-radius:12px;padding:.75rem 1.2rem;font-family:inherit;font-weight:700;font-size:.95rem;color:#fff;background:linear-gradient(120deg,var(--accent),var(--accent-2));cursor:pointer;transition:transform .14s ease,filter .14s ease;box-shadow:0 8px 24px #00000059}.chat-form button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.03)}.chat-form button:disabled{opacity:.45;cursor:not-allowed}.error{margin:0;color:var(--error);font-size:.9rem;font-family:IBM Plex Mono,monospace}@keyframes rise{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes thinking-sweep{0%{background-position:-120% 0}to{background-position:120% 0}}@keyframes live-caret-blink{0%,49%{opacity:1}50%,to{opacity:0}}@media(max-width:1100px){.mai-shell{padding:calc(.85rem + var(--safe-top)) .75rem calc(.85rem + var(--safe-bottom))}.mai-panel{margin-left:0;margin-right:0;width:calc(100% - .3rem)}.mai-panel.mai-panel-word,.mai-panel.mai-panel-research{width:calc(100% - .3rem)}.mai-shell.sidebar-open .mai-panel{margin-left:0;width:calc(100% - .3rem)}.mai-shell.sidebar-open .mai-panel.mai-panel-word{width:calc(100% - .3rem)}.mai-shell.right-sidebar-open .mai-panel{margin-right:0;width:calc(100% - .3rem)}.mai-shell.right-sidebar-open .mai-panel.mai-panel-word{width:calc(100% - .3rem)}.mai-shell.sidebar-open.right-sidebar-open .mai-panel{margin-left:0;margin-right:0;width:calc(100% - .3rem)}.mai-shell.sidebar-open.right-sidebar-open .mai-panel.mai-panel-word{width:calc(100% - .3rem)}.mai-sidebar{inset:.7rem auto .7rem .7rem;width:min(86vw,320px)}.mai-right-sidebar{inset:auto .75rem calc(.75rem + var(--safe-bottom)) .75rem;width:auto;height:min(72vh,640px);max-height:calc(100dvh - 1.5rem - var(--safe-top) - var(--safe-bottom));display:flex;border-radius:24px;z-index:60}.mai-right-sidebar.is-open{transform:translateY(0)}.mai-right-sidebar.is-closed{transform:translateY(calc(100% + 1rem))}.right-sidebar-floating-toggle{display:inline-flex;top:auto;right:.75rem;bottom:calc(.75rem + var(--safe-bottom))}.sidebar-floating-toggle{top:auto;left:.75rem;bottom:calc(.75rem + var(--safe-bottom))}.right-sidebar-resizer,.right-sidebar-fullscreen-toggle{display:none}.home-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-grid,.home-tool-grid{grid-template-columns:1fr}.home-card-meta{grid-column:auto;grid-row:auto}.research-page-header{align-items:flex-start;flex-direction:column}}@media(max-width:900px){.mai-panel{height:calc(100dvh - 1.7rem - var(--safe-top) - var(--safe-bottom));min-height:calc(100dvh - 1.7rem - var(--safe-top) - var(--safe-bottom));padding:.8rem 0 .3rem}.home-hero,.home-card,.research-welcome-card,.research-compose-shell{border-radius:24px}.home-hero{padding:1.2rem 1.15rem 1.12rem}.home-hero-copy h1,.research-welcome-copy h1{max-width:none;font-size:clamp(1.9rem,7vw,2.6rem)}.home-stats-grid{grid-template-columns:1fr}.research-status-row{align-items:flex-start;flex-direction:column}.research-compose-hint{text-align:left}.word-ribbon{padding:.3rem .3rem .1rem}.word-group{min-height:66px;padding:0 .25rem}.word-group.word-group-layout-paragraph{min-width:250px}.word-layout-paragraph-controls{grid-template-columns:1fr;row-gap:.34rem}.word-layout-paragraph-column+.word-layout-paragraph-column{border-left:0;padding-left:0;border-top:1px solid #d2d4d8;padding-top:.34rem}.word-canvas{padding:.7rem .5rem}}@media(max-width:720px){.mai-shell{padding:calc(.72rem + var(--safe-top)) .55rem calc(.72rem + var(--safe-bottom))}.mai-corner-brand{top:calc(.74rem + var(--safe-top));left:.7rem;gap:.48rem}.mai-corner-brand:before{width:14px}.mai-corner-brand-mark{font-size:.74rem;letter-spacing:.24em}.chat-form{grid-template-columns:1fr}.chat-form button,.research-empty-state{width:100%}.research-session-reset{top:calc(.92rem + var(--safe-top));right:.82rem;bottom:auto;left:auto;width:32px;height:32px}.research-page.has-conversation .research-thread{padding-top:2.2rem}.home-hero,.home-card,.research-welcome-card,.research-compose-shell{padding-left:.9rem;padding-right:.9rem}.home-hero-actions{flex-direction:column}.home-action-button,.home-tool-button,.prompt-chip{width:100%}.research-compose-shell{padding-top:0;padding-bottom:0}.research-compose-field{grid-template-columns:32px minmax(0,1fr) 32px;gap:.34rem;min-height:48px;padding:.34rem .46rem;border-radius:12px}.research-pending-image-card{width:108px}.research-compose textarea{min-height:22px;font-size:.92rem;line-height:1.3;padding-top:0;padding-bottom:0}.research-send-icon-btn,.research-attach-icon-btn{width:34px;height:34px;border-radius:9px}.research-message{max-width:100%}.research-message-images img{width:112px;height:84px}.sidebar-floating-toggle,.right-sidebar-floating-toggle{bottom:calc(.62rem + var(--safe-bottom))}.mai-right-sidebar{inset:auto .55rem calc(.55rem + var(--safe-bottom)) .55rem;height:min(78vh,640px)}.word-titlebar{grid-template-columns:1fr;gap:.3rem;padding:.28rem .45rem}.word-titlebar-left,.word-titlebar-right{justify-content:flex-start;flex-wrap:wrap}.word-titlebar-center{text-align:left;order:-1}.word-tabs{flex-wrap:wrap;padding:0 .2rem}.word-tab{padding:.36rem .55rem}.word-ribbon{padding:.22rem}.word-group{border-right:0;border-bottom:1px solid #d9d9d9;width:100%;min-height:auto;padding-bottom:.3rem}.word-group:last-child{border-bottom:0}.word-statusbar{font-size:.68rem;padding:0 .45rem}.word-status-left{gap:.5rem}.word-status-item:nth-child(4){display:none}.word-zoom-controls input[type=range]{width:64px}}:root{color:#eceef2;color-scheme:dark;font-family:Space Grotesk,sans-serif;line-height:1.5;font-weight:400;text-rendering:optimizeLegibility;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at 15% 12%,rgba(215,215,215,.08),transparent 38%),radial-gradient(circle at 88% 14%,rgba(178,178,178,.07),transparent 44%),radial-gradient(circle at 52% 86%,rgba(140,140,140,.08),transparent 35%),linear-gradient(140deg,#09090a,#0d0e11 50%,#060607)}
