@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/static/fonts/golos-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/static/fonts/golos-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/static/fonts/golos-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/static/fonts/golos-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Tiny5';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/tiny5-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Tiny5';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/tiny5-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Tiny5';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/tiny5-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ← имена выбрал я */
:root {
  --focus-bg: #dcdcdc;
  --focus-panel: #ffffff;
  --focus-line: #000000;
  --focus-ink: #000000;
  --focus-ink-2: #333333;
  --focus-ink-3: #666666;
  --focus-accent: #000000;
  --focus-accent-soft: #999999;
  --focus-on-accent: #ffffff;
  --content-width: 720px;
  --content-pad: 16px;
}

html {
  font-family: "Tiny5", sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

/* doc-text ← имя выбрал я */
.doc-text {
  font-family: "Golos Text", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  color: var(--focus-ink);
  background: var(--focus-bg);
}

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--content-pad);
  box-sizing: border-box;
}

header,
footer {
  padding: 16px max(16px, calc(50% - var(--content-width) / 2 + var(--content-pad)));
  box-sizing: border-box;
}

header {
  background: var(--focus-panel);
  border-bottom: 5px solid var(--focus-line);
}

header a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  font-size: 1.25rem;
}

footer {
  background: var(--focus-panel);
  border-top: 5px solid var(--focus-line);
  font-size: 0.875rem;
  color: var(--focus-ink-2);
  padding-bottom: 72px;
}

.support-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 12px 20px;
  border: 4px solid var(--focus-accent);
  border-radius: 0;
  background: var(--focus-accent);
  color: var(--focus-on-accent);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.875rem;
  box-shadow: 6px 6px 0 var(--focus-accent-soft);
}

input,
button,
select,
textarea {
  font-size: 1rem;
  font-family: inherit;
  min-height: 40px;
  box-sizing: border-box;
}

input,
select,
textarea {
  width: 100%;
  padding: 8px 12px;
  margin: 4px 0;
  border: 4px solid var(--focus-line);
  border-radius: 0;
  background: var(--focus-panel);
  color: var(--focus-ink);
}

button {
  padding: 8px 16px;
  border: 4px solid var(--focus-accent);
  border-radius: 0;
  background: var(--focus-accent);
  color: var(--focus-on-accent);
  cursor: pointer;
}

a {
  color: var(--focus-accent);
}

@media (max-width: 360px) {
  main {
    padding: 12px;
  }

  header,
  footer {
    padding: 12px;
  }

  footer {
    padding-bottom: 72px;
  }
}

/* окно главной ← имена выбрал я */
.window {
  width: 380px;
  max-width: 100%;
  margin: 48px auto 0;
  border: 5px solid var(--focus-line);
  box-shadow: 12px 12px 0 var(--focus-line);
  background: var(--focus-panel);
  border-radius: 0;
  box-sizing: border-box;
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: var(--focus-accent);
  color: var(--focus-on-accent);
  font-weight: bold;
}

.window-body {
  padding: 24px;
}

.window-desc {
  margin: 0 0 16px;
}

.window-tabs {
  display: flex;
  border: 4px solid var(--focus-line);
  margin: 0 0 16px;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  text-decoration: none;
  color: var(--focus-ink);
  background: var(--focus-panel);
  font-weight: bold;
}

.tab-active {
  background: var(--focus-accent);
  color: var(--focus-on-accent);
}

.window-form {
  margin: 0 0 16px;
}

.window-form .field {
  margin: 0 0 8px;
}

.window-form input {
  min-height: 44px;
  font-family: inherit;
}

.window-submit {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 4px solid var(--focus-accent);
  border-radius: 0;
  background: var(--focus-accent);
  color: var(--focus-on-accent);
  box-shadow: 8px 8px 0 var(--focus-accent-soft);
  font-weight: bold;
  cursor: pointer;
}

.window-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.window-link {
  border: 4px solid var(--focus-line);
  background: var(--focus-panel);
  color: var(--focus-ink);
  text-decoration: none;
  padding: 8px 12px;
  font-weight: bold;
}

.window-link:hover {
  background: var(--focus-accent);
  color: var(--focus-on-accent);
}

@media (max-width: 420px) {
  .window {
    width: calc(100% - 24px);
    margin: 48px auto 0;
    box-shadow: 6px 6px 0 var(--focus-line);
  }
}
