/* T2 assignment theme — automatically attached by the T2 theme workflow. */
:root {
  color-scheme: dark;
  --t2-bg: #080b16;
  --t2-surface: #111a2d;
  --t2-surface-raised: #182641;
  --t2-cyan: #55e8ff;
  --t2-purple: #b39aff;
  --t2-text: #eaf2ff;
  --t2-muted: #a8b8d2;
  --t2-border: #2c4264;
  --t2-input: #080f1e;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--t2-bg); }
body.t2-page {
  min-height: 100vh;
  overflow-wrap: anywhere;
  margin: 0;
  padding: clamp(18px, 4vw, 42px);
  color: var(--t2-text);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(85,232,255,.12), transparent 38rem),
    radial-gradient(ellipse at 92% 12%, rgba(179,154,255,.13), transparent 34rem),
    var(--t2-bg);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.t2-page > main,
body.t2-page > .container {
  width: min(100%, 1080px);
  margin: 0 auto;
}
body.t2-page h1,
body.t2-page h2,
body.t2-page h3,
body.t2-page h4 {
  color: var(--t2-cyan);
  line-height: 1.2;
  letter-spacing: -.025em;
}
body.t2-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
body.t2-page h2 { color: var(--t2-purple); font-size: clamp(1.25rem, 3vw, 1.7rem); }
body.t2-page p { max-width: 85ch; }
body.t2-page a { color: var(--t2-cyan); text-underline-offset: 3px; }
body.t2-page a:hover { color: #fff; }
body.t2-page img { max-width: 100%; height: auto; }
body.t2-page .panel,
body.t2-page .card,
body.t2-page fieldset,
body.t2-page section {
  border-color: var(--t2-border);
}
body.t2-page .panel,
body.t2-page .card {
  padding: clamp(14px, 2.5vw, 24px);
  margin: 1.2rem 0;
  border: 1px solid var(--t2-border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24,38,65,.94), rgba(17,26,45,.94));
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
}
body.t2-page button,
body.t2-page input[type="button"],
body.t2-page input[type="submit"],
body.t2-page input[type="reset"] {
  max-width: 100%;
  padding: .7rem 1rem;
  margin: .25rem;
  border: 1px solid var(--t2-cyan);
  border-radius: 10px;
  color: #06121d;
  background: var(--t2-cyan);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
body.t2-page button:hover,
body.t2-page input[type="button"]:hover,
body.t2-page input[type="submit"]:hover,
body.t2-page input[type="reset"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 5px 18px rgba(85,232,255,.18);
}
body.t2-page button:focus-visible,
body.t2-page a:focus-visible,
body.t2-page input:focus-visible,
body.t2-page textarea:focus-visible,
body.t2-page select:focus-visible {
  outline: 2px solid var(--t2-purple);
  outline-offset: 3px;
}
body.t2-page button.secondary,
body.t2-page .secondary {
  color: var(--t2-cyan);
  background: transparent;
}
body.t2-page input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
body.t2-page select,
body.t2-page textarea {
  width: auto;
  max-width: 100%;
  padding: .7rem .8rem;
  border: 1px solid #405a7d;
  border-radius: 9px;
  color: var(--t2-text);
  background: var(--t2-input);
  font: inherit;
}
body.t2-page textarea,
body.t2-page pre,
body.t2-page code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
body.t2-page textarea {
  display: block;
  width: 100%;
  max-width: 100%;
}
body.t2-page textarea,
body.t2-page pre {
  max-width: 100%;
  overflow-x: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
body.t2-page * {
  min-width: 0;
}
body.t2-page table {
  width: 100%;
  border-collapse: collapse;
  color: var(--t2-text);
  background: rgba(8,15,30,.8);
}
body.t2-page th,
body.t2-page td {
  padding: .65rem .8rem;
  border: 1px solid var(--t2-border);
  text-align: left;
}
body.t2-page th { color: var(--t2-cyan); background: var(--t2-surface-raised); }
body.t2-page pre {
  padding: 1rem;
  border: 1px solid var(--t2-border);
  border-radius: 12px;
  background: #070d19;
}
body.t2-page hr { border: 0; border-top: 1px solid var(--t2-border); }
body.t2-page .muted,
body.t2-page small { color: var(--t2-muted); }
/* Common HTML elements used in T2 examples and assignments. */
body.t2-page strong,
body.t2-page b { color: #fff; font-weight: 800; }
body.t2-page em,
body.t2-page i { color: var(--t2-purple); }
body.t2-page mark {
  padding: .08em .3em;
  border-radius: 4px;
  color: #111827;
  background: #ffe58a;
}
body.t2-page del,
body.t2-page s { color: var(--t2-muted); }
body.t2-page ins {
  color: #9fffc2;
  text-decoration-color: #9fffc2;
}
body.t2-page blockquote {
  margin: 1.2rem 0;
  padding: .8rem 1.2rem;
  border-left: 4px solid var(--t2-purple);
  border-radius: 0 10px 10px 0;
  color: var(--t2-muted);
  background: rgba(179,154,255,.08);
}
body.t2-page ul,
body.t2-page ol { padding-left: 1.6rem; }
body.t2-page li { padding-left: .2rem; margin: .25rem 0; }
body.t2-page li::marker { color: var(--t2-cyan); }
body.t2-page dl { display: grid; gap: .35rem; }
body.t2-page dt { color: var(--t2-cyan); font-weight: 750; }
body.t2-page dd { margin-left: 1.25rem; }
body.t2-page code,
body.t2-page kbd,
body.t2-page samp,
body.t2-page var {
  padding: .12em .35em;
  border: 1px solid var(--t2-border);
  border-radius: 5px;
  color: #b8f4ff;
  background: #070d19;
  overflow-wrap: anywhere;
}
body.t2-page kbd { box-shadow: 0 2px 0 var(--t2-border); }
body.t2-page figure { max-width: 100%; margin: 1.25rem 0; }
body.t2-page figcaption,
body.t2-page caption { color: var(--t2-muted); font-size: .9rem; }
body.t2-page img,
body.t2-page video,
body.t2-page canvas,
body.t2-page iframe,
body.t2-page embed,
body.t2-page object {
  max-width: 100%;
}
body.t2-page img,
body.t2-page video { height: auto; }
body.t2-page audio { max-width: 100%; }
body.t2-page iframe { border: 1px solid var(--t2-border); border-radius: 10px; }
body.t2-page label { color: var(--t2-muted); font-weight: 650; }
body.t2-page fieldset {
  min-width: 0;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid var(--t2-border);
  border-radius: 12px;
}
body.t2-page legend { padding: 0 .4rem; color: var(--t2-cyan); font-weight: 750; }
body.t2-page input[type="checkbox"],
body.t2-page input[type="radio"] { accent-color: var(--t2-cyan); }
body.t2-page input[type="range"],
body.t2-page progress,
body.t2-page meter { max-width: 100%; accent-color: var(--t2-cyan); }
body.t2-page details {
  padding: .8rem 1rem;
  margin: .8rem 0;
  border: 1px solid var(--t2-border);
  border-radius: 10px;
  background: rgba(17,26,45,.7);
}
body.t2-page summary { color: var(--t2-cyan); cursor: pointer; font-weight: 700; }
body.t2-page abbr[title] { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
body.t2-page sup,
body.t2-page sub { color: var(--t2-purple); }
body.t2-page time,
body.t2-page cite { color: var(--t2-muted); }
@media (max-width: 640px) {
  body.t2-page { padding: 16px 12px; }
  body.t2-page table { display: block; overflow-x: auto; }
  body.t2-page .buttons { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body.t2-page *, body.t2-page *::before, body.t2-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
