/* ==========================================================================
   app.css — 编辑器外壳布局：顶栏 / 功能区 / 大纲侧栏 / 画布 / 状态栏
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--tz-canvas);
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.app {
  display: grid;
  grid-template-rows: var(--tz-header-h) auto 1fr 30px;
  height: 100vh;
  height: 100dvh;
}

/* ───────────────────────── 顶栏 ───────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--tz-line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tz-ink);
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--tz-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-divider {
  width: 1px;
  height: 20px;
  background: var(--tz-line-strong);
}

.brand-tool {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tz-muted);
}

.doc-name {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.doc-name-input {
  max-width: 320px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--tz-radius-pill);
  background: transparent;
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.16s, border-color 0.16s;
}
.doc-name-input:hover { background: var(--tz-accent-softer); }
.doc-name-input:focus {
  outline: none;
  background: #fff;
  border-color: #bfdbfe;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dirty-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tz-accent);
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.dirty-dot.is-dirty { opacity: 1; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 导出下拉 */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 232px;
  padding: 6px;
  border: 1px solid var(--tz-line);
  border-radius: var(--tz-radius);
  background: #fff;
  box-shadow: var(--tz-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s var(--tz-ease), transform 0.16s var(--tz-ease), visibility 0.16s;
  z-index: 60;
}
.dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--tz-radius-sm);
  background: transparent;
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s;
}
.dropdown-item:hover { background: var(--tz-accent-softer); }
.dropdown-item svg { flex-shrink: 0; color: var(--tz-accent); }
.dropdown-item small {
  display: block;
  margin-top: 1px;
  color: var(--tz-faint);
  font-size: 0.6875rem;
  font-weight: 500;
}
.dropdown-sep { height: 1px; margin: 5px 6px; background: var(--tz-line); }

/* ───────────────────────── 功能区 ───────────────────────── */

.ribbon {
  border-bottom: 1px solid var(--tz-line);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20;
}

.ribbon-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 5px 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.ribbon-row + .ribbon-row { border-top: 1px solid var(--tz-line); }

.tb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.12s, color 0.12s, border-color 0.12s;
}
.tb:hover { background: var(--tz-accent-softer); }
.tb:active { background: var(--tz-accent-soft); }
.tb.is-active {
  background: var(--tz-accent-soft);
  border-color: #bfdbfe;
  color: var(--tz-accent-hover);
}
.tb:disabled { opacity: 0.35; cursor: not-allowed; background: transparent; }
.tb-wide { padding: 0 9px; }

.tb-sep {
  width: 1px;
  height: 20px;
  margin: 0 5px;
  background: var(--tz-line-strong);
  flex-shrink: 0;
}

.tb-select {
  height: 30px;
  padding: 0 24px 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.12s;
}
.tb-select:hover { background-color: var(--tz-accent-softer); }

#fontFamily { width: 124px; }
#fontSize { width: 66px; }
#blockStyle { width: 112px; }

/* 颜色选择器 —— 面板由 JS 挂到 body 下（避开 .ribbon 的 overflow 与 backdrop-filter），
   因此这里必须是 position:fixed，left/top 由脚本按视口计算后写入 */
.color-picker { position: relative; }
.color-swatch {
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: #000;
}
.color-pop {
  position: fixed;
  top: 0;
  left: 0;
  width: 208px;
  padding: 10px;
  border: 1px solid var(--tz-line);
  border-radius: var(--tz-radius);
  background: #fff;
  box-shadow: var(--tz-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s var(--tz-ease), transform 0.16s var(--tz-ease), visibility 0.16s;
  z-index: 180;
}
.color-pop.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.color-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}
.color-cell {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  transition: transform 0.1s;
}
.color-cell:hover { transform: scale(1.16); z-index: 2; }

