:root{--ink:#1e3033;--muted:#758386;--teal:#126c65;--teal-dark:#0c514d;--teal-soft:#e8f2ee;--purple:#8973ad;--paper:#f6f7f3;--line:#e2e6e0;--white:#fff;--mono:ui-monospace,SFMono-Regular,Consolas,monospace;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5}button,input,select{font:inherit}button,summary,select{cursor:pointer}button,a,input,select,summary{touch-action:manipulation}button{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #79b7ab;outline-offset:3px}[hidden]{display:none!important}svg{display:block}h1,h2,h3,p{margin:0}button{border:0;background:none}input,select{min-width:0}button{transition:background .16s,color .16s}input[type=number],select,input[type=search]{width:100%;border:1px solid #dfe4de;border-radius:7px;background:#fff;padding:9px 10px;color:var(--ink);font-size:14px;min-height:37px}select{padding-right:24px}input[type=number]{font-family:var(--mono)}input[type=checkbox]{accent-color:var(--teal)}.topbar{height:88px;padding:0 4%;background:rgba(255,255,255,.85);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px;font-size:21px;letter-spacing:-.5px;font-weight:650;line-height:1.3}.brand:hover{text-decoration:none}.brand small{display:block;font-size:12px;font-weight:600;letter-spacing:2.4px;margin-top:4px;color:var(--muted)}.brand-light{font-weight:400}.brand-mark{height:40px;width:40px;display:block;object-fit:contain;flex-shrink:0}.topbar nav{display:flex;align-items:center;gap:29px;font-size:14px;color:#4b5f62}.topbar nav a span{margin-left:6px}.quiet{font-size:14px;padding:8px 0}.quiet span{margin-left:5px}.privacy{font-size:13px;background:#edf4ee;border:1px solid #dce9de;border-radius:30px;padding:7px 12px;display:flex;align-items:center;gap:7px}.privacy>span{height:5px;width:5px;background:#5c9a70;border-radius:50%}main{max-width:1600px;margin:auto;padding:0 4%}.intro{padding:43px 0 33px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:12px;letter-spacing:2.3px;font-weight:700;color:var(--teal);margin-bottom:10px}.eyebrow.small{font-size:12px;letter-spacing:1.7px;margin-bottom:6px}h1{font-weight:500;font-size:39px;letter-spacing:-1.5px;line-height:1.25}h1>span{color:#6c9b75}.subtitle{color:#7a8685;font-size:14px;margin-top:12px}.workspace{display:grid;grid-template-columns:265px minmax(0,1fr);gap:25px;align-items:start}.sidebar{display:flex;flex-direction:column;gap:17px}.panel{border:1px solid var(--line);border-radius:12px;background:var(--white);box-shadow:0 3px 6px #21372902}.import-panel,.settings-panel{padding:20px 18px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:5px}.section-heading h2{font-size:14px;font-weight:600;display:flex;gap:8px;align-items:center}.step{font-family:var(--mono);font-size:12px;letter-spacing:-.3px;color:#8b9b92}.tag{font-family:var(--mono);font-size:12px;color:#919a94;background:#f3f5f1;padding:3px 6px;border-radius:4px}.dropzone{border:1px dashed #afc5b8;border-radius:8px;background:#f5f9f4;display:flex;flex-direction:column;align-items:center;text-align:center;padding:23px 4px 20px;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.dragover{background:#e9f3eb;border-color:var(--teal)}.dropzone:focus-within{outline:3px solid #79b7ab;outline-offset:3px}.dropzone svg{height:31px;width:31px;stroke:#457b65;fill:none;stroke-width:1.4;margin-bottom:14px}.dropzone strong{font-size:13px;font-weight:600}.dropzone>span{font-size:12px;color:#8b9790;margin:4px 0 13px}.dropzone u{color:#477a67;text-underline-offset:3px}.dropzone small{font-size:12px;color:#97a098}.dropzone input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.demo-button{font-size:12px;padding:11px 0 0;color:#6f857b;display:flex;gap:8px;align-items:center;justify-content:center;width:100%}.demo-button span:last-child{margin-left:auto}.demo-button span:first-child{font-size:17px}.input-status{font-size:12px;color:var(--teal);line-height:1.6;margin-top:9px;overflow-wrap:anywhere}.input-status:empty{display:none}.field-label{display:block;font-size:12px;margin:16px 0 7px}.micro{font-size:12px;color:#94a098;line-height:1.65;margin-top:7px;overflow-wrap:anywhere}.text-button{font-size:12px;color:#6d8c7e;padding:0}.text-button:hover{color:var(--teal);text-decoration:underline}#clear-files{margin-top:8px}.settings-panel .section-heading{margin-bottom:22px}.control{margin-bottom:16px}.control>label{display:flex;justify-content:space-between;gap:7px;font-size:12px;color:#52645d;margin-bottom:7px}.control>label>span{color:#9ba59d;font-size:12px}.control small{display:block;font-size:12px;color:#9aa49c;margin-top:5px}.range-value{display:flex;align-items:center;gap:12px}.range-value input[type=range]{width:100%;height:4px;accent-color:var(--teal)}.range-value input[type=number]{width:62px;text-align:center;padding:6px 2px;min-height:31px;font-size:13px}.range-inputs{display:flex;align-items:center;gap:7px}.range-inputs input{width:calc(50% - 25px);padding:8px;font-size:13px}.range-inputs span{color:#a3ada5;font-size:12px}.range-inputs button{font-size:20px;color:var(--teal);padding:0 3px}.check-control{display:flex;align-items:center;gap:7px;margin:13px 0;color:#697970;font-size:12px}.check-control input{margin:0;height:13px;width:13px}.settings-note{margin-top:17px;padding-top:13px;border-top:1px solid #edf0eb;font-size:12px}.privacy-note{display:flex;align-items:start;gap:8px;padding:0 11px;color:#85958a}.privacy-note svg{height:19px;width:19px;stroke:#8ba393;stroke-width:1.2;fill:none;flex-shrink:0}.privacy-note p{font-size:12px;line-height:1.7}.privacy-note span{font-size:12px;color:#9da79e}.results{min-width:0;display:flex;flex-direction:column;gap:18px}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:11px;padding:20px 0;background:#ffffff7a}.summary-item{padding:0 23px;border-right:1px solid var(--line);min-width:0}.summary-item:last-child{border:0}.summary-item>span{font-size:12px;font-weight:650;letter-spacing:1.25px;color:#88968e;display:block;margin-bottom:10px}.summary-item strong{font-size:23px;font-weight:500;font-family:var(--mono);letter-spacing:-1px;display:block;white-space:nowrap;color:#2a4742;line-height:1.2}.summary-item small{display:block;font-size:12px;color:#94a097;margin-top:7px;overflow-wrap:anywhere}.spectrum-panel{overflow:hidden}.chart-toolbar{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 17px;gap:10px}.chart-toolbar h2,.states-toolbar h2{font-size:17px;letter-spacing:-.3px;font-weight:550}.chart-actions{display:flex;align-items:center;gap:12px}.segmented{display:flex;border-radius:7px;padding:3px;background:#f2f5ef;border:1px solid #e6ebe2}.segmented button{font-size:12px;color:#8e9b91;padding:6px 12px;border-radius:5px;white-space:nowrap}.segmented button[aria-pressed=true]{background:white;color:var(--teal);box-shadow:0 1px 3px #1e302214}.icon-button{display:grid;place-items:center;height:30px;width:30px;border:1px solid #e4e9df;border-radius:6px;color:#87988c;flex-shrink:0}.icon-button:hover{background:#edf4ed;color:var(--teal)}.icon-button svg{height:15px;width:15px;fill:none;stroke:currentColor;stroke-width:1.3}.chart-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#9aa39b;padding:0 25px 8px}.chart-caption>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45%}.legend{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.legend i{height:2px;width:13px;display:inline-block}.uv-key{background:var(--teal)}.ecd-key{background:var(--purple);margin-left:8px}.sticks-key{color:#a2aea4;margin-left:8px}.chart-wrap{position:relative;min-height:300px;padding:0 14px}#spectrum-chart{width:100%;height:auto;font-family:var(--sans);overflow:visible}.chart-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(transparent,#ffffffd9 24%,#ffffffed 80%,transparent)}.empty-wave{font-size:80px;line-height:1.1;color:#c2d9cc;font-family:Georgia,serif}.chart-empty h3{font-size:17px;font-weight:500;letter-spacing:-.4px;margin-top:5px}.chart-empty p{font-size:12px;color:#8b9b90;margin:9px 0 20px}.primary-button{border-radius:6px;background:var(--teal);color:white;font-size:12px;padding:10px 16px}.primary-button span{margin-left:15px}.primary-button:hover{background:var(--teal-dark)}.chart-footnote{border-top:1px solid #edf0e9;padding:12px 25px;display:flex;align-items:center;justify-content:space-between;color:#929e93;font-size:12px;gap:12px}.chart-footnote>span:last-child{color:#77977f;font-family:var(--mono);background:#f0f5ee;padding:3px 6px;border-radius:4px}.chart-tooltip{position:absolute;z-index:2;pointer-events:none;border-radius:6px;background:#173e38ed;padding:9px 12px;color:#fff;font:12px/1.7 var(--mono);box-shadow:0 4px 12px #0002;white-space:nowrap}.states-toolbar{display:flex;align-items:center;justify-content:space-between;padding:22px 23px 18px;gap:10px}.states-toolbar h2{display:flex;align-items:center;gap:8px}.count{font:12px var(--mono);background:#f0f4ed;border:1px solid #e2e9df;color:#7f9583;border-radius:5px;padding:3px 6px}.table-actions{display:flex;align-items:center;gap:10px}.table-actions input{font-size:12px;width:160px;min-height:31px;background:#fcfdfb}.export-menu{position:relative;white-space:nowrap;font-size:12px}.export-menu>summary{list-style:none;border:1px solid #dde6d9;padding:7px 10px;border-radius:5px;color:#647f69}.export-menu>summary::-webkit-details-marker{display:none}.export-menu>summary span{margin-left:8px}.export-menu>div{position:absolute;z-index:5;right:0;top:36px;background:#fff;border:1px solid var(--line);box-shadow:0 6px 25px #213a241a;padding:5px;border-radius:7px;min-width:195px}.export-menu button{display:block;padding:9px;width:100%;text-align:left;font-size:12px;border-radius:4px}.export-menu button:hover{background:#edf5ed}.states-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;border-top:1px solid #edf0e9;min-height:288px}.table-scroll{overflow:auto;max-height:410px}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:12px}th{font-size:12px;font-weight:500;color:#89988b;background:#f8faf5;padding:11px 10px;position:sticky;top:0;border-bottom:1px solid #e9eee3;z-index:1}th:first-child{padding-left:21px}th button{padding:0;font:inherit;white-space:nowrap}th button span{opacity:.45;margin-left:3px}td{padding:12px 10px;border-bottom:1px solid #f0f3ed;font-family:var(--mono);font-size:12px}td:first-child{padding-left:21px;color:#496b56;font-weight:500}td:last-child{font-size:12px;color:#8a978a}tbody tr[data-state]{cursor:pointer;transition:.15s}tbody tr[data-state]:hover{background:#f3f8ef}tbody tr.selected{background:#eaf3e7}tbody tr.selected td:first-child{box-shadow:inset 3px 0 var(--teal)}.state-button{padding:0;font:inherit;color:inherit}.state-label{display:block;font:12px var(--sans);color:#8c9d8c;margin-top:3px}.empty-table{text-align:center!important;padding:60px 10px!important;font:12px var(--sans)!important;color:#9aaa99!important;white-space:normal}.state-detail{background:#fbfcf9;border-left:1px solid #e9eee3;padding:19px 17px;min-width:0;overflow-wrap:anywhere}.detail-placeholder{margin:38px 8px;color:#98a690}.detail-placeholder>span{font-size:25px;color:#b3c6a9}.detail-placeholder h3{font-size:15px;font-weight:500;margin-top:8px}.detail-placeholder p{font-size:12px;line-height:1.9;margin-top:7px;color:#9eac97}.detail-top{display:flex;justify-content:space-between;align-items:center}.detail-top h3{font-size:15px;font-weight:600}.detail-top>span{font-size:12px;color:#849e7d;background:#edf4e7;padding:3px 6px;border-radius:4px}.detail-sub{font-size:12px;color:#8da083;margin-top:5px}.detail-section{margin-top:19px}.detail-section h4{font-weight:500;font-size:12px;letter-spacing:.8px;text-transform:uppercase;color:#85967b;margin:0 0 8px}.transition-row{display:flex;justify-content:space-between;font:12px var(--mono);border-bottom:1px solid #edf2e6;padding:6px 0;gap:5px}.transition-row span:last-child{color:#8b9c81;font-size:12px;white-space:nowrap}.moment-row{display:grid;grid-template-columns:15px 1fr;gap:4px;font:12px/1.8 var(--mono);color:#6d8463}.moment-row>span:first-child{color:#9caa92}.dipole-title{display:flex;justify-content:space-between;gap:3px;align-items:center;font-size:12px;color:#7a8f6c;margin:11px 0 4px}.dipole-title select{font:12px var(--sans);padding:3px;min-height:23px;width:auto;max-width:100px}.not-printed{font-size:12px;color:#a5b19d}.more-transitions{font-size:12px;color:#74976b;margin-top:8px}.more-transitions>div{margin-top:5px}.table-footnote{padding:11px 23px;display:flex;justify-content:space-between;border-top:1px solid #e9eee3;font-size:12px;color:#a0ac99;gap:12px}.warnings{background:#faf5e9;border:1px solid #e9dec5;border-radius:7px;padding:11px 15px;color:#91763f;font-size:12px;line-height:1.8}.warnings summary{cursor:pointer}.warnings ul{padding-left:18px;margin:4px 0}.error-message{font-size:13px;color:#a74738;padding:10px 24px}.muted{color:#abb6a2}footer{border-top:1px solid var(--line);margin-top:35px;padding:23px 0 28px;display:flex;justify-content:space-between;font-size:12px;color:#8d9c88;gap:10px}footer strong{color:#5e7958;font-weight:500}footer .muted{margin:0 9px}footer a{color:#6b8863}dialog{border:1px solid #d7e1d2;border-radius:15px;background:#fff;width:min(680px,calc(100% - 32px));padding:30px;max-height:85vh;color:var(--ink);box-shadow:0 20px 80px #17381a25}dialog::backdrop{background:#21382570;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px}.dialog-heading h2{font-size:24px;font-weight:500;letter-spacing:-.8px}.method-body{font-size:14px;line-height:1.9;color:#6a7b65}.method-body h3{font-size:16px;margin:23px 0 8px;color:#2a4a27;font-weight:550}.method-body p{margin:9px 0}.method-body a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}.method-body .equation{font:13px/1.9 var(--mono);padding:13px;background:#f3f6ef;border-radius:7px;overflow-x:auto}.method-body ul{padding-left:18px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;background:#244b31;color:#fff;border-radius:8px;padding:13px 20px;box-shadow:0 6px 30px #17381b20;max-width:calc(100% - 32px);font-size:14px;text-align:center}
@media(min-width:1500px){main{padding:0 60px}.workspace{grid-template-columns:280px minmax(0,1fr);gap:28px}.chart-toolbar{padding-top:26px}.summary-grid{padding:24px 0}.summary-item strong{font-size:26px}}
@media(max-width:1200px){.workspace{grid-template-columns:235px minmax(0,1fr);gap:18px}.summary-item{padding:0 16px}.summary-item strong{font-size:20px}.states-layout{grid-template-columns:minmax(0,1fr) 215px}.chart-toolbar h2{font-size:16px}.segmented button{padding:6px 9px}.chart-actions{gap:7px}.table-actions input{width:130px}.states-toolbar{padding:19px 18px}.state-detail{padding:16px 12px}td,th{padding-left:8px;padding-right:8px}.chart-wrap{min-height:260px}}
@media(max-width:1000px){.topbar{height:76px}.topbar nav{gap:18px}.privacy{display:none}.intro{padding:30px 0 25px}h1{font-size:33px}.states-layout{grid-template-columns:minmax(0,1fr)}.state-detail{border-left:0;border-top:1px solid var(--line)}.detail-placeholder{margin:8px}.detail-placeholder>span{display:none}.detail-placeholder p{margin-top:5px}.state-detail:has(.detail-top){display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}.detail-section{margin-top:6px}.detail-section:last-child{grid-column:1/-1}.chart-toolbar{flex-wrap:wrap}.chart-actions{margin-left:auto}.summary-item{padding:0 11px}.summary-item>span{font-size:12px;letter-spacing:.7px}.summary-item strong{font-size:18px}.summary-item small{font-size:12px}.summary-grid{padding:16px 0}.subtitle{font-size:13px}.chart-caption{padding-left:20px;padding-right:20px}.table-footnote{font-size:12px}.chart-footnote{padding:10px 16px}.states-toolbar{flex-wrap:wrap}.states-toolbar .table-actions{margin-left:auto}}
@media(max-width:760px){main{padding:0 5%}.topbar{padding:0 5%;height:70px}.brand{font-size:18px;gap:10px}.brand-mark{width:32px;height:32px}.brand small{font-size:12px}.topbar nav{gap:14px;font-size:12px}.quiet{font-size:12px}.intro{padding:30px 0 25px}h1{font-size:31px;letter-spacing:-1.3px}.subtitle{max-width:320px;line-height:1.8;margin-top:8px}.eyebrow{font-size:12px}.workspace{display:flex;flex-direction:column;gap:20px}.sidebar{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.sidebar .privacy-note{display:none}.import-panel,.settings-panel{padding:17px 14px}.settings-panel{max-height:305px;overflow:auto}.section-heading h2{font-size:12px}.section-heading{margin-bottom:15px}.settings-panel .section-heading{margin-bottom:14px}.dropzone{padding:20px 3px 16px}.dropzone strong{font-size:12px}.dropzone small{font-size:12px}.control{margin-bottom:12px}.range-inputs{gap:5px}.range-inputs input{padding:7px 3px;width:calc(50% - 20px)}.results{width:100%;gap:14px}.summary-item{padding:0 13px}.summary-item strong{font-size:20px}.summary-item>span{font-size:12px}.summary-grid{padding:17px 0}.chart-toolbar{padding:20px 18px 13px}.chart-toolbar h2{font-size:16px}.chart-caption{font-size:12px;gap:7px}.legend{font-size:12px;gap:4px}.legend i{width:9px}.chart-wrap{padding:0 3px;min-height:220px}.chart-empty h3{font-size:15px}.chart-empty p{font-size:12px}.empty-wave{font-size:50px}.chart-empty .primary-button{font-size:12px;padding:8px 12px}.chart-footnote{font-size:12px}.states-toolbar{padding:18px 15px}.states-toolbar h2{font-size:16px}.table-actions input{width:130px}.states-layout{min-height:220px}.table-scroll{max-height:340px}.table-footnote{padding:10px 15px}.table-footnote>span:last-child{display:none}footer{font-size:12px;margin-top:27px;line-height:1.8}footer .muted{margin:0 4px}dialog{padding:22px}.method-body{font-size:13px}}
@media(max-width:420px){.topbar nav>a{display:none}.summary-item{padding:0 8px}.summary-item strong{font-size:18px}.summary-item>span{font-size:12px}.tag{font-size:12px}.section-heading h2{gap:5px}.step{font-size:12px}.chart-actions{margin-top:5px}.chart-caption{flex-wrap:wrap;gap:5px}.chart-caption>span:first-child{max-width:100%}.chart-wrap{min-height:210px}.table-actions input{width:120px}.chart-footnote>span:last-child{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.states-toolbar .table-actions{margin-left:0;width:100%;justify-content:space-between}.summary-item small{font-size:12px}}
/* Keep scientific values and controls readable at every breakpoint. */
.field-label,.control>label,.check-control,.demo-button,.dropzone strong{font-size:13px}.control>label>span,.control small,.micro,.settings-note,.dropzone small{font-size:12px}.section-heading h2{font-size:14px}.summary-item>span{font-size:12px;letter-spacing:.65px}.summary-item small{font-size:12px}.chart-caption,.legend,.chart-footnote,.table-footnote{font-size:12px}.chart-caption .legend{gap:5px}.segmented button,.export-menu,.table-actions input,.text-button{font-size:13px}.table-actions input{width:165px}.eyebrow.small{font-size:12px}th{font-size:12px}td{font-size:14px}td:last-child{font-size:13px}.state-label{font-size:12px}.detail-sub,.transition-row,.moment-row{font-size:13px}.transition-row span:last-child,.dipole-title,.detail-section h4,.not-printed{font-size:12px}.dipole-title select{font-size:12px}.chart-toolbar h2,.states-toolbar h2{font-size:18px}.input-status,.privacy-note p{font-size:12px}.privacy-note span{font-size:12px}
@media(max-width:760px){.summary-item>span{font-size:12px;letter-spacing:.35px}.summary-item small{font-size:12px}.summary-item strong{font-size:18px}.table-actions input{width:150px}.chart-caption,.legend,.chart-footnote,.table-footnote{font-size:12px}.control>label,.check-control,.demo-button,.dropzone strong{font-size:12px}.dropzone small,.control small,.settings-note{font-size:12px}.section-heading h2{font-size:12px}.chart-toolbar h2,.states-toolbar h2{font-size:17px}.chart-caption>span:first-child{max-width:100%}.chart-caption{flex-wrap:wrap}.states-toolbar{gap:14px}.chart-toolbar{gap:12px}.chart-actions{margin-left:0}.state-detail:has(.detail-top){grid-template-columns:1fr}.detail-section:last-child{grid-column:auto}.range-value{gap:6px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-width:520px){.sidebar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sidebar .panel{min-width:0}.summary-grid{grid-template-columns:1fr 1fr;padding:0}.summary-item{padding:14px 16px}.summary-item:nth-child(2){border-right:0}.summary-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.summary-item>span{font-size:12px;letter-spacing:.5px}.summary-item small{font-size:12px}.summary-item strong{font-size:21px}.table-actions input{width:145px}.chart-actions{margin-left:0}.chart-wrap{overflow-x:auto}.chart-empty{padding:10px;text-align:center}}
@media(max-width:360px){.sidebar{grid-template-columns:minmax(0,1fr)}.settings-panel{max-height:300px}.summary-item{padding:11px}.brand{font-size:16px}.topbar nav{gap:5px}.intro h1{font-size:29px}}
.derived-properties{padding:12px 0 5px;border-top:1px solid #e6eddf;border-bottom:1px solid #e6eddf;grid-column:1/-1}.property-convention{font-size:12px;color:#6e8b64;margin:-2px 0 8px}.property-list{margin:0}.property-row{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;align-items:start;padding:6px 0;border-bottom:1px solid #edf2e8}.property-row:last-child{border:0}.property-row dt{font-size:13px;color:#6c8063;line-height:1.7}.property-row dd{margin:0;text-align:right;min-width:0}.property-row dd>span{font:14px/1.6 var(--mono);color:#365b30;overflow-wrap:anywhere}.property-row small{display:block;font:12px/1.5 var(--sans);color:#8e9e83}.property-formula{font:12px/1.8 var(--mono);color:#6c8562;margin-top:10px}.property-notes{font-size:12px;line-height:1.7;color:#8a784f;margin-top:8px}.property-notes ul{padding-left:16px;margin:5px 0}.property-row sub{font-size:12px}
@media(max-width:1000px) and (min-width:521px){.derived-properties .property-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}}

/* Structure and moment vectors share one rotatable Cartesian scene. */
.states-main{min-width:0}
.molecule-panel{overflow:hidden;border-top:1px solid #e9eee3}
.molecule-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:23px 24px 16px}
.molecule-heading h2{font-size:18px;font-weight:550;letter-spacing:-.3px;line-height:1.5}
.molecule-heading>.tag{font-size:12px;white-space:nowrap;margin-top:6px}
.molecule-selection{font-size:13px;color:#7c8e82;margin-top:5px}
.molecule-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding:12px 24px;border-top:1px solid #edf0e9;border-bottom:1px solid #edf0e9;background:#fbfcf9}
.molecule-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#5b7165;white-space:nowrap}
.molecule-check input{width:14px;height:14px;margin:0}
.molecule-gain{display:flex;align-items:center;gap:7px;font-size:12px;color:#6e8073;white-space:nowrap}
.molecule-gain input[type=number]{width:82px;font-size:13px;min-height:30px;padding:5px 7px}
.molecule-reset{font-size:13px;color:var(--teal);border:1px solid #dce6d9;border-radius:6px;padding:6px 9px;background:white}
.molecule-reset:hover{background:#edf4ed}
.molecule-stage{width:100%;height:auto;min-height:290px;max-height:520px;display:block;background:radial-gradient(ellipse at center,#fff 20%,#f6f8f4 100%);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.molecule-stage:active{cursor:grabbing}
.molecule-stage:focus-visible{outline:3px solid #79b7ab;outline-offset:-4px}
.molecule-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:11px 24px;font-size:13px;color:#748579;border-top:1px solid #edf0e9}
.molecule-electric{color:var(--teal)}
.molecule-magnetic{color:#8b1e2d}
.molecule-vector-readout{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;padding:4px 24px 13px}
.molecule-vector-value{font:13px/1.8 var(--mono);overflow-wrap:anywhere;min-width:0}
.molecule-vector-value strong{font-weight:600}
.molecule-status{font-size:13px;line-height:1.75;color:#758572;padding:0 24px 8px;overflow-wrap:anywhere}
.molecule-export-status{font-size:13px;line-height:1.75;color:var(--teal);padding:0 24px 8px;overflow-wrap:anywhere}
.molecule-export-status[data-failed=true]{color:#a74738}
.overlap-controls{margin:0 24px 16px;padding:14px 16px;background:#f6f9f4;border:1px solid #e1e9dd;border-radius:8px}
.overlap-settings{display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap;font-size:13px;color:#536d5b}
.overlap-settings>label:first-child{display:flex;align-items:center;gap:9px}
.overlap-settings select{width:auto;min-width:100px;min-height:31px;font-size:13px;padding:5px 24px 5px 9px}
.overlap-settings>span{font-size:12px;color:#889980}
.overlap-sum-control{display:flex;align-items:center;gap:7px;font-weight:600}
.overlap-sum-control input{width:15px;height:15px;margin:0}
.overlap-note{font-size:12px;line-height:1.8;color:#7b8f70;margin-top:9px}
.overlap-note[data-partial=true]{color:#986c32}
.overlap-selection{font-size:13px;color:#59774d;margin-top:11px;border-top:1px solid #e4ebdf;padding-top:10px}
.overlap-selection>summary{cursor:pointer}
.overlap-files{display:grid;gap:10px;margin-top:12px}
.overlap-file{display:grid;grid-template-columns:17px minmax(0,1fr) minmax(150px,1fr);align-items:center;gap:9px}
.overlap-file-key{border-top:3px solid}
.overlap-file label{font-size:13px;overflow-wrap:anywhere;line-height:1.7}
.overlap-file select{font-size:12px;min-height:31px;padding:5px 24px 5px 8px}
.overlap-file select:disabled{background:#f5f7f1;color:#7a8e70;opacity:1;cursor:default}
#table-source{overflow-wrap:anywhere;max-width:430px}
.chart-tooltip{max-width:calc(100% - 16px);white-space:normal;overflow-wrap:anywhere}
.segmented{flex-wrap:wrap}
@media(max-width:760px){.overlap-controls{margin:0 17px 15px;padding:12px}.overlap-file{grid-template-columns:17px minmax(0,1fr)}.overlap-file select{grid-column:2}.overlap-settings{gap:12px 18px}.overlap-settings>span{font-size:12px}.chart-actions{flex-wrap:wrap}.segmented button{padding:6px 8px}}
.molecule-caption{font-size:12px;line-height:1.8;color:#889481;padding:0 24px 19px;overflow-wrap:anywhere}
@media(max-width:760px){.molecule-heading{padding:20px 17px 15px}.molecule-heading h2{font-size:17px}.molecule-controls{padding:12px 17px;gap:11px 15px}.molecule-stage{min-height:260px}.molecule-legend{padding:11px 17px}.molecule-vector-readout{grid-template-columns:1fr;padding:2px 17px 13px;gap:10px}.molecule-caption,.molecule-status,.molecule-export-status{padding-left:17px;padding-right:17px}}

/* Allow the larger interface text to wrap naturally in compact panels. */
.section-heading{flex-wrap:wrap;gap:8px}
.chart-toolbar,.chart-actions,.chart-footnote,.table-actions{flex-wrap:wrap}
.legend{flex-wrap:wrap;row-gap:7px;white-space:normal}
.table-actions{row-gap:10px}
.export-menu>div{top:100%;margin-top:6px}
footer{flex-wrap:wrap}
.molecule-bild-content select{font-size:13px;min-height:34px;width:auto;max-width:100%}
.range-value input[type=range]{flex:1;min-width:0;width:0}
.range-value input[type=number]{flex:0 0 70px;width:70px}
@media(max-width:760px){.section-heading{align-items:flex-start}.summary-item>span{letter-spacing:.3px}.chart-actions{width:100%}.segmented button{font-size:13px}.table-actions input{width:min(165px,50vw)}}
