/* The kit's rules (host/docs/frontend.md, "Styling"). An island's element is
   named by its page, so its server HTML marks it: data-tehas-island lays it
   out as a block, data-tehas-island="contents" as its children. The rules
   hold before any script runs. */
@layer theme, base, kit, page;

@layer kit {
  [data-tehas-island] {
    display: block;
  }

  [data-tehas-island="contents"] {
    display: contents;
  }

  .tehas-empty {
    color: var(--text-quiet, GrayText);
  }

  .tehas-busy {
    color: var(--text-faint, GrayText);
    font-size: var(--type-small, smaller);
  }

  .tehas-busy[hidden] {
    display: none;
  }

  .tehas-failed {
    border-inline-start: 3px solid var(--bad, currentColor);
    padding-inline-start: 0.5em;
  }

  .tehas-ago {
    white-space: nowrap;
  }
}
