/* Home illustrations are decorative wayfinding, never live content or status. */
.app-body.is-hub { padding-left: 32px; }
.app-body.is-hub .rail { display: none; }
.app-body.is-hub .main { width: 100%; max-width: 960px; }
.hub { max-width: 960px; padding: 4px 0 24px; }
.hub-head { display: flex; align-items: center; justify-content: space-between; min-height: 218px; margin-bottom: 20px; border-radius: 18px; background: #164e55; }
.hub-head-copy { min-width: 0; padding: 28px; }
.hub-welcome-art { display: block; width: 43%; height: 218px; object-fit: contain; border-radius: 0 18px 18px 0; }
.hub-head h1 { color: #fffaf2; margin: 7px 0 10px; font-family: var(--serif); font-size: 34px; line-height: 1.15; font-weight: 600; }
.hub-head p { margin: 0; color: #e0ede7; font-size: 14px; line-height: 1.5; }
.hub-head .hub-welcome { color: #c7ded6; font-size: 13px; }
.hub-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hub-tool { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-card); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); }
.hub-tool:hover { color: var(--text); text-decoration: none; border-color: var(--accent-week); box-shadow: var(--shadow-md); }
.hub-tool:focus-visible { outline: 3px solid var(--accent-week); outline-offset: 4px; }
.hub-tool-art { display: block; width: 100%; height: 124px; object-fit: contain; border-radius: 17px 17px 0 0; background: #f2e9de; }
.hub-tool-files .hub-tool-art { background: #e9f0f3; }
.hub-tool-crm .hub-tool-art { background: #f1eaf2; }
.hub-tool-team .hub-tool-art { background: #f3efdf; }
.hub-tool-copy { display: grid; flex: 1; align-content: start; gap: 7px; padding: 15px; }
.hub-tool-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hub-tool-top strong { font-size: 18px; line-height: 1.25; }
.hub-tool-arrow { color: var(--accent-week); font-size: 22px; line-height: 1; }
.hub-tool-detail { color: var(--text-2); font-size: 13px; line-height: 1.45; }
.hub-tool-service { color: #656159; font-size: 11px; line-height: 1.5; margin-top: auto; }
.hub-tool-content .hub-tool-art { background: #164e55; }
@media (max-width: 900px) {
  .hub-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-tool { flex-direction: row; }
  .hub-tool .hub-tool-art { width: 36%; height: auto; border-radius: 17px 0 0 17px; }
}
@media (max-width: 560px) {
  .app-body.is-hub { padding-left: 14px; }
  .hub-head { min-height: 190px; margin-bottom: 16px; }
  .hub-head-copy { width: 59%; padding: 20px 0 20px 20px; }
  .hub-welcome-art { width: 41%; height: 180px; }
  .hub-head h1 { font-size: 29px; }
  .hub-head p { font-size: 13px; }
  .hub-tools { gap: 12px; }
  .hub-tool { flex-direction: column; }
  .hub-tool .hub-tool-art { width: 100%; height: 88px; border-radius: 17px 17px 0 0; }
  .hub-tool-copy { padding: 12px; gap: 5px; }
  .hub-tool-top strong { font-size: 17px; }
  .hub-tool-detail { font-size: 12px; }
  .hub-tool-service { font-size: 11px; }
}
@media (forced-colors: active) {
  .hub-tool { border-color: LinkText; }
  .hub-head { border: 1px solid CanvasText; }
  .hub-head h1, .hub-head p, .hub-head .hub-welcome { color: CanvasText; }
}
