:root {
  color-scheme: light;
  --font-heading: "Onest", "Segoe UI", sans-serif;
  --font-body: "Onest", "Segoe UI", sans-serif;
  --background: hsl(36 36% 97%);
  --foreground: hsl(203 31% 14%);
  --card: hsl(0 0% 100%);
  --primary: hsl(186 71% 27%);
  --primary-foreground: hsl(0 0% 98%);
  --secondary: hsl(32 64% 94%);
  --muted: hsl(36 26% 93%);
  --muted-foreground: hsl(202 16% 39%);
  --accent: hsl(34 92% 92%);
  --border: hsl(34 25% 85%);
  --input: hsl(34 25% 85%);
  --row: rgba(255, 255, 255, 0.78);
  --panel: rgba(255, 252, 249, 0.96);
  --header: rgba(255, 250, 245, 0.94);
  --command: rgba(255, 255, 255, 0.96);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root.dark {
  color-scheme: dark;
  --background: hsl(202 34% 8%);
  --foreground: hsl(40 33% 96%);
  --card: hsl(202 28% 11%);
  --primary: hsl(182 54% 62%);
  --primary-foreground: hsl(202 34% 8%);
  --secondary: hsl(201 22% 16%);
  --muted: hsl(201 20% 15%);
  --muted-foreground: hsl(34 16% 72%);
  --accent: hsl(24 38% 18%);
  --border: hsl(201 18% 22%);
  --input: hsl(201 18% 22%);
  --row: rgba(15, 23, 42, 0.72);
  --panel: rgba(17, 24, 39, 0.96);
  --header: rgba(15, 23, 42, 0.94);
  --command: rgba(15, 23, 42, 0.96);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--foreground);
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.06), transparent 26%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.05), transparent 24%),
    var(--background);
}
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.025em; }
.app-shell { display: flex; min-height: 100vh; }
.main-column { min-width: 0; flex: 1; }
.filter-panel { position: sticky; top: 0; z-index: 20; width: 320px; height: 100vh; flex: 0 0 320px; overflow: hidden; border-right: 1px solid color-mix(in srgb, var(--border) 72%, transparent); background: var(--panel); box-shadow: 6px 0 18px rgba(15, 23, 42, 0.035); }
.filter-panel-inner { display: flex; width: 100%; height: 100%; flex-direction: column; padding: 16px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.filter-heading h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 1.12rem; }
.filter-heading-actions { display: flex; align-items: center; gap: 6px; }
.icon-button.sidebar-close { display: none; }
.sidebar-scroll { flex: 1; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.filter-section { margin: 0; padding: 0 0 22px; border: 0; }
.filter-section + .filter-section { padding-top: 20px; border-top: 1px solid var(--border); }
.filter-label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--foreground); font-size: 0.88rem; font-weight: 600; letter-spacing: normal; text-transform: none; }
summary.filter-label { cursor: pointer; list-style: none; justify-content: space-between; }
summary.filter-label::after { content: "⌄"; color: var(--muted-foreground); transition: transform 160ms ease; }
details[open] > summary.filter-label::after { transform: rotate(180deg); }
summary::-webkit-details-marker { display: none; }
.date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date-fields input, .search-field input { border: 1px solid var(--input); border-radius: 12px; background: color-mix(in srgb, var(--card) 92%, transparent); color: var(--foreground); outline: none; }
.date-fields input { width: 100%; min-width: 0; min-height: 40px; padding: 0 8px; font-size: 0.76rem; }
input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.checkbox-list { display: grid; gap: 8px; }
.checkbox-option { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; }
.checkbox-option input { width: 16px; height: 16px; accent-color: var(--primary); }
.checkbox-option label { display: flex; min-width: 0; flex: 1; align-items: center; gap: 7px; cursor: pointer; }
.checkbox-option .option-name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.count-badge { flex: 0 0 auto; margin-left: auto; padding: 1px 7px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted-foreground); font-size: 0.68rem; font-variant-numeric: tabular-nums; }
.status-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; }
.community-note { padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 0.76rem; line-height: 1.48; }
.community-note p { margin: 8px 0 0; }
.site-header { position: relative; z-index: 12; border-bottom: 1px solid var(--border); background: var(--header); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04); }
.header-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px 10px; }
.primary-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.primary-nav::-webkit-scrollbar { display: none; }
.nav-pill, .outline-button, .ghost-button, .icon-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: color-mix(in srgb, var(--background) 78%, transparent); color: var(--muted-foreground); text-decoration: none; transition: border-color 150ms ease, background 150ms ease, color 150ms ease; }
.nav-pill { min-height: 35px; flex: 0 0 auto; padding: 0 13px; border-radius: 999px; font-size: 0.86rem; font-weight: 500; }
.nav-pill:hover, .outline-button:hover, .ghost-button:hover, .icon-button:hover { background: var(--accent); color: var(--foreground); }
.nav-pill.active { border-color: color-mix(in srgb, var(--primary) 20%, transparent); background: var(--primary); color: var(--primary-foreground); box-shadow: 0 2px 6px color-mix(in srgb, var(--primary) 18%, transparent); }
.brand-cluster { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.brand-copy { display: grid; justify-items: end; color: var(--muted-foreground); font-size: 0.72rem; }
.identity-kicker { color: var(--primary); font-family: var(--font-heading); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.identity-kicker.muted { color: var(--muted-foreground); font-size: 0.67rem; }
.refresh-badge, .mobile-refresh-badge { border: 1px solid color-mix(in srgb, #f59e0b 45%, var(--border)); border-radius: 16px; background: color-mix(in srgb, #fef3c7 72%, var(--background)); color: #7c3f08; font-size: 0.72rem; font-weight: 600; text-align: center; }
.refresh-badge { display: grid; padding: 6px 11px; }
.dark .refresh-badge, .dark .mobile-refresh-badge { background: rgba(245, 158, 11, 0.1); color: #fbd38d; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; padding: 0; color: var(--foreground); font-size: 1.1rem; }
.title-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 0 24px 18px; }
.title-row h1 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.2rem); line-height: 1; }
.title-row p { max-width: 760px; margin: 9px 0 0; color: var(--muted-foreground); font-size: 0.93rem; }
.mobile-refresh-badge { display: none; padding: 5px 8px; }
.command-surface { position: sticky; top: 0; z-index: 10; padding: 13px 24px 14px; border-bottom: 1px solid var(--border); background: var(--command); box-shadow: 0 3px 10px rgba(15, 23, 42, 0.045); backdrop-filter: blur(14px); }
.command-row { display: flex; align-items: center; gap: 12px; }
.search-field { position: relative; min-width: 260px; flex: 1; }
.search-field > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); font-size: 1.25rem; }
.search-field input { width: 100%; height: 44px; padding: 0 42px; font-size: 0.92rem; }
.search-field button { position: absolute; right: 5px; top: 50%; width: 32px; height: 32px; transform: translateY(-50%); border: 0; border-radius: 8px; background: transparent; color: var(--muted-foreground); font-size: 1.2rem; }
.command-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; overflow-x: auto; }
.segmented-control { display: flex; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--background) 80%, transparent); }
.segmented-control button { min-height: 36px; padding: 0 12px; border: 0; border-right: 1px solid var(--border); background: transparent; color: var(--muted-foreground); font-size: 0.8rem; }
.segmented-control button:last-child { border-right: 0; }
.segmented-control button[aria-pressed="true"] { background: var(--primary); color: var(--primary-foreground); }
.outline-button { min-height: 37px; padding: 0 12px; border-radius: 12px; font-size: 0.8rem; font-weight: 550; }
.product-filter-area { margin-top: 9px; }
.product-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; overflow: hidden; transition: max-height 180ms ease; }
.product-pills.collapsed { max-height: 66px; }
.product-pills.expanded { max-height: 260px; overflow-y: auto; }
.product-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 2px 10px; border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--card) 75%, transparent); color: var(--foreground); font-size: 0.72rem; font-weight: 520; }
.product-pill:hover { background: var(--secondary); }
.product-pill.selected { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.product-pill span { opacity: 0.62; }
.ghost-button { min-height: 34px; padding: 0 11px; border-radius: 10px; }
.ghost-button.compact { min-height: 28px; margin-top: 6px; padding: 0 7px; border-color: transparent; background: transparent; font-size: 0.72rem; }
.content-area { padding: 18px 24px 32px; }
.summary-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 28px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 15px; background: color-mix(in srgb, var(--background) 78%, transparent); color: var(--muted-foreground); font-size: 0.79rem; }
.summary-strip strong { color: var(--foreground); font-weight: 600; }
.summary-source { margin-left: auto; }
.grouped-results { display: grid; gap: 40px; }
.primary-group { display: grid; gap: 22px; }
.group-heading { position: relative; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 1.45rem; font-weight: 600; }
.group-heading::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, rgba(13, 148, 136, 0.82), rgba(249, 115, 22, 0.82)); }
.group-heading span, .subgroup-heading span { margin-left: 7px; color: var(--muted-foreground); font-size: 0.76rem; font-weight: 500; }
.subgroup { display: grid; gap: 10px; }
.subgroup-heading { margin: 0; color: var(--muted-foreground); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.item-list { display: grid; gap: 9px; }
.roadmap-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2.4fr) 138px 168px; gap: 18px; padding: 16px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 16px; background: var(--row); box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03); cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.roadmap-row:hover { border-color: rgba(13, 148, 136, 0.36); background: color-mix(in srgb, var(--card) 90%, var(--primary) 2%); box-shadow: 0 6px 18px rgba(13, 148, 136, 0.06); }
.row-title-block { display: grid; align-content: start; gap: 8px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.status-badge, .ring-badge, .id-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 9px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 999px; background: color-mix(in srgb, var(--card) 88%, transparent); font-size: 0.68rem; font-weight: 620; }
.status-badge i { width: 9px; height: 9px; border-radius: 50%; }
.ring-badge { background: color-mix(in srgb, var(--secondary) 65%, transparent); color: var(--muted-foreground); }
.row-title { font-size: 1.03rem; font-weight: 620; line-height: 1.3; transition: color 150ms ease; }
.roadmap-row:hover .row-title { color: var(--primary); }
.row-product { color: var(--muted-foreground); font-size: 0.79rem; line-height: 1.35; }
.row-description { display: -webkit-box; overflow: hidden; color: color-mix(in srgb, var(--foreground) 82%, var(--muted-foreground)); font-size: 0.82rem; line-height: 1.52; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.row-meta { display: grid; align-content: start; gap: 11px; font-size: 0.78rem; }
.meta-label { display: block; margin-bottom: 2px; color: var(--muted-foreground); font-size: 0.64rem; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; }
.numeric { font-variant-numeric: tabular-nums; }
.id-badge { width: fit-content; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.loading-state { display: grid; gap: 16px; }
.skeleton { border-radius: 14px; background: color-mix(in srgb, var(--muted) 84%, var(--primary) 4%); animation: pulse 1.5s ease-in-out infinite; }
.skeleton.slim { width: 100%; height: 34px; }
.skeleton.tall { width: 100%; height: 255px; }
.skeleton.cards { width: 100%; height: 150px; }
@keyframes pulse { 50% { opacity: 0.52; } }
.empty-state, .error-state { padding: 48px 22px; border: 1px dashed var(--border); border-radius: 16px; background: color-mix(in srgb, var(--background) 78%, transparent); color: var(--muted-foreground); text-align: center; }
.error-state { border-color: #c45b4a; color: #a13f31; }
.load-more { display: block; min-width: 190px; min-height: 43px; margin: 24px auto 0; border: 1px solid var(--primary); border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-weight: 620; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 22px 24px 70px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 0.75rem; }
.site-footer p { max-width: 760px; margin: 0; }
.site-footer div { display: flex; gap: 15px; }
.filter-backdrop, .mobile-dock { display: none; }
dialog { color: var(--foreground); background: var(--panel); }
dialog::backdrop { background: rgba(2, 12, 18, 0.5); backdrop-filter: blur(3px); }
.detail-dialog, .about-dialog { width: min(760px, calc(100% - 28px)); max-height: min(860px, calc(100vh - 28px)); padding: 0; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 80px rgba(2, 12, 18, 0.3); }
.detail-dialog-inner { display: grid; max-height: min(860px, calc(100vh - 28px)); grid-template-rows: auto 1fr auto; }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: 22px 24px 16px; border-bottom: 1px solid var(--border); }
.dialog-header h2 { margin: 7px 0 0; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.2; }
.dialog-body { overflow-y: auto; padding: 20px 24px; }
.dialog-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.dialog-description { color: color-mix(in srgb, var(--foreground) 84%, var(--muted-foreground)); font-size: 0.91rem; line-height: 1.7; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: var(--border); }
.dialog-grid > div { min-height: 68px; padding: 12px 14px; background: var(--card); font-size: 0.8rem; }
.dialog-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; padding: 14px 24px; border-top: 1px solid var(--border); }
.dialog-footer a { text-decoration: none; }
.about-dialog { max-width: 620px; }
.about-copy { padding: 12px 24px 24px; color: var(--muted-foreground); font-size: 0.9rem; line-height: 1.68; }
@media (max-width: 1100px) {
  .filter-panel { width: 288px; flex-basis: 288px; }
  .brand-copy { display: none; }
  .roadmap-row { grid-template-columns: minmax(0, 1.7fr) minmax(0, 2fr) 125px; }
  .roadmap-row > .row-meta:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
}
@media (max-width: 860px) {
  .filter-panel { position: fixed; left: 0; top: 0; z-index: 60; width: min(355px, calc(100vw - 38px)); height: 100dvh; transform: translateX(-105%); transition: transform 190ms ease; box-shadow: 12px 0 34px rgba(2, 12, 18, 0.22); }
  body.filters-open { overflow: hidden; }
  body.filters-open .filter-panel { transform: translateX(0); }
  .icon-button.sidebar-close { display: inline-grid; }
  .filter-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(2, 12, 18, 0.45); }
  body.filters-open .filter-backdrop { display: block; }
  .header-topline { align-items: start; padding: 12px 14px 9px; }
  .brand-cluster { gap: 7px; }
  .refresh-badge { display: none; }
  .nav-pill:nth-child(3) { display: none; }
  .title-row { padding: 0 14px 14px; }
  .title-row h1 { font-size: 1.85rem; }
  .title-row p { font-size: 0.82rem; line-height: 1.45; }
  .mobile-refresh-badge { display: inline-flex; flex: 0 0 auto; }
  .command-surface { position: static; padding: 11px 14px 12px; }
  .command-row { align-items: stretch; flex-direction: column; }
  .command-actions { justify-content: space-between; }
  .product-pills.collapsed { max-height: 55px; }
  .content-area { padding: 14px 14px 28px; }
  .summary-strip { margin-bottom: 22px; }
  .summary-source { width: 100%; margin-left: 0; }
  .roadmap-row { grid-template-columns: 1fr; gap: 13px; padding: 14px; }
  .roadmap-row > .row-meta:last-child { grid-column: auto; }
  .row-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-description { -webkit-line-clamp: 2; }
  .mobile-dock { position: fixed; left: 50%; bottom: 13px; z-index: 50; display: flex; transform: translateX(-50%); overflow: hidden; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); box-shadow: 0 12px 34px rgba(2, 12, 18, 0.2); }
  .mobile-dock button { min-height: 45px; min-width: 104px; padding: 0 15px; border: 0; background: transparent; font-size: 0.8rem; font-weight: 600; }
  .mobile-dock button + button { border-left: 1px solid var(--border); }
  #active-filter-count { display: inline-grid; min-width: 20px; height: 20px; margin-left: 4px; place-items: center; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); font-size: 0.65rem; }
  .site-footer { padding: 20px 14px 82px; flex-direction: column; }
}
@media (max-width: 520px) {
  .primary-nav { max-width: calc(100vw - 110px); }
  .nav-pill { min-height: 32px; padding: 0 10px; font-size: 0.75rem; }
  .icon-button { width: 34px; height: 34px; }
  .title-row h1 { font-size: 1.65rem; }
  .mobile-refresh-badge { display: none; }
  .command-actions { align-items: stretch; flex-direction: column; }
  .segmented-control { width: 100%; }
  .segmented-control button { flex: 1; padding-inline: 7px; }
  .outline-button { align-self: flex-start; }
  .group-heading { font-size: 1.25rem; }
  .dialog-grid { grid-template-columns: 1fr; }
  .detail-dialog { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .detail-dialog-inner { max-height: 92dvh; }
}
