/* The staff reporting tree. Details elements provide native keyboard toggles. */
.maester-rank-key{display:flex;flex-wrap:wrap;gap:12px 28px;list-style:none;margin:28px 0 0;padding:0;color:var(--muted);font-size:12px}.maester-rank-key li{display:flex;align-items:center;gap:9px}.maester-rank-key li:not(:last-child):after{content:'→';color:var(--gold-dim);margin-left:12px}.maester-rank-key span{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--gold-dim);color:var(--gold);font:12px var(--serif);border-radius:50%}.maester-tree-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0}.maester-tree-heading p{margin:0}.maester-tree,.maester-children{padding:0;margin:0;list-style:none}.maester-tree{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:36px;width:100%}.maester-tree>.maester-branch{flex:1 1 300px;min-width:0}.maester-node{position:relative;display:block;width:100%;max-width:360px;margin:0 auto;padding:20px;border:1px solid var(--line);border-top:2px solid var(--gold-dim);border-radius:var(--radius);background:linear-gradient(150deg,var(--surface-2),var(--surface));color:var(--ink);box-shadow:0 8px 24px #0002;list-style:none}.maester-node::-webkit-details-marker{display:none}summary.maester-node{cursor:pointer}summary.maester-node:hover{border-color:var(--gold-dim);background:var(--surface-2)}summary.maester-node:focus-visible{outline:2px solid var(--gold-light);outline-offset:5px}.maester-node-top{display:flex;align-items:center;gap:12px}.maester-node-top>div{min-width:0}.maester-node h3{margin:3px 0 0;font:17px/1.5 var(--serif);overflow-wrap:anywhere}.maester-node h3 a:hover,.maester-node-scope a:hover,.maester-node-notice a:hover{text-decoration:underline;text-underline-offset:3px}.maester-node-rank{text-transform:uppercase;font-size:9px;letter-spacing:.14em;color:var(--gold)}.maester-rank-number{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border:1px solid var(--gold-dim);border-radius:50%;color:var(--gold);font:15px var(--serif)}.maester-rank-grand_maester>.maester-reporting-line>.maester-node,.maester-rank-grand_maester>.maester-node{border-color:var(--gold-dim);border-top-color:var(--gold-light);background:linear-gradient(145deg,#443025,var(--surface))}.maester-rank-grand_maester .maester-rank-number{color:var(--gold-light)}.maester-state{width:7px;height:7px;flex-shrink:0;margin-left:auto;background:var(--faint);border-radius:50%}.maester-state.is-published{background:var(--success)}.maester-node-scope{margin-top:15px;padding-top:13px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:3px}.maester-node-scope>span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:var(--faint)}.maester-node-scope>a,.maester-node-scope>strong{color:var(--muted);font-size:12px;font-weight:400;overflow-wrap:anywhere}.maester-branch-toggle{display:flex;justify-content:space-between;align-items:center;color:var(--gold-dim);font-size:10px;margin-top:14px}.maester-chevron{display:block;font-size:23px;line-height:1;transition:transform .15s}.maester-reporting-line[open]>.maester-node .maester-chevron{transform:rotate(90deg)}.maester-children{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:28px 22px;padding-top:40px}.maester-children>.maester-branch{position:relative;flex:1 1 230px;min-width:0;padding-top:0}.maester-children:before{content:'';position:absolute;top:0;left:50%;height:20px;border-left:1px solid var(--gold-dim)}.maester-children>.maester-branch:before{content:'';position:absolute;left:50%;top:-20px;height:20px;border-left:1px solid var(--gold-dim)}.maester-children>.maester-branch:after{content:'';position:absolute;top:-20px;left:-12px;right:-12px;border-top:1px solid var(--gold-dim)}.maester-children>.maester-branch:first-child:after{left:50%}.maester-children>.maester-branch:last-child:after{right:50%}.maester-children>.maester-branch:only-child:after{display:none}.maester-node-notice{margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.maester-unattached{margin-top:48px;padding-top:30px;border-top:1px solid var(--line)}.maester-section-heading{margin-bottom:28px}.maester-section-heading h2{margin-bottom:7px}.maester-scope-note{margin-top:48px}.maester-scope-note p{max-width:860px}.maester-node .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.maester-rank-key{gap:10px 14px}.maester-rank-key li{font-size:10px}.maester-rank-key li:not(:last-child):after{display:none}.maester-tree-heading{align-items:flex-start;flex-direction:column;gap:6px}.maester-tree{display:block}.maester-tree>.maester-branch+.maester-branch{margin-top:26px}.maester-node{max-width:none;padding:16px}.maester-node h3{font-size:16px}.maester-rank-number{width:30px;height:30px;font-size:12px}.maester-children{display:block;margin-left:14px;padding:18px 0 0 14px;border-left:1px solid var(--gold-dim)}.maester-children>.maester-branch+.maester-branch{margin-top:18px}.maester-children:before,.maester-children>.maester-branch:after{display:none}.maester-children>.maester-branch:before{top:24px;left:-14px;width:14px;height:0;border-left:0;border-top:1px solid var(--gold-dim)}.maester-node-rank{letter-spacing:.08em;font-size:8px}.maester-node-top{gap:8px}.maester-node-scope{margin-top:12px}.maester-branch-toggle{margin-top:10px}.maester-unattached{margin-top:34px}.maester-scope-note{margin-top:34px}}
@media(prefers-reduced-motion:reduce){.maester-chevron{transition:none}}

.maester-house-heading{padding-bottom:15px;margin-bottom:16px;border-bottom:1px solid var(--line)}.maester-house-heading>span{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}.maester-house-heading h3{font-size:18px;margin:5px 0 0}.maester-house-leaf .maester-node-top{padding-left:10px;border-left:2px solid var(--gold-dim)}
