.account-page { min-height: 100vh; background: #f6f1e8; }
.account-header {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 11px 5.2%; border-bottom: 1px solid #d5cec2; background: #fbf8f2;
}
.account-header > a:first-child { flex: 0 0 auto; }
.account-header img { display: block; width: min(264px, 38.4vw); height: auto; }
.account-header__actions { display: flex; align-items: center; gap: 14px; }
.account-avatar-wrap { display: inline-flex; width: 34px; height: 34px; overflow: hidden; border: 1px solid #d8c4ad; border-radius: 50%; background: #f8efe4; }
.account-header .account-avatar { width: 100% !important; height: 100%; object-fit: cover; }
.account-back-link { font-size: 12px; font-weight: 600; }
.account-back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.account-layout {
  width: min(1120px, calc(100% - 48px)); min-height: calc(100vh - 82px); margin: 0 auto; padding: 64px 0;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(390px, 1fr); align-items: center; gap: clamp(45px, 8vw, 110px);
}
.account-welcome { position: relative; padding: 10px 0 36px; }
.account-welcome h1 { margin: 27px 0 22px; font-size: clamp(54px, 7vw, 88px); line-height: .96; }
.account-welcome h1 em { color: #8d5d50; }
.account-welcome > p:last-of-type { max-width: 400px; color: #554e48; font-size: 15px; line-height: 1.8; }
.account-welcome__flower { display: block; margin-top: 40px; color: #9c5260; font-size: 40px; }
.account-card {
  position: relative; padding: clamp(26px, 4vw, 46px); border: 1px solid #d7cdbf; border-radius: 5px;
  background: #fcfaf6; box-shadow: 9px 9px 0 #e6ddd0;
}
.account-card h2 { margin: 10px 0 12px; font-size: clamp(32px, 4vw, 43px); letter-spacing: -.035em; }
.account-card__intro { margin: 0 0 25px; color: #655d55; font-size: 13px; line-height: 1.65; }
.account-methods {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 24px; padding: 4px;
  border: 1px solid #e1d7ca; border-radius: 8px; background: #f3ece2;
}
.account-method {
  min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
  padding: 8px 11px; border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: #514842; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.account-method:hover { border-color: #cdbdad; background: #faf6f0; }
.account-method:focus-visible, .account-password-toggle:focus-visible {
  outline: 2px solid #70463f; outline-offset: 2px;
}
.account-method__tag { color: #887b6e; font: 8px "DM Mono", monospace; letter-spacing: .1em; }
.account-method__name { overflow: hidden; max-width: 100%; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.account-method--active {
  border-color: #70463f; background: #fffdfa; color: #70463f; box-shadow: 0 2px 7px #70463f18;
}
.account-method--active .account-method__tag { color: #9c5260; }
.account-label { display: block; margin: 18px 0 8px; font: 9px "DM Mono", monospace; letter-spacing: .1em; }
.account-input {
  width: 100%; min-height: 49px; padding: 12px 13px; border: 1px solid #b9afa2; border-radius: 3px;
  outline: none; background: #fffdfa; color: #24211e; font-size: 14px;
}
.account-input:focus { border-color: #70463f; box-shadow: 0 0 0 3px #70463f1c; }
.account-input::placeholder { color: #9a9188; }
.account-hint { margin: 8px 0 0; color: #726a62; font-size: 11px; }
.account-password-field { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e7ded2; }
.account-password-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-password-label-row .account-label { margin-top: 0; }
.account-password-toggle {
  padding: 2px 0; border: 0; background: transparent; color: #70463f; font: 10px "DM Mono", monospace;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.account-submit { width: 100%; margin-top: 22px; border-color: #70463f; border-radius: 3px; background: #70463f; color: #fffaf3; }
.account-submit:hover { background: #583732; }
.account-submit:disabled, .account-save-profile:disabled { opacity: .65; cursor: wait; }
.account-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 10px; color: #8a8076; font: 9px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.account-divider::before, .account-divider::after { content: ""; height: 1px; flex: 1; background: #e1d8cc; }
.account-google-button { width: 100%; min-height: 45px; margin-top: 10px; border-radius: 3px; font-size: 12px; }
.account-google-button:disabled { opacity: .65; cursor: wait; }
.account-google-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #4285f4; font: 700 14px Arial, sans-serif; }
.account-privacy { margin: 20px 0 0; color: #777067; font-size: 10px; line-height: 1.6; text-align: center; }
.account-code-message { margin: 18px 0; color: #655d55; font-size: 13px; line-height: 1.6; }
.account-input--otp { max-width: 220px; font: 20px "DM Mono", monospace; letter-spacing: .22em; }
.account-code-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 17px; }
.account-text-button { padding: 4px 0; border: 0; background: transparent; color: #70463f; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.account-status { min-height: 18px; margin: 14px 0 0; color: #70463f; font-size: 12px; line-height: 1.5; }
.account-status--error { color: #9c2f35; }
.account-verification {
  margin: 24px 0 28px; padding: 17px; border: 1px solid #d8c4ad; border-radius: 3px;
  background: #f8efe4;
}
.account-verification h3 { margin: 7px 0 6px; font: 600 19px "Playfair Display", serif; }
.account-verification__message { margin: 0; color: #655d55; font-size: 11px; line-height: 1.6; }
.account-verification .account-label { margin-top: 15px; }
.account-verification .account-save-profile { margin-top: 10px; }
.account-verification > .account-text-button { margin-top: 13px; }
.account-verification--verified { border-color: #b7c8aa; background: #f2f6ec; }
.account-verification--verified h3 { color: #496143; }
.account-notice { margin-bottom: 24px; padding: 14px 15px; border-left: 3px solid #9c5260; background: #f5e9e3; font-size: 12px; line-height: 1.6; }
.account-notice p { margin: 5px 0 0; }
.account-notice code { font-size: 11px; }
.account-save-profile { min-height: 39px; margin-top: 14px; padding: 0 14px; border-radius: 3px; font-size: 11px; }
.account-orders { margin-top: 35px; padding-top: 22px; border-top: 1px solid #ded5c9; }
.account-orders__heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.account-orders__heading .eyebrow { font-size: 8px; }
.account-orders__heading h3 { margin: 6px 0 0; font: 600 22px "Playfair Display", serif; }
.account-orders__count { color: #746b61; font: 9px "DM Mono", monospace; }
.orders-list { display: grid; gap: 10px; margin-top: 17px; }
.orders-empty, .order-card { padding: 14px; border: 1px solid #e1d9cf; border-radius: 3px; background: #fffdfa; }
.orders-empty { color: #71695f; font-size: 12px; line-height: 1.6; }
.order-card__top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; }
.order-card__date { margin: 7px 0; color: #71695f; font-size: 10px; }
.order-card__items { margin: 0; color: #554e48; font-size: 11px; line-height: 1.55; }
.order-card__payment { margin: 8px 0 0; color: #71695f; font-size: 10px; }
.order-card__location { margin: 7px 0 0; color: #70463f; font-size: 10px; }
.order-card__location a { color: #8a3b45; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.order-card__status { margin-top: 9px; color: #70463f; font: 9px "DM Mono", monospace; text-transform: uppercase; }
.order-card__tracking { margin-top: 10px; padding: 9px 10px; border-left: 2px solid #70463f; background: #f8efe4; color: #554e48; font-size: 10px; line-height: 1.55; }
.order-card__tracking strong { color: #70463f; }
.order-card__tracking a { color: #8a3b45; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.order-card__charges { display: grid; gap: 4px; margin-top: 11px; padding-top: 10px; border-top: 1px solid #e1d9cf; color: #71695f; font-size: 10px; }
.order-card__charges strong { margin-top: 3px; color: #38251f; }
.order-card__message, .order-card__customer-note { margin: 11px 0 0; padding: 9px 10px; font-size: 10px; line-height: 1.55; }
.order-card__message { border-left: 2px solid #496143; background: #f2f6ec; color: #496143; }
.order-card__customer-note { border-left: 2px solid #b38326; background: #fbf4e5; color: #655d55; }
.account-signout { display: block; margin: 22px 0 0 auto; }
[hidden] { display: none !important; }
.admin-dashboard__topbar { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 50px; }
.admin-dashboard__title { margin: 27px 0 0; font-size: clamp(50px, 7vw, 82px); line-height: .96; }
.admin-dashboard__title em { color: #8d5d50; }
.account-layout[hidden] + .admin-dashboard { display: block; }
@media (max-width: 760px) {
  .account-header { min-height: 68px; padding: 8px 18px; }
  .account-header img { width: min(214px, 54vw); }
  .account-back-link { font-size: 10px; }
  .account-header__actions { gap: 9px; }
  .account-layout { width: min(520px, calc(100% - 32px)); min-height: auto; padding: 35px 0 50px; grid-template-columns: 1fr; gap: 24px; }
  .account-welcome { padding: 10px 0 0; }
  .account-welcome h1 { margin: 17px 0 12px; font-size: clamp(48px, 13vw, 68px); }
  .account-welcome > p:last-of-type { margin-bottom: 0; font-size: 13px; }
  .account-welcome__flower { display: none; }
  .account-card { padding: 25px 21px; box-shadow: 5px 5px 0 #e6ddd0; }
  .account-method { min-height: 54px; padding: 7px 8px; }
  .account-method__tag { font-size: 7px; }
  .account-method__name { font-size: 10px; }
  .admin-dashboard { width: min(100% - 32px, 520px); padding: 36px 0 60px; }
  .admin-dashboard__topbar { align-items: start; margin-bottom: 35px; }
  .admin-dashboard__title { font-size: clamp(47px, 13vw, 68px); }
}
