/* Isolated authentication style; existing styles.css remains unchanged. */
.app[hidden], .auth-root[hidden] { display: none !important; }
.auth-root {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; padding: 28px 18px;
  color: #354633; background: #f7f5ed;
  font-family: Georgia, 'Times New Roman', serif;
}
.auth-loading { font: 500 16px system-ui, sans-serif; }
.auth-card {
  width: min(100%, 460px); box-sizing: border-box; border: 1px solid #e5e4d9;
  border-radius: 22px; background: #fffefb; padding: clamp(26px, 5vw, 44px);
  box-shadow: 0 22px 58px rgba(49, 60, 39, .09);
}
.auth-logo { display:flex; align-items:center; justify-content:center; margin:0 auto; max-width:330px; }
.auth-logo img { display:block; max-width:100%; width:min(100%,300px); height:auto; border:0; background:transparent; border-radius:0; box-shadow:none; filter:none; }
.auth-overline { margin: 0 0 22px; text-align: center; font: 600 10px system-ui, sans-serif; letter-spacing: .23em; }
.auth-card h1 { font-size: 31px; font-weight: 500; line-height: 1.2; text-align: center; margin: 0 0 9px; }
.auth-card .auth-description { text-align: center; color: #6c7565; line-height: 1.6; font: 14px/1.6 system-ui, sans-serif; margin: 0 0 25px; }
.auth-card form { display: grid; gap: 15px; }
.auth-card label { display: grid; gap: 7px; color: #354633; font: 600 12px system-ui, sans-serif; }
.auth-card input { box-sizing: border-box; width: 100%; padding: 13px 14px; border: 1px solid #d4dacd; border-radius: 10px; outline-color: #77866d; background: #fff; color: #2e372b; font: 15px system-ui, sans-serif; }
.auth-submit { display: block; width: 100%; padding: 14px 16px; border: 0; border-radius: 10px; background: #354633; color: #fff; font: 600 14px system-ui, sans-serif; cursor: pointer; }
.auth-submit:disabled { opacity: .65; cursor: wait; }
.auth-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 20px; }
.auth-link { background: none; color: #354633; padding: 4px; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: 13px system-ui, sans-serif; }
.auth-alert { margin: 0 0 16px; border-radius: 10px; padding: 12px 13px; background: #f1f4eb; color: #3a5037; line-height: 1.5; font: 13px system-ui, sans-serif; }
.auth-alert.error { background: #fff1ed; color: #8d4032; }
.auth-note { font: 12px/1.6 system-ui, sans-serif; margin: 20px 0 0; text-align: center; color: #788171; }
.auth-account-email { font: 12px system-ui, sans-serif; color: #596653; max-width: 180px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 740px) { .auth-account-email { display: none; } .auth-card { padding: 27px 22px; } }

/* Transparent canvas artwork supersedes the SVG matte-removal fallback. */
.auth-logo img.logo-paperless-ready{filter:none!important;mix-blend-mode:normal}

/* Desktop identity: a calm illustrated welcome, separate from functional sign-in. */
.auth-layout{width:100%;max-width:1050px;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);min-height:605px;overflow:hidden;border-radius:23px;border:1px solid #e6e1d7;background:#fffefa;box-shadow:0 22px 55px rgba(49,60,39,.09)}
.auth-story{display:flex;align-items:center;justify-content:center;padding:56px 32px;background:#f3efe4;border-right:1px solid #e9e3d7;text-align:center}
.auth-story-inner{max-width:480px;width:100%}
.auth-story-eyebrow{display:block;color:#8c806b;font:700 11px system-ui,sans-serif;letter-spacing:.22em;margin-bottom:35px}
.auth-story-art{width:100%;max-width:450px;height:auto;display:block;margin:0 auto;filter:none}
.auth-story-art.logo-paperless-ready{filter:none!important}
.auth-story-rule{color:#be9670;letter-spacing:.7em;font:16px Georgia,serif;margin:18px 0}
.auth-story p{font:400 24px/1.52 Georgia,serif;color:#506348;margin:0}
.auth-layout>.auth-card{max-width:none;width:100%;padding:65px clamp(32px,5.4vw,75px);display:flex;flex-direction:column;justify-content:center;border:0;border-radius:0;background:#fffefa;box-shadow:none}
.auth-layout>.auth-card .auth-logo{display:none}
.auth-layout>.auth-card .auth-overline{text-align:left;margin:0 0 20px;color:#8f977e}
.auth-layout>.auth-card h1{text-align:left;font-size:clamp(31px,3vw,40px)}
.auth-layout>.auth-card .auth-description{text-align:left;margin-bottom:28px}
.auth-layout>.auth-card .auth-links{justify-content:flex-start}
.auth-layout>.auth-card .auth-note{text-align:left}
@media(max-width:900px){
  .auth-layout{display:block;width:min(100%,460px);min-height:0;overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none}
  .auth-story{display:none}
  .auth-layout>.auth-card{display:block;width:100%;border:1px solid #e5e4d9;border-radius:22px;background:#fffefb;padding:clamp(26px,5vw,44px);box-shadow:0 22px 58px rgba(49,60,39,.09)}
  .auth-layout>.auth-card .auth-logo{display:flex}
  .auth-layout>.auth-card .auth-overline{text-align:center;margin:0 0 22px}
  .auth-layout>.auth-card h1{text-align:center;font-size:31px}
  .auth-layout>.auth-card .auth-description{text-align:center;margin-bottom:25px}
  .auth-layout>.auth-card .auth-links{justify-content:center}
  .auth-layout>.auth-card .auth-note{text-align:center}
}
@media(max-width:740px){.auth-layout>.auth-card{padding:27px 22px}}

/* Printed brand tagline in place of Seller Studio label. */
.auth-overline{font:700 10px/1.65 system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:#617455}
.auth-overline .brand-tagline-heart{font-size:12px;letter-spacing:0;color:#c09a61;white-space:nowrap}
