.card-new-marker{z-index:4;pointer-events:none;line-height:0;position:absolute;top:6px;left:6px}.new-card-dot{width:6px;height:6px;box-shadow:0 0 0 2px var(--surface);vertical-align:middle;background:#388bff;border-radius:50%;flex:none;display:inline-block}.desktop-note-index-item .new-card-dot,.desktop-note-guide-list .new-card-dot,.deck-peek .new-card-dot{margin:7px 3px 0 0}.deck-peek button:has(.new-card-dot){align-items:baseline;gap:4px;display:flex}.deck-peek button>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-strip{min-width:0;max-width:100%;color:var(--muted);flex:0 auto;align-items:center;gap:2px;display:flex}.attachment-icons{min-width:var(--file-icon-track,26px);overscroll-behavior-x:contain;scrollbar-width:none;align-items:center;gap:3px;display:flex;overflow-x:auto}.attachment-icons::-webkit-scrollbar{display:none}.attachment-strip .attachment-token{flex:0 0 var(--file-icon-track,26px);width:var(--file-icon-track,26px);height:var(--file-icon-track,26px);color:var(--card-glyph,var(--muted));touch-action:pan-x pan-y;cursor:grab;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:3px;display:inline-flex}.attachment-strip .attachment-token:active{cursor:grabbing}.attachment-strip .attachment-token:hover,.attachment-strip-toggle:hover{background:var(--hover,var(--accent-soft))}.attachment-strip .attachment-token svg{pointer-events:none}.attachment-strip .attachment-strip-toggle{width:auto;min-width:20px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;gap:1px;padding:0 2px;font-size:10px;display:inline-flex}.attachment-strip.expanded .attachment-strip-toggle svg{transform:rotate(180deg)}.attachment-strip button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.attachment-strip button:disabled{opacity:.45;cursor:default}@media (pointer:coarse){.attachment-strip .attachment-token{flex-basis:var(--file-icon-track,34px);width:var(--file-icon-track,34px);height:var(--file-icon-track,34px)}.attachment-strip .attachment-strip-toggle{min-width:28px;height:34px}}.drive-settings{border-top:1px solid var(--border,var(--line,#89978e40));text-align:start;min-width:0;margin:10px 0;padding-top:10px;font-size:13px}.drive-settings.drive-embedded{border:0;margin:0;padding:0}.drive-embedded .drive-fields{margin:0}.drive-toggle{width:100%;font:inherit;text-align:start;align-items:center;gap:6px;display:flex!important}.drive-fields{flex-direction:column;gap:9px;min-width:0;margin-top:9px;display:flex}.drive-fields label{flex-wrap:wrap;align-items:center;gap:5px;font-size:12px;display:flex}.drive-fields input,.drive-fields select{box-sizing:border-box;width:100%;min-width:0;font:inherit;border:1px solid var(--border,var(--line,#89978e60));min-height:34px;color:inherit;background:var(--raised,var(--surface,transparent));border-radius:7px;padding:7px 8px;font-size:13px;display:block}.drive-fields p,.drive-fields small{overflow-wrap:anywhere;color:var(--muted,inherit);margin:0;font-size:11px;line-height:1.5}.drive-toggle,.drive-fields button{font:inherit;border:1px solid var(--border,var(--line,#89978e60));min-height:34px;color:inherit;background:var(--surface,transparent);cursor:pointer;border-radius:7px;margin:0;padding:6px 8px;font-size:12px}.drive-fields .drive-primary{background:var(--accent-solid,var(--accent));color:var(--on-accent,var(--surface));border-color:#0000}.drive-fields .drive-cancel{color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;gap:4px;display:flex}.drive-fields .drive-advanced-toggle{min-height:26px;color:var(--muted);background:0 0;border:0;align-self:flex-start;padding:2px 0;font-size:11px}.drive-progress{color:var(--muted);gap:14px;padding-bottom:2px;font-size:11px;display:flex}.drive-progress .current{color:var(--text);font-weight:600}.drive-progress .done{color:var(--accent)}.drive-fields .drive-privacy-link{min-height:24px;color:var(--accent);text-underline-offset:3px;background:0 0;border:0;align-self:flex-start;padding:0;font-size:11px;text-decoration:underline}.drive-actions{flex-wrap:wrap;gap:6px;display:flex}.drive-actions button{flex:1}.drive-fields button:disabled{opacity:.5;cursor:default}.drive-fields button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (pointer:coarse){.drive-fields input,.drive-fields select{min-height:40px;font-size:16px}.drive-fields button{min-height:40px}}.service-setup{color:var(--text);gap:10px;font-size:12px;display:grid}.service-setup p{color:var(--muted);margin:0;line-height:1.6}.service-setup label{gap:5px;display:grid}.service-setup input{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:6px;padding:8px}.service-setup button{border:1px solid var(--border);background:var(--raised);color:var(--text);font:inherit;cursor:pointer;border-radius:6px;padding:8px 10px}.service-setup button:hover{background:var(--hover)}.service-setup button:disabled{opacity:.5;cursor:default}.service-setup summary{cursor:pointer;padding:8px 0;font-weight:600}.service-guide-step{border-top:1px solid var(--border);gap:6px;padding:12px 0;display:grid}.service-check{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:6px;gap:4px;padding:9px;display:grid}.service-kind{flex-wrap:wrap;gap:6px;display:flex}.service-kind button[aria-pressed=true]{background:var(--accent-soft,#e5f1eb);box-shadow:inset 0 0 0 1px var(--accent,#2e6659)}.storage-account{--storage-line:var(--border,var(--line,#e6e6e6));--storage-soft:var(--accent-bg,var(--accent-soft,#f3f3f3));text-align:start;min-width:0;color:var(--text);gap:16px;font-size:13px;display:grid}.storage-current{border-bottom:1px solid var(--storage-line);align-items:flex-start;gap:8px;min-width:0;padding-bottom:12px;display:flex}.storage-current>svg{color:var(--muted);flex:none;margin-top:3px}.storage-current-copy{flex:1;gap:3px;min-width:0;display:grid}.storage-session-actions{flex:none;align-items:center;gap:4px;display:flex}.storage-current-copy strong{font-size:14px;font-weight:600}.storage-current-copy small{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.storage-status{color:var(--muted);font-size:11px}.storage-status.is-connected{color:var(--accent)}.storage-account button{min-height:36px;font:inherit;color:inherit;background:var(--surface);border:1px solid var(--storage-line);cursor:pointer;border-radius:8px;margin:0;padding:7px 9px;font-size:12px}.storage-account button:disabled{opacity:.5;cursor:default}.storage-account button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.storage-account .storage-signout{min-height:28px;color:var(--muted);flex:none;align-items:center;gap:4px;padding:4px 6px;font-size:11px;display:flex}.storage-choices{grid-template-columns:1fr 1fr;gap:6px;display:grid}.storage-choices button{text-align:start;align-items:center;gap:5px;min-width:0;display:flex}.storage-choices button[aria-pressed=true]{border-color:var(--text);background:var(--storage-soft);color:var(--text)}.storage-choices button:last-child{background:0 0;border:0;grid-column:1/-1;min-height:23px;padding:0 2px}.storage-choices small{color:var(--muted);margin-inline-start:8px;font-size:10px}.storage-help{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.storage-server-form{gap:9px;display:grid}.storage-server-form .field{margin:0}.storage-server-form form{gap:9px;display:grid}.storage-server-form label{gap:5px;font-size:12px;display:grid}.storage-server-form input{box-sizing:border-box;border:1px solid var(--storage-line);background:var(--raised,var(--surface));width:100%;min-width:0;min-height:34px;color:inherit;font:inherit;border-radius:7px;padding:7px 8px}.storage-server-form .primary,.storage-server-form .primary-button{color:var(--on-accent,var(--surface));background:var(--accent-solid,var(--accent));border-color:#0000}@media (pointer:coarse){.storage-account button{min-height:40px}.storage-account .storage-signout{min-height:36px}.storage-choices button:last-child{min-height:30px}.storage-server-form input{min-height:40px;font-size:16px}}.account-brand{flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:hidden}.account-brand-avatar{background:var(--accent,#2e6858);color:#fff;border-radius:10px;flex:none;place-items:center;width:29px;height:29px;font-size:21px;font-weight:700;display:grid;overflow:hidden}.account-brand-avatar.google-avatar{background:var(--hover,#8882);color:var(--text,CanvasText);border-radius:50%;font-size:17px}.account-brand-avatar img{object-fit:cover;width:100%;height:100%;display:block}.account-brand-label{flex-direction:column;flex:1;min-width:0;display:flex}.account-brand-label strong{font-size:var(--account-name-size,clamp(12px,4.7vw,19px));text-overflow:ellipsis;white-space:nowrap;line-height:23px;overflow:hidden}.account-brand-label small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:15px;overflow:hidden}.account-brand.compact .account-brand-avatar,.account-brand.compact small{display:none}.account-brand.compact strong{font-size:var(--account-name-size,clamp(11px,4vw,13px));line-height:20px}.web-app .account-brand-avatar{width:34px;height:34px}.web-app .account-brand-label strong{font-size:var(--account-name-size,clamp(13px,5vw,20px));line-height:25px}.web-app.compact .account-brand-label strong{font-size:var(--account-name-size,clamp(11px,4vw,14px));line-height:20px}.app-shell>footer.shelf-status-footer,.web-app>footer.shelf-status-footer{white-space:nowrap;justify-content:center;align-items:center;gap:4px;padding-inline:6px;font-size:11px;display:flex;overflow:hidden}.shelf-status-footer>.status-dot{background:var(--status,#53b57a);border-radius:50%;flex:none;width:6px;height:6px}.shelf-status-footer>.status-dot.offline{background:var(--warning,#cfad72)}.shelf-status-footer>.status-dot.disconnected{background:var(--muted)}.shelf-status-footer>.footer-state,.shelf-status-footer>.footer-device{text-overflow:ellipsis;min-width:0;overflow:hidden}.shelf-status-footer>.footer-device{max-width:38%}.app-shell>footer.shelf-status-footer.compact-footer,.web-app>footer.shelf-status-footer.compact-footer{justify-content:flex-start;font-size:10px}:is([data-shelf-icon],.top-actions>button,.card-actions>button,.card-actions>a,.attachment-actions>button,.attachment>button,.attachment>a,.panel-title>button,.pending-file>button,.toast>button,.preview-dialog header>button,.pdf-preview nav>button,.office-preview nav>button,.deck-navigation>button,.shelf-sharing-close,.close-dismiss,.attachment-token,.attachment-strip-toggle){border-radius:6px;transition:background-color .12s,color .12s}:is([data-shelf-icon],.top-actions>button,.card-actions>button,.card-actions>a,.attachment-actions>button,.attachment>button,.attachment>a,.panel-title>button,.pending-file>button,.toast>button,.preview-dialog header>button,.pdf-preview nav>button,.office-preview nav>button,.deck-navigation>button,.shelf-sharing-close,.close-dismiss,.attachment-token,.attachment-strip-toggle):not(:disabled):not([aria-disabled=true]):is(:hover,:focus-visible){background:var(--shelf-icon-hover-bg,var(--accent-bg,var(--accent-soft,#eaf0ed)));color:var(--shelf-icon-hover-color,var(--accent,#2e6858));border-radius:6px}:is([data-shelf-icon],.top-actions>button,.card-actions>button,.card-actions>a,.attachment-actions>button,.attachment>button,.attachment>a,.panel-title>button,.pending-file>button,.toast>button,.preview-dialog header>button,.pdf-preview nav>button,.office-preview nav>button,.deck-navigation>button,.shelf-sharing-close,.close-dismiss,.attachment-token,.attachment-strip-toggle):is(:disabled,[aria-disabled=true]):hover{color:var(--muted,#708078);background:0 0}@media (prefers-reduced-motion:reduce){[data-shelf-icon],.top-actions>button,.card-actions>button,.card-actions>a,.attachment-actions>button,.attachment>button,.attachment>a,.panel-title>button,.pending-file>button,.toast>button,.preview-dialog header>button,.pdf-preview nav>button,.office-preview nav>button,.deck-navigation>button,.shelf-sharing-close,.close-dismiss,.attachment-token,.attachment-strip-toggle{transition:none}}@keyframes shelf-appear{0%{opacity:0}to{opacity:1}}:is(.file-row,.secure-row,.card,.shelf-sharing-dialog,.preview-dialog,.delete-dialog,.encrypt-dialog,.remark-editor,.toast,.error,.sort-menu){animation:.14s ease-out both shelf-appear}:is(.attachment-row,.secure-attachment){animation:.1s ease-out both shelf-appear}@media (prefers-reduced-motion:reduce){:is(.file-row,.secure-row,.card,.shelf-sharing-dialog,.preview-dialog,.delete-dialog,.encrypt-dialog,.remark-editor,.toast,.error,.sort-menu,.attachment-row,.secure-attachment){animation:none}}.card-deck{min-width:0}.deck-stage{isolation:isolate;touch-action:pinch-zoom;overscroll-behavior:none;height:clamp(260px,100dvh - 258px,640px);position:relative}.items>.card-slot{display:contents}.items:has(>.virtual-rows){display:block}.virtual-rows{overflow-anchor:none}.virtual-row{grid-template-columns:repeat(var(--virtual-columns),minmax(0,1fr));gap:10px;margin-bottom:10px;display:grid}.virtual-row>.card-slot{display:contents}.virtual-row .card,.virtual-row .secure-row{isolation:isolate;min-width:0;position:relative}.virtual-row>.card-slot>:has(.card-context-menu){z-index:2}.deck-stage>:is(.card-slot,.deck-peek){max-width:440px;z-index:var(--deck-order);transform:translateY(calc(var(--deck-shift) + var(--deck-shift-percent))) scale(var(--deck-scale));transform-origin:50%;border-radius:14px;margin-inline:auto;position:absolute;inset:19% 0}.deck-stage>.card-slot{scrollbar-gutter:stable;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;overflow-y:auto}.deck-stage>.card-slot:not([data-layer="0"]){pointer-events:none;overflow:hidden}.deck-stage>:is(.card-slot,.deck-peek)[data-outside]{visibility:hidden;pointer-events:none}.deck-stage>.card-slot>.card,.deck-stage>.card-slot>.secure-row{isolation:isolate;border:1px solid var(--line);flex-direction:column;min-height:100%;display:flex;position:relative;box-shadow:0 4px 14px #0000000a}.deck-stage>.card-slot[data-layer="0"]>.card,.deck-stage>.card-slot[data-layer="0"]>.secure-row{box-shadow:0 5px 18px #00000014}.deck-stage>.card-slot>:is(.card,.secure-row)>*{opacity:var(--deck-content-opacity,1)}.deck-stage>.card-slot:not([data-layer="0"])>:is(.card,.secure-row)>*,.deck-stage>.card-slot:not([data-layer="0"]) :is(.card-actions,.card-corner-actions,.secure-card-actions,.attachment-strip,.card-context-menu){visibility:hidden}.deck-peek{pointer-events:none}.deck-peek button{background:var(--card-tint,var(--surface));width:calc(100% - 2px);height:27px;color:var(--text);font:inherit;text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;pointer-events:auto;border:0;border-radius:0 0 13px 13px;padding:2px 12px;font-size:14px;line-height:23px;position:absolute;bottom:1px;left:1px;right:1px;overflow:hidden}.deck-peek[data-layer^=\-] button{border-radius:13px 13px 0 0;top:1px;bottom:auto}.deck-peek[data-layer="0"]{visibility:hidden}.deck-peek[data-outside] button{pointer-events:none}.deck-peek button:hover{text-underline-offset:3px;text-decoration:underline}.deck-peek button:focus-visible{outline:2px solid var(--text);outline-offset:-3px}.deck-stage>.card-slot>.card>.card-footer{flex-shrink:0;margin-top:auto;padding-top:6px}.deck-stage>.card-slot>.secure-row>.secure-card-footer{flex-shrink:0;margin-top:auto}.card-deck .note-content:not(.expanded){flex-shrink:0;max-height:none!important;display:block!important;overflow:visible!important}.card-deck .secure-content{flex-shrink:0}.card-deck .secure-text-clamped{max-height:none!important;overflow:visible!important}.card-deck .secure-text-toggle,.card-deck .note-toggle-slot{display:none}.deck-navigation{color:var(--muted);justify-content:center;align-items:center;gap:14px;margin-top:12px;font-size:12px;display:flex}.deck-navigation button{border:1px solid var(--line);background:var(--surface);width:32px;height:30px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.deck-navigation button:hover:not(:disabled){color:var(--text)}@media (prefers-reduced-motion:reduce){.deck-stage>:is(.card-slot,.deck-peek),.deck-stage>:is(.card-slot,.deck-peek)[data-outside],.deck-stage>.card-slot:not([data-layer="0"])>:is(.card,.secure-row)>*{transition:none}}.stack-file-preview{flex-shrink:0;min-width:0;margin-top:10px}.stack-file-preview>img{object-fit:contain;border-radius:5px;max-width:100%;max-height:min(38dvh,280px);margin:auto;display:block}.stack-file-preview p[role],.stack-file-preview>p{color:var(--muted);overflow-wrap:anywhere;padding:6px 0;font-size:12px}.stack-file-preview .pdf-preview nav{background:0 0;position:static}.stack-file-preview .pdf-preview-page{max-height:min(38dvh,280px)}.stack-file-preview .pdf-preview canvas{object-fit:contain;max-height:100%}.stack-file-preview button{min-width:32px;min-height:30px;color:var(--text);background:0 0;border:0;border-radius:5px;place-items:center;display:inline-grid}.stack-file-preview .office-preview{height:auto}.stack-file-preview .office-content{overflow:visible}.stack-file-preview .office-table-scroll{overscroll-behavior:contain}.stack-file-preview .office-hint{color:var(--muted)}.stack-file-preview{position:relative}.stack-file-preview[data-open-preview=true]{cursor:zoom-in}.inline-preview-expand{inset-inline-end:6px;z-index:2;border:1px solid var(--border);width:25px;height:25px;color:var(--muted);background:var(--surface);cursor:pointer;border-radius:5px;place-items:center;padding:0;display:grid;position:absolute;top:6px;box-shadow:0 1px 3px #0001}.inline-preview-expand:hover{color:var(--accent);box-shadow:0 2px 6px #0002}.media-preview{flex-direction:column;gap:8px;width:100%;min-width:0;display:flex}.media-preview video{object-fit:contain;background:#111;border-radius:6px;width:100%;min-height:100px;max-height:100%;display:block}.media-preview audio{width:100%;max-width:100%;height:40px;display:block}.remark-menu.card-context-menu{z-index:20;inset-inline-end:4px;border:1px solid var(--accent-border,var(--line));background:var(--raised,var(--surface));border-radius:6px;min-width:110px;max-width:calc(100% - 8px);padding:3px;position:absolute;top:12px;box-shadow:0 3px 12px #0002}.remark-menu.card-context-menu>button{width:100%;min-height:28px;color:var(--text);font:inherit;text-align:start;background:0 0;border:0;border-radius:3px;align-items:center;gap:7px;padding:5px 7px;font-size:12px;display:flex}.remark-menu.card-context-menu>.menu-delete{color:var(--danger)}.remark-menu.card-context-menu>button:hover,.remark-menu.card-context-menu>button:focus-visible{background:var(--hover,var(--accent-soft));outline:1px solid var(--accent-border,var(--line))}.card:has(>.card-context-menu){position:relative}.shelf-sharing-overlay{z-index:2500;box-sizing:border-box;min-width:0;color:var(--text,#24252a);isolation:isolate;background:#0007;justify-content:center;align-items:center;padding:16px;font-size:14px;display:flex;position:fixed;inset:0;overflow:hidden auto}.shelf-sharing-dialog{background:var(--surface,var(--card,#fff));border:1px solid var(--border,#d9dce3);box-sizing:border-box;border-radius:16px;flex:0 460px;width:460px;min-width:0;max-width:100%;max-height:calc(100dvh - 32px);padding:20px;overflow:hidden auto;box-shadow:0 20px 70px #0004}.shelf-sharing-dialog header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.shelf-sharing-dialog header strong{overflow-wrap:anywhere;min-width:0;font-size:17px}.shelf-sharing-dialog button{border:1px solid var(--border,#d9dce3);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:8px;padding:8px 12px}.shelf-sharing-dialog header button{flex-shrink:0;padding:7px;display:flex}.shelf-sharing-dialog button:disabled{opacity:.5;cursor:default}.shelf-sharing-dialog input[type=email]{box-sizing:border-box;border:1px solid var(--border,#d9dce3);width:100%;color:inherit;font:inherit;background:0 0;border-radius:8px;margin-top:8px;padding:10px 12px;display:block}.shelf-sharing-dialog label{line-height:1.6;display:block}.shelf-sharing-hint{opacity:.75;white-space:normal;font-size:12px;line-height:1.7}.shelf-sharing-address{overflow-wrap:anywhere;opacity:.8;font-size:12px}.shelf-share-title{overflow-wrap:anywhere;white-space:pre-wrap;max-height:90px;overflow:auto}.shelf-sharing-dialog .shelf-share-primary{color:#fff;background:#4b59ca;border-color:#4b59ca}.shelf-share-consent{align-items:flex-start;gap:8px;margin-bottom:16px;font-size:12px;display:flex!important}.shelf-share-consent input{margin-top:5px}.shelf-share-tabs{gap:8px;display:flex}.shelf-share-tabs button[aria-pressed=true]{background:#4b59ca20}.shelf-share-items article{border-bottom:1px solid var(--border,#d9dce3);overflow-wrap:anywhere;flex-direction:column;gap:7px;padding:16px 0;display:flex}.shelf-share-items small{opacity:.65;font-size:11px}.shelf-share-items article>div{flex-wrap:wrap;gap:8px;margin-top:5px;display:flex}.shelf-share-error{color:#b33131;line-height:1.7}.shelf-share-success{color:#24734b;line-height:1.7}.shelf-share-progress{line-height:1.7}.shelf-sharing-button{position:relative}.shelf-inbox-count{color:#fff;background:#4b59ca;border-radius:10px;place-items:center;min-width:16px;height:16px;padding:0 3px;font-size:10px;display:grid;position:absolute;top:-4px;right:-4px}.shelf-share-notice{z-index:500;border:1px solid var(--border,#d9dce3);background:var(--surface,var(--card,#fff));color:var(--text,#24252a);box-sizing:border-box;border-radius:12px;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:12px 16px;font-size:13px;display:flex;position:fixed;bottom:50px;right:16px;box-shadow:0 4px 20px #0002}.shelf-share-notice button{color:inherit;cursor:pointer;background:0 0;border:0}[data-theme=dark] .shelf-sharing-dialog,[data-theme=dark] .shelf-share-notice{color:#eee;background:#24252c;border-color:#454650}[data-theme=dark] .shelf-share-error{color:#f99}[data-theme=dark] .shelf-share-success{color:#80d9a9}.shelf-share-tabs{flex-wrap:wrap}.shelf-share-notice>span{flex:1;min-width:0}.shelf-share-notice>button{white-space:nowrap;flex-shrink:0}.browser-lan{gap:12px;min-width:0;display:grid}.browser-lan p{margin:0}.browser-lan-invite{text-align:center;justify-items:center;gap:10px;display:grid}.browser-lan-qr{border-radius:12px;width:min(256px,100%);height:auto}.browser-lan-local{gap:8px;display:grid}.browser-lan-local textarea{resize:vertical;box-sizing:border-box;width:100%;min-height:72px}.browser-lan-local label{gap:5px;display:grid}.browser-lan-local input{max-width:100%}.browser-lan-offer,.browser-lan-jobs article,.browser-lan-receipt{border:1px solid var(--border,#dce1df);overflow-wrap:anywhere;border-radius:10px;gap:8px;padding:12px;display:grid}.browser-lan-offer>div:last-child{gap:8px;display:flex}.browser-lan-jobs{gap:8px;display:grid}.browser-lan-jobs progress{width:100%}.browser-lan-receipt a{display:block}.browser-lan-entry{align-items:center;gap:6px;display:flex}.browser-lan-login-entry{margin:8px 0 18px}.browser-lan-receipt pre{white-space:pre-wrap;max-height:180px;overflow:auto}.browser-lan{overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr);max-width:100%}.browser-lan>*,.browser-lan-invite>*{min-width:0;max-width:100%}.browser-lan-invite{grid-template-columns:minmax(0,1fr);width:100%}.browser-lan-qr{aspect-ratio:1;justify-self:center;width:100%;min-width:0;max-width:256px;display:block}.browser-lan-local input[type=file]{width:100%;min-width:0}.browser-lan button{white-space:normal;overflow-wrap:anywhere}.browser-lan-nearby{gap:8px;min-width:0;display:grid}.browser-lan-nearby button{text-align:start;justify-content:space-between;align-items:center;gap:8px;display:flex}.browser-lan-nearby button span{overflow-wrap:anywhere;min-width:0}.browser-lan-fallback{min-width:0}.browser-lan-fallback summary{cursor:pointer;padding:8px 0}.browser-lan-fallback[open] .browser-lan-invite{margin-top:12px}.delete-overlay{z-index:120;background:#0005;place-items:center;padding:10px;display:grid;position:fixed;inset:0}.delete-dialog{border:1px solid var(--border,var(--line));background:var(--raised,var(--surface));width:min(320px,100%);max-height:90vh;color:var(--text);border-radius:9px;padding:14px;font-size:12px;overflow:auto}.delete-dialog>strong{font-size:14px}.delete-dialog p{overflow-wrap:anywhere;margin:10px 0;line-height:1.5}.delete-no-remind{color:var(--muted);align-items:center;gap:5px;font-size:11px;display:flex}.delete-no-remind input{width:14px;height:14px;accent-color:var(--accent);margin:0}.delete-dialog-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.delete-dialog-actions button{border:1px solid var(--border,var(--line));min-width:54px;color:inherit;font:inherit;background:0 0;border-radius:5px;padding:5px 10px}.delete-dialog-actions .delete-confirm-button{color:var(--danger);border-color:var(--danger-border,var(--danger))}.delete-dialog-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.icon-tooltip{z-index:1000;border:1px solid var(--accent-border,var(--line,#dfe6e1));background:var(--raised,var(--surface,Canvas));max-width:min(230px,100vw - 12px);max-height:calc(100vh - 12px);color:var(--text,CanvasText);box-shadow:0 3px 12px var(--shadow,#0002);overflow-wrap:anywhere;pointer-events:none;border-radius:6px;padding:5px 7px;font-size:11px;line-height:1.4;position:fixed}.card-color-anchor{flex:none;align-items:center;display:inline-flex}.card-color-menu{z-index:1600;border:1px solid var(--border,var(--line,#dce5df));background:var(--surface,Canvas);max-width:calc(100vw - 12px);color:var(--text,CanvasText);border-radius:9px;padding:7px;position:fixed;box-shadow:0 4px 16px #0002}.card-color-swatches{gap:5px;display:flex}.card-color-swatch{cursor:pointer;color:#fff;border:1px solid #0002;border-radius:50%;place-items:center;width:25px;height:25px;padding:0;display:grid}.swatch-red{background:#d45b58}.swatch-orange{background:#db813e}.swatch-yellow{color:#342d14;background:#d4b643}.swatch-green{background:#5c9b69}.swatch-blue{background:#558fc2}.swatch-purple{background:#9b75be}.card-color-swatch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.card-color-swatch[aria-checked=true]{box-shadow:0 0 0 2px var(--surface,Canvas),0 0 0 3px var(--accent)}.card-color-reset{width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:4px;margin-top:7px;padding:4px;font-size:11px;display:flex}.card-color-reset:hover{background:#8882}[data-card-color=red]{--card-tint:#fbe9e7;--card-glyph:#a04440;--card-tint-border:#dfb6b2}[data-card-color=orange]{--card-tint:#fbefdf;--card-glyph:#96551f;--card-tint-border:#dfc49e}[data-card-color=yellow]{--card-tint:#f8f3d9;--card-glyph:#7f6c1a;--card-tint-border:#d9ce98}[data-card-color=green]{--card-tint:#e7f2e9;--card-glyph:#3e7449;--card-tint-border:#afceb7}[data-card-color=blue]{--card-tint:#e7effa;--card-glyph:#3b6797;--card-tint-border:#afc6df}[data-card-color=purple]{--card-tint:#f0e9f8;--card-glyph:#735093;--card-tint-border:#cbb7dd}:root[data-theme=dark] [data-card-color=red]{--card-tint:#392927;--card-glyph:#efa8a3;--card-tint-border:#78534f}:root[data-theme=dark] [data-card-color=orange]{--card-tint:#392e22;--card-glyph:#e5b482;--card-tint-border:#796247}:root[data-theme=dark] [data-card-color=yellow]{--card-tint:#343120;--card-glyph:#dfcd7e;--card-tint-border:#716a41}:root[data-theme=dark] [data-card-color=green]{--card-tint:#22372a;--card-glyph:#9bc9a6;--card-tint-border:#496d54}:root[data-theme=dark] [data-card-color=blue]{--card-tint:#24313e;--card-glyph:#9cbfe8;--card-tint-border:#4b6580}:root[data-theme=dark] [data-card-color=purple]{--card-tint:#332a3e;--card-glyph:#c6afe1;--card-tint-border:#6c567f}.file-row[data-card-color]:not([data-card-color=default]),.note-view .file-row[data-card-color]:not([data-card-color=default]),.card[data-card-color]:not([data-card-color=default]){background:var(--card-tint);border-color:var(--card-tint-border)}.file-row[data-card-color] .attachment-row,.card[data-card-color] .attachment{background:0 0}.file-row[data-card-color],.card[data-card-color]{--shelf-icon-hover-bg:color-mix(in srgb,var(--card-tint,var(--surface,Canvas)) 72%,var(--card-glyph,var(--muted,#708078)));--shelf-icon-hover-color:var(--card-glyph,var(--text,CanvasText))}.file-row[data-card-color]:not([data-card-color=default]),.card[data-card-color]:not([data-card-color=default]){--muted:#59685f}:root[data-theme=dark] .file-row[data-card-color],:root[data-theme=dark] .card[data-card-color]{--muted:#b1beb5}:is(body:has(.app-shell.dragging) .card-color-menu,body:has(.drop-overlay) .card-color-menu){visibility:hidden;pointer-events:none}.note-view .file-actions button,.note-view .secure-card-actions button{width:20px;height:20px}.note-view .combined-entry-actions,.note-view .combined-entry-actions .attachment-actions{gap:0}.card-corner-actions{inset-inline-end:3px;z-index:1;gap:1px;display:flex;position:absolute;top:3px}.card-corner-actions>button{width:21px;height:21px;color:var(--muted,#708078);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:2px;display:inline-flex;position:static;inset:auto}.card-corner-actions>button:hover{background:#8882}.card-corner-actions>button:disabled{opacity:.4;cursor:default}.card-corner-actions>.card-pin-button[aria-pressed=true]{color:var(--card-glyph,var(--text,CanvasText));background:0 0}.card:has(>.card-corner-actions){position:relative}:is(.card:has(>.card-corner-actions) .file-line,.card:has(>.card-corner-actions) .note-body){padding-inline-end:44px}.standard-view .file-row.secure-row,.note-view .file-row.secure-row,.file-row.secure-row{border:1px solid var(--border,var(--line,#dfe6e1));background:var(--surface,Canvas);min-width:0;min-height:0;color:var(--text,CanvasText);border-radius:8px;flex-direction:column;grid-template-columns:none;grid-template-areas:none;align-items:stretch;gap:3px;padding:6px;display:flex;position:relative}.note-view .file-row.secure-row{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;padding:3px}.secure-mask{letter-spacing:2px;font-size:17px;display:block}.secure-row:has(>.card-corner-actions)>.secure-mask{padding-inline-end:44px}.secure-mask-button{color:inherit;text-align:start;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;line-height:20px}.secure-label{color:var(--muted,#708078);font-size:11px;display:block}.secure-content{flex-direction:column;gap:5px;min-width:0;display:flex}.secure-row:has(>.card-corner-actions) .secure-content:has(>.secure-attachments:first-child){padding-top:20px}.secure-text-section{min-width:0}.secure-text{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;font-size:12px;line-height:1.45}.secure-row:has(>.card-corner-actions) .secure-text{padding-inline-end:44px}.secure-text-clamped{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.secure-text-toggle{float:inline-end;color:var(--muted);cursor:pointer;background:0 0;border:0;margin:0;padding:0 4px;font-size:12px}.secure-attachments{flex-direction:column;gap:3px;min-width:0;display:flex}.secure-attachment{border:1px solid var(--border,var(--line,#dfe6e1));border-radius:5px;align-items:center;gap:5px;min-width:0;padding:4px 5px;display:flex}.secure-file-detail{flex:1;min-width:0;display:block}.secure-file-detail strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.secure-file-detail small{color:var(--muted,#708078);margin-top:2px;font-size:10px;display:block}.secure-origin{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--muted,#708078);flex:1;font-size:11px;overflow:hidden}.secure-file-detail[role=button]{cursor:pointer}.secure-card-actions,.secure-attachment-actions{flex-shrink:0;grid-area:auto;justify-content:flex-end;align-items:center;gap:1px;display:flex;position:static;inset:auto}.secure-card-actions button,.secure-attachment-actions button{width:22px;height:22px;color:var(--muted,#708078);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:2px;display:inline-flex}.secure-card-actions button:hover,.secure-attachment-actions button:hover{background:#8882}.standard-view .file-row.secure-row.secure-single-file,.note-view .file-row.secure-row.secure-single-file,.file-row.secure-row.secure-single-file{grid-template-columns:minmax(0,1fr);grid-template-areas:"content""actions";gap:3px;display:grid}.secure-single-file>.secure-content{grid-area:content;min-width:0}.secure-single-file>.secure-card-actions{grid-area:actions}.secure-file-source{align-items:center;gap:6px;min-width:0;display:flex}.secure-file-glyph{flex:none;place-items:center;display:grid}.secure-single-file:has(>.card-corner-actions) .secure-file-detail{padding-inline-end:44px}.note-view .file-row.secure-row.secure-single-file{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"content actions";column-gap:3px}.note-view .secure-single-file .secure-file-detail{align-items:baseline;gap:5px;min-width:0;display:flex;overflow:hidden}.note-view .secure-single-file .secure-file-detail strong{flex:1;min-width:0}.note-view .secure-single-file .secure-file-detail small{white-space:nowrap;flex:none;margin:0}.secure-row .copy-text-icon{display:inline-flex;position:relative}.secure-row .copy-text-icon span{inset-inline-end:-2px;background:var(--surface,Canvas);font-size:9px;line-height:10px;position:absolute;bottom:-3px}.secure-unlock-form{gap:4px;margin-top:6px;display:flex}.secure-unlock-form input{border:1px solid var(--border,#aaa);background:var(--surface,Canvas);width:0;min-width:0;color:inherit;border-radius:4px;flex:1;padding:4px;font-size:11px}.secure-unlock-form button{color:inherit;cursor:pointer;background:#8882;border:0;border-radius:4px;padding:4px 6px;font-size:11px}.remark-overlay:has(.encrypt-dialog){z-index:110;background:#0005;place-items:center;padding:8px;display:grid;position:fixed;inset:0}.encrypt-dialog{border:1px solid var(--border,#aaa);background:var(--surface,Canvas);width:min(100%,340px);max-height:95%;color:var(--text,CanvasText);border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex;overflow:auto}.encrypt-dialog label{gap:4px;font-size:12px;display:grid}.encrypt-dialog input{border:1px solid var(--border,#aaa);background:var(--surface,Canvas);width:100%;color:inherit;border-radius:4px;padding:6px}.encrypt-dialog p{overflow-wrap:anywhere;font-size:11px;line-height:1.5}.encrypt-title{justify-content:space-between;align-items:center;font-size:13px;display:flex}.encrypt-title button{color:inherit;cursor:pointer;background:0 0;border:0}.encrypt-dialog .remark-buttons{justify-content:flex-end;gap:6px;display:flex}.encrypt-dialog .remark-buttons button{border:1px solid var(--border,#aaa);color:inherit;cursor:pointer;background:#8882;border-radius:4px;padding:5px 8px}.preview-overlay{z-index:100;background:#0005;place-items:center;padding:8px;display:grid;position:fixed;inset:0}.preview-dialog{border:1px solid var(--border,#aaa);background:var(--surface,Canvas);width:min(100%,880px);height:min(100%,900px);min-height:0;color:var(--text,CanvasText);border-radius:9px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 8px 32px #0003}.preview-dialog header{border-bottom:1px solid var(--border,#aaa);align-items:center;gap:8px;padding:6px 8px;display:flex}.preview-dialog header strong{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:12px;overflow:hidden}.preview-dialog button{min-width:26px;min-height:26px;color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:5px;padding:3px 6px;display:inline-flex}.preview-dialog button:hover{background:#8882}.preview-dialog button:disabled{opacity:.35;cursor:default}.preview-body{scrollbar-gutter:stable;flex:1;justify-content:center;align-items:center;min-height:0;padding:6px;display:flex;overflow:auto}.preview-body>img{object-fit:contain;max-width:100%;max-height:100%;display:block}.preview-body p{overflow-wrap:anywhere;padding:8px;font-size:12px}.preview-dialog footer{border-top:1px solid var(--border,#aaa);height:auto;padding:4px 8px;font-size:11px;position:static}.pdf-preview{align-self:flex-start;width:100%}.pdf-preview nav{background:var(--surface,Canvas);justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex;position:sticky;top:0}.pdf-preview-page{width:calc(100% - 12px);aspect-ratio:var(--pdf-page-aspect,2 / 3);background:#fff;margin:6px auto;position:relative}.pdf-preview-surface{position:absolute;inset:0}.pdf-preview canvas{object-fit:contain;background:#fff;width:100%;max-width:100%;height:100%;margin:0;display:block}.pdf-preview-page .pdf-preview-loading{text-align:center;color:var(--muted);place-items:center;margin:0;padding:8px;font-size:12px;display:grid;position:absolute;inset:0}.office-preview{flex-direction:column;width:100%;min-width:0;height:100%;font-size:12px;display:flex}.office-preview nav{flex:none;justify-content:center;align-items:center;gap:5px;min-height:26px;font-size:11px;display:flex}.office-preview select{border:1px solid var(--border,#aaa);background:var(--surface,Canvas);min-width:0;max-width:60%;color:inherit;font:inherit;border-radius:4px;padding:3px}.office-preview .office-hint{opacity:.65;flex:none;margin:0;padding:3px 0;font-size:10px}.office-content{flex:1;min-height:0;overflow:auto}.office-content p{white-space:pre-wrap;margin:4px 0;padding:3px 0;font-size:12px;line-height:1.55}.office-content .office-heading{font-size:15px;font-weight:600}.office-content img{object-fit:contain;max-width:100%;max-height:600px;margin:6px auto;display:block}.office-table-scroll{max-width:100%;overflow:auto}.office-preview table{border-collapse:collapse;margin:5px 0;font-size:11px}.office-preview td,.office-preview th{border:1px solid var(--border,#aaa);white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top;min-width:50px;max-width:260px;padding:4px 6px}.office-preview th{background:var(--surface-alt,#8881);font-weight:400;position:sticky;left:0}.attachment-previews{flex-direction:column;gap:10px;min-width:0;margin-top:6px;display:flex}.attachment-previews:empty{display:none}.attachment-preview{border-top:1px solid var(--border,#8883);flex:none;min-width:0;padding-top:5px}.attachment-preview-title{text-align:start;width:100%;font:inherit;color:var(--text);overflow-wrap:anywhere;cursor:default;background:0 0;border:0;padding:0 0 4px;font-size:11px;font-weight:500;line-height:1.5;display:block}button.attachment-preview-title{cursor:pointer}button.attachment-preview-title:hover{text-underline-offset:2px;text-decoration:underline}.attachment-preview-content{overscroll-behavior:contain;scrollbar-width:thin;min-width:0;height:max(80px,100cqh - 44px);overflow:auto}.attachment-preview-content>.stack-file-preview{height:100%;margin-top:0}.attachment-preview-content>p{color:var(--muted);font-size:11px}.attachment-preview-content .office-content{max-height:none;overflow:auto}.attachment-preview[data-preview-kind=audio]>.attachment-preview-content{height:54px;overflow:hidden}:root{--page:#fafafa;--surface:#fff;--text:#202020;--muted:#6b6b6b;--line:#e6e6e6;--accent:#292929;--accent-soft:#f3f3f3;--accent-solid:#252525;--on-accent:#fff;--danger:#a14735;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font:15px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}:root[data-theme=dark]{--page:#181818;--surface:#212121;--text:#ededed;--muted:#a6a6a6;--line:#3c3c3c;--accent:#ececec;--accent-soft:#303030;--accent-solid:#ededed;--on-accent:#212121;--danger:#f0a090;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--page);color:var(--text);margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}a{color:var(--accent)}.web-app{max-width:700px;min-height:100dvh;padding:env(safe-area-inset-top) max(12px,env(safe-area-inset-right)) calc(58px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));margin:0 auto}.topbar{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;height:64px;margin:0 -12px;padding:0 18px;display:flex}.brand{align-items:center;gap:10px;display:flex}.brand img{border-radius:8px;width:34px;height:34px}.brand strong{font-size:19px;line-height:1.12;display:block}.brand small{color:var(--muted);font-size:12px;display:block}.top-actions,.card-actions{align-items:center;gap:2px;display:flex}.top-actions button,.card-actions button,.card-actions a,.attachment a,.attachment button,.panel-title button,.pending-file button,.toast button{width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:9px;place-items:center;text-decoration:none;display:inline-grid}.top-actions button:hover,.card-actions button:hover,.card-actions a:hover,.attachment a:hover,.panel-title button:hover{background:var(--accent-soft);color:var(--accent)}main{padding:16px 0 22px}h1,h2,p{margin:0}h1{font-size:18px}h2{font-size:17px}.section-header{justify-content:space-between;align-items:center;gap:12px;margin:0 3px 12px;display:flex}.section-header small{color:var(--muted);font-size:12px}select,input,textarea{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--text);border-radius:9px;padding:7px 10px}.section-header select{min-width:98px}.items{gap:8px;display:grid}.card{background:var(--surface);border:1px solid var(--line);padding:11px var(--card-inset) 8px;border-radius:14px;min-width:0;box-shadow:0 1px 3px #0000000a}.file-line,.attachment{align-items:center;gap:9px;min-width:0;display:flex}.file-glyph{border-radius:9px;flex:none;place-items:center;display:grid}.file-info{flex:1;min-width:0}.file-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;display:block;overflow:hidden}.file-info small,.card-footer small{color:var(--muted);font-size:11px}.attachment{border:1px solid var(--line);border-radius:9px;margin-top:7px;padding:5px 7px}.attachment a,.attachment button{flex:0 0 32px;width:32px;height:32px}.note-content{-webkit-line-clamp:5;line-clamp:5;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-box-orient:vertical;line-height:1.42;display:-webkit-box;overflow:hidden}.note-content.expanded{display:block}.note-content a{text-decoration:underline}.more{color:var(--accent);background:0 0;border:0;padding:2px 0;display:flex}.conflicts{color:var(--danger);margin-top:8px;font-size:12px}.conflicts p{white-space:pre-wrap;border:1px solid var(--line);border-radius:6px;margin-top:5px;padding:7px}.card-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:6px;min-height:35px;margin-top:6px;display:flex}.card-footer small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.card-actions{flex:none}.quick-actions,.editor-buttons,.dialog-actions{flex-wrap:wrap;gap:7px;display:flex}.quick-actions{margin-top:16px}.primary,.secondary{border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:7px 12px;font-weight:600;display:inline-flex}.primary{background:var(--accent);color:var(--surface);border:1px solid var(--accent)}.secondary{background:var(--surface);color:var(--accent);border:1px solid var(--line)}.secondary:hover{background:var(--accent-soft)}.empty{min-height:210px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.empty strong{color:var(--text)}.empty span{max-width:270px;font-size:13px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px}.login{gap:15px;max-width:380px;margin:5vh auto;display:grid}.login label,.settings label,.editor label{gap:5px;font-size:13px;font-weight:600;display:grid}.login button{width:100%}.panel-title{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.panel-title h1{flex:1}.tabs{border-bottom:1px solid var(--line);gap:4px;margin-bottom:14px;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex:1;padding:9px}.tabs button.selected{border-color:var(--accent);color:var(--accent);font-weight:700}.setting-fields{gap:12px;display:grid}.account{overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:8px;display:flex}.account small{color:var(--muted)}.account button{margin-top:15px}.toast{z-index:20;left:50%;bottom:calc(65px + env(safe-area-inset-bottom));border:1px solid var(--line);background:var(--surface);overflow-wrap:anywhere;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;width:min(94vw,650px);padding:9px 10px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 4px 18px #0002}.progress{bottom:calc(47px + env(safe-area-inset-bottom));background:var(--line);height:3px;position:fixed;left:0;right:0}.progress span{background:var(--accent);height:100%;transition:width .1s;display:block}footer{height:calc(46px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);color:var(--muted);place-items:center;font-size:12px;display:grid;position:fixed;bottom:0;left:0;right:0}.dialog-backdrop{z-index:30;background:#0a201875;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0}.editor,.picker{width:min(100%,570px);max-height:calc(100dvh - 24px);overflow:auto}.editor textarea{resize:vertical;width:100%;min-height:110px}.editor-attachments{margin-top:13px}.editor-attachments>strong{margin-bottom:8px;font-size:13px;display:block}.pending-file{border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;margin:5px 0;padding:2px 4px 2px 9px;font-size:13px;display:flex}.pending-file span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-buttons{margin-top:8px}.dialog-actions{justify-content:flex-end;margin-top:16px}.picker-list{gap:3px;max-height:55dvh;margin-bottom:12px;display:grid;overflow:auto}.picker-list button{border:0;border-bottom:1px solid var(--line);color:var(--text);text-align:left;background:0 0;align-items:center;gap:8px;min-height:40px;display:flex}.picker-list button span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.picker-list button small{color:var(--muted)}.drop-overlay{z-index:40;border:2px dashed var(--accent);background:color-mix(in srgb,var(--accent-soft) 90%,transparent);color:var(--accent);pointer-events:none;border-radius:15px;justify-content:center;align-items:center;gap:10px;font-weight:700;display:flex;position:fixed;inset:8px}.compact{max-width:420px}.compact .card{padding:8px var(--card-inset) 5px;border-radius:10px}.compact .note-content{-webkit-line-clamp:2;line-clamp:2}.compact .attachment{margin-top:5px;padding:3px 6px}.compact .card-footer{margin-top:3px}.compact .card-footer small{display:none}@media (width>=700px){.web-app{padding-left:18px;padding-right:18px}.topbar{margin-left:-18px;margin-right:-18px}.items{grid-template-columns:repeat(2,minmax(0,1fr))}.compact .items{grid-template-columns:1fr}}@media (width<=380px){.top-actions button{width:32px}.quick-actions button{flex:1;padding:7px 5px;font-size:12px}.card-actions button,.card-actions a{width:31px}}.note-view .file-row.secure-single-file{min-width:0}[hidden]{display:none!important}.public-intro{color:var(--muted);margin:4px 0 14px;font-size:13px;line-height:1.5}.public-links a{color:var(--accent);text-underline-offset:3px}.web-app.dragging .card-corner-actions{visibility:hidden}body:has(.web-app>.drop-overlay) .icon-tooltip{display:none}.quick-actions{flex-wrap:nowrap;gap:6px;margin-top:8px}.card.note-card .note-content{max-height:127.8px;padding-inline-end:0;display:block;overflow:hidden}.card.note-card .note-content.expanded{max-height:none;overflow:visible}.compact .card.note-card .note-content:not(.expanded){max-height:42.6px}.card.note-card .note-content>.card-corner-actions{float:inline-end;height:21px;margin-inline-start:5px;position:static}.note-toggle-slot{display:contents}.card.note-card .card-footer{flex-wrap:wrap}.card.note-card .card-actions{flex-wrap:wrap;max-width:100%;margin-inline-start:auto}.settings .web-delete-setting{align-items:center;gap:8px;display:flex}.settings .web-delete-setting input{width:16px;height:16px;accent-color:var(--accent);margin:0;padding:0}.panel.settings{border-radius:12px;padding:22px}.settings .panel-title{margin-bottom:20px}.settings .tabs{gap:4px;margin-bottom:20px;padding-bottom:12px}.settings .tabs button{border:0;border-radius:8px;min-height:38px;font-size:14px;font-weight:500}.settings .tabs button.selected{background:var(--accent-soft);color:var(--text);font-weight:500}.settings .setting-fields{gap:18px}.settings label{font-weight:400}.settings .storage-account{border-bottom:1px solid var(--line);margin-bottom:2px;padding-bottom:18px}.quick-actions button{border-radius:6px;flex:1;min-width:0;min-height:32px;padding:5px 7px;font-size:12px}.web-app .items>.card,.web-app .items>.secure-row,.web-app .items>.card-slot>.card,.web-app .items>.card-slot>.secure-row{isolation:isolate;z-index:0;position:relative}.web-app .items>:has(.card-context-menu){z-index:2}.web-app .items>.card-slot>:has(.card-context-menu){z-index:2}.web-app>footer,.web-app>.progress{z-index:10}.viewport-dialog{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));inset:auto}.viewport-dialog .editor,.viewport-dialog .picker{overscroll-behavior:contain;min-height:0;max-height:100%}.viewport-dialog .picker-list{max-height:min(55dvh,260px)}@media (pointer:coarse){input,select,textarea{font-size:16px}.viewport-dialog .editor textarea{resize:none}}.web-app .card-actions{gap:2px}.web-app .card-actions>button,.web-app .card-actions>a,.web-app .card-actions>.card-color-anchor>button{width:var(--card-action-width);height:var(--card-action-height)}.web-app .card.note-card .card-footer:has(>.attachment-strip) .card-actions{gap:2px}.web-app .card-actions .card-color-anchor{flex:none}.pending-card-status{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:11px;line-height:1.4}.web-app{--card-inset:12px;--card-action-width:32px;--card-action-height:32px;--card-attachment-reserve:174px}.web-app.compact{--card-inset:10px}.web-app .card-list .secure-row{padding:11px var(--card-inset) 8px;border-radius:14px}.web-app.compact .items>.secure-row{padding:8px var(--card-inset) 5px;border-radius:10px}.web-app .card-corner-actions{inset-inline-end:var(--card-inset);gap:2px;top:11px}.web-app.compact .card-corner-actions{top:8px}.web-app .card-corner-actions>button,.web-app .secure-card-actions>button,.web-app .secure-card-actions>.card-color-anchor>button{width:var(--card-action-width);height:var(--card-action-height)}.web-app .card.note-card .note-content>.card-corner-actions,.web-app .secure-note .secure-text>.card-corner-actions{height:var(--card-action-height)}.web-app .secure-card-actions{gap:2px}.web-app .secure-card-footer{min-height:35px;margin-top:6px}:is(.web-app .card:has(>.card-corner-actions) .file-line,.web-app .secure-single-file:has(>.card-corner-actions) .secure-file-detail){padding-inline-end:calc(2 * var(--card-action-width) + 2px)}.web-app .secure-row:has(>.card-corner-actions)>.secure-mask{padding-inline-end:calc(2 * var(--card-action-width) + 2px)}.pending-card>small{overflow-wrap:anywhere;font-size:11px;display:block}.web-app .card.note-card .card-footer>.attachment-strip{max-width:calc(100% - var(--card-attachment-reserve))}@media (width<=380px){.web-app{--card-action-width:28px;--card-attachment-reserve:154px}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.web-app .section-header{justify-content:flex-end;margin-bottom:8px}.web-app .section-header select{min-height:32px;padding:4px 8px}.web-app.compact .account-brand.compact small{display:block}.web-app .account-brand small:empty{display:none}.web-app{--safe-top:env(safe-area-inset-top);--safe-bottom:env(safe-area-inset-bottom);padding-top:0}.web-app>.topbar{z-index:12;height:calc(64px + var(--safe-top));padding-top:var(--safe-top);background:var(--surface);flex-shrink:0;position:sticky;top:0}.web-app>footer{width:min(100%,700px);left:50%;right:auto;transform:translate(-50%)}:is(html:has(.web-app.stacked-view),body:has(.web-app.stacked-view)){overscroll-behavior:none;height:100%;overflow:hidden}body:has(.web-app.stacked-view){width:100%;position:fixed;inset:0}.web-app.stacked-view{height:100dvh;min-height:0;padding-bottom:var(--safe-bottom);flex-direction:column;display:flex;overflow:hidden}.stacked-view>main{flex-direction:column;flex:1;min-height:0;padding:8px 0 4px;display:flex;overflow:hidden}.stacked-view .shelf-content{flex-direction:column;flex:1;min-height:0;display:flex}.stacked-view .section-header{flex-shrink:0}.stacked-view .card-deck{flex-direction:column;flex:1;min-height:0;display:flex}.stacked-view .deck-stage{flex:1;height:auto;min-height:0}.stacked-view .deck-navigation{flex-shrink:0;gap:10px;margin-top:4px}.stacked-view .deck-navigation button{height:26px}.stacked-view .quick-actions{flex-shrink:0;margin-top:6px}.stacked-view .pending-items{overscroll-behavior:contain;flex-shrink:0;max-height:110px;margin-bottom:4px;overflow:auto}.stacked-view .empty{flex:1;min-height:0}.web-app.stacked-view>footer.shelf-status-footer{background:0 0;border:0;flex:0 0 24px;align-self:center;width:auto;max-width:100%;height:24px;padding:0 6px;position:static;left:auto;right:auto;transform:none}.web-app.stacked-view>footer .footer-device{max-width:38vw}.stacked-view .attachment,.stacked-view .card-footer,.stacked-view .secure-card-footer{flex-shrink:0}.web-app{--status-height:46px;--creation-height:49px;padding-bottom:calc(var(--status-height) + var(--creation-height) + 12px + var(--safe-bottom))}.web-app .quick-actions{z-index:11;left:50%;bottom:calc(var(--status-height) + var(--safe-bottom));width:min(100%,700px);height:var(--creation-height);padding:8px max(var(--creation-inset,12px),env(safe-area-inset-right)) 8px max(var(--creation-inset,12px),env(safe-area-inset-left));border-top:1px solid var(--line);background:var(--surface);align-items:center;margin:0;position:fixed;transform:translate(-50%)}.web-app>.toast{bottom:calc(var(--status-height) + var(--creation-height) + 12px + var(--safe-bottom))}.web-app.stacked-view{--status-height:24px;padding-bottom:calc(var(--status-height) + var(--creation-height) + var(--safe-bottom))}.web-app.stacked-view>footer.shelf-status-footer{width:min(100%,700px);height:calc(var(--status-height) + var(--safe-bottom));padding:0 6px var(--safe-bottom);background:var(--surface);border-top:1px solid var(--line);position:fixed;bottom:0;left:50%;right:auto;transform:translate(-50%)}@media (width>=700px){.web-app{--creation-inset:18px}}.app-shell{--file-icon-track:26px;--file-icon-size:20px;--card-action-width:25px;--card-action-height:25px;--card-corner-size:25px;--card-corner-reserve:50px}.app-shell.note-view{--card-action-width:18px;--card-action-height:22px}.web-app{--file-icon-track:32px;--file-icon-size:20px}@media (pointer:coarse){.app-shell,.web-app{--file-icon-track:34px}}.text-note-row .note-text{max-height:none;font-size:13px;line-height:1.5;overflow:visible}.standard-view .text-note-row .note-text-shell.clamped{max-height:117px;overflow:hidden}.standard-view .text-note-row .note-text-shell.expanded{max-height:none;overflow:visible}.standard-view .text-note-row .note-source,.note-view .text-note-row .note-source{padding-inline-end:0;display:block}.text-note-row .note-text-shell>.card-corner-actions{float:inline-end;height:19px;margin-inline-start:5px;position:static}.text-note-row .note-text-shell>.card-corner-actions>button{width:19px;height:19px}.text-note-row .note-text-shell{min-height:19px;display:flow-root}.text-note-row .entry-actions>.note-expand{width:auto;min-width:19px;padding:0 2px;font-size:10px}.standard-view .text-note-row>.file-secondary{flex-wrap:nowrap;align-items:baseline;gap:6px;display:flex}.text-note-row>.file-secondary .file-status{white-space:nowrap;flex:none}.text-note-row>.file-secondary .source-device{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.text-note-row .attachment-row{box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-areas:"source actions";align-items:center;gap:4px;padding:3px 0}.text-note-row .attachment-row.single-attachment{display:block}.text-note-row .attachments{border-top:1px solid var(--card-tint-border,var(--border));gap:2px;padding-top:4px}.text-note-row .attachment-row .file-glyph{border-radius:0}.text-note-row .attachment-row .file-detail{flex-direction:row;align-items:baseline;gap:5px;min-width:0;display:flex;overflow:hidden}.text-note-row .attachment-row .file-detail strong{white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;flex:1;min-width:0;font-size:11px;font-weight:500;line-height:17px;display:block}.text-note-row .attachment-row .file-meta{flex-wrap:nowrap;flex:none;margin:0;font-size:10px}.text-note-row .attachment-row .file-meta time{display:none}.text-note-row .combined-entry-actions{flex-wrap:wrap;justify-content:flex-end;justify-self:stretch;gap:1px;width:100%}.text-note-row .combined-entry-actions .attachment-actions{flex:none;gap:1px}.text-note-row .combined-entry-actions button{width:19px;height:21px}.note-view .text-note-row .combined-entry-actions button{width:17px;height:20px}.note-view .text-note-row .combined-entry-actions>.note-expand{min-width:17px}.note-view .text-note-row .combined-entry-actions,.note-view .text-note-row .combined-entry-actions .attachment-actions{gap:0}.note-view .text-note-row .note-text{font-size:12px;line-height:16px}.secure-note .secure-text{padding-inline-end:0;font-size:13px;line-height:1.5}.secure-note .secure-text-clamped{max-height:117px;display:block}.secure-note .secure-text>.card-corner-actions{float:inline-end;height:19px;margin-inline-start:5px;position:static}.secure-note .secure-text>.card-corner-actions>button{width:19px;height:19px}.secure-note .secure-attachment{border:0;border-radius:0;padding:3px 0}.secure-note .secure-attachments{border-top:1px solid var(--card-tint-border,var(--border,var(--line)));padding-top:4px}.secure-note .secure-file-detail strong{flex:1;min-width:0;font-size:11px;font-weight:500}.secure-note .secure-file-detail{align-items:baseline;gap:5px;display:flex}.secure-note .secure-file-detail small{white-space:nowrap;flex:none;margin:0}.note-view .secure-note .secure-text{font-size:12px;line-height:16px}.note-view .secure-note .secure-text-clamped{max-height:32px}.card.note-card .attachment{border:0;border-radius:0;margin-top:4px;padding:3px 0}.card.note-card .attachment .file-glyph{border-radius:0}.card.note-card .attachment .file-info{align-items:baseline;gap:5px;display:flex}.card.note-card .attachment .file-info strong{flex:1;min-width:0;font-size:12px;font-weight:500}.card.note-card .attachment .file-info small{white-space:nowrap;flex:none}.file-glyph,.secure-file-glyph{color:var(--card-glyph,var(--muted));background:0 0}.standard-view .text-note-row,.note-view .text-note-row{grid-template-areas:"source source""attachments attachments""actions actions""sync sync""conflicts conflicts"}.standard-view .text-note-row:not(:has(>.attachments)){grid-template-areas:"source source""actions actions""sync sync""conflicts conflicts"}.note-card-footer{grid-area:actions;align-items:center;gap:4px;min-width:0;max-width:100%;margin-top:3px;display:flex}.note-card-footer .entry-actions{flex:none;justify-self:auto;gap:1px;margin-inline-start:auto;position:static}.note-card-status{min-width:0;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:10px;overflow:hidden}.note-card-footer:has(.attachment-strip) .note-card-status{display:none}.text-note-row .attachments{margin-top:3px}.text-note-row .attachment-row .file-source{min-width:0}.secure-card-footer{align-items:center;gap:4px;min-width:0;display:flex}.secure-card-footer>.secure-card-actions{flex:none;margin-inline-start:auto}.secure-single-file>.secure-card-footer{grid-area:actions}.card.note-card .card-footer:has(>.attachment-strip)>small{display:none}.card.note-card .card-footer:has(>.attachment-strip){flex-wrap:nowrap}.card.note-card .card-footer:has(>.attachment-strip) .card-actions{flex-wrap:nowrap}.app-shell.standard-view .file-row{row-gap:4px;min-height:0;padding:8px}.app-shell.standard-view .file-row.secure-row{border-radius:9px;gap:4px}.app-shell.standard-view .file-row.secure-single-file{grid-template-areas:"content""actions"}.app-shell.standard-view .file-source,.app-shell.standard-view .secure-file-source{align-items:flex-start;gap:7px}.app-shell.standard-view .secure-file-glyph{margin-top:1px}.app-shell.standard-view .secure-single-file .secure-file-detail{flex-direction:column;gap:2px;display:flex}.app-shell.standard-view .secure-single-file .secure-file-detail strong{font-size:13px;font-weight:700;line-height:17px}.secure-file-meta{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;margin-top:2px;font-size:11px;display:flex}.secure-file-meta time{font-variant-numeric:tabular-nums}.app-shell.standard-view .file-secondary,.secure-storage{flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:1px;min-width:0;display:flex}.app-shell .secure-storage .source-device{max-width:100%}.app-shell .note-card-footer,.app-shell .secure-card-footer{align-items:center;gap:4px;margin-top:0}.app-shell.standard-view .file-actions,.app-shell.standard-view .secure-card-actions{align-self:center;gap:0}.app-shell.standard-view .file-row .card-corner-actions{top:8px;height:var(--card-corner-size);gap:0;inset-inline-end:8px}.app-shell.standard-view .file-row .card-corner-actions>button{width:var(--card-corner-size);height:var(--card-corner-size)}.app-shell.standard-view .note-text-shell>.card-corner-actions,.app-shell.standard-view .secure-text>.card-corner-actions{float:inline-end;margin-inline-start:5px;position:static}.app-shell.standard-view .secure-single-file:has(>.card-corner-actions) .secure-file-detail{padding-inline-end:var(--card-corner-reserve)}.app-shell.standard-view .file-row:has(>.card-corner-actions)>.file-source{padding-inline-end:var(--card-corner-reserve)}.app-shell .secure-card-actions button svg{width:15px;height:15px}.app-shell.note-view .file-row,.app-shell.note-view .file-row.secure-row{gap:0 3px;min-height:0;padding:2px 3px}.app-shell.note-view .file-actions,.app-shell.note-view .secure-card-actions{align-self:center;gap:0}.app-shell:is(.standard-view,.note-view) .file-actions button,.app-shell:is(.standard-view,.note-view) .secure-card-actions button,.app-shell:is(.standard-view,.note-view) .card-action-slot{width:var(--card-action-width);height:var(--card-action-height);flex:none}.app-shell.note-view .secure-file-source{gap:5px}.app-shell.note-view .secure-file-meta{flex:none;margin:0;font-size:10px;line-height:12px}:is(.app-shell.note-view .text-note-row:not(:has(.attachment-strip)):not(:has(>.attachments)),.app-shell.note-view .secure-note:not(:has(.attachment-strip))){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"source actions""sync sync""conflicts conflicts";gap:0 3px;display:grid}.app-shell.note-view .secure-note:not(:has(.attachment-strip))>.secure-content{grid-area:source}.app-shell.note-view .secure-note:not(:has(.attachment-strip))>.secure-card-footer{grid-area:actions}.app-shell.note-view .text-note-row:not(:has(.attachment-strip)) .note-text-shell{min-height:0}.app-shell.note-view .note-card-footer{margin:0}.app-shell.note-view .secure-single-file .secure-file-detail strong{font-weight:600;line-height:16px}.app-shell .note-card-status{min-width:0}.app-shell.standard-view .text-note-row{row-gap:0}.app-shell.standard-view .text-note-row>.note-source,.app-shell.standard-view .text-note-row>.attachments{margin-bottom:4px}.app-shell.note-view .secure-locked{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"mask actions""form form";gap:0 3px;display:grid}.app-shell.note-view .secure-locked .secure-mask{grid-area:mask}.app-shell.note-view .secure-locked .secure-label{display:none}.app-shell.note-view .secure-locked .secure-card-footer{grid-area:actions}.app-shell.note-view .secure-locked .secure-unlock-form{grid-area:form}:is(.app-shell,.web-app) .file-row :is(.file-glyph,.secure-file-glyph),.web-app .card .file-glyph{width:var(--file-icon-track);height:var(--file-icon-track);flex:none;place-items:center;display:grid}:is(.app-shell,.web-app) .file-row :is(.file-glyph,.secure-file-glyph)>svg,.web-app .card .file-glyph>svg,:is(.app-shell,.web-app) .attachment-token>svg{width:var(--file-icon-size);height:var(--file-icon-size)}.secure-card-footer:has(>.attachment-strip)>:is(.secure-storage,.secure-origin){display:none}
