:root {
  --pr-ink: #241d30;
  --pr-muted: #6f687a;
  --pr-accent: #7350b5;
  --pr-accent-strong: #5b389d;
  --pr-soft: #f3edff;
  --pr-line: #e4dcef;
  --pr-card: #ffffff;
  --pr-bg: #f8f6fb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--pr-bg);
  color: var(--pr-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
.pr-shell { width: min(1060px, calc(100% - 32px)); margin: 0 auto; }
.pr-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--pr-line); }
.pr-header-inner { min-height: 70px; display: flex; align-items: center; gap: 20px; }
.pr-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.pr-brand img { width: 42px; height: 42px; object-fit: contain; }
.pr-brand span { color: var(--pr-accent-strong); }
.pr-nav { margin-left: auto; display: flex; gap: 8px; }
.pr-nav a { text-decoration: none; color: var(--pr-muted); font-size: .9rem; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.pr-nav a:hover, .pr-nav a.active { background: var(--pr-soft); color: var(--pr-accent-strong); }
.pr-main { padding: 54px 0 70px; }
.pr-hero { max-width: 800px; margin-bottom: 34px; }
.pr-kicker { color: var(--pr-accent); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 850; margin-bottom: 8px; }
.pr-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.06; letter-spacing: -.045em; margin: 0 0 16px; }
.pr-hero h1.pr-compact-title { font-size: clamp(.78rem, 2vw, .92rem); line-height: 1.4; letter-spacing: .08em; margin: 0 0 12px; }
.pr-hero p { color: var(--pr-muted); font-size: clamp(1rem, 2vw, 1.16rem); margin: 0; max-width: 720px; }
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pr-card { display: block; background: var(--pr-card); border: 1px solid var(--pr-line); border-radius: 20px; padding: 24px; text-decoration: none; box-shadow: 0 12px 35px rgba(66,45,96,.06); transition: transform .16s, border-color .16s, box-shadow .16s; }
.pr-card:hover { transform: translateY(-2px); border-color: #bda9dc; box-shadow: 0 16px 38px rgba(66,45,96,.11); }
.pr-card h2, .pr-card h3 { margin: 0 0 8px; line-height: 1.2; }
.pr-card p { margin: 0; color: var(--pr-muted); }
.pr-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.pr-chip { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; background: var(--pr-soft); color: var(--pr-accent-strong); border-radius: 999px; font-size: .74rem; font-weight: 800; }
.pr-chip.neutral { background: #f2f1f4; color: #625c69; }
.pr-section { margin-top: 42px; }
.pr-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pr-section-head h2 { margin: 0; font-size: 1.5rem; }
.pr-section-head a { color: var(--pr-accent); font-weight: 750; text-decoration: none; }
.pr-list { display: grid; gap: 12px; }
.pr-row { background: var(--pr-card); border: 1px solid var(--pr-line); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; text-decoration: none; }
.pr-row:hover { border-color: #bda9dc; }
.pr-task-number { min-width: 50px; height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--pr-soft); color: var(--pr-accent-strong); font-weight: 900; }
.pr-row-body { min-width: 0; flex: 1; }
.pr-row-title { font-weight: 850; margin-bottom: 3px; }
.pr-row-sub { color: var(--pr-muted); font-size: .87rem; }
.pr-row-arrow { color: var(--pr-accent); font-size: 1.3rem; }
.pr-empty { background: var(--pr-card); border: 1px dashed #cfc4db; border-radius: 16px; padding: 32px; color: var(--pr-muted); text-align: center; }
.pr-download-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); gap: 26px; align-items: start; }
.pr-download-layout.no-preview { grid-template-columns: 1fr; }
.pr-download-layout.no-preview .pr-files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr-download-card { background: var(--pr-card); border: 1px solid var(--pr-line); border-radius: 20px; padding: 24px; }
.pr-download-card h2 { margin: 0 0 14px; font-size: 1.25rem; }
.pr-files { display: grid; gap: 10px; }
.pr-file { border: 1px solid var(--pr-line); border-radius: 14px; padding: 13px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pr-file:hover { border-color: var(--pr-accent); background: #fcfaff; }
.pr-file-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--pr-soft); color: var(--pr-accent-strong); display: grid; place-items: center; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.pr-file-body { min-width: 0; flex: 1; }
.pr-file-name { display: block; font-weight: 800; overflow-wrap: anywhere; }
.pr-file-meta { display: block; color: var(--pr-muted); font-size: .78rem; margin-top: 4px; }
.pr-file-action { color: var(--pr-accent); font-weight: 850; font-size: .84rem; }
.pr-preview { border-radius: 18px; overflow: hidden; border: 1px solid var(--pr-line); background: #fff; }
.pr-preview img { width: 100%; display: block; }
.pr-note { margin-top: 15px; color: var(--pr-muted); font-size: .84rem; }
.pr-footer { border-top: 1px solid var(--pr-line); color: var(--pr-muted); padding: 24px 0 34px; font-size: .82rem; }

@media (max-width: 760px) {
  .pr-main { padding-top: 34px; }
  .pr-grid, .pr-download-layout, .pr-download-layout.no-preview .pr-files { grid-template-columns: 1fr; }
  .pr-nav a { padding: 7px 9px; }
  .pr-brand span { display: none; }
  .pr-card { padding: 20px; }
  .pr-row { padding: 14px; }
  .pr-file { align-items: flex-start; }
  .pr-file-action { display: none; }
}
