/* Generated by tools/build-css.php from xrt.css, which carries the comments. Do not edit. */
:root {
--ground:      #f7f8fa;
--surface:     #ffffff;
--surface-alt: #f2f4f7;
--ink:         #16181d;
--ink-soft:    #5a6270;
--ink-faint:   #676f7d;
--rule:        #dde1e8;
--rule-strong: #c3cad6;
--cu:          #b4530a;
--cu-soft:     #fdf1e6;
--on-cu:       #ffffff;
--mo:          #3e5c76;
--beam:        #a86a00;
--ramp-l:      37%;
--mo-soft:     #eef3f8;
--hdr:         3.5rem;
--ax-a:        #c0392b;
--ax-b:        #2e7d4f;
--ax-c:        #2f6fb5;
--gl:          #7a4fa3;
--gl-soft:     #f4eefa;
--lock:        #c98a00;
--lock-soft:   #fff6e0;
--warn-bg:     #fdf3f2;
--warn-rule:   #d9a29c;
--warn-ink:    #8c2f24;
--radius:      6px;
--rhythm:      1.25rem;
--maxw:        1180px;
--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--serif: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, "Cascadia Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
:root {
--ground:      #0e1116;
--surface:     #161a21;
--surface-alt: #1c212a;
--ink:         #e6e9ef;
--ink-soft:    #9aa4b4;
--ink-faint:   #838d9d;
--rule:        #262c36;
--rule-strong: #39414e;
--cu:          #e08a47;
--cu-soft:     #2a1d12;
--on-cu:       #0e1116;
--mo:          #7fa6c9;
--mo-soft:     #182430;
--beam:        #f2b84b;
--ax-a:        #e8705f;
--ax-b:        #5fb98a;
--ax-c:        #6fa8dc;
--gl:          #b98fdd;
--gl-soft:     #241a2e;
--lock:        #ffd75e;
--lock-soft:   #3a2f10;
--warn-bg:     #2a1715;
--warn-rule:   #7a4038;
--warn-ink:    #f0b3aa;
--ramp-l: 60%;
}
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--ground);
color: var(--ink);
font-family: var(--sans);
font-size: 16px;
line-height: 1.55;
}
a { color: var(--cu); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible {
outline: 2px solid var(--cu);
outline-offset: 2px;
border-radius: 2px;
}
.topbar {
position: sticky;
top: 0;
z-index: 10;
background: var(--surface);
border-bottom: 1px solid var(--rule);
}
.topbar__inner {
max-width: var(--maxw);
margin: 0 auto;
padding: 0 1.25rem;
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.4rem 1.5rem;
}
.brand {
font-weight: 600;
font-size: 1.0625rem;
letter-spacing: -0.015em;
color: var(--ink);
text-decoration: none;
padding: 0.85rem 0;
white-space: nowrap;
}
.brand span { color: var(--cu); }
.nav { margin-left: auto; }
.nav__all > summary {
cursor: pointer;
padding: 0.85rem 0;
font-size: 0.9375rem;
letter-spacing: 0.01em;
color: var(--ink-soft);
white-space: nowrap;
}
.nav__all > summary:hover,
.nav__all[open] > summary { color: var(--ink); }
.topbar__inner { position: relative; }
.nav__panel {
position: absolute;
top: 100%;
right: 1.25rem;
left: 1.25rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
gap: 1.25rem 2rem;
padding: 1.25rem;
background: var(--surface);
border: 1px solid var(--rule);
border-top: none;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
max-height: calc(100vh - 100%);
max-height: calc(100dvh - 100%);
overflow-y: auto;
overscroll-behavior: contain;
}
.nav__heading {
margin: 0 0 0.4rem;
min-height: 2lh;
font-size: 0.8125rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--ink-soft);
}
.nav__list {
list-style: none;
margin: 0;
padding: 0;
}
.nav__list li + li { margin-top: 0.3rem; }
.nav__list a {
display: block;
font-size: 0.9375rem;
color: var(--ink);
text-decoration: none;
}
.nav__list a:hover { text-decoration: underline; }
.nav__list a[aria-current="page"] {
color: var(--cu);
font-weight: 500;
}
@media (max-width: 46rem) {
.nav__panel {
left: 0;
right: 0;
gap: 1rem 1.25rem;
}
.nav__heading { min-height: 0; }
}
.page {
max-width: var(--maxw);
margin: 0 auto;
padding: 1.75rem 1.25rem 4rem;
}
.page__title {
font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
font-weight: 600;
letter-spacing: -0.02em;
margin: 0 0 1.5rem;
}
.workbench__input { padding-inline: 5px; }
.workbench {
display: grid;
grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
gap: 1.5rem;
align-items: start;
}
.workbench--form { grid-template-columns: minmax(0, 34rem) minmax(0, 26rem); }
@media (max-width: 60rem) {
.workbench { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 60.0625rem) and (min-height: 44rem) {
.workbench__input {
position: sticky;
top: var(--hdr);
max-height: calc(100vh - var(--hdr) - 1rem);
max-height: calc(100dvh - var(--hdr) - 1rem);
overflow-y: auto;
overscroll-behavior: contain;
}
}
.panel {
background: var(--surface);
border: 1px solid var(--rule);
border-radius: var(--radius);
padding: 1.25rem;
}
.panel + .panel { margin-top: 1.5rem; }
.panel[id] { scroll-margin-top: calc(var(--hdr) + 0.5rem); }
.anchor[id] { scroll-margin-top: calc(var(--hdr) + 0.5rem); }
.panel__title {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.09em;
color: var(--ink-soft);
margin: 0 0 1rem;
}
.panel__title--symbol {
text-transform: none;
letter-spacing: 0.02em;
font-size: 1.0625rem;
color: var(--ink);
}
.field { margin-bottom: var(--rhythm); }
.field:last-child { margin-bottom: 0; }
.field > label,
.fieldset__legend {
display: block;
font-size: 0.8125rem;
font-weight: 500;
color: var(--ink-soft);
margin-bottom: 0.3rem;
}
.field--inline {
display: grid;
grid-template-columns: 1.75rem minmax(0, 1fr);
align-items: center;
column-gap: 0.6rem;
margin-bottom: 0.5rem;
}
.field--inline--word { grid-template-columns: 3.25rem minmax(0, 1fr); }
.field--inline > label {
margin-bottom: 0;
text-align: right;
font-size: 1rem;
color: var(--ink);
}
.modes {
display: grid;
grid-template-columns: auto minmax(6rem, 1fr);
align-items: center;
column-gap: 0.75rem;
row-gap: 0.5rem;
}
.field--mode {
display: contents;
}
.field--mode > label {
margin-bottom: 0;
font-size: 0.9375rem;
color: var(--ink);
white-space: nowrap;
}
.control {
display: flex;
align-items: center;
gap: 0.5rem;
}
.control--wrap { flex-wrap: wrap; }
.slider {
display: block;
width: 100%;
margin: 0.4rem 0 0;
accent-color: var(--cu);
}
.field--inline > .slider,
.field--inline > .ewald-play { grid-column: 1 / -1; }
input[type="text"],
input[type="email"],
input[type="file"],
textarea,
select {
width: 100%;
min-width: 0;
padding: 0.45rem 0.6rem;
font-family: var(--mono);
font-size: 0.9375rem;
font-variant-numeric: tabular-nums;
color: var(--ink);
background: var(--surface);
border: 1px solid var(--rule-strong);
border-radius: 4px;
}
input:hover:not([readonly]):not(:disabled) { border-color: var(--ink-faint); }
input[readonly] {
background: var(--surface-alt);
color: var(--ink-soft);
border-style: dashed;
cursor: not-allowed;
}
textarea {
line-height: 1.5;
resize: vertical;
min-height: 9rem;
}
textarea[name="atoms"] {
white-space: pre;
overflow-x: auto;
}
.unit {
flex: none;
min-width: 1.25rem;
font-family: var(--sans);
font-style: normal;
font-size: 0.875rem;
color: var(--ink-soft);
}
fieldset {
margin: 0 0 var(--rhythm);
padding: 0;
border: 0;
}
.choices {
display: flex;
flex-wrap: wrap;
gap: 0.15rem 1rem;
}
.choices--stack { flex-direction: column; gap: 0.15rem; }
.choices--tight {
gap: 0.15rem 0.75rem;
margin-top: 0.35rem;
font-size: 0.875rem;
}
.choice {
display: flex;
align-items: center;
gap: 0.4rem;
font-size: 0.9375rem;
cursor: pointer;
}
.choice input { margin: 0; accent-color: var(--cu); cursor: pointer; }
button,
input[type="button"],
input[type="submit"] {
font-family: var(--sans);
font-size: 0.9375rem;
font-weight: 500;
color: var(--on-cu);
background: var(--cu);
border: 1px solid var(--cu);
border-radius: 4px;
padding: 0.5rem 1.1rem;
cursor: pointer;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover { filter: brightness(1.08); }
.button--secondary {
color: var(--cu);
background: transparent;
}
.results-wrap { overflow-x: auto; }
.plotscroll { overflow-x: auto; }
.plotscroll > .svg-export { position: sticky; left: 0; }
@media (max-width: 46rem) {
.plotscroll > svg { min-width: 42rem; }
}
.tablecsv {
display: inline-block;
margin-left: 0.4rem;
padding: 0.05rem 0.35rem;
border: 1px solid var(--rule);
border-radius: 3px;
font-size: 0.8125rem;
font-weight: 600;
line-height: 1.5;
white-space: nowrap;
text-decoration: none;
color: var(--ink-soft);
vertical-align: baseline;
}
.tablecsv:hover,
.tablecsv:focus-visible {
color: var(--cu);
border-color: var(--cu);
}
table.results {
width: 100%;
border-collapse: collapse;
font-size: 0.9375rem;
}
table.results th,
table.results td {
text-align: left;
padding: 0.5rem 0.75rem;
border-bottom: 1px solid var(--rule);
vertical-align: baseline;
}
table.results tr:last-child th,
table.results tr:last-child td { border-bottom: 0; }
table.results th {
font-weight: 400;
color: var(--ink-soft);
padding-left: 0;
}
table.results thead th {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--ink-soft);
border-bottom: 1px solid var(--rule-strong);
}
table.results td {
font-family: var(--mono);
font-variant-numeric: tabular-nums;
color: var(--ink);
}
table.results th.num,
table.results td.num {
text-align: right;
font-variant-numeric: tabular-nums;
}
table.results td.prose {
font-family: var(--sans);
font-variant-numeric: normal;
}
table.results tr.results--marked > * { background: var(--mo-soft); }
.results__mark {
font-family: var(--sans);
font-size: 0.78em;
letter-spacing: 0.04em;
text-transform: uppercase;
opacity: 0.72;
}
.panel i, .notes i { font-family: var(--serif); }
.na { color: var(--ink-faint); }
.reflections {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
gap: 0.15rem 0.5rem;
font-family: var(--mono);
font-variant-numeric: tabular-nums;
font-size: 0.9375rem;
}
.hkl {
padding: 0.15rem 0.35rem;
border-radius: 3px;
white-space: nowrap;
background: var(--surface-alt);
}
.reflections .hkl:nth-child(even) { background: none; }
.notes { font-size: 0.9375rem; color: var(--ink-soft); }
.notes ul { margin: 0; padding-left: 1.1rem; }
.notes li { margin-bottom: 0.6rem; }
.notes li:last-child { margin-bottom: 0; }
.hint {
font-size: 0.8125rem;
color: var(--ink-soft);
margin: 0.3rem 0 0;
}
.hint:empty { display: none; }
:where(.page) :where(p, li, dd):where(:not([class])),
:where(.page) :where(.hint, .path__do) { max-width: 62ch; }
.errors {
background: var(--warn-bg);
border: 1px solid var(--warn-rule);
border-left-width: 3px;
border-radius: 4px;
color: var(--warn-ink);
padding: 0.75rem 1rem;
margin: 0 0 var(--rhythm);
font-size: 0.9375rem;
}
.errors ul { margin: 0; padding-left: 1.1rem; }
.lead {
max-width: 62ch;
margin: 0 0 1.75rem;
color: var(--ink-soft);
font-size: 0.9375rem;
line-height: 1.6;
}
.lead__what {
margin: 0 0 0.85rem;
color: var(--ink);
font-size: 1.0625rem;
}
.lead__facts {
display: grid;
grid-template-columns: max-content 1fr;
gap: 0.3rem 1rem;
margin: 0;
}
.lead__facts dt {
color: var(--ink-faint);
font-size: 0.8125rem;
text-transform: uppercase;
letter-spacing: 0.04em;
padding-top: 0.1rem;
}
.lead__facts dd { margin: 0; }
.lead__try { margin: 0.9rem 0 0; }
.lead__see { margin: 0.5rem 0 0; }
.lead__path {
margin: 0.9rem 0 0;
display: flex;
flex-wrap: wrap;
gap: 0.2rem 1.4rem;
font-size: 0.9375rem;
}
.lead__pathpart b { color: var(--ink-soft); font-weight: 600; }
.lead__notation { margin: 0.5rem 0 0; font-size: 0.9375rem; }
.lead__sym { white-space: nowrap; }
.lead__terms { margin: 0.35rem 0 0; font-size: 0.9375rem; }
.lead__terms a { white-space: nowrap; }
.path__for { margin: 0 0 0.9rem; color: var(--ink-soft); }
.path__sub {
margin: 1.1rem 0 0.4rem;
font-size: 0.8125rem;
color: var(--ink-faint);
text-transform: uppercase;
letter-spacing: 0.04em;
font-weight: 600;
}
.path__outcomes { margin: 0; padding-left: 1.2rem; }
.path__outcomes li { margin: 0.25rem 0; }
.path__steps { margin: 0; padding-left: 1.5rem; }
.path__step { margin: 0.9rem 0; }
.path__steptitle {
margin: 0 0 0.25rem;
font-size: 1rem;
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.5rem;
}
.path__steptitle a { text-decoration: none; }
.path__steptitle a:hover { text-decoration: underline; }
.path__do { margin: 0; }
.path__ex { margin: 0.3rem 0 0; font-size: 0.9375rem; }
.path__end {
margin: 1.2rem 0 0;
padding-top: 0.8rem;
border-top: 1px solid var(--rule);
color: var(--ink-soft);
}
.teach > summary {
white-space: normal;
line-height: 1.45;
font-weight: 500;
}
.teach__body { padding: 0.2rem 0 0.4rem; }
.teach__body > p { margin: 0.5rem 0 0; }
.teach__list {
display: grid;
grid-template-columns: max-content 1fr;
gap: 0.4rem 1rem;
margin: 0.4rem 0 0;
align-items: baseline;
}
.teach__list dt {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.875rem;
color: var(--ink-soft);
}
.teach__list dd { margin: 0; }
@media (max-width: 34rem) {
.teach__list { grid-template-columns: 1fr; gap: 0.1rem; }
.teach__list dd { margin: 0 0 0.6rem; }
}
.teach__opts {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.2rem;
margin: 0.4rem 0 0;
}
.teach__opt { display: inline-block; }
.teach__opt--right::before {
content: "Right: ";
font-weight: 700;
color: var(--ink);
}
.teach__opt--wrong::before {
content: "Not this: ";
font-weight: 700;
color: var(--ink-soft);
}
.teach__opt--wrong { color: var(--ink-soft); }
.teach__step { margin: 0.6rem 0 0; }
.teach--answer {
margin: 0.7rem 0 0;
padding-left: 0.8rem;
border-left: 2px solid var(--rule);
}
.teach--answer > summary { font-weight: 600; }
.predict { margin: 0.6rem 0 0; }
.predict__field { margin-bottom: 0.6rem; }
.predict__field .control > input[type="text"] { max-width: 9rem; }
.predict__out {
margin: 0.6rem 0 0;
padding: 0.55rem 0.8rem;
border-left: 3px solid var(--rule);
background: var(--surface-alt);
border-radius: 0 4px 4px 0;
font-size: 0.9375rem;
line-height: 1.55;
}
.predict__out--right { border-left-color: var(--cu); }
.predict__out--near  { border-left-color: var(--rule-strong); }
.predict__out--far   { border-left-color: var(--warn-rule); }
.predict__out--bad {
border-left-color: var(--warn-rule);
color: var(--warn-ink);
background: var(--warn-bg);
}
.level {
margin: 2rem 0 0.6rem;
font-size: 0.8125rem;
font-weight: 600;
color: var(--ink-faint);
text-transform: uppercase;
letter-spacing: 0.08em;
padding-bottom: 0.3rem;
border-bottom: 1px solid var(--rule);
}
.level:first-child { margin-top: 0; }
.limits { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.limits li { margin: 0.25rem 0; }
.lead__try a { white-space: nowrap; }
@media (max-width: 34rem) {
.lead__try a { white-space: normal; }
.lead__facts { grid-template-columns: 1fr; gap: 0.15rem; }
.lead__facts dd { margin-bottom: 0.5rem; }
}
.home-intro { max-width: 62ch; margin-bottom: 2.25rem; }
.home-intro__lead { font-size: 1.125rem; color: var(--ink); }
.notfound-list { max-width: 62ch; margin: 0; padding-left: 1.1rem; }
.notfound-list li { margin-bottom: 0.6rem; color: var(--ink-faint); }
.notfound-list a { font-weight: 600; }
.home-heading {
font-size: 0.8125rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--ink-faint);
margin: 0 0 0.9rem;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
gap: 1rem;
margin-bottom: 2.5rem;
}
.card {
border: 1px solid var(--rule);
border-radius: 6px;
background: var(--surface);
padding: 1rem 1.1rem;
}
.card__title { margin: 0 0 0.4rem; font-size: 1.0625rem; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__desc { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }
.card__try { margin: 0.7rem 0 0; font-size: 0.875rem; line-height: 1.8; }
.card__ctx { margin: 0.6rem 0 0; }
.card--pic { padding-top: 0; overflow: hidden; }
.card__pic {
display: block;
margin: 0 -1.1rem 0.85rem;
aspect-ratio: 2 / 1;
background: var(--ground);
border-bottom: 1px solid var(--rule);
}
.card__pic img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
padding: 0.5rem 0.75rem;
box-sizing: border-box;
}
.card:not(.card--pic) { padding-top: 0; overflow: hidden; }
.card:not(.card--pic) .card__title {
display: flex;
align-items: flex-end;
aspect-ratio: 2 / 1;
margin: 0 -1.1rem 0.85rem;
padding: 0.75rem 1.1rem;
box-sizing: border-box;
background: var(--ground);
border-bottom: 1px solid var(--rule);
font-size: 1.375rem;
line-height: 1.2;
}
@media (max-width: 34rem) {
.card__pic, .card:not(.card--pic) .card__title { aspect-ratio: 3 / 1; }
}
.ctx {
display: inline-block;
font-size: 0.75rem;
letter-spacing: 0.03em;
text-transform: none;
color: var(--ink-soft);
background: var(--surface-alt);
border: 1px solid var(--rule);
border-radius: 999px;
padding: 0.1rem 0.55rem;
white-space: nowrap;
}
a.ctx { text-decoration: none; }
a.ctx:hover { color: var(--cu); border-color: var(--rule-strong); }
.lead__ctx { margin: 0 0 0.6rem; }
.scope-key {
display: grid;
grid-template-columns: max-content 1fr;
gap: 0.45rem 0.9rem;
margin: 0.8rem 0 0;
align-items: baseline;
}
.scope-key dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 34rem) {
.scope-key { grid-template-columns: 1fr; gap: 0.15rem; }
.scope-key dd { margin: 0 0 0.5rem; }
}
.home-paths {
margin: 0.8rem 0 0.9rem;
padding-left: 1.1rem;
}
.home-paths li { margin: 0 0 0.4rem; line-height: 1.45; }
.home-paths li a { font-weight: 600; }
.disclose { margin-top: 1.5rem; }
.disclose > summary {
cursor: pointer;
color: var(--cu);
font-size: 0.9375rem;
padding: 0.35rem 0;
}
.disclose > summary:hover { text-decoration: underline; }
.disclose[open] > summary { margin-bottom: 0.5rem; }
.disclose--inline { margin-top: 0.5rem; }
.disclose--inline > summary { font-size: 0.8125rem; }
.disclose--inline .hint { margin-top: 0.35rem; }
.sitefoot {
border-top: 1px solid var(--rule);
margin-top: 3rem;
padding: 1.25rem;
color: var(--ink-soft);
font-size: 0.8125rem;
}
.sitefoot__inner {
max-width: var(--maxw);
margin: 0 auto;
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
}
.sitefoot__version {
margin-left: auto;
font-family: var(--mono);
font-variant-numeric: tabular-nums;
color: var(--ink-faint);
}
.sitefoot__links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.sitefoot__links a { color: var(--ink-soft); }
.sitefoot__links a:hover { color: var(--ink); }
.approx {
border-bottom: 1px dotted var(--ink-faint);
cursor: help;
}
table.results abbr[title] {
border-bottom: 1px dotted var(--ink-faint);
cursor: help;
text-decoration: none;
}
.derive__step {
font-family: var(--serif);
font-size: 1.0625rem;
line-height: 1.7;
margin: 0 0 0.6rem;
overflow-x: auto;
}
.derive__step:last-of-type { margin-bottom: 0; }
.derive .hint { margin-top: 1rem; }
.derive__step b {
font-weight: 600;
color: var(--mo);
}
.derive__step math {
font-size: 1.15em;
margin: 0.35em 0;
overflow-x: auto;
overflow-y: hidden;
}
math { math-style: normal; }
math[display="inline"] {
font-family: var(--sans);
font-size: 1em;
font-weight: inherit;
}
math[display="inline"] mi { font-family: var(--serif); }
.matrix {
margin: 0 0 0.6rem;
overflow-x: auto;
overflow-y: hidden;
}
.matrix:last-child { margin-bottom: 0; }
.matrix math { font-size: 1.15em; }
.formula {
margin: 0.6rem 0 0.9rem;
text-align: center;
overflow-x: auto;
overflow-y: hidden;
}
.formula math { font-size: 1.3em; }
.deflist {
margin: 0.35rem 0 0;
padding-left: 1.1rem;
color: var(--ink-soft);
}
.deflist li { margin-bottom: 0.3rem; }
.deflist li:last-child { margin-bottom: 0; }
.derive__step .ans { color: var(--mo); font-weight: 600; }
.derive__step .struck {
color: var(--ink-faint);
text-decoration: line-through;
text-decoration-thickness: 1px;
}
table.cif {
width: 100%;
border-collapse: collapse;
font-size: 0.9375rem;
}
table.cif td {
padding: 0.45rem 0.75rem;
border-bottom: 1px solid var(--rule);
vertical-align: top;
}
table.cif tr td:first-child {
color: var(--ink-soft);
white-space: nowrap;
padding-left: 0;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
.printonly { display: none; }
@media print {
.printonly { display: block; }
.topbar, .sitefoot, .lead__try, .lead__see, .lead__path, .lead__notation, .lead__terms,
.teach, .scope-key, .card__try { display: none; }
body { background: #fff; color: #000; }
.workbench { display: block; }
.panel { border: 0; padding: 0; }
a { color: #000; }
.print-url {
font-family: var(--mono);
font-size: 0.75rem;
color: #444;
margin: 0 0 1rem;
word-break: break-all;
}
.workbench__input { position: static; }
.workbench__input input, .workbench__input select, .workbench__input textarea {
border: 0;
border-bottom: 1px solid #999;
background: transparent;
color: #000;
padding-left: 0;
}
.workbench__input button, .presets { display: none; }
details { display: block; }
details > summary { list-style: none; font-weight: 700; }
details > *:not(summary) { display: revert !important; }
.results-wrap { overflow: visible; }
figure, tr, .panel__title, h2, h3 { break-inside: avoid; }
h2, h3 { break-after: avoid; }
}
.presets {
display: flex;
flex-wrap: wrap;
gap: 0.3rem;
margin-top: 0.5rem;
}
.preset {
font-family: var(--mono);
font-size: 0.8125rem;
font-weight: 500;
color: var(--ink-soft);
background: var(--surface-alt);
border: 1px solid var(--rule);
border-radius: 3px;
padding: 0.2rem 0.5rem;
cursor: pointer;
}
.preset:hover { color: var(--ink); border-color: var(--rule-strong); filter: none; }
.preset--on {
color: var(--cu);
background: var(--cu-soft);
border-color: var(--cu);
}
.results .is-active {
background: var(--mo-soft);
color: var(--ink);
}
table.results thead th.nocaps {
text-transform: none;
letter-spacing: 0;
font-size: 0.8125rem;
}
.tag {
font-family: var(--mono);
font-size: 0.6875rem;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--mo);
white-space: nowrap;
}
svg.iso {
display: block;
width: 100%;
height: auto;
max-width: 100%;
color: var(--cu);
margin-bottom: var(--rhythm);
}
svg.iso .iso-grid,
svg.iso .iso-axis,
svg.iso .iso-tick { color: var(--ink-faint); }
svg.iso .iso-read { opacity: 0; }
svg.iso .iso-peak:hover .iso-read { opacity: 1; }
svg.iso .iso-peak:hover line { stroke: var(--mo); }
svg.iso .iso-peak.is-hot .iso-read,
svg.iso .iso-peak.is-locked .iso-read { opacity: 1; }
svg.iso .iso-peak.is-hot line { stroke: var(--mo); }
svg.iso .iso-peak.is-locked line { stroke: var(--lock); stroke-width: 3; }
.iso-pick tbody tr.is-hot > * { background: var(--rule); }
.iso-pick tbody tr.is-locked > * { background: var(--lock-soft); }
.pick-live svg.iso .iso-peak { cursor: pointer; }
.pick-live .iso-pick tbody tr[data-el] { cursor: pointer; }
.count {
font-family: var(--mono);
font-weight: 400;
color: var(--ink-faint);
text-transform: none;
letter-spacing: 0;
}
.workbench:has(form.is-stale) .workbench__output table.results td,
.workbench:has(form.is-stale) .workbench__output svg.ewald,
.workbench:has(form.is-stale) .workbench__output .reflections { opacity: 0.55; }
@media (prefers-reduced-motion: no-preference) {
.workbench__output table.results td,
.workbench__output svg.ewald,
.workbench__output .reflections { transition: opacity 120ms ease-out; }
}
.workbench__output[data-errors]::before {
content: attr(data-errors);
display: block;
background: var(--warn-bg);
border: 1px solid var(--warn-rule);
border-left-width: 3px;
border-radius: 4px;
color: var(--warn-ink);
padding: 0.75rem 1rem;
margin-bottom: var(--rhythm);
font-size: 0.9375rem;
}
.xrd {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.xrd line { vector-effect: non-scaling-stroke; }
.xrd-axis { stroke: var(--rule-strong); stroke-width: 1; }
.xrd-tick { stroke: var(--rule-strong); stroke-width: 1; }
.xrd-num  { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.xrd-cap  { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.xrd-sticks line    { stroke: var(--mo); stroke-width: 1.5; }
.xrd-sticks line.on { stroke: var(--cu); stroke-width: 3; }
.xrd-grid { stroke: var(--rule); }
.xrd-hit { cursor: crosshair; }
.xrd-live .xrd-hit { cursor: pointer; }
.pattern__pick { display: none; }
.xrd-live .pattern__pick { display: inline; }
.xrd-livehint { display: none; }
html:has(.xrd-live) .xrd-livehint { display: inline; }
.xrd-read {
fill: var(--ink);
font-family: var(--sans);
font-size: 12px;
}
.xrd-sticks g:hover .xrd-read { opacity: 1; }
.xrd-sticks g:hover line      { stroke: var(--cu); stroke-width: 3; }
.xrd-mark { fill: var(--cu); }
.xrd-profile { stroke: var(--ink); }
.xrd-drag { fill: var(--cu); }
.xrd-live .xrd { cursor: crosshair; }
.zoom {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin: 0.5rem 0 0;
}
.zoom__btn {
font: inherit;
min-width: 2.4rem;
padding: 0.3rem 0.6rem;
color: var(--ink);
background: var(--surface);
border: 1px solid var(--rule-strong);
border-radius: 4px;
cursor: pointer;
}
.zoom__form {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.zoom__btn--wide { min-width: 0; }
.zoom__btn:hover:not(:disabled) { border-color: var(--cu); color: var(--cu); }
.zoom__btn:disabled { color: var(--ink-soft); border-color: var(--rule); cursor: default; }
.xrd-var  { font-style: italic; font-family: var(--serif); }
.wilsonplot,
.whplot {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.wilsonplot line, .wilsonplot circle,
.whplot line, .whplot circle { vector-effect: non-scaling-stroke; }
.wilsonplot__axis, .whplot__axis { stroke: var(--rule-strong); stroke-width: 1; }
.wilsonplot__tick, .whplot__tick { stroke: var(--rule-strong); stroke-width: 1; }
.wilsonplot__num,   .whplot__num   { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.wilsonplot__sub   { fill: var(--ink-soft); font-family: var(--sans); font-size: 9px; }
.wilsonplot__label, .whplot__label { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.wilsonplot__fit, .whplot__fit { stroke: var(--cu); stroke-width: 2; }
.wilsonplot__pt,  .whplot__pt  { fill: var(--mo); stroke: var(--surface); stroke-width: 1; }
.wilsonplot__hit, .whplot__hit { cursor: default; }
.wilsonplot__hit:hover + .wilsonplot__pt,
.whplot__hit:hover + .whplot__pt { fill: var(--cu); r: 6; }
.wilsonplot__hit.is-pinned + .wilsonplot__pt { fill: var(--lock); r: 7; }
.wilson-read {
margin: 0.4rem 0 0.6rem;
min-height: 2.6em;
color: var(--ink-faint);
font-size: 0.94rem;
}
.wilson-read.is-pinned {
color: var(--ink);
border-left: 3px solid var(--lock);
background: var(--lock-soft);
padding: 0.35rem 0.6rem;
}
.wilson-live .wilsonplot__hit { cursor: pointer; }
.brpattern {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.brpattern line, .brpattern polyline, .brpattern circle { vector-effect: non-scaling-stroke; }
.brpattern__mark { fill: var(--cu); stroke: var(--surface); stroke-width: 1; }
.brpattern__axis { stroke: var(--rule-strong); stroke-width: 1; }
.brpattern__tick { stroke: var(--rule-strong); stroke-width: 1; }
.brpattern__num   { fill: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.brpattern__wnum  { fill: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.brpattern__cap   { fill: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.brpattern__label { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.brpattern__peak { stroke: var(--cu); stroke-width: 1.6; }
.brpattern__inst { stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 3 2; }
.brpattern--overlay .brpattern__peak {
stroke: hsl(calc(26 + 182 * var(--t, 0)) calc(89% - 58% * var(--t, 0)) var(--ramp-l));
stroke-width: 1.4;
}
.whplot__intercept {
fill: var(--surface);
stroke: var(--lock);
stroke-width: 3;
}
.fourierplot, .fouriercoef {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.fourierplot line, .fourierplot polyline, .fouriercoef line { vector-effect: non-scaling-stroke; }
.fourierplot__axis, .fouriercoef__axis { stroke: var(--rule-strong); stroke-width: 1; }
.fourierplot__tick { stroke: var(--rule-strong); stroke-width: 1; }
.fourierplot__num,  .fouriercoef__num   { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.fourierplot__sub { fill: var(--ink-soft); font-family: var(--sans); font-size: 9px; }
.fourierplot__label, .fouriercoef__label { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.fourierplot__key { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.fourierplot__zero { stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 3 3; }
.fourierplot__rho   { stroke: var(--cu); stroke-width: 2; }
.fourierplot__strip { stroke: var(--mo); stroke-width: 1.5; stroke-dasharray: 6 4; }
.fourierplot__site  { stroke: var(--ink-soft); stroke-width: 2; }
.fouriercoef__bar   { fill: var(--cu); }
.fouriercoef__bar.is-negative { fill: var(--mo); }
.fourierplot__sitemark { stroke: var(--lock); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: 0; }
.fourierplot__sitemark.is-hot, .fourierplot__sitemark.is-locked { opacity: 1; }
.fourierplot__site.is-hot, .fourierplot__site.is-locked { stroke: var(--lock); stroke-width: 3.2; }
.fouriercoef__bar.is-hot, .fouriercoef__bar.is-locked { fill: var(--lock); }
.pickpanel { margin: 0 0 0.4rem; }
.sources__list { list-style: none; margin: 0; padding: 0; }
.sources__list li { margin: 0 0 0.9rem; max-width: 62ch; }
.sources__list li:last-child { margin-bottom: 0; }
.sources__by { color: var(--ink-soft); font-size: 0.9rem; overflow-wrap: anywhere; }
.direct {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.direct line, .direct polyline { vector-effect: non-scaling-stroke; }
.direct__axis  { stroke: var(--rule-strong); stroke-width: 1; }
.direct__num   { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.direct__label { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.direct__chance { stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 3 3; }
.direct__curve  { fill: none; stroke: var(--mo); stroke-width: 1.5; }
.direct__point  { fill: var(--cu); }
.direct__point.is-hot, .direct__point.is-locked { fill: var(--lock); }
.direct__hit { fill: transparent; stroke: transparent; }
.pick-live .direct__hit { cursor: pointer; }
.pattplot, .pattint {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.pattplot line, .pattplot polyline, .pattint line { vector-effect: non-scaling-stroke; }
.pattplot__axis, .pattint__axis { stroke: var(--rule-strong); stroke-width: 1; }
.pattplot__tick { stroke: var(--rule-strong); stroke-width: 1; }
.pattplot__num,  .pattint__num   { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.pattplot__sub { fill: var(--ink-soft); font-family: var(--sans); font-size: 9px; }
.pattplot__label, .pattint__label { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.pattplot__p    { stroke: var(--cu); stroke-width: 2; }
.pattplot__vec  { stroke: var(--ink-soft); stroke-width: 2; }
.pattplot__vec.is-harker { stroke: var(--mo); stroke-width: 4; }
.pattint__bar   { fill: var(--cu); }
.pattplot__vecmark { stroke: var(--lock); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: 0; }
.pattplot__vecmark.is-hot, .pattplot__vecmark.is-locked { opacity: 1; }
.pattplot__vec.is-hot, .pattplot__vec.is-locked { stroke: var(--lock); stroke-width: 3.2; }
.pattplot__vec.is-harker.is-hot, .pattplot__vec.is-harker.is-locked { stroke-width: 5.2; }
.pattint__bar.is-hot, .pattint__bar.is-locked { fill: var(--lock); }
.tubeplot {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.tubeplot line, .tubeplot polyline { vector-effect: non-scaling-stroke; }
.tubeplot__axis  { stroke: var(--rule-strong); stroke-width: 1; }
.tubeplot__tick  { stroke: var(--rule-strong); stroke-width: 1; }
.tubeplot__num   { fill: var(--ink-soft);  font-family: var(--sans); font-size: 11px; }
.tubeplot__label { fill: var(--ink-soft);  font-family: var(--sans); font-size: 12px; }
.tubeplot__mark  { fill: var(--ink);       font-family: var(--sans); font-size: 12px; }
.tubeplot__sub   { fill: var(--ink);       font-family: var(--sans); font-size: 9px; }
.tubeplot__c     { stroke: var(--cu); stroke-width: 2; }
.tubeplot__line  { stroke: var(--ink); stroke-width: 2.5; }
.tubeplot__lmin  { stroke: var(--mo); stroke-width: 2; stroke-dasharray: 5 3; }
.tubeplot__peak  { stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 3 3; }
.tubeplot__ref   { stroke: var(--rule); stroke-width: 1; }
.levelmap {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.levelmap line, .levelmap polygon, .levelmap circle, .levelmap rect {
vector-effect: non-scaling-stroke;
}
.levelmap__level   { stroke: var(--ink); stroke-width: 2; }
.levelmap__vac     { stroke: var(--ink-faint); stroke-width: 1.5; stroke-dasharray: 6 4; }
.levelmap__break   { stroke: var(--rule-strong); stroke-width: 1.5; }
.levelmap__jump    { stroke: var(--cu); stroke-width: 2; }
.levelmap__head    { fill: var(--cu); stroke: none; }
.levelmap__eject   { stroke: var(--ink-faint); stroke-width: 1.5; stroke-dasharray: 4 3; }
.levelmap__hole    { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.levelmap__gap     { stroke: var(--mo); stroke-width: 1.5; }
.levelmap__inset   { fill: none; stroke: var(--rule); stroke-width: 1; }
.levelmap__leader  { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 3; }
.levelmap__shell   { fill: var(--ink);      font-family: var(--sans); font-size: 13px; }
.levelmap__orb     { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.levelmap__note    { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.levelmap__jumplab { fill: var(--cu);       font-family: var(--sans); font-size: 12px; }
.levelmap__sub     { fill: inherit;         font-family: var(--sans); font-size: 9px; }
.argand {
display: block;
max-width: 100%;
height: auto;
}
.ar-step   { stroke: var(--ink-soft); }
.ar-vertex { fill: var(--ink-soft); }
.ar-total  { stroke: var(--cu); }
.ar-end    { fill: var(--cu); }
.ar-total--full { stroke: var(--ink-soft); }
.sf-step {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin: 0 0 0.75rem;
}
.sf-step__btn {
display: inline-block;
padding: 0.3rem 0.7rem;
border: 1px solid var(--rule);
border-radius: 4px;
font-size: 0.9rem;
text-decoration: none;
color: var(--ink);
background: var(--surface);
}
a.sf-step__btn:hover { border-color: var(--cu); color: var(--cu); }
.sf-step__btn.is-off { color: var(--ink-faint); background: transparent; cursor: default; }
.sf-step__read { margin: 0 0 0.5rem; }
.sf-terms tr.sf-term--off td,
.sf-terms tr.sf-term--off th { color: var(--ink-faint); }
.sf-terms tr.on td, .sf-terms tr.on th { background: var(--cu-soft); }
.ewald {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.ewald line,
.ewald circle { vector-effect: non-scaling-stroke; }
.ewald-read {
margin: 0.4rem 0 0.6rem;
min-height: 2.6em;
color: var(--ink-faint);
font-size: 0.94rem;
}
.ewald__hit { cursor: default; }
.ewald__hit:hover + .ewald__node,
.ewald__hit:hover + .ewald__origin {
fill: var(--cu);
opacity: 1;
r: 5;
}
.ewald__hit.is-pinned + .ewald__node,
.ewald__hit.is-pinned + .ewald__origin {
fill: var(--lock);
opacity: 1;
r: 6;
}
.ewald-read.is-pinned {
color: var(--ink);
border-left: 3px solid var(--lock);
background: var(--lock-soft);
padding: 0.35rem 0.6rem;
}
.ewald-live .ewald__hit { cursor: pointer; }
.ewald__sphere { stroke: var(--mo); }
.ewald__limit  { stroke: var(--ink-faint); }
.ewald__beam   { stroke: var(--cu); }
.ewald__dstar  { stroke: var(--cu); }
.ewald__arc    { stroke: var(--cu); }
.ewald__centre { fill: var(--mo); }
.ewald__origin { fill: var(--ink); }
.ewald__point  { stroke: var(--cu); fill: none; }
.ewald__node       { fill: var(--mo); }
.ewald__node--on   { fill: var(--cu); }
.ewald__node--far  { fill: var(--ink-faint); }
.ewald__label      { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.ewald-excite {
margin: 0 0 0.6rem;
min-height: 1.4em;
font-size: 0.94rem;
}
.ewald-play { margin-top: 0.35rem; }
.cif-drop.is-dragover {
outline: 2px dashed var(--cu);
outline-offset: 0.4rem;
background: var(--cu-soft);
}
.cif-drop__msg { margin: 0.35rem 0 0; }
.cif-drop__msg.is-refused { color: var(--warn-ink); }
.ewald-methods {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
gap: 0.6rem 0.9rem;
margin: 0.5rem 0 0.9rem;
}
.ewald-meth__fig { margin: 0; }
.ewald-meth__fig figcaption {
font-size: 0.9375rem;
color: var(--ink-soft);
margin-top: 0.1rem;
}
svg.ewald-meth { display: block; width: 100%; height: auto; max-width: 20rem; margin: 0 auto; }
.ewald-meth line,
.ewald-meth circle,
.ewald-meth path { vector-effect: non-scaling-stroke; }
.ewald-meth__locus  { stroke: var(--ink-faint); }
.ewald-meth__axis   { stroke: var(--ink-faint); }
.ewald-meth__ring   { stroke: var(--cu); }
.ewald-meth__region { fill: var(--cu); stroke: var(--cu); }
.braggpic {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.5rem;
}
.braggpic line,
.braggpic path,
.braggpic circle { vector-effect: non-scaling-stroke; }
.braggpic__plane { stroke: var(--ink-faint); stroke-width: 1; }
.braggpic__atom  { fill: var(--ink-faint); }
.braggpic__ray line { stroke: var(--mo); stroke-width: 2; }
.braggpic__wave { stroke: var(--mo); stroke-width: 1.25; opacity: 0.55; }
.braggpic__extra line { stroke: var(--cu); stroke-width: 4; stroke-linecap: round; }
.braggpic__front line { stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 3 3; }
.braggpic__dim line   { stroke: var(--mo); stroke-width: 1; }
.braggpic__bd line { stroke: var(--mo); stroke-width: 1.5; stroke-dasharray: 7 4; }
.braggpic__right path { stroke: var(--ink); stroke-width: 1.5; }
.braggpic__mark circle { fill: var(--mo); }
.braggpic__straight line { stroke: var(--ink-faint); stroke-width: 1; }
.braggpic__arc path   { stroke: var(--cu); stroke-width: 1.5; }
.braggpic__arc--two path { stroke: var(--mo); }
.braggpic__lbl {
fill: var(--ink-soft);
font-family: var(--sans);
font-size: 15px;
}
.braggpic__lbl--extra { fill: var(--cu); font-weight: 600; }
.braggpic__pt { fill: var(--mo); font-size: 16px; }
.braggpic__step { display: block; margin-bottom: 0.3rem; }
.braggpic__claim { margin: 0 0 0.9rem; }
.braggpic__claim:last-child { margin-bottom: 0; }
.braggpic__claim .braggpic__step:last-child { margin-bottom: 0; }
.braggpic__fig { margin: 0; }
.braggpic__fig figcaption {
color: var(--ink-soft);
font-size: 0.95rem;
line-height: 1.5;
}
.moseley {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.moseley line,
.moseley circle { vector-effect: non-scaling-stroke; }
.moseley__axis    { stroke: var(--rule-strong); }
.moseley__grid    { stroke: var(--rule); }
.moseley__tick    { stroke: var(--rule-strong); }
.moseley__fit     { stroke: var(--mo); }
.moseley__point   { fill: var(--cu); }
.moseley__mark    { stroke: var(--cu); fill: none; }
.moseley__label   { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.moseley__caption { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.c3-ax, .sgo-ax, .sge-triad { stroke-width: 2.2; }
.c3-ax[data-axis="a"], .sgo-ax[data-axis="a"], .sge-triad[data-axis="a"], .adp-key-ax[data-axis="a"] { stroke: var(--ax-a); }
.c3-ax[data-axis="b"], .sgo-ax[data-axis="b"], .sge-triad[data-axis="b"], .adp-key-ax[data-axis="b"] { stroke: var(--ax-b); }
.c3-ax[data-axis="c"], .sgo-ax[data-axis="c"], .sge-triad[data-axis="c"], .adp-key-ax[data-axis="c"] { stroke: var(--ax-c); }
.c3-axlabel, .sgo-axlabel, .sge-axlabel { font-weight: 700; font-size: 17px; }
.c3-axlabel[data-axis="a"], .sgo-axlabel[data-axis="a"], .sge-axlabel[data-axis="a"], .adp-key-label[data-axis="a"] { fill: var(--ax-a); }
.c3-axlabel[data-axis="b"], .sgo-axlabel[data-axis="b"], .sge-axlabel[data-axis="b"], .adp-key-label[data-axis="b"] { fill: var(--ax-b); }
.c3-axlabel[data-axis="c"], .sgo-axlabel[data-axis="c"], .sge-axlabel[data-axis="c"], .adp-key-label[data-axis="c"] { fill: var(--ax-c); }
.sg-wrap { touch-action: none; cursor: grab; user-select: none; }
.sg-wrap.is-dragging { cursor: grabbing; }
.sge { display: block; width: 100%; height: auto; max-width: 760px; margin: 0 auto 0.5rem; }
.sg-panel:fullscreen {
background: var(--bg);
padding: 1.2rem 1.6rem;
overflow: auto;
display: flex;
flex-direction: column;
}
.sg-panel:fullscreen .sg-wrap { flex: 1 1 auto; display: flex; justify-content: center; min-height: 0; }
.sg-panel:fullscreen .sge { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.sge-edge { stroke: var(--rule-strong); }
.sge-ax { stroke: var(--mo); }
.sge-ax--roto { stroke: var(--ink-faint); }
.sge-helix { stroke: var(--mo); }
.sge-flag { stroke: var(--mo); }
.sge-hit { cursor: help; }
.sge-plane { fill: var(--cu); stroke: var(--cu); }
.sge-plane--glide { fill: var(--gl); stroke: var(--gl); }
.sge-node { stroke: var(--ink); }
.sge-shift { stroke: var(--ink-soft); }
.sge-shift--glide { stroke: var(--gl); }
.sge-ax.is-locked, .sge-helix.is-locked, .sge-flag.is-locked,
.sge-node.is-locked, .sge-shift.is-locked { stroke: var(--lock); stroke-width: 3.2; }
.sge-plane.is-locked { fill: var(--lock); stroke: var(--lock); stroke-width: 2.4; }
.sge-hit.is-locked { stroke: transparent; }
.sge-axlabel { fill: var(--ink-soft); font-family: var(--serif); font-size: 15px; }
.sg-controls {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 0.75rem;
margin: 0 0 0.7rem;
font-size: 0.9rem;
color: var(--ink-soft);
}
.sg-toggle { display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; }
.sg-filter { display: flex; flex-direction: column; gap: 0.15rem; }
.sg-kinds { list-style: none; margin: 0; padding: 0 0 0 1.35rem; }
.sg-kinds b { font-variant-numeric: tabular-nums; margin-right: 0.15rem; }
.sg-kind { min-width: 0; }
.sg-filter:has(> .sg-toggle input:not(:checked)) .sg-kinds { opacity: 0.4; }
.sg-key { display: inline-block; width: 1.1em; height: 0.75em; border-radius: 2px; }
.sg-key--ax     { background: var(--mo); height: 0.2em; }
.sg-key--screw  { background: repeating-linear-gradient(90deg, var(--mo) 0 4px, transparent 4px 7px);
height: 0.2em; }
.sg-key--plane,
.sg-key--mirror { background: var(--cu-soft); border: 1px solid var(--cu); }
.sg-key--glide  { background: var(--gl-soft); border: 1px dashed var(--gl); }
.sg-key--node   { border: 1.5px solid var(--ink); border-radius: 50%; width: 0.75em; }
.sg-hint { display: none; margin-left: auto; }
.sg-live + .sg-controls .sg-hint,
.sg-wrap.sg-live ~ .sg-controls .sg-hint { display: inline; }
.sg-style { display: none; align-items: center; gap: 0.4rem; margin: 0 0 0.7rem;
font-size: 0.9rem; color: var(--ink-soft); }
.sg-live ~ .sg-style { display: flex; }
.sg-full { margin-left: auto; }
.sg-style select { font: inherit; font-size: 0.9rem; padding: 0.15rem 0.3rem;
color: var(--ink); background: var(--surface);
border: 1px solid var(--rule); border-radius: var(--radius); }
.sg-readout { display: none; margin: 0 0 1rem; min-height: 1.4em; font-size: 0.92rem;
color: var(--ink-soft); }
.sg-live ~ .sg-readout { display: block; }
.sg-wrap.has-lock ~ .sg-readout {
color: var(--ink);
border-left: 3px solid var(--lock);
background: var(--lock-soft);
padding: 0.35rem 0.6rem;
}
.sg-wrap.has-lock { cursor: pointer; }
.st-pair {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem 1.5rem;
margin: 0 0 0.9rem;
}
.st { display: block; width: 100%; height: auto; max-width: 300px; }
.st circle, .st path, .st line, .st polygon { vector-effect: non-scaling-stroke; }
.st-rim { stroke: var(--ink-faint); }
.st-plane { stroke: var(--cu); }
.st-axline { stroke: var(--mo); }
.st-ax { color: var(--mo); }
.st-glyphbg { fill: var(--surface); }
.st-pole--up { fill: var(--ink); }
.st-pole--down { stroke: var(--ink); }
.st-comma { fill: var(--ink); }
.st-inv { stroke: var(--ink); }
.st-hit { cursor: help; }
.st-axlabel { fill: var(--ink-soft); font-family: var(--serif); font-size: 14px; }
.st .is-hot { color: var(--lock); }
.st-pole--up.is-hot, .st-comma.is-hot, .st-inv.is-hot { fill: var(--lock); }
.st-pole--down.is-hot, .st-plane.is-hot, .st-axline.is-hot { stroke: var(--lock); }
.st-pole--down.is-hot { stroke-width: 2.2; }
.st .is-locked { color: var(--lock); }
.st-pole--up.is-locked, .st-comma.is-locked, .st-inv.is-locked { fill: var(--lock); }
.st-pole--down.is-locked, .st-plane.is-locked, .st-axline.is-locked {
stroke: var(--lock); stroke-width: 3.2;
}
.st-hit.is-hot, .st-hit.is-locked { stroke: transparent; fill: transparent; }
.st-read { margin: 0.2rem 0 1rem; min-height: 1.4em; font-size: 0.92rem; color: var(--ink-soft); }
.st-hint { display: none; }
.pick-live .st-hint { display: inline; }
.st-panel.has-lock .st-read {
color: var(--ink);
border-left: 3px solid var(--lock);
background: var(--lock-soft);
padding: 0.35rem 0.6rem;
}
.pick-live .st-hit { cursor: pointer; }
.sg-views { display: none; align-items: center; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.8rem; }
.sg-live ~ .sg-views { display: flex; }
.c3-live .sg-views--inline { display: inline-flex; }
.sg-views--inline { margin: 0; flex-basis: 100%; }
.sg-views__label { font-size: 0.9rem; color: var(--ink-soft); margin-right: 0.2rem; }
.sg-view {
font: inherit;
font-size: 0.9rem;
min-width: 2.4rem;
padding: 0.15rem 0.45rem;
color: var(--ink-soft);
background: var(--surface);
border: 1px solid var(--rule);
border-radius: var(--radius);
cursor: pointer;
}
.sg-view i { font-family: var(--serif); font-style: italic; }
.sg-view:hover { color: var(--ink); border-color: var(--rule-strong); }
.sg-view[data-sgdir="a"] i, .sg-view[data-sgdir="-a"] i { color: var(--ax-a); }
.sg-view[data-sgdir="b"] i, .sg-view[data-sgdir="-b"] i { color: var(--ax-b); }
.sg-view[data-sgdir="c"] i, .sg-view[data-sgdir="-c"] i { color: var(--ax-c); }
.sge-legend {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
gap: 0.1rem 1rem;
margin: 0.4rem 0 0.6rem;
padding-left: 1.1rem;
font-size: 0.95rem;
}
.sge-legend b { font-variant-numeric: tabular-nums; }
.sgo { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto 0.5rem; }
.sgo-edge { stroke: var(--rule-strong); }
.sgo-node { fill: var(--mo); }
.sgo-node--mirror { fill: none; stroke: var(--mo); }
.sgo-hit { cursor: help; }
.sgo-node.is-locked { fill: var(--lock); stroke: var(--lock); }
.sgo-node--mirror.is-locked { fill: none; stroke: var(--lock); stroke-width: 2.6; }
.sgo-hit.is-locked { fill: transparent; stroke: transparent; }
.sgo-ax { stroke: var(--ink-faint); }
.sgo-axlabel { fill: var(--ink-soft); font-family: var(--serif); font-size: 15px; }
.sgo-coords {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
gap: 0.15rem 1rem;
margin: 0.4rem 0 0;
padding-left: 2.5rem;
}
.sgo-coords li { font-size: 0.95rem; }
.sgo-stab { margin: 0.4rem 0 0.6rem; padding-left: 1.2rem; list-style: none; }
.sgo-stab li { font-size: 0.95rem; }
.sgo-prefix { margin: 0.6rem 0 0.2rem; }
.sglayer__pair {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
gap: 0.75rem 1rem;
margin: 0.5rem 0 0.75rem;
}
.sglayer__fig { margin: 0; }
.sglayer__fig figcaption { font-size: 0.9375rem; color: var(--ink-soft); }
.sglayer { display: block; width: 100%; height: auto; max-width: 20rem; margin: 0 auto 0.35rem; }
.sglayer line, .sglayer circle { vector-effect: non-scaling-stroke; }
.sglayer__axis { stroke: var(--ink-faint); stroke-width: 1; }
.sglayer__label { fill: var(--ink-soft); font-family: var(--sans); font-size: 13px; }
.sglayer__allowed { fill: var(--ink); }
.sglayer__absent { fill: none; stroke: var(--cu); stroke-width: 1.4; }
.sglayer__nolattice { fill: var(--ink-faint); opacity: 0.55; }
.sglayer__origin line { stroke: var(--mo); stroke-width: 1.6; }
.sglayer__key { font-size: 0.9375rem; color: var(--ink-soft); display: flex; flex-wrap: wrap;
align-items: center; gap: 0.3rem 0.35rem; }
.sglayer__key > span { width: 0.7rem; height: 0.7rem; border-radius: 50%; flex: none;
margin-left: 0.6rem; }
.sglayer__key > span:first-child { margin-left: 0; }
.sglayer__key-on  { background: var(--ink); }
.sglayer__key-off { border: 1.5px solid var(--cu); }
.sglayer__key-no  { background: var(--ink-faint); transform: scale(0.45); }
.sglayer__key-org { background: var(--mo); border-radius: 0; transform: scale(0.55); }
.sglayer__zones { margin: 0 0 0.5rem; }
.ops { margin: 0.4rem 0 0.6rem; padding-left: 1.2rem; list-style: none;
columns: 12rem auto; column-gap: 1.2rem; }
.ops li { font-size: 0.95rem; break-inside: avoid; }
.adp-grid {
display: flex;
flex-wrap: wrap;
gap: 0.9rem 1.1rem;
align-items: flex-start;
margin: 0 0 0.8rem;
}
.adp-fig { margin: 0; text-align: center; flex: 0 1 auto; }
.adp-live { user-select: none; }
.adp-live .adp-fig { cursor: grab; }
.adp-live.is-dragging .adp-fig { cursor: grabbing; }
.adp-live svg.adp, .adp-live svg.adp-key { touch-action: none; }
.adp-fig figcaption {
font-size: 0.85rem;
color: var(--ink-soft);
margin-top: 0.15rem;
max-width: 220px;
}
svg.adp { display: block; width: 100%; height: auto; max-width: 220px; }
svg.adp-key { display: block; width: 100%; height: auto; max-width: 220px; }
.adp-ref { color: var(--ink-faint); }
.adp-out { color: var(--mo); }
.adp-sec { color: var(--mo); }
.adp-ax  { color: var(--ink); }
.adp-ax--imaginary { color: var(--ax-a); }
.adp-key-flat { color: var(--ink-soft); }
.adp-key-label { font-weight: 700; font-size: 17px; }
.adp-controls {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.5rem 1.2rem;
margin: 0 0 0.7rem;
font-size: 0.875rem;
}
.adp-set { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem; }
.adp-set__label { color: var(--ink-soft); }
.adp-opt {
border: 1px solid var(--rule);
border-radius: 3px;
padding: 0.05rem 0.4rem;
text-decoration: none;
color: var(--ink-soft);
white-space: nowrap;
}
.adp-opt:hover { color: var(--ink); border-color: var(--rule-strong); }
.adp-opt.is-on { color: var(--ink); border-color: var(--mo); background: var(--mo-soft); }
.dir-fig { margin: 0 0 0.8rem; text-align: center; }
.dir-fig figcaption {
font-size: 0.85rem;
color: var(--ink-soft);
margin-top: 0.15rem;
max-width: 340px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
svg.dir3 { display: block; width: 100%; height: auto; max-width: 340px; margin: 0 auto; }
.dir-edge   { color: var(--ink-faint); }
.dir-plane  { color: var(--mo); }
.dir-arrow--uvw,   .dir-head--uvw,   .dir-label--uvw   { color: var(--cu); }
.dir-arrow--normal, .dir-head--normal, .dir-label--normal { color: var(--mo); }
.dir-arc    { color: var(--ink-soft); }
.dir-label  { font-size: 13px; font-weight: 600; }
.dir-angle  { font-size: 12px; color: var(--ink-soft); }
.dir3-live { touch-action: none; cursor: grab; user-select: none; }
.dir3-live.is-dragging { cursor: grabbing; }
.c3 { display: block; width: 100%; height: auto; max-width: 440px; margin: 0 auto 0.5rem; }
.c3-wrap { touch-action: none; cursor: grab; user-select: none; }
.c3-wrap.is-dragging { cursor: grabbing; }
.c3-edge  { stroke: var(--rule-strong); }
.c3-node  { fill: var(--mo); }
.c3-node--centre { fill: var(--mo); stroke: var(--surface); stroke-width: 2; }
.c3-plane { fill: var(--cu); stroke: var(--cu); }
.c3-plane--on { fill: var(--cu); stroke: var(--cu); }
.c3-ax { stroke: var(--ink-faint); }
.c3-axlabel { fill: var(--ink-soft); font-family: var(--serif); font-size: 15px; }
.c3-controls {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.6rem;
font-size: 0.875rem;
color: var(--ink-soft);
}
.c3-axis { display: inline-flex; align-items: center; gap: 0.3rem; }
.c3-axis i { font-family: var(--serif); font-size: 1rem; color: var(--ink); }
.c3-n { font-family: var(--mono); min-width: 1ch; text-align: center; color: var(--ink); }
.c3-step {
font-family: var(--mono);
font-size: 0.875rem;
line-height: 1;
color: var(--ink-soft);
background: var(--surface-alt);
border: 1px solid var(--rule);
border-radius: 3px;
padding: 0.2rem 0.45rem;
cursor: pointer;
}
.c3-step:hover:not(:disabled) { color: var(--ink); border-color: var(--rule-strong); }
.c3-step:disabled { opacity: 0.4; cursor: default; }
.c3-hint { display: none; margin-left: auto; }
.c3-live .c3-hint { display: inline; }
.c3-picker { display: inline-flex; flex-wrap: wrap; min-width: 0; align-items: baseline;
gap: 0.3rem; }
.c3-picker__label { color: var(--ink-soft); }
.c3-opt {
border: 1px solid var(--rule);
border-radius: 3px;
padding: 0.05rem 0.4rem;
text-decoration: none;
color: var(--ink-soft);
white-space: nowrap;
}
.c3-opt:hover { color: var(--ink); border-color: var(--rule-strong); }
.c3-opt.is-on { color: var(--ink); border-color: var(--mo); background: var(--mo-soft); }
.c3-step.is-off { opacity: 0.4; cursor: default; }
a.c3-step { text-decoration: none; }
.c3-toggle { display: none; align-items: center; gap: 0.3rem; cursor: pointer; }
.c3-live .c3-toggle { display: inline-flex; }
.c3-read { margin: 0 0 0.6rem; }
.c3-read .hkl { background: var(--cu-soft); }
.c3-atom { stroke: var(--ink); stroke-opacity: 0.4; stroke-width: 1; paint-order: stroke; }
.c3-bond { stroke: var(--ink); stroke-opacity: 0.55; }
.c3-atom[data-outside] { opacity: 0.45; }
.c3-atom.is-hot { stroke: var(--lock); stroke-width: 2.5; }
.c3-atom.is-locked { stroke: var(--lock); stroke-width: 3.5; }
.c3-panel.has-lock { cursor: pointer; }
.c3-pick { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 0.9375rem; min-height: 1.4em; }
.c3-key { display: inline-flex; align-items: baseline; gap: 0.3rem; margin-right: 0.9rem; }
.c3-key__dot { width: 0.7rem; height: 0.7rem; border-radius: 50%;
border: 1px solid var(--rule); align-self: center; flex: 0 0 auto; }
.c3-key__z { color: var(--ink-soft); font-size: 0.875rem; }
.c3-bond--stick { stroke-opacity: 1; }
.c3-label { font-size: 12px; fill: var(--ink-soft); paint-order: stroke; stroke: var(--surface);
stroke-width: 3px; }
tr.is-site > td { background: var(--lock-soft); }
a.c3-site { color: inherit; }
a.c3-site[aria-current] { font-weight: 700; }
.pattern__range { color: var(--ink-soft); font-size: 0.9375rem; margin: 0 0 0.4rem; }
.pattern__sg {
margin: 0 0 0.75rem;
color: var(--mo);
font-size: 0.92rem;
}
.pattern__sg--refused {
border-left: 3px solid var(--cu);
padding-left: 0.6rem;
background: var(--cu-soft);
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
.results tr.dist__first > * { border-top: 2px solid var(--rule-strong); }
.results tr.dist__first:first-child > * { border-top: 0; }
.results tr.bond__cut > * { border-top: 2px dashed var(--mo); }
.results tr.bond__sum > td {
font-size: 0.9em;
color: var(--ink-soft);
padding-top: 0.35rem;
padding-bottom: 0.55rem;
}
.hint--warn {
border-left: 3px solid var(--mo);
padding-left: 0.6rem;
background: var(--mo-soft);
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
.field__opt {
color: var(--ink-soft);
font-weight: normal;
font-size: 0.85em;
}
.pattern__you   { margin: 0 0 0.6rem; }
.pattern__you .hkl { background: var(--cu-soft); }
.pattern__peaks-wrap { margin: 0 0 0.75rem; }
.pattern__peaks { margin: 0; }
.pattern__peaks caption {
caption-side: top;
text-align: left;
color: var(--ink-soft);
font-size: 0.875rem;
padding-bottom: 0.35rem;
}
.pattern__peaks td:first-child,
.pattern__peaks td:nth-child(2),
.pattern__peaks td:last-child { font-variant-numeric: tabular-nums; }
.pattern__peaks tr.on td { background: var(--cu-soft); }
.pattern__peaks tr.on .hkl { color: var(--cu); font-weight: 600; }
.xrd-live .pattern__peaks tbody tr[data-hkl] { cursor: pointer; }
.xrd-live .pattern__peaks tbody tr[data-hkl]:hover td { background: var(--rule); }
.xrd-live .pattern__peaks tbody tr.on[data-hkl]:hover td { background: var(--cu-soft); }
.reading { margin: 0; }
.reading dt {
margin-top: 1.4rem;
font-weight: 600;
font-size: 1.0625rem;
}
.reading dt:first-child { margin-top: 0.6rem; }
.reading__by {
margin: 0.15rem 0 0;
color: var(--ink-faint);
font-size: 0.875rem;
}
.reading__note { margin: 0.35rem 0 0; max-width: 66ch; }
.reading dt a[rel~="external"]::after {
content: "\2197";
margin-left: 0.25em;
font-size: 0.8em;
color: var(--ink-faint);
text-decoration: none;
}
.flipmap { max-width: 100%; height: auto; display: block; }
.flipmap__frame { fill: none; stroke: var(--rule); stroke-width: 1; }
.flipmap__cell  { fill: var(--ink); stroke: none; }
.flipmap__site  { fill: none; stroke: var(--cu); stroke-width: 1.5; }
.flipmap__ax {
font-family: var(--serif);
font-style: italic;
font-size: 13px;
fill: var(--ink-soft);
}
.fliprow {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
align-items: flex-end;
margin: 0 0 0.6rem;
}
.flipstep { margin: 0; }
.flipstep figcaption {
margin-top: 0.25rem;
font-size: 0.85rem;
color: var(--ink-soft);
text-align: center;
}
.flipmap--small { width: 128px; height: 128px; }
.diffmap { max-width: 100%; height: auto; display: block; }
.diffmap__frame { fill: none; stroke: var(--rule); stroke-width: 1; }
.diffmap__cell  { fill: var(--ink); stroke: none; }
.diffmap__cell--neg { fill: var(--mo); }
.diffmap__site { fill: none; stroke: var(--cu); stroke-width: 1.5; }
.diffmap__peak { fill: var(--cu); stroke: none; }
.diffmap__ax {
font-family: var(--serif);
font-style: italic;
font-size: 13px;
fill: var(--ink-soft);
}
.pattmap { max-width: 100%; height: auto; display: block; }
.pattmap__frame { fill: none; stroke: var(--rule); stroke-width: 1; }
.pattmap__cells { fill: var(--ink); stroke: none; }
.pattmap__harker {
stroke: var(--cu);
stroke-width: 1.5;
stroke-dasharray: 5 3;
fill: none;
}
.pattmap__hv { fill: none; stroke: var(--mo); stroke-width: 2; }
.pattmap__ax {
font-family: var(--serif);
font-style: italic;
font-size: 13px;
fill: var(--ink-soft);
}
.omitrow {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
list-style: none;
margin: 0.8rem 0;
padding: 0;
}
.omitrow__pick {
display: inline-block;
padding: 0.25rem 0.55rem;
border: 1px solid var(--rule-strong);
border-radius: var(--radius);
text-decoration: none;
white-space: nowrap;
}
a.omitrow__pick:hover, a.omitrow__pick:focus { border-color: var(--cu); }
.omitrow__pick--on {
background: var(--cu-soft);
border-color: var(--cu);
color: var(--ink);
font-weight: 600;
}
.omitrow__share { color: var(--ink-soft); font-size: 0.85em; }
svg text {
-webkit-user-select: none;
user-select: none;
}
.svg-halo {
paint-order: stroke;
stroke: var(--surface);
stroke-width: 4px;
stroke-linejoin: round;
stroke-linecap: round;
}
.ixmap {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.ixmap line { vector-effect: non-scaling-stroke; }
.ixmap__axis  { stroke: var(--rule-strong); stroke-width: 1; }
.ixmap__pred  { stroke: var(--ink-faint); stroke-width: 1.4; }
.ixmap__miss  { stroke: var(--cu); stroke-width: 2; }
.ixmap__obs   { stroke: var(--mo); stroke-width: 1.6; }
.ixmap__scale { stroke: var(--rule-strong); stroke-width: 1; }
.ixmap__num   { fill: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.ixmap__label { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.pkscan {
width: 100%;
height: auto;
max-width: 760px;
display: block;
overflow: visible;
}
.pkscan line, .pkscan polyline { vector-effect: non-scaling-stroke; }
.pkscan__axis  { stroke: var(--rule-strong); stroke-width: 1; }
.pkscan__tick  { stroke: var(--rule-strong); stroke-width: 1; }
.pkscan__curve { stroke: var(--ink); stroke-width: 1; fill: none; }
.pkscan__bg    { stroke: var(--ink-faint); stroke-width: 1; fill: none; }
.pkscan__found { stroke: var(--cu); stroke-width: 1.6; }
.pkscan__true  { stroke: var(--mo); stroke-width: 1.6; }
.pkscan__num   { fill: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.pkscan__label { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.lpcurve {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.lpcurve line, .lpcurve polyline, .lpcurve circle { vector-effect: non-scaling-stroke; }
.lpcurve__axis { stroke: var(--rule-strong); stroke-width: 1; }
.lpcurve__tick { stroke: var(--rule-strong); stroke-width: 1; }
.lpcurve__grid { stroke: var(--rule); stroke-width: 1; }
.lpcurve__num    { fill: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.lpcurve__minnum { fill: var(--cu);       font-family: var(--sans); font-size: 10px; }
.lpcurve__label  { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.lpcurve__key { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.lpcurve__l   { stroke: var(--ink-faint); stroke-width: 2; }
.lpcurve__p   { stroke: var(--mo);        stroke-width: 2; }
.lpcurve__lp  { stroke: var(--cu);        stroke-width: 2; }
.lpcurve__min { stroke: var(--cu); }
.trcurve {
display: block;
width: 100%;
height: auto;
max-width: 100%;
margin: 0 0 0.75rem;
}
.trcurve line, .trcurve polyline, .trcurve circle { vector-effect: non-scaling-stroke; }
.trcurve__axis { stroke: var(--rule-strong); stroke-width: 1; }
.trcurve__grid { stroke: var(--rule); stroke-width: 1; }
.trcurve__num  { fill: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.trcurve__cap  { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.trcurve__at   { stroke: var(--cu); }
.trcurve__dot  { fill: var(--surface); }
.trcurve__key { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.trcurve__line--0 { stroke: var(--cu); }
.trcurve__line--1 { stroke: var(--mo); }
.trcurve__line--2 { stroke: var(--ax-b); }
.trcurve__line--3 { stroke: var(--gl); }
.trcurve__line--4 { stroke: var(--ax-a); }
.trcurve__line--5 { stroke: var(--ink-faint); }
.lp-key--l  { color: var(--ink-faint); }
.lp-key--p  { color: var(--mo); }
.lp-key--lp { color: var(--cu); }
.pkscan__rowlab { font-family: var(--sans); font-size: 10px; }
.pkscan__rowlab--found { fill: var(--cu); }
.pkscan__rowlab--true  { fill: var(--mo); }
.svg-hit  { cursor: crosshair; }
.svg-read {
fill: var(--ink);
font-family: var(--sans);
font-size: 12px;
}
.svg-hov:hover .svg-read { opacity: 1; }
.xtip {
position: fixed;
z-index: 60;
max-width: 34ch;
padding: 0.3rem 0.5rem;
border: 1px solid var(--rule-strong);
border-radius: 4px;
background: var(--surface);
color: var(--ink);
font-family: var(--sans);
font-size: 0.8125rem;
line-height: 1.45;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
pointer-events: none;
}
.pick-live [data-pick] .svg-hov[data-el] .svg-hit { cursor: pointer; }
.pkscan .svg-hov:hover line { stroke-width: 3.2; }
.ixmap .svg-hov:hover line { stroke-width: 3; }
.lpcurve .svg-hov:hover .lpcurve__guide { opacity: 1; }
.compare-layout { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(0, 3fr); gap: 1.5rem; }
.compare-layout > * { min-width: 0; }
.compare-chart { display: block; width: 100%; height: auto; font: 12px var(--sans); }
.compare-experiments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.compare-experiments h4 { margin-bottom: .5rem; }
.compare-summary { display: grid; grid-template-columns: minmax(0, 1fr) 10rem; gap: 1rem; align-items: center; }
.compare-model { margin: 0; }
.compare-model svg { display: block; width: 100%; height: auto; }
.compare-model figcaption { font-size: .75rem; color: var(--ink-soft); }
.lattice-layout { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(0, 3fr); gap: 1.5rem; }
.lattice-layout > * { min-width: 0; }
.lattice-experiments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.lattice-experiments h4 { margin-bottom: .5rem; }
.lattice-block-count .c3-axis { display: inline; }
.cen-setup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .5rem 1.25rem; align-items: end; margin-bottom: 1rem; }
.cen-setup .field { margin: 0; min-width: 0; }
.cen-setup select { width: 100%; }
.cen-setup input[type="submit"] { justify-self: start; }
.cen-console {
display: grid;
grid-template-columns: minmax(0, clamp(18rem, calc((100vh - 21rem) * 4 / 3), 52rem)) minmax(13rem, 1fr);
grid-template-areas: "video side" "rotate side" "status actions";
gap: .5rem 1.5rem;
align-items: start;
}
.cen-console > * { min-width: 0; }
.cen-figure { grid-area: video; }
.cen-rotate { grid-area: rotate; }
.cen-side { grid-area: side; align-self: stretch; display: flex; flex-direction: column; gap: .75rem; }
.cen-status { grid-area: status; }
.cen-actions { grid-area: actions; }
.cen-console [data-cen-js][hidden] { display: none; }
.cen-figure, .cen-headfig { margin: 0; position: relative; }
.cen-video { display: block; width: 100%; height: auto; border: 1px solid var(--rule-strong); border-radius: 4px; }
.cen-console .svg-export { position: absolute; margin: 0; padding: .2rem .5rem; font-size: .75rem; }
.cen-console .svg-export { color: var(--cu); background: var(--surface); }
.cen-figure .svg-export { left: .5rem; top: .5rem; }
.cen-headfig .svg-export { right: 0; top: 0; }
.cen-head { display: block; width: 100%; max-width: 14rem; height: auto; color: var(--ink); }
.cen-head .is-focus { opacity: .4; }
.cen-head .cen-sledge--1, .cen-head .cen-mark--1 { color: var(--cu); }
.cen-head .cen-sledge--2, .cen-head .cen-mark--2 { color: var(--mo); }
.cen-headfig figcaption { font-size: .8rem; color: var(--ink-soft); }
.cen-rotate { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
.cen-axis { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; }
.cen-axis__name { min-width: 1.1rem; font-weight: 600; color: var(--ink-soft); }
.cen-console button { padding: .3rem .55rem; font-size: .875rem; white-space: nowrap; }
.cen-screws { flex: 1; display: grid; grid-template-rows: repeat(3, auto) 1fr; gap: .45rem; }
.cen-screw { display: grid; grid-template-columns: repeat(4, 2.75rem); gap: .25rem .3rem; align-items: center; }
.cen-screw__name { grid-column: 1 / -1; font-size: .875rem; line-height: 1.2; padding-left: .4rem; border-left: 4px solid var(--rule-strong); }
.cen-screw--1 .cen-screw__name { border-left-color: var(--cu); }
.cen-screw--2 .cen-screw__name { border-left-color: var(--mo); }
.cen-screw__tag { visibility: hidden; margin-left: .35rem; font-size: .75rem; color: var(--ink-soft); }
.cen-screw.is-focus .cen-screw__tag { visibility: visible; }
.cen-screw.is-focus .cen-screw__name { color: var(--ink-soft); }
.cen-screw button { padding: .45rem 0; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.cen-screws .hint { margin: 0; align-self: end; }
.cen-status { margin: 0; padding: .5rem .75rem; border-left: 3px solid var(--cu); background: var(--surface-alt); }
.cen-actions { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; align-self: center; }
.cen-console.is-busy button:not(.svg-export) { opacity: .6; }
.cen-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.5rem; margin-top: 1rem; font-size: .8125rem; color: var(--ink-soft); }
.cen-notes p { margin: 0 0 .5rem; }
.cen-steps li { margin-bottom: .4rem; }
@media (max-width: 900px) {
.cen-setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cen-console { display: block; }
.cen-console > * + * { margin-top: .6rem; }
.cen-figure, .cen-rotate { max-width: min(100%, 36rem); }
.cen-side { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .75rem 1.5rem; }
.cen-head { max-width: 9rem; }
.cen-headfig .svg-export { position: static; margin: .3rem 0; }
.cen-screws { flex: 0 1 16rem; }
.cen-status { margin-top: .75rem; }
}
@media (max-width: 900px) and (min-height: 34rem) {
.cen-figure { position: sticky; top: var(--hdr); z-index: 2; background: var(--surface); padding-bottom: .4rem; }
}
.col-console {
--col-pic: clamp(15rem, calc(100vh - 28rem), 32rem);
display: grid;
grid-template-columns: minmax(0, calc(2 * var(--col-pic) + 1rem)) minmax(18rem, 1fr);
grid-template-areas: "pics status" "pics settings";
grid-template-rows: auto 1fr;
gap: .55rem 1.25rem;
align-items: start;
}
.col-cell {
display: grid;
grid-template-columns: minmax(0, clamp(18rem, calc(100vh - 17rem), 36rem)) minmax(17rem, 1fr);
gap: .5rem 1.25rem;
align-items: start;
}
.col-console > *, .col-cell > * { min-width: 0; }
.col-console [data-col-js][hidden], .col-cell[data-col-js][hidden], .col-setup [hidden] { display: none; }
.col-pics { grid-area: pics; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "now now" "frame scene" "tools tools"; gap: .5rem 1rem; align-items: start; }
.col-pics > * { min-width: 0; }
.col-now { grid-area: now; }
.col-status { grid-area: status; }
.col-settings { grid-area: settings; display: flex; flex-direction: column; gap: .5rem; }
.col-figure { grid-area: frame; }
.col-topfig { grid-area: scene; }
.col-tools { grid-area: tools; display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center; }
.col-console button, .col-cell button { padding: .3rem .6rem; font-size: .875rem; white-space: nowrap; }
.col-tools button[data-step] { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.col-run { display: inline-flex; flex-wrap: wrap; gap: .3rem; align-items: center; font-size: .875rem; }
.col-run input { width: 3.2rem; padding: .25rem .35rem; }
.col-predict { display: inline-flex; gap: .3rem; align-items: center; font-size: .875rem; }
.col-console.is-running .col-tools button:not(#col-stop) { opacity: .6; }
.col-now { margin: 0; padding: .35rem .7rem; border-left: 3px solid var(--mo); background: var(--surface-alt); font-size: .85rem; }
.col-setup { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .35rem .75rem; align-items: end; margin: 0; }
.col-setup .field { margin: 0; min-width: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.col-setup .field[hidden] { display: none; }
.col-setup .field:first-child { grid-column: span 2; }
.col-setup label { font-size: .8rem; line-height: 1.2; align-self: end; }
.col-setup select, .col-setup input[type="text"] { width: 100%; height: 2.25rem; }
.col-setup input[type="submit"] { justify-self: start; }
.col-errors { margin: 0; }
.col-console.is-invalid .col-figure, .col-console.is-invalid .col-status { opacity: .6; }
.col-figure, .col-topfig, .col-recipfig, .col-chartfig, .col-livefig, .col-insetfig, .col-densfig { margin: 0; position: relative;
display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; align-items: start; }
:is(.col-figure, .col-topfig, .col-recipfig, .col-chartfig, .col-livefig, .col-insetfig, .col-densfig) > * { grid-column: 1 / -1; min-width: 0; }
:is(.col-figure, .col-topfig, .col-recipfig, .col-chartfig, .col-livefig, .col-insetfig, .col-densfig) > .svg-export { grid-column: 2; grid-row: 2; margin: .25rem 0 0;
padding: .2rem .5rem; font-size: .75rem; color: var(--cu); background: var(--surface); }
:is(.col-figure, .col-topfig, .col-recipfig, .col-chartfig, .col-livefig, .col-insetfig, .col-densfig) > .svg-export + figcaption { grid-column: 1; grid-row: 2; }
.col-scenefig > .col-views { grid-row: 2; }
.col-scenefig > .svg-export { grid-row: 3; }
.col-scenefig > figcaption { grid-row: 3; grid-column: 1; }
.col-scenefig > .col-insetfig { grid-row: 4; }
.col-frame { display: block; width: 100%; height: auto; color: var(--ink-soft); }
.col-top { display: block; width: 100%; height: auto; color: var(--ink); }
.col-figure figcaption, .col-topfig figcaption, .col-recipfig figcaption { font-size: .8rem; color: var(--ink-soft); }
.col-status { padding: .45rem .7rem; border-left: 3px solid var(--cu); background: var(--surface-alt); font-size: .85rem; }
.col-status p, .col-numbers { margin: 0 0 .4rem; }
.col-numbers { padding-left: 1.1rem; }
.col-advice { margin-bottom: 0; }
.col-steps { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 0; }
.col-steps[hidden] { display: none; }
.col-frame .svg-read { fill: currentColor; }
.col-cell { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--hdr) + .5rem); }
.col-recip { display: block; width: 100%; height: auto; color: var(--ink); background: var(--surface-alt); border-radius: 4px; touch-action: none; cursor: grab; }
.col-recip:focus-visible { outline: 2px solid var(--cu); outline-offset: 2px; }
.col-views { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 0; }
.col-cellside { display: flex; flex-direction: column; gap: .5rem; }
.col-cellside p { margin: 0; }
.col-cellhead { margin: 0; font-size: 1.05rem; }
.col-runlist { margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.col-runlist li { display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; padding: .15rem 0; }
.col-runtotal { font-size: .9rem; color: var(--ink-soft); }
.col-swatch { display: inline-block; width: .75rem; height: .75rem; border-radius: 50%; background: currentColor; }
.col-cellactions { display: flex; flex-wrap: wrap; gap: .4rem; }
.col-result, .col-verdict { font-size: .9rem; }
.col-result > p + p, .col-verdict > p + p { margin-top: .4rem; }
.col-cellvals { font-variant-numeric: tabular-nums; }
.col-lattice .field, .col-lauepick, .col-equiv .field { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; margin: 0; }
:is(.col-lattice .field, .col-lauepick, .col-equiv .field) > label { flex: 0 0 100%; margin: 0; }
:is(.col-lattice, .col-lauepick, .col-equiv) select { width: auto; max-width: 100%; height: 1.8125rem; padding: 0 .5rem; }
.col-equiv input[type="text"] { width: 8rem; height: 1.8125rem; padding: 0 .5rem; }
#col-nframes { height: 1.8125rem; }
.col-run--0 { color: #c2410c; fill: #c2410c; }
.col-run--1 { color: #1d6fc4; fill: #1d6fc4; }
.col-run--2 { color: #2b8a3e; fill: #2b8a3e; }
.col-run--3 { color: #9c36b5; fill: #9c36b5; }
.col-run--4 { color: #8f6a00; fill: #8f6a00; }
.col-run--5 { color: #0b7285; fill: #0b7285; }
@media (prefers-color-scheme: dark) {
.col-run--0 { color: #f08a5d; fill: #f08a5d; }
.col-run--1 { color: #6fa8dc; fill: #6fa8dc; }
.col-run--2 { color: #5fb98a; fill: #5fb98a; }
.col-run--3 { color: #c58ae0; fill: #c58ae0; }
.col-run--4 { color: #e0b54a; fill: #e0b54a; }
.col-run--5 { color: #4fb8c9; fill: #4fb8c9; }
}
.col-plan { display: grid; grid-template-columns: minmax(0, clamp(18rem, calc(100vh - 17rem), 30rem)) minmax(17rem, 1fr); gap: .5rem 1.25rem;
align-items: start; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--hdr) + .5rem); }
.col-plan > * { min-width: 0; }
.col-plan[data-col-js][hidden], .col-results[data-col-js][hidden], .col-livefig[hidden], .col-progress[hidden], .col-revealp[hidden] { display: none; }
.col-planfigs { display: flex; flex-direction: column; gap: .75rem; }
.col-plan button, .col-results button { padding: .3rem .6rem; font-size: .875rem; white-space: nowrap; }
.col-planside { display: flex; flex-direction: column; gap: .5rem; }
.col-planside p, .col-results p { margin: 0; }
.col-laue, .col-forecast, .col-counters { font-size: .9rem; }
.col-forecast > p + p, .col-summary > p + p { margin-top: .4rem; }
.col-planruns { display: flex; flex-direction: column; gap: .5rem; }
.col-runcard { margin: 0; padding: .35rem .6rem .5rem; border: 1px solid var(--rule-strong); border-left: 4px solid currentColor; border-radius: 4px; min-width: 0; }
.col-runcard legend { padding: 0 .3rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.col-runfields { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); gap: .3rem .6rem; align-items: end; }
.col-runfields .field { margin: 0; min-width: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.col-runfields .field[hidden] { display: none; }
.col-runfields label { display: block; font-size: .75rem; line-height: 1.2; color: var(--ink); align-self: end; }
.col-runfields input, .col-runfields select { width: 100%; height: 1.75rem; padding: .2rem .35rem; }
.col-runcard .col-droprun { margin-top: .35rem; }
.col-warn { padding: .35rem .6rem; border-left: 3px solid var(--warn-rule); background: var(--warn-bg); color: var(--warn-ink); }
.col-chartfig { margin: 0; position: relative; }
.col-chartfig figcaption, .col-livefig figcaption { font-size: .8rem; color: var(--ink-soft); }
.col-livefig { margin: 0; max-width: 22rem; position: relative; }
.col-chart { display: block; width: 100%; height: auto; max-width: 30rem; color: var(--ink-soft); }
.col-chart .col-bar { fill: var(--mo); }
.col-chart .svg-hov:hover .col-bar { fill: var(--cu); }
.col-chart .col-guide { stroke: var(--cu); }
.col-chart .svg-read { fill: var(--ink); }
.col-progress { padding: .45rem .7rem; border-left: 3px solid var(--cu); background: var(--surface-alt); }
.col-progress > p + p { margin-top: .4rem; }
.col-console .col-progress { grid-area: status; font-size: .85rem; }
.col-console[data-collecting] .col-status, .col-console[data-collecting] .col-settings, .col-console[data-collecting] .col-errors,
.col-console[data-collecting] .col-tools { display: none; }
.col-console { scroll-margin-top: calc(var(--hdr) + 0.5rem); }
.col-progress p { margin: 0; }
.col-playcap { color: var(--ink-soft); }
.col-speed { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; }
.col-speed input[type="range"] { width: 9rem; min-height: 1.5rem; accent-color: var(--cu); }
.col-speed output { flex-basis: 100%; }
.col-progress .col-cellactions { display: flex; flex-wrap: wrap; gap: .4rem; }
.col-console.is-reduced #col-speedp, .col-console.is-reduced #col-pause, .col-console:not(.is-reduced) #col-nextrun { display: none; }
.col-pt--meas { fill: var(--mo); }
.col-pt--equiv { fill: #737c8b; }
@media (prefers-color-scheme: dark) { .col-pt--equiv { fill: var(--ink-faint); } }
.col-pt--miss { fill: var(--cu); }
.col-key { white-space: nowrap; }
.col-key::before { content: ""; display: inline-block; width: .6rem; height: .6rem; margin-right: .25rem; border-radius: 50%; vertical-align: baseline; }
.col-key--meas::before { background: var(--mo); }
.col-key--equiv::before { background: #737c8b; }
@media (prefers-color-scheme: dark) { .col-key--equiv::before { background: var(--ink-faint); } }
.col-key--miss::before { background: var(--cu); }
.col-results { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--hdr) + .5rem); }
.col-results > * + * { margin-top: .6rem; }
.col-summary { font-size: .9rem; }
.col-resgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .75rem 1.25rem; align-items: start; }
table.col-shelltab thead th { text-transform: none; letter-spacing: 0; font-size: .8rem; }
table.col-shelltab th, table.col-shelltab td { padding: .3rem .45rem; font-size: .85rem; }
table.col-shelltab tr.col-total th, table.col-shelltab tr.col-total td { font-weight: 600; border-top: 1px solid var(--rule-strong); }
.col-hkl > * + * { margin-top: .4rem; }
.col-hklhead { margin: 0; font-size: .95rem; }
.col-lauepart > * + *, .col-equiv > * + * { margin-top: .45rem; }
.col-eqhead { margin: 0; font-size: .9rem; }
.col-eqpick { font-weight: 400; }
.col-eqlist { margin: .2rem 0 0; padding-left: 1.1rem; font-size: .9rem; }
.col-eqlist li + li { margin-top: .2rem; }
.col-eqout { font-size: .9rem; }
.col-eqout > * + * { margin-top: .35rem; }
.col-mergesum { font-size: .9rem; }
.col-mergesum > * + * { margin-top: .4rem; }
.col-merged > * + * { margin-top: .6rem; }
.col-score { font-size: 1.1rem; }
.col-scoreparts { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .9rem; }
.col-scoreparts li + li { margin-top: .25rem; }
.col-reveal { padding: .5rem .8rem; border-left: 3px solid var(--mo); background: var(--mo-soft); font-size: .9rem; }
.col-reveal > p + p { margin-top: .4rem; }
.col-planerrors { margin-top: 1rem; }
.col-leaves { display: block; margin-top: .2rem; font-size: .85rem; color: var(--ink-soft); }
.col-notes { columns: 24rem; column-gap: 1.5rem; margin-top: 1rem; font-size: .8125rem; color: var(--ink-soft); }
.col-notes p { margin: 0 0 .5rem; }
table.col-lauetable, table.col-eqtab, table.col-fctab { width: auto; }
.col-results p, .col-results li, .col-verdict, .col-result, .col-planside > p, .col-forecast > p, .col-lock p { max-width: 68ch; }
.col-howto li { margin-bottom: .4rem; }
@media (max-width: 900px) {
.col-console, .col-cell, .col-plan, .col-pics { display: block; }
.col-console > * + *, .col-cell > * + *, .col-plan > * + *, .col-pics > * + * { margin-top: .6rem; }
.col-topfig { max-width: min(100%, 36rem); }
.col-resgrid { grid-template-columns: minmax(0, 1fr); }
.col-figure, .col-recipfig { max-width: min(100%, 36rem); }
}
@media (max-width: 520px) {
.col-setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
table.col-shelltab th, table.col-shelltab td { padding: .25rem .1rem; font-size: .7rem; }
table.col-shelltab thead th { font-size: .68rem; }
}
@media (max-width: 760px) {
.cen-side { flex-wrap: nowrap; gap: .75rem; }
.cen-headfig { flex: 0 1 6.5rem; min-width: 3rem; display: flex; flex-direction: column; }
.cen-head { max-width: 100%; }
.cen-screw { grid-template-columns: repeat(4, minmax(2.25rem, 2.75rem)); }
.cen-headfig .svg-export { order: 2; align-self: flex-start; max-width: 100%; white-space: normal; }
.cen-screws { flex: 1 1 0; min-width: min-content; }
.cen-notes { grid-template-columns: minmax(0, 1fr); }
.cen-setup { grid-template-columns: minmax(0, 1fr); }
.lattice-layout, .lattice-experiments { grid-template-columns: minmax(0, 1fr); }
.compare-layout, .compare-experiments { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
.compare-summary { grid-template-columns: minmax(0, 1fr); }
.compare-model { max-width: 10rem; }
}
.svg-export {
display: block;
margin: .35rem 0 .8rem;
font-size: .8rem;
}
@media print {
.svg-export { display: none; }
}
.svg-export {
display: flex;
flex-wrap: wrap;
width: fit-content;
max-width: 100%;
font-weight: 500;
color: var(--on-cu);
background: var(--cu);
border: 1px solid var(--cu);
border-radius: 4px;
}
span.svg-export.svg-export { padding: 0; }
.svg-export > .svg-export-as {
display: inline-flex;
align-items: center;
min-height: 1.5rem;
font: inherit;
line-height: 1.3;
color: inherit;
background: none;
border: 0;
border-radius: 0;
padding: .2rem .55em;
white-space: nowrap;
}
.svg-export-as + .svg-export-as { border-left: 1px solid currentColor; }
.cen-console.is-busy button.svg-export-as { opacity: 1; }
@media print {
.svg-export { display: none; }
}
.tablecopy {
display: inline-block;
margin-left: 0.4rem;
padding: 0.05rem 0.35rem;
border: 1px solid var(--rule);
border-radius: 3px;
font-family: inherit;
font-size: 0.8125rem;
font-weight: 600;
line-height: 1.5;
white-space: nowrap;
color: var(--ink-soft);
background: none;
vertical-align: baseline;
}
.tablecopy:hover,
.tablecopy:focus-visible { color: var(--cu); border-color: var(--cu); filter: none; }
@media print {
.tablecopy { display: none; }
}
.col-scene { display: block; width: 100%; height: auto; color: var(--ink); background: var(--surface-alt); border-radius: 4px; touch-action: none; cursor: grab; }
.col-scene:focus-visible, .col-frame:focus-visible { outline: 2px solid var(--cu); outline-offset: 2px; }
.col-inset { cursor: default; touch-action: auto; }
.col-frame .svg-hov { cursor: pointer; }
.col-scenefig .col-views { gap: .3rem; }
@media (max-width: 420px) {
.col-scenefig .col-views:has(> #col-scene-eq:not([hidden])) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.col-console .svg-export, .col-cell .svg-export, .col-plan .svg-export, .col-results .svg-export { min-height: 1.5rem; }
.col-predict { min-height: 1.5rem; cursor: pointer; }
.col-predict input { width: 1.1rem; height: 1.1rem; margin: 0; }
.col-sel { margin: 0; font-size: .8rem; line-height: 1.35; }
.col-sel button { margin-left: .2rem; }
.col-insetfig { margin: .4rem 0 0; max-width: 13rem; position: relative; }
.col-insetfig[hidden] { display: none; }
.col-insetfig figcaption { font-size: .75rem; color: var(--ink-soft); }
.col-sc-face { fill: var(--ink-faint); stroke: var(--ink); stroke-width: .6; stroke-opacity: .6; }
.col-sc-planes polygon { fill: var(--mo); fill-opacity: .1; stroke: var(--mo); stroke-width: 1; }
.col-sc-planes.is-lit polygon { fill: var(--cu); stroke: var(--cu); fill-opacity: .14; }
.col-sc-normal { stroke: var(--mo); }
.col-sc-ray { stroke: var(--ink-soft); }
.col-sc-ray.is-lit { stroke: var(--cu); }
.col-sc-arc { stroke: var(--cu); }
.col-sc-trace { stroke: var(--ink-soft); }
.col-sc-target { stroke: #1f6fae; }
@media (prefers-color-scheme: dark) { .col-sc-target { stroke: #5fb3e6; } }
.col-sc-theta, .col-sc-hkl { fill: var(--cu); }
.col-sc-label, .col-sc-axlabel, .col-sc-theta, .col-sc-hkl { paint-order: stroke; stroke: var(--surface-alt); stroke-width: 3px; }
.col-sc-leader { stroke: var(--ink-soft); stroke-width: .8; }
.col-scenefig > figcaption { font-size: .75rem; }
.col-sc-tube { stroke: var(--ink-soft); stroke-width: .8; }
.col-sc-tubeedge { stop-color: var(--ink-soft); stop-opacity: .55; }
.col-sc-tubelit { stop-color: var(--surface); stop-opacity: .9; }
.col-sc-tubecap { fill: var(--ink-faint); fill-opacity: .2; stroke: var(--ink-soft); stroke-width: .8; }
.col-sc-beam { stroke: var(--beam); }
.col-sc-beamglow { stroke: var(--beam); stroke-opacity: .2; }
.col-sc-direct { stroke: var(--beam); }
.col-sc-beampoint { stroke: var(--beam); }
.col-sc-collimator.is-clash .col-sc-tube { stroke: var(--warn-ink); stroke-width: 2; }
.col-sc-beamstop { fill: var(--ink); }
.col-sc-housing { stroke: var(--ink-soft); }
.col-sc-block { fill: var(--ink-faint); stroke: var(--ink-soft); }
.col-sc-source.is-clash .col-sc-tube { stroke: var(--warn-ink); stroke-width: 2; }
.col-sc-housing.is-clash { stroke: var(--warn-ink); stroke-width: 2; }
.col-sc-block.is-clash { fill: var(--warn-ink); stroke: var(--warn-ink); }
.col-sc-clashpt { fill: none; stroke: var(--warn-ink); stroke-width: 2; }
.col-sc-clashlabel { fill: var(--warn-ink); paint-order: stroke; stroke: var(--surface-alt); stroke-width: 3px; font-weight: 600; }
.col-sc-clashlead { stroke: var(--warn-ink); fill: none; }
.col-sc-arm { stroke: var(--ink-soft); }
.col-sc-armzero { stroke: var(--ink-soft); }
.col-sc-swingarc { stroke: var(--cu); }
.col-sc-readout { paint-order: stroke; stroke: var(--surface-alt); stroke-width: 3px; }
.col-sc-eq { stroke: var(--mo); }
.col-sc-eq.is-off { stroke: var(--warn-ink); }
.col-sc-eq.is-none { stroke: var(--ink-soft); }
.col-sc-eqend { fill: var(--mo); stroke: none; }
.col-sc-eqend.is-off { fill: var(--warn-ink); }
.col-sc-eqaxis { stroke: var(--warn-ink); }
.col-sc-eqlabel { fill: var(--warn-ink); paint-order: stroke; stroke: var(--surface-alt); stroke-width: 3px; }
.col-sc-ewsphere { stroke: var(--mo); stroke-width: 1.2; }
.col-sc-ewvolin { stop-color: var(--surface); stop-opacity: .5; }
.col-sc-ewvolmid { stop-color: var(--mo); stop-opacity: .06; }
.col-sc-ewvolout { stop-color: var(--mo); stop-opacity: .22; }
.col-sc-ewcircle { fill: none; stroke: var(--mo); stroke-width: .8; }
.col-sc-rlp circle { fill: var(--mo); }
.col-sc-rlp.is-back circle { fill: none; stroke: var(--mo); stroke-width: .8; }
.col-sc-ewo { fill: none; stroke: var(--mo); stroke-width: 1.6; }
.col-sc-ewlabel { fill: var(--mo); paint-order: stroke; stroke: var(--surface-alt); stroke-width: 3px; }
.col-sc-glowin { stop-color: var(--cu); stop-opacity: .85; }
.col-sc-glowout { stop-color: var(--cu); stop-opacity: 0; }
.col-sc-ewglow { fill: url(#col-sc-glow); }
.col-sc-flare { fill: var(--cu); }
.col-sc-ewray { stroke: var(--cu); stroke-linecap: round; }
.col-sc-ewland { fill: url(#col-sc-glow); }
.col-sc-ewpulse { fill: var(--cu); }
.col-sc-ewburst { fill: none; stroke: var(--cu); stroke-width: 1.2; }
.col-sc-ewspot { fill: var(--cu); }
.col-sc-ewrec { fill: none; stroke: var(--cu); stroke-width: 1.2; }
.col-ewaldfig { grid-column: 2; grid-row: 3; margin: 0; }
.col-pics:has(> .col-ewaldfig) > .col-figure { grid-row: 2 / span 2; }
.col-ewald { display: block; width: 100%; height: auto; color: var(--ink); background: var(--surface-alt); border-radius: 4px; }
.col-ewald .col-ew-sphere { color: var(--mo); }
.col-ewald .col-ew-equator { color: var(--mo); }
.col-ewald .col-ew-pt { fill: var(--mo); }
.col-ewald .col-ew-origin { color: var(--mo); }
.col-ewald .col-ew-ray { stroke: var(--cu); color: var(--cu); }
.col-ewald .col-ew-flare { fill: var(--cu); stroke: var(--surface-alt); stroke-width: 1; }
.col-ewald .col-ew-label { paint-order: stroke; stroke: var(--surface-alt); stroke-width: 3px; }
.col-ewaldfig figcaption { font-size: .8rem; color: var(--ink-soft); }
.col-densfig { margin-top: .5rem; max-width: 22rem; }
.col-progress .col-densfig { max-width: 17rem; }
.col-results .col-densfig { max-width: 36rem; margin-bottom: 1rem; }
.col-progress .col-densfig > figcaption { display: none; }
.col-densfig > .svg-export { grid-row: 2; }
.col-densfig > .col-densviews { grid-row: 2; grid-column: 1; }
.col-densfig > .col-densscrubp { grid-row: 4; }
.col-densfig > .col-densnum { grid-row: 5; }
.col-densfig > figcaption { grid-row: 6; }
.col-densfig figcaption { font-size: .75rem; color: var(--ink-soft); }
.col-dens { display: block; width: 100%; height: auto; color: var(--ink); background: var(--surface-alt); border-radius: 4px; }
.col-dens-cell { fill: none; stroke: var(--ink-soft); stroke-width: 1; }
.col-dens-cell.is-flash { stroke: var(--cu); stroke-width: 2.5; }
.col-dens-c { fill: none; stroke-width: 1; }
.col-dens-c.is-pos { stroke: var(--ink); }
.col-dens-c.is-neg { stroke: var(--ink-soft); stroke-dasharray: 3 2; }
.col-dens-atom { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.col-dens-wave { fill: none; stroke: var(--cu); stroke-width: 1.4; stroke-dasharray: 6 3; }
.col-densviews { margin: .3rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.col-densviews button[aria-pressed="true"] { color: var(--on-cu); background: var(--cu); }
.col-densnum { margin: .3rem 0 0; font-size: .8rem; }
.col-densscrubp { margin: .3rem 0 0; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.col-densscrubp[hidden] { display: none; }
.col-densscrubp input { accent-color: var(--cu); }
.col-densstillfig { grid-column: 1; grid-row: 4; margin: 0; }
.col-tools .col-sel { flex: 1 1 100%; }
.col-cell[data-locked] { display: block; }
.col-cell[data-locked] .col-cellside > :not(.col-cellhead):not(.col-lock) { display: none; }
.col-cell:not([data-locked]) .col-lock { display: none; }
.col-lock { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.col-locked { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.col-locked[hidden] { display: none; }
.col-locked .col-cellhead { color: var(--ink-soft); }
.col-locked > * + * { margin-top: .3rem; }
.col-enlarge { position: absolute; left: .4rem; top: .4rem; z-index: 1; background: var(--surface); }
.col-enlarge[aria-pressed="true"] { color: var(--on-cu); background: var(--cu); }
.col-enlarge.col-showbtn { top: 2.75rem; }
.col-scene.is-lights-off { --surface: #10151d; --surface-alt: #070a0f; --ink: #dfe6f0; --ink-soft: #95a2b6; --ink-faint: #7d8797;
--mo: #8cbbe8; --cu: #ff9f55; --beam: #ffd27a; --warn-ink: #f0b3aa; color: var(--ink); background: radial-gradient(ellipse at 45% 40%, #111926 0%, #070a0f 75%); }
.col-scene.is-lights-off .col-sc-beamglow { stroke-opacity: .35; stroke-width: 7; }
.col-scene.is-lights-off .col-sc-ewvolin { stop-color: #cfe4ff; stop-opacity: .12; }
.col-scene.is-lights-off .col-sc-ewvolout { stop-color: #8cbbe8; stop-opacity: .3; }
.col-scene.is-lights-off .col-sc-tubelit { stop-color: #3a4658; }
.col-layers { position: absolute; left: .4rem; top: 5.1rem; z-index: 2; width: min(16rem, calc(100% - .8rem)); max-height: calc(100% - 7rem); overflow: auto;
padding: .5rem .6rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); font-size: .85rem; }
.col-layers[hidden] { display: none; }
.col-layers-presets { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .4rem; }
.col-layers-presets button[aria-pressed="true"] { color: var(--on-cu); background: var(--cu); }
.col-layers-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.col-layers-list label { display: flex; gap: .4rem; align-items: center; min-height: 1.5rem; cursor: pointer; }
.col-layers-list input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--cu); }
.col-layers-lights { margin-top: .3rem; padding-top: .3rem; border-top: 1px solid var(--rule); }
.col-zoombar { grid-row: 2; display: flex; flex-direction: column; gap: .3rem; }
.col-zoombar[hidden] { display: none; }
.col-zoombtns { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; }
.col-zoomnow { margin: 0; font-size: .8rem; line-height: 1.35; }
.col-scenefig:has(.col-zoombar:not([hidden])) > .col-views { display: none; }
.col-scenefig:has(.col-zoombar:not([hidden])) .col-scenecap { display: none; }
.col-layers-zoom { display: none; }
.col-scenefig:has(.col-zoombar:not([hidden])) .col-layers-zoom { display: list-item; }
.col-scenefig:has(.col-zoombar:not([hidden])) .col-layers-list > li:not(.col-layers-zoom):not(.col-layers-keep) { display: none; }
.col-zm-atom { stroke: none; }
.col-zm-hl { stop-color: #ffffff; stop-opacity: .95; }
.col-zm-mid0 { stop-color: #a9b1bc; } .col-zm-rim0 { stop-color: #5f6773; }
.col-zm-mid1 { stop-color: #6b7480; } .col-zm-rim1 { stop-color: #2f353d; }
.col-zm-halo { display: none; }
.col-zm-haloin { stop-color: #9ccaff; stop-opacity: .45; } .col-zm-haloout { stop-color: #9ccaff; stop-opacity: 0; }
.col-scene.is-lights-off .col-zm-halo { display: inline; }
.col-scene.is-lights-off .col-zm-mid0 { stop-color: #c8d6e8; } .col-scene.is-lights-off .col-zm-rim0 { stop-color: #7f93ad; }
.col-scene.is-lights-off .col-zm-mid1 { stop-color: #eef4fc; } .col-scene.is-lights-off .col-zm-rim1 { stop-color: #a3b6ce; }
.col-zm-cell { stroke: var(--mo); stroke-width: 1; stroke-dasharray: 3 2; }
.col-zm-plane { fill: var(--ink-soft); fill-opacity: .07; stroke: var(--ink-soft); stroke-opacity: .5; stroke-width: .7; }
.col-zm-plane.is-sub { fill-opacity: .025; stroke-dasharray: 3 3; stroke-opacity: .4; }
.col-zm-block { stroke: var(--ink-soft); stroke-opacity: .45; stroke-width: .8; }
.col-zm-ring { fill: none; stroke: none; }
.col-zm-ball.is-hi .col-zm-ring { stroke: var(--cu); stroke-width: 2; }
.col-zm-plane.is-on { fill: var(--cu); stroke: var(--cu); }
.col-zm-plane.is-absent { stroke-dasharray: 5 3; }
.col-zm-front { fill: var(--beam); fill-opacity: .035; stroke: var(--beam); stroke-opacity: .7; stroke-width: .6; }
.col-zm-front.is-faint { stroke-opacity: .35; fill-opacity: 0; }
.col-zm-front.is-out { stroke-dasharray: 4 2; }
.col-zm-front.is-out.is-on { stroke-dasharray: none; stroke-width: .8; fill-opacity: .05; }
.col-zm-ray { stroke: var(--ink); stroke-width: 2.2; }
.col-zm-extra { stroke: var(--cu); stroke-width: 6; stroke-linecap: round; }
.col-zm-foot { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 2; }
.col-sc-label.col-zm-pdlabel { fill: var(--cu); font-weight: 700; }
.col-zm-normal { stroke: var(--mo); stroke-width: 1.8; color: var(--mo); }
.col-zm-inset { fill: var(--surface); fill-opacity: .85; stroke: var(--mo); stroke-width: 1; }
.col-zm-insetbeam { stroke: var(--beam); stroke-width: 1.2; }
.col-zm-insetpt { fill: var(--cu); }
.col-zm-insetlab { font-size: 11px; }
.col-scene.is-lights-off .col-zm-ray { stroke: #f4f7fb; }
.col-zoompickp { margin: 0; font-size: .85rem; }
.col-zoompickp select { max-width: 100%; font-size: .85rem; }
.col-phasorfig[hidden] { display: none; }
.col-pics:has(.col-zoombar:not([hidden])) > .col-figure { display: none; }
.col-phasorfig { grid-area: frame; margin: 0; display: grid; gap: .3rem; align-content: start; padding: .4rem; border-radius: 4px; background: var(--surface-alt); }
.col-pics.is-big:has(.col-zoombar:not([hidden])) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "now now" "scene frame" "tools tools"; }
.col-phasorfig > .svg-export { justify-self: start; width: auto; }
.col-phasor { width: 100%; height: auto; }
.col-phasorfig figcaption { font-size: .8rem; line-height: 1.35; }
.col-ph-axis { stroke-opacity: .35; stroke-width: 1; }
.col-ph-bound { stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 4 3; }
.col-ph-lab, .col-ph-boundlab { opacity: .7; }
.col-ph-arrow { color: #8e97a3; }
.col-ph-arrow.is-heavy { color: #4d5662; }
.col-ph-arrow line { stroke-width: 2; stroke-linecap: round; }
.col-ph-arrow.is-hi line { stroke-width: 4.5; }
.col-ph-arrow.is-hi { color: var(--cu) !important; }
.col-ph-f { color: var(--cu); }
.col-ph-f line { stroke-width: 5; stroke-linecap: round; stroke-opacity: .55; }
.col-ph-f polygon { fill-opacity: .8; }
.col-ph-phase { stroke-width: 1.2; }
.col-ph-flab { font-weight: 700; paint-order: stroke; stroke: var(--surface-alt); stroke-width: 3px; }
.col-ph-closed { color: var(--cu); }
.col-ph-closed circle { stroke-width: 2.5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .col-ph-arrow { color: #9aa4b2; } :root:not([data-theme="light"]) .col-ph-arrow.is-heavy { color: #d5dce6; } }
:root[data-theme="dark"] .col-ph-arrow { color: #9aa4b2; }
:root[data-theme="dark"] .col-ph-arrow.is-heavy { color: #d5dce6; }
.col-phasorfig.is-lights-off { background: #070a0f; color: #dfe6f0; }
.col-phasorfig.is-lights-off .col-ph-arrow { color: #8fa3bd; }
.col-phasorfig.is-lights-off .col-ph-arrow.is-heavy { color: #e9f1fb; }
.col-phasorfig.is-lights-off .col-ph-flab { stroke: #070a0f; }
.col-phasorfig.is-lights-off a { color: #f2b84b; }
.col-pics.is-big { grid-template-areas: "now now" "scene scene" "frame ." "tools tools"; }
@media (max-width: 900px) {
.col-pics.is-big .col-topfig { max-width: none; margin-inline: -1.25rem; }
}
.col-chart .col-ghost { stroke: var(--ink-soft); }
.pow-console {
--pow-accent: var(--cu);
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(17rem, 25.5rem);
grid-template-areas: "status settings" "scheme settings" "insets settings";
grid-template-rows: auto auto 1fr;
gap: .75rem 1.5rem;
align-items: start;
}
.pow-console--transmission { --pow-accent: var(--mo); }
.pow-console > * { min-width: 0; }
.pow-status { grid-area: status; padding: .55rem .85rem; border-left: 4px solid var(--pow-accent); background: var(--surface-alt); font-size: .9rem; }
.pow-status p, .pow-numbers { margin: 0 0 .4rem; }
.pow-numbers { padding-left: 1.1rem; }
.pow-geo { display: inline-block; margin: 0 0 .45rem; padding: .1rem .55rem; border: 1px solid var(--pow-accent); border-radius: 999px;
color: var(--pow-accent); font-size: .75rem; letter-spacing: .04em; }
.pow-schemefig { grid-area: scheme; }
.pow-settings { grid-area: settings; }
.pow-budget { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; margin: .2rem 0 0; }
.pow-meter { flex: 1 1 8rem; height: .5rem; border-radius: 999px; background: var(--rule); overflow: hidden; }
.pow-meter > span { display: block; height: 100%; background: var(--pow-accent); }
.pow-meter.is-over > span { background: var(--warn-ink); }
.pow-over { flex: 0 0 100%; color: var(--warn-ink); }
.pow-setup { display: flex; flex-direction: column; gap: .6rem; margin: 0; }
.pow-step { margin: 0; padding: .45rem .7rem .6rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface);
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .65rem; align-items: end; }
.pow-step legend { padding: 0 .3rem; font-size: .85rem; font-weight: 600; }
.pow-stepno { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-right: .3rem; border-radius: 50%;
background: var(--pow-accent); color: var(--surface); font-size: .75rem; }
.pow-step .field { margin: 0; min-width: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.pow-step .field[hidden] { display: none; }
.pow-step label { font-size: .8rem; line-height: 1.2; align-self: end; }
.pow-step select, .pow-step input[type="text"] { width: 100%; height: 2.25rem; }
.pow-step .field:has(select) { grid-column: 1 / -1; }
.pow-setup input[type="submit"] { justify-self: start; align-self: flex-start; }
.pow-schemefig, .pow-chartfig { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; align-items: start; }
:is(.pow-schemefig, .pow-chartfig) > * { grid-column: 1 / -1; min-width: 0; }
:is(.pow-schemefig, .pow-chartfig) > .svg-export { grid-column: 2; grid-row: 2; margin: .25rem 0 0; padding: .2rem .5rem; font-size: .75rem;
color: var(--cu); background: var(--surface); }
:is(.pow-schemefig, .pow-chartfig) > .svg-export + figcaption { grid-column: 1; grid-row: 2; }
:is(.pow-schemefig, .pow-chartfig) figcaption { font-size: .8rem; color: var(--ink-soft); }
.pow-scheme { display: block; width: 100%; max-width: 34rem; height: auto; margin-inline: auto; }
.pow-chartfig { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.pow-chart { display: block; width: 100%; height: auto; }
.pow-grid { stroke: var(--rule); }
.pow-axis, .pow-tick { stroke: var(--rule-strong); }
.pow-chart .pow-num, .pow-chart .pow-label { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.pow-chart .pow-label { font-size: 12px; }
.pow-chart stop { stop-color: var(--cu); }
.pow-trace { stroke: var(--cu); }
.pow-bg { stroke: var(--mo); }
.pow-stick { stroke: var(--mo); }
.pow-true { fill: var(--mo); }
.pow-bracket { stroke: var(--mo); }
.pow-region { fill: var(--mo); }
.pow-regionlabel, .pow-paneltag { fill: var(--mo); font-family: var(--sans); font-size: 11px; font-style: italic; }
.pow-paneltag { font-size: 10px; }
.pow-note { fill: var(--ink); font-family: var(--sans); font-size: 11px; }
.pow-chart .svg-hov:hover .pow-guide { opacity: 1; }
.pow-chart .svg-hov:hover .pow-stick { stroke: var(--cu); stroke-width: 3; }
.pow-scheme .pow-schemelabel { fill: var(--ink-soft); font-family: var(--sans); font-size: 11px; }
.pow-gonio { stroke: var(--rule-strong); }
.pow-focus { stroke: var(--mo); }
.pow-beam, .pow-diff { fill: var(--cu); stroke: var(--cu); }
.pow-ray, .pow-strip { stroke: var(--cu); }
.pow-mono { stroke: var(--ax-c); }
.pow-sample { fill: var(--ink-soft); }
.pow-holder { fill: var(--rule-strong); }
.pow-cap { fill: var(--mo-soft); stroke: var(--mo); }
.pow-tube rect, .pow-stop { fill: var(--ink); }
.pow-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1rem 1.75rem; margin-top: 1.25rem; }
.pow-results > * { min-width: 0; }
.pow-head { margin: 0 0 .5rem; font-size: 1.05rem; }
.pow-effectlist { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.pow-effectlist li + li { margin-top: .4rem; }
.pow-qtable, .pow-consts, .pow-lines { width: 100%; border-collapse: collapse; font-size: .875rem; }
.pow-qtable th, .pow-qtable td, .pow-consts td, .pow-consts th, .pow-lines td, .pow-lines th { padding: .25rem .4rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.pow-qtable th { font-weight: normal; color: var(--ink-soft); }
.pow-qtable td { font-variant-numeric: tabular-nums; }
.pow-consts { margin-top: 1rem; }
.pow-consts caption, .pow-lines caption { text-align: left; font-weight: 600; padding-bottom: .3rem; }
.pow-consts .num, .pow-lines .num { text-align: right; font-variant-numeric: tabular-nums; }
.pow-linesbox { margin-top: 1rem; }
.pow-linesbox summary { cursor: pointer; font-weight: 600; }
.pow-leaves { display: block; color: var(--ink-soft); font-size: .85rem; }
.pow-howto li + li { margin-top: .5rem; }
@media (max-width: 900px) {
.pow-console { grid-template-columns: minmax(0, 1fr); grid-template-areas: "status" "scheme" "settings" "insets"; }
}
.pow-scenefig { grid-area: scheme; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; align-items: start; }
.pow-scenefig > * { grid-column: 1 / -1; min-width: 0; }
.pow-scenefig > .svg-export { grid-column: 2; grid-row: 3; margin: .25rem 0 0; padding: .2rem .5rem; font-size: .75rem; color: var(--cu); background: var(--surface); }
.pow-scenefig > figcaption { grid-column: 1; grid-row: 3; font-size: .8rem; color: var(--ink-soft); }
.pow-scenefig[hidden], .pow-livefig[hidden], .pow-play[hidden], .pow-livecount[hidden], .pow-stale[hidden], .pow-stopped[hidden] { display: none; }
.pow-scene { display: block; width: 100%; height: auto; border-radius: var(--radius); cursor: grab; touch-action: none;
background: radial-gradient(ellipse at 50% 55%, #252b36 0%, #12161c 70%, #0b0d11 100%); }
.pow-scene:focus-visible { outline: 2px solid var(--cu); outline-offset: 2px; }
.pow-views { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 0; }
.pow-scene .pow-gonio { stroke: #5a6270; }
.pow-scene .pow-focus { stroke: #7fa6c9; }
.pow-scene .pow-beam { fill: #e08a47; stroke: #e08a47; }
.pow-scene .pow-diff { fill: #e08a47; }
.pow-scene .pow-foot { fill: #f5b27a; stroke: #e08a47; }
.pow-scene .pow-spill { fill: #ff5a4a; }
.pow-scene .pow-arm { stroke: #8b93a1; }
.pow-scene .pow-tube3, .pow-scene .pow-stop3 { fill: #e6e9ef; }
.pow-scene .pow-sample3 { fill: #9aa4b4; stroke: #e6e9ef; }
.pow-scene .pow-holder3 { fill: #39414e; stroke: #6d7787; }
.pow-scene .pow-cap3 { fill: #9aa4b4; stroke: #7fa6c9; }
.pow-scene .pow-mono3 { stroke: #6fa8dc; }
.pow-scene .pow-ray { stroke: #e08a47; }
.pow-scene .pow-strip3 { stroke: #b4530a; transition: stroke .15s; }
.pow-scene .pow-strip3.is-lit { stroke: #ffd29a; filter: drop-shadow(0 0 6px #ffb060); }
.pow-scene .pow-conefill, .pow-scene .pow-conecut { fill: #e08a47; }
.pow-scene .pow-conerim { stroke: #e08a47; }
.pow-scene .pow-cone.is-lit .pow-conerim { stroke: #ffd29a; filter: drop-shadow(0 0 4px #ffb060); }
.pow-scene .pow-cone.is-lit .pow-conecut { fill: #ffd29a; }
.pow-scene .pow-cone { cursor: pointer; }
.pow-scene .pow-scenelabel { fill: #e6e9ef; font-family: var(--sans); font-size: 12px; }
.pow-scene .pow-scenett { font-size: 14px; }
.pow-scene .pow-scenelabel.is-warn { fill: #ff8a7a; }
.pow-scene .svg-halo { stroke: #12161c; }
.pow-insetbox { grid-area: insets; min-width: 0; }
.pow-insetbox > summary { cursor: pointer; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
@media (min-width: 901px) { .pow-insetbox > summary { display: none; } }
.pow-insets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .75rem 1rem; }
.pow-insets figure { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; align-items: start; }
.pow-insets figure > * { grid-column: 1 / -1; min-width: 0; }
.pow-insets figure > .svg-export { grid-column: 2; grid-row: 2; margin: .25rem 0 0; padding: .2rem .5rem; font-size: .75rem; color: var(--cu); background: var(--surface); }
.pow-insets figure > .svg-export + figcaption { grid-column: 1; grid-row: 2; }
.pow-insets figcaption { font-size: .8rem; color: var(--ink-soft); }
.pow-micro, .pow-rings { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.pow-microbg { fill: var(--surface-alt); }
.pow-micro .pow-xtal { fill: var(--cu); stroke: var(--cu); }
.pow-micro .pow-needle { stroke: var(--cu); }
.pow-microedge { stroke: var(--mo); }
.pow-microscale { stroke: var(--ink); }
.pow-microlabel { fill: var(--ink); font-family: var(--sans); font-size: 11px; }
#pow-microcap.is-other::after { content: " The geometry has changed: press Measure to see the new mounts."; color: var(--warn-ink); }
.pow-ring { cursor: pointer; }
.pow-ring.is-sel .pow-ringarc { stroke: #ffd29a; stroke-opacity: 1; }
.pow-ring.is-sel .pow-ringspot { fill: #ffd29a; fill-opacity: 1; }
.pow-ringfig.is-stale .pow-rings, .pow-live.is-stale { opacity: .45; }
.pow-livefig { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; align-items: start; }
.pow-livefig > * { grid-column: 1 / -1; min-width: 0; }
.pow-livefig > .svg-export { grid-column: 2; grid-row: 2; margin: .25rem 0 0; padding: .2rem .5rem; font-size: .75rem; color: var(--cu); background: var(--surface); }
.pow-livefig > .svg-export + .pow-chartbar { grid-column: 1; grid-row: 2; }
.pow-live { cursor: crosshair; touch-action: none; }
.pow-live .pow-band { fill: var(--cu); }
.pow-live .pow-head { stroke: var(--cu); }
.pow-ghostline { stroke: var(--mo); }
.pow-stick.is-lit { stroke: var(--cu); stroke-width: 3; }
.pow-stick.is-sel { stroke: var(--cu); stroke-width: 3.5; }
.pow-rubber { fill: var(--mo); stroke: var(--mo); }
.pow-chartbar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: .4rem 0 0; font-size: .875rem; }
.pow-ghostbox { display: inline-flex; gap: .35rem; align-items: center; }
.pow-sel { margin: .4rem 0 0; padding: .4rem .7rem; border-left: 3px solid var(--cu); background: var(--surface-alt); font-size: .875rem; }
.pow-sel button { margin-left: .4rem; padding: .1rem .5rem; font-size: .8rem; }
.pow-stopped, .pow-stale { margin: .4rem 0 0; padding: .4rem .7rem; border-left: 3px solid var(--warn-rule); background: var(--warn-bg); color: var(--warn-ink); font-size: .875rem; }
.pow-livecount { margin: .35rem 0 0; font-variant-numeric: tabular-nums; font-size: .85rem; }
.pow-play { display: flex; flex-direction: column; gap: .4rem; padding: .5rem .7rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.pow-play p { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .875rem; }
.pow-play button { padding: .3rem .6rem; font-size: .875rem; }
.pow-schemefig[hidden], .pow-chartfig[hidden] { display: none; }
.pow-livefig figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: .3rem; }
.pow-verdict { margin-top: 1.25rem; }
.pow-verdict > .pow-head { margin-top: 1.25rem; }
.pow-headnote { font-weight: normal; font-size: .85rem; color: var(--ink-soft); }
.pow-headnote[hidden] { display: none; }
.pow-score { --pow-grade: var(--mo); display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .5rem 1.5rem; padding: 1rem 1.2rem;
border: 1px solid var(--rule); border-left: 6px solid var(--pow-grade); border-radius: var(--radius); background: var(--surface-alt); }
.pow-score--good { --pow-grade: #2b8a3e; }
.pow-score--fair { --pow-grade: var(--lock); }
.pow-score--poor { --pow-grade: var(--warn-ink); }
@media (prefers-color-scheme: dark) { .pow-score--good { --pow-grade: #5fb98a; } }
.pow-scorebig { margin: 0; line-height: 1; color: var(--pow-grade); }
.pow-scorebig b { font-size: 3.6rem; font-variant-numeric: tabular-nums; }
.pow-scorebig span { font-size: 1.2rem; color: var(--ink-soft); }
.pow-scorefor { margin: .3rem 0 .5rem; font-size: .95rem; }
.pow-scoregrade { display: block; color: var(--ink-soft); font-size: .85rem; }
.pow-others { margin: 0; padding: 0; list-style: none; font-size: .85rem; color: var(--ink-soft); }
.pow-otherscore { display: inline-block; min-width: 2.2rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pow-reasons { margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.pow-reasons li { padding: .2rem 0; border-bottom: 1px solid var(--rule); }
.pow-reasons li.is-lost { color: var(--ink); }
.pow-reasons li.is-full { color: var(--ink-soft); }
.pow-pts { display: inline-block; min-width: 3.2rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.pow-reasons li.is-lost .pow-pts { color: var(--warn-ink); }
.pow-unscored { grid-column: 1 / -1; margin: .2rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.pow-sugg { grid-column: 1 / -1; margin: .3rem 0 0; padding: .45rem .7rem; border-left: 3px solid var(--cu); background: var(--surface); font-size: .9rem; }
.pow-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr)); gap: .75rem; }
.pow-card { padding: .6rem .75rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pow-card:hover, .pow-card:focus-visible { border-color: var(--cu); }
.pow-card.is-active { border-color: var(--cu); box-shadow: 0 0 0 2px var(--cu-soft), 0 0 0 3px var(--cu); }
.pow-cardhead { margin: 0 0 .3rem; font-size: .95rem; }
.pow-cardval { margin: .3rem 0 .2rem; font-size: .85rem; }
.pow-cardval b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.pow-cardsay { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.pow-cardmore { margin-top: .35rem; font-size: .82rem; }
.pow-cardmore summary { cursor: pointer; color: var(--cu); }
.pow-gauge { position: relative; display: block; width: 100%; max-width: 12rem; height: .45rem; margin: .2rem 0; border-radius: 999px; background: var(--rule); }
.pow-gaugenone { display: block; margin: .2rem 0; font-size: .75rem; color: var(--ink-soft); font-style: italic; }
.pow-gaugebar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.pow-gaugebar.is-ok { background: var(--mo); }
.pow-gaugebar.is-over { background: var(--cu); }
.pow-gaugetol { position: absolute; left: 60%; top: -.2rem; bottom: -.2rem; width: 2px; background: var(--ink); }
.pow-onward { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.pow-onward li + li { margin-top: .35rem; }
.pow-onward button[hidden] { display: none; }
.pow-targetbox { grid-column: 1 / -1; font-size: .8rem; color: var(--ink-soft); }
.pow-targets[hidden] { display: none; }
.pow-targets p { margin: .2rem 0; }
.pow-targets ul { margin: 0; padding-left: 1rem; }
.pow-live .pow-stick.is-mark { stroke: #c2410c; stroke-width: 3.5; }
.pow-live .pow-region.is-mark { fill-opacity: .3; }
.pow-live .pow-bg.is-mark { stroke: var(--cu); stroke-width: 2.5; stroke-dasharray: none; }
@media (max-width: 640px) { .pow-score { grid-template-columns: minmax(0, 1fr); } }
.zoneplot { display: block; width: 100%; height: auto; max-width: 100%; margin: 0 0 0.75rem; }
.zoneplot__spot { fill: var(--cu); }
.zoneplot__absent { fill: none; stroke: var(--mo); stroke-width: 1.2; }
.zoneplot__limit { stroke: var(--rule-strong); stroke-dasharray: 4 4; }
.zoneplot__axis { stroke: var(--ink-soft); }
.zoneplot__hkl { fill: var(--ink); font-family: var(--sans); font-size: 10px; }
.zoneplot__cap { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.zoneplot .svg-read { fill: var(--ink); }
.zoneplot__spot.is-hot, .zoneplot__spot.is-locked { fill: var(--lock); }
.zoneplot__absent.is-hot, .zoneplot__absent.is-locked { stroke: var(--lock); stroke-width: 2.4; }
.zoneplot .svg-hov:hover .zoneplot__spot { fill: var(--lock); }
.zoneplot .svg-hov:hover .zoneplot__absent { stroke: var(--lock); stroke-width: 2.4; }
.zonepick { margin: 0 0 0.5rem; }
.zonepick__opt, .zonepick__current { margin-right: 0.35rem; }
.anglesplot { display: block; width: 100%; height: auto; max-width: 640px; margin: 0 0 0.75rem; color: var(--ink-soft); }
.anglesplot__disc { stroke: var(--rule-strong); }
.anglesplot__blind { fill: var(--mo); stroke: var(--mo); }
.anglesplot__ok { fill: var(--cu); }
.anglesplot__no { stroke: var(--mo); }
.anglesplot__me { stroke: var(--ink); }
.anglesplot__head, .anglesplot__axis { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.anglesplot__label { fill: var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 600;
paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.anglesplot .svg-read { fill: var(--ink); font-family: var(--sans); font-size: 12px; }
.anglesplot .svg-hov:hover .anglesplot__ok { fill: var(--lock); }
.angles-matrices { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 0 0 0.75rem; }
.angles-matrix { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.angles-matrix caption { text-align: left; padding-bottom: 0.25rem; }
.angles-matrix td { padding: 0.1rem 0.5rem; text-align: right; border-left: 1px solid var(--rule); }
.angles-matrix td:first-child { border-left: 2px solid var(--ink-soft); }
.angles-matrix td:last-child { border-right: 2px solid var(--ink-soft); }
.angles-table td { font-variant-numeric: tabular-nums; }
.zoneplot__spot2 { fill: var(--ax-c); }
.zoneplot__match { fill: none; stroke: var(--ink); stroke-width: 1.1; }
.zoneplot__hkl2 { fill: var(--ax-c); }
.zoneplot__spot2.is-hot, .zoneplot__spot2.is-locked { fill: var(--lock); }
.zoneplot .svg-hov:hover .zoneplot__spot2 { fill: var(--lock); }
.twistpick__opt { white-space: nowrap; }
.saedplot { display: block; width: 100%; height: auto; max-width: 100%; margin: 0 0 0.75rem; }
.saedplot__spot { fill: var(--cu); }
.saedplot__holz { fill: var(--ax-c); }
.saedplot__absent { fill: none; stroke: var(--mo); stroke-width: 1.2; }
.saedplot__beam { fill: var(--ink); }
.saedplot__ring { fill: none; stroke: var(--ax-c); }
.saedplot__limit { stroke: var(--rule-strong); stroke-dasharray: 4 4; }
.saedplot__hkl { fill: var(--ink); font-family: var(--sans); font-size: 10px; }
.saedplot__cap { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.saedplot .svg-read { fill: var(--ink); }
.saedplot__spot.is-hot, .saedplot__spot.is-locked,
.saedplot__holz.is-hot, .saedplot__holz.is-locked { fill: var(--lock); }
.saedplot__absent.is-hot, .saedplot__absent.is-locked { stroke: var(--lock); stroke-width: 2.4; }
.saedplot .svg-hov:hover .saedplot__spot, .saedplot .svg-hov:hover .saedplot__holz { fill: var(--lock); }
.saedplot .svg-hov:hover .saedplot__absent { stroke: var(--lock); stroke-width: 2.4; }
.saed-table td:first-child { white-space: nowrap; }
