/* Account surfaces only; no rules target Explorer or the destination process. */
.atlas-space-page *{box-sizing:border-box}.atlas-space-page{margin:0}.atlas-space-page :is(a,button):focus-visible{outline:2px solid #b38a48;outline-offset:4px}.space-main{width:calc(100% - 80px);max-width:1120px;margin:0 auto;padding:48px 0 56px}.space-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.space-heading h1{font:750 40px/1.2 var(--atlas-font,Manrope,sans-serif);letter-spacing:-.04em;margin:8px 0 12px}.space-heading p{margin:0;color:#59636a;font-size:15px;line-height:1.7}.space-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:650;color:#7b5d2f;line-height:1.6}.space-welcome{display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;border:1px solid #e1e5eb;border-radius:16px;background:#f7f8fa}.space-welcome-copy{padding:42px}.space-welcome h2{font:750 32px/1.23 var(--atlas-font,Manrope,sans-serif);letter-spacing:-.04em;margin:15px 0 18px}.space-welcome-copy>p{font-size:14px;line-height:1.85;max-width:40ch;color:#59636a}.space-welcome>img{display:block;width:100%;height:100%;min-height:355px;object-fit:cover;object-position:62% center}.space-actions{display:flex;gap:12px;flex-wrap:wrap;margin:27px 0 20px}.space-primary,.space-secondary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:11px 18px;border:1px solid #17243b;border-radius:9px;background:#17243b;color:white;text-decoration:none;font-size:12px;font-weight:650;line-height:1.5}.space-primary:hover{background:#263e59}.space-secondary{background:#fff;border-color:#d4dbe4;color:#17243b}.space-secondary:hover{border-color:#b38a48}.space-note{font-size:11px!important;line-height:1.7!important;color:#69727e!important;margin-top:18px!important}.space-text-button{font:500 12px var(--atlas-font,Manrope,sans-serif);color:#59636a;background:none;border:0;min-height:44px;padding:7px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.space-status{padding:16px 18px;background:#f2f4f6;border-radius:9px;font-size:13px;line-height:1.6;margin-bottom:18px;color:#59636a}.space-status[data-tone=error]{background:#fff4eb;color:#723f29}.space-project{display:grid;grid-template-columns:.8fr 1.2fr;overflow:hidden;border:1px solid #e1e5eb;border-radius:14px;background:white}.space-project>img{width:100%;height:100%;object-fit:cover;min-height:300px}.space-project-content{padding:32px}.space-project h2,.space-empty h2{font-size:26px;line-height:1.3;letter-spacing:-.035em;margin:10px 0 16px}.space-project-content>p,.space-empty p{font-size:14px;line-height:1.75;color:#59636a}.space-progress{display:flex;align-items:center;gap:14px;margin:23px 0;color:#17243b;font-size:12px}.space-progress progress{appearance:none;-webkit-appearance:none;width:100%;height:6px;border:0;border-radius:10px;background:#e8ecf1}.space-progress progress::-webkit-progress-bar{background:#e8ecf1;border-radius:10px}.space-progress progress::-webkit-progress-value{background:#b38a48;border-radius:10px}.space-progress progress::-moz-progress-bar{background:#b38a48;border-radius:10px}.space-progress span{white-space:nowrap}.space-empty{border:1px solid #e1e5eb;border-radius:14px;padding:34px;background:#f7f8fa;max-width:780px}.space-empty p{max-width:58ch;margin:0 0 24px}.space-arrival{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #e1e5eb;border-radius:12px;padding:25px;margin-top:24px}.space-arrival h2{font-size:22px;margin:7px 0}.space-arrival p{font-size:13px;color:#59636a}.space-resources{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:38px;padding-top:24px;border-top:1px solid #e1e5eb}.space-resources>a{display:flex;align-items:center;gap:18px;text-decoration:none;color:#17243b;min-height:64px}.space-resources>a>span{font-size:10px;color:#9a753b}.space-resources h2{font-size:14px;margin:0 0 5px}.space-resources p{font-size:12px;color:#59636a;margin:0}.space-resources b{margin-left:auto;font-weight:400}.space-footer{width:calc(100% - 80px);max-width:1120px;margin:0 auto;padding:24px 0;border-top:1px solid #e1e5eb;display:flex;justify-content:space-between;gap:20px;color:#69727e;font-size:11px}.space-footer nav{display:flex;gap:24px}.space-footer a{color:inherit;text-decoration:none}.space-skip{position:absolute;top:-70px;left:16px;z-index:100;background:white;color:#17243b;padding:14px}.space-skip:focus{top:8px}
body.atlas-unified.auth-dark-page,body.atlas-unified.workspace-focus-page{background:#fff;color:#17243b}.atlas-unified.auth-dark-page .login-form-shell{border-color:#e1e5eb;box-shadow:none;background:#f7f8fa}.atlas-unified.auth-dark-page #authSubmit{background:#17243b;color:#fff;border-color:#17243b}.atlas-unified.auth-dark-page .auth-modes button[aria-pressed=true]{background:#17243b;color:white}.atlas-unified.auth-dark-page .login-copy h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.35)}.atlas-account-signout{text-align:right;margin:24px auto;max-width:1120px}.atlas-account-signout button{min-height:44px;background:none;border:0;color:#59636a;text-decoration:underline;cursor:pointer;font:inherit}
@media(max-width:760px){.space-main{width:calc(100% - 40px);padding-top:30px}.space-heading{align-items:flex-start;margin-bottom:25px}.space-heading h1{font-size:32px}.space-heading p{font-size:14px}.space-welcome,.space-project{grid-template-columns:1fr}.space-welcome-copy{padding:27px}.space-welcome h2{font-size:28px}.space-welcome>img{height:180px;min-height:0;order:-1;object-position:center 56%}.space-project>img{height:175px;min-height:0}.space-project-content{padding:26px}.space-resources{grid-template-columns:1fr;gap:12px;margin-top:28px}.space-arrival{display:block;padding:23px}.space-arrival .space-secondary{margin-top:10px}.space-footer{width:calc(100% - 40px);flex-wrap:wrap}.space-footer nav{gap:18px}.space-empty{padding:26px}.space-actions{flex-direction:column;margin-top:22px;gap:10px}.space-actions a{width:100%}}
@media(max-width:359px){.space-main,.space-footer{width:calc(100% - 32px)}.space-welcome-copy,.space-project-content{padding:23px}.space-heading h1{font-size:30px}}


/* Managed account home — trips are the primary product. */
.atlas-space-page{
  background:
    radial-gradient(900px 420px at 50% -180px,rgba(36,55,82,.07),transparent 70%),
    #f8f9fa;
  color:#111c2f;
}
.atlas-space-page .space-main{padding-top:54px}
.atlas-space-page .space-heading{margin-bottom:26px}
.atlas-space-page .space-heading h1{font-size:44px;letter-spacing:-.05em;color:#111c2f}
.atlas-space-page .space-heading p{font-size:14px;color:#707b8b}

.space-trips{
  margin:0 0 28px;
  padding:30px;
  border:1px solid #e5e8ec;
  border-radius:22px;
  background:#fff;
  box-shadow:0 20px 54px rgba(20,29,44,.075),0 2px 8px rgba(20,29,44,.025);
}
.space-trips .space-section-heading{margin-bottom:22px}
.space-trips .space-section-heading h2{
  margin:5px 0 5px;
  font-size:28px;
  letter-spacing:-.045em;
  color:#111c2f;
}
.space-trips .space-section-heading p{font-size:12px;color:#7a8593}
.space-trips .space-new{
  border:1px solid #dfe4e9;
  background:#fff;
  color:#1d2b40;
  box-shadow:0 5px 16px rgba(20,29,44,.04);
}
.space-trips .space-new:hover{border-color:#bd9b64;background:#fdfcf9}

.space-trips .space-orders-list{gap:12px}
.space-trip-card{
  position:relative;
  min-height:78px;
  padding:18px 20px;
  border:1px solid #e7eaee;
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 20px rgba(20,29,44,.035);
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.space-trip-card:before{
  content:"";
  position:absolute;
  left:0;top:18px;bottom:18px;
  width:3px;border-radius:0 3px 3px 0;
  background:#b18a4f;
}
.space-trip-card:hover{
  transform:translateY(-1px);
  border-color:#dce1e6;
  box-shadow:0 13px 30px rgba(20,29,44,.065);
}
.space-trip-copy{padding-left:5px}
.space-trip-card strong{font-size:15px;letter-spacing:-.015em;color:#17243b}
.space-trip-card small{margin-top:5px;font-size:11px;color:#7a8592}
.space-trip-meta{gap:14px}
.space-trip-open{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 10px;
  border-radius:9px;
  background:#17243b;
  color:#fff;
  font-size:10px;
  font-weight:750;
}
.space-trip-card .space-order-pill{
  padding:6px 9px;
  background:#fbf1da;
  color:#805918;
  font-size:9px;
}
.space-trip-card .space-order-pill[data-status=ready_for_atlas],
.space-trip-card .space-order-pill[data-status=in_review],
.space-trip-card .space-order-pill[data-status=processing],
.space-trip-card .space-order-pill[data-status=completed]{
  background:#eaf5ee;
  color:#2f6947;
}
.space-trip-card .space-order-pill[data-status=action_required]{
  background:#fff0ed;
  color:#934137;
}
.space-trip-card .space-order-pill[data-status=cancelled]{
  background:#eef1f4;
  color:#697583;
}

.atlas-space-page .space-empty{
  max-width:none;
  margin:0 0 28px;
  padding:34px 36px;
  border:1px solid #e5e8ec;
  border-radius:20px;
  background:#fff;
  box-shadow:0 16px 40px rgba(20,29,44,.055);
}
.atlas-space-page .space-empty h2{font-size:25px;margin-bottom:8px}
.atlas-space-page .space-empty p{font-size:13px}

.atlas-space-page #atlasOrders{
  margin-top:28px;
  box-shadow:0 10px 30px rgba(20,29,44,.035);
}
.atlas-space-page .space-resource-cards{margin-top:30px}

@media(max-width:760px){
  .atlas-space-page .space-main{width:calc(100% - 28px);padding-top:30px}
  .atlas-space-page .space-heading h1{font-size:36px}
  .space-trips{padding:20px;border-radius:18px}
  .space-trips .space-section-heading{display:grid;gap:14px}
  .space-trips .space-section-heading h2{font-size:25px}
  .space-trips .space-new{width:100%}
  .space-trip-card{grid-template-columns:1fr;gap:13px;padding:17px}
  .space-trip-meta{justify-content:space-between}
  .space-trip-open{margin-left:auto}
  .atlas-space-page .space-empty{padding:26px 23px}
}
@media(prefers-reduced-motion:reduce){
  .space-trip-card{transition:none}
  .space-trip-card:hover{transform:none}
}


/* Final account simplification — one trips heading, whole-card navigation, four clear statuses. */
.space-trips .space-section-heading{margin-bottom:18px}
.space-trips .space-section-heading h2{margin:0;font-size:28px}
.space-trip-card{grid-template-columns:minmax(0,1fr) auto;padding-right:48px}
.space-trip-card::after{
  content:"›";
  position:absolute;
  right:19px;
  top:50%;
  transform:translateY(-50%);
  color:#8a94a1;
  font-size:24px;
  font-weight:400;
  transition:transform .15s ease,color .15s ease;
}
.space-trip-card:hover::after{transform:translate(2px,-50%);color:#17243b}
.space-trip-meta{gap:0}
.space-trip-open{display:none!important}

.space-trip-card .space-order-pill{
  position:relative;
  padding:6px 10px 6px 22px;
  font-size:9px;
  font-weight:760;
}
.space-trip-card .space-order-pill::before{
  content:"";
  position:absolute;
  left:9px;
  top:50%;
  width:6px;
  height:6px;
  border-radius:50%;
  transform:translateY(-50%);
  background:currentColor;
}
.space-trip-card .space-order-pill[data-status=collecting_info],
.space-trip-card .space-order-pill[data-status=collecting_documents],
.space-trip-card .space-order-pill[data-status=action_required]{
  background:#fff3df;
  color:#8a5a18;
}
.space-trip-card .space-order-pill[data-status=ready_for_atlas],
.space-trip-card .space-order-pill[data-status=in_review],
.space-trip-card .space-order-pill[data-status=processing]{
  background:#eef3fb;
  color:#45658e;
}
.space-trip-card .space-order-pill[data-status=completed]{
  background:#eaf5ee;
  color:#2f6947;
}
.space-trip-card .space-order-pill[data-status=cancelled]{
  background:#eef1f4;
  color:#697583;
}
.atlas-space-page .space-resource-cards{display:none!important}

@media(max-width:760px){
  .space-trip-card{grid-template-columns:1fr auto;gap:10px;padding-right:42px}
  .space-trip-meta{justify-content:flex-end}
  .space-trip-card::after{right:15px}
}
@media(prefers-reduced-motion:reduce){
  .space-trip-card::after{transition:none}
  .space-trip-card:hover::after{transform:translateY(-50%)}
}


/* Account cleanup: menu owns sign-out, footer stays at page bottom, chevron joins layout. */
.atlas-space-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.atlas-space-page .aa-header{flex:none}
.atlas-space-page .space-main{
  flex:1 0 auto;
}
.atlas-space-page .space-heading{
  align-items:flex-start;
  margin-bottom:28px;
}
.atlas-space-page .space-heading h1{
  margin-top:0;
}

.space-trip-card{
  padding-right:20px;
}
.space-trip-card::after{
  content:none!important;
}
.space-trip-meta{
  display:flex;
  align-items:center;
  gap:14px;
}
.space-trip-chevron{
  display:grid;
  place-items:center;
  flex:none;
  width:28px;
  height:28px;
  border-radius:50%;
  color:#7f8a97;
  font-size:22px;
  line-height:1;
  transition:transform .15s ease,color .15s ease,background .15s ease;
}
.space-trip-card:hover .space-trip-chevron{
  transform:translateX(2px);
  color:#17243b;
  background:#f0f2f5;
}

.space-footer{
  flex:none;
  width:100%;
  max-width:none;
  margin-top:auto;
  padding:0;
  border:0;
  background:#111c2e;
  color:#aeb8c7;
}
.space-footer-inner{
  width:calc(100% - 80px);
  max-width:1280px;
  min-height:112px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
}
.space-footer-brand{
  display:inline-flex;
  align-items:baseline;
  gap:4px;
  color:#fff!important;
  text-decoration:none;
  font-size:15px;
  font-weight:850;
  letter-spacing:.08em;
}
.space-footer-brand small{
  color:#c7a66e;
  font-size:9px;
  letter-spacing:.12em;
}
.space-footer-copy{
  color:#778396;
  font-size:10px;
}
.space-footer nav{
  display:flex;
  align-items:center;
  gap:24px;
}
.space-footer nav a{
  color:#aeb8c7;
  font-size:10px;
  text-decoration:none;
  transition:color .15s ease;
}
.space-footer nav a:hover{color:#fff}

@media(max-width:760px){
  .space-trip-card{
    grid-template-columns:minmax(0,1fr) auto;
    padding-right:15px;
  }
  .space-trip-meta{gap:9px}
  .space-trip-chevron{width:25px;height:25px;font-size:20px}
  .space-footer-inner{
    width:calc(100% - 32px);
    min-height:0;
    padding:28px 0;
    grid-template-columns:1fr;
    gap:16px;
  }
  .space-footer-copy{order:3}
  .space-footer nav{flex-wrap:wrap;gap:14px 20px}
}
@media(prefers-reduced-motion:reduce){
  .space-trip-chevron,.space-footer nav a{transition:none}
  .space-trip-card:hover .space-trip-chevron{transform:none}
}


/* Footer lives after the primary screen, not inside the initial viewport. */
.atlas-space-page{
  display:block;
  min-height:100vh;
  min-height:100dvh;
}
.atlas-space-page .space-main{
  min-height:calc(100vh - 82px);
  min-height:calc(100dvh - 82px);
  display:block;
}
.atlas-space-page .space-footer{
  width:100%;
  max-width:none;
  margin:0;
}
@media(max-width:760px){
  .atlas-space-page .space-main{
    min-height:calc(100vh - 96px);
    min-height:calc(100dvh - 96px);
  }
}


/* Reuse the former Explorer horizon visual in the account footer. */
.atlas-space-page .space-footer{
  background:
    linear-gradient(90deg,rgba(10,18,31,.96) 0%,rgba(14,25,43,.86) 48%,rgba(15,28,47,.58) 100%),
    url('assets/explorer/editorial/earth-horizon.webp') center 42% / cover no-repeat;
  color:#d6dce5;
}
.atlas-space-page .space-footer-inner{
  min-height:148px;
}
.atlas-space-page .space-footer-copy{color:#96a2b3}
.atlas-space-page .space-footer nav a{color:#c4ccd7}
@media(max-width:760px){
  .atlas-space-page .space-footer-inner{min-height:0;padding:34px 0}
}
