.element-study{margin:52px 0;scroll-margin-top:24px;color:#23463f}.study-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}.study-heading h2{font-size:clamp(27px,3vw,38px);margin:10px 0}.study-heading p{line-height:1.8}.study-symbol{font-size:64px;font-weight:800;opacity:.18}.study-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 24px}.study-nav a{border:1px solid #d9e2d5;padding:11px 16px;border-radius:24px;background:#f1f5e9;text-decoration:none;font-size:14px}.study-basic{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:20px;scroll-margin-top:24px}.study-card{min-width:0;background:#fff;border:1px solid #e0e4d9;border-radius:20px;padding:25px}.study-card h3{font-size:21px;margin:10px 0 16px}.study-card h4{margin:22px 0 8px;font-size:14px;color:#59786b}.study-level{font-size:12px;color:#527466;background:#eef3e7;border-radius:8px;padding:5px 9px}.shell-sequence{font-size:22px;color:#14695b;letter-spacing:2px}.shell-cards{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.shell-card{flex:1 0 105px;min-width:0;background:#f5f7f1;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px;max-width:180px}.shell-card>span{font-weight:700}.shell-card small{font-size:11px;font-weight:400}.shell-card>strong{font-size:28px}.shell-card.outer-shell{background:#e9f3d9;box-shadow:inset 0 0 0 1px #b7cda2}.electron-dots{display:grid;grid-template-columns:repeat(8,6px);gap:4px;min-height:8px}.electron-dots i{width:6px;height:6px;border-radius:50%;background:#397968}.study-hint{font-size:12px;color:#647a70;line-height:1.9}.study-facts{margin:0}.study-facts>div{padding:14px 0;border-bottom:1px solid #edf0e6}.study-facts dt{font-size:12px;color:#687d70;margin-bottom:8px}.study-facts dd{margin:0;font-size:18px;font-weight:650;line-height:1.6}.study-advanced{margin:22px 0;border:1px solid #d8e2d1;border-radius:20px;background:#fafcf5;overflow:hidden;scroll-margin-top:24px}.study-advanced>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px;cursor:pointer;list-style:none}.study-advanced>summary small{display:block;margin-bottom:7px;color:#637f68}.study-advanced>summary strong{font-size:22px}.study-expand{font-size:12px;white-space:nowrap}.advanced-content{padding:0 26px 26px;line-height:1.85}.subshell-legend{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.subshell-legend span{padding:8px 12px;border-radius:10px}.configuration{font-family:ui-monospace,Consolas,monospace;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}.config-line{padding:18px;background:#fff;border-radius:12px;font-size:22px;border:1px solid #e5e8de}.subshell{white-space:nowrap;padding:2px 6px;border-radius:5px}.term-s{background:#e7f2e6;color:#296247}.term-p{background:#fff0d8;color:#8c5a1d}.term-d{background:#e6f0fc;color:#325d90}.term-f{background:#eee6f7;color:#795399}.orbital-list{display:flex;flex-direction:column;gap:12px;margin:16px 0}.orbital-row{display:flex;align-items:center;gap:16px}.orbital-row>strong{width:52px;flex-shrink:0;font-family:monospace}.orbital-boxes{display:flex;flex-wrap:wrap;gap:5px}.orbital-boxes span{border:1px solid #9fb3a2;width:32px;height:36px;display:grid;place-items:center;background:#fff;border-radius:4px;font-family:Arial,sans-serif;font-size:20px}.study-callout{padding:18px 22px;background:#edf2df;border-left:4px solid #aac580;border-radius:8px}.study-life{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;scroll-margin-top:24px}.study-prose{white-space:pre-line;overflow-wrap:anywhere;line-height:1.9}.study-quiz{padding:16px;background:#f4f6ec;border-radius:12px;margin-top:22px}.study-quiz summary{cursor:pointer;line-height:1.8;font-weight:600}.study-sources{font-size:12px;line-height:1.9;color:#738276;margin-top:24px}.study-sources a{color:#386f61}.study-jump{display:inline-block;margin-top:12px;color:#246c5c;font-weight:600}.study-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.study-editor-grid label.wide{grid-column:1/-1}@media(max-width:850px){.study-basic{grid-template-columns:1fr}.study-life{grid-template-columns:1fr}.study-symbol{font-size:48px}}@media(max-width:520px){.study-card{padding:18px}.study-advanced>summary{padding:18px}.study-advanced>summary strong{font-size:18px}.advanced-content{padding:0 18px 18px}.study-expand{display:none}.study-editor-grid{grid-template-columns:1fr}.shell-card{flex-basis:96px}.config-line{font-size:18px}}

.textbook-atom{margin:18px 0 22px;padding:6px 12px 18px;background:#fafbf7;border:1px solid #edf0e6;border-radius:16px;text-align:center}.atom-structure-svg{display:block;max-width:100%;height:auto;margin:0 auto;overflow:visible}.atom-nucleus,.atom-shell path{fill:none;stroke:#243f36;stroke-width:2.8;stroke-linecap:round}.atom-structure-svg text{font-family:"Times New Roman","Noto Serif",serif;text-anchor:middle;dominant-baseline:middle;fill:#243f36}.atom-charge{font-size:30px}.atom-electrons{font-size:29px}.atom-outer-shell path{stroke:#177263}.atom-outer-shell .atom-electrons{fill:#177263}.textbook-atom figcaption{font-size:12px;line-height:1.8;color:#647a70}.shell-reading{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.shell-reading-label{font-size:13px;color:#62786d}.shell-reading-values{display:flex;gap:20px;flex-wrap:wrap}.shell-reading-values>span{display:grid;gap:6px;text-align:center}.shell-reading-values strong{font-size:26px;letter-spacing:0;color:#14695b}.shell-reading-values small{font-size:11px;color:#657a6e}.textbook-configuration{font-size:20px;gap:4px}

.element-study{margin-top:22px}.study-heading h2{margin:6px 0}.study-heading p{margin:6px 0}.study-nav{margin:14px 0 18px}.textbook-atom{margin:12px 0 16px;padding:12px}.textbook-atom figcaption{margin-top:10px}
