:root {
  --control-wash: #c8e7f2;
  --control-orange: #f47721;
  --wash-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='%23c8e7f2' d='M10 7C15 4 24 4 30 7s8 8 7 15-5 12-13 13c-8 2-17-1-20-7C1 20 4 11 10 7Z'/%3E%3Cpath fill='%239dd5e9' opacity='.32' d='M9 10c4-4 12-5 14-2 1 3-7 3-10 8-3 4-3 8-6 7-2-2-2-9 2-13Z'/%3E%3C/svg%3E");
}

html.minimal-ui body :is(.view-day-arrow, .count-selection-controls button, .action-filter-more),
body .compact-activity-row .row-people-line > :is(.argh-row-messages, .row-url-icon, .row-attachments),
body .swipe-row > .swipe-front > .argh-row-messages {
  border: 0 !important;
  background-image: var(--wash-shape) !important;
  background-size: 34px 34px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
html.minimal-ui body .minimal-header .view-day-arrow {
  border-radius: 0 !important;
}
html.minimal-ui body .minimal-header .view-day-arrow:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 1px;
}
body .compact-activity-row .row-people-line > :is(.argh-row-messages, .row-url-icon, .row-attachments),
body .swipe-row > .swipe-front > .argh-row-messages {
  background-color: transparent !important;
  background-size: 30px 30px !important;
}

.minimal-menu > span {
  height: 3px;
  border-radius: 53% 33% 46% 41% / 56% 48% 61% 37%;
}
.minimal-menu > span:nth-child(1) { width: 20px; rotate: -3deg; }
.minimal-menu > span:nth-child(2) { width: 22px; rotate: 2deg; }
.minimal-menu > span:nth-child(3) { width: 19px; rotate: -1deg; }

html.minimal-ui body .minimal-dots button > span {
  border: 1.6px solid #68777e !important;
  background: var(--control-wash) !important;
  border-radius: 46% 55% 47% 52% / 54% 47% 53% 46% !important;
}
html.minimal-ui body .minimal-dots button:nth-child(even) > span {
  border-radius: 55% 47% 52% 45% / 44% 55% 45% 55% !important;
}
html.minimal-ui body .minimal-dots button[aria-pressed="true"] > span {
  background: var(--control-orange) !important;
  border-color: var(--control-orange) !important;
}

html.minimal-ui body :is(.action-filter-bar .status-count-filter, .neutral-count-control)::before {
  border-radius: 58% 40% 48% 39% / 45% 53% 36% 55% !important;
}
html.minimal-ui body :is(.action-filter-bar .status-count-filter, .neutral-count-control):nth-child(even)::before {
  border-radius: 42% 56% 38% 55% / 55% 37% 57% 42% !important;
}
html.minimal-ui body :is(.action-filter-bar .status-count-filter, .neutral-count-control)[aria-pressed="true"]::before {
  border-color: transparent !important;
}

html.minimal-ui body :is(.today-layout, #nowRows.today-layout, .today-layout .queue-group, .compact-activity-row .row-people-line) {
  background: var(--argh-list-gap-color) !important;
}
html.minimal-ui body #weatherRow {
  border-bottom-color: var(--argh-list-gap-color) !important;
}
html.minimal-ui body .swipe-row > .row-actions {
  background: var(--argh-swipe-background) !important;
}
html.minimal-ui body .swipe-row .row-actions button:not([aria-pressed="true"], [aria-checked="true"], .active, .complete-action, [data-anytime-priority]) {
  background-image: var(--wash-shape) !important;
  background-size: 36px 36px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
html.minimal-ui body .swipe-row .row-actions button::before {
  border-radius: 42% 56% 38% 55% / 55% 37% 57% 42% !important;
}

body :is(.row-more, .detail-status-control) .row-swipe-squiggle > path {
  fill: none;
  stroke: var(--status-color, #3289c7);
  stroke-width: 4.2;
  stroke-linecap: round;
}
@media (forced-colors: active) {
  html.minimal-ui body .minimal-dots button[aria-pressed="true"] > span {
    forced-color-adjust: none;
    background: Highlight !important;
    border-color: Highlight !important;
  }
  body :is(.row-more, .detail-status-control) .row-swipe-squiggle > path {
    fill: none;
    stroke: ButtonText;
  }
}

html.minimal-ui body .swipe-row .row-actions button[data-anytime-priority] {
  color: #fff !important;
}

.argh-help-icon {
  background: var(--control-wash);
  border-radius: 48% 52% 46% 54% / 52% 44% 56% 48%;
  color: #50565a;
}
.help-mode-button > span:has(.argh-help-icon) { border: 0; }
.help-mode-button .argh-help-icon { width: 24px; height: 24px; }
@media (forced-colors: active) {
  .argh-help-icon { color: ButtonText; }
}

/* Header glyphs sit directly on the page; keep their hit areas transparent. */
html.minimal-ui body .minimal-header :is(.minimal-menu:not(.is-details-back),.view-matrix-toggle){background:transparent!important}
