.living-tree{--lt-ink:#2d493c;--lt-line:#dcded1;color:var(--lt-ink);background:#f8f7f0;border:0;overflow:hidden;isolation:isolate;position:relative;display:flex;width:100%;height:100%;min-height:0;container:livingTree / size}
.living-tree button{border:1px solid var(--lt-line);border-radius:8px;background:#fffef8;color:var(--lt-ink);padding:9px 13px;font-size:13px;font-weight:500;min-height:38px}
.living-tree button:hover{background:#edf1e5;border-color:#9faf99}.living-tree button:focus-visible,.living-tree input:focus-visible,.living-tree select:focus-visible{outline:3px solid #9b793a;outline-offset:3px}
.living-tree [hidden]{display:none!important}.lt-heading{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:23px 22px 16px;flex-shrink:0}
.lt-kicker{font-size:10px;letter-spacing:3px;color:#8a987e;margin:0 0 8px}.lt-heading h2{font-family:"Songti SC","Noto Serif CJK SC",serif;font-weight:500;font-size:22px;line-height:1.35;text-wrap:balance;letter-spacing:.5px;margin:0 12px 0 0;overflow-wrap:anywhere}.lt-subtitle{font-size:11px;margin:9px 0 0;color:#7e8978}.lt-heading>button{background:transparent;white-space:nowrap}
.lt-toolbar{display:flex;flex-direction:column;gap:14px;padding:0 22px 17px;flex-shrink:0}.lt-search{position:relative;z-index:8;width:100%}.lt-search>label{font-size:11px;letter-spacing:1px;display:block;margin-bottom:7px;color:#677b68}.lt-search-field{display:flex;align-items:center;background:#fffef9;border:1px solid #d7decd;border-radius:9px;padding-left:13px}.lt-search-field>span{font-size:25px;color:#72866e}.living-tree .lt-search input{width:100%;background:transparent;border:0;box-shadow:none;border-radius:9px;padding:12px;font-size:13px;min-width:0;margin:0}
.lt-results{position:relative;margin-top:6px;max-height:min(310px,35dvh);overflow:auto;overscroll-behavior:contain;background:#fffef9;border:1px solid #d7decd;border-radius:10px;box-shadow:0 12px 30px #29453520}.lt-results button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;border:0;border-radius:0;border-bottom:1px solid #edf0e6;width:100%;padding:13px}.lt-results small{font-size:11px;line-height:1.6;overflow-wrap:anywhere;color:#798474}.lt-results p{padding:15px;font-size:12px;line-height:1.8;margin:0}
.lt-stats{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;width:100%}.lt-stats>button{width:100%}.lt-stats>strong{font-family:Georgia,serif;font-size:24px;font-weight:400;display:flex;gap:7px;align-items:baseline;white-space:nowrap}.lt-stats small{font-family:system-ui,sans-serif;font-size:11px;color:#84907d;font-weight:400}
.lt-body{display:flex;flex:1;position:relative;min-width:0;min-height:0}.lt-stage{position:relative;flex:1;min-width:0;height:100%;overflow:hidden;background:radial-gradient(ellipse at 50% 42%,#fffff7 0%,#f5f4e9 65%,#e9eddf 100%)}
.living-tree-canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px!important}.lt-scene-note{position:absolute;top:76px;left:27px;pointer-events:none;z-index:1;text-shadow:0 1px 5px #ffffffc9}.lt-scene-note>span{font-family:"Songti SC",serif;letter-spacing:5px;font-size:17px;color:#425c4e}.lt-scene-note p{font-size:10px;line-height:1.8;letter-spacing:1px;color:#526b5c;margin-top:12px}
.lt-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(370px,85%);padding:25px;border:1px solid var(--lt-line);border-radius:12px;background:#fffff4ef;color:#64775e;line-height:1.9;font-size:14px;text-align:center;z-index:4}
.living-tree-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2}

.has-person .lt-scene-note{opacity:.35}

.lt-view-controls{position:absolute;right:18px;bottom:42px;display:flex;flex-direction:column;gap:6px;z-index:3}.lt-view-controls button{padding:4px;width:36px;min-height:36px;font-size:20px;background:#fffef5ed}.lt-gesture{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);margin:0;padding:5px 12px;border-radius:20px;background:#ffffefe0;text-align:center;color:#4e654c;font-size:10px;pointer-events:none;letter-spacing:1px}
.lt-person{position:absolute;top:18px;right:18px;bottom:auto;width:264px;max-height:calc(100% - 60px);padding:25px 21px;background:#fffdf3ed;backdrop-filter:blur(16px);overflow:auto;border:1px solid #fdf9e4b3;border-radius:16px;box-shadow:0 12px 48px #34462e16;overscroll-behavior:contain;z-index:5}.lt-person h3{font:500 30px "Songti SC",serif;margin:0 30px 7px 0;overflow-wrap:anywhere}.lt-person-meta{font-size:12px;color:#839077;margin:0 0 15px}.living-tree .lt-close-person{position:absolute;right:12px;top:13px;border:0;background:transparent;font-size:22px;padding:0;width:34px;min-height:34px}.lt-person dl{margin:0}.lt-detail-row{display:flex;gap:12px;font-size:11px;line-height:1.8;padding:5px 0}.lt-detail-row dt{flex:0 0 48px;color:#88947d}.lt-detail-row dd{margin:0;overflow-wrap:anywhere}.lt-person h4{font-size:12px;margin:0 0 12px;font-weight:600}.lt-person h4 small{color:#98a18c;font-weight:400;margin-left:5px}.lt-ancestry{border-top:1px solid var(--lt-line);margin-top:18px;padding-top:18px}.lt-ancestry>p{font-size:10px;color:#99a08e;line-height:1.7;margin:12px 0 0}.lt-path{display:flex;flex-wrap:wrap;align-items:center;max-height:150px;overflow:auto;gap:5px;padding-right:5px}.lt-path-link{font-size:9px;color:#b39961;padding:1px 0;white-space:nowrap}.living-tree .lt-relative{background:#f1f3e8;border:0;font-size:11px;min-height:30px;text-align:left;padding:6px 9px;overflow-wrap:anywhere;max-width:100%}.lt-relatives{margin-top:20px}.lt-relatives>div{display:flex;flex-wrap:wrap;gap:5px;max-height:170px;overflow:auto}.lt-person-actions{display:grid;gap:8px;margin-top:16px}.lt-person-actions button:first-child{background:#355c42;border-color:#355c42;color:#fff8e6}.lt-person-id{display:block;font-size:9px;color:#a0a693;overflow-wrap:anywhere;margin-top:14px}
.lt-footer{position:relative;flex-shrink:0;padding:15px 22px 12px;margin-top:auto;border-top:1px solid var(--lt-line);background:#f8f7f0;z-index:10}.lt-playback{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px}.lt-playback button{white-space:nowrap}.lt-playback>button:first-child{background:#355c42;border-color:#355c42;color:#fffae8;min-width:88px}.lt-timeline{grid-column:1/-1;grid-row:1;min-width:0;display:flex;flex-direction:column;margin:0 0 8px;gap:9px}.lt-timeline>span{font-size:10px;color:#839174}.living-tree .lt-timeline input{padding:0;width:100%;height:14px;margin:0;accent-color:#789567;box-shadow:none;border:0;cursor:pointer}.lt-speed select{padding:8px 5px;font-size:11px;border:1px solid var(--lt-line);background:transparent;color:#72836a;border-radius:6px;width:auto;margin:0}.lt-footnote{font-size:10px;line-height:1.8;color:#77816d;padding-top:8px}.lt-footnote summary{cursor:pointer}.lt-footnote>div{position:absolute;bottom:40px;left:14px;right:14px;display:grid;gap:8px;padding:16px;border:1px solid var(--lt-line);border-radius:10px;background:#fffef7;box-shadow:0 8px 24px #30432918}.lt-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Keep the 3D workspace flush with the viewport; other tabs keep their layout. */
.living-tree-screen.app-shell{height:100dvh;min-height:0;overflow:hidden}
.living-tree-screen.app-shell>.sidebar{min-height:0;overflow:auto}
.living-tree-screen>.main{min-height:0;overflow:hidden}
.living-tree-screen>.main>.topbar{display:none}
.living-tree-screen.app-shell .content{height:100%;min-height:0;max-width:none;padding:0;margin:0}
.lt-sidebar{position:relative;display:flex;flex-direction:column;flex:0 0 280px;width:280px;min-height:0;height:100%;overflow:hidden;overscroll-behavior:contain;background:#f8f7f0;border-right:1px solid var(--lt-line);z-index:9}
.living-tree .lt-close-sidebar{position:absolute;top:12px;right:10px;border:0;background:transparent;width:32px;min-height:32px;padding:0;font-size:26px}
.living-tree .lt-sidebar-toggle{position:absolute;top:18px;left:18px;z-index:6;display:flex;align-items:center;gap:8px;background:#fffef8ee;box-shadow:0 3px 12px #29453512}
.lt-sidebar-open .lt-sidebar-toggle{display:none}
.living-tree .lt-sidebar-backdrop{position:absolute;inset:0;z-index:8;border:0;border-radius:0;background:#173e2d20;padding:0}
.has-person .lt-view-controls{right:296px}
.living-tree.lt-expanded{position:fixed;inset:0;z-index:1000;height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
#canvas-living-tree{font-size:11px;font-weight:700;width:43px;letter-spacing:0}
@media(max-width:1100px){
  .lt-sidebar{position:absolute;left:0;top:0;bottom:0;width:min(300px,calc(100% - 48px));box-shadow:12px 0 40px #29453520}
}
@media(min-width:601px) and (max-width:820px){
  .living-tree-screen.app-shell{display:grid;grid-template-columns:190px minmax(0,1fr)}
  .living-tree-screen.app-shell>.sidebar{display:flex;flex-direction:column;padding:20px 12px}
  .living-tree-screen .nav-list{display:grid;margin:0;overflow:visible}
  .living-tree-screen .nav-list button{width:100%}
  .living-tree-screen .sidebar-bottom{display:block;margin-top:auto}
  .living-tree-screen .main-navigation-toggle{display:grid;place-items:center;position:absolute;top:22px;left:144px;width:36px;height:36px;padding:0;border:1px solid #ffffff42;border-radius:9px;background:#173e2d;color:#fff;z-index:20;font-size:30px;line-height:1}
  .living-tree-screen.main-navigation-collapsed{grid-template-columns:44px minmax(0,1fr)}
  .living-tree-screen.main-navigation-collapsed>.sidebar{display:none}
  .living-tree-screen.main-navigation-collapsed>.main-navigation-toggle{left:4px}
}
@media(max-width:600px){
  .living-tree-screen.app-shell{display:flex;flex-direction:column}
  .living-tree-screen.app-shell>.sidebar{flex:none}
  .living-tree-screen>.main{flex:1}
  .lt-scene-note{top:76px;left:18px}.lt-scene-note>span{font-size:13px;letter-spacing:4px}.lt-scene-note p{font-size:9px;margin-top:9px}
  .lt-person{top:auto;right:8px;left:8px;bottom:8px;width:auto;max-height:42%;padding:16px}.lt-person h3{font-size:23px}.lt-person-meta{margin-bottom:8px}.lt-person .lt-kicker{display:none}
  .has-person .lt-view-controls{right:18px;bottom:auto;top:18px}
  .lt-gesture{font-size:8px;letter-spacing:0}
}
@media(prefers-reduced-motion:reduce){.living-tree *{scroll-behavior:auto!important;transition:none!important}}

.lt-generation{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:0 22px 12px}.lt-generation h3{flex-shrink:0;font-size:12px;font-weight:500;margin:0 0 10px;color:#677653}.lt-generation>div{display:flex;align-content:flex-start;gap:6px;flex-wrap:wrap;min-height:0;overflow:auto;overscroll-behavior:contain}.lt-generation p{flex-shrink:0;font-size:10px;line-height:1.7;color:#929780;margin:10px 0 0}

/* Named leaves are painted in the 3D scene; these exact-position buttons make
   them reachable by keyboard without drawing a second set of labels. */
.living-tree .lt-abstract-name{position:absolute;left:0;top:0;pointer-events:auto;padding:0;min-height:0;border:0;border-radius:70% 15% 70% 15%;background:transparent;color:transparent;box-shadow:none}
.living-tree .lt-abstract-name:hover{background:#fff7c32b;border:0;box-shadow:0 0 12px #a8b87844}
.living-tree .lt-abstract-name.is-selected{box-shadow:0 0 18px #c4b46755}

.lt-leaf-preview{position:absolute;z-index:7;pointer-events:none;max-width:min(260px,calc(100% - 16px));padding:11px 15px;border:1px solid #ece9d5;border-radius:12px;background:#fffdf2f5;box-shadow:0 6px 24px #31462c18;color:#304c38}.lt-leaf-preview strong{display:block;font:500 20px "Songti SC",serif}.lt-leaf-preview span{display:block;margin-top:4px;font-size:11px;line-height:1.5;color:#708264}
.living-tree .lt-return-view{position:absolute;top:20px;left:24px;z-index:4;background:#fffcefef;box-shadow:0 3px 18px #30432910;font-size:12px}
.living-tree .lt-abstract-name.is-selected{box-shadow:0 0 18px 7px #e9c66e50;border:1px solid #f7e9af99}
@media(max-width:1100px){.living-tree .lt-return-view{top:68px;left:18px}.has-person .lt-scene-note{display:none}}
@media(max-height:600px){.lt-heading{padding:16px 22px 10px;gap:7px}.lt-heading h2{font-size:19px}.lt-heading .lt-subtitle,.lt-heading .lt-kicker,.lt-generation p{display:none}.lt-toolbar{padding-bottom:10px;gap:8px}.lt-footer{padding-top:10px}.lt-generation{padding-bottom:8px}}
@media(max-height:440px){.lt-heading>button{display:none}.lt-heading h2{font-size:17px}.lt-stats>strong{font-size:19px}.lt-search>label{display:none}.lt-generation h3{margin-bottom:5px}.lt-playback{gap:5px}.lt-timeline{margin-bottom:0;gap:3px}.lt-footer{padding-bottom:5px}}

@container livingTree (max-height:620px){.lt-heading{padding:16px 22px 10px;gap:7px}.lt-heading h2{font-size:19px}.lt-heading .lt-subtitle,.lt-heading .lt-kicker,.lt-generation p{display:none}.lt-toolbar{padding-bottom:10px;gap:8px}.lt-footer{padding-top:10px}.lt-generation{padding-bottom:8px}}

/* Quiet film controls stay in the sidebar; captions sit in reserved foreground. */
.lt-media-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px;margin-top:10px;padding-top:9px;border-top:1px solid var(--lt-line);align-items:center}
.living-tree .lt-media-controls button{min-height:32px;font-size:11px;padding:6px 5px;white-space:nowrap;background:transparent}
.living-tree .lt-media-controls button[aria-pressed="true"]{color:#4f6748;background:#edf0e2;border-color:#bdc9ac}
.lt-volume{grid-column:1/-1;grid-row:2;display:flex;gap:6px;align-items:center;margin:0 68px 0 0;font-size:9px;color:#7b876e;min-width:0}
.living-tree .lt-volume input{padding:0;min-width:20px;width:100%;height:16px;margin:0;accent-color:#789567;border:0;box-shadow:none}.lt-volume span,.lt-volume output{flex-shrink:0}.lt-volume output{width:24px;text-align:right}
.living-tree [data-lt-captions]{grid-column:2;grid-row:2;justify-self:end;border:0;min-height:24px;font-size:10px;padding:3px 7px}
/* The lower third belongs to the closing words; framing leaves room above it. */
.lt-caption{position:absolute;z-index:3;bottom:clamp(70px,13.5%,120px);left:20px;right:20px;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;text-align:center;color:#294631;text-shadow:0 1px 10px #ffffeeb3;font-family:"Songti SC","Noto Serif CJK SC",serif}
.lt-caption::before{content:"";position:absolute;z-index:-1;left:-6%;right:-6%;top:-35%;bottom:-35%;background:radial-gradient(ellipse at 50% 50%,#fcfae86b,transparent 67%);pointer-events:none}
.lt-caption>span{animation:lt-caption-reveal 2.8s both cubic-bezier(.22,.61,.36,1)}
.lt-caption-rule{display:block;width:64px;height:1px;margin-bottom:5px;background:linear-gradient(90deg,transparent,#a28b546e 30%,#a28b5499 50%,#a28b546e 70%,transparent);transform-origin:center;animation:lt-caption-rule 2.5s both!important}
.lt-caption-main{font-size:clamp(21px,2.25vw,30px);letter-spacing:.12em;padding-left:.12em;line-height:1.25;font-weight:400}
.lt-caption-first{animation-delay:.4s!important}.lt-caption-second{animation-delay:2.3s!important}
.lt-caption-sub{margin-top:9px;font-size:12px;letter-spacing:.25em;padding-left:.25em;color:#596449;animation-delay:4.4s!important}
.lt-caption-brand{margin-top:3px;font-family:Georgia,serif;font-size:12px;letter-spacing:.3em;padding-left:.3em;color:#626345;animation-delay:5.8s!important}
.lt-caption-verse{font-size:clamp(17px,1.55vw,23px);letter-spacing:.2em;padding-left:.2em;line-height:1.5}
.lt-caption:not([data-chapter="final"]){bottom:24%}
@keyframes lt-caption-reveal{from{opacity:0;transform:translateY(7px);filter:blur(2px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes lt-caption-rule{from{opacity:0;transform:scaleX(.25)}to{opacity:1;transform:scaleX(1)}}
@container livingTree (max-height:720px){.lt-heading{padding:16px 22px 10px;gap:7px}.lt-heading h2{font-size:19px}.lt-heading .lt-subtitle,.lt-heading .lt-kicker,.lt-generation p{display:none}.lt-toolbar{padding-bottom:10px;gap:8px}.lt-footer{padding-top:10px}.lt-generation{padding-bottom:8px}}
@container livingTree (max-height:500px){.lt-heading>button{display:none}.lt-media-controls{margin-top:5px;padding-top:5px}.lt-footnote{padding-top:3px}.lt-playback{gap:5px}.lt-timeline{gap:3px;margin-bottom:0}.lt-generation h3{margin-bottom:4px}}
@media(max-width:600px){.lt-caption{left:12px;right:12px;bottom:14%;gap:8px}.lt-caption-main{font-size:clamp(19px,6vw,25px)}.lt-caption-sub{font-size:10px}.lt-caption-brand{font-size:10px}.lt-caption:not([data-chapter="final"]){bottom:25%}}
@media(prefers-reduced-motion:reduce){.lt-caption>span{animation:none!important}}
@container livingTree (max-height:580px){
  .lt-heading>button{display:none}.lt-heading{padding:12px 18px 9px}.lt-toolbar{padding:0 18px 10px}.lt-generation{padding-left:18px;padding-right:18px}
  .lt-footer{padding:9px 18px 9px}.lt-playback{gap:6px}.lt-playback button{min-height:32px;padding:5px 8px;font-size:11px}.lt-speed select{padding:5px;font-size:10px}.lt-timeline{margin-bottom:1px;gap:5px}
  .lt-media-controls{margin-top:7px;padding-top:6px}.lt-footnote{padding-top:5px}
}

.lt-studio-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.living-tree .lt-studio-actions button{padding:5px 2px;min-height:30px;font-size:10px;background:transparent}.lt-studio-status{font-size:10px;line-height:1.6;color:#657651;margin:7px 0 0}.living-tree [data-lt-film-cancel]{width:100%;margin-top:6px;font-size:11px}
.living-tree .lt-caption{inset:0;display:block;gap:0;pointer-events:none}.living-tree .lt-caption>span{position:absolute;left:50%;transform:translateX(-50%);white-space:pre;line-height:1.25;padding:0;margin:0;animation:none!important;font-weight:400}.lt-caption .lt-story-brand{font-family:Georgia,serif}.lt-caption .lt-story-rule{width:64px;height:1px;background:linear-gradient(90deg,transparent,#a28b548c,transparent)}.living-tree .lt-caption::before{display:none}
.living-tree .lt-quiet-exit{position:absolute;bottom:20px;right:20px;z-index:15;background:#f9f8e9dc;font-size:11px;border-radius:24px;opacity:0;transition:opacity .6s;pointer-events:none}.lt-quiet-ui .lt-quiet-exit,.living-tree .lt-quiet-exit:focus-visible{opacity:1;pointer-events:auto}.lt-quiet .lt-sidebar-toggle,.lt-quiet .lt-view-controls,.lt-quiet .lt-leaf-preview,.lt-quiet .lt-return-view{display:none!important}
.lt-dialog{color:#304c39;background:#fbfaf3;border:1px solid #d9dfce;border-radius:18px;width:min(900px,calc(100vw - 32px));max-height:88dvh;padding:22px;box-shadow:0 25px 100px #102e2855;box-sizing:border-box}.lt-dialog::backdrop{background:#233c3559;backdrop-filter:blur(5px)}.lt-dialog form{margin:0}.lt-dialog header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.lt-dialog h3{font:500 26px "Songti SC",serif;margin:0}.lt-dialog header>button{border:0;background:transparent;font-size:24px;min-width:36px;padding:0}.lt-dialog footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;border-top:1px solid #dcded1;padding-top:16px;margin-top:18px}.lt-dialog footer span{font-size:11px;flex:1}.lt-dialog footer>button:last-child{background:#355c42;color:#fffbe8;border-color:#355c42}.lt-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.85fr);gap:28px}.lt-caption-fields{display:grid;gap:13px}.lt-caption-field{display:grid;gap:5px;margin:0}.lt-caption-field>span{display:flex;justify-content:space-between;gap:8px;font-size:12px}.lt-caption-field small{font-size:10px;line-height:1.6;color:#7c886f}.lt-caption-field input{width:100%;box-sizing:border-box;margin:0;padding:10px;font-size:13px;border:1px solid #d7decd;border-radius:7px;background:#fffef9;color:#304c39}.lt-editor-preview{align-self:start;position:sticky;top:0}.lt-editor-preview>label{display:flex;gap:14px;align-items:center;font-size:12px}.lt-editor-preview select{width:auto;min-width:88px;margin:0;padding:5px;font-size:11px}.lt-editor-preview canvas{width:100%;height:auto;display:block;border:1px solid #e2e5d7;border-radius:10px;margin:12px 0 20px}.lt-editor-preview details{font-size:12px;line-height:1.9}.lt-editor-preview p{font-size:11px;color:#73816a}.lt-film-dialog{width:min(620px,calc(100vw - 32px))}.lt-film-dialog p{font-size:13px;line-height:1.9;color:#6c7c60}.lt-film-dialog video{width:100%;border-radius:9px;background:#cedac1}.lt-film-dialog a{display:inline-block;padding:10px 18px;border-radius:8px;color:#fffbe9;background:#355c42;text-decoration:none;font-size:13px}.lt-film-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#e0e6d3;z-index:12;pointer-events:none}.lt-recording .lt-stage{pointer-events:none}.lt-recording .lt-view-controls,.lt-recording .lt-caption,.lt-recording .living-tree-labels{visibility:hidden}
@media(max-width:600px){.lt-dialog{padding:17px}.lt-editor-layout{grid-template-columns:1fr;gap:18px}.lt-editor-preview{position:static;grid-row:1}.lt-editor-preview canvas{max-height:165px;object-fit:contain}.lt-editor-preview details:not([open]){margin-bottom:5px}.lt-dialog h3{font-size:23px}}
@container livingTree (max-height:580px){.lt-studio-actions{margin-top:5px}.lt-studio-actions button{min-height:26px!important}.lt-footnote{font-size:9px}}

.lt-leaf-preview .lt-leaf-stats{font-size:13px;font-weight:600;color:#355c42;margin-top:7px}.lt-leaf-stats-note{display:block;margin-top:4px;font-size:10px;line-height:1.5;color:#778470}

.lt-music-note{grid-column:1/-1;font-size:10px;line-height:1.5;color:#657651}.lt-music-note[hidden]{display:none}
.living-tree .lt-studio-actions [data-lt-film]{grid-column:1/-1;min-height:36px;font-size:12px;background:#355c42;color:#fffbe8;border-color:#355c42}

/* Playback stays outside the canvas, leaving its caption composition intact. */
.lt-scope-label{font-size:11px;color:#526b51;margin:6px 0;line-height:1.5}
.lt-mobile-controls{display:none}
.lt-film-dialog [data-lt-film-result-description]{font-weight:600;color:#304c39;margin-bottom:5px}
.lt-film-dialog [data-lt-film-stale]{background:#f2e8cc;color:#685025;padding:10px 12px;border-radius:8px}
@media(max-width:1100px){
  .lt-body{flex-direction:column}.lt-stage{height:auto;min-height:0}
  .lt-mobile-controls{display:flex;align-items:center;gap:8px;padding:7px 10px max(7px,env(safe-area-inset-bottom));background:#f8f7ed;border-top:1px solid #d7ded2;flex:none;z-index:9}
  .living-tree .lt-mobile-controls button{font-size:12px;padding:7px 9px;min-height:40px;white-space:nowrap}
  .lt-mobile-controls label{flex:1;min-width:36px;display:flex;flex-direction:column;font-size:10px;gap:2px;text-align:center;margin:0}
  .lt-mobile-controls input{width:100%;min-width:0;margin:0;accent-color:#355c42;height:22px}
  .lt-mobile-controls [hidden]{display:none}.lt-quiet .lt-mobile-controls{display:none}
  .lt-person{bottom:72px;max-height:calc(100% - 110px)}
  .lt-recording .lt-mobile-controls>button:not([data-lt-mobile-cancel]),.lt-recording .lt-mobile-controls label{display:none}
  .lt-recording .lt-mobile-controls [data-lt-mobile-cancel]{margin-left:auto}
}
