:root{--ink: #25211d;--muted: #6f6860;--paper: #f7f4ef;--panel: #ffffff;--line: #e2ddd4;--teal: #1f463f;--teal-soft: #dcebe7;--amber: #b86e20;--scratch: #fff4b8;--scratch-ink: #4a3d18;--danger: #a6435b;--shadow: 0 14px 36px rgba(40, 34, 28, .12);--nav-height: 64px;--safe-bottom: env(safe-area-inset-bottom, 0px);--font-ui: "DM Sans", ui-sans-serif, system-ui, sans-serif;--font-display: "Source Serif 4", Georgia, serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:var(--ink);background:radial-gradient(circle at top left,rgba(31,70,63,.08),transparent 36%),linear-gradient(180deg,#efe8dc 0%,var(--paper) 280px);font-family:var(--font-ui);overflow-x:hidden}#app,.app-root{max-width:100%;min-width:0;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}#app{min-height:100vh}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.status-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--teal-soft);color:var(--teal);font-size:.8rem;font-weight:600}.primary-btn,.secondary-btn,.ghost-btn{border:0;border-radius:12px;padding:10px 14px;font-weight:600}.primary-btn{background:var(--teal);color:#fff}.secondary-btn{background:#efe8dc;color:var(--ink)}.ghost-btn{background:transparent;color:var(--muted)}.icon-btn{width:40px;height:40px;border:0;border-radius:999px;background:transparent;color:var(--ink);display:grid;place-items:center;font-size:1.1rem}.icon-btn:hover,.ghost-btn:hover,.secondary-btn:hover{background:#1f463f14}.home-search-form{position:relative;width:100%;margin:0}.home-search-submit{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.search-field{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.search-field input{flex:1;border:0;outline:0;background:transparent;min-width:0;padding:10px 0}.search-field input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.empty-state{padding:28px 8px;color:var(--muted);text-align:center}.empty-state h3{margin:0 0 8px;font-family:var(--font-display);color:var(--ink)}.app-root{min-height:100vh}.desktop-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.desktop-sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;border-right:1px solid var(--line);background:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);overflow:auto}.brand-block{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;margin-bottom:24px}.brand-mark{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--teal);color:#fff;font-weight:800}.brand-block h1{margin:0;font-family:var(--font-display);font-size:1.35rem}.brand-block p{margin:2px 0 0;color:var(--muted);font-size:.85rem}.side-nav{display:grid;gap:6px}.side-nav button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:12px;padding:11px 12px;background:transparent;text-align:left;color:var(--ink);font-weight:600}.side-nav button.active,.side-nav button:hover{background:var(--teal-soft);color:var(--teal)}.desktop-main{min-width:0;padding:20px 24px 40px}.desktop-topbar{display:flex;gap:12px;align-items:center;margin-bottom:18px}.desktop-topbar .notes-find-chrome{flex:1;min-width:0}.mobile-shell{min-height:100vh;padding-bottom:calc(var(--nav-height) + var(--safe-bottom) + 18px);max-width:100%;min-width:0;overflow-x:clip}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 4px}.mobile-header-actions{display:flex;gap:4px;align-items:center}.avatar{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;background:var(--teal);color:#fff;font-weight:700}.mobile-content{padding:0 16px 24px;max-width:100%;min-width:0;overflow-x:clip;box-sizing:border-box}.mobile-shell.is-editor .mobile-header,.mobile-shell.is-editor .fab{display:none}.mobile-shell.is-editor .mobile-content{padding-top:4px}.bottom-nav{position:fixed;left:12px;right:12px;bottom:calc(10px + var(--safe-bottom));height:var(--nav-height);display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px;border:1px solid var(--line);border-radius:22px;background:#fffffff0;box-shadow:var(--shadow);z-index:20}.bottom-nav button{border:0;border-radius:16px;background:transparent;color:var(--muted);display:grid;gap:2px;place-items:center;font-size:.7rem;font-weight:600}.bottom-nav button span.icon{font-size:1.15rem;line-height:1}.bottom-nav button.active{background:#1f463f1f;color:var(--teal)}.fab{position:fixed;right:22px;bottom:calc(var(--nav-height) + var(--safe-bottom) + 24px);width:56px;height:56px;border:0;border-radius:999px;background:var(--teal);color:#fff;font-size:1.5rem;box-shadow:var(--shadow);z-index:21}.create-note-wrap:has(.fab){position:fixed;right:22px;bottom:calc(var(--nav-height) + var(--safe-bottom) + 24px);z-index:21}.create-note-wrap:has(.fab) .fab{position:static}.desktop-shell .fab{display:none}@media(max-width:860px){.desktop-shell{display:none}}@media(min-width:861px){.mobile-shell{display:none}}.home-date{margin:8px 0 4px;color:var(--muted);font-family:var(--font-display);font-size:1.05rem}.home-title{margin:0 0 16px;font-family:var(--font-display);font-size:clamp(1.8rem,4vw,2.4rem);line-height:1.1}.day-date-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px}.day-date-picker{flex:1;min-width:140px}.day-date-picker input[type=date]{width:100%;min-height:40px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font:inherit}.connectivity-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.status-chip.online{background:#2f6a5d24;color:#1f463f}.status-chip.offline{background:#b0562024;color:#8a5a2b}.quick-actions{display:none}.create-note-wrap{position:relative;display:inline-flex;align-items:center;flex-shrink:0}.create-note-wrap--split{border:1px solid var(--line);border-radius:12px;background:#ffffffb8}.create-note-wrap--split .create-note-primary,.create-note-wrap--split .capture-sheet-btn{width:auto;min-width:36px;height:36px;border-radius:0;color:var(--teal)}.create-note-wrap--split .create-note-primary{padding:0 8px 0 10px;border-radius:11px 0 0 11px}.create-note-wrap--split .capture-sheet-btn{min-width:28px;padding:0 8px 0 4px;border-left:1px solid rgba(31,70,63,.12);border-radius:0 11px 11px 0;opacity:.85}.create-note-wrap--split .create-note-menu{z-index:80}.create-note-wrap--split:hover,.create-note-wrap--split.is-open{background:#1f463f14;border-color:#1f463f38}.create-note-wrap--split .create-note-primary:hover,.create-note-wrap--split .capture-sheet-btn:hover{background:transparent}.capture-sheet-btn{font-size:.75rem;min-width:28px;padding:0 4px}.home-command-modes{display:flex;gap:6px;margin:8px 0 0}.home-command-modes .secondary-btn.is-active{background:#1f463f24;border-color:#1f463f59}.home-search-form--compact{margin:0 0 10px}.search-field--command{min-height:36px;padding:0 6px 0 10px;gap:6px;border-radius:999px}.search-field--command input{padding:6px 0;font-size:.95rem}.home-clear-btn{flex:0 0 auto;width:24px;height:24px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:1.1rem;line-height:1;cursor:pointer}.home-mode-toggle{display:inline-flex;align-items:center;gap:1px;padding:2px;border-radius:999px;background:#1f463f1f;flex:0 0 auto}.home-mode-btn{width:28px;height:28px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:.85rem;line-height:1;cursor:pointer}.home-mode-btn.is-active{background:#fff;color:var(--ink);box-shadow:0 1px 2px #00000014}.home-view--phone .day-date-nav{gap:6px;margin:0 0 4px}.home-view--phone .home-title{margin:0 0 4px;font-size:clamp(1.35rem,5vw,1.7rem)}.home-view--phone .home-date{margin:0 0 8px;font-size:.92rem}.home-view--phone .connectivity-row{margin:0 0 8px}.home-view--phone .day-date-picker input[type=date]{min-height:34px;padding:4px 8px}.today-layout--split{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:18px;align-items:start;min-height:0}.today-center{min-width:0}.today-inspector{display:none;position:sticky;top:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);max-height:calc(100vh - 48px);overflow:auto}.today-layout--split .today-inspector{display:block}.today-mode-tabs{display:flex;gap:6px;margin:0 0 12px}.today-mode-tabs .secondary-btn.is-active{background:#1f463f24;border-color:#1f463f59}.today-now-next{margin:0 0 14px;padding:12px;border-radius:14px;background:#1f463f1a}.today-now-next h3{margin:2px 0 4px}.today-timeline{display:flex;flex-direction:column;gap:0}.today-timeline-row{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;align-items:stretch}.today-timeline-rail{position:relative;display:flex;justify-content:center}.today-timeline-rail:before{content:"";position:absolute;top:14px;bottom:-8px;width:2px;background:#1f463f33}.today-timeline-row:last-child .today-timeline-rail:before{display:none}.today-timeline-dot{width:8px;height:8px;margin-top:10px;border-radius:50%;background:var(--teal, #2f6a5d);z-index:1}.today-meeting-hit{display:block;width:100%;text-align:left;border:0;background:transparent;padding:0;cursor:pointer;color:inherit;font:inherit}.today-meeting-card.is-selected{outline:2px solid rgba(31,70,63,.35)}.today-sheet{border:1px solid var(--line);border-radius:16px;padding:16px;max-width:min(520px,94vw);width:100%}.today-sheet::backdrop{background:#141e1c59}.today-sheet-form{display:flex;flex-direction:column;gap:12px}.today-inspector-body h3{margin:0 0 6px}.today-inspector-body h4{margin:14px 0 6px;font-size:.95rem}.desktop-shell.is-today-split .desktop-main{display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden;box-sizing:border-box}.desktop-shell.is-today-split [data-main]{flex:1;min-height:0;overflow:auto}@media(max-width:1100px){.today-layout--split{grid-template-columns:1fr}.today-layout--split .today-inspector{position:static;max-height:none}}@media(max-width:860px){.today-inspector{display:none!important}}.today-agenda{margin:0 0 18px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.today-meeting-card{margin:10px 0 0;padding:10px;border-radius:10px;background:#1f463f0d}.today-meeting-card.has-source-color{border-left:4px solid var(--source-accent, transparent);background:color-mix(in srgb,var(--source-accent) 12%,var(--panel, #fff))}.today-inspector-body.has-source-color{border-left:4px solid var(--source-accent, transparent);padding-left:12px}.today-timeline-row .today-meeting-card{margin-top:0;margin-bottom:8px}.today-meeting-card h3{margin:2px 0 4px;font-size:1rem}.today-meeting-card.is-compact{padding:6px 10px}.today-meeting-hit-compact{display:flex;align-items:baseline;gap:8px;width:100%;text-align:left;border:0;background:transparent;padding:0;cursor:pointer}.today-allday-label{flex:0 0 auto;font-size:.8rem;font-weight:400;color:var(--muted, #667)}.today-allday-title{flex:1 1 auto;font-size:.95rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.today-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.today-related{margin:8px 0 0;padding-left:18px}.today-related li{margin:0 0 4px}.today-due-block,.today-open-block{margin-top:14px}.today-due-block h3,.today-open-block h3{margin:0 0 6px;font-size:.95rem}.today-due-row,.today-open-gap,.today-focus-suggestion{margin:0 0 8px;padding:8px;border-radius:8px;background:#b0562014}.today-open-gap,.today-focus-suggestion{background:#2f6a5d14}.chat-context-panel{margin-top:8px}.chat-context-toggle.is-desktop-inline{display:none}.chat-context-body{margin-top:8px}.chat-send-row{margin-top:8px;justify-content:flex-end}.chat-voice-btn{margin-right:auto}.chat-voice-btn.is-live{background:#b428281f;color:#8a1f1f}.chat-voice-btn.is-live:before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:999px;background:#c0392b;box-shadow:0 0 #c0392b99;animation:chat-voice-pulse 1.4s ease-out infinite}@keyframes chat-voice-pulse{0%{box-shadow:0 0 #c0392b73}to{box-shadow:0 0 0 8px #c0392b00}}@media(max-width:860px){.chat-context-toggle{display:inline-flex}}.create-note-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:40;display:grid;gap:2px;min-width:11.5rem;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fffffffa;box-shadow:var(--shadow)}.fab+.create-note-menu,.create-note-wrap:has(.fab) .create-note-menu{right:0;bottom:calc(100% + 8px);top:auto}.create-note-menu.hidden{display:none}.create-note-menu button{border:0;border-radius:10px;background:transparent;text-align:left;padding:10px 12px;font-weight:600;color:var(--text)}.create-note-menu button:hover,.create-note-menu button:focus-visible{background:#2f6a5d1a}.home-recent{margin:18px 0 8px}.home-recent-list{margin-top:8px}.scratchpad-prominent textarea{min-height:240px}.quick-card{border:0;border-radius:18px;min-height:88px;padding:16px;text-align:left;color:#fff;font-weight:700;box-shadow:var(--shadow)}.quick-card.note{background:linear-gradient(145deg,#1f463f,#2f6a5d)}.quick-card.notebook{background:linear-gradient(145deg,#8a5a2b,#b86e20)}.quick-card.photo{background:linear-gradient(145deg,#3d4f6f,#5d7aa8)}.quick-card.file{background:linear-gradient(145deg,#5a4a3a,#8a7055)}.quick-card-wrap{position:relative}.quick-card-wrap .quick-card{width:100%}.capture-menu{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:5;display:grid;gap:4px;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fffffff5;box-shadow:var(--shadow)}.capture-menu.hidden{display:none}.capture-menu button{border:0;border-radius:10px;background:transparent;text-align:left;padding:10px 12px;font-weight:600}.capture-menu button:hover,.capture-menu button:focus-visible{background:#3d4f6f1a}.offline-queue{margin-top:18px}.queue-list,.jobs-list{display:grid;gap:8px;margin-top:10px}.queue-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#ffffffc7}.queue-item-main{min-width:0;flex:1;display:grid;gap:8px}.queue-item-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.queue-item-copy,.jobs-list .queue-item-copy{min-width:0;flex:1}.jobs-list .queue-item-copy strong,.jobs-list .queue-item-copy .meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-item-preview{border-top:1px solid var(--line);padding-top:8px}.queue-item-preview.hidden{display:none}.queue-item-preview-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.92rem;line-height:1.45;color:var(--ink);max-height:240px;overflow:auto}.queue-actions{display:flex;gap:4px;flex-shrink:0}.import-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}.scratchpad{margin-top:8px;border-radius:18px;background:linear-gradient(180deg,#fff8c8,var(--scratch));box-shadow:inset 0 1px #ffffffa6,var(--shadow);overflow:hidden}.scratchpad-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 0}.scratchpad-header h2{margin:0;font-size:1.05rem}.scratchpad textarea{width:100%;min-height:180px;border:0;resize:vertical;padding:12px 16px 16px;background:transparent;color:var(--scratch-ink);outline:0;line-height:1.45}.scratchpad-actions{display:flex;gap:8px;padding:0 16px 16px}.todo-home-card,.trip-home-card,.lists-view{margin:12px 0;padding:12px;border-radius:14px;background:color-mix(in srgb,Canvas 92%,CanvasText 8%)}.todo-slice-nav{display:flex;align-items:center;gap:6px}.todo-check{display:flex;align-items:flex-start;gap:8px;width:100%}.todo-item-done .todo-item-title{text-decoration:line-through;opacity:.65}.todo-add-row{display:flex;gap:8px;margin:10px 0 14px}.todo-add-row input{flex:1;min-width:0;padding:8px 10px;border-radius:8px;border:1px solid color-mix(in srgb,CanvasText 18%,transparent)}.todo-item-actions,.todo-detail-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.trip-plan-row .todo-item-actions>.ghost-btn,.trip-plan-row .todo-item-actions>a.ghost-btn{flex:0 0 auto;white-space:nowrap}.todo-home-row{padding:6px 0;border-bottom:1px solid color-mix(in srgb,CanvasText 10%,transparent)}button.linkish{background:none;border:0;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer}.section-label{margin:8px 0 12px;color:var(--muted);font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.list-panel{background:#ffffffb8;border:1px solid var(--line);border-radius:18px;overflow:hidden}.list-item.has-source-color{border-left:3px solid var(--source-accent, transparent);padding-left:13px}.source-color-dot{display:inline-block;width:.72rem;height:.72rem;border-radius:999px;margin-right:.35rem;vertical-align:-.05rem;box-shadow:inset 0 0 0 1px #0000001f}.accounts-card-head h3,.notebook-name{display:flex;align-items:center;gap:.35rem}.accounts-calendars{margin:10px 0 4px;padding:8px 10px;border:1px solid var(--line, rgba(0, 0, 0, .08));border-radius:10px;background:#1f463f0a}.accounts-calendars-label{margin-bottom:6px;font-weight:600}.accounts-calendar-row{display:flex;align-items:center;gap:8px;padding:4px 0;flex-wrap:nowrap}.accounts-calendar-enable{display:inline-flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0;cursor:pointer}.accounts-calendar-enable input[type=checkbox]{width:auto;max-width:none;flex:0 0 auto;margin:0}.accounts-calendar-enable span{min-width:0;overflow-wrap:anywhere;line-height:1.3}.accounts-color-field,.notebook-color-field{display:inline-flex;align-items:center;gap:.5rem;flex:0 0 auto}.accounts-color-field input[type=color],.notebook-color-field input[type=color]{width:2rem;height:2rem;padding:0;border:1px solid var(--line);border-radius:8px;background:transparent;cursor:pointer}.chat-account-chip.has-source-color{border-left:3px solid var(--source-accent, transparent);padding-left:.45rem}.chat-resource-row.has-source-color{border-left:3px solid var(--source-accent, transparent);padding-left:.5rem}.list-item{width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:14px 16px;display:grid;gap:4px;color:inherit;text-decoration:none;cursor:pointer;box-sizing:border-box}.list-item:last-child{border-bottom:0}.list-item:hover{background:#1f463f0f}.list-item.active,.list-item.active:hover{background:#1f463f29;box-shadow:inset 3px 0 0 var(--source-accent, #1f463f)}.list-item h3{margin:0;font-size:1.05rem;font-weight:700;overflow-wrap:anywhere;word-break:break-word}.list-item p{margin:0;color:var(--muted);font-size:.92rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}.list-item .meta{color:var(--muted);font-size:.8rem}.trash-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.trash-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.notebooks-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:nowrap;margin-bottom:8px}.notebooks-toolbar-actions{display:flex;flex-wrap:nowrap;gap:4px;align-items:center;margin-left:auto}.toggle-inline{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;color:var(--muted);white-space:nowrap}.toggle-inline-label{display:none}@media(min-width:480px){.toggle-inline-label{display:inline}}.notebook-list-item{display:flex;flex-direction:column;align-items:stretch;gap:8px}.notebook-name{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:1.05rem;line-height:1.35;font-weight:650;overflow-wrap:anywhere;word-break:normal}.notebook-name>span:first-child{min-width:0;flex:1}.notebook-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}.notebook-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;min-width:0}.notebook-actions .notebook-emoji{flex:0 0 auto;font-size:1.05rem;line-height:1}.notebook-actions .count{flex:0 0 auto;color:var(--muted);font-weight:600;min-width:1.5ch}.notebook-collection-select{flex:1 1 auto;min-width:0;max-width:none;font-size:.85rem}.share-icon{display:inline-flex;color:var(--muted);vertical-align:middle}.offline-icon{display:inline-flex;color:var(--muted);vertical-align:middle;flex:0 0 auto}.offline-icon--active,.ghost-btn.is-active .offline-icon{color:var(--accent, #1f6b4f)}.note-list-title{display:flex;align-items:flex-start;gap:6px;margin:0}.note-list-title>span:first-child{min-width:0;flex:1}.editor-offline-toggle{white-space:nowrap}.editor-offline-hint{margin:0 0 8px}.collection-header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 4px 6px;border-top:1px solid rgba(37,33,29,.08)}.collection-header:first-child{border-top:0;padding-top:4px}.collection-header-title{display:flex;align-items:baseline;gap:8px}.collection-header-actions{display:flex;gap:4px}.collection-empty{padding:4px 8px 10px}.modal-backdrop{position:fixed;inset:0;background:#25211d66;z-index:60;display:grid;place-items:center;padding:16px}.modal-card{width:min(520px,100%);background:var(--panel);border-radius:18px;padding:16px;box-shadow:var(--shadow);max-height:85vh;overflow:auto}.share-modal-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.share-modal-header h2{margin:0 0 4px;font-family:var(--font-display);font-size:1.25rem}.share-form{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:16px}@media(min-width:640px){.share-form{grid-template-columns:1.4fr 1fr auto}}.share-member-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-top:1px solid rgba(37,33,29,.08)}.share-member-actions{display:flex;gap:6px;align-items:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.notebook-delete.icon-only{min-width:36px;padding:8px;font-size:1.05rem;line-height:1}.notebook-open{border:0;background:transparent;text-align:left;padding:0;width:100%;color:inherit;cursor:pointer}.notebook-open:focus-visible{outline:2px solid var(--accent, #1f463f);outline-offset:2px;border-radius:6px}.filters-sheet{position:fixed;inset:0;background:#25211d59;z-index:40;display:grid;align-items:end}.filters-sheet.hidden{display:none}.filters-panel{background:var(--panel);border-radius:20px 20px 0 0;padding:16px 16px calc(20px + var(--safe-bottom));max-height:85vh;overflow:auto}.filters-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.filters-header h2{margin:0;font-family:var(--font-display)}.filters-footer{display:flex;justify-content:flex-start;padding:16px 0 4px}.filter-row{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid var(--line)}.filter-row label{font-weight:600}.filter-row input,.filter-row select{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff}.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}.tag-typeahead{display:grid;gap:8px;position:relative}.tag-selected{display:flex;flex-wrap:wrap;gap:8px;min-height:1.5rem;align-items:center}.tag-suggestions{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:5;display:grid;gap:2px;max-height:220px;overflow:auto;padding:6px;border-radius:12px;background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow)}.tag-suggestions.hidden{display:none}.tag-suggestion{border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:8px;cursor:pointer;color:inherit;font:inherit}.tag-suggestion:hover,.tag-suggestion:focus{background:#2f6a5d1a}.queue-header-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.tag-chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 10px;font-size:.85rem}.tag-chip.selected{background:var(--teal);border-color:var(--teal);color:#fff}.editor-screen{display:grid;gap:12px;min-width:0;max-width:100%;width:100%;overflow-x:clip;box-sizing:border-box}.editor-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;position:relative;z-index:8}.editor-top-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.editor-menu-wrap{position:relative;z-index:10}.editor-menu-btn{min-width:2.25rem;font-size:1.15rem;line-height:1;padding-inline:10px}.editor-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:40;display:grid;gap:2px;min-width:12.5rem;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fffffffa;box-shadow:var(--shadow)}.editor-menu.hidden,.editor-menu-submenu.hidden{display:none}.editor-menu-submenu{display:grid;gap:2px;margin:2px 0 4px;padding:4px 0 4px 8px;border-left:2px solid rgba(61,79,111,.18)}.editor-menu-item{display:grid;grid-template-columns:1.1rem 1fr auto;align-items:center;gap:8px;border:0;border-radius:10px;background:transparent;text-align:left;padding:10px 12px;font-weight:600;color:inherit}.editor-menu-item:hover,.editor-menu-item:focus-visible,.editor-menu-item.is-active{background:#3d4f6f1a}.editor-menu-item--danger{color:#9b2c2c}.editor-menu-check{width:1.1rem;text-align:center;color:var(--accent, #2f6fed);font-weight:700}.editor-menu-caret{color:var(--muted);font-size:.85rem}.editor-menu-muted{color:var(--muted);font-weight:600}.editor-menu-item.is-disabled,.editor-menu-item:disabled{opacity:.45;cursor:not-allowed}.editor-content-shell{position:relative;min-width:0}.editor-content-shell.is-locked .editor-title,.editor-content-shell.is-locked .editor-meta,.editor-content-shell.is-locked .editor-frame,.editor-content-shell.is-locked .attachments-list,.editor-content-shell.is-locked .editor-dates,.editor-content-shell.is-locked .editor-offline-hint,.editor-content-shell.is-locked .conflict-banner,.editor-content-shell.is-locked .match-banner,.editor-content-shell.is-locked .section-label{filter:blur(7px);-webkit-user-select:none;user-select:none;pointer-events:none}.editor-secure-overlay{position:absolute;inset:0;z-index:25;display:grid;place-items:center;padding:24px 16px;background:#f8f6f2b8}.editor-secure-overlay.hidden{display:none}.editor-secure-card{width:min(100%,22rem);display:grid;gap:10px;padding:18px 18px 16px;border:1px solid var(--line);border-radius:16px;background:#fffffff5;box-shadow:var(--shadow)}.editor-secure-card h3{margin:0;font-size:1.15rem}.editor-secure-form{display:grid;grid-template-columns:1fr auto;gap:8px}.editor-secure-form input{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff;letter-spacing:.2em}.pin-form{display:grid;gap:10px;margin-top:12px}.pin-form label{display:grid;gap:4px;font-weight:600;font-size:.9rem}.pin-form input{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff;letter-spacing:.15em}.pin-form[data-e2e-enroll-form] input,.pin-form[data-e2e-unlock-form] input,.editor-secure-form input[name=passphrase]{letter-spacing:normal}.notes-list-view{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0}.notes-list-view .list-panel{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.notes-list-view.is-searching .list-panel{opacity:.55;transition:opacity .15s ease}.notes-list-view.is-search-stale:not(.is-searching) .list-panel{opacity:.78}.notes-load-more{padding:14px 16px;text-align:center;color:var(--muted);font-size:.85rem}.notes-find-chrome{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0}.notes-search-row{display:flex;align-items:center;gap:2px;min-width:0;margin:0}.notes-search-row .search-field,.notes-search-field{flex:1;min-width:0;min-height:36px;padding:0 10px;border-radius:999px}.notes-search-field input{padding:6px 0;font-size:.95rem}.notes-chrome-btn{flex:0 0 auto;color:var(--muted);width:32px;height:32px;padding:0}.search-mode-wrap{flex:0 0 auto;height:32px;border-radius:999px}.search-mode-wrap.create-note-wrap--split .search-mode-primary,.search-mode-wrap.create-note-wrap--split .capture-sheet-btn{height:30px;min-height:30px;font-size:.75rem;font-weight:600}.search-mode-wrap .search-mode-primary{white-space:nowrap}.search-mode-menu{min-width:16rem;z-index:90}.search-mode-menu button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;white-space:normal;text-align:left}.search-mode-menu .search-mode-detail{font-size:.75rem;color:var(--muted);font-weight:400}.search-mode-menu button.is-selected{background:#1f463f1a}.notes-chrome-btn:hover{color:var(--ink)}.notes-chrome-btn svg{width:16px;height:16px}.notes-notebook-row{display:flex;align-items:center;gap:6px;width:100%;min-width:0}.notes-notebook-field{display:block;min-width:0;flex:1 1 auto}.notes-notebook-field select{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:999px;padding:5px 10px;min-height:32px;background:var(--panel);color:var(--text);font:inherit;font-size:.85rem}.notes-sort-chip{flex:0 1 auto;min-width:0}.notes-sort-chip select{display:block;max-width:7.5rem;border:1px solid var(--line);border-radius:999px;padding:5px 8px;min-height:32px;background:var(--panel);color:var(--text);font:inherit;font-size:.85rem}.notes-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px}.notes-list-view .notes-toolbar:not(:has(.notes-toolbar-actions)){margin-top:2px;margin-bottom:2px}@media(max-width:860px){.notes-list-view .notes-find-chrome{gap:6px}.notes-list-view .notes-notebook-row{flex-wrap:wrap}.notes-list-view .notes-notebook-field{flex:1 1 40%}.notes-list-view .notes-sort-chip{flex:0 0 auto}}.notes-toolbar-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-left:0}.notes-sort-field{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:.85rem;white-space:nowrap}.notes-sort-label{display:none}.notes-sort-field select{border:1px solid var(--line);border-radius:10px;padding:6px 8px;background:#fff;color:var(--text);max-width:9.5rem}@media(min-width:480px){.notes-sort-label{display:inline}}@media(min-width:861px){.notes-find-chrome.has-notebook{flex-direction:row;align-items:center;gap:12px}.notes-find-chrome.has-notebook .notes-search-row{flex:1;min-width:0}.notes-find-chrome.has-notebook .notes-notebook-row{display:contents}.notes-find-chrome.has-notebook .notes-notebook-field{flex:0 1 280px;max-width:320px;width:auto}}.editor-title{width:100%;min-width:0;border:0;outline:0;background:transparent;font-family:var(--font-display);font-size:clamp(1.6rem,3vw,2.1rem);font-weight:700;padding:4px 0;overflow-wrap:anywhere;word-break:break-word}.editor-dates{color:var(--muted);font-size:.82rem;font-variant-numeric:tabular-nums;white-space:nowrap}.editor-date,.note-list-date{cursor:help}.editor-dates:empty,.editor-dates[hidden]{display:none!important}.editor-dates--below-title{display:block;margin:0 0 8px}.editor-dates--beside-tags{display:none}.editor-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0;max-width:100%}.editor-meta select,.tag-input{border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:#fff;min-width:0;max-width:100%;box-sizing:border-box}.editor-meta select{flex:1 1 10rem}.tag-input{flex:1 1 12rem;width:100%}@media(max-width:860px){.editor-screen{width:100%;max-width:100%}.editor-meta{display:grid;grid-template-columns:1fr}.editor-meta select,.tag-input{width:100%;flex:none}.editor-frame{overflow-x:auto}.tiptap-editor{padding-left:10px;padding-right:10px}.tiptap-editor ul,.tiptap-editor ol{padding-left:1.15em}}@media(min-width:861px){.editor-dates--below-title{display:none}.editor-dates--beside-tags{display:inline;margin-left:4px}}.attachments-list{display:grid;gap:8px}.attachment-row-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.attachment-download-btn{font-size:.82rem;white-space:nowrap}.attachment-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;width:100%;max-width:100%;min-width:0;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}.attachment-row>span:first-child{min-width:0;overflow-wrap:anywhere;word-break:break-word}.attachment-row>.meta{flex:0 0 auto;white-space:nowrap}.search-excerpt mark,.match-banner mark,.note-list-title mark{background:#ffe08a;color:inherit;padding:0 .1em;border-radius:3px}.conflict-banner,.match-banner{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;border:1px solid rgba(176,86,32,.28);background:#ffd6aa73;min-width:0;max-width:100%;box-sizing:border-box}.conflict-banner.hidden,.match-banner.hidden{display:none}.conflict-banner>div,.match-banner>div{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.conflict-banner.warn{border-color:#8a5a2b59;background:#ffecd2b3}.pending-sync-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:6px;color:#8a5a2b;font-size:.85em}.conflict-compare{margin-top:8px;display:grid;gap:4px}.version-history-list{display:grid;gap:10px}.version-history-row{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#ffffffb3}.version-history-main{min-width:0;flex:1}.version-history-excerpt{margin-top:4px}.match-banner{border-color:#3d4f6f40;background:#d6e2f58c}.conflict-links{display:flex;flex-wrap:wrap;gap:6px}.media-viewer-overlay{position:fixed;inset:0;z-index:60;background:#14181c8c;display:grid;place-items:center;padding:16px;box-sizing:border-box;max-width:100%}.media-viewer-overlay--fullscreen{padding:0;background:#1a1d21;place-items:stretch;width:auto;max-width:none;overflow:hidden}.media-viewer-panel{width:min(960px,100%);max-height:min(92vh,100%);overflow:auto;border-radius:18px;background:#f7f4ef;box-shadow:var(--shadow);padding:14px;display:grid;gap:12px;grid-template-rows:auto 1fr;box-sizing:border-box;min-width:0;max-width:100%}.media-viewer-panel--fullscreen{width:100%;max-width:100%;height:100%;max-height:none;border-radius:0;padding:0;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);background:#111417;color:#f4f1ea;gap:0;overflow:hidden;min-width:0;grid-template-rows:auto minmax(0,1fr);box-sizing:border-box}.media-viewer-top{display:flex;justify-content:space-between;gap:8px;align-items:center;min-width:0;max-width:100%;box-sizing:border-box}.media-viewer-panel--fullscreen .media-viewer-top{position:sticky;top:0;z-index:2;padding:8px 10px;background:#111417eb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.08);box-sizing:border-box;width:100%;max-width:100%}.media-viewer-heading{min-width:0;flex:1 1 0;overflow:hidden}.media-viewer-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.media-viewer-actions{display:flex;flex-wrap:nowrap;gap:2px;align-items:center;flex:0 0 auto;min-width:0}.media-viewer-actions .ghost-btn,.media-viewer-actions .meta{flex:0 0 auto}.media-viewer-close{color:inherit;flex:0 0 auto;width:40px;height:40px;margin-left:2px}.media-viewer-panel--fullscreen .media-viewer-close,.media-viewer-panel--fullscreen .ghost-btn,.media-viewer-panel--fullscreen .meta{color:#f4f1ea}.docx-stage,.pdf-stage,.image-stage{position:relative;overflow:auto;max-height:75vh;border-radius:12px;background:#ddd6cb;padding:12px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;box-sizing:border-box;min-width:0;max-width:100%}.docx-stage{background:#e8e2d8}.docx-stage .docx-wrapper{margin:0 auto}.media-viewer-panel--fullscreen .docx-stage,.media-viewer-panel--fullscreen .pdf-stage{max-height:none;height:100%;min-height:0;width:100%;max-width:100%;border-radius:0;padding:0;background:#0d0f12;overflow:auto;overscroll-behavior:contain}.pdf-stage.is-zoomed{cursor:grab;overflow:hidden;touch-action:none}.pdf-page-wrap,.image-stage{position:relative;margin:0 auto;will-change:transform;max-width:100%}.media-viewer-panel--fullscreen .pdf-page-wrap{max-width:none}.pdf-page-wrap canvas,.image-stage img{display:block;max-width:100%;height:auto;touch-action:inherit;-webkit-user-select:none;user-select:none}.media-viewer-panel--fullscreen .pdf-page-wrap canvas{max-width:none}body.pdf-viewer-open{overflow:hidden;overscroll-behavior:none}.pdf-text-layer,.pdf-highlight-layer,.image-highlight-layer{position:absolute;inset:0;pointer-events:none}.pdf-text-layer span{position:absolute;white-space:pre;color:transparent;transform-origin:0% 0%}.pdf-text-layer .pdf-hit{background:#ffd64673;box-shadow:0 0 0 2px #ffc4008c}.pdf-box-hit,.image-box-hit{position:absolute;background:#ffd64659;outline:2px solid rgba(214,160,20,.85);border-radius:2px}.more-list{display:grid;gap:8px;min-width:0;max-width:100%}.more-card{border:1px solid var(--line);border-radius:14px;background:#fffc;padding:14px 16px;min-width:0;max-width:100%;overflow-x:clip;box-sizing:border-box}.more-card h3{margin:0 0 4px}.more-card p{margin:0;color:var(--muted)}.more-card input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),.more-card select,.more-card textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.more-card .import-row,.more-card .fireflies-form,.more-card .tag-add-row{min-width:0;max-width:100%}.capability-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.capability-actions,.capability-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.capability-actions{justify-content:flex-end}.capability-chip{border:1px solid var(--line);border-radius:6px;background:#ffffffb8;color:var(--muted);font-size:.78rem;line-height:1.2;padding:3px 8px;white-space:nowrap}.capability-chip.warning{border-color:#f4c95d;color:#7a5600;background:#fff8df}.capability-chip.danger{border-color:#e59999;color:#9f2f2f;background:#fff0f0}.capability-chip.muted{color:var(--muted);background:#0000000a}.capability-list{display:grid;gap:8px;margin-top:10px}.import-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.capability-row{align-items:flex-start}.capability-policy-form,.capability-setup-guide{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.capability-setup-list{margin:0;padding-left:18px;color:var(--muted);font-size:.88rem}.guided-focus{outline:2px solid var(--accent);outline-offset:3px;transition:outline-color .2s ease}.audit-filter-form{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.audit-json{margin:8px 0 0;max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#ffffffb8;padding:10px;font-size:.78rem;white-space:pre-wrap;word-break:break-word}.capability-notes{display:grid;gap:3px;margin-top:8px}.capability-details{margin-top:8px}.chat-approval-strip{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 14px;background:#fff8df}.chat-approval-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.tag-add-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.tag-add-row input{border:1px solid var(--line);border-radius:10px;padding:8px 10px;font:inherit;background:#fff}.tag-manage-list{display:grid;gap:6px;margin-top:12px;max-height:33.5rem;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}.tags-screen{display:grid;gap:10px;min-width:0}.tags-screen-lead{margin:0;color:var(--muted);max-width:42rem;line-height:1.45}.tags-list-panel{max-height:none;overflow:visible}.tag-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:0}.tag-open{border:0;background:transparent;text-align:left;padding:14px 16px;min-width:0;cursor:pointer;color:inherit;font:inherit}.tag-open h3{margin:0;font-size:1rem;font-weight:650}.tag-list-actions{display:flex;gap:4px;padding-right:10px;flex-shrink:0}.tag-manage-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.tag-manage-main{display:grid;gap:2px;min-width:0}.tag-manage-actions{display:flex;gap:4px;flex-shrink:0}.pull-refresh-indicator{display:none;text-align:center;color:var(--muted);font-size:.85rem;font-weight:600;padding:4px 0 10px}.pull-refresh-indicator.is-visible{display:block}.desktop-split{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:16px;align-items:stretch;min-width:0;max-width:100%;min-height:0;height:100%}.desktop-split>*{min-width:0;max-width:100%;min-height:0}.desktop-split>*:first-child{display:flex;flex-direction:column;overflow:hidden}.desktop-split>*:first-child>.notes-list-view{flex:1;min-height:0;height:100%}.desktop-split>*:last-child{overflow:auto}.desktop-shell.is-notes-split .desktop-main{display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden;padding-bottom:20px;box-sizing:border-box}.desktop-shell.is-notes-split .desktop-topbar{flex-shrink:0}.desktop-shell.is-notes-split [data-main]{flex:1;min-height:0;overflow:hidden}@media(max-width:1100px){.desktop-split{grid-template-columns:1fr;height:auto}.desktop-shell.is-notes-split .desktop-main{height:auto;max-height:none;overflow:visible}.desktop-shell.is-notes-split [data-main]{overflow:visible}}.share-dialog-backdrop{position:fixed;inset:0;z-index:1000;background:#14201c73;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.local-draft-review{box-sizing:border-box;width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--line, #ddd);border-radius:16px;color:var(--ink, #1c1917);background:#fff}.local-draft-review::backdrop{background:#14201c73}.local-draft-review-columns:not([hidden]){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}.local-draft-review pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:40vh;overflow:auto}.local-draft-review-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.local-draft-review [role=alert]{color:#9b1c1c}.local-draft-review button:disabled{opacity:.5;cursor:not-allowed}.share-dialog{width:min(560px,100%);max-height:min(86vh,900px);overflow:auto;background:#fff;color:var(--ink, #1c1917);border-radius:16px;padding:18px 18px 20px;box-shadow:0 18px 50px #00000038}.share-dialog input[type=text],.share-dialog input[type=number],.share-dialog textarea,.share-dialog select{width:100%;box-sizing:border-box}.share-list-item{display:grid;gap:8px;align-items:stretch}.share-list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.share-list-header .queue-item-copy{min-width:0;flex:1}.share-list-grants{min-width:0}.share-grant-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-top:6px}.share-grant-label{min-width:0;flex:1 1 auto;overflow:hidden}.share-grant-recipient{overflow-wrap:anywhere;word-break:break-word}.share-grant-perm,.share-grant-delivery{margin-top:1px}.share-grant-actions{display:flex;align-items:center;gap:2px;flex:0 0 auto;margin-top:-4px}.share-grant-btn{width:32px;height:32px;font-size:.95rem}.share-grant-btn.is-copied{color:var(--accent, #1f463f)}.share-viewer{min-height:100vh;background:radial-gradient(1200px 600px at 10% -10%,rgba(61,120,104,.18),transparent 55%),linear-gradient(180deg,#f3f6f4,#e7eee9);padding:24px 16px 48px}.share-card,.share-shell{width:min(820px,100%);margin:0 auto;background:#ffffffeb;border:1px solid rgba(31,70,63,.14);border-radius:18px;padding:20px 20px 28px;box-shadow:0 10px 30px #14282214}.share-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.share-title{margin:4px 0 6px;font-family:"Source Serif 4",Georgia,serif;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.15}.share-editor-host .tiptap-editor{min-height:240px}.share-attachments{margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}.share-attachments ul{margin:8px 0 0;padding-left:18px}.app-menu-root{position:fixed;inset:0;z-index:80;pointer-events:none}.app-menu-root.is-open{pointer-events:auto}.app-menu-backdrop{position:absolute;inset:0;border:0;background:#14201c59}.app-menu-panel{position:absolute;top:0;right:0;width:min(320px,92vw);height:100%;background:#fcfbf8fa;border-left:1px solid var(--line);box-shadow:var(--shadow);padding:16px;display:grid;align-content:start;gap:8px}.app-menu-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.app-menu-item{border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left;padding:14px 16px;font-weight:600;color:var(--ink)}.app-menu-item:hover{background:#1f463f0f}.filter-checkboxes{display:flex;flex-wrap:wrap;gap:12px}.filter-check{display:inline-flex;align-items:center;gap:6px;font-weight:500}.filter-label{display:block;margin-bottom:6px;font-weight:600}.result-kind-badge{display:inline-block;padding:1px 7px;border-radius:999px;background:#1f463f1a;color:var(--ink);font-size:.72rem;font-weight:700;letter-spacing:.02em}.messages-view{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:12px;min-width:0;min-height:0;height:100%}.messages-view.is-thread-only{grid-template-columns:1fr}.messages-list-pane,.messages-detail-pane{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;background:#ffffffb8;border:1px solid var(--line);border-radius:18px;overflow:hidden}.messages-list-header,.messages-detail-header{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line);flex-shrink:0}.messages-list-header{justify-content:space-between;flex-wrap:wrap}.messages-source-filter{display:inline-flex;align-items:center;gap:6px}.messages-source-filter select{font:inherit}.messages-list-header h2,.messages-detail-header h2{margin:0;font-size:1.05rem}.messages-thread-list{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;border:0;border-radius:0;background:transparent}.messages-thread-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px;display:flex;flex-direction:column;gap:8px}.messages-thread-empty{flex:1;display:grid;place-items:center}.messages-load-older{display:flex;justify-content:center;margin-bottom:8px;flex-shrink:0}.message-day-sep{align-self:center;margin:8px 0;padding:4px 10px;border-radius:999px;background:#1f463f14;color:var(--muted);font-size:.75rem;font-weight:600}.message-bubble-row{display:flex;width:100%}.message-bubble-row.from-me{justify-content:flex-end}.message-bubble-row.from-them{justify-content:flex-start}.message-bubble{max-width:min(88%,760px);padding:8px 12px;border-radius:16px;background:#1f463f14}.message-bubble-row.from-me .message-bubble{background:#1f463fd1;color:#f7faf8}.message-bubble-row.is-focus .message-bubble{outline:2px solid rgba(31,70,63,.55)}.message-sender{font-size:.72rem;font-weight:700;opacity:.8;margin-bottom:2px}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.35}.message-body.message-body-html{white-space:normal}.message-body.message-body-html img{max-width:min(240px,70vw);height:auto;border-radius:8px;display:block;margin:6px 0}.message-body.message-body-html a{color:inherit;text-decoration:underline}.message-body.message-body-html blockquote{margin:6px 0;padding-left:8px;border-left:2px solid rgba(0,0,0,.2);opacity:.9}.message-bubble-row.from-me .message-body.message-body-html blockquote{border-left-color:#ffffff59}.message-body.is-placeholder{font-style:italic;opacity:.72}.message-cards{display:flex;flex-direction:column;gap:8px;margin-top:6px}.message-card{border:1px solid rgba(0,0,0,.12);border-radius:10px;padding:8px 10px;background:#ffffff8c;font-size:.82rem}.message-bubble-row.from-me .message-card{background:#ffffff1f;border-color:#ffffff38}.message-card-title{font-weight:700;font-size:.72rem;text-transform:uppercase;letter-spacing:.03em;opacity:.75;margin-bottom:4px}.message-card-text{line-height:1.35;margin:2px 0;overflow-wrap:anywhere}.message-card-text.is-bold{font-weight:700}.message-card-text.is-large{font-size:1.05em}.message-card-text.is-muted{opacity:.7;font-style:italic}.message-card-facts{margin:6px 0 0}.message-card-fact{display:grid;grid-template-columns:minmax(72px,36%) 1fr;gap:6px;margin:2px 0}.message-card-fact dt{font-weight:600;opacity:.8}.message-card-fact dd{margin:0;overflow-wrap:anywhere}.message-card-section{display:flex;flex-direction:column;gap:4px}.message-card-cols{display:flex;gap:8px;align-items:flex-start;margin-top:4px}.message-att-image.is-avatar{max-width:28px;border-radius:50%;display:inline-block}.message-att-image.is-avatar img{max-height:28px;object-fit:cover}.message-body.message-body-md a{color:inherit;text-decoration:underline}.message-body.message-body-html a{color:inherit;text-decoration:underline;word-break:break-all}.message-card-col{flex:1;min-width:0}.message-card-col-img{max-width:72px;height:auto;border-radius:6px}.message-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.message-card-action{display:inline-block;padding:4px 8px;border-radius:8px;background:#1f463f24;color:inherit;text-decoration:none;font-size:.75rem;font-weight:600}.message-bubble-row.from-me .message-card-action{background:#ffffff2e}.message-time{margin-top:4px;font-size:.68rem;opacity:.7;text-align:right}.message-atts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.message-att-chip{display:inline-block;padding:4px 8px;border-radius:10px;background:#ffffff8c;font-size:.75rem;text-decoration:none;color:inherit}.message-att-chip.is-pending{opacity:.7;font-style:italic}.message-att-chip.is-external{border:1px dashed rgba(0,0,0,.22)}.message-att-chip-wrap{display:inline-flex;align-items:center;gap:4px}.message-att-link{font-size:.75rem;opacity:.8;text-decoration:none;color:inherit}.message-bubble-row.from-me .message-att-chip{background:#ffffff29}.message-att-image{display:block;max-width:min(240px,70vw);border-radius:10px;overflow:hidden;line-height:0}.message-att-image img{display:block;width:100%;height:auto;max-height:280px;object-fit:cover}.message-bubble-row.is-reaction .message-bubble{background:transparent;border:1px dashed var(--line);color:var(--ink)}.desktop-shell.is-messages-split .desktop-main{display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden;padding-bottom:20px;box-sizing:border-box}.desktop-shell.is-messages-split .desktop-topbar{flex-shrink:0}.desktop-shell.is-messages-split [data-main]{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.desktop-shell.is-messages-split [data-main]>.messages-view{flex:1;min-height:0}.mobile-shell.is-editor [data-main]>.messages-view{min-height:calc(100vh - var(--nav-height) - var(--safe-bottom) - 24px)}.mobile-shell.is-editor [data-main]>.messages-view .messages-detail-pane{min-height:inherit}.app-menu-item-danger{color:#8a2f2f;margin-top:8px}.trips-section-title{margin:18px 0 8px;font-size:.95rem;font-weight:650}.trip-timeline{display:grid;gap:12px;margin:12px 0 8px}.trip-plan-row{display:grid;grid-template-columns:2.25rem minmax(0,1fr);gap:12px;padding:14px;border:1px solid color-mix(in srgb,CanvasText 14%,transparent);border-radius:12px;background:color-mix(in srgb,Canvas 92%,CanvasText 8%);overflow:hidden}.trip-plan-glyph{font-size:1.25rem;line-height:1.4;text-align:center}.trip-plan-row>:last-child{min-width:0}.trip-plan-traveler{margin-top:4px;font-size:.85rem;color:color-mix(in srgb,CanvasText 72%,transparent)}.trip-plan-traveler:before{content:"Traveler · ";font-weight:600}.trip-plan-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.trip-plan-actions>.secondary-btn,.trip-plan-actions>a.secondary-btn{flex:0 0 auto;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.35rem .75rem;border-radius:999px}.trip-spend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 4px}@media(max-width:1100px){.desktop-shell.is-messages-split .desktop-main{height:auto;max-height:none;overflow:visible}.desktop-shell.is-messages-split [data-main]{overflow:visible}.messages-view{height:auto;min-height:calc(100vh - 140px)}}@media(max-width:860px){.messages-view:not(.is-thread-only){grid-template-columns:1fr}.messages-view:not(.is-thread-only) .messages-detail-pane{display:none}.messages-view.is-thread-only{height:calc(100vh - var(--nav-height) - var(--safe-bottom) - 16px)}}.chat-view{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:0;height:100%;min-height:0;border:1px solid var(--border, #ddd);border-radius:12px;overflow:hidden;background:var(--surface, #fff)}.chat-view.shelf-collapsed{grid-template-columns:minmax(0,1fr)}.chat-view.shelf-collapsed .chat-shelf{display:none!important}.chat-shelf{border-right:1px solid var(--border, #ddd);background:var(--muted-surface, #f7f7f5);display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden}.chat-shelf-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--border, #ddd);flex-shrink:0}.chat-shelf-list{overflow-x:hidden;overflow-y:auto;flex:1;min-height:0;padding:8px}.chat-shelf-item{display:block;width:100%;text-align:left;border:0;background:transparent;padding:10px 12px;border-radius:8px;cursor:pointer;margin-bottom:4px}.chat-shelf-item.active,.chat-shelf-item:hover{background:#0000000f}.chat-shelf-title{display:block;font-weight:600;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-shelf-item .meta{display:block;margin-top:2px;font-size:.8rem;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-main{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden}.chat-main-header{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border, #ddd);flex-shrink:0}.chat-main-header h2{flex:1;margin:0;font-size:1.1rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-transcript{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.chat-bubble{max-width:min(720px,92%);padding:12px 14px;border-radius:14px;line-height:1.45}.chat-bubble.from-me{align-self:flex-end;background:#1f3a5f;color:#fff}.chat-bubble.from-assistant{align-self:flex-start;background:#f0f0ec;color:#1a1a1a}.chat-resource-strip{display:flex;gap:6px;margin-top:8px}.chat-resource-icon{border:0;background:#00000014;border-radius:999px;width:28px;height:28px;cursor:pointer;font-size:14px;line-height:1}.chat-composer{border-top:1px solid var(--border, #ddd);padding:12px 16px 16px;display:flex;flex-direction:column;gap:8px;flex-shrink:0;background:var(--surface, #fff)}.chat-composer textarea{width:100%;resize:vertical;min-height:56px;max-height:160px;border-radius:10px;border:1px solid var(--border, #ccc);padding:10px 12px;font:inherit;box-sizing:border-box}.chat-status{flex-shrink:0;padding:0 16px 8px}.chat-composer-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}.chat-web-mode{display:inline-flex;align-items:center;gap:6px;margin-right:auto}.chat-web-mode select{font:inherit;max-width:11rem}.chat-usage-footer{margin:0 0 8px}.chat-empty{margin:24px auto;max-width:420px;text-align:center}.chat-resources-dialog .chat-resource-list{display:flex;flex-direction:column;gap:10px;max-height:50vh;overflow:auto;margin:12px 0}.chat-resource-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border, #eee)}.chat-resource-row--linked{grid-template-columns:auto 1fr}.chat-bubble-body a,.chat-resource-link{color:var(--accent, #0b5fff);text-decoration:underline;text-underline-offset:2px}.chat-bubble-body a:hover,.chat-resource-link:hover{text-decoration-thickness:2px}@media(max-width:720px){.chat-view{height:100%;min-height:0;border-radius:0;border-left:0;border-right:0}.chat-view.shelf-open{grid-template-columns:minmax(0,1fr)}.chat-view.shelf-open .chat-main{display:none}.chat-view.shelf-collapsed{grid-template-columns:minmax(0,1fr)}.chat-view.shelf-collapsed .chat-shelf{display:none!important}}.desktop-shell.is-chat-split{height:100vh;max-height:100vh;overflow:hidden}.desktop-shell.is-chat-split .desktop-sidebar{overflow-y:auto;overflow-x:hidden}.desktop-shell.is-chat-split .desktop-main{display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden;padding-bottom:20px;box-sizing:border-box}.desktop-shell.is-chat-split .desktop-topbar{flex-shrink:0}.desktop-shell.is-chat-split [data-main]{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.desktop-shell.is-chat-split [data-main]>.chat-view{flex:1;min-height:0;height:100%}.mobile-shell.is-chat{display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden;padding-bottom:calc(var(--nav-height) + var(--safe-bottom) + 12px);box-sizing:border-box}.mobile-shell.is-chat .mobile-header{flex-shrink:0}.mobile-shell.is-chat .mobile-content{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding-bottom:8px}.mobile-shell.is-chat .mobile-content>.chat-view{flex:1;min-height:0;height:100%}.archive-screen,.archive-screen fieldset,.archive-screen .more-card{display:grid;gap:.85rem}.archive-screen{min-width:0}.archive-screen .more-card h3,.archive-screen .more-card p{margin:0}.archive-screen label{display:block;line-height:1.5}.archive-screen input:not([type]),.archive-screen input[type=password],.archive-screen input[type=number]{box-sizing:border-box;width:100%;padding:.6rem .75rem;border:1px solid var(--line, #d9d9d0);border-radius:.5rem;font:inherit}.archive-screen input[type=file]{max-width:100%}.archive-screen button{width:fit-content;max-width:100%;overflow-wrap:anywhere}.archive-screen [data-downloads],.archive-screen [data-export-jobs],.archive-screen [data-import-jobs],.archive-screen [data-records]{display:grid;gap:.45rem;max-height:24rem;overflow:auto}.archive-screen [data-status]{padding:.7rem .9rem;background:var(--surface, #fff);border-radius:.6rem}.editor-chrome{display:grid;gap:8px;min-width:0}.editor-chrome-spacer{display:none;height:0}.editor-toolbar-host,.editor-toolbar-scroll{min-width:0;max-width:100%}.editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid var(--line);border-radius:14px;background:#ffffffe6;position:sticky;top:0;z-index:1}@media(max-width:860px){.editor-chrome-spacer{display:block}.editor-chrome{position:fixed;top:0;left:0;right:0;width:100%;max-width:100%;box-sizing:border-box;z-index:22;gap:6px;padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px;border-bottom:1px solid var(--line);background:#fffffff0;box-shadow:0 10px 28px #28221c14;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);overflow:visible}.editor-top{min-width:0;gap:6px;align-items:flex-start}.editor-top-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 6px;min-width:0;flex:1 1 auto}.editor-top-actions .status-chip{max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-menu-wrap{flex:0 0 auto}.editor-toolbar-host{position:relative;z-index:1;width:100%;min-width:0}.editor-toolbar-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;border:1px solid var(--line);border-radius:16px;background:#fffffffa}.editor-toolbar-scroll::-webkit-scrollbar{height:3px}.editor-toolbar{position:static;top:auto;display:inline-flex;flex-wrap:nowrap;width:max-content;min-width:100%;box-sizing:border-box;border:0;border-radius:0;background:transparent}.editor-toolbar .toolbar-btn,.editor-toolbar .toolbar-select,.editor-toolbar .toolbar-color{flex:0 0 auto}}.toolbar-btn,.toolbar-select,.toolbar-color{border:1px solid var(--line);border-radius:8px;background:#fff;min-height:34px;padding:0 8px;color:var(--ink);font-size:.85rem;font-weight:600}.toolbar-btn.active{background:var(--teal-soft);border-color:#b7d2cb;color:var(--teal)}.toolbar-color{width:42px;padding:2px}.editor-frame{border:1px solid var(--line);border-radius:16px;background:#fff;min-height:360px;min-width:0;max-width:100%;width:100%;padding:8px 4px 24px;overflow-x:auto;overscroll-behavior-x:contain;box-sizing:border-box}.tiptap-editor{min-height:320px;min-width:0;max-width:100%;width:100%;padding:8px 12px;outline:none;line-height:1.4;overflow-wrap:anywhere;word-break:break-word;box-sizing:border-box}.tiptap-editor p,.tiptap-editor li,.tiptap-editor h1,.tiptap-editor h2,.tiptap-editor h3,.tiptap-editor h4,.tiptap-editor h5,.tiptap-editor h6,.tiptap-editor td,.tiptap-editor th,.tiptap-editor blockquote{overflow-wrap:anywhere;word-break:break-word;max-width:100%}.tiptap-editor p{margin:0 0 .35em}.tiptap-editor li{margin:.05em 0}.tiptap-editor li>p{margin:0}.tiptap-editor li>p+p{margin-top:.25em}.tiptap-editor h1,.tiptap-editor h2,.tiptap-editor h3,.tiptap-editor h4,.tiptap-editor h5,.tiptap-editor h6{font-family:var(--font-display);margin:.55em 0 .2em;line-height:1.25}.tiptap-editor h4{font-size:1.15rem}.tiptap-editor h5{font-size:1.05rem}.tiptap-editor h6{font-size:1rem;opacity:.92}.tiptap-editor ul,.tiptap-editor ol{padding-left:1.4em;margin:.15em 0 .35em}.tiptap-editor ul ul,.tiptap-editor ol ol,.tiptap-editor ul ol,.tiptap-editor ol ul{margin:.1em 0}.tiptap-editor ul[data-type=taskList]{list-style:none;padding-left:.2em}.tiptap-editor ul[data-type=taskList] li{display:flex;align-items:flex-start;gap:.45em}.tiptap-editor ul[data-type=taskList] li>label{flex:0 0 auto;margin-top:.2em}.tiptap-editor ul[data-type=taskList] li>div{flex:1 1 auto;min-width:0}.tiptap-editor .has-text-align-left{text-align:left}.tiptap-editor .has-text-align-center{text-align:center}.tiptap-editor .has-text-align-right{text-align:right}.tiptap-editor .has-text-align-justify{text-align:justify}.tiptap-editor mark{border-radius:2px;padding:0 .08em;background-color:#fff59d;color:inherit}.tiptap-editor blockquote{margin:0 0 1em;padding-left:12px;border-left:3px solid var(--teal);color:var(--muted)}.tiptap-editor table{border-collapse:collapse;width:100%;max-width:100%;margin:1em 0;table-layout:fixed;overflow:hidden}.tiptap-editor td,.tiptap-editor th{border:1px solid var(--line);padding:8px 10px;vertical-align:top;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.tiptap-editor th{background:#f3eee6;font-weight:700}.tiptap-editor .note-inline-image{max-width:100%;height:auto;border-radius:10px;margin:8px 0;display:block}.tiptap-editor [data-resize-container]{display:inline-block;max-width:100%;line-height:0;margin:8px 0;vertical-align:top}.tiptap-editor [data-resize-wrapper]{position:relative;display:inline-block;max-width:100%;line-height:0}.tiptap-editor [data-resize-wrapper] .note-inline-image{margin:0}.tiptap-editor [data-resize-handle]{position:absolute;z-index:10;width:10px;height:10px;background:#25211d8c;border:1.5px solid rgba(255,255,255,.92);border-radius:2px;box-sizing:border-box}.tiptap-editor [data-resize-handle]:hover,.tiptap-editor [data-resize-state=true] [data-resize-handle]{background:#25211dd9}.tiptap-editor [data-resize-handle=top-left]{top:-5px;left:-5px;cursor:nwse-resize}.tiptap-editor [data-resize-handle=top-right]{top:-5px;right:-5px;cursor:nesw-resize}.tiptap-editor [data-resize-handle=bottom-left]{bottom:-5px;left:-5px;cursor:nesw-resize}.tiptap-editor [data-resize-handle=bottom-right]{bottom:-5px;right:-5px;cursor:nwse-resize}@media(pointer:coarse){.tiptap-editor [data-resize-handle]{width:14px;height:14px}.tiptap-editor [data-resize-handle=top-left]{top:-7px;left:-7px}.tiptap-editor [data-resize-handle=top-right]{top:-7px;right:-7px}.tiptap-editor [data-resize-handle=bottom-left]{bottom:-7px;left:-7px}.tiptap-editor [data-resize-handle=bottom-right]{bottom:-7px;right:-7px}}.tiptap-editor .email-html-frame{margin:12px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.tiptap-editor .email-html-label{padding:8px 12px;font-size:.78rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--muted);background:#f7f4ef;border-bottom:1px solid var(--line)}.tiptap-editor .email-html-iframe{display:block;width:100%;min-height:200px;border:0;background:#fff}.tiptap-editor .scroll-section{margin:12px 0;border:1px solid var(--line);border-radius:12px;background:#faf8f4;overflow:hidden}.tiptap-editor .scroll-section-label{padding:8px 12px;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#5c564c;border-bottom:1px solid var(--line);background:#f3eee6;-webkit-user-select:none;user-select:none}.tiptap-editor .scroll-section-body{max-height:10lh;max-height:16em;overflow:auto;-webkit-overflow-scrolling:touch;padding:8px 12px 10px}.tiptap-editor .scroll-section-body>:first-child{margin-top:0}.tiptap-editor .scroll-section-body>:last-child{margin-bottom:0}.tiptap-editor pre,.tiptap-editor pre.code-block{margin:10px 0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#1e1b18;color:#f4efe6;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.86rem;line-height:1.45;white-space:pre;overflow:auto;max-height:10lh;max-height:16em;-webkit-overflow-scrolling:touch}.tiptap-editor pre code{background:transparent;color:inherit;font-family:inherit;font-size:inherit;padding:0;white-space:inherit}.inline-file-card{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;margin:10px 0;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,#fff,#f7f3ec);cursor:pointer;-webkit-user-select:none;user-select:none}.inline-file-card:hover{border-color:#c7d8d3;background:#f3f8f6}.inline-file-thumb{width:56px;height:68px;border-radius:8px;display:grid;place-items:center;background:#1f463f;color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.04em;box-shadow:inset 0 -10px #0000001f}.inline-file-card.is-pdf .inline-file-thumb{background:#8b3a2b}.inline-file-card.is-docx .inline-file-thumb{background:#2b4c8b}.inline-file-card.has-preview{grid-template-columns:1fr;align-items:stretch;padding:8px}.inline-file-card.has-preview .inline-file-thumb{width:100%;height:auto;min-height:120px;max-height:360px;background:#efe8dc;box-shadow:none;overflow:hidden}.inline-file-preview{display:block;width:100%;max-height:360px;object-fit:contain;background:#efe8dc;pointer-events:none}.inline-file-card.has-preview .inline-file-meta{padding:6px 8px 4px}.inline-file-docx-host{transform-origin:top center;pointer-events:none;background:#fff}.inline-file-docx-host .docx-wrapper{background:#fff}.inline-file-meta{display:grid;gap:4px;min-width:0}.inline-file-meta strong{font-size:.95rem;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.inline-file-action{color:var(--teal);font-size:.8rem;font-weight:700}.tiptap-editor p.is-editor-empty:first-child:before{color:#9a9185;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.todo-list-embed{margin:.75rem 0;padding:.75rem .9rem;border:1px solid var(--line, #ddd5c8);border-radius:12px;background:#ffffffb8}.todo-list-embed-title{font-weight:700;margin-bottom:.45rem}.todo-list-embed-body{display:grid;gap:.35rem;font-size:.95rem}.todo-list-embed-row{display:flex;align-items:flex-start;gap:.45rem;cursor:pointer}.todo-list-embed-row input{margin-top:.2rem}.todo-list-embed-header{margin-bottom:.45rem}.todo-list-embed-title-input{width:100%;box-sizing:border-box;border:1px solid transparent;border-radius:8px;background:transparent;font:inherit;font-weight:700;padding:4px 6px}.todo-list-embed-title-input:focus{outline:none;border-color:#c9bba8;background:#fff}.todo-list-embed-empty{color:#8a8074;font-size:.92rem}.todo-list-embed-status{margin-top:.35rem;color:#a33b2a;font-size:.85rem}.todo-list-embed-add{display:flex;gap:8px;margin-top:.55rem}.todo-list-embed-add-input{flex:1;min-width:0;border:1px solid #ddd5c8;border-radius:8px;padding:8px 10px;font:inherit;background:#fff}.todo-list-embed-add-btn{appearance:none;border:1px solid #ddd5c8;border-radius:8px;background:#f7f1e8;padding:8px 12px;font:inherit;cursor:pointer}.editor-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);z-index:10001;max-width:min(90vw,360px);padding:10px 14px;border-radius:10px;background:#1e1a16eb;color:#fff;font:14px/1.35 -apple-system,BlinkMacSystemFont,sans-serif;box-shadow:0 8px 24px #00000040;pointer-events:none}.editor-screen--readonly .tiptap-editor{caret-color:transparent}.editor-screen--readonly .editor-title,.editor-screen--readonly .tag-input{opacity:.9}
