/* v1.6 design tokens and responsive layer. All financial state stays in the existing application. */
:root {
  --ws-bg: var(--paper-1);
  --ws-ink: var(--ink-0);
  --ws-muted: var(--ink-3);
  --ws-border: var(--rule-1);
  --ws-accent: var(--accent);
  --ws-side: var(--ink-0);
  --ws-radius: 14px;
  --ws-shadow: 0 1px 2px #0e122008;
  --hub-text: 16px;
  color: var(--ws-ink);
  background: var(--ws-bg);
  font-family: var(--font-ui);
  font-optical-sizing: auto;
}
body {
  background: var(--ws-bg);
  line-height: 1.5;
  color: var(--ws-ink);
  font-size: var(--hub-text);
  overflow-x: hidden;
}
.app {
  min-height: 100dvh;
  align-items: stretch;
}
.side {
  background: var(--ws-side);
  width: 236px;
  min-width: 236px;
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100dvh;
  position: sticky;
  top: 0;
  overflow: auto;
}
.brand {
  font-size: 1.4375rem;
  letter-spacing: -0.045em;
  padding: 0 10px;
}
.tagline {
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  padding: 0 10px;
  margin: 3px 0 26px;
  color: var(--rule-2);
}
.nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.nav button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  min-height: 43px;
  padding: 10px 12px;
  font-size: 0.9375rem;
  font-weight: 550;
  border-radius: 9px;
  color: var(--rule-1);
}
.nav button.active {
  color: #fff;
  background: var(--ink-2);
}
.nav button:hover {
  background: var(--ink-1);
  color: #fff;
}
.navUtility {
  margin-top: auto;
  border-top: 1px solid #ffffff20;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hubIcon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.sidenote {
  position: static !important;
  padding: 14px 10px 0 !important;
  color: var(--ink-3) !important;
  font-size: 0.9375rem !important;
  margin: 0 !important;
}
.sidenote span {
  float: right;
  color: var(--ink-3);
}
.main {
  width: 100%;
  max-width: var(--hub-max);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 46px);
  min-width: 0;
  flex: 1;
}
.top {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.top h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 730;
}
.headerTools {
  gap: 10px;
}
.headerTools .pill {
  font-size: 0.9375rem;
  padding: 7px 11px;
}
.headerTools #hubHelp {
  width: 42px;
  height: 42px;
  font-size: 1.125rem !important;
  border-radius: 50%;
}
.profileButton {
  width: 44px;
  height: 44px;
}
.card {
  border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  box-shadow: var(--ws-shadow);
  padding: clamp(16px, 2vw, 25px);
  min-width: 0;
}
.card h2,
.dashSectionTitle h2 {
  font-size: 1.3125rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 15px;
}
.card .row h2 {
  margin: 0;
}
.card h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.muted,
.quietLabel {
  color: var(--ws-muted);
  font-size: 0.9375rem;
}
.muted.small,
.small,
.mini,
.footnote {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ws-muted);
}
.section {
  margin-top: 18px;
}
.field label,
.strong {
  font-size: 0.9375rem;
  font-weight: 620;
  color: var(--ws-ink);
}
.field {
  min-width: 0;
}
.fields {
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.btn,
.btn.sm {
  font-size: 0.9375rem;
  font-weight: 620;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 9px;
  white-space: normal;
  line-height: 1.25;
}
.btn:not(.light):not(.ghost):not(.danger):not(.dangerPrimary) {
  background: var(--accent-fill);
  color: #fff;
}
.btn.light {
  background: var(--paper-0);
  border: 1px solid var(--rule-2);
  color: var(--ink-2);
}
.btn.ghost {
  color: var(--accent-strong);
}
.btn:hover:not(:disabled) {
  filter: brightness(0.96);
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
input:not([type='checkbox']):not([type='file']),
select,
textarea {
  min-height: 44px;
  border: 1px solid var(--rule-2);
  font-size: 0.9375rem;
  border-radius: 9px;
  color: var(--ws-ink);
}
.row > .grow {
  min-width: 0;
  flex: 1 1 180px;
}
.row > select {
  flex: 0 1 240px;
  min-width: 160px;
  max-width: 100%;
  width: auto;
}
.row {
  gap: 12px;
  flex-wrap: wrap;
}
.dashIntro {
  padding: 0;
  margin-bottom: 16px;
}
.dashActions select {
  font-size: 0.9375rem;
}
.dashMetrics {
  gap: 16px;
}
.dashMetric {
  min-height: 124px;
}
.dashKpiNumber,
.kpiNum {
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 730;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.dashMainGrid {
  gap: 16px;
}
.dashAttention {
  margin: 10px 0 0;
  gap: 10px;
}
.dashAttention > span {
  background: var(--paper-1);
  padding: 14px;
}
.dashAttention .dashKpiNumber {
  font-size: 1.5625rem;
}
.dashAttention .muted.small {
  font-size: 0.9375rem;
}
.empty {
  color: var(--ink-3);
  font-size: 0.9375rem;
  padding: 22px 12px;
}
.workspaceToolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.workspaceToolbar .quietLabel {
  margin-right: auto;
}
.helpMark {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--rule-2);
  background: var(--paper-0);
  border-radius: 50%;
  color: var(--ink-3);
  font-weight: 700;
  font-size: 0.9375rem;
  vertical-align: middle;
  margin-left: 6px;
  cursor: pointer;
}
.helpMark:hover {
  background: var(--paper-2);
}
.countBadge {
  font-size: 0.9375rem;
  border-radius: 8px;
  padding: 2px 8px;
  background: var(--paper-2);
  color: var(--ink-2);
  vertical-align: middle;
}
.tableScroll {
  overflow: auto;
  max-width: 100%;
  margin-top: 14px;
}
.dataTable {
  min-width: 820px;
  font-size: 0.9375rem;
  table-layout: auto;
}
.dataTable th {
  font-size: 0.9375rem;
  font-weight: 650;
  text-align: left;
  background: var(--paper-1);
  color: var(--ink-2);
  white-space: nowrap;
}
.dataTable th,
.dataTable td {
  padding: 12px 10px;
  vertical-align: top;
}
.dataTable td:nth-child(2) {
  min-width: 190px;
  max-width: 320px;
  overflow-wrap: anywhere;
}
.dataTable td:nth-child(6) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dataTable td:last-child {
  min-width: 100px;
}
.txNotes {
  font-size: 0.9375rem;
  color: var(--ws-muted);
  margin-top: 6px;
}
.txNotes summary {
  cursor: pointer;
}
.txNotes div {
  max-width: 280px;
  overflow-wrap: anywhere;
}
.txState {
  font-size: 0.9375rem;
  margin-top: 5px;
  font-weight: 600;
}
.txState.pending {
  color: var(--warn);
}
.txState.verified {
  color: var(--ok);
}
.folderCard,
.folderChild {
  border-radius: 12px;
}
.folderFile {
  padding: 14px;
}
.cdDrop {
  min-height: 190px;
  gap: 10px;
  background: var(--paper-1);
}
.cdDropIcon {
  font-size: 2.1875rem;
}
.cdDrop.cdFileReady {
  border-color: var(--ok);
  background: var(--ok-soft);
}
.cdFileReady .cdDropIcon,
.uploadStatusIcon {
  animation: hubCheckIn 0.35s cubic-bezier(0.18, 0.75, 0.35, 1.3) both;
}
.cdFileReady .cdDropIcon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ok-solid);
  color: white;
  font-size: 1.9375rem;
}
.cdChosen {
  font-size: 0.9375rem;
}
.uploadStatus {
  border-radius: 12px;
  padding: 15px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.documentFileBar {
  font-size: 0.9375rem;
}
.documentReviewIntro,
.financialReview,
.aiDestination,
.hubActionNotice {
  border-radius: 12px;
}
.warningCurrency {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--warn);
  background: var(--warn-soft);
  padding: 12px;
  border-radius: 8px;
}
.workspaceDialog,
.hubDialog {
  color: var(--ws-ink);
  border: 1px solid var(--ws-border);
  border-radius: 20px;
  box-shadow: 0 24px 80px #0e122040;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: var(--paper-0);
}
.workspaceDialog {
  width: min(500px, calc(100vw - 32px));
  padding: 26px;
  position: fixed;
}
.workspaceDialog::backdrop,
.hubDialog::backdrop {
  background: #0e1220a0;
  backdrop-filter: blur(2px);
}
.workspaceDialog[open] {
  animation: hubDialogIn 0.16s ease-out;
}
.dialogMark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--paper-2);
  color: var(--accent-strong);
  border-radius: 13px;
  margin-bottom: 17px;
}
.dialogMark.danger {
  background: var(--bad-soft);
  color: var(--bad);
}
.dialogMark .hubIcon {
  width: 24px;
  height: 24px;
}
.dialogClose {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--ink-3);
  border: 0;
  border-radius: 10px;
}
.dialogClose:hover {
  background: var(--paper-2);
}
.workspaceDialog h2 {
  font-size: 1.4375rem;
  font-weight: 730;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 36px 12px 0;
}
.dialogBody {
  white-space: pre-line;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.dialogItem {
  background: var(--paper-1);
  border-radius: 10px;
  padding: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.typedLabel {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.typedLabel input {
  display: block;
  width: 100%;
  margin: 7px 0;
}
.workspaceDialogActions {
  border-top: 1px solid var(--paper-2);
  padding-top: 18px;
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.btn.dangerPrimary {
  background: var(--bad-solid);
  color: #fff;
  border: 1px solid var(--bad);
}
.helpTopics details {
  border-top: 1px solid var(--paper-2);
  padding: 12px 0;
}
.helpTopics summary {
  font-size: 0.9375rem;
  font-weight: 650;
  cursor: pointer;
}
.helpTopics p {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 8px 0 0;
}
.hubError {
  font-size: 0.9375rem;
}
.toast {
  font-size: 0.9375rem;
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 12px;
}
.authCard {
  border-radius: 20px;
}
.authCard p,
.authCard label,
.authLink {
  font-size: 0.9375rem;
}
.authPrimary {
  min-height: 48px;
  font-size: 0.9375rem;
}
.authCard input {
  font-size: 1rem;
}
[hidden] {
  display: none !important;
}
@keyframes hubCheckIn {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes hubDialogIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 1100px) {
  .side {
    width: 208px;
    min-width: 208px;
  }
  .main {
    padding: 24px;
  }
  .dashMainGrid {
    grid-template-columns: 1fr;
  }
  .dashAttention {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .side {
    display: none;
  }
  .main {
    padding: 20px 14px 100px;
  }
  .top {
    margin-bottom: 20px;
  }
  .mobileNav {
    display: flex !important;
    overflow: auto;
    justify-content: flex-start;
    gap: 4px;
    background: var(--ink-0);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom));
    z-index: 50;
  }
  .mobileNav button {
    flex: 0 0 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9375rem;
    min-height: 58px;
    color: var(--paper-2);
    white-space: normal;
  }
  .mobileNav .hubIcon {
    width: 22px;
    height: 22px;
  }
  .fields,
  .two,
  .columns,
  .dashMetrics,
  .dashProjects {
    grid-template-columns: 1fr;
  }
  .dashAttention {
    grid-template-columns: 1fr;
  }
  .dashMetric {
    min-height: 105px;
  }
  .card {
    padding: 17px;
  }
  .row > select {
    flex: 1 1 160px;
  }
  .folderFile .folderMove {
    max-width: 100% !important;
  }
  .workspaceDialog {
    padding: 22px;
  }
  .headerTools .pill {
    font-size: 0.9375rem;
  }
  .headerTools {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.dashActions select {
  width: auto;
  min-width: 180px;
}
.dashActions {
  flex-wrap: nowrap;
}
.aiWorking {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 10px;
}
.aiWorking::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid var(--accent-mid);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: hubSpin 0.8s linear infinite;
}
@keyframes hubSpin {
  to {
    transform: rotate(360deg);
  }
}
.folderMore,
.fileMore {
  position: relative;
}
.folderMore > summary,
.fileMore > summary {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.folderMorePanel,
.fileMorePanel {
  z-index: 20;
}
.folderMorePanel .btn,
.fileMorePanel .btn {
  color: var(--bad);
}
body[data-ui-size='large'] .nav button,
body[data-ui-size='large'] .btn,
body[data-ui-size='large'] .muted,
body[data-ui-size='large'] .field label {
  font-size: 1rem;
}
body[data-ui-size='large'] .small,
body[data-ui-size='large'] .muted.small,
body[data-ui-size='large'] .dataTable {
  font-size: 0.9375rem;
}
body[data-ui-size='large'] input:not([type='checkbox']):not([type='file']),
body[data-ui-size='large'] select,
body[data-ui-size='large'] textarea {
  font-size: 1.0625rem;
}
@media (max-width: 760px) {
  .dashActions {
    flex-wrap: wrap;
  }
  .dashActions select {
    width: auto;
    max-width: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aiWorking::before {
    animation: none;
  }
}
/* 1.6.1: Anomak spacing, responsive reading scale and quiet creation controls. */
:root {
  --ws-bg: var(--paper-1);
  --ws-radius: 15px;
  --ws-accent: var(--accent);
}
body[data-ui-size='normal'] {
  --hub-text: 15px;
}
body[data-ui-size='comfortable'] {
  --hub-text: 17px;
}
body[data-ui-size='large'] {
  --hub-text: 19px;
}
.main {
  max-width: var(--hub-max);
  padding: clamp(20px, 2.2vw, 38px);
}
.side {
  width: 252px;
  min-width: 252px;
}
.brand {
  font-size: 1.5625rem;
}
.nav button {
  font-size: 1rem;
  min-height: 47px;
}
.nav .hubIcon {
  width: 23px;
  height: 23px;
}
.tagline {
  font-size: 0.9375rem;
}
.top {
  margin-bottom: 22px;
}
.top h1 {
  font-size: 2rem;
}
.card h2,
.dashSectionTitle h2 {
  font-size: 1.4375rem;
}
.muted,
.quietLabel,
.field label,
.strong {
  font-size: 1rem;
}
.small,
.muted.small,
.mini,
.footnote {
  font-size: 0.9375rem;
}
.btn,
.btn.sm {
  font-size: 0.9375rem;
  min-height: 42px;
}
.field input,
.field select,
.field textarea {
  font-size: 1rem;
}
.dashMetric {
  min-height: 112px;
  padding: 19px 22px;
}
.dashKpiNumber,
.kpiNum {
  font-size: 2.1875rem;
}
.dashMetric .btn {
  min-height: 32px;
  padding: 4px 0;
}
.dashMetrics {
  gap: 12px;
}
.dashMainGrid {
  gap: 14px;
}
.dashAttention > span {
  padding: 13px;
}
.dashAttention .dashKpiNumber {
  font-size: 1.875rem;
}
.dashAttention .muted.small {
  font-size: 0.9375rem;
}
.dashAmount,
.amountIn,
.metricIn .dashKpiNumber {
  color: var(--ok);
}
.dashExpense,
.amountOut,
.metricOut .dashKpiNumber {
  color: var(--bad);
}
.dataTable {
  font-size: 0.9375rem;
}
.dataTable th {
  font-size: 0.9375rem;
}
.dataTable td:nth-child(2) {
  min-width: 170px;
  max-width: 300px;
}
.txState,
.txNotes {
  font-size: 0.9375rem;
}
.empty {
  font-size: 1rem;
  padding: 20px;
}
.dashProjects {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.project {
  background: var(--paper-0);
  padding: 22px;
}
.project .strong {
  font-size: 1.1875rem;
}
.project .kpi {
  font-size: 0.9375rem;
}
.projectToolbar {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.projectToolbar .section {
  margin: 0;
}
.createPanel {
  margin-bottom: 16px;
}
.createPanel > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 10px;
  background: var(--accent-fill);
  color: #fff;
  padding: 10px 17px;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
}
.createPanel > summary::-webkit-details-marker {
  display: none;
}
.createPanel[open] > summary {
  background: var(--paper-2);
  color: var(--accent-strong);
}
.createPanel > summary .hubIcon {
  width: 20px;
  height: 20px;
}
.createPanel[open] > summary .hubIcon {
  transform: rotate(45deg);
}
.creationBody {
  margin-top: 12px !important;
}
.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.deadlineLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr);
  gap: 16px;
}
.deadlineLayout > div {
  min-width: 0;
}
.deadlineLayout .card:first-child {
  margin-top: 0;
}
.v12-deadline-line {
  padding: 14px 0;
}
.folderGrid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.folderCard {
  min-height: 108px;
  padding: 18px;
}
.folderCard b,
.folderChild b {
  font-size: 1.0625rem;
}
.folderChild {
  position: relative;
  padding: 15px 40px 15px 14px;
  min-height: 90px;
  min-width: 172px;
}
.folderChild small {
  font-size: 0.9375rem;
}
.folderMore {
  position: absolute;
  right: 5px;
  top: 5px;
}
.folderMore > summary,
.fileMore > summary {
  border: 0;
  background: transparent;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 8px;
}
.folderMore > summary:hover,
.fileMore > summary:hover {
  background: var(--paper-2);
}
.folderMorePanel,
.fileMorePanel {
  min-width: 190px;
  top: 35px;
}
.folderMorePanel .btn:not(.dangerText) {
  color: var(--ink-2) !important;
}
.folderAdd {
  border-style: dashed;
  background: var(--paper-0);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.folderFile .muted {
  font-size: 0.9375rem;
}
.folderFile b {
  font-size: 1rem;
}
.editor161 .fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.editor161 .field span {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.hubSuccess {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: min(440px, calc(100vw - 30px));
  padding: 18px;
  background: var(--paper-0);
  border: 1px solid var(--ok-line);
  border-radius: 16px;
  box-shadow: 0 14px 50px #0e122026;
  animation: hubDialogIn 0.2s ease-out;
}
.successMark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--ok-soft);
  color: var(--ok);
  border-radius: 50%;
  animation: hubCheckIn 0.4s cubic-bezier(0.15, 0.8, 0.3, 1.2) both;
}
.successMark .hubIcon {
  width: 27px;
  height: 27px;
  stroke-dasharray: 24;
  animation: hubTick 0.45s 0.12s ease both;
}
.successDetail {
  font-size: 0.9375rem;
  color: var(--ink-3);
  margin: 3px 0 10px;
  overflow-wrap: anywhere;
}
.successClose {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  padding: 4px;
}
.hubSuccess .grow {
  min-width: 0;
  flex: 1;
}
@keyframes hubTick {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 1100px) {
  .side {
    width: 216px;
    min-width: 216px;
  }
  .nav button {
    font-size: 0.9375rem;
  }
  .deadlineLayout {
    grid-template-columns: 1fr;
  }
  .dashMetric {
    padding: 16px;
  }
  .dashKpiNumber {
    font-size: 1.9375rem;
  }
}
@media (max-width: 760px) {
  .main {
    padding: 18px 14px 100px;
  }
  .card h2 {
    font-size: 1.3125rem;
  }
  .hubSuccess {
    bottom: 94px;
    right: 15px;
  }
  .dashMetric {
    min-height: 100px;
  }
  .projectToolbar {
    display: flex;
  }
  .folderChild {
    min-width: 145px;
  }
  .folderMore > summary,
  .fileMore > summary {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .successMark,
  .successMark .hubIcon,
  .hubSuccess {
    animation: none !important;
  }
}
/* Readability follows the selected size; use the full workspace on large displays. */
body[data-ui-size='normal'] {
  --read: 14px;
  --nav-read: 14px;
}
body[data-ui-size='comfortable'] {
  --read: 16px;
  --nav-read: 16px;
}
body[data-ui-size='large'] {
  --read: 18px;
  --nav-read: 17px;
}
.nav button {
  font-size: 1rem;
}
.field label,
.muted,
.quietLabel,
.strong,
.btn,
.btn.sm,
.field input,
.field select,
.field textarea {
  font-size: 1rem;
}
.muted.small,
.small,
.dataTable {
  font-size: 0.9375rem;
}
.dashMainGrid .card {
  min-height: 0;
}
.dashSectionTitle {
  gap: 12px;
  flex-wrap: wrap;
}
.dashSectionTitle h2 .countBadge {
  font-size: 0.9375rem;
  font-weight: 550;
  white-space: nowrap;
  margin-left: 5px;
  letter-spacing: 0;
}
.dashAttention > span {
  min-width: 0;
}
.dashAttention .muted.small {
  overflow-wrap: normal;
}
.dashAttention .btn {
  padding-left: 0;
}
.dashProjects .dashProjectCard {
  max-width: none;
}
.folderMore > summary .hubIcon,
.fileMore > summary .hubIcon {
  width: 19px;
  height: 19px;
}
