/* The user-requested feature bento groups the complete inventory by job. */
.feature-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; padding: 32px; border-radius: 16px; background: var(--paper); color: var(--ink); }
.bento-card h3 { font-size: 32px; line-height: 1.08; font-weight: 760; }
.bento-card p { font-size: 16px; line-height: 1.6; max-width: 55ch; }
.bento-card .bento-note { font-size: 14px; line-height: 1.6; }
.bento-card :focus-visible { outline-color: var(--action); }
.bento-card code { font-size: .9em; }
.bento-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 650; text-decoration-thickness: 1px; margin-top: auto; transition: color 160ms; }
.bento-link .ph-icon { width: 20px; height: 20px; }
.bento-worktrees, .bento-usage, .bento-performance { grid-column: span 7; }
.bento-protection, .bento-storage, .bento-mac { grid-column: span 5; }
.bento-dependencies, .bento-caches, .bento-archives { grid-column: span 4; }
.bento-worktrees { background: var(--coral); color: var(--white); }
.bento-worktrees :focus-visible { outline-color: var(--white); }
.bento-worktrees h3 { font-size: clamp(32px, 3.1vw, 44px); }
.bento-worktree-intro { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 12px; width: 100%; }
.bento-worktree-intro p { margin-top: 16px; }
.bento-worktree-intro img { width: 200px; }
.bento-protection { background: var(--review-bg); }
.bento-protection-intro { display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; gap: 8px; width: 100%; }
.bento-protection-intro img { width: 112px; }
.bento-protection code { background: transparent; padding: 0; }
.bento-file { display: flex; align-items: center; gap: 12px; color: var(--action); margin-bottom: 8px; max-width: 100%; }
.bento-file .ph-icon { width: 32px; height: 32px; }
.bento-file code { font-size: 24px; padding: 0; background: transparent; letter-spacing: -.06em; }
.bento-caches { background: var(--cache-surface); color: var(--paper); }
.bento-caches :focus-visible { outline-color: var(--paper); }
.bento-cache-tools { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 0 0 8px; font-size: 16px; font-weight: 650; line-height: 1.5; }
.bento-archives { background: var(--quiet); }
.bento-archives > .ph-icon { width: 48px; height: 48px; color: var(--action); }
.bento-usage h3, .bento-performance h3 { font-size: 36px; }
.bento-periods { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 4px; }
.bento-periods > span { font-size: 14px; padding-right: 8px; }
.bento-periods a { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; min-height: 44px; background: var(--quiet); border-radius: 10px; color: var(--action); font-size: 14px; font-weight: 650; text-decoration: none; transition: color 160ms, background-color 160ms; }
.bento-storage { background: var(--quiet); }
.bento-storage-heading { display: flex; align-items: center; gap: 16px; }
.bento-storage-heading > .ph-icon { width: 40px; height: 40px; color: var(--action); }
.bento-performance { background: var(--review-bg); }
.bento-performance-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; }
.bento-performance-heading > .ph-icon { width: 80px; height: 80px; color: var(--review-ink); }
.bento-mac kbd { font-family: inherit; font-size: .9em; font-weight: 650; }
.native-tour { margin-top: 32px; }
.native-tour > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 20px 56px 20px 24px; border-radius: 12px; background: rgb(248 245 238 / .08); font-family: Bricolage, sans-serif; font-size: 24px; font-weight: 650; transition: background-color 160ms; }
.native-tour > summary > .ph-icon { position: absolute; right: 24px; top: 50%; translate: 0 -50%; transition: transform 220ms var(--ease); }
.native-tour[open] > summary > .ph-icon { transform: rotate(180deg); }
.native-tour-label { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; font-weight: 400; margin-left: auto; }
.native-tour-content { padding-top: 32px; }
.native-tour p { color: var(--paper); padding-bottom: 0; }
.native-tour .tour-copy p { font-size: 16px; }
html[data-input=keyboard] .bento-link, html[data-input=keyboard] .bento-periods a, html[data-input=keyboard] .native-tour > summary, html[data-input=keyboard] .native-tour > summary > .ph-icon { transition: none !important; }
@media (hover: hover) and (pointer: fine) {
  .bento-link:hover { color: var(--action); }
  .bento-worktrees .bento-link:hover { color: var(--white); text-decoration-thickness: 2px; }
  .bento-periods a:hover { background: var(--action); color: var(--white); }
  .native-tour > summary:hover { background: rgb(248 245 238 / .14); }
}
@media (max-width: 1150px) and (min-width: 1001px) {
  .bento-card { padding: 24px; }
  .bento-worktree-intro { grid-template-columns: minmax(0, 1fr) 156px; }
  .bento-protection-intro { grid-template-columns: minmax(0, 1fr) 88px; }
  .bento-protection h3 { font-size: 28px; }
}
@media (max-width: 1000px) {
  .feature-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card { grid-column: auto; }
  .bento-worktrees, .bento-usage, .bento-mac { grid-column: span 2; }
  .bento-worktrees h3 { font-size: 44px; }
  .bento-performance-heading { gap: 12px; }
  .bento-performance-heading > .ph-icon { width: 48px; height: 48px; }
  .bento-performance h3 { font-size: 32px; }
}
@media (max-width: 700px) {
  .feature-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento-card { grid-column: auto; padding: 24px; gap: 16px; }
  .bento-card h3 { font-size: 30px; }
  .bento-worktree-intro { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bento-worktree-intro img { width: 148px; justify-self: end; }
  .bento-protection-intro { grid-template-columns: minmax(0, 1fr) 80px; }
  .bento-protection h3 { font-size: 28px; }
  .bento-periods > span { width: 100%; }
  .bento-periods a { padding-inline: 14px; }
  .bento-storage-heading { gap: 12px; }
  .bento-storage-heading > .ph-icon { width: 32px; height: 32px; }
  .native-tour { margin-top: 24px; }
  .native-tour > summary { padding: 20px 48px 20px 20px; gap: 4px; font-size: 22px; }
  .native-tour-label { width: 100%; margin-left: 0; }
  .native-tour > summary > .ph-icon { right: 20px; }
  .native-tour-content { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .bento-link, .bento-periods a, .native-tour > summary, .native-tour > summary > .ph-icon { transition: none !important; }
}
