.library-layout{--library-nav-w:260px;background:var(--background);position:absolute;inset:0}.library-layout [data-slot=split-view]{--split-list:var(--library-nav-w)}.library-split{position:absolute;inset:0}.library-layout [data-slot=top-action-bar]{--detail-bar-background:color-mix(in oklch,var(--background) 90%,transparent);-webkit-backdrop-filter:blur(var(--glass-blur));backdrop-filter:blur(var(--glass-blur))}.library-layout .canvas-scroll,.library-layout .canvas-scroll[data-scroll-started=true],.library-layout .canvas-scroll[data-zoomed]{--canvas-fade-strength:0}.library-content-item{z-index:var(--z-chrome);position:absolute;inset:0}.library-sidebar{--control-h:30px;--sidebar-row-h:32px;--row-edge:8px;--row-pad:6px;--sidebar-line:calc(var(--row-edge) + var(--row-pad));--icon-button-inset:calc((var(--control-h) - var(--icon-size)) / 2);--row-more-end:calc(var(--row-pad) - var(--icon-button-inset));outline:none;flex-direction:column;height:100%;min-height:0;display:flex}.library-sidebar :is(.library-sidebar-top,.library-sidebar-foot) .app-button[data-size^=icon]{width:var(--control-h);height:var(--control-h)}.library-sidebar-top{align-items:center;gap:var(--control-gap);height:calc(var(--control-h) + var(--inset));padding:var(--inset) calc(var(--sidebar-line) - var(--icon-button-inset)) 0;flex-shrink:0;display:flex}.library-sidebar-space{flex:1}.library-sidebar-extra:empty{display:none}.library-sidebar-search{padding:var(--group-gap) var(--row-edge) 0;flex-shrink:0}.library-sidebar-search>[data-slot=search-field]{--search-icon-inset:var(--row-pad);width:100%}.library-sidebar-body{flex:1;min-height:0;position:relative}.library-sidebar-foot{align-items:center;gap:var(--control-gap);padding:var(--group-gap) calc(var(--sidebar-line) - var(--icon-button-inset)) var(--inset) var(--row-edge);flex-shrink:0;display:flex}.library-sidebar-foot:has(+.library-game){padding-bottom:0}.library-game{align-items:center;gap:var(--icon-gap);height:var(--control-h);margin:0 var(--row-edge) var(--inset);padding-inline:var(--row-pad);color:var(--muted);font-size:var(--type-subtext);line-height:var(--type-subtext-leading);letter-spacing:var(--type-subtext-tracking);flex-shrink:0;display:flex}.library-game-dot{width:var(--icon-size);height:var(--icon-size);flex-shrink:0;place-items:center;display:grid}.library-game-dot:before{content:"";border-radius:var(--radius-pill);background:var(--muted);opacity:.5;width:8px;height:8px}.library-game-dot[data-live]:before{background:var(--destructive);opacity:1}.library-account{--button-icon-offset:0px;justify-content:flex-start;gap:var(--icon-gap);min-width:0;height:var(--control-h);padding-inline:var(--row-pad);font-weight:var(--font-weight-normal);flex:1}.library-avatar{width:var(--icon-size);height:var(--icon-size);border-radius:var(--radius-pill);font-size:var(--type-small);line-height:var(--type-small-leading);flex-shrink:0;place-items:center;display:grid;overflow:hidden}.library-avatar img{object-fit:cover;width:100%;height:100%}.library-nav{height:100%;padding:var(--group-gap) var(--row-edge) var(--row-edge);overscroll-behavior:contain;flex-direction:column;gap:4px;display:flex}.library-nav-header[data-slot=section-header]{box-sizing:border-box;height:46px;padding:16px var(--row-pad) 0;flex-shrink:0;align-items:center}.sidebar-row{--button-icon-offset:0px;justify-content:flex-start;gap:var(--icon-gap);width:100%;min-width:0;height:var(--sidebar-row-h);padding-inline:var(--row-pad);border-radius:var(--radius-row);font-weight:var(--font-weight-normal);text-align:start;flex-shrink:0;display:flex}.sidebar-row .folder-count{color:var(--muted);font-size:var(--type-subtext);font-variant-numeric:tabular-nums}.sidebar-row>svg{flex-shrink:0}.sidebar-row-name{white-space:nowrap;text-align:start;min-width:0;-webkit-mask-image:linear-gradient(to right,var(--background) calc(100% - 24px),transparent);-webkit-mask-image:linear-gradient(to right,var(--background) calc(100% - 24px),transparent);mask-image:linear-gradient(to right,var(--background) calc(100% - 24px),transparent);flex:1;overflow:hidden}.sidebar-row .folder-count{margin-inline-start:auto}.sidebar-row-wrap{flex-shrink:0;position:relative}.sidebar-row-more{top:0;right:var(--row-more-end);opacity:0;pointer-events:none;position:absolute}.sidebar-row-more[data-popup-open],.sidebar-row-wrap:focus-within .sidebar-row-more{opacity:1;pointer-events:auto}.sidebar-row-wrap:focus-within .folder-count{opacity:0}.sidebar-row-wrap:has(.sidebar-row-more[data-popup-open]) .folder-count{opacity:0}@media (hover:hover) and (pointer:fine){.sidebar-row-wrap:hover .sidebar-row-more{opacity:1;pointer-events:auto;transition:opacity var(--dur-fade-fast) var(--ease-out)}.sidebar-row-wrap:hover .folder-count{opacity:0}.sidebar-row-wrap:hover .sidebar-row-name{-webkit-mask-image:linear-gradient(to right,var(--background) calc(100% - 36px),transparent calc(100% - 12px));-webkit-mask-image:linear-gradient(to right,var(--background) calc(100% - 36px),transparent calc(100% - 12px));mask-image:linear-gradient(to right,var(--background) calc(100% - 36px),transparent calc(100% - 12px))}}@media (prefers-reduced-motion:reduce){.sidebar-row-wrap:hover .sidebar-row-more{transition:none}}.library-content{height:100%;min-height:0;position:relative}.library-content>*{position:absolute;inset:0}.library-search-results{background:var(--background);flex-direction:column;display:flex}.library-items-pane{background:var(--background)}.library-items .library-list{--control-h:30px;--sidebar-row-h:32px;--row-edge:16px;--row-pad:8px;--sidebar-line:calc(var(--row-edge) + var(--row-pad));--row-more-end:calc(var(--row-pad) - (var(--control-h) - var(--icon-size)) / 2)}.library-content>.library-sidebar-show{inset:var(--inset) auto auto var(--inset);z-index:3}
.folder-heading{pointer-events:auto;width:100%;min-width:0;max-width:660px;color:var(--foreground);padding:8px 0 12px}.folder-heading-title{align-items:center;gap:8px;min-width:0;display:flex}.folder-heading-title>input{font-size:var(--type-title-1);line-height:var(--type-title-1-leading);font-weight:var(--font-weight-medium);letter-spacing:var(--type-title-1-tracking);padding:4px 0}.folder-heading-saving{width:14px;height:14px;color:var(--muted);flex-shrink:0}.folder-heading-rule{font-size:var(--type-subtext);color:var(--muted);align-items:baseline;gap:7px;min-width:0;padding:5px 0 0 40px;display:flex}.folder-heading-rule>span{flex-shrink:0}.folder-heading-rule>input{padding:3px 0}.folder-heading-error{font-size:var(--type-body);color:var(--destructive);align-items:center;gap:8px;padding-left:40px;line-height:1.5;display:flex}@media (max-width:600px){.folder-heading-title>input{font-size:var(--type-title-1)}.folder-heading-rule{flex-wrap:wrap;gap:1px}.folder-heading-rule>input{flex-basis:100%}}
.video-thumbnail{background:var(--secondary);pointer-events:none;width:100%;height:100%;position:relative;overflow:hidden}.video-thumbnail>img,.video-thumbnail>video{object-fit:contain;width:100%;height:100%;display:block}.video-thumbnail>video{opacity:0}.video-thumbnail>video.is-ready{opacity:1}.video-thumbnail-badge{background:color-mix(in oklch,var(--color-black) 45%,transparent);width:28px;height:28px;color:var(--color-white);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:12px;left:12px}
.editor-surface{background:var(--background);flex:1;min-width:0;height:100%;overflow:auto}.writing-page{max-width:656px;margin:0 auto;padding:100px 32px 160px}@media (max-width:600px){.writing-page{padding:64px 24px 136px}}.editor-surface>.writing-page:has(>.notene-editor){flex-direction:column;min-height:100%;padding-bottom:0;display:flex}.writing-page>.notene-editor{flex-direction:column;flex:1 0 auto;display:flex}.writing-page>.notene-editor[hidden]{display:none}.writing-page>.notene-editor>.notene-editor-content{flex-direction:column;flex:1 0 auto;min-height:0;display:flex}.writing-page>.notene-editor .notene-note-document{flex:1 0 auto;min-height:0;padding:8px 0 40vh}.editor-title{resize:none;overflow-wrap:anywhere;field-sizing:content;width:100%;min-height:0;font-size:var(--type-title-1);line-height:var(--type-title-1-leading);font-weight:var(--font-weight-medium);letter-spacing:var(--type-title-1-tracking);color:var(--foreground);caret-color:var(--semantic-blue);background:0 0;border:0;outline:none;flex:none;margin:0 0 12px;padding:0;display:block;overflow:hidden}.editor-title::placeholder{color:var(--muted)}.editor-title{scroll-margin-top:96px}.notene-note-document{font-family:var(--font-sans)}.notene-note-document:focus-visible{outline:none}.notene-editor{--notene-media-max-height:min(70vh,640px)}.notene-note-document{overflow-wrap:anywhere;min-height:230px;font-size:var(--type-note);line-height:var(--type-note-leading);letter-spacing:var(--type-note-tracking);padding:8px 0 28px}.notene-note-document>:first-child{margin-top:0}.notene-note-document p{margin:0 0 8px}.notene-note-document h1,.notene-note-document h2,.notene-note-document h3{font-weight:var(--font-weight-medium);margin:24px 0 8px}.notene-note-document h1{font-size:var(--type-title-1);line-height:var(--type-title-1-leading);letter-spacing:var(--type-title-1-tracking)}.notene-note-document h2{font-size:var(--type-title-2);line-height:var(--type-title-2-leading);letter-spacing:var(--type-title-2-tracking)}.notene-note-document h3{font-size:var(--type-title-3);line-height:var(--type-note-leading);letter-spacing:var(--type-title-3-tracking)}.notene-note-document ul,.notene-note-document ol{margin:8px 0 16px;padding-left:24px}.notene-note-document ul{list-style-type:disc}.notene-note-document ol{list-style-type:decimal}.notene-note-document li{margin:4px 0;padding-left:0}.notene-note-document li p{margin:0}.notene-note-document ul[data-type=taskList]{padding:0;list-style:none}.notene-note-document ul[data-type=taskList] li{align-items:flex-start;gap:4px;padding:0;display:flex}.notene-note-document ul[data-type=taskList] li>label{width:24px;min-height:var(--type-note-leading);flex:none;justify-content:center;align-items:center;margin-inline-start:-4px;display:flex}.notene-note-document ul[data-type=taskList] li>label input{width:16px;height:16px;margin:0}.notene-note-document ul[data-type=taskList] li>div{flex:1;min-width:0}.notene-note-document blockquote{border-left:3px solid var(--border);color:var(--muted);margin:16px 0;padding:0 0 0 16px}.notene-note-document pre{border-radius:var(--radius-sm);white-space:pre-wrap;margin:16px 0;padding:12px 16px}.notene-note-document hr{border:0;border-top:1px solid var(--border);margin:24px 0}.notene-note-document .notene-note-attachment{border-radius:var(--radius-sm);margin:16px 0}.notene-note-document .notene-note-attachment-media[data-preview]{border-radius:var(--radius-sm);background:var(--border);max-width:100%}.notene-note-document .notene-note-attachment-file[data-preview]{min-height:44px;font-size:var(--type-body);line-height:var(--type-body-leading);letter-spacing:normal;align-items:center;gap:8px;padding:8px;display:flex}.notene-note-attachment-file[data-preview]>svg{width:28px;color:var(--muted);flex:none}.notene-note-attachment-file[data-preview]>span{flex-direction:column;min-width:0;display:flex}.notene-note-attachment-file[data-preview] strong{font-weight:var(--font-weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.notene-note-attachment-file[data-preview] small{font-size:var(--type-subtext);line-height:var(--type-subtext-leading);color:var(--muted)}.quiet-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:24px 24px 120px;display:flex}.empty-symbol{color:var(--muted);background:var(--secondary);border-radius:24px;place-items:center;width:68px;height:68px;margin-bottom:25px;display:grid}.quiet-empty h1{font-size:var(--type-title-1);line-height:var(--type-title-1-leading);font-weight:var(--font-weight-normal);letter-spacing:var(--type-title-1-tracking);margin:0}.quiet-empty p{font-size:var(--type-subtext);color:var(--muted);max-width:330px;margin:12px 0 0;line-height:1.8}.empty-actions{align-items:center;gap:6px;margin-top:28px;display:flex}.empty-actions button{--button-padding-x:16px;font-weight:var(--font-weight-normal)}.asset-preview{background:var(--secondary);border-radius:22px;justify-content:center;align-items:center;height:185px;display:flex;position:relative;overflow:hidden}.asset-preview img{object-fit:cover;width:100%;height:100%}.note-thumbnail{text-align:left;background:var(--secondary);width:100%;height:100%;font-size:var(--type-body);align-self:stretch;padding:27px 25px;line-height:1.9;overflow:hidden}.note-thumbnail h4{font-size:var(--type-title-2);line-height:1.5;font-weight:var(--font-weight-medium);letter-spacing:var(--type-title-2-tracking);margin:0 0 13px}.note-thumbnail>p{color:var(--muted);white-space:pre-wrap;margin:0}.file-thumbnail{background:var(--secondary);flex-direction:column;justify-content:center;align-items:center;gap:14px;width:100%;height:100%;display:flex}.file-type-label{font-size:var(--type-subtext);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.inspector{z-index:var(--z-panel);border-radius:var(--radius-xl);background:var(--card);width:285px;box-shadow:var(--elev-4);flex-direction:column;display:flex;position:fixed;top:14px;bottom:14px;right:14px;overflow:hidden}.inspector-body{padding:22px}.inspector-label{color:var(--muted);font-size:var(--type-subtext);letter-spacing:.02em;margin:26px 0 12px}.tag-chip{font-size:var(--type-small);letter-spacing:var(--type-small-tracking);border-radius:var(--radius-pill);background:var(--secondary);color:var(--muted);align-items:center;gap:6px;padding:5px 10px;display:inline-flex}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.gallery-root{overscroll-behavior:contain;flex:1;min-height:0;padding:0;position:relative}.gallery-world{margin:0 auto;position:relative}.gallery-tile{cursor:pointer;outline:none;position:absolute;top:0;left:0}.gallery-media{background:var(--secondary);border-radius:24px;position:relative;overflow:hidden}.gallery-media img{object-fit:contain;width:100%;height:100%;display:block}.gallery-tile.selected .gallery-media{outline:2px solid var(--primary);outline-offset:4px}.gallery-caption{font-size:var(--type-body)}.gallery-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gallery-menu{opacity:0;transition:opacity var(--dur-hover) var(--ease-hover);position:absolute;top:9px;right:9px}.gallery-tile:focus-within .gallery-menu,.gallery-tile.selected .gallery-menu{opacity:1}@media (hover:hover) and (pointer:fine){.gallery-tile:hover .gallery-menu{opacity:1}}:root[data-modality=keyboard] .gallery-menu{transition-duration:0s}.gallery-favorite{color:var(--semantic-amber);flex-shrink:0}.gallery-tile:focus-visible{outline:none}.gallery-tile:focus-visible .gallery-media{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}@media (hover:none){.gallery-menu{opacity:1}}@media (max-width:800px){.gallery-media{border-radius:20px}.gallery-caption{font-size:var(--type-body)}}.text-thumbnail{white-space:pre-wrap;overflow-wrap:anywhere;width:100%;height:100%;font:var(--type-body)/1.9 var(--font-sans);color:var(--muted);background:var(--secondary);align-self:stretch;margin:0;padding:26px;overflow:hidden}.workspace-shell{background:var(--background);width:100%;height:100dvh;position:relative;overflow:hidden}.workspace-main{width:100%;height:100%;position:relative;overflow:hidden}.workspace-content-area{min-width:0;position:absolute;top:0;bottom:0;overflow:hidden}.workspace-content-area>.folder-strip-position,.workspace-content-area>nav[aria-label=Item\ breadcrumb]{max-width:calc(100% - 48px)}@media (max-width:899px){.workspace-content-area{left:0!important;right:0!important}}.library-canvas{flex-direction:column;display:flex;position:absolute;inset:0}.canvas-concealed{visibility:hidden;pointer-events:none}.item-canvas{background:var(--background);position:absolute;inset:0}:root[data-modality=keyboard] .item-canvas{opacity:1!important}.gallery-loading{flex:1;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.folder-strip-position{top:var(--canvas-top-offset);z-index:var(--z-chrome);pointer-events:none;flex-direction:column;align-items:flex-start;gap:12px;max-width:calc(100vw - 48px);display:flex;position:absolute;left:24px}.folder-strip{pointer-events:auto;background:0 0;align-items:center;gap:4px;max-width:100%;padding:0;display:flex}.folder-suggestions{overscroll-behavior-x:contain;overscroll-behavior-y:none;align-items:center;gap:4px;min-width:0;display:flex;overflow:auto hidden}.folder-pill{--button-padding-x:12px;max-width:180px;font-weight:var(--font-weight-normal);color:var(--muted);gap:4px}.folder-pill:focus-visible{outline-offset:-2px}.folder-pill.is-active{color:var(--foreground)}@media (hover:hover) and (pointer:fine){.folder-pill:hover{color:var(--foreground)}}.folder-count{color:var(--muted);font-size:var(--type-subtext);font-variant-numeric:tabular-nums;flex-shrink:0;align-items:center;gap:4px;display:inline-flex}.folder-scan-indicator{flex-shrink:0;align-items:center;width:13px;height:13px;display:inline-flex}.folder-scan-indicator svg{width:13px;height:13px}.folder-scan-status{color:var(--muted);font-size:var(--type-subtext);line-height:var(--type-subtext-leading);flex-wrap:wrap;gap:4px 10px;display:flex}.folder-scan-status-position{z-index:var(--z-chrome);pointer-events:none;max-width:calc(100vw - 48px);position:absolute;bottom:24px;left:24px}.quiet-empty>.folder-scan-status{text-align:center;flex-direction:column;margin-top:12px}@media (max-width:600px){.folder-scan-status-position{max-width:calc(100vw - 32px);bottom:88px;left:16px}.folder-scan-status-position>.folder-scan-status{flex-direction:column}}.canvas-view-label{border-radius:var(--radius-pill);background:var(--card);font-size:var(--type-small);line-height:var(--type-small-leading);letter-spacing:var(--type-small-tracking);color:var(--muted);padding:5px 12px}.dock-record-time{font-variant-numeric:tabular-nums;min-width:4ch;font-weight:var(--font-weight-normal);text-align:start}.inspector{bottom:104px}.upload-status[data-slot=notice]{z-index:var(--z-floating);position:absolute;bottom:24px;right:24px}.library-content>.plan-banner[data-slot=notice]{inset:auto;top:calc(var(--inset-bar-h) + var(--inset));z-index:var(--z-floating);position:absolute;left:50%;translate:-50%}.drop-overlay{z-index:var(--z-drag);border-radius:var(--radius-xl);background:var(--accent);position:absolute;inset:12px}@supports (color:color-mix(in lab, red, red)){.drop-overlay{background:color-mix(in oklch,var(--accent) 94%,transparent)}}.drop-overlay{color:var(--primary);pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex}@media (max-width:600px){.folder-strip-position{top:var(--canvas-top-offset);max-width:calc(100vw - 32px);left:16px}.folder-strip{gap:4px}.folder-pill{max-width:125px;font-size:var(--type-body)}.folder-suggestions{gap:4px}.quiet-empty{padding:96px 24px 120px}.quiet-empty h1{font-size:var(--type-title-1)}.inspector{width:min(310px,100vw - 28px);bottom:94px}.upload-status{bottom:14px;right:14px}}.item-canvas:focus-visible{outline:none}.gallery-item-link{color:inherit;outline:none;text-decoration:none;display:block}.gallery-item-link:focus-visible .gallery-media{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}.pdf-page-control{font-size:var(--type-body);color:var(--glass-ink-secondary);font-variant-numeric:tabular-nums;align-items:center;gap:2px;display:flex}.pdf-thumbnail{background:var(--secondary);justify-content:center;align-items:center;width:100%;height:100%;display:flex;overflow:hidden}.dark .pdf-thumbnail{background:var(--secondary)}.gallery-media .pdf-thumbnail-page{object-fit:contain;background:var(--color-white);width:auto;max-width:78%;height:auto;max-height:78%;box-shadow:var(--elev-2);border-radius:12px;display:block;transform:rotate(3deg)}.gallery-media .pdf-thumbnail-placeholder{width:64%;height:78%;color:var(--color-gray-600);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:18px;display:flex}.pdf-thumbnail-placeholder span{-webkit-line-clamp:3;max-width:100%;font-size:var(--type-body);overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.pdf-thumbnail-placeholder small{font-size:var(--type-body);color:var(--color-gray-550)}.gallery-menu{align-items:center;gap:2px;display:flex}.gallery-menu:has([aria-expanded=true]){opacity:1}.gallery-title-input,.breadcrumb-title-input{width:100%;min-width:0;color:var(--foreground);font:inherit;background:0 0;border:0;outline:none;padding:0}.gallery-title-input:focus-visible,.breadcrumb-title-input:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}.asset-description{resize:vertical;width:100%;min-height:92px;color:var(--foreground);font-size:var(--type-body);background:0 0;border:0;outline:none;padding:0;line-height:1.7}.asset-description:focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset)}.asset-details>.inspector-label{display:block}.asset-details>.inspector-label:first-child{margin-top:0}.source-popover{width:min(420px,100vw - 24px);max-height:min(70dvh,600px,var(--available-height,calc(100dvh - 24px)));overscroll-behavior:contain;padding:8px;overflow:hidden}.gallery-tile{--tile-shadow:var(--elev-1);contain:layout style;border-radius:12px}.gallery-thumb{transition:scale var(--dur-press-out) var(--ease-out)}.gallery-item-link:active .gallery-thumb{scale:var(--scale-press);transition-duration:var(--dur-press-in)}:root[data-modality=keyboard] .gallery-item-link:active .gallery-thumb{scale:none}@media (hover:hover) and (pointer:fine){.gallery-tile:hover:not(.selected){background:var(--button-surface)}@supports (color:color-mix(in lab, red, red)){.gallery-tile:hover:not(.selected){background:color-mix(in oklch,var(--button-surface) 50%,transparent)}}}.gallery-tile.selected{background:var(--primary)}@supports (color:color-mix(in lab, red, red)){.gallery-tile.selected{background:color-mix(in oklch,var(--primary) 14%,transparent)}}.gallery-tile .gallery-item-link{flex-direction:column;align-items:center;padding:8px 8px 0;display:flex}.gallery-thumb{justify-content:center;align-items:center;width:100%;display:flex}.gallery-tile .gallery-media{border-radius:10px}.gallery-tile.selected .gallery-media{outline:none}.gallery-tile .gallery-media:has(>img[data-gallery-primary-media],>.note-thumbnail,>.text-thumbnail){background:0 0;justify-content:center;align-items:center;display:flex;overflow:visible}.gallery-tile .gallery-media>img[data-gallery-primary-media]{width:auto;max-width:100%;height:auto;max-height:100%;box-shadow:var(--tile-shadow);border-radius:6px}.gallery-tile .note-thumbnail,.gallery-tile .text-thumbnail{--paper:var(--color-white);--ink:var(--color-gray-870);aspect-ratio:4/5;background:var(--paper);width:auto;height:80%;color:var(--ink);box-shadow:var(--tile-shadow);letter-spacing:.005em;text-align:left;border-radius:5px;flex:none;align-self:auto;padding:10px 10px 12px;font-size:8.5px;line-height:1.4;position:relative;overflow:hidden}.gallery-tile .note-thumbnail:after,.gallery-tile .text-thumbnail:after{content:"";background:linear-gradient(to bottom,transparent,var(--paper) 55%);pointer-events:none;height:28px;position:absolute;inset:auto 0 0}.gallery-tile .note-thumbnail h4{font-size:var(--type-small);line-height:1.25;font-weight:var(--font-weight-medium);letter-spacing:-.01em;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0 0 4px;display:-webkit-box;overflow:hidden}.gallery-tile .note-thumbnail>p{color:var(--ink);margin:0}@supports (color:color-mix(in lab, red, red)){.gallery-tile .note-thumbnail>p{color:color-mix(in oklch,var(--ink) 45%,transparent)}}.gallery-tile .note-thumbnail>p{font-style:italic}.gallery-tile .note-thumbnail>div{font-size:inherit;line-height:inherit;color:var(--ink)}@supports (color:color-mix(in lab, red, red)){.gallery-tile .note-thumbnail>div{color:color-mix(in oklch,var(--ink) 72%,transparent)}}.gallery-tile .note-thumbnail>div :where(h1,h2,h3,strong){color:var(--ink)}.gallery-tile .note-thumbnail>div :where(code,pre){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.gallery-tile .note-thumbnail>div :where(code,pre){background:color-mix(in oklch,var(--ink) 6%,transparent)}}.gallery-tile .note-thumbnail>div :where(p){margin:0 0 3px}.gallery-tile .note-thumbnail>div :where(h1,h2,h3){margin:5px 0 2px;font-size:9.5px;line-height:1.3}.gallery-tile .note-thumbnail>div>:first-child{margin-top:0}.gallery-tile .note-thumbnail>div :where(ul,ol){margin:2px 0 4px;padding-left:10px}.gallery-tile .note-thumbnail>div :where(li){margin:0;padding-left:1px}.gallery-tile .note-thumbnail>div :where(li>div,li>p){margin:0}.gallery-tile .note-thumbnail>div :where(ul:has(>li[data-checked])){padding-left:0}.gallery-tile .note-thumbnail>div :where(li[data-checked]){gap:4px}.gallery-tile .note-thumbnail>div :where(li[data-checked]>span){border-radius:2px;width:7px;height:7px;margin-top:2.5px;font-size:6px;line-height:6px}.gallery-tile .note-thumbnail>div :where(pre,blockquote){border-radius:3px;margin:3px 0;padding:3px 5px}.gallery-tile .note-thumbnail>div :where(blockquote){border-left-width:1.5px;border-radius:0;padding:0 0 0 5px}.gallery-tile .note-thumbnail>div :where(hr){margin:5px 0}.gallery-tile .note-thumbnail>div :where(svg){width:8px;height:8px}.gallery-tile .text-thumbnail{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--font-sans);color:var(--ink);margin:0}@supports (color:color-mix(in lab, red, red)){.gallery-tile .text-thumbnail{color:color-mix(in oklch,var(--ink) 72%,transparent)}}.gallery-tile .text-thumbnail small{display:none}.gallery-tile .gallery-caption{text-align:center;flex-direction:column;align-items:center;gap:0;width:100%;height:auto;padding:8px 2px;display:flex}.gallery-caption-title{max-width:100%;font-size:var(--type-body);font-weight:var(--font-weight-normal);line-height:var(--type-body-leading);max-height:calc(2 * var(--type-body-leading));-webkit-line-clamp:2;overflow-wrap:anywhere;color:var(--foreground);-webkit-box-orient:vertical;margin-bottom:2px;display:-webkit-box;overflow:hidden}.gallery-caption-meta{max-width:100%;font-size:var(--type-subtext);line-height:var(--type-subtext-leading);letter-spacing:var(--type-subtext-tracking);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.gallery-caption-note{max-width:100%;height:var(--type-subtext-leading);font-size:var(--type-subtext);line-height:var(--type-subtext-leading);letter-spacing:var(--type-subtext-tracking);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.gallery-tile .gallery-caption-editing{padding:6px 8px}.gallery-item-link:focus-visible .gallery-media{outline:none}.gallery-tile:has(.gallery-item-link:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(-1 * var(--focus-ring-width))}.item-canvas[hidden],.kept-view[hidden],.editor-surface[hidden]{display:none}.kept-view{height:100%}.quiet-skeleton{gap:12px;width:min(100%,560px);margin:0 auto;padding:6px 0;display:grid}.quiet-skeleton span{background:var(--secondary);border-radius:6px;height:12px;display:block}.quiet-skeleton span:nth-child(2){width:86%}.quiet-skeleton span:nth-child(3){width:58%}.quiet-skeleton[data-skeleton=media] span{aspect-ratio:4/3;border-radius:12px;height:auto}.item-opening{place-items:center;height:100%;padding:40px;display:grid}
