/* ── 正本モック ホームシェル ──
   docs/images/mockups/dashboard-proposal-hybrid-cd.png
   ホームタブ = ロゴ1行 + ダッシュボード直結（wire-a ヘッダー/ナビ/余白なし） */

body.ws-dash-v1[data-workspace-tab="tab-home"] #site-header {
  display: none !important;
}

body.ws-dash-v1[data-workspace-tab="tab-home"] .content-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.ws-dash-v1[data-workspace-tab="tab-home"] .app {
  padding: 0 !important;
}

body.ws-dash-v1[data-workspace-tab="tab-home"] #tab-home.mock-home-panel {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mock-home-viewport {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 14px 0;
  min-height: calc(100vh - env(safe-area-inset-top, 0px));
  background: var(--color-page, #0a0e17);
}

.mock-home-brandbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin: 0 0 8px;
  padding: 0 2px;
}

.mock-home-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.mock-home-brand-logo img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mock-home-brand-title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary, #f1f5f9);
  line-height: 1.2;
}

/* ダッシュボードカード外枠をモックどおりフラットに */
body.ws-dash-v1[data-workspace-tab="tab-home"] .home-dash-unified,
body.ws-dash-v1.home-dashboard-refactor[data-workspace-tab="tab-home"] .home-dash-unified {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.ws-dash-v1[data-workspace-tab="tab-home"] .ws-dash--home {
  padding: 0 0 calc(56px + env(safe-area-inset-bottom, 0px)) !important;
  gap: var(--ws-gap, 12px) !important;
}

/* 章別学習タブ = 左寄せ（モック） */
body.ws-dash-v1[data-workspace-tab="tab-home"] #home-ws-mode-tabs.ws-mode-tabs--compact {
  margin: 0 !important;
  justify-content: flex-start;
}

/* 固定バーは viewport 下端（モック） */
body.ws-dash-v1[data-workspace-tab="tab-home"] .ws-sticky-bar {
  z-index: 60;
}

@media (min-width: 768px) {
  .mock-home-viewport {
    padding: 12px 18px 0;
  }
}
