:root{--paper:#f5f1e8;--ink:#272c25;--muted:#717469;--green:#52735a;--line:#d9dccf;--wash:#e6ebdf;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#e8e7df;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:5px}button{color:inherit}button:disabled{cursor:wait;opacity:.6}#viewportFrame{background:var(--paper);min-height:100dvh;margin:auto;container-type:inline-size;overflow:clip;display:flex;flex-direction:column}header,footer{display:flex;align-items:center;justify-content:space-between;gap:20px;width:min(1120px,100%);margin:auto;padding:32px 44px}header{margin-top:0;margin-bottom:0}.brand{border:0;background:none;padding:8px 0;font-size:13px;font-weight:600;letter-spacing:2.4px}.quiet,.text{background:none;border:0;padding:9px 0;font-size:13px;color:var(--muted);text-decoration:none}.quiet:hover,.text:hover{color:var(--green)}main{width:min(920px,100%);margin:0 auto;flex:1;padding:64px 44px 60px}section{animation:appear .25s ease-out}.eyebrow{font-size:12px;line-height:1.5;letter-spacing:1.9px;font-weight:500;margin:0 0 28px;text-transform:uppercase;color:var(--muted)}.sentence{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,5.3cqi,60px);font-weight:400;line-height:1.3;letter-spacing:-1.6px;margin:0 0 25px;overflow-wrap:anywhere;text-wrap:pretty;color:var(--ink)}mark{background:none;color:var(--green)}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:25px;line-height:1.3;letter-spacing:-.4px;margin:0 0 14px}p{line-height:1.6}.support{font-size:15px;color:var(--muted);margin:18px 0}.meta{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0}.change{font-size:14px;color:var(--green);margin:0 0 28px}.primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--green);background:var(--green);color:white;padding:15px 25px;font-size:12px;font-weight:600;letter-spacing:1.3px;border-radius:3px}.primary:hover{background:#3d6046}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin:24px 0 14px}.consent{max-width:420px}.choice{border:0;border-bottom:1px solid #abb8a0;background:transparent;padding:0 0 1px;font:inherit;letter-spacing:inherit;line-height:inherit}.choice:hover{color:var(--green);border-bottom-color:var(--green)}.editing .choice{opacity:.42}.editing .choice:hover{opacity:1}.word-unit{display:inline}.inline-editor{display:inline-flex;flex-direction:column;vertical-align:baseline;max-width:100%;position:relative;line-height:1.3}.inline-editor input{font:inherit;letter-spacing:inherit;width:var(--input-width,9ch);max-width:100%;min-width:3ch;color:var(--green);border:0;border-bottom:2px solid var(--green);background:var(--wash);padding:0 4px;border-radius:0;outline-offset:3px}.inline-editor label{font:11px Arial,sans-serif;letter-spacing:.3px;color:var(--green);position:absolute;bottom:100%;left:4px;white-space:nowrap;margin-bottom:5px}.editing{line-height:1.7;margin-top:12px}.edit-actions{margin-top:12px}.error{color:#955344;min-height:20px;font-size:13px;margin:10px 0}.arrival-secondary{border-top:1px solid var(--line);margin-top:65px;padding-top:20px;font-family:Georgia,serif;font-size:16px;color:var(--muted);max-width:430px}.accept-note{font-family:Georgia,serif;font-size:22px;margin:30px 0 4px}.share-group{margin:28px 0 0}.share-group .support{margin:0 0 16px}.branch-url{display:block;font-size:12px;color:var(--muted);margin:13px 0 0;overflow-wrap:anywhere}.secondary-area{margin-top:56px;border-top:1px solid var(--line);padding-top:28px;display:grid;grid-template-columns:1fr 1.3fr;gap:40px}.secondary-area h2{font-size:20px}.secondary-area .text{color:var(--green);border-bottom:1px solid #aab8a4}.email-form label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.email-row{display:flex;gap:8px;flex-wrap:wrap}.email-row input{width:100%;min-width:0;background:transparent;border:1px solid #aeb6a5;border-radius:2px;padding:12px;font-size:15px}.email-submit{background:none;border:1px solid #aeb6a5;border-radius:2px;padding:10px 13px;font-size:12px;color:var(--green)}.explore-nav{display:flex;gap:26px;margin-top:28px}.explore-nav button{border-bottom:1px solid var(--line)}.children{margin-top:35px;border-top:1px solid var(--line);padding-top:24px}.child{display:block;border:0;background:none;border-bottom:1px solid var(--line);width:100%;text-align:left;padding:17px 0}.child span{display:block;font-family:Georgia,serif;font-size:22px;margin-top:8px}.child small{font-size:11px;color:var(--muted)}footer{border-top:1px solid var(--line);font-size:11px;color:var(--muted);padding-top:20px;padding-bottom:20px}footer .quiet{font-size:11px}.lineage{margin:35px 0 0 8px;border-left:2px solid #bcc9b5}.history-node{position:relative;padding:0 0 30px 30px}.history-node:last-child{padding-bottom:0}.history-node:before{content:'';position:absolute;left:-6px;top:5px;width:10px;height:10px;border:2px solid var(--green);background:var(--paper);border-radius:50%}.history-node:last-child:before{background:var(--green)}.history-node .sentence{font-size:clamp(26px,3.7cqi,38px);line-height:1.4;letter-spacing:-.6px;margin:12px 0}.history-node .eyebrow{margin:0;font-size:11px}.history-node .change{font-size:12px;margin:0}.tree-layout{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);gap:35px;align-items:start}.tree-canvas{width:100%;height:auto;display:block}.tree-edge{fill:none;stroke:#a5b69b;stroke-width:2}.tree-node rect{fill:var(--paper);stroke:#8da182;stroke-width:1.5}.tree-node text{fill:var(--green);font-family:Arial,sans-serif;font-size:14px;text-anchor:middle}.tree-node.selected rect{fill:var(--green);stroke:var(--green)}.tree-node.selected text{fill:white}.tree-node{cursor:pointer;outline-offset:3px}.tree-detail{border-left:1px solid var(--line);padding-left:28px}.tree-detail .sentence{font-size:clamp(29px,4cqi,42px);letter-spacing:-.8px}.tree-detail .eyebrow{margin-bottom:20px}.tree-key{font-size:11px;color:var(--muted);margin-top:16px}.end-count{font-size:12px;color:var(--muted);letter-spacing:1px}.spinner{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--green);margin-right:9px;animation:pulse 1s infinite alternate}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);max-width:500px;width:calc(100% - 32px);max-height:85dvh;padding:34px;border-radius:5px;box-shadow:0 20px 80px #18201925}dialog::backdrop{background:#1b271a70}dialog .close{float:right}dialog .eyebrow{clear:both;padding-top:20px}dialog p{font-size:15px}textarea{width:100%;padding:12px;margin-top:12px;background:transparent;border:1px solid var(--line);resize:none;color:var(--ink)}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;background:var(--ink);color:var(--paper);border-radius:4px;padding:0;font-size:13px;z-index:10}#toast:not(:empty){padding:13px 20px}@keyframes appear{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes pulse{to{opacity:.3}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}@container(max-width:600px){header,footer{padding:24px}.brand{font-size:11px;letter-spacing:1.7px}header .quiet{font-size:11px}main{padding:42px 24px}.sentence{font-size:36px;letter-spacing:-1px;line-height:1.35}.editing{line-height:1.85}.eyebrow{margin-bottom:26px;font-size:11px}.arrival-secondary{margin-top:45px}.secondary-area{grid-template-columns:1fr;gap:28px;margin-top:40px}.tree-layout{grid-template-columns:1fr;gap:20px}.tree-canvas{max-height:310px}.tree-detail{border-left:0;border-top:1px solid var(--line);padding:25px 0 0}.tree-detail .sentence{font-size:32px}.history-node{padding-left:22px}.history-node .sentence{font-size:27px}.accept-note{font-size:21px}footer{gap:14px;align-items:flex-start}footer span{max-width:145px}.actions{gap:20px}}

.editing .inherited-punctuation{opacity:.42}.consent{max-width:none}.rules-list{padding-left:22px;font-size:15px;line-height:1.65}.rules-list li{padding-left:6px;margin:17px 0}#about{max-width:620px}#about blockquote{font:27px/1.35 Georgia,serif;color:var(--green);margin:25px 0}#about p{line-height:1.65}.share-invitation{font:27px/1.35 Georgia,serif;clear:both;padding-top:15px;margin-bottom:10px}.share-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:24px 0 12px}.share-actions a{color:var(--green);font-size:13px;text-decoration:none}.share-actions a:hover{text-decoration:underline}@container(max-width:600px){.consent{max-width:100%}#about blockquote{font-size:24px}}

.challenge{margin:18px 0;min-height:1px}.challenge:empty{display:none}.secondary-area{grid-template-columns:1fr}.policy-link{font-size:11px;padding:2px 0}.report-link{display:block;margin-top:28px;font-size:11px}.tree-scroll{max-height:480px;overflow:auto}.tree-scroll .tree-canvas{min-width:300px;max-height:none}.tree-detail .sentence{overflow-wrap:anywhere}#reportReason{display:block;margin-top:12px;max-width:100%;padding:10px;background:var(--paper);color:var(--ink);border:1px solid var(--line)}dialog a{color:var(--green);overflow-wrap:anywhere}.tree-count{margin-top:0}

/* Navigation focus belongs on the main region without a page-sized ring. */
#main:focus{outline:none}.tree-node:focus-visible{outline:2px solid var(--green);outline-offset:5px}.consent{max-width:none}.privacy-section{border-top:1px solid var(--line);margin-top:30px;padding-top:24px}.privacy-section h2{font-size:20px}.privacy-section p{font-size:13px;color:var(--muted)}.secondary-area{grid-template-columns:1fr 1.3fr}@container(max-width:600px){.secondary-area{grid-template-columns:1fr}}

/* Keep subtree geometry at readable scale; clipping is an explicit viewport. */
.tree-layout>div{min-width:0}.tree-scroll{width:100%;max-width:100%;max-height:480px;overflow:auto;border:1px solid var(--line);border-radius:4px;overscroll-behavior:contain;scrollbar-gutter:stable}.tree-scroll .tree-canvas{max-width:none;max-height:none;min-width:0;flex:none}.tree-node:focus-visible rect{stroke:var(--ink);stroke-width:3}
/* BEGIN LIVING TREE */
#main.tree-mode{width:min(1120px,100%);padding:40px 40px 64px}@media(max-width:600px){#main.tree-mode{padding:28px 20px 40px}}
/* Approved Living Tree styles, contained to the mounted surface. */
.living-tree{--paper:#f5f1e8;--ink:#272c25;--muted:#717469;--green:#52735a;--line:#d9dccf;--wash:#e6ebdf;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
.living-tree *{box-sizing:border-box}
.living-tree button,.living-tree select{font:inherit;color:inherit}
.living-tree button{cursor:pointer;background:transparent;border:0;min-height:44px}
.living-tree button:hover{color:var(--green)}
.living-tree button:focus-visible,.living-tree select:focus-visible,.living-tree summary:focus-visible,.living-tree [tabindex]:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.living-tree .intro{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:36px}
.living-tree .eyebrow{font-size:11px;letter-spacing:1.9px;color:var(--muted);margin:0 0 18px}
.living-tree .intro h1{font:normal clamp(38px,5vw,58px)/1.12 Georgia,serif;letter-spacing:-1.7px;margin:0}
.living-tree .intro-note{font:16px/1.7 Georgia,serif;color:var(--muted);margin:0 0 5px}
.living-tree .tree-toolbar{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding-top:14px}
.living-tree .modes{display:flex;gap:22px}
.living-tree .modes button{font-size:12px;color:var(--muted);padding:0 3px}
.living-tree .modes button[aria-pressed=true]{color:var(--green);border-bottom:1px solid var(--green)}
.living-tree .context-bar{display:flex;justify-content:space-between;align-items:center;min-height:46px;font-size:11px;color:var(--muted)}
.living-tree .context-bar button{font-size:11px;color:var(--green)}
.living-tree #living-canvas{height:490px;overflow:auto;overscroll-behavior:contain;position:relative;border-radius:12px;background:radial-gradient(ellipse at 50% 42%,#e6ebdf66,transparent 66%);scrollbar-color:#bbc5b4 transparent;scrollbar-width:thin}
.living-tree #living-tree{display:block;max-width:none}
.living-tree .edge{fill:none;stroke:#b0bda7;stroke-width:1.5;pointer-events:none}
.living-tree .edge.ancestry{stroke:#617d62;stroke-width:2.2}
.living-tree .edge.context{stroke:#c9cfc0;stroke-dasharray:3 5}
.living-tree .node{cursor:pointer;outline:none}
.living-tree .node .hit{fill:transparent}
.living-tree .node .marker{fill:var(--paper);stroke:#83987a;stroke-width:1.5}
.living-tree .node .word{fill:#526448;font:15px Georgia,serif;text-anchor:middle}
.living-tree .node .ordinal{fill:#717469;font:9px Arial,sans-serif;text-anchor:middle}
.living-tree .node .continuation{fill:#64765c;font:10px Arial,sans-serif;text-anchor:middle}
.living-tree .node.context .marker{stroke:#b2bcaa}
.living-tree .node.context .word{fill:#7e8777}
.living-tree .node.selected .marker{fill:var(--green);stroke:var(--green)}
.living-tree .node.selected .halo{fill:none;stroke:#c6d2bc;stroke-width:1}
.living-tree .node.selected .word{fill:#304b35;font-weight:bold}
.living-tree .node:focus-visible .hit{fill:#e6ebdf88;stroke:var(--green);rx:12}
.living-tree .node:hover .marker{stroke:var(--ink);stroke-width:2.5}
.living-tree .tree-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:10px;color:var(--muted);padding-top:14px}
.living-tree .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);vertical-align:middle}
.living-tree .dot.pale{background:#b4bfaa}
.living-tree .line{display:inline-block;width:15px;border-top:1px solid var(--green);vertical-align:middle}
.living-tree .scope{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 0 28px}
.living-tree #living-detail{border-top:1px solid var(--line);padding-top:28px}
.living-tree .detail-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.living-tree .detail-heading .eyebrow{margin:0}
.living-tree .sentence{font:normal clamp(28px,3.5vw,42px)/1.4 Georgia,serif;letter-spacing:-.7px;max-width:860px;margin:22px 0 16px;overflow-wrap:anywhere}
.living-tree .sentence mark{background:transparent;color:var(--green)}
.living-tree .change{font-size:12px;color:var(--green);margin:0 0 22px}
.living-tree .stats{display:flex;gap:30px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding-bottom:22px}
.living-tree .stats strong{font-weight:500;color:var(--ink)}
.living-tree .branch-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.living-tree .branch-actions button{font-size:12px;padding:0 16px;border:1px solid #b2bda7;border-radius:24px;color:var(--green)}
.living-tree .branch-actions span{font-size:11px;color:var(--muted)}
.living-tree .children{margin-top:24px}
.living-tree .children-label{font-size:10px;letter-spacing:1.2px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;gap:12px}
.living-tree .children-label button{font-size:11px;letter-spacing:0;color:var(--green)}
.living-tree .child-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px}
.living-tree .child{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}
.living-tree .child small{font-size:10px;color:var(--muted)}
.living-tree .child span{font:18px Georgia,serif;overflow-wrap:anywhere;color:var(--green)}
.living-tree .child b{margin-left:auto;font-weight:normal;color:#909e86}
.living-tree .lineage-list{margin-top:26px;font-size:12px;color:var(--muted)}
.living-tree summary{cursor:pointer;min-height:44px;padding:14px 0}
.living-tree .lineage-items{display:flex;flex-wrap:wrap;gap:4px 16px;max-height:210px;overflow:auto;padding:4px}
.living-tree .lineage-items button{font-size:12px;color:var(--green)}
.living-tree .lab-controls{display:flex;gap:20px;flex-wrap:wrap;padding:16px 0}
.living-tree .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}
.living-tree [hidden]{display:none!important}
@media(max-width:600px){.living-tree .intro{display:block;margin-bottom:28px}
.living-tree .intro h1{font-size:39px;letter-spacing:-1px}
.living-tree .intro-note{margin-top:18px;font-size:14px}
.living-tree .tree-toolbar{gap:6px}
.living-tree .modes{gap:16px}
.living-tree .modes button{font-size:11px}
.living-tree #living-canvas{height:380px;margin:0 -8px;width:calc(100% + 16px)}
.living-tree .tree-caption{font-size:9px}
.living-tree .tree-caption>span:last-child{display:none}
.living-tree .context-bar{font-size:10px}
.living-tree .scope{font-size:10px}
.living-tree .sentence{font-size:29px}
.living-tree .stats{gap:12px 22px}
.living-tree .child-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.living-tree .child span{font-size:17px}
.living-tree .lab-controls{display:grid;grid-template-columns:1fr}
.living-tree .branch-actions{gap:12px}
.living-tree .detail-heading{font-size:10px}}
@media(prefers-reduced-motion:reduce){.living-tree *{scroll-behavior:auto!important}}
.living-tree .node .word,.living-tree .node .ordinal,.living-tree .node .continuation{paint-order:stroke;stroke:var(--paper);stroke-width:4px;stroke-linejoin:round}
.living-tree .detail-heading .eyebrow:last-child{flex-shrink:0;white-space:nowrap}
.living-tree #living-tree{margin-inline:auto}
@media(max-width:600px){.living-tree .children-label{align-items:flex-start;flex-direction:column;gap:0}
.living-tree .children-label>span:last-child:not(:first-child){display:flex;gap:24px}
.living-tree .children-label button{white-space:nowrap}}
.living-tree #living-canvas{overflow:hidden;touch-action:none;cursor:grab}
.living-tree #living-canvas.dragging{cursor:grabbing}
.living-tree #living-tree{width:100%;height:100%;margin:0;overflow:hidden;user-select:none}
.living-tree .edge{stroke-width:1;opacity:.65}
.living-tree .edge.ancestry{stroke-width:1.8;opacity:1}
.living-tree .edge.context{stroke-dasharray:none;opacity:.3}
.living-tree .node .hit{pointer-events:none}
.living-tree .node{cursor:inherit}
.living-tree .node .word{font-size:15px}
.living-tree .node .ordinal{font-size:9px}
.living-tree .node .word,.living-tree .node .ordinal{pointer-events:none}
.living-tree .node.context .marker{opacity:.65}
.living-tree .camera-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 24px;color:var(--muted);font-size:10px}
.living-tree .camera-bar>div{display:flex;gap:4px;flex-shrink:0}
.living-tree .camera-bar button{min-width:44px;font-size:18px;color:var(--green)}
.living-tree .camera-bar #living-fit{font-size:11px;padding:0 10px}
.living-tree .tree-caption{padding-top:12px}
.living-tree .node:focus-visible .marker{stroke:#263d29;stroke-width:3}
.living-tree .node .focus-ring{fill:none;stroke:var(--green);stroke-width:1.5;visibility:hidden}
.living-tree .node:focus-visible .focus-ring{visibility:visible}
@media(max-width:600px){.living-tree .camera-bar{font-size:9px;gap:4px}
.living-tree .camera-bar #living-fit{font-size:10px;padding:0 4px}
.living-tree .tree-caption>span:last-child{display:none}}
.living-tree .node .word,.living-tree .node .ordinal{pointer-events:visiblePainted;cursor:pointer}
/* Neutralize existing branch-page styles only within this approved surface. */
.living-tree p{line-height:normal}
.living-tree .eyebrow{font-weight:normal}
.living-tree .intro-note{line-height:1.7}
.living-tree .scope{line-height:1.6}
.living-tree .children{border-top:0;padding-top:0}
.living-tree .child span{margin-top:0}
.living-tree .sentence{text-wrap:wrap}
.living-tree .branch-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;padding:0 16px;border:1px solid #b2bda7;border-radius:24px;color:var(--green);text-decoration:none}
.living-tree .branch-actions a:hover{color:var(--ink)}
.living-tree a:focus-visible{outline:2px solid var(--green);outline-offset:3px}
