/* A restrained first use of Contextual's cool and warm brand colors. */
:root{
  --brand-action:#08778d;
  --brand-action-hover:#075e73;
  --brand-link:#076f85;
  --brand-focus:#b8492e;
  --brand-selected:#e1f5f6;
}
main a:not(.button):not(.back-link){color:var(--brand-link)}
button:not(.secondary):not(.danger):not(.text-button):not(.google-button):not(.mobile-menu):not(.sidebar-close),
.button:not(.secondary){
  background:linear-gradient(180deg,#0e8098,var(--brand-action));
  border-color:#ffffff9c;
  color:#fff;
  box-shadow:0 4px 13px #08778d2e,inset 0 1px 0 #ffffff65;
}
button:not(.secondary):not(.danger):not(.text-button):not(.google-button):not(.mobile-menu):not(.sidebar-close):hover,
.button:not(.secondary):hover{
  background:linear-gradient(180deg,#0e8098,var(--brand-action-hover));
  box-shadow:0 5px 18px #075e7340;
}
.sidebar .nav-link.active{
  background:var(--brand-selected);
  color:var(--brand-action-hover);
  border-color:#b9e7e9;
}
.page-tabs a.selected,.profile-tabs a[aria-current=page],.sheet-tabs>span{
  color:var(--brand-action-hover);
  border-color:var(--brand-action);
}
:focus-visible,.sheet-day>summary:focus-visible,.sheet-month>summary:focus-visible{
  outline:3px solid var(--brand-focus);
  outline-offset:3px;
}
:root[data-theme="dark"]{
  --brand-action:#0b7188;
  --brand-action-hover:#09586d;
  --brand-link:#8be4eb;
  --brand-focus:#ffb394;
  --brand-selected:#234750;
}
:root[data-theme="dark"] .sidebar .nav-link.active{
  background:var(--brand-selected);
  color:#c5faff;
  border-color:#3d7d89;
}
:root[data-theme="dark"] .page-tabs a.selected,
:root[data-theme="dark"] .profile-tabs a[aria-current=page],
:root[data-theme="dark"] .sheet-tabs>span{color:#c5faff;border-color:#62c9d6}
