/* ==========================================================================
   宏隐的百宝箱 - 全局样式
   ========================================================================== */

:root {
  --brand: #5b6ff0;
  --brand-2: #8a5cf6;
  --brand-soft: rgba(91, 111, 240, .10);
  --brand-glow: rgba(91, 111, 240, .28);

  --bg: #f4f6fb;
  --panel: #ffffff;
  --panel-2: #fafbfe;
  --sidebar: #ffffff;
  --border: #e6e9f2;
  --border-strong: #d5dae8;

  --text: #1b1f2b;
  --text-2: #5c6478;
  --text-3: #8b93a7;

  --ok: #16a34a;
  --warn: #d97706;
  --err: #dc2626;
  --code-bg: #f7f8fc;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-1: 0 1px 2px rgba(24, 32, 58, .05), 0 2px 8px rgba(24, 32, 58, .04);
  --shadow-2: 0 4px 12px rgba(24, 32, 58, .08), 0 12px 32px rgba(24, 32, 58, .07);
  --sidebar-w: 254px;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

html[data-theme="dark"] {
  --brand: #7c8dff;
  --brand-2: #a97cff;
  --brand-soft: rgba(124, 141, 255, .14);
  --brand-glow: rgba(124, 141, 255, .30);

  --bg: #101219;
  --panel: #181b25;
  --panel-2: #1d212c;
  --sidebar: #151823;
  --border: #262b39;
  --border-strong: #333a4d;

  --text: #e9ecf5;
  --text-2: #a3abc2;
  --text-3: #7a839c;

  --ok: #4ade80;
  --warn: #fbbf24;
  --err: #f87171;
  --code-bg: #12141d;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 6px 20px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--brand-glow); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 8px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-3); background-clip: content-box; }

/* ============================ 布局 ============================ */

.shell { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 60;
}

.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-inner {
  flex: 1;
  padding: 26px 30px 40px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

/* ============================ 顶部栏（移动端）============================ */

.topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  flex: 1;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-2);
  border-radius: 9px;
  cursor: pointer;
  transition: .16s;
  flex: none;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }

/* ============================ 侧边栏 ============================ */

.sidebar-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 16px 14px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }

.brand-mark {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 15px;
  box-shadow: 0 3px 10px var(--brand-glow);
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 15px; letter-spacing: .2px; }
.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-close { display: none; }

.sidebar-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 14px 12px;
  padding: 0 10px;
  height: 36px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-3);
  transition: .16s;
}
.sidebar-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.sidebar-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
}
.sidebar-search input::placeholder { color: var(--text-3); }
.sidebar-search kbd {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 1px 5px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  color: var(--text-3);
  background: var(--panel);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 2px 10px 16px;
}

.nav-group { margin-bottom: 3px; }

.nav-group-head {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: .14s;
}
.nav-group-head:hover { background: var(--brand-soft); color: var(--brand); }

.nav-group-ico {
  width: 21px; height: 21px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}

.nav-group-name { flex: 1; text-align: left; }

.nav-group-count {
  font-size: 10.5px;
  color: var(--text-3);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.nav-caret {
  width: 12px; height: 12px;
  flex: none;
  transition: transform .2s;
  opacity: .55;
}
.nav-group.collapsed .nav-caret { transform: rotate(-90deg); }

.nav-list { list-style: none; margin: 1px 0 5px; padding: 0 0 0 30px; overflow: hidden; }
.nav-group.collapsed .nav-list { display: none; }

.nav-list a {
  display: block;
  padding: 6px 10px;
  font-size: 13.2px;
  color: var(--text-2);
  border-radius: 7px;
  transition: .13s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-list a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-list a.active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--brand-glow);
}

.sidebar-foot {
  padding: 12px 14px 16px;
  border-top: 1px solid var(--border);
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: .16s;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-ico { font-size: 14px; line-height: 1; }

.foot-note {
  margin: 10px 2px 0;
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-3);
}

.scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 16, 30, .5);
  backdrop-filter: blur(2px);
  z-index: 55;
}
.scrim.show { display: block; }

/* ============================ 首页 ============================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 30px 34px;
  border-radius: 20px;
  margin-bottom: 34px;
  background:
    radial-gradient(900px 340px at 12% -30%, var(--brand-soft), transparent 62%),
    radial-gradient(700px 300px at 92% 0%, rgba(138, 92, 246, .13), transparent 60%),
    var(--panel);
  border: 1px solid var(--border);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: -.4px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { margin: 0 0 22px; color: var(--text-2); font-size: 14.5px; max-width: 620px; }

.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.hero-stat strong { display: block; font-size: 21px; letter-spacing: -.3px; }
.hero-stat span { font-size: 12px; color: var(--text-3); }

.big-search { position: relative; max-width: 560px; }
.big-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.big-search input {
  width: 100%;
  height: 50px;
  padding: 0 96px 0 46px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: 0;
  box-shadow: var(--shadow-1);
  transition: .18s;
}
.big-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.big-search .hint {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 11.5px; color: var(--text-3); pointer-events: none;
}

.sec { margin-bottom: 34px; scroll-margin-top: 20px; }

.sec-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.sec-head h2 { margin: 0; font-size: 17px; letter-spacing: -.2px; }
.sec-head .sec-ico {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  flex: none;
}
.sec-head .sec-count { font-size: 12px; color: var(--text-3); }
.sec-head .sec-line { flex: 1; height: 1px; background: var(--border); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: .18s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-2);
}
.card:hover::after { transform: scaleX(1); }
.card-name { font-weight: 600; font-size: 14px; }
.card-desc {
  font-size: 12.2px;
  color: var(--text-3);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================ 工具页 ============================ */

.crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.crumb a:hover { color: var(--brand); }
.crumb .sep { opacity: .5; }

.tool-head { margin-bottom: 20px; }
.tool-head h1 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -.4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tool-head .badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  letter-spacing: .3px;
}
.tool-head p { margin: 0; color: var(--text-2); font-size: 13.8px; max-width: 720px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-1);
  margin-bottom: 16px;
}
.panel + .panel { margin-top: 0; }

.panel-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 两栏工作区 */
.work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.work.single { grid-template-columns: 1fr; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }

.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
}
.field-label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.field-label .opt { font-weight: 400; color: var(--text-3); font-size: 11.5px; }

textarea, input[type="text"], input[type="number"], input[type="password"], select {
  width: 100%;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.62;
  color: var(--text);
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  outline: 0;
  transition: .16s;
  resize: vertical;
}
textarea:focus, input:focus, select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
textarea { min-height: 210px; }
textarea.tall { min-height: 320px; }
textarea.short { min-height: 90px; }
select { font-family: var(--sans); cursor: pointer; }
input[type="text"], input[type="number"], input[type="password"] { font-family: var(--sans); }

.out {
  min-height: 210px;
  max-height: 620px;
  overflow: auto;
  padding: 11px 12px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.62;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}
.out.tall { min-height: 320px; }
.out:empty::before { content: "结果会显示在这里"; color: var(--text-3); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 27px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px var(--brand-glow);
}
.btn.primary:hover { filter: brightness(1.07); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-3); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-row.spread { justify-content: space-between; }

