
:root {
  --ink: #17292f;
  --paper: #f4f3ec;
  --accent: #fa8248;
  --rule: #c7cdc5;
  --surface: #fafaf5;
  --muted: #4c605e;
  --mono: Consolas, "Microsoft YaHei", monospace;
}
body:not(.atlas-fast) {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Microsoft YaHei", sans-serif;
}
body :focus-visible { outline: 2px solid #a84923; outline-offset: 3px; }
.atlas-home, .atlas-intro, .atlas-workspace .main-content, .atlas-login-grid,
.atlas-manual-grid, .atlas-result > .site-fluid {
  width: min(1440px, 94%);
  margin-inline: auto;
}
.atlas-intro { box-sizing: border-box; border-bottom: 1px solid var(--rule); padding: 26px 0 20px; margin-bottom: 20px; }
.atlas-intro h1 { margin: 8px 0 0; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.2; letter-spacing: -.035em; }
.atlas-eyebrow, .atlas-home :is(.ey, .mono, figcaption) { font: 13px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.atlas-eyebrow { color: var(--muted); }
.atlas-eyebrow::before, .atlas-home .ey::before {
  content: ""; display: inline-block; vertical-align: middle; margin-right: 10px;
  width: 24px; height: 2px; background: var(--accent);
}
body > header { background: var(--paper); color: var(--ink); padding: 0; }
body > header .navbar { width: min(1440px, 94%); max-width: none; box-sizing: border-box; padding: 17px 0; margin: auto; gap: 16px; display: flex; align-items: center; justify-content: space-between; }
.atlas-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font: bold 24px/1 Arial, sans-serif; letter-spacing: -1px; text-decoration: none; white-space: nowrap; }
.atlas-brand span { display: grid; place-items: center; width: 36px; height: 36px; background: var(--ink); color: var(--accent); transform: skew(-9deg); font: bold italic 25px Georgia, serif; }
.atlas-brand small { border-left: 1px solid var(--rule); padding-left: 10px; color: var(--muted); font: 13px var(--mono); letter-spacing: 0; }
.navbar .nav-links a, .navbar .auth-module span, .atlas-header nav > a { color: var(--ink); }
.navbar .nav-links a:hover { background: transparent; color: #a84923; }
.navbar .auth-module a { color: white; background: var(--ink); border-radius: 0; }
.navbar .auth-module a:hover { background: #334b53; }
.atlas-home { margin-bottom: 36px; }
.atlas-home a { text-decoration: none; color: inherit; }
.atlas-home .btn { display: inline-block; padding: 11px 19px; font-weight: 650; }
.atlas-home .btn.hot { background: var(--accent); color: var(--ink); }
.atlas-home .hero h1 { font-weight: 750; }
.atlas-home .hero figcaption { font-size: 13px; }
.atlas-home .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.atlas-home .card { box-sizing: border-box; border-inline: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.atlas-home .card h3 { font-size: 21px; }
.atlas-home .card p { color: var(--muted); }
.atlas-workspace .main-content { align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.atlas-workspace .sidebar { box-sizing: border-box; flex: 0 0 clamp(185px, 22%, 285px); border: 1px solid var(--rule); background: var(--surface); box-shadow: none; }
.atlas-workspace .sidebar li { text-align: left; margin: 0; }
.atlas-workspace .sidebar a { padding: 11px 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.atlas-workspace .sidebar a:is(:hover, [aria-current]) { background: transparent; color: #9c3d17; font-weight: 650; }
.atlas-workspace .content-area { min-width: 0; box-sizing: border-box; background: var(--surface); border: 1px solid var(--rule); align-content: start; }
.atlas-workspace .content-area #content1 > div:first-child { width: 100% !important; max-width: none !important; }
.atlas-workspace :is(.title-table, .project-table) { width: 100%; max-width: none; box-shadow: none; }
.atlas-workspace .project-table :is(th, td), .atlas-result .site-table :is(th, td) { padding: 10px 12px; border-color: var(--rule); }
.atlas-workspace .project-table th, .atlas-result .site-table th { background: #e8ece4; }
.atlas-workspace :is(#back, #backtolist, .project-link, .title-table a, #folders a) { color: #275862; }
.atlas-project .atlas-project-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding-inline: 14px;
  border: 1px solid var(--rule);
  background: var(--surface);
  font-weight: 600;
}
.atlas-project .atlas-project-back:hover { background: #e8ece4; }
.atlas-project .atlas-project-name { margin-bottom: 10px; }
.atlas-workspace .quick-wind-launch { border-radius: 0; background: var(--accent); color: var(--ink); }
.atlas-workspace .quick-wind-launch:hover { background: #f79a6d; color: var(--ink); }
.atlas-workspace .button { width: auto; min-width: 100px; padding-inline: 10px; margin: 4px 4px 4px 0; }
.atlas-workspace .button:not(.disabled):not(:disabled) { background: var(--ink); color: white; }
.atlas-workspace .button:is(#start, #upmodel):not(.disabled):not(:disabled) { background: var(--accent); color: var(--ink); }
:is(.atlas-workspace, .atlas-result) .site-btn:not(.site-btn-danger):not(.site-btn-disabled) { background: #31535b; }
:is(.atlas-workspace, .atlas-result) .site-dialog-bar { background: #e8ece4; color: var(--ink); }
.atlas-result .site-card { border: 1px solid var(--rule); background: var(--surface); box-shadow: none; }
.atlas-result .site-card-header { border-color: var(--rule); }
.atlas-login { height: auto; min-height: 100vh; display: block; }
.atlas-login-grid { display: grid; grid-template-columns: 1.2fr 1fr; margin-block: 24px; }
.atlas-login-scene { color: white; background: #15262e; padding: clamp(20px, 4vw, 56px); }
.atlas-login-scene h1 { font-size: clamp(30px, 4vw, 60px); line-height: 1.16; margin: 14px 0 0; }
.atlas-login-scene .atlas-eyebrow { color: #bbc9c7; }
.atlas-login-scene img { width: 100%; display: block; }
.atlas-login .login-page { max-width: none; border: 1px solid var(--rule); border-radius: 0; box-shadow: none; display: grid; place-items: center; background: var(--surface); padding: clamp(20px, 4vw, 56px); }
.atlas-login .login-container { width: min(100%, 420px); }
.atlas-login .login-button { color: var(--ink); background: var(--accent); border-radius: 0; width: 100%; margin-top: 18px; }
.atlas-login .form-group input { border-radius: 0; border-color: var(--rule); }
.atlas-manual-grid { display: grid; grid-template-columns: minmax(200px, 255px) minmax(0, 1fr); gap: 16px; align-items: start; }
.atlas-manual #titles { position: static; width: auto; height: auto; margin: 0; border: 1px solid var(--rule); background: var(--surface); }
.atlas-manual #titles :is(li, dd) { background: transparent; }
.atlas-manual #titles a { color: var(--ink); }
.atlas-manual #helpcontent { margin: 0 !important; min-width: 0; padding: 20px; border: 1px solid var(--rule); background: var(--surface); }
.atlas-manual #helpcontent img { max-width: 100%; }
.atlas-viewer #waitcount { background: #17292f !important; border-left: 4px solid var(--accent); }
.atlas-error #error { margin-inline: auto; color: var(--ink); background: var(--surface); }
.atlas-fast { --ink: #17292f; --muted: #4c605e; --accent: #a84923; --border: #c7cdc5; }
.atlas-fast .settings { background: var(--paper); }
.atlas-fast .viewport { background: radial-gradient(ellipse at 55% 35%, #29434d, #15262e 76%); }
.atlas-fast #calculate { background: var(--accent-orange, #fa8248); color: var(--ink); }
.atlas-fast .drop, .atlas-fast .profile { border-radius: 2px; }
.atlas-home .hero { position:relative; overflow:hidden; background-color:#15262e; background-image:linear-gradient(#8394a30d 1px,transparent 1px),linear-gradient(90deg,#8394a30d 1px,transparent 1px); background-size:34px 34px; color:#eef2ed }
.atlas-home .hero { display:grid; grid-template-columns:43% 57%; align-items:center; padding:32px 3.8%; min-height:460px }
.atlas-home .hero .copy { position:relative; z-index:1 }
.atlas-home .ey { color:#5a6c68; text-transform:uppercase }
.atlas-home .hero .ey { color:#a3bbb9 }
.atlas-home .ey:before { content:''; display:inline-block; vertical-align:middle; width:24px; height:2px; background:var(--accent); margin-right:10px }
.atlas-home .hero h1 { font-size:clamp(48px,5.1vw,84px); letter-spacing:-.055em; line-height:1.13; margin:24px 0 16px }
.atlas-home .hero h1 em { font-style:normal; color:var(--accent) }
.atlas-home p { color:#4c605e }
.atlas-home .hero p { color:#c2d0ce; max-width:34em }
.atlas-home .hero .btn { margin-top:12px }
.atlas-home .hero figure { margin:0; min-width:0 }
.atlas-home .art { width:100%; display:block }
.atlas-home .hero figcaption { display:flex; align-items:center; gap:12px; color:#c4d5d5; justify-content:center }
.atlas-home .scale { display:inline-block; height:5px; width:95px; background:linear-gradient(90deg,#71c4ce,#d8d0a1,#fb824c) }
.atlas-home .sectionhead { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin:32px 0 16px }
.atlas-home h1, .atlas-home h2, .atlas-home h3 { line-height:1.25; margin:0 }
.atlas-home h1 { font-size:clamp(34px,4vw,64px); letter-spacing:-.05em }
.atlas-home h2 { font-size:clamp(23px,2.5vw,36px); letter-spacing:-.035em }
.atlas-home h3 { font-size:21px }
.atlas-home .grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px }
.atlas-home .card, .atlas-home .box, .atlas-home article, .atlas-home aside { border:1px solid var(--rule); padding:24px; background:#fafaf5 }
.atlas-home .card { display:block; border-top:3px solid var(--ink) }
.atlas-home .card:hover { border-top-color:var(--accent); background:#fff }
.atlas-home .card h3 { margin:18px 0 6px }
.atlas-home .card p { margin:0 }
.atlas-home .glyph { width:100%; height:58px; display:block; color:#506b6d }

.atlas-home .art { width: 100%; display: block; }
.atlas-home .scale { display: inline-block; width: 95px; height: 5px; background: linear-gradient(90deg, #71c4ce, #d8d0a1, #fa8248); }
.atlas-home .quick-wind-panel { padding: 24px; border: 1px solid var(--rule); background: var(--surface); }
.atlas-home #community { scroll-margin-top: 24px; }
.atlas-home .community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.atlas-home .community-card {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  margin: 0;
  padding: clamp(14px, 2.3vw, 28px);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  background: var(--surface);
}
.atlas-home .community-card img {
  box-sizing: border-box;
  display: block;
  width: clamp(112px, 30vw, 176px);
  height: auto;
  padding: 6px;
  background: #fff;
}
.atlas-home .community-card figcaption {
  font: inherit;
  letter-spacing: normal;
}
.atlas-home .community-card p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 800px) {
  .atlas-home .community-grid { grid-template-columns: 1fr; }
  body > header .navbar { flex-wrap: wrap; }
  body > header .navbar :is(.nav-links, .auth-module) { flex-direction: row; width: auto; margin: 0; }
  .navbar .nav-links li { margin: 0; }
  .atlas-home .hero, .atlas-login-grid, .atlas-manual-grid { grid-template-columns: 1fr; }
  .atlas-home .hero { min-height: 0; }
  .atlas-workspace .main-content { flex-direction: column; }
  .atlas-workspace :is(.sidebar, .content-area) { width: 100%; flex: auto; }
  .atlas-workspace .content-area { overflow: auto; }
}
@media (max-width: 560px) {
  .atlas-home .grid { grid-template-columns: 1fr; }
  .atlas-brand small { display: none; }
  .atlas-workspace .project-table { min-width: 450px; }
}
