@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;--auth-control-height: 3.25rem;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--text-xs: .68rem;--text-sm: .78rem;--text-base: .875rem;--text-md: 1rem;--text-lg: 1.2rem;--text-xl: clamp(1.4rem, 3vw, 1.8rem)}.mai-tooltip-layer{position:fixed;z-index:140;pointer-events:none}.mai-tooltip-bubble{position:relative;display:inline-flex;align-items:center;justify-content:center;max-width:calc(100vw - 1.5rem);padding:.58rem .78rem;border:1px solid rgba(241,192,119,.28);border-radius:.92rem;background:linear-gradient(180deg,#1e232ef7,#0b0f16fc),#0b0f16fc;box-shadow:0 18px 42px #0000005c,0 0 0 1px #ffffff0a inset;color:#f8fafcfa;font-size:var(--text-sm);font-weight:600;line-height:1.28;letter-spacing:.03em;text-align:center;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mai-tooltip-layer[data-side=top] .mai-tooltip-bubble{transform:translate(-50%,calc(-100% - .78rem));animation:mai-tooltip-slide-up .14s ease-out}.mai-tooltip-layer[data-side=bottom] .mai-tooltip-bubble{transform:translate(-50%,.78rem);animation:mai-tooltip-slide-down .14s ease-out}.mai-tooltip-bubble:after{content:"";position:absolute;left:calc(50% + var(--mai-tooltip-arrow-offset, 0px));width:.72rem;height:.72rem;background:#10151efc;border-radius:.18rem;transform:translate(-50%) rotate(45deg)}.mai-tooltip-layer[data-side=top] .mai-tooltip-bubble:after{bottom:-.36rem}.mai-tooltip-layer[data-side=bottom] .mai-tooltip-bubble:after{top:-.36rem}@keyframes mai-tooltip-slide-up{0%{opacity:0;transform:translate(-50%,calc(-100% - .45rem)) scale(.96)}to{opacity:1;transform:translate(-50%,calc(-100% - .78rem)) scale(1)}}@keyframes mai-tooltip-slide-down{0%{opacity:0;transform:translate(-50%,.45rem) scale(.96)}to{opacity:1;transform:translate(-50%,.78rem) scale(1)}}.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(.78rem + var(--safe-top) + 1.2rem);left:1rem;transform:translateY(-50%);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-button{border:0;background:transparent;pointer-events:auto;cursor:pointer}.mai-corner-brand-button:hover,.mai-corner-brand-button:focus-visible{outline:none}.mai-corner-brand-button:focus-visible .mai-corner-brand-mark{color:#fff}.mai-corner-brand:before{content:"";width:18px;height:1px;border-radius:999px;background:linear-gradient(90deg,#d38b39eb,#d38b3900)}.mai-corner-brand-mark{font-size:var(--text-base);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:.25rem 1.35rem;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}.auth-shell{padding:calc(1rem + var(--safe-top)) 1rem calc(1rem + var(--safe-bottom));overflow:auto}.auth-panel{width:min(560px,100%);margin:auto;padding-top:clamp(3.5rem,8vh,5.5rem);padding-bottom:2rem}.auth-loading-panel{min-height:calc(100dvh - 2rem - var(--safe-top) - var(--safe-bottom));display:flex;align-items:center;justify-content:center}.auth-card{border:1px solid rgba(166,178,196,.16);border-radius:28px;background:linear-gradient(180deg,#11151cf5,#0a0d12e6);box-shadow:0 24px 80px #00000057;padding:1.5rem}.auth-card-compact{display:flex;align-items:center;justify-content:center;min-height:5.5rem}.auth-loading-indicator{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem}.auth-loading-spinner{width:2rem;height:2rem;border:2px solid rgba(241,192,119,.18);border-top-color:var(--accent-2);border-right-color:#f1c0776b;border-radius:999px;animation:auth-spinner-rotate .9s linear infinite}.auth-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-eyebrow{margin:0 0 .65rem;font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-2)}.auth-helper{margin:-.15rem 0 0;color:#ebf1f89e;line-height:1.55;font-size:var(--text-base);max-width:46ch}.auth-card h1{margin:0;font-size:var(--text-xl);line-height:1.02;letter-spacing:-.04em}.auth-copy{margin:.85rem 0 0;color:#ebf1f8bd;line-height:1.6}.auth-banner{margin:1rem 0 0;border-radius:16px;padding:.85rem 1rem;font-size:var(--text-base)}.auth-banner-success{background:#6ace971f;border:1px solid rgba(106,206,151,.24);color:var(--success)}.auth-banner-error{background:#ff7c7c1a;border:1px solid rgba(255,124,124,.24);color:var(--error)}.auth-form{display:flex;flex-direction:column;gap:1rem;margin-top:1.15rem}.auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.auth-field{display:flex;flex-direction:column;gap:.4rem}.auth-field>span{font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.09em;text-transform:uppercase;color:#adb8c88c}.auth-field input,.auth-field select{width:100%;border:1px solid transparent;border-radius:8px;background:#ffffff0d;color:var(--ink);font:inherit;font-size:var(--text-base);padding:.7rem .85rem;box-sizing:border-box;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.auth-field .modern-select{height:auto}.auth-field textarea{width:100%;border:1px solid transparent;border-radius:8px;background:#ffffff0d;color:var(--ink);font:inherit;font-size:var(--text-base);padding:.7rem .85rem;box-sizing:border-box;resize:vertical;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.auth-field select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:2.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 6.75L9 11.25L13.5 6.75' stroke='%23F1C077' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;background-size:1rem;cursor:pointer}.auth-field input:hover,.auth-field select:hover,.auth-field textarea:hover{background:#ffffff12;border-color:#adb8c824}.auth-field input:focus,.auth-field select:focus,.auth-field textarea:focus{outline:none;background:#ffffff0f;border-color:#d38b398c;box-shadow:0 0 0 3px #d38b391a,inset 0 1px 2px #0003}.auth-field .auth-readonly-input,.auth-field input[readonly]{background:#ffffff0a;color:#ebf1f899;cursor:default}.auth-otp-group{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.6rem}.auth-otp-digit{width:100%;min-width:0;height:3.5rem;border:1px solid rgba(173,184,200,.16);border-radius:14px;background:#080b10f5;color:var(--ink);font:inherit;font-size:var(--text-md);font-weight:700;text-align:center;padding:0;caret-color:transparent}.auth-otp-digit:focus{outline:none;border-color:#d38b3980;box-shadow:0 0 0 3px #d38b391f}.auth-phone-row{display:grid;grid-template-columns:4.9rem minmax(0,1fr);gap:1rem;align-items:stretch}.auth-phone-country{min-width:0;width:4.9rem}.auth-phone-number-input{min-width:0}.auth-phone-country .modern-select-trigger{position:relative;min-height:100%;padding-left:.35rem;padding-right:.72rem;justify-content:center}.auth-phone-country .modern-select-menu{width:100%;min-width:0}.auth-phone-country .modern-select-option{justify-content:flex-start;text-align:left;padding-left:.6rem;padding-right:.6rem}.auth-phone-country .modern-select-option-main{align-items:flex-start;text-align:left}.auth-phone-country .modern-select-trigger-main{width:100%;justify-content:center;padding:0 1.3rem 0 .2rem;box-sizing:border-box}.auth-phone-country .modern-select-icon{position:absolute;right:.72rem}.auth-phone-country .modern-select-value{width:100%;text-align:center}.modern-select{position:relative}.modern-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.6rem;border:1px solid transparent;border-radius:8px;background:#ffffff0d;color:var(--ink);padding:.7rem .85rem;appearance:none;-webkit-appearance:none;font:inherit;font-size:var(--text-base);line-height:1.35;text-align:left;box-sizing:border-box;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.modern-select-trigger:hover{background:#ffffff12;border-color:#adb8c824}.modern-select-trigger:focus-visible,.modern-select.open .modern-select-trigger{outline:none;background:#ffffff0f;border-color:#d38b398c;box-shadow:0 0 0 3px #d38b391a,inset 0 1px 2px #0003}.modern-select-trigger.placeholder .modern-select-value{color:#ebf1f859}.modern-select-trigger-main{min-width:0;display:inline-flex;align-items:center;gap:.55rem;overflow:hidden}.modern-select-value{color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modern-select-flag{width:1.1rem;height:.8rem;object-fit:cover;border-radius:2px;flex:0 0 auto;box-shadow:0 0 0 1px #ffffff14}.modern-select-icon{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;color:#adb8c866;flex:0 0 auto;transition:transform .16s ease,color .16s ease}.modern-select-trigger:hover .modern-select-icon,.modern-select.open .modern-select-icon{color:#d38b39b3}.modern-select.open .modern-select-icon{transform:rotate(180deg)}.modern-select-icon svg{width:100%;height:100%}.modern-select-menu{position:absolute;top:calc(100% + .4rem);left:0;right:0;z-index:25;padding:.4rem;overflow:hidden;border:1px solid rgba(173,184,200,.1);border-radius:10px;background:#0f141cfa;box-shadow:0 8px 32px #0006,0 2px 8px #0000004d;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.modern-select-search-wrap{padding-bottom:.4rem}.modern-select-search{width:100%;border:1px solid transparent;border-radius:6px;background:#ffffff0f;color:var(--ink);font:inherit;font-size:var(--text-base);line-height:1.25;padding:.55rem .75rem;transition:border-color .15s ease,background-color .15s ease}.modern-select-search::placeholder{color:#ebf1f84d}.modern-select-search:focus{outline:none;background:#ffffff14;border-color:#d38b3973}.modern-select-menu-scroll{display:flex;flex-direction:column;gap:1px;max-height:min(320px,calc(100dvh - 8.5rem));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(211,139,57,.3) transparent}.modern-select-menu-scroll::-webkit-scrollbar{width:4px}.modern-select-menu-scroll::-webkit-scrollbar-track{background:transparent}.modern-select-menu-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:#d38b394d}.modern-select-menu-scroll::-webkit-scrollbar-thumb:hover{background:#d38b3980}.modern-select-empty{padding:.65rem .6rem;color:var(--muted);font-size:var(--text-base);line-height:1.45}.modern-select-option{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:.7rem;border:none;border-radius:6px;background:transparent;color:var(--ink);padding:.6rem .75rem;font:inherit;font-size:var(--text-base);text-align:left;cursor:pointer;transition:background-color .12s ease,color .12s ease}.modern-select-option[data-highlighted=true],.modern-select-option:hover,.modern-select-option:focus-visible{outline:none;background:#ffffff0f;color:#edf2f8}.modern-select-option[data-selected=true]{background:#d38b391f;color:#f5d99a}.modern-select-option[data-selected=true][data-highlighted=true],.modern-select-option[data-selected=true]:hover{background:#d38b392e}.modern-select-selected-only .modern-select-option{border:none;background:transparent}.modern-select-selected-only .modern-select-option[data-highlighted=true],.modern-select-selected-only .modern-select-option:hover,.modern-select-selected-only .modern-select-option:focus-visible{background:#ffffff0f}.modern-select-selected-only .modern-select-option[data-selected=true]{background:#d38b391f;color:#f5d99a}.modern-select-option-main{min-width:0;display:flex;flex-direction:column;gap:.15rem;flex:1 1 auto}.modern-select-option-main strong{font-size:var(--text-base);font-weight:500;color:inherit}.modern-select-option-main span{font-size:var(--text-sm);line-height:1.4;color:var(--muted)}.modern-select-inline-custom{display:flex;align-items:center;gap:.5rem;padding:.25rem .1rem .15rem}.modern-select-inline-custom-input{flex:1 1 auto;min-width:0;border:1px solid transparent;border-radius:6px;background:#ffffff0f;color:var(--ink);font:inherit;font-size:var(--text-base);line-height:1.25;padding:.55rem .75rem;transition:border-color .15s ease,background-color .15s ease}.modern-select-inline-custom-input::placeholder{color:#ebf1f84d}.modern-select-inline-custom-input:focus{outline:none;background:#ffffff14;border-color:#d38b3973}.modern-select-inline-custom-submit{width:2.2rem;height:2.2rem;flex:0 0 auto;border:1px solid rgba(211,139,57,.22);border-radius:6px;background:#d38b391f;color:#f0b55acc;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.modern-select-inline-custom-submit:hover:not(:disabled),.modern-select-inline-custom-submit:focus-visible:not(:disabled){outline:none;border-color:#d38b3966;background:#d38b3933;color:#fde4ba}.modern-select-inline-custom-submit:disabled{opacity:.4;cursor:not-allowed}.modern-select-inline-custom-submit svg{width:.95rem;height:.95rem}.auth-inline-summary{display:flex;flex-direction:column;gap:.28rem;padding:.95rem 1rem;border-radius:16px;background:#ffffff0a;border:1px solid rgba(166,178,196,.12)}.auth-inline-summary strong{font-size:var(--text-md);color:var(--ink)}.auth-inline-summary span{color:var(--muted);line-height:1.5}.auth-dev-note{margin:0;color:var(--accent-2);font-size:var(--text-base)}.auth-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.auth-actions-otp{width:100%;flex-wrap:nowrap}.auth-primary-button,.auth-secondary-button,.auth-link-button{border-radius:14px;padding:.78rem 1rem;font:inherit;cursor:pointer}.auth-primary-button:disabled,.auth-secondary-button:disabled,.auth-link-button:disabled{opacity:.56;cursor:not-allowed}.auth-primary-button{border:1px solid rgba(240,181,90,.3);background:#f0b55a;color:#11161c;font-weight:700}.auth-primary-button-icon{display:inline-flex;align-items:center;justify-content:center}.auth-otp-submit-button{flex:1 1 auto;min-width:0}.auth-primary-button-icon svg{width:1.15rem;height:1.15rem}.auth-secondary-button{border:1px solid rgba(173,184,200,.12);background:#1c232ee6;color:var(--ink)}.auth-link-button{border:0;padding-left:0;padding-right:0;background:transparent;color:var(--accent-2)}.auth-icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:2.85rem;padding:.78rem}.auth-icon-button svg{width:1.1rem;height:1.1rem}.auth-grid-full{grid-column:1 / -1}.auth-address-search{position:relative}.auth-address-combobox{position:relative;display:flex;flex-direction:column}.auth-address-combobox.is-open input{border-bottom-left-radius:0;border-bottom-right-radius:0}.auth-address-meta,.auth-address-error{margin:0;font-size:var(--text-base);line-height:1.45}.auth-address-meta{color:var(--muted)}.auth-address-error{color:var(--error)}.auth-address-results{position:absolute;top:calc(100% - 1px);left:0;right:0;z-index:12;display:flex;flex-direction:column;max-height:min(18rem,42vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(241,192,119,.72) rgba(255,255,255,.05);border-radius:0 0 16px 16px;border:1px solid rgba(166,178,196,.12);border-top:0;background:#0f131afa;box-shadow:0 16px 40px #00000038}.auth-address-results::-webkit-scrollbar{width:10px}.auth-address-results::-webkit-scrollbar-track{margin:.45rem 0;border-radius:999px;background:#ffffff0d}.auth-address-results::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:linear-gradient(180deg,#f1c077eb,#d38b39cc) padding-box}.auth-address-results::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#f7d08ff5,#dd983fe0) padding-box}.auth-address-result{width:100%;text-align:left;border:0;border-radius:0;background:transparent;color:var(--ink);padding:.9rem 1rem;display:flex;flex-direction:column;gap:.18rem;font:inherit;cursor:pointer;transition:background .14s ease,color .14s ease}.auth-address-result+.auth-address-result{border-top:1px solid rgba(166,178,196,.08)}.auth-address-result:hover,.auth-address-result:focus-visible{outline:none;background:#d38b3914}.auth-address-result-title{font-weight:600}.auth-address-result-copy{color:var(--muted);font-size:var(--text-sm);line-height:1.35}.auth-address-result-manual .auth-address-result-title{color:var(--accent-strong)}.app-home-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 0 1rem;border-bottom:1px solid rgba(166,178,196,.12);margin-bottom:1rem}.profile-page-panel{grid-template-rows:auto minmax(0,1fr)}.profile-page-panel .app-home-header{padding:0 0 .75rem;margin-bottom:0;border-bottom:1px solid rgba(173,184,200,.1)}.app-home-eyebrow{margin:0 0 .35rem;font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-2)}.app-home-header h1{margin:0;font-size:var(--text-xl);line-height:1.08;letter-spacing:-.04em}.app-home-header p{margin:.35rem 0 0;color:var(--muted)}.app-top-profile-menu-wrap{position:fixed;top:calc(.78rem + var(--safe-top));right:1rem;z-index:200}.app-top-center-alert-wrap{position:fixed;top:calc(.75rem + var(--safe-top));right:1rem;left:auto;transform:none;z-index:100;width:min(22rem,calc(100vw - 2rem));pointer-events:none}.app-toast{display:flex;align-items:stretch;background:#0c1016;border:1px solid rgba(255,255,255,.08);border-radius:10px;box-shadow:0 12px 40px #0009,0 2px 8px #00000059;overflow:hidden;width:100%;pointer-events:auto;animation:toast-slide-in .22s ease-out}.app-toast-bar{flex-shrink:0;width:4px}.app-toast-success .app-toast-bar{background:#4ade80}.app-toast-error .app-toast-bar{background:#f87171}.app-toast-msg{flex:1;padding:.72rem .75rem;font-size:var(--text-base);line-height:1.5;color:#dfe7f2e0}.app-toast-close{flex-shrink:0;display:flex;align-items:center;padding:0 .8rem;background:none;border:none;border-left:1px solid rgba(255,255,255,.06);cursor:pointer;font-size:var(--text-sm);color:#adb8c873;transition:color .15s}.app-toast-close:hover{color:#dfe7f2e6}@keyframes toast-slide-in{0%{opacity:0;transform:translate(1.5rem)}to{opacity:1;transform:translate(0)}}.app-profile-trigger{width:2.5rem;height:2.5rem;padding:0;overflow:hidden;border:none;border-radius:50%;background:#1a1f2a;color:#f0b55af2;font:inherit;font-size:.75rem;font-weight:700;letter-spacing:.05em;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .18s ease,transform .18s ease}.app-profile-trigger span{color:#f0b55af2}.app-profile-trigger img{width:100%;height:100%;object-fit:cover;border-radius:50%}.app-profile-trigger:hover,.app-profile-trigger:focus-visible{outline:none;background:#222836;transform:translateY(-1px)}.app-profile-menu{position:absolute;top:calc(100% + .5rem);right:0;width:min(13rem,84vw);padding:.45rem;border:1px solid rgba(166,178,196,.12);border-radius:12px;background:#0e131a;box-shadow:0 12px 40px #0009;z-index:30}.app-profile-menu-head{display:flex;align-items:center;gap:.5rem;padding:.35rem .5rem .45rem;border-bottom:1px solid rgba(166,178,196,.1);margin-bottom:.3rem}.app-profile-menu-avatar{width:2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;background:#1a1f2a;color:#f0b55af2;font-size:var(--text-xs);font-weight:700;letter-spacing:.05em;overflow:hidden}.app-profile-menu-avatar span,.app-profile-avatar span{color:#f0b55af2}.app-profile-menu-avatar img,.app-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.app-profile-menu-copy{min-width:0;display:flex;flex-direction:column;gap:.1rem}.app-profile-menu-head strong{font-size:var(--text-sm);color:var(--ink)}.app-profile-menu-head span{color:var(--muted);font-size:var(--text-xs);line-height:1.4}.app-profile-menu-item{width:100%;text-align:left;border:0;border-radius:8px;background:transparent;color:var(--ink);padding:.45rem .5rem;font:inherit;font-size:var(--text-sm);cursor:pointer}.app-profile-menu-item:hover,.app-profile-menu-item:focus-visible{outline:none;background:#ffffff0d}.app-profile-menu-item-danger{color:#ffb2b2}.app-profile-page{display:flex;width:100%;justify-content:center;flex:1 1 auto;min-height:0}.app-profile-card{width:100%;min-height:100%;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}.app-profile-form{display:flex;flex-direction:column;gap:0;min-height:100%}.app-profile-home-hint{display:inline-flex;align-items:center;justify-content:flex-start;gap:.7rem;position:absolute;bottom:0;left:clamp(.35rem,1vw,.6rem);z-index:1;max-width:min(520px,calc(100% - 1.6rem));margin:0;padding:.8rem 1rem;border:1px solid rgba(211,139,57,.16);border-radius:14px;background:#12161eb8;box-shadow:0 12px 32px #00000024;box-sizing:border-box;transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease}.app-profile-home-hint[data-collapsed=true]{max-width:none;padding:0;border-color:transparent;background:transparent;box-shadow:none}.app-profile-home-hint p{margin:0;color:#ebf1f8c7;font-size:var(--text-base);line-height:1.45;max-width:28rem;white-space:nowrap;transition:opacity .18s ease,transform .22s ease}.app-profile-home-hint[data-collapsed=true] p{position:absolute;left:0;bottom:calc(100% + .75rem);max-width:none;padding:.8rem 1rem;border:1px solid rgba(211,139,57,.16);border-radius:14px;background:#141922d6;box-shadow:0 12px 32px #00000024;opacity:0;pointer-events:none;transform:translateY(.3rem)}.app-profile-home-hint[data-collapsed=true][data-visible=true] p,.app-profile-home-hint[data-collapsed=true]:hover p{opacity:1;transform:translateY(0)}.app-profile-home-hint-arrow{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:999px;border:2.25px solid rgba(241,192,119,.82);background:transparent;color:#f4f7fbf0;font-family:IBM Plex Sans,Segoe UI,sans-serif;font-size:var(--text-sm);font-weight:600;line-height:1;transform:translateY(-.02rem);box-sizing:border-box;flex:0 0 auto}.app-profile-layout{width:100%;display:grid;min-height:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;align-items:stretch}.app-profile-side{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;padding:clamp(1.5rem,3vw,3rem);border-right:1px solid rgba(166,178,196,.08)}.app-profile-main{display:flex;align-items:center;justify-content:center;min-width:0;padding:clamp(1.5rem,3vw,3rem)}.app-profile-main-inner{width:min(760px,100%);display:flex;flex-direction:column;gap:1rem}.app-profile-name-row{display:grid;grid-template-columns:6rem minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start}.app-profile-pronoun-field{min-width:0}.app-profile-pronoun-field .modern-select-trigger{position:relative;min-height:100%;justify-content:center;padding-left:.35rem;padding-right:.7rem}.app-profile-pronoun-field .modern-select-trigger-main{width:100%;justify-content:center;padding:0 1.3rem 0 .2rem;box-sizing:border-box}.app-profile-pronoun-field .modern-select-value{width:100%;text-align:center}.app-profile-pronoun-field .modern-select-icon{position:absolute;right:.7rem}.app-profile-pronoun-field .modern-select-menu{width:100%;min-width:0}.app-profile-card-head{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.1rem;width:min(220px,100%);text-align:center;margin:0}.app-profile-card-head-editable{margin-bottom:0}.app-profile-avatar{width:5.4rem;height:5.4rem;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#1a1f2a;color:#f0b55af2;font-size:var(--text-xl);font-weight:700;letter-spacing:.05em;overflow:hidden}.app-profile-avatar-editable{flex:0 0 auto}.app-profile-image-actions{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:.75rem;flex-wrap:wrap;width:100%}.app-profile-image-button{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;min-width:2.75rem;width:2.75rem;height:2.75rem;padding:0;border-radius:50%;border:none;background:#1a1f2a;color:#f0b55ae6;line-height:1;cursor:pointer;transition:background .16s ease,transform .16s ease}.app-profile-image-button:hover:not(:disabled){background:#222836;transform:translateY(-1px)}.app-profile-image-button svg{width:1.1rem;height:1.1rem;display:block;flex:0 0 auto}.app-profile-image-glyph{position:absolute;top:50%;left:50%;pointer-events:none;transform:translate(-50%,calc(-50% + 1px))}.app-profile-image-glyph-remove{transform:translate(-50%,calc(-50% + .5px))}.app-profile-image-button-danger{background:#281010e6;color:#ff8c8cd9}.app-profile-image-button-danger:hover:not(:disabled){background:#371414f2;transform:translateY(-1px)}.app-profile-image-input{display:none}.app-profile-status,.app-profile-error{margin:0;font-size:var(--text-base)}.app-profile-status-ok{color:var(--success)}.app-profile-status-error,.app-profile-error{color:var(--error)}.app-profile-error{text-align:center}.app-profile-actions{display:flex;justify-content:flex-start;gap:.85rem;margin-top:1rem;width:100%}.app-profile-save-button{flex:1 1 auto;width:100%;min-height:3rem}.app-onboarding-modal-backdrop{position:fixed;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:1rem;background:#04070b94;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-onboarding-modal{width:min(440px,100%);padding:1.35rem;border:1px solid rgba(166,178,196,.16);border-radius:24px;background:linear-gradient(180deg,#12161dfa,#0b0e14f7),radial-gradient(100% 120% at 0% 0%,rgba(211,139,57,.12),transparent 65%);box-shadow:0 24px 80px #00000057}.app-onboarding-eyebrow{margin:0 0 .85rem;font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-2)}.app-onboarding-choice-grid{display:flex;flex-direction:column}.app-onboarding-choice{width:100%;display:flex;flex-direction:column;text-align:left;border:0;border-radius:0;background:transparent;color:var(--ink);padding:.9rem 1rem;font:inherit;cursor:pointer;transition:background-color .14s ease}.app-onboarding-choice+.app-onboarding-choice{border-top:1px solid rgba(166,178,196,.12)}.app-onboarding-choice-body{display:flex;align-items:center;gap:.75rem}.app-onboarding-choice-text{flex:1;display:flex;flex-direction:column;gap:.2rem}.app-onboarding-choice-header{display:flex;align-items:center;gap:.5rem}.app-onboarding-choice strong{font-size:var(--text-md);font-weight:700}.app-onboarding-choice span{color:var(--muted);font-size:var(--text-base);line-height:1.45}.app-onboarding-choice-arrow{flex-shrink:0;width:1rem;height:1rem;stroke:#a6b2c466;transition:stroke .14s ease,transform .14s ease}.app-onboarding-choice:hover:not(:disabled),.app-onboarding-choice:focus-visible{outline:none;background:#d38b3912}.app-onboarding-choice:hover:not(:disabled) .app-onboarding-choice-arrow,.app-onboarding-choice:focus-visible .app-onboarding-choice-arrow{stroke:#d38b39b3;transform:translate(2px)}.app-onboarding-choice.selected{background:#d38b391a}.app-onboarding-choice.selected .app-onboarding-choice-arrow{stroke:#d38b39cc;transform:translate(2px)}.app-onboarding-choice.coming-soon{opacity:.4;cursor:not-allowed}.app-onboarding-coming-soon{font-size:var(--text-xs);font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:#ced6e066}.app-onboarding-actions{display:flex;justify-content:flex-end;margin-top:1rem}.app-onboarding-continue{min-width:3rem;width:3rem;height:3rem;padding:0;border-radius:999px}.app-onboarding-continue svg{width:1.05rem;height:1.05rem}@media(max-width:980px){.app-profile-layout{grid-template-columns:1fr;min-height:auto}.app-profile-side{justify-content:center;border-right:0;border-bottom:1px solid rgba(166,178,196,.08);padding-bottom:5.5rem}.app-profile-main{padding-top:2rem}.app-profile-home-hint{max-width:calc(100% - 1.6rem)}.app-profile-card-head{width:100%;text-align:center;align-items:center}.app-profile-image-actions{justify-content:center;align-items:center;flex-direction:row;flex-wrap:wrap}.app-profile-error{text-align:center}}@media(hover:none){.app-profile-home-hint[data-collapsed=true]{max-width:min(520px,calc(100% - 2rem));padding:.8rem 1rem;gap:.7rem;border:1px solid rgba(211,139,57,.16);border-radius:14px;background:#12161eb8;box-shadow:0 12px 32px #00000024}.app-profile-home-hint[data-collapsed=true] p{position:static;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;opacity:1;pointer-events:auto;transform:none}}@media(max-width:720px){.auth-grid,.app-profile-name-row,.auth-phone-row{grid-template-columns:1fr}.auth-actions,.app-home-header{flex-direction:column;align-items:flex-start}.app-top-profile-menu-wrap{right:.8rem}.app-profile-card-head{text-align:center;align-items:center}.app-profile-image-actions{flex-direction:row;align-items:center;justify-content:center}.app-profile-actions{flex-direction:column;align-items:center}}.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:var(--text-sm);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:var(--text-base);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:var(--text-sm);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:var(--text-xs);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:var(--text-xs);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:var(--text-sm);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:var(--text-xs);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:var(--text-xs);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:var(--text-xs);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:var(--text-sm)}.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:var(--text-sm);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:var(--text-sm);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:var(--text-xl);line-height:1.02;letter-spacing:-.04em;color:#f6f8fb;max-width:13ch}.research-page-header h1{font-size:var(--text-lg);max-width:none}.home-hero-description,.research-welcome-copy p{margin:0;max-width:68ch;color:var(--muted);font-size:var(--text-base);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:var(--text-base);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:var(--text-sm);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:var(--text-lg);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:var(--text-base);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:var(--text-md);font-weight:700;letter-spacing:-.02em;color:#f5f8fb}.home-tool-description{margin:0;color:var(--muted);font-size:var(--text-base);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:var(--text-base);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:var(--text-sm);text-transform:uppercase;letter-spacing:.12em;color:#c4cedcb8}.home-meta-list dd{margin:0;color:#eef2f7;font-size:var(--text-base);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:var(--text-md);letter-spacing:.02em;color:var(--ink)}.tools-page p{margin:.5rem 0 0;font-size:var(--text-base);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:var(--text-base)}.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:var(--text-sm);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:var(--text-sm);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:var(--text-sm);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:var(--text-base);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:var(--text-base)}.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:var(--text-sm);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:var(--text-sm);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:var(--text-sm);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:var(--text-sm);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:var(--text-sm);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:var(--text-sm);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:var(--text-xs);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:var(--text-sm);font-weight:600;line-height:1.05;color:#1f2b3d}.word-insert-tile-label:after{content:" ▾";font-size:var(--text-xs);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:var(--text-sm);font-weight:600;line-height:1.03;color:#1f2b3d}.word-layout-tile-value{font-size:var(--text-xs);font-weight:600;line-height:1;color:#667b9e;text-transform:uppercase;letter-spacing:.02em}.word-layout-tile-caret{font-size:var(--text-xs);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:var(--text-sm);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:var(--text-sm);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:var(--text-sm);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:var(--text-sm);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:var(--text-xs);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:var(--text-base);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:var(--text-sm);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:var(--text-xs);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:var(--text-base);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:var(--text-base);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:var(--text-xs);color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.status-pill strong{font-size:var(--text-base);color:var(--ink)}.model-control{display:grid;gap:.45rem}.model-control span{font-size:var(--text-sm);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:var(--text-base);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:var(--text-xl)}.markdown-content h2{font-size:var(--text-lg)}.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;font-size:var(--text-base);line-height:1.35}.thinking{margin:.2rem 0;font-size:var(--text-base);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:var(--text-sm);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:var(--text-xs);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:var(--text-base);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:var(--text-base);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:var(--text-base);font-family:IBM Plex Mono,monospace}@keyframes rise{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes auth-spinner-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@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) + 1.2rem);left:.7rem;gap:.48rem}.mai-corner-brand:before{width:14px}.mai-corner-brand-mark{font-size:var(--text-sm);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:var(--text-base);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:var(--text-xs);padding:0 .45rem}.word-status-left{gap:.5rem}.word-status-item:nth-child(4){display:none}.word-zoom-controls input[type=range]{width:64px}}.profile-page-shell{height:100dvh;min-height:100dvh;overflow-x:hidden;overflow-y:hidden;align-items:stretch}.profile-page-panel{width:min(1180px,100%);min-height:0;height:100%;display:grid;padding:calc(2rem + var(--safe-top)) 0 1.5rem}.profile-assistant-shell{width:100%;min-height:0}.profile-assistant-page{width:100%;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden;position:relative}.profile-assistant-page.loading-state{min-height:40vh;display:flex;align-items:center;justify-content:center}.profile-workspace{min-width:0;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;gap:1rem}.profile-toolbar,.profile-card,.profile-chat-card,.profile-loading-card{border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.profile-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(173,184,200,.12)}.profile-toolbar-main,.profile-inline-actions{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap}.profile-picker{min-width:min(320px,100%);display:flex;flex-direction:column;gap:.4rem}.profile-picker>span,.profile-field>span,.profile-chat-role{font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.09em;text-transform:uppercase;color:#adb8c88c}.profile-field:has(input:required)>span:after,.profile-field:has(textarea:required)>span:after{content:" *";color:#f0b55ab3}.profile-picker select,.profile-field input,.profile-field select,.profile-field textarea,.profile-chat-form textarea{width:100%;border:1px solid transparent;border-radius:8px;background:#ffffff0d;color:var(--ink);font:inherit;font-size:var(--text-base);padding:.7rem .85rem;resize:vertical;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.profile-picker select:hover,.profile-field input:hover,.profile-field select:hover,.profile-field textarea:hover{background:#ffffff12;border-color:#adb8c824}.profile-picker select:focus,.profile-field input:focus,.profile-field select:focus,.profile-field textarea:focus,.profile-chat-form textarea:focus{outline:none;background:#ffffff0f;border-color:#d38b398c;box-shadow:0 0 0 3px #d38b391a,inset 0 1px 2px #0003}.profile-field textarea{scrollbar-width:none;-ms-overflow-style:none}.profile-field textarea::-webkit-scrollbar{width:0;height:0}.profile-main-grid{flex:1 1 auto;height:100%;min-height:0;position:relative;display:grid;grid-template-columns:minmax(320px,1fr) minmax(380px,500px);gap:2rem;align-items:stretch}.profile-editor-column,.profile-chat-column{min-width:0;min-height:0;display:flex;flex-direction:column;gap:1rem}.profile-editor-column{height:100%;justify-content:flex-start;overflow:hidden;padding-right:1.35rem;border-right:1px solid rgba(173,184,200,.08)}.profile-side-panel{min-height:0;flex:1 1 auto;display:flex;flex-direction:column;gap:0;overflow:hidden;padding:0 1.35rem}.profile-side-panel-empty{align-items:center;justify-content:center}.profile-side-panel-scroll{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none}.profile-side-panel-scroll::-webkit-scrollbar{width:0;height:0}.profile-main-grid-scrollbar{position:absolute;top:1.75rem;right:0;bottom:1.75rem;width:1rem;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(240,181,90,.32) transparent;z-index:2}.profile-main-grid-scrollbar::-webkit-scrollbar{width:.72rem}.profile-main-grid-scrollbar::-webkit-scrollbar-track{background:transparent}.profile-main-grid-scrollbar::-webkit-scrollbar-thumb{border-radius:999px;background:#f0b55a42}.profile-main-grid-scrollbar::-webkit-scrollbar-thumb:hover{background:#f0b55a5c}.profile-main-grid-scrollbar-spacer{width:1px}.profile-side-panel-intro{display:grid;gap:.38rem}.profile-side-panel-kicker{margin:0;font-family:IBM Plex Mono,monospace;font-size:var(--text-sm);letter-spacing:.12em;text-transform:uppercase;color:var(--accent-2)}.profile-side-panel-intro h2{margin:0;font-size:var(--text-lg);line-height:1.1;letter-spacing:-.03em;color:#f6f8fb}.profile-side-panel-intro p{margin:0;color:#dbe2ecb8;font-size:var(--text-base);line-height:1.55}.profile-sidebar-sections{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.profile-sidebar-section{padding:1.1rem 0;display:grid;gap:.95rem;border-bottom:1px solid rgba(173,184,200,.12)}.profile-sidebar-section[data-open=true]{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:0;overflow:hidden}.profile-sidebar-section:first-child{padding-top:0}.profile-sidebar-section:last-child{border-bottom:0;padding-bottom:0}.profile-sidebar-section-header{width:100%;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.9rem;text-align:left;padding-bottom:.95rem;cursor:pointer}.profile-sidebar-section-header-pinned{flex-shrink:0;display:flex;align-items:center;gap:.5rem;box-shadow:0 1px #adb8c826;padding:1.1rem 0 .95rem;margin-bottom:0}.profile-sidebar-section-header-toggle{flex:1 1 auto;min-width:0;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.9rem;text-align:left;cursor:pointer}.profile-sidebar-section-header-static{cursor:default;padding-bottom:.4rem}.profile-sidebar-section-copy{min-width:0;display:grid;gap:.24rem}.profile-sidebar-section-label{font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.12em;text-transform:uppercase;color:#f0b55ac7}.profile-sidebar-section-copy strong{color:#f4f8fc;font-size:1rem;line-height:1.2;letter-spacing:-.02em}.profile-sidebar-section-chevron{width:1.25rem;height:1.25rem;display:inline-flex;align-items:center;justify-content:center;color:#ebf1f8cc;transition:transform .18s ease,color .18s ease}.profile-sidebar-section-chevron svg{width:.95rem;height:.95rem;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.profile-sidebar-section[data-open=true] .profile-sidebar-section-chevron[data-connected=true]{transform:rotate(90deg);color:#f8e0b8f0}.profile-sidebar-section-header:hover .profile-sidebar-section-chevron{color:#f8e0b8e0}.profile-sidebar-section-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;display:grid;gap:.85rem;align-content:start;padding-top:.75rem;padding-bottom:1.1rem;scrollbar-width:none;-ms-overflow-style:none}.profile-sidebar-section-body::-webkit-scrollbar{width:0;height:0}.profile-sidebar-editor{display:grid;gap:1.2rem}.profile-sidebar-editor-group{display:grid;gap:1.1rem}.profile-sidebar-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.profile-sidebar-editor-row{display:grid;gap:.85rem;min-width:0}.profile-sidebar-editor-row-compact{grid-template-columns:minmax(0,1.25fr) minmax(0,1.05fr) minmax(180px,.7fr);align-items:end}.profile-field-full{grid-column:1 / -1}.profile-gi-section{display:grid;gap:.75rem}.profile-gi-section-header{display:flex;align-items:center;gap:.65rem}.profile-gi-section-header span{font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.1em;text-transform:uppercase;color:#f0b55a99;white-space:nowrap}.profile-gi-section-header:after{content:"";flex:1;height:1px;background:#f0b55a1a}.profile-gi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.profile-gi-full{grid-column:1 / -1}.profile-gi-locked-badge{font-style:normal;font-size:.7em;font-weight:400;color:#adb8c866;letter-spacing:0}.profile-gi-name-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.profile-gi-toggle-row{display:flex;flex-direction:column;gap:.55rem;padding:.7rem .85rem;border:1px solid rgba(173,184,200,.1);border-radius:10px;background:#ffffff05}.profile-gi-toggle{display:flex;align-items:center;gap:.65rem;cursor:pointer;-webkit-user-select:none;user-select:none}.profile-gi-toggle input{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.profile-gi-toggle-track{flex-shrink:0;position:relative;width:2.2rem;height:1.2rem;border-radius:999px;background:#adb8c82e;border:1px solid rgba(173,184,200,.14);transition:background-color .18s ease,border-color .18s ease}.profile-gi-toggle input:checked~.profile-gi-toggle-track{background:#f0b55a47;border-color:#f0b55a66}.profile-gi-toggle-thumb{position:absolute;top:50%;left:.18rem;width:.82rem;height:.82rem;border-radius:999px;background:#adb8c88c;transform:translateY(-50%);transition:transform .18s ease,background-color .18s ease}.profile-gi-toggle input:checked~.profile-gi-toggle-track .profile-gi-toggle-thumb{transform:translate(1rem,-50%);background:#f0b55a}.profile-gi-toggle-label{font-size:var(--text-base);color:#dfe7f2b8;line-height:1.4}.profile-gi-toggle:hover .profile-gi-toggle-label{color:#dfe7f2eb}.profile-gi-certify{display:flex;align-items:flex-start;gap:.65rem;cursor:pointer;color:#d1d9e4b3;font-size:var(--text-base);line-height:1.5}.profile-gi-certify input[type=checkbox]{margin-top:.1rem;flex-shrink:0;accent-color:#d38b39}.profile-sidebar-checkbox{display:flex;align-items:flex-start;gap:.7rem;color:#edf2f8;font-size:var(--text-base);line-height:1.55}.profile-sidebar-checkbox input{width:1rem;height:1rem;accent-color:#d38b39;margin:0;margin-top:.12rem;flex:0 0 auto}.profile-sidebar-checkbox span{font-family:inherit;font-size:inherit;letter-spacing:normal;text-transform:none;color:inherit}.profile-sidebar-checkbox-compact{gap:.62rem;font-size:var(--text-base);line-height:1.45;padding-top:.15rem}.profile-sidebar-inline-note{margin:-.05rem 0 0;color:#d1d9e4a8;font-size:var(--text-base);line-height:1.5}.profile-sidebar-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.5rem;border-top:1px solid rgba(173,184,200,.08)}.profile-field input[readonly]{color:#dfe7f280;background:#ffffff06;border-color:transparent;cursor:default}.profile-field input[readonly]:hover{background:#ffffff06;border-color:transparent}.profile-field input[readonly]::placeholder{color:#d1d9e447;font-style:italic}.profile-sidebar-editor-actions{display:flex;justify-content:flex-end}.profile-sidebar-editor-actions-split{align-items:center;justify-content:space-between;gap:.85rem}.profile-sidebar-save-button{width:2.95rem;height:2.95rem;border:0;outline:none;border-radius:14px;background:transparent;box-shadow:none;color:#f7deb0;display:inline-flex;align-items:center;justify-content:center;padding:.76rem;cursor:pointer;transition:background-color .16s ease,transform .16s ease}.profile-sidebar-save-button svg{width:1.08rem;height:1.08rem}.profile-sidebar-save-button:hover:not(:disabled){background:#f0b55a1f;transform:translateY(-1px)}.profile-sidebar-save-button:disabled{opacity:.62;cursor:wait}.profile-sidebar-save-spinner{display:block;width:1.08rem;height:1.08rem;border:2px solid rgba(240,181,90,.2);border-top-color:#f0b55ad9;border-radius:999px;animation:profile-spinner-rotate .9s linear infinite}.profile-sidebar-fetch-button{min-height:2.55rem;padding:.7rem 1rem;border:1px solid rgba(240,181,90,.26);border-radius:8px;background:#f0b55a1f;color:#f7deb0;font:inherit;font-size:var(--text-base);font-weight:700;cursor:pointer;white-space:nowrap;transition:background-color .16s ease,border-color .16s ease,transform .16s ease}.profile-sidebar-fetch-button:hover:not(:disabled){background:#f0b55a2e;border-color:#f0b55a61;transform:translateY(-1px)}.profile-sidebar-fetch-button:disabled{opacity:.62;cursor:wait}.profile-sidebar-fetch-button-primary{background:#f0b55a38;border-color:#f0b55a66}.profile-admin-tools{display:flex;flex-direction:column;gap:1rem}.profile-admin-scrape-btn{position:static;width:max-content;height:auto;padding:.6rem 1.2rem;border:0;border-radius:10px;color:#11161c;background:#f0b55a;font-size:.9rem;font-weight:600;cursor:pointer;transition:transform .16s ease,background-color .16s ease,opacity .16s ease}.profile-admin-scrape-btn:hover:not(:disabled){transform:translateY(-1px);background:#f4bf70}.profile-admin-scrape-btn:disabled{opacity:.6;cursor:not-allowed}.profile-admin-error{color:#e05a5a;font-size:.85rem;margin:0}.profile-admin-table-wrap{overflow-x:auto;border:1px solid rgba(255,255,255,.08);border-radius:10px}.profile-admin-table{width:100%;border-collapse:collapse;font-size:.85rem}.profile-admin-table th,.profile-admin-table td{padding:.65rem .85rem;text-align:left;vertical-align:top;border-bottom:1px solid rgba(255,255,255,.06)}.profile-admin-table th{font-weight:600;white-space:nowrap;background:#ffffff08}.profile-admin-table-email pre{white-space:pre-wrap;font-family:inherit;margin:0;max-width:420px}.profile-admin-section-heading{margin:0;font-size:.95rem;font-weight:600;color:#f2f2f2}.profile-admin-section-subtext{margin:-.5rem 0 0;font-size:.82rem;color:#fff9;line-height:1.5}.profile-admin-section-subtext code{font-size:.8rem;color:#fffc;background:#ffffff0f;padding:.05rem .3rem;border-radius:4px}.profile-admin-ingest-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.profile-admin-ingest-card{display:flex;flex-direction:column;gap:.6rem;padding:.9rem 1rem;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#ffffff05}.profile-admin-ingest-title{margin:0;font-size:.88rem;font-weight:600;color:#f0b55a}.profile-admin-ingest-steps{margin:0;padding-left:1.1rem;display:flex;flex-direction:column;gap:.35rem;font-size:.78rem;line-height:1.5;color:#ffffffad}.profile-admin-ingest-upload{display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem .9rem;border:1px dashed rgba(255,255,255,.2);border-radius:8px;font-size:.82rem;font-weight:600;color:#f0b55a;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.profile-admin-ingest-upload:hover{border-color:#f0b55a;background:#f0b55a0f}.profile-admin-ingest-upload input[type=file]{display:none}.profile-admin-ingest-remove-btn{padding:.4rem .8rem;border:1px solid rgba(224,90,90,.35);border-radius:8px;background:transparent;color:#e08a8a;font-size:.76rem;font-weight:600;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.profile-admin-ingest-remove-btn:hover:not(:disabled){border-color:#e05a5a;background:#e05a5a14}.profile-admin-ingest-remove-btn:disabled{opacity:.4;cursor:not-allowed}.profile-admin-ingest-result{font-size:.78rem;color:#ffffffb3;line-height:1.5}.profile-admin-ingest-result code{font-size:.75rem;color:#ffffffd9;background:#ffffff0f;padding:.05rem .3rem;border-radius:4px}.profile-admin-ingest-result summary{cursor:pointer;color:#f0b55a;margin-top:.3rem}.profile-admin-ingest-log{white-space:pre-wrap;font-size:.72rem;max-height:220px;overflow-y:auto;background:#0000004d;border-radius:8px;padding:.6rem .75rem;margin-top:.4rem}.profile-website-editor{display:flex;flex-direction:column;gap:1rem}.profile-website-url-list{display:flex;flex-direction:column;gap:.65rem}.profile-website-url-row{display:flex;flex-direction:column;gap:.4rem;padding:.65rem .75rem;border:1px solid rgba(240,181,90,.14);border-radius:8px;background:#f0b55a0a}.profile-website-url-input-wrap{display:flex;align-items:center;gap:.55rem}.profile-website-url-globe{flex-shrink:0;color:#f0b55a99;display:flex}.profile-website-url-globe svg{width:1rem;height:1rem}.profile-website-url-input{flex:1 1 auto;min-width:0;background:transparent;border:none;outline:none;color:#edf2f8;font-size:var(--text-base);font-family:inherit;padding:0}.profile-website-url-input::placeholder{color:#adb8c859}.profile-website-url-actions{display:flex;align-items:center;gap:.4rem;padding-top:.35rem;border-top:1px solid rgba(173,184,200,.07)}.profile-website-analyze-btn{display:flex;align-items:center;gap:.35rem;padding:.3rem .65rem;border:1px solid rgba(240,181,90,.3);border-radius:5px;background:#f0b55a1a;color:#f0b55ae6;font-size:var(--text-sm);font-weight:600;font-family:inherit;cursor:pointer;transition:background .14s ease,border-color .14s ease;letter-spacing:.02em}.profile-website-analyze-btn svg{width:.9rem;height:.9rem;flex-shrink:0}.profile-website-analyze-btn:hover:not(:disabled){background:#f0b55a2e;border-color:#f0b55a80}.profile-website-analyze-btn:disabled{opacity:.45;cursor:not-allowed}@keyframes website-pulse{0%,to{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}.profile-website-analyzing-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;animation:website-pulse 1s ease-in-out infinite}.profile-website-remove-btn{display:flex;align-items:center;justify-content:center;width:1.8rem;height:1.8rem;margin-left:auto;border:1px solid rgba(240,100,100,.2);border-radius:5px;background:transparent;color:#ff786e99;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.profile-website-remove-btn svg{width:.9rem;height:.9rem}.profile-website-remove-btn:hover{background:#f064641a;border-color:#f0646459;color:#ff8c82e6}.profile-website-progress{display:flex;flex-direction:column;gap:.75rem;padding:.85rem 1rem;border:1px solid rgba(240,181,90,.18);border-radius:8px;background:#f0b55a0a}.profile-website-progress-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.1rem}.profile-website-progress-title{font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.08em;text-transform:uppercase;color:#f0b55ab3}.profile-website-progress-stop{padding:.2rem .6rem;border:1px solid rgba(240,100,100,.3);border-radius:4px;background:transparent;color:#ff786ebf;font-size:var(--text-sm);font-weight:600;font-family:inherit;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.profile-website-progress-stop:hover{background:#f064641a;border-color:#f0646480;color:#ff8c82}.profile-website-progress-steps{display:flex;flex-direction:column;gap:.45rem}.profile-website-progress-step{display:flex;align-items:center;gap:.6rem;font-size:var(--text-sm);line-height:1.4;transition:opacity .2s ease}.profile-website-progress-step.is-done{opacity:.45}.profile-website-progress-step.is-page{padding-left:1.1rem;font-size:var(--text-sm)}.profile-website-progress-step.is-active{opacity:1;color:#f0b55af2}.profile-website-progress-dot{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:currentColor}.profile-website-progress-step.is-done .profile-website-progress-dot{background:#8cc88cb3}.profile-website-progress-step.is-active .profile-website-progress-dot{background:#f0b55ae6;animation:website-pulse 1s ease-in-out infinite}.profile-website-progress-msg{color:inherit}.profile-website-progress-step.is-done .profile-website-progress-msg{color:#dfe7f280}.profile-website-progress-ai{padding-top:.65rem;border-top:1px solid rgba(173,184,200,.08);display:flex;flex-direction:column;gap:.35rem}.profile-website-progress-ai-label{font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.1em;text-transform:uppercase;color:#f0b55a99}.profile-website-progress-ai-text{margin:0;font-size:var(--text-sm);line-height:1.6;color:#dfe7f28c;max-height:7rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical}.profile-website-card-favicon{width:1rem;height:1rem;object-fit:contain;border-radius:2px}.profile-website-add-btn{display:flex;align-items:center;gap:.5rem;align-self:flex-start;padding:.38rem .85rem;border:1px dashed rgba(240,181,90,.3);border-radius:6px;background:transparent;color:#f0b55abf;font-size:var(--text-sm);font-weight:600;font-family:inherit;cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease;letter-spacing:.02em}.profile-website-add-btn:hover{background:#f0b55a12;border-color:#f0b55a80;color:#f0b55a}.profile-website-add-plus{font-size:1rem;line-height:1;font-weight:400}.profile-website-cards{display:flex;flex-direction:column;gap:.65rem}.profile-website-card{display:flex;border-radius:8px;overflow:hidden;border:1px solid rgba(240,181,90,.14);background:#f0b55a08;transition:border-color .16s ease}.profile-website-card:hover{border-color:#f0b55a3d}.profile-website-card-accent{flex-shrink:0;width:3px;background:linear-gradient(180deg,#f0b55ab3,#f0b55a33)}.profile-website-card-body{flex:1 1 auto;min-width:0;padding:.7rem .85rem}.profile-website-card-top{display:flex;align-items:flex-start;gap:.55rem}.profile-website-card-icon{flex-shrink:0;width:1.75rem;height:1.75rem;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#f0b55a1a;color:#f0b55acc}.profile-website-card-icon svg{width:1rem;height:1rem}.profile-website-card-meta{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:.2rem}.profile-website-card-domain{display:block;color:#edf2f8;font-size:var(--text-base);font-weight:600;line-height:1.3;word-break:break-word}.profile-website-card-url{display:flex;align-items:center;gap:.3rem;color:#f0b55aa6;font-size:var(--text-sm);text-decoration:none;word-break:break-all;transition:color .14s ease;line-height:1.4}.profile-website-card-url:hover{color:#f0b55a}.profile-website-card-url svg{flex-shrink:0;width:.65rem;height:.65rem;opacity:.7}.profile-website-card-actions{display:flex;align-items:center;gap:.3rem;flex-shrink:0}.profile-website-card-reanalyze{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;border:1px solid rgba(240,181,90,.18);border-radius:5px;background:transparent;color:#f0b55a80;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.profile-website-card-reanalyze svg{width:.8rem;height:.8rem}.profile-website-card-reanalyze:hover:not(:disabled){background:#f0b55a1a;border-color:#f0b55a59;color:#f0b55ae6}.profile-website-card-reanalyze:disabled{opacity:.35;cursor:not-allowed}.profile-website-card-delete{display:flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;border:1px solid rgba(240,100,100,.2);border-radius:5px;background:transparent;color:#ff786e80;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.profile-website-card-delete svg{width:.8rem;height:.8rem}.profile-website-card-delete:hover:not(:disabled){background:#f064641f;border-color:#f0646466;color:#ff8c82e6}.profile-website-card-delete:disabled{opacity:.35;cursor:not-allowed}.profile-website-card-delete.is-deleting{opacity:1}@keyframes website-spin{to{transform:rotate(360deg)}}.profile-website-delete-spinner{display:block;width:.7rem;height:.7rem;border:1.5px solid rgba(255,120,110,.25);border-top-color:#ff786ed9;border-radius:50%;animation:website-spin .6s linear infinite}.profile-website-card-preview-wrap{margin-top:.6rem;padding-top:.55rem;border-top:1px solid rgba(173,184,200,.07)}.profile-website-card-preview{margin:0;font-size:var(--text-sm);line-height:1.6;color:#dfe7f29e;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.profile-website-card-preview[data-expanded=true]{display:block;overflow:visible;-webkit-line-clamp:unset}.profile-website-card-readmore{display:inline-block;margin-top:.4rem;padding:0;background:none;border:none;color:#f0b55abf;font-size:var(--text-sm);font-weight:600;font-family:inherit;cursor:pointer;letter-spacing:.02em;transition:color .14s ease}.profile-website-card-readmore:hover{color:#f0b55a}.profile-sidebar-source-preview{margin:.35rem 0 0;font-size:var(--text-sm);line-height:1.5;color:#dfe7f2ad;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.profile-sidebar-source-card-header{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.profile-sidebar-action-status{margin:0;color:#dfe7f2c2;font-size:var(--text-sm);line-height:1.45}.profile-sidebar-action-status-ok{color:#9de3bce6}.profile-sidebar-action-status-error{color:#ffacaceb}.profile-sidebar-github-actions{display:flex;align-items:center;justify-content:space-between;gap:.85rem}.profile-sidebar-link-list,.profile-sidebar-source-list,.profile-sidebar-project-list,.profile-sidebar-meta-list{display:grid;gap:.75rem}.profile-sidebar-link-list>*,.profile-sidebar-source-list>*,.profile-sidebar-project-list>*,.profile-sidebar-meta-list>*{padding-bottom:.8rem;border-bottom:1px solid rgba(173,184,200,.08)}.profile-sidebar-link-list>*:last-child,.profile-sidebar-source-list>*:last-child,.profile-sidebar-project-list>*:last-child,.profile-sidebar-meta-list>*:last-child{padding-bottom:0;border-bottom:0}.profile-sidebar-link{padding:0;display:grid;gap:.22rem;color:inherit;text-decoration:none;transition:color .16s ease}.profile-sidebar-link:hover{color:#f6d59b}.profile-sidebar-link span,.profile-sidebar-source-head span,.profile-sidebar-meta-list dt{font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.1em;text-transform:uppercase;color:#f0b55acc}.profile-sidebar-link strong,.profile-sidebar-source-head strong,.profile-sidebar-meta-list dd{color:#edf2f8;font-size:var(--text-base);line-height:1.45;word-break:break-word}.profile-sidebar-meta-list{margin:0}.profile-sidebar-meta-list div,.profile-sidebar-source-card,.profile-sidebar-project-card{padding:0}.profile-sidebar-meta-list dt,.profile-sidebar-meta-list dd{margin:0}.profile-sidebar-meta-list dd{margin-top:.22rem}.profile-sidebar-source-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem;margin-bottom:.45rem}.profile-sidebar-inline-link{color:#f0c57a;text-decoration:none;font-size:var(--text-sm);line-height:1.45;word-break:break-all;transition:color .16s ease}.profile-sidebar-inline-link:hover{color:#f6d59b}.profile-sidebar-source-card p,.profile-sidebar-project-card p,.profile-sidebar-empty{margin:.45rem 0 0;color:#dfe7f2c2;font-size:var(--text-base);line-height:1.55}.profile-sidebar-project-skills{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.65rem}.profile-sidebar-project-skills span{max-width:100%;padding:.28rem .5rem;border:1px solid rgba(240,181,90,.18);border-radius:999px;background:#f0b55a14;color:#f7deb0eb;font-size:var(--text-sm);font-weight:700;line-height:1.2;word-break:break-word}.profile-sidebar-empty{margin-top:0;padding:0;border:0;border-radius:0;background:transparent}.profile-sidebar-project-link{color:inherit;text-decoration:none;transition:color .16s ease}.profile-sidebar-project-link:hover{color:#f6d59b;text-decoration:underline;text-underline-offset:2px}.profile-sidebar-source-head .profile-sidebar-badge-private{color:#d2aa64a6}.profile-sidebar-source-card,.profile-sidebar-project-card{padding:.65rem .75rem;border-radius:6px;background:#adb8c80a;border:1px solid rgba(173,184,200,.09)}.profile-sidebar-source-card+.profile-sidebar-source-card,.profile-sidebar-project-card+.profile-sidebar-project-card{margin-top:0}.profile-chat-column{flex:1 1 auto;min-height:0;justify-content:flex-start;padding-left:1.35rem;padding-right:1.35rem}.profile-card,.profile-chat-card,.profile-loading-card{padding:0}.profile-chat-column>.profile-chat-card,.profile-chat-column>.profile-loading-card{flex:1 1 auto;min-height:0}.profile-loading-card{display:flex;align-items:center;justify-content:center;min-height:180px;color:var(--muted)}.profile-loading-indicator{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem}.profile-loading-spinner{width:2rem;height:2rem;border:2px solid rgba(241,192,119,.18);border-top-color:var(--accent-2);border-right-color:#f1c0776b;border-radius:999px;animation:profile-spinner-rotate .9s linear infinite}.profile-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.profile-section-head,.profile-card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.profile-section-head h3,.profile-card-header h3{margin:0;font-size:var(--text-md);line-height:1.3;letter-spacing:-.03em}.profile-status-ok,.profile-status-error{border-radius:12px;padding:.62rem .75rem;font-size:var(--text-base)}.profile-status-ok{margin:0;background:#6ace971f;border:1px solid rgba(106,206,151,.22);color:var(--success)}.profile-status-error{margin:0;background:#ff7c7c1a;border:1px solid rgba(255,124,124,.24);color:var(--error)}.profile-field{display:flex;flex-direction:column;gap:.42rem;min-width:0}.profile-field-control-wrap{position:relative}.profile-field-control-with-action{padding-right:3.35rem!important}.profile-field-control-wrap-textarea .profile-field-control-with-action{padding-right:3.5rem!important}.profile-field-control-auto{min-height:3.25rem;resize:none!important;overflow:hidden;line-height:1.5}.profile-field-full .profile-field-control-auto{min-height:7.75rem}.profile-field-ai-action{position:absolute;top:50%;right:.75rem;transform:translateY(-50%);width:2rem;height:2rem;border:1px solid rgba(240,181,90,.18);border-radius:999px;background:#f0b55a1a;color:#f7deb0eb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,opacity .16s ease}.profile-field-control-wrap-textarea .profile-field-ai-action{top:.78rem;transform:none}.profile-field-ai-action svg{width:.92rem;height:.92rem}.profile-field-ai-action:hover:not(:disabled),.profile-field-ai-action:focus-visible:not(:disabled){outline:none;border-color:#f0b55a57;background:#f0b55a29;color:#fff0d0}.profile-field-ai-action:disabled{opacity:.68;cursor:wait}.profile-field-ai-action.is-loading svg{animation:profile-ai-spin 1s linear infinite}@keyframes profile-ai-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.profile-field .modern-select{width:100%}.profile-hidden-input{display:none}.profile-resume-card{display:flex;border-radius:8px;overflow:hidden;border:1px solid rgba(240,181,90,.18);background:#f0b55a0a;transition:border-color .16s ease}.profile-resume-card:hover{border-color:#f0b55a4d}.profile-resume-card-accent{flex-shrink:0;width:3px;background:linear-gradient(180deg,#f0b55abf,#f0b55a33)}.profile-resume-card-body{flex:1 1 auto;min-width:0;padding:.7rem .85rem}.profile-resume-card-row{display:flex;align-items:center;gap:.6rem}.profile-resume-card-icon{flex-shrink:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#f0b55a1a;color:#f0b55ad9}.profile-resume-card-icon svg{width:1.1rem;height:1.1rem;stroke:currentColor}.profile-resume-card-meta{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:.18rem}.profile-resume-card-name{display:block;color:#edf2f8;font-size:var(--text-base);font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-resume-card-hint{display:block;color:#dfe7f273;font-size:var(--text-sm);line-height:1.3}.profile-resume-card-actions{flex-shrink:0;display:flex;align-items:center;gap:.25rem}.profile-resume-action-btn{-webkit-appearance:none;appearance:none;border:none;outline:none;box-shadow:none;width:2rem;height:2rem;border-radius:6px;background:transparent;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s ease,color .15s ease,opacity .15s ease}.profile-resume-action-btn svg{stroke:currentColor}.profile-resume-action-preview{color:#f0b55ab3}.profile-resume-action-preview svg{width:1.1rem;height:1.1rem}.profile-resume-action-preview:hover:not(:disabled),.profile-resume-action-preview:focus-visible{outline:none;color:#f0b55a;background:#f0b55a1a}.profile-resume-action-delete{color:#f87171a6}.profile-resume-action-delete svg{width:.95rem;height:.95rem}.profile-resume-action-delete:hover:not(:disabled),.profile-resume-action-delete:focus-visible{outline:none;color:#f87171;background:#f871711a}.profile-resume-action-btn:disabled{opacity:.5;cursor:wait}.profile-resume-action-spinner{width:1rem;height:1rem;border:2px solid rgba(240,181,90,.2);border-top-color:#f0b55ad9;border-radius:999px;animation:profile-spinner-rotate .9s linear infinite}.profile-resume-action-spinner-red{border-color:#f8717133;border-top-color:#f87171d9}.profile-resume-dropzone{display:flex;flex-direction:column;align-items:center;gap:.45rem;padding:2rem 1.5rem;border:1.5px dashed rgba(240,181,90,.25);border-radius:12px;background:transparent;text-align:center;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.profile-resume-dropzone:hover,.profile-resume-dropzone:focus-visible,.profile-resume-dropzone.is-drag-active{outline:none;border-color:#f0b55a8c;background:#f0b55a08}.profile-resume-dropzone.is-uploading{cursor:wait;opacity:.75;pointer-events:none}.profile-resume-dropzone-icon{width:2.6rem;height:2.6rem;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f0b55a14;color:#f0b55ab3;margin-bottom:.2rem}.profile-resume-dropzone-icon svg{width:1.3rem;height:1.3rem;stroke:currentColor}.profile-resume-dropzone-title{color:#edf2f8;font-size:var(--text-base);font-weight:600;line-height:1.3}.profile-resume-dropzone-hint{margin:0;color:#dfe7f280;font-size:var(--text-sm);line-height:1.5}.profile-resume-dropzone-link{color:#f0b55ad9;text-decoration:underline;text-underline-offset:.18em}.profile-resume-dropzone-spinner{width:1.3rem;height:1.3rem;border:2px solid rgba(240,181,90,.2);border-top-color:#f0b55acc;border-radius:999px;animation:profile-spinner-rotate .9s linear infinite}.profile-resume-inline-preview{border:1px solid rgba(173,184,200,.1);border-radius:10px;overflow:hidden;background:#080b10e0}.profile-resume-inline-preview-loading{display:flex;align-items:center;justify-content:center;padding:2rem}.profile-resume-inline-frame{display:block;width:100%;height:36rem;border:0;background:#fff}.profile-resume-inline-preview .profile-resume-preview-text{padding:1rem;max-height:36rem;overflow-y:auto}.profile-resume-preview-backdrop{position:fixed;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:2rem;background:#06080cb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.profile-resume-preview-modal{width:min(70rem,calc(100vw - 4rem));height:min(52rem,calc(100vh - 4rem));display:grid;grid-template-rows:auto minmax(0,1fr);gap:1rem;padding:1.15rem 1.15rem 1rem;border:1px solid rgba(173,184,200,.14);border-radius:22px;background:#0c1017f5;box-shadow:0 30px 80px #00000057}.profile-github-popup-modal{width:min(48rem,calc(100vw - 2rem));display:grid;gap:1rem;padding:1.15rem;border:1px solid rgba(173,184,200,.14);border-radius:18px;background:#0c1017f7;box-shadow:0 30px 80px #00000057}.profile-admin-confirm-modal{width:min(26rem,calc(100vw - 2rem));display:grid;gap:.9rem;padding:1.25rem 1.35rem;border:1px solid rgba(224,90,90,.25);border-radius:18px;background:#0c1017f7;box-shadow:0 30px 80px #00000057}.profile-admin-confirm-modal h4{margin:0;font-size:1rem;font-weight:600;color:#f2f2f2}.profile-admin-confirm-modal p{margin:0;font-size:.85rem;line-height:1.55;color:#ffffffa6}.profile-admin-confirm-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:.2rem}.profile-admin-confirm-cancel,.profile-admin-confirm-remove{padding:.5rem 1.05rem;border-radius:9px;font-size:.85rem;font-weight:600;cursor:pointer;transition:transform .16s ease,background-color .16s ease,opacity .16s ease}.profile-admin-confirm-cancel{border:1px solid rgba(255,255,255,.14);background:#ffffff0a;color:#ffffffd9}.profile-admin-confirm-cancel:hover{background:#ffffff14}.profile-admin-confirm-remove{border:0;background:#e05a5a;color:#14090a}.profile-admin-confirm-remove:hover{transform:translateY(-1px);background:#e77373}.profile-resume-preview-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.profile-resume-preview-head>span{font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.1em;text-transform:uppercase;color:#f0b55acc}.profile-resume-preview-close{flex-shrink:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border:1px solid rgba(173,184,200,.14);border-radius:6px;background:#ffffff0a;color:#dfe7f28c;font-size:var(--text-sm);cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.profile-resume-preview-close:hover{background:#ffffff14;color:#eef3f8;border-color:#adb8c842}.profile-resume-preview-body{min-height:0;border:1px solid rgba(173,184,200,.1);border-radius:18px;background:#080b10e0;overflow:hidden}.profile-github-popup-body{display:grid;gap:1rem;padding:.95rem;border:1px solid rgba(173,184,200,.1);border-radius:14px;background:#080b10e0}.profile-github-popup-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.profile-github-popup-button-group{display:flex;justify-content:flex-end;gap:.7rem}.profile-resume-preview-frame{width:100%;height:100%;border:0;background:#fff}.profile-resume-preview-fallback{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.85rem;padding:1rem}.profile-resume-preview-note{margin:0;color:#dfe7f2b8;font-size:var(--text-base)}.profile-resume-preview-text{margin:0;min-height:0;overflow:auto;color:#edf2f8;white-space:pre-wrap;word-break:break-word;font:inherit;line-height:1.6}.profile-import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin-bottom:1rem}.profile-import-full{grid-column:1 / -1}.profile-uploaded-files{margin-bottom:1rem}.profile-uploaded-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.profile-uploaded-head h4{margin:0;font-size:var(--text-md);line-height:1.3}.profile-uploaded-head span{color:var(--muted);font-size:var(--text-base)}.profile-uploaded-list{display:grid;gap:.85rem}.profile-uploaded-card{border:1px solid rgba(173,184,200,.12);border-radius:16px;background:#0d111899;padding:.9rem 1rem}.profile-uploaded-meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.7rem}.profile-uploaded-meta strong{color:var(--ink);font-size:var(--text-base);line-height:1.35;word-break:break-word}.profile-uploaded-meta span{flex:0 0 auto;font-family:IBM Plex Mono,monospace;font-size:var(--text-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--accent-2)}.profile-uploaded-preview{margin:0;color:#ebf1f8d1;font:inherit;line-height:1.55;white-space:pre-wrap;word-break:break-word;max-height:10.5rem;overflow:auto}.profile-primary-button,.profile-secondary-button,.profile-danger-button{border-radius:12px;padding:.72rem .95rem;font:inherit;cursor:pointer;transition:opacity .18s ease,background .18s ease}.profile-primary-button:disabled,.profile-secondary-button:disabled,.profile-danger-button:disabled{opacity:.56;cursor:not-allowed}.profile-primary-button{border:1px solid rgba(240,181,90,.3);background:#f0b55a;color:#11161c;font-weight:700}.profile-secondary-button{border:1px solid rgba(173,184,200,.12);background:#1c232ee6;color:var(--ink)}.profile-danger-button{border:1px solid rgba(255,122,122,.16);background:#ff7a7a1f;color:#ffc9c9}.profile-chat-card{min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:1rem}.profile-chat-header{display:flex;align-items:center;justify-content:flex-end;gap:.35rem;margin-bottom:.25rem}.profile-chat-new-button{border:0;padding:.1rem;color:#f1c077b3;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .18s ease,opacity .18s ease,transform .18s ease}.profile-chat-new-button:hover:not(:disabled){color:#f1c077;transform:translateY(-1px)}.profile-chat-new-button:focus-visible{outline:none;color:#f1c077}.profile-chat-new-button:disabled{opacity:.56;cursor:not-allowed}.profile-chat-new-button svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.profile-chat-reset-button{border:0;padding:.1rem;color:#ff8f8f;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .18s ease,opacity .18s ease,transform .18s ease}.profile-chat-reset-button:hover:not(:disabled){color:#ffb2b2;transform:translateY(-1px)}.profile-chat-reset-button:focus-visible{outline:none;color:#ffc4c4}.profile-chat-reset-button:disabled{opacity:.56;cursor:not-allowed}.profile-chat-reset-button svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.profile-chat-thread{min-height:240px;max-height:none;overflow:auto;display:flex;flex-direction:column;gap:1.5rem;padding:1rem .35rem .5rem 0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.profile-chat-thread::-webkit-scrollbar{width:0;height:0}.profile-chat-thread::-webkit-scrollbar-track{margin:.45rem 0;border-radius:999px;background:#ffffff0d}.profile-chat-thread::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:linear-gradient(180deg,#f1c077eb,#d38b39cc) padding-box}.profile-chat-thread::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#f7d08ff5,#dd983fe0) padding-box}.profile-chat-message{width:100%;padding:.75rem .9rem;border-left:2px solid rgba(173,184,200,.18)}.profile-chat-message-user{align-self:flex-end;width:auto;max-width:75%;padding:.65rem .9rem;border-left:0;border-right:0;border-radius:14px;background:#d38b391f;text-align:right}.profile-chat-message-assistant{align-self:flex-start;border-left-color:#adb8c838;text-align:left}.profile-chat-message-intro{width:auto;max-width:480px;padding-left:0;border-left:0;text-align:center}.profile-chat-body{margin:0;color:var(--ink);font-size:var(--text-base);line-height:1.45;text-align:left}.profile-chat-thinking{color:#ced6e0d1}.profile-chat-thinking-trace{margin-bottom:.75rem;padding:.6rem .85rem;border-left:2px solid rgba(240,181,90,.35);background:#ffffff08;border-radius:6px;max-height:180px;overflow-y:auto}.profile-chat-thinking-label{display:block;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#f0b55abf;margin-bottom:.3rem}.profile-chat-thinking-text{margin:0;font-size:.82rem;line-height:1.45;font-style:italic;color:#ced6e0a6;white-space:pre-wrap}.profile-chat-response-meta{display:flex;justify-content:flex-start;margin:.24rem 0 0}.profile-chat-duration{flex-shrink:0;font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--text-sm);line-height:1;color:#ced6e0d1}.profile-chat-suggestions{display:flex;flex-wrap:wrap;gap:.5rem;padding:.25rem 0}.profile-chat-suggestion{border:1px solid rgba(173,184,200,.18);border-radius:999px;background:transparent;color:#ced6e0bf;font-size:var(--text-sm);font-family:inherit;padding:.4rem .9rem;cursor:pointer;transition:border-color .16s ease,color .16s ease,background .16s ease;white-space:nowrap}.profile-chat-suggestion:hover{border-color:#d38b3980;color:#f0b55ae6;background:#d38b390f}.profile-chat-form{display:flex;flex-direction:column;gap:.85rem;margin-top:auto}.profile-chat-compose{position:relative;border:1px solid rgba(173,184,200,.16);border-radius:18px;background:#080b10f5;box-shadow:0 18px 40px #0000002e;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.profile-chat-compose:focus-within{border-color:#d38b3980;box-shadow:0 0 0 3px #d38b391f,0 18px 40px #0000002e;background:#090c12e6}.profile-chat-compose textarea{box-sizing:border-box;min-height:5.5rem;max-height:16rem;border:0;border-radius:18px;background:transparent;padding:1rem 4.35rem 1rem 1rem;resize:none;box-shadow:none;overflow-y:auto}.profile-chat-compose textarea:focus{border-color:transparent;background:transparent;box-shadow:none}.profile-chat-send-button{position:absolute;right:.8rem;bottom:.8rem;width:2.75rem;height:2.75rem;border:0;border-radius:14px;padding:0;color:#11161c;background:#f0b55a;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .16s ease,background-color .16s ease,opacity .16s ease}.profile-chat-send-button:hover:not(:disabled){transform:translateY(-1px);background:#f4bf70}.profile-chat-send-button:disabled{opacity:.45;cursor:not-allowed}.profile-chat-send-button.is-sending:disabled{opacity:1;background:#d9a75a}.profile-chat-send-button svg{width:1.05rem;height:1.05rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@keyframes profile-spinner-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:1400px){.profile-assistant-page,.profile-workspace,.profile-editor-column,.profile-chat-column{overflow:visible}.profile-main-grid{grid-template-columns:1fr}.profile-editor-column{height:auto;padding-right:0;padding-bottom:1.25rem;border-right:0;border-bottom:1px solid rgba(173,184,200,.08)}.profile-side-panel,.profile-side-panel-scroll{overflow:visible;padding-right:0}.profile-main-grid-scrollbar{display:none}}@media(max-width:820px){.profile-toolbar,.profile-card-header,.profile-section-head{flex-direction:column;align-items:flex-start}.profile-picker{min-width:100%;width:100%}.profile-import-grid{grid-template-columns:1fr}.profile-uploaded-meta{flex-direction:column;align-items:flex-start}.profile-assistant-page{width:100%}.profile-sidebar-editor-grid,.profile-sidebar-editor-row-compact{grid-template-columns:1fr}.profile-sidebar-editor-footer{grid-template-columns:1fr;align-items:flex-start}.profile-sidebar-editor-actions{justify-content:flex-start}.profile-sidebar-source-head{flex-direction:column}.profile-sidebar-github-actions,.profile-github-popup-actions,.profile-github-popup-button-group{align-items:stretch;flex-direction:column}.profile-sidebar-fetch-button{width:100%}}.pcw-root{display:flex;flex-direction:column;height:100dvh;background:#0a0d12;color:#eef2f7;font-family:inherit}.pcw-loading,.pcw-error{flex:1;display:flex;align-items:center;justify-content:center;color:#9ca8b8cc;font-size:var(--text-base)}.pcw-spinner{display:inline-block;width:1.4rem;height:1.4rem;border:2px solid rgba(240,181,90,.2);border-top-color:#f0b55ad9;border-radius:50%;animation:pcw-spin .9s linear infinite}@keyframes pcw-spin{to{transform:rotate(360deg)}}.pcw-header{display:flex;align-items:center;gap:.75rem;padding:.85rem 2.5rem;border-bottom:1px solid rgba(173,184,200,.1);flex-shrink:0}.pcw-header-brand{display:inline-flex;align-items:center;gap:.65rem}.pcw-header-brand:before{content:"";width:18px;height:1px;border-radius:999px;background:linear-gradient(90deg,#d38b39eb,#d38b3900)}.pcw-header-brand-mark{font-size:var(--text-base);font-weight:800;letter-spacing:.28em;line-height:1;text-transform:uppercase;color:#f4f7fbf0;text-shadow:0 1px 12px rgba(0,0,0,.32)}.pcw-header-actions{margin-left:auto;display:flex;align-items:center;gap:.25rem}.pcw-profile-menu{position:relative}.pcw-avatar-btn{position:relative;width:2.5rem;height:2.5rem;border-radius:50%;border:none;background:#1a1f2a;cursor:pointer;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0;transition:background .18s ease,transform .18s ease}.pcw-avatar-btn:hover{background:#222836;transform:translateY(-1px)}.pcw-avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}.pcw-avatar-initials{font-size:.75rem;font-weight:700;letter-spacing:.05em;color:#f0b55af2;line-height:1;-webkit-user-select:none;user-select:none}.pcw-menu{position:absolute;top:calc(100% + .5rem);right:0;min-width:160px;background:#141820;border:1px solid rgba(173,184,200,.15);border-radius:10px;box-shadow:0 8px 24px #0006;overflow:hidden;z-index:100}.pcw-menu-item{display:block;width:100%;padding:.65rem 1rem;background:transparent;border:0;color:#dce4f0e6;font-size:var(--text-sm);font-family:inherit;text-align:left;cursor:pointer;transition:background .14s ease}.pcw-menu-item:hover:not(:disabled){background:#adb8c814}.pcw-menu-item:disabled{opacity:.5;cursor:not-allowed}.pcw-menu-item-danger{color:#ff8c8cd9}.pcw-menu-item-danger:hover:not(:disabled){background:#ff646414}.pcw-icon-btn{border:0;background:transparent;color:#ff8f8fb3;padding:.1rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .18s ease,opacity .18s ease,transform .18s ease}.pcw-icon-btn:hover:not(:disabled){color:#ffb2b2;transform:translateY(-1px)}.pcw-icon-btn:focus-visible{outline:none;color:#ffc4c4}.pcw-icon-btn:disabled{opacity:.56;cursor:not-allowed}.pcw-icon-btn svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pcw-thread{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}.pcw-thread::-webkit-scrollbar{display:none}.pcw-thread-body{max-width:100%;margin:0 auto;padding:2rem 2rem 1rem;display:flex;flex-direction:column;gap:2rem}.pcw-thread.pcw-thread-intro{display:flex;flex-direction:column}.pcw-thread.pcw-thread-intro .pcw-thread-body{flex:1;justify-content:center;align-items:center}.pcw-message{width:100%;padding:.75rem .9rem;border-left:2px solid rgba(173,184,200,.18)}.pcw-message-intro{width:auto;max-width:480px;padding-left:0;border-left:0;text-align:center}.pcw-message-user{align-self:flex-end;width:auto;max-width:75%;padding:.65rem .9rem;border-left:0;border-right:0;border-radius:14px;background:#d38b391f;text-align:right}.pcw-message-assistant{align-self:flex-start;border-left-color:#adb8c838;text-align:left}.pcw-body{margin:0;font-size:var(--text-base);line-height:1.45;color:#eef2f7;text-align:left}.pcw-thinking{color:#ced6e0d1}.pcw-meta{display:flex;justify-content:flex-start;margin:.24rem 0 0}.pcw-duration{font-family:IBM Plex Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--text-sm);line-height:1;color:#ced6e0d1}.pcw-chat-error{margin:0;font-size:var(--text-base);color:#ffb4b4;align-self:flex-start;padding-left:.9rem;border-left:2px solid rgba(255,143,143,.3)}.pcw-suggestions{flex-shrink:0;padding:0 2.5rem .5rem}.pcw-suggestions-inner{max-width:100%;margin:0 auto;display:flex;flex-wrap:wrap;gap:.5rem}.pcw-suggestion{border:1px solid rgba(173,184,200,.18);border-radius:999px;background:transparent;color:#ced6e0bf;font-size:var(--text-sm);font-family:inherit;padding:.4rem .9rem;cursor:pointer;transition:border-color .16s ease,color .16s ease,background .16s ease;white-space:nowrap}.pcw-suggestion:hover{border-color:#d38b3980;color:#f0b55ae6;background:#d38b390f}.pcw-compose{flex-shrink:0;padding:.85rem 2.5rem 1.35rem}.pcw-compose-inner{position:relative;border:1px solid rgba(173,184,200,.16);border-radius:18px;background:#080b10f5;box-shadow:0 18px 40px #0000002e;transition:border-color .18s ease,box-shadow .18s ease;max-width:100%;margin:0 auto}.pcw-compose-inner:focus-within{border-color:#d38b3980;box-shadow:0 0 0 3px #d38b391f,0 18px 40px #0000002e}.pcw-compose-inner textarea{display:block;width:100%;box-sizing:border-box;min-height:5.5rem;max-height:16rem;border:0;border-radius:18px;background:transparent;padding:1rem 4.35rem 1rem 1rem;resize:none;overflow-y:auto;color:#eef2f7;font-size:var(--text-base);line-height:1.5;font-family:inherit;outline:none}.pcw-compose-inner textarea::placeholder{color:#9ca8b880}.pcw-send{position:absolute;right:.8rem;bottom:.8rem;width:2.75rem;height:2.75rem;border:0;border-radius:14px;padding:0;color:#11161c;background:#f0b55a;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .16s ease,background-color .16s ease,opacity .16s ease}.pcw-send:hover:not(:disabled){transform:translateY(-1px);background:#f4bf70}.pcw-send:disabled{opacity:.45;cursor:not-allowed}.pcw-send.is-sending:disabled{opacity:1;background:#d9a75a}.pcw-send svg{width:1.05rem;height:1.05rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@media(max-width:640px){.pcw-header{padding:.75rem 1rem}.pcw-thread-body{padding:1.25rem 1rem .75rem;gap:1.25rem}.pcw-message-user{max-width:88%}.pcw-message-intro{max-width:100%;padding:0 .25rem}.pcw-suggestions{padding:0 0 .4rem;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.pcw-suggestions::-webkit-scrollbar{display:none}.pcw-suggestions-inner{flex-wrap:nowrap;padding:0 1rem;width:max-content}.pcw-compose{padding:.6rem 1rem calc(.9rem + env(safe-area-inset-bottom))}.pcw-compose-inner textarea{min-height:3.5rem;max-height:10rem;padding:.75rem 3.75rem .75rem .85rem;font-size:1rem}.pcw-send{width:2.35rem;height:2.35rem;right:.65rem;bottom:.65rem;border-radius:11px}.pcw-body{font-size:.9375rem}.pcw-menu{right:0;min-width:150px}}: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)}
