:root {
  --ink: #17211f;
  --ink-soft: #3f4e49;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --line: #d5ddd9;
  --accent: #cf4035;
  --accent-dark: #b9382f;
  --signal: #14715d;
  --signal-dark: #0d5546;
  --sun: #efb43e;
  --shadow: 0 12px 30px rgba(23, 33, 31, .10);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}
body.has-mobile-actions { padding-bottom: 0; }
a { color: var(--signal-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, .button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); color: #fff; }
.button-secondary { background: var(--signal); color: #fff; }
.button-secondary:hover { background: var(--signal-dark); color: #fff; }
.button-quiet { background: var(--surface); border-color: var(--line); color: var(--ink); }
.button-quiet:hover { border-color: var(--signal); color: var(--signal-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: #fff; padding: 10px 14px; }
.skip-link:focus { top: 14px; }
.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header-row { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; min-width: 260px; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 15px; }
.brand-copy span { color: var(--ink-soft); font-size: 12px; margin-top: 4px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.site-nav a { padding: 10px 11px; color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.header-call { margin-left: 8px; white-space: nowrap; }
.hero {
  min-height: 530px;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  background-color: #26322f;
  background-image: url("hero.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-defects .hero { background-image: url("print-defects.webp"); }
.page-errors .hero { background-image: url("error-panel.webp"); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 20, 18, .67); }
.hero-inner { max-width: 790px; padding-block: 68px 74px; }
.eyebrow { margin: 0 0 12px; color: var(--sun); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: 52px; line-height: 1.06; letter-spacing: 0; text-wrap: balance; }
.hero p { max-width: 710px; margin: 20px 0 0; font-size: 20px; color: #edf3f0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.hero .button-quiet { background: rgba(255,255,255,.94); }
.hero-note { margin-top: 20px; font-size: 13px; color: #d7e1dd; }
.issue-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.issue-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.issue-row a { min-height: 78px; padding: 16px; display: flex; align-items: center; border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 740; }
.issue-row a:first-child { border-left: 1px solid var(--line); }
.issue-row a:hover { background: #edf5f1; color: var(--signal-dark); }
.section { padding-block: 74px; }
.section-white { background: var(--surface); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark a { color: #d8f0e8; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: 36px; line-height: 1.18; }
.section-head p { margin: 13px 0 0; color: var(--ink-soft); }
.section-dark .section-head p { color: #c7d1cd; }
.service-grid, .topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.service-card, .topic-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 28px;
  color: var(--ink);
}
.service-card h3, .topic-card h3 { margin: 0; font-size: 23px; line-height: 1.25; }
.service-card p, .topic-card p { color: var(--ink-soft); }
.service-card ul, .topic-card ul { padding-left: 20px; }
.service-card a { font-weight: 800; }
.triage {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  border: 1px solid #35423e;
  border-radius: 6px;
  overflow: hidden;
  background: #202b28;
}
.triage-intro { padding: 34px; background: #202b28; }
.triage-intro h2 { margin: 0; font-size: 32px; }
.triage-intro p { color: #c9d3cf; }
.triage-form { padding: 34px; background: #fff; color: var(--ink); display: grid; gap: 15px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 760; }
input, select, textarea { width: 100%; min-height: 46px; border: 1px solid #aebbb5; border-radius: 4px; background: #fff; color: var(--ink); padding: 9px 11px; }
textarea { min-height: 88px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-box { border-left: 4px solid var(--signal); background: #edf5f1; padding: 14px 16px; min-height: 64px; }
.result-box[hidden] { display: none; }
.microcopy { margin: 0; color: #66736e; font-size: 13px; }
.split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.7fr); gap: 54px; align-items: start; }
.fact-panel { border-top: 4px solid var(--sun); background: #fff8e9; padding: 24px; }
.fact-panel h3 { margin-top: 0; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 27px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--signal); font-weight: 900; }
.warning { border-left: 5px solid var(--accent); background: #fff0ee; padding: 18px 20px; }
.warning strong { color: #8c241c; }
.decision-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.decision-table th, .decision-table td { padding: 15px 17px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.decision-table th { background: #eaf0ed; font-size: 14px; }
.decision-table td:first-child { width: 27%; font-weight: 780; }
.step-list { counter-reset: steps; display: grid; gap: 16px; padding: 0; list-style: none; }
.step-list li { counter-increment: steps; position: relative; padding: 18px 18px 18px 66px; border-top: 1px solid var(--line); }
.step-list li::before { content: counter(steps); position: absolute; left: 12px; top: 15px; width: 36px; height: 36px; border: 2px solid var(--signal); color: var(--signal-dark); display: grid; place-items: center; font-weight: 900; }
.source-list { margin: 0; padding-left: 20px; }
.source-list li + li { margin-top: 10px; }
.faq-list { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.faq-item { background: var(--surface); padding: 22px 24px; }
.faq-item h3 { margin: 0 0 8px; font-size: 20px; }
.faq-item p { margin: 0; color: var(--ink-soft); }
.prose { max-width: 820px; }
.prose h3 { margin-top: 30px; font-size: 24px; }
.prose p { color: var(--ink-soft); }
.figure { margin: 0; border: 1px solid var(--line); background: #fff; }
.figure img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.figure figcaption { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.cta-band { padding-block: 46px; background: var(--signal); color: #fff; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-row h2 { margin: 0; font-size: 30px; }
.cta-row p { margin: 7px 0 0; color: #d9eee8; }
.cta-actions { display: flex; gap: 10px; flex: none; }
.site-footer { background: #101815; color: #c9d2ce; padding-block: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; }
.site-footer h2 { color: #fff; font-size: 19px; margin-top: 0; }
.site-footer a { color: #e3f3ed; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.privacy-note { margin-top: 24px; max-width: 850px; font-size: 12px; color: #95a39d; }
.mobile-actions { display: none; }
@media (max-width: 980px) {
  .header-row { min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
  .brand { min-width: 0; }
  .site-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .site-nav a { white-space: nowrap; }
  .header-call { margin-left: auto; }
  .hero { min-height: 490px; }
  .hero h1 { font-size: 44px; }
  .issue-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .issue-row a:nth-child(odd) { border-left: 1px solid var(--line); }
  .triage, .split { grid-template-columns: 1fr; }
  .service-grid, .topic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body.has-mobile-actions { padding-bottom: 66px; }
  .container { width: min(calc(100% - 26px), var(--container)); }
  .header-call { display: none; }
  .brand-copy strong { font-size: 14px; }
  .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: visible; }
  .site-nav a { min-height: 48px; display: grid; place-items: center; padding: 6px 3px; white-space: normal; text-align: center; font-size: 11px; line-height: 1.2; }
  .hero { min-height: 470px; background-position: 58% center; }
  .hero-inner { padding-block: 50px 52px; }
  .hero h1 { font-size: 36px; line-height: 1.1; }
  .hero p { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-actions [data-event="call"], .hero-actions [data-event="zalo"] { display: none; }
  .issue-row { grid-template-columns: 1fr; }
  .issue-row a, .issue-row a:first-child, .issue-row a:nth-child(odd) { border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); min-height: 62px; }
  .section { padding-block: 54px; }
  .section-head h2 { font-size: 30px; }
  .service-card, .topic-card { padding: 22px; min-height: 0; }
  .triage-intro, .triage-form { padding: 23px; }
  .triage-intro h2 { font-size: 28px; }
  .field-grid { grid-template-columns: 1fr; }
  .decision-table { display: block; overflow-x: auto; white-space: normal; }
  .decision-table th, .decision-table td { min-width: 180px; }
  .cta-row, .footer-grid { display: grid; grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .button { flex: 1; }
  .mobile-actions { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: 66px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 -8px 24px rgba(23,33,31,.16); }
  .mobile-actions .button { min-height: 66px; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .hero-actions, .mobile-actions, .cta-band, .triage { display: none !important; } .hero { min-height: 0; color: #000; background: none; } .hero::before { display: none; } }

.guide-header .site-nav{gap:14px}.guide-header .site-nav a{white-space:nowrap}
.breadcrumbs{font-size:.84rem;color:#52605c;margin:0 0 18px}.breadcrumbs a{color:inherit}
.guide-hero{background:#10241e;color:#fff}.guide-hero .hero-inner{max-width:900px}
.guide-hero h1{max-width:850px}.guide-hero p{max-width:760px}
.guide-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px;font-size:.86rem;color:#c8d7d2}
.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:48px;align-items:start}
.guide-aside{border-left:3px solid #d53c32;padding:20px 0 20px 24px;position:sticky;top:96px}
.guide-aside h2{font-size:1.1rem}.guide-aside a{display:block;margin:10px 0;color:#0f5d4b}
.signal-table td:first-child{font-weight:700}.stop-list{margin:18px 0 0;padding:0;list-style:none}.stop-list li{padding:12px 0 12px 30px;border-top:1px solid #d7dfdc;position:relative}.stop-list li:before{content:'!';position:absolute;left:0;top:12px;font-weight:800;color:#b62f28}
.guide-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.guide-card{border:1px solid #d6dfdc;padding:22px;background:#fff}.guide-card h3{font-size:1.06rem}.guide-card a{text-decoration:none}.guide-card p{font-size:.94rem}
.source-list li{margin:10px 0}.source-list a{overflow-wrap:anywhere}.record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.record-grid article{border-top:3px solid #0f6a55;padding:18px 0}
.guide-card .eyebrow{color:#0f6a55}
.section-dark .button-primary{color:#fff}
.section-dark .button-quiet{color:#17211f}
@media(max-width:900px){.guide-layout{grid-template-columns:1fr}.guide-aside{position:static;border-left:0;border-top:3px solid #d53c32;padding:20px 0}.guide-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.guide-cards,.record-grid{grid-template-columns:1fr}.guide-header .site-nav{display:none}}