.color-label {
  margin: 9px 0 5px;
  color: var(--tz-faint);
  font-family: var(--tz-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.color-custom {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}
.color-custom input[type="color"] {
  width: 30px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--tz-line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.color-custom button {
  flex: 1;
  height: 26px;
  border: 1px solid var(--tz-line);
  border-radius: 6px;
  background: #fff;
  color: var(--tz-ink);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.color-custom button:hover { background: var(--tz-accent-softer); }

/* ───────────────────────── 主体三栏 ───────────────────────── */

.workspace {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 0;
  transition: grid-template-columns 0.24s var(--tz-ease);
}
.workspace.is-collapsed { grid-template-columns: 0 1fr; }

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--tz-line);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.side-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 10px 0;
  flex-shrink: 0;
}
.side-tab {
  flex: 1;
  height: 30px;
  border: 0;
  border-radius: var(--tz-radius-sm);
  background: transparent;
  color: var(--tz-muted);
  font-family: var(--tz-font);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.14s, color 0.14s;
}
.side-tab:hover { background: var(--tz-accent-softer); }
.side-tab.is-active { background: var(--tz-accent-soft); color: var(--tz-accent-hover); }

.side-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 10px 20px;
}

.side-panel { display: none; }
.side-panel.is-active { display: block; }

.side-empty {
  padding: 26px 12px;
  color: var(--tz-faint);
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: center;
}

/* 大纲树 */
.outline-item {
  display: block;
  width: 100%;
  padding: 6px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.12s;
}
.outline-item:hover { background: var(--tz-accent-softer); }
.outline-item.is-current { background: var(--tz-accent-soft); color: var(--tz-accent-hover); }
.outline-item[data-level="1"] { padding-left: 9px; font-size: 0.875rem; font-weight: 700; }
.outline-item[data-level="2"] { padding-left: 21px; }
.outline-item[data-level="3"] { padding-left: 33px; font-weight: 500; }
.outline-item[data-level="4"] { padding-left: 45px; font-weight: 500; color: var(--tz-muted); }
.outline-item[data-level="5"] { padding-left: 57px; font-weight: 500; color: var(--tz-muted); }
.outline-item[data-level="6"] { padding-left: 69px; font-weight: 500; color: var(--tz-muted); }

/* 文档信息 */
.meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-bottom: 1px dashed var(--tz-line);
}
.meta-row:last-child { border-bottom: 0; }
.meta-key { color: var(--tz-muted); font-size: 0.75rem; font-weight: 600; flex-shrink: 0; }
.meta-val {
  color: var(--tz-ink);
  font-family: var(--tz-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

/* 历史记录 */
.history-item {
  display: block;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 0.75rem;
  text-align: left;
  cursor: pointer;
}
.history-item:hover { background: var(--tz-accent-softer); }
.history-item.is-current { background: var(--tz-accent-soft); color: var(--tz-accent-hover); font-weight: 600; }
.history-item span { color: var(--tz-faint); font-family: var(--tz-mono); font-size: 0.6875rem; }

/* ───────────────────────── 画布 ───────────────────────── */

.canvas {
  position: relative;
  min-height: 0;
  overflow: auto;
  padding: 28px 24px 96px;
  background:
    radial-gradient(1100px 460px at 50% -140px, rgba(37, 99, 235, 0.07), transparent 62%),
    var(--tz-canvas);
}

.canvas-inner {
  width: max-content;
  min-width: 100%;
  display: flex;
  justify-content: center;
}

/* 必须显式处理：作者样式的 display:flex 会盖掉浏览器对 [hidden] 的默认 display:none，
   否则空白纸张会压在拖拽区上方，首屏按钮点不动 */
.canvas-inner[hidden] { display: none; }

.zoom-wrap {
  transform-origin: top center;
  will-change: transform;
}

/* 纸张 —— 见 paper.css */

/* 空状态 */
.empty-state {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px;
  text-align: center;
}
.empty-state.is-visible { display: flex; }

.dropzone {
  width: min(560px, 92%);
  padding: 44px 40px 40px;
  border: 2px dashed #c7d7f5;
  border-radius: var(--tz-radius-lg);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--tz-ease);
}
.canvas.is-dragover .dropzone {
  border-color: var(--tz-accent);
  background: var(--tz-accent-softer);
  transform: scale(1.012);
}

.dropzone-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--tz-accent-soft);
  color: var(--tz-accent);
}

