.writer-avatar{--wa-paper: hsl(var(--sidebar));--wa-ink: hsl(var(--foreground));--wa-skin: color-mix(in srgb,hsl(var(--card)) 88%,hsl(var(--sidebar-primary)));--wa-shirt: color-mix(in srgb,hsl(var(--sidebar-primary)) 72%,hsl(var(--foreground)));display:inline-flex;flex-shrink:0;overflow:hidden;border-radius:50%;isolation:isolate;background:var(--wa-paper);vertical-align:middle}.writer-avatar>svg,.writer-avatar>img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.writer-avatar .wa-paper{fill:var(--wa-paper)}.writer-avatar .wa-wash{fill:color-mix(in srgb,hsl(var(--sidebar-primary)) 12%,var(--wa-paper))}.writer-avatar .wa-skin{fill:var(--wa-skin)}.writer-avatar .wa-neck-shadow{fill:color-mix(in srgb,var(--wa-ink) 16%,var(--wa-skin))}.writer-avatar .wa-shirt{fill:var(--wa-shirt)}.writer-avatar :is(.wa-hair,.wa-ink){fill:var(--wa-ink)}.writer-avatar .wa-facial{stroke:var(--wa-ink)}.writer-avatar .wa-collar{fill:color-mix(in srgb,var(--wa-paper) 85%,var(--wa-shirt))}.writer-avatar :is(.wa-shirt-seam,.wa-cap-seam){stroke:var(--wa-paper);stroke-opacity:.45;stroke-width:1}.dark .writer-avatar{--wa-ink: color-mix(in srgb,hsl(var(--foreground)) 16%,hsl(var(--background)));--wa-skin: color-mix(in srgb,hsl(var(--foreground)) 80%,hsl(var(--card)));--wa-shirt: color-mix(in srgb,hsl(var(--sidebar-primary)) 68%,hsl(var(--card)))}@media (forced-colors:active){.writer-avatar{--wa-paper:Canvas;--wa-ink:CanvasText;--wa-skin:Canvas;--wa-shirt:CanvasText;outline:1px solid CanvasText}}[data-account-panel],button[data-account-trigger]{--ea-paper: hsl(var(--card));--ea-ink: hsl(var(--foreground));--ea-muted: color-mix(in srgb, hsl(var(--foreground)) 74%, hsl(var(--card)));--ea-line: color-mix(in srgb, hsl(var(--foreground)) 13%, hsl(var(--card)));--ea-hover: color-mix(in srgb, hsl(var(--sidebar-accent)) 55%, hsl(var(--card)));--ea-band-base: color-mix(in srgb, hsl(var(--sidebar-accent)) 68%, hsl(var(--sidebar)) 32%);--ea-band: color-mix(in srgb, var(--ea-band-base) 90%, hsl(var(--sidebar-primary)) 10%);--ea-band-ink: color-mix(in srgb, hsl(var(--foreground)) 95%, hsl(var(--sidebar-primary)));--ea-band-muted: color-mix(in srgb, hsl(var(--foreground)) 68%, var(--ea-band));--ea-band-accent: color-mix(in srgb, hsl(var(--sidebar-primary)) 78%, hsl(var(--foreground)));--ea-band-edge: color-mix(in srgb, hsl(var(--foreground)) 20%, var(--ea-band));--ea-band-line: color-mix(in srgb, hsl(var(--foreground)) 6%, transparent);--ea-band-highlight: #ffffff38;--ea-band-shadow: color-mix(in srgb, hsl(var(--foreground)) 16%, transparent);--ea-band-contact: color-mix(in srgb, hsl(var(--foreground)) 8%, transparent);--ea-light: #ffffff66;--ea-cut: color-mix(in srgb, hsl(var(--foreground)) 12%, transparent);--ea-radius-shell: 16px;--ea-radius-row: 6px;--ea-radius-mark: 4px;font-family:Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.dark [data-account-panel],.dark button[data-account-trigger]{--ea-band-base: color-mix(in srgb, hsl(var(--sidebar-accent)) 70%, hsl(var(--sidebar)) 30%);--ea-band: var(--ea-band-base);--ea-band-ink: hsl(var(--foreground));--ea-band-muted: color-mix(in srgb, hsl(var(--foreground)) 72%, var(--ea-band));--ea-band-accent: color-mix(in srgb, hsl(var(--sidebar-primary)) 72%, hsl(var(--foreground)));--ea-band-edge: color-mix(in srgb, hsl(var(--foreground)) 22%, var(--ea-band));--ea-band-line: #ffffff0a;--ea-band-highlight: #ffffff12;--ea-band-shadow: #00000040;--ea-band-contact: #0000002f;--ea-light: #ffffff0a;--ea-cut: #00000066}button[data-account-trigger]{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;height:36px;padding:2px 5px;border:1px solid transparent;border-radius:var(--ea-radius-row);color:var(--ea-ink);background:transparent;box-shadow:none;text-align:left}button[data-account-trigger] .ea-trigger-name{font-size:12px;line-height:20px;overflow:hidden!important;white-space:nowrap;text-overflow:ellipsis;min-width:0}button[data-account-trigger][data-collapsed=true]{width:40px;justify-content:center}button[data-account-trigger]:hover{background:var(--ea-hover);border-color:var(--ea-line)}button[data-account-trigger][data-state=open]{background:hsl(var(--sidebar-accent));border-color:transparent;box-shadow:inset 0 1px 2px var(--ea-cut)}[data-account-panel].editor-account-panel{display:flex;flex-direction:column;width:min(336px,calc(100vw - 16px));min-width:0;max-width:calc(100vw - 16px)!important;max-height:min(660px,calc(100dvh - 16px),var(--radix-popover-content-available-height, 660px));padding:0;overflow:hidden!important;border:1px solid var(--ea-line);border-radius:var(--ea-radius-shell);background:var(--ea-paper)!important;color:var(--ea-ink);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 4px 10px hsl(var(--foreground) / .05),0 16px 38px hsl(var(--foreground) / .12);z-index:100000}.dark [data-account-panel].editor-account-panel{box-shadow:0 8px 28px #00000060}[data-account-panel] .ea-identity{display:flex;align-items:center;gap:11px;flex-shrink:0;min-width:0;padding:16px 12px 14px 16px}[data-account-panel] .ea-person{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}[data-account-panel] .ea-name{color:var(--ea-ink);font-size:14px;line-height:22px;font-weight:600;overflow:hidden!important;white-space:nowrap;text-overflow:ellipsis}[data-account-panel] .ea-email{font-size:11px;line-height:18px;color:var(--ea-muted);overflow:hidden!important;white-space:nowrap;text-overflow:ellipsis}[data-account-panel] .ea-head-actions{display:inline-flex;align-items:center;gap:2px;flex-shrink:0}[data-account-panel] .ea-icon-button{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:var(--ea-radius-row);background:transparent;color:var(--ea-muted)}[data-account-panel] .ea-icon-button:hover:not(:disabled){background:var(--ea-hover);color:var(--ea-ink)}[data-account-panel] .ea-icon-button:disabled{opacity:.55;cursor:wait}[data-account-panel] .ea-scroll{min-height:0;overflow:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ea-line) transparent;padding:0 8px 6px;scroll-padding-block:8px}[data-account-panel] .ea-credit{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 140px;min-height:104px;margin:0 4px 13px;padding:13px 10px 12px 14px;min-width:0;overflow:hidden;isolation:isolate;border:1px solid color-mix(in srgb,hsl(var(--foreground)) 16%,transparent);border-radius:11px;color:var(--ea-band-ink);cursor:default;background-color:color-mix(in srgb,hsl(var(--card)) 94%,hsl(var(--primary)));background-image:radial-gradient(ellipse at 93% 7%,#ffffff23,transparent 64%),linear-gradient(118deg,#ffffff05,transparent 63%,#38251305);box-shadow:inset 0 1px #ffffff30,0 2px 3px #201a1207,0 12px 32px -14px #201a1226}[data-account-panel] .ea-credit:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");opacity:.037;mix-blend-mode:multiply}[data-account-panel] .ea-credit:after{content:"";position:absolute;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;border:1px solid #ffffff10;border-radius:9px}[data-account-panel] .ea-credit-copy{position:relative;z-index:2;min-width:0;align-self:center}[data-account-panel] .ea-plan-line{display:flex;align-items:center;gap:8px;min-height:22px}[data-account-panel] .ea-plan-state{font-size:12px;font-weight:500;line-height:20px;color:var(--ea-band-ink)}[data-account-panel] .ea-credit-refresh{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;padding:0;margin-left:auto;border:0;border-radius:4px;background:transparent;color:var(--ea-band-muted)}[data-account-panel] .ea-credit-refresh:hover:not(:disabled){background:color-mix(in srgb,var(--ea-band-ink) 10%,transparent);color:var(--ea-band-ink)}[data-account-panel] .ea-credit-refresh:disabled{cursor:wait;opacity:.6}[data-account-panel] .ea-credit-values{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;margin-top:3px}[data-account-panel] .ea-credit-label{flex-shrink:0;color:var(--ea-band-muted);font-size:11px;line-height:18px}[data-account-panel] .ea-balance{max-width:100%;min-width:0;font-size:24px;line-height:31px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:var(--ea-band-ink);text-align:left;overflow-wrap:anywhere}[data-account-panel] .ea-credit-art{grid-column:2;grid-row:1;align-self:end;justify-self:end;width:148px;height:82px;margin:0 -5px -8px 0;color:var(--ea-band-accent);opacity:.82;pointer-events:none}[data-account-panel] .ea-credit-art .floating-writer__main{opacity:.9}[data-account-panel] .ea-credit-art .floating-writer__faint{opacity:.22}[data-account-panel] .ea-credit-art .floating-writer__hatch{opacity:.16}[data-account-panel] .ea-credit-art .floating-writer__dots{opacity:.32}[data-account-panel] .ea-credit-note{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ea-band-muted);font-size:11px;line-height:18px;margin-top:6px;position:relative;z-index:2}[data-account-panel] .ea-credit-note button{padding:3px 8px;min-height:28px;border:1px solid color-mix(in srgb,var(--ea-band-ink) 34%,transparent);border-radius:4px;color:var(--ea-band-ink);background:transparent}[data-account-panel] .ea-actions{display:flex;flex-direction:column;gap:0;padding:0 4px}[data-account-panel] .ea-action-group{display:flex;flex-direction:column}[data-account-panel] .ea-action-group-secondary{margin-top:6px;padding-top:6px;border-top:1px solid var(--ea-line)}[data-account-panel] .ea-row{display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:9px 8px;border:0;border-radius:var(--ea-radius-row);text-align:left;font-size:13px;line-height:22px;font-weight:400;color:var(--ea-ink);background:transparent;box-shadow:none;cursor:pointer;transition:background-color .12s ease}[data-account-panel] .ea-row>svg{flex-shrink:0;color:var(--ea-muted)}[data-account-panel] .ea-row>span:first-of-type{flex:1;min-width:0}[data-account-panel] .ea-row-hint{font-size:11px;line-height:18px;color:var(--ea-muted)}[data-account-panel] .ea-arrow{margin-left:auto}[data-account-panel] .ea-row:hover{background:var(--ea-hover)}[data-account-panel] .ea-row:active{background:hsl(var(--sidebar-accent))}[data-account-panel] .ea-avatar-toggle[aria-expanded=true]{background:var(--ea-hover)}[data-account-panel] .ea-avatar-toggle[aria-expanded=true] .ea-arrow{transform:rotate(90deg)}[data-account-panel] .ea-footer{flex-shrink:0;margin:0 12px;padding:6px 0 8px;border-top:1px solid var(--ea-line);background:transparent}[data-account-panel] .ea-logout{color:var(--ea-muted)}[data-account-panel] .ea-logout:hover{color:color-mix(in srgb,hsl(var(--destructive)) 50%,var(--ea-ink))}[data-account-panel] .ea-avatar-picker{padding:8px 2px 4px}[data-account-panel] .ea-avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}[data-account-panel] .ea-avatar-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 2px 5px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ea-muted);min-height:66px;min-width:44px;font-size:10px;line-height:15px}[data-account-panel] .ea-avatar-option:hover{background:var(--ea-hover);border-color:var(--ea-line)}[data-account-panel] .ea-avatar-option[aria-pressed=true]{background:hsl(var(--sidebar-accent));border-color:hsl(var(--sidebar-ring));color:hsl(var(--sidebar-accent-foreground));box-shadow:inset 0 1px 2px var(--ea-cut)}[data-account-panel] .ea-avatar-check{position:absolute;right:4px;top:3px}[data-account-panel] .ea-note{margin:8px 4px 0;color:var(--ea-muted);font-size:11px;line-height:18px}[data-account-panel] button:focus-visible,button[data-account-trigger]:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}[data-account-panel] .ea-credit button:focus-visible{outline-color:var(--ea-band-ink)}button[data-account-trigger][data-account-placement=header]{width:44px;height:44px;min-width:44px;padding:4px;justify-content:center;border-radius:50%}[data-account-panel][data-account-placement=header] .ea-credit{grid-template-columns:minmax(0,1fr) 88px;margin-bottom:8px}[data-account-panel][data-account-placement=header] .ea-credit-art{width:104px;height:82px}[data-account-panel] .ea-balance-link{border:0;padding:0;background:transparent;cursor:pointer;text-align:left;min-height:36px}[data-account-panel] .ea-balance-link:hover{text-decoration:underline;text-underline-offset:4px}[data-account-panel] .ea-credit-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 4px 12px;padding:10px 0;border-bottom:1px solid var(--ea-line)}[data-account-panel] .ea-credit-breakdown>div{min-width:0;padding:0 8px;border-inline-start:1px solid var(--ea-line)}[data-account-panel] .ea-credit-breakdown>div:first-child{border:0}[data-account-panel] .ea-credit-breakdown dt{font-size:11px;line-height:1.7;color:var(--ea-muted)}[data-account-panel] .ea-credit-breakdown dd{margin:3px 0 0;font-size:12px;font-weight:550;font-variant-numeric:tabular-nums;line-height:1.7;overflow-wrap:anywhere;color:var(--ea-ink)}[data-account-panel] .ea-membership-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin:0 12px 10px;font-size:11px;line-height:1.8;color:var(--ea-muted);font-variant-numeric:tabular-nums}[data-account-panel] .ea-membership-meta strong{font-weight:600;color:var(--ea-ink)}[data-account-panel] .ea-plan-state,[data-account-panel] .ea-row>span{overflow-wrap:anywhere}@media (pointer:coarse){[data-account-panel] .ea-balance-link{min-height:44px!important}}@media (forced-colors:active){[data-account-panel] .ea-credit-breakdown :is(dt,dd),[data-account-panel] .ea-membership-meta{color:CanvasText}}[data-sidebar-surface=etch] [data-account-footer]{display:flex;align-items:center;gap:4px;padding:6px 8px;background:hsl(var(--sidebar));border-top:1px solid hsl(var(--sidebar-border))}[data-sidebar-surface=etch] [data-account-footer]>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;min-width:32px;height:36px;width:32px;padding:0;border:1px solid transparent;border-radius:6px;color:var(--sidebar-etch-muted);background:transparent;box-shadow:none}[data-sidebar-surface=etch] [data-account-footer]>[data-account-trigger]{flex:1 1 auto;min-width:38px;width:auto;justify-content:flex-start;padding:2px 3px;gap:7px}[data-sidebar-surface=etch] [data-account-footer]>button:hover:where(:not(:disabled):not([data-state=open])){color:hsl(var(--foreground));background:hsl(var(--muted));border-color:hsl(var(--sidebar-border));box-shadow:inset 0 1px 0 var(--sidebar-etch-light)}[data-sidebar-surface=etch] [data-account-footer]>button[data-state=open]{background:hsl(var(--sidebar-accent));box-shadow:inset 0 1px 2px var(--sidebar-etch-cut);border-color:transparent}[data-sidebar-surface=etch] [data-account-footer]>button:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}[data-sidebar-surface=etch] [data-account-footer] .lucide-crown{color:hsl(var(--sidebar-primary))}.ea-help-popover{background:hsl(var(--card))!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:14px;color:hsl(var(--foreground));max-width:calc(100vw - 16px)}.ea-help-popover .text-muted-foreground{color:color-mix(in srgb,hsl(var(--foreground)) 78%,hsl(var(--card)))}@media (max-width:767px),(pointer:coarse){[data-account-panel] :is(.ea-row,.ea-icon-button,.ea-credit-refresh,.ea-credit-note button){min-width:44px!important;min-height:44px!important}button[data-account-trigger]{min-width:44px;height:44px}[data-account-panel] .ea-identity{padding:12px 10px;gap:8px}[data-account-panel] .ea-credit{grid-template-columns:minmax(0,1fr) 92px;min-height:98px;padding-left:12px}[data-account-panel] .ea-credit-art{width:106px;height:69px;opacity:.66}[data-account-panel] .ea-balance{font-size:22px;line-height:30px}}@media (max-width:767px){[data-sidebar-surface=etch] [data-account-footer]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-items:stretch;align-items:center;gap:0;padding:4px 8px}[data-sidebar-surface=etch] [data-account-footer]>button,[data-sidebar-surface=etch] [data-account-footer]>button[data-account-trigger]{width:100%;height:52px;min-width:44px!important;min-height:52px!important;justify-content:center;padding:3px 0}[data-sidebar-surface=etch] [data-account-footer] .ea-trigger-name{display:none}}@media (prefers-reduced-motion:reduce){[data-account-panel],button[data-account-trigger],[data-account-panel] button,[data-account-footer] button{animation:none;transition:none}}@media (forced-colors:active){[data-account-panel]{--ea-band: Canvas;--ea-band-ink: CanvasText;--ea-band-muted: CanvasText}[data-account-panel].editor-account-panel,[data-account-panel] :is(.ea-credit,.ea-row,.ea-avatar-option),button[data-account-trigger],[data-sidebar-surface=etch] [data-account-footer]>button{background:Canvas!important;color:CanvasText;border-color:ButtonText;box-shadow:none}[data-account-panel] .ea-credit:before,[data-account-panel] .ea-credit:after{display:none}[data-account-panel] .ea-row:hover{background:Highlight!important;color:HighlightText}[data-account-panel] .ea-avatar-option[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-2px}[data-account-panel] :is(.ea-name,.ea-email,.ea-note,.ea-row-hint,.ea-row>svg){color:CanvasText}}[data-ui-motion-surface]{--ui-enter-x: 0px;--ui-enter-y: 0px}[data-ui-motion-surface][data-side=bottom]{--ui-enter-y: -4px}[data-ui-motion-surface][data-side=top]{--ui-enter-y: 4px}[data-ui-motion-surface][data-side=left]{--ui-enter-x: 4px}[data-ui-motion-surface][data-side=right]{--ui-enter-x: -4px}[data-ui-motion-surface][data-state=open],[data-ui-motion-surface][data-state=delayed-open],[data-ui-motion-surface][data-state=instant-open]{animation:ui-s37-surface-in .13s cubic-bezier(.2,.8,.2,1)!important}[data-ui-motion-surface][data-state=closed]{animation:ui-s37-surface-out 90ms ease-out!important;animation-fill-mode:forwards!important;pointer-events:none!important}@keyframes ui-s37-surface-in{0%{opacity:.35;transform:translate(var(--ui-enter-x),var(--ui-enter-y))}to{opacity:1;transform:translate(0)}}@keyframes ui-s37-surface-out{0%{opacity:1}to{opacity:0}}[data-radix-popper-content-wrapper]:has(>[data-ui-motion-surface][data-state=closed]){pointer-events:none!important}[data-ui-motion-tabs=true]{position:relative;isolation:isolate}[data-ui-motion-tabs=true]>[role=tab]{position:relative;z-index:1;transition-property:color,border-color}[data-ui-motion-enter]{animation:ui-s37-enter .15s ease-out}@keyframes ui-s37-enter{0%{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){[data-ui-motion-novel-card]{transform:none!important}[data-ui-motion-surface][data-state=closed]{display:none!important}[data-ui-motion-surface][data-state],[data-ui-motion-enter],[data-ui-motion-tabs=true]>[role=tab],[data-ui-motion-feedback] .animate-spin,[data-ui-motion-feedback] .etched-spinner{animation:none!important;transition:none!important}}
