.grammar-branch-map{color:#eaf6ff;margin-block:18px 28px}.gb-toolbar{justify-content:space-between;gap:14px;margin-bottom:14px;display:flex}.gb-levels{flex-wrap:wrap;gap:6px;display:flex}.gb-levels button,.gb-search{color:#aec6dd;background:#112039;border:1px solid rgba(54,83,110,.533);border-radius:9px;min-height:44px;padding:10px 14px;font-size:13px}.gb-levels button{cursor:pointer}.gb-levels button.is-selected{color:#9beefa;background:linear-gradient(115deg,#19435b,#302d55);border-color:rgba(102,220,231,.5)}.gb-search{color:#eaf6ff;width:240px;max-width:100%}.gb-search::placeholder{color:#9db7cd}.gb-legend{color:#a7bdd3;flex-wrap:wrap;gap:18px;margin-bottom:20px;font-size:11px;display:flex}.gb-workspace{grid-template-columns:minmax(0,1fr) 245px;align-items:start;gap:20px;display:grid}.gb-canvas{min-width:0}.gb-root{text-align:center;background:radial-gradient(at 20% 0,rgba(61,213,245,.153),transparent 65%),linear-gradient(125deg,#15314b,#292849);border:1px solid rgba(106,205,233,.4);border-radius:12px;max-width:320px;margin:0 auto 22px;padding:14px;box-shadow:0 0 30px rgba(61,213,245,.063),inset 0 1px rgba(192,246,255,.07)}.gb-root span,.gb-kicker{letter-spacing:.12em;text-transform:uppercase;color:#68dfeb;font-size:10px}.gb-root h2{color:#d4f5ff;margin:4px 0;font-size:17px;line-height:1.4}.gb-root p{color:#a7bfd6;font-size:11px}.gb-branches{border-top:1px solid rgba(82,108,172,.533);grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px;padding-top:22px;display:grid}.gb-branch{min-width:0;position:relative}.gb-branch:before{content:"";background:linear-gradient(#4bc6e3,#7964bd);width:1px;height:22px;position:absolute;top:-23px;left:50%}.gb-branch h3{color:#70c5e9;overflow-wrap:anywhere;min-height:40px;margin-bottom:10px;font-size:13px;line-height:1.5}.gb-branch:nth-child(3n+2) h3{color:#b39bf4}.gb-branch:nth-child(3n) h3{color:#77d5c4}.gb-module-hint{color:#a0b4ce;margin:0 0 10px;font-size:10px;line-height:1.5}.gb-node{text-align:left;color:#e0eaf5;cursor:pointer;touch-action:manipulation;background:linear-gradient(145deg,rgba(22,41,68,.72),#101d35);border:1px solid rgba(66,96,128,.314);border-radius:9px;align-items:flex-start;gap:8px;width:100%;min-height:44px;margin-bottom:8px;padding:11px 9px;transition:border-color .15s,background .15s;display:flex;position:relative}.gb-node-copy{min-width:0}.gb-node strong{overflow-wrap:anywhere;font-size:12px;font-weight:600;line-height:1.5;display:block}.gb-node small{color:#a4b8d1;margin-top:4px;font-size:10px;line-height:1.5;display:block}.gb-node[data-state=done],.gb-node[data-state=passed]{background:linear-gradient(140deg,rgba(22,51,56,.5),#112139);border-color:rgba(109,186,148,.25)}.gb-node[data-state=current]{background:radial-gradient(at 0 0,rgba(63,215,245,.145),transparent 70%),linear-gradient(120deg,#1b4059,#35305c);border-color:rgba(98,223,237,.6);box-shadow:0 0 22px rgba(57,216,241,.08)}.gb-node[aria-pressed=true]{outline-offset:2px;outline:1px solid rgba(141,228,239,.6)}.gb-node:hover{background:linear-gradient(130deg,#1c3d55,#292d50);border-color:rgba(121,205,219,.533)}.gb-detail{background:radial-gradient(at 100% 0,rgba(56,125,146,.15),transparent 55%),linear-gradient(150deg,#182c48,#1c2443 65%,#122239);border:1px solid rgba(128,190,221,.25);border-radius:14px;min-width:0;padding:20px;position:sticky;top:18px;box-shadow:inset 0 2px rgba(108,205,231,.4),0 14px 40px rgba(3,10,29,.19)}.gb-detail h2{color:#eaf6ff;overflow-wrap:anywhere;margin:12px 0;font-size:22px;line-height:1.3}.gb-module-label{color:#a99bdf;font-size:11px}.gb-description{color:#b5c8dd;margin:15px 0;font-size:13px;line-height:1.7}.gb-count{color:#bbd1e2;margin-top:18px;font-size:12px}.gb-detail progress{accent-color:#54d8e9;width:100%;height:6px;margin:12px 0 20px;display:block}.gb-action>*{text-align:center;width:100%;font-size:12px}.gb-action>span{color:#bfd2e4;background:rgba(12,25,45,.5);border-color:rgba(113,136,176,.2)}.gb-empty{text-align:center;color:#a7bdd3;padding:25px}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview{gap:10px;margin-bottom:12px}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview__card{box-shadow:none;border-radius:10px;padding:12px}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview h2{font-size:16px}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview__card>p:not(:first-child){display:none}@media (width>=1280px){.mr-workspace-grid:has(.grammar-branch-map){grid-template-columns:15.5rem minmax(0,1fr)}.mr-workspace-grid:has(.grammar-branch-map)>#reader-context-rail{display:none}}@container (width<=850px){.gb-workspace{grid-template-columns:minmax(0,1fr)}.gb-detail{position:static}.gb-branches{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}}@media (width<=700px){.gb-toolbar{flex-direction:column}.gb-search{width:100%}.gb-levels button{padding-inline:12px}.gb-branches{border-top:0;grid-template-columns:1fr;padding-top:0}.gb-branch{border-left:1px solid rgba(97,112,167,.4);padding-left:12px}.gb-branch:before{display:none}.gb-branch h3{min-height:0}}@media (prefers-reduced-motion:reduce){.gb-node{transition:none}}@container (width<=850px){.gb-detail{order:-1}}.gb-status-icon{color:#d2c7ff;background:linear-gradient(145deg,#544878,#263253);border:1px solid rgba(169,156,234,.4);border-radius:10px;flex-shrink:0;place-items:center;width:30px;height:30px;display:inline-grid;box-shadow:inset 0 1px rgba(236,228,255,.15),0 3px 8px rgba(6,14,36,.25)}.gb-status-icon svg{width:17px;height:17px;display:block}.gb-status-icon[data-state=done],.gb-status-icon[data-state=passed]{color:#caffd8;background:linear-gradient(145deg,#27976c,#195345);border-color:rgba(119,231,172,.5);box-shadow:inset 0 1px rgba(208,255,229,.3),0 0 12px rgba(73,219,142,.11)}.gb-status-icon[data-state=current]{color:#e0fcff;background:linear-gradient(140deg,#20b9d6,#3960b7);border-color:rgba(141,239,255,.667);box-shadow:inset 0 1px rgba(220,251,255,.4),0 0 14px rgba(65,212,240,.17)}.gb-legend .gb-legend-item{color:#bbcee2;align-items:center;gap:8px;display:inline-flex}.gb-legend .gb-status-icon{border-radius:8px;width:25px;height:25px}.gb-legend .gb-status-icon svg{width:14px;height:14px}.gb-detail{scroll-margin-top:18px}.gb-detail progress{appearance:none;background:#293c59;border:0;border-radius:999px;overflow:hidden}.gb-detail progress::-webkit-progress-bar{background:#293c59;border-radius:999px}.gb-detail progress::-webkit-progress-value{background:linear-gradient(90deg,#30d7ed,#8878ff);border-radius:999px}.gb-detail progress::-moz-progress-bar{background:linear-gradient(90deg,#30d7ed,#8878ff);border-radius:999px}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview__card--progress>div>span{font-variant-numeric:tabular-nums;background:0 0;border:0}.gb-branch-heading{min-height:90px}.gb-node[aria-pressed=true]{border-color:#8de4ef;box-shadow:inset 3px 0 #8de4ef,0 0 18px rgba(57,216,241,.1)}.grammar-branch-map :is(button,input):focus-visible{outline-offset:3px;outline:2px solid #b1edff}@media (width<=700px){.gb-branch-heading{min-height:0}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview{grid-template-columns:1fr;gap:8px}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview__card:first-child{display:none}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview__card--progress{grid-template-columns:1fr auto;align-items:center;gap:8px;display:grid}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview__card--progress>div{margin-top:0}.grammar-tree-page:has(.grammar-branch-map) .grammar-tree-overview__card--progress>div:last-child{grid-column:1/-1}.gb-legend{gap:12px;margin-bottom:14px}.gb-detail{padding:16px}.gb-detail h2{margin-block:8px;font-size:20px}}