/* 选项行 */
.opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px 16px;
  margin-bottom: 16px;
}
.opt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.opt > label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.opt-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.opt-row > * { flex: 1; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 5px 11px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 12.2px;
  border-radius: 999px;
  cursor: pointer;
  transition: .14s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.switch { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.switch input { width: auto; accent-color: var(--brand); cursor: pointer; }

.stat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stat {
  flex: 1;
  min-width: 104px;
  padding: 11px 13px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.stat b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.stat span { font-size: 11.5px; color: var(--text-3); }

.note {
  font-size: 12.2px;
  color: var(--text-3);
  line-height: 1.65;
  padding: 10px 13px;
  background: var(--panel-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note.warn { border-left-color: var(--warn); color: var(--text-2); }
.note.err { border-left-color: var(--err); color: var(--err); }
.note code { font-family: var(--mono); font-size: 12px; background: var(--brand-soft); padding: 1px 5px; border-radius: 4px; }

/* 表格 */
.table-wrap {
  overflow: auto;
  max-height: 560px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
table.tb { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tb th, table.tb td {
  padding: 8px 13px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.tb th {
  position: sticky;
  top: 0;
  background: var(--panel-2);
  font-weight: 600;
  font-size: 12.3px;
  color: var(--text-2);
  z-index: 1;
  white-space: nowrap;
}
table.tb tbody tr:hover { background: var(--brand-soft); }
table.tb tbody tr:last-child td { border-bottom: 0; }
table.tb td code { font-family: var(--mono); font-size: 12.3px; color: var(--brand); }

/* Diff */
.diff { font-family: var(--mono); font-size: 12.5px; line-height: 1.75; }
.diff .d-line { display: flex; gap: 10px; padding: 1px 10px; border-radius: 4px; white-space: pre-wrap; word-break: break-all; }
.diff .d-line .no { flex: none; width: 40px; text-align: right; color: var(--text-3); user-select: none; font-size: 11.5px; }
.diff .del { background: rgba(220, 38, 38, .12); color: var(--err); }
.diff .add { background: rgba(22, 163, 74, .13); color: var(--ok); }
.diff .same { color: var(--text-2); }

/* 时钟 */
.clock-face {
  font-family: var(--mono);
  font-size: clamp(38px, 9vw, 74px);
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  padding: 26px 10px 6px;
  font-variant-numeric: tabular-nums;
}
.clock-date { text-align: center; color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.clock-sub { text-align: center; color: var(--text-3); font-size: 12.5px; margin-bottom: 24px; }

/* 调色板 */
.swatch { display: flex; flex-wrap: wrap; gap: 10px; }
.sw {
  flex: 1;
  min-width: 118px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}
.sw .sw-c { height: 74px; }
.sw .sw-t { padding: 7px 9px; font-family: var(--mono); font-size: 11.5px; background: var(--panel-2); color: var(--text-2); }
.sw:hover { box-shadow: var(--shadow-2); }

#doodleCanvas {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: crosshair;
  touch-action: none;
  display: block;
}

/* 空状态 */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
}
.empty .big { font-size: 34px; margin-bottom: 12px; opacity: .55; }

/* Toast */
.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 9px 18px;
  border-radius: 999px;
  background: #1b1f2b;
  color: #fff;
  font-size: 13px;
  box-shadow: var(--shadow-2);
  animation: toastIn .22s ease;
}
html[data-theme="dark"] .toast { background: #e9ecf5; color: #14161c; }
.toast.ok { background: var(--ok); color: #fff; }
.toast.err { background: var(--err); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 页脚 */
.site-footer {
  padding: 22px 30px 34px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.site-footer .dot { margin: 0 8px; opacity: .5; }
.site-footer a.beian { color: var(--text-3); text-decoration: none; }
.site-footer a.beian:hover { color: var(--brand); text-decoration: underline; }

.fade-in { animation: fadeIn .26s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================ 响应式 ============================ */

@media (max-width: 980px) {
  .work { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .topbar { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .24s ease;
    box-shadow: var(--shadow-2);
  }
  .sidebar.open { transform: none; }
  .sidebar-close { display: inline-flex; }
  .main { margin-left: 0; }
  .main-inner { padding: 18px 16px 30px; }
  .hero { padding: 28px 20px 24px; border-radius: 16px; }
  .hero h1 { font-size: 23px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .card { padding: 13px; }
  .site-footer { padding: 18px 16px 26px; }
  .panel { padding: 14px; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 18px; }
}

@media print {
  .sidebar, .topbar, .scrim, .crumb { display: none !important; }
  .main { margin-left: 0; }
}
