:root {
  color-scheme: dark;
  --ink: #f6fbff;
  --muted: #9aabc2;
  --navy-950: #031022;
  --navy-900: #06162e;
  --navy-800: #0b2445;
  --cyan: #36d7ff;
  --blue: #347cff;
  --gold: #ffc46b;
  --line: rgba(148, 196, 255, 0.16);
  --panel: rgba(8, 28, 56, 0.72);
  --shadow: 0 32px 80px rgba(0, 7, 22, 0.46);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 73% 17%, rgba(28, 106, 190, 0.18), transparent 32rem),
    linear-gradient(145deg, var(--navy-950), #061831 48%, #041226);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(65, 153, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 153, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.aurora {
  position: fixed;
  z-index: -3;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.14;
  pointer-events: none;
}
.aurora-one { top: -12rem; right: -6rem; background: var(--cyan); }
.aurora-two { top: 34rem; left: -18rem; background: var(--blue); }

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82, 219, 255, 0.5);
  border-radius: 13px;
  color: white;
  font-weight: 850;
  background: linear-gradient(145deg, rgba(44, 212, 255, 0.25), rgba(39, 90, 244, 0.35));
  box-shadow: inset 0 0 22px rgba(54, 215, 255, 0.14), 0 8px 24px rgba(0, 42, 99, 0.38);
}
.brand-logo { width: 68px; height: 22px; flex: 0 0 auto; object-fit: contain; object-position: left center; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 0.98rem; letter-spacing: 0.04em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 30px; color: #b9c8dc; font-size: 0.9rem; }
nav a { transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
nav a:hover, nav a[aria-current="page"] { color: white; }
.nav-pill { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.035); }
.nav-pill:hover { border-color: rgba(54, 215, 255, 0.45); background: rgba(54, 215, 255, 0.08); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: 70px;
  padding-block: 74px 92px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #7fe6ff; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.17em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.hero h1, .knowledge-hero h1 { margin: 0; font-size: clamp(3.3rem, 6.1vw, 6rem); line-height: 0.98; letter-spacing: -0.065em; }
.hero h1 em, .knowledge-hero h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg, #fff 8%, #84e9ff 55%, #5f8fff); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 610px; margin: 30px 0 0; color: #aec0d7; font-size: 1.04rem; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 14px; font-weight: 720; font-size: 0.92rem; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #031124; background: linear-gradient(110deg, #65e6ff, #58a5ff); box-shadow: 0 16px 36px rgba(41, 171, 239, 0.2); }
.button-primary:hover { box-shadow: 0 20px 46px rgba(41, 171, 239, 0.3); }
.button-ghost { color: #dcecff; border-color: var(--line); background: rgba(255, 255, 255, 0.035); }
.button-ghost:hover { border-color: rgba(110, 220, 255, 0.4); }

.hero-meta { display: flex; gap: 0; margin-top: 50px; }
.hero-meta div { min-width: 126px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-meta div:last-child { padding-right: 0; margin-right: 0; border: 0; }
.hero-meta strong, .hero-meta span { display: block; }
.hero-meta strong { font-size: 1.05rem; color: #eaf8ff; }
.hero-meta span { margin-top: 6px; color: #7188a5; font-size: 0.7rem; }

.hero-visual { position: relative; min-height: 550px; display: grid; place-items: center; }
.visual-card { position: relative; z-index: 2; width: min(100%, 480px); aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(113, 205, 255, 0.3); border-radius: 38% 38% 24px 24px; box-shadow: var(--shadow), inset 0 0 50px rgba(48, 147, 255, 0.08); background: #071d3d; transform: rotate(1.2deg); }
.visual-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -100px 80px rgba(2, 12, 29, 0.5); pointer-events: none; }
.visual-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); }
.visual-caption { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(130, 216, 255, 0.22); border-radius: 15px; background: rgba(2, 17, 39, 0.74); backdrop-filter: blur(18px); }
.online-dot { width: 9px; height: 9px; border-radius: 50%; background: #5bffb0; box-shadow: 0 0 12px #5bffb0; }
.visual-caption strong, .visual-caption small { display: block; }
.visual-caption strong { font-size: 0.87rem; }
.visual-caption small { margin-top: 3px; color: #87a1bf; font-size: 0.68rem; }
.signal-orbit { position: absolute; z-index: 0; border: 1px solid rgba(63, 192, 255, 0.16); border-radius: 50%; }
.orbit-one { width: 560px; height: 560px; }
.orbit-two { width: 650px; height: 360px; transform: rotate(-16deg); }
.floating-chip { position: absolute; z-index: 4; padding: 11px 15px; border: 1px solid rgba(116, 203, 255, 0.23); border-radius: 13px; color: #b7cae2; font-size: 0.75rem; background: rgba(5, 26, 53, 0.88); backdrop-filter: blur(18px); box-shadow: 0 18px 34px rgba(0, 9, 31, 0.36); }
.floating-chip span { margin-right: 7px; color: var(--cyan); font-weight: 850; }
.chip-top { top: 76px; left: -28px; }
.chip-bottom { right: -32px; bottom: 84px; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(2, 15, 34, 0.5); }
.trust-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #7890ad; font-size: 0.78rem; letter-spacing: 0.04em; }
.trust-row i { width: 4px; height: 4px; border-radius: 50%; background: #2e88c8; }

.section { padding-block: 122px; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 78px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .project-callout h2 { margin: 0; font-size: clamp(2.25rem, 4.7vw, 4.1rem); line-height: 1.12; letter-spacing: -0.05em; }
.section-heading > p:last-child { margin: 0 0 4px; color: var(--muted); line-height: 1.85; }
.feature-grid { margin-top: 64px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.feature-card { min-height: 282px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(11, 38, 73, 0.8), rgba(5, 23, 47, 0.72)); transition: transform 200ms ease, border-color 200ms ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(73, 200, 255, 0.32); }
.feature-main { background: radial-gradient(circle at 95% 5%, rgba(54, 215, 255, 0.14), transparent 45%), linear-gradient(145deg, rgba(11, 45, 86, 0.92), rgba(5, 25, 51, 0.82)); }
.feature-index { color: #5182a9; font-size: 0.72rem; letter-spacing: 0.14em; }
.feature-card h3 { margin: auto 0 12px; font-size: 1.35rem; }
.feature-card p { margin: 0; color: #91a6c0; line-height: 1.75; font-size: 0.88rem; }
.feature-card a { margin-top: 20px; color: #69ddff; font-size: 0.82rem; }

.project-callout { margin-bottom: 104px; padding-inline: 48px; display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 54px; border: 1px solid rgba(95, 201, 255, 0.2); border-radius: 28px; background: radial-gradient(circle at 12% 0%, rgba(49, 131, 218, 0.24), transparent 42%), rgba(7, 28, 56, 0.68); box-shadow: var(--shadow); }
.project-callout p { color: var(--muted); line-height: 1.8; }

.site-footer { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: #607996; font-size: 0.73rem; }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
.footer-brand strong { color: #b9cce3; }

.reveal { opacity: 1; transform: none; }
html:not(.is-ready) .reveal { opacity: 0; transform: translateY(14px); }
html.is-ready .reveal { animation: reveal 700ms cubic-bezier(.2,.7,.2,1) both; }
html.is-ready .reveal-delay { animation-delay: 120ms; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Knowledge page */
.compact-header { min-height: 82px; }
.knowledge-main { padding-block: 72px 120px; }
.knowledge-hero { display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: center; }
.knowledge-hero h1 { font-size: clamp(3rem, 5.8vw, 5.7rem); }
.knowledge-hero > div > p:last-child { max-width: 650px; margin: 28px 0 0; color: var(--muted); line-height: 1.85; }
.knowledge-hero-card { height: 285px; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(8, 30, 60, 0.75); box-shadow: var(--shadow); }
.knowledge-hero-card img { grid-row: 1 / 3; width: 100%; height: 100%; object-fit: cover; }
.knowledge-hero-card div { display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid var(--line); }
.knowledge-hero-card div + div { border-top: 1px solid var(--line); }
.knowledge-hero-card strong { font-size: 1.8rem; }
.knowledge-hero-card span { margin-top: 5px; color: #7f96b1; font-size: 0.7rem; }

.knowledge-toolbar { margin-top: 72px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(6, 25, 51, 0.72); }
.search-box { min-height: 56px; display: flex; align-items: center; gap: 13px; padding: 0 16px; border: 1px solid rgba(112, 189, 255, 0.19); border-radius: 15px; background: rgba(1, 12, 29, 0.52); }
.search-box > span { color: #73dfff; font-size: 1.5rem; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: white; background: transparent; }
.search-box input::placeholder { color: #617c9c; }
.search-box kbd { padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: #7088a4; background: rgba(255,255,255,.03); font-size: .68rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.filter-chip { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #90a6bf; background: rgba(255,255,255,.025); cursor: pointer; transition: all 160ms ease; }
.filter-chip:hover, .filter-chip.active { border-color: rgba(78, 207, 255, 0.42); color: white; background: rgba(50, 173, 230, 0.12); }
.filter-chip span { margin-left: 6px; color: #5d7895; font-size: .68rem; }
.result-summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; color: #69829f; font-size: .78rem; }
.result-summary button, .empty-state button { border: 0; color: #72dbff; background: none; cursor: pointer; }

.knowledge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.knowledge-card { min-height: 330px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(150deg, rgba(10, 35, 69, .83), rgba(5, 21, 44, .8)); box-shadow: 0 16px 40px rgba(0, 7, 22, .18); animation: card-in 360ms ease both; animation-delay: calc(var(--card-order) * 24ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.confidence, .source-type { font-size: .67rem; }
.confidence { padding: 6px 9px; border-radius: 999px; }
.confidence-high { color: #62f0b0; background: rgba(62, 222, 150, .1); }
.confidence-medium_high { color: #72dfff; background: rgba(54, 192, 255, .1); }
.confidence-medium { color: #ffd381; background: rgba(255, 189, 75, .1); }
.confidence-low_medium { color: #ffac8c; background: rgba(255, 114, 77, .1); }
.source-type { color: #6f88a5; }
.knowledge-card h2 { margin: 24px 0 14px; font-size: 1.25rem; line-height: 1.35; }
.knowledge-text { margin: 0; color: #9caec4; font-size: .88rem; line-height: 1.8; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.card-tags span { padding: 5px 8px; border: 1px solid rgba(105, 166, 222, .13); border-radius: 7px; color: #7890aa; font-size: .64rem; background: rgba(255,255,255,.02); }
.card-footer { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.entry-id { color: #4f6783; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .65rem; }
.entry-identity { display: grid; gap: 5px; }
.entry-uploader { color: #6e8aa7; font-size: .65rem; }
.card-footer a { color: #6fdfff; font-size: .73rem; }
.empty-state { min-height: 360px; place-items: center; text-align: center; border: 1px dashed var(--line); border-radius: 22px; color: #7087a1; }
.empty-state:not([hidden]) { display: grid; align-content: center; }
.empty-state > span { font-size: 2.7rem; color: #4daed6; }
.empty-state h2 { margin: 14px 0 0; color: #d7e9f8; }
.empty-state p { margin: 8px 0 12px; }
.review-note { margin-top: 30px; padding: 28px; display: flex; gap: 18px; border: 1px solid rgba(255, 191, 89, .18); border-radius: 20px; background: rgba(95, 60, 13, .08); }
.review-note > div:first-child span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #ffc66e; background: rgba(255, 190, 82, .12); font-weight: 850; }
.review-note h2 { margin: 2px 0 8px; font-size: 1rem; }
.review-note p { margin: 0; color: #a89a82; font-size: .82rem; line-height: 1.75; }

/* Knowledge import */
.manage-main { padding-block: 78px 118px; }
.session-login { width: min(100%, 520px); margin: 4vh auto 8vh; padding: 42px; border: 1px solid var(--line); border-radius: 26px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(54, 190, 255, .15), transparent 42%), rgba(6, 25, 51, .82); box-shadow: var(--shadow); }
.login-mark { width: 58px; height: 58px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid rgba(100, 220, 255, .35); border-radius: 18px; color: white; background: linear-gradient(145deg, #174c78, #0a2447); font-weight: 850; }
.session-login .eyebrow { justify-content: center; }
.session-login h1 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.session-login > p:not(.eyebrow) { margin: 16px 0 28px; color: var(--muted); font-size: .86rem; line-height: 1.75; }
.session-login form { min-width: 0; display: grid; gap: 12px; text-align: left; }
.session-login label { color: #a8bad0; font-size: .76rem; font-weight: 700; }
.session-login input { width: 100%; min-width: 0; max-width: 100%; height: 58px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; outline: 0; color: white; background: rgba(1, 12, 29, .62); font-size: 1.5rem; letter-spacing: .45em; text-align: center; }
.session-login input:focus { border-color: rgba(73, 210, 255, .55); }
.session-login .button { width: 100%; min-width: 0; max-width: 100%; cursor: pointer; }
.session-user { width: fit-content; margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: #7892ae; background: rgba(255,255,255,.025); font-size: .7rem; }
.session-user strong { color: #bfeeff; }
.session-user button { padding: 5px 9px; border: 0; border-radius: 999px; color: #ffb0a4; background: rgba(255, 103, 83, .09); cursor: pointer; }
.manage-heading { display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: end; gap: 72px; }
.manage-heading h1 { margin: 0; font-size: clamp(2.8rem, 5.1vw, 5.2rem); line-height: 1.03; letter-spacing: -.06em; }
.manage-heading h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg, #fff 8%, #84e9ff 55%, #5f8fff); background-clip: text; -webkit-background-clip: text; }
.manage-heading > div:first-child > p:last-child { max-width: 700px; margin: 28px 0 0; color: var(--muted); line-height: 1.85; }
.workflow-card { padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px 14px; border: 1px solid var(--line); border-radius: 22px; background: rgba(8, 30, 60, .7); }
.workflow-card span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #70e2ff; background: rgba(64, 187, 238, .1); font-size: .67rem; font-weight: 800; }
.workflow-card p { margin: 4px 0 0; color: #a7bad0; font-size: .82rem; }
.import-layout { margin-top: 66px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 18px; align-items: start; }
.import-form, .task-panel { border: 1px solid var(--line); border-radius: 24px; background: rgba(6, 25, 51, .75); box-shadow: 0 22px 60px rgba(0, 7, 22, .18); }
.import-form { padding: 30px; }
.form-heading, .task-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.form-heading { justify-content: flex-start; }
.status-dot { width: 11px; height: 11px; display: block; border-radius: 50%; background: #58f2ac; box-shadow: 0 0 14px rgba(88, 242, 172, .7); }
.form-heading h2, .task-panel-heading h2 { margin: 0; font-size: 1.14rem; }
.form-heading p, .task-panel-heading p { margin: 5px 0 0; color: #6f87a3; font-size: .75rem; }
.drop-zone { min-height: 220px; margin-top: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; border: 1px dashed rgba(93, 199, 255, .32); border-radius: 18px; cursor: pointer; text-align: center; background: rgba(1, 14, 32, .42); transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: rgba(100, 225, 255, .75); background: rgba(34, 122, 181, .12); transform: translateY(-2px); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 14px; color: #7ce7ff; background: rgba(72, 190, 237, .12); font-size: 1.55rem; }
.drop-zone strong { font-size: .98rem; }
.drop-zone small { margin-top: 9px; color: #68829f; line-height: 1.6; }
.selected-files { margin-top: 12px; display: grid; gap: 8px; }
.selected-files div { padding: 11px 13px; display: flex; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 11px; color: #93abc4; background: rgba(255,255,255,.025); font-size: .72rem; }
.selected-files strong { overflow: hidden; color: #c7daec; text-overflow: ellipsis; white-space: nowrap; }
.field-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-top: 16px; display: grid; gap: 8px; }
.field-grid .form-field { margin-top: 0; }
.form-field > span { color: #a8bad0; font-size: .76rem; font-weight: 700; }
.form-field > span small { color: #5f7894; font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: none; color: white; background: rgba(1, 12, 29, .5); transition: border-color 160ms ease; }
.form-field input { height: 48px; padding: 0 13px; }
.form-field textarea { padding: 13px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field textarea:focus { border-color: rgba(73, 210, 255, .55); }
.confirm-row { margin-top: 20px; display: flex; align-items: flex-start; gap: 10px; color: #7f96b0; font-size: .74rem; line-height: 1.55; }
.confirm-row input { margin-top: 3px; accent-color: #4ecfff; }
.submit-import { width: 100%; margin-top: 22px; cursor: pointer; }
.submit-import:disabled { cursor: wait; opacity: .55; }
.form-message { min-height: 20px; margin: 12px 0 0; color: #7891ad; font-size: .74rem; }
.form-success { color: #61e4a4; }
.form-error { color: #ff9a8a; }
.task-panel { padding: 26px; }
.task-panel-heading button { border: 0; color: #6f8caa; background: none; cursor: pointer; font-size: .7rem; }
.task-list { margin-top: 22px; display: grid; gap: 11px; }
.task-empty { min-height: 240px; display: grid; place-items: center; align-content: center; text-align: center; border: 1px dashed var(--line); border-radius: 17px; color: #6b849f; }
.task-empty span { color: #4ea9d1; font-size: 2rem; }
.task-empty p { margin: 12px 0 4px; color: #a4b8cd; }
.task-empty small { font-size: .7rem; }
.task-card { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(2, 15, 34, .47); }
.task-topline, .task-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.task-topline strong { max-width: 68%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.task-topline span { padding: 5px 8px; border-radius: 999px; color: #70dcff; background: rgba(64, 184, 235, .1); font-size: .62rem; }
.task-failed .task-topline span, .task-dispatch_failed .task-topline span { color: #ff9c8e; background: rgba(255, 103, 83, .1); }
.task-card p { min-height: 34px; margin: 11px 0; color: #728ba7; font-size: .69rem; line-height: 1.55; }
.task-progress { height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.06); }
.task-progress i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #3a86ff, #57e2ff); transition: width 300ms ease; }
.task-footer { margin-top: 11px; }
.task-footer code { color: #536c88; font-size: .62rem; }
.task-footer a { color: #70dfff; font-size: .67rem; }
.manage-note { margin-top: 18px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 590px; }
  .visual-card { width: 500px; max-width: 78vw; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-main { grid-column: 1 / -1; }
  .project-callout { grid-template-columns: 1fr; gap: 22px; }
  .project-callout .button { justify-self: start; }
  .knowledge-hero { grid-template-columns: 1fr; }
  .knowledge-hero-card { max-width: 560px; }
  .manage-heading { grid-template-columns: 1fr; }
  .workflow-card { max-width: 560px; }
  .import-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 76px; }
  .brand { gap: 9px; }
  .brand-logo { width: 59px; height: 19px; }
  nav { gap: 14px; }
  nav a:not(.nav-pill):not([aria-current="page"]) { display: none; }
  .nav-pill { padding: 8px 12px; }
  .hero { min-height: auto; padding-block: 54px 70px; }
  .hero h1, .knowledge-hero h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .hero-lead { font-size: .94rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-meta div { min-width: 0; padding-right: 12px; margin-right: 12px; }
  .hero-meta strong { font-size: .9rem; }
  .hero-visual { min-height: 440px; }
  .visual-card { max-width: 92vw; border-radius: 32% 32% 20px 20px; }
  .signal-orbit { transform: scale(.72); }
  .floating-chip { font-size: .65rem; }
  .chip-top { top: 24px; left: 0; }
  .chip-bottom { right: 0; bottom: 38px; }
  .trust-row { flex-wrap: wrap; justify-content: center; padding-block: 18px; }
  .trust-row i { display: none; }
  .section { padding-block: 82px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-main { grid-column: auto; }
  .project-callout { margin-bottom: 70px; padding: 38px 24px; }
  .site-footer { padding-block: 28px; flex-direction: column; text-align: center; }
  .knowledge-main { padding-block: 52px 80px; }
  .knowledge-hero-card { height: 240px; }
  .knowledge-toolbar { margin-top: 48px; padding: 14px; }
  .search-box kbd { display: none; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 300px; padding: 23px; }
  .manage-main { padding-block: 52px 80px; }
  .session-login { padding: 30px 22px; }
  .manage-heading h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .import-layout { margin-top: 46px; }
  .import-form, .task-panel { padding: 21px; }
  .field-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
