.ww-account-body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fffdfa;
  color: #400f26;
  font-family: 'Jost', 'Wolkenworte Jost Fallback', system-ui, sans-serif;
  font-size: 16px;
}
.ww-account-main {
  box-sizing: border-box;
  width: min(100%, 1120px);
  flex: 1;
  margin: 0 auto;
  padding: 28px 32px 56px;
}
.ww-account-main.is-signin { max-width: 484px; }
.ww-account-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ww-account-heading-title { min-width: 0; flex: 1; }
.ww-account-heading-title [data-account-email] { margin: 8px 0 0; overflow-wrap: anywhere; }
.ww-account-heading h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.18; font-weight: 500; letter-spacing: -.025em; }
.ww-account-main h1, .ww-account-main h2, .ww-account-dialog h2 { font-family: 'Playfair Display', 'Wolkenworte Playfair Fallback', Georgia, serif; }
.ww-account-main h2, .ww-account-dialog h2 { font-size: 24px; font-weight: 500; line-height: 1.3; }
.ww-account-main p, .ww-account-dialog p { line-height: 1.65; }
.ww-account-main a, .ww-account-dialog a, .ww-account-controls a { color: #9c1c4c; }
.ww-account-main button:not(.ww-icon-button), .ww-account-dialog button:not(.ww-icon-button), .ww-account-controls button:not(.ww-icon-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid rgba(64, 15, 38, .14);
  border-radius: 999px;
  background: #fffdfa;
  color: #400f26;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.ww-account-primary { background: #400f26 !important; color: #fff !important; border-color: #400f26 !important; }
.ww-account-primary:hover { background: #9c1c4c !important; border-color: #9c1c4c !important; }
.ww-account-danger { color: #a31b43 !important; }
.ww-account-link { min-height: 44px; padding: 8px 0 !important; border: 0 !important; background: none !important; color: #9c1c4c !important; text-decoration: underline; text-underline-offset: 4px; }
.ww-account-main label, .ww-account-dialog label { display: grid; gap: 8px; font-size: 14px; margin: 20px 0; }
.ww-account-main input, .ww-account-dialog input { box-sizing: border-box; width: 100%; min-height: 48px; font: inherit; font-size: 16px; padding: 12px 14px; background: #fff; border: 1px solid rgba(64, 15, 38, .18); border-radius: 12px; color: #400f26; }
.ww-account-auth { max-width: 420px; margin: 0 auto; }
.ww-account-auth > p:first-child { margin: 0 0 26px; color: #8a7178; }
.ww-account-google { width: 100%; min-height: 48px !important; }
.ww-account-tabs { display: flex; gap: 24px; border-bottom: 1px solid #eadce1; margin: 0 0 24px; }
.ww-account-tabs button { flex: 1; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #8a7178; }
.ww-account-tabs button[aria-pressed=true] { border-bottom-color: #9c1c4c; color: #400f26; }
.ww-account-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; font-size: 13px; color: #8a7178; text-align: center; }
.ww-account-divider::before, .ww-account-divider::after { content: ''; height: 1px; background: #eadce1; flex: 1; }
.ww-account-auth-actions, .ww-account-actions, .ww-account-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.ww-account-small, .ww-account-status, .ww-account-design-date { font-size: 13px; color: #8a7178; line-height: 1.6; }
.ww-account-status:empty, #account-page-status:empty { display: none; }
.ww-account-status[data-error=true], #account-page-status[data-error=true] { color: #a31b43; }
.ww-account-card { padding: 32px 0; margin: 0; border-top: 1px solid #eadce1; }
.ww-account-card h2 { margin: 0 0 16px; }
.ww-account-card form { max-width: 480px; }
[data-account-settings] > .ww-account-card:first-child { padding-top: 0; border-top: 0; }
.ww-account-library-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.ww-account-library-toolbar { display: flex; justify-content: flex-end; }
.ww-account-create { margin: 0; }
.ww-account-empty { max-width: 480px; margin: 48px auto 64px; text-align: center; }
.ww-account-empty > img { display: block; margin: 0 auto 24px; }
.ww-account-empty h2 { font-size: clamp(25px, 4vw, 32px); margin: 0 0 16px; }
.ww-account-empty p { color: #8a7178; margin: 0 0 28px; }
.ww-account-retention { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid #eadce1; font-size: 13px; color: #8a7178; }
.ww-account-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 40px 28px; }
.ww-account-design { min-width: 0; }
.ww-account-design > img { display: block; width: 100%; height: 220px; object-fit: contain; box-sizing: border-box; padding: 16px; background: #fbf5ed; border-radius: 20px; }
.ww-account-design h2 { margin: 20px 0 6px; overflow-wrap: anywhere; font-size: 25px; }
.ww-account-design p { margin: 4px 0; }
.ww-account-design-date { font-size: 12px; }
.ww-account-design .ww-account-actions { margin-top: 18px; gap: 12px; justify-content: space-between; flex-wrap: nowrap; }
.ww-account-design-menu { position: relative; }
.ww-account-design-menu > summary { width: 38px; height: 38px; min-width: 38px; min-height: 38px; }
.ww-account-design-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; border: 1px solid #eadce1; border-radius: 14px; background: #fffdfa; box-shadow: 0 12px 30px rgba(64,15,38,.1); z-index: 5; }
.ww-account-design-menu-panel button { display: flex; justify-content: flex-start; width: 100%; border: 0; border-radius: 9px; background: transparent; }
.ww-account-design-menu-panel button:hover { background: #fbf2e7; }
.ww-account-dialog { box-sizing: border-box; width: calc(100% - 32px); max-width: 480px; max-height: calc(100dvh - 32px); overflow: auto; padding: 28px; border: 1px solid #eadce1; border-radius: 24px; background: #fffdfa; color: #400f26; font-family: 'Jost', 'Wolkenworte Jost Fallback', system-ui, sans-serif; }
.ww-account-dialog::backdrop { background: #2b10266b; }
.ww-account-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ww-account-dialog-head h2 { margin: 0; }
.ww-account-controls { margin: 14px 0; font-size: 13px; gap: 12px; }
.ww-account-controls button { min-height: 40px; font-size: 13px; }
.ww-account-save-note { font-size: 12px; color: #8a7178; line-height: 1.5; margin: 8px 0; }
.ww-account-main [hidden], .ww-account-dialog [hidden], .ww-account-controls[hidden] { display: none !important; }
.ww-account-main button:disabled, .ww-account-dialog button:disabled { opacity: .55; cursor: wait; }
.ww-account-main :focus-visible, .ww-account-dialog :focus-visible, .ww-account-controls :focus-visible { outline: 3px solid #c9819e; outline-offset: 3px; }
@media (max-width: 560px) {
  .ww-account-main { padding: 16px 20px 40px; }
  .ww-account-heading { margin-bottom: 28px; }
  .ww-account-grid { grid-template-columns: 1fr; gap: 24px; }
  .ww-account-design + .ww-account-design { border-top: 1px solid #eadce1; padding-top: 24px; }
  .ww-account-library-toolbar { justify-content: flex-start; }
  .ww-account-empty { margin: 32px auto 48px; }
  .ww-account-dialog { padding: 22px; }
  .ww-account-design > img { height: 240px; }
  .ww-account-design-menu > summary { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
}

.ww-account-navigation { display: flex; gap: 28px; margin: -8px 0 28px; border-bottom: 1px solid #eadce1; }
.ww-account-navigation button { min-height: 48px; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #8a7178; }
.ww-account-navigation button[aria-selected="true"] { border-bottom-color: #9c1c4c; color: #400f26; }
.ww-account-main .ww-account-signout { align-self: flex-start; padding: 10px 0; border: 0; border-radius: 4px; background: transparent; color: #8a7178; }
.ww-account-main .ww-account-signout:hover { color: #9c1c4c; }
.ww-design-options-icon { display: flex; gap: 3px; }
.ww-design-options-icon i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
