/* Документы кооператива: окно «Блокнота» XP на ночном фоне. Без внешних шрифтов и запросов. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(120% 80% at 50% 0%, #1d2350 0%, #0b0d1c 60%, #06070f 100%) fixed;
  color: #1a1a1a; font: 15px/1.6 Tahoma, Verdana, "Segoe UI", sans-serif;
  padding: max(18px, env(safe-area-inset-top)) 12px max(24px, env(safe-area-inset-bottom));
}
.top { max-width: 860px; margin: 0 auto 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo { font: italic 900 30px/1 "Trebuchet MS", Arial Black, sans-serif; letter-spacing: 2px; text-decoration: none;
  background: linear-gradient(180deg, #fff 0%, #ffd9a8 45%, #ff7ad0 55%, #7a3cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 79, 195, .5)); }
.top small { color: #8ff1ff; font: 700 12px/1.2 ui-monospace, "Courier New", monospace; letter-spacing: .08em; }
.tabs { max-width: 860px; margin: 0 auto 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 7px 12px; border-radius: 6px 6px 0 0; border: 1px solid #3a4f9a; border-bottom: 0; background: linear-gradient(#2a3a78, #1a2450); color: #cfe0ff; font-size: 13px; text-decoration: none; }
.tabs a[aria-current="page"] { background: linear-gradient(#fdfcf6, #ece9d8); color: #000; font-weight: 700; }

.win { max-width: 860px; margin: 0 auto; border-radius: 9px 9px 4px 4px; overflow: hidden;
  box-shadow: 0 0 0 1px #001a66, 0 18px 60px rgba(0, 0, 0, .7), 0 0 40px rgba(70, 140, 255, .25); }
.win-title { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 10px; color: #fff; font: 700 14px/1 "Trebuchet MS", Tahoma, sans-serif; text-shadow: 1px 1px 0 #0a246a;
  background: linear-gradient(180deg, #3d95ff 0%, #0a5fd8 9%, #0055e5 50%, #0048c8 92%, #003ab0 100%); }
.win-title span { flex: 1; }
.win-title a, .win-title i { width: 22px; height: 22px; display: grid; place-items: center; font: 700 11px/1 Tahoma, sans-serif; font-style: normal; color: #fff; text-decoration: none;
  border-radius: 3px; border: 1px solid #fff; background: linear-gradient(180deg, #4d9bff, #1660e8); }
.win-title a.x { background: linear-gradient(180deg, #f08a6a, #d8401c); }
.menu { display: flex; gap: 14px; padding: 3px 10px; background: #ece9d8; border-bottom: 1px solid #aca899; font-size: 12px; color: #333; }
.menu u { text-decoration: none; } .menu u::first-letter { text-decoration: underline; }
.paper { background: #fffef8; border: 3px solid #0050c8; border-top: 0; padding: 22px clamp(14px, 4vw, 40px) 30px; }
h1 { margin: 0 0 4px; font: 700 24px/1.25 "Trebuchet MS", Tahoma, sans-serif; color: #0a246a; }
.ed { margin: 0 0 18px; color: #666; font-size: 13px; }
h2 { margin: 26px 0 8px; font: 700 17px/1.3 "Trebuchet MS", Tahoma, sans-serif; color: #0a246a; padding-bottom: 4px; border-bottom: 1px dashed #b8c4e0; }
p, li { margin: 0 0 8px; }
ul, ol { padding-left: 22px; margin: 0 0 10px; }
a { color: #0044cc; }
code { font: 13px ui-monospace, "Courier New", monospace; background: #eef1fa; padding: 1px 4px; border-radius: 3px; }
/* «По-простому» — жёлтая подсказка XP */
.tip { position: relative; margin: 6px 0 12px; padding: 9px 12px 9px 36px; background: #ffffe1; border: 1px solid #b59d4a; border-radius: 8px; font-size: 14px; color: #3a2a00; box-shadow: 2px 3px 0 rgba(0, 0, 0, .08); }
.tip::before { content: "💡"; position: absolute; left: 10px; top: 8px; }
.tip b:first-child { color: #7a4a00; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 7px 9px; border: 1px solid #c9cfe0; }
th { background: #e8ecf8; color: #0a246a; }
.tbl { overflow-x: auto; }
.todo { background: #ffe9e3; border: 1px dashed #d8401c; padding: 1px 6px; border-radius: 4px; color: #8a1f00; font-weight: 700; }
.status { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 4px 10px; background: #ece9d8; border: 3px solid #0050c8; border-top: 1px solid #aca899; font-size: 12px; color: #444; }
.back { display: inline-block; margin: 18px auto 0; }
.foot { max-width: 860px; margin: 14px auto 0; text-align: center; font: 12px ui-monospace, monospace; color: #7f8ab0; }
.foot a { color: #8ff1ff; }
@media (max-width: 520px) { body { font-size: 14px; } h1 { font-size: 20px; } .menu { display: none; } }
@media print { body { background: #fff; padding: 0; } .top, .tabs, .win-title, .menu, .status, .foot { display: none; } .paper { border: 0; } }
