.boot-screen.bios-screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  color: #aaaaaa;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.25;
}

.bios-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 16px 0;
}

.bios-header {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bios-vendor-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bios-vendor-logo {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #cc0000;
  flex-shrink: 0;
}

.bios-vendor-name {
  color: #ffffff;
  font-weight: bold;
}

.bios-meta-row {
  display: flex;
  gap: 16px;
  padding-left: 18px;
}

.bios-body {
  flex: 1;
  padding: 0 16px;
  overflow: hidden;
}

.bios-footer {
  padding: 0 16px 12px;
}

.bios-energy-logo {
  flex-shrink: 0;
  margin-top: 4px;
}

.bios-energy-logo svg {
  display: block;
  width: 120px;
  height: auto;
}

.bios-line--wait {
  animation: biosBlink 1s step-end infinite;
}

@keyframes biosBlink {
  50% {
    opacity: 0;
  }
}
:root {
  --os-bg: #008080;
  --os-taskbar-height: 32px;
  --os-title-bar-active: #000080;
  --os-title-bar-inactive: #808080;
  --os-title-bar-text: #ffffff;
  --os-desktop-icon-text: #ffffff;
  --os-desktop-icon-text-shadow: #000000;
  --os-selection-active: #000080;
  --os-selection-inactive: #808080;
  --os-window-min-width: 200px;
  --os-window-min-height: 120px;
  --os-border-light: #ffffff;
  --os-border-dark: #808080;
  --os-border-darker: #404040;
  --os-surface: #c0c0c0;
  --os-resize-border: 4px;
  --os-resize-corner: 8px;
}
/*! 98.css v0.1.21 - https://github.com/jdan/98.css */
@font-face{font-family:"Pixelated MS Sans Serif";font-style:normal;font-weight:400;src:url(/assets/ms_sans_serif-C3pax6mQ.woff) format("woff");src:url(/assets/ms_sans_serif-Du8rjN1q.woff2) format("woff2")}
@font-face{font-family:"Pixelated MS Sans Serif";font-style:normal;font-weight:700;src:url(/assets/ms_sans_serif_bold-B8yxhAcs.woff) format("woff");src:url(/assets/ms_sans_serif_bold-D5dpRRHG.woff2) format("woff2")}
body{color:#222;font-family:Arial;font-size:12px}
.title-bar,.window,button,input,label,legend,li[role=tab],option,select,table,textarea,ul.tree-view{-webkit-font-smoothing:none;font-family:"Pixelated MS Sans Serif",Arial;font-size:11px}
h1{font-size:5rem}
h2{font-size:2.5rem}
h3{font-size:2rem}
h4{font-size:1.5rem}
u{border-bottom:.5px solid #222;text-decoration:none}
button,input[type=reset],input[type=submit]{background:silver;border:none;border-radius:0;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;box-sizing:border-box;color:transparent;min-height:23px;min-width:75px;padding:0 12px;text-shadow:0 0 #222}
button.default,input[type=reset].default,input[type=submit].default{box-shadow:inset -2px -2px #0a0a0a,inset 1px 1px #0a0a0a,inset 2px 2px #fff,inset -3px -3px grey,inset 3px 3px #dfdfdf}
.vertical-bar{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;height:20px;width:4px}
button:not(:disabled):active,input[type=reset]:not(:disabled):active,input[type=submit]:not(:disabled):active{box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey;text-shadow:1px 1px #222}
button.default:not(:disabled):active,input[type=reset].default:not(:disabled):active,input[type=submit].default:not(:disabled):active{box-shadow:inset 2px 2px #0a0a0a,inset -1px -1px #0a0a0a,inset -2px -2px #fff,inset 3px 3px grey,inset -3px -3px #dfdfdf}
@media (not(hover)){button:not(:disabled):hover,input[type=reset]:not(:disabled):hover,input[type=submit]:not(:disabled):hover{box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey}}
button:focus,input[type=reset]:focus,input[type=submit]:focus{outline:1px dotted #000;outline-offset:-4px}
button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:0}
:disabled,:disabled+label,input[readonly],input[readonly]+label{color:grey}
:disabled+label,button:disabled,input[type=reset]:disabled,input[type=submit]:disabled{text-shadow:1px 1px 0 #fff}
.window{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px grey,inset 2px 2px #fff;padding:3px}
.title-bar{align-items:center;background:linear-gradient(90deg,navy,#1084d0);display:flex;justify-content:space-between;padding:3px 2px 3px 3px}
.title-bar.inactive{background:linear-gradient(90deg,grey,#b5b5b5)}
.title-bar-text{color:#fff;font-weight:700;letter-spacing:0;margin-right:24px}
.title-bar-controls{display:flex}
.title-bar-controls button{display:block;min-height:14px;min-width:16px;padding:0}
.title-bar-controls button:active{padding:0}
.title-bar-controls button:focus{outline:none}
.title-bar-controls button[aria-label=Minimize],.title-bar-controls button[aria-label].minimize{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 0h6v2H0z'/%3E%3C/svg%3E");background-position:bottom 3px left 4px;background-repeat:no-repeat}
.title-bar-controls button[aria-label=Maximize],.title-bar-controls button[aria-label].maximize{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='%23000'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}
.title-bar-controls button[aria-label=Maximize]:disabled,.title-bar-controls button[aria-label].maximize:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 1H1v9h9V1zM9 3H2v6h7V3z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='gray'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}
.title-bar-controls button[aria-label=Restore],.title-bar-controls button[aria-label].restore{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M2 0h6v2H2zM7 2h1v4H7zM2 2h1v1H2zM6 5h1v1H6zM0 3h6v2H0zM5 5h1v4H5zM0 5h1v4H0zM1 8h4v1H1z'/%3E%3C/svg%3E");background-position:top 2px left 3px;background-repeat:no-repeat}
.title-bar-controls button[aria-label=Help],.title-bar-controls button[aria-label].help{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 1h2v2H0zM1 0h4v1H1zM4 1h2v2H4zM3 3h2v1H3zM2 4h2v2H2zM2 7h2v2H2z'/%3E%3C/svg%3E");background-position:top 2px left 5px;background-repeat:no-repeat}
.title-bar-controls button[aria-label=Close],.title-bar-controls button[aria-label].close{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' fill='%23000'/%3E%3C/svg%3E");background-position:top 3px left 4px;background-repeat:no-repeat;margin-left:2px}
.status-bar{gap:1px;display:flex;margin:0 1px}
.status-bar-field{box-shadow:inset -1px -1px #dfdfdf,inset 1px 1px grey;flex-grow:1;margin:0;padding:2px 3px}
.window-body{margin:8px}
fieldset{border-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' fill='gray' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h5v5H0V2h2v1h1V2H0' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h4v4H0V1h1v2h2V1H0'/%3E%3C/svg%3E") 2;margin:0;padding:10px;padding-block-start:8px}
legend{background:silver}
.field-row{align-items:center;display:flex}
[class^=field-row]+[class^=field-row]{margin-top:6px}
.field-row>*+*{margin-left:6px}
.field-row-stacked{display:flex;flex-direction:column}
.field-row-stacked *+*{margin-top:6px}
label{align-items:center;display:inline-flex;user-select:none}
input[type=checkbox],input[type=radio]{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:0;border:none;margin:0;opacity:0;position:fixed}
input[type=checkbox]+label,input[type=radio]+label{line-height:13px}
input[type=radio]+label{margin-left:18px;position:relative}
input[type=radio]+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='%23fff'/%3E%3C/svg%3E");content:"";display:inline-block;height:12px;left:-18px;margin-right:6px;position:absolute;top:0;width:12px}
input[type=radio]:active+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='silver'/%3E%3C/svg%3E")}
input[type=radio]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1v1H0v2h1v1h2V3h1V1H3V0z' fill='%23000'/%3E%3C/svg%3E");content:"";display:block;height:4px;left:-14px;position:absolute;top:4px;width:4px}
input[type=checkbox]:focus+label,input[type=radio]:focus+label{outline:1px dotted #000}
input[type=radio][disabled]+label:before{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4v1H2v1H1v2H0v4h1v2h1V8H1V4h1V2h2V1h4v1h2V1H8V0z' fill='gray'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4v1H2v2H1v4h1v1h1V8H2V4h1V3h1V2h4v1h2V2H8V1z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3h1v1H9V3zm1 5V4h1v4h-1zm-2 2V9h1V8h1v2H8zm-4 0v1h4v-1H4zm0 0V9H2v1h2z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2h-1v2h1v4h-1v2H8v1H4v-1H2v1h2v1h4v-1h2v-1h1V8h1V4h-1V2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2h4v1h1v1h1v4H9v1H8v1H4V9H3V8H2V4h1V3h1V2z' fill='silver'/%3E%3C/svg%3E")}
input[type=radio][disabled]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1v1H0v2h1v1h2V3h1V1H3V0z' fill='gray'/%3E%3C/svg%3E")}
input[type=checkbox]+label{margin-left:19px;position:relative}
input[type=checkbox]+label:before{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;content:"";display:inline-block;height:13px;left:-19px;margin-right:6px;position:absolute;width:13px}
input[type=checkbox]:active+label:before{background:silver}
input[type=checkbox]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6v1H5v1H4v1H3v1H2V3H1V2H0v3h1v1h1v1h1V6h1V5h1V4h1V3h1V0z' fill='%23000'/%3E%3C/svg%3E");content:"";display:block;height:7px;left:-16px;position:absolute;width:7px}
input[type=checkbox][disabled]+label:before{background:silver}
input[type=checkbox][disabled]:checked+label:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6v1H5v1H4v1H3v1H2V3H1V2H0v3h1v1h1v1h1V6h1V5h1V4h1V3h1V0z' fill='gray'/%3E%3C/svg%3E")}
input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0}
input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select{background-color:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;box-sizing:border-box;padding:3px 4px}
select,textarea{border:none}
textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-radius:0;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;box-sizing:border-box;padding:3px 4px}
input[type=email],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select{height:21px}
input[type=number]{height:22px}
input[type=search]::-ms-clear,input[type=search]::-ms-reveal{display:none;height:0;width:0}
input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}
input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url]{line-height:2}
input[type=email]:disabled,input[type=email]:read-only,input[type=number]:disabled,input[type=number]:read-only,input[type=password]:disabled,input[type=password]:read-only,input[type=search]:disabled,input[type=search]:read-only,input[type=tel]:disabled,input[type=tel]:read-only,input[type=text]:disabled,input[type=text]:read-only,input[type=url]:disabled,input[type=url]:read-only,textarea:disabled{background-color:silver}
select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");background-position:top 2px right 2px;background-repeat:no-repeat;border-radius:0;padding-right:32px;position:relative}
input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:none}
input[type=range]{-webkit-appearance:none;background:transparent;width:100%}
input[type=range]:focus{outline:none}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v16h2v2h2v2h1v-1H3v-2H1V1h9V0z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1v15h1v1h1v1h1v1h2v-1h1v-1h1v-1h1V1z' fill='%23C0C7C8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v15H8v2H6v2H5v-1h2v-2h2z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v16H9v2H7v2H5v1h1v-2h2v-2h2z' fill='%23000'/%3E%3C/svg%3E");border:none;box-shadow:none;height:21px;transform:translateY(-8px);width:11px}
input[type=range].has-box-indicator::-webkit-slider-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v20h1V1h9V0z' fill='%23fff'/%3E%3Cpath fill='%23C0C7C8' d='M1 1h8v18H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v19H1v-1h8z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v21H0v-1h10z' fill='%23000'/%3E%3C/svg%3E");transform:translateY(-10px)}
input[type=range]::-moz-range-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v16h2v2h2v2h1v-1H3v-2H1V1h9V0z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1v15h1v1h1v1h1v1h2v-1h1v-1h1v-1h1V1z' fill='%23C0C7C8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v15H8v2H6v2H5v-1h2v-2h2z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v16H9v2H7v2H5v1h1v-2h2v-2h2z' fill='%23000'/%3E%3C/svg%3E");border:0;border-radius:0;height:21px;transform:translateY(2px);width:11px}
input[type=range].has-box-indicator::-moz-range-thumb{background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v20h1V1h9V0z' fill='%23fff'/%3E%3Cpath fill='%23C0C7C8' d='M1 1h8v18H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v19H1v-1h8z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v21H0v-1h10z' fill='%23000'/%3E%3C/svg%3E");transform:translateY(0)}
input[type=range]::-webkit-slider-runnable-track{background:#000;border-bottom:1px solid grey;border-right:1px solid grey;box-shadow:1px 0 0 #fff,1px 1px 0 #fff,0 1px 0 #fff,-1px 0 0 #a9a9a9,-1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,-1px 1px 0 #fff,1px -1px #a9a9a9;box-sizing:border-box;height:2px;width:100%}
input[type=range]::-moz-range-track{background:#000;border-bottom:1px solid grey;border-right:1px solid grey;box-shadow:1px 0 0 #fff,1px 1px 0 #fff,0 1px 0 #fff,-1px 0 0 #a9a9a9,-1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,-1px 1px 0 #fff,1px -1px #a9a9a9;box-sizing:border-box;height:2px;width:100%}
.is-vertical{display:inline-block;height:150px;transform:translateY(50%);width:4px}
.is-vertical>input[type=range]{height:4px;margin:0 16px 0 10px;transform:rotate(270deg) translateX(calc(-50% + 8px));transform-origin:left;width:150px}
.is-vertical>input[type=range]::-webkit-slider-runnable-track{border-bottom:1px solid grey;border-left:1px solid grey;border-right:0;box-shadow:-1px 0 0 #fff,-1px 1px 0 #fff,0 1px 0 #fff,1px 0 0 #a9a9a9,1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,1px 1px 0 #fff,-1px -1px #a9a9a9}
.is-vertical>input[type=range]::-moz-range-track{border-bottom:1px solid grey;border-left:1px solid grey;border-right:0;box-shadow:-1px 0 0 #fff,-1px 1px 0 #fff,0 1px 0 #fff,1px 0 0 #a9a9a9,1px -1px 0 #a9a9a9,0 -1px 0 #a9a9a9,1px 1px 0 #fff,-1px -1px #a9a9a9}
.is-vertical>input[type=range]::-webkit-slider-thumb{transform:translateY(-8px) scaleX(-1)}
.is-vertical>input[type=range].has-box-indicator::-webkit-slider-thumb{transform:translateY(-10px) scaleX(-1)}
.is-vertical>input[type=range]::-moz-range-thumb{transform:translateY(2px) scaleX(-1)}
.is-vertical>input[type=range].has-box-indicator::-moz-range-thumb{transform:translateY(0) scaleX(-1)}
select:focus{background-color:navy;color:#fff}
select:focus option{background-color:#fff;color:#000}
select:active{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h16v17H0V0zm1 16h14V1H1v15z' fill='gray'/%3E%3Cpath fill='silver' d='M1 1h14v15H1z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 7H5v1h1v1h1v1h1v1h1v-1h1V9h1V8h1V7z' fill='%23000'/%3E%3C/svg%3E")}
a{color:#00f}
a:focus{outline:1px dotted #00f}
ul.tree-view{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;display:block;margin:0;padding:6px}
ul.tree-view li{list-style-type:none}
ul.tree-view a{color:#000;text-decoration:none}
ul.tree-view a:focus{background-color:navy;color:#fff}
ul.tree-view li,ul.tree-view ul{margin-top:3px}
ul.tree-view ul{border-left:1px dotted grey;margin-left:16px;padding-left:16px}
ul.tree-view ul>li{position:relative}
ul.tree-view ul>li:before{border-bottom:1px dotted grey;content:"";display:block;left:-16px;position:absolute;top:6px;width:12px}
ul.tree-view ul>li:last-child:after{background:#fff;bottom:0;content:"";display:block;left:-20px;position:absolute;top:7px;width:8px}
ul.tree-view details{margin-top:0}
ul.tree-view details[open] summary{margin-bottom:0}
ul.tree-view ul details>summary:before{margin-left:-22px;position:relative;z-index:1}
ul.tree-view details>summary:before{background-color:#fff;border:1px solid grey;content:"+";display:block;float:left;height:9px;line-height:8px;margin-right:5px;padding-left:1px;text-align:center;width:8px}
ul.tree-view details[open]>summary:before{content:"-"}
ul.tree-view details>summary::-webkit-details-marker,ul.tree-view details>summary::marker{content:""}
pre{background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;display:block;margin:0;padding:12px 8px}
code,code *{font-family:monospace}
summary:focus{outline:1px dotted #000}
::-webkit-scrollbar{width:16px}
::-webkit-scrollbar:horizontal{height:17px}
::-webkit-scrollbar-corner{background:#dfdfdf}
::-webkit-scrollbar-track{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='2' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 0H0v1h1v1h1V1H1V0z' fill='silver'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 0H1v1H0v1h1V1h1V0z' fill='%23fff'/%3E%3C/svg%3E")}
::-webkit-scrollbar-thumb{background-color:#dfdfdf;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf}
::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:horizontal:start:decrement,::-webkit-scrollbar-button:vertical:end:increment,::-webkit-scrollbar-button:vertical:start:decrement{display:block}
::-webkit-scrollbar-button:vertical:start{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 6H7v1H6v1H5v1H4v1h7V9h-1V8H9V7H8V6z' fill='%23000'/%3E%3C/svg%3E");height:17px}
::-webkit-scrollbar-button:vertical:end{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");height:17px}
::-webkit-scrollbar-button:horizontal:start{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 4H8v1H7v1H6v1H5v1h1v1h1v1h1v1h1V4z' fill='%23000'/%3E%3C/svg%3E");width:16px}
::-webkit-scrollbar-button:horizontal:end{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 4H6v7h1v-1h1V9h1V8h1V7H9V6H8V5H7V4z' fill='%23000'/%3E%3C/svg%3E");width:16px}
.window[role=tabpanel]{position:relative;z-index:2}
menu[role=tablist]{display:flex;list-style-type:none;margin:0 0 -2px;padding-left:3px;position:relative;text-indent:0}
menu[role=tablist]>li{border-top-left-radius:3px;border-top-right-radius:3px;box-shadow:inset -1px 0 #0a0a0a,inset 1px 1px #dfdfdf,inset -2px 0 grey,inset 2px 2px #fff;z-index:1}
menu[role=tablist]>li[aria-selected=true]{background-color:silver;margin-left:-3px;margin-top:-2px;padding-bottom:2px;position:relative;z-index:8}
menu[role=tablist]>li>a{color:#222;display:block;margin:6px;text-decoration:none}
menu[role=tablist]>li[aria-selected=true]>a:focus{outline:none}
menu[role=tablist]>li>a:focus{outline:1px dotted #222}
menu[role=tablist].multirows>li{flex-grow:1;text-align:center}
.sunken-panel{border:2px groove transparent;border-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='gray' d='M0 0h4v1H0z'/%3E%3Cpath fill='gray' d='M0 0h1v4H0z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h2v1H1z'/%3E%3Cpath fill='%230a0a0a' d='M1 1h1v2H1z'/%3E%3Cpath fill='%23fff' d='M0 4h5v1H0z'/%3E%3Cpath fill='%23fff' d='M4 0h1v5H4z'/%3E%3Cpath fill='%23dfdfdf' d='M3 1h1v3H3z'/%3E%3Cpath fill='%23dfdfdf' d='M1 3h3v1H1z'/%3E%3C/svg%3E") 2;box-sizing:border-box;overflow:auto}
.sunken-panel,table{background-color:#fff}
table{border-collapse:collapse;position:relative;text-align:left;white-space:nowrap}
table>thead>tr>*{background:silver;box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf;box-sizing:border-box;font-weight:400;height:17px;padding:0 6px;position:sticky;top:0}
table.interactive>tbody>tr{cursor:pointer}
table>tbody>tr.highlighted{background-color:navy;color:#fff}
table>tbody>tr>*{height:14px;padding:0 6px}
.progress-indicator{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;box-shadow:inset -2px -2px #dfdfdf,inset 2px 2px grey;box-sizing:border-box;height:32px;padding:4px;position:relative}
.progress-indicator>.progress-indicator-bar{background-color:navy;display:block;height:100%}
.progress-indicator.segmented>.progress-indicator-bar{background-color:transparent;background-image:linear-gradient(90deg,navy 16px,transparent 0 2px);background-repeat:repeat;background-size:18px 100%;width:100%}
.field-border{background:#fff}
.field-border,.field-border-disabled{box-shadow:inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a;padding:2px}
.field-border-disabled{background:silver}
.status-field-border{background:silver;box-shadow:inset -1px -1px #dfdfdf,inset 1px 1px grey;padding:1px}
/*# sourceMappingURL=98.css.map */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
html,
body,
#root {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', Arial, sans-serif;
  font-size: 11px;
}
.boot-screen {
  position: fixed;
  inset: 0;
  background: #000000;
  color: #c0c0c0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  padding: 20px;
  z-index: 99999;
  overflow: hidden;
}
.boot-line {
  opacity: 0;
  animation: bootFadeIn 0.1s forwards;
}
.boot-line.visible {
  opacity: 1;
}
@keyframes bootFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.desktop {
  position: fixed;
  inset: 0;
  bottom: var(--os-taskbar-height);
  overflow: hidden;
  user-select: none;
  transform: translateZ(0);
}
.shortcut-icon-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}
.shortcut-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25px;
  height: 25px;
  pointer-events: none;
  image-rendering: pixelated;
}
.desktop-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 75px;
  padding: 4px;
  cursor: pointer;
}
.desktop-selection-box {
  position: absolute;
  outline: 1px dotted #ffffff;
  background: transparent;
  contain: paint;
  pointer-events: none;
  will-change: left, top, width, height;
  z-index: 100;

  filter: drop-shadow(1px 1px 0 #000000);
}
.desktop-icon:focus {
  outline: none;
}
.desktop-icon.selected .desktop-icon-label {
  background: var(--os-selection-active);
  color: #ffffff;
  border: 1px dotted #ffffff;
  padding: 0 1px;
}
.desktop-icon.selected.selection-inactive .desktop-icon-label {
  background: var(--os-selection-inactive);
  border-color: #c0c0c0;
}
.desktop-icon.drag-over .desktop-icon-label {
  background: var(--os-selection-active);
  color: #ffffff;
  border: 1px dotted #ffffff;
  padding: 0 1px;
}
.desktop-icon.drag-over .desktop-icon-image-wrap {
  outline: 1px dotted #ffffff;
}
.desktop-icon.dragging {
  opacity: 0.75;
  z-index: 10000;
  touch-action: none;
  user-select: none;
}
.desktop-icon-image {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  margin-bottom: 2px;
}
.desktop-icon-label {
  color: var(--os-desktop-icon-text);
  text-shadow: 1px 1px var(--os-desktop-icon-text-shadow);
  text-align: center;
  font-size: 11px;
  word-wrap: break-word;
  max-width: 75px;
  padding: 1px 2px;
}
textarea.desktop-icon-rename-input {
  width: 75px !important;
  min-width: 0 !important;
  max-width: 75px !important;
  height: auto;
  min-height: 17px !important;
  margin: 0 !important;
  padding: 1px 2px !important;
  border: 1px solid #000000 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  appearance: none !important;
  resize: none;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  font: inherit !important;
  line-height: 13px !important;
  overflow: hidden !important;
  overflow-wrap: anywhere;
  text-align: center;
  text-shadow: none !important;
  white-space: pre-wrap;
}
.desktop-icon.selected textarea.desktop-icon-rename-input,
.desktop-icon.selected.selection-inactive textarea.desktop-icon-rename-input {
  border: 1px solid #000000 !important;
  padding: 1px 2px !important;
  background: #ffffff !important;
  color: #000000 !important;
}
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--os-taskbar-height);
  background: var(--os-surface);
  border-top: 2px solid var(--os-border-light);
  display: flex;
  align-items: center;
  padding: 2px 2px;
  z-index: 9000;
  gap: 2px;
}
.taskbar-start-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  padding: 2px 8px;
  min-width: 60px;
  background: var(--os-surface);
  border: none;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #fff,
    inset -2px -2px grey,
    inset 2px 2px #dfdfdf;
}
.taskbar-start-btn img {
  width: 16px;
  height: 16px;
}
.taskbar-start-btn.active,
.taskbar-start-btn:active {
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
  padding-left: 9px;
  padding-top: 3px;
}
.taskbar-windows {
  flex: 1;
  display: flex;
  gap: 2px;
  overflow: hidden;
}
.taskbar-window-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 100px;
  max-width: 160px;
  overflow: hidden;
  font-size: 11px;
  padding: 2px 6px;
  text-align: left;
}
.taskbar-window-btn-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.taskbar-window-btn.active {
  font-weight: bold;
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px grey;
  padding-left: 7px;
  padding-top: 3px;
}
.taskbar-clock {
  border-top: 1px solid var(--os-border-darker);
  border-left: 1px solid var(--os-border-darker);
  border-bottom: 1px solid var(--os-border-light);
  border-right: 1px solid var(--os-border-light);
  padding: 0 2px;
  margin: 2px 2px;
  font-size: 11px;
  min-width: 70px;
  text-align: center;
  background: var(--os-surface);
  user-select: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.start-menu {
  position: fixed;
  bottom: var(--os-taskbar-height);
  left: 0;
  width: 200px;
  z-index: 9500;
  background: var(--os-surface);
  border: 2px outset var(--os-border-dark);
}
.start-menu-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(to top, #000080, #1084d0);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}
.start-menu-sidebar-text {
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 2px;
}
.start-menu-items {
  margin-left: 28px;
  padding: 4px 0;
}
.start-menu-item-wrapper {
  position: relative;
}
.start-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 11px;
  width: 100%;
  background: none;
  border: none;
  appearance: none;
  box-shadow: none;
  text-align: left;
  font-family: inherit;
  line-height: 16px;
  color: #000000;
  margin: 0;
  border-radius: 0;
}
.start-menu-item:hover,
.start-menu-item.active,
.start-menu-item:active:not(:disabled) {
  background: #000080;
  color: #ffffff;
  box-shadow: none;
  text-shadow: none;
}
.start-menu-item:active {
  box-shadow: none;
  padding: 4px 12px;
  text-shadow: none;
}
.start-menu-item-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.start-menu-arrow {
  font-size: 10px;
  padding-left: 16px;
  flex-shrink: 0;
}
.start-menu-item .shortcut-icon-wrap,
.start-menu-item img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.start-menu-submenu .start-menu-item .shortcut-icon-wrap,
.start-menu-submenu .start-menu-item img {
  width: 16px;
  height: 16px;
}
.start-menu-submenu .start-menu-item .shortcut-icon-image {
  width: 16px;
  height: 16px;
}
.start-menu-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--os-surface);
  border: 2px outset var(--os-border-dark);
  min-width: 160px;
  padding: 2px 0;
  z-index: 9600;
}
.start-menu-separator {
  height: 1px;
  background: var(--os-border-dark);
  margin: 2px 4px;
}
.menu-bar {
  display: flex;
  background: var(--os-surface);
  border-bottom: 1px solid var(--os-border-dark);
  padding: 0;
  position: relative;
  z-index: 10;
}
.menu-bar-item-wrapper {
  position: relative;
}
.menu-bar-item {
  padding: 2px 6px;
  cursor: default;
  font-size: 11px;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  line-height: 16px;
  color: #000000;
  margin: 0;
  border-radius: 0;
  user-select: none;
}
.menu-bar-item:hover {
  background: #000080;
  color: #ffffff;
}
.window-frame[data-window-active='false'] .menu-bar-item:hover {
  background: transparent;
  color: #000000;
}
.menu-bar-item.active {
  background: #000080;
  color: #ffffff;
}
.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--os-surface);
  border: 2px outset #dfdfdf;
  z-index: 100;
  min-width: 160px;
  padding: 2px;
}
.menu-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 3px 24px 3px 6px;
  cursor: pointer;
  font-size: 11px;
  background: transparent;
  border: none;
  white-space: nowrap;
  margin: 0;
  line-height: 16px;
  font-family: inherit;
}
.menu-check {
  display: inline-block;
  width: 16px;
  flex: 0 0 auto;
  text-align: center;
}
.menu-check--radio {
  font-size: 18px;
  line-height: 1;
}
.menu-shortcut {
  margin-left: auto;
  padding-left: 20px;
  opacity: 0.75;
}
.menu-dropdown-item:hover,
.menu-dropdown-item:active:not(.disabled) {
  background: #000080;
  color: #ffffff;
}
.menu-dropdown-item:active:not(.disabled) {
  box-shadow: none;
  text-shadow: none;
}
.menu-dropdown-item.disabled {
  color: var(--os-border-dark);
  cursor: default;
}
.menu-dropdown-item.disabled:hover {
  background: transparent;
  color: var(--os-border-dark);
}
.menu-separator {
  height: 0;
  margin: 2px 2px;
  border-top: 1px solid var(--os-border-dark);
  border-bottom: 1px solid var(--os-border-light);
}
.context-menu {
  position: fixed;
  background: #c0c0c0;
  border: 2px outset #dfdfdf;
  z-index: 10000;
  min-width: 160px;
  padding: 2px;
}
.context-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 3px 24px;
  cursor: pointer;
  font-size: 11px;
  background: transparent;
  border: none;
  box-shadow: none;
  white-space: nowrap;
  margin: 0;
  line-height: 16px;
  border-radius: 0;
  font-family: inherit;
}
.context-menu-item:hover:not(:disabled),
.context-menu-item:active:not(:disabled) {
  background: #000080;
  color: #ffffff;
}
.context-menu-item:active:not(:disabled) {
  box-shadow: none;
  text-shadow: none;
}
.context-menu-item:disabled {
  color: var(--os-border-dark);
  cursor: default;
}
.window-frame {
  position: absolute;
  min-width: var(--os-window-min-width);
  min-height: var(--os-window-min-height);
}
.window-frame.minimized {
  display: none;
}
.window-frame.maximized {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: calc(100vh - var(--os-taskbar-height)) !important;
}
.window-frame .title-bar {
  min-width: 0;
  cursor: move;
  user-select: none;
}
.window-frame .title-bar-text {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.window-frame .title-bar-text img {
  flex: 0 0 auto;
}
.window-title-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.window-frame .title-bar-controls {
  flex: 0 0 auto;
}
.window-frame > .window > .window-body {
  margin: 0;
}
.resize-zone {
  position: absolute;
  z-index: 5;
}
.resize-zone-n {
  top: 0;
  left: var(--os-resize-corner);
  right: var(--os-resize-corner);
  height: var(--os-resize-border);
}
.resize-zone-s {
  bottom: 0;
  left: var(--os-resize-corner);
  right: var(--os-resize-corner);
  height: var(--os-resize-border);
}
.resize-zone-e {
  top: var(--os-resize-corner);
  right: 0;
  bottom: var(--os-resize-corner);
  width: var(--os-resize-border);
}
.resize-zone-w {
  top: var(--os-resize-corner);
  left: 0;
  bottom: var(--os-resize-corner);
  width: var(--os-resize-border);
}
.resize-zone-ne {
  top: 0;
  right: 0;
  width: var(--os-resize-corner);
  height: var(--os-resize-corner);
}
.resize-zone-nw {
  top: 0;
  left: 0;
  width: var(--os-resize-corner);
  height: var(--os-resize-corner);
}
.resize-zone-se {
  bottom: 0;
  right: 0;
  width: var(--os-resize-corner);
  height: var(--os-resize-corner);
}
.resize-zone-se::after {
  content: '';
  position: absolute;
  right: 5px;
  bottom: 4px;
  width: 12px;
  height: 12px;
  background: linear-gradient(
    135deg,
    transparent 0 9px,
    var(--os-border-light) 9px 10px,
    var(--os-border-dark) 10px 11px,
    transparent 11px 12px,
    var(--os-border-light) 12px 13px,
    var(--os-border-dark) 13px 14px,
    transparent 14px 15px,
    var(--os-border-light) 15px 16px,
    var(--os-border-dark) 16px 17px
  );
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.resize-zone-sw {
  bottom: 0;
  left: 0;
  width: var(--os-resize-corner);
  height: var(--os-resize-corner);
}
.resize-wireframe {
  outline: 1px dotted #ffffff;
  background: transparent;
  contain: paint;
  pointer-events: none;
  will-change: left, top, width, height;
  filter: drop-shadow(1px 1px 0 #000000);
}
.wallpaper-center {
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
}
.wallpaper-tile {
  background-repeat: repeat;
  background-size: auto;
}
.wallpaper-stretch {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.display-monitor-preview {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 8px;
  padding-bottom: 26px;
}
.display-monitor-preview__inner {
  position: relative;
}
.display-monitor-preview__body {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  height: 155px;
  padding: 12px;
  background: var(--os-surface);
  border-top: 4px solid #dfdfdf;
  border-left: 4px solid #dfdfdf;
  border-bottom: 4px solid var(--os-border-dark);
  border-right: 4px solid var(--os-border-dark);
  outline: 1px dotted var(--os-surface);
  outline-offset: -3px;
  box-shadow: 1px 1px 0 1px var(--os-border-darker);
}
.display-monitor-preview__body::before {
  content: '';
  position: absolute;
  inset: 0;
  outline: 1px dotted var(--os-surface);
  pointer-events: none;
}
.display-monitor-preview__body::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 4px;
  width: 10px;
  border-top: 2px solid #4d9046;
  border-bottom: 2px solid #07ff00;
}
.display-monitor-preview__screen {
  width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  border: 2px inset #dfdfdf;
  box-shadow: inset 1px 1px 0 var(--os-border-dark);
}
.display-monitor-preview__stand {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  box-sizing: border-box;
  width: 50%;
  height: 10px;
  transform: translateX(-50%);
  background: var(--os-surface);
  border-left: 2px solid #dfdfdf;
  border-bottom: 2px solid var(--os-border-darker);
  border-right: 2px solid var(--os-border-darker);
  box-shadow: inset 0 0 0 2px var(--os-border-dark);
}
.display-monitor-preview__stand::before {
  content: '';
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  width: 80%;
  height: 8px;
  transform: translateX(-50%);
  background: var(--os-surface);
  border-left: 2px solid #dfdfdf;
  border-right: 2px solid var(--os-border-darker);
  box-shadow: inset 0 0 0 2px var(--os-border-dark);
}
.display-monitor-preview__stand::after {
  content: '';
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 150%;
  height: 4px;
  transform: translateX(-50%);
  background: var(--os-surface);
  border: 2px solid var(--os-border-dark);
  border-bottom: none;
  box-shadow:
    inset 1px 1px 0 1px #dfdfdf,
    1px 1px 0 1px var(--os-border-darker);
}
.notepad-textarea {
  width: 100%;
  height: 100%;
  resize: none;
  border: none;
  outline: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  padding: 4px;
}
.terminal-screen {
  position: fixed;
  inset: 0;
  background: #000000;
  color: #c0c0c0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  padding: 20px;
  z-index: 99999;
  overflow: hidden;
}
.terminal-lines {
  height: 100%;
  overflow-y: auto;
}
.terminal-line {
  white-space: pre-wrap;
  word-break: break-all;
}
.terminal-line.command {
  color: #c0c0c0;
}
.terminal-line.output {
  color: #aaaaaa;
}
.terminal-input-line {
  display: flex;
  align-items: center;
}
.terminal-prompt {
  color: #c0c0c0;
  white-space: pre;
}
.terminal-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #c0c0c0 !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 14px !important;
  caret-color: #c0c0c0 !important;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  line-height: normal !important;
  height: auto !important;
  width: auto !important;
  min-width: 0 !important;
}
.terminal-input:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.minesweeper {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #c0c0c0;
  overflow: hidden;
}
.minesweeper-game {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 8px 12px;
  overflow: hidden;
}
.minesweeper-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 6px;
  border: 2px inset var(--os-border-light);
}
.minesweeper-counter {
  width: 48px;
  padding: 2px 4px;
  justify-self: start;
  border: 2px inset var(--os-border-light);
  background: #000000;
  color: #ff0000;
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  text-align: right;
}
.minesweeper-counter:last-child {
  justify-self: end;
}
.minesweeper-reset {
  width: 44px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 1px 4px;
}
.minesweeper-reset img {
  display: block;
  width: 22px;
  height: 22px;
  image-rendering: auto;
}
.minesweeper-board {
  display: grid;
  border: 3px inset var(--os-border-light);
  background: #808080;
  /* size and cell size set via inline style + --cell-size for 1:1 squares */
}
.minesweeper-board-container {
  min-height: 0;
  display: flex;
  align-items: flex-start; /* board butts right up under the panel (classic layout); extra space goes below board */
  justify-content: center;
  overflow: hidden;
  padding: 0 4px; /* small breathing room */
}
.minesweeper-cell {
  /* sized by parent grid tracks; explicit size set on .minesweeper-board for 1:1 */
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(var(--cell-size, 24px) * 0.8);
  font-weight: bold;
  line-height: 1;
  text-align: center;
}
.minesweeper-cell.revealed {
  border: 1px solid #808080;
  background: #c0c0c0;
  box-shadow: none;
}
.minesweeper-cell.exploded {
  background: #ff0000;
}
.minesweeper-cell.one {
  color: #0000ff;
}
.minesweeper-cell.two {
  color: #008000;
}
.minesweeper-cell.three {
  color: #ff0000;
}
.minesweeper-cell.four {
  color: #000080;
}
.minesweeper-cell.five {
  color: #800000;
}
.minesweeper-cell.six {
  color: #008080;
}
.minesweeper-cell.seven {
  color: #000000;
}
.minesweeper-cell.eight {
  color: #808080;
}
.minesweeper-cell-icon {
  display: block;
  object-fit: contain;
  image-rendering: auto;
  pointer-events: none;
}
.minesweeper-cell-icon.bomb {
  width: calc(var(--cell-size, 24px) * 0.5);
  height: calc(var(--cell-size, 24px) * 0.5);
}
.minesweeper-cell-icon.flag {
  width: calc(var(--cell-size, 24px) * 0.6);
  height: calc(var(--cell-size, 24px) * 0.6);
}
.explorer-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #c0c0c0;
  overflow: hidden;
}
.explorer-toolbar,
.explorer-address {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  border-bottom: 1px solid #808080;
}
.explorer-toolbar button {
  min-width: 54px;
  height: 24px;
  padding: 2px 6px;
}
.explorer-address span {
  flex: 0 0 auto;
}
.explorer-address-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}
.explorer-address select {
  width: 100%;
  min-width: 0;
  height: 22px;
}
.explorer-main {
  flex: 1;
  min-height: 0;
  display: flex;
  border-top: 1px solid #ffffff;
}
.explorer-tree-pane,
.explorer-list {
  min-height: 0;
  background: #ffffff;
}
.explorer-tree-pane {
  flex: 0 0 215px;
  min-width: 120px;
  max-width: min(420px, calc(100% - 101px));
  overflow: auto;
}
.explorer-splitter {
  flex: 0 0 5px;
  cursor: col-resize;
  background: #c0c0c0;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #808080;
}
.explorer-splitter:active {
  background: #808080;
}
.explorer-tree {
  min-width: 100%;
  width: max-content;
  min-height: 100%;
  box-sizing: border-box;
  box-shadow: none;
}
.explorer-tree button {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  box-shadow: none;
  background: transparent;
  text-align: left;
}
.explorer-tree button {
  gap: 2px;
}
.explorer-tree details > summary::before {
  margin-right: 2px;
}
.explorer-tree button {
  width: auto;
  height: 18px;
  min-height: 18px;
  padding: 0 2px;
  line-height: 16px;
}
.explorer-tree button img {
  flex: 0 0 auto;
}
.explorer-tree-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 16px;
}
.explorer-tree .explorer-tree-label {
  overflow: visible;
  text-overflow: clip;
}
.explorer-tree button.active {
  background: #000080;
  color: #ffffff;
}
.explorer-list {
  flex: 1;
  min-width: 96px;
  position: relative;
}
.explorer-selection-box {
  position: absolute;
  border: 1px dotted #000000;
  background: transparent;
  pointer-events: none;
  z-index: 5;
}
.explorer-table {
  min-width: 100%;
  table-layout: fixed;
}
.explorer-table th:first-child,
.explorer-table td:first-child {
  width: auto;
}
.explorer-table th:nth-child(2),
.explorer-table td:nth-child(2) {
  width: 84px;
}
.explorer-table th:nth-child(3),
.explorer-table td:nth-child(3) {
  width: 110px;
}
.explorer-list-row td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.explorer-name-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.explorer-list-row input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: inherit;
  font: inherit;
}
.explorer-status {
  flex: 0 0 auto;
}
.explorer-icon-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px;
  padding: 6px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: auto;
}
.explorer-icon-grid--list {
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0;
}
.explorer-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px;
  width: 72px;
  cursor: default;
  border: 0;
  background: transparent;
  text-align: center;
}
.explorer-icon-grid--small-icons .explorer-icon-item,
.explorer-icon-grid--list .explorer-icon-item {
  flex-direction: row;
  width: auto;
  min-width: 120px;
  max-width: 200px;
  padding: 1px 4px;
  gap: 4px;
  align-items: center;
}
.explorer-icon-item.highlighted {
  background: #000080;
  color: #ffffff;
}
.explorer-icon-item.drag-over {
  outline: 1px dotted #ffffff;
  background: #000080;
  color: #ffffff;
}
.explorer-icon-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.2;
}
.explorer-icon-item input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
}
.explorer-icon-grid--small-icons .explorer-icon-item input,
.explorer-icon-grid--list .explorer-icon-item input {
  text-align: left;
}
.explorer-list-row.drag-over,
.explorer-list-row.drag-over td:first-child {
  outline: 1px dotted #ffffff;
  background: #000080;
  color: #ffffff;
}
.explorer-tree button.drag-over {
  outline: 1px dotted #ffffff;
  background: #000080;
  color: #ffffff;
}
.explorer-dialog-backdrop {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
}
.explorer-dialog {
  width: 280px;
}
.explorer-dialog-field {
  display: grid;
  gap: 6px;
}
.explorer-dialog-field input {
  width: 100%;
}
.explorer-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px;
}
.explorer-properties {
  display: grid;
  gap: 6px;
  margin: 0;
}
.explorer-properties div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}
.explorer-properties dt {
  font-weight: bold;
}
.explorer-properties dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.paint-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #c0c0c0;
  overflow: hidden;
}
.paint-main {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}
.paint-toolbox {
  flex: 0 0 54px;
  width: 57px;
  display: grid;
  grid-template-columns: 26px 26px;
  gap: 1px;
  padding: 3px 1px 2px;
  border-right: 2px solid #808080;
  background: #c0c0c0;
  align-content: start;
}
.paint-tool-btn {
  min-width: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}
.paint-tool-icon {
  width: 16px;
  height: 16px;
  display: block;
  background-image: url('/assets/paint/paint-spritesheet.png');
  background-repeat: no-repeat;
}
.paint-tool-icon-select {
  background-position: -29px -17px;
}
.paint-tool-icon-eraser {
  background-position: -5px -42px;
}
.paint-tool-icon-fill {
  background-position: -29px -42px;
}
.paint-tool-icon-pencil {
  background-position: -5px -92px;
}
.paint-tool-icon-brush {
  background-position: -29px -92px;
}
.paint-tool-icon-zoom {
  position: relative;
  background-position: -29px -67px;
}
.paint-zoom-out-btn {
  grid-column: 1;
}
.paint-zoom-in-btn {
  grid-column: 2;
}
.paint-tool-icon-zoom::after {
  position: absolute;
  left: -3px;
  bottom: -4px;
  color: #000080;
  font:
    700 12px/12px Arial,
    sans-serif;
  text-shadow:
    1px 0 #ffffff,
    0 1px #ffffff;
}
.paint-tool-icon-zoom-in::after {
  content: '+';
}
.paint-tool-icon-zoom-out::after {
  content: '-';
}
.paint-tool-icon-line {
  background-position: -5px -141px;
}
.paint-tool-icon-rectangle {
  width: 18px;
  height: 18px;
  background-position: -4px -166px;
}
.paint-tool-icon-ellipse {
  width: 18px;
  height: 18px;
  background-position: -3px -191px;
}
.paint-tool-btn.active,
.paint-tool-btn:active {
  box-shadow:
    inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #808080;
}
.paint-brush-sizes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 26px 26px;
  gap: 1px;
  padding: 3px 0 2px;
  border-top: 1px solid #808080;
  margin-top: 3px;
}
.paint-size-btn {
  min-width: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}
.paint-size-btn.active,
.paint-size-btn:active {
  box-shadow:
    inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #808080;
}
.paint-size-dot {
  background: #000000;
  border-radius: 50%;
}
.paint-canvas-area {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 8px;
  background-color: #808080;
  background-image:
    linear-gradient(45deg, #707070 25%, transparent 25%),
    linear-gradient(-45deg, #707070 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #707070 75%),
    linear-gradient(-45deg, transparent 75%, #707070 75%);
  background-size: 8px 8px;
  background-position:
    0 0,
    0 4px,
    4px -4px,
    -4px 0;
}
.paint-canvas {
  background: #ffffff;
  border: 1px solid #808080;
  image-rendering: auto;
  display: block;
}
.paint-palette-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-top: 2px solid #808080;
  background: #c0c0c0;
}
.paint-color-indicator {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.paint-color-bg {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #000;
  bottom: 0;
  right: 0;
}
.paint-color-fg {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #000;
  top: 0;
  left: 0;
}
.paint-colors {
  display: grid;
  grid-template-columns: repeat(14, 16px);
  grid-template-rows: repeat(2, 16px);
  gap: 1px;
}
.paint-color-swatch {
  min-width: 0;
  min-height: 0;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid #000;
  box-shadow: none;
  cursor: pointer;
}
.paint-color-swatch.active {
  box-shadow:
    inset 0 0 0 2px #fff,
    inset 0 0 0 3px #000;
}
.paint-resize-handle {
  position: absolute;
  width: 6px;
  height: 6px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: #000000;
  line-height: 0;
  font-size: 0;
}
.paint-overwrite-backdrop {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}
.paint-overwrite-dialog {
  width: 320px;
}
.paint-overwrite-body {
  padding: 12px;
}
.paint-overwrite-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}
.wordpad-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #c0c0c0;
  overflow: hidden;
}
.wordpad-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 6px;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #808080;
}
.wordpad-toolbar-format {
  min-height: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.wordpad-toolbar button {
  min-width: 28px;
  height: 26px;
  padding: 1px 5px;
  font-weight: bold;
}
.wordpad-toolbar-icon {
  display: block;
  width: 16px;
  height: 16px;
}
.wordpad-select-wrap {
  position: relative;
  flex-shrink: 0;
  height: 26px;
  margin: 0 6px 0 0;
}
.wordpad-select-font {
  flex: 1 1 160px;
  max-width: 260px;
  min-width: 120px;
}
.wordpad-select-size {
  width: 58px;
}
.wordpad-select-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 17px;
  z-index: 1;
  pointer-events: none;
  background-color: var(--os-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpolygon points='0,0 7,0 3.5,4' fill='%23000000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}
.wordpad-toolbar select {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 1px 20px 1px 3px;
  background-image: none;
}
.wordpad-page-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 4px 4px;
  background: #c0c0c0;
}
.wordpad-editor {
  width: 100%;
  min-height: 100%;
  padding: 14px 22px;
  border: 2px inset #dfdfdf;
  box-sizing: border-box;
  background: #ffffff;
  color: #000000;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.35;
  outline: none;
}
.wordpad-editor h1,
.wordpad-editor h2,
.wordpad-editor h3,
.wordpad-editor p,
.wordpad-editor ul {
  margin-top: 0;
}
.wordpad-editor h1 {
  font-size: 26px;
}
.wordpad-editor h2 {
  font-size: 20px;
}
.wordpad-editor h3 {
  font-size: 17px;
}
.wordpad-editor a {
  color: #0000ee;
  text-decoration: underline;
  cursor: pointer;
}
.wordpad-image {
  max-width: 55%;
  margin: 4px 12px 8px;
}
.wordpad-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #808080;
}
.wordpad-image-left {
  float: left;
  margin-left: 0;
}
.wordpad-image-right {
  float: right;
  margin-right: 0;
}
.wordpad-image-center {
  max-width: 70%;
  margin: 8px auto 12px;
  clear: both;
}
.wordpad-editor::after {
  content: '';
  display: block;
  clear: both;
}
.wordpad-dialog-backdrop {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
}
.wordpad-link-dialog {
  width: 320px;
}
.wordpad-link-dialog-body {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.wordpad-link-dialog-body input {
  width: 100%;
}
.wordpad-link-dialog-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 4px;
}
@media print {
  @page {
    margin: 8mm;
    size: auto;
  }

  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
  }

  body.wordpad-printing > :not(#wordpad-print-root) {
    display: none !important;
  }

  body.wordpad-printing #wordpad-print-root {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    background: #ffffff;
  }

  body.wordpad-printing #wordpad-print-root .wordpad-editor {
    width: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    padding: 0;
    overflow: visible;
    background: #ffffff;
  }

  body.notepad-printing > :not(#notepad-print-root) {
    display: none !important;
  }

  body.notepad-printing #notepad-print-root {
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  body.notepad-printing #notepad-print-root .notepad-print-content {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    line-height: 1.3;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body.paint-printing > :not(#paint-print-root) {
    display: none !important;
  }

  body.paint-printing #paint-print-root {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background: #ffffff;
  }

  body.paint-printing #paint-print-root .paint-print-image {
    display: block;
    max-width: 100%;
    height: auto;
  }
}
html.palmtop-mode {
  --os-taskbar-height: 28px;
  --os-window-min-width: 160px;
  --os-window-min-height: 100px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Help suppress browser navigation gestures (swipe from edge) */
  overscroll-behavior: none;
  /* Disable the phone's built-in long-press context menu (iOS callout, Android menu, etc.) */
  -webkit-touch-callout: none;
}
.palmtop-shell {
  position: fixed;
  inset: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
  z-index: 0;
  overscroll-behavior: none;
}
.palmtop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Prevent Chrome's built-in swipe-from-edge "go back" gesture + overscroll navigation */
  overscroll-behavior: none;
  /* Disable built-in phone context menu on long-press for the entire emulated screen */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
html.palmtop-portrait .desktop-icon {
  width: 58px;
}
html.palmtop-portrait .desktop-icon-label {
  max-width: 58px;
  font-size: 9px;
}
html.palmtop-portrait .taskbar-window-btn {
  min-width: 56px;
  max-width: 88px;
}
html.palmtop-mode .desktop,
html.palmtop-mode .taskbar,
html.palmtop-mode .boot-screen,
html.palmtop-mode .start-menu,
html.palmtop-mode .context-menu {
  position: absolute !important;
  /* Further discourage browser edge swipe navigation inside the emulated screen */
  overscroll-behavior: none;
}
html.palmtop-mode .desktop-icon {
  width: 64px;
  padding: 6px 2px;
}
html.palmtop-mode .desktop-icon-label {
  font-size: 10px;
  max-width: 64px;
}
html.palmtop-mode .taskbar-start-btn {
  min-width: 52px;
  padding: 2px 6px;
  font-size: 10px;
}
html.palmtop-mode .taskbar-window-btn {
  min-width: 72px;
  max-width: 120px;
  font-size: 10px;
}
html.palmtop-mode .taskbar-clock {
  min-width: 58px;
  font-size: 10px;
}
html.palmtop-mode .window-frame.maximized {
  height: calc(100% - var(--os-taskbar-height)) !important;
}
html.palmtop-mode .boot-screen {
  font-size: 12px;
}
html.palmtop-mode .window-frame.palmtop-window--fullscreen {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: calc(100% - var(--os-taskbar-height)) !important;
  min-width: 0;
  min-height: 0;
}
html.palmtop-mode
  .window-frame:not([data-window-active='true']):not(
    [data-window-modal='true']
  ):not([data-has-open-modal='true']) {
  visibility: hidden;
  pointer-events: none;
}
html.palmtop-mode .window-frame.palmtop-window--fullscreen > .window {
  overflow: visible;
}
html.palmtop-mode
  .window-frame.palmtop-window--fullscreen
  > .window
  > .window-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
}
html.palmtop-mode .window-frame.palmtop-window--fullscreen .title-bar--palmtop {
  cursor: default;
  flex: 0 0 auto;
}
html.palmtop-mode .window-frame.palmtop-window--fullscreen .window-body > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
html.palmtop-mode .explorer-shell,
html.palmtop-mode .paint-shell,
html.palmtop-mode .wordpad-shell {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
html.palmtop-mode .minesweeper {
  flex: 1;
  min-height: 0;
  overflow: hidden; /* no scroll, must fit */
}
html.palmtop-mode .notepad-textarea {
  font-size: 14px;
  line-height: 1.2;
}
/* Status bars at bottom of windows (not the OS taskbar) - bigger on mobile */
html.palmtop-mode .status-bar {
  min-height: 26px;
  flex: 0 0 auto;
  padding: 2px 6px;
}
html.palmtop-mode .status-bar-field {
  font-size: 13px;
  padding: 1px 4px;
  min-height: 20px;
  margin: 0;
  display: flex;
  align-items: center;
}
/* Specific variants */
html.palmtop-mode .explorer-status,
html.palmtop-mode .minesweeper-status {
  min-height: 24px;
}
/* Minesweeper: fit perfectly in palmtop, no scroll, 1:1 cells, portrait/landscape */
html.palmtop-mode .minesweeper-game {
  gap: 3px;
  padding: 2px 4px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
html.palmtop-mode .minesweeper-board-container {
  flex: 1;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
html.palmtop-mode .minesweeper-panel {
  flex: 0 0 auto;
  padding: 6px;
  gap: 5px;
  border-width: 1px;
}
html.palmtop-mode .minesweeper-reset {
  width: 36px;
  height: 34px;
  border-width: 1px;
}
html.palmtop-mode .minesweeper-reset img {
  width: 24px;
  height: 24px;
}
html.palmtop-mode .minesweeper-counter {
  width: 56px;
  font-size: 20px;
  padding: 4px 7px;
  border-width: 1px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* scale borders thinner for small cells on mobile */
html.palmtop-mode .minesweeper-board {
  border-width: 2px;
}
html.palmtop-mode .minesweeper-cell {
  border-width: 1px;
  min-height: 0 !important; /* prevent global palmtop button min-height from breaking small grid cells */
  min-width: 0;
  padding: 0;
  margin: 0;
}
html.palmtop-mode .minesweeper-cell.revealed {
  border-width: 1px;
}
/* Landscape: panel/scores/reset on left (bigger), bigger board on right */
html.palmtop-landscape .minesweeper-game {
  flex-direction: row;
  gap: 10px;
  padding: 4px 6px 8px 6px; /* extra bottom for overall margin below the field */
}
html.palmtop-landscape .minesweeper-panel {
  display: flex;
  flex-direction: column;
  flex: 0 0 104px;
  padding: 8px 6px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-width: 2px;
}
html.palmtop-landscape .minesweeper-counter {
  width: 60px;
  font-size: 18px;
  padding: 4px 6px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
html.palmtop-landscape .minesweeper-reset {
  width: 40px;
  height: 36px;
  margin: 6px 0;
}
html.palmtop-landscape .minesweeper-reset img {
  width: 26px;
  height: 26px;
}
/* margin / breathing room around the playing field (board) on the right */
html.palmtop-landscape .minesweeper-board-container {
  padding: 4px 4px 12px 4px; /* extra bottom margin below the grid */
  align-items: flex-start; /* top-align the board so the bottom row sits lower (with margin below it) */
  justify-content: center;
}
.command-bar {
  display: flex;
  align-items: stretch;
  min-height: 22px;
  background: var(--os-surface);
  color: #000000;
  border-bottom: 1px solid var(--os-border-dark);
  flex: 0 0 auto;
  overflow: visible;
  position: relative;
  z-index: 20;
}
.command-bar-title {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 34%;
}
.command-bar-icon {
  flex: 0 0 auto;
  image-rendering: pixelated;
}
.command-bar-title-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 20px;
}
.command-bar .menu-bar {
  flex: 0 0 auto;
  background: transparent;
  border-bottom: none;
  overflow: visible;
}
.command-bar .menu-bar-item-wrapper {
  overflow: visible;
}
.command-bar .menu-bar-item {
  color: #000000;
  font-size: 10px;
  line-height: 16px;
  padding: 2px 5px 0;
}
.command-bar .menu-bar-item:hover,
.command-bar .menu-bar-item.active {
  background: #000080;
  color: #ffffff;
}
.command-bar .menu-dropdown {
  z-index: 10050;
}
.command-bar-tools {
  display: flex;
  align-items: stretch;
  gap: 1px;
  margin-left: auto;
  flex: 0 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
}
.command-bar-tool-btn {
  font-size: 10px;
  line-height: 18px;
  padding: 0 5px;
  min-width: 0;
  white-space: nowrap;
}
.command-bar-close {
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px;
  margin-left: 2px;
}
html.palmtop-mode {
  --palmtop-touch-target: 34px;
  --palmtop-scrollbar-size: 18px;
}
html.palmtop-mode * {
  scrollbar-width: auto;
}
html.palmtop-mode
  :is(
    .window-body,
    .notepad-textarea,
    .terminal-lines,
    .file-list,
    .explorer-tree-pane,
    .explorer-icon-grid,
    .paint-canvas-area,
    .wordpad-page-wrap
  ) {
  -webkit-overflow-scrolling: auto;
  scrollbar-color: var(--os-surface) #dfdfdf;
  scrollbar-gutter: stable;
}
html.palmtop-mode ::-webkit-scrollbar {
  width: var(--palmtop-scrollbar-size);
  height: var(--palmtop-scrollbar-size);
}
html.palmtop-mode ::-webkit-scrollbar-track,
html.palmtop-mode ::-webkit-scrollbar-corner {
  background: #dfdfdf;
  border: 1px solid var(--os-border-dark);
  box-shadow: inset 1px 1px #ffffff;
}
html.palmtop-mode ::-webkit-scrollbar-thumb,
html.palmtop-mode ::-webkit-scrollbar-button {
  background: var(--os-surface);
  border: 1px solid var(--os-border-dark);
  box-shadow: inset 1px 1px #ffffff;
}
html.palmtop-mode button,
html.palmtop-mode input[type='checkbox'],
html.palmtop-mode select,
html.palmtop-mode .context-menu-item,
html.palmtop-mode .menu-bar-item,
html.palmtop-mode .explorer-list-row,
html.palmtop-mode .explorer-icon-item,
html.palmtop-mode .explorer-tree-item {
  min-height: var(--palmtop-touch-target);
}
html.palmtop-mode input[type='checkbox'] {
  width: 18px;
  height: 18px;
}
/* Allow text selection and native behaviors on form elements even while disabling phone context menu */
html.palmtop-mode input:not([type='checkbox']),
html.palmtop-mode textarea,
html.palmtop-mode [contenteditable='true'] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
/* File dialog on mobile: filename input and file type dropdown are a bit shorter vertically */
html.palmtop-mode #fd-name,
html.palmtop-mode .file-dialog-select-wrap select {
  min-height: 28px;
  font-size: 13px;
  padding: 2px 4px;
  box-sizing: border-box;
}
/* File dialog "Files of type" dropdown: custom arrow.
   - Arrow icon itself kept smaller (smaller background-size).
   - Arrow button area made a little wider.
   - Uses the shorter height of the dropdown. */
html.palmtop-mode .file-dialog-select-wrap {
  position: relative;
}
html.palmtop-mode .file-dialog-select-wrap select {
  padding-right: 26px;
  width: 100%;
}
html.palmtop-mode .file-dialog-select-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 22px; /* a little wider button area */
  z-index: 1;
  pointer-events: none;
  background-color: var(--os-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpolygon points='0,0 7,0 3.5,4' fill='%23000000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px 4px; /* keep the actual arrow icon smaller */
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}
/* File dialog field spacing on mobile:
   - smaller gap between "File name:" / "Files of type:" labels and the inputs/dropdown
   - larger gap between the fields and the right-side buttons */
html.palmtop-mode .file-name-row label,
html.palmtop-mode .file-type-row label {
  margin-right: 2px !important; /* smaller space after label */
  min-width: 60px !important; /* slightly tighter label column */
}
html.palmtop-mode .file-name-row button,
html.palmtop-mode .file-type-row button {
  margin-left: 8px !important; /* bigger gap before the Open/Save and Cancel buttons */
}
/* File dialog list on mobile: bigger icons and text */
html.palmtop-mode .look-in-row {
  display: none;
}
html.palmtop-mode .file-list-item {
  padding: 4px 8px;
  gap: 8px;
  font-size: 14px;
}
html.palmtop-mode .file-list-icon {
  width: 20px !important;
  height: 20px !important;
}
/* WordPad dropdowns on mobile: match file dialog dropdown button style */
html.palmtop-mode .wordpad-select-wrap {
  position: relative;
  height: 28px;
  flex-shrink: 0;
}
html.palmtop-mode .wordpad-select-wrap select {
  min-height: 28px;
  height: 28px;
  font-size: 13px;
  padding: 2px 4px;
  box-sizing: border-box;
  padding-right: 26px;
  width: 100%;
}
html.palmtop-mode .wordpad-select-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 22px; /* a little wider button area, matching file dialog */
  z-index: 1;
  pointer-events: none;
  background-color: var(--os-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpolygon points='0,0 7,0 3.5,4' fill='%23000000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px 4px; /* keep the actual arrow icon smaller, matching file dialog */
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}
/* WordPad tool buttons on mobile: 1:1 aspect, match height of dropdown buttons */
html.palmtop-mode .wordpad-toolbar {
  min-height: 28px;
  align-items: center;
  padding: 0 4px;
  gap: 2px;
}
html.palmtop-mode .wordpad-toolbar button {
  height: 28px;
  min-height: 28px;
  width: 28px;
  min-width: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
html.palmtop-mode .wordpad-toolbar-icon {
  width: 18px;
  height: 18px;
}
/* Paint app mobile: left toolbox tool buttons must be 1:1 square for touch.
   Portrait: 2 columns. Landscape: 3 columns to fit vertically on shorter screen. */
html.palmtop-mode .paint-toolbox {
  flex: 0 0 auto;
  width: auto;
  display: grid;
  gap: 2px;
  padding: 2px 1px;
  border-right: 2px solid #808080;
  background: #c0c0c0;
  align-content: start;
}
html.palmtop-mode .paint-tool-btn,
html.palmtop-mode .paint-size-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  box-sizing: border-box;
}
html.palmtop-mode .paint-tool-icon {
  width: 18px;
  height: 18px;
}
html.palmtop-mode .paint-toolbox {
  grid-template-columns: 28px 28px;
}
html.palmtop-mode .paint-brush-sizes {
  grid-column: 1 / -1;
  display: grid;
  gap: 2px;
  padding: 3px 0 2px;
  border-top: 1px solid #808080;
  margin-top: 3px;
  grid-template-columns: 28px 28px;
}
html.palmtop-mode .paint-zoom-out-btn {
  grid-column: 1;
}
html.palmtop-mode .paint-zoom-in-btn {
  grid-column: 2;
}
/* Landscape: 3 columns of tools to fit the shorter vertical space */
html.palmtop-landscape .paint-toolbox {
  grid-template-columns: 28px 28px 28px;
}
html.palmtop-landscape .paint-brush-sizes {
  grid-template-columns: 28px 28px 28px;
}
html.palmtop-landscape .paint-zoom-out-btn {
  grid-column: 1;
}
html.palmtop-landscape .paint-zoom-in-btn {
  grid-column: 2;
}
/* Paint palette on mobile: bigger touch-friendly color swatches.
   Portrait: fewer per row (more rows) to fit narrow screen.
   Landscape: more per row to take advantage of width. */
html.palmtop-mode .paint-palette-bar {
  padding: 2px 4px;
  gap: 12px;
}
html.palmtop-mode .paint-color-indicator {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-left: 12px;
}
html.palmtop-portrait .paint-color-indicator {
  width: 32px;
  height: 32px;
  margin-left: 8px;
}
html.palmtop-mode .paint-color-bg,
html.palmtop-mode .paint-color-fg {
  width: 24px;
  height: 24px;
  border: 1px solid #000;
}
html.palmtop-portrait .paint-color-bg,
html.palmtop-portrait .paint-color-fg {
  width: 20px;
  height: 20px;
}
html.palmtop-mode .paint-colors {
  display: grid;
  gap: 2px;
}
html.palmtop-mode .paint-color-swatch {
  padding: 0;
  border: 1px solid #000;
  box-shadow: none;
  cursor: pointer;
}
html.palmtop-mode .paint-color-swatch.active {
  box-shadow:
    inset 0 0 0 2px #fff,
    inset 0 0 0 3px #000;
}
/* Portrait: 3 rows, using auto-fill columns so the first two rows fill up horizontally
   (as many swatches per row as the width allows), with remaining on the 3rd row. */
html.palmtop-portrait .paint-colors {
  flex: 1;
  min-width: 0;
  grid-template-columns: repeat(auto-fill, 22px);
  grid-template-rows: repeat(3, 22px);
}
html.palmtop-landscape .paint-palette-bar {
  position: relative;
}
html.palmtop-landscape .paint-color-indicator {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0; /* override the base margin-left */
  z-index: 1;
}
html.palmtop-landscape .paint-colors {
  grid-template-columns: repeat(14, 28px);
  grid-template-rows: repeat(2, 28px);
  margin-left: auto;
  margin-right: auto;
}
html.palmtop-portrait .paint-color-swatch {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
}
html.palmtop-landscape .paint-color-swatch {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
}
/* WordPad link insert modal on mobile: make text fields bigger to match file dialog text field */
html.palmtop-mode .wordpad-link-dialog-body input {
  min-height: 28px;
  font-size: 13px;
  padding: 2px 4px;
  box-sizing: border-box;
}
/* Also ensure the link dialog body grid accommodates the taller inputs on mobile */
html.palmtop-mode .wordpad-link-dialog-body {
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
}
html.palmtop-mode .wordpad-link-dialog-body label {
  font-size: 13px;
  min-width: 60px; /* match file dialog label column on mobile */
}
html.palmtop-mode button:active,
html.palmtop-mode .context-menu-item:active,
html.palmtop-mode .menu-bar-item:active,
html.palmtop-mode .desktop-icon:active,
html.palmtop-mode .explorer-list-row:active,
html.palmtop-mode .explorer-icon-item:active {
  transform: translate(1px, 1px);
  filter: brightness(0.92);
}
/* No press effect on cells for touch (long press to flag should not look like a click/reveal).
   Only short press (reveal) should feel like a press action via the reveal itself. */
html.palmtop-mode .minesweeper-cell:active {
  transform: none !important;
  filter: none !important;
}
html.palmtop-mode .desktop-icon {
  width: 72px;
  min-height: 64px;
  padding: 8px 4px;
  touch-action: manipulation;
}
html.palmtop-mode .desktop-icon-label {
  max-width: 72px;
}
html.palmtop-mode .taskbar-start-btn,
html.palmtop-mode .taskbar-window-btn,
html.palmtop-mode .taskbar-clock {
  min-height: var(--palmtop-touch-target);
}
html.palmtop-mode .taskbar-start-btn {
  padding: 4px 10px;
}
html.palmtop-mode .command-bar {
  min-height: 22px;
}
html.palmtop-mode .command-bar-title {
  padding: 0 8px;
}
html.palmtop-mode .command-bar-title-text {
  line-height: 16px;
}
html.palmtop-mode .command-bar .menu-bar-item {
  line-height: 18px;
  padding: 2px 6px 1px;
}
html.palmtop-mode .command-bar-tools {
  gap: 3px;
}
html.palmtop-mode .command-bar-tool-btn {
  line-height: 24px;
  min-width: var(--palmtop-touch-target);
  padding: 4px 9px;
}
html.palmtop-mode .command-bar-tool-btn--destructive {
  /* no extra margin so Delete and Properties appear right next to New Folder */
}
html.palmtop-mode .command-bar-close {
  flex-basis: var(--palmtop-touch-target);
  min-width: var(--palmtop-touch-target);
  width: var(--palmtop-touch-target);
}
html.palmtop-mode .explorer-toolbar {
  gap: 2px;
  padding: 2px 4px;
  min-height: 28px;
  align-items: center;
  border-bottom: none; /* command-bar already provides separator */
}
html.palmtop-mode .explorer-toolbar button {
  height: 28px;
  min-height: 28px;
  min-width: 28px;
  padding: 0 4px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
html.palmtop-mode .explorer-toolbar-destructive {
  /* no extra margin so Delete and Properties appear right next to New Folder */
}
/* Explorer address dropdown on mobile: same size as the font dropdown in wordpad */
html.palmtop-mode .explorer-address {
  min-height: 28px;
  align-items: center;
}
html.palmtop-mode .explorer-address-wrap {
  position: relative;
  height: 28px;
  flex-shrink: 0;
}
html.palmtop-mode .explorer-address-wrap select {
  min-height: 28px;
  height: 28px;
  font-size: 13px;
  padding: 2px 4px;
  box-sizing: border-box;
  padding-right: 26px;
  width: 100%;
}
html.palmtop-mode .explorer-address-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 22px; /* match wordpad font dropdown arrow button */
  z-index: 1;
  pointer-events: none;
  background-color: var(--os-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpolygon points='0,0 7,0 3.5,4' fill='%23000000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px 4px; /* smaller arrow icon to match wordpad */
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}
html.palmtop-mode .explorer-dialog-actions {
  display: flex;
  gap: 8px;
}
html.palmtop-mode .explorer-dialog-actions button:first-child {
  margin-right: 18px;
}
html.palmtop-mode {
  --os-taskbar-height: 36px;
  --palmtop-touch-target: 36px;
}
html.palmtop-mode .title-bar {
  min-height: 36px;
  padding: 3px 3px 3px 5px;
}
html.palmtop-mode .title-bar-text {
  font-size: 12px;
  gap: 5px;
}
html.palmtop-mode .title-bar-text img {
  width: 18px !important;
  height: 18px !important;
}
html.palmtop-mode .title-bar-controls {
  align-items: center;
  gap: 3px;
}
html.palmtop-mode .title-bar-controls button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  background-image: none !important;
  color: #000000;
  text-shadow: none;
}
html.palmtop-mode .title-bar-controls button:active {
  padding: 0;
}
html.palmtop-mode .title-bar-controls button::before {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  transform: translateY(-1px);
}
html.palmtop-mode .title-bar-controls button[aria-label='Minimize']::before {
  content: '_';
  font-size: 18px;
  transform: translateY(-6px);
}
html.palmtop-mode .title-bar-controls button[aria-label='Maximize']::before,
html.palmtop-mode .title-bar-controls button[aria-label='Restore']::before {
  content: '\25A1';
  font-size: 15px;
}
html.palmtop-mode .title-bar-controls button[aria-label='Close']::before {
  content: '\00D7';
  font-size: 20px;
  transform: translateY(-1px);
}
html.palmtop-mode .menu-bar-item,
html.palmtop-mode .menu-dropdown-item,
html.palmtop-mode .context-menu-item,
html.palmtop-mode .start-menu-item,
html.palmtop-mode .command-bar .menu-bar-item {
  font-size: 11px;
  line-height: 18px;
}
html.palmtop-mode .menu-bar-item,
html.palmtop-mode .command-bar .menu-bar-item {
  padding: 2px 8px 1px;
}
html.palmtop-mode .menu-dropdown-item,
html.palmtop-mode .context-menu-item {
  min-height: 34px;
  padding-top: 5px;
  padding-bottom: 5px;
}
html.palmtop-mode .start-menu {
  width: 230px;
}
html.palmtop-mode .start-menu-item {
  min-height: 38px;
  padding: 5px 12px;
}
html.palmtop-mode .start-menu-item:active {
  padding: 5px 12px;
}
html.palmtop-mode .taskbar {
  height: var(--os-taskbar-height);
  gap: 3px;
  padding: 3px;
}
html.palmtop-mode .taskbar-start-btn {
  min-width: 72px;
  min-height: 30px;
  padding: 4px 10px;
  font-size: 12px;
  gap: 5px;
}
html.palmtop-mode .taskbar-start-btn img {
  width: 18px;
  height: 18px;
}
html.palmtop-mode .taskbar-window-btn {
  min-width: 92px;
  max-width: 138px;
  min-height: 30px;
  padding: 4px 8px;
  font-size: 12px;
}
html.palmtop-mode .taskbar-window-btn img {
  width: 18px;
  height: 18px;
}
html.palmtop-mode .taskbar-clock {
  min-width: 68px;
  min-height: 30px;
  margin: 0 1px;
  padding: 0 4px;
  font-size: 12px;
}
html.palmtop-portrait .taskbar-window-btn {
  min-width: 76px;
  max-width: 104px;
}
html.palmtop-mode {
  --palmtop-scrollbar-size: 24px;
}
html.palmtop-mode ::-webkit-scrollbar-button:vertical {
  height: var(--palmtop-scrollbar-size);
  min-height: var(--palmtop-scrollbar-size);
}
html.palmtop-mode ::-webkit-scrollbar-button:horizontal {
  width: var(--palmtop-scrollbar-size);
  min-width: var(--palmtop-scrollbar-size);
}
html.palmtop-mode ::-webkit-scrollbar-thumb {
  min-height: 42px;
  min-width: 42px;
}
html.palmtop-mode {
  --os-taskbar-height: 42px;
  --palmtop-touch-target: 40px;
}
html.palmtop-mode .taskbar {
  height: var(--os-taskbar-height);
  min-height: var(--os-taskbar-height);
  padding: 4px;
}
html.palmtop-mode .taskbar-start-btn {
  min-width: 88px;
  min-height: 34px;
  padding: 5px 12px;
  font-size: 13px;
}
html.palmtop-mode .taskbar-start-btn.active,
html.palmtop-mode .taskbar-start-btn:active {
  padding-left: 13px;
  padding-top: 6px;
}
html.palmtop-mode .taskbar-start-btn img {
  width: 20px;
  height: 20px;
}
html.palmtop-mode .taskbar-window-btn {
  min-width: 112px;
  max-width: 160px;
  min-height: 34px;
  padding: 5px 9px;
  font-size: 13px;
}
html.palmtop-mode .taskbar-window-btn.active {
  padding-left: 10px;
  padding-top: 6px;
}
html.palmtop-mode .taskbar-window-btn img {
  width: 20px;
  height: 20px;
}
html.palmtop-mode .taskbar-clock {
  min-width: 82px;
  min-height: 34px;
  padding: 0 6px;
  font-size: 13px;
}
html.palmtop-mode .start-menu {
  width: 260px;
}
html.palmtop-mode .start-menu-sidebar {
  width: 34px;
}
html.palmtop-mode .start-menu-sidebar-text {
  font-size: 16px;
}
html.palmtop-mode .start-menu-items {
  margin-left: 34px;
}
html.palmtop-mode .start-menu-item {
  min-height: 44px;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 26px;
}
html.palmtop-mode .start-menu-item:active {
  padding: 6px 14px;
}
html.palmtop-mode .start-menu-submenu {
  min-width: 190px;
}
html.palmtop-portrait .taskbar-window-btn {
  min-width: 92px;
  max-width: 118px;
}
html.palmtop-mode .desktop-icon {
  width: 88px;
  min-height: 82px;
  padding: 9px 5px;
}
html.palmtop-mode .desktop-icon-image {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
html.palmtop-mode .desktop-icon-label {
  max-width: 86px;
  font-size: 12px;
  line-height: 14px;
}
html.palmtop-mode .shortcut-badge {
  width: 28px;
  height: 28px;
}
html.palmtop-mode .explorer-icon-grid {
  gap: 8px;
  padding: 8px;
}
html.palmtop-mode .explorer-icon-item {
  width: 94px;
  min-height: 78px;
  gap: 4px;
  padding: 8px 6px;
  font-size: 12px;
}
html.palmtop-mode .explorer-icon-item img {
  width: 40px !important;
  height: 40px !important;
}
html.palmtop-mode .explorer-icon-label {
  line-height: 14px;
}
html.palmtop-mode .explorer-icon-grid--small-icons .explorer-icon-item,
html.palmtop-mode .explorer-icon-grid--list .explorer-icon-item {
  min-width: 150px;
  max-width: 240px;
  min-height: 40px;
  padding: 5px 8px;
  gap: 8px;
  font-size: 12px;
}
html.palmtop-mode .explorer-icon-grid--small-icons .explorer-icon-item img,
html.palmtop-mode .explorer-icon-grid--list .explorer-icon-item img,
html.palmtop-mode .explorer-name-cell img,
html.palmtop-mode .explorer-tree button img {
  width: 24px !important;
  height: 24px !important;
}
html.palmtop-mode .explorer-list-row td {
  height: 38px;
  padding: 5px 8px;
  font-size: 12px;
}
html.palmtop-mode .explorer-name-cell {
  gap: 8px;
}
html.palmtop-mode .explorer-tree button {
  min-height: 38px;
  height: 38px;
  gap: 7px;
  padding: 4px 6px;
  font-size: 12px;
  line-height: 24px;
}
html.palmtop-mode .explorer-tree-label {
  line-height: 24px;
}
/* Shutdown alert (and similar small dialogs/alerts) should not be fullscreen
   in palmtop mode (see window policy). Make the message text a bit larger. */
html.palmtop-mode .shutdown-message {
  font-size: 14px;
  margin: 4px 0;
}
/* Shutdown dialog (and similar small non-fullscreen modals/alerts) must not scroll.
   Size the window (via manifest) big enough; keep content compact. */
html.palmtop-mode .shutdown-dialog-content {
  overflow: visible;
  box-sizing: border-box;
  padding: 10px !important;
  gap: 8px !important;
}
html.palmtop-mode .window-body .shutdown-dialog-content {
  /* Ensure parent body allows the compact content without forcing scroll */
  min-height: 0;
}
/* About modals: no internal scrollbars, compact enough to fit in default size */
html.palmtop-mode .about-dialog-content {
  overflow: visible;
  box-sizing: border-box;
  padding: 12px !important;
}
html.palmtop-mode .window-body .about-dialog-content {
  min-height: 0;
}
html.palmtop-mode .about-message {
  font-size: 14px;
}
html.palmtop-mode .explorer-tree details > summary::before {
  min-width: 14px;
  margin-right: 4px;
  font-size: 12px;
}
html.palmtop-portrait .desktop-icon {
  width: 80px;
}
html.palmtop-portrait .desktop-icon-label {
  max-width: 78px;
  font-size: 11px;
}
html.palmtop-mode ::-webkit-scrollbar-button:vertical:start:decrement,
html.palmtop-mode ::-webkit-scrollbar-button:vertical:end:increment,
html.palmtop-mode ::-webkit-scrollbar-button:horizontal:start:decrement,
html.palmtop-mode ::-webkit-scrollbar-button:horizontal:end:increment {
  display: block;
  background-color: var(--os-surface);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  border: 0;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
}
html.palmtop-mode ::-webkit-scrollbar-button:vertical:start:decrement,
html.palmtop-mode ::-webkit-scrollbar-button:vertical:end:increment {
  width: 24px;
  height: 24px;
}
html.palmtop-mode ::-webkit-scrollbar-button:horizontal:start:decrement,
html.palmtop-mode ::-webkit-scrollbar-button:horizontal:end:increment {
  width: 24px;
  height: 24px;
}
html.palmtop-mode ::-webkit-scrollbar-button:vertical:start:decrement {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 7 6 15h12z' fill='%23000'/%3E%3C/svg%3E");
}
html.palmtop-mode ::-webkit-scrollbar-button:vertical:end:increment {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 17 6-8H6z' fill='%23000'/%3E%3C/svg%3E");
}
html.palmtop-mode ::-webkit-scrollbar-button:horizontal:start:decrement {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7 12 8-6v12z' fill='%23000'/%3E%3C/svg%3E");
}
html.palmtop-mode ::-webkit-scrollbar-button:horizontal:end:increment {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m17 12-8 6V6z' fill='%23000'/%3E%3C/svg%3E");
}
html.palmtop-mode .palmtop-scrollbar-layer {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
}
html.palmtop-mode .palmtop-scrollbar {
  position: fixed;
  background: #dfdfdf;
  border: 1px solid var(--os-border-dark);
  box-shadow: inset 1px 1px #ffffff;
  pointer-events: auto;
  touch-action: none;
}
html.palmtop-mode .palmtop-scrollbar-button,
html.palmtop-mode .palmtop-scrollbar-thumb {
  position: absolute;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: var(--os-surface);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff,
    inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
  pointer-events: auto;
  touch-action: none;
}
html.palmtop-mode .palmtop-scrollbar--vertical .palmtop-scrollbar-button {
  left: 0;
  width: 24px;
  height: 24px;
}
html.palmtop-mode
  .palmtop-scrollbar--vertical
  .palmtop-scrollbar-button--decrement {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 7 6 15h12z' fill='%23000'/%3E%3C/svg%3E");
}
html.palmtop-mode
  .palmtop-scrollbar--vertical
  .palmtop-scrollbar-button--increment {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 17 6-8H6z' fill='%23000'/%3E%3C/svg%3E");
}
html.palmtop-mode .palmtop-scrollbar--horizontal .palmtop-scrollbar-button {
  top: 0;
  width: 24px;
  height: 24px;
}
html.palmtop-mode
  .palmtop-scrollbar--horizontal
  .palmtop-scrollbar-button--decrement {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7 12 8-6v12z' fill='%23000'/%3E%3C/svg%3E");
}
html.palmtop-mode
  .palmtop-scrollbar--horizontal
  .palmtop-scrollbar-button--increment {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m17 12-8 6V6z' fill='%23000'/%3E%3C/svg%3E");
}
html.palmtop-mode .palmtop-scrollbar-button:active {
  box-shadow:
    inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a,
    inset -2px -2px #dfdfdf,
    inset 2px 2px #808080;
}
.palmtop-shell .taskbar {
  height: 42px;
  min-height: 42px;
  padding: 4px;
}
.palmtop-shell .taskbar-start-btn {
  min-width: 88px;
  min-height: 34px;
  padding: 5px 12px;
  font-size: 13px;
  gap: 5px;
}
.palmtop-shell .taskbar-start-btn img {
  width: 20px;
  height: 20px;
}
.palmtop-shell .taskbar-window-btn {
  min-width: 112px;
  max-width: 160px;
  min-height: 34px;
  padding: 5px 9px;
  font-size: 13px;
}
.palmtop-shell--portrait .taskbar-window-btn {
  min-width: 92px;
  max-width: 118px;
}
.palmtop-shell .taskbar-clock {
  min-width: 82px;
  min-height: 34px;
  padding: 0 6px;
  font-size: 13px;
}
.palmtop-shell .desktop {
  bottom: 42px;
}
.palmtop-shell .desktop-icon {
  width: 88px;
  min-height: 82px;
  padding: 9px 5px;
}
.palmtop-shell--portrait .desktop-icon {
  width: 80px;
}
.palmtop-shell .desktop-icon-image {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.palmtop-shell .desktop-icon-label {
  max-width: 86px;
  font-size: 12px;
  line-height: 14px;
}
.palmtop-shell--portrait .desktop-icon-label {
  max-width: 78px;
  font-size: 11px;
}
.palmtop-shell .start-menu {
  width: 260px;
  bottom: 42px;
}
.palmtop-shell .start-menu-sidebar {
  width: 34px;
}
.palmtop-shell .start-menu-sidebar-text {
  font-size: 16px;
}
.palmtop-shell .start-menu-items {
  margin-left: 34px;
}
.palmtop-shell .start-menu-item {
  min-height: 44px;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 26px;
}
html.palmtop-mode .menu-bar {
  align-items: stretch;
}
html.palmtop-mode .menu-bar-item,
html.palmtop-mode .command-bar .menu-bar-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  line-height: 1;
}
html.palmtop-mode .command-bar .menu-bar-item {
  min-height: 22px;
}
html.palmtop-mode .menu-bar-item:active,
html.palmtop-mode .menu-dropdown-item:active,
html.palmtop-mode .context-menu-item:active,
html.palmtop-mode .start-menu-item:active,
html.palmtop-mode .command-bar .menu-bar-item:active {
  transform: none;
  filter: none;
}
html.palmtop-mode .desktop-icon:active,
html.palmtop-mode .explorer-icon-item:active,
.palmtop-shell .desktop-icon:active {
  transform: none;
  filter: none;
}
.desktop-icon.dragging,
html.palmtop-mode .desktop-icon.dragging {
  transform: none !important;
  filter: none;
}
html.palmtop-mode .desktop-icon-label,
.palmtop-shell .desktop-icon-label {
  font-size: 13px;
  line-height: 15px;
}
html.palmtop-portrait .desktop-icon-label,
.palmtop-shell--portrait .desktop-icon-label {
  font-size: 12px;
  line-height: 14px;
}
html.palmtop-mode .explorer-icon-item,
html.palmtop-mode .explorer-icon-grid--small-icons .explorer-icon-item,
html.palmtop-mode .explorer-icon-grid--list .explorer-icon-item {
  font-size: 13px;
}
html.palmtop-mode .explorer-icon-label {
  line-height: 15px;
}
