:root{font-family:Tahoma,Segoe UI,Arial,sans-serif;color:#d5d5d5;background:#161616;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}.app-shell{height:100vh;min-height:570px;display:flex;flex-direction:column;background:#161616;overflow:hidden}.app-header{height:49px;min-height:49px;display:flex;align-items:center;padding:0 12px;background:linear-gradient(#292929,#202020);border-bottom:1px solid #0e0e0e;box-shadow:inset 0 1px #414141;gap:13px}.brand{height:100%;display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:16px;letter-spacing:.045em;color:#ededed}.brand strong{color:#f0a12d}.brand-mark{display:grid;grid-template-columns:repeat(2,8px);grid-template-rows:repeat(2,8px);gap:2px}.brand-mark i{display:block;background:#e66f37;border:1px solid #232323}.brand-mark i:nth-child(2){background:#aeb8c0}.brand-mark i:nth-child(3){background:#6f8592}.brand-mark i:nth-child(4){background:#eaa135}.header-divider{height:27px;width:1px;background:#111;box-shadow:1px 0 #3d3d3d}.header-title{font-size:11px;color:#838383;white-space:nowrap}.header-actions{margin-left:auto;display:flex;gap:7px}.header-actions button,.workspace-toolbar button,.boundary-panel button,.export-body button,.workspace-status button{height:28px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #151515;border-top-color:#575757;background:linear-gradient(#3b3b3d,#29292b);color:#d1d1d1;padding:0 10px;font-size:11px;white-space:nowrap;box-shadow:inset 0 1px #ffffff0d}button:hover:not(:disabled){filter:brightness(1.15)}.primary-button,.header-actions .primary-button,.export-body .primary-button{background:linear-gradient(#e5a237,#be751e);border-color:#8c5217;color:#151515;font-weight:700;box-shadow:inset 0 1px #f8c374}.editor-layout{display:grid;grid-template-columns:264px minmax(0,1fr) 286px;min-height:0;flex:1}.sidebar{background:#292929;min-height:0;overflow:auto;scrollbar-color:#4f4f4f #202020;scrollbar-width:thin}.left-sidebar{border-right:2px solid #0d0d0d}.right-sidebar{border-left:2px solid #0d0d0d}.panel{border-bottom:2px solid #141414;box-shadow:0 1px #414141;background:#2b2b2b}.panel-heading{height:30px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#343434,#282828);border-top:1px solid #464646;border-bottom:1px solid #171717;color:#e6e6e6;font-size:11px;font-weight:700;letter-spacing:.035em}.panel-heading span:first-child{display:flex;align-items:center;gap:7px}.panel-heading svg{color:#aaa}.panel-count{font-size:10px;color:#f0a12d;font-weight:400}.panel-body.compact{padding:9px 10px 0}.point-add-row{display:flex;gap:6px}.tool-button{flex:1;height:30px;border:1px solid #111;border-top-color:#555;background:linear-gradient(#424244,#303032);color:#d6d6d6;font-size:11px;display:flex;align-items:center;justify-content:center;gap:7px}.tool-button.active,.tool-grid button.active,.boundary-panel button.active{border-color:#a76a20;box-shadow:inset 0 0 0 1px #f5a93a40;background:linear-gradient(#594127,#3d3022);color:#f6bc66}.point-dot{display:inline-block;flex:0 0 auto;width:11px;height:11px;border-radius:50%;border:1.5px solid white;box-shadow:0 0 0 1px #131313}.hot-dot{background:#ee443b}.cold-dot{background:#268af1}.filter-row{margin-top:9px;display:flex;border-bottom:1px solid #111}.filter-row button{height:27px;flex:1;background:#242424;border:1px solid #171717;border-bottom:0;color:#a7a7a7;font-size:10px}.filter-row button.selected{background:#373737;color:#f2f2f2;box-shadow:inset 0 2px #d58a25}.filter-row span{color:#767676;margin-left:3px}.point-list{min-height:132px;max-height:35vh;overflow:auto}.point-row{width:100%;height:29px;display:flex;align-items:center;gap:9px;padding:0 11px;text-align:left;background:#303030;border:0;border-bottom:1px solid #222;color:#cfcfcf;font-size:11px}.point-row:nth-child(2n){background:#2c2c2c}.point-row.selected{background:#5a4329;color:#fff;box-shadow:inset 3px 0 #eba038}.point-row .point-dot{width:10px;height:10px}.row-number{color:#7b7b7b;font-size:10px;width:17px}.row-name{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.row-strength{color:#a9a9a9;font-size:10px}.empty-list{color:#747474;text-align:center;padding:35px 12px;font-size:11px;line-height:1.5}.tool-grid{padding:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tool-grid button{min-height:48px;background:linear-gradient(#383838,#292929);border:1px solid #171717;border-top-color:#555;color:#c6c6c6;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px}.tool-grid svg{color:#dedede}.layer-list{padding:6px 9px 9px}.layer-row{height:28px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #212121;font-size:11px;color:#d0d0d0;cursor:pointer}.layer-row input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:15px;height:15px;background:#1a1a1a;border:1px solid #717171;margin:0;display:grid;place-items:center}.layer-row input:checked{background:#e4a33d;border-color:#cb8a26}.layer-row input:checked:before{content:"✓";font-size:12px;font-weight:700;color:#1a1a1a;line-height:1}.layer-row span{flex:1}.layer-row svg{color:#777}.sidebar-note{font-size:10px;color:#777;padding:12px 11px;line-height:1.4}.workspace{min-width:0;min-height:0;display:flex;flex-direction:column;background:#151515}.workspace-toolbar{height:36px;min-height:36px;display:flex;align-items:center;gap:6px;padding:0 11px;background:#222;border-bottom:1px solid #0e0e0e}.toolbar-group{display:flex;align-items:center;gap:9px;font-size:11px}.toolbar-group strong{color:#d9d9d9;font-weight:400}.toolbar-label{font-size:9px;color:#818181;letter-spacing:.07em}.toolbar-separator{height:20px;width:1px;background:#101010;box-shadow:1px 0 #404040;margin:0 5px}.workspace-toolbar button{height:24px;padding:0 7px}.toolbar-spacer,.status-spacer{flex:1}.toolbar-meta{font-size:10px;color:#858585}.canvas-scroll{flex:1;min-height:0;overflow:auto;display:flex;align-items:safe center;justify-content:safe center;position:relative;background-color:#171717;background-image:linear-gradient(45deg,#1d1d1d 25%,transparent 25%),linear-gradient(-45deg,#1d1d1d 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1d1d1d 75%),linear-gradient(-45deg,transparent 75%,#1d1d1d 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0}.canvas-stage{flex:none;background:#f8f8f8;box-shadow:0 0 0 1px #080808,0 12px 30px #00000080;margin:auto}.canvas-stage canvas{display:block;touch-action:none}.canvas-scroll.pan-mode canvas{cursor:grab}.canvas-scroll.drag-over{outline:2px dashed #e8a73b;outline-offset:-8px}.upload-placeholder{width:360px;max-width:calc(100% - 30px);padding:32px 26px;text-align:center;background:linear-gradient(#303030,#272727);border:1px solid #101010;box-shadow:inset 0 1px #454545,0 20px 45px #00000042;margin:auto}.upload-icon{color:#a5a5a5;margin-bottom:13px}.upload-placeholder h1{font-size:16px;margin:0 0 8px;color:#e5e5e5}.upload-placeholder p{font-size:11px;color:#999;line-height:1.5;margin:0 0 23px}.upload-placeholder button{height:33px;padding:0 15px;border:1px solid #a96715;display:inline-flex;align-items:center;gap:8px;font-size:11px}.upload-formats{border-top:1px solid #181818;box-shadow:inset 0 1px #3b3b3b;padding-top:14px;margin-top:24px;color:#777;font-size:10px;letter-spacing:.1em}.drop-cover{position:absolute;top:0;right:0;bottom:0;left:0;background:#111111d1;display:grid;place-items:center;color:#efb04f;font-size:18px;pointer-events:none}.workspace-status{height:31px;min-height:31px;display:flex;align-items:center;gap:9px;padding:0 11px;background:linear-gradient(#2b2b2b,#202020);border-top:1px solid #3c3c3c;color:#bebebe;font-size:10px}.status-file{max-width:32%;display:flex;align-items:center;gap:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.status-divider{width:1px;height:17px;background:#111;box-shadow:1px 0 #404040}.muted{color:#777}.workspace-status button{height:22px;padding:0 6px;min-width:22px}.workspace-status input[type=range]{width:95px}.zoom-readout{min-width:32px;text-align:right}.property-body{padding:13px 12px 15px}.field-row{min-height:36px;display:grid;grid-template-columns:72px 1fr;align-items:center;gap:8px;font-size:11px;color:#c6c6c6}.field-row input,.field-row select{height:25px;width:100%;min-width:0;background:#1d1d1d;border:1px solid #111;box-shadow:inset 0 1px 2px #080808,0 1px #484848;color:#e4e4e4;padding:0 7px;font-size:11px;border-radius:0}.slider-field{margin:13px 0 16px}.slider-header{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#c9c9c9;margin-bottom:8px}.slider-header strong{display:block;min-width:46px;text-align:right;background:#1e1e1e;border:1px solid #111;padding:4px 5px;font-weight:400;color:#e5e5e5;font-size:10px}.slider-field input[type=range],.workspace-status input[type=range]{accent-color:#e9a63d;cursor:pointer;height:7px}.slider-field input[type=range]{width:100%}.field-hint{font-size:10px;line-height:1.45;color:#777}.danger-link{border:0;background:none;padding:11px 0 0;color:#bf8c7b;font-size:10px;display:flex;align-items:center;gap:5px}.property-empty{padding:24px 14px;color:#777;line-height:1.5;font-size:11px}.palette-block{margin-top:16px;border-top:1px solid #1b1b1b;padding-top:13px}.palette-title{font-size:9px;letter-spacing:.08em;color:#8e8e8e;margin-bottom:7px}.palette-bar{height:13px;border:1px solid #171717;background:linear-gradient(90deg,#205acf,#40c6dc 26%,#272727 49%,#f8df5b,#f89c28,#e53b32)}.palette-labels{display:flex;justify-content:space-between;font-size:9px;color:#929292;margin-top:5px}.boundary-panel{padding:12px}.boundary-panel p{font-size:11px;line-height:1.45;color:#a0a0a0;margin:0 0 10px}.boundary-panel button{margin:0 5px 7px 0;height:26px;padding:0 7px}.boundary-panel .field-hint{margin-top:3px}.export-body{padding:12px}.export-body button{width:100%;height:30px;margin-bottom:7px}.export-body .field-hint{margin-top:6px}.hidden-input{display:none}.toast{position:fixed;left:50%;bottom:48px;transform:translate(-50%);background:#303030;border:1px solid #a66c25;color:#f2d2a1;padding:9px 14px;box-shadow:0 9px 25px #0009;font-size:11px;display:flex;gap:7px;align-items:center;z-index:20}.working-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0009;color:#f0b15a;font-size:15px;z-index:30}.palette-select{margin-top:7px}.palette-bar.spectrum{background:linear-gradient(90deg,#313eb0,#4bc6e1,#272727,#7bd85d,#f9dd59,#ff2f1d)}.palette-bar.contrast{background:linear-gradient(90deg,#4a29b5,#8769f0,#272727,#ffbe3d,#f2377c)}@media(max-width:1100px){.editor-layout{grid-template-columns:220px minmax(0,1fr) 244px}.header-title{display:none}.brand{font-size:14px}.header-actions button{font-size:0;padding:0 8px}.header-actions button svg{width:16px;height:16px}}@media(max-width:760px){.app-shell{height:100dvh;min-height:520px}.editor-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}.left-sidebar{display:none}.right-sidebar{grid-row:2;display:flex;overflow:auto;max-height:185px;border-left:0;border-top:2px solid #111}.right-sidebar .panel{min-width:220px;border-right:1px solid #141414}.right-sidebar .panel:first-child{min-width:250px}.workspace{grid-row:1}.app-header{padding:0 8px;gap:8px}.header-divider{display:none}.brand{font-size:12px}.brand-mark{transform:scale(.8)}.header-actions{gap:3px}.workspace-toolbar{padding:0 6px}.toolbar-meta{display:none}.workspace-status{padding:0 6px}.status-file{max-width:25%}.workspace-status input[type=range]{width:65px}}.paint-panel .panel-body{padding-bottom:10px}.paint-actions .tool-button{height:36px}.paint-actions .tool-button svg{color:#cfcfcf}.paint-actions .tool-button .point-dot{width:9px;height:9px}.eraser-button{width:100%;height:29px;display:flex;align-items:center;gap:7px;padding:0 10px;margin-top:7px;color:#cfcfcf;background:linear-gradient(#383838,#292929);border:1px solid #151515;border-top-color:#555;font-size:11px}.eraser-button span{margin-left:auto;color:#777;font-size:9px}.eraser-button.active{border-color:#a76a20;color:#f6bc66;background:linear-gradient(#594127,#3d3022)}.paint-sliders{padding:2px 4px 0}.paint-sliders .slider-field{margin:10px 0}.paint-sliders .slider-header{margin-bottom:4px}.paint-summary{border-top:1px solid #1a1a1a;margin-top:7px;padding-top:8px;display:flex;justify-content:space-between;align-items:center;color:#868686;font-size:10px}.paint-summary button{background:transparent;border:0;color:#bca078;padding:2px 0;font-size:10px}.brush-cursor{position:absolute;pointer-events:none;transform:translate(-50%,-50%);border:1.5px solid #f7f7f7;border-radius:50%;box-shadow:0 0 0 1px #1119,0 0 0 2px #fff4}.brush-cursor.brush-hot{background:#f7462c22}.brush-cursor.brush-cold{background:#4842e822}.brush-cursor.eraser{border-style:dashed;background:#eee3}.canvas-stage{position:relative}.cutout-row{min-height:27px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1c1c1c;color:#c8c8c8;font-size:10px}.cutout-row button{width:23px;height:23px;min-width:23px;padding:0}.palette-bar.thermal{background:linear-gradient(90deg,#1f45be,#25a3e0,#28c7b0,#97e242,#ffd33a,#ef3e2d)}.palette-bar.spectrum{background:linear-gradient(90deg,#9931d5,#505bdb,#27bee7,#3de39b,#f9e033,#f4453f)}.palette-bar.contrast{background:linear-gradient(90deg,#572aaf,#7f61eb,#43cbdc,#ffb73c,#f4346f)}.live-paint-canvas{position:absolute;left:0;top:0;pointer-events:none}.palette-bar.thermal{background:linear-gradient(90deg,#173dc2,#25b7e8,#2fbe59,#fada36,#ed3628)}.palette-bar.spectrum{background:linear-gradient(90deg,#303bd3,#26d0e8,#4cd563,#ffd535,#f43a39)}.palette-bar.contrast{background:linear-gradient(90deg,#1230a9,#14b2dd,#1ea557,#f2b31f,#d62323)}.tool-selector-body{padding-bottom:10px!important}.tool-select-label{display:block;font-size:10px;color:#888;margin:1px 2px 6px}.tool-select{width:100%;height:32px;background:#1d1d1d;border:1px solid #111;box-shadow:inset 0 1px 2px #080808,0 1px #484848;color:#eee;padding:0 7px;font-size:11px;border-radius:0}.tool-select:focus{outline:1px solid #d69331}.compact-boundary{padding:9px 10px}.compact-boundary button{margin-bottom:0}.compact-boundary .cutout-row{margin-top:7px}.compact-point-list{min-height:64px;max-height:28vh}.compact-point-list .empty-list{padding:20px 10px}.workspace-toolbar{height:39px;min-height:39px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;gap:4px}.workspace-toolbar::-webkit-scrollbar{display:none}.workspace-toolbar .toolbar-tool{position:relative;width:29px;min-width:29px;height:29px;padding:0;display:grid;place-items:center}.workspace-toolbar .toolbar-tool.active{border-color:#b17a2f;background:linear-gradient(#624727,#3c3023);color:#f7c57e;box-shadow:inset 0 0 0 1px #e5a54644}.toolbar-dot{position:absolute;right:2px;bottom:2px;width:7px;height:7px;border:1px solid #fff;border-radius:50%}.toolbar-dot.hot{background:#ee443b}.toolbar-dot.cold{background:#268af1}.workspace-toolbar .toolbar-label{flex:none;margin-right:2px}.workspace-toolbar .toolbar-separator{flex:none;margin:0 3px}.export-menu-wrap{position:relative}.export-menu{position:absolute;right:0;top:calc(100% + 5px);width:186px;padding:5px;background:#292929;border:1px solid #111;box-shadow:0 8px 22px #000a;z-index:35}.header-actions .export-menu button{width:100%;height:32px;display:flex;justify-content:flex-start;gap:9px;border:0;border-bottom:1px solid #1a1a1a;background:#333;color:#e2e2e2;font-size:11px;padding:0 9px}.header-actions .export-menu button:last-child{border-bottom:0}.header-actions .export-menu button:hover{background:#4b3927}.right-sidebar .layer-list{padding:6px 11px 9px}.layer-hint{padding:8px 0 2px;color:#777;font-size:10px}.project-actions,.zoom-controls{display:flex;align-items:center;gap:7px}.zoom-controls{gap:9px}.header-actions .help-button{color:#f0b65c}.tour-hit-shield{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:transparent}.tour-spotlight{position:fixed;z-index:91;pointer-events:none;border:2px solid #f6b04c;border-radius:5px;box-shadow:0 0 0 9999px #06080bbf,0 0 0 5px #f6b04c24,0 0 25px #f6b04c8c;transition:left .18s ease,top .18s ease,width .18s ease,height .18s ease}.tour-card{position:fixed;z-index:92;width:min(310px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:15px 16px 14px;background:linear-gradient(#373737,#292929);border:1px solid #b9782d;border-top:3px solid #efab45;box-shadow:0 16px 42px #000c,inset 0 1px #666;color:#e9e9e9;outline:none}.tour-card:before{content:"";position:absolute;width:10px;height:10px;background:#373737;border-left:1px solid #b9782d;border-bottom:1px solid #b9782d;transform:rotate(45deg)}.tour-right:before{left:-6px;top:24px}.tour-left:before{right:-6px;top:24px;transform:rotate(225deg)}.tour-bottom:before{top:-7px;left:24px;transform:rotate(135deg)}.tour-top:before{bottom:-7px;left:24px;transform:rotate(-45deg)}.tour-center:before{display:none}.tour-card-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.09em;color:#e5ad5e;font-weight:700}.tour-card-top button{border:0;background:transparent;color:#aaa;padding:0;display:grid;place-items:center}.tour-card h2{font-size:17px;margin:13px 0 7px;font-weight:600}.tour-card p{font-size:12px;line-height:1.55;color:silver;margin:0 0 16px;min-height:54px}.tour-progress{display:flex;gap:4px;margin-bottom:14px}.tour-progress i{height:3px;flex:1;background:#575757}.tour-progress i.done{background:#e9a33b}.tour-actions{display:flex;align-items:center;gap:6px}.tour-actions>div{flex:1}.tour-actions button{height:28px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:1px solid #151515;border-top-color:#595959;background:linear-gradient(#444,#303030);color:#ddd;font-size:11px;white-space:nowrap}.tour-actions button:disabled{opacity:.35}.tour-actions .tour-skip{border:0;background:transparent;color:#999;padding-left:0}.tour-actions .tour-next{background:linear-gradient(#edac46,#c37d26);border-color:#985d20;color:#1d160e;font-weight:700}@media(max-width:760px){.project-actions{gap:3px}.header-actions .help-button{padding:0 6px}.tour-card{width:min(290px,calc(100vw - 24px))}}.palette-bar.thermal{background:linear-gradient(90deg,#2e0a70,#173dc2 12%,#25b7e8,#2fbe59,#fada36,#ed3628 88%,#c40076)}.palette-bar.spectrum{background:linear-gradient(90deg,#2e0a70,#303bd3 12%,#26d0e8,#4cd563,#ffd535,#f43a39 88%,#c40076)}.palette-bar.contrast{background:linear-gradient(90deg,#2e0a70,#1230a9 12%,#14b2dd,#1ea557,#f2b31f,#d62323 88%,#c40076)}.palette-labels.extremes{margin-top:2px;color:#8a8a8a}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:16px;background:#06080bb8}.modal-card{width:min(420px,100%);padding:15px 16px 14px;background:linear-gradient(#373737,#292929);border:1px solid #b9782d;border-top:3px solid #efab45;box-shadow:0 16px 42px #000c,inset 0 1px #666;color:#e9e9e9}.modal-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.09em;color:#e5ad5e;font-weight:700}.modal-top button{border:0;background:transparent;color:#aaa;padding:0;display:grid;place-items:center}.modal-card h2{font-size:17px;margin:13px 0 7px;font-weight:600}.modal-card p{font-size:12px;line-height:1.55;color:silver;margin:0 0 12px}.modal-card p strong{color:#e9e9e9;word-break:break-all}.modal-card .modal-warning{color:#f2d2a1;border-left:3px solid #e8a33b;padding-left:9px}.modal-options{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.modal-options button,.modal-footer button{height:32px;display:flex;align-items:center;justify-content:flex-start;gap:7px;padding:0 10px;font-size:12px}.modal-footer{display:flex;align-items:center;gap:10px;justify-content:space-between;border-top:1px solid #1c1c1c;padding-top:10px;font-size:10px;color:#999}.modal-footer button{height:27px;font-size:11px;white-space:nowrap;flex:none}
