/* Own Object customer authentication. Local assets only; no theme dependency. */
.oo-auth-body {
  --oo-auth-paper: #f7f4ec;
  --oo-auth-white: #fffdf8;
  --oo-auth-ink: #173e32;
  --oo-auth-muted: #5b675f;
  --oo-auth-line: #dddcd2;
  --oo-auth-soft: #eaf0e5;
  --oo-auth-terracotta: #b7664d;
  --oo-auth-focus: #a86422;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--oo-auth-paper);
  color: var(--oo-auth-ink);
  color-scheme: light;
  font: 18px/1.6 Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.oo-auth-body *,
.oo-auth-body *::before,
.oo-auth-body *::after { box-sizing: border-box; }
.oo-auth-body [hidden] { display: none !important; }
.oo-auth-body a { color: inherit; text-underline-offset: 4px; }
.oo-auth-body button,
.oo-auth-body input { font: inherit; }
.oo-auth-body button { cursor: pointer; }
.oo-auth-body h1,
.oo-auth-body h2,
.oo-auth-body p,
.oo-auth-body figure { margin: 0; }
.oo-auth-body :focus-visible {
  outline: 3px solid var(--oo-auth-focus);
  outline-offset: 4px;
}
.oo-auth-body .oo-skip {
  position: absolute;
  z-index: 10;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  background: var(--oo-auth-white);
  border: 1px solid var(--oo-auth-ink);
}
.oo-auth-body .oo-skip:focus { top: 12px; }

.oo-auth-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(24px, calc((100% - 1160px) / 2));
  border-bottom: 1px solid var(--oo-auth-line);
}
.oo-auth-brand {
  display: block;
  min-height: 44px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.035em;
}
.oo-auth-brand span {
  display: block;
  margin-top: 5px;
  color: var(--oo-auth-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .015em;
}
.oo-auth-header > a:not(.oo-auth-brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
}

.oo-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: start;
  gap: clamp(24px, 3vw, 36px);
  width: min(1160px, calc(100% - 48px));
  margin: 28px auto 36px;
  flex: 1 0 auto;
}
.oo-auth-story {
  min-width: 0;
  padding: 28px 30px;
  background: var(--oo-auth-white);
  border: 1px solid var(--oo-auth-line);
  border-radius: 12px;
}
.oo-auth-eyebrow {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.oo-auth-story > .oo-auth-eyebrow { margin-bottom: 12px; }
.oo-auth-story h2 {
  max-width: 450px;
  font: 500 clamp(34px, 3.5vw, 46px)/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}
.oo-auth-story > p:not(.oo-auth-eyebrow) {
  margin-top: 15px;
  max-width: 460px;
  color: var(--oo-auth-muted);
  font-size: 18px;
  line-height: 1.6;
}
.oo-auth-story figure {
  margin-top: 20px;
  overflow: hidden;
  background: #f4efe6;
  border: 1px solid var(--oo-auth-line);
  border-radius: 12px;
}
.oo-auth-story figure > img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: contain;
  object-position: center;
  padding: 4px;
}
.oo-auth-story figcaption {
  padding: 11px 16px 12px;
  border-top: 1px solid var(--oo-auth-line);
  color: var(--oo-auth-muted);
  font-size: 14px;
  line-height: 1.5;
}
.oo-auth-benefits {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.oo-auth-benefits > p {
  padding-left: 14px;
  border-left: 2px solid var(--oo-auth-terracotta);
  font-size: 17px;
  line-height: 1.55;
}
.oo-auth-benefits strong { font-weight: 700; }

.oo-auth-card {
  width: 100%;
  max-width: 500px;
  min-width: 0;
  padding: 30px;
  background: var(--oo-auth-white);
  border: 1px solid var(--oo-auth-line);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgb(23 62 50 / 4%);
}
.oo-auth-tabs {
  display: flex;
  gap: 7px;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--oo-auth-line);
  border-radius: 12px;
  background: var(--oo-auth-paper);
}
.oo-auth-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.oo-auth-tabs a[aria-current="page"] {
  background: var(--oo-auth-ink);
  color: var(--oo-auth-white);
}
.oo-auth-card > .oo-auth-eyebrow { margin-bottom: 10px; }
.oo-auth-card h1 {
  font: 500 clamp(32px, 3vw, 42px)/1.14 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
.oo-auth-intro {
  margin-top: 14px !important;
  margin-bottom: 23px !important;
  color: var(--oo-auth-muted);
  font-size: 18px;
  line-height: 1.6;
}
.oo-auth-alert,
.oo-auth-success {
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid #d1ac97;
  border-left: 3px solid #955938;
  border-radius: 10px;
  background: #fbf0e7;
  color: #653e28;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.oo-auth-success {
  background: #edf3e8;
  border-color: #bfceb8;
  border-left-color: #456440;
  color: #294b2c;
}
.oo-auth-form { margin-top: 22px; }
.oo-auth-label {
  display: block;
  margin: 19px 0 7px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}
.oo-auth-form > .oo-auth-label:first-of-type { margin-top: 0; }
.oo-auth-form input:not([type="hidden"]):not([type="checkbox"]) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 13px;
  border: 1px solid #aeb8a9;
  border-radius: 10px;
  background: #fff;
  color: #20382e;
  font-size: 18px;
  line-height: 1.5;
}
.oo-auth-form input::placeholder { color: #70796e; opacity: 1; }
.oo-auth-form input:focus-visible { border-color: var(--oo-auth-ink); }
.oo-auth-password { position: relative; }
.oo-auth-password > input { padding-right: 76px !important; }
.oo-auth-password > button {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  min-width: 60px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--oo-auth-ink);
  font-size: 15px;
  font-weight: 700;
}
.oo-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 10px 0 13px;
}
.oo-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 44px;
  padding: 10px 0;
  color: var(--oo-auth-muted);
  font-size: 16px;
  line-height: 1.55;
  cursor: pointer;
}
.oo-auth-check > input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--oo-auth-ink);
  cursor: pointer;
}
.oo-auth-options > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
}
.oo-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  padding: 13px 18px;
  margin-top: 17px;
  border: 1px solid var(--oo-auth-ink);
  border-radius: 10px;
  background: var(--oo-auth-ink);
  color: var(--oo-auth-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.oo-auth-submit:disabled { opacity: .6; cursor: not-allowed; }
.oo-auth-fine {
  margin-top: 12px !important;
  color: var(--oo-auth-muted);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.oo-auth-footnote {
  margin-top: 23px !important;
  padding-top: 18px;
  border-top: 1px solid var(--oo-auth-line);
  color: var(--oo-auth-muted);
  font-size: 16px;
  line-height: 1.6;
}
.oo-auth-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
}
.oo-auth-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.oo-auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 18px max(24px, calc((100% - 1160px) / 2));
  border-top: 1px solid var(--oo-auth-line);
  color: var(--oo-auth-muted);
  font-size: 14px;
  line-height: 1.5;
}
.oo-auth-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (hover: hover) {
  .oo-auth-submit:not(:disabled):hover { background: #315543; border-color: #315543; }
  .oo-auth-password > button:hover,
  .oo-auth-tabs a:not([aria-current="page"]):hover { background: #dfe7d9; }
}
@media (max-width: 900px) {
  .oo-auth-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); gap: 24px; }
  .oo-auth-story { padding: 24px 22px; }
  .oo-auth-story figure > img { height: 300px; padding: 4px; }
  .oo-auth-card { padding: 25px 24px; }
}
@media (max-width: 740px) {
  .oo-auth-header { padding: 16px 20px; gap: 14px; }
  .oo-auth-brand { font-size: 28px; }
  .oo-auth-header > a:not(.oo-auth-brand) { font-size: 16px; }
  .oo-auth-layout { display: flex; flex-direction: column; gap: 22px; width: min(500px, calc(100% - 32px)); margin: 22px auto 28px; }
  .oo-auth-card { order: 0; padding: 24px 22px; }
  .oo-auth-story { order: 1; width: 100%; padding: 24px 22px; }
  .oo-auth-story h2 { font-size: 34px; }
  .oo-auth-story figure > img { height: 300px; }
  .oo-auth-card h1 { font-size: 35px; }
  .oo-auth-tabs { margin-bottom: 23px; }
  .oo-auth-footer { padding: 15px 20px; font-size: 14px; }
}
@media (max-width: 360px) {
  .oo-auth-card,
  .oo-auth-story { padding: 22px 17px; }
  .oo-auth-card h1,
  .oo-auth-story h2 { font-size: 32px; }
  .oo-auth-options { align-items: flex-start; }
  .oo-auth-tabs a { padding: 8px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .oo-auth-body *,
  .oo-auth-body *::before,
  .oo-auth-body *::after { transition: none !important; scroll-behavior: auto !important; }
}
