/* Digital Gemology: gemstone cut pages (/gemstones/<stone>/<cut>). Loaded on those pages only, after dg.css.
   Black and white like the rest of the site; colour appears only inside the renders and Light Return maps.
   Pictures sit on the stage (always black), so they read the same in both themes. */

.sc-hero .eyebrow a{color:inherit}
.sc-hero-fig{margin:0;justify-self:center;width:min(420px,100%)}
.sc-hero-fig img{display:block;width:100%;height:auto;border-radius:var(--r-panel)}
.sc-hero-fig figcaption{margin-top:8px;font-size:.75rem;color:#A3A3A3;text-align:center}

/* the pros and cons at a glance: two columns, one line per point with its number */
.sc-sum{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.sc-col{border:1px solid var(--line);border-radius:var(--r-panel);padding:16px 18px}
.doc .sc-col h3{margin:0 0 8px;font-size:.8125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.doc .sc-col ul{list-style:none;padding:0;margin:0}
.doc .sc-col li{display:flex;justify-content:space-between;gap:12px;margin:0;padding:8px 0;border-top:1px solid var(--line);font-size:.9375rem}
.doc .sc-col li:first-child{border-top:0}
.sc-col li .num{white-space:nowrap;color:var(--muted)}
.sc-none{margin:0;font-size:.9375rem;color:var(--muted)}

/* one pro or con: claim, number, words, picture, what helps, try it */
.sc-point{margin:28px 0 0;padding-top:4px}
.doc .sc-point h3{font-size:1.1875rem;margin:0 0 6px}
.doc .sc-num{margin:0 0 8px;font-variant-numeric:tabular-nums;color:var(--muted)}
.sc-num b{color:var(--fg);font-weight:620}
.doc .sc-fix{margin:12px 0;padding:12px 16px;border-left:3px solid var(--fg);background:var(--surface);border-radius:0 var(--r-inner) var(--r-inner) 0}
.doc .sc-try{margin:10px 0 0;font-size:.9375rem;font-weight:560}

/* side-by-side pictures: same light, size and angle */
.sc-fig{margin:14px 0 0;border-radius:var(--r-panel);padding:16px}
.sc-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sc-cell{margin:0;min-width:0}
.sc-cell img,.sc-cell svg{display:block;width:100%;height:auto;border-radius:var(--r-inner)}
.sc-cell svg{color:rgba(255,255,255,.75);aspect-ratio:1}
.doc .sc-lab{margin:8px 0 0;font-size:.8125rem;line-height:1.35;color:#fff;font-variant-numeric:tabular-nums}
.sc-fig figcaption{margin-top:12px;font-size:.8125rem;line-height:1.45;color:#A3A3A3}

/* tilt strips: the same map at 0, 10, 20 and 30 degrees, one row per stone */
.sc-strip+.sc-strip{margin-top:16px}
.doc .sc-strip .sc-lab{margin:0 0 8px}
.sc-frames{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sc-frame{min-width:0;text-align:center}
.sc-frame img{display:block;width:100%;height:auto}
.sc-frame span{display:block;margin-top:4px;font-size:.75rem;color:#A3A3A3;font-variant-numeric:tabular-nums}

/* weight bars */
.sc-fig-weight svg{display:block;width:100%;max-width:520px;height:auto}
.sc-wt{fill:#fff;font-size:13px;font-weight:500}
.sc-wv{fill:#fff;font-size:13px;font-variant-numeric:tabular-nums}
.sc-wb{fill:none;stroke:rgba(255,255,255,.7);stroke-width:1.5;stroke-dasharray:4 3}
.sc-wb-me{fill:rgba(255,255,255,.85);stroke:none}

/* the wheel snapshot: the Cut Performance Wheel's own drawing (src/wheel.js), its styles copied from cut-wheel.css */
.sc-wheel{margin:16px 0;border-radius:var(--r-panel);padding:22px 16px 18px}
.cw-wheel{max-width:440px;margin:0 auto}
.cw-svg{display:block;width:100%;height:auto;overflow:visible}
.cw-ring{fill:none;stroke:rgba(255,255,255,.13);stroke-width:1;stroke-dasharray:2 3}
.cw-ring-100{stroke:rgba(255,255,255,.34);stroke-dasharray:none}
.cw-spoke{stroke:rgba(255,255,255,.12);stroke-width:1}
.cw-tick{fill:#8C8C8C;font-size:10px;font-variant-numeric:tabular-nums;paint-order:stroke;stroke:#000;stroke-width:3px;stroke-linejoin:round}
.cw-ref{fill:none;stroke:rgba(255,255,255,.7);stroke-width:1.6;stroke-dasharray:5 4;stroke-linejoin:round}
.cw-cut{fill:none;stroke:#fff;stroke-width:2;stroke-linejoin:round}
.cw-shared{fill:rgba(255,255,255,.1)}
.cw-gain{fill:rgba(255,255,255,.72)}
.cw-loss{fill:url(#cw-hatch)}
.cw-hatch-l{stroke:rgba(255,255,255,.62);stroke-width:1.5}
.cw-delta{font-size:12px;font-weight:600;fill:#A3A3A3;font-variant-numeric:tabular-nums}
.cw-delta.cw-up{fill:#fff}
.cw-dot{fill:#fff;stroke:#000;stroke-width:1}
.cw-label{fill:#fff;font-size:13.5px;font-weight:500}
.cw-label-h{font-weight:650}
.cw-note{margin:10px auto 0;max-width:52ch;text-align:center;font-size:.75rem;line-height:1.45;color:#A3A3A3}
.doc .cw-sum{margin:18px auto 0;max-width:400px;font-size:.875rem;line-height:1.45;color:#fff;text-align:center}
.doc .cw-list{list-style:none;margin:12px auto 0;padding:0;max-width:400px;font-size:.9375rem}
.doc .cw-list li{display:grid;grid-template-columns:minmax(0,1fr) 2.4em minmax(72px,132px) 2.8em;align-items:center;gap:10px;padding:3px 0;margin:0}
.doc .cw-list li.cw-sep{padding-bottom:9px;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.1)}
.cw-k{color:#fff}
.cw-v{font-weight:620;color:#fff;text-align:right}
.cw-d{color:#A3A3A3;font-size:.8125rem;text-align:right;white-space:nowrap}
.cw-up .cw-d{color:#fff;font-weight:600}
.cw-bar{position:relative;display:block;height:10px}
.cw-bar::before{content:"";position:absolute;left:50%;top:-3px;bottom:-3px;width:1px;background:rgba(255,255,255,.35)}
.cw-bar i{position:absolute;top:1px;bottom:1px;border-radius:2px}
.cw-up .cw-bar i{left:50%;background:rgba(255,255,255,.85)}
.cw-down .cw-bar i{right:50%;background:repeating-linear-gradient(135deg,rgba(255,255,255,.62) 0 1.5px,transparent 1.5px 4px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}

@media (max-width:860px){
  .sc-hero-fig{width:min(360px,100%)}
}
@media (max-width:560px){
  .sc-sum{grid-template-columns:1fr}
  .sc-pair{gap:8px}
  .sc-fig{padding:12px}
  .sc-frames{gap:4px}
  .sc-frame span{font-size:.6875rem}
}
