.notebook-module{--notebook-paper:#fffdf7;--notebook-rule:#4aa3c72e;--notebook-margin:#d65c5c61;--notebook-ink:#1f2a44;width:100%;height:100%;min-height:0}:root[data-theme=dark] .notebook-module{--notebook-paper:#16313c;--notebook-rule:#8fb4c224;--notebook-margin:#e878784d;--notebook-ink:#eaf5f8}.my-space-main-scroll:has(.notebook-module){overflow:hidden}.notebook-workspace{width:100%;height:100%;min-height:0;color:var(--foreground);background:var(--surface-warm);grid-template-columns:minmax(420px,1fr) minmax(300px,380px);display:grid}.notebook-icon-button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.notebook-icon-button:hover:not(:disabled),.notebook-icon-button:focus-visible{color:var(--foreground);background:var(--surface-warm);border-color:var(--line);outline:none}.notebook-icon-button:disabled,.notebook-text-button:disabled{opacity:.4;cursor:default}.notebook-text-button{height:34px;color:var(--foreground);border:1px solid var(--line);font:inherit;cursor:pointer;background:0 0;border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 12px;font-size:.82rem;font-weight:700;display:inline-flex}.notebook-text-button:hover:not(:disabled),.notebook-text-button:focus-visible{background:var(--accent-soft);border-color:var(--accent);outline:none}.notebook-sidebar-actions{gap:4px;display:grid}.notebook-sidebar-new-note{border:1px solid var(--line);background:0 0;border-radius:10px;width:calc(100% - 22px);min-height:44px;margin-left:22px;padding-left:12px;font-size:.88rem}.notebook-sidebar-new-note:hover:not(:disabled),.notebook-sidebar-new-note:focus-visible{background:var(--chat-sidebar-hover)}@media (min-width:681px){.chat-shell--sidebar-collapsed .notebook-sidebar-new-note{border-color:#0000;justify-content:center;width:100%;margin-left:0;padding-inline:0}.chat-shell--sidebar-collapsed .notebook-sidebar-new-note span{display:none}}.notebook-style-picker{position:relative}.notebook-style-picker__trigger{height:36px;color:var(--foreground);background:var(--surface-warm);border:1px solid var(--line);font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:0 10px 0 4px;font-size:.82rem;font-weight:700;display:inline-flex}.notebook-style-picker__trigger:disabled{opacity:.45;cursor:default}.notebook-style-picker__thumb{border-radius:4px;width:22px;height:28px;display:inline-flex;overflow:hidden}.notebook-style-picker__thumb img,.notebook-style-picker__card-thumb img{object-fit:cover;width:100%;height:100%}.notebook-style-picker__name{white-space:nowrap;text-overflow:ellipsis;max-width:140px;overflow:hidden}.notebook-style-picker__popover{z-index:40;width:min(640px,100vw - 32px);max-height:min(72vh,640px);color:var(--foreground);background:var(--surface-elevated);border:1px solid var(--line);border-radius:16px;padding:16px;position:absolute;top:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 18px 44px #29272533}.notebook-style-picker__popover header{gap:2px;margin-bottom:12px;display:grid}.notebook-style-picker__popover header span{color:var(--muted);font-size:.78rem;line-height:1.4}.notebook-style-picker__popover ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.notebook-style-picker__popover li button{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:2px solid #0000;border-radius:12px;gap:6px;padding:6px;display:grid}.notebook-style-picker__popover li button:hover,.notebook-style-picker__popover li button:focus-visible{background:var(--surface-warm);outline:none}.notebook-style-picker__popover li button[data-active=true]{border-color:var(--accent);background:var(--accent-soft)}:root[data-theme=dark] .notebook-style-picker__popover li button[data-active=true]{background:rgb(var(--accent-rgb) / 16%)}.notebook-style-picker__card-thumb{aspect-ratio:2/3;border:1px solid var(--line);border-radius:8px;display:block;position:relative;overflow:hidden}.notebook-style-picker__card-thumb svg{color:#fff;background:var(--accent);border-radius:999px;width:22px;height:22px;padding:3px;position:absolute;top:6px;right:6px}.notebook-style-picker__popover li strong{font-size:.82rem}.notebook-style-picker__more{color:var(--accent-strong);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin-top:12px;padding:6px 2px;font-size:.84rem;font-weight:750;text-decoration:underline;display:inline-flex}:root[data-theme=dark] .notebook-style-picker__more{color:var(--accent-bright)}.notebook-styles-dialog{flex-direction:column;gap:12px;width:min(960px,100vw - 32px);max-width:none;display:flex}.notebook-styles-dialog__header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.notebook-styles-dialog__header h2{margin:0 0 4px}.notebook-styles-dialog__grid.notebook-style-picker__popover{width:auto;max-height:none;box-shadow:none;background:0 0;border:0;padding:0;position:static;overflow:visible}.notebook-styles-dialog__grid ul{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}@media (max-width:720px){.notebook-style-picker__popover ul{grid-template-columns:repeat(2,minmax(0,1fr))}.notebook-style-picker__popover{width:auto;max-height:calc(100dvh - 96px);position:fixed;top:72px;left:16px;right:16px}}.notebook-stage{flex-direction:column;min-width:0;min-height:0;display:flex}.notebook-stage__toolbar{background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:6px;min-height:52px;padding:8px 16px;display:flex}.notebook-stage__select select{width:100%;min-width:160px;max-width:260px;height:34px;color:var(--foreground);background:var(--surface-warm);border:1px solid var(--line);font:inherit;border-radius:10px;padding:0 32px 0 12px;font-size:.86rem;font-weight:700}.notebook-stage__tabs{background:var(--surface-warm);border:1px solid var(--line);border-radius:12px;margin-left:auto;padding:3px;display:inline-flex}.notebook-stage__tabs button{height:30px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:6px;padding:0 14px;font-size:.82rem;font-weight:750;display:inline-flex}.notebook-stage__tabs button[aria-selected=true]{color:var(--foreground);background:var(--surface);box-shadow:0 1px 3px #0000001a}.notebook-stage__badge{min-width:20px;color:var(--text-on-accent);background:var(--accent-strong);border-radius:999px;padding:1px 6px;font-size:.72rem}.notebook-stage__canvas{flex:auto;min-height:0;padding:24px;overflow-y:auto}.notebook-stage__empty{height:100%;min-height:260px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.notebook-stage__empty h2{color:var(--foreground);margin:6px 0 0;font-size:1.15rem}.notebook-stage__empty p{max-width:440px;margin:0;line-height:1.55}.notebook-stage__building{height:100%;min-height:260px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.notebook-stage__building h2{color:var(--foreground);margin:8px 0 0;font-size:1.15rem}.notebook-stage__building p{max-width:440px;margin:0;line-height:1.55}.notebook-stage__diffusion{width:96px;height:72px;position:relative}.notebook-stage__diffusion:after{content:"";background:var(--accent);width:16px;height:16px;box-shadow:0 0 24px var(--accent-bright);border-radius:999px;animation:1.4s ease-in-out infinite notebook-diffusion-core;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.notebook-stage__diffusion span{border:2px solid var(--accent);border-radius:999px;width:28px;height:28px;animation:2.1s ease-out infinite notebook-diffusion-wave;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.25)}.notebook-stage__diffusion span:nth-child(2){animation-delay:.7s}.notebook-stage__diffusion span:nth-child(3){animation-delay:1.4s}@keyframes notebook-diffusion-wave{0%{opacity:.72;transform:translate(-50%,-50%)scale(.25)}85%,to{opacity:0;transform:translate(-50%,-50%)scale(3.2)}}@keyframes notebook-diffusion-core{50%{opacity:.55;transform:translate(-50%,-50%)scale(.72)}}@media (prefers-reduced-motion:reduce){.notebook-stage__diffusion:after,.notebook-stage__diffusion span{animation:none}.notebook-stage__diffusion span{opacity:.22;transform:translate(-50%,-50%)scale(2.4)}}.notebook-sheet{max-width:820px;color:var(--notebook-ink);background-color:var(--notebook-paper);background-image:linear-gradient(90deg, transparent 54px, var(--notebook-margin) 54px, var(--notebook-margin) 56px, transparent 56px), repeating-linear-gradient(180deg, transparent 0, transparent 27px, var(--notebook-rule) 27px, var(--notebook-rule) 28px);border:1px solid var(--line);border-radius:6px;margin:0 auto;box-shadow:0 10px 30px #1e180f1a}.notebook-sheet__header{flex-direction:column;align-items:stretch;gap:12px;padding:22px 28px 6px 76px;display:flex}.notebook-sheet__header h2{margin:0;font-size:1.45rem;line-height:1.25}.notebook-editor__title{width:100%;min-width:0;color:var(--notebook-ink);background:color-mix(in srgb, var(--notebook-paper) 94%, white);border:1px solid var(--line);font:inherit;border-radius:7px;outline:none;padding:5px 8px;font-size:1.3rem;font-weight:750}.notebook-editor__title:focus{border-color:var(--accent-strong);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent-strong) 16%, transparent)}.notebook-sheet__actions{scrollbar-width:thin;flex-wrap:nowrap;justify-content:flex-end;gap:8px;width:100%;padding-bottom:2px;display:flex;overflow-x:auto}.notebook-sheet__export-error{color:var(--danger);margin:6px 28px 0 76px;font-size:.82rem}.notebook-sheet__body a[href^=\#user-content-notebook-glossary-]{color:var(--accent-strong);text-underline-offset:3px;font-weight:650;text-decoration-line:underline;text-decoration-style:dotted}.notebook-sheet__body li[id^=user-content-notebook-glossary-]{border-radius:5px;scroll-margin-top:24px;transition:background-color .18s}.notebook-sheet__body li[id^=user-content-notebook-glossary-]:target{background:color-mix(in srgb, var(--accent) 14%, transparent)}.notebook-text-button--primary{color:#fff;background:var(--accent-strong);border-color:var(--accent-strong)}.notebook-editor{padding:8px 32px 32px 76px}.notebook-editor__toolbar{background:color-mix(in srgb, var(--surface) 88%, transparent);border:1px solid var(--line);border-radius:10px;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:10px;padding:7px;display:flex}.notebook-editor__toolbar button{min-width:34px;min-height:34px;color:var(--text);background:var(--surface);border:1px solid var(--line);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:6px;display:inline-flex}.notebook-editor__toolbar button:hover,.notebook-editor__toolbar button[aria-pressed=true]{background:color-mix(in srgb, var(--surface) 88%, var(--accent-strong));border-color:var(--accent-strong)}.notebook-editor__toolbar button:disabled{opacity:.42;cursor:default}.notebook-editor__text-style{min-height:34px;color:var(--text);background:var(--surface);border:1px solid var(--line);font:inherit;cursor:pointer;border-radius:7px;padding:0 30px 0 10px;font-size:.88rem;font-weight:700}.notebook-editor__text-style:hover,.notebook-editor__text-style:focus{border-color:var(--accent-strong);outline:none}.notebook-editor__separator{background:var(--line);width:1px;height:24px;margin:0 3px}.notebook-editor__palette-label{color:var(--muted);align-items:center;gap:5px;margin:0 2px;font-size:.82rem;display:inline-flex}.notebook-editor__toolbar .notebook-editor__color{border:3px solid var(--surface);min-width:25px;min-height:25px;box-shadow:0 0 0 1px var(--line);border-radius:999px}.notebook-editor__color--blue{background:#2563eb!important}.notebook-editor__color--red{background:#dc2626!important}.notebook-editor__color--green{background:#16803c!important}.notebook-editor__color--purple{background:#7c3aed!important}.notebook-editor .notebook-editor__surface{min-height:460px;color:var(--notebook-ink);cursor:text;overflow-wrap:anywhere;background:0 0;outline:none;padding:4px 0 24px}.notebook-editor .notebook-editor__surface:focus{outline:none}.notebook-editor__error{color:var(--danger,#b42318);margin:8px 0 0;font-size:.9rem}.notebook-color-blue{color:#2563eb}.notebook-color-red{color:#dc2626}.notebook-color-green{color:#16803c}.notebook-color-purple{color:#7c3aed}.notebook-sheet__body{padding:4px 32px 32px 76px;line-height:1.75}.notebook-sheet__body h2{color:var(--accent-strong);margin:22px 0 6px;font-size:1.12rem}:root[data-theme=dark] .notebook-sheet__body h2{color:var(--accent-bright)}.notebook-sheet__body h3{margin:16px 0 4px;font-size:1rem}.notebook-sheet__body p,.notebook-sheet__body ul,.notebook-sheet__body ol{margin:0 0 8px}.notebook-sheet__body ol{list-style-type:decimal}.notebook-pages-panel{gap:16px;display:grid}.notebook-pages-panel__bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.notebook-pages-panel__bar p{color:var(--muted);margin:0;font-size:.86rem}.notebook-pages-panel__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.notebook-pages-panel__export{min-height:38px}.notebook-pages-panel__present{min-height:38px;color:var(--accent-strong);background:var(--accent-soft);border-color:var(--accent)}.notebook-pages-panel__error{color:var(--danger);background:var(--danger-soft);border-radius:8px;margin:0;padding:8px 10px;font-size:.82rem}.notebook-pages-panel__generate{align-items:center;gap:8px;min-height:38px;padding:0 16px;display:inline-flex}.notebook-pages{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.notebook-page-card{min-width:0;color:var(--notebook-ink);background:var(--notebook-paper);border:1px solid var(--line);border-left:4px solid var(--notebook-margin);border-radius:6px;flex-direction:column;align-self:start;gap:10px;padding:14px;display:flex}.notebook-page-card__header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.notebook-page-card__header>div{gap:2px;min-width:0;display:grid}.notebook-page-card small{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.74rem;font-weight:800}.notebook-page-card h3{margin:0;font-size:1rem}.notebook-page-card__brief{color:var(--muted);margin:0;font-size:.86rem;line-height:1.5}.notebook-page-card__image.notebook-page-card__image--plan{cursor:default;border-style:dashed;padding:12px;overflow-y:auto}.notebook-page-edit{max-width:560px;display:grid}.notebook-page-edit textarea{min-height:180px;color:var(--foreground);background:var(--surface-warm);border:1px solid var(--line);font:inherit;resize:vertical;border-radius:8px;padding:10px 12px;font-size:.92rem;font-weight:500;line-height:1.5}.notebook-page-card__image{aspect-ratio:2/3;background:var(--surface-warm);border:1px solid var(--line);cursor:zoom-in;border-radius:4px;width:100%;padding:0;display:block;position:relative;overflow:hidden}.notebook-page-card__image[data-orientation=landscape]{aspect-ratio:3/2}.notebook-page-card__image[data-orientation=square]{aspect-ratio:1}.notebook-page-card__image img{object-fit:cover;width:100%;height:100%;display:block}.notebook-page-card__image--generating{color:var(--muted);cursor:default;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:.84rem;display:flex}.notebook-page-card__zoom{color:#fff;opacity:0;background:#00000073;border-radius:8px;padding:6px;transition:opacity .15s;display:inline-flex;position:absolute;bottom:8px;right:8px}.notebook-page-card__image:hover .notebook-page-card__zoom,.notebook-page-card__image:focus-visible .notebook-page-card__zoom{opacity:1}.notebook-page-card__notice,.notebook-page-card__error{border-radius:8px;margin:0;padding:6px 10px;font-size:.78rem;line-height:1.4}.notebook-page-card__notice{color:var(--warning);background:var(--warning-soft)}.notebook-page-card__error{color:var(--danger);background:var(--danger-soft)}.notebook-page-card__actions{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.notebook-page-card__spacer{flex:auto}.notebook-page-card__versions{color:var(--muted);align-items:center;gap:2px;font-size:.74rem;font-weight:700;display:inline-flex}.notebook-page-card__versions .notebook-icon-button{width:28px;height:28px}.notebook-page-card__actions>button:not(.notebook-text-button),.notebook-page-card__actions>a{width:34px;height:34px}.notebook-viewer{z-index:1100;background:#0a0e12e0;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:fixed;inset:0}.notebook-viewer figure{flex-direction:column;align-items:center;gap:10px;max-width:min(720px,100%);max-height:100%;margin:0;display:flex}.notebook-viewer img{object-fit:contain;border-radius:4px;max-width:100%;max-height:calc(100dvh - 110px);box-shadow:0 20px 60px #00000073}.notebook-viewer figcaption{color:#e8eef1;text-align:center;font-size:.86rem}.notebook-viewer__nav,.notebook-viewer__close{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.notebook-viewer__nav{flex:none;width:48px;height:48px}.notebook-viewer__nav:disabled{opacity:.25;cursor:default}.notebook-viewer__close{width:42px;height:42px;position:absolute;top:16px;right:16px}@media (max-width:560px){.notebook-viewer{padding:56px 8px 16px}.notebook-viewer__nav{position:absolute;bottom:16px}.notebook-viewer__nav--previous{left:16px}.notebook-viewer__nav--next{right:16px}.notebook-viewer img{max-height:calc(100dvh - 160px)}}.notebook-notes-strip{overscroll-behavior-inline:contain;background:var(--surface);border-top:1px solid var(--line);align-items:center;gap:8px;min-height:64px;padding:10px 16px;display:flex;overflow-x:auto}.notebook-notes-strip__item{background:var(--surface-warm);border:1px solid var(--line);border-radius:10px;flex:none;align-items:center;height:44px;display:inline-flex}.notebook-notes-strip__empty{color:var(--muted);margin:0;font-size:.8rem}.notebook-notes-strip__item>button:first-child{max-width:220px;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;padding:0 12px;display:grid}.notebook-notes-strip__item strong{white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.notebook-notes-strip__item small{color:var(--muted);font-size:.72rem}.notebook-notes-strip__item[data-active=true]{border-color:var(--accent);box-shadow:0 0 0 2px rgb(var(--accent-rgb) / 18%)}.notebook-chat{background:var(--surface);border-left:1px solid var(--line);flex-direction:column;min-width:0;min-height:0;display:flex}.notebook-material{max-height:min(40vh,420px);padding:2px 0 4px;overflow-y:auto}.notebook-material-trigger{display:none}.notebook-material h2{align-items:center;gap:10px;margin:0 0 8px;padding:9px 10px;font-size:.9rem;font-weight:650;display:flex}.notebook-material h2>svg{color:var(--icon-accent);flex:0 0 22px}.notebook-material h2 span{color:var(--muted);background:var(--surface-warm);border-radius:999px;margin-left:auto;padding:1px 8px;font-size:.74rem}.notebook-material__empty{color:var(--muted);margin:0 10px;font-size:.8rem}.notebook-material ul{grid-template-columns:minmax(0,1fr);gap:4px;margin:0;padding:0;list-style:none;display:grid}.notebook-material li{align-items:center;gap:4px;display:flex}.notebook-material__open{min-width:0;color:var(--foreground);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:auto;align-items:center;gap:8px;padding:6px 8px;font-size:.82rem;display:flex}.notebook-material__open:hover,.notebook-material__open:focus-visible{background:var(--surface-warm);outline:none}.notebook-material__open span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (min-width:681px){.chat-shell--sidebar-collapsed .notebook-material-trigger{width:100%;min-height:44px;color:var(--icon-accent);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:flex}.chat-shell--sidebar-collapsed .notebook-material{display:none}.chat-shell--sidebar-collapsed .notebook-material.is-open{z-index:60;background:var(--surface);border:1px solid var(--line);border-radius:12px;width:300px;max-height:min(70vh,560px);padding:8px;display:block;position:absolute;top:0;left:calc(100% + 14px);box-shadow:0 12px 32px #00000024}:is(.chat-shell--sidebar-collapsed .chat-sidebar-scroll:has(.notebook-material.is-open),.chat-shell--sidebar-collapsed .chat-sidebar:has(.notebook-material.is-open)){overflow:visible}}.notebook-chat__transcript{flex-direction:column;flex:auto;gap:10px;min-height:0;padding:16px;display:flex;overflow-y:auto}.notebook-chat__status{color:var(--muted);margin:0;font-size:.86rem;line-height:1.5}.notebook-chat__welcome{text-align:center;align-content:center;gap:28px;width:100%;max-width:340px;min-height:100%;margin:auto;padding:24px 4px;display:grid}.notebook-chat__welcome-heading{gap:11px;display:grid}.notebook-chat__welcome-kicker{color:var(--accent-strong);letter-spacing:.14em;text-transform:uppercase;font-size:.7rem;font-weight:800}.notebook-chat__welcome h2{color:var(--foreground);text-wrap:balance;margin:0;font-size:clamp(1.5rem,2.2vw,1.85rem);line-height:1.17}.notebook-chat__welcome p{color:var(--muted);margin:0;font-size:.88rem;line-height:1.55}.notebook-chat__welcome-actions{gap:9px;display:grid}.notebook-chat__welcome-actions button{width:100%;min-height:62px;color:var(--foreground);background:var(--surface-warm);border:1px solid var(--line);font:inherit;text-align:left;cursor:pointer;border-radius:15px;align-items:center;gap:14px;padding:10px 14px;font-size:.92rem;font-weight:700;transition:background-color .15s,border-color .15s,transform .15s;display:flex;box-shadow:0 3px 12px #00000008}.notebook-chat__welcome-actions button:hover:not(:disabled),.notebook-chat__welcome-actions button:focus-visible{background:var(--accent-soft);border-color:var(--accent);outline:none;transform:translateY(-2px)}.notebook-chat__welcome-actions button:disabled{opacity:.5;cursor:default}.notebook-chat__welcome-icon{width:38px;height:38px;color:var(--accent-strong);background:var(--accent-soft);border-radius:12px;flex:none;place-items:center;display:grid}.notebook-chat__bubble{overflow-wrap:anywhere;border-radius:14px;max-width:92%;margin:0;padding:10px 13px;font-size:.88rem;line-height:1.55}.notebook-chat__bubble--user{color:var(--foreground);white-space:pre-wrap;background:var(--accent-soft);border:1px solid var(--accent);border-bottom-right-radius:4px;align-self:flex-end}.notebook-chat__bubble--assistant{background:0 0;border:none;border-radius:0;align-self:stretch;max-width:100%;padding:4px 0}.notebook-chat__bubble--assistant .quick-reply-row{flex-direction:column;align-items:flex-start;gap:8px;margin:12px 0 4px;display:flex}.notebook-chat__bubble--assistant .quick-reply-chip{min-height:44px;color:var(--accent-strong);background:var(--surface-warm);border:1px solid var(--accent);font:inherit;text-align:left;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-weight:600;line-height:1.2;display:inline-flex}.notebook-chat__bubble--assistant .quick-reply-chip:hover{color:#fff;background:var(--accent)}.notebook-chat__bubble--assistant p{margin:0 0 6px}.notebook-chat__bubble--assistant p:last-child{margin-bottom:0}.notebook-chat__material-card{background:var(--accent-soft);border:1px solid rgb(var(--accent-rgb) / 35%);border-radius:12px;align-self:flex-end;align-items:center;gap:10px;max-width:92%;padding:10px 12px;display:flex}.notebook-chat__material-card div{min-width:0;display:grid}.notebook-chat__material-card strong{white-space:nowrap;text-overflow:ellipsis;font-size:.84rem;overflow:hidden}.notebook-chat__material-card small{color:var(--muted);font-size:.74rem}:root[data-theme=dark] .notebook-chat__material-card{color:var(--foreground);background:rgb(var(--accent-rgb) / 16%)}.notebook-chat__error{color:var(--danger);background:var(--danger-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;margin:0 16px 8px;padding:8px 12px;font-size:.82rem;display:flex}.notebook-chat__quick-replies{flex-wrap:wrap;gap:6px;min-height:0;padding:0 16px;display:flex}.notebook-chat__quick-replies:not(:empty){padding-bottom:10px}.notebook-chat__quick-replies button{color:var(--foreground);background:var(--surface);border:1px solid var(--line);font:inherit;cursor:pointer;border-radius:999px;padding:6px 11px;font-size:.8rem;font-weight:650}.notebook-chat__quick-replies button:hover,.notebook-chat__quick-replies button:focus-visible{background:var(--accent-soft);border-color:var(--accent);outline:none}.notebook-chat__composer-wrap{gap:12px;padding:12px 14px 14px;display:grid}.notebook-chat .chat-input-bar textarea{overflow-y:auto}.notebook-chat__composer-wrap .notebook-chat__status{margin:-4px 4px 0}.chat-input-tools-menu .notebook-tools-action{min-height:44px;color:var(--foreground);background:var(--surface-warm);border:1px solid var(--line)}.chat-input-tools-menu .notebook-tools-action+.notebook-tools-action{margin-top:6px}.chat-input-tools-menu .notebook-tools-action svg{color:var(--accent-strong)}:root[data-theme=dark] .chat-input-tools-menu .notebook-tools-action svg{color:var(--accent-bright)}.chat-input-tools-menu .notebook-tools-action:hover:not(:disabled),.chat-input-tools-menu .notebook-tools-action:focus-visible{background:var(--accent-soft);border-color:var(--accent)}:root[data-theme=dark] .chat-input-tools-menu .notebook-tools-action:hover:not(:disabled),:root[data-theme=dark] .chat-input-tools-menu .notebook-tools-action:focus-visible{background:rgb(var(--accent-rgb) / 16%)}.notebook-chat__composer-wrap .chat-disclaimer{margin:-4px 0 0}.notebook-recorder{background:var(--surface-warm);border-top:1px solid var(--line);gap:8px;padding:12px 14px 14px;display:grid}.notebook-recorder__head{align-items:center;gap:8px;font-size:.9rem;display:flex}.notebook-recorder__dot{background:var(--danger);border-radius:999px;width:10px;height:10px;animation:1.2s ease-in-out infinite notebook-recorder-pulse}.notebook-recorder[data-status=paused] .notebook-recorder__dot,.notebook-recorder[data-status=finishing] .notebook-recorder__dot{background:var(--muted);animation:none}@keyframes notebook-recorder-pulse{50%{opacity:.3}}@media (prefers-reduced-motion:reduce){.notebook-recorder__dot{animation:none}}.notebook-recorder__time{font-variant-numeric:tabular-nums;margin-left:auto;font-weight:800}.notebook-recorder__wave{width:100%;height:48px}.notebook-recorder__meta,.notebook-recorder__hint{color:var(--muted);margin:0;font-size:.76rem;line-height:1.4}.notebook-recorder__controls,.notebook-recorder__confirm{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.notebook-recorder__confirm span{flex:100%;font-size:.82rem}.notebook-recorder__stop{align-items:center;gap:6px;min-height:34px;margin-left:auto;padding:0 14px;display:inline-flex}.notebook-text-button--danger{color:var(--danger);border-color:#b91c1c59}.notebook-record-dialog{max-width:480px}.notebook-record-dialog form,.notebook-record-dialog{display:grid}.notebook-record-dialog__title{align-items:center;gap:8px;display:flex}.notebook-record-dialog__title svg{color:var(--accent-strong);flex:none}.notebook-record-dialog__hint{color:var(--muted);margin:6px 0 0;font-size:.78rem;font-weight:500;line-height:1.45}.notebook-record-dialog__audio-only{color:var(--muted);margin:-4px 0 2px;font-size:.82rem;line-height:1.45}.notebook-record-dialog__contexts{border:0;gap:8px;min-width:0;margin:16px 0 0;padding:0;display:grid}.notebook-record-dialog__contexts legend{color:var(--text);margin-bottom:8px;font-size:.86rem;font-weight:700}.notebook-record-dialog__context{align-items:center;gap:8px;padding:3px 0;display:flex}.notebook-record-dialog__context label{cursor:pointer;flex:auto;align-items:center;gap:10px;min-width:0;display:flex}.notebook-record-dialog__context input{flex:none;width:18px;height:18px}.notebook-record-dialog__context strong{font-size:.84rem;line-height:1.35}.notebook-record-dialog__context-help{width:22px;height:22px;color:var(--muted);cursor:help;background:0 0;border:1px solid;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0;font-family:inherit;font-size:.76rem;font-weight:700;line-height:1;display:inline-flex;position:relative}.notebook-record-dialog__context-help:hover,.notebook-record-dialog__context-help:focus-visible{color:var(--accent-strong);outline:none}.notebook-record-dialog__context-help:after{z-index:2;color:#fff;text-align:left;pointer-events:none;content:attr(data-tooltip);opacity:0;background:#263238;border-radius:7px;width:min(280px,70vw);padding:8px 10px;font-size:.75rem;font-weight:400;line-height:1.4;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 8px);right:-6px;transform:translateY(3px);box-shadow:0 6px 20px #0000002e}.notebook-record-dialog__context-help:hover:after,.notebook-record-dialog__context-help:focus-visible:after{opacity:1;transform:translateY(0)}.notebook-record-dialog__policy-accept{cursor:pointer;align-items:flex-start;gap:9px;margin-top:12px;font-size:.8rem;line-height:1.4;display:flex}.notebook-record-dialog__policy-accept input{flex:none;width:17px;height:17px;margin-top:1px}.notebook-record-dialog__policy-accept a{color:var(--accent-strong);font-weight:700}.notebook-chat__recovery{background:var(--warning-soft);border-radius:12px;gap:6px;padding:12px;font-size:.84rem;display:grid}.notebook-chat__recovery p{margin:0;line-height:1.45}.notebook-chat__recovery button{justify-self:start}:root[data-theme=dark] .notebook-chat__recovery{color:var(--foreground);background:#e8ab5c24}.notebook-material__finish{height:26px;color:var(--warning);padding:0 8px;font-size:.72rem}.notebook-dialog{background:var(--surface-elevated)}.notebook-dialog form{display:grid}.notebook-dialog--source{flex-direction:column;gap:12px;max-width:720px;display:flex}.notebook-source-viewer__header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.notebook-source-viewer__header small{color:var(--muted);text-transform:uppercase;font-size:.76rem;font-weight:800}.notebook-source-viewer__header h2{margin:2px 0 0}.notebook-source-viewer__body{background:var(--surface-warm);border:1px solid var(--line);border-radius:8px;max-height:58dvh;padding:14px;overflow-y:auto}.notebook-source-viewer__body pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:inherit;font-size:.88rem;line-height:1.6}.notebook-source-viewer__citation{overflow-wrap:anywhere;margin:0 0 12px;font-size:.82rem;line-height:1.4}.notebook-source-viewer__citation a{color:var(--accent-strong);text-decoration:underline}.notebook-source-viewer__download{align-self:flex-start;align-items:center;gap:8px;padding:0 14px;text-decoration:none;display:inline-flex}@media (max-width:900px){.my-space-main-scroll:has(.notebook-module){overflow-y:auto}.notebook-workspace{grid-template-columns:minmax(0,1fr);height:auto;min-height:100%}.notebook-stage__canvas{max-height:60dvh;padding:14px}.notebook-chat{border-top:1px solid var(--line);border-left:0;min-height:70dvh}.notebook-sheet{background-image:repeating-linear-gradient(180deg, transparent 0, transparent 27px, var(--notebook-rule) 27px, var(--notebook-rule) 28px)}.notebook-sheet__header,.notebook-sheet__body{padding-left:18px;padding-right:18px}.notebook-sheet__export-error{margin-left:18px;margin-right:18px}.notebook-sheet__header{align-items:stretch}.notebook-sheet__actions{justify-content:flex-start}.notebook-editor__title{width:100%}.notebook-editor{padding-left:18px;padding-right:18px}.notebook-editor__palette-label span{display:none}.notebook-stage__tabs{margin-left:0}}
