.document-params-editor{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:0 12px 16px 0;background-color:#fffd}.document-params-editor__header-field{display:flex;flex-direction:row;align-items:center;gap:8px;flex-grow:1;min-width:200px}.document-params-editor__label{font-weight:500;color:#343009;font-size:14px;margin-bottom:0}.document-params-editor__type-selector{display:flex;flex-direction:row;align-items:center;gap:8px}.document-params-editor__label{font-weight:500;color:#343009;font-size:14px}.document-params-editor__input{padding:8px 12px;border:1px solid #e0e0e0;border-radius:4px;background-color:#fff;font-size:14px;color:#343009;width:calc(100% - 8px)}.document-params-editor__input:focus{outline:none;border-color:#2e2fe3;box-shadow:0 0 0 2px #2e2fe340}.document-params-editor__type-buttons{display:flex;gap:8px}.document-params-editor__type-button{padding:6px;border:1px solid #e0e0e0;border-radius:4px;background-color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.document-params-editor__type-button svg{width:16px;height:16px;fill:none;stroke:#343009}.document-params-editor__type-button:hover{border-color:#2e2fe3;background-color:#f6f0ac}.document-params-editor__type-button:focus{outline:none;border-color:#2e2fe3;box-shadow:0 0 0 2px #2e2fe340}.document-params-editor__type-button--active{border-color:#2e2fe3;background-color:#f6f0ac;box-shadow:0 0 0 2px #2e2fe340}[data-theme=dark] .document-params-editor{background-color:#6c6860;border-color:#939393}[data-theme=dark] .document-params-editor__label{color:#eae185}[data-theme=dark] .document-params-editor__input{background-color:#6c6860;color:#fff;border:1px solid #939393}[data-theme=dark] .document-params-editor__input:focus{border-color:#2e2fe3;box-shadow:0 0 0 2px #2e2fe340}[data-theme=dark] .document-params-editor__type-button{background-color:#6c6860;border:1px solid #939393;color:#fff}[data-theme=dark] .document-params-editor__type-button svg{stroke:#fff}[data-theme=dark] .document-params-editor__type-button:hover{border-color:#2e2fe3;background-color:#fff}[data-theme=dark] .document-params-editor__type-button:focus{border-color:#2e2fe3;box-shadow:0 0 0 2px #2e2fe340}[data-theme=dark] .document-params-editor__type-button--active{border-color:#2e2fe3;background-color:#fff;box-shadow:0 0 0 2px #2e2fe340}.diary-viewer{padding:12px;font-family:monospace}.diary-viewer__columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.diary-viewer__column{min-width:0}.diary-viewer__column-title{font-weight:700;color:#555;margin-bottom:12px;font-size:14px}.diary-viewer__item{margin-bottom:16px;padding:8px;border-left:3px solid #ccc}.diary-viewer__time{font-weight:700;color:#333;margin-bottom:4px}.diary-viewer__text{color:#555;white-space:pre-wrap}.diary-viewer__todo-item{display:flex;align-items:center;gap:8px;padding:6px 8px;margin-bottom:4px;border-radius:4px}.diary-viewer__todo-item:hover{background-color:#f5f5f5}.diary-viewer__todo-checkbox{font-size:16px;flex-shrink:0}.diary-viewer__todo-title{color:#333}.diary-viewer__todo-title--done{text-decoration:line-through;color:#999}.diary-viewer-empty,.diary-viewer-error{padding:12px;color:#888;font-style:italic}.secret-viewer{padding:12px;font-family:monospace;font-size:24px;letter-spacing:4px;color:#888;-webkit-user-select:none;user-select:none}.document-part-editor-wrapper{position:relative;padding-right:28px}.document-part-editor__focus-button{position:absolute;top:4px;right:4px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;border-radius:8px;background:transparent;cursor:pointer;color:#343009}.document-part-editor__focus-button:hover{background:#e0e0e0}.document-part-editor--fullscreen{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:#fffd;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);box-shadow:0 10px 25px #0000001f,0 2px 6px #0000000f}.document-part-editor__fullscreen-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #e0e0e0;background:#fff}.document-part-editor__fullscreen-header .document-part-editor__focus-button{position:static}.document-part-editor__tabs{display:flex;column-gap:4px}.document-part-editor__tab{padding:6px 16px;border:1px solid #e0e0e0;border-radius:8px;background:transparent;cursor:pointer;font-family:Google Sans,sans-serif;font-size:14px;color:#343009}.document-part-editor__tab:hover{background:#e0e0e0}.document-part-editor__tab--active{background:#f80;border-color:#f80;color:#fff}.document-part-editor__fullscreen-body{flex:1;overflow:auto;padding:16px}.part-header-info{display:flex;align-items:center;margin-bottom:10px}.part-header-info .part-header{font-size:12pt;font-weight:700;margin-right:8px;flex:1}.part-header-info .copy-button-container{margin:0 8px}.part-header-info .part-type{font-size:10pt;color:#666;background-color:#f0f0f0;padding:2px 6px;border-radius:4px;min-width:104px;min-height:24px;line-height:24px;text-align:center}.change-part-document-dialog-overlay{position:fixed;inset:0;background-color:#0006;display:flex;justify-content:center;align-items:center;z-index:1000}.change-part-document-dialog{background:#fff;padding:24px;border-radius:8px;box-shadow:0 10px 25px #0000001f,0 2px 6px #0000000f;min-width:360px;max-width:480px}.change-part-document-dialog h3{margin:0 0 16px;color:#343009;font-size:1.2rem;font-weight:600}.change-part-document-dialog .document-select-container{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.change-part-document-dialog .document-select-container .label{font-size:.9rem;color:#343009;font-weight:500}.change-part-document-dialog .document-select-container .document-select{font-family:Google Sans,sans-serif;font-size:14px;color:#343009;background:#fff;border:1px solid #e0e0e0;border-radius:4px;padding:8px 12px;outline:none}.change-part-document-dialog .document-select-container .document-select:focus{border-color:#2e2fe3}.change-part-document-dialog .error-message{color:#ff4d4f;font-size:.85rem;margin-bottom:12px}.change-part-document-dialog .buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.change-part-document-dialog .buttons .move-dialog-button{background:linear-gradient(135deg,#4f8cff,#3b82f6);color:#fff}.change-part-document-dialog .buttons .move-dialog-button:hover{background:linear-gradient(135deg,#1c6bff,#0b63f3)}.change-part-document-dialog .buttons .cancel-dialog-button{background-color:#e7e6e4}.change-part-document-dialog .buttons .cancel-dialog-button:hover{background-color:#fff}.change-part-document-dialog .buttons .cancel-dialog-button:active{background-color:#cfcdc9}.change-part-type-dialog{width:400px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:24px;border:none;border-radius:8px;background:#fff;color:#343009;box-shadow:0 10px 25px #0000001f,0 2px 6px #0000000f;font-family:Google Sans,sans-serif}.change-part-type-dialog::backdrop{background:#0006}.change-part-type-dialog h3{margin:0 0 16px}.change-part-type-dialog label{display:block;margin-bottom:6px}.change-part-type-dialog select{width:100%;padding:8px 12px;background:#fff;color:#343009;border:1px solid #e0e0e0;border-radius:4px;font:inherit}.change-part-type-dialog .buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.change-part-type-dialog button{padding:8px 16px;border:none;border-radius:4px;background:#e7e6e4;color:#343009;font:inherit;cursor:pointer}.change-part-type-dialog button.convert-button{background:linear-gradient(135deg,#4f8cff,#3b82f6);color:#fff}.change-part-type-dialog button.convert-button:hover:not(:disabled){background:linear-gradient(135deg,#1c6bff,#0b63f3)}.change-part-type-dialog button:disabled{opacity:.5;cursor:default}.link-popup-menu{background:#fffd;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 8px #00000026;min-width:120px;padding:4px 0;white-space:nowrap}.popup-menu-item{padding:8px 12px;cursor:pointer;font-size:14px;color:#343009;position:relative}.popup-menu-item:hover{background-color:#f6f0ac}.popup-menu-item.has-submenu{padding-right:24px}.popup-menu-item.has-submenu:after{content:"▶";position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:8px;opacity:.6}.popup-menu-separator{height:1px;margin:4px 0;background-color:#e0e0e0}.link-popup-menu.submenu{position:absolute;left:100%;top:0;background:#fffd;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 8px #00000026;min-width:120px;padding:4px 0;white-space:nowrap}.documentPart,.documentPart .actions{display:flex;flex-direction:row}.documentPart .actions .popup-menu-button{background:none;border:none;font-size:16px;cursor:pointer;padding:4px 8px;margin-left:8px;border-radius:4px;color:#343009;height:32px}.documentPart .actions .popup-menu-button:hover{background-color:#f6f0ac}.documentPart .actions.view{flex-direction:column;row-gap:8px;padding-top:8px}.documentPart .actions.view .popup-menu-button{margin-left:0}.documentPart .actions.view .comment-overview{position:static;display:inline-flex;align-items:center;justify-content:center;padding:4px 0}.documentPart .documentPartContent{flex:1;padding:4px 8px;max-width:100%;min-height:168px;overflow-x:auto}.documentPart .documentPartContent .part-header-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding:4px 0;border-bottom:1px solid #e0e0e0}.documentPart .documentPartContent .part-header-info .part-header{font-weight:700;font-size:1.1em;color:#343009}.documentPart .documentPartContent .part-header-info .part-type{font-size:12px;color:#343009;background-color:#e7e6e4;padding:2px 6px;border-radius:4px}.documentPart .documentPartContent .multilineEditor{width:calc(100% - 16px);margin:0 4px}.documentPart .documentPartContent .multilineEditor textarea{width:100%;resize:none;min-height:48px;outline:none;border-radius:3px}.documentPart .documentPartContent .save-status{position:relative;background-color:#e7e6e4;top:-24px;opacity:.66;margin-left:calc(100% - 160px);margin-right:12px;text-align:right;padding-right:8px;max-width:164px}.documentPart .save-status{font-size:12px;color:#666;margin-top:4px;padding-left:8px;height:20px;line-height:20px}.documentPart .save-status.changed{color:#ff9800}.documentPart .save-status.saved{color:#4caf50}.documentDescription{width:100%;box-sizing:border-box;margin-bottom:16px;padding:8px 12px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;color:#343009;font-family:Google Sans,sans-serif;font-size:14px}.documentDescription:not(.documentDescription--editing){cursor:text}.documentDescription:not(.documentDescription--editing):hover{border-color:#f80}.documentDescription--editing .multilineEditor{width:100%}.documentDescription--editing .multilineEditor textarea{width:100%;resize:vertical}.documentDescription--editing .save-status{font-size:12px;color:#666;margin-top:4px;padding-left:8px;height:20px;line-height:20px}.documentDescription--editing .save-status.changed{color:#ff9800}.documentDescription--editing .save-status.saved{color:#4caf50}.documentView{display:flex;align-items:flex-start;flex:1 0 auto;min-width:0;min-height:var(--document-outline-height);width:100%}.documentView>.documentViewContent{flex:1;min-width:0;align-content:flex-start}.documentPartAnchor{min-width:0;border-radius:4px}.documentPartAnchor--highlighted{box-shadow:inset 0 0 0 2px #f80}.documentPartAnchor:focus-visible{outline:2px solid #2E2FE3;outline-offset:2px}.documentParts{width:100%;display:flex;flex-direction:column;row-gap:16px}.documentOutline button:focus-visible{outline:2px solid #2E2FE3;outline-offset:2px}.documentOutlineSlot{position:sticky;top:var(--document-outline-top);flex:0 0 220px;width:220px;max-width:100%;margin:4px 0 4px 8px;z-index:1}.documentOutline{display:flex;flex-direction:column;max-height:var(--document-outline-height);box-sizing:border-box;border:1px solid #e0e0e0;border-radius:6px;background:#fff;color:#343009;font:14px Google Sans,sans-serif}.documentOutline button{font:inherit;color:inherit;cursor:pointer;border:0;border-radius:4px;background:transparent}.documentOutline .documentOutlineHeader{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #e0e0e0}.documentOutline .documentOutlineHeader button{font-size:22px}.documentOutline .documentOutlineList{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px}.documentOutline .documentOutlineList p{padding:0 6px}.documentOutline .documentOutlineParents{display:flex;flex-direction:column;row-gap:2px;padding:6px;border-bottom:1px solid #e0e0e0}.documentOutline .documentOutlineParentsTitle{font:600 11px Google Sans,sans-serif;color:#6a6854;text-transform:uppercase;letter-spacing:.5px;padding:4px 6px}.documentOutline .documentOutlineParentsEmpty{padding:6px;color:#6a6854;font-size:12px}.documentOutline .documentOutlineParentItem{display:flex;align-items:center;gap:8px;width:100%;padding:7px 8px;text-align:left;font:13px Google Sans,sans-serif;color:#343009}.documentOutline .documentOutlineParentItem .documentOutlineParentItemIcon{flex-shrink:0;display:flex;align-items:center;color:#6a6854}.documentOutline .documentOutlineParentItem .documentOutlineParentItemTitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.documentOutline .documentOutlineParentItem:hover{background:#f6f0ac}.documentOutline .documentOutlineFooter{border-top:1px solid #e0e0e0;padding:6px}.documentOutline .documentOutlineDivider{height:1px;background-color:#3430091a;margin-bottom:8px}.documentOutline ol{list-style:none;padding:0;margin:0}.documentOutline li button{display:flex;align-items:center;gap:8px;width:100%;padding:9px 8px;text-align:left}.documentOutline li button svg{flex-shrink:0}.documentOutline li button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.documentOutline li button:hover{background:#f6f0ac}.documentOutline li button[aria-current=location]{background:#d4e4f7;color:#2e2fe3}.documentView--narrow .documentOutlineSlot{flex-basis:0;width:0;height:0;margin:4px 0 0}.documentView--narrow .documentOutlineSlot .documentOutline{position:absolute;left:8px;width:var(--document-outline-width);box-shadow:0 10px 25px #0000001f,0 2px 6px #0000000f}.documentOutlineToggle{background:transparent;border:1px solid rgba(52,48,9,.2);cursor:pointer;padding:0;border-radius:4px;transition:background-color .2s ease,color .2s ease,border-color .2s ease;color:inherit;display:flex;align-items:center;justify-content:center;width:32px;height:32px}.documentOutlineToggle:hover{background-color:#ff880026;border-color:#f806;color:#f80}.documentOutlineToggle:focus-visible{outline:2px solid #2E2FE3;outline-offset:2px}.documentOutlineToggle[aria-expanded=true]{background:#ff880040}
