:root { font: 14px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; color: #202124; background: #f8fafd; font-synthesis: none; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
.topbar { height: 80px; max-width: 1200px; padding: 0 40px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: #202124; text-decoration: none; }
.brand img { display: block; }
.brand span { font-size: 26px; font-weight: 750; letter-spacing: -1.5px; }
.mode { border: 1px solid #dfe3e8; color: #656b73; background: #fff9; padding: 4px 10px; border-radius: 7px; font-size: 11px; font-weight: 500; }
main { width: min(880px, calc(100% - 64px)); margin: clamp(44px, 11vh, 120px) auto 48px; }
.account-card { display: grid; grid-template-columns: 1.08fr 1fr; padding: 44px; gap: 48px; border: 1px solid #e0e4e9; background: white; border-radius: 24px; box-shadow: 0 2px 6px #1f293704; }
.intro { padding: 4px 0; }
.status-icon { width: 44px; height: 44px; border-radius: 50%; background: #eef7f0; color: #278344; display: grid; place-items: center; margin-bottom: 27px; }
.status-icon svg { width: 25px; height: 25px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; color: #737780; font-weight: 500; }
h1 { margin: 0; font-size: clamp(27px, 3.2vw, 34px); line-height: 1.2; letter-spacing: -1.15px; font-weight: 450; }
.description { color: #6b7078; font-size: 14px; line-height: 1.7; margin: 18px 0 30px; max-width: 295px; }
.identity { display: inline-flex; align-items: center; gap: 9px; color: #5f6368; font-size: 12px; max-width: 100%; }
#email { overflow-wrap: anywhere; }
.avatar { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; background: #eef1f5; color: #59616d; border-radius: 50%; font-weight: 600; font-size: 11px; }
.account-summary { border-radius: 16px; background: #f8f9fb; padding: 24px; align-self: start; }
.summary-heading { display: flex; align-items: center; gap: 8px; justify-content: space-between; color: #626872; font-size: 12px; }
.plan { border-radius: 5px; background: #fff0e7; color: #a63d0e; font-size: 10px; font-weight: 650; padding: 3px 7px; white-space: nowrap; }
.balance { display: flex; align-items: baseline; gap: 10px; margin: 17px 0 0; }
#allowance { font-size: 58px; line-height: 1.1; letter-spacing: -2.5px; font-weight: 400; font-variant-numeric: tabular-nums; }
.balance-unit { font-size: 13px; color: #767b84; }
.allowance-detail { margin: 9px 0 0; color: #737882; font-size: 12px; }
.summary-divider { height: 1px; background: #e4e7eb; margin: 22px 0 18px; }
.plan-detail { font-size: 13px; font-weight: 550; margin: 0 0 5px; }
.fine { font-size: 12px; line-height: 1.65; color: #7a8089; margin: 0; }
.actions { display: grid; gap: 8px; margin-top: 20px; }
button { min-height: 42px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 550; cursor: pointer; transition: background .15s, border-color .15s; }
button span { color: inherit; font-size: 15px; }
.primary { color: #fff; background: #e84a10; border: 1px solid #e84a10; }
.primary:hover { background: #d7410b; border-color: #d7410b; }
.secondary { background: #fff; border: 1px solid #dadee5; color: #414750; }
.secondary:hover { background: #f0f3f7; border-color: #c8ced7; }
button:disabled { opacity: .6; cursor: wait; }
button:focus-visible, a:focus-visible { outline: 3px solid #8ab4f8; outline-offset: 3px; }
.shopping-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 23px 0 0; color: #7c828c; font-size: 12px; text-align: center; }
.shopping-hint svg { width: 17px; height: 17px; flex: 0 0 17px; }
.test-note { color: #9398a1; font-size: 10px; text-align: center; margin: 12px 0 0; }
[aria-busy='true'] .status-icon { background: #f0f2f6; color: #9aa0aa; }
[aria-busy='true'] .loading-number { color: #c9ced6; }
[hidden] { display: none !important; }
@media (max-width: 650px) {
 .topbar { height: 70px; padding: 0 24px; }
 main { width: calc(100% - 32px); margin: 24px auto 32px; }
 .account-card { grid-template-columns: 1fr; padding: 28px 24px 24px; gap: 28px; border-radius: 20px; }
 .status-icon { margin-bottom: 21px; }
 .description { max-width: none; margin-bottom: 20px; }
 .account-summary { padding: 22px; }
 .shopping-hint { font-size: 11px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
.site-footer { display:flex; justify-content:center; flex-wrap:wrap; gap:18px; margin:30px 0; color:#747b85; font-size:12px; }
.site-footer a { color:inherit; text-decoration:none; }
.site-footer a:hover { text-decoration:underline; }
.legal { max-width:760px; background:#fff; padding:40px; border:1px solid #e0e4e9; border-radius:20px; margin:32px auto; }
.legal h1 { margin-bottom:12px; }.legal h2 { font-size:18px; font-weight:550; margin:28px 0 10px; }
.legal p,.legal li { color:#626872; line-height:1.8; }.legal a { color:#b34219; }
.hero { margin-bottom:36px; }.hero h1 { font-size:clamp(34px,5vw,52px); max-width:650px; }.hero .description { max-width:560px; font-size:16px; }
.plan-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }.plan-grid section { padding:28px; border:1px solid #e0e4e9; border-radius:18px; background:white; }
.plan-grid h2 { font-size:18px; font-weight:550; }.plan-grid p { color:#626872; line-height:1.7; }
@media(max-width:650px) { .legal {padding:26px 22px;}.plan-grid {grid-template-columns:1fr;} }

/* The signed-in page shares the product-to-creator gallery with the extension. */
body.account-page { min-height: 100svh; display: flex; flex-direction: column; background: white; color: #252622; }
.account-page .topbar { width: 100%; max-width: 1160px; padding-inline: clamp(20px,5vw,72px); }
#balance-menu { position: relative; z-index: 2; }
#balance-menu summary { list-style: none; cursor: pointer; border: 1px solid #e5e3de; border-radius: 24px; padding: 8px 16px; font-size: 13px; font-weight: 600; }
#balance-menu summary::-webkit-details-marker { display: none; }
#balance-menu .account-summary { position: absolute; right: 0; margin-top: 8px; width: min(300px,85vw); padding: 20px; background: white; border: 1px solid #e5e3de; box-shadow: 0 8px 28px #25262212; }
#balance-menu p { font-size: 13px; }
.account-page main { flex: 1; width: 100%; max-width: 1100px; margin: auto; padding: 30px clamp(20px,5vw,72px); display: grid; grid-template-columns: 1fr 1.08fr; gap: 4%; align-items: center; }
.account-page h1 { font-size: clamp(52px,5.5vw,82px); line-height: .99; font-weight: 480; letter-spacing: -.067em; }
.account-page h1 em { display: block; font: italic 400 1em/.99 Georgia,serif; }
.account-page .description { max-width: 30ch; margin: 24px 0 0; font-size: clamp(15px,1.45vw,19px); line-height: 1.5; color: #5e6059; }
.account-page #refresh { margin-top: 16px; }
.account-page #looks button { min-height: 0; }
.account-page .look-options button { display: block; }
.account-page .site-footer { margin: 20px 0; }
@media(max-width:680px) {
  .account-page main { display: flex; flex-direction: column; gap: 18px; justify-content: center; text-align: center; padding: 28px 18px; }
  .account-page h1 { font-size: 50px; }
  .account-page .description { margin: 14px auto 0; }
  .account-page #refresh { margin-inline: auto; }
  .account-page .lookbook { max-width: 410px; }
}
