/* Refinements from the design review (apply to every look): calmer hero, clearer form spacing, bigger small text and touch targets. */

/* Overview: status first, the picture is decoration. */
html .dashboard-workspace .overview-hero { min-height: 230px; }
html .overview-hero .pagehead-art { width: min(36%, 330px); }
@media (max-width: 600px) {
  html .dashboard-workspace .overview-hero { min-height: 160px; }
  html .overview-art-motion { display: none; }
}
.pagehead-greeting { display: none; }

/* Fields: a label belongs to the input under it, so it sits close to it and further from the input above. */
input[type="text"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], select, .combo-box { min-height: 38px; }
.embed-layout .stack, .embed-section { gap: 20px; }
.embed-layout .field.wide { display: grid; gap: 4px; }
.embed-layout .field.wide > label { margin: 0; }
.embed-row { gap: 16px; }
.embed-field-card { gap: 10px; }

/* The toolbar: one height for buttons and pickers. */
.embed-tools { gap: 8px; }
.embed-tools .btn { min-height: 36px; }
.embed-tools .combo { width: 170px; }
.embed-tools .combo-box { min-height: 36px; padding-block: 0; flex-wrap: nowrap; }

/* Small text: readable. */
.hint, .field .hint, .embed-count { font-size: 13px; }
.pagehead-meta { font-size: 13px; }
.latency .axis { font-size: 12px; }

/* Touch: 44px targets on phones and tablets. */
@media (pointer: coarse) {
  .icon-btn { width: 44px; height: 44px; }
  .btn.sm, .task-card-actions :is(button, .btn) { min-width: 44px; min-height: 44px; }
  .task-card-actions { gap: 10px; }
  .tabnav a { min-height: 40px; }
}

/* A menu that continues beyond the edge says so. */
.tabnav.fade-end { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
@media (min-width: 901px) { html[data-ui="classic"] .tabnav.fade-end { -webkit-mask-image: none; mask-image: none; } }

/* The preview says what can be clicked. */
.pv-pick:not(.dc-field):hover::after { content: "✎"; position: absolute; top: 0; inset-inline-end: 0; padding: 0 5px; font-size: 12px; line-height: 18px; color: var(--on-accent); background: var(--accent-emphasis); border-radius: 4px; pointer-events: none; }
