:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#303731;background:#f7f6f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #69987c;outline-offset:5px}header{height:96px;display:flex;align-items:center;justify-content:space-between;margin:0 5%;border-bottom:1px solid #e1e3da}.brand{text-decoration:none;color:#2c3c32;font-size:27px;font-weight:750;letter-spacing:-1.3px;display:flex;align-items:center;gap:11px}.brand-mark{font-size:38px;color:#638775}.edition{font-size:11px;letter-spacing:1px;margin-left:17px;font-weight:400;color:#7e857b}.live{font-size:11px;color:#7e857b;letter-spacing:.5px;display:flex;gap:8px;align-items:center}.live i{width:6px;height:6px;background:#7aa387;border-radius:100%}main{max-width:1600px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 330px;padding:34px 5% 22px;gap:32px}.stage{position:relative;min-height:660px;border:1px solid #e2e5dc;background:radial-gradient(ellipse at 50% 50%,#fff 0%,#f3f4ed 80%);border-radius:22px;overflow:hidden}.intro{position:absolute;left:32px;top:31px;z-index:1;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2px;color:#8c9489;font-weight:600}h1{font-size:32px;font-weight:500;line-height:1.45;letter-spacing:-1.3px;margin:17px 0 12px}h1 span{display:block;color:#738d76}.intro p{font-size:11px;line-height:1.9;color:#8a9186;margin:0}canvas{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.character-caption{position:absolute;left:32px;bottom:100px;pointer-events:none}.character-caption>span{font-size:9px;letter-spacing:2px;color:#9ca295}.character-caption h2{font-size:23px;font-weight:500;margin:11px 0 8px}.character-caption p{font-size:10px;color:#8c9489;margin:0}.picker{position:absolute;bottom:66px;left:50%;transform:translateX(-50%);display:flex;gap:7px;border-radius:50px;padding:9px;background:#ffffffd9;box-shadow:0 8px 25px #3648370c;border:1px solid #fff;backdrop-filter:blur(12px)}.picker button{width:48px;height:48px;border-radius:100%;border:1px solid transparent;background:transparent;display:grid;place-items:center;transition:.2s}.picker button.selected{background:white;border-color:#d5decf;box-shadow:0 2px 8px #253c2710}.picker button:hover{transform:translateY(-3px)}.mini{display:grid;place-items:center;width:27px;height:30px;border-radius:45% 45% 42% 42%;font-size:11px;letter-spacing:3px;padding-left:3px;color:#35403b;box-shadow:inset -3px -3px 7px #00000010}.blue{background:#7194ef}.green{background:#b5cb91}.yellow{background:#e9c96b;clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0}.purple{background:#b49ccd;border-radius:40% 40% 60% 60%}.pink{background:#e6afa9;border-radius:50%}.stage-hint{position:absolute;bottom:25px;left:0;right:0;display:flex;justify-content:center;gap:26px;font-size:10px;color:#939b90}.panel-heading{margin:19px 0 24px}.panel-heading h2{font-size:23px;letter-spacing:-.6px;font-weight:500;margin:15px 0 9px}.panel-heading p{font-size:11px;color:#949b91;margin:0}.presets{display:flex;gap:6px;margin-bottom:27px}.presets button{font-size:10px;flex:1;border:1px solid #dfe4d8;background:transparent;border-radius:7px;padding:10px 0;color:#858f80}.presets .active{background:#e6ecdf;border-color:#cad7bf;color:#536a4e}.control{margin-bottom:23px}.control label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#626e5e}.control label>span{display:flex;align-items:center;gap:8px}.control small{font-size:8px;color:#a6ada1;letter-spacing:1px}.control output{font-family:monospace;color:#7e8e77;font-size:11px}input[type=range]{width:100%;height:3px;appearance:none;background:linear-gradient(to right,#8ca181 var(--fill,50%),#e0e4da var(--fill,50%));border-radius:5px;margin:18px 0 0;display:block;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:11px;height:11px;border-radius:50%;background:#6d8762;border:2px solid #f7f6f2;box-shadow:0 0 0 1px #6d8762}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#6d8762;border:2px solid #f7f6f2}.divider{height:1px;background:#e2e5dc;margin:30px 0 22px}.section-title{font-size:11px;color:#626e5e;display:flex;justify-content:space-between}.section-title span{font-size:8px;color:#a6ada1;letter-spacing:1px}.light-options{display:flex;background:#ecefe6;border-radius:8px;padding:4px;margin-top:15px}.light-options button{flex:1;border:0;background:transparent;font-size:10px;color:#8a9483;border-radius:5px;padding:8px}.light-options .active{background:#fff;color:#5e7455;box-shadow:0 1px 5px #00000005}.panel-actions{display:flex;gap:9px;margin-top:25px}.panel-actions button{background:#6e8664;color:#fff;border:0;border-radius:8px;height:39px;font-size:11px}.panel-actions #bounce{flex:1}.panel-actions #reset{width:40px;background:#e7ebdf;color:#6d8363;font-size:20px}.note{display:flex;gap:11px;margin:24px 0 0;color:#9ca692}.note>span{font-size:22px}.note p{font-size:10px;line-height:1.8;margin:0}.note small{font-size:9px;color:#aab2a2}footer{display:flex;justify-content:space-between;align-items:center;margin:0 5%;padding:17px 0 22px;border-top:1px solid #e1e3da;font-size:8px;letter-spacing:1.5px;color:#9ba493}footer button{border:0;background:none;color:#86927b;font-size:9px}#error{position:absolute;top:45%;left:10%;right:10%;padding:25px;background:white;border:1px solid #d6ddd0;border-radius:12px;z-index:5;font-size:14px;line-height:1.8}@media(min-width:1400px){.stage{min-height:740px}}@media(max-width:1000px){.edition{display:none}main{grid-template-columns:minmax(0,1fr) 260px;gap:20px;padding:24px 3%}.intro{left:23px}h1{font-size:27px}.character-caption{left:23px;bottom:157px}.stage{min-height:650px}.picker button{width:40px;height:40px}}@media(max-width:700px){header{height:73px;margin:0 5%}.brand{font-size:23px}.brand-mark{font-size:31px}.live{font-size:8px}.live i{display:none}main{display:flex;flex-direction:column;padding:18px 4%;gap:14px}.stage{min-height:580px}.intro{top:22px;left:23px}h1{font-size:26px;margin-top:12px}.intro p{font-size:10px}.character-caption{bottom:145px}.character-caption h2{font-size:20px}.character-caption p{max-width:100px;line-height:1.7}.picker{bottom:63px}.stage-hint{gap:16px;font-size:9px}aside{padding:5px 17px 20px}.panel-heading{margin-bottom:20px}#controls{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.control{margin-bottom:25px}.divider{margin-top:10px}footer{letter-spacing:.6px;gap:10px}footer>span:first-child{font-size:7px}}

