/* Shore hardness guide — scoped to the materials section. */
.material-grid>div{min-width:0}
.material-name{overflow-wrap:anywhere}
.shore-panel{--shore-value:95;--shore-accent:#f2cc58;min-width:0;margin-top:32px;padding:27px 23px;background:linear-gradient(145deg,#1d3540,#142b34);border:1px solid #49616b;border-radius:10px;scroll-margin-top:110px;box-shadow:0 14px 40px #04171d24}
.shore-panel .eyebrow{font-size:10px;letter-spacing:.09em;color:#f2cc58}
.shore-panel h3{font:600 clamp(25px,2.1vw,31px)/1.15 var(--display);letter-spacing:-.035em;margin:12px 0 14px;color:#f3f5ef}
.shore-panel p{max-width:none;font-size:13px;line-height:1.7;color:#c8d5d7}
.shore-panel p strong{color:#f3f5ef}
.shore-visual{margin:22px 0 25px;padding:20px 17px 17px;border:1px solid #526b7366;border-radius:7px;background:radial-gradient(ellipse at 100% 0,#32606233,transparent 65%),#0c222bcc}
.shore-result{display:grid;grid-template-columns:auto minmax(0,1fr);gap:17px;align-items:center;min-height:102px}
.shore-readout{display:flex;flex-direction:column;gap:5px}
.shore-readout>span{color:#a9bec2;font:400 9px/1.4 var(--mono);letter-spacing:.07em}
.shore-readout strong{color:var(--shore-accent);font:600 clamp(46px,4.8vw,64px)/1 var(--display);letter-spacing:-.06em;white-space:nowrap;font-variant-numeric:tabular-nums}
.shore-readout strong small{font-size:.38em;letter-spacing:0;margin-left:3px}
.shore-result-copy{min-width:0}
.shore-result-copy>strong{display:block;color:#f2f5f1;font:600 15px/1.4 var(--body)}
.shore-panel .shore-result-copy p{margin:6px 0 0;font-size:12px;line-height:1.55;color:#b9ccd0}
.shore-axis{margin:24px 0 0}
.shore-axis-track{position:relative;height:28px;border-radius:4px;background:linear-gradient(90deg,#568dc9 0%,#4ab5c1 27%,#65c6a8 48%,#99cf83 65%,#d3d56b 82%,#f2cc58 95%,#efa56d 100%);box-shadow:inset 0 1px 0 #ffffff44}
.shore-axis-track::after{content:"";position:absolute;inset:0;border-radius:inherit;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#0a273942 calc(10% - 1px),#0a273942 10%)}
.shore-pointer{position:absolute;z-index:1;top:-6px;bottom:-6px;left:clamp(7px,calc(var(--shore-value)*1%),calc(100% - 7px));width:13px;border:2px solid #fff;border-radius:3px;background:#0a202744;transform:translateX(-50%);box-shadow:0 1px 9px #0009;transition:left .25s ease}
.shore-axis.is-interactive{margin-top:44px}
.shore-axis.is-interactive .shore-pointer{display:none}
.shore-axis-track::after,.shore-pointer{pointer-events:none}
.shore-axis .shore-range{appearance:none;-webkit-appearance:none;position:absolute;z-index:3;left:-9px;top:-8px;width:calc(100% + 18px);height:44px;min-height:44px;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:grab;touch-action:pan-y;color:inherit}
.shore-axis .shore-range:active{cursor:grabbing}
.shore-axis .shore-range:focus-visible{outline:2px solid #f3f6ed;outline-offset:5px;border-radius:4px}
.shore-range::-webkit-slider-runnable-track{height:28px;border:0;border-radius:4px;background:transparent;box-shadow:none}
.shore-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:18px;height:44px;margin-top:-8px;border:2px solid #fff;border-radius:4px;background:linear-gradient(90deg,#fff4,#10272a33,#fff4);box-shadow:0 2px 9px #00141daa;transition:box-shadow .15s ease}
.shore-range::-moz-range-track{height:28px;border:0;border-radius:4px;background:transparent;box-shadow:none}
.shore-range::-moz-range-progress{height:28px;background:transparent}
.shore-range::-moz-range-thumb{box-sizing:border-box;width:18px;height:44px;border:2px solid #fff;border-radius:4px;background:linear-gradient(90deg,#fff4,#10272a33,#fff4);box-shadow:0 2px 9px #00141daa;transition:box-shadow .15s ease}
.shore-range:hover::-webkit-slider-thumb,.shore-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 5px #edf6db24,0 2px 9px #00141daa}
.shore-range:hover::-moz-range-thumb,.shore-range:focus-visible::-moz-range-thumb{box-shadow:0 0 0 5px #edf6db24,0 2px 9px #00141daa}
.shore-bubble{position:absolute;z-index:2;top:-36px;left:clamp(24px,calc(var(--shore-value)*1%),calc(100% - 24px));display:grid;place-items:center;min-width:48px;padding:5px 7px;border:1px solid #ffffff66;border-radius:4px;background:var(--shore-accent);color:#0e2932;font:600 12px/1.4 var(--mono);transform:translateX(-50%);pointer-events:none;transition:background .16s ease,transform .16s ease;box-shadow:0 3px 10px #00141d44}
.shore-axis.is-dragging .shore-bubble{transform:translateX(-50%) translateY(-3px)}
.shore-slider-help{display:block;margin:12px 0 0;color:#bdd2d7;font:400 10px/1.6 var(--body)}
.shore-range[hidden],.shore-bubble[hidden],.shore-slider-help[hidden]{display:none}
.shore-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.shore-result{grid-template-columns:116px minmax(0,1fr);min-height:120px}
.shore-readout strong{transition:color .16s ease}
.shore-axis-ticks{display:flex;justify-content:space-between;margin-top:10px;color:#c0d1d5;font:400 10px/1.3 var(--mono)}
.shore-axis-ticks span{width:1px;display:flex;justify-content:center}
.shore-axis-ticks span:first-child{justify-content:flex-start}.shore-axis-ticks span:last-child{justify-content:flex-end}
.shore-axis-range{position:relative;height:13px;margin:8px 0 0}
.shore-axis-range::after{content:"";position:absolute;left:60%;right:2%;height:7px;border:1px solid #bfd6c9;border-top:0;border-radius:0 0 3px 3px}
.shore-panel .shore-range-caption{margin:1px 0 0;text-align:right;font-size:10px;line-height:1.5;color:#bfd6c9}
.shore-direction{display:flex;justify-content:space-between;gap:14px;margin-top:15px;padding-top:12px;border-top:1px solid #a5c8ce26;color:#c8d5d7;font-size:10px;line-height:1.5}
.shore-direction span:last-child{text-align:right}.shore-direction b{display:block;color:#f1f4ef;font-size:11px;font-weight:600}
.shore-picker{margin-top:20px}.shore-picker[hidden]{display:none}
.shore-picker-label{display:block;margin-bottom:9px;font:400 10px/1.5 var(--mono);color:#b5cbd0}
.shore-picker-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.shore-picker button{position:relative;min-width:0;min-height:44px;padding:8px 4px;border:1px solid #52717c;border-bottom:3px solid var(--grade-color);border-radius:4px;background:#19333e;color:#e5efee;font:600 13px/1.3 var(--mono);cursor:pointer;transition:background .15s ease,border-color .15s ease}
.shore-picker button:hover{background:#294752;border-color:var(--grade-color)}
.shore-picker button[aria-pressed="true"]{background:var(--grade-color);border-color:var(--grade-color);color:#102b33;box-shadow:inset 0 0 0 1px #ffffff66}
.shore-picker button:focus-visible,.shore-panel a:focus-visible,.shore-panel summary:focus-visible{outline:2px solid #fff;outline-offset:4px}
.shore-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;line-height:1.55;table-layout:fixed}
.shore-table caption{text-align:left;font:600 17px/1.4 var(--display);letter-spacing:-.02em;color:#edf4ef;margin-bottom:12px}
.shore-table thead th{padding:9px 8px;border-bottom:1px solid #69818a;font:400 9px/1.5 var(--mono);letter-spacing:.04em;text-transform:uppercase;color:#b9cdd1}
.shore-table thead th:first-child{width:68px}
.shore-table tbody th,.shore-table td{padding:12px 8px;border-bottom:1px solid #49636c;vertical-align:top}
.shore-table tbody th{position:relative;color:var(--grade-color);font:600 17px/1.4 var(--mono);white-space:nowrap}
.shore-table tbody th::after{content:"";display:block;margin-top:7px;width:32px;height:3px;border-radius:2px;background:var(--grade-color)}
.shore-table tbody th small{display:block;font:400 8px/1.4 var(--mono);color:#b5c9cd;letter-spacing:.02em;margin-top:2px}
.shore-table td{overflow-wrap:anywhere;color:#e9f0ef}
.shore-row-title{display:block;font-weight:600;font-size:12px;line-height:1.55;color:#edf4ef}
.shore-row-use{display:block;margin-top:3px;font-size:11px;line-height:1.6;color:#c5d4d7}
.shore-table td .shore-product{display:block;margin-top:5px;color:#a6c7cc;font-size:10px;line-height:1.6;text-decoration:underline;text-decoration-color:#a6c7cc70;text-underline-offset:3px}
.shore-table td .shore-product:hover{color:#f2cc58}
.shore-table .shore-selected{background:#d6e6ca0b}
.shore-table .shore-selected th{box-shadow:inset 3px 0 var(--grade-color)}
.shore-stock-tag{display:inline-block;margin-top:7px;padding:2px 6px;background:#f2cc581a;border:1px solid #f2cc5844;border-radius:3px;font:500 8px/1.5 var(--mono);color:#f2cc58}
.shore-panel .shore-table-note{margin:12px 0 0;font-size:10px;line-height:1.7;color:#b0c5ca}
.shore-extra{margin-top:20px;padding:15px 14px;border:1px solid #4f727e;border-radius:5px;background:#0d253080}
.shore-extra-heading{display:flex;align-items:center;gap:10px;margin-bottom:7px}
.shore-extra h4{margin:0;font:600 14px/1.4 var(--body);color:#edf4ef}
.shore-extra-badge{flex:none;padding:5px 7px;border:1px solid #73bac2;border-radius:4px;color:#a0dbe0;font:600 13px/1.2 var(--mono)}
.shore-panel .shore-extra p{margin:5px 0 0;font-size:11px;line-height:1.75}
.shore-extra a{color:#bfe1e3;text-decoration:underline;text-underline-offset:3px}
.shore-d-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}
.shore-d-examples a{min-width:0;display:flex;flex-direction:column;gap:5px;align-items:flex-start;padding:10px 7px;border:1px solid #577d874d;border-radius:4px;background:#28424c66;text-decoration:none}
.shore-d-examples a:hover{border-color:#9bd6dc}
.shore-d-examples strong{font:600 21px/1.2 var(--mono);color:#9bd6dc}
.shore-d-examples span{font:400 9px/1.5 var(--body);color:#c4d7dc;overflow-wrap:anywhere}
.shore-panel .shore-note{margin:20px 0 0;font-size:12px;line-height:1.75}
.shore-panel .shore-offer-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;min-height:44px;color:#f2cc58;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.shore-panel .shore-sources{margin-top:14px;padding-top:8px;border-top:1px solid #54717b}
.shore-sources summary{font:400 10px/1.5 var(--body);color:#b7cfd3;cursor:pointer;min-height:36px;padding:10px 0}
.shore-sources ul{margin:5px 0 0;padding-left:16px;display:grid;gap:6px}
.shore-sources li{color:#b7cfd3;font:400 10px/1.6 var(--body)}
.shore-sources a{color:#b7d9df;text-decoration:underline;text-underline-offset:3px}
.shore-panel:target{border-color:#e2bf51}
#material-flex .flex-offer-heading{margin:20px 0 12px;color:#edf4ef;font:600 14px/1.5 var(--body)}
#material-flex .shore-jump{display:inline-flex;align-items:center;min-height:44px;margin:0 0 5px;color:#f2cc58;font-size:13px;text-decoration:underline;text-underline-offset:4px}
#material-flex .flex-material-note{margin:15px 0 6px;font-size:12px;line-height:1.8;color:#bdd0d3}
@media(min-width:761px) and (max-width:1100px){.shore-panel{padding:23px 15px}.shore-visual{padding:17px 12px}.shore-result{gap:12px}.shore-result-copy>strong{font-size:13px}.shore-panel .shore-result-copy p{font-size:11px}.shore-readout strong{font-size:46px}.shore-table thead th:first-child{width:62px}.shore-table tbody th,.shore-table td{padding-left:7px;padding-right:7px}}
@media(max-width:760px){.shore-panel{max-width:620px;margin-top:25px}.material-intro>p{max-width:620px}.shore-readout strong{font-size:62px}}
@media(max-width:440px){.shore-panel{padding:23px 15px}.shore-panel h3{font-size:26px}.shore-visual{padding:17px 12px}.shore-result{gap:12px;min-height:108px}.shore-readout strong{font-size:49px}.shore-result-copy>strong{font-size:13px}.shore-panel .shore-result-copy p{font-size:11px}.shore-table thead th:first-child{width:62px}.shore-table tbody th,.shore-table td{padding-left:7px;padding-right:7px}.shore-extra{padding:14px 11px}.shore-d-examples span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.shore-pointer,.shore-picker button{transition:none}}
@media(min-width:761px) and (max-width:1100px){.shore-result{grid-template-columns:96px minmax(0,1fr);min-height:160px}}
@media(max-width:440px){.shore-result{grid-template-columns:96px minmax(0,1fr);min-height:160px}.shore-readout strong{font-size:46px}}
@media(prefers-reduced-motion:reduce){.shore-bubble,.shore-readout strong,.shore-range::-webkit-slider-thumb{transition:none}.shore-range::-moz-range-thumb{transition:none}.shore-axis.is-dragging .shore-bubble{transform:translateX(-50%)}}
/* Keep long material names and footer links readable on narrow screens. */
@media(max-width:440px){.material>summary{display:grid;grid-template-columns:45px minmax(0,1fr) 14px;column-gap:10px;row-gap:6px;align-items:center}.material>summary .dmr-spool{grid-column:1;grid-row:1 / span 2;margin:0;transform:scale(.7);transform-origin:left center}.material>summary .material-name{grid-column:2;grid-row:1;font-size:20px;line-height:1.25}.material>summary .material-tag{grid-column:2;grid-row:2;max-width:none;margin:0;text-align:left;font-size:11px;line-height:1.4}.material>summary::after{grid-column:3;grid-row:1 / span 2;margin:0}.footer-top{flex-wrap:wrap}}
