/* Industry — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */



:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-2: #728fab;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f5f5f8;
  --color-neutral-200: #e7e7ea;
  --color-neutral-300: #d4d4d7;
  --color-neutral-400: #b7b7ba;
  --color-neutral-500: #98989b;
  --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60;
  --color-neutral-800: #424244;
  --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff;
  --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd;
  --color-accent-400: #94bce3;
  --color-accent-500: #749dc4;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --color-accent-2-100: #eef6ff;
  --color-accent-2-200: #d6ebff;
  --color-accent-2-300: #bdd8f2;
  --color-accent-2-400: #9ebbd8;
  --color-accent-2-500: #7e9cb8;
  --color-accent-2-600: #627d98;
  --color-accent-2-700: #486077;
  --color-accent-2-800: #314457;
  --color-accent-2-900: #1f2d3a;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-1: 3.4px;
  --space-2: 6.8px;
  --space-3: 10.2px;
  --space-4: 13.6px;
  --space-6: 20.4px;
  --space-8: 27.2px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.blueprint {
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: 0;
}
/* The overlay image treatments (halftone, duotone) clip their overlay
   (overflow:hidden); a blueprint wrapper draws its registration marks
   outside the box, so when both classes share a wrapper the frame must
   win. */
.blueprint.halftone, .blueprint.plate, .blueprint.duotone { overflow: visible; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: currentColor;
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

.duotone{position:relative;overflow:hidden}
.duotone::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--color-accent);mix-blend-mode:color}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — blueprint frame: components are wireframe objects (see .blueprint
     and .corner above) — square, transparent, hairline-bordered — */