.dropzone h2 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dropzone p {
  margin: 0 0 22px;
  color: var(--tz-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.dropzone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

.dropzone-hint {
  margin-top: 20px;
  color: var(--tz-faint);
  font-family: var(--tz-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
}

/* ───────────────────────── 状态栏 ───────────────────────── */

.statusbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border-top: 1px solid var(--tz-line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  color: var(--tz-muted);
  font-family: var(--tz-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  z-index: 20;
}
.statusbar .spacer { flex: 1; }
.status-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.status-item b { color: var(--tz-ink); font-weight: 700; }

.zoom-ctl {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.zoom-ctl button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--tz-muted);
  cursor: pointer;
}
.zoom-ctl button:hover { background: var(--tz-accent-softer); color: var(--tz-accent); }
#zoomLabel {
  min-width: 40px;
  color: var(--tz-ink);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.status-msg { color: var(--tz-accent); font-weight: 600; }
.status-msg.is-error { color: var(--tz-danger); }

/* ───────────────────────── 查找替换浮条 ───────────────────────── */

.findbar {
  position: fixed;
  top: calc(var(--tz-header-h) + 100px);
  right: 22px;
  width: 322px;
  padding: 12px;
  border: 1px solid var(--tz-line);
  border-radius: var(--tz-radius);
  background: #fff;
  box-shadow: var(--tz-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.18s var(--tz-ease), transform 0.18s var(--tz-ease), visibility 0.18s;
  z-index: 120;
}
.findbar.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.findbar-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.findbar-row + .findbar-row { margin-top: 8px; }

.findbar-icon { color: var(--tz-faint); flex-shrink: 0; }

.findbar-input {
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--tz-line);
  border-radius: var(--tz-radius-sm);
  background: var(--tz-canvas-2);
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 0.8125rem;
}
.findbar-input:focus {
  outline: none;
  border-color: #93c5fd;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.findbar-count {
  min-width: 52px;
  color: var(--tz-muted);
  font-family: var(--tz-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
}
.findbar-count.is-empty { color: var(--tz-faint); }

.findbar-btn {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--tz-ink);
  font-family: var(--tz-font);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.12s;
}
.findbar-btn:hover { background: var(--tz-accent-softer); }
.findbar-btn-w { padding: 0 10px; }

.findbar-opts { justify-content: space-between; }
.findbar-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--tz-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.findbar-check input { accent-color: var(--tz-accent); }
.findbar-hint {
  color: var(--tz-faint);
  font-family: var(--tz-mono);
  font-size: 0.625rem;
}

/* ───────────────────────── 弹层 / 模态 ───────────────────────── */

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, visibility 0.18s;
  z-index: 200;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }

.modal {
  width: min(430px, 100%);
  padding: 22px;
  border: 1px solid var(--tz-line);
  border-radius: var(--tz-radius-lg);
  background: #fff;
  box-shadow: var(--tz-shadow-lg);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.2s var(--tz-ease);
}
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }

.modal-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.modal-desc {
  margin: 0 0 16px;
  color: var(--tz-muted);
  font-size: 0.8125rem;
}
.modal-field { margin-bottom: 12px; }
.modal-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--tz-muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* 表格尺寸选择网格 */
.tsize-grid {
  display: grid;
  grid-template-columns: repeat(10, 22px);
  gap: 3px;
  margin: 4px 0 8px;
}
.tsize-cell {
  width: 22px;
  height: 22px;
  border: 1px solid var(--tz-line-strong);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.08s;
}
.tsize-cell.is-on { background: var(--tz-accent-soft); border-color: #93c5fd; }
.tsize-label {
  color: var(--tz-muted);
  font-family: var(--tz-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Toast */
.toast-stack {
  position: fixed;
  bottom: 48px;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 300;
}
.toast {
  padding: 9px 16px;
  border: 1px solid var(--tz-line);
  border-radius: var(--tz-radius-pill);
  background: #fff;
  box-shadow: var(--tz-shadow-lg);
  color: var(--tz-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s var(--tz-ease), transform 0.22s var(--tz-ease);
}
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast.is-warn { border-color: #fecaca; background: var(--tz-danger-soft); color: #b91c1c; }
.toast.is-ok { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }

/* 加载遮罩 */
.busy {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  gap: 14px;
  background: rgba(247, 249, 255, 0.82);
  backdrop-filter: blur(4px);
  z-index: 400;
}
.busy.is-on { display: grid; }
.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--tz-accent-soft);
  border-top-color: var(--tz-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.busy-text {
  margin-top: 12px;
  color: var(--tz-accent-hover);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

/* 找到高亮 */
mark.find-hit {
  background: #fde68a;
  color: inherit;
  border-radius: 2px;
  padding: 1px 0;
}
mark.find-hit.is-current { background: #f59e0b; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.28);
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(100, 116, 139, 0.45); background-clip: content-box; }

/* 侧栏折叠按钮 */
.side-toggle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 52px;
  border: 1px solid var(--tz-line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: var(--tz-muted);
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 15;
  padding: 0;
  transition: left 0.24s var(--tz-ease), background-color 0.14s, color 0.14s;
}
.side-toggle:hover { background: var(--tz-accent-softer); color: var(--tz-accent); }
.workspace.is-collapsed .side-toggle { left: 0; }

@media (max-width: 1080px) {
  .workspace { grid-template-columns: 0 1fr; }
  .sidebar { display: none; }
}
