.sidebar-account-summary{flex-shrink:0;gap:8px;padding-block:14px 6px;display:grid}.sidebar-balance-row{gap:8px;display:flex}.sidebar-balance-pill,.sidebar-membership-button{border:1px solid #dedcd3;border-radius:22px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 14px;display:flex}.sidebar-balance-pill{background:#e9e7df;flex:1;justify-content:flex-start;min-width:0}.sidebar-balance-pill strong{overflow-wrap:anywhere;font-size:16px}.sidebar-gem-icon{flex-shrink:0;width:20px;height:20px}.sidebar-membership-button{color:#796127;background:#fff1bb;border-color:#e6d595;flex-shrink:0;font-size:14px;font-weight:600}.sidebar-home-row,.sidebar-profile-link{color:var(--muted);border-radius:16px;align-items:center;gap:12px;padding:12px 14px;display:flex}.sidebar-home-row:hover,.sidebar-balance-pill:hover{background:#e3e1d8}.sidebar-membership-button:hover{background:#ffe89a}.sidebar-account-navigation{flex-shrink:0;gap:4px;margin-top:8px;display:grid}.sidebar-profile-link:hover{color:var(--ink);background:#e3e1d8}.sidebar-home-row[aria-current=page],.sidebar-profile-link[aria-current=page]{color:#fff;background:#171714}@media (max-width:700px){.sidebar-account-summary,.sidebar-account-navigation{display:none}}.workspace-sidebar.is-guest,.workspace-drawer-content.is-guest{position:relative}.is-guest .workspace-sidebar-brand{margin-top:56px;position:static}.workspace-sidebar.is-guest.is-collapsed .workspace-sidebar-brand{margin-top:0}.is-guest .workspace-sidebar-brand .round-button{right:18px}.selected-app{grid-template-columns:264px minmax(0,1fr)}.workspace-sidebar,.workspace-drawer-content{background:#f2f1ec;padding-inline:18px}.workspace-sidebar-brand{justify-content:center;height:190px;padding:30px 0 18px;position:relative}.workspace-sidebar-brand .brand{letter-spacing:-.7px;flex-direction:column;gap:12px;font-size:23px}.workspace-sidebar-brand .brand img{border-radius:50%;width:66px;height:66px}.workspace-sidebar-brand .round-button{background:#e9e7df;border:0;width:36px;min-width:36px;height:36px;min-height:36px;position:absolute;top:12px;right:0}.sidebar-create-actions{flex-shrink:0;gap:10px;display:grid}.sidebar-login:disabled{cursor:wait;opacity:1}.sidebar-login-spinner{border:2px solid #fff5;border-top-color:currentColor;border-radius:50%;width:18px;height:18px;animation:.8s linear infinite sidebar-login-spin}@keyframes sidebar-login-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.sidebar-login-spinner{animation:none}}.sidebar-create{border:1px solid var(--ink);background:var(--ink);color:#fff;border-radius:24px;justify-content:center;align-items:center;gap:12px;min-height:44px;padding:10px 18px;font-size:14px;font-weight:600;display:flex}.sidebar-create:hover{color:#fff;background:#474337}.sidebar-recent-label{letter-spacing:1.2px;color:var(--muted);border-top:1px solid #dedcd2;flex-shrink:0;margin:0 12px 8px;padding-top:14px;font-size:10px;font-weight:600}.workspace-story-scroll{scrollbar-width:none;padding-top:0}.workspace-story-scroll::-webkit-scrollbar{display:none}.workspace-story-link{border-radius:10px;min-height:40px;padding:5px 14px}.sidebar-story-row:has(.workspace-story-link.active){background:#fff1b3}.sidebar-story-row{border-radius:10px;align-items:center;gap:2px;padding:6px;display:flex}.sidebar-story-row.is-archived .sidebar-story-copy,.sidebar-story-row.is-archived .sidebar-story-copy small{color:#a5a69e}.sidebar-story-row.is-archived .sidebar-story-cover{filter:grayscale();opacity:.55}.sidebar-story-row .workspace-story-link{flex:1;min-width:0;padding:0 4px 0 0}.sidebar-story-row .sidebar-story-more{width:24px;min-width:24px;height:24px;min-height:24px;color:var(--muted);background:0 0;border:1px solid;border-radius:50%;flex:0 0 24px;padding:3px}.sidebar-story-row .sidebar-story-more .ui-icon{width:16px;height:16px}.sidebar-story-row.is-showing-actions .sidebar-story-copy{display:none}.sidebar-story-row.is-showing-actions .workspace-story-link{flex:none}.sidebar-story-actions{flex:1;justify-content:center;align-items:center;gap:10px;display:flex;position:relative}.sidebar-story-actions>button{border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:8px;display:grid}.story-inline-archive{color:#58684c;background:#e4e8df}.story-inline-delete{color:#a6534c;background:#f3e1df}.sidebar-story-actions .ui-icon{width:20px;height:20px}.sidebar-story-actions .form-error{z-index:2;background:var(--paper);padding:6px;position:absolute;top:100%}@media (min-width:701px){.selected-app.sidebar-collapsed{grid-template-columns:80px minmax(0,1fr)}.workspace-sidebar.is-collapsed{padding-inline:12px}.is-collapsed .workspace-sidebar-brand{height:146px;padding-top:48px}.is-collapsed .workspace-sidebar-brand .round-button{left:50%;right:auto;transform:translate(-50%)}.is-collapsed .workspace-sidebar-brand .brand img{border-radius:50%;width:44px;height:44px}.is-collapsed .brand>span,.is-collapsed .sidebar-create-actions a>span:not(.icon-wrap),.is-collapsed .workspace-link>span:last-child{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.is-collapsed .sidebar-create{justify-content:center;width:44px;height:44px;min-height:44px;margin-inline:auto;padding:0}.is-collapsed .workspace-library{margin-top:16px}.is-collapsed .workspace-story-scroll{padding:4px}.is-collapsed .workspace-story-list{gap:10px}.is-collapsed .sidebar-story-row{background:0 0;justify-content:center;padding:0}.is-collapsed .sidebar-story-row:has(.workspace-story-link.active){background:0 0}.is-collapsed .sidebar-story-row .workspace-story-link{background:0 0;border-radius:7px;flex:0 0 44px;width:44px;padding:0}.is-collapsed .workspace-story-link .sidebar-story-cover{border-radius:7px;flex-basis:44px;width:44px;height:60px}.is-collapsed .workspace-story-link.active{outline:2px solid var(--ink);outline-offset:2px}.is-collapsed .sidebar-story-copy,.is-collapsed .sidebar-story-more,.is-collapsed .sidebar-story-actions,.is-collapsed .sidebar-library-empty,.is-collapsed .sidebar-account-summary,.is-collapsed .sidebar-profile-link>span:not(.icon-wrap){display:none}.is-collapsed .sidebar-home-row,.is-collapsed .sidebar-profile-link{background:#e3e1d8;border-radius:50%;justify-content:center;width:44px;height:44px;min-height:44px;margin-inline:auto;padding:0}.is-collapsed .sidebar-home-row:hover,.is-collapsed .sidebar-profile-link:hover{background:#d8d5ca}.is-collapsed .sidebar-home-row[aria-current=page],.is-collapsed .sidebar-profile-link[aria-current=page]{color:#fff;background:#171714}}@media (min-width:701px) and (max-width:1000px){.selected-app{grid-template-columns:232px minmax(0,1fr)}.workspace-sidebar{padding-inline:14px}}@media (max-width:700px){.workspace-drawer{width:min(300px,100vw - 32px)}.workspace-drawer .workspace-sidebar-brand{height:160px;padding-top:24px}.workspace-drawer .workspace-sidebar-brand .brand img{border-radius:50%;width:58px;height:58px}.workspace-drawer-content{overflow-y:auto}}@media (max-height:650px){.workspace-sidebar-brand,.workspace-drawer .workspace-sidebar-brand{height:120px;padding-top:20px}.workspace-sidebar-brand .brand{gap:6px;font-size:18px}.workspace-sidebar-brand .brand img,.workspace-drawer .workspace-sidebar-brand .brand img{border-radius:50%;width:44px;height:44px}.workspace-sidebar,.workspace-drawer-content{overflow-y:auto}.workspace-library:has(.sidebar-recent-label){min-height:90px}}@media (min-width:701px){.is-collapsed .sidebar-create-actions .sidebar-login>span{clip-path:none;white-space:normal;overflow-wrap:anywhere;width:auto;height:auto;position:static;overflow:visible}.is-collapsed .sidebar-login{text-align:center;width:100%;height:auto;min-height:44px;padding:8px 3px;font-size:11px}}.workspace-story-link .sidebar-story-cover{object-fit:cover;border-radius:6px;flex:0 0 32px;width:32px;height:44px}.workspace-story-link .sidebar-story-placeholder{background:#e2e2dc}.workspace-story-link .sidebar-story-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.sidebar-story-copy>span{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.sidebar-story-copy small{color:var(--muted);font-size:11px;font-weight:400}.workspace-sidebar:not(.is-guest):not(.is-collapsed) .workspace-sidebar-brand,.workspace-drawer-content:not(.is-guest) .workspace-sidebar-brand{justify-content:flex-start;height:64px;min-height:64px;padding:12px 44px 12px 0}.workspace-sidebar:not(.is-guest):not(.is-collapsed) .workspace-sidebar-brand .brand,.workspace-drawer-content:not(.is-guest) .workspace-sidebar-brand .brand{letter-spacing:-.5px;white-space:nowrap;flex-direction:row;gap:10px;font-size:20px}.workspace-sidebar:not(.is-guest):not(.is-collapsed) .workspace-sidebar-brand .brand img,.workspace-drawer-content:not(.is-guest) .workspace-sidebar-brand .brand img{border-radius:50%;width:36px;height:36px}.sidebar-list-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:0;display:flex}.sidebar-list-heading .sidebar-recent-label{margin:0}.sidebar-archive-toggle{background:0 0;flex:0 0 34px;width:34px;height:44px;padding:0;position:relative}.sidebar-archive-toggle:before{content:"";background:#d5d4cc;border-radius:20px;position:absolute;inset:12px 0}.sidebar-archive-toggle span{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:14px;left:2px;box-shadow:0 1px 3px #0002}.sidebar-archive-toggle[aria-checked=true]:before{background:var(--yellow)}.sidebar-archive-toggle[aria-checked=true] span{transform:translate(14px)}.is-collapsed .sidebar-list-heading{display:none}.sidebar-list-heading{border-top:1px solid #dedcd2;margin-top:12px;padding-top:8px}.sidebar-list-heading .sidebar-recent-label{border-top:0;padding-top:0;line-height:20px}.sidebar-library-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:360px;padding:32px 12px;display:flex}.sidebar-library-empty img{object-fit:contain;width:112px;height:112px}.sidebar-library-empty h3{color:var(--ink);margin:20px 0 10px;font-size:18px;line-height:1.5}.sidebar-library-empty p{max-width:240px;color:var(--muted);margin:0;font-size:13px;line-height:1.7}
.reader-loading{width:100%;max-width:var(--page-max-width,1600px);min-height:calc(100dvh - 32px);margin-inline:auto;padding:24px;position:relative}.reader-loading-header{align-items:center;gap:24px;margin-bottom:24px;display:flex}.reader-loading-title{background:#e8e8e3;border-radius:4px;width:140px;height:18px}.reader-loading-paper{flex-direction:column;gap:24px;max-width:960px;margin:auto;display:flex}.reader-loading-cover{aspect-ratio:16/9;background:#e8e8e3;border-radius:12px;max-height:320px}.reader-loading-heading{background:#e8e8e3;border-radius:4px;width:150px;height:14px}.reader-loading-paragraph{gap:14px;display:grid}.reader-loading-paragraph span{background:#e8e8e3;border-radius:4px;height:18px;display:block}.reader-loading-paragraph span:last-child{width:65%}.reader-loading-composer{background:#e8e8e3;border-radius:12px;height:76px;margin-top:16px}.reader-loading-hud{pointer-events:none;background:#171714e6;border-radius:16px;place-items:center;width:88px;height:88px;margin:-88px auto 0;display:grid;position:sticky;bottom:calc(50dvh - 44px);box-shadow:0 4px 16px #0002}.reader-loading-spinner{border:3px solid #ffffff40;border-top-color:#fff;border-radius:50%;width:32px;height:32px;animation:.8s linear infinite reader-loading-spin}@keyframes reader-loading-spin{to{transform:rotate(360deg)}}@media (max-width:700px){.reader-loading{padding:16px}.reader-loading-header{margin-bottom:20px}}@media (prefers-reduced-motion:reduce){.reader-loading-spinner{border-right-color:#fff;animation:none}}