.card, .btn, .input, .tag, .seg, .dialog { border-radius: 0; }
.card, .dialog { background: transparent; border: 1px solid var(--color-divider); }
.btn { border: 1px solid var(--color-divider); }
.btn-primary { border-color: var(--color-accent); }
.btn-ghost { border-color: transparent; }



  html { scroll-behavior: smooth; }
  body { margin:0; background:#f2f2f3; color:#1d1f20; font-family:"Barlow","Noto Sans SC",system-ui,sans-serif; font-size:15px; line-height:1.7; -webkit-font-smoothing:antialiased; }
  *, *::before, *::after { box-sizing:border-box; }
  h1,h2,h3,h4,h5,h6 { font-family:"Barlow Condensed","Noto Sans SC",system-ui,sans-serif; font-weight:700; line-height:1.18; letter-spacing:0.005em; margin:0; }
  p { margin:0; text-wrap:pretty; }
  a { color:#416180; text-decoration:none; }
  a:hover { color:#2c455d; }
  button, input, textarea, select { font:inherit; color:inherit; }
  ::selection { background:#b5d9fd; }
  :focus-visible { outline:2px solid #5980a6; outline-offset:2px; }
  @keyframes damuScan { 0%{transform:translateY(-100%)} 100%{transform:translateY(900%)} }
  nav button { white-space: nowrap; }


html { -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-behavior:auto; }
body { min-width:0; overflow-x:visible; }
body,button,input,textarea,select { font-family:"Barlow","Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
h1,h2,h3,h4,h5,h6 { font-family:"Barlow Condensed","Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; overflow-wrap:break-word; }
div,section,article,main,footer,form,label { min-width:0; }
[data-g] > * { min-width:0; }
[data-g] { grid-gap:var(--layout-gap,0); }
p { overflow-wrap:break-word; }
button { cursor:pointer; touch-action:manipulation; }
button:focus,a:focus { outline:2px solid #94bce3; outline-offset:3px; }
button:focus:not(:focus-visible),a:focus:not(:focus-visible) { outline:none; }
button,input,select,textarea { -webkit-tap-highlight-color:rgba(148,188,227,.2); }
input[type="checkbox"] { -webkit-appearance:checkbox; appearance:auto; width:18px; height:18px; min-width:18px; margin:0 6px 0 0; vertical-align:middle; accent-color:#5980a6; }
input[type="radio"] { -webkit-appearance:radio; appearance:auto; }
input:not([type="checkbox"]):not([type="radio"]),textarea,select { min-width:0; }
.damu-header { position:-webkit-sticky !important; position:sticky !important; top:0; background:#1d2d3d !important; }
.damu-header > div { height:auto !important; min-height:68px; }
.damu-main { padding-top:0 !important; }
.damu-header .damu-nav { min-width:0; }
.damu-header .damu-nav button { flex:0 0 auto; min-height:44px; }
.damu-header .damu-brand { margin-right:12px; }
.damu-menu { display:none; border:1px solid rgba(255,255,255,.3); color:white; background:transparent; padding:8px 10px; min-height:44px; font-size:14px; flex-shrink:0; }
.damu-frame { position:relative; }
.damu-frame::before { content:""; display:block; padding-top:75%; }
.damu-frame[data-ratio="16/10"]::before { padding-top:62.5%; }
.damu-frame > img { position:absolute; top:0; left:0; width:100%; height:100%; max-width:none; object-fit:cover; display:block; }
@supports (aspect-ratio:4 / 3) { .damu-frame::before { display:none; } }
[data-toast] { max-width:calc(100vw - 32px); overflow-wrap:break-word; }
.damu-nav [aria-current="page"] { color:#94bce3 !important; }
@media (max-width:1180px) and (min-width:901px) {
  .damu-header > div { flex-wrap:wrap; padding:10px 24px 0 !important; gap:0 !important; }
  .damu-header .damu-nav { order:3; display:flex; flex:1 0 100%; overflow:visible; justify-content:center; margin:6px 0 0 !important; padding:0 0 6px; }
  .damu-header .damu-actions { margin-left:auto; }
  [data-sticky] { top:138px !important; }
}
@media (max-width:1080px) {
  [data-g="4"],[data-g="5"] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  h1 { font-size:44px !important; font-size:clamp(36px,5.2vw,56px) !important; }
  h2 { font-size:32px !important; font-size:clamp(27px,3.4vw,38px) !important; }
}
@media (max-width:900px) {
  .damu-header > div { display:flex; flex-wrap:wrap; min-height:68px; height:auto !important; padding:8px 18px !important; gap:0 !important; }
  .damu-header .damu-brand { flex-shrink:0; margin-right:auto; }
  .damu-header .damu-actions { order:2; padding-left:0 !important; border:0 !important; margin:0 10px 0 0 !important; }
  .damu-header .damu-actions button:first-child { display:none; }
  .damu-header .damu-actions button:last-child { padding:10px 12px !important; min-height:44px; white-space:nowrap; }
  .damu-menu { display:block; order:3; }
  .damu-header .damu-nav { display:none !important; order:4; flex:0 0 100%; width:100%; margin:8px 0 0 !important; max-height:60vh; overflow:auto; border-top:1px solid rgba(255,255,255,.14); }
  .damu-header .damu-nav[data-open="true"] { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; padding:8px 0 0; }
  .damu-header .damu-nav button { width:100%; text-align:left; min-height:44px; padding:10px 12px !important; }
  .damu-header .damu-nav button i { display:none; }
  main section > div,footer > div { padding-left:22px !important; padding-right:22px !important; }
  [data-g="2"],[data-g="asym"] { grid-template-columns:minmax(0,1fr) !important; }
  [data-g="3"],[data-g="4"],[data-g="5"] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  [data-g]:not([data-gap="1"]):not([data-gap="0"]) { gap:28px !important; grid-gap:28px !important; }
  [data-sticky] { position:static !important; top:auto !important; }
  [data-hero-grid] { min-height:0 !important; }
  [data-hero-pad] { padding-top:40px !important; }
  [data-pad-lg] { padding:28px 22px !important; }
  [data-download-head] { display:none !important; }
  [data-download-row] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:8px !important; padding:20px; }
  [data-download-row] > div { padding:0 !important; }
  [data-download-row] > div:first-child,[data-download-row] > div:last-child { grid-column:1 / -1; }
  [data-download-row] > div:nth-child(2)::before { content:"格式："; }
  [data-download-row] > div:nth-child(3)::before { content:"权限："; }
  [data-download-row] > div:last-child { margin-top:6px; }
  [data-doc-row] { grid-template-columns:40px minmax(0,1fr) !important; gap:0 !important; padding:18px; }
  [data-doc-row] > div { padding:0 !important; }
  [data-doc-row] > div:last-child { grid-column:2; margin-top:8px; }
  [data-doc-sidebar] > div:last-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-spec-tabs] { display:flex; flex-wrap:wrap; }
  [data-spec-heading] { flex-direction:column; align-items:stretch !important; }
  [data-spec-heading] > h2 { width:100%; }
  [data-spec-tabs] > button { flex:1 1 45%; min-height:44px; }
  [data-spec-row] { grid-template-columns:100px minmax(0,1fr) !important; gap:14px !important; }
  [data-spec-row] > div { padding:16px 12px !important; }
  [data-reveal][style*="display:flex"] { flex-wrap:wrap; }
  [data-repo-name] { overflow-wrap:anywhere; word-break:break-word; }
  [data-stat] { padding:22px !important; }
  input:not([type="checkbox"]):not([type="radio"]),textarea,select { font-size:16px !important; }
}
@media (max-width:600px) {
  h1 { font-size:34px !important; line-height:1.22 !important; }
  h2 { font-size:26px !important; }
  h3 { font-size:21px !important; }
  main section > div,footer > div { padding-left:18px !important; padding-right:18px !important; }
  [data-g] { grid-template-columns:minmax(0,1fr) !important; }
  [data-hero-pad] { padding-top:32px !important; }
  [data-ratio] { min-width:0; }
  [data-stat-grid] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; margin-top:44px !important; }
  [data-stat] { padding:20px 14px !important; border-right:0 !important; border-bottom:1px solid rgba(148,188,227,.18); }
  [data-count] { font-size:32px !important; }
  [data-download-row] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  [data-doc-row] { grid-template-columns:36px minmax(0,1fr) !important; }
  [data-spec-row] { grid-template-columns:90px minmax(0,1fr) !important; }
  [data-footer-grid] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:30px 20px !important; }
  [data-footer-grid] > div:first-child,[data-footer-grid] > div:last-child { grid-column:1 / -1; }
  [data-footer-grid] > div:first-child > div > span { font-size:17px !important; letter-spacing:0 !important; }
  button { min-height:44px; }
  .damu-header .damu-brand { margin-right:auto; }
  [data-toast] { top:78px !important; }
}
@media (max-width:360px) { .damu-header > div { padding-left:12px !important; padding-right:12px !important; } h1 { font-size:30px !important; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } [data-reveal] { opacity:1 !important; transform:none !important; } }
