/* Field notebook: original brand artwork and compact specimen records. */
:root{--blue:#a63d0a;--soft:#f0f2f4;--brand:#f1651e;--gold:#ffc629;--rail:#1e1e1e;--ink:#1e1e1e}
body.dark{--bg:#17191c;--surface:#222529;--ink:#f4f5f6;--muted:#b1b7bf;--line:#3a3e44;--blue:#ffab7e;--soft:#2c3036}
.brand-logo{display:flex;width:86px;padding:8px 6px;margin:27px 0 32px;background:#fff;border-radius:2px;align-items:center;justify-content:center}
.brand-logo img,.mobile-brand img{width:100%;height:auto;display:block;object-fit:contain}
.mobile-brand{display:none}
.rail-link{border-radius:3px;min-height:74px;font-size:.8125rem}
.rail-link.active{background:var(--brand);color:#1e1e1e}
.rail-link:hover{background:#393939}
.rail-link.active:hover{background:var(--gold)}
h1 span{color:var(--brand)}
.filter,.theme,.search,.views,.card,.compare-panel,.table-wrap,.slot,.primary{border-radius:4px}
.card.selected{border-color:var(--brand)}
.check input{accent-color:var(--brand)}
.primary{background:#1e1e1e;color:#fff;border-left:4px solid var(--brand);font-weight:600;font-size:.875rem;min-height:46px}
body.dark .primary:not(:disabled){background:var(--gold);color:#1e1e1e}
.primary:disabled{border-left-color:var(--line)}
.search input{font-size:1rem}
.filter,.result-line,.views button,.category,.stats span,.more{font-size:.875rem}
.stats em,.image-index,.eyebrow,.totals span,.code,.panel-note,.source-note summary,footer{font-size:.8125rem}
.panel-note{line-height:1.7}.source-note p{font-size:1rem}
.source-note{scroll-margin-top:25px}
.source-note h2{letter-spacing:-.5px}
.card-photo{height:210px}.card-photo img{object-position:50% 50%}
.card-heading{flex-wrap:wrap}.stats{grid-template-columns:1fr 1.5fr}
.counter{background:var(--soft);color:var(--ink)}
.slot b{font-size:.875rem}.slot small{font-size:.8125rem}
.brand-logo:focus-visible,.mobile-brand:focus-visible{outline:3px solid var(--gold)}
dialog{max-width:1060px;border-radius:6px;max-height:92dvh}
.dialog-top{position:sticky;top:0;z-index:2;background:var(--surface);align-items:center}
.dialog-top .eyebrow{font-size:.75rem}.dialog-top h2{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.close{width:44px;height:44px;border-radius:4px}
.detail-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;padding:28px 32px}
.specimen-story,.specimen-properties{min-width:0}
.specimen-photo{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--bg);border-radius:4px}
.specimen-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%;transform:scale(1.28)}
.specimen-photo .image-index{left:12px;top:12px}
.rock-story{padding-top:22px}.rock-story .eyebrow{font-size:.75rem;letter-spacing:1.4px}
.rock-story h3{font-size:1.25rem;line-height:1.4;margin:9px 0 13px}
.rock-story p{font-size:1rem;line-height:1.8;color:var(--muted)}
.texture-note{margin:18px 0 12px;border-left:3px solid var(--gold);padding-left:14px}
.texture-note span{display:block;font-size:.8125rem;color:var(--muted);margin-bottom:4px}.texture-note strong{font-size:.9375rem;font-weight:500}
.rock-story .general-note{font-size:.8125rem}.reference-link{font-size:.8125rem;display:inline-block;margin-top:7px;text-underline-offset:4px}
.specimen-story .primary{width:100%;margin-top:24px;justify-content:center}
.properties-heading h3{font-size:1.25rem;line-height:1.45;margin-top:8px}.properties-heading .eyebrow{font-size:.75rem}
.property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 12px}
.property-card{padding:17px;background:var(--bg);border:1px solid var(--line);border-radius:4px;display:flex;flex-direction:column}
.property-card dt{font-size:.875rem;font-weight:600;line-height:1.4}
.property-card dd{margin:15px 0 10px;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;font:600 1.875rem/1.2 Consolas,'Courier New',monospace;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.property-card dd span{font:400 .8125rem/1.4 'Segoe UI',Arial,sans-serif;color:var(--muted);letter-spacing:0}
.property-card p{color:var(--muted);font-size:.8125rem;line-height:1.55;margin-top:auto}
.featured-property{border-top:3px solid var(--brand);padding-top:15px;background:var(--surface)}
.property-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:4px 16px;align-items:center}
.property-card:last-child dd{grid-column:2;grid-row:1/3;margin:0;display:flex;flex-direction:column;gap:5px;align-items:flex-end;font-size:1.625rem}
.property-card:last-child p{grid-column:1;margin:3px 0 0}
.measurement-source{font-size:.8125rem;color:var(--muted);margin-bottom:20px}
.related-ranges,.unreported{border-top:1px solid var(--line);padding:16px 0;font-size:.875rem}
.related-ranges summary,.unreported summary{cursor:pointer;line-height:1.6}
.related-ranges>p,.unreported>p{font-size:.8125rem;color:var(--muted);margin-top:12px}
.related-ranges dl{margin-bottom:0}.related-ranges dl>div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;flex-wrap:wrap}
.related-ranges dd{margin:0;font-family:Consolas,monospace}.related-ranges dd span{font:.8125rem 'Segoe UI',sans-serif;color:var(--muted)}
.unreported summary>span{display:inline-block;padding:0 7px;margin-left:8px;background:var(--soft);font-family:Consolas,monospace}
.unreported ul{padding-left:20px;color:var(--muted);line-height:1.8}.unreported li span{font-size:.8125rem}
.original{padding-top:10px}.original summary{font-size:.9375rem}.original .photo-caption{font-size:.875rem;color:var(--muted);margin:12px 0}
.detail-note{font-size:.8125rem}
.share-card{display:flex;align-items:center;gap:30px;padding:28px;margin-top:24px;border:1px solid var(--line);background:var(--surface);max-width:760px}
.share-card img{width:148px;height:148px;background:#fff;flex-shrink:0}.share-card h2{font-size:1.25rem;margin-bottom:8px}.share-card p{font-size:.9375rem;color:var(--muted);margin-bottom:12px}.share-card a{font-size:.875rem;text-underline-offset:4px}.share-card a+a{margin-left:20px}
@media(max-width:1150px){.card-photo{height:185px}}
@media(max-width:900px){.brand-logo{width:66px;padding:7px 4px}.detail-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:22px}.property-card{padding:13px}.property-card dd{font-size:1.75rem}}
@media(max-width:700px){.detail-layout{grid-template-columns:1fr}.specimen-photo{aspect-ratio:16/10}.specimen-properties{margin-top:6px}}
@media(max-width:620px){
 .rail>.brand-logo{display:none}.mobile-brand{display:block;width:108px;padding:6px;background:#fff;border-radius:2px;flex-shrink:0}
 .topbar{height:72px;gap:12px;padding:0 18px}.breadcrumb{font-size:.6875rem;letter-spacing:.4px;line-height:1.6;max-width:155px}.breadcrumb span{margin:0 5px}.theme{margin-left:auto;min-width:40px;min-height:40px}
 .rail{height:70px;padding-bottom:env(safe-area-inset-bottom)}.rail-link{min-height:58px;height:auto;font-size:.75rem;gap:3px}.rail-link span br{display:none}.rail-link span br::after{content:' '}.shell{margin-bottom:78px}
 .card-photo{height:230px}.filter{font-size:.875rem}.eyebrow{font-size:.75rem}.result-line{font-size:.8125rem;gap:8px}.views button{padding:6px 9px}
 .detail-layout{padding:20px;gap:25px}.dialog-top{padding:18px 20px}.dialog-top h2{font-size:1.5rem}.dialog-top .code{font-size:.875rem}
 dialog{width:calc(100% - 20px);max-height:94dvh}.property-card{padding:16px}.property-card dd{font-size:1.875rem}.rock-story p{font-size:1rem}.original{padding:0 20px 20px}.detail-note{padding:18px 20px}
 .share-card{padding:22px;flex-direction:column;text-align:center;gap:18px}.share-card img{width:180px;height:180px}.share-card a{display:block}.share-card a+a{margin:10px 0 0}
 .source-note summary{font-size:.9375rem}.stats span{font-size:.875rem}.stats em{font-size:.8125rem}footer{font-size:.75rem}
}
@media(max-width:360px){.breadcrumb{display:none}.property-grid{grid-template-columns:1fr}.property-card:last-child{display:flex;align-items:stretch}.property-card:last-child dd{align-items:flex-start;margin:12px 0}.card-bottom{padding-left:15px;padding-right:15px}.card-body{padding-left:15px;padding-right:15px}}
