
#xps-assignments-static { margin:1.2rem 0; font-size:.82rem !important; line-height:1.25 !important; }
#xps-assignments-static .xps-assignment-intro { width:min(100%, 720px); margin-bottom:.45rem; }
#xps-assignments-static .xps-search-controls { display:flex; flex-wrap:wrap; align-items:flex-start; gap:.75rem; margin-bottom:.8rem; }
#xps-assignments-static .xps-assignment-control { width:min(100%, 350px); }
#xps-assignments-static .xps-class-control { position:relative; width:min(100%, 280px); }
#xps-assignments-static label { display:block; max-width:none; font-size:.75rem !important; line-height:1.35 !important; font-weight:600; }
#xps-assignments-static .xps-assignment-intro label { font-size:.64rem !important; line-height:1.3 !important; font-weight:400; opacity:.65; }
#xps-assignments-static input { box-sizing:border-box; width:100%; padding:.45rem .6rem; border:1px solid var(--border); border-radius:.4rem; background:transparent; color:inherit; font-size:.78rem !important; line-height:1.2 !important; }
#xps-assignments-static .xps-class-toggle, #xps-assignments-static .xps-class-clear { width:100%; padding:.45rem .6rem; border:1px solid var(--border); border-radius:.4rem; background:transparent; color:inherit; font:inherit; font-size:.78rem !important; line-height:1.2 !important; text-align:left; cursor:pointer; }
#xps-assignments-static .xps-class-toggle::after { content:"⌄"; float:right; }
#xps-assignments-static .xps-class-menu { position:absolute; z-index:5; top:calc(100% + .3rem); left:0; width:min(340px, 90vw); box-sizing:border-box; padding:.55rem; border:1px solid rgba(156,163,175,.35); border-radius:.4rem; background:var(--surface); box-shadow:0 8px 20px rgba(0,0,0,.2); }
#xps-assignments-static .xps-class-search { margin-bottom:.45rem; padding:.3rem .45rem; font-size:.75rem !important; }
#xps-assignments-static .xps-class-options { max-height:220px; overflow-y:auto; }
#xps-assignments-static .xps-class-options-empty::after { display:block; padding:.45rem .15rem; color:var(--muted); content:"No matching chemical class"; font-size:.72rem; }
#xps-assignments-static .xps-class-option { display:flex; align-items:center; gap:.45rem; width:100%; padding:.24rem .15rem; border:0; background:transparent; color:inherit; font:inherit; font-size:.75rem !important; text-align:left; cursor:pointer; }
#xps-assignments-static .xps-class-option input { flex:0 0 auto; width:auto; margin:0; }
#xps-assignments-static .xps-class-option.xps-filtered-out { display:none; }
#xps-assignments-static .xps-class-option:hover, #xps-assignments-static .xps-class-option:focus { color:var(--accent); outline:none; }
#xps-assignments-static .xps-class-clear { margin-top:.5rem; text-align:center; }
#xps-assignments-static .xps-result-summary { min-height:1.1rem; margin:.1rem 0 0; font-size:.72rem !important; opacity:.7; }
#xps-assignments-static .xps-table-wrapper { width:min(100%, 832px); min-width:0; margin-left:auto; margin-right:auto; overflow-x:auto; }
#xps-assignments-static .xps-table { box-sizing:border-box; width:100%; border-collapse:collapse; border:1px solid var(--border-soft); font-size:.78rem !important; line-height:1.2 !important; }
#xps-assignments-static:not(.xps-class-results) .xps-table { width:830px; min-width:830px; table-layout:fixed; }
#xps-assignments-static:not(.xps-class-results) .xps-table > thead > tr > th:nth-child(1) { width:275px; }
#xps-assignments-static:not(.xps-class-results) .xps-table > thead > tr > th:nth-child(2) { width:105px; }
#xps-assignments-static:not(.xps-class-results) .xps-table > thead > tr > th:nth-child(3) { width:145px; }
#xps-assignments-static:not(.xps-class-results) .xps-table > thead > tr > th:nth-child(4) { width:155px; }
#xps-assignments-static:not(.xps-class-results) .xps-table > thead > tr > th:nth-child(5) { width:150px; }
#xps-assignments-static .xps-table th, #xps-assignments-static .xps-table td { box-sizing:border-box; padding:.35rem .55rem !important; border:1px solid var(--border-soft); text-align:left; font-size:.78rem !important; line-height:1.2 !important; }
#xps-assignments-static .xps-table th { font-weight:600; white-space:nowrap; }
#xps-assignments-static td.xps-compound { font-weight:700; vertical-align:middle; background:color-mix(in srgb, var(--accent) 10%, transparent); }
#xps-assignments-static .xps-compound-name { display:block; margin-top:.15rem; font-size:.68rem; font-weight:400; opacity:.72; }
#xps-assignments-static .xps-compound-heading { display:flex; align-items:center; justify-content:space-between; gap:.55rem; }
#xps-assignments-static .xps-copy-compound { flex:0 0 auto; min-width:52px; padding:.12rem .36rem; border:1px solid var(--border); border-radius:.3rem; background:transparent; color:var(--muted); font:inherit; font-size:.62rem !important; line-height:1.2 !important; cursor:pointer; }
#xps-assignments-static .xps-copy-compound:hover, #xps-assignments-static .xps-copy-compound:focus { border-color:var(--accent); color:var(--accent); outline:none; }
#xps-assignments-static .xps-copy-compound.xps-copy-success { border-color:var(--accent); color:var(--accent); }
#xps-assignments-static .xps-assignment { font-weight:600; white-space:normal; overflow-wrap:anywhere; }
#xps-assignments-static .xps-class { font-weight:600; vertical-align:middle; background:color-mix(in srgb, var(--accent) 10%, transparent); }
#xps-assignments-static .xps-compound-link { padding:0; border:0; background:none; color:var(--accent); font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
#xps-assignments-static.xps-class-results .xps-table { width:920px; min-width:920px; table-layout:fixed; }
#xps-assignments-static.xps-class-results .xps-table-wrapper { width:min(100%, 922px); min-width:0; }
#xps-assignments-static.xps-class-results .xps-table > tbody > tr:not(.xps-detail-row) > td { vertical-align:middle; }
#xps-assignments-static.xps-class-results .xps-table > thead > tr > th:nth-child(1) { width:145px; }
#xps-assignments-static.xps-class-results .xps-table > thead > tr > th:nth-child(2) { width:275px; }
#xps-assignments-static.xps-class-results .xps-table > thead > tr > th:nth-child(3) { width:250px; }
#xps-assignments-static.xps-class-results .xps-table > thead > tr > th:nth-child(4) { width:250px; }
#xps-assignments-static.xps-class-results .xps-compound-link { color:inherit; font-weight:700; }
#xps-assignments-static.xps-class-results td.xps-compound-selected { background:color-mix(in srgb, var(--accent) 10%, transparent); }
#xps-assignments-static.xps-class-results td.xps-compound-selected .xps-compound-link { color:var(--accent); }
#xps-assignments-static .xps-detail-row td { padding:0 !important; background:color-mix(in srgb, var(--accent) 5%, transparent); }
#xps-assignments-static .xps-compound-detail { padding:.7rem .8rem .8rem; border-left:3px solid var(--accent); }
#xps-assignments-static .xps-detail-heading { display:flex; align-items:center; gap:.4rem; margin:0 0 .45rem; font-size:.78rem !important; color:var(--accent); }
#xps-assignments-static .xps-detail-heading .xps-copy-compound { margin-left:auto; }
#xps-assignments-static .xps-detail-heading span { font-weight:400; opacity:.72; margin-left:.4rem; }
#xps-assignments-static .xps-detail-table { display:table !important; width:555px !important; min-width:555px !important; max-width:100%; table-layout:fixed !important; margin:0 auto; border-collapse:collapse; font-size:.72rem !important; }
#xps-assignments-static .xps-detail-table th:nth-child(1) { width:105px; }
#xps-assignments-static .xps-detail-table th:nth-child(2) { width:145px; }
#xps-assignments-static .xps-detail-table th:nth-child(3) { width:155px; }
#xps-assignments-static .xps-detail-table th:nth-child(4) { width:150px; }
#xps-assignments-static .xps-detail-table th, #xps-assignments-static .xps-detail-table td { padding:.25rem .4rem !important; }
#xps-assignments-static .xps-table th.xps-energy, #xps-assignments-static .xps-table td.xps-energy,
#xps-assignments-static .xps-detail-table th.xps-energy, #xps-assignments-static .xps-detail-table td.xps-energy { width:155px; min-width:155px; white-space:nowrap; }
#xps-assignments-static .xps-table th.xps-reference-heading, #xps-assignments-static .xps-table td.xps-reference,
#xps-assignments-static .xps-detail-table th.xps-reference-heading, #xps-assignments-static .xps-detail-table td.xps-reference { width:150px; min-width:150px; }
#xps-assignments-static .xps-reference { white-space:nowrap; }
#xps-assignments-static td.xps-reference { position:relative; padding-right:2rem !important; vertical-align:middle; }
#xps-assignments-static .xps-reference-list { display:block; }
#xps-assignments-static .xps-reference-item { display:flex; align-items:center; gap:.35rem; }
#xps-assignments-static .xps-reference-item + .xps-reference-item { margin-top:.3rem; }
#xps-assignments-static .xps-reference-toggle { position:absolute; top:50%; right:.35rem; display:grid; place-items:center; width:1.5rem; height:1.5rem; padding:0; transform:translateY(-50%); border:0; border-radius:.25rem; background:transparent; color:var(--accent); cursor:pointer; }
#xps-assignments-static .xps-reference-toggle svg { display:block; width:.9rem; height:.9rem; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:transform .15s ease; }
#xps-assignments-static .xps-reference-toggle-open svg { transform:rotate(180deg); }
#xps-assignments-static .xps-reference-toggle:hover, #xps-assignments-static .xps-reference-toggle:focus { color:var(--text); outline:1px solid var(--accent); border-radius:.2rem; }
#xps-assignments-static .xps-reference-detail-row > td { padding:0 !important; border-top:1px solid var(--accent) !important; background:color-mix(in srgb, var(--accent) 6%, transparent); }
#xps-assignments-static .xps-reference-detail { display:grid; grid-template-columns:1fr; align-items:start; width:fit-content; max-width:calc(100% - 1.6rem); gap:.3rem; margin:0 auto; padding:.6rem .8rem; text-align:left; white-space:normal; }
#xps-assignments-static .xps-reference-detail > strong { color:var(--text); }
#xps-assignments-static .xps-reference-detail-item { display:flex; align-items:baseline; gap:.35rem; min-width:0; }
#xps-assignments-static .xps-reference-detail-label { font-weight:600; color:var(--accent); }
#xps-assignments-static .xps-ref-number { flex:0 0 2.4rem; width:2.4rem; font-weight:600; }
#xps-assignments-static .xps-doi-link { display:inline-block; padding:.1rem .35rem; border:1px solid var(--accent); border-radius:.3rem; color:var(--accent); text-decoration:none !important; font-size:.68rem !important; line-height:1.2 !important; white-space:nowrap; }
#xps-assignments-static .xps-doi-link:hover { background:var(--accent); color:white; }
#xps-assignments-static .xps-empty { opacity:.45; }
#xps-assignments-static .xps-pagination { display:flex; justify-content:center; align-items:center; gap:.6rem; margin:.25rem 0 .6rem; font-size:.7rem !important; line-height:1.1 !important; }
#xps-assignments-static .xps-pagination button { padding:.18rem .45rem !important; border:1px solid var(--border); border-radius:.3rem; background:transparent; color:inherit; cursor:pointer; font-size:.7rem !important; line-height:1.1 !important; }
#xps-assignments-static .xps-pagination button:hover:not(:disabled) { border-color:var(--accent); color:var(--accent); }
#xps-assignments-static .xps-pagination button:disabled { opacity:.35; cursor:default; }
@media (max-width:768px) { #xps-assignments-static .xps-assignment-intro, #xps-assignments-static .xps-assignment-control, #xps-assignments-static .xps-class-control { width:100%; } #xps-assignments-static .xps-table th, #xps-assignments-static .xps-table td { padding:.3rem .4rem !important; } }

@media (max-width:1000px) { #xps-assignments-static .xps-table-wrapper { width:100%; } }
