.ff3d-table{color:#eee9dd;background:#171f22;position:absolute;inset:0;overflow:hidden}.ff3d-canvas{position:absolute;inset:0}.ff3d-canvas canvas,.ff3d-preview canvas{width:100%;height:100%;display:block}.ff3d-toolbar{background:#202b2bf2;border:1px solid #8b8f7740;border-radius:10px;align-items:center;gap:5px;padding:7px 9px;display:flex;position:absolute;top:18px;left:18px;box-shadow:0 5px 22px #0003}.ff3d-mode{letter-spacing:.14em;color:#cfbc92;align-items:center;gap:8px;padding:0 10px 0 4px;font-size:10px;display:flex}.ff3d-table button{cursor:pointer}.ff3d-toolbar button,.ff3d-token-controls>button,.ff3d-placement button,.ff3d-library header button{color:#e5e9df;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:flex}.ff3d-toolbar button:hover,.ff3d-toolbar button.active,.ff3d-token-controls>button:hover{color:#f5d99b;background:#c5b18e24}.ff3d-library{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#202a28f8;border-right:1px solid #81968538;width:300px;max-width:calc(100% - 25px);padding:22px 18px 25px;position:absolute;top:0;bottom:0;left:0;overflow:auto;box-shadow:14px 0 45px #0003}.ff3d-library header{justify-content:space-between;gap:12px;margin-bottom:20px;display:flex}.ff3d-library h2{margin:6px 0;font-size:25px}.ff3d-library header p{color:#aebcb3;margin:0;font-size:12px}.ff3d-library .eyebrow{letter-spacing:.17em;color:#c4b18e;font-size:9px}.ff3d-characters{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:15px;display:grid}.ff3d-characters button{text-align:left;color:#eee9dd;background:#17211f;border:1px solid #91a58c40;border-radius:9px;padding:0 0 10px;overflow:hidden}.ff3d-characters button.active{background:#b69e7020;border-color:#cab18a}.ff3d-characters img{object-fit:contain;background:#172021;width:100%;height:93px}.ff3d-characters span{padding:8px 10px 0;display:block}.ff3d-characters b{font-size:15px}.ff3d-characters small{color:#aebcb3;margin-top:4px;font-size:9px;display:block}.ff3d-preview{background:#171f22;border:1px solid #81968540;border-radius:9px;height:205px;position:relative;overflow:hidden}.ff3d-preview p{padding:20px;font-size:12px}.ff3d-library-fields{gap:13px;padding-top:15px;display:grid}.ff3d-library-fields label{color:#bcc9be;gap:7px;font-size:11px;display:grid}.ff3d-library-fields select,.ff3d-token-controls select{color:#e9eee5;background:#18221f;border:1px solid #82938250;border-radius:6px;width:100%;min-width:0;padding:9px;font-size:11px}.ff3d-library-fields small{color:#a7b9ac;font-size:10px;line-height:1.7}.ff3d-library-fields .primary{justify-content:center}.ff3d-help{text-align:center;pointer-events:none;color:#c2cfc4;opacity:.8;text-shadow:0 1px 5px #000;width:max-content;max-width:calc(100% - 35px);font-size:10px;line-height:1.5;position:absolute;bottom:15px;left:50%;transform:translate(-50%)}.ff3d-placement{color:#19251e;background:#d1bc8b;border-radius:9px;align-items:center;gap:12px;padding:6px 9px 6px 15px;font-size:12px;display:flex;position:absolute;top:20px;left:50%;transform:translate(-50%);box-shadow:0 5px 25px #0004}.ff3d-placement button{color:inherit}.ff3d-token-controls{background:#202b2bf2;border:1px solid #8b8f7740;border-radius:9px;align-items:center;gap:7px;max-width:calc(100% - 35px);padding:8px 10px;display:flex;position:absolute;top:18px;right:16px}.ff3d-token-controls b{white-space:nowrap;padding:0 4px;font-size:12px}.ff3d-token-controls select{max-width:220px}.ff3d-empty,.ff3d-error{text-align:center;pointer-events:none;max-width:360px;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.ff3d-empty svg{color:#d1ba8b}.ff3d-empty h2{font-size:22px;font-weight:500;line-height:1.4}.ff3d-empty p,.ff3d-error p{color:#bdc9c0;font-size:13px;line-height:1.7}.ff3d-error{z-index:3;background:#202a28ed;border:1px solid #c1a57c55;border-radius:10px;padding:24px}.ff3d-physical{width:100%;height:100%;position:relative}.ff3d-mode-choice{border:0;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 22px;padding:0;display:grid}.ff3d-mode-choice legend{color:#aab7ad;padding:0 0 9px;font-size:12px}.ff3d-mode-choice button{text-align:left;color:inherit;background:0 0;border:1px solid #76857866;border-radius:9px;padding:14px}.ff3d-mode-choice button[aria-pressed=true]{background:#bc9a6124;border-color:#c6a56e}.ff3d-mode-choice strong{margin-bottom:5px;display:block}.ff3d-mode-choice small{color:#aab7ad;font-size:11px}.ff3d-lobby-tag{color:#d9bf8e;vertical-align:middle;background:#bda27124;border-radius:4px;margin-left:8px;padding:3px 5px;font-size:9px;font-style:normal}.ff3d-loading{color:#bbcbbd;padding:40px}.ff3d-table .muted{color:#aebcb3;font-size:12px;line-height:1.6}@media (max-width:900px){.ff3d-token-controls{gap:3px;top:auto;bottom:55px;right:10px}.ff3d-token-controls select{max-width:150px}.ff3d-help{font-size:9px}.ff3d-library{width:280px}.ff3d-placement{width:max-content;max-width:90%}.ff3d-toolbar{top:12px;left:12px}}@media (prefers-reduced-motion:reduce){.ff3d-library{-webkit-backdrop-filter:none;backdrop-filter:none}}.ff3d-table .ff3d-characters button,.ff3d-table .ff3d-characters img{display:block}.ff3d-table .ff3d-token-controls .sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ff3d-table .ff3d-token-controls{max-width:calc(100% - 36px);font-size:12px;top:80px}.ff3d-table .ff3d-token-controls label{margin:0}.ff3d-table .ff3d-token-controls select{max-width:200px;font-size:11px}.ff3d-table .ff3d-library-fields .primary{min-height:40px;display:flex}.ff3d-table .ff3d-characters small{line-height:1.5}@media (max-width:900px){.ff3d-table .ff3d-token-controls{top:auto;bottom:55px}}.ff3d-table .ff3d-preview{height:175px}.ff3d-table .ff3d-characters img{height:78px}.ff3d-table .ff3d-library header{margin-bottom:15px}.ff3d-table .ff3d-library-fields{gap:10px}.ff3d-table .map-tool-dock{z-index:5;top:88px;left:16px;transform:none}.ff3d-table .map-tool-palette{z-index:6;top:88px;left:82px;transform:none}.ff3d-table .table-settings-toggle{z-index:5;position:absolute;top:18px;right:16px}.ff3d-table .ff3d-toolbar{z-index:4;top:18px;left:16px}.ff3d-table .ff3d-library{z-index:12;width:310px}.ff3d-table .ff3d-token-controls{z-index:4;background:#202b2bf2;gap:12px;width:285px;max-width:min(300px,100% - 110px);padding:14px;display:grid;top:72px;right:16px}.ff3d-token-heading{align-items:center;gap:7px;display:flex}.ff3d-token-heading b{white-space:normal;flex:1}.ff3d-token-heading button,.ff3d-gizmo-modes button,.ff3d-bottom button{color:inherit;background:#111c1840;border:1px solid #91a58c30;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:7px;display:flex}.ff3d-table .ff3d-token-controls label{color:#c6d2c7;gap:6px;font-size:10px;display:grid}.ff3d-table .ff3d-token-controls select{width:100%;max-width:100%}.ff3d-gizmo-modes{gap:5px;display:flex}.ff3d-gizmo-modes button{flex-direction:column;flex:1;font-size:10px}.ff3d-gizmo-modes button[aria-pressed=true]{color:#f4d69b;background:#b69e7020;border-color:#cab18a}.ff3d-transform-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.ff3d-transform-fields input{color:#eee9dd;background:#18221f;border:1px solid #82938250;border-radius:6px;width:100%;min-width:0;padding:8px;font-size:12px}.ff3d-token-controls small{color:#aebcb3;font-size:10px;line-height:1.5}.ff3d-mini-label{color:#e9eee1;white-space:normal;text-align:center;background:#14221de8;border:1px solid #849a7b55;border-radius:5px;max-width:220px;padding:4px 7px;font:10px/1.4 system-ui,sans-serif;box-shadow:0 2px 8px #0004}.ff3d-mini-label.active{color:#ffdb9b;border-color:#e3ae64}.ff3d-bottom{z-index:4;color:#d0d9cd;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;font-size:11px;display:flex;position:absolute;bottom:37px;left:90px;right:16px}.ff3d-bottom>span{background:#202b2bf2;border:1px solid #91a58c30;border-radius:6px;align-items:center;gap:7px;padding:8px 10px;display:flex}.ff3d-bottom>span:first-child{margin-right:auto}.ff3d-bottom label{align-items:center;gap:7px;display:flex}.ff3d-help{font-size:9px;bottom:12px}.ff3d-upload{justify-content:center;align-items:center;gap:8px;width:100%;min-height:40px;font-size:11px;display:flex}.ff3d-format{color:#aebcb3;margin:7px 0 15px;font-size:10px;line-height:1.5}.ff3d-upload-error{color:#ffc0ac;background:#5d30294d;border-radius:6px;padding:10px;font-size:11px;line-height:1.6}.ff3d-custom-models{color:#c6d2c7;gap:7px;margin:0 0 14px;font-size:11px;display:grid}.ff3d-custom-models select{color:#eee9dd;background:#18221f;border:1px solid #82938250;border-radius:6px;width:100%;padding:9px;font-size:11px}.ff3d-library-fields .wide{white-space:normal;justify-content:center;align-items:center;gap:7px;display:flex}.ff3d-error button{color:inherit;background:0 0;border:0;position:absolute;top:5px;right:5px}.ff3d-table .ff3d-placement{z-index:8;top:80px}:is(.ff3d-table button:focus-visible,.ff3d-table select:focus-visible,.ff3d-table input:focus-visible){outline-offset:3px;outline:2px solid #eed49a}.ff3d-table .ff3d-pick-token{color:#dce5da;background:#18221f;border:1px solid #82938250;border-radius:5px;max-width:180px;padding:7px;font-size:11px}@media (max-width:900px){.ff3d-table .ff3d-token-controls{gap:9px;max-width:225px;padding:10px;top:72px;bottom:auto}.ff3d-table .ff3d-mode{display:none}.ff3d-bottom{gap:5px;bottom:40px;left:80px}.ff3d-table .ff3d-pick-token{max-width:110px}.ff3d-table .table-settings-toggle{font-size:10px}.ff3d-table .map-tool-dock{left:10px}.ff3d-table .map-tool-palette{left:70px}.ff3d-table .ff3d-toolbar{left:10px}.ff3d-help{max-width:95%;font-size:8px}}.ff3d-table .map-selection{z-index:5;position:absolute;top:auto;bottom:85px;left:90px;transform:none}.ff3d-bottom button[aria-pressed=true]{color:#f1d39a;border-color:#cbb686}.ff3d-canvas{isolation:isolate}.ff3d-library button:disabled{opacity:.5;cursor:wait}.ff3d-table .ff3d-library{overscroll-behavior:contain;scrollbar-width:thin;width:430px;max-width:calc(100% - 18px);padding:20px 18px 24px}.ff3d-table .ff3d-library header{align-items:flex-start;margin-bottom:17px}.ff3d-library header>div{min-width:0}.ff3d-library header p{font-size:11px;line-height:1.5}.ff3d-library header button{flex-shrink:0}.ff3d-library-search{color:#bbccb9;background:#111c19;border:1px solid #94a38b55;border-radius:8px;align-items:center;gap:9px;min-height:42px;padding:0 11px;display:flex}.ff3d-library-search:focus-within{border-color:#c7ae7b}.ff3d-library-search input{color:#f0eee5;background:0 0;border:0;width:100%;min-width:0;padding:10px 0;font-family:inherit;font-size:12px;line-height:1.5}.ff3d-library-search input::placeholder{color:#9aab9d;font-size:11px}.ff3d-library-categories{scrollbar-width:thin;gap:6px;padding:12px 1px 9px;display:flex;overflow-x:auto}.ff3d-library-categories button{color:#c9d5c6;white-space:nowrap;background:#15221e;border:1px solid #899e7d3d;border-radius:6px;flex:none;align-items:center;gap:6px;min-height:33px;padding:6px 9px;font-size:10px;display:flex}.ff3d-library-categories button span{color:#a9bb9f;font-size:9px}.ff3d-library-categories button[aria-pressed=true]{color:#f3dbab;background:#c5a86e24;border-color:#ccb17f}.ff3d-library-categories button[aria-pressed=true] span{color:#e7cf9b}.ff3d-library-results-heading{color:#aebdac;justify-content:space-between;align-items:center;gap:9px;margin:5px 0 10px;font-size:10px;display:flex}.ff3d-library-results-heading>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ff3d-library-results-heading button{color:#d6be8d;background:0 0;border:0;flex:none;padding:4px 0;font-size:10px}.ff3d-library-browser{overscroll-behavior:contain;scrollbar-width:thin;min-height:130px;max-height:min(34dvh,330px);margin:-3px;padding:3px;overflow:auto}.ff3d-model-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.ff3d-model-grid button{text-align:left;color:#eee9dd;background:#14201d;border:1px solid #91a58c38;border-radius:8px;flex-direction:column;min-width:0;padding:0 0 8px;display:flex;overflow:hidden}.ff3d-model-grid button:hover{background:#263229;border-color:#aeb79a}.ff3d-model-grid button.active{background:#b69e701f;border-color:#e1c18a;box-shadow:0 0 0 1px #ddbd7833}.ff3d-model-thumb{color:#93a98d;background:radial-gradient(at 50% 70%,#364738,#182520 80%);justify-content:center;align-items:center;width:100%;height:88px;display:flex;position:relative}.ff3d-model-thumb img{object-fit:contain;width:100%;height:100%;display:block}.ff3d-model-selected{color:#18241c;text-align:center;letter-spacing:.02em;background:#d4b887;border-radius:3px;font-size:8px;line-height:1.6;position:absolute;bottom:4px;left:4px;right:4px}.ff3d-model-name{overflow-wrap:anywhere;margin:8px 8px 4px;font-size:11px;font-weight:600;line-height:1.35;display:block}.ff3d-model-grid small{color:#a4b49f;margin:auto 8px 0;font-size:8px;line-height:1.5;display:block}.ff3d-show-more{justify-content:center;align-items:center;gap:10px;width:100%;min-height:38px;margin-top:10px;font-size:11px;display:flex}.ff3d-show-more span{color:#b2c0aa;font-size:9px}.ff3d-library-no-results{text-align:center;color:#becdb8;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:145px;display:flex}.ff3d-library-no-results b{font-size:12px}.ff3d-library-no-results p{color:#a8b8a2;margin:0;font-size:11px;line-height:1.6}.ff3d-library-inspector{border-top:1px solid #8b9b7840;margin-top:18px;padding-top:16px}.ff3d-model-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.ff3d-model-heading>div{min-width:0}.ff3d-model-heading h3{overflow-wrap:anywhere;margin:5px 0 0;font-size:17px;font-weight:600;line-height:1.35}.ff3d-model-type{color:#b9c9b1;white-space:nowrap;background:#14201d;border-radius:5px;flex-shrink:0;padding:5px 7px;font-size:9px}.ff3d-table .ff3d-library .ff3d-preview{height:160px}.ff3d-table .ff3d-library-fields{gap:10px;padding-top:10px}.ff3d-preview-animation{align-items:flex-end;gap:8px;display:flex}.ff3d-preview-animation label{flex:1;min-width:0}.ff3d-preview-animation button{flex:none;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:flex}.ff3d-library-tip{color:#b8c9af;background:#14201d;border:1px solid #82938230;border-radius:6px;margin:0;padding:9px 10px;font-size:11px;line-height:1.6}.ff3d-library-fields .wide{min-height:40px;padding:9px 12px;font-size:11px;line-height:1.45}.ff3d-model-credits{color:#a9b9a3;font-size:10px;line-height:1.6}.ff3d-model-credits summary{cursor:pointer;color:#b8c7b1}.ff3d-model-credits p{margin:8px 0 0}.ff3d-model-credits a{color:#dfc58d;text-underline-offset:2px;text-decoration:underline}.ff3d-library-upload{border-top:1px solid #8b9b7840;margin-top:15px;padding-top:14px}.ff3d-library-upload summary{cursor:pointer;color:#cebe9d;align-items:center;gap:8px;min-height:30px;font-size:11px;list-style:none;display:flex}.ff3d-library-upload summary::-webkit-details-marker{display:none}.ff3d-library-upload summary:after{content:"+";margin-left:auto;font-size:16px}.ff3d-library-upload[open] summary:after{content:"−"}.ff3d-library-upload .ff3d-upload{margin-top:10px}.ff3d-library-upload .ff3d-format{margin-bottom:0}.ff3d-token-controls .ff3d-assign-model{color:#e9d0a0;background:#b69e7014;border:1px solid #c3a56a55;justify-content:center;align-items:center;gap:7px;width:100%;height:auto;min-height:36px;padding:8px;font-size:11px;display:flex}.ff3d-table .ff3d-library summary:focus-visible{outline-offset:3px;outline:2px solid #eed49a}@media (max-width:420px){.ff3d-table .ff3d-library{width:100%;padding:17px 14px 24px}.ff3d-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ff3d-model-thumb{height:100px}.ff3d-model-grid small{font-size:9px}.ff3d-library h2{font-size:23px}.ff3d-model-heading h3{font-size:16px}}@media (max-height:700px){.ff3d-library-browser{max-height:215px}.ff3d-table .ff3d-library .ff3d-preview{height:130px}}.workbench-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:110;background:#060a1290;position:fixed;inset:0}.workbench{z-index:111;color:#eef0f5;background:#191d26;border-left:1px solid #ffffff20;outline:none;flex-direction:column;width:min(580px,100%);animation:.18s ease-out workbench-enter;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-25px 0 80px #0005}.workbench-header{justify-content:space-between;align-items:center;gap:12px;padding:28px 28px 10px;display:flex}.workbench-eyebrow{letter-spacing:.16em;color:#d9bc87;font-size:10px;font-weight:700}.workbench-header h2{font-family:var(--sans);letter-spacing:-.04em;overflow-wrap:anywhere;margin:6px 0 0;font-size:25px;font-weight:650;line-height:1.25}.workbench-close{color:#a5adbc;border-radius:9px;flex-shrink:0;width:40px;height:40px}.workbench-close:hover{color:#fff;background:#ffffff0b}.workbench-description{color:#9ca7bc;margin:0 0 22px;padding:0 28px;font-size:12px;line-height:1.7}.workbench-tabs{flex-direction:column;flex:1;min-height:0;display:flex}.workbench-tab-list{border-bottom:1px solid #ffffff12;flex-shrink:0;gap:4px;padding:0 20px;display:flex;overflow-x:auto}.workbench-tab-list button{white-space:nowrap;color:#9aa5b8;border-bottom:2px solid #0000;border-radius:0;padding:12px 8px;font-size:13px;font-weight:600}.workbench-tab-list button[data-state=active]{color:#f0d5a4;background:#e6c48a08;border-color:#e6c48a}.workbench-content[data-state=inactive]{display:none}.workbench-content{min-height:0;padding:24px 28px 40px;overflow-y:auto}.workbench-content h3{font-family:var(--sans);letter-spacing:-.03em;margin:10px 0 18px;font-size:17px;font-weight:650}.workbench-content h3:first-child{margin-top:0}.workbench-content label{color:#c6cfde;gap:7px;margin-bottom:15px;font-size:12px;display:grid}.workbench-content .check-field{align-items:center;gap:10px;min-height:32px;display:flex}.workbench-content input[type=checkbox]{accent-color:#e6c48a;width:17px;height:17px}.workbench-content input[type=color]{width:54px;height:38px;padding:4px}.workbench-content input,.workbench-content select,.workbench-content textarea{background:#11151e;border-color:#ffffff17;font-size:13px}.workbench-content .muted{color:#96a2b8;margin:10px 0 20px;font-size:12px;line-height:1.7}.workbench-content p{font-size:12px}.workbench-content .button-row{flex-wrap:wrap;gap:8px}.workbench-content button{border-radius:7px;min-height:40px;font-size:12px}.workbench-content .ghost{background:#ffffff04;border-color:#ffffff1b}.workbench-content .primary{color:#191713;background:#e6c48a}.workbench-content button[aria-pressed=true]{color:#edcf9c;background:#e6c48a10;border-color:#e6c48a60}.workbench-content .master-control-grid{grid-template-columns:1fr 1fr;gap:8px;margin:16px 0;display:grid}.workbench-content .master-control-grid button{border:1px solid #ffffff1b;justify-content:flex-start;padding:10px}.workbench-content .table-settings-row{border-top:1px solid #ffffff12;padding:18px 0}.workbench-content .table-settings-row b{margin-bottom:12px;font-size:13px;display:block}.workbench-content .upload-label{border-color:#e6c48a45;flex-wrap:wrap;font-size:12px;display:flex}.workbench-content .upload-label input{width:100%;min-height:40px;font-size:12px}.workbench-content summary{cursor:pointer;color:#b6c1d3;padding:12px 0;font-size:12px}.workbench-secondary{border-top:1px solid #ffffff10;margin-top:18px;padding-top:4px}.workbench-empty{text-align:center;color:#adb8cb;border:1px dashed #ffffff25;border-radius:10px;padding:25px;font-size:13px;line-height:1.8}.workbench-content .interaction-summary{background:#101621;border:1px solid #ffffff14;border-radius:9px;margin-bottom:12px;padding:16px;font-size:13px}.workbench-content .interaction-summary p{white-space:pre-wrap}.workbench-content .direction-pad{grid-template-columns:repeat(3,42px);justify-content:center;gap:6px;margin:20px 0;display:grid}.workbench-content .direction-pad button{border:1px solid #ffffff20}.workbench-content .grid-controls{background:#11151d;border-color:#ffffff14;padding:16px}.workbench-content .grid-controls summary{font-size:14px}.map-tool-dock{z-index:4;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#171d28ec;border:1px solid #ffffff20;border-radius:12px;flex-direction:column;gap:5px;padding:7px;display:flex;position:absolute;top:90px;left:14px;box-shadow:0 5px 30px #0005}.map-tool-dock button{color:#abb7c9;border-radius:7px;width:40px;height:40px}.map-tool-dock button.active{color:#f0d5a1;background:#e6c48a20}.map-tool-dock button:hover{color:#f0d5a1;background:#ffffff12}.map-tool-dock button>span{display:none}.map-tool-tooltip{z-index:120;color:#dfe6f2;background:#242d3c;border:1px solid #ffffff20;border-radius:6px;padding:7px 10px;font-size:12px;box-shadow:0 5px 20px #0005}.map-tool-tooltip svg{fill:#242d3c}.map-tool-palette{z-index:4;background:#171d28f2;border:1px solid #ffffff20;border-radius:10px;flex-direction:column;gap:4px;min-width:165px;padding:8px;display:flex;position:absolute;top:90px;left:82px;box-shadow:0 8px 30px #0005}.map-tool-palette-title{letter-spacing:.05em;color:#95a2b8;padding:4px 8px 7px;font-size:10px}.map-tool-palette button{color:#b7c1d2;border-radius:6px;justify-content:flex-start;min-height:35px;padding:8px;font-size:12px}.map-tool-palette button.active{color:#e6c48a;background:#e6c48a15}.map-tool-palette button:hover{background:#ffffff09}.map-tool-color{border-top:1px solid #ffffff10;justify-content:space-between;align-items:center;padding:8px;font-size:12px;display:flex}.map-tool-color input{width:34px;height:28px;padding:2px}.battlemap .table-settings-toggle{background:#171d28f2;border-color:#ffffff26;border-radius:9px;min-height:40px;font-size:12px}.battlemap .scene-label{left:20px}.battlemap .scene-label h3{font-family:var(--sans);letter-spacing:-.02em;font-size:18px;font-weight:650}.battlemap .scene-meta{font-size:12px}.battlemap .map-options{background:#171d28ed;border:1px solid #ffffff20;border-radius:9px;max-width:calc(100% - 95px);padding:5px;bottom:75px}.battlemap .map-options button{min-height:36px;font-size:12px}.battlemap .map-bottom{background:linear-gradient(#0000,#11151edb);padding:14px 20px}.battlemap .zoom-controls{background:#171d28ed;border:1px solid #ffffff20;border-radius:9px}.battlemap .tool-hint{color:#c2ccdc;font-size:12px}.battlemap .tool-hint>span{color:#8c9bb1;font-size:10px}@keyframes workbench-enter{0%{opacity:.6;transform:translate(35px)}to{opacity:1;transform:none}}@media (max-width:760px){.workbench-header{padding:22px 20px 10px}.workbench-description{padding:0 20px}.workbench-content{padding:20px}.workbench-tab-list{gap:0;padding:0 12px}.workbench-tab-list button{padding:12px 7px;font-size:10px}.map-tool-dock{gap:3px;padding:4px;top:100px;left:8px}.map-tool-dock button{width:36px;height:36px}.map-tool-palette{min-width:145px;top:100px;left:60px}.battlemap .scene-label{max-width:calc(100% - 165px);top:14px;left:14px}.battlemap .scene-label h3{font-size:14px}.battlemap .scene-meta{font-size:9px}.battlemap .table-settings-toggle{padding:8px;font-size:10px;top:14px;right:8px}.battlemap .map-options{flex-wrap:wrap;width:auto;max-width:none;display:flex;bottom:78px;left:60px;right:8px}.battlemap .map-options>button{flex:1;width:auto}.battlemap .map-bottom{padding:10px}.battlemap .tool-hint{display:none}.battlemap .zoom-controls{margin-left:auto}}@media (prefers-reduced-motion:reduce){.workbench{animation:none}}.projection-surface .map-tool-dock,.projection-surface .map-tool-palette{display:none!important}.projection-content{width:100%;height:100%}.projection-surface>.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.campaign-hub{width:100%;max-width:1600px;margin:auto;padding:32px}.hub-heading,.hub-detail-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;display:flex}.hub-heading h1{font-size:46px;font-weight:600}.hub-layout{grid-template-columns:260px minmax(0,1fr);gap:24px;display:grid}.hub-list,.hub-detail,.hub-editor,.table-settings{background:#191c23;border:1px solid #d2bc8e32;border-radius:12px;min-width:0;padding:20px}.hub-list h2,.hub-detail h2{font-size:28px}.hub-list>button{text-align:left;border-bottom:1px solid #fff1;justify-content:flex-start;width:100%;min-height:58px;padding:12px}.hub-list>button.active{background:#e6c48a15;border-color:#e6c48a}.hub-list small{color:#9da4b3;font-size:13px;display:block}.hub-list label,.hub-editor label,.hub-controls label,.table-settings label{gap:6px;margin-bottom:14px;font-size:14px;display:grid}.hub-editor fieldset{border:0;padding:0}.hub-editor textarea{min-height:100px}.hub-editor{background:#191c23;margin-bottom:20px}.hub-empty{text-align:center;color:#9da4b3;place-content:center;min-height:250px;display:grid}.hub-empty svg{margin:auto}.hub-notes{white-space:pre-wrap;margin:20px 0;line-height:1.8}.hub-date{color:#d4ba88}.atlas-image{background:#11151e;border:1px solid #ffffff20;border-radius:8px;width:100%;max-height:650px;position:relative;overflow:hidden}.atlas-image>img,.atlas-image>svg{object-fit:fill;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.atlas-pin{color:#ffdc9f;gap:0;min-width:36px;min-height:36px;display:grid;position:absolute;transform:translate(-50%,-100%)}.atlas-pin span{background:#11151e;border-radius:4px;max-width:140px;padding:3px 7px;font-size:13px}.hub-controls{flex-wrap:wrap;align-items:end;margin-bottom:14px}.hub-controls label{margin:0}.table-settings{z-index:5;max-width:400px;max-height:70vh;position:absolute;top:70px;right:16px;overflow:auto;box-shadow:0 15px 50px #0008}.table-settings h3{margin:12px 0;font-size:26px}.table-settings .check-field{display:flex}.table-settings-row{border-top:1px solid #fff2;padding:12px 0}.table-settings-row .button-row{flex-wrap:wrap}.table-settings-row small{color:#c6cfde}.table-settings input[type=checkbox]{width:18px}.table-settings input[type=color]{width:56px}.table-settings .interaction-summary{background:#11151e;border-radius:8px;margin-bottom:10px;padding:12px}.table-settings .interaction-summary p{white-space:pre-wrap}.upload-label{cursor:pointer;border:1px solid #e6c48a60;border-radius:8px;align-items:center;gap:8px;min-height:44px;padding:10px;position:relative;display:flex!important}.upload-label input[type=file]{max-width:100%;font-size:13px}.hub-detail .danger-text{color:#f1afa4}.projection-surface{z-index:100;background:#000;position:fixed;inset:0}.projection-surface .battlemap{width:100%;height:100%}.projection-surface .map-tools,.projection-surface .scene-label,.projection-surface .map-controls,.projection-surface .map-settings,.projection-surface .fog-tools,.projection-surface .map-help{display:none!important}.projection-exit{z-index:102;background:#191c23e8;border:1px solid #e6c48a70;border-radius:8px;min-height:44px;padding:10px 18px;position:fixed;top:12px;left:12px}.projection-surface .map-surface{pointer-events:none}.projection-surface .map-token text{display:none}@media (max-width:850px){.campaign-hub{padding:20px}.hub-layout{grid-template-columns:minmax(0,1fr)}.hub-list{flex-wrap:wrap;gap:10px;display:flex;overflow-x:auto}.hub-list>button{flex:1;width:auto;min-width:140px}.hub-list h2{width:100%}.hub-heading{flex-wrap:wrap}.table-settings{max-width:none;top:65px;left:12px;right:12px}.hub-heading h1{font-size:36px}.atlas-pin span{max-width:90px;font-size:12px}}.table-settings-toggle{z-index:4;background:#191c23eb;border:1px solid #e6c48a60;min-height:44px;padding:10px 14px;font-size:14px;position:absolute;top:14px;right:16px}.projection-surface .table-settings-toggle,.projection-surface .map-bottom,.projection-surface .map-selection{display:none!important}.hub-list form{width:100%}.campaign-hub .button-row{flex-wrap:wrap}.projection-surface .map-options{display:none!important}.atlas-projection{place-items:center;width:100%;height:100%;padding:65px 20px 20px;display:grid}.atlas-projection .atlas-image{width:auto;max-width:100%;height:100%;max-height:100%}.projection-message{color:#eee;padding:80px 24px}.hub-list .button-row input{min-width:0;max-width:160px}.atlas-pin{touch-action:none}.direction-pad{grid-template-columns:repeat(3,44px);gap:5px;margin:10px 0;display:grid}.direction-pad button{width:44px;height:44px;padding:0;font-size:22px}.hub-live{color:#e6c48a;background:#343b4b;border:1px solid #e6c48a;border-radius:6px;padding:6px 12px;display:inline-flex}.atlas-projection .atlas-image{width:100%;height:auto;max-height:none}
