/* WinRAR — тема «Архив с загрузками»: светлое окно архиватора, синий выделенный ряд, моноширинные размеры */
@import url("/site-assets/fonts.css");
:root {
  --bg: #EEF1F6; --surface: #FFFFFF; --surface-2: #F6F7FA; --surface-dark: #141A24;
  --border: #DDE2EA; --border-strong: #C3CBD8;
  --text: #141A24; --text-2: #334054; --muted: #5D6676;
  --accent: #1F5FD1; --accent-hover: #194FB0; --accent-soft: #E6EEFC; --accent-ink: #FFFFFF;
  --link: #1F5FD1; --ok: #1F8A4C; --ok-soft: #DDF3E6; --warn: #9A5B00; --warn-soft: #FFF2DB;
  --radius-sm: 7px; --radius-md: 10px; --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(20,30,60,.05), 0 8px 24px -12px rgba(20,40,90,.18);
  --font-sans: 'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}
body { background: radial-gradient(1200px 600px at 80% -10%, #CFDCF5 0%, rgba(207,220,245,0) 60%), radial-gradient(900px 500px at 0% 20%, #E4E0F3 0%, rgba(228,224,243,0) 60%), var(--bg); background-repeat: no-repeat; background-color: var(--bg); }
a { color: var(--link); }
.dl-fan-bar { background: #141A24; border-bottom: 0; color: #AAB3C2; }
.dl-fan-bar a { color: #AAB3C2; }
.dl-fan-inner::before { border-color: #4A5568; color: #AAB3C2; }
.dl-header { background: rgba(238, 241, 246, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(20,26,36,.06); }
.dl-brand { font-weight: 800; }
.dl-brand-mark { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(#7A5CD6 0 30%, #1F5FD1 30%); position: relative; }
.dl-brand-mark svg { display: none; }
.dl-brand-mark::before { content: ""; position: absolute; left: 12px; top: 10px; width: 6px; height: 11px; border-radius: 1px; background: #fff; }
.dl-brand-ver { font-family: var(--font-mono); font-weight: 500; }
.dl-nav a { color: var(--muted); font-weight: 600; }
.dl-nav a:hover, .dl-nav a.active { background: var(--accent-soft); color: var(--accent); }
.dl-btn, .dl-nav-cta { font-weight: 700; }
.dl-prose h2, .p3-h2 { font-weight: 800; letter-spacing: -.02em; }
.dl-prose th { background: var(--surface-2); }
.dl-prose code { font-family: var(--font-mono); font-size: .86em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; }
.dl-side-links a:hover { background: var(--accent-soft); color: var(--accent); }
.dl-footer { background: #141A24; border-top: 0; color: #8D97A8; }
.dl-footer a { color: #fff; }

/* Главная */
.wr-intro { max-width: 900px; text-align: center; padding-top: 28px; padding-bottom: 26px; }
.wr-intro h1 { font-size: clamp(2rem, 2.6vw + 1rem, 3.25rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.wr-intro p { font-size: 1.12rem; color: var(--muted); margin-top: 12px; line-height: 1.55; }
.wr-win { max-width: 1120px; margin: 0 auto; background: var(--surface); border-radius: 12px; border: 1px solid #CFD6E2; box-shadow: 0 2px 4px rgba(20,30,60,.05), 0 30px 70px -20px rgba(20,40,90,.35); overflow: hidden; }
.wr-tb { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 6px 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .85rem; }
.wr-tt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wr-ic { width: 18px; height: 18px; flex: none; border-radius: 4px; background: linear-gradient(135deg, #7A5CD6, #3E7BE6); }
.wr-ctl { margin-left: auto; display: flex; flex: none; }
.wr-ctl i { width: 42px; height: 32px; display: grid; place-items: center; color: var(--muted); font-style: normal; }
.wr-menu { display: flex; gap: 18px; padding: 6px 16px; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.wr-tools { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.wr-tool { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 74px; padding: 8px 6px; border-radius: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.wr-tool.on { background: var(--accent-soft); color: var(--accent); }
.wr-path { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: .85rem; border-bottom: 1px solid var(--border); color: var(--muted); }
.wr-path b { display: flex; align-items: center; flex: 1; min-height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font-mono); font-weight: 400; color: var(--text); font-size: .82rem; }
.wr-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.wr-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem; padding: 9px 14px; border-bottom: 1px solid var(--border); background: #FBFCFD; }
.wr-table td { padding: 10px 14px; border-bottom: 1px solid #EEF1F5; vertical-align: middle; }
.wr-n { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.wr-n > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.wr-n small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.wr-fi { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; font-size: .62rem; font-weight: 800; color: #fff; flex: none; }
.wr-mono { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); white-space: nowrap; }
.wr-vt { color: var(--ok); }
.wr-table tr.sel td { background: #D9E6FB; }
.wr-table tbody tr:hover td { background: #EEF3FC; }
.wr-table tbody tr.sel:hover td { background: #D2E1FA; }
.wr-act { text-align: right; }
.wr-ext { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; font-size: .85rem; white-space: nowrap; text-decoration: none; }
.wr-ext:hover { border-color: var(--accent); color: var(--accent); }
.wr-table tr.sel .wr-ext { background: var(--accent); color: #fff; border-color: var(--accent); }
.wr-table tr.sel .wr-ext:hover { background: var(--accent-hover); }
.wr-status { display: flex; gap: 6px 18px; padding: 9px 14px; font-size: .82rem; color: var(--muted); background: var(--surface-2); flex-wrap: wrap; }
.wr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wr-facts { max-width: 1120px; margin: 36px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 32px; }
.wr-fct { background: rgba(255,255,255,.78); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.wr-fct h2 { font-size: 1.06rem; margin-bottom: 6px; letter-spacing: -.01em; }
.wr-fct p { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.wr-fct a { font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .wr-facts { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .dl-header-inner { gap: 8px; }
  .dl-brand { min-width: 0; flex: 1 1 auto; overflow: hidden; font-size: 1rem; }
  .dl-brand > span:not(.dl-brand-mark) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dl-nav-cta { padding: 0 12px; }
  .wr-intro { text-align: left; padding-top: 20px; }
  .wr-intro p { font-size: 1rem; }
  .wr-menu, .wr-path { display: none; }
  .wr-ctl i { width: 30px; }
  .wr-tool { min-width: 62px; }
  .wr-table th:nth-child(n+2):not(:last-child), .wr-table td:nth-child(n+2):not(:last-child) { display: none; }
  .wr-table thead { display: none; }
  .wr-table td { padding: 10px; }
  .wr-n small[data-size]::after { content: " · " attr(data-size); }
  .wr-ext { padding: 0 12px; } .wr-ext span { display: none; }
}
