/* Shared look of the ТЗ spec sheets (tz-a.html, tz-b.html), rendered to PNG by render.sh. */
:root { --ink: #14202b; --muted: #55636f; --line: #c9d3dc; --head: #eef3f7; --accent: #0a6a86; --warn: #9a2a14; --warn-bg: #fdf1ed; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #ffffff; }
body { width: 1240px; padding: 44px 52px 48px; color: var(--ink); font: 15.5px/1.45 "Noto Sans", "DejaVu Sans", sans-serif; }
header { border-bottom: 3px solid var(--accent); padding-bottom: 14px; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
h1 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; }
h1 span { color: var(--accent); }
header .tag { font-size: 14px; color: var(--muted); white-space: nowrap; }
h2 { font-size: 18px; margin: 22px 0 8px; display: flex; gap: 10px; align-items: baseline; }
h2 b { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 15px; }
p { margin: 0 0 4px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
table { width: 100%; border-collapse: collapse; margin-top: 4px; }
th, td { border: 1px solid var(--line); padding: 7px 11px; text-align: left; vertical-align: top; }
th { background: var(--head); font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
td.id { font-weight: 700; white-space: nowrap; color: var(--accent); width: 72px; }
td.num { font-weight: 700; text-align: center; width: 54px; color: var(--accent); }
code { font: 600 14px/1 "DejaVu Sans Mono", monospace; background: #f1f4f7; padding: 1px 5px; border-radius: 4px; }
.ban { margin-top: 10px; border-left: 5px solid var(--warn); background: var(--warn-bg); padding: 9px 14px; color: var(--warn); }
.ban b { color: var(--warn); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; background: #fafcfd; font-size: 14.5px; }
.opt { margin-top: 6px; border: 1px dashed var(--accent); border-radius: 10px; padding: 10px 14px; }
ul.bans { margin: 4px 0 0; padding-left: 20px; }
ul.bans li { margin: 2px 0; }
/* Phones (the sheets are linked from lesson 2.2). render.sh shoots at 1240px, so the PNG is unaffected. */
@media (max-width: 1100px) {
  body { width: auto; padding: 20px 16px 32px; font-size: 15px; overflow-wrap: anywhere; }
  header { flex-wrap: wrap; gap: 6px 16px; }
  header .tag { white-space: normal; }
  h1 { font-size: 24px; }
  .grid2 { grid-template-columns: 1fr; }
  th, td { padding: 6px 8px; }
  td.id { white-space: normal; width: auto; }
}
