/* ==========================================================================
   VPNGive — deepdoc page styles
   Used only by the complete handbook page. All design values come from :root.
   ========================================================================== */

.manual-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);
  gap:36px;
  align-items:start;
  padding-top:56px;
  padding-bottom:46px;
}
.manual-hero-copy{min-width:0}
.manual-hero h1{margin-top:14px;max-width:13em}
.manual-lede{
  margin-top:18px;
  max-width:660px;
  font-size:16px;
  line-height:1.82;
  color:var(--muted);
}
.manual-lede strong{color:var(--ink);font-weight:700}
.manual-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.manual-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.manual-note{
  margin-top:16px;
  max-width:620px;
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
}
.manual-note a{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:2px;
}

.manual-cover{
  position:relative;
  min-width:0;
  padding:20px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--panel);
  box-shadow:var(--shadow-card);
}
.manual-cover::before{
  content:"";
  position:absolute;
  left:20px;
  right:20px;
  top:0;
  height:2px;
  border-radius:0 0 2px 2px;
  background:var(--accent);
}
.manual-cover-title{
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.14em;
  color:var(--muted);
}
.manual-cover-list{display:flex;flex-direction:column;margin-top:12px}
.manual-cover-list li{
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid var(--border);
  font-size:13px;
  line-height:1.45;
  color:var(--ink);
}
.manual-cover-list li:last-child{border-bottom:0}
.manual-cover-list span{
  flex:0 0 22px;
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.08em;
  color:var(--accent);
}
.manual-cover-note{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--border);
  font-family:var(--font-mono);
  font-size:10.5px;
  line-height:1.6;
  color:var(--muted);
}

.manual-body{padding-bottom:0}
.chapter{
  min-width:0;
  padding-top:52px;
  padding-bottom:52px;
  border-top:1px solid var(--border);
}
.chapter:first-of-type{
  border-top:0;
  padding-top:38px;
}
.chapter h2{max-width:900px}
.chapter-no{
  display:inline-block;
  margin-right:12px;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.14em;
  color:var(--accent);
  vertical-align:middle;
}
.chapter-lede{
  margin-top:14px;
  max-width:760px;
  font-size:15.5px;
  line-height:1.85;
  color:var(--muted);
}
.chapter-lede strong{color:var(--ink)}
.chapter h3{margin-top:28px;margin-bottom:8px;font-size:19px}
.chapter p{
  margin-top:12px;
  max-width:780px;
  font-size:15px;
  line-height:1.86;
  color:var(--muted);
}
.chapter p strong{color:var(--ink)}
.chapter ul,
.chapter ol{
  margin-top:14px;
  padding-left:22px;
  font-size:14.5px;
  line-height:1.82;
  color:var(--muted);
}
.chapter ul{list-style:disc}
.chapter ol{list-style:decimal}
.chapter li{margin-bottom:8px}
.chapter li::marker{color:var(--accent)}
.chapter li strong{color:var(--ink)}
.chapter .table-scroll{margin-top:16px}
.chapter .pack-band{margin-top:18px}
.chapter .callout{margin-top:20px}
.chapter .manual-grid{margin-top:18px}
.chapter .manual-kv{margin-top:18px}
.chapter .manual-end{margin-top:28px}

.chapter pre{
  margin-top:14px;
  padding:14px 16px;
  max-width:100%;
  border-radius:var(--r-sm);
  background:var(--ink);
  color:var(--term-ink);
  font-size:12.5px;
  line-height:1.7;
  overflow-x:auto;
}
.chapter code{
  padding:1px 5px;
  border-radius:var(--r-xs);
  background:var(--panel-2);
  color:var(--ink);
  font-size:12.5px;
}
.chapter pre code{
  padding:0;
  background:transparent;
  color:inherit;
  font-size:inherit;
}

.manual-fact{
  display:flex;
  flex-wrap:wrap;
  gap:6px 16px;
  margin-top:18px;
  padding-top:14px;
  border-top:1px dashed var(--border);
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.03em;
  color:var(--muted);
}
.manual-fact b{color:var(--ink);font-weight:600}

.step-list{
  counter-reset:step;
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:18px;
  padding-left:0;
  list-style:none;
}
.step-list li{
  position:relative;
  min-width:0;
  margin-bottom:0;
  padding-left:42px;
  counter-increment:step;
}
.step-list li::before{
  content:counter(step,decimal-leading-zero);
  position:absolute;
  left:0;
  top:2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border:1px solid var(--accent-line);
  border-radius:var(--r-sm);
  background:var(--accent-soft);
  font-family:var(--font-mono);
  font-size:10.5px;
  color:var(--accent);
}
.step-list strong{
  display:block;
  font-size:14.5px;
  line-height:1.5;
  color:var(--ink);
}
.step-list p{
  margin-top:4px;
  max-width:740px;
  font-size:14px;
  line-height:1.78;
  color:var(--muted);
}

.manual-checklist{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:14px;
  padding-left:0;
  list-style:none;
}
.manual-checklist li{
  position:relative;
  min-width:0;
  margin-bottom:0;
  padding-left:24px;
  font-size:14.5px;
  line-height:1.75;
  color:var(--muted);
}
.manual-checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--ok);
  font-weight:700;
}

.manual-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.manual-card{
  min-width:0;
  padding:16px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--panel);
  box-shadow:var(--inset-light);
}
.manual-card h3{margin-top:0;font-size:16px}
.manual-card p{margin-top:8px;max-width:none;font-size:13.5px;line-height:1.75}

.manual-kv{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--border);
  overflow:hidden;
}
.manual-kv > div{
  min-width:0;
  padding:13px 14px;
  background:var(--panel);
}
.manual-kv .k{
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.1em;
  color:var(--muted);
}
.manual-kv .v{
  margin-top:4px;
  font-size:14px;
  font-weight:700;
  color:var(--ink);
}

.manual-end{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-width:0;
  padding:20px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--accent-soft);
}
.manual-end p{
  max-width:640px;
  margin-top:0;
  font-size:13.5px;
  line-height:1.75;
  color:var(--muted);
}
.manual-end .btn{flex-shrink:0;white-space:nowrap}

@media (max-width:1040px){
  .manual-hero{grid-template-columns:1fr;gap:24px}
  .manual-cover{max-width:640px}
  .manual-grid{grid-template-columns:1fr}
  .manual-kv{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .manual-hero{padding-top:36px;padding-bottom:32px}
  .chapter{padding-top:40px;padding-bottom:40px}
  .chapter:first-of-type{padding-top:30px}
  .manual-actions .btn{flex:1 1 auto}
  .manual-kv{grid-template-columns:1fr}
}
@media (max-width:640px){
  .manual-cover{padding:16px}
  .chapter h2{font-size:clamp(24px,7vw,32px)}
  .chapter-no{display:block;margin:0 0 6px}
  .manual-actions{flex-direction:column;align-items:stretch}
  .manual-actions .btn{width:100%}
}