.osm-prototype .dossier-hero{display:grid;grid-template-columns:76px minmax(0,1fr) 300px;gap:24px;align-items:start;margin:20px 0 22px}.osm-prototype .dossier-symbol{width:76px;height:76px;border-radius:16px}.osm-prototype .dossier-hero h1{font-size:30px;margin-top:7px}.osm-prototype .dossier-hero>div:nth-child(2){min-width:0}.osm-hero-right{padding:17px 20px;background:#fff;border:1px solid #dfe6ee;border-radius:12px}.osm-hero-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#7b8ba0}.osm-hero-right #dossier-save{padding:6px 10px;font-size:10px}.osm-hero-right .archive-stats{margin:16px 0 12px;gap:12px}.osm-hero-right .archive-stats strong{font-size:23px}.osm-hero-right .archive-stats span{font-size:9px;white-space:nowrap}.osm-method{font-size:10px;line-height:1.8;color:#7e8fa3}.osm-method summary{cursor:pointer;color:#55779b}.osm-method p{font-size:10px!important}.osm-method a{color:#416c9e}.osm-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.osm-section-head h2{margin:0!important}.osm-section-head>span{font-size:10px;line-height:1.7;color:#96a1af}.osm-lead{font:600 18px/1.9 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#354e69;margin:20px 0}.osm-takeaways{display:grid;grid-template-columns:1fr 1fr;gap:25px;border-top:1px solid #edf0f4;padding-top:20px}.osm-takeaways>div+div{border-left:1px solid #e9edf3;padding-left:25px}.osm-takeaways b{font-size:12px;color:#385e87}.osm-takeaways p{font-size:12px;color:#6b7d91;line-height:1.9}.osm-takeaways button{appearance:none;border:0;background:transparent;color:#416c9e;padding:0;font-size:11px;cursor:pointer}.osm-note{font-size:11px;line-height:1.9;color:#8b99aa;margin:16px 0}.osm-introduction{margin:18px 0 22px}.osm-introduction p{font-size:13px;line-height:2;color:#60738b;margin:12px 0}.osm-introduction .osm-source-line{font-size:10px;color:#96a2b0}.osm-introduction a{color:#527aa5;text-decoration:none}.osm-tabs{display:flex;gap:8px;border-bottom:1px solid #e6ebf2;margin-top:20px;padding-bottom:12px}.osm-tabs button{appearance:none;background:transparent;border:1px solid transparent;border-radius:7px;font:600 11px/1.4 system-ui,sans-serif;color:#7c8ca0;padding:9px 12px;cursor:pointer}.osm-tabs button[aria-selected=true]{background:#edf3fa;color:#416c9e;border-color:#dce6f2}.osm-tabs span{margin-left:7px;opacity:.7}.osm-reading{padding:25px 0;border-bottom:1px solid #edf0f5;scroll-margin-top:150px}.osm-reading:last-child{border-bottom:0;padding-bottom:0}.osm-reading-meta{display:flex;gap:12px;align-items:center;font-size:10px;color:#95a1b1;flex-wrap:wrap}.osm-reading-meta>a{margin-left:auto;color:#6483a7;text-decoration:none}.osm-chip{background:#edf2f7;color:#63809f;padding:4px 8px;border-radius:5px;font-size:10px}.osm-reading h3{font:700 17px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:15px 0 9px;color:#354e69}.osm-reading>p{font-size:13px;color:#65778d;line-height:1.95;margin:8px 0 12px}.osm-reading details{font-size:11px;color:#7890aa}.osm-reading summary{cursor:pointer}.osm-reading blockquote{margin:12px 0;padding:0 15px;border-left:2px solid #cbd8e8;color:#79889b;line-height:1.9}.osm-thread-link{display:inline-block;font-size:10px;color:#8a9ab0;text-decoration:none;margin-top:12px}.osm-record-toolbar{display:flex;gap:14px;justify-content:space-between;align-items:center;margin-top:18px;font-size:11px;color:#7e90a5}.osm-record-toolbar a{color:#55799f;text-decoration:none}.osm-record{padding:18px 0;border-top:1px solid #edf0f5}.osm-record-head{display:flex;gap:15px;font-size:10px;align-items:center;color:#95a1b1}.osm-record-head b{color:#637d9b}.osm-record-head a{margin-left:auto;color:#56799f;text-decoration:none}.osm-expand{appearance:none;padding:0;border:0;background:transparent;color:#6384a8;font-size:11px;cursor:pointer;margin-top:10px}.osm-original{font-size:12px;line-height:1.9;color:#6a7d91;white-space:pre-wrap;overflow-wrap:anywhere}.osm-more{appearance:none;display:block;width:100%;padding:12px;border:1px solid #dce5ef;border-radius:7px;background:#f7f9fc;color:#4c7199;font-size:11px;cursor:pointer;margin:15px 0}.osm-prototype .dossier-jumps{overflow:auto;white-space:nowrap}.osm-prototype .schema-table code{font-size:10px}.osm-prototype #overview,.osm-prototype #osm-summary{scroll-margin-top:145px}
@media(max-width:1150px){.osm-prototype .dossier-hero{grid-template-columns:68px minmax(0,1fr);gap:20px}.osm-hero-right{grid-column:1/-1;max-width:none}.osm-hero-right .archive-stats{max-width:400px}.osm-prototype .dossier-layout{display:flex;flex-direction:column}.osm-prototype .dossier-access{order:1}.osm-prototype .dossier-content{order:0}}
@media(max-width:600px){.osm-prototype .dossier-hero{grid-template-columns:54px minmax(0,1fr);gap:15px}.osm-prototype .dossier-symbol{width:54px;height:54px;font-size:28px}.osm-prototype .dossier-hero h1{font-size:23px}.osm-prototype .dossier-hero>div:nth-child(2){min-width:0}.osm-hero-right{padding:15px 18px}.osm-hero-right .archive-stats{margin-top:16px}.osm-section-head{align-items:flex-start}.osm-section-head>span{max-width:105px;text-align:right}.osm-lead{font-size:17px}.osm-takeaways{grid-template-columns:1fr;gap:15px}.osm-takeaways>div+div{border-left:0;border-top:1px solid #edf0f4;padding-left:0;padding-top:15px}.osm-tabs{gap:3px}.osm-tabs button{font-size:10px;padding:9px 8px}.osm-record-toolbar{align-items:flex-start}.osm-reading-meta{gap:8px}.osm-reading-meta>a{margin-left:0}.osm-prototype .dossier-jumps{gap:20px}.osm-prototype .dossier-access{position:static}}
.osm-prototype .dossier-breadcrumb button{appearance:none;background:transparent;border:0;padding:0;font:inherit;cursor:pointer}
.osm-mobile-source{display:none}
@media(max-width:1150px){.osm-mobile-source{display:block;text-align:center;padding:10px;border:1px solid #dce5ef;border-radius:7px;color:#426e9f;font-size:11px;text-decoration:none;margin-top:14px;background:#f7f9fc}}

/* Second iteration: metrics and editorial reading share one module. */
.osm-prototype .dossier-hero{grid-template-columns:76px minmax(0,1fr) auto;align-items:start}
.osm-prototype .dossier-hero>#dossier-save{appearance:none;background:#fff;border:1px solid #dce5ef;border-radius:7px;padding:9px 14px;color:#426e9f;font:500 12px/1.4 system-ui,sans-serif;cursor:pointer;margin-top:12px}
.osm-summary-layout{display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,2fr);gap:28px;margin-top:24px}
.osm-summary-metrics{border-right:1px solid #e6ebf2;padding-right:28px;min-width:0}
.osm-summary-metrics .archive-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px 12px;margin:0 0 18px}
.osm-summary-metrics .archive-stats>div:first-child{grid-column:1/-1}
.osm-summary-metrics .archive-stats strong{font-size:25px}
.osm-summary-metrics .archive-stats>div:first-child strong{font-size:36px}
.osm-summary-metrics .archive-stats span{font-size:10px}
.osm-summary-copy .osm-lead{font:400 14px/2 system-ui,sans-serif;margin:0;color:#526b85}
.osm-summary-copy .osm-note{margin-bottom:0}
.osm-prototype .osm-mobile-source{grid-column:2/-1;justify-self:start;margin-top:0}
@media(max-width:700px){.osm-summary-layout{grid-template-columns:1fr;gap:20px}.osm-summary-metrics{border-right:0;border-bottom:1px solid #e6ebf2;padding:0 0 18px}.osm-summary-metrics .archive-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.osm-summary-metrics .archive-stats>div:first-child{grid-column:auto}.osm-summary-metrics .archive-stats strong,.osm-summary-metrics .archive-stats>div:first-child strong{font-size:26px}.osm-prototype .dossier-hero{grid-template-columns:54px minmax(0,1fr);gap:15px}.osm-prototype .dossier-hero>#dossier-save{grid-column:2;justify-self:start;margin-top:0}.osm-section-head>span{max-width:105px}}

/* Shared pages with no authored HN summary keep metrics compact. */
.osm-summary-without-copy{display:block}.osm-summary-without-copy .osm-summary-metrics{border:0;padding:0}.osm-summary-without-copy .archive-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.osm-summary-without-copy .archive-stats>div:first-child{grid-column:auto}.osm-summary-without-copy .archive-stats>div:first-child strong{font-size:25px}.detail-starting-ideas{margin-top:22px}.detail-starting-ideas>summary{cursor:pointer;font-size:12px;color:#527aa5}

.hn-empty{display:flex;align-items:flex-start;gap:18px;padding:20px;background:#f5f8fc;border:1px dashed #d8e2ee;border-radius:10px}.hn-empty-icon{width:52px;height:52px;flex-shrink:0;color:#90a7c0}.hn-empty h3{font:600 14px/1.7 system-ui,sans-serif;color:#526b85;margin:0 0 7px}.hn-empty p{font-size:12px;line-height:1.9;color:#7c8da1;margin:0 0 12px}.hn-empty a{font-size:12px;color:#527aa5;text-decoration:none}#discussion>.hn-empty{margin-top:20px}@media(max-width:600px){.hn-empty{padding:16px;gap:12px}.hn-empty-icon{width:38px;height:38px}}

.osm-reading h3{font:600 15px/1.9 system-ui,sans-serif}.osm-reading .osm-original-excerpt{margin:12px 0 0;padding:0 0 0 14px;border-left:2px solid #dce4ee}.osm-original-excerpt>span{font:400 10px/1.5 system-ui,sans-serif;color:#9aa7b6}.osm-original-excerpt p{font:400 12px/1.9 system-ui,sans-serif;color:#8190a2;margin:5px 0;overflow-wrap:anywhere}

.osm-reading-title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:12px}.osm-reading-title h3{margin:0;font-size:15px}.osm-reading-tags{display:flex;gap:6px;flex-wrap:wrap}.osm-reading-tags span{font-size:10px;color:#6483a7;background:#eef3f8;border-radius:4px;padding:3px 6px}.osm-comment-clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.osm-comment-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:14px}.osm-comment-links a{font-size:10px;color:#7890aa;text-decoration:none}

.osm-original-excerpt p.osm-comment-full{display:block;white-space:pre-line;overflow:visible;-webkit-line-clamp:unset}
