@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.visible{visibility:visible}.relative{position:relative}.contents{display:contents}.grid{display:grid}.inline-block{display:inline-block}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.resize{resize:both}.rounded{border-radius:.25rem}.italic{font-style:italic}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}:root{--face: #c0c0c0;--hilight: #ffffff;--light: #dfdfdf;--shadow: #808080;--dark: #0a0a0a;--title-a: #000080;--title-b: #1084d0;--select: #000080;--desktop: #008080;--raised: inset -1px -1px var(--dark), inset 1px 1px var(--hilight), inset -2px -2px var(--shadow), inset 2px 2px var(--light);--pressed: inset -1px -1px var(--hilight), inset 1px 1px var(--dark), inset -2px -2px var(--light), inset 2px 2px var(--shadow);--sunken: inset -1px -1px var(--hilight), inset 1px 1px var(--shadow), inset -2px -2px var(--light), inset 2px 2px var(--dark);--thin-sunken: inset -1px -1px var(--hilight), inset 1px 1px var(--shadow);--dither: repeating-conic-gradient(var(--face) 0 25%, var(--hilight) 0 50%) 0 0 / 2px 2px}html,body{height:100%;overflow:hidden;background:var(--desktop);color:#000;font:11px Tahoma,"MS Sans Serif","Microsoft Sans Serif",Geneva,Verdana,sans-serif;-webkit-font-smoothing:none;-webkit-user-select:none;user-select:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:default}u{text-decoration:underline}.raised{background:var(--face);box-shadow:var(--raised)}.sunken{box-shadow:var(--sunken)}.pixel-icon,.pixel-icon svg{display:block;flex:none}.desktop{position:fixed;inset:0;background-color:var(--desktop);background-repeat:repeat;image-rendering:pixelated}.desktop.wallpaper-center{background-repeat:no-repeat;background-position:center}.desktop-icon{position:absolute;top:16px;left:16px;display:flex;flex-direction:column;align-items:center;gap:4px;width:72px;padding:4px;color:#fff}.desktop-icon:focus span{background:var(--select);outline:1px dotted #ff0}.window{position:absolute;display:flex;flex-direction:column;width:min(980px,calc(100vw - 20px));height:min(720px,calc(100dvh - 50px));padding:3px}.window.maximized{inset:0;width:auto;height:auto}.title-bar{display:flex;flex:none;align-items:center;gap:3px;height:18px;padding:0 2px 0 3px;background:linear-gradient(90deg,var(--title-a),var(--title-b));color:#fff;font-weight:700}.title-bar.small{height:14px;font-size:10px}.title-text{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.title-buttons{display:flex}.title-button{display:grid;place-items:center;width:16px;height:14px;padding:0;color:#000;font-size:10px}.title-button.close{margin-left:2px}.title-button:active{box-shadow:var(--pressed)}.title-bar.small .title-button{width:13px;height:11px}.menu-bar{display:flex;flex:none;align-items:center;height:20px}.menu{position:relative}.menu-title{padding:2px 6px}.menu-title.open{background:var(--select);color:#fff}.menu-popup{position:absolute;top:100%;left:0;z-index:60;min-width:170px;padding:3px;color:#000}.menu-popup.submenu{top:-3px;left:calc(100% - 3px)}.menu-row{position:relative;display:flex;align-items:center;height:18px;padding-right:4px;white-space:nowrap}.menu-row.active{background:var(--select);color:#fff}.menu-row.active>.menu-popup{color:#000}.menu-row.disabled{color:var(--shadow);text-shadow:1px 1px var(--hilight)}.menu-row.disabled.active{text-shadow:none}.menu-check{width:18px;text-align:center}.menu-label{flex:1;padding-right:20px}.menu-shortcut{padding-right:6px}.menu-arrow{width:10px}.menu-separator{height:2px;margin:3px 1px;border-top:1px solid var(--shadow);border-bottom:1px solid var(--hilight)}.main{position:relative;display:flex;flex:1;min-height:0}.tool-box{display:flex;flex:none;flex-direction:column;align-items:center;gap:4px;width:56px;padding:2px 2px 0}.tool-grid{display:grid;grid-template-columns:25px 25px}.tool-button{display:grid;place-items:center;width:25px;height:25px;padding:0;background:var(--face);box-shadow:var(--raised)}.tool-button.pressed{background:var(--dither);box-shadow:var(--pressed)}.tool-button.pressed .pixel-icon{transform:translate(1px,1px)}.tool-options{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:44px;min-height:66px;padding:3px}.opt-item{display:grid;place-items:center;width:38px;min-height:10px;padding:1px 0;color:#000}.opt-item.on{background:var(--select);color:#fff}.opt-item.text{height:12px;font-size:10px}.opt-square{display:block;background:currentColor}.opt-item.line{height:11px}.opt-line{display:block;width:30px;background:currentColor}.brush-grid{display:grid;grid-template-columns:repeat(3,12px);gap:1px}.opt-item.brush{width:12px;height:12px;min-height:0;padding:0}.workspace{position:relative;flex:1;min-width:0;background:var(--shadow)}.ws-screen{position:absolute;top:2px;left:2px;display:block}.ws-scroll{position:absolute;inset:2px;overflow:scroll;touch-action:none}.ws-content{position:relative}.text-frame{position:absolute;z-index:5;padding:0;overflow:hidden;border:none;outline:1px dashed var(--select);resize:none;white-space:pre-wrap;-webkit-user-select:text;user-select:text}.ws-scroll::-webkit-scrollbar{width:16px;height:16px}.ws-scroll::-webkit-scrollbar-track{background:var(--dither)}.ws-scroll::-webkit-scrollbar-thumb{background:var(--face);box-shadow:var(--raised)}.ws-scroll::-webkit-scrollbar-corner{background:var(--face)}.ws-scroll::-webkit-scrollbar-button:single-button{display:block;width:16px;height:16px;background-color:var(--face);background-repeat:no-repeat;background-position:center;box-shadow:var(--raised)}.ws-scroll::-webkit-scrollbar-button:single-button:vertical:decrement{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M3 0h1v1h1v1h1v1h1v1H0V3h1V2h1V1h1z'/%3E%3C/svg%3E")}.ws-scroll::-webkit-scrollbar-button:single-button:vertical:increment{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M0 0h7v1H6v1H5v1H4v1H3V3H2V2H1V1H0z'/%3E%3C/svg%3E")}.ws-scroll::-webkit-scrollbar-button:single-button:horizontal:decrement{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='7'%3E%3Cpath d='M3 0h1v7H3V6H2V5H1V4H0V3h1V2h1V1h1z'/%3E%3C/svg%3E")}.ws-scroll::-webkit-scrollbar-button:single-button:horizontal:increment{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='7'%3E%3Cpath d='M0 0h1v1h1v1h1v1h1v1H3v1H2v1H1v1H0z'/%3E%3C/svg%3E")}.ws-scroll::-webkit-scrollbar-button:single-button:active{box-shadow:var(--thin-sunken)}.tool-window{position:absolute;z-index:40;padding:3px}.fonts-row{display:flex;align-items:center;gap:3px;padding:4px 2px 2px}.thumbnail-canvas{display:block;margin-top:3px;padding:2px;image-rendering:pixelated}.color-box{display:flex;flex:none;align-items:flex-start;gap:2px;padding:4px 2px 2px}.current-colors{position:relative;flex:none;width:32px;height:32px;background:var(--dither)}.current{position:absolute;width:15px;height:15px;box-shadow:var(--raised)}.current.fg{top:5px;left:5px}.current.bg{right:5px;bottom:5px}.palette{display:grid;grid-template-columns:repeat(14,16px);grid-template-rows:16px 16px}.palette-cell{width:16px;height:16px;padding:0}.ad-row{display:flex;flex:none;justify-content:center;padding:3px 2px 1px}.ad-row:has(.ad-empty){display:none}.ad-slot{display:block;padding:2px;line-height:0;box-shadow:var(--sunken)}.ad-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:var(--dither);color:var(--shadow);line-height:1.2;text-align:center}.ad-placeholder span{color:#000;font-weight:700}@media(max-width:560px),(max-height:520px){.ad-row{display:none}}.status-bar{display:flex;flex:none;gap:2px;height:20px;padding-top:2px}.status-pane{display:flex;align-items:center;gap:4px;padding:0 4px;overflow:hidden;box-shadow:var(--thin-sunken);white-space:nowrap}.status-pane.help{flex:1}.status-pane.coords,.status-pane.size{width:112px}.taskbar{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:center;height:28px;padding:2px 4px;box-shadow:inset 0 1px var(--light),inset 0 2px var(--hilight)}.task-button{display:flex;align-items:center;gap:4px;width:160px;height:22px;padding:0 4px;overflow:hidden;background:var(--face);box-shadow:var(--raised);white-space:nowrap}.task-button.pressed{background:var(--dither);box-shadow:var(--pressed);font-weight:700}.btn{min-width:75px;height:23px;padding:0 8px;background:var(--face);box-shadow:var(--raised)}.btn:active:not(:disabled),.btn.pressed{box-shadow:var(--pressed)}.btn.pressed{background:var(--dither)}.btn.default{outline:1px solid #000}.btn:focus-visible{outline:1px dotted #000;outline-offset:-4px}.btn:disabled{color:var(--shadow);text-shadow:1px 1px var(--hilight)}.btn.square{width:23px;min-width:23px;padding:0}.btn.wide{width:100%}.field{height:21px;padding:2px 3px;border:none;outline:none;background:#fff;box-shadow:var(--sunken);-webkit-user-select:text;user-select:text}select.field{padding:1px 2px}.field.num{width:52px}.field.size{width:50px}input[type=radio],input[type=checkbox]{margin:0 4px 0 0;accent-color:#000;vertical-align:middle}.modal-layer{position:fixed;inset:0;z-index:100;display:grid;place-items:center}.dialog-window{display:flex;flex-direction:column;min-width:240px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:3px}.dialog-body{padding:10px;overflow:auto}.dialog-buttons{display:flex;gap:6px}.dialog-buttons.column{flex-direction:column}.dialog-buttons.right{justify-content:flex-end;margin-top:10px}.dialog-buttons.center{justify-content:center;margin-top:12px}.attr-layout{display:flex;gap:14px;align-items:flex-start}.attr-main{display:flex;flex-direction:column;gap:6px}.field-row{display:flex;gap:12px}.field-row label{white-space:nowrap}.field-row label .field,.ec-fields label .field{margin-left:4px;vertical-align:middle}.group{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;padding:6px 10px 8px;border:none;box-shadow:inset -1px -1px var(--hilight),inset 1px 1px var(--shadow),inset -2px -2px var(--shadow),inset 2px 2px var(--hilight)}.group legend{padding:0 3px}.dialog-window .group label{display:block;white-space:nowrap}app-flip-rotate-dialog .group{flex-direction:column;flex-wrap:nowrap}.indent{display:flex;flex-direction:column;gap:4px;padding-left:22px}.indent.disabled{color:var(--shadow)}.grid2{display:grid;grid-template-columns:20px auto 56px auto;align-items:center;gap:6px;margin-bottom:8px}.ss-icon{font-size:15px;text-align:center}.zoom-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:8px}.message{display:flex;align-items:center;gap:14px;max-width:360px}.message p{white-space:pre-line}.msg-icon{display:grid;flex:none;place-items:center;width:32px;height:32px;border:1px solid #000;border-radius:50%;background:#fff;color:navy;font:700 20px Times New Roman,serif}.msg-icon[data-icon=warning]{padding-top:8px;border:none;border-radius:0;background:#ff0;clip-path:polygon(50% 0,100% 100%,0 100%);color:#000}.about{display:flex;gap:14px;max-width:340px}.about p{margin-bottom:6px}.about a{color:#00f;text-decoration:underline}.about hr{margin:8px 0;border:none;border-top:1px solid var(--shadow);border-bottom:1px solid var(--hilight)}.edit-colors{display:flex;gap:12px}.ec-left{display:flex;flex-direction:column;gap:6px;width:240px}.ec-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:5px 6px}.ec-swatch{height:21px;padding:0}.ec-swatch.on{outline:1px dotted #000;outline-offset:1px}.ec-right{display:flex;flex-direction:column;gap:8px}.ec-pickers{display:flex;gap:8px}.ec-spectrum{position:relative;padding:2px;line-height:0;cursor:crosshair;touch-action:none}.ec-cross{position:absolute;width:15px;height:15px;margin:-5px 0 0 -5px;background:linear-gradient(#000,#000) center top / 3px 5px no-repeat,linear-gradient(#000,#000) center bottom / 3px 5px no-repeat,linear-gradient(#000,#000) left center / 5px 3px no-repeat,linear-gradient(#000,#000) right center / 5px 3px no-repeat;pointer-events:none}.ec-lum{position:relative;display:flex;padding:2px 10px 2px 0;touch-action:none}.ec-lum canvas{padding:2px}.ec-arrow{position:absolute;right:0;width:0;height:0;margin-top:-3px;border-top:5px solid transparent;border-right:7px solid #000;border-bottom:5px solid transparent}.ec-values{display:flex;gap:10px}.ec-preview{display:flex;flex-direction:column;align-items:center;gap:2px}.ec-preview span{width:52px;height:40px}.ec-fields{display:grid;grid-template-columns:auto auto;gap:3px 10px}.ec-fields label{text-align:right;white-space:nowrap}.ec-fields .field.num{width:36px}.save-as{display:flex;flex-direction:column;gap:8px;width:400px;max-width:100%}.save-row{display:flex;align-items:center;gap:8px}.save-row .field{flex:1}.file-list{display:grid;place-items:center;height:110px;background:#fff;color:var(--shadow)}.save-grid{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 8px}.help-layout{display:flex;gap:8px;width:560px;max-width:100%;height:300px}.help-topics{flex:none;width:190px;padding:4px;overflow:auto;background:#fff}.help-topics li{padding:2px 4px}.help-topics li.on{background:var(--select);color:#fff}.help-body{flex:1;padding:8px 10px;overflow:auto;background:#fff;-webkit-user-select:text;user-select:text}.help-body h3{margin-bottom:8px;font-size:13px;font-weight:700}.help-body p{margin-bottom:6px}.view-bitmap{position:fixed;inset:0;z-index:200;display:grid;place-items:center;overflow:auto;background:#000}.view-bitmap img{image-rendering:pixelated}.print-image{display:none}@media print{body *{visibility:hidden}.print-image{position:absolute;top:0;left:0;display:block;max-width:100%;visibility:visible}}@property --tw-rotate-x{syntax: "*"; inherits: false;}@property --tw-rotate-y{syntax: "*"; inherits: false;}@property --tw-rotate-z{syntax: "*"; inherits: false;}@property --tw-skew-x{syntax: "*"; inherits: false;}@property --tw-skew-y{syntax: "*"; inherits: false;}@property --tw-outline-style{syntax: "*"; inherits: false; initial-value: solid;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x: initial;--tw-rotate-y: initial;--tw-rotate-z: initial;--tw-skew-x: initial;--tw-skew-y: initial;--tw-outline-style: solid}}}
