/*
 * Stylesheet for the archived sketch.dev blog, served at /sketch/main.css
 * (on sketch.dev it was /dist/main.css).
 *
 * The original blog linked skaband's full Tailwind build here: a 62 KB,
 * single-line minified bundle for the whole sketch.dev app. Two parts of it
 * ever reached the blog's pages, and both are kept here, readable, with their
 * rules copied verbatim from the last bundle sketch.dev served (Wayback
 * Machine, February 2026):
 *
 *  1. Tailwind's preflight, the element reset. It is what makes a post's
 *     images and video fit the column (max-width: 100%) and puts its lists
 *     without bullets, as they always were. exed's copy of this file left it
 *     out, so there wide screenshots overflow the page.
 *  2. The nine utility classes the posts use. The code-block syntax tokens
 *     in the posts -- .op, .kw, .co, .c1, .sourceCode, ... -- and
 *     .whitespace-pre were never defined by that bundle, so they render
 *     unstyled; this file preserves that rather than "fixing" it.
 *
 * The templates carry their own layout and typography inline, after this
 * file, as they did on sketch.dev. The one addition is a dark version of
 * .bg-gray-100 at the end; the templates have the rest of the dark palette.
 */

/* 1. Tailwind preflight */

*,:before,:after {
  box-sizing:border-box;
  border-width:0;
  border-style:solid;
  border-color:#e5e7eb;
}

:before,:after {
  --tw-content: "";
}

html,:host {
  line-height:1.5;
  -webkit-text-size-adjust:100%;
  -moz-tab-size:4;
  tab-size:4;
  font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
  font-feature-settings:normal;
  font-variation-settings:normal;
  -webkit-tap-highlight-color:transparent;
}

body {
  margin:0;
  line-height:inherit;
}

hr {
  height:0;
  color:inherit;
  border-top-width:1px;
}

abbr:where([title]) {
  text-decoration:underline dotted;
}

h1,h2,h3,h4,h5,h6 {
  font-size:inherit;
  font-weight:inherit;
}

a {
  color:inherit;
  text-decoration:inherit;
}

b,strong {
  font-weight:bolder;
}

code,kbd,samp,pre {
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
  font-feature-settings:normal;
  font-variation-settings:normal;
  font-size:1em;
}

small {
  font-size:80%;
}

sub,sup {
  font-size:75%;
  line-height:0;
  position:relative;
  vertical-align:baseline;
}

sub {
  bottom:-.25em;
}

sup {
  top:-.5em;
}

table {
  text-indent:0;
  border-color:inherit;
  border-collapse:collapse;
}

button,input,optgroup,select,textarea {
  font-family:inherit;
  font-feature-settings:inherit;
  font-variation-settings:inherit;
  font-size:100%;
  font-weight:inherit;
  line-height:inherit;
  letter-spacing:inherit;
  color:inherit;
  margin:0;
  padding:0;
}

button,select {
  text-transform:none;
}

button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]) {
  -webkit-appearance:button;
  background-color:transparent;
  background-image:none;
}

:-moz-focusring {
  outline:auto;
}

:-moz-ui-invalid {
  box-shadow:none;
}

progress {
  vertical-align:baseline;
}

::-webkit-inner-spin-button,::-webkit-outer-spin-button {
  height:auto;
}

[type=search] {
  -webkit-appearance:textfield;
  outline-offset:-2px;
}

::-webkit-search-decoration {
  -webkit-appearance:none;
}

::-webkit-file-upload-button {
  -webkit-appearance:button;
  font:inherit;
}

summary {
  display:list-item;
}

blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre {
  margin:0;
}

fieldset {
  margin:0;
  padding:0;
}

legend {
  padding:0;
}

ol,ul,menu {
  list-style:none;
  margin:0;
  padding:0;
}

dialog {
  padding:0;
}

textarea {
  resize:vertical;
}

input::placeholder,textarea::placeholder {
  opacity:1;
  color:#9ca3af;
}

button,[role=button] {
  cursor:pointer;
}

:disabled {
  cursor:default;
}

img,svg,video,canvas,audio,iframe,embed,object {
  display:block;
  vertical-align:middle;
}

img,video {
  max-width:100%;
  height:auto;
}

[hidden]:where(:not([hidden=until-found])) {
  display:none;
}

/* 2. Utilities */

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.inline {
  display: inline;
}

.italic {
  font-style: italic;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

/* Dark mode (not in the original, which was light only). */
@media (prefers-color-scheme: dark) {
  .bg-gray-100 {
    background-color: #26272a;
  }
}
