/* Account center: compact, left-aligned, portraits first; existing SantaPet palette. */
#studio-account{max-width:240px;overflow-wrap:anywhere}
.account-page.price-page{max-width:960px;text-align:left;margin:8px auto 0}
.account-page>h1{font-size:32px;line-height:1.2;margin:0 0 12px;letter-spacing:-.025em}
.account-identity{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;color:var(--muted)}
.account-page .account-identity p{margin:0;font-size:14px}
.account-signout{border:0;background:transparent;color:var(--muted);padding:10px 0 10px 16px;font:inherit;font-size:13px;cursor:pointer}
.account-signout:hover{color:var(--ink);text-decoration:underline}
.account-dashboard{text-align:left;font-size:14px}
.account-summary{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:16px 20px;background:var(--card);border:1px solid var(--line);border-radius:12px}
.account-credit{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.account-credit>span:first-child{font-weight:600}
.account-credit strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}
.account-credit-rule{font-size:12px;color:var(--muted);margin-left:8px}
.account-buy{margin-left:auto;color:var(--wine);padding:10px 0;font-weight:600;text-underline-offset:4px}
.account-buy:hover,.account-all:hover{text-decoration:underline}
.account-dashboard [data-account-status]:empty{display:none}
.account-dashboard [data-account-status]{flex-basis:100%;margin:0}
.account-portraits{padding:32px 0}
.account-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.account-dashboard h2{font-size:22px;margin:0;line-height:1.3}
.account-dashboard .account-section-head p{margin:6px 0 0;font-size:13px;color:var(--muted)}
.account-all{padding:12px 0;color:var(--muted);white-space:nowrap}
.account-empty{border:1px dashed var(--line);border-radius:12px;padding:32px;background:color-mix(in srgb,var(--card) 35%,transparent)}
.account-empty h3{font-size:20px;line-height:1.4;margin:0}
.account-page .account-empty p{margin:10px 0 22px;color:var(--muted);max-width:520px;line-height:1.7}
.account-empty .primary{min-height:44px}
.account-purchases{border-top:1px solid var(--line);padding:28px 0 12px}
.account-table-wrap{overflow-x:auto}
.account-dashboard table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.account-dashboard th{color:var(--muted);font-size:12px;font-weight:500}
.account-dashboard th,.account-dashboard td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.account-dashboard th:first-child,.account-dashboard td:first-child{padding-left:0}
.account-dashboard th:last-child,.account-dashboard td:last-child{padding-right:0}
.account-dashboard td small{display:block;overflow-wrap:anywhere;color:var(--muted);font-size:11px;max-width:260px}
.account-order-id{margin-top:4px}.account-order-id summary{cursor:pointer;color:var(--muted);font-size:12px;padding:6px 0;width:fit-content}
.account-state{font-size:12px;display:inline-block;padding:4px 8px;border-radius:5px;line-height:1.5}
.account-state.is-paid{color:var(--ink);background:#e4ebdf}.account-state.is-pending{color:#6b522c;background:#eee5d6}
.account-activity{margin-top:16px;border-top:1px solid var(--line);padding:16px 0}
.account-activity>summary{cursor:pointer;font-weight:600;padding:8px 0;font-size:16px}
.account-dashboard .account-note{color:var(--muted);font-size:13px;line-height:1.7;margin:12px 0}
.account-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.account-work{min-width:0}.account-work img{width:100%;aspect-ratio:4/5;object-fit:contain;background:var(--card);border-radius:8px}
.account-page .account-work p{font-size:12px;color:var(--muted);margin:10px 0 0}.account-work a{display:inline-block;padding:10px 0;color:var(--wine)}
.account-dashboard button{cursor:pointer;padding:10px 16px;background:var(--card);border:1px solid var(--line);border-radius:5px;color:var(--ink)}
.account-page :is(a,button,summary):focus-visible{outline:2px solid var(--wine);outline-offset:4px}
.account-dashboard [hidden]{display:none!important}
@media(max-width:600px){.account-page.price-page{margin:0 auto}.account-page>h1{font-size:28px}.account-identity{margin-bottom:18px}.account-summary{padding:12px 16px;gap:8px 16px}.account-credit{gap:8px}.account-credit-rule{flex-basis:100%;margin-left:0}.account-credit strong{font-size:26px}.account-buy{font-size:13px}.account-portraits{padding:26px 0}.account-dashboard h2{font-size:20px}.account-empty{padding:24px 20px}.account-empty h3{font-size:18px}.account-works{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-purchases table thead{display:none}.account-purchases table,.account-purchases tbody{display:block}.account-purchases tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:16px 0;border-bottom:1px solid var(--line)}.account-purchases td{border:0;padding:0!important;font-size:13px}.account-purchases td:first-child{grid-column:1;grid-row:1 / 3}.account-purchases td:nth-child(2){grid-column:2;text-align:right}.account-purchases td:nth-child(3){grid-column:2;grid-row:3;text-align:right;color:var(--muted);font-size:12px}.account-purchases td:last-child{grid-column:2;text-align:right}.account-state{max-width:145px}.account-order-id small{max-width:180px}.account-activity table{min-width:430px}}

.account-create-next{margin-top:20px}

/* Account disclosure: hover with a mouse, click/tap and keyboard everywhere. */
.account-menu{position:relative;flex:none}
.account-trigger{display:flex;align-items:center;gap:9px;max-width:200px;border:0;background:none;color:inherit;padding:10px 0;font:inherit;cursor:pointer;overflow-wrap:anywhere;text-align:left}
.account-trigger:after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex:none;margin:0 3px 4px}
.account-dropdown{position:absolute;right:-12px;top:100%;width:206px;padding:8px;background:#fffaf3;border:1px solid #e3d8ca;border-radius:16px;box-shadow:0 12px 28px -14px #60433055;z-index:70}
.account-dropdown[hidden]{display:none}
header nav .account-dropdown a,.account-dropdown button{display:block;width:100%;padding:11px 14px;text-align:left;border:0;border-radius:10px;background:none;color:var(--ink);font:inherit;line-height:1.5;text-decoration:none}
header nav .account-dropdown a:hover,.account-dropdown button:hover{background:#eee5d8;color:var(--wine);text-decoration:none}
.account-menu-divider{height:1px;background:#e3d8ca;margin:5px 8px}
.account-dropdown button[data-menu-logout]{color:#a33438}.account-dropdown p{font-size:12px;padding:8px;margin:0}
@media(max-width:1100px){.account-menu{width:100%}.account-trigger{max-width:none;width:100%;padding:10px 14px;justify-content:space-between}.account-dropdown{position:static;width:100%;box-shadow:none;background:#f6f1e8;margin:4px 0 8px}}
