.attachment>.resource-link:first-child{display:block;width:100%;height:100%;padding:0}.media-upload-dialog{width:min(580px,calc(100vw - 24px))}.media-upload-selection{list-style:none;padding:0;margin:20px 0;max-height:35dvh;overflow-y:auto}.media-upload-selection li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--border)}.media-upload-selection li>span{min-width:0}.media-upload-selection strong{display:block;overflow-wrap:anywhere;font-size:14px}.media-upload-selection small{display:block;color:var(--muted);margin-top:3px}.media-upload-dialog .photo-upload-option{margin-block:20px}.offline-browser{margin:28px 0 18px}.offline-browser .search-input{width:100%;max-width:740px;margin-bottom:14px}.offline-kind-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.offline-kind-filters>button{border:1px solid var(--border);color:var(--muted);background:var(--surface);padding:8px 13px;font-size:13px;border-radius:7px;min-height:36px}.offline-kind-filters>button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.offline-kind-filters .custom-select{width:160px;margin-left:auto}.offline-kind-filters .select-trigger{font-size:13px;min-height:36px;padding:8px 10px}.offline-result-count{color:var(--muted);font-size:12px;margin:14px 0 0}.offline-pending-list{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:18px;margin-bottom:24px}.offline-pending-list h2{font-size:18px;margin-bottom:14px}.offline-pending-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--border)}.offline-pending-row>svg{color:var(--muted)}.offline-pending-row>div{flex:1;min-width:0}.offline-pending-row strong{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}.offline-pending-row small{color:var(--muted);display:block;margin-top:4px;font-size:12px;overflow-wrap:anywhere}@media(max-width:560px){.offline-kind-filters{gap:6px}.offline-kind-filters>button{padding:8px 10px;font-size:12px}.offline-kind-filters .custom-select{width:100%;margin-top:6px}.offline-pending-list{padding:14px}}.modal.note-modal{--note-paper: var(--surface-raised);--note-toolbar: color-mix(in srgb, var(--text) 3%, var(--note-paper));width:1100px;padding:22px 32px;background:var(--surface)}.modal.note-modal>.modal-header{max-width:920px;margin:0 auto 14px}.modal.note-modal>.modal-header h2{font-size:18px;font-weight:650}.modal.note-modal>form{max-width:920px;margin:0 auto}.modal.note-modal .note-file-actions{position:relative;z-index:30;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 12px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--border)}.modal.note-modal .note-file-actions .toolbar-actions,.modal.note-modal .note-utility-actions{display:flex;align-items:center;gap:8px}.modal.note-modal .note-utility-actions{margin-left:auto}.modal.note-modal .note-utility-actions:empty{display:none}.modal.note-modal .note-file-actions .button,.modal.note-modal .note-file-actions .text-button,.modal.note-modal .note-file-actions .select-trigger{min-height:34px;padding:7px 9px;margin:0;font-size:12px;border-radius:6px}.modal.note-modal .note-file-actions .custom-select{width:125px;min-width:0}.modal.note-modal .note-export-actions{padding-left:12px;border-left:1px solid var(--border)}.modal.note-modal .note-access-status{font-size:12px;color:var(--muted)}.modal.note-modal .note-writing-document{border:1px solid var(--border);border-radius:7px;background:var(--note-paper);transition:border-color .12s}.modal.note-modal .note-writing-document:focus-within{border-color:color-mix(in srgb,var(--text) 42%,var(--border))}.modal.note-modal .title-label{display:block;margin:0;padding:22px 28px 12px;color:var(--muted);font-size:11px;letter-spacing:.03em}.modal.note-modal .title-input{padding:5px 0;margin:0;border:0;border-radius:0;background:transparent;color:var(--text);font-size:clamp(25px,3vw,34px);line-height:1.35;letter-spacing:-.035em}.modal.note-modal .title-input:focus,.modal.note-modal .title-input:focus-visible,.modal.note-modal .note-rich-editor:focus,.modal.note-modal .note-rich-editor:focus-visible{outline:none;box-shadow:none;border-color:transparent}.modal.note-modal .note-editor-surface{margin:0}.modal.note-modal .note-format-toolbar{position:relative;display:flex;align-items:center;gap:3px;margin:0;padding:8px 20px;border:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);border-radius:0;background:var(--note-toolbar)}.modal.note-modal .note-format-toolbar .custom-select{min-width:0;width:124px}.modal.note-modal .note-format-toolbar .custom-select:nth-child(2){width:112px;margin-right:5px}.modal.note-modal .note-format-toolbar .select-trigger{border:1px solid transparent;background:transparent;padding:6px 8px;gap:5px}.modal.note-modal .note-format-toolbar .icon-button{min-width:31px;width:31px;min-height:31px;height:31px;padding:6px;border-radius:4px}.modal.note-modal .note-format-toolbar button:hover{background:color-mix(in srgb,var(--text) 7%,var(--note-paper))}.modal.note-modal .note-format-toolbar [aria-pressed=true]{background:color-mix(in srgb,var(--accent) 12%,var(--note-paper));color:var(--accent)}.modal.note-modal .note-rich-editor{width:100%;max-width:none;min-height:360px;margin:0;padding:24px 28px 36px;border:0;border-radius:0;background:transparent;font-size:18px;line-height:1.8}.modal.note-modal .note-metadata{margin:14px 0 0;padding:16px;gap:16px 20px;background:var(--note-toolbar);border:1px solid var(--border);border-radius:6px}.modal.note-modal .note-metadata label{margin:0;font-size:12px}.modal.note-modal .attachment-area{margin:14px 0 0;padding:14px 0 0;background:transparent;border-top:1px solid var(--border);border-radius:0}.modal.note-modal .attachment-area .section-row{margin-bottom:10px}.modal.note-modal .attachment-area strong{font-size:13px;font-weight:550;color:var(--muted)}.modal.note-modal .note-reading-surface{max-width:100%;padding:14px 28px 32px;margin:0;background:var(--note-paper);border:1px solid var(--border);border-radius:7px}.modal.note-modal .note-reading-title,.modal.note-modal .note-reading-meta,.modal.note-modal .note-reader{max-width:none}.modal.note-modal .note-reading-title{margin:12px 0 14px}.modal.note-modal .note-reading-meta{margin:0 0 28px}.modal.note-modal .note-link-editor{background:var(--note-toolbar);border:1px solid var(--border);border-radius:5px}.modal.note-modal .note-link-editor{margin:12px 20px 0;padding:12px}.modal.note-modal .modal-footer{margin-top:18px;padding-top:16px}.modal.note-modal button:focus-visible,.modal.note-modal summary:focus-visible,.modal.note-modal a:focus-visible,.modal.note-modal .file-button:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}.modal.note-modal input:not(.title-input):focus{box-shadow:none}.modal.note-modal input:not(.title-input):focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:680px){.modal.note-modal{padding:16px}.modal.note-modal .note-file-actions{gap:8px}.modal.note-modal .note-utility-actions{margin-left:0}.modal.note-modal .note-file-actions .toolbar-actions{gap:4px}.modal.note-modal .note-export-actions{padding-left:6px}.modal.note-modal .note-file-actions .custom-select{width:110px}.modal.note-modal .title-label{padding:18px 18px 12px}.modal.note-modal .note-format-toolbar{padding:7px 10px}.modal.note-modal .note-rich-editor{padding:20px 18px 28px;min-height:310px;font-size:17px}.modal.note-modal .note-reading-surface{padding:12px 18px 24px}.modal.note-modal .note-metadata{grid-template-columns:1fr}}.modal.note-modal .file-button{flex-direction:row}.modal.note-modal .note-document li>p{margin:0 0 .35em}.modal.note-modal .note-visible-reading-controls{display:flex;align-items:center;gap:12px}.modal.note-modal .note-visible-reading-controls label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;color:var(--muted);font-size:12px}.modal.note-modal .note-visible-reading-controls .custom-select{width:132px}.modal.note-modal .note-visible-reading-controls label:last-child .custom-select{width:88px}.modal.note-modal .note-document-actions{position:relative}.modal.note-modal :is(.note-reading-options,.note-document-actions)>summary{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 10px;list-style:none;border:1px solid var(--border);border-radius:6px;background:var(--surface-raised);color:var(--text);font-size:12px;font-weight:500;cursor:pointer}.modal.note-modal :is(.note-reading-options,.note-document-actions)>summary::-webkit-details-marker{display:none}.note-menu-chevron{color:var(--muted)}.modal.note-modal :is(.note-reading-options,.note-document-actions)[open]>summary{border-color:var(--accent);background:var(--accent-soft)}.modal.note-modal :is(.note-reading-options,.note-document-actions)[open] .note-menu-chevron{transform:rotate(180deg)}.note-copy-error{flex-basis:100%;font-size:12px}.modal.note-modal .note-attachments>summary{width:fit-content;cursor:pointer;color:var(--muted);font-size:12px;padding:8px 0}.modal.note-modal .note-document-action-options{position:absolute;top:calc(100% + 6px);right:0;z-index:20;display:flex;flex-direction:column;align-items:stretch;gap:12px;width:245px;padding:14px;background:var(--surface-raised);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow)}.modal.note-modal .note-document-action-options .note-export-actions{border:0;border-top:1px solid var(--border);padding:12px 0 0}.modal.note-modal.note-reading-mode .note-file-actions{margin-bottom:12px}.modal.note-modal.note-reading-mode .note-reading-surface{max-width:min(100%,72ch);margin:0 auto;padding:8px 0 24px;border:0;border-radius:0;background:transparent}.modal.note-modal.note-reading-mode .note-reading-title{margin:0 0 10px;font-size:clamp(28px,3vw,38px)}.modal.note-modal.note-reading-mode .note-reading-meta{margin:0 0 20px;font-family:Golos Text Variable,sans-serif;font-size:12px}.modal.note-modal.note-reading-mode .note-reader{line-height:1.7}.modal.note-modal.note-reading-mode .note-attachments{margin-top:4px;border-top:1px solid var(--border)}.modal.note-modal.note-reading-mode .note-attachments .attachment-area{margin:0;padding:8px 0 12px;border:0}.modal.note-modal .note-document-actions>summary:focus-visible,.modal.note-modal .note-attachments>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:680px){.modal.note-modal .note-visible-reading-controls{order:3;flex-basis:100%;gap:16px}.modal.note-modal .note-document-actions{margin-left:auto}.modal.note-modal .note-document-action-options{right:0}.modal.note-modal.note-reading-mode .note-utility-actions{margin-left:0}}.modal.note-modal.note-reading-mode .note-reader h1{font-size:1.7em}.modal.note-modal.note-reading-mode .note-reader h2{font-size:1.4em}.modal.note-modal.note-reading-mode .note-reader h3{font-size:1.2em}.modal.note-modal.note-page{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;width:100%!important;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;overflow:auto;box-shadow:none;--note-page-top-padding: 24px;padding:var(--note-page-top-padding) 24px 0}.modal.note-modal.note-page>.modal-header,.modal.note-modal.note-page>form{width:100%;max-width:1040px;margin-inline:auto}.modal.note-modal.note-page.note-reading-mode .note-reading-surface,.modal.note-modal.note-page .note-reader{max-width:none;margin-inline:0}.modal.note-modal .note-sync-status{margin:-4px 0 12px;font-size:12px;color:var(--muted)}.modal.note-modal .note-connection-placeholder{display:flex;align-items:center;justify-content:center;gap:10px;min-height:360px;color:var(--muted)}.modal.note-modal .note-document-action-options>.danger{justify-content:flex-start;border-top:1px solid var(--border);border-radius:0;padding:10px 0 0}.modal.note-modal .note-format-buttons{display:contents}.modal.note-modal .note-menu-utilities{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid var(--border);padding-top:10px}@media(max-width:680px),(max-width:1000px)and (max-height:500px){.modal.note-modal.note-editing-mode{position:fixed;top:0;right:0;bottom:0;left:0;width:100%!important;max-width:none;height:100dvh;max-height:100dvh;margin:0;--note-page-top-padding: 8px;padding:var(--note-page-top-padding) 12px 0;scroll-padding-block-end:76px;border:0;border-radius:0}.modal.note-modal.note-editing-mode>.modal-header{min-height:32px;margin-bottom:6px}.modal.note-modal.note-editing-mode>.modal-header h2{font-size:16px}.modal.note-modal.note-editing-mode>form{display:flex;flex-direction:column;min-height:calc(100dvh - 46px)}.modal.note-modal.note-editing-mode .note-file-actions{flex-wrap:wrap;justify-content:space-between;gap:8px;margin:0 0 8px;padding:0 0 7px}.modal.note-modal.note-editing-mode .note-file-actions .button{min-height:36px;padding:6px 9px}.modal.note-modal.note-editing-mode .note-document-actions{margin-left:auto}.modal.note-modal.note-editing-mode .note-access-status{display:none}.modal.note-modal.note-editing-mode .note-sync-status{margin:0 0 8px;font-size:11px}.modal.note-modal.note-editing-mode .note-writing-document{display:flex;flex:1;flex-direction:column;min-height:0;border-radius:5px}.modal.note-modal.note-editing-mode .title-label{padding:10px 14px 8px;font-size:0}.modal.note-modal.note-editing-mode .title-input{padding:2px 0;font-size:23px;line-height:1.3}.modal.note-modal.note-editing-mode .note-editor-surface{display:flex;flex:1;flex-direction:column;min-width:0}.modal.note-modal.note-editing-mode .note-format-toolbar{flex-wrap:nowrap;gap:3px;padding:4px 6px}.modal.note-modal.note-editing-mode .note-format-toolbar .custom-select{flex:0 0 106px;width:106px}.modal.note-modal.note-editing-mode .note-format-toolbar .custom-select:nth-child(2){flex-basis:98px;width:98px;margin-right:0}.modal.note-modal.note-editing-mode .note-format-toolbar .select-trigger{min-height:38px;padding:5px 6px;font-size:12px}.modal.note-modal.note-editing-mode .note-format-buttons{display:flex;flex:1;min-width:0;gap:2px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;touch-action:pan-x}.modal.note-modal.note-editing-mode .note-format-buttons .icon-button{flex:0 0 38px;width:38px;height:38px;min-height:38px}.modal.note-modal.note-editing-mode .note-editor-content{display:flex;flex:1}.modal.note-modal.note-editing-mode .note-rich-editor{flex:1;min-height:140px;padding:14px;font-size:17px;line-height:1.65}.modal.note-modal.note-editing-mode .note-connection-placeholder{min-height:140px}.modal.note-modal.note-editing-mode .note-attachments>summary{min-height:32px;padding:7px 0;font-size:12px;color:var(--muted);cursor:pointer}.modal.note-modal.note-editing-mode .note-attachments{margin:0}.modal.note-modal.note-editing-mode .note-attachments .attachment-area{margin:0 0 8px;padding:8px 0}.modal.note-modal.note-editing-mode .modal-footer{position:sticky;bottom:0;z-index:10;flex:0 0 auto;justify-content:flex-end;margin:6px -12px 0;padding:8px 12px max(8px,env(safe-area-inset-bottom));background:var(--surface)}.modal.note-modal.note-editing-mode .modal-footer .footer-right{width:100%;justify-content:flex-end;gap:8px}.modal.note-modal.note-editing-mode .modal-footer .button{flex:1;min-height:40px;padding:8px 14px;font-size:13px}}.modal.note-modal .note-tools{position:sticky;top:calc(-1 * var(--note-page-top-padding, 24px));z-index:20;margin:0 0 20px;background:var(--surface);border-bottom:1px solid var(--border)}.note-tools-row,.note-tools-options{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px}.note-tools-row{padding:max(6px,env(safe-area-inset-top)) 0 6px}.note-tools-options{margin-left:auto;order:1}.note-reading-mode .note-tools-options{margin-left:0}.note-tools .text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:max(6px,env(safe-area-inset-top)) 0 6px;font-size:12px}.note-tools .text-button[aria-expanded=true]{color:var(--text)}.note-tools .note-capture{display:contents}.note-tools .note-capture-toolbar{gap:16px}.note-tools .note-capture-hint{display:none}.note-tools .note-capture-status,.note-tools .note-capture-files,.note-tools .note-capture-offline,.note-tools .note-capture>.error,.note-tools .notice{flex-basis:100%;order:2;margin:4px 0}.note-tools .note-capture-files{max-height:112px;overflow-y:auto}.note-tool-panel{position:absolute;top:100%;left:0;right:0;max-height:min(420px,50dvh);overflow-y:auto;overscroll-behavior:contain;padding:20px;background:var(--surface-raised);border:1px solid var(--border);border-radius:0 0 8px 8px;box-shadow:var(--shadow)}.note-task-tools-panel{left:auto;width:min(100%,480px)}.note-tool-panel[hidden]{display:none}.note-tool-panel>h3{margin:0 0 16px;font-size:15px}.modal.note-modal .note-tool-panel .note-metadata{margin:0;max-width:none}.note-tool-panel .ai-panel{margin:0;padding:0;border:0;border-radius:0}@media(max-width:680px){.note-tools-row{gap:0}.note-tools .note-capture-toolbar,.note-tools-options{flex:1 1 100%;justify-content:flex-start;gap:20px}.note-tools .text-button{min-height:44px}.note-tool-panel{padding:14px}}.note-capture{margin:0 0 1rem;padding:1rem 0;border-top:1px solid var(--border)}.note-capture-toolbar,.note-capture-status{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.note-capture>p{margin:.5rem 0 0}.note-capture-status{margin-top:.75rem}.note-recording-stop{min-height:2.5rem;padding:.6rem 1rem}.note-recording-stop svg{flex:none}.note-capture-status [role=status]{font-variant-numeric:tabular-nums}.note-capture-files{list-style:none;padding:0;margin:.75rem 0 0;display:grid;gap:.5rem}.note-capture-files li{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.6rem;border:1px solid var(--border);border-radius:.65rem}.note-capture-files li>span{overflow-wrap:anywhere;flex:1 1 12rem;min-width:0}@media(max-width:680px){.note-capture-toolbar{gap:.25rem}.note-capture-toolbar .text-button{padding:.5rem}}.note-tasks{width:100%;margin:0;color:var(--text);font-family:var(--font-ui, inherit)}.note-tasks-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 0 12px;font-weight:650}.note-tasks-heading>h3,.push-settings-heading,.notification-heading,.notification-toolbar,.note-task-actions{display:flex;align-items:center;gap:10px}.note-tasks-heading small{color:var(--muted);font-weight:400}.note-tasks-body{padding-bottom:18px}.note-task-list,.notification-list{list-style:none;padding:0;margin:16px 0}.note-task,.notification{padding:16px;margin:10px 0;border:1px solid var(--border);border-radius:14px;background:var(--surface-raised)}.note-task-heading{display:flex;align-items:flex-start;gap:12px}.note-task-heading>div{min-width:0;flex:1}.note-task-heading strong,.notification strong{overflow-wrap:anywhere}.note-task time,.note-task small,.notification time{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:4px}.task-complete{width:25px;height:25px;border:1px solid var(--border);border-radius:50%;flex:0 0 25px;padding:3px;background:var(--surface);color:var(--accent)}.task-complete:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.note-task.completed strong{text-decoration:line-through;color:var(--muted)}.note-task-actions{flex-wrap:wrap;margin-top:12px}.note-task-actions .text-button{font-size:12px}.task-delete-confirm{margin-top:12px;padding:10px;background:var(--surface-soft);border-radius:8px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}.reminder-remove{margin-top:8px;font-size:11px;color:var(--muted)}.reminder-form fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:15px}.reminder-form{display:grid;gap:18px;margin-top:18px}.reminder-form label{margin:0;display:grid;gap:7px;font-size:13px;font-weight:600;min-width:0}.reminder-form input,.reminder-form select{width:100%;min-width:0}.reminder-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.reminder-form .reminder-checkbox,.reminder-weekdays label{display:flex;flex-direction:row;align-items:center;gap:8px}.reminder-checkbox input,.reminder-weekdays input{width:17px;height:17px;flex:0 0 17px;accent-color:var(--accent)}.reminder-weekdays{display:flex;flex-wrap:wrap;gap:12px}.reminder-subtitle{font-weight:600;overflow-wrap:anywhere}.reminder-form p{margin:0}.notifications-bell{position:relative}.notification-count{position:absolute;top:-3px;right:-5px;background:var(--accent);color:var(--surface);border-radius:20px;padding:2px 4px;min-width:15px;font-size:9px;line-height:1.2}.notification-toolbar{justify-content:space-between}.notification-toolbar p{margin:0}.notification-heading strong{flex:1}.notification-heading svg{flex-shrink:0;color:var(--accent)}.notification p{font-size:13px;margin:8px 0;overflow-wrap:anywhere}.notification.unread{background:var(--accent-soft)}.notification-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex-shrink:0}.push-settings-heading h3{margin:0}.push-settings{overflow-wrap:anywhere}.push-device-state{font-size:13px;font-weight:600}@media(max-width:520px){.reminder-fields{grid-template-columns:1fr}.note-task{padding:12px}}.reminder-device-settings>summary{cursor:pointer;font-size:13px;font-weight:600}.reminder-device-settings[open]>summary{margin-bottom:14px}.note-tasks-heading>h3{margin:0;font-size:15px}.task-selection-preview{margin:12px 0;padding:10px 12px;border-left:2px solid var(--accent);background:var(--surface-soft);font-size:13px;overflow-wrap:anywhere}.task-selection-preview>span{display:block;margin-bottom:4px;color:var(--muted);font-size:11px}.inline-note-task{display:flex;align-items:center;gap:12px;margin:16px 0;padding:14px;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:6px;background:var(--surface-raised);font-family:Golos Text Variable,sans-serif;font-size:14px;line-height:1.5}.inline-task-content{flex:1;min-width:0;overflow-wrap:anywhere}.inline-task-content>strong{display:block;font-weight:600}.inline-task-content>time,.inline-task-content>small{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:4px;color:var(--muted);font-size:12px}.inline-note-task.completed strong{color:var(--muted);text-decoration:line-through}.notification-deliveries{display:grid;gap:10px;margin-top:14px}.notification-delivery{padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);min-width:0}.notification-delivery-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:12px}.notification-delivery-heading strong{font-size:12px}.delivery-state{padding:3px 8px;border-radius:20px;background:var(--surface-soft);color:var(--text);font-size:11px}.notification-delivery[data-state=FAILED] .delivery-state{background:var(--danger-soft);color:var(--danger)}.notification-delivery[data-state=ACCEPTED] .delivery-state{background:var(--accent-soft);color:var(--accent)}.notification-delivery .delivery-attempts{font-size:11px;color:var(--muted);margin:8px 0}.notification-delivery .delivery-error{font-size:12px;overflow-wrap:anywhere}.notification-delivery .text-button{margin-top:10px;font-size:12px}.notification-delivery time{display:inline}.notification-delivery p.small-text{font-size:11px;margin-bottom:0}.note-audio-block{margin:18px 0;padding:14px;border:1px solid var(--border);border-radius:9px;background:var(--surface-raised);font-family:Golos Text Variable,sans-serif;font-size:13px;line-height:1.5}.note-audio-heading,.note-audio-controls,.note-audio-progress{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.note-audio-heading{margin-bottom:10px}.note-audio-heading span{overflow-wrap:anywhere;min-width:0;flex:1}.note-audio-controls audio{width:min(100%,360px);height:40px}.note-audio-progress{margin-top:12px;color:var(--muted)}.note-audio-progress .text-button{margin-left:auto}.note-audio-block .error{margin:12px 0 0}.ai-panel{border:1px solid var(--border, #d9dce2);border-radius:12px;padding:14px;margin:12px 0;min-width:0}.ai-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;justify-content:space-between}.ai-result{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow-y:auto;padding:10px 0}.ai-panel .button.ai-run-button{min-height:36px;padding:7px 10px;gap:6px;border-radius:8px;border-color:transparent;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:600;line-height:1.2}.ai-panel .button.ai-run-button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.ai-run-button svg{width:15px;height:15px;flex-shrink:0}.media-viewer-detail-panel .ai-panel{margin:14px 0 0;padding:14px 0 0;border:0;border-top:1px solid var(--border);border-radius:0}.media-viewer-detail-panel .ai-actions>strong{font-size:13px;font-weight:600}.media-viewer-detail-panel .ai-panel .small-text{margin:8px 0 0;font-size:11px;line-height:1.5}@media(pointer:coarse){.ai-panel .button.ai-run-button{min-height:40px}}.album-workspace{width:100%;min-width:0}.album-page-heading{margin-bottom:8px}.album-page-heading>button{padding:0;font-size:13px;color:var(--muted);margin-bottom:14px}.album-page-heading h1{margin:0;font-size:clamp(26px,3vw,36px);line-height:1.3;overflow-wrap:anywhere}.album-overview{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;color:var(--muted);font-size:13px}.album-utilities{display:flex;align-items:center;gap:10px}.album-command-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:22px;background:var(--background)}.album-command-bar .button,.album-command-bar .text-button{font-size:12px;min-height:36px}.album-command-bar .file-button{margin:0;flex-direction:row;align-items:center;gap:8px}.album-command-spacer{flex:1}.album-browse-tools{display:flex;align-items:center;gap:10px;margin-left:auto}.album-browse-tools>input{width:180px;min-height:36px;padding:8px 10px}.album-browse-tools .custom-select{width:170px}.album-browse-tools .select-trigger{min-height:36px;font-size:12px;padding:8px 10px}.album-rename{display:flex;gap:10px;margin-bottom:20px;max-width:600px}.album-rename input{flex:1;min-width:0}.album-transfer-area:empty{display:none}.album-transfer-area .upload-queue{margin-bottom:20px}.album-order-hint,.album-showing{color:var(--muted);font-size:12px;margin:0 0 16px}.album-showing{margin-top:18px}.album-workspace .album-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(0,var(--album-tile-width, 200px)));gap:16px;margin:0;align-items:start;justify-content:start}.album-item{border:1px solid var(--border);border-radius:8px;overflow:hidden;width:100%;min-width:0;background:var(--surface)}.album-item .media-cover{height:auto;aspect-ratio:1;display:block;width:100%;overflow:hidden;border-radius:0;background:var(--surface-soft)}.album-item .media-cover img{display:block;width:100%;height:100%;object-fit:contain}.album-item-caption{display:flex;align-items:center;gap:8px;padding:9px 10px;min-width:0}.album-item-caption strong{min-width:0;font-size:12px;font-weight:450;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.album-item-position{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;flex-shrink:0}.album-item-controls{display:flex;align-items:center;gap:2px;padding:4px 8px;border-top:1px solid var(--border);background:var(--surface-soft)}.album-item-controls>.danger{margin-left:auto;font-size:11px}.album-item-controls .icon-button{width:30px;height:30px;min-width:30px}.album-library-scope{max-width:320px;margin-bottom:18px}.album-settings{position:relative;font-size:12px;color:var(--muted)}.album-settings summary{padding:8px 4px;cursor:pointer}.album-settings[open]{display:flex;flex-direction:column;gap:10px}.album-settings[open]>button{display:flex;padding:8px 6px}.album-workspace .media-picker{margin-top:24px}@media(max-width:640px){.album-overview{flex-wrap:wrap;gap:8px}.album-command-bar{gap:8px}.album-command-spacer{display:none}.album-browse-tools{width:100%;margin:0}.album-browse-tools>input{flex:1;min-width:0}.album-browse-tools .custom-select{width:160px}.album-workspace .album-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.album-item{max-width:240px}}.album-item.arranging{cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-y pinch-zoom}.album-item.arranging .media-cover{cursor:grab;-webkit-user-select:none;user-select:none}.album-item.arranging .media-cover img{pointer-events:none}.album-media.is-dragging .album-item:not(.dragging){transition:transform .18s cubic-bezier(.2,.75,.25,1)}.album-item.dragging{position:relative;border:2px dashed var(--accent);background:var(--surface-soft);overflow:visible}.album-item.dragging>*{visibility:hidden}.album-item.dragging:after{content:"Drop here";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:var(--accent);font-size:12px;font-weight:600}.album-item.drop-target{border-color:var(--accent)}.album-drag-preview{position:fixed;top:0;left:0;z-index:1100;margin:0;pointer-events:none;box-sizing:border-box;border-color:var(--accent);box-shadow:0 18px 48px #00000038,0 4px 12px #0000001f;transform:translate3d(var(--album-drag-x),var(--album-drag-y),0) rotate(var(--album-drag-tilt, 1deg)) scale(var(--album-drag-scale, 1.02));transform-origin:center;will-change:transform}.album-drag-preview .album-item-controls,.album-drag-preview .album-item-offline{opacity:.45}body.album-dragging,body.album-dragging *{cursor:grabbing!important}@media(prefers-reduced-motion:reduce){.album-media.is-dragging .album-item{transition:none}.album-drag-preview{--album-drag-tilt: 0deg;--album-drag-scale: 1}}.album-item-offline{padding:0 10px 9px;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.album-item-offline .text-button{font-size:11px;padding:3px 0}.album-item-offline small{color:var(--muted);font-size:10px}@media(max-width:640px){.album-item-controls{padding-left:3px;padding-right:3px}.album-item-controls .icon-button{min-width:25px;width:25px;padding:4px}}.album-drag-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.modal.media-viewer-modal{width:calc(100vw - 20px);max-width:none;height:calc(100dvh - 20px);max-height:none;padding:0;overflow:hidden;display:flex;flex-direction:column;background:var(--surface)}.media-viewer-layout{width:100%;min-width:0;display:flex;flex-direction:column;flex:1;min-height:0;position:relative}.media-viewer-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center;gap:12px;flex-shrink:0;height:52px;padding:6px 10px 6px 16px;border-bottom:1px solid var(--border);background:var(--surface)}.media-viewer-filename{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 14px Golos Text Variable,sans-serif;letter-spacing:0;margin:0}.media-viewer-navigation,.photo-controls,.media-viewer-tools{display:flex;align-items:center;gap:2px;min-width:0}.media-viewer-toolbar button,.media-viewer-tools a{display:inline-flex;align-items:center;justify-content:center;padding:6px;min-height:34px;min-width:32px;border-radius:6px;color:var(--muted);font-size:12px;line-height:1}.media-viewer-toolbar button:hover:not(:disabled),.media-viewer-tools a:hover{background:var(--surface-soft);color:var(--text)}.media-viewer-navigation span,.photo-controls output{text-align:center;color:var(--muted);font-size:12px;white-space:nowrap}.media-viewer-navigation span{min-width:35px}.photo-controls output{min-width:42px}.photo-controls{border-left:1px solid var(--border);border-right:1px solid var(--border);padding:0 8px}.media-viewer-close{grid-column:5}.media-viewer-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:var(--background);overflow:hidden;position:relative}.media-viewer-stage>video{width:100%;height:100%;object-fit:contain}.media-viewer-stage>audio{width:min(650px,85%)}.photo-viewport{width:100%;height:100%;min-height:0;display:flex;flex-direction:column}.photo-stage{position:relative;flex:1;min-height:0;width:100%;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.photo-stage.zoomed{cursor:grab}.photo-stage.zoomed:active{cursor:grabbing}.photo-stage img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;flex-shrink:0;object-fit:contain;transform-origin:center;pointer-events:none}.photo-stage:focus-visible{outline-offset:-4px}.photo-loading{color:var(--muted);font-size:15px}.media-viewer-unavailable{color:var(--text);text-align:center;padding:28px;max-width:480px}.media-viewer-unavailable>svg{margin-bottom:18px;color:var(--muted)}.media-viewer-unavailable p{color:var(--muted);margin-bottom:0}.media-viewer-detail-panel{position:absolute;z-index:2;top:60px;right:10px;max-width:min(420px,calc(100% - 20px));max-height:calc(100% - 80px);overflow-y:auto;overscroll-behavior:contain;padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow)}.media-viewer-details{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:12px}.media-viewer-details span{display:inline-flex;align-items:center;gap:6px}.media-viewer-actions{margin-top:12px}.media-viewer-actions .viewer-actions{margin:4px 0}@media(max-width:740px){.modal.media-viewer-modal{width:100vw;height:100dvh;max-width:none;border-radius:0;margin:0}.media-viewer-toolbar{grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-rows:32px 36px;height:80px;gap:0 4px;padding:5px 6px 7px}.media-viewer-filename{grid-column:1 / 4;grid-row:1;padding-left:6px;font-size:13px}.media-viewer-close{grid-column:4;grid-row:1}.media-viewer-navigation{grid-column:1;grid-row:2}.photo-controls{grid-column:2;grid-row:2;justify-content:center;padding:0 2px;border:0}.media-viewer-tools{grid-column:3 / 5;grid-row:2;justify-content:flex-end}.media-viewer-toolbar button,.media-viewer-tools a{min-width:28px;min-height:32px;padding:5px;font-size:11px}.media-viewer-navigation span{min-width:28px;font-size:11px}.photo-controls output{min-width:35px;font-size:11px}.media-viewer-detail-panel{top:88px;max-height:calc(100% - 100px)}}@media(max-width:360px){.media-viewer-toolbar{column-gap:2px;padding-left:4px;padding-right:4px}.media-viewer-toolbar button,.media-viewer-tools a{min-width:26px;padding:4px}.photo-controls{gap:0;padding:0}.photo-controls output{min-width:32px}.media-viewer-navigation{gap:0}}.vault-recovery-panel{display:grid;gap:14px;padding-block:20px;border-top:1px solid var(--border);min-width:0}.vault-recovery-panel h3,.vault-recovery-panel h4,.vault-recovery-panel p{margin:0}.recovery-heading,.recovery-actions,.recovery-request-status{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.recovery-request-list{display:grid;gap:12px;padding:0;margin:0;list-style:none}.recovery-review,.recovery-key{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:12px;min-width:0}.recovery-key code{overflow-wrap:anywhere}.recovery-fields,.vault-recovery-panel form{display:grid;gap:12px;min-width:0}.recovery-fields label,.vault-recovery-panel>form>label{display:grid;gap:6px;min-width:0}.recovery-fields input,.vault-recovery-panel>form>label>input{width:100%;min-width:0}.recovery-help,.recovery-date{font-size:.85rem;color:var(--muted)}.recovery-loading{display:inline-flex;align-items:center;gap:8px;font-size:.9rem}.recovery-request-status{padding-block:8px}@media(max-width:560px){.recovery-review,.recovery-key{padding:12px}.recovery-actions .button{width:100%}}.admin-page{max-width:1120px;margin:0 auto;padding:22px 8px 48px;min-width:0}.admin-header{margin-bottom:28px}.admin-header .eyebrow{display:flex;align-items:center;gap:8px;color:var(--accent)}.admin-header h1{font-family:Manrope Variable,sans-serif;font-size:clamp(26px,3vw,38px);font-weight:600;letter-spacing:-1.2px;margin:14px 0 12px}.admin-page h2{font-size:19px;font-weight:600;margin:0}.admin-page p{line-height:1.6}.admin-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border);margin-bottom:26px}.admin-tabs button{display:inline-flex;gap:8px;align-items:center;padding:12px 17px;border-bottom:2px solid transparent;color:var(--muted)}.admin-tabs button[aria-selected=true]{border-color:var(--accent);color:var(--accent);font-weight:600}.admin-overview{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.admin-overview p{margin:8px 0 0}.admin-filters{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:16px;margin-bottom:24px}.admin-filters label{margin:0}.admin-search{position:relative;display:flex;align-items:center}.admin-search svg{position:absolute;left:12px;color:var(--muted)}.admin-search input{padding-left:38px}.admin-status-filter{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:550}.admin-status-filter .select-trigger{width:100%}.admin-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.admin-user{min-width:0;padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.admin-user-heading{display:flex;gap:12px;align-items:center}.admin-user-heading>div{flex:1;min-width:0}.admin-user h3{overflow-wrap:anywhere;margin:0 0 4px;font-weight:600;font-size:17px}.admin-user h3 small{font-weight:400;color:var(--muted)}.admin-user-heading p{font-size:13px;margin:0}.admin-state{font-size:11px;letter-spacing:.02em;padding:5px 9px;border-radius:20px;white-space:nowrap;background:var(--accent-soft);color:var(--accent)}.admin-state.state-banned{color:var(--danger);background:var(--danger-soft)}.admin-state.state-deleting{color:var(--amber);background:var(--amber-soft)}.admin-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:20px 0;margin:0}.admin-counts dt{font-size:12px;color:var(--muted);margin-bottom:7px}.admin-counts dd{margin:0;font-size:14px;overflow-wrap:anywhere}.admin-user-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:16px}.admin-user-actions .button{padding:8px 11px;font-size:12px}.admin-user-actions .danger{margin-left:auto;font-size:12px}.admin-self{margin-bottom:0;border-top:1px solid var(--border);padding-top:16px}.admin-invitations{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;margin-top:30px;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.admin-invitations p{margin-bottom:0}.admin-invitations .invite-result,.admin-invitations .error{width:100%;min-width:0}.admin-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:22px}.admin-loading{display:flex;gap:10px;align-items:center;color:var(--muted)}.admin-empty{padding:40px;text-align:center;color:var(--muted)}.admin-cleanup .text-button{color:var(--accent)}@media(max-width:900px){.admin-users{grid-template-columns:minmax(0,1fr)}}@media(max-width:560px){.admin-page{padding:12px 0 28px}.admin-overview{align-items:flex-start;flex-direction:column}.admin-filters{grid-template-columns:minmax(0,1fr);gap:12px}.admin-user,.admin-invitations{padding:18px}.admin-user-heading{gap:9px}.admin-header h1{letter-spacing:-.8px}}.agent-connections{display:grid;gap:24px;min-width:0}.agent-header{display:flex;align-items:center;gap:12px}.agent-header-icon{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;color:var(--accent)}.agent-connections .agent-header h3{margin:0 0 4px;font-size:17px}.agent-header p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.agent-create-card{padding:0;min-width:0}.agent-subheading{display:flex;align-items:center;gap:7px;color:var(--text)}.agent-subheading>svg{color:var(--accent);flex-shrink:0}.agent-subheading h4,.agent-subheading>strong{margin:0;font-size:13px;font-weight:600}.agent-subheading .agent-count{margin-left:auto}.agent-create-form{display:grid;gap:16px;margin-top:18px}.agent-create-form fieldset{margin:0;padding:0;border:0;min-width:0}.agent-create-form>fieldset{display:grid;gap:16px}.agent-field-row{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:16px}.agent-connections .agent-field-row label{margin:0;gap:6px;font-size:12px;font-weight:500}.agent-connections input:not([type=checkbox]){min-width:0;min-height:40px;padding:8px 10px;font-size:13px;border-radius:6px;background:var(--surface-raised)}.agent-permissions legend{padding:0;margin-bottom:2px;font-size:12px;font-weight:500;color:var(--muted)}.agent-connections .agent-permission{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;padding:12px 0;margin:0;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;cursor:pointer;font-weight:400}.agent-permission:last-child{margin-bottom:0}.agent-permission:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:4px}.agent-connections .agent-permission.selected strong,.agent-permission:hover strong{color:var(--accent)}.agent-connections .agent-permission input{width:18px;height:18px;margin:1px 0 0;padding:0;accent-color:var(--accent)}.agent-permission>span{display:block}.agent-permission strong{display:block;font-size:13px;font-weight:600;line-height:1.5}.agent-permission small{display:block;margin-top:2px;color:var(--muted);font-size:12px;line-height:1.5}.agent-create-form fieldset:disabled .agent-permission{cursor:default;opacity:.65}.agent-form-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.agent-form-footer p{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;color:var(--muted)}.agent-connections .button{min-height:36px;padding:8px 11px;gap:6px;font-size:12px;border-radius:6px}.agent-connections .agent-access-note{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.agent-foldout{min-width:0;border:0;border-bottom:1px solid var(--border);border-radius:0;padding:0;background:transparent}.agent-foldout>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;min-height:48px;padding:12px 0;font-size:12px;font-weight:600}.agent-foldout>summary::-webkit-details-marker{display:none}.agent-foldout>summary>svg:first-child{color:var(--accent);flex-shrink:0}.agent-chevron{flex-shrink:0;margin-left:auto;color:var(--muted);transition:transform .12s}.agent-foldout[open]>summary>.agent-chevron{transform:rotate(180deg)}.agent-foldout-title{flex:1;min-width:0}.agent-foldout-title strong{display:block;font-size:12px;font-weight:600}.agent-foldout-title small{display:block;margin-top:3px;font-size:11px;font-weight:400;color:var(--muted)}.agent-foldout p,.agent-foldout ol{color:var(--muted);font-size:11px;line-height:1.6;margin:0 0 12px}.agent-status,.agent-count{white-space:nowrap;border-radius:5px;padding:3px 6px;background:var(--surface-soft);color:var(--muted);font-size:10px;font-weight:500}.agent-status.active{color:var(--accent);background:var(--accent-soft)}.agent-index-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0}.agent-index-stats>div{padding:8px;border-radius:7px;background:var(--surface-soft)}.agent-index-stats dt{font-size:10px;color:var(--muted)}.agent-index-stats dd{margin:3px 0 0;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.agent-inline-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.agent-connections .text-button{display:inline-flex;align-items:center;gap:5px;padding:4px 0;font-size:11px}.agent-issued{min-width:0;padding:13px;border:1px solid var(--accent);border-radius:10px;background:var(--accent-soft)}.agent-issued p{margin:6px 0 10px;color:var(--muted);font-size:11px;line-height:1.5}.agent-token-row{display:flex;align-items:center;gap:6px;margin-bottom:6px}.agent-token-row input{flex:1;font-family:monospace}.agent-token-row .icon-button{width:34px;height:34px;min-width:34px;color:var(--accent)}.agent-connections-list{min-width:0}.agent-credential-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}.agent-credential{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;border:0;border-radius:0;padding:12px 0;background:transparent}.agent-credential:not(:last-child){border-bottom:1px solid var(--border)}.agent-credential-main{min-width:0;flex:1}.agent-credential-title{display:flex;align-items:center;gap:8px}.agent-credential-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.agent-credential-title .agent-status{margin-left:auto}.agent-capabilities{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.agent-capabilities>span{padding:2px 6px;border:1px solid var(--border);border-radius:4px;color:var(--muted);font-size:10px;line-height:1.4}.agent-credential-main>small{display:block;color:var(--muted);margin-top:7px;font-size:10px}.agent-revoke{flex-shrink:0}.agent-empty{display:flex;align-items:center;gap:7px;margin:10px 0 0;padding:12px 0;color:var(--muted);font-size:12px}.agent-history{margin-top:10px;background:transparent}.agent-history .agent-credential-list{margin:0 0 12px}.agent-help ol{padding-left:19px}.agent-help li+li{margin-top:5px}.agent-endpoint{display:grid;gap:5px;margin:12px 0}.agent-endpoint>span{font-size:10px;font-weight:600;color:var(--muted)}.agent-endpoint code{display:block;padding:8px 10px;border-radius:7px;background:var(--surface-soft);overflow-wrap:anywhere;font-size:11px;-webkit-user-select:text;user-select:text}.agent-config-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.agent-config-heading strong{font-size:11px;font-weight:600}.agent-configuration{max-height:230px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 10px;padding:11px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);font-size:11px;line-height:1.5;-webkit-user-select:text;user-select:text}.agent-guide{margin:0 0 12px;border-top:1px solid var(--border);padding-top:8px}.agent-guide>summary{cursor:pointer;font-size:11px;color:var(--accent);margin-bottom:8px}.agent-error{margin:0;font-size:12px}@media(max-width:420px){.agent-field-row{grid-template-columns:minmax(0,1fr) 96px;gap:9px}.agent-form-footer{align-items:stretch;flex-direction:column}.agent-form-footer .button{width:100%;min-height:44px}.agent-credential,.agent-credential-title{flex-wrap:wrap}.agent-credential-title .agent-status{margin-left:0}.agent-provider .agent-status{font-size:9px}}@media(prefers-reduced-motion:reduce){.agent-permission,.agent-chevron{transition:none}}.storage-panel{max-width:1100px}.storage-total{display:flex;align-items:center;gap:18px;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:18px}.storage-total strong{display:block;font-size:30px;line-height:1.3}.storage-total span{color:var(--muted);font-size:13px}.storage-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:28px}.storage-metrics>div{padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface);min-width:0}.storage-metrics strong{display:block;font-size:24px;margin:10px 0}.storage-metrics small,.storage-metrics span{color:var(--muted)}.storage-action{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;border-top:1px solid var(--border)}.storage-action h2{font-size:18px;margin:0 0 8px}.storage-action p{margin:0 0 8px;max-width:640px;font-size:14px}.storage-action .button{flex-shrink:0}.storage-footnote{font-size:12px}@media(max-width:680px){.storage-metrics{grid-template-columns:1fr}.storage-action{align-items:stretch;flex-direction:column;gap:8px}}.upload-queue{margin:0 0 24px;border:1px solid var(--border, #ccd4de);border-radius:14px;background:var(--surface, #fff);color:var(--text, #202d3d);overflow:hidden}.upload-queue summary{display:flex;align-items:center;gap:10px;padding:16px 20px;cursor:pointer}.upload-queue summary>span{margin-left:auto;font-size:13px}.upload-queue ul{list-style:none;margin:0;padding:0 20px;max-height:260px;overflow:auto;overscroll-behavior:contain}.upload-queue li{padding:12px 0;border-top:1px solid var(--border, #ccd4de)}.upload-queue li>div{display:flex;gap:12px;align-items:center;justify-content:space-between}.upload-queue li strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.upload-queue li span{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px}.upload-queue progress{display:block;width:100%;height:5px;margin-top:9px;accent-color:var(--accent, #2863da)}.upload-queue small{display:block;color:var(--danger, #ae3443);margin-top:6px}.upload-queue-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px 16px}.upload-queue-actions>span{font-size:12px}@media(max-width:540px){.upload-queue-actions{align-items:flex-start;flex-direction:column}}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-cyrillic-ext-wght-normal-hICkpzq7.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-cyrillic-wght-normal-mKek_fSS.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-latin-ext-wght-normal-B-I5lbAQ.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-latin-wght-normal-BS5oQT7X.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+UHscYuOKM/W8isgwN26Exexjizmfnlp9dE3hOSqdZ/F5QqbckIlPb+oKfXxd6hftJ7Sm/uyPYpONza84CRlMNk/uhOrLpyf53982++zRkXNu3g3VF8qFbx1+7fbHZ9DrB3VXWNSmhnT2vrwS1+1Z+kHGBaZIhnnvuLBTNDeA340D1DWu5/jEa9pVfl6+Jij+yo3EELNixXCLjr173Q5eDP7Y7/L4iQFHbjpaJLFoP4cCsYP6sAPL7gMHNg53yYjqxqTDrYqLDl5DzW/eTLjYxCvucprjI3yl2ykKowKUC2Ox2FJLFo6Fa1HBWLC2jMCIIBEmklkYhmkpmBhTm/LCvJAH5oGcMKcgFEP1xUdho8ANPa6RFD99/PN60fjj9eXy2Eex4B5MpmRapXidzFk1p4uLk3+hn6jAP9ovJcXPPwk8o/0ltizbdbnTprvx4PSxT0VZ3Xc772aN7RflgbXRYwc3hLNO+k878nxGwfuVM8m8Gs7WEoVGWLHwSpx4vNSHBCMNqJ4m15Kp/TfHHVkQd++eY7PGN4W5byTs+6Ft8Ozvb/D60btv37de8ER0mS3P/0sLW84qGjEVkwztPzz06eGUWwKLwPb0D/WFd3vltl2aP276KpM0JNz6AfnAnZ5ADlF2zVyZ2OkxHSMxWPMnSZLbbDR3F1UjPVqp4d68da13F1YZujdWw7271iecO2l9+/4p47Oztjck355/75wFOI+VdGDqbNGs+ISgxg3iB2jb2r+b0CWsNLHIM4sdv8SDSFBP/Oromz6FNCWw2iMTxV0R8QLyBTkpe0j5+pSSJOOTB5Mck/gh3IopuNQnhKj02t3FL80gGbEh89SZcwTxcYt5cZT/nMnB3uXfPy8BSpVMBuRx+ZhACGzDBmwHsJRAjhotOnzuj2wDz3ug2wOUAY2NgZln9/TK/enG/oE4rO1wxvGUFMAxsZ0qNjRC7hl9d17e7imbgDt6uJXhUobDg7v3RX/yRCKxgMhfyiKcZfbpk0wmCcdQlIAOHeakXLvCNt++WfKiozNqSZxxJotn+c0a7DdPsx7DPYgKIDxwwYUZDg9aJbxocTjcwovr9WAsVV32mQoiiIOCHc60Oltst9qCQYuCqN1yHo0Kj60OgI2OqmiuBUWrNA0NDhYCDcdpmMrs1fZZ0xdTzMr1HdPtIHstYhqaPDDA5YxUDx7J4fJiisBSDI/L6G/bn34GNy8Q2g044ZTulAdFLb0tI6NNxfj3DzLjWiNGxje1pz7aXOcNV68lDPEd2SXl6VfBuwmHzdf1gxFy1HvA7pD8I2BnnmyGw852Cg5XbgIdEEGE5UCzen5jTlG6JCU5iajlxVcsXvbcS0SAcg1dcesWJLVK8+hYHOYQ+Pjy+EyVGXP0aPTFagrV9E03hCQvYx+g47KGq+1GsLj8uBIyihNw33YUe8PNC4BOJ3Lm1AglLV3nCuvUdIP+v15tVGbWIwgxLVpPkfpthCGpTKG+oA/DQfsKKvxhScqaN6FuElAUtTKv2UYgOmQegsN/n7njHUju8wM4VTcm+Q8xfX9SFwjTzdVqu95UOWSIGOabH8OGBEba//8Yxl3GcPdP/dMBOoSX/0z5SZmBoLbaPs+9asaMpb36yknKaw6FqWZa6A5vDa02mhkOba1q6KtLV208xrkwmW5C4VD6n2fvRjADy2qDYYnNy+H10Fq0LMbNzS863gkO7iQ8eC48/Ny5m59tOcEso3u7Qg3yrqDL6eKXwJAuWnhylfbWrRObe66rzX59+XDtzusnL66dI/86ArmtLlzED860Ef3bFPV78OX/zFTA11fcBn2Vntb7qiGBSgLBHyuv/uEaqqoTgSpOyjlzh86me1Vriv7i9rLPLvtghWmSnblRbAsBJL/4dScSQTBxOivHMO5QvBBY0iheJvfwWLxLOGzYKZyM4zVc2Cll46zEpeUV4MqGEWZj22SdOxhGAjgs9AEnfT+RoiMfcDb0GS5NncKVxju4Nt/mRk13O9Gz3FLct5oCD6wkwUNrCfHIUg6SMf8LwQGyVaBUqpLPW5BaMpRshEpl8nS1qw5dgnzlik8QBXmdy5UrIH74heTKZKMSilQso4hsRiGraQZRzxpNGqlEJMsXuAU7GlcR8mWSykUpVkWGyIf0a8v4qEQp5CtGsMiZa+4ESYQy+WilCiguHzxMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Golos Text Variable,sans-serif;font-synthesis:none;font-weight:400;color:var(--text);background:var(--background);--background: #f3f1ec;--surface: #fcfbf8;--surface-raised: #fffefb;--surface-soft: #eae8e1;--text: #2c302a;--muted: #62685c;--border: #d7d9ce;--accent: #4d6247;--accent-hover: #3d5037;--accent-soft: #e4e9dc;--on-accent: #ffffff;--sidebar-width: 220px;--notebook-list-width: 310px;--amber: #94620c;--amber-soft: #fff0cf;--danger: #b33d36;--danger-soft: #fce9e5;--green: var(--accent);--deep: var(--text);--cream: var(--surface-soft);--lime: var(--accent-soft);--shadow: 0 12px 36px #24291d14}:root[data-theme=dark]{--background: #1c1d1b;--surface: #242522;--surface-raised: #2a2c27;--surface-soft: #30332d;--text: #e7e7df;--muted: #afb4a5;--border: #44493d;--accent: #b6c7a3;--accent-hover: #c7d6b6;--accent-soft: #333d2d;--on-accent: #232b1e;--amber: #f2c46f;--amber-soft: #473a24;--danger: #ffa79a;--danger-soft: #482e32;--shadow: 0 14px 40px #0005}*{box-sizing:border-box}body{margin:0;font-size:15px}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled,.disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}input,textarea{width:100%;border:1px solid var(--border);background:var(--surface-raised);border-radius:9px;padding:11px 13px;color:var(--text);outline:none}input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}input::placeholder,textarea::placeholder{color:var(--muted)}input[readonly],textarea[readonly]{background:var(--surface-soft)}textarea{resize:vertical;line-height:1.7}label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:550;margin-bottom:20px}label>span{display:flex;align-items:center;gap:6px}form{margin:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope Variable,sans-serif;font-weight:600;letter-spacing:-.025em}h1{font-size:clamp(28px,3vw,34px);line-height:1.2;margin-bottom:10px}h2{font-size:26px}h3{font-size:20px}p{line-height:1.65}small{font-size:13px}svg{flex-shrink:0}::selection{background:color-mix(in srgb,var(--accent) 22%,transparent);color:inherit}button:focus-visible,a:focus-visible,[contenteditable]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.button{display:inline-flex;gap:8px;justify-content:center;align-items:center;border:1px solid transparent;border-radius:9px;padding:11px 16px;font-weight:650;font-size:14px;white-space:nowrap;min-height:42px}.button.primary{background:var(--accent);color:var(--on-accent)}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.button.secondary{background:var(--surface-raised);border-color:var(--border)}.button.secondary:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;min-width:36px;min-height:36px;padding:8px;color:var(--muted)}.icon-button:hover{background:var(--surface-soft);color:var(--text)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--accent);font-weight:600;font-size:14px;padding:6px 0}.text-button:hover{text-decoration:underline}.danger{color:var(--danger)!important}.success{color:var(--accent)!important}.muted{color:var(--muted);font-size:15px}.eyebrow{color:var(--accent);display:block;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px}.brand{display:flex;align-items:center;gap:9px;font-family:Manrope Variable,sans-serif;font-size:24px;letter-spacing:-1.3px;font-weight:700}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:26px;font-weight:850;line-height:1}.brand-dot{display:none}.app-shell{min-height:100dvh}.sidebar{width:var(--sidebar-width);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:26px 14px 0;background:var(--surface-soft);border-right:1px solid var(--border);z-index:20;overflow-y:auto}.sidebar .brand{margin:0 8px 32px}.sidebar-caption{color:var(--muted);font-size:11px;letter-spacing:.06em;font-weight:500;margin:0 10px 12px}.workspace-select{display:flex;align-items:center;gap:8px;margin-bottom:24px;min-width:0}.workspace-symbol{background:var(--accent-soft);color:var(--accent);width:34px;height:40px;border-radius:8px;display:grid;place-items:center}.workspace-select .custom-select{flex:1;min-width:0}.workspace-select .select-trigger{padding:10px 9px;font-size:13px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:11px;padding:11px 12px;color:var(--muted);font-size:14px;text-align:left;border-radius:6px;white-space:nowrap}.nav-item:hover{background:var(--surface-soft)}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:550}.nav-item>small{margin-left:auto;background:var(--surface-soft);border-radius:5px;padding:1px 5px}.nav-lock{font-size:9px;letter-spacing:.06em;margin-left:auto;color:var(--accent)}.new-workspace{justify-content:flex-start;margin:23px 12px}.sidebar-bottom{margin-top:auto;padding-top:24px}.profile{display:flex;align-items:center;gap:10px;width:100%;padding:18px 0;border-top:1px solid var(--border);text-align:left}.avatar{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--accent);font-weight:700;flex-shrink:0}.avatar.small{width:32px;height:32px}.profile>span:nth-child(2){flex:1;min-width:0}.profile strong{display:block;font-size:14px;overflow-wrap:anywhere}.profile small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.profile>svg{color:var(--muted)}.connection{display:flex;gap:7px;align-items:center;padding:14px 0;border-top:1px solid var(--border);color:var(--muted);font-size:11px}.connection>span{width:6px;height:6px;border-radius:50%;background:var(--accent)}.connection.offline>span{background:var(--amber)}.connection small{font-size:10px}.main-area{margin-left:var(--sidebar-width);min-height:100dvh;display:flex;flex-direction:column}.topbar{height:64px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 28px;border-bottom:1px solid var(--border);background:var(--surface)}.breadcrumb,.topbar-right,.private-indicator{display:flex;align-items:center;gap:12px}.breadcrumb{color:var(--muted);font-size:13px;min-width:0}.breadcrumb>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb strong{color:var(--text)}.breadcrumb>svg:first-of-type{color:var(--accent)}.private-indicator{color:var(--muted);font-size:12px;gap:6px}.content{padding:34px 36px 48px;flex:1;width:100%;max-width:1600px;margin:0 auto}.content-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:28px}.content-heading p{margin-bottom:0;max-width:680px}.filters{display:flex;align-items:center;gap:14px;margin-bottom:16px}.search-input{display:flex;flex-direction:row;align-items:center;gap:10px;flex:1;min-width:120px;background:var(--surface-raised);border:1px solid var(--border);border-radius:9px;padding:0 13px;height:45px;margin:0;color:var(--muted)}.search-input:focus-within{border-color:var(--accent)}.search-input input{border:0;box-shadow:none;padding:10px 0;background:transparent}.filter-select{display:flex;flex-direction:row;gap:9px;align-items:center;margin:0;color:var(--muted)}.kind-filter{min-width:160px}.filter-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px}.filter-chips label{display:flex;flex-direction:row;align-items:center;gap:7px;padding:5px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted);margin:0;min-width:0}.filter-chips input{font-size:12px;width:130px;padding:5px 0;background:none;border:0;box-shadow:none}.filter-chips input[type=date]{width:126px}.section-row,.results-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.results-label{color:var(--muted);font-size:13px}.results-label>span:last-child{font-size:12px}.notes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.note-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:23px;min-width:0;display:flex;flex-direction:column;min-height:260px;transition:box-shadow .15s,border-color .15s}.note-card:hover{box-shadow:var(--shadow);border-color:var(--accent)}.note-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);margin-bottom:20px}.date-day{font-size:27px;font-family:Manrope Variable,sans-serif;font-weight:650;color:var(--text)}.date-day small{margin-left:5px;font-size:12px;font-weight:450;color:var(--muted)}.card-labels{display:flex;gap:5px}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:11px;font-weight:600;background:var(--accent-soft);color:var(--accent)}.card-open{display:block;padding:0;text-align:left;width:100%;flex:1;min-width:0}.card-open h3{font-size:21px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:12px}.card-open p{color:var(--muted);font-size:15px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}.card-meta{display:flex;justify-content:space-between;gap:7px;color:var(--muted);font-size:12px;margin-top:20px}.card-meta>span{display:flex;align-items:center;gap:5px}.card-arrow{margin-left:auto;color:var(--accent)}.card-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.card-tags button{font-size:12px;color:var(--accent);padding:4px 8px;border-radius:5px;background:var(--accent-soft)}.card-attachments{display:flex;overflow:hidden;gap:6px;height:105px;margin:12px 0;border-radius:7px}.card-attachments button{position:relative;min-width:0;flex:1;padding:0}.card-attachments img{height:100%;width:100%;object-fit:cover}.card-attachments small{position:absolute;inset:auto 5px 5px auto;background:#152333b8;color:#fff;border-radius:4px;padding:2px 5px}.empty{padding:56px 20px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:12px;background:var(--surface)}.empty-symbol{color:var(--accent);font-size:38px;margin-bottom:16px}.empty h3{color:var(--text)}.empty p{max-width:440px;margin:0 auto;font-size:15px}.empty p .button{margin-top:20px}.load-more{display:flex;margin:30px auto}.page-footer{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding:20px 36px;border-top:1px solid var(--border);gap:20px}.page-footer>span>span{color:var(--accent)}.custom-select{position:relative;min-width:0;width:100%}.select-trigger{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;border:1px solid var(--border);border-radius:9px;padding:11px 13px;background:var(--surface-raised);color:var(--text);min-height:42px;text-align:left;font-weight:500}.select-trigger>span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-trigger[aria-expanded=true]{border-color:var(--accent)}.select-options{position:fixed;z-index:80;inset:auto;margin:0;min-width:0;max-width:calc(100vw - 16px);max-height:260px;overflow-y:auto;overscroll-behavior:contain;background:var(--surface-raised);border:1px solid var(--border);padding:5px;border-radius:10px;box-shadow:var(--shadow)}.select-option{display:flex;justify-content:space-between;align-items:center;gap:16px;border-radius:6px;padding:11px 12px;color:var(--text);font-size:14px;cursor:pointer}.select-option>span{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}.select-option.highlighted{background:var(--accent-soft);color:var(--accent)}.select-option[aria-selected=true]{font-weight:650}.select-option[aria-disabled=true]{opacity:.5;cursor:not-allowed}.workspace-choices{display:flex;flex-direction:column;gap:10px}.workspace-choices .button{justify-content:flex-start}.workspace-choices .button svg:last-child{margin-left:auto}.modal{border:1px solid var(--border);border-radius:15px;padding:26px;background:var(--surface);color:var(--text);width:520px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 24px 100px #0004}.modal::backdrop{background:#101a2b9c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal:where(.wide){width:980px}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.modal-header h2{font-size:23px;margin:0;overflow-wrap:anywhere}.modal-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:20px;margin-top:24px;gap:15px}.footer-right,.toolbar-actions,.editor-toolbar,.viewer-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.editor-toolbar{justify-content:space-between;margin-bottom:22px}.title-input{font-family:Manrope Variable,sans-serif;font-size:30px;font-weight:750;padding:10px 0;border:0;background:none;border-radius:0}.title-label{font-size:12px;color:var(--muted)}.note-text{min-height:300px;font-size:18px;line-height:1.85}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.attachment-area{background:var(--surface-soft);padding:18px;border-radius:10px;margin:20px 0}.attachment-grid{display:flex;flex-wrap:wrap;gap:10px}.attachment{width:110px;height:90px;position:relative;border-radius:7px;overflow:hidden;background:var(--surface)}.attachment>button:first-child{width:100%;height:100%;padding:0}.attachment img{width:100%;height:100%;object-fit:cover}.attachment-remove{position:absolute;top:3px;right:3px;color:#fff;background:#172234b8;padding:4px;border-radius:5px}.attachment .media-placeholder{height:100%}.attachment .media-placeholder small{display:none}.file-button{position:relative;cursor:pointer;margin:0;flex-direction:row;align-items:center;justify-content:center;gap:8px}.file-button:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;cursor:pointer}.file-button.disabled input{cursor:not-allowed}.error{color:var(--danger);background:var(--danger-soft);padding:14px 16px;border-radius:8px;font-size:14px;overflow-wrap:anywhere}.global-error{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.notice,.offline-banner,.upload-progress{display:flex;gap:12px;align-items:center;padding:15px 18px;border-radius:9px;margin-bottom:20px;font-size:14px;background:var(--accent-soft);color:var(--accent)}.notice>span,.upload-progress>span{flex:1}.offline-banner{color:var(--amber);background:var(--amber-soft)}.toast{position:fixed;bottom:25px;left:calc(50% + 125px);transform:translate(-50%);z-index:150;display:flex;gap:10px;align-items:center;padding:16px 22px;border-radius:12px;background:var(--text);color:var(--surface);box-shadow:var(--shadow);max-width:calc(100vw - 30px);font-size:14px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.boot{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:var(--muted)}.albums-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.album-card{overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:0;text-align:left}.album-card:hover{box-shadow:var(--shadow)}.album-cover{display:block;width:100%;padding:0;overflow:hidden;aspect-ratio:4 / 3;position:relative;height:auto;background:var(--accent-soft);color:var(--accent)}.album-cover>img{display:block;width:100%;height:100%;object-fit:cover}.album-cover-empty{height:100%;display:flex;align-items:center;justify-content:center}.album-cover-empty>span{position:absolute;top:20px;right:25px;font-size:45px;opacity:.5}.album-cover-badge{position:absolute;bottom:12px;left:12px;display:flex;gap:5px;background:#162336cc;color:#fff;font-size:12px;border-radius:5px;padding:6px 8px}.album-info{padding:20px}.album-info h3{font-size:20px;margin-bottom:8px}.album-info>span{color:var(--muted);font-size:13px}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.media-card{border:1px solid var(--border);border-radius:11px;overflow:hidden;min-width:0;background:var(--surface)}.media-cover{display:block;height:210px;width:100%;padding:0;background:var(--surface-soft)}.media-cover img{width:100%;height:100%;object-fit:cover}.media-placeholder{width:100%;height:100%;min-height:65px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:var(--surface-soft);color:var(--muted)}.media-placeholder small{font-size:12px}.media-card-caption{position:relative;padding:16px 42px 16px 16px}.media-card-caption>strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card-caption>small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.media-card-caption>.icon-button{position:absolute;top:9px;right:7px}.viewer{background:#10151e;display:flex;align-items:center;justify-content:center;border-radius:10px;overflow:hidden;min-height:180px}.viewer img,.viewer video{max-width:100%;max-height:65dvh;object-fit:contain}.viewer audio{width:100%;margin:36px}.viewer-meta{display:flex;gap:15px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:13px;margin:18px 0}.viewer-meta>span{display:flex;align-items:center;gap:5px}.viewer-meta>.button{margin-left:auto}.viewer-actions{margin:20px 0}.inline-form{display:flex;gap:10px;margin:20px 0}.inline-form input{flex:1;min-width:0}.album-media{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.album-media .media-cover{height:160px}.media-picker{margin:20px 0;background:var(--surface-soft);padding:18px;border-radius:10px}.picker-item{position:relative;padding:0;border-radius:8px;overflow:hidden;background:var(--surface);text-align:left}.picker-item>img,.picker-item>.media-placeholder{height:120px;width:100%;object-fit:cover}.picker-item>span{display:block;font-size:12px;padding:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.picker-item>svg{position:absolute;top:7px;right:7px;border-radius:50%;background:var(--accent);color:var(--on-accent);padding:3px}.share-list{margin:20px 0}.share-row{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--border);font-size:14px}.share-row strong,.share-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.share-row .custom-select{width:105px}.share-row>span small{display:block;color:var(--muted);margin-top:4px}.settings-profile{display:flex;gap:16px;align-items:center;margin-bottom:26px}.settings-profile .avatar{height:56px;width:56px;font-size:22px}.settings-profile h3,.settings-profile p{margin-bottom:5px}.settings-section{padding:24px 0;border-top:1px solid var(--border)}.settings-section h3{font-size:19px}.invite-result{display:flex;gap:12px;margin-top:18px}.invite-result input{min-width:0;font-size:12px}.small-text{font-size:13px;color:var(--muted)}.offline-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.offline-summary>div{background:var(--accent-soft);border:1px solid var(--border);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:9px}.offline-summary strong{color:var(--accent);font-family:Manrope Variable,sans-serif;font-size:32px}.offline-summary span{color:var(--muted);font-size:13px}.offline-row{display:flex;align-items:center;gap:16px;border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:18px;margin-bottom:12px}.offline-icon{width:42px;height:42px;border-radius:9px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center}.offline-row>.card-open{flex:1}.offline-row strong{font-size:15px}.offline-row small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.offline-dot{display:flex;gap:6px;align-items:center;color:var(--accent);font-size:12px}.conflict-banner{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--amber);border-radius:9px;background:var(--amber-soft);color:var(--amber);padding:16px;text-align:left;margin-bottom:22px;font-size:14px}.conflict-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:24px;margin-bottom:20px}.conflict-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.conflict-columns>div{background:var(--surface-soft);border-radius:9px;padding:18px;min-width:0}.conflict-columns pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;line-height:1.7;color:var(--muted);max-height:300px;overflow:auto}.vault-lock{max-width:500px;margin:42px auto;text-align:center}.vault-emblem{width:85px;height:85px;border-radius:24px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;margin:0 auto 25px}.vault-lock h2{font-size:30px}.vault-lock>p{color:var(--muted);font-size:15px}.vault-lock form{max-width:350px;margin:28px auto}.vault-lock label{text-align:left}.vault-lock form>.text-button{margin-top:15px}.vault-assurance{display:block;color:var(--muted);font-size:12px;line-height:1.8}.vault-assurance svg{vertical-align:middle;margin-right:6px}.recovery-banner{border:1px solid var(--amber);background:var(--amber-soft);color:var(--amber);border-radius:10px;padding:24px;display:flex;gap:16px;margin-bottom:30px}.recovery-banner p{font-size:14px;margin:8px 0 14px}.recovery-banner code{display:block;overflow-wrap:anywhere;background:var(--surface);border-radius:7px;padding:12px;font-size:14px;margin-bottom:16px}.vault-card{border-top-color:var(--accent)}.vault-files{margin-bottom:20px}.auth{display:grid;grid-template-columns:1.1fr 1fr;min-height:100dvh;max-width:1120px;margin:0 auto;padding:0 48px 60px;column-gap:72px;align-items:center}.auth-header{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;padding:28px 0 44px;align-self:start}.auth-summary{align-self:center}.auth-summary h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(36px,4vw,50px);letter-spacing:-.035em;line-height:1.2;margin:20px 0 24px}.auth-summary>p{color:var(--muted);font-size:17px;max-width:430px}.auth-features{display:flex;flex-direction:column;gap:18px;margin-top:35px;color:var(--accent);font-size:14px}.auth-features span{display:flex;align-items:center;gap:12px}.auth-form{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:36px;box-shadow:none}.auth-form h2{font-size:28px;margin-bottom:12px}.auth-form p.muted{margin-bottom:28px}.auth-form form .button{margin-top:6px;justify-content:space-between}.auth-switch{display:block;margin:24px auto 0}.auth-footnote{text-align:center;font-size:12px;color:var(--muted);margin:28px 0 0}.note-modal{width:1100px!important;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);padding:28px 36px}.note-document{max-width:820px;margin:0 auto;color:var(--text);line-height:1.85;overflow-wrap:anywhere}.note-document p{margin:0 0 1.1em}.note-document h1,.note-document h2,.note-document h3{margin-top:1.4em;line-height:1.35}.note-document ul,.note-document ol{padding-left:1.6em}.note-document blockquote{border-left:3px solid var(--accent);margin-left:0;padding:4px 0 4px 20px;color:var(--muted)}.note-document a{color:var(--accent);text-decoration:underline}.note-document code{background:var(--surface-soft);border-radius:4px;padding:3px 5px}.note-document pre{background:var(--surface-soft);padding:18px;border-radius:8px;overflow-x:auto}.note-document img{max-width:100%;border-radius:8px}.note-rich-editor{min-height:330px;padding:24px;border:1px solid var(--border);border-radius:10px;background:var(--surface-raised);font-size:18px;line-height:1.85;outline:none;overflow-wrap:anywhere}.note-rich-editor:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.note-rich-editor p{margin-bottom:1em}.note-format-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:10px;background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;margin-bottom:20px}.note-format-toolbar button{min-height:34px;border-radius:6px;padding:6px 10px;font-size:13px}.note-format-toolbar button:hover{background:var(--surface-raised)}.note-format-toolbar [aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.note-format-toolbar .custom-select{width:auto;min-width:130px}.note-reading-title{font-size:clamp(32px,4vw,48px);line-height:1.25;margin:20px auto;max-width:820px;overflow-wrap:anywhere}.note-reading-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:14px;color:var(--muted);margin:16px auto 32px;max-width:820px}.note-reading-meta>span{display:flex;align-items:center;gap:6px}.note-file-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.note-reader{font-family:var(--note-reading-font, "Golos Text Variable", sans-serif);font-size:var(--note-reading-size, 19px)}.note-reading-surface{max-width:72ch;margin:0 auto;font-family:var(--note-reading-font, Georgia, serif);font-size:var(--note-reading-size, 19px);padding:8px 0 32px}.note-reading-tags{display:flex;flex-wrap:wrap;gap:7px;max-width:820px;margin:25px auto 0}.note-file-actions{justify-content:space-between}.note-file-actions .custom-select{width:190px}.note-metadata{margin-top:26px}.note-link-editor{display:flex;flex-wrap:wrap;gap:12px;align-items:end;background:var(--accent-soft);padding:16px;border-radius:9px;margin-bottom:16px}.note-link-editor label{flex:1;margin:0;min-width:200px}.note-link-editor>.error{width:100%;margin:0}.note-editor-surface{margin-bottom:24px}.note-rich-editor>:first-child{margin-top:0}.note-rich-editor>:last-child{margin-bottom:0}.note-rich-editor h1{font-size:32px}.note-rich-editor h2{font-size:27px}.note-rich-editor h3{font-size:23px}.mobile-menu,.sidebar-scrim{display:none}@media(max-width:1180px){.notes-grid,.albums-grid,.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:30px 26px 40px}.topbar{padding:0 26px}.auth{column-gap:40px;padding-left:32px;padding-right:32px}.private-indicator{display:none}}@media(max-width:800px){.sidebar{transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:translate(0)}.sidebar-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:19;background:#101a2b88;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.main-area{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 18px}.breadcrumb,.topbar-right{gap:7px}.content{padding:28px 20px 40px}.content-heading{gap:15px}.toast{left:50%}.page-footer{padding:20px}.auth{column-gap:28px}.auth-form{padding:26px}.auth-summary h1{font-size:38px}.auth-features{font-size:12px}.album-media{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.topbar{padding:0 10px}.breadcrumb{font-size:12px}.breadcrumb>svg:first-of-type,.topbar-right .avatar{display:none}.content{padding:25px 16px 36px}.content-heading{flex-wrap:wrap;align-items:flex-start;margin-bottom:22px}.content-heading>.button,.content-heading>.file-button{width:100%}.content-heading>.toolbar-actions{width:100%}.content-heading>.toolbar-actions>.button.primary{flex:1}.content-heading p{font-size:14px}.filters{flex-wrap:wrap;gap:10px}.search-input{flex-basis:100%}.filter-select,.kind-filter{margin-left:auto}.filter-chips{gap:8px}.filter-chips label{flex:1;max-width:calc(50% - 4px)}.filter-chips label:last-of-type{flex-basis:100%;max-width:100%}.filter-chips input{min-width:0;width:100%}.filter-chips input[type=date]{flex:1}.results-label>span:last-child{font-size:10px}.notes-grid{grid-template-columns:1fr;gap:14px}.note-card{padding:21px}.albums-grid,.media-grid{gap:12px}.album-cover,.media-cover{height:150px}.album-info{padding:15px}.album-info h3{font-size:17px}.media-card-caption{padding:12px 34px 12px 12px}.media-card-caption>strong{font-size:12px}.media-card-caption>small{font-size:11px}.media-card-caption .icon-button{padding:4px;min-width:26px}.modal{padding:20px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 20px)}.modal-header{margin-bottom:20px}.modal-header h2{font-size:21px}.modal-footer{flex-wrap:wrap;gap:12px}.footer-right{margin-left:auto}.form-grid{grid-template-columns:1fr;gap:0}.note-modal{padding:20px;width:calc(100vw - 12px)!important;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.note-reading-title{font-size:32px}.note-rich-editor{padding:16px;min-height:300px}.title-input{font-size:26px}.attachment{width:88px;height:78px}.inline-form{flex-wrap:wrap}.inline-form .button{width:100%}.album-media{grid-template-columns:repeat(2,minmax(0,1fr))}.album-media .media-cover{height:140px}.media-picker{padding:12px}.viewer-meta>.button{margin-left:0}.offline-summary{gap:8px}.offline-summary>div{padding:17px 12px}.offline-summary strong{font-size:26px}.offline-summary span{font-size:11px}.offline-row{padding:13px 10px;gap:10px;flex-wrap:wrap}.offline-dot{font-size:11px}.conflict-columns{grid-template-columns:1fr}.conflict-card{padding:18px}.notice,.offline-banner,.upload-progress{align-items:flex-start;flex-wrap:wrap;font-size:13px;padding:14px}.share-row{gap:7px;font-size:12px}.share-row .custom-select{width:90px}.share-row .select-trigger{font-size:12px;padding:9px}.share-row .text-button{font-size:12px}.page-footer>span:last-child{display:none}.auth{grid-template-columns:1fr;gap:0;padding:0 20px 30px}.auth-header{padding:22px 0 36px}.auth-summary{margin-bottom:25px}.auth-summary h1{font-size:34px;margin:12px 0 15px}.auth-summary>p{font-size:15px;margin-bottom:0}.auth-features{display:none}.auth-form{padding:25px}.auth-form h2{font-size:25px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.filters>.search-input{flex:1 1 280px;min-width:min(100%,240px)}.search-input input{min-width:0;width:100%;flex:1}.search-input>svg{flex-shrink:0}.filters{flex-wrap:wrap}.filters>.select{flex:0 1 210px}.favorite-button.selected{color:var(--accent)}.album-info>.favorite-button{float:right}.note-page-open>.sidebar,.note-page-open>.main-area,.note-page-open>.sidebar-scrim{display:none}@media(max-width:800px){.topbar{position:sticky;top:0;z-index:15;flex-shrink:0;padding-top:env(safe-area-inset-top);min-height:calc(60px + env(safe-area-inset-top))}}.sidebar .new-workspace{margin:8px 0 20px;padding:8px 12px;justify-content:flex-start}.vault-type-filter{margin-bottom:20px;max-width:240px}.vault-media-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 16px}.vault-card .card-open p:empty{display:none}.vault-lock>.danger{margin-top:18px}.workspace-actions{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:8px 0 20px}.sidebar .workspace-actions .new-workspace{margin:0;padding-left:10px}.media-album-filter{max-width:360px;margin-bottom:14px}.photo-upload-option{display:flex;flex-direction:row;align-items:flex-start;gap:10px;margin:0 0 18px;max-width:620px;cursor:pointer}.photo-upload-option input{width:18px;height:18px;flex-shrink:0;margin:3px 0 0;accent-color:var(--accent)}.photo-upload-option>span{display:block;min-width:0}.photo-upload-option strong{display:block;font-size:13px}.photo-upload-option small{display:block;font-weight:400;color:var(--muted);font-size:12px;line-height:1.5;margin-top:3px}.route-unavailable{max-width:640px;margin:12vh auto;padding:24px}.nav-item{text-decoration:none}.mobile-bottom-nav{display:none}.shared-workspace-notice{margin-bottom:20px;padding:0 2px 14px;border-bottom:1px solid var(--border)}.shared-workspace-notice p{margin:0 0 6px;color:var(--muted);font-size:13px;line-height:1.6}.shared-workspace-notice .text-button{justify-content:flex-start;max-width:100%;font-size:13px;text-align:left}.archive-drop-target{min-height:60dvh}.filter-toggle{min-width:42px}.filter-active-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}[hidden]{display:none!important}.notebook-layout .content{margin:0;padding:24px 14px;width:var(--notebook-list-width);border-right:1px solid var(--border);min-height:calc(100dvh - 64px)}.notebook-layout>.main-area>.topbar{position:sticky;top:0;z-index:15}.notebook-layout .content-heading{margin-bottom:22px;gap:10px}.notebook-layout .content-heading h1{font-size:22px;margin:0}.notebook-layout .content-heading .eyebrow,.notebook-layout .content-heading p,.notebook-layout .page-footer,.notebook-layout .results-label>span:last-child{display:none}.notebook-layout .content-heading .button{padding:8px 10px;min-height:36px;font-size:12px}.notebook-layout .filters{gap:8px;flex-wrap:wrap}.notebook-layout .search-input{flex-basis:calc(100% - 50px);min-width:0;background:var(--surface)}.notebook-layout .search-input input{font-size:13px;padding:9px 0}.notebook-layout .filter-toggle{padding:8px}.notebook-layout .filter-toggle>span:first-of-type{display:none}.notebook-layout .filter-select{margin-left:0;width:100%}.notebook-layout .filter-select .custom-select{flex:1}.notebook-layout .filter-select .select-trigger{background:transparent;border-color:transparent;padding:5px 0;min-height:32px;font-size:12px}.notebook-layout .filter-chips{display:grid;grid-template-columns:1fr}.notebook-layout .filter-chips label{width:100%;max-width:none;min-width:0}.notebook-layout .filter-chips input{width:100%;min-width:0}.notebook-layout .results-label{margin:14px 8px 12px;font-size:12px}.notebook-layout .notes-grid{grid-template-columns:minmax(0,1fr);gap:5px}.notebook-layout .note-card{border:0;border-radius:7px;padding:14px 12px 8px;background:transparent;transition:background .12s;min-height:0}.notebook-layout .note-card .card-open{flex:none}.workspace-actions .new-workspace{font-size:12px;white-space:nowrap}.sidebar .workspace-actions .new-workspace{padding:8px 4px}.notebook-layout .note-card:hover,.notebook-layout .note-card.selected{transform:none;box-shadow:none;background:var(--accent-soft)}.notebook-layout .card-open h3{font-family:inherit;font-weight:550;letter-spacing:-.01em;font-size:14px;line-height:1.45;margin-bottom:5px;overflow-wrap:anywhere}.notebook-layout .card-open p{font-size:12px;line-height:1.65;margin-bottom:5px;-webkit-line-clamp:2}.note-list-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;flex-wrap:wrap}.note-list-meta>span{display:flex;align-items:center;gap:4px}.note-list-meta .favorite-button{margin-left:auto;min-width:30px;min-height:30px}.notebook-layout .empty{background:transparent;border:0;padding:30px 10px}.notebook-layout .empty-symbol{display:none}.notebook-layout .empty h3{font-size:17px}.notebook-layout .empty p{font-size:13px}.notebook-welcome{position:fixed;inset:64px 0 0 calc(var(--sidebar-width) + var(--notebook-list-width));background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;padding:36px}.notebook-welcome>svg{color:var(--accent);margin-bottom:4px}.notebook-welcome h2{font-family:Georgia,serif;font-size:clamp(28px,3vw,38px);font-weight:400;letter-spacing:-.03em;margin:0}.notebook-welcome p{color:var(--muted);font-size:15px;margin:0 0 10px}.notebook-welcome small{font-size:12px;color:var(--muted)}.notebook-layout:not(.note-page-open)>.modal.note-page{inset:64px 0 0 calc(var(--sidebar-width) + var(--notebook-list-width));width:auto!important;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);z-index:10;--note-page-top-padding: 24px;padding:var(--note-page-top-padding) 24px 0;background:var(--surface)}.notebook-layout .modal.note-modal>.modal-header{margin-bottom:12px}.notebook-layout .modal.note-modal .note-writing-document{border:0;background:transparent}.notebook-layout .modal.note-modal .note-writing-document:focus-within{border:0}.notebook-layout .modal.note-modal .title-label{padding:20px 0 16px}.notebook-layout .modal.note-modal .title-input,.modal.note-modal .note-reading-title{font-family:Georgia,serif;font-weight:400;letter-spacing:-.025em}.notebook-layout .modal.note-modal .note-rich-editor{padding:22px 0;font-size:17px;line-height:1.85;min-height:40dvh}.note-rich-editor>p:first-child:last-child:empty:before{content:"Start writing, or capture an idea with your voice…";color:var(--muted);pointer-events:none;float:left;height:0}.notebook-layout .modal.note-modal .note-format-toolbar{flex-wrap:wrap;padding:6px 0;border-top:0;background:transparent}.notebook-layout .modal.note-modal .note-file-actions{border-bottom:0}.notebook-layout .modal.note-modal .note-visible-reading-controls{flex-wrap:wrap}.note-reading-options{position:relative;font-size:12px;color:var(--muted)}.note-reading-options>summary{padding:8px 0;cursor:pointer}.modal.note-modal .note-reading-options .note-visible-reading-controls{position:absolute;top:calc(100% + 8px);left:0;z-index:12;display:grid;gap:12px;min-width:230px;padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--surface-raised);box-shadow:var(--shadow)}.modal.note-modal .note-reading-options .note-visible-reading-controls label{justify-content:space-between}.notebook-layout .modal.note-modal .modal-footer{position:sticky;bottom:0;background:var(--surface);padding:14px 0 max(14px,env(safe-area-inset-bottom));z-index:4;margin-top:18px}.notebook-layout .modal.note-modal .note-utility-actions{flex-wrap:wrap}@media(max-width:1100px)and (min-width:801px){:root{--sidebar-width: 190px;--notebook-list-width: 270px}.sidebar .brand{font-size:21px}.notebook-layout:not(.note-page-open)>.modal.note-page{--note-page-top-padding: 20px;padding:var(--note-page-top-padding) 24px 0}}@media(max-width:800px){.main-area{padding-bottom:calc(66px + env(safe-area-inset-bottom))}.notebook-layout .content{width:100%;border-right:0;padding:22px 16px;min-height:auto}.notebook-layout .content-heading .button{min-height:42px;font-size:14px;padding:10px 14px;width:auto}.notebook-layout .content-heading{flex-wrap:nowrap}.notebook-layout .filter-select{width:auto;margin-left:auto}.notebook-layout .notes-grid{gap:8px}.notebook-layout .note-card{padding:16px;background:var(--surface)}.notebook-layout .card-open h3{font-size:16px}.notebook-layout .card-open p{font-size:14px}.notebook-welcome{display:none}.mobile-bottom-nav{display:flex;position:fixed;inset:auto 0 0;z-index:16;justify-content:space-around;padding:6px 8px max(6px,env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border)}.mobile-bottom-nav :is(button,a){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:60px;min-height:48px;color:var(--muted);font-size:11px;border-radius:7px}.mobile-bottom-nav :is(button,a)[aria-current]{color:var(--accent);background:var(--accent-soft)}.notebook-layout.notebook-open>.main-area,.notebook-layout.notebook-open>.sidebar{display:none}.notebook-layout:not(.note-page-open)>.modal.note-page{top:0;right:0;bottom:0;left:0;height:100dvh;max-height:100dvh;--note-page-top-padding: max(12px, env(safe-area-inset-top));padding:var(--note-page-top-padding) 16px 0;z-index:18}.notebook-layout .modal.note-modal .note-format-toolbar{flex-wrap:nowrap}.notebook-layout .modal.note-modal .note-format-buttons{display:flex;overflow-x:auto;flex:1;min-width:0}.notebook-layout .modal.note-modal .note-rich-editor{min-height:42dvh;padding:16px 0}}@media(pointer:coarse){.icon-button,.text-button,.nav-item{min-width:44px;min-height:44px}input,textarea,select{font-size:max(16px,1em)}}@media(max-width:1000px)and (max-height:500px){.notebook-layout.notebook-open>.main-area,.notebook-layout.notebook-open>.sidebar{display:none}.notebook-layout:not(.note-page-open)>.modal.note-page{top:0;right:0;bottom:0;left:0;height:100dvh;max-height:100dvh;--note-page-top-padding: 10px;padding:var(--note-page-top-padding) 16px 0;z-index:18}}.note-document ul[data-type=taskList]{list-style:none;padding-left:0}.note-document li[data-type=taskItem]{display:flex;align-items:flex-start;gap:.7rem;margin-block:.45rem}.note-document li[data-type=taskItem]>label{flex:0 0 auto;display:inline-flex;align-items:center;min-height:1.8em}.note-document li[data-type=taskItem] input[type=checkbox]{width:1.1rem;height:1.1rem;margin:0;accent-color:var(--accent);cursor:pointer}.note-document li[data-type=taskItem] input:disabled{cursor:default}.note-document li[data-type=taskItem]>div{flex:1;min-width:0}.note-document li[data-type=taskItem]>div>p{margin-block:0}.note-document li[data-type=taskItem][data-checked=true]>div>p{color:var(--muted);text-decoration:line-through}.note-document li[data-type=taskItem] ul[data-type=taskList]{margin-block:.6rem 0}
