/* Native 1280 × 838 reference reconstruction. Desktop only; original mobile styles are untouched. */
/* Refinement rules are deliberately desktop-scoped; no claim of original font identification. */
.reference-rail,.reference-context,.reference-date,.capsule>.context-toggle,#view-research{display:none}
@media(min-width:1000px){
body{background:#c9eaf5 url(reference-backdrop.webp) center/100% 100% fixed no-repeat}
#optical-backdrop{display:none}
#app{background:linear-gradient(135deg,#e3f1f6b8,#e1edf3c2);box-shadow:0 18px 40px #55798618,inset 0 1px 0 #fff4}
#app::before,.desktop-brand,.desktop-new,.desktop-foot,#history,#app .tabs,.desktop-context{display:none!important}
.top{padding-top:19px}.top::before{display:none}
.top .capsule{margin-right:-15px}.top .capsule #call{display:none}.top .capsule #more{width:30px}.top .capsule #more svg{width:19px}
#app[data-call] .top .capsule #call{display:flex}
.reference-date{display:flex;position:absolute;top:116px;left:var(--content-left);right:calc(var(--content-right) + 11px);align-items:center;gap:12px;color:#40565e;font-size:10px;line-height:18px;pointer-events:none}
.reference-date::before,.reference-date::after{content:"";flex:1;height:1px;background:#8faab519}
.reference-date[hidden]{display:none}
#app{--reading-start:140px}
#app>.view{margin-top:var(--reading-start);min-height:0;scrollbar-width:thin;scrollbar-color:#6e879655 transparent;scroll-padding-block:12px}
#messages{padding-top:13px;gap:12px;padding-bottom:24px;min-height:100%}
#messages:has(.empty){padding-top:20px;padding-bottom:24px;justify-content:center}
.message{font-size:18px;line-height:1.53;border-radius:18px;letter-spacing:-.02em}
.message.user{margin-right:11px;min-height:50px;background:#c4e9fbcd}
.message.assistant{max-width:calc(100% - 20px);padding:14px 18px;background:#f0f2f7d9}
.message .react{display:none}
.response-label{font-size:12px;color:#40565e;line-height:18px;margin:17px 18px 2px}
.message.user+.response-label{margin-top:17px}
.response-label+.message.assistant{margin-top:0}
.message.user+.message.assistant,.message.user+.message.typing{margin-top:0}
.typing-status{font-size:12px;color:#40565e;background:transparent;margin-top:23px}
.attachment-disclosure{flex:none;width:calc(100% - 20px);border:1px solid #ffffff7a;background:#f3f7fa91;border-radius:13px;overflow:clip;color:#273f4d}
.attachment-disclosure>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:9px 13px;cursor:pointer;list-style:none;font-size:12px}
.attachment-disclosure>summary::-webkit-details-marker{display:none}.attachment-disclosure>summary::after{content:'+';font-size:19px;margin-left:auto}.attachment-disclosure[open]>summary::after{content:'−'}
.attachment-disclosure summary svg{width:18px;height:18px;flex:none}.attachment-disclosure summary small{font-size:10px;color:#566d7a;margin-left:auto}
.attachment-disclosure[open]{overflow:visible}.attachment-disclosure .attach{width:100%;max-width:none;margin:0;border:0;border-top:1px solid #d9e3eb;border-radius:0 0 13px 13px;background:#f8fafde8}
.follow{gap:6px;flex-wrap:wrap}.follow button{font-size:11px;padding:7px 9px}
.dock{padding-top:12px;padding-bottom:32px}#composer{min-height:52px}#draft{font-size:16px}
.reference-rail,.reference-context{display:flex;position:fixed;flex-direction:column;z-index:7;border:1px solid #ffffffa3;background:linear-gradient(145deg,#f0f8fbdd,#edf5f9ed);box-shadow:0 16px 35px #567b8b21,inset 0 1px 0 #fff7;border-radius:24px;font-size:13px}
.reference-rail{left:5vw;top:15.3938dvh;width:16.484375vw;height:68.49642dvh;padding:16px 12px 18px}
.rail-heading{display:flex;justify-content:space-between;align-items:center;padding:0 6px;margin-bottom:15px;height:30px;flex:none}
.rail-heading>a{font-size:22px;font-weight:600;letter-spacing:-.035em;color:#172b35;text-decoration:none}.rail-heading button{display:grid;place-items:center;width:26px;height:30px}
.reference-rail svg,.reference-context svg{width:18px;height:18px;stroke-width:1.35;flex:none}
.rail-heading svg{width:21px;height:21px}
.rail-segment{display:flex;background:#e2ecf17a;border-radius:999px;padding:3px;margin-bottom:15px;height:32px;flex:none}
.rail-segment button{flex:1;font-size:12px;font-weight:400;color:#3b515e;border-radius:999px;padding:2px 0}.rail-segment button[aria-pressed=true]{background:#fff;box-shadow:0 2px 6px #69818d13;color:#142831}
.rail-navigation{display:grid;grid-auto-rows:33px;gap:0;min-height:0;overflow:auto;scrollbar-width:thin;flex-shrink:0}
.rail-navigation button,.rail-pinned button{display:flex;align-items:center;gap:12px;padding:0 12px;min-width:0;text-align:left;border-radius:11px;font-size:13px;font-weight:400}
.rail-navigation button[aria-current=page]{background:#ffffffeb;font-weight:550}
.rail-navigation img{width:22px;height:26px;object-fit:contain;margin-inline:-2px}
.rail-navigation button:hover,.rail-pinned button:hover,.context-list button:hover,.context-toolbar button:hover{background:#fff9}
.rail-pinned{display:grid;gap:1px;margin-top:20px;flex-shrink:0}.rail-pinned>small{font-size:10px;color:#435a67;margin:0 8px 7px}.rail-pinned button{font-size:11px;min-height:30px;gap:12px}
.rail-footer{display:flex;align-items:center;gap:10px;margin-top:auto;padding:10px 7px 0;flex:none}.rail-monogram{display:grid;place-items:center;background:#d4e5ed;border:1px solid #fff9;border-radius:50%;width:29px;height:29px;font-size:10px}.rail-footer>span:nth-child(2){display:grid;gap:3px;font-size:11px}.rail-footer small{font-size:9px;color:#48616f}.rail-footer button{margin-left:auto;padding:0}
.reference-context{top:14.79714dvh;right:5vw;width:22.34375vw;height:72.553699dvh;overflow:hidden;background:linear-gradient(145deg,#f1f8fce6,#eff6fbef)}
.reference-context[hidden]{display:none}
.context-toolbar{display:flex;gap:7px;align-items:center;min-height:51px;padding:0 14px;border-bottom:1px solid #7e99a523;flex:none}
.context-toolbar button{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#48616c}.context-toolbar svg{width:16px;height:16px}.context-toolbar button:first-child{background:#e2ecf377}.context-toolbar button:last-child{margin-left:auto}
.context-scroll{overflow:auto;padding:17px 18px 20px;scrollbar-width:thin;min-height:0}.context-title{display:flex;align-items:center;gap:7px;margin-bottom:10px}.context-title h2{font-size:13px;font-weight:550;margin:0 auto 0 0}.context-title button{display:grid;place-items:center;padding:0}.context-title button svg{width:15px;height:15px}
.context-list{display:grid;gap:0}.context-list button{display:flex;gap:11px;width:100%;min-width:0;align-items:center;text-align:left;padding:0;border-radius:7px;font-size:12px;min-height:34px}.context-list button>span{display:grid;gap:5px;min-width:0;flex:1}.context-list b{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-list small{font-size:10px;color:#425c69;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-list .file-icon{color:#527889}
.context-more{font-size:11px;padding:12px 0 0;color:#304c5b}.chats-title{margin-top:24px;margin-bottom:8px}#reference-chats{gap:10px}#reference-chats button{min-height:53px;align-items:flex-start;padding:8px 2px}#reference-chats svg{margin-top:3px;width:18px;height:18px}#reference-chats b{font-size:11px}.context-empty{font-size:11px;color:#526b78;line-height:1.6;margin:4px 0}
.context-filter{width:100%;min-width:0;border:1px solid #afc3cd;border-radius:8px;padding:7px;margin-bottom:10px;background:#fff9;font-size:12px}.context-filter[hidden]{display:none}
.context-toggle{display:none}#app[data-context-hidden] .capsule>.context-toggle{display:grid;place-items:center}
#view-research:not([hidden]){display:block}#view-research{padding:12px 0 28px}.research-intro{font-size:13px;line-height:1.6;color:#48616f}.research-search{display:flex;gap:10px;padding:10px;border:1px solid #afc3cd;border-radius:12px;background:#fff8}.research-search svg{width:18px;height:18px}.research-search input{width:100%;border:0;outline:none;background:transparent;font-size:13px}.research-entry{border-bottom:1px solid #9bb5c53b;padding:18px 0}.research-entry h3{font-size:17px;margin:0 0 8px}.research-entry p{font-size:13px;line-height:1.6}.research-source{font-size:11px;color:#245b80}.research-entry button{display:flex;align-items:center;gap:8px;font-size:12px;color:#245b80;padding:12px 0 0}.research-entry button svg{width:16px;height:16px}
.page{padding-top:13px}.dock[hidden]{display:none!important}
}
@media(min-width:1000px) and (max-width:1199px){
.reference-rail{width:190px}.reference-context{display:none}.reference-context[data-open]{display:flex;width:286px;z-index:9;box-shadow:0 18px 80px #405f7955}.capsule>.context-toggle{display:grid;place-items:center}
.rail-footer{gap:10px!important;padding-inline:5px}
}
@media(min-width:1000px) and (max-height:720px){
.reference-rail{top:8dvh;height:84dvh;padding-top:12px;padding-bottom:12px}.reference-context{top:7.5dvh;height:85dvh}.rail-heading{margin-bottom:8px}.rail-segment{margin-bottom:8px}.rail-navigation{grid-auto-rows:29px}.rail-pinned{margin-top:10px}.rail-footer{padding-top:6px}.reference-date{top:102px}#app{--reading-start:125px}.dock{padding-bottom:22px}
}
@media(min-width:1000px) and (prefers-reduced-transparency:reduce){#app{background:#e2eef4}.reference-rail{background:#edf5f9}.reference-context{background:#eff6fb}}

@media(min-width:1000px){.top .capsule.optical-control{background:transparent!important;box-shadow:none!important;border:0!important;filter:none!important;backdrop-filter:none!important}.top .capsule>button{background:transparent!important;box-shadow:none!important;border:0!important;filter:none!important}.follow button.optical-control{background:#edf6fa88!important;box-shadow:none!important;border:1px solid #ffffff70;backdrop-filter:none!important}.follow .optical-lens{display:none}.response-label{margin-bottom:-3px}}

@media(min-width:1000px){
.identity:has(.pet[data-skin=tower]) .halo,.identity .pet[data-skin=tower]{height:56px}
.rail-segment{margin-bottom:12px}.rail-navigation button{font-size:14px;gap:13px}.rail-pinned{margin-top:23px}.rail-footer{transform:translateY(-3px);gap:15px}
.context-title{margin-bottom:3px}.context-title h2{font-size:14px}.context-list button{min-height:34.5px;font-size:13px}
.context-more{font-size:12px;padding-top:11px}.chats-title{margin-top:21px;margin-bottom:7px;gap:10px}.chats-title button{width:15px;height:22px}
#reference-chats{gap:0}#reference-chats button{position:relative;min-height:63px;padding:8px 0;gap:12px}#reference-chats button>span{gap:7px;padding-right:26px}#reference-chats b{font-size:12px}#reference-chats small{font-size:11px}.chat-time{position:absolute;right:0;top:10px;font-size:9px;color:#435e68}
#chat-current[aria-pressed=true]{background:#d6e6ee;border-radius:4px}
.message.user{font-size:18px;line-height:24px}.message.assistant{padding:14px 18px 17px;line-height:28px;letter-spacing:-.02em}
.response-label{display:flex;align-items:center;gap:19px;align-self:flex-start;padding:0;font-weight:400;text-align:left;margin:14px 18px -3px;min-height:21px}.message.user+.response-label{margin-top:14px}.response-label svg{width:13px;height:13px;stroke-width:1.3;transition:transform .15s}.response-label[aria-expanded=true] svg{transform:rotate(90deg)}
.response-details{width:calc(100% - 20px);flex:none;font-size:12px;padding-bottom:12px}.response-details[hidden]{display:none}.guide-provenance{line-height:1.6;color:#435e68;margin:0 0 12px}.response-details .attach{width:100%;max-width:none;margin:0}.response-details .follow{margin-top:12px}
#draft{padding-left:0}
.reference-date::before{flex:.91}
#mic{margin-right:4px}
.top .capsule{margin-right:-18px}.identity .name-pill{transform:translateY(2px)}
.context-toolbar{padding-inline:12px}.context-toolbar svg{width:20px;height:20px}.context-toolbar button:last-child{width:18px}.context-toolbar button:last-child svg{width:28px;height:28px}
.chats-title{margin-right:-5px}.rail-navigation svg,.rail-pinned svg{transform:scale(1.12)}
.context-toolbar button{display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}
.rail-navigation button[aria-current=page]{margin-top:2px;height:31px}
.rail-footer>span:nth-child(2){font-size:12px}.rail-footer small{font-size:10px}
.response-label{transform:translateY(-4px)}
.message.assistant{max-width:calc(100% - 19px);padding:15px 18px 15px 19px}
/* Native-crop optical corrections: lighter text ink, finer glyphs, less sterile material. */
.rail-heading>a{font-weight:560;letter-spacing:-.025em}
.rail-navigation button,.context-list button{font-weight:380}
.rail-navigation button[aria-current=page]{font-weight:520}
.rail-segment button[aria-pressed=true]{font-weight:600}
.rail-pinned button{font-size:11px;letter-spacing:-.015em}
.context-title h2{font-weight:500}
.message.user,.message.assistant{font-weight:380}
.context-list b{font-weight:380}
.reference-rail svg,.reference-context svg{stroke-width:1.15}
.rail-navigation svg,.rail-pinned svg{transform:none;width:18px;height:18px}
.rail-heading svg{stroke-width:1.15}
.context-toolbar svg{width:16px;height:16px;stroke-width:1.2}
.context-toolbar button:last-child svg{width:23px;height:23px;stroke-width:1}
.context-toolbar button:first-child{background:#e3edf15e}
.context-toolbar{border-bottom-color:#7e99a532}
.context-title button svg{width:14px;height:14px;stroke-width:1.1}
#reference-chats svg{width:18px;height:18px;padding:1px;border-radius:50%;background:#e4edf24d;stroke:#40545d;stroke-width:1.15}
.context-list small,.chat-time{color:#43575e}
.context-more{color:#293f49}
.reference-date::before,.reference-date::after{background:#8faab526}
.reference-rail{background:linear-gradient(145deg,#eff7fad6,#edf5f9e6);box-shadow:0 18px 34px #567b8b29,inset 0 1px 0 #fff8}
.reference-context{background:linear-gradient(145deg,#f1f7fbe0,#eff5fbe9);box-shadow:0 20px 35px #567b8b2b,inset 0 1px 0 #fff8}
#app{background:linear-gradient(135deg,#e3f1f6ac,#e1edf3b9);box-shadow:0 19px 38px #55798620,inset 0 1px 0 #fff5}
.message.assistant{background:#f0f2f7e0;box-shadow:0 0 3px #ffffff38}
#composer{box-shadow:0 1px 2px #7c919a1c,inset 0 0 0 1px #ffffffb3}
#add svg{stroke-width:1.2}#mic svg{stroke-width:1.2;color:#48616a}
.top .capsule #more{color:#40565e}
}

/* Same-text, native-pixel font study: Google Sans has the closest tested bowl,
   single-storey g and open terminals. It is an approximation, not identification.
   Three local OFL subsets; original Inter and all <1000px rules stay intact. */
@media(min-width:1000px){
@font-face{font-family:AtlasDesktop;src:url(google-sans-400.woff2) format('woff2');font-weight:100 449;font-style:normal;font-display:swap}
@font-face{font-family:AtlasDesktop;src:url(google-sans-500.woff2) format('woff2');font-weight:450 549;font-style:normal;font-display:swap}
@font-face{font-family:AtlasDesktop;src:url(google-sans-600.woff2) format('woff2');font-weight:550 900;font-style:normal;font-display:swap}
body,button,input,textarea,select{font-family:AtlasDesktop,Inter,system-ui,sans-serif}
.message.user,.message.assistant{letter-spacing:.1px;font-weight:400;color:#1e2d34}
#draft{letter-spacing:.03px}
.rail-navigation button,.context-list button,.context-list b{font-weight:400}
.rail-heading>a{letter-spacing:-.025em}
.rail-navigation svg{width:20px;height:20px;stroke-width:1.2}.rail-navigation button{gap:11px}
.rail-navigation button:has(img){gap:13px}
.rail-pinned svg{stroke-width:1.25}
.context-toolbar svg{stroke-width:1.4}
.context-toolbar button:last-child svg{width:26px;height:26px;stroke-width:1.05}
#app{background:#e0eef6}
}

/* Smaller desktop chat typography requested after visual review. */
@media(min-width:1000px){
 .message.user,.message.assistant{font-size:16px;line-height:24px}
 #draft{font-size:14px;line-height:22px}
}

/* Clear desktop glass: surface alpha only, never fade labels. */
@media(min-width:1000px){
 #app{background:rgba(233,246,252,.12);backdrop-filter:blur(8px) saturate(112%);-webkit-backdrop-filter:blur(8px) saturate(112%);border-color:#ffffff85;box-shadow:0 19px 38px #355f7b19,inset 0 1px 0 #ffffff99}
 .reference-rail,.reference-context{background:linear-gradient(145deg,#ffffff26,#edf7ff30);backdrop-filter:blur(10px) saturate(112%);-webkit-backdrop-filter:blur(10px) saturate(112%);border-color:#ffffff99;box-shadow:0 18px 34px #355f7b20,inset 0 1px 0 #ffffff99;color:#182f3c}
 .message.assistant{background:#f6f9fd66;color:#182c38;border:1px solid #ffffff52;box-shadow:inset 0 1px 0 #ffffff4d}
 .message.user{background:#a9dfff59;color:#182c38;border:1px solid #ffffff52}
 #composer.optical-control{background:#ffffff66!important;border:1px solid #ffffffb3!important;box-shadow:inset 0 1px 0 #ffffff99,0 3px 12px #355f7b0d!important}
 #draft{color:#182c38}#draft::placeholder{color:#405968;opacity:1}
 .rail-segment{background:#ffffff1f}.rail-segment button[aria-pressed=true],.rail-navigation button[aria-current=page]{background:#ffffff6b}
 .context-toolbar button:first-child{background:#ffffff30}
}
@media(min-width:1000px) and (prefers-reduced-transparency:reduce), (min-width:1000px) and (prefers-contrast:more){
 #app,.reference-rail,.reference-context{background:#edf5fa;backdrop-filter:none;-webkit-backdrop-filter:none}
 .message.assistant,#composer.optical-control{background:#fff!important}.message.user{background:#d2ecfa}
}

/* Half the outer desktop whitespace and interior padding. */
@media(min-width:1000px){
 :root{--edge:2.5vw;--panel-top:5.7875895dvh;--panel-height:88.424821dvh;--chat-left:16.71875vw;--content-left:2.34375vw;--content-right:11.6796875vw}
 #app{right:14.84375vw}
 .reference-rail{left:2.5vw;top:7.6969dvh;height:84.24821dvh;padding:8px 6px 9px}
 .reference-context{right:2.5vw;top:7.39857dvh;height:86.2768495dvh}
 .context-scroll{padding:8.5px 9px 10px}
 .top{padding-top:9.5px}
 .dock{padding-top:6px;padding-bottom:16px}
 .message.assistant{padding:7.5px 9px 7.5px 9.5px}
 .message.user{padding:7px 9px;min-height:38px}
}
@media(min-width:1000px) and (max-width:1199px){
 :root{--chat-left:calc(2.5vw + 166px);--content-left:20px;--content-right:20px}
 #app{right:2.5vw}
}
@media(min-width:1000px) and (max-height:720px){
 :root{--panel-top:2.5dvh;--panel-height:95dvh}
 .reference-rail{top:4dvh;height:92dvh;padding-top:6px;padding-bottom:6px}
 .reference-context{top:3.75dvh;height:92.5dvh}
 .dock{padding-bottom:11px}
}

/* Restore spacing to 75% of the original desktop values. */
@media(min-width:1000px){
 :root{--edge:3.75vw;--panel-top:8.68138425dvh;--panel-height:82.6372315dvh;--chat-left:17.96875vw;--content-left:3.515625vw;--content-right:12.51953125vw}
 #app{right:16.09375vw}
 .reference-rail{left:3.75vw;top:11.54535dvh;height:76.372315dvh;padding:12px 9px 13.5px}
 .reference-context{right:3.75vw;top:11.097855dvh;height:79.41527475dvh}
 .context-scroll{padding:12.75px 13.5px 15px}
 .top{padding-top:14.25px}.dock{padding-top:9px;padding-bottom:24px}
 .message.assistant{padding:11.25px 13.5px 11.25px 14.25px}
 .message.user{padding:10.5px 13.5px;min-height:44px}
}
@media(min-width:1000px) and (max-width:1199px){
 :root{--chat-left:calc(3.75vw + 166px);--content-left:30px;--content-right:30px}#app{right:3.75vw}
}
@media(min-width:1000px) and (max-height:720px){
 :root{--panel-top:3.75dvh;--panel-height:92.5dvh}
 .reference-rail{top:6dvh;height:88dvh;padding-top:9px;padding-bottom:9px}
 .reference-context{top:5.625dvh;height:88.75dvh}.dock{padding-bottom:16.5px}
}
