:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--primary-color: #007bff;--secondary-color: rgb(108, 117, 125);--text-color: #333;--selection-bg-color: #ffcc00}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:contents;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}#root{max-width:1280px;margin:0 auto;padding:2rem}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#1e96c8}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fafafa}a:hover{color:#747bff}button{background-color:#f9f9f9}#command_bar,#header_bar{background-color:#fafafa}.dropDown{background-color:#fff;border:1px solid #444}.input{background-color:#fff;border:1px solid #444;color:#a4bcd1}.dropDown>label{display:flex;align-items:center;padding:8px 12px;cursor:pointer}.dropDown>label:hover{background:"#a4bcd1";color:"#1f8bb9"}}@media(prefers-color-scheme:dark){:root{color:#a4bcd1;background-color:#121212}a:hover{color:#747bff}button{background-color:#253372}#command_bar,#header_bar{background-color:#1e1e1e}.dropDown{background-color:#3b3b3b;border:1px solid #444}.input{background-color:#3b3b3b;border:1px solid #444;color:#a4bcd1}.rsw-editor{background-color:#333;color:#fff;border-color:#555}.rsw-toolbar{background-color:#444;color:#fff}}#header_bar{position:sticky;top:0;height:2.5em}#command_bar{position:sticky;bottom:0;z-index:10;padding:8px 0}.dropDown{top:100%;left:0;right:0;border:0;border-radius:4px;margin-top:4px;max-height:200px;overflow-y:auto;z-index:1000;position:absolute}.hover{background-color:#e5edff;color:#1f8bb9}.input{border-radius:4px;padding:10px;font-size:16px;width:100%;box-sizing:border-box;border-color:#858585;border-style:solid;border-width:.666667px;line-height:16px;height:40px}.input>span{pointer-events:none}.MuiSvgIcon-root{color:#1e96c8}.txt-button{background-image:linear-gradient(-180deg,#37aee2,#1e96c8);border-radius:.5rem;box-sizing:border-box;color:#fff;display:flex;font-size:16px;justify-content:center;padding:1rem 1.75rem;text-decoration:none;width:100%;border:0;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation}.txt-button:hover{background-image:linear-gradient(-180deg,#1d95c9,#17759c)}@media screen and (max-width:992px){#root{padding:0rem}.txt-button{padding:.5rem 1rem}}.app-container{max-width:900px;margin:0 auto;padding:12px;font-family:system-ui}.flex-container{display:flex}.flex-between{display:flex;justify-content:space-between;align-items:center}.flex-center{display:flex;align-items:center}.flex-column{display:flex;flex-direction:column}.grid-auto-fit{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.gap-4{gap:4px}.gap-6{gap:6px}.gap-8{gap:8px}.gap-12{gap:12px}.spacer-sm{height:8px}.spacer-md{height:16px}.pad-6{padding:6px}.pad-8{padding:8px}.pad-10{padding:10px}.pad-12{padding:12px}.page-title{margin-top:0;font-size:clamp(1.5rem,5vw,2rem)}.label-bold{font-weight:600}.text-sm{font-size:12px}.text-md{font-size:14px}.text-lg{font-size:16px}.text-gray{color:#555}.text-muted{color:#999}.form-grid{display:grid;gap:12px;width:100%}.form-group{display:grid;gap:6px}.form-input{padding:10px;font-size:16px;border-radius:4px;border-color:#858585;border-style:solid;border-width:.666667px}.form-section-bordered{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2px 12px;padding:6px;border:1px solid #ccc;border-radius:4px}.relationship-row{grid-template-columns:minmax(140px,1fr) minmax(240px,2fr) minmax(60px,auto);align-items:end}.relationship-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}.relationship-item{font-size:14px;color:#333;display:flex;justify-content:space-between;align-items:center;gap:8px}.relationship-item-actions,.relationship-submit-actions{display:flex;gap:8px;flex-wrap:wrap}.search-input{padding:10px;font-size:16px;width:100%;box-sizing:border-box;border:1px solid #1E96C8;border-radius:4px}.search-input-fixed{padding:10px;font-size:16px;width:calc(100% - 24px);max-width:876px;box-sizing:border-box;position:fixed;top:12px;left:50%;transform:translate(-50%);z-index:1001;background-color:#fff;border:.5px solid #1E96C8;border-radius:4px;box-shadow:0 4px 8px #1e96c8}.record-card{border:1px solid #1E96C8;border-radius:8px;padding:12px;margin-bottom:12px}.record-card-selected{border:1px solid #1E96C8;border-radius:8px;padding:12px;margin-bottom:12px;box-shadow:#1e96c840 5px 5px 5px 2px}.record-header{display:flex;justify-content:space-between;align-items:center;box-shadow:#1e96c8 0 0 .66px;gap:8px}.record-header:hover{box-shadow:#1e96c8 0 0 3px}.record-title-wrapper{display:flex;align-items:center;flex:1 1 auto;min-width:0}.record-title{font-size:16px;word-break:break-word}.record-actions{display:flex;gap:6px;flex-shrink:0}.record-meta{font-size:12px;color:#555;display:flex;gap:6px;justify-content:space-between;margin-top:0}.record-notes{margin-top:8px;font-size:14px;max-height:60vh;overflow:auto;flex:1 1 auto}.record-notes-preview{max-height:5em;overflow:auto;flex:1 1 auto;font-size:14px}.record-footer{display:flex;gap:6px;justify-content:space-between;margin-top:8px}.record-content-flex{display:flex;justify-content:flex-start;gap:8px}.topic-container{margin-bottom:16px}.topic-header{background-color:#1e96c8;color:#fff;padding:12px 16px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:18px;margin-bottom:8px;gap:12px;cursor:pointer}.topic-content{margin-left:16px;margin-bottom:12px}.group-header{cursor:pointer;background-color:#e3f2fd;color:#1565c0;padding:10px 14px;border-radius:6px;display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:16px;margin-bottom:8px;gap:6px}.group-content{margin-left:16px}.tag-container{border:1px solid #ccc;border-radius:4px;padding:8px;min-height:40px;cursor:pointer}.tag-chip{padding:4px 8px;border-radius:4px;font-size:12px;display:contents;align-items:center;gap:4px}.tag-remove-btn{background:transparent;border:none;cursor:pointer;padding:0;font-size:14px;font-weight:700}.image-upload-label{display:flex;align-items:center;justify-content:center;border:2px dashed #ccc;border-radius:8px;padding:8px;cursor:pointer;transition:all .2s}.image-preview{max-height:128px;object-fit:contain;border-radius:4px}.image-preview-center{display:flex;flex-direction:column;align-items:center;gap:2px}.image-info{font-size:12px;color:#666}.image-thumbnail{max-height:5em;max-width:100%;height:auto}.image-full{display:block;margin:8px auto;max-width:100%;height:auto}.relative{position:relative}.absolute{position:absolute}.fixed-top-right{margin-left:auto;max-height:1.5em;position:fixed;right:0;top:0;z-index:1000}.icon-overlay{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#999}.full-width{width:100%}.cursor-pointer{cursor:pointer}.no-shrink{flex-shrink:0}.flex-1{flex:1}.word-break{word-break:break-word}.border-radius-4{border-radius:4px}.border-radius-8{border-radius:8px}
