/* The appearance size scales text, controls, symbols and spacing together. */
html[data-ui-scale] body{font-size:calc(16px * var(--ui-scale))}
html[data-ui-scale] .page{padding:calc(22px * var(--ui-scale))}
html[data-ui-scale] .page.tasks-page,html[data-ui-scale] .page.calendar-page{padding:0}
html[data-ui-scale] .page .page-head{gap:calc(12px * var(--ui-scale))}
html[data-ui-scale] .page .page-head h1.caption{font-size:calc(32px * var(--ui-scale))}
html[data-ui-scale] .page-head .icon{width:calc(36px * var(--ui-scale));height:calc(36px * var(--ui-scale));padding:calc(7px * var(--ui-scale))}
html[data-ui-scale] .icon svg{width:calc(21px * var(--ui-scale));height:calc(21px * var(--ui-scale))}
html[data-ui-scale] .bar{gap:calc(8px * var(--ui-scale))}
html[data-ui-scale] .quiet{min-height:calc(36px * var(--ui-scale));padding:calc(7px * var(--ui-scale)) calc(12px * var(--ui-scale))}
html[data-ui-scale] input:not([type=checkbox]),html[data-ui-scale] select,html[data-ui-scale] textarea{padding:calc(9px * var(--ui-scale)) calc(11px * var(--ui-scale))}
html[data-ui-scale] .ref-search input{padding-left:calc(34px * var(--ui-scale));font-size:calc(13px * var(--ui-scale));height:auto;min-height:calc(40px * var(--ui-scale))}
html[data-ui-scale] .ref-project-search input{padding-left:calc(38px * var(--ui-scale));font-size:calc(15px * var(--ui-scale));height:auto;min-height:calc(40px * var(--ui-scale))}
html[data-ui-scale] .ref-board-search input{padding-left:calc(36px * var(--ui-scale))}
html[data-ui-scale] .ref-team-filters select{font-size:calc(13px * var(--ui-scale));height:auto;min-height:calc(40px * var(--ui-scale))}
html[data-ui-scale] .home{margin-top:calc(55px * var(--ui-scale))}
html[data-ui-scale] .home h1{font-size:calc(32px * var(--ui-scale))}
html[data-ui-scale] .home .intro{font-size:calc(16px * var(--ui-scale));margin-bottom:calc(32px * var(--ui-scale))}
html[data-ui-scale] .tiles{gap:calc(16px * var(--ui-scale))}
html[data-ui-scale] .tile{gap:calc(20px * var(--ui-scale));padding:calc(24px * var(--ui-scale));min-height:calc(130px * var(--ui-scale))}
html[data-ui-scale] .tile>svg:first-child{width:calc(42px * var(--ui-scale));height:calc(42px * var(--ui-scale))}
html[data-ui-scale] .tile strong{font-size:calc(19px * var(--ui-scale))}
html[data-ui-scale] .tile p{font-size:calc(15px * var(--ui-scale))}
html[data-ui-scale] .utilities{gap:calc(14px * var(--ui-scale));margin-top:calc(26px * var(--ui-scale))}
html[data-ui-scale] .utilities .icon{width:calc(48px * var(--ui-scale));height:calc(48px * var(--ui-scale))}
html[data-ui-scale] .ref-task{padding:calc(14px * var(--ui-scale))}
html[data-ui-scale] .ref-task strong,html[data-ui-scale] .ref-project-card h3{font-size:calc(18px * var(--ui-scale))}
html[data-ui-scale] .pill,html[data-ui-scale] .ref-project-task-row,html[data-ui-scale] .ref-project-status{font-size:calc(13px * var(--ui-scale))}
html[data-ui-scale] .ref-employee .count span{font-size:calc(12px * var(--ui-scale))}
html[data-ui-scale] .ref-employee .count b{font-size:calc(18px * var(--ui-scale))}
html[data-ui-scale] .ref-employee,html[data-ui-scale] .ref-project-card,html[data-ui-scale] .ref-thought{padding:calc(16px * var(--ui-scale))}
html[data-ui-scale] .ref-own-grid,html[data-ui-scale] .employee-columns,html[data-ui-scale] .project-list{gap:calc(12px * var(--ui-scale))}
html[data-ui-scale] .ref-project-task-row{gap:calc(8px * var(--ui-scale));padding:calc(10px * var(--ui-scale)) 0}
html[data-ui-scale] .phase2-stage-tools{gap:calc(6px * var(--ui-scale))}
html[data-ui-scale] dialog{padding:calc(22px * var(--ui-scale));font-size:calc(16px * var(--ui-scale))}
html[data-ui-scale] dialog h2{font-size:calc(20px * var(--ui-scale))}
html[data-ui-scale] dialog label{font-size:calc(14px * var(--ui-scale))}
html[data-ui-scale] .calendar-time-axis>span{font-size:clamp(11px,calc(12px * var(--ui-scale)),16px);padding:2px}
html[data-ui-scale] .calendar-time-slot .event strong{font-size:clamp(10px,calc(12px * var(--ui-scale) * var(--calendar-scale)),18px)}
html[data-ui-scale] .calendar-time-slot .event span{font-size:clamp(9px,calc(11px * var(--ui-scale) * var(--calendar-scale)),16px)}
@media(max-width:700px){
 html[data-ui-scale] .page{padding:calc(12px * var(--ui-scale))}
 html[data-ui-scale] .page.calendar-page{padding:0}
 html[data-ui-scale] .page .page-head h1.caption{font-size:calc(27px * var(--ui-scale))}
 html[data-ui-scale] .page-head .icon{width:calc(30px * var(--ui-scale));height:calc(30px * var(--ui-scale));padding:calc(5px * var(--ui-scale))}
 html[data-ui-scale] .home{margin-top:calc(24px * var(--ui-scale))}
 html[data-ui-scale] .home h1{font-size:calc(27px * var(--ui-scale))}
 html[data-ui-scale] .home .intro{margin-bottom:calc(22px * var(--ui-scale))}
 html[data-ui-scale] .tiles{gap:calc(12px * var(--ui-scale))}
 html[data-ui-scale] .tile{padding:calc(17px * var(--ui-scale));min-height:calc(98px * var(--ui-scale));gap:calc(16px * var(--ui-scale))}
 html[data-ui-scale] .tile>svg:first-child{width:calc(34px * var(--ui-scale));height:calc(34px * var(--ui-scale))}
 html[data-ui-scale] .tile strong{font-size:calc(17px * var(--ui-scale))}
 html[data-ui-scale] .tile p{font-size:calc(14px * var(--ui-scale))}
 html[data-ui-scale] .utilities{margin-top:calc(20px * var(--ui-scale));gap:calc(12px * var(--ui-scale))}
 html[data-ui-scale] .utilities .icon{width:calc(44px * var(--ui-scale));height:calc(44px * var(--ui-scale))}
 html[data-ui-scale] .ref-task,html[data-ui-scale] .ref-employee,html[data-ui-scale] .ref-project-card{padding:calc(14px * var(--ui-scale))}
 html[data-ui-scale] .ref-project-card h3{font-size:calc(18px * var(--ui-scale))}
 html[data-ui-scale] .ref-task strong{font-size:calc(17px * var(--ui-scale))}
 html[data-ui-scale=large] .page .page-head{flex-wrap:wrap}
 html[data-ui-scale=large] .page .page-head h1.caption{flex-basis:100%;white-space:nowrap}
 html[data-ui-scale=large] .page .page-head .global{margin-left:auto}
 html[data-ui-scale=large] .utilities{gap:calc(8px * var(--ui-scale))}
 html[data-ui-scale=large] .utilities .icon{width:calc(42px * var(--ui-scale));height:calc(42px * var(--ui-scale))}
 html[data-ui-scale=large] .ref-team-filters{flex-wrap:wrap}
 html[data-ui-scale=large] .ref-team-filters .ref-search,html[data-ui-scale=large] .ref-team-filters select{width:100%;flex-basis:100%}
 html[data-ui-scale=large] .ref-employee .stats{display:grid;grid-template-columns:1fr;gap:0}
 html[data-ui-scale=large] .ref-employee .count{display:flex;align-items:baseline;justify-content:space-between;min-width:0;padding:3px 0;border-right:0;border-bottom:1px solid var(--line)}
 html[data-ui-scale=large] .ref-employee .count:last-child{border-bottom:0}
 html[data-ui-scale=large] .ref-employee .count span{font-size:calc(12px * var(--ui-scale))}
}
