/* Shared public page width for Marketing Coupons. */
@media screen {
  html:root > body,
  html:root[data-mc57-ready] > body {
    box-sizing: border-box;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 1161px) {
  html:root,
  html:root[data-mc57-ready] {
    width: auto;
    max-width: none;
    margin-inline: 0;
    background: #e5e1d7;
  }
  html:root > body,
  html:root[data-mc57-ready] > body {
    min-height: 100vh;
    background-color: #f7f5ef;
    box-shadow: 0 0 0 1px rgb(70 61 43 / 12%), 0 0 28px rgb(70 61 43 / 8%);
  }
}

/* Keep the three account entrances in the public catalog palette. */
@media screen {
  html:root > body:has(> .login-card),
  html:root > body:has(> .login-layout),
  html:root > body.mco-ui {
    color: #23392f;
    background: linear-gradient(145deg,#faf8f0,#ece7db);
  }
  html:root > body:has(> .login-card) {
    min-height: 100vh; min-height: 100svh; height: auto; padding-block: 24px;
  }
  body > .login-card:has(#workspace-login-form),
  body > .login-layout {
    background: #fffdf7; border: 1px solid #c2b39b;
    box-shadow: 0 16px 36px -18px #283a2e68, 0 3px 8px #42391f13;
  }
  body > .login-card:has(#workspace-login-form) {padding:clamp(20px,4vw,34px);border-radius:20px;border-top:4px solid #96542e}
  body > .login-card:has(#workspace-login-form) > img {display:block;width:min(100%,220px)!important;height:auto!important;object-fit:contain;margin:0 auto 14px}
  body > .login-card h1,.login-layout .login-card h2,.mco-ui #app .intro h2{color:#203c2f}
  body > .login-layout .login-story,.mco-ui #app .intro-copy {
    background:linear-gradient(135deg,#183528,#2c4b3b);color:#fff9eb;
  }
  .login-layout .login-story h1,.mco-ui #app .intro-copy h1 {color:#fff9eb;font-family:Georgia,serif;font-weight:500}
  .login-layout .login-story .brand,.login-layout .login-story .brand strong,.login-layout .login-story .eyebrow,
  .login-layout .login-story .brand small,.login-layout .login-story p,.login-layout .login-story>small,.login-layout .login-tags span,
  .mco-ui #app .intro-copy :is(p,strong,.eyebrow,li,span){color:#f2ecdd}
  .login-layout .login-tags span{border-color:#c3bd9970}
  .login-layout .login-panel,.mco-ui .site-header,.mco-ui #app .panel {background:#fffdf7;border-color:#cdbda6}
  .login-layout .login-card .eyebrow,.mco-ui .site-header .brand-sub,.mco-ui .site-header .header-note{color:#6f492d}
  .login-layout .login-card .mini-mark,.mco-ui #app .intro-copy .steps b{color:#fff7e6;background:#834927}
  .login-layout .login-card label,.mco-ui #app .field{color:#2b4235}
  #workspace-login-form input,.login-layout .login-card input:not([type=hidden]),.mco-ui #app .field :is(input,select,textarea) {
    color:#20362c;background:#fffefa;border:1px solid #a8ac9d;border-radius:9px;
  }
  #workspace-login-button,.login-layout .login-card button.button:not(.secondary),
  .mco-ui #app button.btn:not(.secondary):not(.ghost) {
    color:#fffaf5;background:linear-gradient(145deg,#99582f,#783d20);border:1px solid #73401f;
    box-shadow:inset 0 1px #c18b60,0 2px 0 #61391e;min-height:46px;border-radius:10px;
  }
  .login-layout .login-card button.secondary,.mco-ui #app .btn.secondary,.mco-ui #app .btn.ghost {
    background:#f6efe2;color:#473625;border:1px solid #ae9e83;
  }
  .mco-ui .site-header,.mco-ui #app {max-width:1160px}
  .mco-ui #app .intro-copy {border-top:3px solid #ac7950;border-radius:18px;padding:clamp(20px,3vw,34px);min-width:0}
  .mco-ui #app .intro-copy h1 :is(em,span),.mco-ui #app .intro-copy .eyebrow{color:#f4d3a8}
  .mco-ui #app input[type=checkbox]{accent-color:#754023}
  .mco-ui .mc-onboarding-footer{background:#243f32;color:#fff8e8}
  #workspace-login-form :focus-visible,.login-layout .login-card :focus-visible,.mco-ui #app :focus-visible{outline:3px solid #247090;outline-offset:2px}
}
