.pa-account-workspace{margin:1rem 0;padding:1rem;border:2px solid #334155;border-radius:1rem;background:#fff;color:#172033}
.pa-account-workspace [data-pa-account-actions]{display:flex;flex-wrap:wrap;gap:.75rem}
.pa-account-workspace button,.pa-account-workspace a{min-height:48px;min-width:48px;font-size:1rem;line-height:1.45}
.pa-account-workspace button{padding:.75rem 1rem;border:2px solid #334155;border-radius:.65rem;background:#f8fafc;color:#172033;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.pa-account-workspace a{display:inline-flex;align-items:center;margin-top:.75rem;color:#134e90;text-decoration:underline}
.pa-account-workspace button:focus-visible,.pa-account-workspace a:focus-visible{outline:3px solid #1d4ed8;outline-offset:3px}
.pa-account-workspace button:disabled{color:#475569;background:#e2e8f0;cursor:not-allowed}
.pa-account-workspace [hidden]{display:none!important}
@media(max-width:480px){.pa-account-workspace button{width:100%}}

/* Private saved work: large actions, gentle colours, no score claims. */
.pa-account-workspace{border-color:#bed3c5;background:#f5faf5;color:#173e30}
.pa-account-workspace [data-pa-account-load],.pa-account-workspace [data-pa-account-save]{border-color:#236048;background:#236048;color:#fff;font-weight:700}
.pa-account-workspace [data-pa-account-load]:disabled,.pa-account-workspace [data-pa-account-save]:disabled{border-color:#94a89d;background:#e3ebe5;color:#40594b}
.pa-account-workspace details{flex-basis:100%;margin-top:.5rem}
.pa-account-workspace summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-weight:700;text-decoration:underline}
.pa-account-workspace summary:focus-visible{outline:3px solid #1d4ed8;outline-offset:3px}
.pas-main{max-width:1120px;margin-inline:auto;padding:1.5rem 1.1rem 2.5rem;color:#173e30}
.pas-main *{box-sizing:border-box}
.pas-main a{color:inherit}
.pas-main a:focus-visible,.pas-main summary:focus-visible,.pas-footer a:focus-visible{outline:3px solid #1d4ed8;outline-offset:4px}
.pas-back{display:inline-flex;align-items:center;gap:.5rem;min-height:48px;font-weight:700;margin-bottom:.75rem;text-decoration:none}
.pas-hero{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:1.5rem;align-items:center;padding:2rem;border:1px solid #bfd4c3;border-radius:1.5rem;background:linear-gradient(125deg,#f0f7e9,#fffdf3);overflow-wrap:anywhere}
.pas-eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.1em;color:#386548;margin:0 0 .65rem}
.pas-hero h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.15;letter-spacing:-.03em;margin:0;max-width:19ch}
.pas-lead{font-size:1.12rem;line-height:1.7;max-width:52ch;margin:1rem 0 1.25rem}
.pas-button{display:inline-flex;gap:.7rem;align-items:center;justify-content:center;min-height:50px;padding:.8rem 1rem;background:#fff;border:1px solid #8aac98;border-radius:.9rem;font-size:1rem;line-height:1.5;font-weight:700;text-decoration:none;text-align:center;overflow-wrap:anywhere}
.pas-main .pas-button-primary{background:#236048;color:#fff;border-color:#236048}
.pas-saved-badge{display:flex;align-items:center;flex-direction:column;padding:1.4rem 1rem;border:1px solid #c5d8c6;border-radius:1.25rem;background:#ffffffd9;text-align:center}
.pas-saved-badge>strong{font-size:3.1rem;line-height:1.15;margin:.35rem 0}
.pas-saved-badge>span{font-size:.95rem;font-weight:700}
.pas-saved-badge>small{font-size:.8rem;line-height:1.6;margin-top:.7rem;color:#476252}
.pas-main .workspace-tools{margin:1.1rem 0}
.pas-section{margin-top:2rem}
.pas-section-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-end;flex-wrap:wrap;margin-bottom:1rem}
.pas-section h2{font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.3;margin:0}
.pas-section-note{max-width:70ch;font-size:1rem;line-height:1.65;margin:.75rem 0 1.25rem}
.pas-notice,.pas-empty{display:flex;gap:1.2rem;align-items:flex-start;border:1px dashed #a9c3ae;padding:1.5rem;background:#fbfcf7;border-radius:1.25rem}
.pas-notice>span,.pas-empty-icon{display:flex;justify-content:center;align-items:center;width:64px;height:64px;flex-shrink:0;background:#e6f1df;border-radius:1rem;color:#365d3d}
.pas-empty h3,.pas-notice h3{font-size:1.25rem;margin:0 0 .6rem;line-height:1.4}
.pas-empty p,.pas-notice p{line-height:1.7;margin:.25rem 0 1.1rem;max-width:60ch}
.pas-cards{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:0;margin:0}
.pas-card{display:flex;flex-direction:column;align-items:flex-start;padding:1.4rem;border:1px solid #c5d8c6;border-radius:1.15rem;background:#fff;box-shadow:0 4px 0 #e6ede4;min-width:0}
.pas-card-icon{display:inline-flex;justify-content:center;align-items:center;width:52px;height:52px;flex:0 0 52px;border-radius:1rem;background:#edf3de;color:#365b38}
.pas-kind-memory .pas-card-icon{background:#e9edff;color:#304d91}
.pas-kind-puzzle .pas-card-icon{background:#fff0d9;color:#76500f}
.pas-kind-rhythm .pas-card-icon{background:#f4eafd;color:#68428b}
.pas-kind-label{font-size:.82rem;font-weight:700;color:#46634f;margin:.9rem 0 .45rem}
.pas-card h3{font-size:1.22rem;line-height:1.5;margin:0 0 .55rem;overflow-wrap:anywhere}
.pas-state{font-size:1rem;line-height:1.6;margin:0 0 .8rem}
.pas-time{display:flex;gap:.3rem;align-items:center;flex-wrap:wrap;font-size:.82rem;line-height:1.5;color:#506155;margin:0 0 1.2rem}
.pas-card-action{width:100%;margin-top:auto;justify-content:space-between;background:#f1f7ed}
.pas-discover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.pas-discover-card{display:flex;gap:.8rem;align-items:center;padding:1rem;min-height:124px;border:1px solid #c5d8c6;border-radius:1rem;background:#fff;text-decoration:none;overflow-wrap:anywhere}
.pas-discover-card>span:nth-child(2){flex:1;min-width:0}
.pas-discover-card strong{display:block;font-size:1rem;line-height:1.55;margin-top:.3rem}
.pas-discover-card small{font-size:.8rem;color:#476252}
.pas-discover-card>svg{flex-shrink:0;width:18px}
.pas-text-link{display:inline-flex;gap:.5rem;align-items:center;min-height:48px;font-weight:700;text-underline-offset:.2em}
.pas-privacy{margin:2rem 0 0;border:1px solid #c6d6cb;border-radius:1rem;background:#f6f9f4;line-height:1.7}
.pas-privacy summary{display:flex;align-items:center;gap:.65rem;min-height:60px;padding:.8rem 1.1rem;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:.2em}
.pas-privacy>div{padding:0 1.1rem .8rem;max-width:85ch}
.pas-privacy p{margin:.6rem 0}
.pas-footer{max-width:1120px;margin:0 auto;padding:1rem 1.1rem 2rem;display:flex;gap:1.5rem;flex-wrap:wrap;color:#244e3a}
.pas-footer a{display:inline-flex;align-items:center;min-height:48px;text-underline-offset:.2em}
@media(max-width:960px){.pas-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.pas-discover-grid{grid-template-columns:1fr}.pas-discover-card{min-height:90px}.pas-hero{padding:1.5rem;grid-template-columns:minmax(0,1fr) 170px}}
@media(max-width:580px){.pas-main{padding:1rem .8rem 2rem}.pas-hero{grid-template-columns:1fr;padding:1.3rem;gap:1.2rem}.pas-saved-badge{display:grid;grid-template-columns:auto 1fr;gap:.2rem .9rem;text-align:left;padding:1rem}.pas-saved-badge>span:first-child{grid-row:span 3}.pas-saved-badge>strong{font-size:2rem;margin:0}.pas-saved-badge>small{grid-column:2;margin:0}.pas-cards{grid-template-columns:1fr}.pas-card{padding:1.2rem}.pas-empty,.pas-notice{flex-direction:column;padding:1.2rem}.pas-button{width:100%}.pas-section{margin-top:1.5rem}.pas-privacy summary{align-items:flex-start}.pas-privacy summary svg{flex-shrink:0;margin-top:.2rem}}
@media(prefers-reduced-motion:reduce){.pas-main *,.pa-account-workspace *{scroll-behavior:auto!important;transition:none!important}}
