/* Chmod Calculator: checkbox grid and command output. */
.chm-table { table-layout: fixed; }
table.data.chm-table th, table.data.chm-table td { text-align: center; }
.chm-table thead th:first-child { width: 30%; }
.chm-table thead small { display: block; font-weight: 600; color: var(--muted); font-size: 0.75rem; }
table.data.chm-table tbody th { text-align: left; white-space: nowrap; }
.chm-table input[type='checkbox'] { width: 22px !important; height: 22px !important; cursor: pointer; }
table.data.chm-table td.num { font-family: var(--mono); font-weight: 800; font-size: 1.1rem; text-align: center; }
.chm-big { font-size: 1.15rem !important; letter-spacing: 0.04em; }
.chm-ls { font-family: var(--mono); font-size: clamp(1.5rem, 1.1rem + 2vw, 2.2rem) !important; letter-spacing: 0.04em; }
#chm-explain { font-weight: 500; line-height: 1.5; }
#chm-cmd, #chm-cmd2 { min-height: 0; }
#tool p.error-text { margin: 0; }
#tool p.error-text:empty { display: none; }
@media (max-width: 560px) { table.data.chm-table th, table.data.chm-table td { padding: 8px 4px; font-size: 0.84rem; } table.data.chm-table tbody th { padding-left: 10px; white-space: normal; } }

/* .tool-ui .mono loses to the shared input reset selector, so restate it with an ID. */
#tool input.mono { font-family: var(--mono); font-size: 0.95rem; }
