/* =============================================================================
   desktop.css — the desktop layout (feature flag `desktop`, next/js/desktop.js)

   Every rule is scoped under body.desktop, which desktop.js sets only for a
   flagged company at 768px+. Phones and everyone else never match a selector
   here. Loaded after next.css so it beats the wide-screen column rules there.
   Tokens only (tokens.css).
   ============================================================================= */

body.desktop {
  --dside-w: 232px;
  --dcory-w: 380px;
  --dlist-w: clamp(320px, 30vw, 420px);
}

/* ─── Shell: sidebar | main | Cory ───────────────────────────────────────── */

body.desktop .app {
  zoom: 1;
  display: grid;
  grid-template-columns: var(--dside-w) minmax(0, 1fr) var(--dcory-w);
  grid-template-rows: 100%;
  transition: grid-template-columns var(--t-med) var(--ease);
}
body.desktop.cory-off .app { grid-template-columns: var(--dside-w) minmax(0, 1fr) 0; }
body.desktop .app::before { -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0.15) 45%); mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0.15) 45%); }
body.desktop .tabbar,
body.desktop .scrim { display: none !important; }

/* Sidebar */
body.desktop .dside {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 12px;
  background: var(--navy);
  color: #C9D3E6;
}
.dside-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 4px; font: 600 1.3rem var(--font-display); color: var(--ink-inv); letter-spacing: -0.01em; }
.dside-brand b { color: #8FB0FF; font-weight: 600; }
.dsearch {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.07); color: #9FB0CC;
  font-size: var(--fs-sm); text-align: left;
}
.dsearch:hover { background: rgba(255, 255, 255, 0.12); }
.dsearch span { flex: 1; }
.dsearch svg { width: 16px; height: 16px; }
body.desktop kbd {
  display: inline-block; padding: 0 5px;
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px;
  background: var(--surface); color: var(--ink-3);
  font: 600 0.6875rem/1.5 var(--font-ui);
}
.dsearch kbd { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: #9FB0CC; }
.dside-nav { display: grid; gap: 2px; }
.dside-label { padding: 12px 10px 4px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #7D8DAA; }
.dnav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-xs); font-size: var(--fs-sm); font-weight: 500; }
.dnav svg { width: 18px; height: 18px; flex: none; }
.dnav:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink-inv); }
.dnav.active { background: rgba(30, 91, 255, 0.3); color: var(--ink-inv); }
.dcount { margin-left: auto; padding: 0 7px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.12); font-size: var(--fs-xs); }
.dcount.hot { background: var(--blue); color: var(--ink-inv); }
.dside-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.dconn { display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: var(--fs-xs); color: #9FB0CC; }
.dconn i { width: 7px; height: 7px; border-radius: 50%; background: #3DD68C; }
.dme { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r-xs); color: var(--ink-inv); font-size: var(--fs-sm); font-weight: 600; text-align: left; }
.dme:hover { background: rgba(255, 255, 255, 0.07); }
.dme .avatar { width: 30px; height: 30px; flex: none; font-size: var(--fs-xs); }

/* Main column: topbar over (list pane | page) */
body.desktop .dmain {
  grid-column: 2;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
}
body.desktop .dmain.has-list { grid-template-columns: var(--dlist-w) minmax(0, 1fr); }
body.desktop .topbar {
  grid-column: 1 / -1;
  min-height: 64px;
  padding: 12px 28px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.85);
}
body.desktop .topbar .muted { color: var(--ink-3); font-size: var(--fs-sm); }
body.desktop .topbar .btn { display: inline-flex; align-items: center; gap: 6px; }
body.desktop .topbar .btn svg { width: 16px; height: 16px; flex: none; }
body.desktop .topbar a.topbar-title:hover { color: var(--link); }
.dhello { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wood-ink); }
body.desktop .view {
  grid-column: 1 / -1;
  padding: 24px 32px 40px;
  scrollbar-width: thin;
}
body.desktop .dmain.has-list .view { grid-column: 2; padding: 20px 28px 40px; }
body.desktop .view::-webkit-scrollbar { display: block; width: 8px; }
body.desktop .view::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
/* Today's phone-shaped screens (tasks, bills, reports, company…) read best in a
   comfortable column; the desktop's own pages (data-dpage) use the full width. */
body.desktop:not([data-dpage]) .dmain:not(.has-list) .view > * { max-width: 880px; margin-left: auto; margin-right: auto; }
body.desktop .dmain.has-list .view > * { max-width: 900px; }

