/* Scoped account tools; the parent wall card owns the existing spin and theme. */
.profile-card .login-card-inner { rotate:none!important; }
.profile-card.is-profile-entering .login-card-inner, .profile-card.is-profile-turning .login-card-inner { pointer-events:none!important; }
.profile-card .login-face-back { padding: 0; justify-content: flex-start; }
.aag-profile-tile { --pt-ink:#292319; --pt-muted:#776d5b; --pt-line:rgba(127,97,43,.17); --pt-surface:rgba(255,253,247,.72); --pt-accent:#967039; display:flex; flex-direction:column; width:100%; height:100%; min-height:0; color:var(--pt-ink); font-family:inherit; text-align:left; }
.aag-profile-tile *, .aag-profile-tile *::before, .aag-profile-tile *::after { box-sizing:border-box; }
.aag-profile-tile [hidden] { display:none!important; }
.pt-header { display:flex; align-items:center; gap:10px; flex-shrink:0; padding:20px 20px 13px; border-bottom:1px solid var(--pt-line); }
.pt-heading { min-width:0; flex:1; }
.pt-eyebrow { margin:0 0 5px; color:var(--pt-accent); font-size:9px; font-weight:650; letter-spacing:.13em; text-transform:uppercase; }
.pt-title { margin:0; font-size:clamp(18px,5.2cqw,24px); line-height:1.15; font-weight:650; letter-spacing:-.035em; overflow-wrap:anywhere; }
.pt-body { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:16px 20px 18px; scrollbar-width:thin; scrollbar-color:var(--pt-line) transparent; -webkit-overflow-scrolling:touch; }
.pt-body > :first-child { margin-top:0; }
.pt-body > :last-child { margin-bottom:0; }
.pt-back { flex:0 0 32px; width:32px; height:34px; display:grid; place-items:center; border:1px solid var(--pt-line); border-radius:11px; background:var(--pt-surface); color:var(--pt-ink); font:inherit; font-size:25px; line-height:1; cursor:pointer; }
.pt-note { flex-shrink:0; margin:0; padding:0 20px; font-size:11px; line-height:1.45; color:var(--pt-muted); overflow-wrap:anywhere; }
.aag-profile-tile > .pt-note { color:#a04531; }
.pt-note:not(:empty) { padding-top:10px; padding-bottom:14px; border-top:1px solid var(--pt-line); max-height:100px; overflow:auto; }
.pt-note[data-tone="success"] { color:#50734b; }
.pt-identity { display:flex; align-items:center; gap:11px; margin-bottom:17px; min-width:0; }
.pt-identity > div { min-width:0; }
.pt-avatar { flex-shrink:0; width:43px; height:43px; border-radius:50%; object-fit:cover; border:1px solid var(--pt-line); }
.pt-avatar-initial { display:grid; place-items:center; background:var(--pt-surface); color:var(--pt-accent); font-size:19px; font-weight:600; }
.pt-email { margin:0 0 5px; font-size:11px; color:var(--pt-muted); overflow-wrap:anywhere; }
.pt-badge,.pt-status { display:inline-block; border-radius:999px; padding:4px 8px; font-size:9px; font-weight:600; line-height:1.3; background:rgba(166,130,61,.12); color:var(--pt-accent); }
.pt-menu { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.pt-menu-item { display:flex; align-items:center; gap:9px; width:100%; min-height:68px; padding:11px 10px; border:1px solid var(--pt-line); border-radius:14px; background:var(--pt-surface); color:var(--pt-ink); text-align:left; font:inherit; cursor:pointer; box-shadow:0 2px 4px rgba(91,71,35,.025); transition:background .18s,transform .18s,border-color .18s; }
.pt-menu-item:hover { background:rgba(255,254,250,.95); border-color:rgba(147,110,46,.4); }
.pt-menu-item:active { transform:scale(.975); }
.pt-menu-item > span:last-child { min-width:0; }
.pt-menu-item strong { display:block; font-size:11px; line-height:1.3; font-weight:650; }
.pt-menu-item small { display:block; margin-top:3px; font-size:9px; line-height:1.3; color:var(--pt-muted); }
.pt-menu-icon { display:grid; place-items:center; flex:0 0 25px; width:25px; color:var(--pt-accent); }
.pt-menu-icon svg { width:22px; height:22px; }
.pt-logout { display:block; margin:16px auto 0; padding:6px 12px; border:0; background:transparent; color:var(--pt-muted); font:inherit; font-size:11px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.pt-copy { margin:0 0 16px; color:var(--pt-muted); font-size:12px; line-height:1.55; overflow-wrap:anywhere; }
.pt-caption { margin:12px 0; color:var(--pt-muted); font-size:10px; line-height:1.5; }
.pt-empty { padding:15px 0; margin:0; font-size:12px; line-height:1.55; color:var(--pt-muted); }
.pt-form { display:flex; flex-direction:column; gap:13px; margin:18px 0 12px; }
.pt-field { display:flex; flex-direction:column; gap:6px; margin:0; }
.pt-label { color:var(--pt-muted); font-size:11px; font-weight:600; }
.aag-profile-tile .pt-field input,.aag-profile-tile .pt-field textarea,.aag-profile-tile select { display:block; width:100%; min-height:42px; padding:11px 12px; border:1px solid var(--pt-line); border-radius:12px; color:var(--pt-ink); background:var(--pt-surface); box-shadow:none; outline:0; font:inherit; font-size:13px; line-height:1.4; }
.aag-profile-tile .pt-field textarea { resize:vertical; min-height:80px; }
.aag-profile-tile input:focus,.aag-profile-tile textarea:focus,.aag-profile-tile select:focus { border-color:var(--pt-accent); box-shadow:0 0 0 2px rgba(163,125,63,.1); }
.pt-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:40px; padding:10px 14px; border:1px solid transparent; border-radius:999px; background:var(--pt-ink); color:#fcf7ec; font:inherit; font-size:11px; font-weight:600; line-height:1.3; text-decoration:none; text-align:center; cursor:pointer; }
.pt-body > .pt-button { width:100%; margin-top:10px; }
.pt-button-secondary { color:var(--pt-ink); background:var(--pt-surface); border-color:var(--pt-line); }
.pt-button:disabled,.aag-profile-tile button:disabled { opacity:.5; cursor:wait; }
.pt-actions { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px; }
.pt-actions .pt-button { flex:1; min-width:0; }
.pt-list { margin:4px 0 15px; }
.pt-row { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:13px 0; border:0; border-bottom:1px solid var(--pt-line); width:100%; text-align:left; font:inherit; color:var(--pt-ink); background:transparent; }
.pt-row > div { min-width:0; flex:1; }
.pt-row strong { display:block; font-size:12px; line-height:1.4; font-weight:600; overflow-wrap:anywhere; }
.pt-row small { display:block; margin-top:4px; color:var(--pt-muted); font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
.pt-status { flex-shrink:0; max-width:80px; text-align:center; overflow-wrap:anywhere; }
.pt-text-button { flex-shrink:0; border:0; padding:8px 0 8px 5px; background:transparent; font:inherit; font-size:10px; color:var(--pt-accent); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.pt-photo-preview { display:grid; place-items:center; margin:6px 0 20px; }
.pt-avatar-large { width:96px; height:96px; font-size:36px; }
.aag-profile-tile input.pt-file { font:inherit; font-size:11px; width:100%; padding:12px 0; border:0; border-radius:0; box-shadow:none; background:transparent; color:var(--pt-muted); }
.pt-file::file-selector-button { border:1px solid var(--pt-line); padding:9px 12px; border-radius:999px; background:var(--pt-surface); color:var(--pt-ink); cursor:pointer; font:inherit; margin-right:8px; }
.pt-thread { cursor:pointer; }
.pt-thread:hover { color:var(--pt-accent); }
.pt-messages { display:flex; flex-direction:column; gap:10px; max-height:240px; overflow-y:auto; overscroll-behavior:contain; }
.pt-message { margin-right:18px; padding:12px; border:1px solid var(--pt-line); border-radius:13px 13px 13px 3px; background:var(--pt-surface); }
.pt-message-self { margin-right:0; margin-left:18px; border-radius:13px 13px 3px 13px; background:rgba(177,139,66,.1); }
.pt-message small { font-size:9px; color:var(--pt-muted); }
.pt-message p { white-space:pre-wrap; overflow-wrap:anywhere; margin:6px 0 0; font-size:12px; line-height:1.55; }
.pt-plan-name { font-size:25px; font-weight:650; margin:0 0 9px; letter-spacing:-.035em; }
.pt-section { margin-top:16px; padding-top:15px; border-top:1px solid var(--pt-line); }
.pt-section .pt-button { width:100%; margin-top:10px; }
.pt-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.pt-thumbnail { display:block; width:100%; aspect-ratio:1; object-fit:cover; border-radius:12px; background:var(--pt-surface); }
.aag-profile-tile :focus-visible { outline:2px solid var(--pt-accent); outline-offset:3px; }
html.is-generator .aag-profile-tile { --pt-ink:#f2eade; --pt-muted:#b9b0a2; --pt-line:rgba(214,182,129,.2); --pt-surface:rgba(255,244,223,.055); --pt-accent:#dac197; }
html.is-generator .pt-button:not(.pt-button-secondary) { color:#242019; }
html.is-generator .pt-menu-item:hover { background:rgba(255,244,223,.1); }
html.is-generator .pt-note[data-tone="success"] { color:#a5cba0; }
@media(max-width:480px) { .pt-header { padding:17px 15px 12px; } .pt-body { padding:14px 15px 16px; } .pt-note { padding-left:15px; padding-right:15px; } .pt-menu { gap:8px; } .pt-menu-item { min-height:65px; padding:9px 8px; gap:7px; } .pt-menu-item strong { font-size:11px; } .aag-profile-tile .pt-field input,.aag-profile-tile .pt-field textarea,.aag-profile-tile select { font-size:16px; } }
@media(prefers-reduced-motion:reduce) { .pt-menu-item { transition:none; } }
