:where(.lg-scene){position:relative;isolation:isolate;overflow:visible}:where(.lg-content){position:absolute;inset:0;width:100%;height:100%}:where(.lg-content[data-layout=scroll]){overflow:auto}:where([data-glass-blur-host]){display:contents}:where([data-glass-blur-host][data-glass-blur-active]){display:block;position:absolute;inset:0;width:100%;height:100%}:where([data-glass-blur-host][data-glass-blur-active][data-layout=flow]){position:relative;inset:auto;height:auto}:where(.lg-scroll-paint-root){position:absolute;inset:0;overflow:visible}:where(.lg-scroll-paint-root>foreignObject){overflow:visible}.lg-glass-layer{position:absolute;z-index:-1;pointer-events:none;background-repeat:no-repeat}:where(.lg-surface){position:relative;background:transparent;border:0;box-sizing:border-box;--lg-material-foreground: var(--lg-foreground, #111113);color:var(--lg-material-foreground)}:where(.lg-surface)[data-glass-appearance=dark]{--lg-material-foreground: var(--lg-foreground, #fff);color:var(--lg-material-foreground)}:where(.lg-button){display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:28px;padding:0 8px;font:inherit;font-size:12px;line-height:1.625;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent}:where(.lg-button)[data-popup-open]{background:var(--lg-control-highlight)}:where(.lg-button):focus-visible,:where(.lg-tab):focus-visible{outline:none;background:var(--lg-control-highlight)}:where(.lg-button):disabled{opacity:.45;cursor:default}:where(.lg-toolbar){--lg-toolbar-inset: 3px;position:relative;display:flex;align-items:center;gap:4px}:where(.lg-toolbar-cluster){display:flex;align-items:center;gap:4px;padding:var(--lg-toolbar-inset, 3px);flex:1 0 auto}:where(.lg-toolbar)[data-segmented]>:where(.lg-toolbar-cluster){flex:0 0 auto}:where(.lg-toolbar) :where(.lg-button){min-height:22px;padding:0 8px}:where(.lg-tabs-list){display:flex;align-items:center;padding:3px;gap:0}:where(.lg-tab){display:grid;align-items:center;position:relative;box-sizing:border-box;border:1px solid transparent;background:transparent;font:inherit;height:26px;padding:0 6px;font-size:12px;line-height:1.333333;font-weight:500;color:inherit;cursor:pointer;opacity:.85;transition:opacity .16s}:where(.lg-tab-label){grid-area:1 / 1}:where(.lg-tab)[data-active]{opacity:1;font-weight:500}:where(.lg-menu-positioner){z-index:20}:where(.lg-menu-anchor){display:inline-flex;vertical-align:middle}:where(.lg-menu,.lg-toolbar,.lg-toolbar-cluster,.lg-button,.lg-tabs-list){--lg-control-highlight: color-mix(in oklab, currentColor 8%, transparent)}:where(.lg-menu){--lg-menu-inset: 4px;--lg-menu-highlight: var(--lg-control-highlight);min-width:128px;padding:var(--lg-menu-inset);outline:none;overscroll-behavior:contain}:where(.lg-menu) :is([role=menuitem],[role=menuitemcheckbox],[role=menuitemradio]){box-sizing:border-box;min-height:28px;padding:4px 8px;display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.625;cursor:default;outline:none}:where(.lg-menu) :is([role=menuitem],[role=menuitemcheckbox],[role=menuitemradio])[data-highlighted],:where(.lg-menu) :is([role=menuitem],[role=menuitemcheckbox],[role=menuitemradio]):focus-visible,:where(.lg-menu) :is([role=menuitem],[role=menuitemcheckbox],[role=menuitemradio]):active{background:var(--lg-menu-highlight)}@media(prefers-reduced-motion:reduce){:where(.lg-tab){transition:none}}:where(.lg-surface[data-glass-interactive]){--lg-glow-color: rgb(255 255 255 / .3);background-image:radial-gradient(var(--lg-glow-size, 64px) circle at var(--lg-glow-x, 50%) var(--lg-glow-y, 50%),color-mix(in srgb,var(--lg-glow-color) calc(var(--lg-glow, 0) * 100%),transparent),transparent)}:where(.lg-surface[data-glass-interactive][data-glass-appearance=dark]){--lg-glow-color: rgb(255 255 255 / .16)}:where(.lg-surface[data-glass-interactive]){touch-action:manipulation;-webkit-tap-highlight-color:transparent}:where(.lg-surface[data-glass-morph])>*{opacity:calc(var(--lg-morph, 1) * var(--lg-glass-ready, 1));filter:blur(calc((1 - var(--lg-morph, 1)) * 6px));will-change:transform;backface-visibility:hidden}:where([data-glass-morph-source]){opacity:calc(1 - var(--lg-morph-source, 1));filter:blur(calc(var(--lg-morph-source, 1) * 3px))}:where(.lg-tab-indicator){position:absolute;left:var(--active-tab-left);top:var(--active-tab-top);width:var(--active-tab-width);height:var(--active-tab-height);pointer-events:none}:where(.lg-button)[data-size=xs],:where(.lg-button)[data-size=icon-xs]{min-height:20px}:where(.lg-button)[data-size=sm],:where(.lg-button)[data-size=icon-sm]{min-height:24px}:where(.lg-button)[data-size=lg],:where(.lg-button)[data-size=icon-lg]{min-height:32px;padding-inline:10px}:where(.lg-button)[data-size=xs]{font-size:10px}:where(.lg-button)[data-size^=icon]{width:28px;height:28px;padding:0}:where(.lg-button)[data-size=icon-xs]{width:20px;height:20px}:where(.lg-button)[data-size=icon-sm]{width:24px;height:24px}:where(.lg-button)[data-size=icon-lg]{width:32px;height:32px}:where(.lg-button)>svg,:where(.lg-toolbar-button)>svg{width:14px;height:14px}:where(.lg-button)[data-size=xs]>svg,:where(.lg-button)[data-size=icon-xs]>svg{width:10px;height:10px}:where(.lg-button)[data-size=sm]>svg,:where(.lg-button)[data-size=icon-sm]>svg{width:12px;height:12px}:where(.lg-button)[data-size=lg]>svg,:where(.lg-button)[data-size=icon-lg]>svg{width:16px;height:16px}:where(.lg-toolbar-button){display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}:where(.lg-toolbar-button)[data-size=default]{width:auto;padding-inline:8px;gap:4px;font-size:12px;font-weight:500}:where(.lg-toolbar,.lg-toolbar-cluster)[data-orientation=vertical]{flex-direction:column}:where(.lg-toolbar-spacer){flex:1 0 var(--lg-toolbar-space, 8px);align-self:stretch;pointer-events:none}:where(.lg-toolbar-spacer)[data-sizing=fixed]{flex-grow:0}:where(.lg-toolbar-button):is(:hover,:focus-visible,:active,[aria-pressed=true],[data-popup-open]):not([data-disabled]):not(:disabled){background:var(--lg-control-highlight)}:where(.lg-toolbar-button):focus-visible{outline:none}:where(.lg-toolbar-button)[data-disabled]{opacity:.45;cursor:default}:where(.lg-tabs-list)[data-size=sm] :where(.lg-tab){height:22px}:where(.lg-tabs-list)[data-size=lg] :where(.lg-tab){height:30px;padding-inline:12px;font-size:13px}:where(.lg-tabs-list)[data-orientation=vertical]{flex-direction:column}:where(.lg-tabs-list)[data-orientation=vertical] :where(.lg-tab-indicator){left:var(--active-tab-left);top:var(--active-tab-top)}:where(.lg-tab)[data-disabled],:where(.lg-menu) [data-disabled]{opacity:.45;cursor:default}:where(.lg-menu) [role=separator]{height:1px;margin:4px 8px;background:currentColor;opacity:.15}:where(.lg-menu) :is([role=menuitem],[role=menuitemcheckbox],[role=menuitemradio])>svg{width:14px;height:14px}:where(.lg-scene[data-glass-popup]){z-index:20}:where(.lg-content[data-layout=flow]){position:relative;inset:auto;height:auto}:where(.lg-progressive-blur){position:absolute;pointer-events:none}:where(.lg-progressive-blur[data-edge=top]){inset:0 0 auto;height:var(--lg-blur-size)}:where(.lg-progressive-blur[data-edge=bottom]){inset:auto 0 0;height:var(--lg-blur-size)}:where(.lg-progressive-blur[data-edge=inline-start]){inset-block:0;inset-inline-start:0;width:var(--lg-blur-size)}:where(.lg-progressive-blur[data-edge=inline-end]){inset-block:0;inset-inline-end:0;width:var(--lg-blur-size)}:where(.lg-slider){position:relative;width:280px;max-width:100%;touch-action:none}:where(.lg-slider-control){position:relative;display:flex;align-items:center;height:28px;-webkit-user-select:none;user-select:none}:where(.lg-slider-track){position:relative;width:100%;height:6px;background:#8080804d}:where(.lg-slider-fill){height:100%;background:var(--lg-accent)}:where(.lg-slider-thumb){width:20px;height:16px;translate:-50% -50%;cursor:grab;z-index:1;outline:none}:where(.lg-slider-thumb):dir(rtl){translate:50% -50%}:where(.lg-slider)[data-orientation=vertical] :where(.lg-slider-thumb){translate:-50% 50%}:where(.lg-slider-thumb)[data-press-phase=pressed]{cursor:grabbing}:where(.lg-control-thumb){--lg-control-progress: 0;--lg-control-grow-x: 2.5px;--lg-control-grow-y: 2px}:where(.lg-switch-thumb){--lg-control-grow-x: 9px;--lg-control-grow-y: 5.5px}:where(.lg-control-lens,.lg-control-face){position:absolute;inset:calc(-1 * var(--lg-control-grow-y) * var(--lg-control-progress)) calc(-1 * var(--lg-control-grow-x) * var(--lg-control-progress));pointer-events:none}:where(.lg-control-face){background:#fff;opacity:calc(1 - var(--lg-control-progress));box-shadow:0 1px 2px #0000001a,0 3px 12px #0000001a}:where(.lg-control-lens){opacity:var(--lg-control-progress)}:where(.lg-slider-thumb):focus-within{outline:none}:where(.lg-slider-ticks){display:flex;justify-content:space-between;position:absolute;inset-inline:0;top:23px;pointer-events:none}:where(.lg-slider-ticks)>span{width:2px;height:2px;border-radius:50%;background:#808080a6}:where(.lg-slider)[data-orientation=vertical]{width:28px;height:200px}:where(.lg-slider)[data-orientation=vertical] :where(.lg-slider-control){width:28px;height:100%;justify-content:center}:where(.lg-slider)[data-orientation=vertical] :where(.lg-slider-track){width:6px;height:100%}:where(.lg-slider)[data-orientation=vertical] :where(.lg-slider-fill){width:100%}:where(.lg-slider)[data-orientation=vertical] :where(.lg-slider-ticks){inset:0 auto 0 23px;flex-direction:column-reverse}:where(.lg-switch){--lg-switch-travel: 18px;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;width:54px;height:24px;padding:2px;border:0;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;outline:none;transition:background-color .2s ease-in-out}:where(.lg-switch-track){position:absolute;inset:0;pointer-events:none;background:#80808066;transition:background-color .2s ease-in-out}:where(.lg-switch)[data-checked]>.lg-switch-track,:where(.lg-switch)[data-presentation-checked=true]>.lg-switch-track{background:var(--lg-accent)}:where(.lg-switch)[data-presentation-checked=false]>.lg-switch-track{background:#80808066}:where(.lg-switch):dir(rtl){--lg-switch-travel: -18px}:where(.lg-switch-thumb){position:relative;display:block;width:32px;height:20px;flex-shrink:0;left:calc(var(--lg-switch-position, 0) * var(--lg-switch-travel))}:where(.lg-switch):focus-visible{outline:none}:where(.lg-switch)[data-readonly]{cursor:default}@media(prefers-reduced-motion:reduce){:where(.lg-slider-thumb,.lg-switch,.lg-switch-track,.lg-switch-thumb,.lg-control-face),:where(.lg-switch)[data-dragging] :where(.lg-switch-thumb){transition:none}}@media(forced-colors:active){:where(.lg-slider-track,.lg-switch-track){background:Canvas;border:1px solid ButtonText}:where(.lg-slider-fill),:where(.lg-switch)[data-checked]>.lg-switch-track{background:Highlight}:where(.lg-slider-thumb,.lg-switch-thumb){background:ButtonText}}:where(.lg-switch:has([data-glass-motion=none]),.lg-switch:has([data-glass-motion=none])>.lg-switch-track){transition:none}[data-lg-shape]:not([style*=clip-path]),.lg-surface:not([style*=clip-path]){visibility:hidden}.asset-image>img{position:absolute;inset:0;opacity:0;transition:opacity var(--motion-state) var(--motion-ease)}.asset-image.is-loaded>img{opacity:1}.asset-image>.asset-fallback.is-loaded{opacity:1}.asset-image .asset-placeholder{position:absolute;inset:0}.media-viewer.viewer{position:relative;width:100%;flex:1;min-height:180px;margin:0;background:transparent;border-radius:0;isolation:isolate}.viewer-slide,.viewer-media-layer{position:relative;width:100%;height:100%}.viewer-slide[data-gesture=dragging]{will-change:transform}.media-viewer.photo{overflow:hidden;max-height:calc(100dvh - 136px);aspect-ratio:auto!important}.viewer-media-layer>img,.viewer-media-layer>video{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}.viewer-photo{opacity:0;transition:opacity var(--motion-state) var(--motion-ease)}.viewer-photo.is-loaded{opacity:1}.viewer-media-layer>.viewer-thumbnail,.viewer-media-layer>.viewer-previous{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity var(--motion-state) var(--motion-ease)}.viewer-media-layer>.viewer-thumbnail.is-loaded,.viewer-media-layer>.viewer-previous{opacity:1}.viewer-media-layer>.viewer-previous.is-replaced{opacity:0}.viewer-media-layer>img[data-zoom-image=true]{opacity:1;transition:none}.media-viewer.photo{touch-action:pan-y pinch-zoom}.media-viewer.photo img{-webkit-user-select:none;user-select:none}.modal.media .media-viewer.viewer{min-height:120px}.viewer-slide>.loading{position:absolute;inset:0;min-height:0;pointer-events:none;padding:12px;z-index:1;color:var(--text);text-shadow:0 1px 8px var(--surface)}.viewer-slide>.viewer-error{position:absolute;inset:50% auto auto 50%;translate:-50% -50%;max-width:min(360px,calc(100% - 24px));width:max-content;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-align:center;line-height:1.6}.viewer-error>p+p{margin-top:6px}.viewer-error>.button{margin-top:12px}.viewer-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;flex:0 0 auto;min-height:44px}.viewer-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;flex:1 1 150px;max-width:420px}.viewer-navigation>.button{width:44px;height:44px;padding:8px}.viewer-count{color:var(--muted);font-size:.8125rem;font-variant-numeric:tabular-nums;text-align:center}.viewer-controls{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:0 0 auto;margin-inline-start:auto}.viewer-info{position:relative;flex:0 0 44px;font-size:.8125rem}.viewer-info>summary{width:44px;height:44px;justify-content:center;border-radius:16px;color:var(--muted)}.viewer-info>summary>span{display:grid;place-items:center}.viewer-info>summary:hover,.viewer-info[data-expanded=true]>summary{color:var(--text);background:var(--surface-soft)}.viewer-info>summary>.disclosure-chevron{display:none}.viewer-info>.disclosure-content{position:absolute;inset-inline-end:0;inset-block-end:calc(100% + 8px);z-index:2;width:min(340px,calc(100vw - 36px));max-height:min(240px,50dvh);overflow:auto;padding:16px 20px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.viewer-info p{overflow-wrap:anywhere;margin-block:4px}.upload-area.upload-toolbar{position:relative;gap:10px;margin-bottom:18px;padding:0;border:0;border-radius:16px;background:transparent}.upload-area.upload-toolbar>.upload-toolbar-actions{display:flex;flex:0 1 auto;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.upload-toolbar.is-dragging{outline:1px dashed var(--accent);outline-offset:8px}.upload-toolbar .upload-drag-hint{margin:0;color:var(--accent);font-size:.8125rem}.memory-media-tools.asset-caption{position:absolute;inset-block-start:8px;inset-inline-end:8px;padding:0;overflow:visible}.memory-media-tools>.button{width:44px;height:44px;min-width:44px;padding:8px;background:var(--surface);box-shadow:0 2px 12px #0001}.asset-placeholder{padding:14px;text-align:center}.asset-placeholder>span{line-height:1.45;max-width:22ch}.asset-placeholder>small{color:var(--accent);font-size:.75rem;line-height:1.45}.asset-preview-note{position:absolute;inset-inline:8px;inset-block-end:8px;padding:6px 8px;border-radius:8px;background:var(--surface);color:var(--muted);font-size:.75rem;line-height:1.4;pointer-events:none}.memory-media.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.memory-media-lead{grid-column:1 / -1}.memory-media-lead .asset-image{aspect-ratio:var(--asset-ratio, 16 / 10);max-height:70dvh;border-radius:22px;background:var(--surface)}.memory-media-lead .asset-image img{object-fit:contain}@media(max-width:600px){.memory-media.media-grid{gap:12px}.memory-media-lead .asset-image{border-radius:16px}.viewer-footer{column-gap:8px}.viewer-navigation{gap:4px}.viewer-count{font-size:.75rem}.viewer-media-layer>img,.viewer-media-layer>video{max-height:100%}}@media(prefers-reduced-motion:reduce){.asset-image>img,.viewer-photo,.viewer-media-layer>.viewer-thumbnail,.viewer-media-layer>.viewer-previous{transition-duration:.01ms}}.intelligence-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-block:16px}.intelligence-toolbar p{margin:0;color:var(--muted);font-size:.86rem}.intelligence-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.intelligence-notice{padding:14px 16px;border-radius:16px;background:var(--surface-soft);font-size:.88rem;line-height:1.55;color:var(--muted)}.intelligence-notice p{margin:0}.intelligence-notice p+p{margin-block-start:8px}.intelligence-stack{display:grid;gap:18px}.intelligence-section{padding:18px;border:1px solid var(--line);border-radius:20px;min-width:0}.intelligence-section>h3,.intelligence-section>h2{margin:0 0 12px;font-size:1rem;font-weight:600}.intelligence-section>p{margin-block:8px;line-height:1.5}.intelligence-section ul{padding-inline-start:20px;line-height:1.55}.intelligence-meta{font-size:.8rem;color:var(--muted);line-height:1.5}.intelligence-chips{display:flex;flex-wrap:wrap;gap:6px;margin-block:10px}.intelligence-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 9px;border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:.79rem;overflow-wrap:anywhere}.intelligence-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.intelligence-list>li{padding-block:12px;border-block-end:1px solid var(--line);min-width:0;overflow-wrap:anywhere}.intelligence-list>li:last-child{border-block-end:0;padding-block-end:0}.intelligence-list p{margin:7px 0;line-height:1.5}.intelligence-result-link{display:block;padding:18px;border:1px solid var(--line);border-radius:18px;color:var(--text);text-decoration:none}.intelligence-result-link:hover{background:var(--surface-soft)}.intelligence-result-link h2{font-size:1.05rem;margin:0 0 8px}.intelligence-result-link p{margin:6px 0;line-height:1.5}.intelligence-evidence{color:var(--muted);font-size:.85rem;padding-inline-start:12px;border-inline-start:2px solid var(--line)}.intelligence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.intelligence-status{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;color:var(--muted)}.intelligence-state-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.intelligence-state-heading h3{margin:0;font-size:1rem}.intelligence-state-heading .button{flex-shrink:0}.asset-tile.is-selected{background:var(--surface-soft);outline:2px solid var(--text);outline-offset:3px;border-radius:14px}.media-select-check{position:absolute;z-index:1;inset-block-start:8px;inset-inline-start:8px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--surface);border:1px solid var(--line);box-shadow:0 2px 8px #0002}.media-select-check input{width:18px;height:18px;margin:0}.asset-tile{position:relative}.viewer-intelligence{width:min(100%,1000px);margin-inline:auto;padding:16px;color:var(--text);background:var(--surface);border-radius:18px;margin-block-start:12px}.viewer-intelligence>summary{cursor:pointer;min-height:32px;display:flex;align-items:center;gap:8px;font-size:.9rem}.viewer-intelligence .intelligence-stack{margin-block-start:16px}.learning-page{max-width:900px;margin-inline:auto}.learning-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block-end:24px}.learning-counts>div{border:1px solid var(--line);border-radius:18px;padding:18px}.learning-counts strong{display:block;font-size:1.8rem;font-weight:550;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.learning-counts span{display:block;margin-block-start:5px;font-size:.8rem;color:var(--muted)}.search-mode{display:flex;gap:6px;margin-block:0 18px}.search-mode .button[aria-pressed=true]{background:var(--surface-soft);color:var(--text)}.intelligence-source-list{display:flex;flex-wrap:wrap;gap:10px;font-size:.82rem;margin-block:10px}.intelligence-progress{width:100%;accent-color:var(--text);height:6px;margin-block:14px}@media(max-width:600px){.intelligence-grid{grid-template-columns:1fr}.intelligence-section{padding:16px}.learning-counts{gap:8px}.learning-counts>div{padding:14px 10px}.learning-counts strong{font-size:1.5rem}.learning-counts span{font-size:.75rem}.intelligence-toolbar>.intelligence-actions{width:100%}.intelligence-toolbar>.intelligence-actions .button{flex:1}}@media(max-width:520px){.learning-counts{grid-template-columns:minmax(0,1fr)}}.producer-page,.trash-page{max-width:1120px;margin-inline:auto}.producer-stack{display:grid;gap:24px;min-width:0}.producer-editor-fields{border:0;margin:0;padding:0}.producer-role-list>.producer-selected-source{display:flex;align-items:center;justify-content:space-between;gap:12px}.producer-selected-source>a{overflow-wrap:anywhere}.producer-intro{max-width:720px;color:var(--muted);line-height:1.6}.producer-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr);align-items:start;gap:24px}.producer-panel{display:grid;gap:18px;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--surface);min-width:0}.producer-panel h2,.producer-panel h3{margin:0}.producer-panel p{overflow-wrap:anywhere}.producer-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.producer-section-heading p{margin-block-start:6px}.producer-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.producer-meta,.producer-note{color:var(--muted);font-size:.85rem;line-height:1.55}.producer-kicker{color:var(--muted);font-size:.8rem;margin-block-end:7px}.producer-status{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:10px;background:var(--surface-soft);color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums}.producer-preview{display:grid;gap:16px}.producer-preview video{width:100%;max-height:560px;background:#111;border-radius:18px}.producer-preview-empty{display:grid;place-items:center;align-content:center;text-align:center;gap:14px;aspect-ratio:16 / 10;padding:28px;border-radius:18px;background:var(--surface-soft);color:var(--muted)}.producer-preview-empty p{max-width:330px}.producer-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.producer-form-wide{grid-column:1 / -1}.producer-check{display:flex;align-items:flex-start;gap:10px;line-height:1.55;font-size:.9rem}.producer-check input{flex:0 0 auto;margin:3px 0 0}.producer-timeline,.producer-version-list,.producer-role-list,.trash-list{margin:0;padding:0;list-style:none;display:grid;gap:12px}.producer-timeline-item{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:16px;align-items:start;padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--surface);min-width:0}.producer-timeline-item .asset-image,.producer-material-image,.trash-image{width:90px;height:90px;border-radius:12px;overflow:hidden;background:var(--surface-soft)}.producer-item-body{display:grid;gap:10px;min-width:0}.producer-item-body strong,.trash-item strong{overflow-wrap:anywhere}.producer-item-tools{display:flex;gap:2px}.producer-item-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block-start:14px}.producer-item-fields .producer-check{align-items:center;grid-column:1 / -1}.producer-role-list>li{display:grid;gap:6px;padding-block:12px;border-block-end:1px solid var(--line)}.producer-role-list>li:last-child{border-block-end:0;padding-block-end:0}.producer-version-list>li{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:16px}.producer-version-list>li[data-selected=true]{border-color:var(--text);background:var(--surface-soft)}.producer-version-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.producer-progress{width:100%;accent-color:var(--text)}.trash-item{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.trash-item-body{display:grid;gap:6px;min-width:0}.trash-reason{font-size:.9rem;line-height:1.55}@media(max-width:760px){.producer-layout{grid-template-columns:minmax(0,1fr)}.producer-panel{padding:18px;border-radius:22px}.producer-form-grid{grid-template-columns:minmax(0,1fr)}.producer-form-wide{grid-column:auto}.producer-timeline-item{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:14px}.producer-timeline-item .asset-image,.producer-material-image{width:64px;height:72px}.producer-item-tools{grid-column:2}.producer-item-fields{grid-template-columns:minmax(0,1fr)}.producer-item-fields .producer-check{grid-column:auto}.trash-item{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:16px}.trash-image{width:64px;height:72px}.trash-item>.button{grid-column:2;justify-self:start}}.producer-source-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.producer-source-card{display:grid;gap:10px;padding:10px;border:1px solid var(--line);border-radius:18px;min-width:0;cursor:pointer}.producer-source-card.is-selected{border-color:var(--text);background:var(--surface-soft)}.producer-source-card>.asset-image{width:100%;aspect-ratio:1;border-radius:10px;overflow:hidden}.producer-source-card .producer-check{font-size:.8rem;overflow-wrap:anywhere}@media(max-width:760px){.producer-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}.producer-effects{margin-block-start:16px}.producer-music-track{padding:16px;border:1px solid var(--line);border-radius:16px}.preferences-page{max-width:780px;margin-inline:auto}.preference-profile{display:grid;grid-template-columns:64px minmax(0,1fr) 44px;margin-block:8px 34px}.preferences-page .preference-profile>.button{margin-inline-start:0}.preference-profile h2{font-size:1.45rem;letter-spacing:-.035em;overflow-wrap:anywhere}.preference-profile>div{min-width:0}.preference-profile .avatar{background:var(--surface-soft);color:var(--text);flex-shrink:0}.preference-taste{margin-block:0 30px}.preference-taste h2{margin-block:0 12px;color:var(--muted);font-size:.85rem;font-weight:500}.preference-taste>p{margin-block-start:12px}.preference-location{display:grid;grid-template-columns:24px minmax(0,1fr) 44px;align-items:center;gap:14px;margin-block-end:30px;padding:18px 20px;border-radius:22px;background:var(--surface);border:1px solid var(--line)}.preference-location>div{flex:1;min-width:0}.preference-location h2{margin:0 0 5px;font-size:1rem;font-weight:550;overflow-wrap:anywhere}.preference-location p{margin:0}.preference-icon{color:var(--muted);display:grid;place-items:center;width:24px;flex-shrink:0}.preference-settings{background:var(--surface);border:1px solid var(--line);border-radius:22px;margin-block-end:24px}.preference-disclosure>summary{min-height:72px;padding:16px 20px;display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;color:var(--text);border-radius:20px}.preference-disclosure>summary::-webkit-details-marker{display:none}.preference-disclosure>summary::marker{content:""}.preference-disclosure>summary>.disclosure-chevron{color:var(--muted);flex-shrink:0;margin-inline-start:auto}.preference-disclosure>summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.preference-settings>.preference-disclosure+.preference-disclosure{border-block-start:1px solid var(--line)}.preference-summary-text{display:grid;gap:4px;min-width:0}.preference-summary-text strong{font-size:.9rem;font-weight:550}.preference-summary-text>span{color:var(--muted);font-size:.77rem;line-height:1.45}.preference-disclosure-body{padding:2px 20px 20px}.preference-disclosure-body>p{margin:0 0 16px;line-height:1.65;overflow-wrap:anywhere}.preference-disclosure-body>p:last-child{margin-block-end:0}.preference-disclosure-body>.action-row{margin-block:4px 18px}.archive-import-busy{opacity:.5;cursor:progress}.context-intro{color:var(--muted);font-size:.87rem;line-height:1.6;margin:0}.context-primary-fields{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.context-location-detection{display:grid;gap:10px}.context-location-detection>.button{justify-self:start;min-height:44px;font-size:.8125rem}.context-location-disclosure{margin:0;color:var(--muted);font-size:.75rem;line-height:1.6}.context-location-disclosure a{text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:3px}.context-validity{display:grid;gap:5px;font-size:.76rem;line-height:1.5;color:var(--muted)}.context-validity span{color:var(--text)}.context-validity p{margin:0}.context-more{border:1px solid var(--line);border-radius:17px}.context-more>summary{min-height:48px;padding:12px 15px;font-size:.85rem}.context-more .preference-disclosure-body{padding:8px 15px 16px}.timezone-suggestion{padding:12px;background:var(--surface-soft);border-radius:13px}.timezone-suggestion>p{margin:0 0 8px}.reference-list a{min-width:0;flex:1;overflow-wrap:anywhere}.reference-list .button{flex-shrink:0}.settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-form-wide{grid-column:1 / -1}.settings-section-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.settings-values{display:grid;gap:12px;margin:0}.settings-values>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:16px;align-items:start}.settings-values dt{color:var(--muted);font-size:.8125rem}.settings-values dd{margin:0;font-size:.875rem;overflow-wrap:anywhere}.settings-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-block:16px}.settings-stats>div{padding:14px;background:var(--surface-soft);border-radius:14px;min-width:0}.settings-stats dt{color:var(--muted);font-size:.75rem;line-height:1.45}.settings-stats dd{margin:6px 0 0;font-weight:600;font-size:1.1rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.settings-stats dd small{display:block;margin-top:4px;color:var(--muted);font-weight:400;font-size:.75rem}.settings-storage-meter{display:grid;gap:8px;color:var(--muted);font-size:.8125rem}.settings-storage-meter progress{width:100%;height:8px;accent-color:var(--accent)}.settings-permissions{display:grid;gap:14px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}.settings-permissions h3{margin:0;font-size:.9375rem}.settings-permissions>p{margin:0;line-height:1.6}.settings-permission-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px}.settings-permission-row>svg{color:var(--muted)}.settings-permission-row>div{display:grid;gap:3px;min-width:0}.settings-permission-row strong{font-size:.8125rem;font-weight:550}.settings-permission-row span{color:var(--muted);font-size:.75rem}.settings-permission-row .button{font-size:.75rem}.settings-equipment-list,.settings-conversation-list{display:grid;gap:10px}.settings-equipment,.settings-conversation-row{padding:14px;border-radius:14px;background:var(--surface-soft)}.settings-equipment header,.settings-conversation-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-equipment h3{margin:0;font-size:.9375rem}.settings-equipment .settings-form-grid{margin-top:14px}.settings-conversation-row>div{min-width:0}.settings-conversation-row strong,.settings-conversation-row span{display:block;overflow-wrap:anywhere}.settings-conversation-row strong{font-size:.8125rem;font-weight:550}.settings-conversation-row span{margin-top:4px;color:var(--muted);font-size:.75rem}.settings-diagnostics{padding:14px;margin:12px 0 0;border-radius:14px;background:var(--surface-soft);font-size:.75rem;white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow-y:auto}@media(max-width:520px){.settings-form-grid,.settings-stats{grid-template-columns:minmax(0,1fr)}.settings-values>div{grid-template-columns:minmax(0,1fr);gap:4px}.settings-permission-row{grid-template-columns:20px minmax(0,1fr)}.settings-permission-row .button{grid-column:2;justify-self:start;margin-left:-10px}.preference-profile{grid-template-columns:52px minmax(0,1fr) 44px;gap:12px}.preference-profile .avatar{width:52px;height:52px;border-radius:18px}.preference-location{padding:16px;gap:12px}.preference-disclosure>summary{padding-inline:16px;gap:12px}.preference-disclosure-body{padding-inline:16px}.context-primary-fields{grid-template-columns:1fr}}.auth-gate{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:32px 20px;background:var(--bg)}.auth-card{width:min(100%,410px);padding:32px;background:var(--surface);border:1px solid var(--line);border-radius:28px;box-shadow:0 12px 45px #00000006}.auth-lock{display:grid;place-items:center;width:58px;height:58px;background:var(--surface-soft);color:var(--muted);border-radius:18px;margin-block-end:24px}.auth-card h1{margin:0 0 10px;font-size:1.9rem;letter-spacing:-.045em;line-height:1.15}.auth-card>p{margin:0 0 28px;line-height:1.5}.auth-card>.auth-form{margin-block:0}.auth-card .auth-form>.button{width:100%;margin-block-start:6px}.auth-remember{display:flex;align-items:flex-start;gap:10px;font-size:.88rem;line-height:1.5}.auth-remember input{width:18px;height:18px;margin-block-start:2px;flex-shrink:0}.auth-privacy{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.8rem}.auth-setup{padding:16px;border-radius:14px;background:var(--surface-soft);line-height:1.5}.auth-setup p{margin:8px 0 0;color:var(--muted);font-size:.9rem}@media(max-width:480px){.auth-card{padding:28px 24px}.auth-gate{gap:24px}}.voice-surface{gap:15px;padding:10px 0 6px}.voice-surface h3{margin:0;font-size:1.15rem;font-weight:550;line-height:1.35;letter-spacing:-.025em}.voice-state-hint{max-width:32ch;min-height:3.2em;margin:0;font-size:.875rem;line-height:1.6;text-wrap:pretty}.voice-state-mark{position:relative;width:110px;height:110px;margin-block:5px 7px}.voice-state-mark .teacher-mark{width:110px;height:110px}.voice-state-icon{position:absolute;inset-inline-end:1px;inset-block-end:1px;display:grid;place-items:center;width:34px;height:34px;color:var(--accent);background:var(--surface);border:1px solid var(--line);border-radius:50%;transition:color var(--motion-state) var(--motion-ease),background-color var(--motion-state) var(--motion-ease)}.voice-state-mark[data-voice-state=muted] .voice-state-icon,.voice-state-mark[data-voice-state=idle] .voice-state-icon{color:var(--muted)}.voice-state-mark[data-voice-state=error] .voice-state-icon{color:var(--danger)}.voice-state-mark[data-voice-state=review] .voice-state-icon{color:var(--success, var(--accent))}.voice-play-icon,.voice-microphone-icon{position:relative;display:inline-grid;place-items:center;width:20px;height:20px;flex-shrink:0}.voice-play-icon>svg,.voice-microphone-icon>svg{grid-area:1 / 1;transition:opacity var(--motion-state) var(--motion-ease),scale var(--motion-state) var(--motion-ease),filter var(--motion-state) var(--motion-ease)}.voice-play-icon>svg:last-child,.voice-microphone-icon>svg:last-child,.voice-play-icon[data-playing=true]>svg:first-child,.voice-microphone-icon[data-muted=true]>svg:first-child{opacity:0;scale:.25;filter:blur(4px)}.voice-play-icon[data-playing=true]>svg:last-child,.voice-microphone-icon[data-muted=true]>svg:last-child{opacity:1;scale:1;filter:blur(0)}.voice-surface .live-caption{margin:0;line-height:1.65;overscroll-behavior:contain}@media(max-width:380px){.voice-controls{gap:4px;padding:6px}.voice-controls .button{min-width:68px;padding-inline:8px}}@media(prefers-reduced-motion:reduce){.voice-state-icon,.voice-play-icon>svg,.voice-microphone-icon>svg{transition:none}}.memories-page,.memory-detail,.memory-project-detail{min-width:0}.memory-search-row{display:flex;align-items:center;gap:12px;margin-block-end:6px}.projects-page>.memory-search-row{margin-block-end:24px}.memory-search-row .search{flex:1;min-width:0;max-width:520px}.memory-details>summary{display:flex;align-items:center;gap:9px;min-height:44px;width:fit-content;padding-block:10px;color:var(--muted);font-size:.8125rem;list-style:none;cursor:pointer}.memory-details>summary::-webkit-details-marker{display:none}.memory-details>summary:hover{color:var(--text)}.memory-filters{margin-block-end:26px}.memory-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:780px;padding-block:8px 14px}.memory-gallery.diary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.memory-card.event-card{min-width:0;border-color:var(--line);border-radius:22px;color:var(--text);background:var(--surface);overflow:hidden;transition:border-color .16s ease}.memory-card.event-card:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.memory-gallery .memory-card{display:block;padding:0}.memory-gallery .memory-card .event-cover{width:100%;height:auto;aspect-ratio:16 / 10;border-radius:0;background:color-mix(in srgb,var(--surface) 75%,var(--bg));color:var(--muted)}.memory-gallery .memory-card>div:last-child{padding:22px}.memory-card.event-card h2{font-size:1.125rem;line-height:1.35;overflow-wrap:anywhere}.memory-card .event-meta{font-size:.75rem;letter-spacing:0}.memory-card .event-excerpt{color:var(--muted);line-height:1.6}.memory-drafts{margin-block-start:36px;padding-block-start:24px;border-block-start:1px solid var(--line)}.memory-drafts .section-header{margin-block-end:8px}.memory-drafts .section-header h2{font-size:1rem}.memory-drafts .section-header>span{font-size:.75rem}.memory-draft-row{display:flex;align-items:center;gap:14px;min-height:72px;padding:12px 14px;color:var(--text);border-radius:14px}.memory-draft-row:hover{background:var(--surface)}.memory-draft-row>svg{color:var(--muted);flex-shrink:0}.memory-draft-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.memory-draft-row strong{display:block;font-size:.9375rem;font-weight:500}.memory-draft-row small{display:block;margin-block-start:4px;color:var(--muted);font-size:.75rem}.draft-open-icon{transform:rotate(45deg)}.memory-detail{max-width:980px;margin-inline:auto}.memory-project-cover .asset-image{width:100%;height:100%;aspect-ratio:auto}.memory-detail .page-header{margin-block-end:12px}.memory-detail.is-reading .page-header{flex-direction:row;align-items:flex-start;gap:16px}.memory-detail.is-reading .page-header>div:first-child{min-width:0;flex:1}.memory-edit-action.button{width:44px;height:44px;padding:0}.memory-detail.is-reading .page-actions{flex-shrink:0;width:auto}.memory-detail .page-header h1{font-size:clamp(1.8rem,3.4vw,2.75rem);line-height:1.15}.memory-metadata{display:flex;flex-wrap:wrap;gap:8px 20px;color:var(--muted);font-size:.8125rem;margin-block-end:24px}.memory-save-confirmation{display:inline-flex;align-items:center;gap:5px;min-height:1.5em;min-width:8em;color:var(--muted)}.memory-words,.memory-editor{--memory-text-inset: 22px;--memory-text-size: 1.125rem;max-width:70ch}.memory-words{margin-block:24px 32px}.memory-words>p{white-space:pre-wrap;overflow-wrap:anywhere;padding-inline:calc(var(--memory-text-inset) + 1px);font-size:var(--memory-text-size);line-height:1.8;margin:0}.memory-words>.button{padding-inline:0;color:var(--muted);font-size:.8125rem}.memory-editor{margin-block-end:24px}.memory-reader-actions{margin-block-start:24px}.memory-reader-actions .button{font-size:.8125rem;color:var(--muted)}.memory-new-form textarea{min-height:148px;background:var(--surface);line-height:1.7}.memory-staged-materials{display:flex;flex-direction:column;gap:12px}.memory-staged-materials>.button{align-self:flex-start}.memory-staged-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.memory-staged-file{position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden;background:var(--surface)}.memory-staged-file>img{width:100%;height:100%;display:block;object-fit:cover}.memory-staged-file>.button.button{position:absolute;right:4px;top:4px;width:44px;height:44px;padding:0;color:#fff;background:var(--media-overlay)}.memory-staged-placeholder{height:100%;padding:20px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted)}.memory-staged-placeholder span{width:100%;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.event-field-error{display:block;color:var(--danger);font-size:.8125rem;line-height:1.5}.memory-detail [aria-invalid=true],.memory-new-form [aria-invalid=true]{border-color:var(--danger)}.memory-editor textarea{padding:var(--memory-text-inset);background:var(--surface);font-size:var(--memory-text-size);line-height:1.8}.memory-material-toolbar{margin-block-start:24px;align-items:flex-start}.memory-material-toolbar>h2{margin:10px 0}.memory-material-toolbar>.upload-area{min-width:0}.memory-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;justify-content:space-between;padding-block:8px}.memory-editor-toolbar .action-row{gap:4px}.memory-editor-toolbar .button{font-size:.8125rem;padding-inline:10px}.memory-event-fields .disclosure-content>.form-stack,.memory-project-fields .disclosure-content>.form-stack{margin-block:8px 18px}.memory-event-metadata{max-width:70ch;margin-block-end:24px}.memory-materials .section-header h2,.memory-project-section .section-header h2{font-size:1.0625rem}.memory-helper{margin-block:12px;font-size:.8125rem;line-height:1.6;color:var(--muted)}.memory-materials .material-details{color:var(--muted)}.memory-detail.is-reading .memory-materials>.section-header{margin:0}.material-row>label{min-height:44px;padding-block:6px;cursor:pointer}.material-row input[type=checkbox]{width:20px;height:20px;margin:12px}.material-row>.button{min-width:44px;min-height:44px}@media(max-width:420px){.material-row{flex-wrap:wrap;gap:4px}.material-row>label{flex-basis:100%}}.memory-project-grid.projects-grid{gap:24px;align-items:start}.memory-project-card.project-card{background:var(--surface);border-color:var(--line);border-radius:22px;min-width:0}.memory-project-card.project-card:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.memory-project-card .project-art,.memory-project-card .project-art.story{height:190px;background:color-mix(in srgb,var(--surface) 65%,var(--bg));color:var(--muted)}.memory-project-card.project-card>div:last-child{padding:22px}.memory-project-card.without-cover>div{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;align-items:center}.memory-project-icon{display:grid;place-items:center;grid-row:1 / 3;width:44px;height:44px;color:var(--muted);background:color-mix(in srgb,var(--surface) 65%,var(--bg));border-radius:13px}.memory-project-card.without-cover .line-clamp{grid-column:2}.memory-project-card .eyebrow{color:var(--muted);font-size:.6875rem;letter-spacing:0}.memory-project-card.project-card h2{font-size:1.125rem;line-height:1.35;overflow-wrap:anywhere;margin-block-end:0}.memory-project-card .line-clamp{margin-block-start:10px;line-height:1.6}.memory-project-heading.has-cover{display:flex;align-items:center;gap:30px;margin-block-end:30px}.memory-project-heading .page-header{flex:1;min-width:0}.memory-project-heading.has-cover .page-header{margin-block-end:0}.memory-project-cover{width:190px;height:190px;border-radius:22px;flex-shrink:0;overflow:hidden;background:var(--surface)}.memory-project-tabs.plain-tabs{--segmented-radius: 11px;--segmented-selection: var(--bg);display:inline-flex;gap:4px;background:var(--surface);padding:4px;border:1px solid var(--line);border-radius:16px;margin-block-end:32px}.memory-project-tabs.plain-tabs button{min-height:44px;padding:10px 22px;border:0;border-radius:11px;color:var(--muted)}.memory-project-tabs.plain-tabs button[aria-selected=true]{background:var(--bg);color:var(--text)}.memory-project-tabs.plain-tabs[data-selection-ready] button[aria-selected=true]{background:transparent}.memory-project-section{margin-block-end:40px}.memory-story-start{max-width:600px;padding-block:4px 28px;margin-block-end:28px;border-block-end:1px solid var(--line)}.memory-story-start h2{margin:0 0 16px;font-size:1.125rem;font-weight:550}.memory-project-events>h2{margin-block:0 8px}.memory-project-event-add>summary{font-size:.875rem}.memory-project-event-add>.disclosure-content>.action-row{padding-block:4px 16px}.memory-project-events>.diary-list{margin-block-start:12px}.project-heading-actions{display:flex;align-items:center;gap:8px}.project-action-menu{display:flex;flex-direction:column;gap:6px}.project-action-menu>.button{width:100%;justify-content:flex-start;text-align:start;padding:14px}@media(min-width:761px){.modal.sheet:has(.project-action-menu){max-width:420px}}@media(max-width:900px){.memory-project-grid.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.memory-staged-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-gallery.diary-list{grid-template-columns:1fr;gap:22px}.memory-filter-fields{grid-template-columns:1fr;gap:12px}.memory-detail .page-actions{width:auto}.memory-words,.memory-editor{--memory-text-inset: 16px;--memory-text-size: 1.0625rem}.memory-project-grid.projects-grid{grid-template-columns:1fr}.memory-project-heading.has-cover{display:block}.memory-project-cover{width:100%;height:220px;margin-block-end:24px}.memory-project-tabs.plain-tabs{display:flex;width:fit-content;gap:2px}.memory-project-tabs.plain-tabs button{padding-inline:16px}}@media(prefers-reduced-motion:reduce){.memory-card.event-card{transition:none}}.lesson-entry{display:flex;gap:8px;flex-wrap:wrap}.plan-aesthetic{margin-block:18px 24px;padding:18px;border-radius:18px;background:var(--surface-soft)}.plan-aesthetic h3{margin:0 0 8px;font-size:1rem}.plan-aesthetic p{line-height:1.6}.plan-aesthetic dl{display:grid;gap:12px;margin:16px 0}.plan-aesthetic dt{font-weight:600;font-size:.875rem}.plan-aesthetic dd{margin:3px 0 0;color:var(--muted);font-size:.875rem;line-height:1.55}.teacher-lesson{display:grid;gap:24px;min-width:0}.lesson-intro,.lesson-section-heading,.lesson-footer,.lesson-file-heading,.lesson-review-heading,.lesson-series-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.lesson-intro{align-items:flex-start}.lesson-intro h3,.lesson-section-heading h3,.lesson-review-heading h4,.lesson-series-heading h4{margin:0}.lesson-intro p,.lesson-section-heading p{margin:6px 0 0;color:var(--muted);line-height:1.55}.lesson-kicker{color:var(--muted);font-size:.8125rem;margin:0 0 8px}.lesson-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:6px;border-radius:16px;background:var(--surface-soft)}.lesson-steps button{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;min-height:44px;border:0;border-radius:10px;color:var(--muted);background:transparent;font:inherit;font-size:.8125rem;cursor:pointer}.lesson-steps button[aria-current=step]{color:var(--text);background:var(--surface);box-shadow:0 1px 4px #00000012;font-weight:600}.lesson-step-number{font-variant-numeric:tabular-nums}.lesson-section,.lesson-continuation,.lesson-summary{display:grid;gap:18px}.lesson-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lesson-context-wide{grid-column:1 / -1}.lesson-topic-picker{padding:18px;border-radius:18px;background:var(--surface-soft)}.lesson-topic-picker h4,.lesson-topic h4{margin:0 0 6px}.lesson-topic{display:grid;gap:12px;padding-block-start:18px;border-block-start:1px solid var(--line)}.lesson-topic p{margin:0;line-height:1.55}.lesson-topic .button{justify-self:start}.lesson-context-comparison{display:grid;gap:14px;margin:0}.lesson-context-comparison dt{font-weight:600;font-size:.875rem}.lesson-context-comparison dd{display:grid;gap:4px;margin:4px 0 0;color:var(--muted);font-size:.875rem;overflow-wrap:anywhere}.lesson-note{margin:0;color:var(--muted);font-size:.8125rem;line-height:1.55}.lesson-inline-check{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.lesson-inline-check input{width:18px;height:18px;flex:0 0 auto;margin-top:2px;accent-color:var(--accent)}.lesson-upload{padding:24px;border:1px dashed var(--line);border-radius:18px;display:grid;justify-items:center;gap:12px;text-align:center}.lesson-upload p{margin:0;color:var(--muted);font-size:.875rem;line-height:1.5}.lesson-file-list,.lesson-review-list,.lesson-series-list{display:grid;gap:12px}.lesson-file,.lesson-review-card,.lesson-series-item,.lesson-continuation,.lesson-summary{padding:16px;border-radius:18px;background:var(--surface-soft)}.lesson-file,.lesson-series-item{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px}.lesson-file-image,.lesson-series-image{width:80px;height:96px;border-radius:10px;overflow:hidden;background:var(--surface)}.lesson-file-image .asset-image,.lesson-series-image .asset-image{width:100%;height:100%}.lesson-file-image img,.lesson-series-image img{object-fit:cover;outline:1px solid oklch(0 0 0 / .1);outline-offset:-1px}.lesson-file-body{display:grid;gap:12px;min-width:0}.lesson-file-heading strong,.lesson-series-name{overflow-wrap:anywhere}.lesson-file-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lesson-status{display:inline-flex;align-items:center;gap:6px;font-size:.8125rem;font-weight:600;color:var(--accent)}.lesson-status[data-status=rework],.lesson-status[data-status=insufficient]{color:var(--muted)}.lesson-review-card{display:grid;gap:14px}.lesson-review-card p{margin:0;line-height:1.6}.lesson-comments{display:grid;gap:16px;margin:0;padding-left:22px}.lesson-comments li{padding-left:4px}.lesson-comments p+p{margin-top:5px}.lesson-review-detail{color:var(--muted);font-size:.875rem}.lesson-comparison-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.lesson-comparison-images figure{margin:0;min-width:0}.lesson-comparison-images figcaption{margin-bottom:6px;color:var(--muted);font-size:.8125rem}.lesson-comparison-image{height:180px;border-radius:12px;overflow:hidden;background:var(--surface)}.lesson-image-button{display:block;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:zoom-in}.lesson-image-button .asset-image{width:100%;height:100%}.lesson-image-button img{width:100%;height:100%;object-fit:contain}.lesson-review-target{display:block;font-weight:600;margin-bottom:5px}.lesson-series-body{display:grid;align-content:start;gap:10px;min-width:0}.lesson-order-controls{display:flex;align-items:center;gap:4px}.lesson-footer{padding-top:18px;border-top:1px solid var(--line);flex-wrap:wrap}.lesson-footer>.action-row{margin-left:auto}.lesson-selection-count{font-size:.8125rem;font-variant-numeric:tabular-nums;color:var(--muted)}.lesson-continuation h3,.lesson-summary h3{margin:0;font-size:1rem}.lesson-continuation p,.lesson-summary p{margin:0;line-height:1.6}.lesson-file-manifest{margin:0;padding-left:24px;overflow-wrap:anywhere;line-height:1.7}.lesson-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}@media(prefers-color-scheme:dark){.lesson-file-image img,.lesson-series-image img{outline-color:#ffffff1a}}@media(max-width:560px){.teacher-lesson{gap:20px}.lesson-intro,.lesson-section-heading{align-items:flex-start;flex-wrap:wrap}.lesson-context-grid,.lesson-file-fields{grid-template-columns:minmax(0,1fr)}.lesson-steps{gap:3px;padding:4px}.lesson-steps button{flex-direction:column;gap:4px;padding:8px 4px;font-size:.75rem}.lesson-file,.lesson-series-item{grid-template-columns:56px minmax(0,1fr);gap:12px;padding:12px;border-radius:16px}.lesson-file-image,.lesson-series-image{width:56px;height:72px;border-radius:8px}.lesson-review-heading,.lesson-series-heading{align-items:flex-start;flex-wrap:wrap}.lesson-footer>.action-row{margin-left:0;width:100%}.lesson-footer>.action-row>.button{flex:1}.lesson-upload{padding:20px 14px}}.conversation-history-row{display:flex;align-items:center;gap:4px}.conversation-history-row .conversation-history-link{flex:1;min-width:0;overflow-wrap:anywhere}.conversation-history-row .conversation-history-delete{flex:0 0 44px;min-width:44px;min-height:44px;color:var(--muted)}.app-shell{--navigation-selection: color-mix(in srgb, var(--text) 9%, transparent)}.app-sidebar{overflow-y:auto;scrollbar-width:thin}.sidebar-create .button.button.icon-button{width:100%;height:64px;padding:0;border-radius:22px;justify-content:center}.sidebar-create+.navigation-panel{margin-top:16px}.desktop-nav a,.sidebar-secondary a{justify-content:center;gap:0;padding-inline:0}.desktop-nav a>svg,.sidebar-secondary a>svg{flex-shrink:0}.sidebar-secondary{margin:18px 7px 0;border-top:1px solid var(--line);padding-top:14px}.app-sidebar .sidebar-footer{display:flex;justify-content:center;padding-inline:0}.sidebar-tooltip{padding:10px 14px;border-radius:16px;font-size:.875rem;line-height:1.4;background:color-mix(in srgb,var(--surface-soft) 90%,var(--surface));opacity:0;transform:translate(-3px);transition:opacity var(--motion-press) var(--motion-ease),transform var(--motion-press) var(--motion-ease),display var(--motion-press) allow-discrete,overlay var(--motion-press) allow-discrete}.sidebar-tooltip:popover-open{opacity:1;transform:none}@starting-style{.sidebar-tooltip:popover-open{opacity:0;transform:translate(-3px)}}@media(prefers-reduced-motion:reduce){.sidebar-tooltip{transition:none;transform:none}}
