:root{color:#223a34;font-synthesis:none;--ink:#223a34;--muted:#536b63;--green:#245b47;--line:#dbe6e1;--serif:Georgia,"Times New Roman",serif;background:#f3f7f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input,summary{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #c28432}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}svg{flex-shrink:0;width:24px;height:24px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--serif);letter-spacing:-.03em;font-weight:400}h1{margin-bottom:16px;font-size:clamp(2.2rem,3.5vw,3.1rem);line-height:1.12}h2{margin-bottom:12px;font-size:1.8rem;line-height:1.15}p{color:var(--muted);line-height:1.65}button:disabled,.disabled{opacity:.55;cursor:wait}.app-shell{grid-template-columns:236px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#eef5ef;background:#183e33;flex-direction:column;gap:35px;padding:35px 26px 24px;display:flex}.brand{font-family:var(--serif);align-items:center;gap:11px;font-size:1.65rem;line-height:1.2;text-decoration:none;display:flex}.brand-mark{color:#e7c883;place-items:center;width:41px;height:44px;display:grid}.brand-mark svg{width:37px;height:37px}.brand-world{letter-spacing:.36em;color:#bbd1c5;font:600 .7rem/2.2 ui-sans-serif,system-ui;display:block}.sidebar-copy{font-family:var(--serif);color:#d8e4da;font-size:1.25rem;line-height:1.5}.sidebar nav{flex-direction:column;gap:8px;display:flex}.nav-item{color:#d3e3d8;border-radius:10px;align-items:center;gap:12px;min-height:48px;padding:12px 14px;font-size:.92rem;text-decoration:none;display:flex}.nav-item.selected{color:#fff;background:#31564a}.nav-item:hover{background:#2b5144}.nav-item svg{width:19px;height:19px}.nav-icon{text-align:center;color:#e7c883;width:19px;font-size:1.2rem}.sidebar-bottom{margin-top:auto;padding-top:55px}.sidebar-bottom strong{font:400 1.4rem var(--serif);margin:14px 0 9px;display:block}.sidebar-bottom p{color:#bed0c5;font-size:.875rem;line-height:1.7}.privacy-icon{color:#e7c883;font-size:1.8rem}.version{letter-spacing:.04em;color:#b2c8bb;margin-top:22px;font-size:.75rem;display:block}main{min-width:0}.topbar{border-bottom:1px solid var(--line);color:#536b63;justify-content:space-between;align-items:center;gap:15px;min-height:76px;padding:20px 36px;font-size:.875rem;display:flex}.local-badge{color:#365f4b;white-space:nowrap;align-items:center;gap:7px;display:flex}.local-badge svg{width:17px;height:17px}.page-body{max-width:1500px;margin:0 auto;padding:38px 36px 22px}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px;display:flex}.page-heading p:last-child{margin-bottom:0}.eyebrow{letter-spacing:.15em;color:#496e5b;margin-bottom:12px;font:600 .7rem/1.6 ui-sans-serif,system-ui}.quiet-link{text-underline-offset:5px;white-space:nowrap;font-size:.875rem;text-decoration-thickness:1px}.world-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:stretch;gap:22px;display:grid}.world-card,.import-card,.active-card,.review-panel{border:1px solid var(--line);background:#fff;border-radius:17px;overflow:hidden}.card-heading{justify-content:space-between;align-items:center;gap:15px;padding:24px 26px 16px;display:flex}.card-heading h2{margin-bottom:0}.card-heading .eyebrow{margin-bottom:6px}.pill{color:#345d42;white-space:nowrap;background:#edf3eb;border:1px solid #d8e5d4;border-radius:99px;padding:7px 12px;font-size:.8rem;display:inline-flex}.import-card{background:#eaf2ed;padding:27px 24px}.round-leaf{color:#315e43;background:#d7e7dc;border-radius:50%;place-items:center;width:43px;height:43px;margin-bottom:22px;display:grid}.round-leaf svg{width:26px;height:26px}.import-card h2{font-size:2rem}.import-card>p:not(.eyebrow){font-size:.925rem}.import-steps{color:#3e5b4d;gap:13px;margin:24px 0;padding:0;font-size:.875rem;list-style:none;display:grid}.import-steps li{align-items:center;gap:10px;display:flex}.import-steps span{border:1px solid #b5cabc;border-radius:50%;place-items:center;width:23px;height:23px;font-size:.75rem;display:grid}.upload-button,.primary{background:var(--green);color:#fff;border:1px solid var(--green);text-align:center;border-radius:8px;min-height:46px;padding:13px 20px;font-size:.9rem;font-weight:600}.upload-button{cursor:pointer;display:block}.upload-button:hover,.primary:hover{background:#194834}.import-card input[type=file]{color:#345647;width:100%;margin-top:10px;font-size:.8rem}.import-card input::file-selector-button{font:inherit;color:#294b39;cursor:pointer;background:0 0;border:1px solid #a9bfb1;border-radius:5px;margin-right:7px;padding:7px 8px}.small-note{color:#526a5d;margin:14px 0 0;line-height:1.6;font-size:.8rem!important}.preservation-note{color:#486452;border-top:1px solid #cdded2;gap:10px;margin-top:22px;padding-top:18px;font-size:.8rem;line-height:1.65;display:flex}.preservation-note svg{width:18px;height:18px;margin-top:3px}.preview-note{color:#52685b;margin:0;padding:11px 25px 20px;font-size:.8rem}.active-card{margin-top:24px;padding:0 26px 26px}.active-card .card-heading{padding:25px 0 14px}.active-card>p{margin-bottom:0}.source-name{word-break:break-word;font-size:.95rem;color:#314e40!important}.source-name span{color:#627569}.metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:24px 0;display:grid}.metrics>div{border-left:1px solid var(--line);padding:4px 13px}.metrics>div:first-child{border-left:0;padding-left:0}.metrics dt{color:#576c61;font-size:.78rem;line-height:1.4}.metrics dd{font:400 1.7rem var(--serif);color:#254738;margin:9px 0 0}.hash{color:#546d5e;background:#f4f7f4;border-radius:7px;align-items:flex-start;gap:16px;margin:17px 0;padding:11px 13px;font-size:.8rem;display:flex}.hash span{white-space:nowrap}.hash code{overflow-wrap:anywhere;color:#335444;font-size:.75rem;line-height:1.6}.actions{flex-wrap:wrap;align-items:center;gap:11px;margin-top:20px;display:flex}.secondary{color:#2f5641;background:#fff;border:1px solid #adc4b4;border-radius:8px;min-height:46px;padding:13px 18px;font-size:.9rem;font-weight:600}.secondary:hover{background:#eff5ef}.text-button{color:#345d46;text-underline-offset:4px;background:0 0;border:0;padding:12px;font-size:.85rem;text-decoration:underline}.review-panel{border-color:#91b49a;margin-top:24px;padding:28px;box-shadow:0 0 0 3px #e4eee5}.review-panel details{border-top:1px solid var(--line);color:#425d4e;padding:16px 0}.review-panel summary{cursor:pointer;font-size:.9rem;font-weight:600}.review-panel details p{margin:15px 0 0;font-size:.875rem}.projection{gap:12px;font-size:.875rem;display:grid}.projection>div{justify-content:space-between;gap:20px;display:flex}.projection dd{margin:0;font-weight:600}.replacement-note{color:#61562c;background:#f4f0df;border-radius:8px;padding:14px;font-size:.875rem}.next-chapter{border-top:1px solid var(--line);gap:22px;margin-top:30px;padding:28px 4px 18px;display:flex}.next-chapter h2{margin-bottom:9px;font-size:1.5rem}.next-chapter p:not(.eyebrow){max-width:770px;margin-bottom:10px;font-size:.9rem}.next-chapter .eyebrow{margin-bottom:9px}.chapter-spark{color:#9b7a39;font-size:2.5rem}.page-body>footer{color:#52685b;border-top:1px solid var(--line);flex-wrap:wrap;gap:10px;padding-top:22px;font-size:.75rem;display:flex}.notice,.error{border-radius:10px;margin-bottom:22px;padding:14px 46px 14px 18px;font-size:.9rem;line-height:1.55;position:relative}.notice{color:#2e563d;background:#e0eee5;border:1px solid #bfd7c7}.error{color:#7e3324;background:#fff2ee;border:1px solid #e6b4a5}.error p{color:#7e3324;margin:4px 0 0}.notice-close{color:#31553d;background:0 0;border:0;min-width:36px;min-height:40px;font-size:1.5rem;position:absolute;top:5px;right:10px}.skip{z-index:100;color:#214b34;background:#fff;padding:15px;position:fixed;top:-100px;left:20px}.skip:focus{top:10px}.history{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.history h3{font-size:1rem}.history p{font-size:.875rem}.history ul{padding:0;list-style:none}.history li{border-top:1px solid #e7eee8;flex-wrap:wrap;justify-content:space-between;gap:14px;padding:10px 0;font-size:.875rem;display:flex}.history li span{overflow-wrap:anywhere}.editor-card{border:1px solid var(--line);background:#fff;border-radius:17px;margin-top:24px;padding:0 26px 26px}.editor-card>.card-heading{padding:25px 0 16px}.editor-card>p{max-width:800px;font-size:.925rem}.editor-grid{grid-template-columns:1fr 1fr;gap:24px;display:grid}.editor-grid>form,.date-choice{border:1px solid var(--line);border-radius:10px;min-width:0;padding:20px}.editor-grid h3,.farm-actions h3{margin-bottom:18px;font-size:1.05rem}.editor-grid label{margin:14px 0 8px;font-size:.875rem;font-weight:600;display:block}.editor-grid input,.editor-grid select,.editor-grid textarea{width:100%;min-width:0;max-width:100%;min-height:46px;color:var(--ink);font:inherit;background:#fff;border:1px solid #91ab9c;border-radius:7px;padding:10px 12px;line-height:1.5;display:block}.editor-grid textarea{resize:vertical}.editor-grid select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23245b47' stroke-width='2'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:32px}.editor-grid button{margin-top:18px}.date-choice p{margin:14px 0 0;font-size:.875rem}.farm-actions{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.resource-list{grid-template-columns:repeat(4,1fr);gap:12px;margin:0;display:grid}.resource-list>div{background:#f0f5f1;border-radius:8px;padding:12px}.resource-list dt{font-size:.875rem;line-height:1.4}.resource-list dd{margin:8px 0 0;font-size:1.4rem}.plot-list{margin:22px 0 0;padding:0;list-style:none}.plot-list>li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:15px 0;display:flex}.plot-list strong{font-size:.95rem;display:block}.plot-list span{color:var(--muted);margin-top:6px;font-size:.875rem;display:block}.plot-list button{flex-shrink:0}select:focus-visible,textarea:focus-visible{outline-offset:5px;outline:3px solid #c28432}@media (width<=700px){.editor-card{padding:0 20px 22px}.editor-grid{grid-template-columns:1fr;gap:18px}.editor-grid>form,.date-choice{padding:16px}.resource-list{grid-template-columns:1fr 1fr}.plot-list>li{flex-direction:column;align-items:flex-start}.plot-list button{width:100%}.editor-card .card-heading{flex-direction:column;align-items:flex-start}.editor-grid button{width:100%}}.df-world{position:relative}.df-world-scene{isolation:isolate;background:#dbede6;position:relative}.df-world-canvas{touch-action:none;width:100%;height:380px;display:block}.df-world-top{pointer-events:none;justify-content:space-between;gap:10px;display:flex;position:absolute;top:13px;left:18px;right:15px}.df-world-place{display:none}.df-world-audio{pointer-events:auto;color:#294c36;background:#fff;border:1px solid #bed0bf;border-radius:18px;align-items:center;gap:5px;margin-left:auto;padding:7px 10px;font-size:.75rem;display:flex}.df-world-audio svg{width:16px;height:16px}.df-world-resources{pointer-events:none;gap:7px;display:flex;position:absolute;top:16px;left:17px}.df-world-resources span{color:#355232;background:#fff;border:1px solid #cbd9c6;border-radius:12px;align-items:center;gap:4px;padding:6px 8px;font-size:.75rem;display:flex}.df-world-resources svg{width:16px;height:16px}.df-world-caption{pointer-events:none;background:#fff;border-radius:10px;padding:9px 13px;position:absolute;bottom:11px;left:15px;right:15px}.df-world-caption p{color:#3f5742;margin:0;font-size:.75rem;line-height:1.5}.df-world-toolbar{border-top:1px solid #d6e2d3;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px 15px 10px;display:flex}.df-world-toolbar button{color:#314f36;background:#f3f8f1;border:1px solid #c6d6c6;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:42px;padding:7px 9px;font-size:.75rem;display:flex}.df-world-toolbar button[aria-pressed=true]{background:#e4eedc;border-color:#a8bd9b}.df-world-toolbar svg{width:16px;height:16px}.df-world-areas,.df-world-touch,.df-world-shortcuts{gap:5px;display:flex}.df-world-shortcuts{display:none}.df-world-help{color:#52684f;margin:0 0 8px;padding:0 18px;font-size:.75rem;line-height:1.6}.df-world-help kbd{border:1px solid #d8e1d5;border-radius:4px;padding:1px 4px;font-family:inherit}.df-world-help-note{display:none}.df-world-celebrate,.df-world-discovery{color:#675522;background:#fff8db;border-radius:8px;padding:10px;font-size:.875rem;position:absolute;top:64px;left:18px;right:18px}.df-world-discovery{align-items:center;gap:5px;width:fit-content;display:flex}.df-world-discovery svg{width:16px;height:16px}.df-world [hidden]{display:none!important}@media (width>=1450px){.df-world-canvas{height:415px}}@media (width<=1150px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:30px 18px}.page-body{padding:30px 24px 20px}.topbar{padding:20px 24px}.world-layout{grid-template-columns:minmax(0,1fr) 260px}.import-card{padding:24px 19px}.df-world-canvas{height:410px}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}.metrics>div:nth-child(4){border:0;padding-left:0}.page-heading{display:block}.page-heading>.quiet-link{margin-top:16px;display:inline-block}}@media (width<=920px){.app-shell{display:block}.sidebar{flex-direction:row;align-items:center;gap:24px;padding:18px 24px;display:flex}.brand{font-size:1.4rem}.brand-mark,.brand-mark svg{width:28px}.brand-world{font-size:.6rem}.sidebar-copy,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:6px;margin-left:auto}.nav-item{padding:10px;font-size:.8rem}.nav-item svg,.nav-icon{display:none}.world-layout{grid-template-columns:minmax(0,1fr) 275px}.df-world-canvas{height:420px}.topbar{min-height:55px;padding:14px 24px}}@media (width<=700px){.world-layout{grid-template-columns:1fr}.df-world-canvas{height:340px}.import-card{padding:25px}.round-leaf{float:right;margin:0 0 10px 15px}.import-steps{flex-wrap:wrap;gap:10px;display:flex}.import-steps li{font-size:.8rem}.import-card input[type=file]{max-width:100%}.sidebar{gap:12px;padding:14px 18px}.sidebar nav .nav-item:last-child{display:none}.sidebar nav{gap:2px}.nav-item{padding:8px;font-size:.75rem}.brand{font-size:1.25rem}.brand-mark,.topbar>span:first-child{display:none}.topbar{justify-content:flex-end;padding:12px 20px}.page-body{padding:27px 18px 20px}.page-heading{margin-bottom:22px}.page-heading p:last-child{font-size:.95rem}.card-heading{padding:21px 20px 14px}.card-heading h2{font-size:1.65rem}.active-card{padding:0 20px 22px}.review-panel{padding:23px 20px}.metrics{gap:17px 0}.metrics dd{font-size:1.5rem}.metrics dt{font-size:.75rem}.hash{display:block}.hash code{margin-top:7px;display:block}.next-chapter{gap:14px}.next-chapter h2{font-size:1.4rem}.chapter-spark{font-size:2rem}.actions>.primary,.actions>.secondary{flex:210px}.df-world-help{font-size:.7rem}.df-world-toolbar{justify-content:center;padding:12px}.df-world-toolbar button{font-size:.75rem}.df-world-audio span{display:none}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
