/* App/win98/css/systools.css — the Phase 5 system tools: System Properties and
   Device Manager, Add New Hardware, Disk Defragmenter, Disk Cleanup, Scheduled
   Tasks, the Maintenance Wizard, the Registry Editor, System Information and its
   tools, Resource Meter and System Monitor. */

.st-bigico { width: 32px; height: 32px; flex: none; display: inline-block; }
.st-bigico svg, .st-bigico img { width: 32px; height: 32px; }
.st-smico { width: 16px; height: 16px; flex: none; display: inline-block; margin-right: 3px; }
.st-smico svg, .st-smico img { width: 16px; height: 16px; }
.st-devico { position: relative; width: 16px; height: 16px; flex: none; display: inline-block; margin-right: 3px; }
.st-devico svg, .st-devico img { width: 16px; height: 16px; }
.st-devico .st-mark { position: absolute; left: 0; top: 0; width: 16px; height: 16px; }
.st-row { display: flex; align-items: center; gap: 8px; margin: 3px 0; }
.st-row > b { font-weight: bold; }
.st-grid { gap: 3px 10px; margin: 4px 0; align-items: center; }
.st-status { padding: 4px; min-height: 46px; white-space: pre-line; }
.st-ind { margin-left: 16px; }

/* System Properties > General */
.st-general { display: flex; gap: 16px; padding: 12px 6px; }
.st-logo { width: 96px; height: 96px; flex: none; }
.st-logo svg, .st-logo img { width: 96px; height: 96px; image-rendering: pixelated; }
.st-gtext { line-height: 15px; }

/* Device Manager */
.st-tree { height: 230px; overflow: auto; margin: 4px 0; padding: 2px; }
.st-tree .bf-row { height: 17px; }
.st-tree:focus .bf-row.sel .bf-lab { outline: 1px dotted var(--sel-text); outline-offset: -1px; }
.st-dmbtns { display: flex; gap: 6px; }
.st-dmbtns .btn { min-width: 70px; }
.st-resradios { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; margin-bottom: 4px; }
.st-reslist { height: 220px; }
.st-reslist2 { height: 120px; }
.st-reshdr, .st-resrow, .listbox .opt.st-resrow { display: grid; grid-template-columns: 140px 1fr; gap: 4px; }
.st-reshdr span { background: var(--face); box-shadow: inset -1px -1px var(--dkshadow), inset 1px 1px var(--hilight); padding: 0 4px; }

/* wizards (Add New Hardware, Update Driver, Scheduled Task, Maintenance) */
.st-wiz { flex: 1; min-height: 0; }
.st-wizrow { display: flex; gap: 14px; flex: 1; min-height: 0; }
.st-wizart { width: 150px; flex: none; background: #008080; box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight); display: flex; align-items: center; justify-content: center; }
.st-wizart svg, .st-wizart img { width: 64px; height: 64px; image-rendering: pixelated; }
.st-wizbody { flex: 1; min-width: 0; overflow: auto; }
.st-wizbody p { margin: 0 0 9px; }
.st-days { display: grid; grid-template-columns: repeat(4, auto); gap: 2px 10px; margin: 6px 0; }
.st-ul { margin: 0 0 8px 18px; padding: 0; }

/* Scheduled Tasks folder */
.st-tasks .hdr, .st-tasks .item { grid-template-columns: minmax(150px, 1.4fr) minmax(150px, 1.6fr) 130px 130px 80px !important; }
#tasktray.paused { opacity: .6; }
#tasktray svg, #rmtray svg, #watsontray svg { width: 16px; height: 16px; }

/* Disk Defragmenter */
.df-copy { font-size: 11px; margin: 6px 0; color: var(--text); }
.df-small { padding: 8px 10px; }
.df-pct { margin: 4px 0 6px; }
.btns.center { justify-content: center; }
.df-detail { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 4px; gap: 4px; }
.df-mapbox { flex: 1; min-height: 0; background: #c0c0c0; box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight); padding: 2px; overflow-y: scroll; overflow-x: hidden; }
.df-map { display: block; image-rendering: pixelated; position: sticky; top: 0; }
.df-bottom { display: flex; gap: 10px; align-items: flex-end; }
.df-bstat { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.df-bprog { height: 16px; }
.df-bbtns { display: flex; gap: 6px; }
.df-sw { display: inline-block; width: 11px; height: 11px; border: 1px solid #000; flex: none; position: relative; }
.df-sw.dot::after { content: ""; position: absolute; left: 4px; top: 4px; width: 3px; height: 3px; background: #fff; }
.df-sw.x::after { content: "×"; position: absolute; left: 1px; top: -4px; color: #f00; font: bold 12px Arial; }
.df-legend .st-row { margin: 2px 0; }

/* Disk Cleanup */
.cm-list { height: 104px; margin: 2px 0 6px; }
.cm-row { display: flex; align-items: center; gap: 3px; }
.cm-row input { margin: 0 3px 0 0; }
.cm-lab { flex: 1; }
.cm-size { width: 80px; text-align: right; }
.cm-gain { display: flex; justify-content: space-between; margin: 4px 0; }
.cm-desc { min-height: 58px; }

/* Registry Editor and System Information: tree | list */
.re-main { display: flex; flex: 1; min-height: 0; }
.re-pane { overflow: auto; min-height: 0; padding: 1px; }
.re-right { flex: 1; min-width: 0; }
.re-split { width: 4px; cursor: col-resize; flex: none; }
.re-tree { min-width: max-content; }
.re-tree .bf-row { height: 17px; }
.re-list { padding: 0; }
.re-list .hdr, .re-list .item { grid-template-columns: minmax(150px, 1fr) 2fr !important; }
.re-hex { width: 100%; font: 12px "Courier New", monospace; }
.mi-right { padding: 4px; min-width: max-content; }
.mi-text { margin: 0; font: inherit; white-space: pre-wrap; tab-size: 4; }
.mi-table { border-collapse: collapse; }
.mi-table th { text-align: left; font-weight: normal; padding: 0 12px 2px 0; border-bottom: 1px solid var(--shadow); }
.mi-table td { padding: 0 12px 0 0; white-space: nowrap; }
.mi-what { min-height: 14px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-res .hdr, .sv-res .item { grid-template-columns: 130px 1fr 140px 80px !important; }

/* System Configuration Utility */
.mc-sel { margin-left: 22px; }
.mc-list { height: 210px; }
.mc-item { display: flex; gap: 6px; white-space: nowrap; }
.mc-name { width: 130px; flex: none; overflow: hidden; text-overflow: ellipsis; }
.mc-cmd { color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.mc-mono { font: 12px "Courier New", monospace; }
.mc-mono label { white-space: pre; }

/* Resource Meter */
.rm-row { margin: 3px 0 7px; }
.rm-bar { height: 14px; background: var(--window-bg); margin-top: 2px; }
.rm-fill { height: 100%; background: #008000; }

/* System Monitor */
.sm-grid { display: grid; gap: 2px; flex: 1; min-height: 0; background: var(--face); padding: 2px; }
.sm-cell { background: #fff; box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight); display: flex; flex-direction: column; padding: 3px; min-height: 0; }
.sm-scale { font-size: 10px; }
.sm-cv { width: 100%; flex: 1; min-height: 40px; }
.sm-num { font: bold 28px Arial; text-align: center; flex: 1; display: flex; align-items: center; justify-content: center; }
.sm-lab { font-size: 11px; text-align: center; }

/* Graphics > Hardware acceleration below Full: no animated window effects. */
.noaccel .win, .noaccel .menu { animation: none !important; transition: none !important; }
