body.palantir-login .login-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

body.palantir-login .login-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

body.palantir-login .login-field input {
  box-sizing: border-box;
  width: 100%;
}
/* AI Atlas workspace layer: MTS red, graphite and cool paper. */
@media screen {
  body.palantir-app:not([data-export]) {
    --atlas-red:#e30613; --atlas-red-dark:#b80510; --atlas-paper:#f5f6f8;
    --atlas-ink:#181a1f; --atlas-muted:#68707b; --atlas-line:#dfe3e8;
    background:var(--atlas-paper);
  }
  body.palantir-app:not([data-export]) .navbar {
    background:rgba(255,255,255,.9); border-bottom-color:var(--atlas-line);
  }
  body.palantir-app:not([data-export]) .nav-brand::before {
    content:""; display:inline-block; width:10px; height:10px; margin-right:8px;
    border-radius:50%; background:var(--atlas-red); vertical-align:1px;
  }
  body.palantir-app:not([data-export]) .nav-links>a.active,
  body.palantir-app:not([data-export]) .nav-dropdown-toggle.active { background:var(--atlas-ink); }
  body.palantir-app:not([data-export]) .container { padding-top:42px; }
  body.palantir-app:not([data-export]) .btn-primary,
  body.palantir-app:not([data-export]) .btn-accent,
  body.palantir-app:not([data-export]) .btn-success,
  body.palantir-app:not([data-export]) .login-btn { background:var(--atlas-red); border-color:var(--atlas-red); }
  body.palantir-app:not([data-export]) .btn-primary:hover,
  body.palantir-app:not([data-export]) .login-btn:hover { background:var(--atlas-red-dark); }
  .atlas-kicker { color:var(--atlas-red); font-size:11px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
  .atlas-hero { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:30px; }
  .atlas-hero h1 { margin:7px 0 9px; max-width:760px; }
  .atlas-hero p { max-width:650px; margin:0; color:var(--atlas-muted); font-size:15px; }
  .atlas-user-chip { display:flex; align-items:center; gap:10px; padding:9px 12px; border:1px solid var(--atlas-line); border-radius:999px; background:#fff; color:var(--atlas-muted); font-size:12px; white-space:nowrap; }
  .atlas-avatar { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#feecef; color:var(--atlas-red); font-weight:700; }
  .atlas-section-label { display:flex; justify-content:space-between; align-items:center; margin:28px 0 12px; }
  .atlas-section-label h2 { margin:0; color:var(--atlas-ink); font-size:13px; }
  .atlas-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
  .atlas-service { min-height:250px; padding:22px; border:1px solid var(--atlas-line); border-radius:20px; background:#fff; text-decoration:none; box-shadow:0 6px 20px rgba(24,26,31,.04); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
  .atlas-service:hover { transform:translateY(-3px); border-color:#c7ccd3; box-shadow:0 16px 34px rgba(24,26,31,.09); }
  .atlas-service-mark { width:34px; height:4px; margin-bottom:25px; background:var(--atlas-red); }
  .atlas-service:nth-child(2) .atlas-service-mark { background:#7c838c; }
  .atlas-service:nth-child(3) .atlas-service-mark { background:#139b59; }
  .atlas-service h3 { margin:0 0 6px; color:var(--atlas-ink); font:700 21px "PalantirWide",system-ui,sans-serif; letter-spacing:-.035em; }
  .atlas-service p { margin:0; color:var(--atlas-muted); font-size:13px; line-height:1.6; }
  .atlas-service-foot { display:flex; align-items:center; justify-content:space-between; margin-top:25px; color:var(--atlas-muted); font-size:11px; font-weight:700; }
  .atlas-arrow { color:var(--atlas-red); font-size:18px; }
  .atlas-utility-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:16px; margin-top:16px; }
  .atlas-command-card { padding:22px; border-radius:20px; background:var(--atlas-ink); color:#fff; }
  .atlas-command-card h2 { margin:0 0 5px; color:#fff; font-size:18px; text-transform:none; letter-spacing:-.02em; }
  .atlas-command-card p { margin:0 0 14px; color:#b8bec7; font-size:13px; }
  .atlas-command-form { display:flex; gap:8px; }
  .atlas-command-form input { flex:1; min-width:0; min-height:42px; padding:0 13px; border:1px solid #434750; border-radius:11px; background:#282b32; color:#fff; }
  .atlas-command-form input::placeholder { color:#8d939d; }
  .atlas-command-form button { border:0; border-radius:11px; padding:0 15px; background:var(--atlas-red); color:#fff; font-weight:700; cursor:pointer; }
  .atlas-command-result { min-height:18px; margin-top:10px; color:#d7dbe0; font-size:12px; }
  .atlas-status-card { padding:22px; border:1px solid var(--atlas-line); border-radius:20px; background:#fff; }
  .atlas-status-card h2 { margin:0 0 16px; color:var(--atlas-ink); font-size:13px; }
  .atlas-status-line { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid #eef0f2; font-size:13px; }
  .atlas-status-line:last-child { border:0; }
  .atlas-dot { color:#16804a; font-size:11px; }
  .atlas-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:180px; gap:7px; color:var(--atlas-muted); text-align:center; }
  .atlas-empty strong { color:var(--atlas-ink); font-size:15px; }
  .atlas-empty span { font-size:13px; }
  .atlas-tour { position:fixed; inset:0; z-index:10000; display:grid; place-items:center; padding:20px; background:rgba(18,20,25,.44); backdrop-filter:blur(5px); }
  .atlas-tour[hidden] { display:none; }
  .atlas-tour-card { width:min(470px,100%); padding:30px; border-radius:22px; background:#fff; box-shadow:0 28px 80px rgba(0,0,0,.22); animation:atlas-rise .3s ease both; }
  .atlas-tour-step { color:var(--atlas-red); font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
  .atlas-tour-card h2 { margin:10px 0 8px; color:var(--atlas-ink); font-size:26px; text-transform:none; letter-spacing:-.04em; }
  .atlas-tour-card p { color:var(--atlas-muted); line-height:1.65; }
  .atlas-tour-actions { display:flex; justify-content:space-between; align-items:center; margin-top:24px; }
  .atlas-tour-skip { border:0; background:none; color:var(--atlas-muted); cursor:pointer; }
  @keyframes atlas-rise { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
  @media (max-width:760px) { .atlas-hero{display:block}.atlas-user-chip{margin-top:18px;width:max-content}.atlas-service-grid,.atlas-utility-grid{grid-template-columns:1fr}.atlas-service{min-height:0}.atlas-command-form{display:block}.atlas-command-form button{width:100%;height:42px;margin-top:8px} }
  @media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.001ms!important; transition-duration:.001ms!important; scroll-behavior:auto!important; } }
}