:root {
 color-scheme: light;
 --page: #f6f7f9;
 --panel: #fff;
 --canvas: #f3f4f7;
 --ink: #171a24;
 --dim: #5a6070;
 --subtle: #747b8b;
 --line: #e3e5eb;
 --strong-line: #ced2dc;
 --blue: #4440a7;
 --blue-ink: #383393;
 --blue-soft: #ebebfb;
 --amber: #86501f;
 --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
 --top: 57px;
 --bottom: 62px;
}
*, *::before, *::after { box-sizing:border-box }
[hidden] { display:none!important }
html { -webkit-text-size-adjust:100% }
body { margin:0; font:15px/1.45 var(--sans); color:var(--ink); background:var(--page) }
button, input, textarea, select { font:inherit }
button, a, summary { -webkit-tap-highlight-color:transparent }
button { color:inherit; cursor:pointer; border:0; background:none; padding:10px 14px; min-height:42px; border-radius:9px; font-weight:550 }
button:disabled { opacity:.54; cursor:wait }
button:active:not(:disabled), summary:active { background:var(--blue-soft) }
a { color:inherit }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline:2px solid var(--blue); outline-offset:3px }
p { margin:0 0 12px }
h1, h2, h3 { font-weight:650; margin:0 0 9px; line-height:1.15 }
h1 { font-size:30px; letter-spacing:-.045em }
h2 { font-size:24px; letter-spacing:-.038em }
h3 { font-size:16px; letter-spacing:-.017em }
form label { display:block; color:var(--dim); font-size:14px; margin:0 0 14px }
input, textarea, select { display:block; width:100%; min-width:0; color:var(--ink); background:var(--panel); border:1px solid var(--strong-line); border-radius:9px; padding:10px 12px; margin-top:5px; font-size:16px }
input[type=file] { background:transparent; padding:8px; font-size:14px }
textarea { resize:vertical; min-height:94px }
.primary { color:#fff; background:var(--blue); }
.primary:is(:active,:hover):not(:disabled) { background:var(--blue-ink) }
.quiet { color:var(--blue-ink) }
svg.icon { flex:none; display:block; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round }
.mast { position:relative; z-index:4; display:flex; align-items:center; gap:12px; min-height:var(--top); padding:env(safe-area-inset-top) max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left)); background:var(--panel); border-bottom:1px solid var(--line) }
.brand { display:flex; align-items:center; gap:9px; text-decoration:none; font-weight:720; letter-spacing:-.035em; white-space:nowrap; font-size:17px }
.brand svg { width:19px; height:19px; color:var(--blue) }
.badge { color:var(--dim); font-size:.62rem; letter-spacing:.07em; font-weight:650; white-space:nowrap }
#logout { margin-left:auto; color:var(--dim); font-size:14px }
#more { display:none; position:relative; margin-left:auto }
#more summary { list-style:none; cursor:pointer; min-height:44px; min-width:44px; padding:0 9px; display:flex; align-items:center; justify-content:center; font-weight:630; color:var(--dim); border-radius:9px }
#more summary::-webkit-details-marker { display:none }
.more-menu { min-width:188px; max-width:calc(100vw - 24px); padding:4px 6px; position:absolute; z-index:4; right:0; top:calc(100% + 3px); border:1px solid var(--line); border-radius:14px; background:var(--panel); box-shadow:0 10px 32px #11142a25 }
.more-menu button { width:100%; text-align:left; min-height:44px }
.hero { min-height:51px; display:flex; align-items:center; justify-content:space-between; background:var(--panel); border-bottom:1px solid var(--line); padding:0 23px }
.hero nav { display:flex; min-width:0; gap:20px }
.hero p { color:var(--subtle); margin:0 0 0 10px; font-size:12px; white-space:nowrap }
.nav { display:flex; align-items:center; justify-content:center; gap:7px; position:relative; border-radius:0; padding:9px 1px; color:var(--dim); font-size:14px; min-height:50px }
.nav .icon { width:17px; height:17px }
.nav.active { color:var(--blue-ink) }
.nav.active::after { content:""; position:absolute; bottom:-1px; left:0; right:0; height:2px; background:var(--blue) }
.gate { max-width:470px; margin:10vh auto 20px; padding:0 22px }
.gate form { padding-top:11px }
.gate button { margin-right:5px }
.workspace { display:grid; min-width:0 }
.workspace-tree { grid-template-columns:minmax(0,1fr) minmax(300px,25vw); flex:1; min-height:0 }
.workspace-people { grid-template-columns:minmax(285px,33vw) minmax(0,1fr); min-height:calc(100dvh - var(--top) - 51px) }
.workspace-tree .picker-dock { display:none }
.profile-dock { min-width:0; background:var(--panel); border-left:1px solid var(--line) }
.workspace-tree .profile-dock { overflow:auto; overscroll-behavior:contain }
.workspace-people .profile-dock { display:grid; align-content:start; justify-items:center }
.workspace-people .profile-panel { width:min(100%,740px); padding-top:26px }
.workspace-people .picker-dock { background:var(--panel); padding:19px 19px 32px }
.person-picker { display:flex; flex-direction:column; min-width:0 }
.person-picker label { font-size:13px; font-weight:640; color:var(--dim) }
.person-picker input { border:0; background:#f1f2f6; padding:10px 14px; min-height:45px; margin:7px 0 5px }
.results { display:flex; flex-direction:column; margin:4px 0; min-width:0 }
.result { position:relative; width:100%; min-height:57px; border-radius:0; border-bottom:1px solid var(--line); padding:10px 28px 10px 5px; text-align:left; overflow-wrap:anywhere }
.result::after, .person-link::after { content:""; position:absolute; right:8px; top:50%; width:7px; height:7px; border-top:1.5px solid var(--subtle); border-right:1.5px solid var(--subtle); transform:translateY(-55%) rotate(45deg) }
.result[aria-current=true] { color:var(--blue-ink) }
.search-empty { padding:12px 4px }
.meta, .subtle { display:block; color:var(--dim); font-size:13px; font-weight:400 }
.result .meta, .person-link .meta { line-height:1.2; margin-top:3px }
.tree-mode { overflow:hidden; height:100vh; height:100dvh; display:flex; flex-direction:column; }
.tree-mode main, .tree-mode #archive, .tree-mode #sheet { min-height:0; flex:1; display:flex; flex-direction:column; }
.tree-mode .mast, .tree-mode .hero { flex:none }
.tree-stage { display:flex; flex-direction:column; min-height:0; min-width:0; position:relative; background:var(--canvas) }
.tree-bar { display:flex; flex:none; align-items:center; gap:8px; min-height:55px; padding:5px 16px; border-bottom:1px solid var(--line); background:#fafbfc }
.tree-branch { flex:1; min-width:0; font-size:16px; font-weight:690; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; margin:0; letter-spacing:-.03em }
.tree-back { display:flex; align-items:center; gap:4px; padding:6px 8px 6px 2px; color:var(--blue-ink); font-size:13px; white-space:nowrap }
.tree-back .icon { width:16px; height:16px }
.tree-search { display:flex; align-items:center; gap:6px; padding:8px 10px; color:var(--blue-ink); white-space:nowrap; font-size:14px }
.tree-search .icon { width:17px; height:17px }
.graph-pane { position:relative; min-height:0; flex:1; display:flex; flex-direction:column; }
.graph-pane[aria-busy=true] .kin { opacity:.52; pointer-events:none }
.empty-tree { margin:0; padding:25px 20px 5px; color:var(--dim) }
.empty-action { align-self:flex-start; margin-left:6px; color:var(--blue-ink) }
.kin { display:flex; flex-direction:column; min-height:0; flex:1; position:relative; }
.kin-canvas { display:block; width:100%; flex:1; min-height:0; touch-action:none; cursor:grab; user-select:none; -webkit-user-select:none; background:radial-gradient(circle,#d4d8e2 1px, transparent 1px) 0 0/18px 18px,var(--canvas) }
.kin-canvas:active { cursor:grabbing }
.kin-wire { fill:none; stroke:#a3a9bc; stroke-width:1.65; vector-effect:non-scaling-stroke }
.kin-wire.proposed { stroke:#a46639; stroke-dasharray:5 4; stroke-width:1.8 }
.kin-wire.qualified { stroke-dasharray:3 3 }
.kin-person { cursor:pointer; outline:none }
.kin-person rect { fill:#fff; stroke:#babfcd; stroke-width:1; vector-effect:non-scaling-stroke }
.kin-person.kin-focus rect { fill:#28254e; stroke:#28254e }
.kin-person.kin-proposed rect { fill:#fff6ed; stroke:#a46639; stroke-dasharray:4 3 }
.kin-person:is(:focus-visible,.kin-selected) rect { stroke:var(--blue); stroke-width:2.6 }
.kin-person.kin-focus:is(:focus-visible,.kin-selected) rect { stroke:#7773e0 }
.kin-name { font:620 14px var(--sans); fill:var(--ink); }
.kin-date { font:500 11.4px var(--sans); fill:#5a657a; }
.kin-person.kin-focus .kin-name { fill:#fff }
.kin-person.kin-focus .kin-date { fill:#dedcff }
.kin-person.kin-proposed .kin-date { fill:var(--amber) }
.kin-person text { pointer-events:none }
.kin-tools { display:flex; flex:none; align-items:center; gap:1px; min-height:52px; padding:3px 13px; background:#fafbfc; border-top:1px solid var(--line) }
.kin-tools button { padding:5px 10px; min-width:44px; min-height:44px; font-size:22px; font-weight:480; color:var(--blue-ink) }
.kin-tools button:last-child { border-left:1px solid var(--line); border-radius:0; margin-left:5px; padding-left:12px; font-size:14px; font-weight:680 }
.kin-caption { flex:1; color:var(--subtle); font-size:11px; margin-right:6px; }
.profile-panel { padding:22px 22px 32px; min-width:0 }
.profile-title { display:flex; align-items:flex-start; flex-wrap:wrap; justify-content:space-between; gap:0 8px }
.profile-title h2 { overflow-wrap:anywhere; align-self:center; margin:0 0 4px; letter-spacing:-.045em }
.profile-panel h3 { margin-top:23px }
.centre-tree { color:var(--blue-ink); margin:0 -8px 0 0; font-size:14px; padding:8px }
.profile-panel details { margin:17px 0 0 }
.profile-panel summary { min-height:47px; display:list-item; padding:12px 0; cursor:pointer; font-weight:630; border-block-start:1px solid var(--line) }
.profile-panel summary::marker { color:var(--subtle) }
.relations { display:grid; gap:9px 20px; margin:4px 0 18px; grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr)) }
.relations h3 { font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--dim); margin:7px 0 1px }
.person-link { position:relative; display:block; border-bottom:1px solid var(--line); border-radius:0; width:100%; padding:6px 27px 6px 0; text-align:left; overflow-wrap:anywhere; min-height:44px }
.timeline { list-style:none; padding:0; margin:0 0 16px }
.timeline li { padding:10px 0 11px; border-bottom:1px solid var(--line); overflow-wrap:anywhere }
.timeline h3 { margin:0 0 4px; font-size:14px }
.cite { border-left:2px solid var(--strong-line); padding:0 0 0 9px; margin:8px 0 0; font-size:13px; overflow-wrap:anywhere }
.note { white-space:pre-wrap; overflow-wrap:anywhere }
.narrow { max-width:750px; padding:22px 20px 32px; margin:0 auto }
.queue-card { border-bottom:1px solid var(--line); padding:13px 0 }
.queue-card button { margin-right:5px }
.pill { color:var(--blue-ink); background:var(--blue-soft); display:inline-block; margin-bottom:4px; padding:2px 6px; font-size:12px; border-radius:4px; text-transform:capitalize }
.grid { display:grid; gap:12px }
#status, #overlay-status { z-index:5; color:#473218; background:#fff6dd; padding:10px 13px; margin:0; font-size:14px }
#status { position:fixed; right:14px; bottom:14px; max-width:min(430px,calc(100% - 28px)); border:1px solid #f2daba; border-radius:11px; box-shadow:0 5px 20px #211b1012 }
#overlay { max-width:none; padding:0; border:0; color:var(--ink); background:transparent; }
#overlay::backdrop { background:#14193466 }
.overlay-frame { display:flex; flex-direction:column; overflow:hidden; min-height:0; background:var(--panel); border-radius:17px; box-shadow:0 16px 45px #11152b23; }
.overlay-head { display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid var(--line); padding:3px 12px 3px 18px; flex:none }
.overlay-head h2 { font-size:14px; color:var(--dim); margin:0; font-weight:630 }
#overlay-close { color:var(--blue-ink); min-height:44px; }
#overlay-content { min-height:0; flex:1; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
#overlay .person-picker { padding:14px 18px 20px }
#overlay .person-picker label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#overlay[data-kind=search] .overlay-frame { height:min(71vh,600px) }
#overlay-content .profile-panel { max-width:none; }
#overlay[data-kind=profile] .overlay-frame { height:min(84vh,760px) }
.person-photo { display:block; width:76px; height:76px; border-radius:20px; object-fit:cover; margin:0 0 13px; background:var(--canvas) }
.edit-fields { display:grid; grid-template-columns:1fr 1fr; gap:0 10px }
.edit-fields label:first-child { grid-column:1/-1 }
.edit-actions { display:flex; align-items:center; gap:6px; flex-wrap:wrap }
.photo-form { margin:14px 0 3px; border-top:1px solid var(--line); padding-top:12px }
body.tree-mode:has(#overlay[open]), body:has(#overlay[open]) { overflow:hidden }
@media (min-width:701px) {
 #overlay { width:min(500px, calc(100vw - 35px)); }
 #overlay[data-kind=profile] { position:fixed; inset:10px max(10px,env(safe-area-inset-right)) 10px auto; margin:0; width:min(470px,47vw) }
 #overlay[data-kind=profile] .overlay-frame { height:calc(100dvh - 20px) }
}
@media(max-width:1050px), (max-width:1366px) and (pointer:coarse) {
 .workspace-tree, .workspace-people { grid-template-columns:minmax(0,1fr) }
 .workspace .profile-dock { display:none }
 .workspace-people { min-height:0 }
 .workspace-people .picker-dock { max-width:none; width:100% }
 #logout { display:none }
 #more { display:block }
 #feedback, #settings { display:none }
 .hero p { display:none }
 .hero { position:fixed; z-index:3; bottom:0; left:0; right:0; min-height:var(--bottom); border-top:1px solid var(--line); border-bottom:0; padding:0 max(12px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(12px,env(safe-area-inset-left)); }
 .hero nav { display:grid; grid-template-columns:repeat(3,minmax(85px,1fr)); gap:4px; width:min(100%,510px); margin:auto }
 .nav { flex-direction:column; gap:3px; min-height:var(--bottom); padding:6px 2px; font-size:11px; line-height:1.1; }
 .nav .icon { width:21px; height:21px }
 .nav.active::after { top:-1px; height:2px; bottom:auto; margin:auto; width:27px; border-radius:0 0 8px 8px; }
 body:not(.tree-mode) #archive:not([hidden]) #sheet { padding-bottom:calc(var(--bottom) + env(safe-area-inset-bottom)) }
 .tree-mode #sheet { margin-bottom:calc(var(--bottom) + env(safe-area-inset-bottom)) }
 #status { bottom:calc(var(--bottom) + env(safe-area-inset-bottom) + 8px) }
}
@media(max-width:700px) {
 .mast { padding-inline:max(15px,env(safe-area-inset-left)) max(11px,env(safe-area-inset-right)); gap:7px; }
 .badge { font-size:9px }
 .tree-bar { padding:5px max(10px,env(safe-area-inset-right)) 5px max(12px,env(safe-area-inset-left)); gap:4px }
 .tree-search { min-height:44px }
 .tree-back { min-height:44px }
 .kin-tools { padding-inline:12px 8px }
 .workspace-people .picker-dock { padding:12px 15px 18px }
 .profile-panel { padding:17px 18px 30px; }
 .profile-title h2 { font-size:27px }
 #overlay { position:fixed; inset:auto 0 0; width:100%; margin:0; max-height:100%; }
 .overlay-frame { padding-bottom:env(safe-area-inset-bottom); border-radius:21px 21px 0 0; }
 .overlay-frame::before { content:""; height:4px; width:35px; flex:none; border-radius:3px; align-self:center; margin-top:6px; background:var(--strong-line); }
 #overlay[data-kind=profile] .overlay-frame { height:min(88dvh,915px) }
 #overlay[data-kind=search] .overlay-frame { height:min(91dvh,790px) }
 .overlay-head { padding-left:18px }
}
@media (hover:hover) {
 button:not(:disabled):hover { background:var(--blue-soft); color:var(--blue-ink); }
 .primary:not(:disabled):hover { color:#fff; background:var(--blue-ink) }
 .kin-person:not(.kin-focus):hover rect { stroke:var(--blue); }
}
@media (prefers-reduced-motion:no-preference) {
 #overlay[open] .overlay-frame { animation:reveal .19s cubic-bezier(.22,.8,.27,1) both }
 @keyframes reveal { from { opacity:.4; transform:translateY(12px) } to { opacity:1; transform:translateY(0) } }
}
.overlay-frame { translate:0 var(--pull,0px) }
@media(max-width:700px) { .overlay-head { touch-action:none } }
.generation-tools { flex:none; display:flex; flex-wrap:wrap; align-items:center; gap:0 2px; min-height:45px; padding:0 10px; background:#fafbfc; border-top:1px solid var(--line); }
.generation-tools button { color:var(--blue-ink); padding:0 8px; min-height:44px; font-size:13px; white-space:nowrap; }
.generation-tools button:disabled { opacity:.48; cursor:default }
.generation-tools .collapse-branch { margin-left:auto }
.generation-hint:not(:empty) { padding:4px 8px 6px; font-size:12px; color:var(--dim); }
@media(max-width:700px) {
 #overlay { bottom:var(--sheet-gap,0px) }
 #overlay[data-kind=profile] .overlay-frame { height:min(88dvh,var(--sheet-height,100dvh),915px) }
 #overlay[data-kind=search] .overlay-frame { height:min(91dvh,var(--sheet-height,100dvh),790px) }
}

/* Research: inbox list, conversation and one compose surface. */
.research-workspace { display:grid; grid-template-columns:minmax(285px,31vw) minmax(0,1fr); min-height:calc(100dvh - var(--top) - 51px); background:var(--panel) }
.research-inbox { min-width:0; align-self:start; border-right:1px solid var(--line); min-height:inherit }
.research-list-head { display:flex; align-items:center; min-height:71px; gap:12px; padding:12px 20px; border-bottom:1px solid var(--line) }
.research-list-head h1 { flex:1; margin:0; font-size:25px }
.research-new { white-space:nowrap; min-height:42px; padding:8px 12px; font-size:13px }
.research-main { width:100%; max-width:850px; margin:0 auto; min-width:0 }
.research-main-head { padding:13px clamp(18px,3vw,35px) 14px; min-height:71px; border-bottom:1px solid var(--line); background:var(--panel) }
.research-main-head h1, .research-main-head h2 { margin:2px 0 0; overflow-wrap:anywhere; font-size:clamp(24px,3.8vw,34px) }
.research-main-head h1:focus { outline:none }
.research-back { color:var(--blue-ink); display:none; margin-left:-9px; min-height:44px; padding-inline:8px; align-items:center; gap:6px; font-size:14px; }
.research-back::before { content:""; display:block; height:8px; width:8px; border-left:1.7px solid currentColor; border-bottom:1.7px solid currentColor; transform:rotate(45deg) }
.research-list { padding:0 12px 10px; min-width:0 }
.research-row { padding:14px 14px 15px 12px; text-align:left; width:100%; border-radius:0; display:grid; gap:4px; min-width:0; border-bottom:1px solid var(--line) }
.research-row[aria-current=page] { border-left:2px solid var(--blue); padding-left:10px; background:var(--blue-soft) }
.research-row-top { display:flex; align-items:baseline; gap:6px; min-width:0 }
.research-row-top strong { flex:1; min-width:0; font-size:15px; overflow-wrap:anywhere; line-height:1.25 }
.research-row time { font-size:11px; color:var(--subtle); white-space:nowrap }
.research-preview { color:var(--dim); font-size:13px; font-weight:440; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere }
.research-row-status { color:var(--blue-ink); font-size:11px; font-weight:580 }
.research-note { font-size:13px; color:var(--dim); font-weight:400 }
.research-empty, .research-list>.research-note, .research-list>.research-error, .research-main>.research-note, .research-main>.research-error { padding:16px 12px 0; color:var(--dim) }
.research-main>.research-note, .research-main>.research-error { padding-left:clamp(18px,3vw,35px) }
.research-inbox-placeholder { padding:24px 25px; color:var(--subtle) }
.research-thread-content, .research-compose { padding:18px clamp(18px,3vw,35px) 30px; }
.research-thread-content h2 { font-size:17px; margin-bottom:8px }
.research-entry { border-bottom:1px solid var(--line); padding:12px 0; margin-bottom:4px }
.research-entry header { display:flex; justify-content:space-between; gap:8px; margin-bottom:6px }
.research-entry header time { color:var(--subtle); font-size:12px; white-space:nowrap }
.research-body { white-space:pre-wrap; overflow-wrap:anywhere; margin-bottom:0 }
.research-opening { padding:0 0 16px }
.research-replies { margin-top:23px }
.research-sharing, .research-pending { background:#f6f6fb; padding:12px; border-radius:12px; margin:14px 0; }
.research-sharing { display:flex; gap:4px 12px; flex-wrap:wrap; align-items:center }
.research-sharing div { flex:1 1 185px }
.research-sharing strong { font-size:14px }
.research-sharing p { margin:3px 0 0 }
.research-sharing .research-error:not([hidden]) { display:block; width:100% }
.research-pending p { margin-bottom:6px }
.research-pending button { margin-right:4px }
.research-reply { padding:15px 0 0 }
.research-reply textarea { min-height:82px }
.research-compose { max-width:720px; }
.research-compose fieldset { border:0; margin:0; min-inline-size:0; padding:0 }
.research-compose .research-consent { border-block:1px solid var(--line); padding:13px 0; margin:17px 0; display:flex; align-items:flex-start; gap:10px; color:var(--ink) }
.research-consent input { width:21px; height:21px; flex:none; margin:1px 0 0; accent-color:var(--blue) }
.research-consent .research-note { display:block; margin-top:3px }
.research-attachments { margin:17px 0 11px }
.research-attach { color:var(--blue-ink); padding-left:4px; display:inline-flex; align-items:center; gap:7px; text-align:left; }
.research-attach::before { content:"+"; border:1.5px solid currentColor; width:18px; height:18px; border-radius:50%; text-align:center; line-height:15px; font-size:14px }
.research-attach-form .primary { margin-top:7px }
.research-files,.research-file-picks { margin:4px 0; padding:0; display:grid; list-style:none; gap:5px }
.research-files { grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); }
.research-file { display:flex; align-items:center; text-decoration:none; border:1px solid var(--line); gap:10px; border-radius:9px; padding:7px; min-height:56px; }
.research-file-name { min-width:0; overflow-wrap:anywhere; display:grid }
.research-file-name strong { font-size:13px }
.research-file-tag { display:grid; flex:none; place-items:center; width:45px; height:30px; border-radius:6px; color:var(--blue-ink); background:var(--blue-soft); font-size:10px; font-weight:650; }
.research-thumb { display:block; width:45px; height:45px; object-fit:cover; border-radius:6px; background:var(--canvas); flex:none }
.research-file-pick { display:flex; align-items:center; gap:8px; padding:0 4px; min-height:44px; border-bottom:1px solid var(--line) }
.research-filename { flex:1; min-width:0; overflow-wrap:anywhere; font-size:14px }
.research-remove-file { min-width:44px; min-height:44px; color:var(--dim); font-size:18px; display:grid; place-items:center }
.research-error { font-size:13px; color:var(--dim); margin:6px 0 }
.research-error.is-error { color:#922c22; overflow-wrap:anywhere }
@media (max-width:1050px), (max-width:1366px) and (pointer:coarse) {
 .can-research .hero nav { grid-template-columns:repeat(4,minmax(62px,1fr)) }
 .research-workspace { grid-template-columns:minmax(0,1fr); min-height:calc(100dvh - var(--top) - var(--bottom) - env(safe-area-inset-bottom)) }
 .research-inbox { border-right:0; min-height:0 }
 .is-inbox .research-main, .is-thread .research-inbox, .is-compose .research-inbox { display:none }
 .research-list-head { max-width:850px; margin:auto }
 .research-list { max-width:850px; margin:auto }
 .research-main-head { padding-top:3px; }
 .research-back { display:flex }
}
@media(max-width:700px) {
 .research-list-head { padding:10px 16px; }
 .research-list { padding-inline:10px; }
 .research-list-head h1 { font-size:26px }
 .research-main-head { padding-inline:17px }
 .research-thread-content, .research-compose { padding-inline:17px }
}