/* List pane */
body.desktop .dlist {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.dl-tools { display: grid; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dl-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-xs); background: var(--surface); }
.dl-search svg { width: 16px; height: 16px; color: var(--ink-3); }
.dl-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: var(--fs-sm); }
.dl-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dsel { height: 32px; max-width: 100%; padding: 0 8px; border: 1px solid var(--line-2); border-radius: var(--r-xs); background: var(--surface); font: inherit; font-size: var(--fs-xs); color: var(--ink); }
.dseg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-xs); background: var(--paper-2); }
.dseg button { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.dseg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.dseg button svg { width: 14px; height: 14px; }
.dseg button.flip svg { transform: rotate(180deg); }
.dtoggle { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); cursor: pointer; }
.dl-rows { flex: 1; min-height: 0; overflow-y: auto; }
.dl-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; min-height: 58px; border-bottom: 1px solid var(--line); }
.dl-item:hover { background: var(--surface); }
.dl-item.sel { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue); }
.dl-item.picked { background: rgba(30, 91, 255, 0.05); }
.dl-item .row-main { min-width: 0; }
.dl-item .row-title, .dl-item .row-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-right { display: grid; justify-items: end; gap: 3px; flex: none; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.dl-right .status { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcheck { width: 18px; height: 18px; flex: none; border: 1.8px solid var(--line-2); border-radius: 5px; display: grid; place-items: center; opacity: 0.45; cursor: pointer; }
.dl-item:hover .dcheck, .dcheck.on { opacity: 1; }
.dcheck.on { background: var(--blue); border-color: var(--blue); }
.dcheck.on::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.dl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-3); }
.dkeys { margin-left: auto; }
.dbulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 14px; background: var(--navy); color: var(--ink-inv); font-size: var(--fs-sm); }
.dbulk .text-btn { color: #AFC3FF; margin-left: auto; }
.dbulk-note { font-size: var(--fs-xs); color: #C9D3E6; }
.dempty { height: 60vh; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--ink-3); text-align: center; }
.dempty svg { width: 32px; height: 32px; }

/* ─── Cory, docked ───────────────────────────────────────────────────────── */

body.desktop .voice,
body.desktop .voice.open {
  grid-column: 3;
  position: relative;
  inset: auto;
  left: auto; right: auto; top: auto; bottom: auto;
  width: auto;
  margin: 0;
  min-width: 0;
  min-height: 0;
  transform: none;
  transition: none;
  border-radius: 0;
  border-left: 1px solid var(--line);
  box-shadow: none;
  background: var(--surface);
  padding-bottom: 0;
  overflow: hidden;
}
body.desktop.cory-off .voice { visibility: hidden; }
body.desktop .voice-head { padding: 14px 10px 12px 16px; gap: 8px; }
body.desktop .voice-id { flex: 1; min-width: 0; }
body.desktop .voice-id > div { min-width: 0; }
body.desktop .voice-tools { flex: none; display: flex; }
.dctx { margin-top: 2px; font-size: var(--fs-xs); color: var(--ink-3); max-width: 230px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dctx b { color: var(--ink-2); font-weight: 600; }
body.desktop .voice-thread .msg { font-size: var(--fs-sm); }
body.desktop .voice-foot { padding: 8px 14px 12px; border-top: 1px solid var(--line); }
body.desktop .wave { height: 22px; }
body.desktop .wave[data-state="idle"] { display: none; }
.dinput { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 5px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); }
.dinput:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px var(--blue-50); }
.dinput input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: var(--fs-sm); }
.dmic, .dsend { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.dmic { background: radial-gradient(circle at 35% 30%, #4E7FFF 0%, var(--blue) 45%, var(--blue-600) 100%); color: var(--ink-inv); box-shadow: 0 4px 10px -3px rgba(30, 91, 255, 0.55); }
.dmic svg, .dsend svg { width: 18px; height: 18px; }
.dmic[data-state="listening"], .dmic[data-state="speaking"] { animation: dpulse 1.1s ease-in-out infinite; }
.dmic[data-state="thinking"] { opacity: 0.75; }
@keyframes dpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 91, 255, 0.45); } 50% { box-shadow: 0 0 0 9px rgba(30, 91, 255, 0); } }
.dsend { color: var(--ink-3); }
.dsend:hover { background: var(--paper); color: var(--blue); }
.dhint { margin-top: 6px; font-size: 0.6875rem; color: var(--ink-3); text-align: center; }
.dhint kbd { font-size: 0.625rem !important; padding: 0 4px !important; }
.dcory-tab {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  display: none; align-items: center; gap: 8px;
  padding: 9px 16px 9px 10px; border-radius: var(--r-pill);
  background: var(--navy); color: var(--ink-inv);
  font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow-3);
}
body.desktop.cory-off .dcory-tab { display: inline-flex; }
.dcory-tab img { border-radius: 6px; }
/* Desktop confirm card (board drag / bulk move) */
.dconfirm-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: var(--fs-sm); }
.dconfirm-list li { display: flex; justify-content: space-between; gap: 8px; }
.dconfirm-list li.ok span:first-child::before { content: '✓ '; color: var(--go); }
.dconfirm-list li.bad span:first-child::before { content: '✕ '; color: var(--stop); }

