.attachment-strip{min-width:0;max-width:100%;color:var(--muted);flex:0 auto;align-items:center;gap:2px;display:flex}.attachment-icons{overscroll-behavior-x:contain;scrollbar-width:none;align-items:center;gap:3px;min-width:26px;display:flex;overflow-x:auto}.attachment-icons::-webkit-scrollbar{display:none}.attachment-strip .attachment-token{width:26px;height:26px;color:var(--card-glyph,var(--muted));touch-action:pan-x pan-y;cursor:grab;background:0 0;border:0;border-radius:5px;flex:0 0 26px;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:34px;width:34px;height: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-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}}.storage-account{--storage-line:var(--border,var(--line,#89978e40));--storage-soft:var(--accent-bg,var(--accent-soft,#89978e15));text-align:start;min-width:0;color:var(--text);gap:12px;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-current-copy strong{font-size:13px;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:32px;font:inherit;color:inherit;background:var(--surface);border:1px solid var(--storage-line);cursor:pointer;border-radius:7px;margin:0;padding:6px 8px;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(--accent);background:var(--storage-soft);color:var(--accent)}.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}}.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}.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}.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]: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(--accent,#246e59);background:var(--accent-bg,var(--accent-soft,#44886618))}.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-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{width:24px;height:26px;color:var(--accent);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-glyph{width:20px;height:22px}.note-view .secure-single-file .secure-file-glyph svg{width:18px;height:18px}.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{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 canvas{background:#fff;max-width:100%;margin:6px auto;display:block}.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}:root{--page:#f6f7f5;--surface:#fff;--text:#182221;--muted:#64736a;--line:#dfe6e1;--accent:#2e6858;--accent-soft:#eaf3ed;--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:#151b18;--surface:#252e29;--text:#e7eee9;--muted:#b1beb5;--line:#3b4840;--accent:#9bd5b7;--accent-soft:#293f33;--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);border-radius:14px;min-width:0;padding:11px 12px 8px;box-shadow:0 1px 3px #0000000a}.file-line,.attachment{align-items:center;gap:9px;min-width:0;display:flex}.file-glyph{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);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{border-radius:10px;padding:8px 10px 5px}.compact .note-content{-webkit-line-clamp:2;line-clamp:2}.compact .file-glyph{width:27px;height:27px}.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}.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}.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{isolation:isolate;z-index:0;position:relative}.web-app .items>: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}}.card.note-card .card-footer:has(>.attachment-strip) .card-actions{gap:1px}@media (width<=380px){.card.note-card .card-footer:has(>.attachment-strip) .card-actions>button{width:28px}}.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{grid-template-areas:"source source""attachments attachments""status status""actions actions""sync sync""conflicts conflicts"}.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{background:0 0;border-radius:0;width:18px;height:20px}.text-note-row .attachment-row .file-glyph svg{width:17px;height:17px}.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{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{flex-wrap:wrap}.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{font-size:11px;font-weight:500}.secure-note .secure-file-detail{align-items:baseline;gap:5px;display:flex}.secure-note .secure-file-detail strong{flex:1;min-width:0}.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;width:20px;height:20px}.card.note-card .attachment .file-glyph svg{width:17px;height:17px}.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-footer .entry-actions button{width:21px;height:24px}.note-view .note-card-footer .entry-actions button{width:18px;height:22px}.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,.text-note-row .attachment-row .file-detail{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>.attachment-strip{max-width:calc(100% - 150px)}.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}@media (pointer:coarse){.card.note-card .card-footer>.attachment-strip{max-width:calc(100% - 156px)}}
