.clay-stream{color:#293c32;font:16px/1.6 system-ui,sans-serif;max-width:960px;margin:auto}.clay-stream>*{box-sizing:border-box}.clay-stream>label:not(.stream-static-option){display:block;font-weight:650;margin:18px 0 6px}.clay-stream textarea{width:100%;font:inherit;padding:13px;border:1px solid #9caa9e;border-radius:8px;background:#fffdf8;resize:vertical;min-height:100px}.stream-hint{font-size:13px;color:#526457;margin:6px 0 16px}.stream-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.clay-stream button{font:600 14px/1.4 system-ui,sans-serif;min-height:44px;padding:11px 17px;color:#293c32;background:#fffdf8;border:1px solid #87988b;border-radius:7px;cursor:pointer}.clay-stream button.primary{color:#fffdf8;background:#314b3c;border-color:#314b3c}.clay-stream button:disabled{opacity:.48;cursor:default}.clay-stream :focus-visible{outline:3px solid #b36d48;outline-offset:4px}.stream-stage{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#647975;isolation:isolate;box-shadow:0 8px 32px #283c3020}.stream-stage>img,.stream-stage>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.stream-stage>video:not([src]){visibility:hidden}.stream-leaf{position:absolute;width:70%;left:45%;top:70%;transform:translate(-50%,-50%);transform-origin:center;will-change:transform,left,top,opacity;pointer-events:none}.stream-leaf svg{width:100%;display:block;overflow:visible}.stream-leaf[hidden]{display:none}.stream-status{min-height:3.2em;font-size:15px;margin:16px 0 0}.stream-static-option{display:flex;align-items:center;gap:10px;font-size:14px}.stream-static-option input{width:20px;height:20px;accent-color:#314b3c}.stream-equivalent{margin-top:20px;border-top:1px solid #cbd0c4;padding-top:12px}.stream-equivalent summary{cursor:pointer;padding:10px 0}.stream-full-thought{white-space:pre-wrap;overflow-wrap:anywhere}.stream-no-media:before{content:'A still stream â€” notice thinking without needing motion.';position:absolute;padding:20px;color:#fff;max-width:80%;font-size:15px}.stream-stage img[hidden],.stream-stage video[hidden]{display:none}@media(max-width:450px){.clay-stream button{flex-grow:1;padding:11px 12px}.stream-stage{border-radius:8px}.stream-actions{gap:8px}.stream-status{font-size:14px}.stream-leaf{width:70%}}@media print{.stream-stage,.stream-actions,.clay-stream textarea,.stream-static-option{display:none}}
.stream-stage>canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.stream-stage>canvas[hidden]{display:none}.stream-current-thought{font-size:18px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.6em;margin:16px 0}.stream-status{min-height:3.2em}

.leaf-card-preview{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#ebe9de}.leaf-card-preview img{display:block;width:100%;height:auto}.leaf-card-preview figcaption{padding:18px 22px;font-size:14px;line-height:1.6}.leaf-practice-module .stream-mount{min-width:0}

.stream-reflection{margin:28px 0;border-top:1px solid #cbd0c4;padding-top:22px}.stream-reflection h2,.stream-reflection h3{font-family:Georgia,serif;line-height:1.25}.stream-reflection details{padding:18px;background:#eeeee5;border:1px solid #cbd0c4;border-radius:10px;margin:18px 0}.stream-reflection summary{cursor:pointer;font-weight:650;padding:8px 0}.stream-reflection label{display:block;font-weight:600;margin:18px 0 6px}.stream-reflection .meta{font-size:14px;color:#526457}.stream-reflection .feedback{padding:20px;background:#f7f4ed;border-left:4px solid #a5573f;margin:18px 0}.stream-reflection [tabindex="-1"]:focus{outline:3px solid #b36d48;outline-offset:4px}.stream-reflection [hidden]{display:none!important}.stream-reflection .thought-words{white-space:pre-wrap;overflow-wrap:anywhere}
.leaf-practice-module .actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.leaf-practice-module .actions>*{max-width:100%}@media(max-width:450px){.leaf-practice-module .actions>*{width:100%;white-space:normal}}
