/* osh-blocks */
.osh-content span.color { color: var(--color); }
:root[data-theme="dark"] .osh-content span.color { color: var(--dark-color); }
.osh-content [data-block-color$="-bg"] { padding: 3px 6px; border-radius: 4px; }
.osh-content [data-block-color="gray"] { color: var(--osh-c-gray); } .osh-content [data-block-color="gray-bg"] { background: var(--osh-bg-gray); }
.osh-content [data-block-color="brown"] { color: var(--osh-c-brown); } .osh-content [data-block-color="brown-bg"] { background: var(--osh-bg-brown); }
.osh-content [data-block-color="orange"] { color: var(--osh-c-orange); } .osh-content [data-block-color="orange-bg"] { background: var(--osh-bg-orange); }
.osh-content [data-block-color="yellow"] { color: var(--osh-c-yellow); } .osh-content [data-block-color="yellow-bg"] { background: var(--osh-bg-yellow); }
.osh-content [data-block-color="green"] { color: var(--osh-c-green); } .osh-content [data-block-color="green-bg"] { background: var(--osh-bg-green); }
.osh-content [data-block-color="blue"] { color: var(--osh-c-blue); } .osh-content [data-block-color="blue-bg"] { background: var(--osh-bg-blue); }
.osh-content [data-block-color="purple"] { color: var(--osh-c-purple); } .osh-content [data-block-color="purple-bg"] { background: var(--osh-bg-purple); }
.osh-content [data-block-color="pink"] { color: var(--osh-c-pink); } .osh-content [data-block-color="pink-bg"] { background: var(--osh-bg-pink); }
.osh-content [data-block-color="red"] { color: var(--osh-c-red); } .osh-content [data-block-color="red-bg"] { background: var(--osh-bg-red); }
.osh-content ul[data-type="taskList"] { margin-left: 0; padding-left: 0; list-style: none; }
.osh-content ul[data-type="taskList"] > li { display: flex; align-items: flex-start; gap: .6em; padding-left: 0; list-style: none; }
.osh-content ul[data-type="taskList"] > li::before { content: none !important; display: none !important; }
.osh-content ul[data-type="taskList"] > li::marker { content: none; }
.osh-content ul[data-type="taskList"] > li > label { flex: none; margin-top: .3em; }
.osh-content ul[data-type="taskList"] > li > label input { display: inline-grid; place-content: center; width: 1.1em; height: 1.1em; margin: 0; border: 1.5px solid #8a9a9d; border-radius: 4px; background: #fff; appearance: none; -webkit-appearance: none; opacity: 1; }
.osh-content ul[data-type="taskList"] > li > label input:checked { border-color: #0b7a66; background: #0b7a66; }
.osh-content ul[data-type="taskList"] > li > label input:checked::before { content: ""; width: .55em; height: .3em; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
:root[data-theme="dark"] .osh-content ul[data-type="taskList"] > li > label input { border-color: #6b7f83; background: transparent; }
.osh-content ul[data-type="taskList"] > li > div { flex: 1; min-width: 0; }
.osh-content ul[data-type="taskList"] > li > div > p { margin: 0; }
.osh-content ul[data-type="taskList"] > li[data-checked="true"] > div { opacity: .6; text-decoration: line-through; }
.osh-content aside.osh-callout { display: flex; flex-wrap: wrap; gap: .7em; margin: 0 0 1.5em; padding: 1em 1.15em; border-radius: 8px; background: var(--osh-bg-gray); }
.osh-content aside.osh-callout::before { content: attr(data-emoji); flex: none; font-size: 1.25em; line-height: 1.45; }
.osh-content aside.osh-callout > * { flex: 1 1 calc(100% - 2.4em); min-width: 0; margin: 0; }
.osh-content aside.osh-callout > * + * { margin-left: 1.95em; }
.osh-content .osh-embed { margin: 0 0 1.5em; }
.osh-content .osh-embed-frame { position: relative; width: 100%; overflow: hidden; border-radius: 8px; background: #eef1f1; }
.osh-content .osh-embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.osh-content .osh-embed-media { display: block; width: 100%; border-radius: 8px; }
.osh-content .osh-embed-audio { display: block; width: 100%; }
.osh-content a.osh-file, .osh-content a.osh-bookmark { color: inherit; text-decoration: none; }
.osh-content .osh-file { display: flex; align-items: center; gap: .85em; padding: .8em 1em; border: 1px solid #dbe4e3; border-radius: 10px; }
.osh-content .osh-embed-frame + .osh-file { margin-top: .6em; }
.osh-content .osh-file-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 8px; background: #0c252c; color: #fff; font: 700 11px/1 Inter, system-ui, sans-serif; }
.osh-content .osh-file-name { display: block; font-weight: 600; }
.osh-content .osh-file-meta { display: block; font-size: .85em; opacity: .7; }
.osh-content .osh-bookmark { display: flex; align-items: stretch; margin: 0 0 1.5em; overflow: hidden; border: 1px solid #dbe4e3; border-radius: 10px; }
.osh-content .osh-file:hover, .osh-content .osh-bookmark:hover { border-color: #0b7a66; }
.osh-content .osh-bookmark-txt { display: flex; flex: 1; flex-direction: column; gap: .3em; min-width: 0; padding: .9em 1.1em; }
.osh-content .osh-bookmark-title { font-weight: 600; line-height: 1.35; }
.osh-content .osh-bookmark-desc { display: -webkit-box; overflow: hidden; font-size: .88em; opacity: .75; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.osh-content .osh-bookmark-url { font-size: .8em; opacity: .6; }
.osh-content .osh-bookmark-img { flex: 0 0 32%; max-width: 240px; }
.osh-content .osh-bookmark-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
:root[data-theme="dark"] .osh-content .osh-file, :root[data-theme="dark"] .osh-content .osh-bookmark { border-color: #22343a; }
@media (max-width: 600px) { .osh-content .osh-bookmark-img { display: none; } }
.osh-content .lead > p { font-size: 1.16em; line-height: 1.6; color: var(--site--preset--color--heading); }
.osh-content small { font-size: .84em; opacity: .85; }
.osh-content .osh-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.5em; }
.osh-content .osh-pc { padding: 1em 1.1em; border-radius: 10px; }
.osh-content .osh-pc.is-pro { background: var(--osh-bg-green); }
.osh-content .osh-pc.is-con { background: var(--osh-bg-red); }
.osh-content .osh-pc-t { margin: 0 0 .5em; font-weight: 700; }
.osh-content .osh-pc ul { margin: 0; padding: 0; list-style: none; }
.osh-content .osh-pc li { display: grid; grid-template-columns: 1.3em 1fr; gap: .4em; margin: 0 0 .45em; padding: 0; line-height: 1.5; }
.osh-content .osh-pc li::before, .osh-content .osh-pc li::marker { content: none !important; }
.osh-content .osh-pc-ic { font-weight: 800; }
.osh-content .osh-pc.is-pro .osh-pc-ic { color: var(--osh-c-green); }
.osh-content .osh-pc.is-con .osh-pc-ic { color: var(--osh-c-red); }
@media (max-width: 600px) { .osh-content .osh-proscons { grid-template-columns: minmax(0, 1fr); } }
.osh-content .osh-verdict { margin: 0 0 1.75em; padding: 1.2em 1.3em; border: 2px solid #0c252c; border-radius: 12px; }
:root[data-theme="dark"] .osh-content .osh-verdict { border-color: #3a5a62; }
.osh-content .osh-verdict.is-top { border-color: #0b7a66; }
.osh-content .osh-verdict.is-avoid { border-color: var(--osh-c-red); }
.osh-content .osh-vd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: .8em; }
.osh-content .osh-vd-logo { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background: #fff; }
.osh-content .osh-vd-kicker { margin: 0; font-size: .78em; font-weight: 700; letter-spacing: .02em; color: #0b7a66; }
.osh-content .osh-verdict.is-avoid .osh-vd-kicker { color: var(--osh-c-red); }
.osh-content .osh-verdict.is-ok .osh-vd-kicker { color: var(--osh-c-orange); }
.osh-content .osh-vd-product { margin: 0; font-size: 1.3em; font-weight: 800; line-height: 1.2; }
.osh-content .osh-vd-rating { margin: 0 0 0 auto; font-size: .95em; }
.osh-content .osh-vd-stars { position: relative; display: inline-block; margin-right: .4em; color: #d1d5db; letter-spacing: 2px; }
.osh-content .osh-vd-stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--r); overflow: hidden; color: #d4a017; }
.osh-content .osh-vd-summary { margin: 0 0 .8em; }
.osh-content .osh-vd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 18px; margin: 0 0 .9em; }
.osh-content .osh-vd-facts dt { font-size: .8em; opacity: .7; }
.osh-content .osh-vd-facts dd { margin: 0; font-weight: 600; }
.osh-content .osh-vd-cta { margin: 0; }
.osh-admin-note { padding: 1px 6px; border-radius: 4px; background: #fff3c4; color: #5c4400; outline: 1px dashed #c99a00; font-size: .92em; }
.osh-admin-note::before { content: "Only you see this: "; font-weight: 600; }
/* osh-charts */
.osh-chart {
--oc-surface: #ffffff; --oc-ink: #0b0b0b; --oc-ink2: #52514e; --oc-muted: #898781;
--oc-grid: #e1e0d9; --oc-base: #c3c2b7;
--oc-1: #2a78d6; --oc-2: #eb6834; --oc-3: #1baf7a; --oc-4: #eda100; --oc-o: #b4b2ac;
margin: 0 0 1.75em; color: var(--oc-ink);
}
:root[data-theme="dark"] .osh-chart, .dark .osh-chart {
--oc-surface: #15181c; --oc-ink: #f0efec; --oc-ink2: #c3c2b7; --oc-muted: #898781;
--oc-grid: #2c2c2a; --oc-base: #383835;
--oc-1: #3987e5; --oc-2: #d95926; --oc-3: #199e70; --oc-4: #c98500; --oc-o: #5a5a56;
}
.osh-chart .osh-s1 { --oc: var(--oc-1); } .osh-chart .osh-s2 { --oc: var(--oc-2); }
.osh-chart .osh-s3 { --oc: var(--oc-3); } .osh-chart .osh-s4 { --oc: var(--oc-4); } .osh-chart .osh-so { --oc: var(--oc-o); }
.osh-chart-head { display: flex; flex-direction: column; gap: 2px; margin: 0 0 .7em; }
.osh-chart-title { font-weight: 650; font-size: 1.02em; color: var(--oc-ink); }
.osh-chart-sub { font-size: .86em; color: var(--oc-ink2); }
.osh-chart-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 .6em; padding: 0; list-style: none; font-size: .86em; color: var(--oc-ink2); }
.osh-chart-legend li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; }
.osh-chart-legend li::before, .osh-chart-legend li::marker { content: none !important; }
.osh-chart-key { display: inline-block; flex: none; background: var(--oc); }
.osh-chart-key.is-box { width: 10px; height: 10px; border-radius: 3px; }
.osh-chart-key.is-line { width: 16px; height: 2px; border-radius: 2px; }
.osh-chart-legend.is-list { flex-direction: column; gap: 7px; font-size: .92em; }
.osh-chart-legend.is-list li { display: grid; grid-template-columns: 12px 1fr auto 3.2em; gap: 9px; color: var(--oc-ink2); }
.osh-chart-legend.is-list.is-pct li { grid-template-columns: 12px 1fr auto; }
.osh-chart-legend.is-list b { font-weight: 600; color: var(--oc-ink); font-variant-numeric: tabular-nums; }
.osh-chart-legend.is-list em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.osh-chart-plot svg, .osh-chart-donut svg { display: block; width: 100%; height: auto; overflow: visible; }
.osh-chart-plot.is-narrow { display: none; }
@media (max-width: 560px) { .osh-chart-plot.is-wide { display: none; } .osh-chart-plot.is-narrow { display: block; } }
.osh-chart-donut { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.osh-chart-donut svg { width: 220px; max-width: 60%; }
.osh-chart-donut .osh-chart-legend { flex: 1 1 220px; margin: 0; }
.osh-c-svg text { font-family: inherit; font-size: 13px; fill: var(--oc-ink2); }
.osh-c-svg .osh-c-tick { fill: var(--oc-muted); font-variant-numeric: tabular-nums; }
.osh-c-svg .osh-c-value { fill: var(--oc-ink2); font-weight: 600; font-variant-numeric: tabular-nums; }
.osh-c-grid { stroke: var(--oc-grid); stroke-width: 1; shape-rendering: crispEdges; }
.osh-c-base { stroke: var(--oc-base); stroke-width: 1; shape-rendering: crispEdges; }
.osh-c-bar, .osh-c-slice { fill: var(--oc); }
.osh-c-slice { stroke: var(--oc-surface); stroke-width: 2; }
.osh-c-line { fill: none; stroke: var(--oc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.osh-c-dot, .osh-c-hdot { fill: var(--oc); stroke: var(--oc-surface); stroke-width: 2; }
.osh-c-hitarea { fill: transparent; }
.osh-c-hit { cursor: default; outline: none; }
.osh-c-hit .osh-c-cross, .osh-c-hit .osh-c-hdot { opacity: 0; transition: opacity .1s; }
.osh-c-cross { stroke: var(--oc-base); stroke-width: 1; }
.osh-c-hit:hover .osh-c-cross, .osh-c-hit:focus-visible .osh-c-cross, .osh-c-hit:hover .osh-c-hdot, .osh-c-hit:focus-visible .osh-c-hdot { opacity: 1; }
.osh-c-hit:hover .osh-c-bar, .osh-c-hit:focus-visible .osh-c-bar, .osh-c-hit:hover .osh-c-slice, .osh-c-hit:focus-visible .osh-c-slice { filter: brightness(1.12); }
.osh-c-hit:focus-visible .osh-c-hitarea { stroke: var(--oc-ink2); stroke-width: 1; }
.osh-chart-source { margin: .5em 0 0; font-size: .82em; color: var(--oc-muted); }
.osh-chart-table { margin-top: .5em; font-size: .88em; }
.osh-chart-table summary { cursor: pointer; color: var(--oc-ink2); width: fit-content; }
.osh-chart-scroll { overflow-x: auto; margin-top: .5em; }
.osh-chart-table table { width: auto; min-width: 50%; }
.osh-chart-table td:not(:first-child), .osh-chart-table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.osh-chart-tip { position: fixed; z-index: 90; min-width: 120px; max-width: 280px; padding: 8px 10px; border-radius: 8px; background: #ffffff; color: #0b0b0b; box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .25), 0 0 0 1px rgba(11, 11, 11, .1); font: 13px/1.4 Inter, system-ui, sans-serif; pointer-events: none; }
:root[data-theme="dark"] .osh-chart-tip, .dark .osh-chart-tip { background: #22262b; color: #f0efec; box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1); }
.osh-chart-tip[hidden] { display: none; }
.osh-chart-tip-t { margin-bottom: 4px; color: #52514e; font-size: 12px; }
:root[data-theme="dark"] .osh-chart-tip-t, .dark .osh-chart-tip-t { color: #c3c2b7; }
.osh-chart-tip-r { display: grid; grid-template-columns: 12px auto 1fr; align-items: center; gap: 7px; }
.osh-chart-tip-r i { width: 12px; height: 2px; border-radius: 2px; background: var(--oc); }
.osh-chart-tip-r b { font-weight: 650; font-variant-numeric: tabular-nums; }
.osh-chart-tip-r span { color: #52514e; }
:root[data-theme="dark"] .osh-chart-tip-r span, .dark .osh-chart-tip-r span { color: #c3c2b7; }
