/* Desktop text scale and the space needed by larger controls. */
:root {
  --text-body: 15px;
  --text-secondary: 15px;
}
body, .app { font-size: var(--text-body); line-height: 1.6; }
.app { grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: 60px 1fr; }
.console-header { height: 60px; }
.console-brand { font-size: 19px; }
.console-location, .console-account, .console-breadcrumb { font-size: var(--text-secondary); }
.console-avatar { width: 34px; height: 34px; }
.side { top: 60px; height: calc(100vh - 60px); }
.brand, .nav-link { font-size: var(--text-body); }
.nav-label { font-size: var(--text-secondary); }
.nav-link { min-height: 46px; height: auto; padding: 8px 12px; }
.nav-text { min-width: 0; }
.badge { font-size: var(--text-body); min-width: 22px; height: 22px; }
.side-foot, .side-foot .shell-link, .side-foot #logout,
.side-foot .account-password { font-size: var(--text-secondary); }
.console-breadcrumb { min-height: 48px; height: auto; padding: 10px 0; }
h1 { font-size: 24px; }
.dialog h2, .login h1 { font-size: 26px; }
.card h3 { font-size: 20px; }
.field, .tab, .tab[class*="st-"], table, .pager,
input, select, textarea, .pick-btn, .pick-option, .multi-face,
.multi-menu, .btn, .linkish, .phone-link { font-size: var(--text-body); }
.sub, .meta, .fact > span:first-child, .tab .count,
.pill, .role { font-size: var(--text-secondary); }
th { font-size: var(--text-body); height: 50px; }
td { height: 64px; }
input, select, .pick-btn, .multi-face, .btn, .linkish { height: 44px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; flex: none; }
input[type="file"] { height: auto; min-height: 44px; }
textarea { min-height: 130px; line-height: 1.6; }
.pick-btn::after { top: 19px; }
.tab, .tab[class*="st-"] { height: 52px; }
.form { gap: 18px 16px; }
.dialog { width: min(860px, 100%); }
.password-form { width: min(620px, 100%); }
.password-form input:not([hidden]) { height: 44px; }
.list-toolbar .search { width: min(100%, 400px); max-width: 400px; }
.list-table { min-width: 1380px; }
.list-table.mine { min-width: 1720px; }
.list-table.all { min-width: 1660px; }
.list-table.sv { min-width: 1680px; }
.list-table .c-no { width: 68px; }
.list-table .c-project, .list-table.all .c-project { width: 280px; }
.list-table .c-client { width: 190px; }
.list-table .c-status { width: 120px; }
.list-table .c-role { width: 112px; }
.list-table .c-person { width: 120px; }
.list-table .c-assist { width: 190px; }
.list-table .c-time { width: 204px; }
.list-table .c-update-days { width: 172px; }
.list-table .c-ops, .list-table.all .c-ops { width: 180px; }
.list-table .c-source { width: 160px; }
.list-table .c-date { width: 140px; }
.list-table .c-progress { width: 240px; }
.ops .btn { white-space: nowrap; }
.attachment-name, .attachment-delete, .attachment-confirm p,
.error-notice, .date-trigger, .date-picker button,
.date-picker-heading, .date-grid-label, .date-time-row { font-size: var(--text-body); }
.attachment-name small, .date-weekday { font-size: var(--text-secondary); }
.attachment-confirm h2 { font-size: 24px; }
.date-trigger { min-height: 44px; }
.date-picker { width: 360px; }
.date-day-grid button, .date-number-grid button { height: 40px; }
.date-picker-heading button, .date-picker-nav > button { font-size: 24px; width: 32px; height: 32px; }
.error-notice-symbol { width: 24px; height: 24px; }
.nav-collapsed { grid-template-columns: 64px minmax(0, 1fr); }
@media (max-width: 900px) {
  .app { grid-template-columns: 212px minmax(0, 1fr); }
  .console-location, .console-divider { display: none; }
  .nav-collapsed { grid-template-columns: 64px minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .app { grid-template-columns: 64px minmax(0, 1fr); }
  .console-brand { font-size: 15px; }
  .side .nav-link { min-height: 46px; height: auto; }
  .list-toolbar .search { width: 100%; max-width: none; }
  .dialog { padding: 16px; }
}
