/* Grammar Atlas: SVG relationship field and local sentence experiments. */
.atlas-view #main{padding-top:27px}
.atlas-root{--atlas-blue:#4677ac;--atlas-purple:#8563aa;--atlas-copper:#a46137;--atlas-green:#357b68;--atlas-ink:#26333e;padding-bottom:20px}
.atlas-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px;font-size:11px;color:var(--muted)}
.atlas-topline>a{font-size:12px;color:#667681;min-height:32px;display:flex;align-items:center}
.atlas-topline>span{letter-spacing:.15em;font-size:10px}
.atlas-motion{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:20px;min-height:34px;padding:7px 12px;font-size:11px;color:#6c647e;background:#fffdfa}
.atlas-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:28px}
.atlas-heading h1{font:44px/1.12 var(--serif);letter-spacing:-.025em;margin:0 0 12px;color:var(--atlas-ink)}
.atlas-heading h1>span{color:var(--atlas-purple)}
.atlas-heading p{font-size:14px;color:#73808a;letter-spacing:.05em}
.atlas-total{text-align:right;display:grid;gap:8px}
.atlas-total>strong{font:30px/1 var(--serif);font-weight:400;color:#6f5a8f}
.atlas-total small{font-size:16px;color:#98a0a6}
.atlas-total>span{font-size:10px;color:#87919b}
.atlas-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:stretch;margin-bottom:29px}
.atlas-chart{position:relative;border:1px solid #e1e1e7;border-radius:20px;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 46% 51%,#efedf875,transparent 40%),radial-gradient(ellipse at 85% 25%,#eaf1f888,transparent 35%),radial-gradient(ellipse at 15% 80%,#f2eaf350,transparent 35%),#fdfcfa;isolation:isolate;display:flex;flex-direction:column}
.atlas-chart:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(#a6a7bd45 .6px,transparent .6px);background-size:22px 22px;mask-image:radial-gradient(ellipse,#0008,transparent 75%)}
.atlas-chart-meta{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:21px 24px 0;color:#89909d;font-size:11px}
.atlas-chart-meta>span{display:flex;gap:9px;align-items:center}
.atlas-chart-meta i{display:block;width:5px;height:5px;border-radius:50%;background:#8976ac;box-shadow:0 0 0 4px #8976ac14}
.atlas-chart-meta>small{font-size:9px;letter-spacing:.14em}
.atlas-graph{width:100%;flex:1;display:flex;align-items:center;justify-content:center;min-height:450px}
.atlas-network{width:100%;height:auto;max-height:600px;display:block;overflow:visible;font-family:var(--sans)}
.atlas-ambient{fill:#9699b4;stroke:#aeb3cf;stroke-width:.8;opacity:.4}
.atlas-ambient ellipse{fill:none;stroke-dasharray:2 8;opacity:.7}
.atlas-star{stroke:none;opacity:.65}
.atlas-edge{fill:none;stroke:#b3bdd1;stroke-width:1;opacity:.2;transition:stroke .45s,opacity .45s,stroke-width .45s}
.atlas-edge.is-related{stroke:var(--edge-color);stroke-width:1.8;opacity:.58;stroke-dasharray:3 9;animation:atlas-flow 16s linear infinite}
.atlas-core{cursor:pointer;outline:none}
.atlas-core-halo{fill:#b5b7da0a;stroke:#aaa6cd50;stroke-width:.8;stroke-dasharray:2 7}
.atlas-core text{text-anchor:middle;fill:#586073;pointer-events:none}
.atlas-core-en{font-size:8px;letter-spacing:.13em}
.atlas-core .atlas-core-zh{font-size:22px;fill:#44465c;font-weight:500;letter-spacing:.04em}
.atlas-core-example{font:10px var(--serif);opacity:.7}
.atlas-node{cursor:pointer;outline:none}
.atlas-node-hit{fill:transparent;stroke:none}
.atlas-node-orbit{fill:none;stroke:var(--node-color);stroke-width:2;opacity:.15}
.atlas-node-progress{fill:none;stroke:var(--node-color);stroke-width:2.6;stroke-linecap:round}
.atlas-node-shell{fill:#fffdfbe8;stroke:var(--node-color);stroke-width:1;transition:fill .35s,stroke-width .35s}
.atlas-node.is-active .atlas-node-shell{fill:var(--node-tint);stroke-width:2}
.atlas-node.is-active .atlas-node-orbit{opacity:.45;stroke-dasharray:2 4}
.atlas-node.is-connected .atlas-node-shell{fill:var(--node-tint)}
.atlas-node:hover .atlas-node-shell,.atlas-node:focus-visible .atlas-node-shell{stroke-width:3;fill:var(--node-tint)}
.atlas-node:focus-visible .atlas-node-orbit,.atlas-core:focus-visible .atlas-core-halo{stroke-width:3;opacity:1}
.atlas-node-symbol{text-anchor:middle;font:12px var(--serif);fill:var(--node-color);pointer-events:none}
.atlas-node-label{text-anchor:middle;font-size:15px;fill:#4f5d6b;pointer-events:none;font-weight:400}
.atlas-node.is-active .atlas-node-label{fill:var(--node-color);font-weight:500}
.atlas-node-count{text-anchor:middle;font:11px var(--serif);fill:#98a1ae;pointer-events:none}
.atlas-chart-key{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding:14px 24px 18px;font-size:10px;color:#8b929e}
.atlas-chart-key>span{display:flex;gap:6px;align-items:center}
.atlas-chart-key i{width:5px;height:5px;display:block;border-radius:50%;background:var(--key-color)}
.atlas-chart-key>small{font-size:9px;opacity:.8;margin-left:auto}
.atlas-insight{border:1px solid var(--line);border-radius:20px;background:#fffdfb;padding:24px 23px;display:flex;flex-direction:column;min-width:0}
.atlas-insight-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.atlas-eyebrow{font-size:9px;letter-spacing:.13em;color:#979aa5}
.atlas-small-orbit{font-size:26px;line-height:1;color:var(--node-color)}
.atlas-insight h2{font:24px/1.4 var(--serif);color:var(--node-color);margin:0 0 15px;font-weight:400}
.atlas-insight h3{font-size:14px;line-height:1.8;font-weight:500;margin:0 0 10px;color:#3e4d58}
.atlas-insight>p{font-size:12px;line-height:1.95;color:#7c8790;margin:0 0 20px}
.atlas-neighbors{margin-bottom:18px;flex:1}
.atlas-neighbors>.atlas-eyebrow{display:block;margin:2px 0 11px}
.atlas-neighbors>button{display:block;text-align:left;width:100%;padding:12px 0;border-top:1px solid #ece9e5;min-height:64px}
.atlas-neighbors strong{display:flex;justify-content:space-between;font-size:12px;font-weight:400;color:#546477;line-height:1.6;margin-bottom:4px}
.atlas-neighbors strong b{font-weight:400;color:var(--node-color)}
.atlas-neighbors small{display:block;font-size:10px;line-height:1.8;color:#949ba4}
.atlas-neighbors>button:hover strong{color:var(--node-color)}
.atlas-practice{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;background:#f1edf6;border:1px solid #e9e3ef;border-radius:10px;color:#75608f;font-size:12px;gap:15px;min-height:55px}
.atlas-practice small{display:block;font-size:10px;color:#a096ae;margin-top:5px}
.atlas-practice>b{font-weight:400;font-size:20px}
.atlas-lab-jump{font-size:11px;min-height:36px;margin:0 0 9px;color:#8b7b9f;text-align:left}
.atlas-lab{border:1px solid var(--line);background:#fffdfb;border-radius:20px;padding:25px 30px 20px;scroll-margin-top:20px}
.atlas-lab-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px}
.atlas-lab-heading h2{font:25px/1.4 var(--serif);margin:6px 0 0;color:#364754;font-weight:400}
.atlas-lab-tabs{display:flex;gap:5px;flex-wrap:wrap;padding:4px;background:#f5f3f0;border-radius:10px}
.atlas-lab-tabs>button{font-size:11px;color:#9299a2;padding:9px 15px;min-height:36px;border-radius:7px}
.atlas-lab-tabs>button[aria-pressed=true]{background:#fff;color:#6f5b8c;box-shadow:0 2px 7px #4e40580b}
.atlas-lab-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 0 18px}
.atlas-lab-controls>span{font-size:11px;color:#969ba3;margin-right:7px}
.atlas-lab-controls>button{font-size:11px;border:1px solid #e6e2ea;padding:8px 12px;border-radius:7px;min-height:36px;color:#8a8d99;line-height:1.5}
.atlas-lab-controls>button[aria-pressed=true]{border-color:#aba0c3;background:#f3eef8;color:#7a649d}
.atlas-lab-controls>.atlas-secondary-toggle{margin-left:auto;border-style:dashed}
.atlas-lab-sentence{position:relative;padding:86px 30px 35px;background:radial-gradient(ellipse at 30% 10%,#f5f1f8,transparent 65%),#faf9f6;border-radius:13px;min-height:190px}
.atlas-sentence-text{position:relative;font:23px/2.3 var(--serif);color:#667581;z-index:1}
.atlas-token{position:relative;display:inline-block;border-radius:5px;line-height:1.8;padding:0 3px}
.atlas-token>small{position:absolute;left:3px;top:-24px;font:9px/1.4 var(--sans);white-space:nowrap;letter-spacing:.02em;pointer-events:none;color:inherit;opacity:.8}
.atlas-subject{color:#8563aa;background:#8563aa0b}
.atlas-verb{color:#357b68;background:#357b680d}
.atlas-participle{color:#a46137;background:#a461370b}
.atlas-lab-object{color:#718291}
.atlas-lab-modifier{color:#99a0a7;transition:opacity .45s,color .45s}
.atlas-lab-modifier.is-muted{opacity:.3}
.atlas-clause{color:#537495;background:#4677ac08}
.atlas-clause.second{color:#66769c}
.atlas-punctuation{display:inline-block;margin:0 7px 0 1px;color:#4677ac;font-size:32px;line-height:1}
.atlas-transition{color:#9b8da9;font-size:19px}
.atlas-token.is-invalid,.atlas-punctuation.is-invalid{color:#b36a52;background:#b36a520e}
.atlas-thread{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:visible}
.atlas-thread path{fill:none;stroke-width:1.3;stroke-dasharray:4 5;opacity:.65;animation:atlas-thread-in .6s ease-out both}
.atlas-lab-feedback{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:19px 0 2px}
.atlas-lab-badges{display:flex;flex-wrap:wrap;gap:7px;flex:0 0 auto}
.atlas-lab-badges>span{font-size:10px;padding:5px 9px;background:#edf4f0;border:1px solid #dfeae4;color:#57816e;border-radius:5px;line-height:1.5}
.atlas-lab-feedback[data-status=invalid] .atlas-lab-badges>span{background:#fbf0eb;border-color:#eadcd4;color:#ac795e}
.atlas-lab-feedback>p{font-size:12px;line-height:1.85;color:#7f8892;margin:0}
.atlas-lab-note{font-size:10px;color:#aaaeb3;margin:18px 0 0;padding-top:13px;border-top:1px solid #edeae6;line-height:1.7}
.atlas-root button:focus-visible,.atlas-root a:focus-visible{outline:2px solid #8563aa;outline-offset:3px}
.atlas-entry{display:flex;align-items:center;gap:12px;border:1px solid #e3deeb;background:#f5f1f7;padding:13px 18px;border-radius:12px;color:#7a6597;min-height:58px}
.atlas-entry>svg{width:31px;height:31px;flex:none}
.atlas-entry>span{font:17px var(--serif)}
.atlas-entry small{display:block;font:10px var(--sans);color:#a092ae;margin-top:5px}
.atlas-entry>b{font-size:18px;margin-left:13px;font-weight:400}
.atlas-entry:hover{border-color:#b6a8c9}
.atlas-root[data-motion=off] *{animation:none!important;transition:none!important}
@keyframes atlas-flow{to{stroke-dashoffset:-120}}
@keyframes atlas-thread-in{from{opacity:0;stroke-dashoffset:40}to{opacity:.65;stroke-dashoffset:0}}
@media(max-width:1150px){.atlas-workspace{grid-template-columns:minmax(0,1fr) 285px;gap:16px}.atlas-insight{padding:21px 19px}.atlas-graph{min-height:420px}.atlas-node-label{font-size:17px}.atlas-chart-meta{padding-left:18px;padding-right:18px}.atlas-chart-meta>small{display:none}.atlas-chart-key{gap:11px;padding:12px 18px 17px}.atlas-chart-key>small{margin-left:0;flex-basis:100%}.atlas-lab-sentence{padding-left:22px;padding-right:22px}.atlas-sentence-text{font-size:21px}}
@media(max-width:900px){.atlas-workspace{grid-template-columns:1fr}.atlas-graph{min-height:0}.atlas-network{max-height:610px}.atlas-insight{display:grid;grid-template-columns:1fr 1fr;column-gap:35px}.atlas-insight-top,.atlas-insight h2,.atlas-insight h3,.atlas-insight>p{grid-column:1}.atlas-neighbors{grid-column:2;grid-row:1/6}.atlas-lab-jump{grid-column:1}.atlas-practice{grid-column:2;align-self:end}.atlas-heading h1{font-size:39px}.atlas-lab{padding:23px}.atlas-lab-heading{gap:15px}.atlas-lab-tabs>button{padding:9px 11px}}
@media(max-width:700px){.atlas-view #main{padding-top:20px}.atlas-topline{gap:10px;margin-bottom:21px}.atlas-topline>span{font-size:8px;letter-spacing:.05em}.atlas-topline>a{font-size:11px}.atlas-motion{font-size:10px;padding:6px 9px;min-height:34px}.atlas-heading{align-items:flex-start;gap:14px;flex-direction:column;margin-bottom:23px}.atlas-heading h1{font-size:35px}.atlas-heading p{font-size:12px}.atlas-total{display:flex;align-items:center;gap:12px;text-align:left}.atlas-total>strong{font-size:22px}.atlas-total small{font-size:13px}.atlas-total>span{font-size:9px}.atlas-workspace{gap:16px}.atlas-chart-meta{padding-top:18px;font-size:10px}.atlas-network{max-height:none}.atlas-node-label{font-size:20px}.atlas-node-count{font-size:16px}.atlas-node-symbol{font-size:14px}.atlas-core-en{font-size:9px}.atlas-core-example{font-size:11px}.atlas-chart-key{font-size:9px;gap:15px}.atlas-chart-key>small{font-size:9px}.atlas-insight{display:flex;padding:21px;gap:0}.atlas-insight h2{font-size:23px;margin-bottom:13px}.atlas-insight h3{font-size:14px}.atlas-insight>p{font-size:13px}.atlas-neighbors small{font-size:12px}.atlas-neighbors strong{font-size:13px}.atlas-neighbors>button{padding:13px 0}.atlas-eyebrow{font-size:9px}.atlas-practice{font-size:13px}.atlas-lab-heading{display:block;margin-bottom:20px}.atlas-lab-heading h2{font-size:25px}.atlas-lab-tabs{margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.atlas-lab-tabs>button{font-size:11px;padding:10px 4px}.atlas-lab{padding:20px 16px}.atlas-lab-controls{gap:7px;padding-bottom:15px}.atlas-lab-controls>span{font-size:11px;flex-basis:100%;margin-bottom:2px}.atlas-lab-controls>button{padding:9px 10px;font-size:11px;min-height:40px}.atlas-lab-controls>.atlas-secondary-toggle{margin-left:0}.atlas-lab-sentence{padding:80px 14px 22px;min-height:210px}.atlas-sentence-text{font-size:21px;line-height:2.7}.atlas-token{line-height:1.9;margin-bottom:12px}.atlas-token>small{font-size:9px;top:-21px}.atlas-transition{font-size:17px}.atlas-lab-feedback{display:block;padding-top:17px}.atlas-lab-feedback>p{font-size:13px;margin-top:12px}.atlas-lab-badges>span{font-size:10px}.atlas-lab-note{font-size:10px}.atlas-entry{margin-top:20px;display:inline-flex;padding:11px 15px;min-height:54px}.atlas-entry>span{font-size:16px}}
@media(prefers-reduced-motion:reduce){.atlas-root *{animation:none!important;transition:none!important}}

.atlas-core-halo{animation:atlas-flow 65s linear infinite}
.atlas-node.is-active .atlas-node-shell{animation:atlas-node-arrive .45s ease-out both}
@keyframes atlas-node-arrive{from{stroke-width:5;fill:#fff}to{stroke-width:2;fill:var(--node-tint)}}
@media(max-width:700px){.atlas-practice{align-self:stretch}}
