.galaxy-workspace{height:clamp(410px,65vh,850px);background:#090b13;border-color:#2b2e41;border-radius:22px;box-shadow:inset 0 0 100px #0a0b13}
.galaxy-workspace canvas{width:100%;height:100%;touch-action:none}
.galaxy-workspace{position:relative;background:#070910}
.galaxy-observatory{position:absolute;top:24px;left:25px;z-index:1;display:grid;gap:5px;pointer-events:none;text-shadow:0 2px 15px #000}
.galaxy-observatory .eyebrow{font-size:.58rem;letter-spacing:.2em;color:#9795aa}.galaxy-observatory strong{font-size:1.15rem;font-weight:500;letter-spacing:-.04em;color:#eee9f6}.galaxy-observatory>span:last-child{font-size:.7rem;color:#a1b7ad;display:flex;align-items:center;gap:6px}.galaxy-observatory>span:last-child::before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}
.galaxy-workspace:fullscreen{width:100vw;height:100dvh;border:0;border-radius:0;padding:0}.galaxy-workspace:fullscreen canvas{width:100%;height:100%}
@media(max-width:600px){.galaxy-observatory{top:18px;left:18px}.galaxy-observatory strong{font-size:1rem}.galaxy-observatory .eyebrow{font-size:.5rem}}
.galaxy-preview{background:#090b13}
.galaxy-simulation{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:4px 0 18px}
.galaxy-simulation label{display:flex;align-items:center;gap:8px;font-size:.875rem;color:var(--muted)}
.galaxy-simulation select{width:auto;max-width:250px;min-height:40px;font-size:.875rem}
.galaxy-simulation select{color:var(--text);background:#191b22;border:1px solid var(--line);border-radius:9px;padding:9px 27px 9px 11px;cursor:pointer;color-scheme:dark}
.main.galaxy-main{padding-top:26px}.galaxy-main .page-heading{margin-bottom:22px}.galaxy-main .toolbar{margin-bottom:17px}.galaxy-main .page-heading h1{font-size:1.8rem}
.galaxy-simulation .check-row{padding:8px 10px;margin:0}
.galaxy-simulation #galaxy-focus{margin-left:auto}
.galaxy-caption{pointer-events:none}
.physics-caption{max-width:820px;line-height:1.7;margin:16px 0 0}
.galaxy-index{border:1px solid var(--line);border-radius:14px;margin-top:18px;background:var(--surface)}
.galaxy-index>summary{padding:18px;cursor:pointer;display:flex;gap:10px;align-items:center;font-size:.875rem}
.knowledge-tree{padding:6px 20px 20px;max-height:580px;overflow:auto}
.tree-branch>summary{display:flex;align-items:center;gap:6px;cursor:pointer}
.tree-branch>summary::before{content:'›';color:var(--muted);width:12px}
.tree-branch[open]>summary::before{transform:rotate(90deg)}
.tree-leaf{padding-left:18px}
.tree-children{margin-left:22px;border-left:1px solid var(--line);padding-left:10px}
.knowledge-tree button{display:flex;align-items:center;gap:10px;min-height:43px;padding:8px 9px;width:100%;text-align:left;font-size:.875rem;border-radius:8px}
.knowledge-tree button:hover{background:var(--raised)}
.knowledge-tree button>span:nth-child(2){flex:1}.knowledge-tree button small{font-size:.75rem;color:var(--muted)}
.tree-kind{color:#b9a5f3;display:inline-flex}
.note-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:var(--muted);font-size:.875rem;margin:0 0 18px}
.note-breadcrumb button{color:#c8b5ff;text-align:left}.note-children{padding:12px 0 24px;border-bottom:1px solid var(--line);margin:16px 0}
.note-structure-fields{display:grid;grid-template-columns:1fr 2fr;gap:16px}
.finance-slot{height:calc(100dvh - 217px);min-height:420px}
#finance-dock{position:fixed;z-index:12;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#111215}
#finance-dock[hidden]{display:none}
#finance-dock iframe{display:block;border:0;width:100%;height:100%;background:#111215}
.infra-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:22px}
.infra-layout .knowledge-tree{max-height:none;padding-top:16px}.infra-summary{display:flex;gap:14px;align-items:center;padding:20px;border-bottom:1px solid var(--line)}
.infra-summary:last-child{border:0}.infra-summary h3{font-size:.95rem}.infra-summary p{color:var(--muted);font-size:.875rem;margin-top:4px}
@media(max-width:900px){.infra-layout{grid-template-columns:1fr}.galaxy-simulation #galaxy-focus{margin-left:0}.finance-slot{height:calc(100dvh - 207px)}}
@media(max-width:600px){.galaxy-workspace{height:58vh;min-height:370px}.galaxy-simulation{gap:8px}.galaxy-simulation select{max-width:180px}.galaxy-caption .legend{display:none}.note-structure-fields{grid-template-columns:1fr}.knowledge-tree{padding:8px}.knowledge-tree button small{display:none}.tree-children{margin-left:8px}.finance-slot{height:calc(100dvh - 220px);min-height:380px}}
@media(prefers-reduced-motion:reduce){.galaxy-workspace *{transition:none!important}}

.finance-recovery{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:min(660px,94vw);z-index:10000;background:#211c2b;border:1px solid #b599e4;padding:20px;border-radius:16px;box-shadow:0 12px 60px #000}.finance-recovery p{margin-bottom:14px}.finance-recovery button{margin:4px}
/* The shell owns navigation. Keep the persistent tracker below every shell overlay. */
.sidebar{z-index:50;padding-top:22px;padding-bottom:14px;isolation:isolate}
.sidebar .brand{padding-bottom:20px}.sidebar-search{margin-bottom:18px;flex-shrink:0}
.sidebar-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#353741 transparent;margin-right:-10px;padding-right:10px;padding-bottom:12px;overscroll-behavior:contain}
.sidebar .nav-divider{margin:19px 10px}.sidebar .nav-label{padding-bottom:7px}.sidebar .nav{gap:2px}.sidebar .nav a{font-size:.84rem;padding:9px 11px;min-height:39px}.sidebar .nav a>span{min-width:0}.sidebar .nav svg{width:18px;height:18px}
.sidebar-bottom{padding-top:10px;flex-shrink:0;background:#141519}.sidebar .profile{margin-top:9px;padding-top:12px}.sidebar .avatar{width:32px;height:32px}.sidebar .profile-sub{font-size:.7rem}
.topbar{position:sticky;top:0;z-index:30;background:#101114f5;backdrop-filter:blur(18px)}
.nav-backdrop{position:fixed;inset:0;z-index:40;background:#08090c99;backdrop-filter:blur(4px)}.nav-backdrop[hidden]{display:none}
#finance-dock{z-index:2;border:0;border-radius:0;background:var(--bg)}
#finance-dock iframe{background:var(--bg)}
.main.tracker-main{padding:0;max-width:none;display:flex;flex-direction:column;height:calc(100dvh - 71px);min-height:0;overflow:hidden}
.local-banner + .tracker-main{height:calc(100dvh - 104px)}
.tracker-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 34px 18px;flex-shrink:0;border-bottom:1px solid var(--line)}
.tracker-toolbar h1{font-size:1.65rem;letter-spacing:-.045em;margin-top:5px}.tracker-toolbar .eyebrow{font-size:.65rem}
.tracker-actions{display:flex;align-items:center;gap:9px}.tracker-sync{font-size:.73rem;color:var(--teal);max-width:270px;line-height:1.5}
.finance-slot{height:auto;min-height:0;flex:1;width:100%}
.running-timer{display:flex;align-items:center;border:1px solid #91d7c530;background:#91d7c50a;color:var(--teal);font:500 .77rem Archivo,sans-serif;padding:11px;border-radius:10px;margin-bottom:10px;font-variant-numeric:tabular-nums}.running-timer[hidden]{display:none}
.workspace-links{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.tracker-toolbar{padding:20px 25px 16px}.tracker-sync{max-width:180px;font-size:.7rem}.workspace-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.sidebar{z-index:50}.topbar{z-index:30}.tracker-toolbar{padding:16px 19px;gap:12px}.tracker-toolbar h1{font-size:1.3rem}.tracker-toolbar .eyebrow{font-size:.58rem}.tracker-sync{display:none}.tracker-actions{gap:3px}.main.tracker-main{height:calc(100dvh - 63px)}.local-banner + .tracker-main{height:calc(100dvh - 96px)}.workspace-links{grid-template-columns:1fr}.galaxy-simulation select{max-width:100%}}
@media(min-width:901px){.nav-backdrop{display:none}.sidebar.open{transform:none}}
#finance-recoveries{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:min(660px,94vw);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;display:grid;gap:12px;z-index:10000}
#finance-recoveries>.finance-recovery{position:relative;bottom:auto;left:auto;transform:none;width:100%;z-index:auto}
@media(min-width:701px){.shell{grid-template-columns:238px minmax(0,1fr)}}
.galaxy-explorer{margin-top:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:22px}.galaxy-explorer-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.galaxy-explorer-head h2{margin-top:7px}.galaxy-explorer-head .row{flex-wrap:wrap}.galaxy-explorer-head [data-galaxy-up] svg{transform:rotate(180deg)}.galaxy-system-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:20px}.galaxy-system{display:flex;align-items:center;gap:9px;background:#ffffff03;border:1px solid var(--line);border-radius:10px;padding:12px;font-size:.82rem;text-align:left;min-height:55px}.galaxy-system:hover{background:var(--raised);border-color:#bbadfa66}.galaxy-system>span:nth-child(2){min-width:0;flex:1;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.galaxy-system small{font-size:.7rem;color:var(--muted);white-space:nowrap}.galaxy-system svg{width:15px;height:15px}.system-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--teal)}.system-dot.projects{background:var(--purple)}.system-dot.infrastructure{background:#92b7e6}.system-dot.personal{background:var(--amber)}
@media(max-width:1100px){.galaxy-system-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.galaxy-explorer{padding:17px}.galaxy-explorer-head{align-items:flex-start;flex-direction:column;gap:14px}.galaxy-system-list{grid-template-columns:1fr}.galaxy-simulation label{font-size:.78rem}.galaxy-simulation .btn{font-size:.78rem}.galaxy-workspace{min-height:360px}}

/* Explain the actual connected path without an inactive composer. */
.hermes-route{display:flex;align-items:center;justify-content:space-between;gap:24px}.hermes-route p{color:var(--muted);font-size:.9rem;line-height:1.7;margin-top:8px;max-width:650px}.hermes-route .btn{flex-shrink:0}.hermes-how{margin-bottom:24px}.hermes-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-left:24px;margin:0 0 24px}.hermes-steps li{padding-left:5px;color:var(--muted)}.hermes-steps strong{display:block;color:var(--text);font-size:.95rem;margin-bottom:9px}.hermes-steps span{font-size:.875rem;line-height:1.65}.hermes-how .tiny{margin-top:12px;line-height:1.7}@media(max-width:800px){.hermes-steps{grid-template-columns:1fr;gap:20px}.hermes-route{align-items:flex-start;flex-direction:column}}

/* Stable main destinations, with contextual tabs beside the workspace content. */
.workspace{min-width:0;display:flex;flex-direction:column;min-height:100dvh}
.workspace-chrome{position:sticky;top:0;z-index:30;flex-shrink:0;background:var(--bg)}
.workspace-chrome .topbar{position:static}
.workspace>.main{width:100%;margin:0 auto}
.workspace.has-tracker{height:100dvh;min-height:0;overflow:hidden}
.workspace.has-tracker>.main.tracker-main{height:auto;min-height:0;flex:1;padding:0;overflow:hidden}
.sidebar .primary-nav{gap:6px}
.sidebar .primary-nav a{min-height:46px;font-size:.92rem;padding:12px}
.sidebar .primary-nav a.active{background:#bbadfa16;color:#ede8ff}
.nav-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--teal);margin-left:auto}
.mobile-bottom-nav,.mobile-search,.mobile-timer{display:none}
/* A single tab strip is reused at every width. Wrapping keeps all destinations
   visible on narrow desktop panes without squeezing labels or adding a menu. */
.workspace-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:10px 34px;border-bottom:1px solid var(--line);background:var(--bg);min-width:0}
.workspace-tabs a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid transparent;border-radius:10px;font-size:.83rem;line-height:1.25;color:var(--muted);white-space:nowrap}
.workspace-tabs a:hover{background:#ffffff06;color:var(--text)}
.workspace-tabs a.active{border-color:#bbadfa24;background:#bbadfa0c;color:#e5dfff}
.workspace-tabs .icon{width:17px;height:17px;flex-shrink:0}
.workspace-tabs .count{color:var(--teal);font-size:.68rem}
.workspace-tabs[hidden],.mobile-timer[hidden]{display:none!important}
@media(min-width:701px) and (max-width:1100px){.workspace-tabs{padding-left:22px;padding-right:22px}.workspace-tabs a{padding-left:12px;padding-right:12px}}
@media(min-width:701px) and (max-width:950px){
  .workspace-tabs[data-count="6"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .workspace-tabs[data-count="6"] a{min-width:0;justify-content:center;padding-left:6px;padding-right:6px}
}

.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.more-card{display:flex;align-items:center;gap:20px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:17px;min-height:138px;transition:background .15s,border-color .15s}
.more-card:hover{background:var(--raised);border-color:#bbadfa55}
.more-card>div{flex:1;min-width:0}.more-card h2{font-size:1.06rem;letter-spacing:-.025em}.more-card p{font-size:.85rem;color:var(--muted);line-height:1.6;margin-top:8px}
.more-icon{width:48px;height:48px;border-radius:15px;background:#bbadfa0d;color:var(--purple);display:grid;place-items:center;flex-shrink:0}.more-icon .icon{width:23px;height:23px}.more-card>.icon{width:17px;color:var(--faint);flex-shrink:0}
.more-account{display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);margin-top:32px;padding-top:25px}.more-account strong{font-size:.9rem;font-weight:500}.more-account p{font-size:.8rem;color:var(--muted);margin-top:5px}
@media(max-width:1000px){.more-grid{grid-template-columns:1fr}}
@media(max-width:700px){
  .shell{--bottom-nav-space:calc(70px + env(safe-area-inset-bottom,0px));display:block}
  .shell>.sidebar{display:none}
  .workspace{padding-bottom:var(--bottom-nav-space)}
  .workspace.has-tracker{height:100dvh;min-height:0}
  .workspace-chrome .topbar{height:61px;padding:0 16px;gap:10px}
  .topbar .breadcrumb{min-width:0;flex:1}.topbar .breadcrumb strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.84rem}
  .topbar-actions{gap:4px;flex-shrink:0}.topbar-actions .pill{display:none}.topbar-actions .icon-btn{width:40px;height:42px;flex-shrink:0}
  .mobile-search{display:inline-grid}
  .mobile-timer{display:block;border:1px solid #91d7c52a;border-radius:8px;background:#91d7c508;color:var(--teal);font-size:.66rem;font-variant-numeric:tabular-nums;padding:8px 6px;white-space:nowrap;min-height:36px;align-content:center}
  .workspace-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:8px 13px 10px;border-bottom:1px solid var(--line);background:var(--bg)}
  .workspace-tabs[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}
  .workspace-tabs a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 6px;border:1px solid transparent;border-radius:10px;font-size:.76rem;line-height:1.25;color:var(--muted);text-align:center;white-space:normal}
  .workspace-tabs a.active{border-color:#bbadfa35;background:#bbadfa10;color:#e5dfff}.workspace-tabs a:hover{background:#ffffff07}
  .workspace-tabs .icon{width:16px;height:16px;flex-shrink:0}.workspace-tabs .count{font-size:.64rem;color:var(--teal)}
  .mobile-bottom-nav{position:fixed;z-index:45;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:var(--bottom-nav-space);padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid #303139;background:#17181df5;backdrop-filter:blur(20px)}
  .mobile-bottom-nav a{position:relative;min-width:0;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:5px 2px;border-radius:11px;color:#8f93a1;font-size:.66rem;font-weight:500;line-height:1.2}
  .mobile-bottom-nav a .icon{width:21px;height:21px}.mobile-bottom-nav a.active{color:#e1d8ff;background:#bbadfa10}.mobile-bottom-nav a.active:after{content:'';position:absolute;top:0;width:18px;height:2px;border-radius:3px;background:var(--purple)}
  .mobile-bottom-nav .nav-dot{position:absolute;top:8px;left:calc(50% + 12px);margin:0;width:5px;height:5px}
  .tracker-toolbar{padding:12px 17px;gap:10px}.tracker-toolbar h1{font-size:1.15rem;margin-top:0}.tracker-toolbar .eyebrow{display:none}.tracker-actions .icon-btn{width:38px;height:40px}
  .more-card{gap:15px;padding:21px 18px;min-height:126px}.more-icon{width:43px;height:43px}.more-card h2{font-size:1rem}
  .more-account{align-items:flex-start;flex-wrap:wrap}.more-account .btn{min-height:44px}
  #toasts{bottom:calc(82px + env(safe-area-inset-bottom,0px))}
  #finance-recoveries{bottom:calc(82px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 105px - env(safe-area-inset-bottom,0px))}
}

.mobile-tracker-lock,.mobile-finance-state{display:none}
@media(min-width:701px){
  .tracker-toolbar{min-height:70px;padding-top:10px;padding-bottom:10px;gap:16px}
  .tracker-toolbar h1{font-size:1.3rem;line-height:1.2;margin-top:4px}
  .tracker-toolbar .eyebrow{font-size:.6rem;line-height:1.2}
}
@media(max-width:700px){
  .workspace.has-tracker .tracker-toolbar{display:none}
  .workspace.has-tracker .topbar .breadcrumb{display:grid;gap:4px}
  .mobile-finance-state{display:block;color:var(--teal);font-size:.59rem;line-height:1.25;font-weight:400;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar-actions .desktop-refresh{display:none}.mobile-tracker-lock{display:inline-grid}
}

/* Shared workspace polish: predictable type, readable lists and touch controls. */
.page-heading h1{font-size:clamp(1.65rem,2.3vw,2.15rem);letter-spacing:-.045em;line-height:1.2}
.page-heading{margin-bottom:24px}.page-heading>div{min-width:0}
.home-hermes-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:18px;font-size:.875rem;color:var(--muted)}
.home-hermes-links a{min-height:36px;display:inline-flex;align-items:center}.home-hermes-links a:hover{color:var(--text)}
.knowledge-display{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:-4px 0 18px}
.knowledge-count{color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums}
.knowledge-display-controls{display:flex;align-items:center;gap:12px;min-width:0}
.knowledge-sort{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:.8rem}
.knowledge-sort select{width:auto;max-width:200px;min-height:40px;background:var(--surface);border:1px solid var(--line);border-radius:9px;color:var(--text);font:inherit;padding:8px 28px 8px 10px}
.knowledge-view button{display:flex;align-items:center;gap:7px;min-height:36px}.knowledge-view .icon{width:15px;height:15px}
.note-card{min-width:0;gap:14px}.note-card h3{overflow-wrap:anywhere}.note-card .excerpt{overflow-wrap:anywhere}
.notes-list{grid-template-columns:minmax(0,1fr);gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.notes-list .note-card{display:grid;grid-template-columns:minmax(0,1fr) 160px;min-height:0;padding:17px 21px;border:0;border-bottom:1px solid var(--line);border-radius:0;gap:6px 24px;transform:none}
.notes-list .note-card:last-child{border-bottom:0}.notes-list .note-card:hover{background:var(--raised)}
.notes-list .note-card>.row{grid-column:2;grid-row:1;justify-content:flex-end}.notes-list .note-glyph{display:none}
.notes-list .note-card h3{grid-column:1;grid-row:1;font-size:.95rem;align-self:center}
.notes-list .note-card .excerpt{grid-column:1;grid-row:2;-webkit-line-clamp:1;font-size:.8rem}
.notes-list .note-card .card-meta{grid-column:2;grid-row:2;font-size:.72rem;gap:10px;align-self:center;margin:0}
.notes-list .note-card .pill{font-size:.7rem;padding:4px 8px}
.search-field:focus-within{border-color:var(--purple);box-shadow:0 0 0 2px #bbadfa18}
.settings-row>div,.note-row .grow{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){.knowledge-display{align-items:flex-start}.knowledge-sort{flex-direction:column;align-items:flex-start;gap:5px}.knowledge-display-controls{align-items:flex-end}}
@media(max-width:700px){
  .knowledge-display{flex-direction:column;gap:12px}.knowledge-display-controls{width:100%;justify-content:space-between;gap:8px}.knowledge-sort{max-width:55%;font-size:.76rem}.knowledge-sort select{max-width:100%;font-size:16px;min-height:44px}
  .knowledge-view{flex-shrink:0}.knowledge-view button{min-height:40px;padding:8px 10px;font-size:.78rem}.knowledge-view .icon{display:none}
  .notes-list .note-card{grid-template-columns:minmax(0,1fr) auto;padding:15px;gap:8px 12px}.notes-list .note-card h3{grid-column:1/-1;grid-row:1}.notes-list .note-card .excerpt{grid-column:1/-1;grid-row:2;-webkit-line-clamp:2}.notes-list .note-card>.row{grid-column:2;grid-row:3}.notes-list .note-card .card-meta{grid-column:1;grid-row:3;justify-content:flex-start;flex-wrap:wrap}
  .main input:not([type=checkbox]):not([type=radio]),.main select,.main textarea,.sheet input:not([type=checkbox]):not([type=radio]),.sheet select,.sheet textarea{font-size:16px}
  .toolbar .tabs button{min-height:40px}.home-hermes-links a{min-height:44px}
}
/* Landscape phones keep content space and their familiar bottom navigation. */
@media(max-height:500px) and (min-width:701px) and (max-width:1000px) and (pointer:coarse){
  .shell{grid-template-columns:170px minmax(0,1fr)}.sidebar{width:170px;padding:14px 10px}.sidebar .brand{padding:0 12px 12px}.sidebar-search{margin-bottom:8px}.sidebar .primary-nav a{min-height:40px;padding:8px}.sidebar .profile{padding-top:8px}.sidebar .profile-sub{display:none}.topbar{height:50px}.workspace-tabs{padding:5px 18px}.workspace-tabs a{min-height:36px;padding:6px 9px}.main{padding:22px}
}
.knowledge-display .knowledge-view{width:auto;max-width:100%;flex:0 0 auto}.knowledge-display .knowledge-view button{flex:0 0 auto}

@media(max-width:760px){.mobile-bottom-nav{grid-template-columns:repeat(7,minmax(0,1fr));padding-inline:2px}.mobile-bottom-nav a{min-width:0;padding-inline:1px}.mobile-bottom-nav a>span{font-size:clamp(8px,2.4vw,10px);white-space:nowrap}}