/* Sheets (forms, profile, details) open as a drawer over the page, beside Cory. */
body.desktop .sheets { left: var(--dside-w); right: var(--dcory-w); }
body.desktop.cory-off .sheets { right: 0; }
body.desktop .sheet {
  left: auto; right: 0; top: 0; bottom: 0;
  width: min(560px, 100%);
  max-height: none;
  margin: 0;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  transform: translateX(105%);
}
body.desktop .sheet.open { transform: none; }

body.desktop .toast {
  left: auto; right: calc(var(--dcory-w) + 24px); bottom: 24px;
  width: min(380px, calc(100% - 48px)); margin: 0;
}
body.desktop.cory-off .toast { right: 24px; }

/* Palette */
.dpal-scrim { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; background: rgba(11, 27, 52, 0.35); }
.dpal { width: min(620px, calc(100% - 32px)); overflow: hidden; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-3); }
.dpal input { width: 100%; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--line); outline: none; font: inherit; font-size: var(--fs-lg); }
.dpal ul { list-style: none; margin: 0; max-height: 380px; overflow-y: auto; padding: 6px; }
.dpal li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-xs); cursor: pointer; }
.dpal li .muted { margin-left: auto; font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; }
.dpal li.on { background: var(--blue-50); }
.dpal footer { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: var(--fs-xs); color: var(--ink-3); }

/* ─── Desktop pages ──────────────────────────────────────────────────────── */

.dsrc { display: inline-flex; align-items: center; gap: 5px; font-size: 0.6875rem; font-weight: 500; color: var(--ink-3); }
.dsrc::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--go); flex: none; }

