Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download web/src/styles/sdlc86/pdp-text.css from fsanyoto/runloopable: direct link, hf CLI and curl.
- Browser
- Download file 44.6 kB
-
https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/src/styles/sdlc86/pdp-text.css
- Command line
-
hf download hf://spaces/fsanyoto/runloopable/web/src/styles/sdlc86/pdp-text.css
-
curl -L -o pdp-text.css https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/src/styles/sdlc86/pdp-text.css
44.6 kB
| .pdp-text-editor { | |
| display: flex; | |
| flex-direction: column; | |
| min-width: 0; | |
| min-height: 100%; | |
| height: 100%; | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-xs); | |
| } | |
| .pdp-text-editor b { font-weight: var(--lp-fw-semibold); } | |
| .pdp-text-muted { color: var(--lp-muted); font-size: var(--lp-fs-2xs); } | |
| .pdp-text-head { | |
| display: grid; | |
| flex-shrink: 0; | |
| grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); | |
| align-items: center; | |
| gap: 12px; | |
| padding: 10px 0; | |
| border-bottom: 1px solid var(--lp-line); | |
| } | |
| .pdp-text-fieldname { display: flex; flex-direction: column; gap: 1px; } | |
| .pdp-text-fieldname > b { font-size: var(--lp-fs-md); } | |
| .pdp-text-stepbar { display: flex; justify-content: center; } | |
| .pdp-text-stepbar ol { display: flex; align-items: center; list-style: none; gap: 0; padding: 0; margin: 0; } | |
| .pdp-text-stepbar li { position: relative; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); color: var(--lp-muted); } | |
| .pdp-text-stepbar li + li { margin-left: 44px; } | |
| .pdp-text-stepbar li + li::before { | |
| content: ""; | |
| position: absolute; | |
| left: -38px; | |
| width: 32px; | |
| top: 50%; | |
| border-top: 2px dotted var(--lp-line-strong); | |
| } | |
| .pdp-text-stepbar li.is-done + li::before { border-top-color: var(--lp-green-deep); } | |
| .pdp-text-stepbar button, .pdp-text-view-switch button { | |
| appearance: none; | |
| border: 0; | |
| background: transparent; | |
| font: inherit; | |
| color: inherit; | |
| cursor: pointer; | |
| white-space: nowrap; | |
| } | |
| .pdp-text-stepbar button { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: var(--lp-fs-2xs); } | |
| .pdp-text-stepbar button > span { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: var(--lp-r-pill); background: var(--lp-wash); font-size: var(--lp-fs-3xs); } | |
| .pdp-text-stepbar .is-current { border-color: var(--lp-primary); background: var(--lp-primary-tint); color: var(--lp-ink); } | |
| .pdp-text-stepbar .is-current button > span { background: var(--lp-primary); color: var(--lp-surface); } | |
| .pdp-text-stepbar .is-done button > span { background: var(--lp-green-deep); color: var(--lp-surface); } | |
| .pdp-text-timeframe { display: inline-flex; align-items: center; justify-self: end; gap: 6px; } | |
| .pdp-text-timeframe select { font-size: var(--lp-fs-2xs); padding: 4px 8px; } | |
| .pdp-text-editor button:not(.cg-btn):focus-visible, .pdp-text-editor select:focus-visible, .pdp-text-editor [tabindex]:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| } | |
| .pdp-text-editor button:disabled, .pdp-text-editor select:disabled { opacity: 0.5; cursor: not-allowed; } | |
| .pdp-text-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 12px 0; min-height: 0; overflow-y: auto; } | |
| .pdp-text-card { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg); overflow: hidden; } | |
| .pdp-text-card > header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--lp-line); font-size: var(--lp-fs-xs); } | |
| .pdp-text-card > header svg { color: var(--lp-muted); } | |
| .pdp-text-empty { margin: 0; padding: 12px 16px; color: var(--lp-muted); } | |
| .pdp-text-insights { list-style: none; margin: 0; padding: 4px 16px 6px; display: grid; gap: 6px; } | |
| .pdp-text-insights li { display: grid; grid-template-columns: 74px 120px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--lp-line); line-height: 1.45; } | |
| .pdp-text-insights li:last-child { border-bottom: 0; } | |
| .pdp-text-chip { display: inline-block; text-align: center; font-size: var(--lp-fs-3xs); padding: 1px 8px; border-radius: var(--lp-r-pill); background: var(--lp-wash); color: var(--lp-muted); } | |
| .pdp-text-chip.is-good { background: var(--lp-green-tint); color: var(--lp-green-deep); } | |
| .pdp-text-chip.is-act, .pdp-text-chip.is-bad { background: var(--lp-red-tint); color: var(--lp-red-deep); } | |
| .pdp-text-chip.is-watch { background: var(--lp-yellow-tint); color: var(--lp-yellow-deep); } | |
| .pdp-text-subhead { padding: 8px 16px 4px; font-size: var(--lp-fs-xs); } | |
| .pdp-text-table-scroll { overflow-x: auto; margin: 12px 16px 16px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg); } | |
| .pdp-text-funnel { width: 100%; border-collapse: collapse; font-size: var(--lp-fs-2xs); } | |
| .pdp-text-funnel th { text-align: left; font-weight: var(--lp-fw-semibold); color: var(--lp-muted); padding: 6px 8px; border-bottom: 1px solid var(--lp-line); white-space: nowrap; font-size: var(--lp-fs-3xs); } | |
| .pdp-text-funnel td { padding: 8px; border-bottom: 1px solid var(--lp-line); vertical-align: top; } | |
| .pdp-text-funnel tr:last-child td { border-bottom: 0; } | |
| .pdp-text-funnel td:first-child, .pdp-text-funnel .pdp-text-chip { white-space: nowrap; } | |
| .pdp-text-funnel td:last-child { min-width: 320px; } | |
| .pdp-text-funnel .pdp-text-num { text-align: right; font-variant-numeric: tabular-nums; } | |
| .pdp-text-step-number { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: var(--lp-r-pill); background: var(--lp-primary-tint); color: var(--lp-primary); font-size: var(--lp-fs-3xs); } | |
| .pdp-text-funnel .pdp-text-also td { border-top: 2px solid var(--lp-line); } | |
| .pdp-text-view-rule { display: flex; justify-content: center; position: relative; margin: 6px 0 2px; } | |
| .pdp-text-view-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--lp-line); } | |
| .pdp-text-view-switch { display: inline-flex; position: relative; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); outline: 6px solid var(--lp-surface); } | |
| .pdp-text-view-switch button { color: var(--lp-muted); padding: 6px 16px; font-size: var(--lp-fs-xs); } | |
| .pdp-text-view-switch button + button { border-left: 1px solid var(--lp-line); } | |
| .pdp-text-view-switch button[aria-selected="true"] { background: var(--lp-primary-tint); color: var(--lp-primary); font-weight: var(--lp-fw-semibold); } | |
| .pdp-text-brief > ul { list-style: none; margin: 0; padding: 0; } | |
| .pdp-text-brief li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; } | |
| .pdp-text-brief li + li { border-top: 1px solid var(--lp-line); } | |
| .pdp-text-brief li > div { display: grid; gap: 3px; min-width: 0; } | |
| .pdp-text-brief p { margin: 0; color: var(--lp-muted); line-height: 1.45; } | |
| .pdp-text-tag { justify-self: start; font-size: var(--lp-fs-3xs); font-weight: var(--lp-fw-semibold); border-radius: var(--lp-r-md); padding: 2px 8px; background: var(--lp-wash); color: var(--lp-muted); } | |
| .pdp-text-tag.is-fix { background: var(--lp-red-deep); color: var(--lp-surface); } | |
| .pdp-text-tag.is-gap { background: var(--lp-red-tint); color: var(--lp-red-deep); } | |
| .pdp-text-tag.is-opportunity, .pdp-text-tag.is-keep { background: var(--lp-green-tint); color: var(--lp-green-deep); } | |
| .pdp-text-tag.is-practice, .pdp-text-tag.is-check { background: var(--lp-primary-tint); color: var(--lp-primary); } | |
| .pdp-text-quote { font-style: italic; } | |
| .pdp-text-quote span { font-style: normal; color: var(--lp-ink); } | |
| .pdp-text-notes { display: flex; flex-direction: column; gap: 8px; } | |
| .pdp-text-note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--lp-r-lg); border: 1px solid var(--lp-red); border-left: 4px solid var(--lp-red-deep); background: var(--lp-red-tint); } | |
| .pdp-text-note > svg { flex: none; color: var(--lp-red-deep); } | |
| .pdp-text-note > div { display: flex; flex-direction: column; gap: 3px; line-height: 1.45; } | |
| .pdp-text-note b { font-size: var(--lp-fs-sm); } | |
| .pdp-text-foot { display: flex; flex-shrink: 0; align-items: center; gap: 8px; margin-top: auto; padding: 10px 0 14px; background: var(--lp-surface); border-top: 1px solid var(--lp-line); } | |
| .pdp-text-foot > button:last-child:not(:first-child) { margin-left: auto; } | |
| .pdp-text-error > p { margin: 12px 16px; color: var(--lp-red-deep); } | |
| .pdp-text-error > button { margin: 0 16px 12px; } | |
| .pdp-text-summary > .pdp-text-error { border: 0; border-radius: 0; } | |
| .pdp-text-skeleton { display: grid; gap: 16px; padding: 16px; } | |
| .pdp-text-skeleton span { display: block; height: 16px; width: 100%; background: var(--lp-wash); border-radius: var(--lp-r-md); animation: pdp-text-pulse 1.2s ease-out infinite alternate; } | |
| .pdp-text-skeleton span:last-child { width: 65%; } | |
| @keyframes pdp-text-pulse { to { opacity: 0.45; } } | |
| @media (hover: hover) and (pointer: fine) { | |
| .pdp-text-stepbar li:not(.is-current):hover { border-color: var(--lp-primary); color: var(--lp-ink); } | |
| .pdp-text-view-switch button:hover { color: var(--lp-ink); } | |
| } | |
| @media (max-width: 1000px) { | |
| .pdp-text-head { grid-template-columns: minmax(0, 1fr) auto; } | |
| .pdp-text-stepbar { grid-column: 1 / -1; grid-row: 2; } | |
| } | |
| @media (max-width: 760px) { | |
| .pdp-text-head { grid-template-columns: minmax(0, 1fr); } | |
| .pdp-text-timeframe { justify-self: start; } | |
| .pdp-text-stepbar { justify-content: flex-start; overflow-x: auto; } | |
| .pdp-text-stepbar li + li { margin-left: 20px; } | |
| .pdp-text-stepbar li + li::before { left: -16px; width: 12px; } | |
| .pdp-text-insights li { grid-template-columns: 74px minmax(0, 1fr); } | |
| .pdp-text-insights li > span:last-child { grid-column: 2; } | |
| .pdp-text-view-switch { flex-wrap: wrap; justify-content: center; } | |
| .pdp-text-brief li { grid-template-columns: 76px minmax(0, 1fr); } | |
| } | |
| @media (prefers-reduced-motion: reduce) { .pdp-text-skeleton span { animation: none; } } | |
| .pdp-text-body > .pdp-text-card, .pdp-text-body > [role="tabpanel"] { flex-shrink: 0; } | |
| .pdp-keyword-charts { display: flex; flex-direction: column; gap: 12px; } | |
| .pdp-research-info { display: inline-flex; color: var(--lp-muted); } | |
| .pdp-show-all, .pdp-funnel-score { margin-left: auto; } | |
| .pdp-chart-summary { margin: 0; padding: 10px 16px; } | |
| .pdp-chart-slides { padding: 6px 16px 14px; } | |
| .pdp-chart-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } | |
| .pdp-chart-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; } | |
| .pdp-chart-chips button { font: inherit; font-size: var(--lp-fs-2xs); padding: 3px 10px; border-radius: var(--lp-r-pill); border: 1px solid var(--lp-line); background: var(--lp-surface); color: var(--lp-muted); cursor: pointer; } | |
| .pdp-chart-chips button[aria-selected="true"] { border-color: var(--lp-primary); color: var(--lp-primary); background: var(--lp-primary-tint); font-weight: var(--lp-fw-semibold); } | |
| .pdp-chart-count { white-space: nowrap; margin-left: 4px; } | |
| .pdp-chart-arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; } | |
| .pdp-chart-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; overscroll-behavior-x: contain; } | |
| .pdp-chart-track::-webkit-scrollbar { width: 8px; height: 8px; } | |
| .pdp-chart-slide { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; gap: 4px; } | |
| .pdp-chart-slide > span > b { color: var(--lp-ink); } | |
| .pdp-chart { position: relative; min-width: 0; } | |
| .pdp-chart svg { display: block; width: 100%; height: auto; overflow: visible; } | |
| .pdp-chart-grid { stroke: var(--lp-line); stroke-width: 1; } | |
| .pdp-chart-axis { font: var(--lp-fs-3xs) Inter, sans-serif; fill: var(--lp-muted); font-variant-numeric: tabular-nums; } | |
| .pdp-chart-cross { stroke: var(--lp-line-strong); stroke-dasharray: 3 3; } | |
| .pdp-year-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; } | |
| .pdp-year-current .pdp-year-line { stroke: var(--lp-primary); } | |
| .pdp-year-current circle { fill: var(--lp-primary); stroke: var(--lp-surface); stroke-width: 2; } | |
| .pdp-year-last .pdp-year-line { stroke: var(--lp-muted); } | |
| .pdp-year-last circle { fill: var(--lp-surface); stroke: var(--lp-muted); stroke-width: 2; } | |
| .pdp-year-fill { stroke: none; fill-opacity: 0.5; } | |
| .pdp-year-fill.is-up { fill: var(--lp-green); } | |
| .pdp-year-fill.is-down { fill: var(--lp-red); } | |
| .pdp-chart-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: var(--lp-fs-2xs); color: var(--lp-muted); margin-top: 4px; } | |
| .pdp-chart-legend span { display: inline-flex; align-items: center; gap: 5px; } | |
| .pdp-chart-legend i { width: 10px; height: 10px; border-radius: var(--lp-r-sm); } | |
| .pdp-chart-legend .is-current { background: var(--lp-primary); } | |
| .pdp-chart-legend .is-last { background: var(--lp-muted); } | |
| .pdp-chart-legend .is-up { background: var(--lp-green); } | |
| .pdp-chart-legend .is-down { background: var(--lp-red); } | |
| .pdp-chart-tip { position: absolute; top: 20px; z-index: var(--cg-z-editor); display: flex; flex-direction: column; gap: 3px; width: 200px; padding: 8px 10px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); box-shadow: 0 4px 12px color-mix(in srgb, var(--lp-ink) 12%, transparent); font-size: var(--lp-fs-2xs); pointer-events: none; } | |
| .pdp-keyword-charts .is-up { color: var(--lp-green-deep); } | |
| .pdp-keyword-charts .is-down { color: var(--lp-red-deep); } | |
| .pdp-chart-change.is-up { fill: var(--lp-green-deep); } | |
| .pdp-chart-change.is-down { fill: var(--lp-red-deep); } | |
| .pdp-year-funnel-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 8px 16px 0; font-size: var(--lp-fs-sm); } | |
| .pdp-year-funnel-scroll { margin: 8px 16px 16px; overflow-x: auto; } | |
| .pdp-year-funnel { width: 100%; border-collapse: collapse; font-size: var(--lp-fs-xs); } | |
| .pdp-year-funnel th, .pdp-year-funnel td { padding: 8px; border-bottom: 1px solid var(--lp-line); text-align: right; font-variant-numeric: tabular-nums; } | |
| .pdp-year-funnel th { font-size: var(--lp-fs-2xs); color: var(--lp-muted); font-weight: var(--lp-fw-semibold); } | |
| .pdp-year-funnel th:first-child, .pdp-year-funnel td:first-child { text-align: left; } | |
| .pdp-year-funnel td:first-child > .pdp-text-muted { display: block; } | |
| .pdp-year-funnel tr.is-worst td { background: var(--lp-red-tint); } | |
| .pdp-year-worst { margin-left: 12px; color: var(--lp-red-deep); } | |
| .pdp-list-funnel-grid { display: grid; gap: 6px; padding: 12px 16px 8px; overflow-x: auto; } | |
| .pdp-list-funnel-head, .pdp-list-funnel-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr) 170px; gap: 16px; align-items: center; } | |
| .pdp-list-funnel-head { font-size: var(--lp-fs-2xs); color: var(--lp-muted); font-weight: var(--lp-fw-semibold); } | |
| .pdp-list-funnel-row { min-height: 40px; border-top: 1px solid var(--lp-line); padding-top: 6px; } | |
| .pdp-list-funnel-head > :last-child, .pdp-list-funnel-row > :last-child { text-align: right; } | |
| .pdp-list-funnel-cell { display: flex; align-items: center; gap: 10px; min-width: 0; } | |
| .pdp-list-funnel-bar { display: block; height: 14px; border-radius: var(--lp-r-sm); background: var(--lp-primary); flex: none; max-width: 55%; } | |
| .pdp-list-funnel-bar.is-market { background: color-mix(in srgb, var(--lp-ink) 22%, var(--lp-surface)); } | |
| .pdp-list-funnel-value { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; min-width: 0; } | |
| .pdp-list-funnel-score { display: inline-block; font-size: var(--lp-fs-xs); font-weight: var(--lp-fw-semibold); padding: 2px 8px; border-radius: 6px; color: var(--lp-ink); } | |
| .pdp-list-funnel-score.is-good { background: var(--lp-green-tint); } | |
| .pdp-list-funnel-score.is-bad { background: var(--lp-red-tint); } | |
| .pdp-list-funnel-score.is-par { background: var(--lp-wash); } | |
| .pdp-target-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 24px; padding: 12px 16px 16px; } | |
| .pdp-target-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px 12px 12px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg); } | |
| .pdp-target-head { display: flex; align-items: center; gap: 6px; font-size: var(--lp-fs-sm); } | |
| .pdp-target-sum { margin: 2px 0 0; } | |
| .pdp-scatter-dot { stroke: var(--lp-surface); stroke-width: 1.2; cursor: pointer; fill-opacity: 0.85; } | |
| .pdp-scatter-dot.is-good { fill: var(--lp-green-deep); } | |
| .pdp-scatter-dot.is-bad { fill: var(--lp-red-deep); } | |
| .pdp-scatter-dot.is-mid { fill: var(--lp-muted); fill-opacity: 0.45; } | |
| .pdp-scatter-dot.is-selected { stroke: var(--lp-primary); stroke-width: 3; fill-opacity: 1; } | |
| .pdp-scatter-ref { stroke: var(--lp-muted); stroke-width: 1.2; } | |
| .pdp-scatter-ref.is-dash { stroke-dasharray: 4 3; stroke-width: 1; } | |
| .pdp-scatter-zone { fill: var(--lp-green-tint); } | |
| .pdp-scatter-label { font-size: var(--lp-fs-2xs); font-weight: var(--lp-fw-semibold); } | |
| .pdp-scatter-label.is-good { fill: var(--lp-green-deep); } | |
| .pdp-scatter-label.is-bad { fill: var(--lp-red-deep); } | |
| .pdp-scatter-axis-label { font-weight: var(--lp-fw-semibold); } | |
| .pdp-chart-legend .pdp-scatter-key { border-radius: var(--lp-r-pill); } | |
| .pdp-scatter-key.is-good { background: var(--lp-green-deep); } | |
| .pdp-scatter-key.is-bad { background: var(--lp-red-deep); } | |
| .pdp-scatter-key.is-mid { background: var(--lp-muted); opacity: 0.45; } | |
| @media (hover: hover) and (pointer: fine) { | |
| .pdp-chart-chips button:hover { color: var(--lp-ink); } | |
| .pdp-scatter-dot:hover { stroke: var(--lp-ink); stroke-width: 2; } | |
| } | |
| @media (max-width: 1100px) { | |
| .pdp-chart-track { grid-auto-columns: 100%; } | |
| .pdp-target-grid { grid-template-columns: minmax(0, 1fr); } | |
| .pdp-list-funnel-head, .pdp-list-funnel-row { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr) 150px; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { .pdp-chart-track { scroll-behavior: auto; } } | |
| .pdp-search-find { margin-left: auto; width: 200px; font-size: var(--lp-fs-2xs); } | |
| .pdp-search-box { margin: 12px 16px 16px; max-height: 72vh; overflow: auto; isolation: isolate; border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg); } | |
| .pdp-search-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--lp-fs-xs); font-variant-numeric: tabular-nums; } | |
| .pdp-search-table th, .pdp-search-table td { padding: 8px; border-bottom: 1px solid var(--lp-line); text-align: right; vertical-align: middle; } | |
| .pdp-search-table th { color: var(--lp-muted); font-size: var(--lp-fs-2xs); font-weight: var(--lp-fw-semibold); } | |
| .pdp-search-table th:first-child, .pdp-search-table td:first-child { text-align: left; } | |
| .pdp-search-grid { width: max-content; min-width: 100%; } | |
| .pdp-search-grid th, .pdp-search-grid td { white-space: nowrap; } | |
| .pdp-search-grid thead th { position: sticky; top: 0; z-index: var(--cg-z-menu); background: var(--lp-surface); box-shadow: inset 0 -1px 0 var(--lp-line); vertical-align: bottom; } | |
| .pdp-search-grid thead tr:nth-child(2) th { top: 29px; } | |
| .pdp-search-grid .pdp-search-groups th { height: 29px; box-sizing: border-box; padding: 0 8px; text-align: center; border-left: 1px solid var(--lp-line); } | |
| .pdp-search-grid .pdp-search-sticky { position: sticky; left: 0; z-index: var(--cg-z-editor); width: 190px; min-width: 190px; max-width: 220px; white-space: normal; background: var(--lp-surface); box-shadow: inset -1px 0 0 var(--lp-line); } | |
| .pdp-search-grid thead .pdp-search-sticky { z-index: var(--cg-z-column); } | |
| .pdp-search-grid [data-column="vol"] { min-width: 128px; } | |
| .pdp-search-grid [data-column="ts"] { min-width: 80px; } | |
| .pdp-search-grid [data-column="drop"], .pdp-search-grid [data-column="verdict"] { text-align: left; } | |
| .pdp-search-sub { display: block; color: var(--lp-muted); font-size: var(--lp-fs-2xs); font-weight: 400; } | |
| .pdp-search-sub.is-in-text { color: var(--lp-primary); } | |
| .pdp-search-sort, .pdp-search-pick { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; padding: 0; cursor: pointer; } | |
| .pdp-search-sort { font-weight: var(--lp-fw-semibold); } | |
| .pdp-search-pick { text-align: left; } | |
| .pdp-search-volume { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; } | |
| .pdp-search-part { display: inline-grid; grid-template-columns: 64px 48px; gap: 6px; align-items: center; color: var(--lp-muted); font-size: var(--lp-fs-2xs); } | |
| .pdp-search-part > span:first-child { height: 6px; border-radius: var(--lp-r-sm); overflow: hidden; background: var(--lp-wash); } | |
| .pdp-search-part i { display: block; height: 100%; background: var(--lp-primary); border-radius: var(--lp-r-sm); } | |
| .pdp-search-trend { display: inline-flex; align-items: center; gap: 6px; } | |
| .pdp-search-trend svg { flex: none; } | |
| .pdp-search-trend rect { fill: color-mix(in srgb, var(--lp-primary) 35%, var(--lp-surface)); } | |
| .pdp-search-trend rect.is-last { fill: var(--lp-primary); } | |
| .pdp-trend-score { display: inline-flex; align-items: center; gap: 6px; } | |
| .pdp-trend-score circle { fill: none; stroke: var(--lp-line); stroke-width: 4; } | |
| .pdp-trend-score .pdp-trend-score-fill { stroke: var(--lp-muted); } | |
| .pdp-trend-score.is-up .pdp-trend-score-fill { stroke: var(--lp-green); } | |
| .pdp-trend-score.is-down .pdp-trend-score-fill { stroke: var(--lp-red); } | |
| .pdp-trend-score b { min-width: 22px; text-align: right; color: var(--lp-ink); } | |
| .pdp-search-price, .pdp-search-drop, .pdp-search-exposure { display: inline-flex; flex-direction: column; gap: 1px; } | |
| .pdp-search-price { align-items: flex-end; } | |
| .pdp-search-price > span { padding: 1px 6px; border-radius: var(--lp-r-pill); font-size: var(--lp-fs-2xs); font-weight: var(--lp-fw-semibold); } | |
| .pdp-search-price .is-more { background: var(--lp-red-tint); color: var(--lp-red-deep); } | |
| .pdp-search-price .is-less { background: var(--lp-green-tint); color: var(--lp-green-deep); } | |
| .pdp-search-price .is-same { background: var(--lp-wash); color: var(--lp-muted); } | |
| .pdp-search-verdict { display: inline-block; padding: 2px 8px; border-radius: var(--lp-r-pill); white-space: nowrap; font-size: var(--lp-fs-2xs); background: var(--lp-wash); color: var(--lp-muted); } | |
| .pdp-search-verdict.is-good { background: var(--lp-green-tint); color: var(--lp-green-deep); font-weight: var(--lp-fw-semibold); } | |
| .pdp-search-verdict.is-bad { background: var(--lp-red-tint); color: var(--lp-red-deep); } | |
| .pdp-search-verdict.is-par { background: var(--lp-wash); color: var(--lp-ink); } | |
| .pdp-search-verdict.is-check { background: var(--lp-primary-tint); color: var(--lp-primary); } | |
| .pdp-search-verdict.is-watch { background: var(--lp-yellow-tint); color: var(--lp-yellow-deep); } | |
| .pdp-search-score { position: relative; cursor: help; border-bottom: 1px dotted var(--lp-muted); } | |
| .pdp-search-score-tip { display: none; position: absolute; right: 0; top: calc(100% + 6px); z-index: var(--cg-z-editor); width: 300px; padding: 10px 12px; border-radius: var(--lp-r-md); background: var(--lp-ink); color: var(--lp-surface); text-align: left; white-space: normal; font-size: var(--lp-fs-2xs); line-height: 1.45; } | |
| .pdp-search-score:hover .pdp-search-score-tip, .pdp-search-score:focus .pdp-search-score-tip { display: flex; flex-direction: column; gap: 4px; } | |
| .pdp-search-score-line { display: grid; grid-template-columns: 1fr 32px; gap: 0 8px; } | |
| .pdp-search-score-line > span:last-child { grid-column: 1 / -1; } | |
| .pdp-search-pager { padding: 8px 16px 12px; } | |
| .pdp-search-pager .cg-pager { flex-wrap: wrap; } | |
| .pdp-ranking-line { margin: 0; padding: 12px 16px; } | |
| .pdp-target-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 16px 8px; } | |
| .pdp-target-legend > span, .pdp-target-cell { display: inline-flex; align-items: center; gap: 6px; } | |
| .pdp-carry { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--lp-primary); border-radius: var(--lp-r-pill); box-sizing: border-box; flex: none; } | |
| .pdp-carry.is-title { background: var(--lp-primary); } | |
| .pdp-carry.is-page { background: linear-gradient(90deg, var(--lp-primary) 50%, transparent 50%); } | |
| .pdp-carry.is-some { border-style: dotted; } | |
| .pdp-carry.is-none { border-color: var(--lp-line); } | |
| .pdp-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--lp-r-pill); background: var(--lp-yellow-tint); color: var(--lp-yellow-deep); font-size: var(--lp-fs-3xs); font-weight: calc(var(--lp-fw-semibold) + 100); } | |
| .pdp-target-table-box { margin: 12px 16px 16px; overflow: auto; max-height: 72vh; isolation: isolate; } | |
| .pdp-target-table th { position: sticky; top: 0; z-index: var(--cg-z-menu); background: var(--lp-surface); } | |
| .pdp-target-table td:not(:first-child):not(:nth-child(2)), .pdp-target-table th:not(:first-child):not(:nth-child(2)) { text-align: center; } | |
| .pdp-target-table td:last-child, .pdp-target-table th:last-child { text-align: left; } | |
| .pdp-target-table .is-me { background: var(--lp-primary-tint); } | |
| .pdp-target-table .pdp-search-verdict, .pdp-cannibal-table .pdp-search-verdict { font-weight: var(--lp-fw-semibold); } | |
| .pdp-target-cell { justify-content: center; white-space: nowrap; } | |
| .pdp-search-table .is-selected td { background: var(--lp-primary-tint); } | |
| .pdp-listing-thumb { display: block; flex: none; object-fit: contain; border: 1px solid var(--lp-line); border-radius: 6px; background: var(--lp-surface); } | |
| .pdp-listing-thumb.is-empty { background: var(--lp-wash); } | |
| .pdp-comparison-box { margin: 12px 16px 16px; max-height: 72vh; overflow: auto; isolation: isolate; border: 1px solid var(--lp-line); border-radius: 10px; } | |
| .pdp-clicked-table { min-width: 1100px; } | |
| .pdp-clicked-table, .pdp-cannibal-table { font-size: var(--lp-fs-2xs); border-collapse: collapse; } | |
| .pdp-clicked-table th, .pdp-clicked-table td, .pdp-cannibal-table th, .pdp-cannibal-table td { text-align: left; } | |
| .pdp-clicked-table th, .pdp-cannibal-table th { padding: 6px 8px; font-size: var(--lp-fs-3xs); } | |
| .pdp-clicked-table th, .pdp-clicked-table td { padding-left: 7px; padding-right: 7px; } | |
| .pdp-clicked-table td:first-child { min-width: 150px; } | |
| .pdp-clicked-table th { position: sticky; top: 0; z-index: var(--cg-z-menu); background: var(--lp-surface); } | |
| .pdp-clicked-table td { vertical-align: top; } | |
| .pdp-clicked-table th:nth-child(2) { text-align: right; } | |
| .pdp-clicked-card { display: flex; gap: 8px; align-items: flex-start; padding: 6px; border-radius: 8px; border: 1px solid transparent; min-width: 0; max-width: 230px; } | |
| .pdp-clicked-card.is-ours { border-color: var(--lp-primary); background: var(--lp-primary-tint); } | |
| .pdp-clicked-body, .pdp-clicked-heading { display: flex; flex-direction: column; min-width: 0; } | |
| .pdp-clicked-body { gap: 4px; } | |
| .pdp-clicked-heading { gap: 2px; } | |
| .pdp-clicked-heading a { font-size: var(--lp-fs-2xs); line-height: 1.35; color: var(--lp-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; } | |
| .pdp-clicked-heading a:hover { text-decoration: underline; } | |
| .pdp-listing-yours { align-self: flex-start; font-size: var(--lp-fs-4xs); padding: 1px 6px; border-radius: var(--lp-r-pill); background: var(--lp-primary); color: var(--lp-surface); margin-bottom: 2px; } | |
| .pdp-clicked-bars { display: flex; flex-direction: column; gap: 2px; } | |
| .pdp-clicked-bar { display: grid; grid-template-columns: 34px 70px 46px; align-items: center; gap: 6px; font-size: var(--lp-fs-2xs); font-variant-numeric: tabular-nums; } | |
| .pdp-clicked-bar b { text-align: right; } | |
| .pdp-clicked-track { display: block; height: 6px; border-radius: 3px; background: var(--lp-wash); overflow: hidden; } | |
| .pdp-clicked-track i { display: block; height: 100%; border-radius: 3px; background: color-mix(in srgb, var(--lp-primary) 55%, var(--lp-surface)); } | |
| .pdp-clicked-track.is-sale i { background: var(--lp-primary); } | |
| .pdp-cannibal-scroll { overflow: auto; } | |
| .pdp-cannibal-table { width: 100%; table-layout: fixed; min-width: 1050px; } | |
| .pdp-cannibal-table > thead th:nth-child(1) { width: 18%; } | |
| .pdp-cannibal-table > thead th:nth-child(2) { width: 22%; } | |
| .pdp-cannibal-table > thead th:nth-child(3), .pdp-cannibal-table > thead th:nth-child(4) { width: 16%; } | |
| .pdp-cannibal-table > thead th:nth-child(5) { width: 10%; } | |
| .pdp-cannibal-row > td { vertical-align: middle; } | |
| .pdp-shared-listings { display: flex; flex-wrap: wrap; gap: 6px; } | |
| .pdp-shared-listing { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; border-radius: var(--lp-r-pill); background: var(--lp-wash); font-size: var(--lp-fs-2xs); } | |
| .pdp-shared-listing.is-me { background: var(--lp-primary-tint); color: var(--lp-primary); font-weight: var(--lp-fw-semibold); } | |
| .pdp-shared-listing .pdp-listing-thumb { border-radius: 50%; } | |
| .pdp-listing-split { display: flex; flex-direction: column; gap: 4px; } | |
| .pdp-listing-split-bar { display: flex; height: 10px; border-radius: var(--lp-r-pill); overflow: hidden; background: var(--lp-wash); } | |
| .pdp-listing-split-bar i { display: block; height: 100%; } | |
| .pdp-listing-split-bar [data-shade="1"] { background: color-mix(in srgb, var(--lp-muted) 70%, var(--lp-surface)); } | |
| .pdp-listing-split-bar [data-shade="2"] { background: color-mix(in srgb, var(--lp-muted) 45%, var(--lp-surface)); } | |
| .pdp-listing-split-bar [data-shade="3"] { background: color-mix(in srgb, var(--lp-muted) 25%, var(--lp-surface)); } | |
| .pdp-listing-split-bar .is-me { background: var(--lp-primary); } | |
| .pdp-listing-split-n { display: flex; gap: 8px; align-items: baseline; font-size: var(--lp-fs-2xs); } | |
| .pdp-cannibal-action { font-size: var(--lp-fs-xs); } | |
| .pdp-cannibal-detail > td { background: var(--lp-wash); padding: 8px 12px; } | |
| .pdp-cannibal-detail td:not(:first-child), .pdp-cannibal-detail th:not(:first-child) { text-align: right; } | |
| .pdp-listing-code { display: flex; align-items: center; gap: 8px; } | |
| .pdp-listing-code > span { display: flex; flex-direction: column; } | |
| .pdp-competitor-text { display: flex; flex-direction: column; gap: 12px; } | |
| .pdp-competitors-picked { margin-top: -4px; } | |
| .pdp-word-groups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 4px 16px 16px; } | |
| .pdp-word-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } | |
| .pdp-word-label { display: inline-block; font-size: var(--lp-fs-3xs); font-weight: var(--lp-fw-semibold); padding: 1px 8px; border-radius: var(--lp-r-pill); text-align: center; } | |
| .pdp-word-label.is-act { background: var(--lp-red-tint); color: var(--lp-red-deep); } | |
| .pdp-word-label.is-good { background: var(--lp-green-tint); color: var(--lp-green-deep); } | |
| .pdp-word-chips { display: flex; flex-wrap: wrap; gap: 6px; } | |
| .pdp-word-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--lp-r-pill); font-size: var(--lp-fs-2xs); border: 1px solid transparent; } | |
| .pdp-word-chip b { font-size: var(--lp-fs-xs); } | |
| .pdp-word-chip span { color: var(--lp-muted); } | |
| .pdp-word-chip.is-theirs { background: var(--lp-red-tint); } | |
| .pdp-word-chip.is-yours { background: var(--lp-green-tint); } | |
| .pdp-word-note { margin: 8px 0 0; } | |
| .pdp-competitor-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; } | |
| .pdp-competitor-card { border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); display: flex; flex-direction: column; min-height: 168px; overflow: hidden; } | |
| .pdp-competitor-card.is-you { border-color: var(--lp-primary); box-shadow: 0 0 0 1px var(--lp-primary); } | |
| .pdp-competitor-card > header { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--lp-line); font-size: var(--lp-fs-xs); } | |
| .pdp-competitor-card > header > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .pdp-competitor-open { margin-left: auto; display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px; color: var(--lp-muted); } | |
| .pdp-competitor-open:hover { background: var(--lp-wash); color: var(--lp-ink); } | |
| .pdp-competitor-body { padding: 8px 10px 10px; font-size: var(--lp-fs-sm); line-height: 1.55; } | |
| .pdp-competitor-body p, .pdp-competitor-body ul { margin: 0; } | |
| .pdp-competitor-body ul { padding-left: 16px; } | |
| .pdp-gap-mark { background: var(--lp-primary-tint); color: var(--lp-ink); padding: 0 2px; border-radius: 3px; } | |
| .pdp-text-editor a:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } | |
| @media (max-width: 900px) { | |
| .pdp-word-groups, .pdp-competitor-cards { grid-template-columns: minmax(0, 1fr); } | |
| } | |
| @media (hover: hover) and (pointer: fine) { | |
| .pdp-search-table tbody tr:hover td { background: var(--lp-wash); } | |
| .pdp-search-table tbody tr { cursor: pointer; } | |
| } | |
| .pdp-text-update { display: flex; flex-direction: column; gap: 12px; } | |
| .pdp-options-bar, .pdp-option-actions { display: flex; align-items: center; gap: 8px; } | |
| .pdp-options-bar { gap: 10px; } | |
| .pdp-options-bar > b { font-size: var(--lp-fs-md); } | |
| .pdp-option-grow { flex: 1; } | |
| .pdp-option-marks { display: inline-flex; flex: none; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); overflow: hidden; } | |
| .pdp-option-marks button { appearance: none; border: 0; background: transparent; font: inherit; color: var(--lp-muted); font-size: var(--lp-fs-2xs); padding: 5px 10px; cursor: pointer; white-space: nowrap; } | |
| .pdp-option-marks button + button { border-left: 1px solid var(--lp-line); } | |
| .pdp-option-marks [aria-pressed="true"] { background: var(--lp-primary-tint); color: var(--lp-primary); font-weight: var(--lp-fw-semibold); } | |
| .pdp-option-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; align-items: stretch; } | |
| .pdp-option-card { border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); display: flex; flex-direction: column; min-height: 168px; min-width: 0; cursor: pointer; } | |
| .pdp-option-card.is-you { border-color: var(--lp-primary); box-shadow: 0 0 0 1px var(--lp-primary); } | |
| .pdp-option-card.is-on { border-color: var(--lp-primary); box-shadow: 0 0 0 3px var(--lp-primary-tint); } | |
| .pdp-option-card > header { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--lp-line); font-size: var(--lp-fs-xs); } | |
| .pdp-option-card > header > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .pdp-option-no-change, .pdp-option-settings { margin-left: auto; } | |
| .pdp-option-tag { background: var(--lp-primary); color: var(--lp-surface); border-radius: var(--lp-r-pill); font-size: var(--lp-fs-3xs); padding: 1px 8px; white-space: nowrap; } | |
| .pdp-option-author { padding: 6px 10px 0; font-size: var(--lp-fs-2xs); color: var(--lp-muted); line-height: 1.4; } | |
| .pdp-option-author b { color: var(--lp-ink); font-weight: var(--lp-fw-semibold); } | |
| .pdp-option-body { padding: 8px 10px 10px; font-size: var(--lp-fs-sm); line-height: 1.7; } | |
| .pdp-option-body p, .pdp-option-edit-diff p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; } | |
| .pdp-option-bullets { margin: 0; padding-left: 18px; display: grid; gap: 2px; } | |
| ul.pdp-option-bullets { padding-left: 16px; } | |
| .pdp-option-diff mark { color: var(--lp-ink); background: var(--lp-green-tint); border-radius: 3px; padding: 0 2px; font-weight: var(--lp-fw-semibold); } | |
| .pdp-option-diff del { color: var(--lp-red-deep); background: var(--lp-red-tint); border-radius: 3px; padding: 0 2px; text-decoration: line-through; } | |
| .pdp-option-edit { width: 100%; box-sizing: border-box; font: inherit; font-size: var(--lp-fs-sm); line-height: 1.5; padding: 8px 10px; border: 1px solid var(--lp-line-strong); border-radius: var(--lp-r-md); resize: vertical; color: var(--lp-ink); background: var(--lp-surface); } | |
| .pdp-option-edit-diff { padding: 0 10px 10px; font-size: var(--lp-fs-xs); line-height: 1.7; } | |
| .pdp-option-weak { padding: 0 10px 10px; margin: 0; font-size: var(--lp-fs-2xs); } | |
| .pdp-option-drill { grid-column: 1 / -1; padding: 12px 14px; border: 1px solid var(--lp-primary); border-radius: var(--lp-r-md); background: var(--lp-surface); box-shadow: 0 0 0 3px var(--lp-primary-tint); } | |
| .pdp-option-actions { font-size: var(--lp-fs-xs); flex-wrap: wrap; } | |
| .pdp-option-saved { display: inline-flex; align-items: center; gap: 4px; font-size: var(--lp-fs-xs); color: var(--lp-green-deep); font-weight: var(--lp-fw-semibold); } | |
| .pdp-option-live-best { margin: 0; padding: 12px 14px; border: 1px dashed var(--lp-line-strong); border-radius: var(--lp-r-md); font-size: var(--lp-fs-xs); color: var(--lp-muted); } | |
| .pdp-option-hidden { margin: 0; } | |
| .pdp-option-not-better { font-size: var(--lp-fs-xs); } | |
| .pdp-option-not-better summary { cursor: pointer; margin-bottom: 8px; color: var(--lp-muted); } | |
| .pdp-option-menu-button { appearance: none; border: 0; background: transparent; font: inherit; color: var(--lp-muted); cursor: pointer; display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--lp-r-sm); } | |
| .pdp-option-menu { z-index: var(--cg-z-overlay); min-width: 160px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); box-shadow: var(--lp-panel-shadow); padding: 4px; } | |
| .pdp-option-menu button { appearance: none; border: 0; background: transparent; font: inherit; color: var(--lp-red-deep); font-size: var(--lp-fs-xs); cursor: pointer; padding: 6px 10px; width: 100%; text-align: left; border-radius: var(--lp-r-sm); } | |
| .pdp-option-scrim { position: fixed; inset: 0; z-index: var(--cg-z-overlay); display: grid; place-items: center; background: color-mix(in srgb, var(--lp-ink) 32%, transparent); } | |
| .pdp-new-option { width: min(900px, 94vw); max-height: 88vh; overflow: auto; box-sizing: border-box; background: var(--lp-surface); color: var(--lp-ink); border-radius: var(--lp-r-lg); box-shadow: var(--lp-panel-shadow); padding: 16px; display: grid; gap: 12px; font-size: var(--lp-fs-xs); } | |
| .pdp-option-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } | |
| .pdp-option-mode { appearance: none; font: inherit; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); background: var(--lp-surface); color: var(--lp-ink); cursor: pointer; } | |
| .pdp-option-mode[aria-checked="true"] { border-color: var(--lp-primary); box-shadow: 0 0 0 3px var(--lp-primary-tint); } | |
| .pdp-option-strategies, .pdp-option-strategy { display: flex; flex-direction: column; gap: 10px; } | |
| .pdp-option-strategies { font-size: var(--lp-fs-xs); } | |
| .pdp-option-strategy { border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); padding: 10px 12px; gap: 6px; } | |
| .pdp-option-strategy-words { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 4px 10px; } | |
| .pdp-option-dialog-foot { display: flex; justify-content: flex-end; gap: 8px; } | |
| .pdp-text-update :is(button, textarea):disabled, .pdp-new-option button:disabled, .pdp-option-menu button:disabled { opacity: .45; cursor: not-allowed; } | |
| .pdp-option-card:focus-visible, .pdp-option-edit:focus, .pdp-option-not-better summary:focus-visible, | |
| .pdp-option-menu button:focus-visible, .pdp-new-option button:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } | |
| .pdp-update-analytics:empty { display: none; } | |
| .pdp-analytics-drill { padding: 12px 14px; border: 1px solid var(--lp-primary); border-radius: var(--lp-r-md); } | |
| .pdp-analytics-table { width: 100%; border-collapse: collapse; font-size: var(--lp-fs-2xs); font-variant-numeric: tabular-nums; } | |
| .pdp-analytics-table th, .pdp-analytics-table td { padding: 6px 8px; border-bottom: 1px solid var(--lp-line); text-align: right; vertical-align: top; white-space: nowrap; } | |
| .pdp-analytics-table th { color: var(--lp-muted); font-weight: var(--lp-fw-semibold); font-size: var(--lp-fs-3xs); } | |
| .pdp-analytics-table td { padding: 8px; vertical-align: middle; } | |
| .pdp-analytics-table th:first-child, .pdp-analytics-table td:first-child { text-align: left; } | |
| .pdp-analytics-table tr:last-child td { border-bottom: 0; } | |
| .pdp-analytics-table .is-on { background: var(--lp-primary-tint); } | |
| .pdp-analytics-table th button { appearance: none; border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; padding: 0; text-align: right; } | |
| .pdp-analytics-table th button:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } | |
| .pdp-projection-note { padding: 0 14px; font-size: var(--lp-fs-2xs); color: var(--lp-muted); line-height: 1.5; } | |
| .pdp-projection-change.is-up { color: var(--lp-green-deep); } | |
| .pdp-projection-change.is-down { color: var(--lp-red-deep); } | |
| .pdp-projection-change.is-risk { color: var(--lp-yellow-deep); } | |
| .pdp-projection-change { font-weight: var(--lp-fw-semibold); } | |
| .pdp-projection-verdict { display: inline-block; padding: 2px 8px; border-radius: var(--lp-r-pill); font-size: var(--lp-fs-3xs); background: var(--lp-wash); color: var(--lp-muted); } | |
| .pdp-projection-verdict.is-better { background: var(--lp-green-tint); color: var(--lp-green-deep); } | |
| .pdp-projection-verdict.is-worse { background: var(--lp-red-tint); color: var(--lp-red-deep); } | |
| .pdp-projection-verdict.is-risky { background: var(--lp-yellow-tint); color: var(--lp-yellow-deep); } | |
| .pdp-option-funnel { margin: 8px 0 12px; padding: 10px 12px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); } | |
| .pdp-option-funnel > header { display: flex; align-items: center; gap: 8px; font-size: var(--lp-fs-xs); } | |
| .pdp-option-funnels { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); gap: 16px; margin-top: 12px; } | |
| .pdp-option-funnel-side, .pdp-option-funnel-deltas { display: flex; flex-direction: column; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; } | |
| .pdp-option-funnel-head { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-bottom: 4px; text-align: center; font-size: var(--lp-fs-xs); } | |
| .pdp-option-funnel-stage { height: 38px; border-radius: var(--lp-r-md); background: color-mix(in srgb, var(--lp-ink) 14%, var(--lp-surface)); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; font-size: var(--lp-fs-2xs); } | |
| .pdp-option-funnel-stage b { font-size: var(--lp-fs-sm); } | |
| .pdp-option-funnel-stage.is-option { background: var(--lp-primary-tint); box-shadow: inset 0 0 0 1px var(--lp-primary); } | |
| .pdp-option-funnel-foot { display: flex; flex-direction: column; align-items: center; margin-top: 4px; font-size: var(--lp-fs-xs); } | |
| .pdp-option-funnel-delta { height: 38px; display: flex; align-items: center; font-size: var(--lp-fs-sm); } | |
| .pdp-option-funnel-deltas .pdp-option-funnel-foot { padding-top: 14px; } | |
| .pdp-option-changes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; font-size: var(--lp-fs-xs); } | |
| .pdp-option-changes > section { min-width: 0; overflow: auto; max-height: 360px; } | |
| .pdp-option-changes > section > b { display: block; margin-bottom: 6px; } | |
| .pdp-option-changes .pdp-analytics-table th:nth-child(2), .pdp-option-changes .pdp-analytics-table td:nth-child(2), | |
| .pdp-option-changes section[aria-label="Words"] :is(th, td):nth-child(3) { text-align: left; } | |
| .pdp-amazon-rules { border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); padding: 12px; display: grid; gap: 10px; background: var(--lp-surface); } | |
| .pdp-amazon-rules header { display: flex; align-items: center; justify-content: space-between; font-size: var(--lp-fs-xs); } | |
| .pdp-rules-score { font-size: var(--lp-fs-2xs); border-radius: var(--lp-r-pill); padding: 2px 8px; background: var(--lp-wash); color: var(--lp-muted); font-weight: var(--lp-fw-semibold); } | |
| .pdp-rules-bar { height: 4px; border-radius: 4px; background: var(--lp-red-tint); overflow: hidden; } | |
| .pdp-rules-bar i { display: block; height: 100%; background: var(--lp-green-deep); border-radius: 4px; } | |
| .pdp-amazon-rules ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; } | |
| .pdp-amazon-rules li { display: flex; align-items: center; gap: 8px; font-size: var(--lp-fs-2xs); padding: 6px 8px; border-radius: var(--lp-r-md); background: var(--lp-wash); } | |
| .pdp-amazon-rules li.is-bad { background: var(--lp-red-tint); color: var(--lp-red-deep); } | |
| .pdp-rule-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: var(--lp-r-pill); flex: 0 0 auto; background: var(--lp-green-tint); color: var(--lp-green-deep); font-size: var(--lp-fs-2xs); } | |
| .pdp-amazon-rules li.is-bad .pdp-rule-icon { background: var(--lp-red-deep); color: var(--lp-surface); } | |
| @media (hover: hover) and (pointer: fine) { | |
| .pdp-analytics-table th button:hover { color: var(--lp-primary); text-decoration: underline; } | |
| } | |
| @media (max-width: 760px) { | |
| .pdp-option-cards, .pdp-option-modes, .pdp-option-changes { grid-template-columns: minmax(0, 1fr); } | |
| .pdp-options-bar { flex-wrap: wrap; } | |
| .pdp-options-bar > .pdp-text-muted { width: 100%; } | |
| } | |