@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",'Noto Sans KR',sans-serif;color:#37352f;background:#fff;font-synthesis:none;--ink:#37352f;--muted:#9b9a97;--line:#e9e9e7;--side:#f7f7f5;--hover:#efefed;--blue:#2383e2;--sidebar-width:250px}*{box-sizing:border-box}body{margin:0;min-height:100dvh;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;color:inherit}.hidden{display:none!important}
.app{height:100dvh;min-height:0;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);overflow:hidden;background:#fff}.sidebar{height:100dvh;min-height:0;background:var(--side);display:flex;flex-direction:column;border-right:1px solid #eeeeec;padding:8px 7px 7px;overflow:hidden}.workspace-switcher{height:42px;flex:none;width:100%;display:flex;align-items:center;gap:9px;padding:5px 8px;border:0;border-radius:7px;background:transparent;text-align:left}.workspace-switcher:hover,.side-tool:hover,.page-link:hover,.side-new-page:hover,.help-button:hover{background:var(--hover)}.workspace-avatar,.user-avatar{width:25px;height:25px;border-radius:6px;background:#fff;border:1px solid #e5e5e2;display:grid;place-items:center;color:#555;font-size:13px;font-weight:600;flex:none}.workspace-name{min-width:0;flex:1;display:grid;gap:1px}.workspace-name b{font-size:13px;font-weight:600}.workspace-name small{font-size:10px;color:#969590}.chevron{font-size:15px;color:#9a9996}.side-tools{display:grid;gap:1px;margin:8px 0 17px}.side-tool{border:0;background:transparent;border-radius:6px;height:33px;padding:0 9px;display:flex;align-items:center;gap:10px;text-align:left;color:#5e5d59;font-size:12px}.side-icon{width:17px;text-align:center;font-size:16px;color:#73726e}.side-tool kbd{margin-left:auto;color:#a3a29e;font-size:10px;font-family:inherit}.sidebar-scroll{flex:1;min-height:0;overflow:auto;padding:0 1px}.section-heading{display:flex;align-items:center;justify-content:space-between;height:30px;padding:0 8px 0 9px;color:#85847f;font-size:11px;font-weight:600}.section-add{width:22px;height:22px;border:0;border-radius:4px;background:transparent;color:#9a9994;font-size:16px;line-height:20px;opacity:0}.section-heading:hover .section-add{opacity:1}.section-add:hover{background:#e8e8e6;color:#42413e}.private-heading{margin-top:11px}.page-list{display:grid;gap:1px}.page-link{height:29px;width:100%;min-width:0;border:0;border-radius:5px;background:transparent;padding:0 8px;display:flex;align-items:center;gap:8px;text-align:left;color:#5d5c58;font-size:12px}.page-link.active{background:#e9e9e7;color:#37352f}.page-icon{width:17px;flex:none;text-align:center;color:#7d7c78;font-size:13px}.page-link>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-new-page{display:flex;align-items:center;gap:9px;height:30px;width:100%;padding:0 8px;border:0;border-radius:5px;background:transparent;color:#85847f;text-align:left;font-size:12px}.side-new-page span{font-size:16px;color:#aaa9a4}.sidebar-bottom{flex:none;padding-top:8px}.help-button{height:30px;width:100%;border:0;border-radius:5px;background:transparent;padding:0 8px;text-align:left;color:#84837f;font-size:11px}.account{height:42px;display:flex;align-items:center;gap:8px;padding:5px 7px;border-radius:6px}.account:hover{background:#ececea}.user-avatar{width:23px;height:23px;border-radius:50%;background:#d5e4ef;color:#4b6676;font-size:10px}.account-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;color:#55544f;font-size:11px}.account button{width:25px;height:25px;border:0;border-radius:4px;background:transparent;color:#868580;font-size:16px}.account button:hover{background:#e3e3e1}
.main{height:100dvh;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fff}.topbar{height:46px;flex:none;position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:0 20px 0 15px;background:#ffffffed}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:7px;min-width:0}.breadcrumbs{display:flex;align-items:center;gap:8px;color:#85847f;font-size:12px;white-space:nowrap;overflow:hidden}.crumb-sep{color:#b5b4b0}.icon-button{width:29px;height:29px;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:#797873;font-size:16px}.icon-button:hover,.top-action:hover{background:var(--hover)}.sidebar-toggle{font-size:15px;color:#777671}.save-state{font-size:10px;color:#aaa9a5;margin-right:3px}.top-action{height:27px;border:1px solid #e5e5e2;border-radius:5px;background:#fff;padding:0 9px;color:#55544f;font-size:11px}.topbar-actions .icon-button{font-size:17px}.main-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.page{min-height:100%;padding:0 48px 80px}.page-content{width:min(100%,900px);margin:0 auto;position:relative;padding-top:43px}.page-icon-button{display:block;width:50px;height:50px;margin:0 0 8px -4px;padding:0;border:0;border-radius:7px;background:transparent;text-align:left;font-size:43px;line-height:1}.page-icon-button:hover{background:#f6f6f4}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}.title{display:block;width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:40px;line-height:1.2;font-weight:700;letter-spacing:-.055em}.title::placeholder{color:#d0cfcc}.title:focus{outline:0}.database{margin-top:30px}.database-toolbar{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.view-tabs{display:flex;align-items:center;gap:4px}.view-tab{height:30px;border:0;border-radius:5px;background:#f1f1ef;padding:0 10px;color:#4e4d49;font-size:11px}.view-tab span{margin-right:5px;color:#777670}.view-tab-add{width:28px;height:28px;border:0;border-radius:5px;background:transparent;color:#92918c}.view-tab-add:hover{background:#f0f0ee}.database-tools{display:flex;align-items:center;gap:3px}.db-tool{height:29px;display:flex;align-items:center;gap:5px;border:0;border-radius:5px;background:transparent;padding:0 8px;color:#6f6e69;font-size:11px}.db-tool:hover{background:#f1f1ef}.db-new-row{height:29px;margin-left:4px;padding:0 10px;border:0;border-radius:5px;background:#2383e2;color:white;font-size:11px}.db-new-row:hover{background:#0874d1}.primary{border:0;border-radius:6px;background:#2383e2;color:white;padding:9px 13px;font-size:12px}.primary:hover{background:#0874d1}.grid-wrap{overflow:auto;border:1px solid #e8e8e6;border-radius:4px;background:white;min-height:76px}.grid-wrap table{border-collapse:collapse;min-width:760px;width:100%;table-layout:fixed}.grid-wrap th,.grid-wrap td{border-right:1px solid #ededeb;border-bottom:1px solid #ededeb;padding:0;min-width:130px;text-align:left}.grid-wrap th:first-child,.grid-wrap td:first-child{width:42px;min-width:42px}.grid-wrap th:last-child,.grid-wrap td:last-child{border-right:0}.grid-wrap th{position:sticky;top:0;z-index:1;background:#fff;color:#85847f;font-size:11px;font-weight:500;height:36px}.grid-wrap td{height:37px;font-size:12px;color:#4f4e49}.head-cell,.cell-input{width:100%;border:0;background:transparent;text-align:left;outline:0;font-size:11px;color:inherit}.head-cell{padding:0 8px 0 12px}.cell-input{padding:9px 11px}.head-cell:focus,.cell-input:focus{box-shadow:inset 0 0 0 1px #2383e2}.type-select{margin:0 5px;border:0;background:transparent;color:#aaa9a4;font-size:10px}.row-number{text-align:center!important;color:#aaa9a4;font-size:10px!important}.add-row{height:31px;margin:3px 0 0 41px;padding:0 9px;border:0;border-radius:4px;background:transparent;color:#8a8984;font-size:11px}.add-row:hover{background:#f3f3f1}.table-footer{display:flex;align-items:center;gap:12px;min-height:38px;color:#a09f9a;font-size:10px}.table-footer span:nth-child(2){margin-left:auto}.table-footer button{border:0;border-radius:4px;background:transparent;padding:5px 7px;color:#85847f;font-size:10px}.table-footer button:hover{background:#f2f2f0}.table-footer button:disabled{opacity:.4}
.note-tools{display:flex;align-items:center;gap:4px;margin:10px 0 0;padding:4px 0;border-bottom:1px solid #f0f0ee}.note-tools button{height:25px;border:0;border-radius:4px;background:transparent;padding:0 8px;color:#777671;font-size:11px}.note-tools button:hover{background:#f1f1ef}.note-tools>span{margin-left:auto;color:#b0afaa;font-size:10px}.editor{min-height:55vh;outline:0;color:#37352f;font-size:16px;line-height:1.75;overflow-wrap:anywhere}.editor:empty:before{content:attr(data-placeholder);color:#aaa9a4;pointer-events:none}.editor p{margin:0 0 3px}.editor h1,.editor h2,.editor h3{line-height:1.3;letter-spacing:-.035em}.editor blockquote{margin:7px 0;padding-left:14px;border-left:3px solid #37352f;color:#64635e}.editor ul,.editor ol{padding-left:25px}.image-cell{display:flex;align-items:center;gap:6px;min-height:35px;padding:4px;color:#85847f;font-size:10px;cursor:pointer}.image-cell img{max-width:170px;max-height:120px;object-fit:contain;border-radius:4px}.image-cell:hover{background:#f7f7f5}
.welcome{height:100%;min-height:65vh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.welcome-mark{width:48px;height:48px;border:1px solid #e8e8e6;border-radius:12px;background:#fafaf9;display:grid;place-items:center;color:#37352f;font-size:22px;font-weight:600}.welcome h1{margin:19px 0 5px;font-size:21px;letter-spacing:-.03em}.welcome p{margin:0 0 17px;color:#92918c;font-size:12px}.welcome>div:last-child{display:flex;gap:7px}.button{height:34px;border:1px solid #e7e7e5;border-radius:6px;background:#fff;padding:0 11px;color:#55544f;font-size:11px}.button:hover{background:#f7f7f5}.auth{min-height:100dvh;display:grid;place-items:center;padding:20px;background:#fff}.auth-card{width:min(390px,100%);border:1px solid #ebebea;border-radius:8px;padding:30px;background:#fff}.auth-brand{padding:0 0 24px}.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px}.brand-icon{width:25px;height:25px;border:1px solid #e8e8e6;border-radius:6px;display:grid;place-items:center;font-size:13px}.eyebrow{margin:0;color:#979691;font-size:10px}.auth-card h1{margin:7px 0;font-size:24px;letter-spacing:-.04em}.auth-card>p{font-size:12px;color:#8f8e89}.auth-card>label:not(.remember){display:grid;gap:6px;margin:13px 0;color:#5d5c57;font-size:11px}.auth-card input:not([type=checkbox]){padding:11px;border:1px solid #e8e8e6;border-radius:6px;outline-color:#b7b6b1}.remember{display:flex;align-items:center;gap:6px;margin:12px 0;color:#66655f;font-size:11px}.wide{width:100%;margin-top:7px}.link{display:block;margin:10px auto 0;border:0;background:transparent;color:#73726c;font-size:11px}.link:hover{text-decoration:underline}.error{min-height:15px;color:#b34e46;font-size:11px}.toast{position:fixed;z-index:20;left:50%;bottom:25px;transform:translate(-50%,10px);opacity:0;pointer-events:none;background:#37352f;color:#fff;padding:9px 13px;border-radius:6px;font-size:11px;transition:.18s}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{width:min(480px,calc(100% - 28px));border:1px solid #e8e8e6;border-radius:8px;padding:20px;box-shadow:0 12px 42px #0002}dialog::backdrop{background:#0004}dialog h2{margin:0 0 14px;font-size:16px}dialog .form-row{display:flex;gap:9px;margin:9px 0}dialog label{display:grid;gap:5px;flex:1;color:#66655f;font-size:11px}dialog input,dialog select{width:100%;padding:9px;border:1px solid #e8e8e6;border-radius:5px}dialog menu{display:flex;justify-content:flex-end;gap:6px;padding:8px 0 0;margin:12px 0 0}dialog menu button{height:30px;border:1px solid #e8e8e6;border-radius:5px;background:white;padding:0 10px;font-size:11px}.search-dialog{position:fixed;inset:18vh 0 auto;width:min(560px,calc(100% - 30px));padding:0;overflow:hidden}.search-box{height:49px;display:flex;align-items:center;gap:10px;padding:0 14px;border-bottom:1px solid #eee;color:#85847f}.search-box input{flex:1;border:0;outline:0;font-size:13px}.search-box button{border:0;border-radius:4px;background:#f5f5f3;color:#8b8a85;font-size:10px;padding:4px 6px}.search-results{max-height:50vh;overflow:auto;padding:7px}.search-result{display:flex;align-items:center;gap:9px;width:100%;height:34px;border:0;border-radius:5px;background:transparent;padding:0 9px;text-align:left;color:#55544f;font-size:12px}.search-result:hover{background:#f2f2f0}
@media(max-width:760px){.app{grid-template-columns:1fr}.sidebar{position:fixed;z-index:10;left:0;top:0;width:min(290px,84vw);transform:translateX(-102%);transition:transform .18s;box-shadow:none}.sidebar.open{transform:translateX(0);box-shadow:7px 0 30px #0002}.topbar{height:43px;padding:0 10px}.topbar-actions{gap:2px}.save-state{display:none}.breadcrumbs{font-size:11px}.page{padding:0 20px 55px}.page-content{padding-top:35px}.page-icon-button{height:43px;font-size:37px}.title{font-size:32px}.database{margin-top:20px}.database-toolbar{align-items:flex-start;flex-direction:column}.database-tools{width:100%;justify-content:flex-end}.grid-wrap{min-height:48vh}.table-footer{flex-wrap:wrap}.table-footer span:nth-child(2){margin-left:0}.editor{font-size:15px}.welcome h1{font-size:19px}}
.app.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.app.sidebar-collapsed .sidebar{width:0;padding-left:0;padding-right:0;overflow:hidden;border:0}.table-search{width:120px;height:27px;border:1px solid #e8e8e6;border-radius:5px;padding:0 8px;outline-color:#2383e2;font-size:11px}.search-empty{padding:18px 10px;color:#999892;font-size:12px}
.slash-menu{position:absolute;z-index:6;top:265px;left:max(42px,calc((100% - 900px)/2));width:260px;max-height:min(52vh,420px);overflow:auto;padding:6px;border:1px solid #e8e8e6;border-radius:7px;background:white;box-shadow:0 8px 28px #0002}.slash-menu button{display:block;width:100%;height:33px;border:0;border-radius:4px;background:transparent;padding:0 9px;text-align:left;color:#5d5c57;font-size:12px}.slash-menu button:hover{background:#f2f2f0}.editor h4{margin:10px 0 3px;font-size:18px}.editor details{margin:4px 0}.editor summary{cursor:pointer}.editor .callout{display:flex;gap:9px;margin:8px 0;padding:12px;border-radius:5px;background:#f7f6f3}.editor .todo-list{list-style:none;padding-left:0}.editor .todo-list input{margin:0 8px 0 0}.editor img,.editor video,.editor audio{display:block;max-width:100%;margin:8px 0}.editor video{max-height:480px}.editor .file-attachment{display:inline-block;padding:9px 12px;border:1px solid #e8e8e6;border-radius:5px;color:#37352f;text-decoration:none}
.page-entry{display:flex;align-items:center;gap:1px;padding-left:calc(var(--depth,0)*13px);padding-right:2px;min-width:0}.page-entry .page-link{flex:1;min-width:0}.page-row-menu{width:22px;height:23px;flex:none;border:0;border-radius:4px;background:transparent;color:#969590;line-height:18px;opacity:0}.page-entry:hover .page-row-menu,.page-row-menu:focus-visible{opacity:1}.page-row-menu:hover{background:#e3e3e1;color:#55544f}.account{width:100%;border:0;background:transparent;text-align:left;cursor:pointer}.account .account-chevron{margin-left:auto;color:#85847f;font-size:13px}.context-menu{position:fixed;z-index:30;width:226px;max-height:min(75vh,500px);overflow:auto;padding:5px;background:#fff;border:1px solid #e7e7e5;border-radius:7px;box-shadow:0 5px 20px #0000001a}.context-menu button{display:flex;align-items:center;width:100%;min-height:30px;padding:0 9px;border:0;border-radius:4px;background:transparent;text-align:left;color:#4e4d49;font-size:11px}.context-menu button:hover{background:#f1f1ef}.context-menu button.danger-menu{color:#c14d45}.context-menu .menu-divider{height:1px;margin:4px 0;background:#ededeb}.menu-account{display:grid;gap:3px;padding:8px 9px}.menu-account span{font-size:12px;font-weight:600}.menu-account small{color:#92918c;font-size:10px}.menu-heading{padding:7px 9px;color:#92918c;font-size:10px;font-weight:600}.context-menu button.checked{font-weight:600}.dialog-copy{color:#777671;font-size:12px;line-height:1.6}.dialog-field{display:grid;gap:6px;color:#777671;font-size:11px}.dialog-field select{padding:9px;border:1px solid #e8e8e6;border-radius:5px}.version-row{display:flex;align-items:center;justify-content:space-between;padding:8px 2px;border-bottom:1px solid #f0f0ee;color:#66655f;font-size:11px}.version-row button{border:0;border-radius:4px;background:#f3f3f1;padding:5px 8px;font-size:10px}
.selection-toolbar{position:fixed;z-index:25;display:flex;align-items:center;gap:2px;padding:5px;border:1px solid #e8e8e6;border-radius:7px;background:#fff;box-shadow:0 4px 14px #0002}.selection-toolbar>button,.color-control>button{height:29px;min-width:29px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:#37352f;font-size:13px}.selection-toolbar>button:hover,.color-control>button:hover{background:#f0f0ee}.selection-toolbar .toolbar-divider{height:18px;width:1px;background:#e8e8e6;margin:0 3px}.color-control{position:relative}.color-control>button{color:#37352f;border-bottom:2px solid #d44c47;font-weight:700}.color-control>button span{margin-left:3px;color:#898883;font-size:9px}.text-color-menu{position:absolute;left:0;top:35px;display:grid;grid-template-columns:repeat(4,25px);gap:5px;padding:8px;border:1px solid #e8e8e6;border-radius:7px;background:#fff;box-shadow:0 4px 14px #0002}.text-color-menu button{width:22px;height:22px;border:1px solid #e7e7e5;border-radius:50%;background:var(--swatch)}.text-color-menu button:hover{outline:2px solid #b7b6b0;outline-offset:1px}.editor code{padding:2px 4px;border-radius:3px;background:#f1f1ef;color:#eb5757;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.trash-list{max-height:55vh;overflow:auto}.trash-item{display:flex;align-items:center;gap:8px;min-height:44px;border-bottom:1px solid #f0f0ee}.trash-icon{width:23px;text-align:center}.trash-title{display:grid;gap:2px;min-width:0;flex:1;font-size:12px}.trash-title small{color:#999892;font-size:10px}.trash-item button{border:0;border-radius:4px;background:transparent;padding:6px 8px;color:#6c6b66;font-size:10px}.trash-item button:hover{background:#f1f1ef}.trash-item button.danger-menu{color:#c14d45}
.selection-toolbar>button.active{background:#dbeafe;color:#1769aa}.selection-toolbar>button.active:hover{background:#c8defb}.text-color-menu{width:190px;grid-template-columns:repeat(2,minmax(78px,1fr));gap:2px;padding:6px}.text-color-menu button{display:flex;align-items:center;gap:8px;width:auto;height:29px;padding:0 7px;border:0;border-radius:4px;background:transparent;color:#55544f;font-size:11px;text-align:left}.text-color-menu button:hover{outline:0;background:#f1f1ef}.text-color-menu .color-swatch{display:block;flex:none;width:16px;height:16px;border:1px solid #0000001c;border-radius:50%;background:var(--swatch)}
.spellcheck-setting{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:12px 0}.spellcheck-setting>span:first-child{display:grid;gap:4px}.spellcheck-setting b{color:#37352f;font-size:12px}.spellcheck-setting small{color:#888781;font-size:10px}.spellcheck-switch{position:relative;display:inline-flex!important;flex:none;width:40px;height:23px}.spellcheck-switch input{position:absolute;inset:0;z-index:2;width:40px;height:23px;margin:0;opacity:0;cursor:pointer}.spellcheck-switch>span{position:absolute;inset:0;border-radius:14px;background:#d8d8d5;transition:background .16s}.spellcheck-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .16s}.spellcheck-switch input:checked+span{background:#2383e2}.spellcheck-switch input:checked+span:after{transform:translateX(17px)}.spellcheck-switch input:focus-visible+span{outline:2px solid #82b8ef;outline-offset:2px}.spellcheck-state{min-height:14px;margin:0;color:#85847f;font-size:10px}