/* Home */
body.desktop .view > .dbrief, body.desktop .view > .dstats, body.desktop .view > .dgrid { margin-top: 18px; }
body.desktop .view > :first-child { margin-top: 0; }
.dbrief { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--navy); color: #DDE5F3; box-shadow: var(--shadow-2); }
.dbrief img { border-radius: 10px; flex: none; }
.dbrief > div { flex: 1; display: grid; gap: 6px; }
.dbrief p { font-size: var(--fs-md); line-height: 1.5; }
.dbrief b { color: var(--ink-inv); }
.dbrief .dsrc { color: #9FB0CC; }
.dbrief .btn { background: rgba(255, 255, 255, 0.1); color: var(--ink-inv); border-color: transparent; }
.dstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dstat { display: grid; gap: 2px; padding: 14px 16px; align-content: start; }
.dstat .muted { font-size: var(--fs-sm); color: var(--ink-3); }
.dstat b { font: 600 var(--fs-2xl)/1.15 var(--font-display); margin-top: 2px; }
.dstat-sub { font-size: var(--fs-xs); color: var(--ink-3); }
.dstat .dsrc { margin-top: 8px; }
.dstat.off { background: var(--paper); border: 1.5px dashed var(--line-2); box-shadow: none; }
.dstat.off b { color: var(--ink-3); }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dcol { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.dcard { padding-bottom: 6px; }
.dcard-h { display: flex; align-items: center; gap: 8px; padding: 14px 16px 8px; }
.dcard-h h2 { font-size: var(--fs-md); font-weight: 650; }
.dcard-h a { margin-left: auto; font-size: var(--fs-sm); font-weight: 600; color: var(--link); }
.drow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 8px 16px; border-top: 1px solid var(--line); text-align: left; }
.drow:hover { background: var(--surface-2); }
.drow .row-main { min-width: 0; }
.drow .row-title, .drow .row-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dwhen { font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; }
.dwhen.late { color: var(--stop); font-weight: 600; }
.dtime { width: 62px; flex: none; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.dbarc { width: 3px; align-self: stretch; border-radius: 2px; background: var(--blue); flex: none; }
.dbarc.g { background: var(--wood); }
.dbars { display: grid; gap: 2px; padding: 2px 16px 12px; }
.dbar { display: grid; grid-template-columns: minmax(80px, 140px) 1fr auto; gap: 10px; align-items: center; padding: 5px 0; font-size: var(--fs-xs); }
.dbar .lbl { font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbar .track { height: 10px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.dbar .track span { display: block; height: 100%; border-radius: 5px; background: var(--blue); }
.dbar .val { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dcard .timeline { padding: 0 8px 8px; }
.dcard .empty-row { padding: 14px 16px; }

/* Board */
.dboard-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px; font-size: var(--fs-sm); color: var(--ink-3); }
body.desktop .view > .dboard, body.desktop .view > .dweek { margin-top: 0; }
.dboard { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; min-height: calc(100% - 40px); }
.dlane { display: flex; flex-direction: column; min-height: 200px; border-radius: var(--r-md); background: var(--paper-2); }
.dlane.drop { outline: 2px dashed var(--blue); outline-offset: -2px; }
.dlane-h { display: flex; justify-content: space-between; gap: 8px; padding: 12px 12px 8px; font-size: var(--fs-sm); font-weight: 650; }
.dlane-h .muted { font-weight: 500; font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; }
.dlane-body { flex: 1; display: grid; align-content: start; gap: 8px; padding: 0 8px 10px; }
.dkard { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-1); }
.dkard[draggable="true"] { cursor: grab; }
.dkard:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.dkard.dragging { opacity: 0.4; }
.dkard .row-title { font-size: var(--fs-sm); }
.dkard-v { margin-top: 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }

/* Week */
.dweek { display: grid; grid-template-columns: 56px repeat(7, minmax(110px, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.dwk-h { padding: 10px; border-bottom: 1px solid var(--line); text-align: center; font-size: var(--fs-xs); color: var(--ink-3); }
.dwk-h b { display: block; font: 600 var(--fs-lg) var(--font-display); color: var(--ink); }
.dwk-h.today b { color: var(--blue); }
.dwk-ad { display: grid; align-content: start; gap: 3px; min-height: 30px; padding: 4px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 0.6875rem; }
.dwk-ad.muted { color: var(--ink-3); text-align: right; padding-right: 8px; }
.dwk-hours { border-right: 1px solid var(--line); }
.dwk-hours div { height: 52px; padding: 2px 8px 0 0; text-align: right; font-size: 0.6875rem; color: var(--ink-3); }
.dwk-day { position: relative; border-right: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 51px, var(--line) 51px 52px); }
.dwk-day:last-child { border-right: 0; }
.dwk-day.today { background-color: rgba(30, 91, 255, 0.03); }
.dwk-day.can-add { cursor: copy; }
.dnow { position: absolute; left: 0; right: 0; z-index: 1; height: 2px; background: var(--stop); }
.dnow::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--stop); }
.dev, .dev-ad { display: block; overflow: hidden; border-left: 3px solid var(--blue); border-radius: 7px; background: var(--blue-50); color: var(--navy-2); font-size: 0.6875rem; text-align: left; line-height: 1.3; }
.dev { position: absolute; padding: 4px 7px; cursor: pointer; }
.dev:hover, .dev-ad:hover { box-shadow: var(--shadow-2); z-index: 2; }
.dev b { display: block; font-size: 0.6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-ad { padding: 2px 6px; white-space: nowrap; text-overflow: ellipsis; }
.dev.google, .dev-ad.google { border-color: var(--wood); background: var(--wood-50); color: var(--wood-ink); }

/* First-run setup keeps the phone flow, full width — no sidebar or Cory. */
body.desktop.onboarding .dside,
body.desktop.onboarding .dlist,
body.desktop.onboarding .voice { display: none !important; }
body.desktop.onboarding .app { grid-template-columns: minmax(0, 1fr); }
body.desktop.onboarding .dmain { grid-column: 1; grid-template-columns: minmax(0, 1fr); }
body.desktop.onboarding .view > * { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ─── Narrower desktops (768–1099): icon sidebar, Cory floats, one pane ──── */

@media (max-width: 1279px) {
  .dstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1099px) {
  body.desktop { --dside-w: 68px; }
  body.desktop .app, body.desktop.cory-off .app { grid-template-columns: var(--dside-w) minmax(0, 1fr); }
  body.desktop .dside-brand span, body.desktop .dsearch span, body.desktop .dsearch kbd,
  body.desktop .dnav span, body.desktop .dside-label, body.desktop .dconn, body.desktop .dme span:last-child { display: none; }
  body.desktop .dnav, body.desktop .dsearch, body.desktop .dme { justify-content: center; }
  body.desktop .voice, body.desktop .voice.open {
    position: fixed; top: 0; right: 0; bottom: 0; width: 360px; z-index: 35;
    box-shadow: var(--shadow-3);
  }
  body.desktop .sheets, body.desktop.cory-off .sheets { right: 0; }
  body.desktop .toast, body.desktop.cory-off .toast { right: 24px; }
  body.desktop .dmain.has-list { grid-template-columns: minmax(0, 1fr); }
  body.desktop .dmain.has-list.has-sel .dlist { display: none; }
  body.desktop .dmain.has-list:not(.has-sel) .view { display: none; }
  body.desktop .dmain.has-list .view { grid-column: 1; }
}
