/* Computer Copier 10.26 User Guide - Easier Software LTD */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #f2b411;
  --brand-hv: #d99e06;
  --brand-ink: #8a6200;
  --brand-lt: #fdf4d8;
  --accent: #f5c445;
  --dark: #14120b;
  --dark-2: #1b170e;
  --dark-3: #272216;
  --line-d: #493f29;
  --text: #22201a;
  --muted: #615c50;
  --line: #e7e1d2;
  --soft: #f8f6f0;
  --white: #ffffff;
  --red: #c4402b;
  --red-lt: #fdecea;
  --blue-lt: #eef3f8;
  --blue: #3e6a96;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(20, 18, 11, .12);
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", Consolas, "Courier New", monospace;
  --header-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: underline; text-decoration-color: rgba(138, 98, 0, .35); text-underline-offset: 2px; }
a:hover { color: var(--dark); text-decoration-color: var(--brand); }
a.ext::after { content: "\2197"; font-size: .78em; margin-left: 2px; text-decoration: none; display: inline-block; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--dark); letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: var(--dark); padding: 8px 14px; border-radius: 8px; z-index: 999; font-weight: 700; }
.skip:focus { left: 12px; }

/* ---------------- header */
.site-header { position: sticky; top: 0; z-index: 300; height: var(--header-h); background: var(--dark); border-bottom: 3px solid var(--brand); }
.site-header .inner { max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 20px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand .tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(242, 180, 17, .45); border-radius: 5px; padding: 2px 8px; white-space: nowrap; }
.top-links { margin-left: auto; display: flex; align-items: center; gap: 20px; list-style: none; }
.top-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.top-links a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--dark) !important; font-weight: 700; border-radius: var(--radius); padding: 9px 18px; text-decoration: none; font-size: .92rem; border: none; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--accent); }
.btn.dark { background: var(--dark); color: #fff !important; }
.btn.dark:hover { background: var(--dark-3); }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: #fff; border-radius: 8px; padding: 7px 12px; font: 600 .9rem var(--sans); cursor: pointer; }

/* ---------------- hero */
.hero { background: radial-gradient(ellipse 55% 90% at 92% 0%, rgba(242, 180, 17, .25), transparent 60%), var(--dark); color: #fff; padding: 44px 0 40px; }
.hero .inner { max-width: 1320px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 34px; align-items: center; }
.badge { display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: rgba(242, 180, 17, .1); border: 1px solid rgba(242, 180, 17, .35); border-radius: 6px; padding: 4px 11px; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 10px; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255, 255, 255, .76); max-width: 680px; }
.hero .box { width: 230px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.search { margin-top: 22px; max-width: 580px; position: relative; }
.search input { width: 100%; padding: 14px 16px 14px 46px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font: 1rem var(--sans); outline: none; }
.search input::placeholder { color: rgba(255, 255, 255, .55); }
.search input:focus { border-color: var(--accent); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--accent); }
.search-msg { color: rgba(255, 255, 255, .72); font-size: .88rem; margin-top: 8px; min-height: 1.3em; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quick a { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #fff; border-radius: 8px; padding: 7px 13px; font-size: .86rem; font-weight: 600; text-decoration: none; }
.quick a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- layout */
.layout { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 36px 20px 70px; }
.layout > * { min-width: 0; }

/* sidebar */
.toc { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding: 4px 8px 20px 0; scrollbar-width: thin; }
.toc .toc-title { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc details { margin-bottom: 4px; }
.toc summary { list-style: none; cursor: pointer; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); padding: 10px 10px 6px; display: flex; justify-content: space-between; align-items: center; border-radius: 6px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--brand-ink); border-bottom: 2px solid var(--brand-ink); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.toc details:not([open]) summary::after { transform: rotate(-45deg); }
.toc summary:hover { background: var(--soft); }
.toc ul { list-style: none; margin: 0 0 6px; }
.toc li a { display: block; padding: 5px 10px 5px 14px; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 500; }
.toc li a:hover { background: var(--soft); }
.toc li a.on { background: var(--brand-lt); border-left-color: var(--brand); font-weight: 700; color: var(--dark); }
.toc li.hidden { display: none; }
.toc .help-box { margin-top: 16px; background: var(--dark); color: rgba(255, 255, 255, .8); border-radius: 12px; padding: 16px; font-size: .88rem; }
.toc .help-box b { color: #fff; display: block; margin-bottom: 4px; }
.toc .help-box a { color: var(--accent); }

/* ---------------- content */
main section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
main section:last-of-type { border-bottom: none; }
main section.hidden { display: none; }
.cat { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 6px; }
main h2 { font-size: 1.8rem; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
main h2 .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--dark); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
main h2 .ic svg { width: 20px; height: 20px; }
main h3 { font-size: 1.2rem; margin: 26px 0 8px; }
main h4 { font-size: 1rem; margin: 18px 0 6px; }
main p { margin-bottom: 12px; }
main ul, main ol { margin: 0 0 14px 22px; }
main li { margin-bottom: 6px; }
.lead { font-size: 1.07rem; color: var(--muted); }
.ui { font-weight: 700; background: var(--soft); border: 1px solid rgba(20, 18, 11, .16); border-bottom-width: 2px; border-radius: 6px; padding: 0 7px; font-size: .9em; white-space: nowrap; }
.path { font-weight: 600; }
kbd { font-family: var(--mono); font-size: .82em; background: var(--dark); color: #fff; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
code { font-family: var(--mono); font-size: .88em; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; overflow-wrap: anywhere; }
figure { margin: 18px 0 24px; }
figure img { border-radius: 12px; cursor: zoom-in; background: transparent; }
figure.narrow img { max-width: min(560px, 100%); }
figure.mid img { max-width: min(760px, 100%); }
figcaption { font-size: .86rem; color: var(--muted); margin-top: 6px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0 24px; }
.pair figure { margin: 0; }
.tip, .warn, .note, .key-help { border-radius: 10px; padding: 14px 16px 14px 50px; margin: 14px 0 18px; position: relative; font-size: .96rem; }
.tip { background: var(--brand-lt); border: 1px solid rgba(242, 180, 17, .5); }
.warn { background: var(--red-lt); border: 1px solid rgba(196, 64, 43, .3); }
.note { background: var(--blue-lt); border: 1px solid rgba(62, 106, 150, .3); }
.tip::before, .warn::before, .note::before { position: absolute; left: 16px; top: 13px; width: 22px; height: 22px; border-radius: 50%; font: 700 .8rem/22px var(--sans); text-align: center; color: #fff; }
.tip::before { content: "\2605"; background: var(--brand-ink); }
.warn::before { content: "!"; background: var(--red); }
.note::before { content: "i"; background: var(--blue); font-family: Georgia, serif; font-style: italic; }
.tip p:last-child, .warn p:last-child, .note p:last-child { margin-bottom: 0; }
.key-help { background: var(--dark); color: rgba(255, 255, 255, .85); padding: 22px 24px; border-radius: 14px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.key-help h3 { color: #fff; margin: 0 0 4px; }
.key-help p { margin: 0; }
.key-help a.btn { flex-shrink: 0; }
table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: .94rem; }
.table-wrap { overflow-x: auto; margin: 10px 0 20px; }
.table-wrap table { margin: 0; min-width: 520px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-size: .88rem; color: var(--dark); }
.legend { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
.legend li { display: flex; gap: 10px; margin: 0; font-size: .95rem; }
.num { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--dark); font-weight: 700; font-size: .82rem; display: inline-flex; align-items: center; justify-content: center; }
.steps { list-style: none; margin: 10px 0 18px; padding: 0; counter-reset: s; }
.steps > li { counter-increment: s; position: relative; padding-left: 46px; margin-bottom: 12px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--dark); color: var(--accent); font: 600 .85rem/30px var(--mono); text-align: center; }
details.q { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
details.q summary { cursor: pointer; padding: 13px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; color: var(--brand-ink); font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
details.q[open] summary::after { content: "\2212"; }
details.q[open] { border-color: rgba(242, 180, 17, .6); }
details.q > div { padding: 0 18px 14px; }
details.q > div p:last-child { margin-bottom: 0; }
.faq-group { font-size: .8rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; }
.state { display: inline-block; font-family: var(--mono); font-size: .75rem; font-weight: 600; border-radius: 5px; padding: 1px 8px; white-space: nowrap; }
.state.ok { background: #fff3cc; color: #6b4d00; border: 1px solid #f2d27a; }
.state.bad { background: var(--red-lt); color: var(--red); border: 1px solid rgba(196, 64, 43, .35); }
.state.off { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.back { font-size: .85rem; font-weight: 600; margin-top: 8px; }
mark { background: #ffe58a; padding: 0 2px; border-radius: 3px; }
.cta { background: var(--brand); border-radius: 14px; padding: 26px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 22px; }
.cta h3 { margin: 0 0 4px; }
.cta p { margin: 0; }
.policy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 12px 0 18px; }
.policy-grid a { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--text); background: #fff; }
.policy-grid a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.policy-grid b { display: block; color: var(--dark); }
.policy-grid span { font-size: .86rem; color: var(--muted); }
#noresults { display: none; }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(13, 11, 7, .9); display: none; align-items: center; justify-content: center; z-index: 600; padding: 24px; cursor: zoom-out; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 10px; }

/* ---------------- footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 46px 0 0; }
.site-footer .inner { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-grid .about img { height: 42px; width: auto; margin-bottom: 12px; }
.footer-grid p { font-size: .88rem; color: rgba(255, 255, 255, .58); }
.footer-col h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .42); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255, 255, 255, .78); font-size: .9rem; text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .45); }

/* ---------------- responsive */
@media (max-width: 1080px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero .box { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid .about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .nav-toggle { display: inline-block; }
  .top-links { display: none; }
  .toc { position: fixed; top: var(--header-h); left: 0; bottom: 0; width: min(330px, 88vw); max-height: none; background: #fff; z-index: 250; padding: 18px 16px 30px; box-shadow: 0 0 40px rgba(0, 0, 0, .3); transform: translateX(-105%); transition: transform .2s ease; }
  body.nav-open .toc { transform: none; }
  .scrim { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(13, 11, 7, .5); z-index: 240; display: none; }
  body.nav-open .scrim { display: block; }
}
@media (max-width: 640px) {
  .brand .tag { display: none; }
  .brand img { height: 38px; }
  .legend, .pair { grid-template-columns: 1fr; }
  main h2 { font-size: 1.45rem; }
  th, td { padding: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .key-help { padding: 18px; }
}
@media print {
  .site-header, .hero .search, .quick, .toc, .site-footer, .lb, .back, .nav-toggle, .scrim { display: none !important; }
  .layout { display: block; }
  details.q { break-inside: avoid; }
  details.q > div { display: block !important; }
}
