/* Header reflows as editable text grows; all four destinations remain reachable. */
.top>div{min-width:0}
.top .mode{flex-wrap:wrap;align-content:flex-start;justify-content:flex-start;gap:8px 6px;line-height:1.45;text-transform:none}
.top .mode [data-mode]{white-space:nowrap;line-height:1.45}
.top .navcell{display:flex!important;flex-wrap:wrap;align-content:flex-start;gap:20px}
.top .browse-controls{flex:1 1 250px}
.top .toplinks{flex-wrap:wrap;line-height:1.5}
.top .identity{flex-wrap:wrap;align-content:flex-start}
.top #identityRoles{max-width:100%;overflow-wrap:anywhere}
.top .identity .based{margin-left:auto}
.shell{height:auto;min-height:100%;grid-template-rows:auto minmax(240px,1fr) minmax(150px,25vw);overflow:visible}
.app{overflow:auto}
.top{min-height:220px}
.introduce-mode .shell{grid-template-rows:auto auto minmax(170px,25vw)}
.introduce-mode .top{min-height:140px}
.ed-title{font-family:Arial,"Helvetica Neue",Helvetica,"PingFang SC",sans-serif}
@media(max-width:1100px){.top{grid-template-columns:1fr 1fr}.top>.navcell{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}.top .browse-controls{flex-basis:65%}}
@media(max-width:820px){.top{grid-template-columns:1fr;min-height:0}.top>.mode{grid-column:1;grid-row:1;border-left:0!important;border-bottom:1px solid var(--line);padding:16px 14px}.top>.identity{grid-row:2;border-left:0!important}.top>.navcell{grid-column:1;grid-row:3;padding:14px}.top .browse-controls{flex-basis:100%}.top .tag-filter{flex-wrap:wrap}.top .tag-filter select{max-width:100%}.top .mode{justify-content:flex-start}.introduce-mode .top>.navcell{display:flex}.introduce-mode .top .toplinks{margin-left:auto}.ed-title{overflow-wrap:anywhere}}

.introduce-mode .browse-controls{display:none}
.top .mode-item{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}

body{font-size:calc(16px * var(--type-scale,1))}
