.ideas-body { --amber: #ffc044; --blue: #ffc044; --button-blue: #ffc044; }
.ideas-header nav a[aria-current="page"] { color: var(--ink); }
.ideas-header nav .header-download { color: var(--paper); }
.ideas-body .header-download:hover { background: #ffd276; }
.idea-library { padding-top: 28px; padding-bottom: 72px; }
.library-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.library-heading h1 { max-width: 20ch; font-size: clamp(32px, 4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
.library-heading > div > p { max-width: 68ch; margin-top: 12px; color: var(--muted); }
.library-count { flex: 0 0 auto; padding-bottom: 3px; color: #d2d8df; font-size: 14px; }
.library-count span { margin: 0 6px; color: #78838f; }
.library-intro { max-width: 78ch; margin-top: 22px; color: var(--muted); font-size: 15px; }
.idea-filters { display: grid; grid-template-columns: minmax(210px, 1.4fr) repeat(3, minmax(140px, .8fr)) auto; align-items: end; gap: 12px; margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.idea-filters[hidden] { display: none; }
.idea-filters > div { min-width: 0; }
.idea-filters label { display: block; margin-bottom: 5px; color: #c7cdd5; font-size: 12px; font-weight: 600; }
.idea-filters input[type="search"], .idea-filters select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #39424d; border-radius: 4px; color: var(--ink); background: #151b23; font: inherit; font-size: 14px; }
.idea-filters input[type="search"]:focus-visible, .idea-filters select:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.priority-filter { display: flex !important; align-items: center; gap: 8px; min-height: 44px; margin: 0 !important; white-space: nowrap; cursor: pointer; }
.priority-filter input { width: 18px; height: 18px; accent-color: var(--amber); }
.clear-filters { grid-column: 1 / -1; justify-self: start; min-height: 44px; padding: 4px 8px; border: 0; color: #d7dde5; background: none; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.clear-filters[hidden] { display: none; }
.clear-filters:hover { color: var(--amber); }
.idea-list-heading { display: flex; justify-content: space-between; gap: 20px; margin: 22px 0 6px; color: #87929f; font-size: 12px; }
.idea-list-heading [role="status"] { color: #d5dbe3; }
.idea-list { border-top: 1px solid #303842; }
.idea-row { display: grid; grid-template-columns: 118px minmax(0, 1fr) 112px; align-items: center; gap: 24px; min-height: 206px; padding: 18px 0; border-bottom: 1px solid #303842; }
.idea-row[hidden] { display: none; }
.idea-row-image { display: grid; width: 118px; height: 170px; place-items: center; overflow: hidden; }
.idea-row-thumb { display: block; width: auto; max-width: 100%; height: auto; max-height: 170px; object-fit: contain; }
.idea-row-content { min-width: 0; }
.idea-row-titleline { display: flex; align-items: center; gap: 10px; }
.idea-row-kicker { color: #87929f; font-size: 11px; letter-spacing: .02em; }
.priority-label { display: inline-flex; align-items: center; min-height: 22px; padding: 1px 7px; border: 1px solid #84682f; border-radius: 3px; color: #ffd16d; font-size: 10px; font-weight: 600; }
.idea-row h2 { margin-top: 3px; font-size: 23px; line-height: 1.22; letter-spacing: -.02em; }
.idea-row h2 a:hover { color: var(--amber); }
.idea-row-tagline { margin-top: 5px; color: #e0e4e9; font-size: 14px; font-weight: 600; }
.idea-row-summary { max-width: 74ch; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.idea-row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.idea-row-tags span { color: #87929f; font-size: 11px; }
.idea-row-tags span + span::before { content: "·"; margin-right: 6px; color: #56616d; }
.idea-row-link { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 44px; color: #dce1e7; font-size: 13px; font-weight: 600; white-space: nowrap; }
.idea-row-link span { color: var(--amber); transition: transform 160ms ease; }
.idea-row-link:hover { color: var(--amber); }
.idea-row-link:hover span { transform: translateX(3px); }
.no-results { margin: 22px 0; color: var(--muted); }
.no-results[hidden] { display: none; }
.no-results button { min-height: 44px; margin-left: 8px; padding: 4px 8px; border: 0; color: var(--ink); background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sensor-foundation { margin-top: 76px; padding-top: 36px; border-top: 1px solid var(--line); }
.sensor-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sensor-intro h2 { max-width: 17ch; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.sensor-intro p { max-width: 54ch; color: var(--muted); font-size: 14px; }
.sensor-coding { max-width: 70ch; margin-top: 18px; color: #b4bec9; font-size: 14px; }
.sensor-table-wrap { margin-top: 28px; }
.sensor-table { width: 100%; border-collapse: collapse; text-align: left; }
.sensor-table th, .sensor-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid #29313a; vertical-align: top; }
.sensor-table thead th { color: #87929f; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.sensor-table tbody th { width: 25%; color: #e0e4e9; font-size: 14px; font-weight: 600; }
.sensor-table td { color: var(--muted); font-size: 13px; line-height: 1.5; }
.sensor-table td:last-child { width: 28%; }
.sensor-table td a { color: #dce1e7; text-decoration: underline; text-decoration-color: #59636f; text-underline-offset: 3px; }
.sensor-table td a:hover { color: var(--amber); }
.sensor-note { max-width: 82ch; margin-top: 18px; color: #87929f; font-size: 12px; }
.sensor-note a { color: #d0d7df; text-decoration: underline; text-underline-offset: 3px; }
.sensor-note a:hover { color: var(--amber); }
.idea-page { padding-top: 24px; padding-bottom: 56px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #8d98a4; font-size: 13px; }
.breadcrumbs a { color: #d1d7df; text-decoration: underline; text-decoration-color: #59636f; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--amber); }
.idea-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); align-items: start; gap: 0 clamp(36px, 7vw, 88px); margin-top: 20px; }
.idea-page-heading { grid-column: 1; grid-row: 1; min-width: 0; }
.idea-report { grid-column: 1; grid-row: 2; min-width: 0; }
.idea-page-titleline { display: flex; align-items: center; gap: 12px; }
.idea-page-kicker { color: #a2acb7; font-size: 12px; }
.idea-page h1 { margin-top: 12px; font-size: clamp(40px, 5vw, 56px); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: anywhere; }
.idea-page-tagline { margin-top: 12px; color: #dce1e7; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; line-height: 1.35; }
.idea-meta { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 22px; margin: 24px 0 30px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.idea-meta dt { color: #8994a0; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.idea-meta dd { margin-top: 5px; color: #e2e6eb; font-size: 13px; line-height: 1.5; }
.idea-report-section { margin-top: 26px; }
.idea-report-section h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
.idea-report-section p, .idea-report-section li { max-width: 70ch; color: #b4bec9; font-size: 15px; line-height: 1.65; }
.idea-report-section > p { margin-top: 8px; }
.idea-report-section ol { display: grid; gap: 8px; margin: 10px 0 0; padding-left: 22px; }
.idea-report-section li { padding-left: 4px; }
.idea-report-section li::marker { color: var(--amber); font-size: 12px; }
.idea-report-section .ai-role { margin-top: 12px; color: #9ea9b5; font-size: 13px; }
.idea-report-section .ai-role strong { color: #dbe0e7; font-weight: 600; }
.related-links > p { color: #87929f; font-size: 13px; }
.related-links ul { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 8px 0 0; padding: 0; list-style: none; }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; color: #d6dce4; font-size: 13px; text-decoration: underline; text-decoration-color: #59636f; text-underline-offset: 3px; }
.related-links a:hover { color: var(--amber); }
.idea-get-app { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 26px; padding: 0 16px; border-radius: 4px; color: #0d1014; background: var(--amber); font-size: 14px; font-weight: 700; }
.idea-get-app:hover { background: #ffd276; }
.idea-page-visual { position: sticky; top: 24px; grid-column: 2; grid-row: 1 / span 2; margin: 12px 0 0; }
.idea-page-image { display: block; width: 100%; max-width: 390px; height: auto; max-height: min(76svh, 780px); margin: 0 auto; object-fit: contain; }
.idea-page-visual figcaption { margin-top: 8px; color: #a4adb8; font-size: 12px; text-align: center; }
.idea-neighbors { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--line); }
.idea-neighbors > a { display: flex; flex-direction: column; gap: 3px; min-height: 54px; justify-content: center; }
.idea-neighbors > a:last-of-type { text-align: right; }
.idea-neighbors span { color: #8994a0; font-size: 12px; }
.idea-neighbors strong { color: #dce1e7; font-size: 14px; }
.idea-neighbors a:hover strong, .idea-neighbors a:hover span { color: var(--amber); }
.idea-neighbors .all-ideas-link { align-items: center; padding: 0 10px; }
.idea-neighbors > span { min-width: 0; }
@media (max-width: 1000px) {
  .idea-filters { grid-template-columns: minmax(200px, 1.3fr) repeat(2, minmax(130px, 1fr)); }
  .priority-filter { grid-column: 2; }
  .clear-filters { grid-column: 2 / -1; justify-self: end; }
  .idea-row { grid-template-columns: 104px minmax(0, 1fr) 94px; gap: 18px; }
  .idea-row-image { width: 104px; height: 156px; }
  .idea-row-thumb { max-height: 156px; }
  .idea-page-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}
@media (max-width: 700px) {
  .idea-library { padding-top: 20px; padding-bottom: 44px; }
  .library-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .library-heading h1 { font-size: 32px; }
  .library-heading > div > p { margin-top: 8px; font-size: 14px; }
  .library-count { font-size: 13px; }
  .library-intro { margin-top: 16px; font-size: 14px; }
  .idea-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; padding: 14px 0; }
  .filter-search { grid-column: 1 / -1; }
  .idea-filters label { font-size: 12px; }
  .priority-filter { grid-column: 2; }
  .clear-filters { grid-column: 2; justify-self: end; }
  .idea-row { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; min-height: 0; padding: 14px 0; }
  .idea-row-image { grid-row: span 2; width: 76px; height: 136px; }
  .idea-row-thumb { max-height: 136px; }
  .idea-row-titleline { gap: 7px; }
  .idea-row-kicker { font-size: 10px; }
  .priority-label { min-height: 20px; padding: 1px 5px; font-size: 9px; }
  .idea-row h2 { margin-top: 3px; font-size: 19px; }
  .idea-row-tagline { margin-top: 4px; font-size: 13px; }
  .idea-row-summary { margin-top: 5px; font-size: 12px; line-height: 1.45; }
  .idea-row-tags { gap: 3px; margin-top: 6px; }
  .idea-row-tags span { font-size: 10px; }
  .idea-row-tags span + span::before { margin-right: 3px; }
  .idea-row-link { grid-column: 2; justify-content: flex-start; min-height: 44px; font-size: 12px; }
  .idea-list-heading { margin-top: 18px; }
  .sensor-foundation { margin-top: 48px; padding-top: 28px; }
  .sensor-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
  .sensor-intro h2 { font-size: 27px; }
  .sensor-intro p { font-size: 13px; }
  .sensor-coding { font-size: 13px; }
  .sensor-table-wrap { margin-top: 20px; }
  .sensor-table, .sensor-table tbody { display: block; }
  .sensor-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sensor-table tr { display: block; padding: 12px 0; border-bottom: 1px solid #29313a; }
  .sensor-table th, .sensor-table td { display: block; width: auto !important; padding: 3px 0; border: 0; }
  .sensor-table tbody th { font-size: 14px; }
  .sensor-table td { font-size: 13px; }
  .sensor-table td:last-child::before { content: "Ideas: "; color: #88939f; }
  .sensor-note { font-size: 12px; line-height: 1.6; }
  .idea-page { padding-top: 16px; padding-bottom: 38px; }
  .idea-page-layout { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; }
  .idea-page h1 { margin-top: 10px; font-size: 42px; }
  .idea-page-tagline { font-size: 19px; }
  .idea-meta { grid-template-columns: 1fr; gap: 12px; margin: 20px 0 24px; padding: 14px 0; }
  .idea-report-section { margin-top: 22px; }
  .idea-report-section h2 { font-size: 19px; }
  .idea-report-section p, .idea-report-section li { font-size: 14px; }
  .idea-page-visual { position: static; align-self: center; width: min(100%, 300px); margin: 0; }
  .idea-page-image { max-height: 360px; }
  .idea-neighbors { gap: 10px; margin-top: 38px; }
  .idea-neighbors strong { font-size: 12px; }
  .idea-neighbors .all-ideas-link { padding: 0 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .idea-row-link span { transition: none; }
}