/* Second edition: tactile fibers, compact controls, and a stable stage. */
main{align-items:start}.stage{height:760px;min-height:760px;position:sticky;top:24px}.intro p{max-width:190px}.panel-heading{margin-top:12px}.presets{margin-bottom:7px}.presets button{font-size:10px}.wool-preset{display:block;width:100%;padding:8px;background:transparent;border:1px solid #dfe4d8;border-radius:7px;color:#85917d;font-size:10px;margin-bottom:25px}.wool-preset.active{background:#e6ecdf;border-color:#cad7bf;color:#536a4e}#controls{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.control{margin-bottom:24px}.control label{font-size:10px}.control label>span{gap:4px}.control small{display:none}.control output{font-size:10px}.divider{margin:18px 0}.effects .section-title{margin-bottom:14px}.effect-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.effect-options button{border:1px solid #dbe2d4;border-radius:7px;background:transparent;padding:10px 5px;color:#7a8b70;font-size:10px}.effect-options button.active{background:#dfe9d7;border-color:#a7bb99;color:#47693c}.effect-options button:hover{background:#e9eee3}.wind-control{display:flex;align-items:center;gap:12px;font-size:10px;color:#87957d;margin-top:17px}.wind-control label{white-space:nowrap}.wind-control input{flex:1;margin:0}.wind-control output{font-family:monospace;font-size:10px}.effect-help{font-size:9px;line-height:1.8;color:#97a18f;margin:15px 0 0}.detail-button{position:absolute;right:22px;top:24px;z-index:2;border:1px solid #dbe2d4;border-radius:30px;background:#ffffffaa;padding:8px 12px;font-size:10px;color:#85917d}.detail-button.active{background:#dfe9d7;color:#47693c}.closeup .intro{opacity:.15}.closeup .character-caption{opacity:.5}canvas.brushing,canvas.brushing:active{cursor:crosshair}.panel-actions{margin-top:22px}.note{margin-top:18px}footer{flex-wrap:wrap;font-size:8px;letter-spacing:.8px}.stage-hint{font-size:9px}
@media(max-width:1000px){.stage{height:720px;min-height:720px}#controls{column-gap:16px}.character-caption{bottom:145px}.detail-button{right:16px;top:18px}.intro{top:45px}.intro p{max-width:140px}}
@media(max-width:700px){.stage{height:650px;min-height:650px;position:relative;top:0}.intro{top:27px}.intro p{max-width:145px}.detail-button{top:20px;right:14px;padding:7px 10px}.character-caption{bottom:152px}.picker{bottom:66px}.stage-hint{font-size:8px;gap:10px}.panel-heading{margin-top:12px}#controls{column-gap:24px}.effects .effect-options{grid-template-columns:repeat(4,1fr)}.effect-options button{font-size:9px}.control label{font-size:11px}.control output{font-size:11px}footer{justify-content:center;gap:14px}.wool-preset{margin-bottom:24px}.closeup .intro,.closeup .character-caption{opacity:0}}

@media(max-width:700px){main{align-items:stretch}.stage,aside{width:100%}}

.closeup .intro{opacity:0}

input[type=range]:disabled{opacity:.35;cursor:default}

.pressure-control progress{appearance:none;border:0;border-radius:5px;background:#e5ebde;overflow:hidden}.pressure-control progress::-webkit-progress-bar{background:#e5ebde}.pressure-control progress::-webkit-progress-value{background:#7d9c6a;border-radius:5px}.pressure-control progress::-moz-progress-bar{background:#7d9c6a}
[hidden]{display:none!important}.name-control{display:grid;gap:8px;font-size:11px;color:#73816b}.name-control input,.guide textarea,#share-output{width:100%;border:1px solid #dbe2d4;border-radius:8px;background:#fff9;padding:11px;font:inherit;color:#52654b}.studio-tabs{display:flex;gap:5px;padding:4px;background:#eaeee4;border-radius:10px;margin:20px 0}.studio-tabs button{flex:1;border:0;background:transparent;padding:10px 4px;border-radius:7px;font-size:12px;color:#87947d}.studio-tabs [aria-selected=true]{background:white;color:#4f7044;box-shadow:0 2px 7px #34492b08}.presets{margin-top:13px}.advanced{margin-top:24px;font-size:11px;color:#75866c}.advanced summary{cursor:pointer;padding:12px 0;border-top:1px solid #e2e5dc}.advanced #controls{padding-top:15px}.lighting{margin-top:22px}.backdrop-title{margin-top:22px}.quality-control,.export-options label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#75866c;margin-top:18px}select{border:1px solid #dbe2d4;border-radius:7px;background:#fff9;color:#607655;padding:8px;font:inherit}.primary-actions #save-recipe{flex:1}.primary-actions{padding-top:20px;border-top:1px solid #e2e5dc}.stage-message{position:absolute;right:22px;top:98px;max-width:260px;font-size:10px;line-height:1.6;color:#73816b;background:#ffffffe0;border:1px solid #e2e5dc;border-radius:12px;padding:8px 12px;pointer-events:none}.front-button{position:absolute;right:22px;top:60px;padding:7px 12px;border:0;background:transparent;color:#829376;font-size:10px;z-index:2}.pressure-control{display:flex;align-items:center;gap:12px;color:#829376;font-size:10px;margin-top:18px}.pressure-control progress{flex:1;width:60px;height:6px;accent-color:#7d9c6a}.pressure-control output{min-width:28px;font:10px monospace}.starter-recipes{display:grid;gap:8px;margin-top:14px}.starter-recipes button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #dbe2d4;border-radius:10px;background:transparent;padding:12px;color:#617655;font-size:12px}.starter-recipes small{display:block;color:#97a18f;font-size:10px;margin-top:5px}.recipe-swatch{width:30px;height:34px;border-radius:46%;display:grid;place-items:center;color:#fff;flex:none}.collection{margin-top:15px}.collection-empty{color:#96a18c;line-height:1.8;font-size:11px;padding:15px;border:1px dashed #dbe2d4;border-radius:9px}.recipe-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e2e5dc;padding:10px 0}.recipe-row .recipe-load{flex:1;background:none;border:0;text-align:left;display:flex;align-items:center;gap:10px;color:#607653;font-size:12px}.recipe-row small{display:block;color:#9ca692;font-size:10px;margin-top:4px}.recipe-remove{background:none;border:0;color:#97a18f;padding:8px;font-size:11px}.guide textarea{margin-top:8px;resize:vertical}.guide label,#share-box label{font-size:10px;color:#87957d;display:block;margin-top:16px}#touch-marker{position:absolute;width:40px;height:40px;border:2px solid #ffffffd9;border-radius:50%;box-shadow:0 0 0 6px #ffffff30;transform:translate(-50%,-50%);pointer-events:none}button:disabled{opacity:.35;cursor:default}.front-button:hover{color:#4f7044}#product-status{font-size:11px;line-height:1.8;color:#798c6e}.stage-hint{pointer-events:none}@media(max-width:1000px){.stage-message{top:95px;right:16px;max-width:170px}.front-button{right:16px;top:54px}}@media(max-width:700px){.stage-message{top:auto;bottom:115px;right:15px;max-width:150px;font-size:9px}.front-button{right:14px}.effects .effect-options{grid-template-columns:1fr 1fr}.effect-options button{font-size:11px}.panel-heading{margin-top:15px}.primary-actions button{font-size:12px}.closeup .stage-message{opacity:.8}}
#capture-link:not([hidden]){display:block;text-align:center;padding:10px;margin-top:12px;border:1px solid #dbe2d4;border-radius:9px;font-size:10px;color:#73816b;text-decoration:none}#capture-preview{display:block;width:100%;height:130px;object-fit:contain;background:repeating-conic-gradient(#eceee6 0% 25%,#fff 0% 50%) 0/14px 14px}
.guide{margin-top:18px;color:#73816b;font-size:11px;line-height:1.8}.guide summary{cursor:pointer;padding:10px 0}.guide dl{margin:5px 0}.guide dt{font-weight:600;margin-top:12px}.guide dd{margin:3px 0;color:#8a9482}.color-control{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#73816b;margin-top:15px}.color-control input{width:46px;height:28px;border:1px solid #dbe2d4;border-radius:5px;background:transparent;cursor:pointer}.save-button{width:100%;margin-top:14px;padding:11px;border:1px solid #dbe2d4;border-radius:7px;background:transparent;color:#73816b;font-size:11px}.light-options button[aria-pressed=true]{background:white;color:#5e7455}.roadmap{margin:25px 5% 40px;padding:30px;border:1px solid #e2e5dc;border-radius:20px;max-width:1440px}.roadmap h2{font-size:24px;font-weight:500;margin:15px 0}.roadmap>p,.roadmap article p{font-size:12px;line-height:1.9;color:#8a9482}.roadmap-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:25px}.roadmap article span{font-size:10px;color:#8c9c80}.roadmap h3{font-size:15px;font-weight:500;margin:10px 0}.roadmap article p{margin:0}canvas.brushing{cursor:crosshair}@media(max-width:1000px){.roadmap-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.roadmap{margin:15px 4% 25px;padding:23px}.roadmap-grid{grid-template-columns:1fr;gap:23px}}

@media(max-width:700px){.character-caption{bottom:145px;left:23px;right:23px}.character-caption h2{font-size:18px;margin:6px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.character-caption p{display:none}.stage-message{bottom:17px;left:18px;right:18px;max-width:none;text-align:center;font-size:10px}.stage-hint{display:none}}

/* Expanded cast and tactile library. */
.studio-tabs button{font-size:11px}.research-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}.research-modes button{padding:11px 5px;border:1px solid #dbe2d4;border-radius:8px;background:transparent;color:#73816b;font-size:11px}.research-modes [aria-pressed=true]{background:#e3ebdb;border-color:#adc39c;color:#4e703e}.research-summary{margin:18px 0;padding:17px;background:#ecefe633;border:1px solid #e0e5d9;border-radius:12px}.research-summary>span{font:9px monospace;letter-spacing:.6px;color:#84917a}.research-summary h3{font-size:17px;font-weight:500;margin:12px 0}.research-summary p{font-size:11px;line-height:1.9;color:#87957d;margin:8px 0}.research-summary a,#panel-research .guide a{color:#607b50;font-size:10px}.research-control{margin:20px 0}.research-control label{display:flex;justify-content:space-between;color:#73816b;font-size:11px}.research-control output{font:11px monospace}.research-groom{margin-top:16px}.research-summary .effect-help{font-size:10px;color:#919b89}@media(max-width:1000px){.studio-tabs{gap:2px}.studio-tabs button{font-size:10px}}@media(max-width:700px){.studio-tabs button{font-size:12px}.research-modes button{font-size:12px}.research-summary p{font-size:12px}}
.presets{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:18px}.presets button{padding:11px 5px;font-size:11px}.picker{gap:3px;padding:8px}.picker button{width:38px;height:42px}.mini{width:25px;height:28px;font-size:10px}.rabbit-mini{position:relative;border-radius:45%;height:23px}.rabbit-mini:before,.rabbit-mini:after{content:'';position:absolute;width:6px;height:13px;top:-8px;border-radius:7px;background:inherit}.rabbit-mini:before{left:5px;transform:rotate(-9deg)}.rabbit-mini:after{right:5px;transform:rotate(9deg)}.bear-mini{position:relative;border-radius:45%}.bear-mini:before,.bear-mini:after{content:'';position:absolute;width:9px;height:9px;top:-3px;border-radius:50%;background:inherit}.bear-mini:before{left:-1px}.bear-mini:after{right:-1px}.star-mini{clip-path:polygon(50% 0,64% 30%,98% 35%,72% 57%,79% 95%,50% 77%,21% 95%,28% 57%,2% 35%,36% 30%);border-radius:0}#starter-recipes{grid-template-columns:1fr 1fr}.starter-recipes button{display:block;padding:12px 10px}.starter-recipes .recipe-swatch{margin-bottom:9px}.starter-recipes small{font-size:9px;line-height:1.6}.starter-recipes button>span:last-child{display:block}.effects .effect-options{grid-template-columns:1fr 1fr}@media(max-width:1000px){.picker{gap:1px;padding:7px}.picker button{width:33px;height:38px}.starter-recipes button{font-size:11px}}@media(max-width:700px){.picker{gap:2px;padding:8px}.picker button{width:32px;height:38px}.mini{width:24px;height:26px}.rabbit-mini{height:23px}.starter-recipes button{font-size:12px}}
.editor-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}.editor-tools button{border:1px solid #dbe2d4;background:transparent;color:#73816b;border-radius:8px;padding:12px 6px;font-size:11px}.editor-tools button:last-child{grid-column:1/-1}.editor-tools [aria-pressed=true],.editor-physics [aria-pressed=true]{background:#e3ebdb;border-color:#adc39c;color:#4e703e}.editor-history{margin-top:18px}.editor-history #edit-clear{grid-column:1/-1}.editor-physics{margin-top:15px}#panel-create .color-control input:disabled{opacity:.4;cursor:default}.studio-tabs button{min-width:0;white-space:nowrap;padding-left:2px;padding-right:2px;font-size:10px}@media(max-width:700px){.studio-tabs button{font-size:11px}.editor-tools button{font-size:12px}}

#edit-marker{position:absolute;pointer-events:none;border:1px dashed #77936d;border-radius:50%;background:#ffffff12;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffff80;z-index:2}

.editor-tools button:last-child{grid-column:auto}

#edit-marker.invalid{border-color:#bc8c77;background:#bc8c7712;opacity:.55}

.draft-bar{display:flex;align-items:baseline;gap:10px;margin-top:9px}.draft-bar .effect-help{margin:0;flex:1;min-width:0}.draft-bar button{border:0;background:transparent;color:#7b8d72;font-size:9px;white-space:nowrap;padding:5px 0}.restore-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;font-size:11px;color:#73816b}.restore-control select{border:1px solid #dbe2d4;border-radius:7px;background:#ffffff99;color:#536b49;font:inherit;padding:8px;min-width:0}.editor-tools button:last-child{grid-column:1/-1}

#edit-batch{margin-top:17px}#edit-batch[aria-pressed=true]{background:#e3ebdb;color:#4e703e;border-color:#adc39c}#edit-batch-status{margin-top:8px}

/* Project journal: readable records, independent of the character controls. */
.journal-toolbar{display:flex;align-items:end;gap:12px;margin:0 30px 9px;flex-shrink:0}.journal-toolbar label{display:grid;gap:6px;font-size:11px;color:#617653}.journal-toolbar label:first-child{flex:1;min-width:0}.journal-toolbar input,.journal-toolbar select{min-width:0;width:100%;font-family:inherit;font-size:12px;line-height:1.5;border:1px solid #d2dec9;border-radius:8px;background:#fff;color:#405936;padding:9px 11px}.journal-toolbar button{border:0;background:none;color:#60764f;padding:10px 0;font-size:11px;white-space:nowrap}.journal-filter-status{font-size:11px;color:#718268;margin:0 30px 15px;line-height:1.65;flex-shrink:0}.journal-empty{font-size:13px;line-height:1.9;padding:20px;border:1px dashed #cedbc4;border-radius:12px;color:#6a7d5b}.journal-transfer-button{display:inline-block;font-size:12px;border:1px solid #cbd8c1;background:#edf3e7;border-radius:8px;color:#426037;padding:10px 13px;text-decoration:none;margin:0 8px 16px 0}.journal-import-box{border-top:1px solid #dce4d5;padding-top:18px;margin-top:15px}.journal-compose input[type=file]{font-size:11px;background:transparent}.journal-compose details summary{font-weight:400}.journal-compose details textarea{font:12px/1.7 ui-monospace,Consolas,monospace}#journal-import-apply{background:#67845a;color:white;border-color:#67845a}
@media(max-width:600px){.journal-toolbar{margin:0 17px 8px;gap:8px;flex-wrap:wrap}.journal-toolbar label:first-child{flex-basis:58%}.journal-toolbar input,.journal-toolbar select{font-size:16px}.journal-filter-status{margin:0 17px 12px;font-size:10px}.journal-toolbar button{padding:2px 0}.journal-compose input[type=file]{font-size:12px}}
.journal-open{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;margin:0 0 22px;border:1px solid #cbd6c6;border-radius:12px;background:#edf1e8;color:#435b3e;text-align:left;font-size:13px}.journal-open>span:first-child{font-size:25px;color:#6b8260}.journal-open>span:nth-child(2){flex:1}.journal-open small{display:block;font-size:10px;color:#718268;margin-top:5px}.journal-open:hover{background:#e4ecdd}
#project-journal{width:min(780px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #d4decf;border-radius:20px;background:#f7f8f3;color:#344230;box-shadow:0 24px 100px #26352140;overflow:hidden}#project-journal[open]{display:flex;flex-direction:column}#project-journal::backdrop{background:#26342570;backdrop-filter:blur(5px)}
.journal-header{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;padding:28px 30px 22px}.journal-eyebrow{font-size:10px;letter-spacing:2px;color:#75866a;font-weight:600}.journal-header h2{font-size:28px;letter-spacing:-.5px;font-weight:500;margin:10px 0 8px}.journal-header p{font-size:13px;color:#6c7964;line-height:1.7;margin:0}.journal-header button{background:#e9eee3;border:0;border-radius:50%;flex:none;width:34px;height:34px;font-size:24px;color:#607256}
.journal-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:5px;margin:0 30px;border:1px solid #dce3d6;background:#eaf0e4;border-radius:11px;flex-shrink:0}.journal-tabs button{border:0;border-radius:7px;background:transparent;color:#607256;padding:11px 5px;font-size:13px;white-space:nowrap}.journal-tabs [aria-selected=true]{background:white;color:#35592d;box-shadow:0 2px 7px #354a2910}.journal-count{font-size:10px;display:inline-block;padding:1px 5px;border-radius:5px;background:#dce6d4;margin-left:3px;font-variant-numeric:tabular-nums}
.journal-reading{overflow:auto;overscroll-behavior:contain;padding:0 30px 26px;min-height:0}.journal-overview{font-size:12px;color:#5e7053;margin:20px 0 6px}.journal-scope{font-size:12px;color:#6d7966;line-height:1.7;margin:0 0 22px}.journal-section-label{font-size:11px;font-weight:600;letter-spacing:1px;color:#728068;margin:22px 0 10px}.journal-card{padding:18px 20px;margin:0 0 12px;background:#fff;border:1px solid #dfe5d9;border-radius:13px}.journal-card-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#77826f;font-size:11px}.journal-badge{font-size:10px;padding:4px 8px;border-radius:5px;background:#eaf1e2;color:#4b6c3e}.journal-badge.planned{background:#f4ebd9;color:#81612d}.journal-card h4{font-size:16px;font-weight:550;line-height:1.55;margin:11px 0 8px;overflow-wrap:anywhere}.journal-entry-body{white-space:pre-wrap;font-size:13px;line-height:1.95;color:#5c6b54;margin:0;overflow-wrap:anywhere}.journal-sources{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.journal-sources a,.journal-edit{font-size:12px;color:#4f7541;text-underline-offset:3px}.journal-edit{margin-top:12px;border:0;border-bottom:1px solid #aabf9c;background:none;padding:0 0 2px}
.world-open{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 10px;padding:14px 15px;background:#edf3e6;border:1px solid #d6e0ce;border-radius:11px;color:#526c46;text-decoration:none;font-size:13px}.world-open>span:first-child{font-size:22px}.world-open>span:nth-child(2){flex:1}.world-open small{display:block;margin-top:4px;font-size:10px;color:#798972}.world-open:hover{background:#e3edd8}.world-open:focus-visible{outline:3px solid #acbd9b;outline-offset:3px}
.journal-compose{border:1px dashed #cbd7c2;border-radius:11px;padding:0 18px;margin-top:20px;font-size:13px;color:#4f6744}.journal-compose summary{cursor:pointer;font-weight:550;padding:15px 0}.journal-compose label{display:grid;gap:7px;font-size:12px;color:#566b4a;margin:0 0 14px}.journal-compose input,.journal-compose textarea,.journal-compose select{width:100%;min-width:0;max-width:100%;border:1px solid #cfdac6;background:#fff;border-radius:8px;color:#384d30;padding:10px 11px;font:inherit;line-height:1.6}.journal-compose textarea{resize:vertical;min-height:120px}.journal-compose select{max-width:220px}.journal-form-help{font-size:11px;color:#6e7e62;line-height:1.7;margin:0 0 14px}.journal-form-actions{display:flex;gap:10px;margin-bottom:18px}.journal-form-actions button,.journal-export-actions button,.journal-export-actions a{font-size:12px;border:1px solid #cbd8c1;background:#edf3e7;border-radius:8px;color:#426037;padding:10px 13px;text-decoration:none}#journal-save,#journal-add{background:#67845a;color:white;border-color:#67845a}.journal-export-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.journal-footer{padding:16px 30px 18px;border-top:1px solid #dce4d5;background:#f0f4eb;flex-shrink:0}.journal-footer p{font-size:11px;line-height:1.65;color:#65785a;margin:10px 0 0}#journal-export-text{font:12px/1.7 ui-monospace,Consolas,monospace;margin-bottom:16px}
@media(max-width:600px){#project-journal{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:15px}.journal-header{padding:21px 17px 16px;gap:8px}.journal-header h2{font-size:25px}.journal-header p{font-size:12px}.journal-eyebrow{font-size:9px;letter-spacing:1.2px}.journal-tabs{margin:0 17px;grid-template-columns:repeat(2,minmax(0,1fr))}.journal-tabs button{font-size:12px;padding:10px 3px}.journal-reading{padding:0 17px 20px}.journal-card{padding:16px 14px}.journal-card h4{font-size:15px}.journal-entry-body{font-size:13px}.journal-footer{padding:13px 17px 15px}.journal-compose{padding:0 12px}.journal-compose input,.journal-compose textarea,.journal-compose select{font-size:16px}.journal-export-actions{gap:7px}.journal-export-actions button,.journal-export-actions a{padding:9px 10px;font-size:11px}}
