.character-builder-launch{min-height:38px;white-space:nowrap}.character-builder-host[hidden],[data-authoring-static][hidden]{display:none!important}.character-builder-shell{display:grid;gap:14px;padding:16px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));border-radius:12px;background:linear-gradient(145deg,color-mix(in srgb,var(--panel-soft) 65%,var(--panel)),var(--panel))}.character-builder-shell[aria-busy=true]{opacity:.7;pointer-events:none}.character-builder-heading,.character-builder-summary,.character-builder-step>summary,.character-builder-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.character-builder-heading{align-items:flex-start}.character-builder-heading h4,.character-builder-heading p,.character-builder-summary strong,.character-builder-summary span{margin:0}.character-builder-heading p,.character-builder-summary span,.character-builder-choice p,.character-builder-missing li span,.character-builder-grants li{color:var(--muted);font-size:.82rem}.character-builder-request{display:grid;grid-template-columns:minmax(220px,1fr) minmax(110px,150px) auto;align-items:end;gap:12px}.character-builder-request .inline-field{min-height:42px}.character-builder-summary{padding:10px 12px;border-radius:8px;background:color-mix(in srgb,var(--accent) 8%,var(--panel))}.character-builder-warnings,.character-builder-problems{margin:0;padding-left:20px;color:var(--warn)}.character-builder-timeline{display:grid;gap:8px}.character-builder-step{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.character-builder-step>summary{min-height:48px;padding:8px 12px;cursor:pointer;list-style:none}.character-builder-step>summary::-webkit-details-marker{display:none}.character-builder-step>summary strong{flex:1}.character-builder-step>summary i{color:var(--muted);font-size:.76rem;font-style:normal;text-transform:uppercase;letter-spacing:.05em}.character-builder-step.is-complete>summary{background:color-mix(in srgb,var(--accent) 7%,var(--panel))}.character-builder-step.is-blocked>summary{background:color-mix(in srgb,var(--warn) 6%,var(--panel))}.character-builder-status{display:inline-grid;width:24px;height:24px;place-items:center;border-radius:999px;background:var(--panel-soft);color:var(--muted);font-weight:800}.is-complete .character-builder-status,.is-ready .character-builder-status{color:var(--accent-strong)}.is-blocked .character-builder-status{color:var(--warn)}.character-builder-step-body{display:grid;gap:12px;padding:14px;border-top:1px solid var(--line)}.character-builder-choice{display:grid;min-width:0;gap:8px;margin:0;padding:12px;border:1px solid var(--line);border-radius:8px}.character-builder-choice legend{padding:0 6px;font-weight:700}.character-builder-choice legend i{color:var(--muted);font-size:.74rem;font-style:normal}.character-builder-choice select[multiple],.character-builder-choice textarea{width:100%;min-height:86px}.character-builder-choice select[multiple] option{padding:5px 7px}.character-builder-variant-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.character-builder-variant-values label,.character-builder-variant-mode{display:grid;gap:5px}.character-builder-variant-values span,.character-builder-variant-mode span{color:var(--muted);font-size:.78rem}.character-builder-missing,.character-builder-grants{display:grid;gap:6px}.character-builder-missing ul,.character-builder-grants ul{display:grid;gap:5px;margin:0;padding-left:20px}.character-builder-reference{border:0;background:transparent;color:var(--accent-strong);padding:0;text-decoration:underline;cursor:pointer}.character-builder-actions{flex-wrap:wrap;justify-content:flex-end}.character-builder-error{padding:16px;border:1px solid color-mix(in srgb,var(--warn) 40%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--warn) 7%,var(--panel))}@media(max-width:860px){.character-builder-request{grid-template-columns:1fr}.character-builder-heading,.character-builder-summary{align-items:stretch;flex-direction:column}}.scene-image-browser{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1}.scene-image-picker-dialog>[data-image-browser]{display:flex;flex:1;min-height:0}.scene-image-browser>.scene-image-picker-grid{flex:1;min-height:120px}.scene-image-browser-count{flex:none;padding:5px 10px;color:var(--muted);font-size:11px}.scene-image-browser-sentinel{grid-column:1/-1;height:1px}.surface-workshop-assets .scene-image-picker-tools{grid-template-columns:minmax(0,1fr);padding:4px 0 10px;gap:6px}.surface-workshop-assets .scene-image-picker-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:6px;padding:6px 0;min-height:0;overflow:visible}.surface-workshop-assets .scene-image-picker-item{margin:0;padding:0;display:grid;grid-template-rows:auto auto;width:100%}.surface-workshop-assets .scene-image-picker-item>span{padding:4px}.surface-workshop-assets .scene-image-picker-item strong{font-size:10px}.surface-workshop-assets .scene-image-browser-count{padding:6px 0}.surface-workshop-asset-size{display:grid;grid-template-columns:1fr 1fr;gap:8px}.surface-workshop-asset-current{font-size:12px;overflow-wrap:anywhere;margin:8px 0;color:var(--accent,#e8bf85)}.note-images{min-width:0}.note-images summary{display:flex;align-items:center;gap:8px}.note-images .note-image-active{margin-left:auto;width:30px;height:30px;object-fit:contain;border-radius:4px}.note-images .note-image-count{color:var(--muted);white-space:nowrap}.note-images[open] .note-image-active,.note-images[open] .note-image-count{display:none}.note-images .note-image-preview{width:100%;height:140px;object-fit:contain;border-radius:8px;background:var(--panel-soft)}.note-images [hidden]{display:none}.note-images [role=status]:empty{display:none}.note-images .token-drop{cursor:pointer}.note-images .token-gallery{max-height:360px;overflow:auto}.note-images .field:has(.token-gallery){min-width:0}button.is-busy{position:relative;color:transparent!important;cursor:progress}button.is-busy>*{visibility:hidden}button.is-busy:after{content:"";position:absolute;inset:50% auto auto 50%;width:15px;height:15px;margin:-9px 0 0 -9px;border:2px solid var(--line);border-top-color:var(--accent-strong);border-radius:50%;animation:button-busy-spin .8s linear infinite}@keyframes button-busy-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){button.is-busy:after{animation-duration:2s}}.remote-vault-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line, #6c727b);border-radius:16px;background:var(--panel, #20232a);color:var(--ink, #f3f3f3)}.remote-vault-dialog::backdrop{background:#0009}.remote-vault-form{display:grid;gap:20px}.remote-vault-form header{display:flex;align-items:center;justify-content:space-between;gap:16px}.remote-vault-form h2{margin:0;font-size:1.2rem}.remote-vault-form [data-fields]{display:grid;gap:16px}.remote-vault-form label{display:grid;gap:6px}.remote-vault-form label[hidden]{display:none}.remote-vault-form input{box-sizing:border-box;width:100%}.local-folder-help{display:grid;gap:10px;min-width:0}.local-folder-help h3{margin:0;font-size:1rem}.local-folder-help p{margin:0;font-size:.9rem}.local-folder-help input{min-width:0;font-size:.8rem}.local-folder-help button{justify-self:start}.remote-vault-form .remote-vault-remember{display:flex;align-items:center;gap:8px}.remote-vault-remember input{width:auto;margin:0}.remote-vault-list{display:grid;gap:10px}.remote-vault-list button{padding:16px;text-align:left;font-size:1rem}.remote-vault-actions{display:flex;justify-content:flex-end;gap:12px}.remote-vault-actions{flex-wrap:wrap}.account-dialog{width:min(680px,calc(100vw - 32px))}.remote-vault-caption{margin:0;color:var(--muted, #aeb6c4);font-size:.9rem}.account-vault-row,.account-member{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.account-vault-row>button:first-child{flex:1 1 180px}.account-role{font-size:.8rem;padding:4px 9px;border:1px solid var(--line, #6c727b);border-radius:99px}.account-member>span:first-child{flex:1 1 120px;overflow-wrap:anywhere}.account-member small{color:var(--muted, #aeb6c4)}.account-member select{width:auto}.remote-vault-form select{font:inherit}.vault-reader{width:min(1200px,calc(100vw - 32px));height:min(850px,calc(100dvh - 32px));box-sizing:border-box}.vault-reader>header,.vault-reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.vault-reader h2{font-size:1.1rem;margin:0}.vault-reader-toolbar input{flex:1;min-width:0}.vault-reader-layout{display:grid;grid-template-columns:minmax(180px,28%) minmax(0,1fr);height:calc(100% - 120px);gap:20px}.vault-reader-files,.vault-reader-content{overflow:auto;min-width:0}.vault-reader-files{display:flex;flex-direction:column;gap:6px}.vault-reader-files button{text-align:left;overflow-wrap:anywhere}.vault-reader-content img{max-width:100%;height:auto}.vault-reader-content pre{white-space:pre-wrap;overflow-wrap:anywhere}.vault-reader-content h3{overflow-wrap:anywhere}.vault-reader-content table{border-collapse:collapse}.vault-reader-content td,.vault-reader-content th{padding:6px;border:1px solid var(--line, #6c727b)}@media(max-width:640px){.remote-vault-dialog{padding:16px;box-sizing:border-box}.account-vault-row{padding-bottom:12px;border-bottom:1px solid var(--line, #6c727b)}.vault-reader-layout{grid-template-columns:1fr;grid-template-rows:minmax(90px,25%) 1fr}.vault-reader>header{align-items:flex-start}}.remote-vault-status{margin:0;font-size:.9rem}.remote-vault-status:empty{display:none}.remote-vault-form[aria-busy=true] .remote-vault-status:before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:remote-vault-loading .8s linear infinite}@keyframes remote-vault-loading{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.remote-vault-form[aria-busy=true] .remote-vault-status:before{animation:none}}.ichorography-ftp-dialog{width:min(560px,92vw);max-height:90vh;padding:20px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);box-shadow:0 24px 80px #00000052}.ichorography-ftp-dialog::backdrop{background:#080e0d80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.ichorography-ftp-dialog header,.ichorography-ftp-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.ichorography-ftp-dialog header h3{margin:0}.ichorography-ftp-dialog button{min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:5px;background:var(--panel-soft);color:var(--ink);font:inherit;cursor:pointer}.ichorography-ftp-dialog header button{width:32px;padding:0}.ichorography-ftp-dialog button.primary{background:var(--accent-strong);color:var(--accent-ink)}.ichorography-ftp-dialog .muted{color:var(--muted);font-size:12px}.ichorography-ftp-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:18px 0}.ichorography-ftp-fields .field{display:flex;min-width:0;flex-direction:column;gap:5px}.ichorography-ftp-fields input,.ichorography-ftp-fields select{width:100%;min-width:0}.ichorography-ftp-dialog [data-status]:empty,[data-ichorography-publishing] [data-status]:empty{display:none}.ichorography-ftp-dialog footer{justify-content:flex-end;margin-top:18px}@media(max-width:480px){.ichorography-ftp-fields{grid-template-columns:minmax(0,1fr)}}.vault-mirror-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line, #6c727b);border-radius:16px;background:var(--panel, #20232a);color:var(--ink, #f3f3f3)}.vault-mirror-dialog::backdrop{background:#0009}.vault-mirror-dialog h2{margin:0 0 16px;font-size:1.2rem}.vault-mirror-body{display:grid;gap:12px}.vault-mirror-body p{margin:0;line-height:1.45}.vault-mirror-lead{font-weight:600}.vault-mirror-warning{padding:10px 12px;border-left:3px solid var(--warning, #e0a84b);border-radius:6px;background:color-mix(in srgb,var(--warning, #e0a84b) 12%,transparent)}.vault-mirror-note{font-size:.88rem;opacity:.8}.vault-mirror-paths summary{cursor:pointer}.vault-mirror-paths ul{max-height:180px;overflow:auto;margin:8px 0 0;padding-left:20px;font-size:.85rem;overflow-wrap:anywhere}.vault-mirror-more{list-style:none;opacity:.7}.vault-mirror-option{display:flex;align-items:center;gap:8px;font-weight:600}.vault-mirror-option input{width:auto;margin:0}.vault-mirror-status{margin:16px 0 0;font-size:.9rem}.vault-mirror-status:empty{display:none}.vault-mirror-dialog[aria-busy=true] .vault-mirror-status:before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:vault-mirror-loading .8s linear infinite}@keyframes vault-mirror-loading{to{transform:rotate(360deg)}}.vault-mirror-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.vault-mirror-actions:empty{display:none}.project-mirror{display:grid;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line, #6c727b)}.project-mirror[hidden]{display:none}.vault-mirror-dialog{width:min(960px,calc(100vw - 32px))}.vault-mirror-file{border-top:1px solid var(--line);padding-block:12px}.vault-mirror-file>summary{cursor:pointer;overflow-wrap:anywhere;font-weight:600}.vault-mirror-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-block:12px}.vault-mirror-change{padding-block:12px;border-top:1px solid var(--line)}.vault-mirror-change.is-conflict{border-left:3px solid var(--warning, #e0a84b);padding-left:12px}.vault-mirror-change pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;margin:0;padding:8px;background:#0002;font-size:.82rem}.vault-mirror-field{display:block;overflow-wrap:anywhere}.vault-mirror-choice{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.vault-mirror-choice select{width:auto}.vault-mirror-actions{flex-wrap:wrap}@media(max-width:600px){.vault-mirror-dialog{padding:12px}.vault-mirror-columns{gap:8px}}.project-mirror>span{font-size:.8rem;font-weight:650;opacity:.8}.project-mirror small{font-size:.78rem;opacity:.75;overflow-wrap:anywhere}.list-sort-bar{display:flex;gap:6px;position:sticky;top:0;z-index:3;padding:5px 0;background:var(--panel);border-bottom:1px solid var(--line)}.list-sort-bar>span:first-child{margin-right:auto}.list-sort-button{display:inline-flex;align-items:center;justify-content:space-between;gap:4px;min-height:28px;border:0;padding:3px 5px;background:transparent;color:inherit;font:inherit;cursor:pointer;white-space:nowrap}.list-sort-button:hover,[aria-sort=ascending]>.list-sort-button,[aria-sort=descending]>.list-sort-button{color:var(--accent-strong)}.list-sort-button>span{font-size:.8em;color:var(--muted)}th:has(>.list-sort-button){padding:4px}.project-icon-setting{display:flex;align-items:center;gap:16px;margin:16px 0}.project-icon-preview{position:relative;display:grid;place-items:center;width:80px;height:80px;flex:0 0 80px;overflow:hidden;border:1px solid var(--line);border-radius:12px;font:36px Georgia,serif;color:var(--accent)}.project-icon-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.project-icon-controls{display:grid;gap:8px;min-width:0;flex:1}.project-icon-controls label{display:grid;gap:6px}.project-icon-controls select{width:100%;min-width:0}.project-icon-buttons{display:flex;flex-wrap:wrap;gap:8px}.project-icon-controls small:empty{display:none}.sound-field{display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px 0}.sound-field label{display:flex;flex-direction:column;gap:4px;font-size:12px}.sound-field select{min-width:0;max-width:100%}.sound-buttons{display:flex;flex-wrap:wrap;gap:6px}.sound-field [hidden]{display:none!important}.sound-field [role=status]{font-size:12px;color:var(--muted,inherit)}.cinematic-sound{position:absolute;top:2px;height:24px;min-width:8px;border:1px solid var(--accent,#91b5bd);background:#355d64;color:#fff;border-radius:4px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 5px;cursor:pointer}.cinematic-sound svg{position:absolute;inset:0;width:100%;height:100%;opacity:.6;pointer-events:none}.cinematic-sound span{position:relative;background:#18343abf;pointer-events:none}.document-header{margin:0 0 10px}.document-identity{display:flex;align-items:center;gap:14px;min-width:0}.document-identity>div{min-width:0}.document-identity h3{margin:0 0 4px;font-size:1.3rem;overflow-wrap:anywhere}.document-identity small{color:var(--muted);overflow-wrap:anywhere}.document-identity .detail-avatar{flex:0 0 56px;width:56px;height:56px}.document-toolbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;min-height:36px;margin:0 0 14px;padding:4px 0;background:var(--panel);border-bottom:1px solid var(--line)}.document-toolbar .path-actions{margin:0}.document-controls{display:flex;align-items:center;gap:5px;margin-left:auto;min-width:0}.document-controls .path-action{display:inline-grid;place-items:center;min-width:30px;min-height:28px;padding:3px 7px}.document-short-name{display:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-toolbar.is-compact .document-short-name{display:block}.document-toolbar.is-compact .document-links,.document-toolbar.is-compact .document-delete{display:none}.document-save-status:empty{display:none}.document-save-status{color:var(--danger, #dc6666);font-size:12px;max-width:28em}.document-toolbar[data-save-state=dirty] .document-save{color:var(--accent-strong);border-color:currentColor}.document-toolbar[data-save-state=saving] .document-save{opacity:1}.document-toolbar[data-save-state=error] .document-save{color:var(--danger, #dc6666)}.document-edit-part .document-local-save{display:none!important}.document-edit-part .detail-actions{position:static;margin:8px 0 0;padding:0;border:0;box-shadow:none;background:transparent}.document-edit-part .detail-actions:has(>.document-local-save):not(:has(>:not(.document-local-save))){display:none}.cinematic-editor,.cinematic-player{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;height:100%;color:inherit}.cinematic-editor{padding:14px;box-sizing:border-box;overflow:auto}.cinematic-editor [hidden]{display:none!important}.cinematic-editor>.cinematic-toolbar,.cinematic-transport,.cinematic-tracks,.cinematic-savebar{flex-shrink:0}.cinematic-editor input,.cinematic-editor select{font:inherit;color:var(--ink,inherit);background:var(--panel,#17252e);border:1px solid var(--line,#334a53);border-radius:6px;padding:7px 9px;box-sizing:border-box}.cinematic-editor label,.cinematic-editor output{font-size:12px;color:var(--muted,inherit)}.cinematic-editor button:not(.cinematic-actor):not(.cinematic-key):not(.cinematic-sound),.cinematic-list button{font:inherit;font-size:13px;min-height:32px;padding:6px 10px;border:1px solid var(--line,#334a53);border-radius:6px;color:var(--ink,inherit);background:var(--panel-soft,#22343d);cursor:pointer}.cinematic-editor button.save-action,.cinematic-list button.save-action{color:#fff;background:var(--accent,#26796f);border-color:var(--accent,#26796f)}.cinematic-editor button:disabled{opacity:.45;cursor:default}.cinematic-editor button:focus-visible,.cinematic-list button:focus-visible{outline:2px solid var(--accent,#91b5bd);outline-offset:2px}.cinematic-toolbar,.cinematic-transport,.cinematic-savebar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.cinematic-toolbar input[data-title]{flex:1;min-width:160px}.cinematic-toolbar label,.cinematic-inspector label{display:flex;flex-direction:column;gap:4px}.cinematic-stage{position:relative;overflow:hidden;flex:1;min-height:220px;background:#111b20;border:1px solid #334a53;border-radius:8px;touch-action:none;isolation:isolate}.cinematic-world{position:absolute;left:50%;top:50%;transform-origin:0 0;isolation:isolate;z-index:0}.cinematic-blackout{position:absolute;inset:0;background:#000;z-index:3;pointer-events:none}.cinematic-stage [hidden]{display:none!important}.cinematic-layers,.cinematic-actors{position:absolute;inset:0}.cinematic-layer,.cinematic-actor{position:absolute;box-sizing:border-box}.cinematic-layer{transform-origin:center;pointer-events:none}.cinematic-layer.is-selected{outline:2px dashed #c2e2e5;outline-offset:2px;cursor:grab}.cinematic-layer img,.cinematic-actor img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}.cinematic-actor img{object-fit:contain}.cinematic-actor{display:block;min-width:8px;min-height:8px;border:1px solid #91b5bd;border-radius:50%;padding:0;background:#334a53;cursor:grab;color:#f0f3f4;overflow:visible;transform-origin:center}.cinematic-actor.has-image{background:transparent;border-color:transparent;border-radius:0}.cinematic-actor.is-selected{outline:2px solid #c2e2e5;outline-offset:3px}.cinematic-actor span{position:absolute;top:100%;left:50%;transform:translate(-50%);font-size:11px;line-height:1.4;white-space:nowrap;background:#111b20d9;padding:1px 4px;pointer-events:none}.cinematic-player .cinematic-actor{cursor:default}.cinematic-edit-main{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:12px;min-height:240px;flex:1}.cinematic-inspector{display:flex;flex-direction:column;gap:10px;min-width:0;overflow:auto}.cinematic-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cinematic-fields input,.cinematic-inspector select{width:100%;min-width:0}.cinematic-transport input[type=range]{flex:1;min-width:120px}.cinematic-transport input[type=number]{width:96px}.cinematic-transport button{display:inline-flex;align-items:center;justify-content:center;min-width:34px}.cinematic-transport .cinematic-key-command{padding:4px!important}.cinematic-decor-span{position:absolute;inset:2px auto 3px 0;background:#a4c9ca2b;pointer-events:none;border-radius:3px}.cinematic-decor-span[data-transition=black]{background:linear-gradient(90deg,transparent,#000,transparent)}.cinematic-decor-span[data-transition=crossfade]{background:linear-gradient(90deg,transparent,#a4c9ca77)}.cinematic-decor-span[data-transition=fadeIn]{background:linear-gradient(90deg,#000,transparent)}.cinematic-decor-span[data-transition=fadeOut]{background:linear-gradient(90deg,transparent,#000)}.cinematic-envelope{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;color:#f5cd87;opacity:.8}.cinematic-inspector [data-decor-inspector],.cinematic-inspector [data-sound-inspector]{display:flex;flex-direction:column;gap:10px}.cinematic-track{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:8px;min-height:32px}.cinematic-track>button{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cinematic-lane{position:relative;height:28px;margin:0 10px;border-bottom:1px solid #58717a;background:linear-gradient(90deg,transparent 49.8%,#58717a66 50%,transparent 50.2%)}.cinematic-key{position:absolute;top:5px;transform:translate(-50%) rotate(45deg);width:16px;height:16px;min-height:0!important;padding:0!important;border:1px solid #92b8c1;border-radius:2px;background:#2c4b55}.cinematic-key.is-current{background:#c2e2e5}.cinematic-cursor{position:absolute;top:0;bottom:0;width:1px;background:#e6bc79;pointer-events:none}.cinematic-tracks{max-height:220px;overflow:auto;padding:4px 0}.cinematic-ruler{display:flex;justify-content:space-between;margin:0 8px 3px 120px;color:var(--muted,inherit);font-size:11px}.cinematic-savebar{margin-top:auto;justify-content:flex-end}.cinematic-status{margin-right:auto;font-size:12px}.cinematic-status.is-error{color:#e99c92}.cinematic-list{display:flex;flex-direction:column;gap:8px;padding:12px}.cinematic-list button{text-align:left}.cinematic-list button.is-active{outline:1px solid currentColor}.cinematic-layer-picker{max-height:160px;overflow:auto}.cinematic-layer-picker>div{display:flex;align-items:center;gap:4px}.cinematic-layer-picker button{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cinematic-player{padding:12px;box-sizing:border-box}.cinematic-player .cinematic-stage{min-height:180px}.cinematic-player-status{font-size:12px;min-height:1em}@media(max-width:760px){.cinematic-edit-main{grid-template-columns:minmax(0,1fr)}.cinematic-inspector{display:grid;grid-template-columns:1fr 1fr}.cinematic-stage{min-height:240px}.cinematic-inspector>*{min-width:0}}@media(max-height:760px){.cinematic-editor{gap:8px}}.cinematic-effect{position:absolute;pointer-events:none}.cinematic-effect>svg{display:block;width:100%;height:100%;overflow:visible}.cinematic-sound{position:absolute;top:2px;height:24px;min-width:6px;min-height:0;padding:0;border:1px solid #6abbb2;border-radius:3px;background:#235b55;color:#d8efea;overflow:hidden;cursor:grab}.cinematic-sound>svg{position:absolute;inset:0;width:100%;height:100%}.cinematic-sound>span{position:relative;white-space:nowrap;font-size:10px;pointer-events:none}.cinematic-effect-clip{border-color:#c9a2dc;background:#6e487d}.cinematic-key{cursor:grab}.cinematic-library{position:relative;font-size:13px;z-index:4}.cinematic-library>summary{cursor:pointer;padding:8px;border:1px solid var(--line,#334a53);border-radius:6px}.cinematic-library-panel{position:absolute;top:100%;left:0;width:290px;max-height:300px;overflow:auto;padding:10px;background:var(--panel,#17252e);border:1px solid var(--line,#334a53);box-shadow:0 4px 18px #0008}.cinematic-library-panel input{width:100%}.cinematic-library-panel [data-effect-library-list]{display:flex;flex-direction:column;gap:5px;margin-top:6px}.cinematic-library-panel button{text-align:left}.cinematic-inspector [data-effect-editor],.cinematic-inspector [data-bindings],.cinematic-inspector .action-fields{display:flex;flex-direction:column;gap:8px}.cinematic-inspector .action-field{position:relative;min-width:0}.cinematic-inspector .action-field input,.cinematic-inspector .action-field textarea{width:100%;min-width:0}.cinematic-inspector .action-remove-parameter{position:absolute;right:0;top:0;padding:0 4px!important;min-height:18px!important;border:0!important;background:transparent!important}.cinematic-inspector .action-checkbox-field{flex-direction:row;align-items:center}.cinematic-inspector .action-checkbox-field input{width:auto}.cinematic-composition{position:absolute;left:0;top:0;isolation:isolate;mix-blend-mode:plus-lighter}.sequence-anchor{position:absolute;z-index:2147483646;padding:3px 6px;border:1px dashed #81ced6;border-radius:4px;color:#baf7ff;background:#102b32b8;transform:translate(-50%,-140%);cursor:grab;font-size:11px}.sequence-anchor[data-actor-id="anchor:impact"]{transform:translate(-50%,40%);border-color:#e8bc7a;color:#ffe0a5}.cinematic-editor [data-relative-fields]{display:grid;gap:8px}.cinematic-editor [data-relative-fields][hidden]{display:none}.environment-tool-button{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:6px;border:1px solid var(--line,#45606b);border-radius:5px;background:var(--panel-soft,#1b3540);color:var(--ink,#dce8e8);cursor:pointer}.environment-tool-button svg{width:22px;height:22px;pointer-events:none}.environment-tool-button[aria-pressed=true]{color:var(--accent,#ffe0a3);border-color:var(--accent,#ffe0a3);background:color-mix(in srgb,var(--accent,#ffe0a3) 12%,var(--panel,#142c39))}.environment-tool-button:disabled{opacity:.35;cursor:default}.environment-tool-button:focus-visible{outline:2px solid var(--accent,#ffe0a3);outline-offset:2px}.environment-tool-button.starts-group:not(:first-child){margin-left:8px}.environment-tool-strip,.construction-drawing-tools,.surface-workshop-extra-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.environment-tool-strip+.environment-tool-strip{border-left:1px solid var(--line,#45606b);margin-left:5px;padding-left:8px}.environment-tool-strip[hidden],.construction-drawing-tools[hidden],.surface-workshop-extra-tools[hidden],.environment-tool-button[hidden]{display:none!important}.editor-layers{position:absolute;left:10px;top:10px;z-index:12;max-width:calc(100% - 20px);font-size:12px;color:var(--ink,#dce8e8);background:var(--panel,#142c39);border:1px solid var(--line,#36505d);border-radius:6px;box-shadow:0 3px 12px #0003}.editor-layers>summary{display:flex;align-items:center;gap:12px;min-height:32px;padding:0 10px;cursor:pointer;list-style:none;white-space:nowrap}.editor-layers>summary::-webkit-details-marker{display:none}.editor-layers>summary>strong{font-size:11px;font-weight:500;color:var(--accent,#ffe0a3);overflow:hidden;text-overflow:ellipsis}.editor-layers>summary:after{content:"";width:6px;height:6px;margin-left:4px;border-right:1px solid;border-bottom:1px solid;transform:rotate(-45deg)}.editor-layers[open]>summary:after{transform:rotate(45deg)}.editor-layer-choices{display:grid;gap:2px;max-height:38vh;min-width:190px;overflow:auto;overscroll-behavior:contain;padding:5px;border-top:1px solid var(--line,#36505d)}.editor-layer-row,.editor-element-row,.editor-element-row>.map-zone-row{display:flex;gap:4px;align-items:stretch;min-width:0}.editor-layer-row>button:first-child,.editor-element-row>:first-child{flex:1;min-width:0}.editor-layer-row>button:first-child{padding:7px 9px;text-align:left;color:inherit;background:transparent;border:1px solid transparent;border-radius:3px;font:inherit;cursor:pointer}.editor-layer-row>button:hover{background:var(--panel-soft,#243438)}.editor-layer-row>button:first-child[aria-pressed=true]{color:var(--accent,#ffe0a3);border-color:var(--accent,#ffe0a3);background:color-mix(in srgb,var(--accent,#ffe0a3) 10%,transparent)}.editor-contents{margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid var(--line,#36505d)}.editor-contents>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.editor-contents>header>h3{font-size:12px;margin:0;min-width:0}.editor-contents>header>button{flex:none;margin:0;padding:4px 7px;font-size:11px}.editor-contents>small{color:var(--muted,#abc0c8);font-size:11px}.editor-content-search{box-sizing:border-box;margin:0 0 7px!important;width:100%}.editor-content-list{display:grid;gap:3px;max-height:230px;overflow:auto;overscroll-behavior:contain}.editor-content-list>.map-zone-row{display:flex;gap:4px;min-width:0}.editor-content-list button{min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere}.editor-content-list .map-zone-row>button:first-child{flex:1}.editor-content-list .map-zone-add-layer{flex:none;width:26px;text-align:center}.surface-workshop-inspector .editor-content-list :is(.is-selected,[aria-pressed=true]){color:var(--accent,#ffe0a3);border-color:var(--accent,#ffe0a3);background:color-mix(in srgb,var(--accent,#ffe0a3) 12%,var(--panel,#142c39))}.editor-content-list .editor-context-item small{display:block;margin-top:2px;font-size:10px;color:var(--muted,#abc0c8)}.editor-contents[hidden],.editor-contents [hidden]{display:none!important}.editor-content-list>[data-editor-layer-active=false]{opacity:.6}.editor-content-list>[data-editor-layer-active=false]:is(:hover,:focus-within){opacity:1}.editor-element-row[data-masked=true]>:first-child{opacity:.5}.editor-element-row>.editor-eye,.editor-layer-row>.editor-eye{align-self:center;flex:0 0 28px;width:28px;height:28px;min-height:0;margin:0;padding:4px;color:var(--muted,#abc0c8);background:transparent;border-color:transparent}.editor-eye svg{width:17px;height:17px}.editor-eye[aria-pressed=mixed]{color:var(--accent,#ffe0a3)}.editor-visibility-controls{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto;color:var(--muted,#abc0c8);font-size:11px}.editor-visibility-controls label{display:flex;align-items:center;gap:5px;margin:0;white-space:nowrap}.editor-visibility-controls input[type=range]{width:clamp(48px,7vw,95px);min-width:0;min-height:20px;height:20px;margin:0;padding:0;accent-color:var(--accent,#c0cebd)}.editor-visibility-controls output{min-width:3ch;font-variant-numeric:tabular-nums}.editor-visibility-controls button{min-height:22px;padding:1px 6px;margin:0;border:1px solid var(--line,#45606b);border-radius:4px;background:transparent;color:inherit;font:inherit;white-space:nowrap;cursor:pointer}.editor-visibility-controls button:disabled{opacity:.45;cursor:default}.surface-workshop [data-editor-view-hidden]{filter:opacity(var(--editor-hidden-opacity,0))}.surface-workshop[data-editor-hidden-zero=true] [data-editor-view-hidden]{visibility:hidden!important}.surface-workshop [data-editor-view-hidden],.surface-workshop [data-editor-view-hidden] *{pointer-events:none!important}@media(max-width:540px){.editor-visibility-controls{gap:4px}.editor-visibility-controls label{gap:3px}}.surface-workshop{height:100%;min-height:0;display:flex;flex-direction:column;border:1px solid var(--universe-line,#36505d);border-radius:8px;overflow:hidden;background:#10232e;color:#dce8e8}.surface-workshop-tools{display:flex;gap:4px;flex-wrap:wrap;padding:8px;border-bottom:1px solid #36505d;background:#142c39}.surface-workshop-body{display:flex;min-height:0;flex:1}.surface-workshop-stage{position:relative;flex:1;min-width:0;min-height:180px;background:#091821}.surface-workshop-stage>svg{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.surface-workshop-element{cursor:pointer}.surface-workshop-element>*{pointer-events:visiblePainted}.surface-workshop-stage>.surface-workshop-gizmos{z-index:4;pointer-events:none}.surface-workshop-gizmos .environment-handle{pointer-events:all}.surface-workshop[data-mode=surface][data-tool=asset] .ichorolude-weather{opacity:.2}.surface-workshop[data-tool=select] [data-environment-footprint] :is(circle,path){pointer-events:stroke}.surface-workshop[data-tool=select] [data-environment-footprint] path:first-child{pointer-events:none}.surface-workshop-inspector{flex:0 0 250px;min-width:0;padding:0;display:flex;flex-direction:column;overflow:hidden;border-left:1px solid #36505d}.surface-workshop-options-scroll{flex:1;min-height:0;overflow:auto;padding:12px}.surface-workshop-inspector label{display:flex;flex-direction:column;gap:4px;margin:9px 0;font-size:12px;color:#abc0c8}.surface-workshop-inspector :is(input,select){width:100%;min-width:0;font:inherit;color:#e3eeee;background:#1b3540;border:1px solid #45606b;border-radius:4px;padding:7px}.surface-workshop-inspector input[type=checkbox]{width:auto;align-self:start}.surface-workshop-inspector h3{font-size:15px;margin:0 0 12px}.surface-workshop-inspector details{margin:12px 0;padding-top:8px;border-top:1px solid #36505d}.surface-workshop-inspector summary{cursor:pointer;font-size:13px}.surface-workshop-stage.is-asset-drop{outline:2px solid var(--accent,#88d5ce);outline-offset:-3px}.surface-workshop[data-placing-asset=true] .editor-contents{display:none}.surface-workshop-assets>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.surface-workshop-assets>header button{flex:none;font-size:16px;line-height:1}.surface-workshop-assets>small{display:block;color:var(--muted,#abc0c8);line-height:1.4;margin-bottom:10px}.surface-workshop-assets .scene-image-picker-item[draggable=true]{cursor:grab}.surface-workshop-palette{align-self:center;min-height:32px}.surface-workshop-inspector button{max-width:100%;padding:6px 8px;color:#dce8e8;background:#1b3540;border:1px solid #45606b;border-radius:4px;margin:3px 2px;cursor:pointer}.surface-workshop-profile{width:100%;max-height:180px;touch-action:none;border:1px solid #36505d;border-radius:6px;background:#10232e}.surface-workshop-element[data-layer-active=false],.surface-workshop-element[data-layer-active=false] *{pointer-events:none!important}.surface-workshop-tools[hidden]{display:none}.surface-workshop-footer{display:flex;align-items:center;gap:6px;flex:none;min-height:26px;padding:2px 6px;border-top:1px solid var(--line,#36505d)}.surface-workshop-footer>.environment-tool-button{width:22px;height:22px;padding:3px;border-color:transparent;background:transparent;color:inherit}.surface-workshop-footer>.environment-tool-button svg{width:16px;height:16px}.surface-workshop-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#a8c0c9}.universe-globe-host,.universe-workshop-host{height:100%;min-height:0}.universe-workshop-host[hidden],.universe-globe-host[hidden]{display:none!important}.universe-workspace[data-workshop=true] .universe-workspace-body{grid-template-columns:minmax(0,1fr)}.universe-workspace[data-workshop=true] .universe-sidebar{display:none}.universe-workshop-save{margin-left:auto!important;min-height:36px;padding:6px 12px;color:inherit;background:var(--universe-soft,#1b3540);border:1px solid var(--universe-accent,#88d5ce);border-radius:5px}.universe-workshop-save[hidden]{display:none!important}.universe-workshop-state{max-width:300px;font-size:12px;overflow-wrap:anywhere}@media(max-width:700px){.surface-workshop-inspector{flex-basis:180px;padding:8px}.surface-workshop-tools{gap:3px;padding:5px}.environment-tool-button{width:32px;height:32px}.surface-workshop-status{font-size:10px}}@media(max-width:500px){.surface-workshop-body{flex-direction:column}.surface-workshop-inspector{flex:0 1 210px;border-left:0;border-top:1px solid #36505d}.surface-workshop-inspector>div:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.surface-workshop-inspector h3,.surface-workshop-inspector details{grid-column:1/-1}.surface-workshop-list{margin-top:8px}}.world-editor{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;overflow:hidden;color:var(--ink);background:var(--panel);--world-panel-size:320px;--world-inspector-width:var(--world-panel-size)}.world-editor-navigation{display:flex;align-items:center;gap:8px;flex:none;flex-wrap:wrap;padding:7px 8px;border-bottom:1px solid var(--line)}.world-editor-search{flex:1 1 220px;min-width:150px}.world-editor-search>.searchable-select{width:100%}.world-editor-search .searchable-select>button{display:none}.world-editor-archives{align-self:center;white-space:nowrap}.world-editor-archives[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.world-editor-picker{flex:1;min-width:160px;max-width:100%;padding:8px;background:var(--panel-soft);color:var(--ink);border:1px solid var(--line);border-radius:5px;font:inherit;font-size:12px}.world-editor-tools{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.world-editor-tools .environment-tool-button,.world-editor-panel-toggle{width:34px;height:34px;border-color:var(--line);background:var(--panel-soft);color:var(--ink)}.world-editor-tools .environment-tool-button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--panel))}.world-editor-tools svg{color:inherit;stroke:currentColor;pointer-events:none}.world-editor-panel-toggle{margin-left:auto}.world-editor-create{position:relative;flex:none}.world-editor-create>summary{display:grid;place-items:center;list-style:none;width:30px;height:32px;cursor:pointer;border:1px solid var(--line);border-radius:4px;font-size:20px}.world-editor-create>summary::-webkit-details-marker{display:none}.world-editor-create>div{position:absolute;right:0;top:100%;z-index:30;display:grid;min-width:160px;padding:5px;background:var(--panel);border:1px solid var(--line);border-radius:5px;box-shadow:0 8px 20px #0003}.world-editor-create button{padding:9px;text-align:left;white-space:nowrap;background:transparent;color:var(--ink);border:0;cursor:pointer}.world-editor-create button:hover{background:var(--panel-soft)}.world-editor-choice{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.world-editor-choice select,.world-editor-add-asset,.surface-workshop-palette{font:inherit;font-size:12px;min-height:32px;max-width:100%;padding:4px 7px;border-radius:4px;border:1px solid var(--line);background:var(--panel-soft);color:var(--ink)}.world-editor-tools{gap:9px}.world-editor-add-asset{color:var(--accent);white-space:nowrap;cursor:pointer}.world-editor-add-asset:disabled{opacity:.5;cursor:default}@media(max-width:700px){.world-editor-choice{flex-direction:column;align-items:flex-start;gap:2px}.world-editor-tools{align-items:flex-end}}.world-editor-regions{flex:0 1 220px;min-width:100px;background:var(--panel-soft);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:7px;font-size:11px}.world-editor-content{position:relative;flex:1;min-height:0;min-width:0;overflow:hidden}.world-editor-pane{height:100%;min-height:0;overflow:hidden}.world-editor [hidden]{display:none!important}.world-editor-resizer{position:absolute;right:calc(var(--world-inspector-width) - 4px);top:0;bottom:0;width:8px;z-index:8;cursor:col-resize;touch-action:none}.world-editor-resizer:hover,.world-editor-resizer:focus-visible{background:color-mix(in srgb,var(--accent) 35%,transparent);outline:0}.world-editor-error{flex:none;padding:8px 12px;color:var(--warn,#efa990);font-size:12px;border-top:1px solid var(--line)}.world-editor-error{max-height:170px;overflow:auto}.world-editor-error>button{float:right}.world-editor-error ul{margin:6px 0 0;padding-left:18px}.world-editor-error li{margin:5px 0}.world-editor-error li span{display:block;overflow-wrap:anywhere}.world-editor-error li button{padding:0;border:0;background:transparent;color:inherit;text-align:left;text-decoration:underline;overflow-wrap:anywhere}.world-editor-operation,.surface-workshop-activity{display:inline-flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap;color:var(--muted)}.surface-workshop-activity{margin-left:auto}.world-editor-operation:before,.surface-workshop-activity:before{content:"";width:10px;height:10px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:world-editor-wait .8s linear infinite}.world-editor-tools [data-loading=true]{border-color:var(--accent);color:var(--accent)}@keyframes world-editor-wait{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.world-editor-operation:before,.surface-workshop-activity:before{animation:none}}.world-editor .universe-workspace{gap:0;overflow:hidden}.world-editor .universe-workspace-toolbar{padding:6px 8px;gap:8px;border-bottom:1px solid var(--line)}.world-editor .universe-catalogue,.world-editor .universe-actions>.environment-tool-button{display:none}.world-editor .universe-workspace-toolbar{display:none}.world-editor .universe-workspace-body{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--world-inspector-width);gap:0;flex:1;min-height:0}.world-editor .universe-workspace-body>.universe-main{grid-column:1;grid-row:1;min-height:0;height:auto}.world-editor .universe-workspace-body>.universe-sidebar{grid-column:2;grid-row:1;border-width:0 0 0 1px;border-radius:0;height:auto;min-width:0}.world-editor .universe-map{min-height:0;border:0;border-radius:0}.world-editor .universe-map-nav{padding:7px 10px}.world-editor .universe-workspace[data-workshop=true] .universe-workspace-body{grid-template-columns:minmax(0,1fr)}.world-editor .surface-workshop{border:0;border-radius:0;background:var(--panel);color:var(--ink)}.world-editor .surface-workshop-body{display:grid;grid-template-columns:minmax(0,1fr) var(--world-inspector-width);min-height:0}.world-editor .surface-workshop-stage{min-height:0}.world-editor .surface-workshop-inspector{box-sizing:border-box;min-width:0;background:var(--panel);color:var(--ink);border-color:var(--line)}.world-editor .surface-workshop-tools{background:var(--panel-soft);border-color:var(--line)}.world-editor .surface-workshop-inspector :is(input,select,button){background:var(--panel-soft);color:var(--ink);border-color:var(--line)}.world-editor .surface-workshop-inspector label,.world-editor .surface-workshop-status{color:var(--muted)}.world-editor .mapmaking-studio-nav{display:none}.world-editor .mapmaking-studio{background:var(--panel)}.world-editor .mapmaking-studio-pane{height:100%;min-height:0;overflow:hidden}.world-editor .mapmaking{height:100%;min-height:0}.world-editor .mapmaking-body,.world-editor .asset-slicer main,.world-editor .map-zone-editor main{grid-template-columns:minmax(0,1fr) var(--world-inspector-width);gap:0}.world-editor .mapmaking-body>aside,.world-editor .asset-slicer main>aside,.world-editor .map-zone-editor main>aside{grid-column:2;grid-row:1;box-sizing:border-box;min-width:0;border-right:0;border-left:1px solid var(--line);padding:12px}.world-editor .mapmaking-preview,.world-editor .asset-slicer-scroll,.world-editor .map-zone-scroll{grid-column:1;grid-row:1;min-width:0;min-height:0}.world-editor .mapmaking-top,.world-editor .mapmaking-preview nav,.world-editor .asset-slicer header{padding:7px 10px;gap:8px}.world-editor .mapmaking-top [data-saved]{max-width:220px}.world-editor .mapmaking-preview nav{font-size:11px}.world-editor .mapmaking-palette{flex-wrap:wrap}.world-editor .mapmaking-palette label{flex:1 0 25%}.world-editor .map-zone-editor.map-zone-embedded{padding:0;gap:0}.world-editor .map-zone-editor>nav,.world-editor .map-zone-editor>footer{padding:7px 10px;border-bottom:1px solid var(--line);gap:8px}.world-editor .map-zone-modes{display:none}.world-editor .map-zone-editor [data-layout-tools]{gap:7px}.world-editor .map-zone-editor main>aside{overflow:auto}.world-editor .construction-workspace{display:grid;grid-template-columns:minmax(0,1fr) var(--world-inspector-width)}.world-editor .construction-panel{box-sizing:border-box;min-width:0;overflow:auto}.world-place-panel{position:absolute;inset:0 0 0 auto;width:var(--world-inspector-width);box-sizing:border-box;z-index:4;overflow:hidden;background:var(--panel);border-left:1px solid var(--line)}.world-preparation{display:grid;align-content:start;gap:12px;padding:12px;height:100%;overflow:auto;box-sizing:border-box}.world-preparation :is(h3,ul){margin:0}.world-preparation label{display:grid;gap:4px}.world-preparation ul{padding:0;list-style:none}.world-preparation li{display:flex;gap:4px;align-items:center;margin-bottom:5px}.world-preparation li>button:first-child{flex:1;text-align:left;overflow-wrap:anywhere}.world-preparation [draggable=true]{cursor:grab}.world-preparation [role=status]{font-size:12px;color:var(--muted)}.world-prepared-markers{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}.world-prepared-marker{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;touch-action:none;cursor:grab;color:var(--ink);background:var(--panel);border:1px solid var(--accent);border-radius:12px;padding:3px 8px;white-space:nowrap}.world-editor[data-tool=preparation] .surface-workshop-stage{cursor:crosshair}.world-place-document{height:100%;min-height:0;overflow:hidden}.world-place-document>.location-sheet-editor{height:100%;min-height:0}.world-editor[data-tool=place] :is(.mapmaking-body>aside,.asset-slicer main>aside,.map-zone-editor main>aside,.construction-panel,.surface-workshop-inspector){visibility:hidden}.world-editor[data-tool=place] .universe-workspace[data-workshop=true] .universe-sidebar{display:flex;position:absolute;inset:0 0 0 auto;width:var(--world-inspector-width);z-index:4}.world-editor[data-panel-closed=true]{--world-inspector-width:0px}.world-editor[data-panel-closed=true] :is(.universe-sidebar,.surface-workshop-inspector,.mapmaking-body>aside,.asset-slicer main>aside,.map-zone-editor main>aside,.construction-panel,.world-place-panel){display:none}.world-location-inspector{display:flex;flex-direction:column;height:100%;min-height:0}.world-location-inspector .universe-editor-tabs{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px}.world-location-inspector .universe-editor-scroll{flex:1;padding:12px}.world-location-inspector .universe-editor-page{display:grid;gap:12px}.world-location-inspector .world-location-save{flex:none;padding:10px 12px;border-top:1px solid var(--line)}.world-location-inspector .app-section{margin:0}.world-location-inspector :is(input,textarea,select){max-width:100%;box-sizing:border-box}.world-location-inspector .location-measurement-fields,.world-location-inspector .location-surface-fields{display:grid;gap:10px}@media(max-width:850px){.world-editor-search{flex-basis:150px}.world-editor-tools{order:2;flex:1}.world-editor-panel-toggle{order:3}.world-editor-picker{flex-basis:45%}}@media(max-width:520px){.world-editor{--world-inspector-width:min(var(--world-panel-size),65%)}.world-editor-navigation{gap:5px;padding:5px}.world-editor-search{min-width:90px;flex-basis:110px}.world-editor-tools .environment-tool-button{width:30px;height:30px}.world-editor .surface-workshop-body{flex-direction:row}.world-editor .surface-workshop-inspector{padding:8px}.world-editor[data-panel-closed=true]{--world-inspector-width:0px}}.workshop-scene-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none}.workshop-scene-layer>.map-zone-canvas{position:absolute;inset:0;width:100%!important;height:100%!important;min-width:0;background:none;outline:none;box-shadow:none;overflow:visible;pointer-events:none}.workshop-scene-layer[data-active=true] .map-zone-item{pointer-events:auto}.workshop-scene-layer[data-active=true] .map-zone-selection{pointer-events:none}.workshop-scene-layer .map-zone-selection :is(.map-zone-resize,.map-zone-rotate){pointer-events:auto}.workshop-scene-layer .map-zone-selection .map-zone-move{pointer-events:auto}.workshop-scene-layer[data-active=false] .map-zone-item,.workshop-scene-layer[data-active=false] .map-zone-item *{pointer-events:none!important}.surface-workshop:not([data-mode=surface]) [data-environment-key],.surface-workshop:not([data-mode=surface]) [data-environment-key] *{pointer-events:none}.workshop-scene-layer .map-zone-item img{pointer-events:auto;-webkit-user-select:none;user-select:none}.workshop-scene-layer .map-zone-built,.workshop-scene-layer .map-zone-built img{pointer-events:none!important}.world-editor-tool-options,.world-editor-tool-options>.mapmaking-studio{height:auto;min-height:100%}.world-editor .surface-workshop-options:empty{display:none}.world-editor .is-shared-surface{height:auto;min-height:0;max-height:none;padding:0}.world-editor .is-shared-surface :is(.map-zone-scroll,.mapmaking-viewport){display:none}.world-editor .is-shared-surface :is([data-layout-zoom],[data-surroundings],[data-detail]){display:none}.world-editor .is-shared-surface :is(.mapmaking-body,.map-zone-editor main,.construction-workspace){display:block;min-height:0}.world-editor .map-zone-editor.is-shared-surface main{display:block;flex:none}.world-editor .is-shared-surface :is(.mapmaking-body>aside,.construction-panel,.map-zone-editor main>aside){display:block;padding:0;border:0;overflow:visible}.world-editor .map-zone-editor.is-shared-surface main>aside{display:block;padding:0;border:0;overflow:visible}.world-editor .is-shared-surface :is(.mapmaking-top,.mapmaking-preview nav,.map-zone-editor>nav,.map-zone-editor>footer){display:flex;flex-wrap:wrap;padding:6px 0}.world-editor .is-shared-surface :is(.mapmaking-top input,.mapmaking-top select){width:100%;max-width:none;box-sizing:border-box}.world-editor .is-shared-surface [data-layout-tools]{display:flex;flex-wrap:wrap}.world-editor .is-shared-surface :is([data-list],[data-properties]){overflow:visible;max-height:none}.world-editor .is-shared-surface .construction-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:4px}.world-editor .is-shared-surface .construction-toolbar label{min-width:0}.world-editor .is-shared-surface .construction-toolbar :is(input,select){width:100%;min-width:0;box-sizing:border-box}.world-editor .is-shared-surface .mapmaking-preview{overflow:visible}.world-editor .surface-workshop-options .asset-slicer{height:auto;overflow:visible}.world-editor .surface-workshop-options .asset-slicer main{display:flex;flex-direction:column-reverse}.world-editor .surface-workshop-options .asset-slicer-scroll{max-height:320px;min-height:180px}.world-editor .surface-workshop-tools .environment-tool-button{background:var(--panel-soft);border-color:var(--line);color:var(--ink)}.world-editor .surface-workshop-tools .environment-tool-button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--panel))}.world-editor-navigation .universe-workshop-save{margin-left:0!important;min-height:32px;background:var(--panel-soft);border-color:var(--line);color:var(--ink)}.world-editor-navigation .universe-workshop-save:disabled{opacity:.5;cursor:default}.editor-image-menu{position:absolute;z-index:20;display:grid;padding:5px;min-width:190px;background:var(--panel,#142c39);border:1px solid var(--line,#36505d);border-radius:5px;box-shadow:0 8px 24px #0005}.editor-image-menu[hidden]{display:none}.editor-image-menu button{padding:9px;text-align:left;background:transparent;color:var(--ink,#dce8e8);border:0;cursor:pointer}.editor-image-menu button:hover{background:var(--panel-soft,#1b3540)}.editor-image-menu button{display:flex;align-items:center;justify-content:space-between;gap:18px}.editor-image-menu kbd{color:var(--muted);font:inherit;font-size:10px}.world-editor .surface-workshop-inspector{padding:0;overflow:hidden}.world-editor .surface-workshop-options-scroll{padding:12px}.world-editor .is-shared-surface .construction-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.world-editor .map-zone-editor.is-shared-surface>nav{display:none}.world-editor .map-zone-editor.is-shared-surface [data-fit]{display:none}.world-editor .map-zone-editor.is-shared-surface [data-properties] label{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:10px 0;text-align:left}.world-editor .map-zone-editor.is-shared-surface [data-properties] :is(input:not([type=checkbox]),select){box-sizing:border-box;width:100%;min-width:0}.world-editor .map-zone-editor.is-shared-surface [data-properties] input[data-searchable-input]{padding-left:26px;padding-right:30px}.world-editor .map-zone-editor.is-shared-surface [data-properties] label.map-zone-check{flex-direction:row;align-items:center;justify-content:flex-start}.world-editor .map-zone-editor.is-shared-surface [data-placement-hint]{display:block;margin-top:10px;line-height:1.5;color:var(--muted)}.workshop-scene-layer .map-zone-item:is([data-layer-active=false],[data-tool-active=false]),.workshop-scene-layer .map-zone-item:is([data-layer-active=false],[data-tool-active=false]) *{pointer-events:none!important}.image-picker-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:18px;border:1px solid var(--line, #3a4a50);border-radius:12px;background:var(--panel, #172227);color:inherit}.image-picker-dialog::backdrop{background:#0000008c}.image-picker-dialog h2{margin:0 0 12px;font-size:1.05rem}.image-picker-body{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:14px;align-items:start}.image-picker-list{display:grid;gap:8px;min-width:0}.image-picker-list select{width:100%;min-height:220px}.image-picker-preview{display:grid;place-items:center;aspect-ratio:1;border:1px dashed var(--line, #3a4a50);border-radius:10px;color:var(--muted, #9fb0b4);text-align:center;padding:8px}.image-picker-preview img{max-width:100%;max-height:100%;object-fit:contain}.image-picker-preview [hidden]{display:none}.image-picker-status{display:block;min-height:1.2em;margin-top:8px;color:var(--muted, #9fb0b4)}.image-picker-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:10px}@media(max-width:560px){.image-picker-body{grid-template-columns:1fr}.image-picker-preview{max-width:180px}}.writing-outline{display:grid;gap:4px}.writing-section-row{position:relative;display:flex;align-items:center;min-width:0;margin-left:calc(var(--section-depth, 0) * 16px);border:1px solid transparent;border-radius:6px;color:var(--ink)}.writing-section-row:hover,.writing-section-row:focus-within,.writing-section-row.is-selected{border-color:var(--line);background:var(--panel-soft)}.writing-section-row.is-selected{box-shadow:inset 3px 0 var(--accent)}.writing-section-select{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:56px;padding:8px 6px 8px 10px;border:0;background:transparent;color:inherit;text-align:left}.writing-section-select[data-movable=true]{cursor:grab;-webkit-user-select:none;user-select:none}.writing-section-select:active{cursor:grabbing}.writing-section-order{flex:0 0 auto;min-width:30px;max-width:68px;padding:5px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px;text-align:center;overflow-wrap:anywhere;touch-action:none}.writing-section-copy{display:grid;gap:3px;min-width:0}.writing-section-copy strong,.writing-section-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.writing-section-copy small{color:var(--muted);font-size:11px}.writing-section-delete{flex:0 0 26px;width:26px;height:28px;padding:0;margin-right:4px;border:0;border-radius:4px;color:var(--muted);background:transparent;font-size:20px;opacity:0}.writing-section-row:hover .writing-section-delete,.writing-section-row:focus-within .writing-section-delete{opacity:1}.writing-section-delete:hover{color:var(--danger, #cf6767);background:color-mix(in srgb,currentColor 10%,transparent)}.writing-section-row.is-drag-source{opacity:.45}.writing-section-row[data-drop]:after{content:attr(data-drop-label);position:absolute;z-index:3;left:0;right:0;padding:2px 6px;color:var(--ink);background:var(--panel-strong);border:1px solid var(--accent);border-radius:3px;font-size:10px;pointer-events:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.writing-section-row[data-drop=before]:after{top:-12px;border-top-width:3px}.writing-section-row[data-drop=after]:after{bottom:-12px;border-bottom-width:3px}.writing-section-row[data-drop=inside]{outline:2px solid var(--accent);outline-offset:-2px}.writing-section-row[data-drop=inside]:after{bottom:-6px;left:24px}.writing-outline-end{display:none;min-height:40px;align-items:center;justify-content:center;color:var(--muted);border:1px dashed var(--line);border-radius:6px;font-size:12px}.writing-outline.is-dragging .writing-outline-end{display:flex}.writing-outline-end.is-drop-target{color:var(--ink);border-color:var(--accent);background:var(--panel-soft)}.writing-outline-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.writing-outline[aria-busy=true]{opacity:.65;pointer-events:none}@media(hover:none){.writing-section-delete{opacity:1}}.writing-collection-tabs,.writing-journal-tabs{display:flex;gap:5px}.writing-collection-tabs{position:sticky;top:-12px;z-index:2;padding:10px 0;background:var(--panel)}.writing-collection-tabs button{flex:1}.writing-collection-tabs [aria-pressed=true],.writing-journal-tabs [aria-pressed=true]{border-color:var(--accent);background:var(--panel-soft);color:var(--ink);box-shadow:inset 0 -2px var(--accent)}.writing-journal-list{display:grid;align-content:start;gap:5px;min-width:0}.writing-journal-row{display:grid;gap:4px;min-width:0;width:100%;padding:12px;text-align:left;border:1px solid transparent;border-radius:6px;color:var(--ink);background:transparent}.writing-journal-row small{color:var(--muted)}.writing-journal-row strong,.writing-journal-row small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.writing-journal-row:hover,.writing-journal-row[aria-pressed=true]{border-color:var(--line);background:var(--panel-soft)}.writing-journal-row[aria-pressed=true]{box-shadow:inset 3px 0 var(--accent)}.writing-journal-workspace{display:flex;flex-direction:column;height:100%;min-height:0;color:var(--ink)}.writing-journal-header,.writing-journal-controls,.writing-journal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;flex:0 0 auto;border-bottom:1px solid var(--line);flex-wrap:wrap}.writing-journal-header h3{margin:0 0 3px;font-size:19px}.writing-journal-header small,.writing-journal-footer{color:var(--muted);font-size:12px}.writing-journal-workspace .inline-actions,.writing-book-dialog .inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.writing-journal-controls [data-page-actions]{margin-left:auto}.writing-journal-controls .icon-action{width:28px;height:30px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:transparent}.writing-journal-controls .icon-action:hover{color:var(--danger, #cf6767)}.writing-journal-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(120px,170px) minmax(0,1fr)}.writing-journal-pages{overflow-y:auto;padding:10px;border-right:1px solid var(--line)}.writing-journal-bookmark{display:block;width:100%;padding:10px;margin-bottom:4px;border:0;border-radius:5px;background:transparent;color:var(--muted);text-align:left;overflow-wrap:anywhere}.writing-journal-bookmark:hover,.writing-journal-bookmark[aria-current=page]{color:var(--ink);background:var(--panel-soft)}.writing-journal-page{display:flex;flex-direction:column;min-width:0;min-height:0}.writing-journal-page article,.writing-journal-page textarea{flex:1;min-height:0;width:100%;box-sizing:border-box;padding:24px;margin:0;overflow:auto}.writing-journal-page article{font-size:16px;line-height:1.7}.writing-journal-page .rich-image{display:block;max-width:100%;max-height:450px;object-fit:contain}.writing-journal-page .rich-image-link,.writing-journal-page .rich-entity-image{max-width:100%;padding:0;background:none;border:0;color:inherit}.writing-journal-page .rich-link{color:var(--accent)}.writing-journal-page textarea{border:0;border-radius:0;resize:none;background:var(--field);color:var(--ink);font:15px/1.7 ui-monospace,monospace}.writing-journal-page textarea:focus-visible{outline:1px solid var(--accent);outline-offset:-1px}.writing-journal-format{display:flex;flex-wrap:wrap;gap:5px;padding:8px 12px;border-bottom:1px solid var(--line)}.writing-journal-format button{padding:4px 8px;font-size:12px}.writing-journal-footer{border-top:1px solid var(--line);border-bottom:0;padding-block:8px}.writing-journal-alert,.writing-journal-conflict{padding:10px 16px;color:var(--ink);background:var(--panel-soft);border-left:3px solid var(--accent)}.writing-journal-alert button{margin-left:12px}.writing-journal-conflict{max-height:35%;overflow:auto}.writing-journal-conflict pre{white-space:pre-wrap;max-height:150px;overflow:auto}.writing-book-dialog{width:min(480px,calc(100vw - 40px));padding:22px;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:10px}.writing-book-dialog::backdrop{background:#0008}.writing-book-dialog h3{margin:0 0 8px}.writing-book-dialog .field input,.writing-book-dialog .field select{width:100%;box-sizing:border-box}.writing-book-hint{font-size:12px;color:var(--muted)}.writing-journal-workspace [hidden],.writing-book-dialog [hidden]{display:none!important}@media(max-width:900px){.writing-journal-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.writing-journal-pages{display:flex;max-height:90px;border-right:0;border-bottom:1px solid var(--line);gap:4px}.writing-journal-bookmark{width:auto;min-width:100px;margin:0}.writing-journal-page article,.writing-journal-page textarea{padding:16px}}.instance-choices{min-width:12rem;max-width:32rem;font-size:12px}.instance-choices summary{cursor:pointer;padding:5px 0}.instance-choices fieldset{display:grid;gap:6px;max-height:15rem;overflow:auto;padding:8px;border:1px solid var(--paper-line,#9e81585e);border-radius:4px}.instance-choices legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.instance-choices fieldset label{display:flex!important;align-items:center;gap:8px;text-align:left}.instance-choices fieldset input[type=checkbox]{width:auto!important;flex:none;margin:0}.sheet-function-status{color:var(--paper-muted,#806b48);font-size:11px}.ichorolude-recovery-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}.ichorolude-recovery-dialog h2{margin:0;font-size:1.15rem}.ichorolude-recovery-dialog section{display:grid;gap:14px;min-width:0}.ichorolude-recovery-dialog ul{margin:0;padding-left:20px;overflow-wrap:anywhere}.ichorolude-recovery-dialog article{border-top:1px solid var(--line);padding-top:12px;min-width:0}.ichorolude-recovery-dialog label{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,1fr);align-items:center;gap:12px;overflow-wrap:anywhere}.ichorolude-recovery-dialog details{margin-top:10px}.ichorolude-recovery-dialog pre{max-height:200px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.ichorolude-recovery-dialog footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.ichorolude-recovery-dialog footer button{white-space:normal}@media(max-width:480px){.ichorolude-recovery-dialog label{grid-template-columns:1fr}}.action-parameter-definition{border:1px solid var(--line, #658289);border-radius:8px;padding:.8rem;margin:.6rem 0}.action-parameter-row{display:flex;flex-wrap:wrap;align-items:end;gap:.5rem;margin:.4rem 0}.action-parameter-field{display:flex;flex:1 1 110px;flex-direction:column;gap:.25rem;min-width:0}.action-parameter-field span{font-size:.85em}.action-parameter-field input,.action-parameter-field select,.action-parameter-field textarea{box-sizing:border-box;width:100%;min-width:0}.action-parameter-field:has(input[type=checkbox]){flex-direction:row-reverse;justify-content:start;align-items:center;margin:.6rem 0}.action-parameter-field input[type=checkbox]{width:auto}.action-parameter-default{display:grid;gap:.5rem;margin:.7rem 0}.action-parameter-limits{margin-top:.7rem}.action-parameter-limits .field{margin:.4rem 0}.action-parameter-literal>input,.action-parameter-literal>select{width:100%}.action-parameter-form{display:grid;gap:1rem;padding:1rem}.action-parameter-window .ui-window-body{display:block;overflow:auto}.action-parameter-form footer{display:flex;justify-content:end;gap:.6rem}.action-parameter-form [role=alert]{color:var(--danger, #ffad9e);margin:0}.entity-reception-status{position:sticky;top:0;z-index:5;padding:.4rem .7rem;border-radius:.35rem;background:#293c4a;color:#f0f6fc;font-size:.8rem}.entity-reception-status[hidden]{display:none}.is-receiving{cursor:progress}.is-receiving>.entity-reception-status:before{content:"";display:inline-block;width:.65rem;height:.65rem;margin-right:.5rem;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:entity-reception-spin .8s linear infinite}.entity-reception-status.is-error{background:#5a3431}@keyframes entity-reception-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.is-receiving>.entity-reception-status:before{animation:none}}.mapmaking{display:flex;flex-direction:column;min-height:600px;height:calc(100vh - 170px);color:var(--ink, #ddd);background:var(--panel);--border:var(--line)}:root[data-view=mapmaking] .detail-pane{padding:0;overflow:hidden}:root[data-view=mapmaking] .workspace .content-grid{grid-template-columns:minmax(0,1fr)}:root[data-view=mapmaking] .content-grid>.list-pane,:root[data-view=mapmaking] .content-grid>.panel-resizer{display:none}:root[data-view=mapmaking] .mapmaking{height:100%;min-height:0}.mapmaking button,.mapmaking input,.mapmaking select{font:inherit;max-width:100%}.mapmaking button{cursor:pointer;border:1px solid var(--line);border-radius:5px;background:var(--panel-soft);color:var(--ink);padding:7px 10px}.mapmaking button.primary-action{background:var(--accent);color:#fff;border-color:var(--accent)}.mapmaking input,.mapmaking select{color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:6px}.mapmaking button:disabled{opacity:.55;cursor:default}.mapmaking-top{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--border, #394246);flex-wrap:wrap}.mapmaking-top [data-name]{flex:1;min-width:130px}.mapmaking-top [data-saved]{max-width:200px}.mapmaking-body{flex:1;min-height:0;display:grid;grid-template-columns:268px minmax(0,1fr)}.mapmaking aside{overflow:auto;border-right:1px solid var(--border, #394246);padding:16px}.mapmaking fieldset{padding:0;margin:0;border:0;display:grid;gap:12px;min-width:0}.mapmaking label{display:grid;gap:5px;font-size:12px;min-width:0}.mapmaking input:not([type=checkbox]):not([type=color]),.mapmaking select{width:100%;min-width:0;box-sizing:border-box}.mapmaking input[type=number]{padding:7px}.mapmaking input[type=range]{accent-color:var(--accent, #c49b5c)}.mapmaking-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}.mapmaking-seed{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.mapmaking details{border-top:1px solid var(--border, #394246);padding-top:12px}.mapmaking details[open]{display:grid;gap:12px}.mapmaking summary{cursor:pointer;font-weight:600;font-size:13px}.mapmaking details[open]>:not(summary){margin-top:10px}.mapmaking p{font-size:11px;line-height:1.55;opacity:.7;margin:0}.mapmaking .mapmaking-check{display:flex;gap:7px;align-items:center}.mapmaking-check input{margin:0}.mapmaking-palette{display:flex;gap:6px}.mapmaking-palette label{flex:1;text-align:center;font-size:9px}.mapmaking input[type=color]{width:100%;height:30px;padding:2px;border:1px solid var(--border, #394246);background:none;cursor:pointer}.mapmaking-texture{display:flex;flex-wrap:wrap;gap:6px}.mapmaking-texture small{width:100%;overflow:hidden;text-overflow:ellipsis;font-size:10px}.mapmaking-preview{display:flex;flex-direction:column;min-width:0;min-height:0}.mapmaking-preview nav{display:flex;gap:16px;align-items:center;padding:10px 16px;flex-wrap:wrap}.mapmaking-preview [data-scale]{margin-left:auto;font-size:11px;opacity:.7}.mapmaking-preview .mapmaking-resolution{display:flex;align-items:center;gap:6px;margin-left:auto}.mapmaking-resolution select{width:auto}.mapmaking [data-output]{font-variant-numeric:tabular-nums;opacity:.8}.mapmaking-viewport{flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;padding:24px;min-height:250px;background:radial-gradient(ellipse at 50% 50%,#293338,#141b20)}.mapmaking-sheet{position:relative;flex:none;box-shadow:0 12px 40px #0008}.mapmaking-region{position:relative;flex:none}.mapmaking-viewport{align-items:safe center;justify-content:safe center;overscroll-behavior:contain}.mapmaking:focus{outline:none}.mapmaking-region.has-neighbours{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:0}.has-neighbours .mapmaking-sheet{grid-area:2 / 2;z-index:1;outline:2px solid var(--accent, #c49b5c);outline-offset:-2px}.mapmaking button.mapmaking-neighbour{position:relative;overflow:hidden;border-radius:0;border:1px solid #ffffff30;padding:0;background:#1d292d}.mapmaking-neighbour img{display:block;width:100%;height:100%;object-fit:fill;opacity:.8}.mapmaking-neighbour:hover img,.mapmaking-neighbour.is-saved img{opacity:1}.mapmaking-neighbour span{position:absolute;bottom:5px;left:5px;color:#fff;background:#142023d9;padding:3px 6px;font-size:11px;border-radius:3px}.mapmaking button.mapmaking-neighbour:disabled{opacity:.8}.mapmaking-viewport.is-detail{display:block}.mapmaking-sheet>img{display:block;width:100%;height:100%;object-fit:contain}.mapmaking-sheet>img:not([src]){min-height:280px;background:#1d292d}.mapmaking-sheet svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none;pointer-events:none}.mapmaking-sheet svg.is-drawing{pointer-events:auto;cursor:crosshair}.mapmaking-sheet circle{fill:#f5d18a;stroke:#243033;stroke-width:3;vector-effect:non-scaling-stroke;cursor:grab}.mapmaking-sheet circle:focus{stroke:#fff;outline:none}.mapmaking [aria-pressed=true]{background:var(--accent, #b38d58);color:#171d23}.mapmaking footer{padding:10px 16px;display:flex;gap:12px;flex-wrap:wrap;font-size:11px;min-height:34px}.mapmaking [data-warnings]{color:var(--warn)}.mapmaking [data-probe]{position:absolute;bottom:8px;left:8px;color:#fff;background:#142023dd;font-size:11px;border-radius:4px;padding:4px 7px;pointer-events:none}.mapmaking [data-probe]:empty{display:none}@media(max-width:850px){.mapmaking-body{grid-template-columns:220px minmax(0,1fr)}.mapmaking-viewport{padding:12px}.mapmaking-preview [data-scale]{display:none}.mapmaking-preview nav{gap:8px}}@media(max-width:580px){.mapmaking,:root[data-view=mapmaking] .mapmaking{height:auto}:root[data-view=mapmaking] .detail-pane{overflow:auto}.mapmaking-body{grid-template-columns:1fr}.mapmaking aside{max-height:360px}.mapmaking-preview{min-height:400px}}.mapmaking-studio{display:flex;flex-direction:column;height:100%;min-height:0;background:var(--panel);color:var(--ink)}.mapmaking-studio-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 14px;border-bottom:1px solid var(--line)}.mapmaking-studio-nav label{display:flex;align-items:center;gap:8px;font-size:12px}.mapmaking-studio-nav select{max-width:260px}.mapmaking-studio-nav [data-open]{margin-left:auto}.mapmaking-studio-nav [role=tablist]{display:flex;gap:5px}.mapmaking-studio-nav button,.mapmaking-studio-nav select{padding:7px 10px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:var(--panel-soft);font:inherit}.mapmaking-studio-nav [aria-selected=true]{background:var(--accent);color:#fff}.mapmaking-studio-nav button{cursor:pointer}.mapmaking-studio-nav button:disabled{opacity:.5}.mapmaking-studio>[data-view]{flex:1;min-height:0;overflow:hidden}.mapmaking-studio>[data-view]>p{padding:24px;font-size:14px}@media(max-width:650px){.mapmaking-studio-nav{gap:7px}.mapmaking-studio-nav select{max-width:180px}.map-zone-editor.map-zone-embedded main{grid-template-columns:190px minmax(0,1fr)}}.dungeon-panel{display:grid;gap:.8rem;padding:.3rem 0 .8rem}.dungeon-panel[hidden],.surface-workshop[data-mode=dungeon] [data-delete-selection],.world-editor .map-zone-editor [data-layout-view][hidden]{display:none}.dungeon-brushes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem}.dungeon-brushes button,.dungeon-decor button,.dungeon-panel select{font:inherit;color:var(--ink);background:var(--panel-soft);border:1px solid var(--line);border-radius:4px;padding:.45rem .55rem}.dungeon-brushes button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--panel))}.dungeon-panel p{margin:0;font-size:.8rem;color:var(--muted)}.map-zone-editor .dungeon-panel>label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.6rem;margin:0;text-align:left}.dungeon-panel>label select{width:100%;min-width:0}.dungeon-decor{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}.map-zone-editor .dungeon-decor label{display:inline-flex;flex-direction:row;align-items:center;gap:.35rem;margin:0}.dungeon-decor input{margin:0}.dungeon-decor button{font-size:.8rem}.dungeon-grid,.dungeon-preview{vector-effect:non-scaling-stroke}.dungeon-grid{fill:none;stroke:#9bb9b7;stroke-opacity:.26;stroke-width:.8}.dungeon-preview{fill:#8ac5bd55;stroke:#b9f4e8;stroke-width:1.6}[data-dungeon-overlay][data-tool=erase] .dungeon-preview{fill:#d7766866;stroke:#eea59a}[data-dungeon-overlay][data-tool=door] .dungeon-preview{stroke:#ffd88f;stroke-width:4}.construction-editor{display:flex;flex-direction:column;min-height:0;height:100%;color:var(--ink,#dce8e8);background:var(--panel,#10202a)}.construction-editor [hidden]{display:none!important}.construction-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:end;padding:.65rem;border-bottom:1px solid var(--line,#34505b)}.construction-editor label{display:flex;gap:.3rem;flex-direction:column;font-size:.75rem;color:var(--muted,#a7bfc7)}.construction-editor input[type=number]{width:6.2rem}.construction-editor input,.construction-editor select,.construction-editor button{font:inherit;min-height:2rem;border:1px solid var(--line,#45606b);border-radius:4px;color:var(--ink,#e3eeee);background:var(--panel-soft,#1b3540);padding:.3rem .5rem}.construction-editor button{cursor:pointer}.construction-editor button:disabled{opacity:.4;cursor:default}.construction-editor button[aria-pressed=true]{border-color:var(--accent,#e8c78f);color:var(--accent,#f2d59f)}.construction-workspace{display:flex;flex:1;min-height:0;overflow:hidden}.construction-canvas{width:100%;flex:1;min-width:0;touch-action:none;background:#091821;cursor:crosshair}.construction-canvas:focus-visible{outline:2px solid #85c7d2;outline-offset:-3px}.construction-panel{display:flex;flex-direction:column;gap:.6rem;flex:0 0 220px;min-width:0;max-width:100%;box-sizing:border-box;padding:.75rem;overflow:auto;border-left:1px solid var(--line,#34505b)}.construction-panel h3,.construction-panel p{margin:.3rem 0}.construction-panel label{margin:.5rem 0}.construction-panel input[type=checkbox]{align-self:start;min-height:auto}.construction-plan-list{display:flex;gap:.35rem;flex-wrap:wrap}.construction-shortage{color:#e9a590}.construction-ruler{margin-left:auto;padding:.45rem .25rem;font-size:.8rem;color:#d2b88a;white-space:nowrap}.construction-editor .construction-build{background:#47766e;color:#fff;border-color:#82b3a8;font-weight:600}.construction-status{padding:.45rem .8rem;margin:0;font-size:.8rem;color:var(--muted,#b8cacc);min-height:1.2rem;border-top:1px solid var(--line,#34505b)}.furnishing-construction-host{flex:1;min-height:0}.furnishing-construction-host[hidden]{display:none}.construction-section{width:100%;max-height:200px;flex:none;touch-action:none;border:1px solid #34505b;border-radius:8px;background:linear-gradient(#122b38,#0c1b25)}.construction-handle-modes{display:flex;flex-wrap:wrap;gap:4px;margin:.6rem 0}.construction-handle-modes button{flex:1 1 65px;min-width:0}.construction-panel select{min-width:0;max-width:100%;box-sizing:border-box}.construction-border-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;grid-column:1/-1}.construction-border-fields :is(select,input[type=number]){box-sizing:border-box;width:100%;min-width:0}.construction-selection-size{color:#f7d998;font-variant-numeric:tabular-nums}.construction-panel .construction-section:focus-visible{outline:2px solid #85c7d2}@media(max-width:700px){.construction-panel{flex-basis:160px}.construction-toolbar{gap:.3rem}.construction-editor input[type=number]{width:4.5rem}.construction-handle-modes{flex-wrap:wrap}.construction-handle-modes button{flex-basis:100%;min-width:0}.construction-panel select{min-width:0;width:100%}}.asset-slicer{display:flex;flex-direction:column;height:100%;min-height:0;color:var(--ink);background:var(--panel)}.asset-slicer header,.asset-slicer footer{display:flex;align-items:center;gap:8px;padding:12px;flex-wrap:wrap}.asset-slicer footer [data-status]{flex:1;font-size:12px}.asset-slicer main{display:grid;grid-template-columns:250px minmax(0,1fr);flex:1;min-height:0}.asset-slicer aside{display:flex;flex-direction:column;gap:10px;overflow:auto;padding:12px;border-right:1px solid var(--line)}.asset-slicer aside>*{flex-shrink:0}.asset-slicer aside button{white-space:normal;overflow-wrap:anywhere;font-size:12px}.asset-slicer .asset-slicer-list:not(:empty){min-height:90px}.asset-slicer .asset-slicer-list:empty{display:none}.asset-slicer button,.asset-slicer input{background:var(--panel-soft);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:7px;font:inherit;min-width:0;box-sizing:border-box}.asset-slicer button{cursor:pointer}.asset-slicer button:disabled{opacity:.45}.asset-slicer label{display:grid;gap:4px;font-size:12px}.asset-slicer input{width:100%}.asset-slicer-file input{max-width:220px;font-size:11px}.asset-slicer small{font-size:11px;opacity:.75;line-height:1.5}.asset-slicer details label{margin-top:8px}.asset-slicer-pair{display:grid;grid-template-columns:1fr 1fr;gap:6px}.asset-slicer-list{display:grid;gap:4px;max-height:200px;overflow:auto}.asset-slicer-list button{text-align:left;font-size:12px}.asset-slicer [data-fields]{display:grid;gap:5px}.asset-slicer .is-selected,.asset-slicer [aria-pressed=true]{outline:2px solid var(--accent,#b38d58);outline-offset:-2px}.asset-slicer-scroll{overflow:auto;padding:20px;background:#192327}.asset-slicer-stage{position:relative;margin:0 auto;background:repeating-conic-gradient(#414b4c 0% 25%,#30383a 0% 50%) 0 0/20px 20px;touch-action:none;-webkit-user-select:none;user-select:none}.asset-slicer-stage[hidden]{display:none}.asset-slicer-stage>img{display:block;width:100%;height:100%;pointer-events:none}.asset-slicer [data-boxes]{position:absolute;inset:0}.asset-slicer [data-contours]{position:absolute;inset:0;width:100%;height:100%;overflow:visible;outline:0;touch-action:none}.asset-slice-shape{fill:#e8c27a06;stroke:#f0c782;stroke-width:1;vector-effect:non-scaling-stroke;cursor:move}.asset-slicer [data-contours] .is-selected{outline:0}.asset-slicer .is-selected .asset-slice-shape{fill:#8be0e717;stroke:#8be0e7;stroke-width:2}.asset-slicer [data-contours] text{fill:#fff;paint-order:stroke;stroke:#15242d;stroke-width:2;font-family:sans-serif;font-weight:700;pointer-events:none}.asset-slice-frame{fill:none;stroke:#8be0e777;stroke-dasharray:4 4;vector-effect:non-scaling-stroke;pointer-events:none}.asset-slice-vertex,.asset-slice-resize{fill:#8be0e7;stroke:#132629;stroke-width:1;vector-effect:non-scaling-stroke;cursor:move}.asset-slice-resize{cursor:nwse-resize}.asset-slice-draft{fill:#8be0e717;stroke:#8be0e7;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}.asset-slicer-stage.is-drawing,.asset-slicer-stage.is-drawing .asset-slice-shape{cursor:crosshair}.asset-slicer [data-drawing]{display:flex;align-items:center;gap:8px;padding:0 12px 8px;font-size:12px}.asset-slicer [data-drawing][hidden]{display:none}.asset-slicer [data-drawing]>span{flex:1}.asset-slicer [data-preview]:not(:empty){background:repeating-conic-gradient(#414b4c 0% 25%,#30383a 0% 50%) 0 0/12px 12px;border-radius:4px;padding:5px}.asset-slicer [data-preview] svg{display:block;width:100%;height:105px}.asset-slicer header button{font-size:12px}.asset-slicer button.primary-action{background:var(--accent);color:#fff}.asset-slicer [data-empty]{color:#ddd;font-size:13px}@media(max-width:650px){.asset-slicer main{grid-template-columns:190px minmax(0,1fr)}.asset-slicer-scroll{padding:8px}}.composition-editor{margin-block:12px;border:1px solid var(--paper-line);border-radius:10px;padding:14px;min-width:0}.composition-editor h3{margin:0 0 12px;font-size:1rem}.composition-toolbar,.composition-part-actions{display:flex;flex-wrap:wrap;gap:8px}.composition-toolbar{margin-bottom:14px}.composition-editor button{padding:7px 10px;border:1px solid var(--paper-line);border-radius:6px;background:transparent;color:var(--paper-ink);cursor:pointer}.composition-editor button:hover,.composition-editor button[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 16%,transparent);border-color:var(--accent)}.composition-editor button:disabled{opacity:.4;cursor:default}.composition-editor button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.composition-panels{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(200px,1.2fr);gap:18px}.composition-panels nav{min-width:0}.composition-tree{list-style:none;margin:0;padding:0;max-height:460px;overflow:auto}.composition-tree li{padding-left:calc(var(--part-depth, 0) * 12px)}.composition-tree-row{display:flex;align-items:center;gap:2px;margin-bottom:4px}.composition-tree-row button[data-part-select]{display:flex;gap:8px;align-items:center;justify-content:space-between;text-align:left;min-width:0;flex:1}.composition-tree-row button[data-part-select] span{overflow-wrap:anywhere}.composition-tree-row small{color:var(--paper-muted)}.sheet-audience{display:inline-block;font-size:.72rem;font-weight:500;color:var(--paper-muted);margin-inline-start:.45rem}.sheet-audience.is-private{color:var(--paper-ink);border:1px dashed currentColor;border-radius:4px;padding:1px 5px}.sheet-audience-group{margin-block:.75rem}.sheet-audience-group>h4{color:var(--paper-muted);font-size:.8rem;margin:.5rem 0}.sheet-audience-group.is-private{border-top:1px dashed var(--paper-muted);padding-top:.4rem}.sheet-instance.is-private{border-inline-start:3px solid var(--paper-muted)}.sheet-audience-control{display:flex;align-items:center;gap:.5rem;margin-block:.4rem}.composition-editor .composition-fold,.composition-leaf{width:24px;flex:0 0 24px;text-align:center;padding:5px 0;border-color:transparent}.composition-detail{display:grid;align-content:start;gap:12px;min-width:0}.composition-detail input,.composition-detail textarea,.composition-detail select{width:100%;box-sizing:border-box}.character-window .composition-detail .sheet-field textarea{min-height:72px;resize:vertical}.composition-detail strong{white-space:pre-wrap;overflow-wrap:anywhere}.composition-member-functions{border:0;margin:0;padding:0;display:grid;gap:6px;min-width:0}.composition-member-functions legend{padding:0;margin-bottom:2px}.composition-member-function{display:flex;align-items:baseline;gap:8px;min-width:0}.composition-detail .composition-member-function input{width:auto;flex:none}.composition-member-function small{opacity:.7}.composition-part-actions{margin-top:6px}.composition-remove{border:1px solid var(--paper-line);padding:10px;border-radius:6px}.composition-remove[hidden]{display:none}.composition-remove p{margin-top:0}.composition-status{margin:8px 0 0;color:var(--paper-muted);font-size:.85rem}.composition-status:empty{display:none}.composition-tree-row{position:relative}.composition-tree-row[data-part-insertion=before]:before,.composition-tree-row[data-part-insertion=after]:after{content:"";position:absolute;left:20px;right:0;height:2px;background:var(--accent,#78bdc2);pointer-events:none}.composition-tree-row[data-part-insertion=before]:before{top:-2px}.composition-tree-row[data-part-insertion=after]:after{bottom:-2px}.composition-tree-row[data-part-insertion=inside]{outline:1px dashed var(--accent,#78bdc2);outline-offset:2px}.composition-connections{color:var(--paper-muted)}.composition-editor{--paper-line: var(--border-color, #53767a);--paper-ink: var(--text-color, inherit)}.composition-editor .part-state{display:grid;gap:4px;min-width:46px;text-align:right;white-space:nowrap;color:var(--state-color);font-size:.75rem}.part-state[data-tone=good]{--state-color: #6cbcab}.part-state[data-tone=fair]{--state-color: #c1c77f}.part-state[data-tone=poor]{--state-color: #e2b967}.part-state[data-tone=bad]{--state-color: #e08a78}.part-state[data-tone=off],.part-state[data-tone=unknown]{--state-color: #a3a8b5}.part-state i{height:3px;border-radius:3px;background:linear-gradient(to right,var(--state-color) var(--integrity),#87989933 var(--integrity))}.part-detached{display:block;font-size:.7rem}.part-references>span,.composition-object-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;opacity:.8}.part-references>ul{list-style:none;padding:0;margin:5px 0;display:flex;flex-wrap:wrap;gap:6px}.part-references>ul>li{border:1px solid var(--paper-line);border-radius:12px;padding:3px 7px;font-size:.85rem}.part-references>ul>li:has(.parameter-field),.part-references>ul>li:has([data-functionality-requirement]){width:100%;min-width:0;box-sizing:border-box}[data-functionality-requirement]>.sheet-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,120px);gap:8px;align-items:center}[data-functionality-requirement] .component-links{max-height:240px;overflow:auto}.composition-requirements-status{display:block;margin-block:6px;color:var(--paper-muted)}.part-references [data-part-unlink]{border:0;padding:0 3px}.part-reference-choices{max-height:160px;overflow:auto;margin-top:6px}.part-reference-choices button{display:block;width:100%;text-align:left;margin:3px 0}.part-reference-choices[hidden],.part-reference-choices button[hidden]{display:none}.composition-detail details{border-top:1px solid var(--paper-line);padding-block:8px}.composition-detail details>label{margin-top:10px}.composition-reference{margin-top:12px;font-size:.8rem}.composition-editor summary{cursor:pointer}.composition-editor input[type=range]{accent-color:var(--accent, #78bdc2);padding:4px 0}.composition-features{display:grid;gap:12px}.composition-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.composition-identity .sheet-field{min-width:0}.composition-identity:has(textarea){grid-template-columns:1fr}.composition-feature-list{display:flex;flex-wrap:wrap;gap:6px}.composition-feature-list .searchable-select{flex:0 1 190px;min-width:140px}.composition-feature-list select{width:auto;max-width:100%;min-width:140px;border-style:dashed}.composition-feature-parameters{padding:12px 0;border-block:1px solid var(--paper-line)}.composition-feature-parameters[open]>:not(summary){margin-top:12px}.composition-feature-parameters>summary{cursor:pointer;list-style:none}.composition-feature-parameters>summary:before{content:"";display:var(--ui-chevron-display,inline-block);width:var(--ui-chevron-size,6px);height:var(--ui-chevron-size,6px);border-right:var(--ui-chevron-width,1px) solid currentColor;border-bottom:var(--ui-chevron-width,1px) solid currentColor;transform:rotate(-45deg)}.composition-feature-parameters[open]>summary:before{transform:rotate(45deg)}.composition-feature-heading strong{flex:1}.composition-feature-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.composition-feature-heading button{border:0;padding:2px 8px;font-size:1.1rem}.composition-feature-list .searchable-select{flex:1 1 200px;max-width:380px}.composition-action-shortcuts{display:flex;flex-wrap:wrap;gap:6px;margin-block:10px}.composition-action-shortcuts>strong{flex-basis:100%;font-size:.8rem}.sheet-action-source{display:block;font-weight:400;opacity:.75}.sheet-character-badges{margin:0 0 0 auto;display:grid;gap:6px;flex:0 0 auto}.sheet-character-badges>div{border:1px solid var(--paper-line, #53767a);border-radius:16px 4px;padding:6px 14px;min-width:104px;text-align:center;background:color-mix(in srgb,var(--accent, #b2ffff) 5%,transparent)}.sheet-character-badges dt{font-size:.65rem;text-transform:uppercase;letter-spacing:.05em}.sheet-character-badges dd{font-size:1.1rem;margin:0;font-variant-numeric:tabular-nums}.sheet-character-badges dd small{font-size:.7rem;opacity:.75}.sheet-character-header:has(.sheet-character-badges){margin:4px 0 12px;gap:16px}.sheet-character-header:has(.sheet-character-badges) .sheet-seal{width:64px;height:64px;font-size:30px}.sheet-character-header:has(.sheet-character-badges) .sheet-field input{font-size:20px;padding:7px}.component-transfer-dialog{background:var(--paper, #142831);color:var(--paper-ink, #dcebee);border:1px solid #53767a;border-radius:10px;max-width:min(400px,90vw);padding:20px}.component-transfer-dialog label{display:grid;gap:6px;margin:14px 0}.component-transfer-dialog select{min-height:34px}.component-transfer-dialog button{margin:0 8px 0 0;padding:6px 12px}@container (max-width: 560px){.composition-panels{grid-template-columns:1fr}.composition-tree{max-height:220px}}@media(max-width:600px){.composition-panels{grid-template-columns:1fr}.composition-tree{max-height:220px}}.component-collection{min-width:0;margin:8px 0;padding:8px;border:1px solid var(--paper-line,#9e81585e);border-radius:4px}.component-collection [data-quantity-row]{display:grid;grid-template-columns:minmax(0,1fr) minmax(54px,.65fr) auto;align-items:center;gap:6px;margin:4px 0}.component-collection .sheet-field{min-width:0;margin:0}.component-links .sheet-field{display:flex;flex-direction:row;align-items:center;gap:8px;padding:3px 0}.component-links input[type=checkbox]{flex:0 0 18px;width:18px;height:18px}.unit-settings>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.unit-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.unit-settings-row{display:grid;grid-template-columns:1.2fr .6fr 1fr 1.5fr auto;gap:8px;align-items:end;margin:12px 0}.unit-settings-row label{display:grid;min-width:0;gap:5px}.unit-settings-row label>span{font-size:12px;color:var(--muted)}.unit-settings-row input,.unit-settings-row select{width:100%;min-width:0}.unit-settings-row input,.unit-settings-row select{border:1px solid var(--line);border-radius:8px;padding:8px;background:var(--panel-soft);color:var(--ink);font:inherit}.unit-settings [data-unit-rows]{max-height:340px;overflow-y:auto}.unit-settings-error{color:var(--danger, #e69a86)}.unit-settings-error:empty{display:none}@media(max-width:640px){.unit-preferences{grid-template-columns:1fr}.unit-settings-row{grid-template-columns:1fr 1fr auto}.unit-settings-row>button{grid-column:3;grid-row:1 / 3;align-self:center}}.calendar-editor-actions,.calendar-levels,.decimal-calendar-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.calendar-definition-editor:not(:empty){margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:12px}.calendar-editor-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.calendar-editor-rows{display:grid;gap:8px;margin:12px 0;max-height:320px;overflow:auto}[data-calendar-row]{display:grid;grid-template-columns:minmax(120px,1fr) minmax(100px,160px) 36px;gap:8px;align-items:end}.calendar-definition-editor output{display:block;margin:16px 0;overflow-wrap:anywhere;color:var(--muted)}.calendar-definition-editor output.is-invalid,.calendar-editor-status{color:var(--muted)}.decimal-calendar{display:grid;gap:16px;min-width:0}.decimal-calendar-controls .decimal-coordinate{flex:1;min-width:min(100%,26ch)}.decimal-calendar-controls input{width:100%;font-variant-numeric:tabular-nums}.calendar-levels [aria-pressed=true],.decimal-calendar-slot.is-selected{border-color:var(--accent);background:var(--panel)}.decimal-calendar-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.decimal-calendar-slot{display:flex;flex-direction:column;gap:8px;align-items:flex-start;min-width:0;text-align:left;overflow-wrap:anywhere}.decimal-calendar-slot small{font-weight:400}.decimal-grouped-date{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.decimal-picker-level{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0}.decimal-calendar-events{display:grid;gap:8px;max-height:320px;overflow:auto}.decimal-calendar-events button{text-align:left;overflow-wrap:anywhere}.faerun-calendar>[data-calendar-period]{grid-column:1/-1}.project-date-days{max-height:320px;overflow:auto}.project-date-control>input{flex:1 0 100%;min-width:0;width:100%;font-variant-numeric:tabular-nums}@media(max-width:700px){.decimal-calendar-strip,.calendar-editor-fields{grid-template-columns:1fr}}
