/* Source: auth-form.tsx and ui/dialog.tsx. Utility geometry expanded for WordPress. */
.cc-account-invitation { margin:0 0 24px; color:#726d66; font-size:13px; line-height:1.65; }
.cc-account-invitation button { padding:3px 0; border:0; background:transparent; color:#9c563b; font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.cc-account-invitation button:disabled { opacity:.55; cursor:wait; }
.cc-account-invitation button:focus-visible { outline:2px solid #9c563b; outline-offset:4px; border-radius:2px; }
.cc-auth-overlay { position:fixed; inset:0; z-index:50; background:rgb(0 0 0 / .8); }
.cc-auth-dialog { position:fixed; left:50%; top:50%; z-index:50; display:grid; width:calc(100% - 2rem); max-width:32rem; max-height:90dvh; overflow-y:auto; transform:translate(-50%,-50%); gap:1rem; border:1px solid #e5e7eb; border-radius:1rem; background:hsl(var(--background)); padding:1.5rem; box-shadow:0 10px 15px -3px rgb(0 0 0 / .1),0 4px 6px -4px rgb(0 0 0 / .1); }
.cc-auth-dialog>h2 { font-size:1.125rem; font-weight:600; line-height:1; letter-spacing:-.025em; }
.cc-auth-dialog>p { font-size:.875rem; line-height:1.25rem; color:hsl(var(--muted-foreground)); }
.cc-auth-close { position:absolute; right:1rem; top:1rem; padding:0; border:0; border-radius:.125rem; background:transparent; opacity:.7; transition:opacity .15s; }
.cc-auth-close:hover { opacity:1; }
.cc-auth-close:focus-visible { outline:2px solid hsl(var(--ring)); outline-offset:2px; }
.cc-auth-dialog .auth-form button.button { display:inline-flex; justify-content:center; align-items:center; gap:24px; background:var(--terracotta); color:white; padding:18px 26px; border:1px solid transparent; font-size:12px; font-weight:600; border-radius:4px; min-height:52px; transition:background .2s,transform .2s; line-height:1.5; }
.cc-auth-dialog .auth-form button.button:hover { background:var(--terracotta-dark); }
.cc-auth-dialog .auth-form button.button:active { transform:scale(.98); }
@media(min-width:640px) { .cc-auth-dialog { border-radius:.5rem; } }
@media(prefers-reduced-motion:no-preference) {
  .cc-auth-layer[data-state=open] .cc-auth-overlay { animation:cc-auth-fade .15s ease-out; }
  .cc-auth-layer[data-state=open] .cc-auth-dialog { animation:cc-auth-enter .2s ease-out; }
  @keyframes cc-auth-fade { from { opacity:0; } to { opacity:1; } }
  @keyframes cc-auth-enter { from { opacity:0; transform:translate(-50%,-48%) scale(.95); } to { opacity:1; transform:translate(-50%,-50%) scale(1); } }
}

.cc-account-links {display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}
.cc-account-portrait {display:flex;align-items:center;justify-content:center;background:#f5efe7;border-radius:12px;padding:28px}
