:root{--ui-copy:0.875rem;--ui-help:0.8125rem;--ui-subtitle:1rem;--ui-title:1.25rem;--space-related:6px;--space-field:20px;--space-section:28px}.database-settings-body>.field-label,.entity-settings .settings-pane .field-label,.field-label,.property-panel .field-label{display:grid;gap:var(--space-related);margin:0 0 var(--space-field);font-size:var(--ui-copy);font-weight:400}.entity-settings .settings-pane .field-label>span,.field-label>span{margin:0;font-size:var(--ui-copy);font-weight:600;line-height:1.4}.field-label>:is(input,select,textarea){font-weight:400}.field-help,.field-label>.field-help{font-size:var(--ui-help);font-weight:400;line-height:1.5;color:var(--muted)}.form-grid{gap:var(--space-field) 16px}.form-grid>.field-label{margin-bottom:0}.form-grid+.form-actions{margin-top:var(--space-field)}:where(.dialog,.property-panel,.contextual-panel,.database-settings-body,.record-panel,.comment-panel){font-size:var(--ui-copy);line-height:1.5}:where(.dialog,.property-panel,.contextual-panel,.database-settings-body)>p+p{margin-top:6px}:where(.dialog,.property-panel,.contextual-panel,.database-settings-body)>p+:is(form,.field-label,label,.row,.form-grid){margin-top:var(--space-field)}:where(.dialog,.property-panel,.contextual-panel) section>:is(h3,h4),:where(.dialog,.property-panel,.contextual-panel)>:is(h3,h4){font-size:var(--ui-subtitle);font-weight:700;line-height:1.35;margin:0 0 6px}.dialog-heading{margin-bottom:24px}.dialog-heading h2{font-size:var(--ui-title);line-height:1.3;font-weight:700;margin:0}.dialog-heading p{margin:6px 0 0;font-size:var(--ui-help);line-height:1.5}.property-panel-heading{margin-bottom:6px}.property-panel .property-scope{margin:0 0 20px;font-size:var(--ui-help)}.database-settings-help,.property-panel .muted{font-size:var(--ui-help);line-height:1.5}.menu-section-label{margin-top:20px;margin-bottom:6px;line-height:1.4}.menu-section-label:first-child{margin-top:0}:where(.form-actions,.dialog-actions){margin-top:20px;gap:8px}:where(.slash-menu,.search-result,.template-choice,.dialog-list-button) :is(small,p){margin-top:3px;line-height:1.4}:where(.template-library-card,.base-card,.welcome-note,.empty,.database-empty) :is(h3,h4){margin:0 0 6px;line-height:1.35}:where(.template-library-card,.base-card,.welcome-note,.empty,.database-empty) p{margin-top:0;line-height:1.5}.database-empty{gap:8px}.database-empty h3{margin-bottom:0}.database-empty>.button{margin-top:8px}.workspace-home section{margin:32px 0}.workspace-home h2{margin:0 0 10px;line-height:1.35}.workspace-welcome h1{margin:8px 0}.workspace-welcome p{line-height:1.5}.workspace-card strong+small{margin-top:4px}.template-library-section-heading{margin-top:28px;margin-bottom:12px}.template-library-section-heading :is(h3,p){margin:0}.template-library-section-heading p{margin-top:6px}.comment-card{margin:24px 0 0;padding-bottom:20px}.comment-author{margin-bottom:6px}.comment-card p{line-height:1.5}.comment-card small{font-size:.75rem}.comment-compose-label{font-size:var(--ui-copy);font-weight:600;margin:24px 0 6px}.comment-panel textarea+select{margin-top:8px}.login-card h1{margin:0 0 8px;line-height:1.3}.login-card>p{margin:0 0 24px;line-height:1.5}.login-card .field-label{margin-bottom:20px}.table-input-dialog>label{display:grid;gap:6px;margin-top:20px;margin-bottom:20px;font-weight:600}.table-input-dialog>label input{font-weight:400}.table-input-dialog>.muted{font-size:var(--ui-help)}.entity-settings .settings-pane{font-size:var(--ui-copy);line-height:1.5}.entity-settings .settings-pane h3{font-size:var(--ui-title);margin:0 0 8px;line-height:1.3}.entity-settings .settings-pane h4{font-size:var(--ui-subtitle);margin:0 0 6px;line-height:1.4}.entity-settings .settings-pane p{font-size:var(--ui-copy);line-height:1.5}.entity-settings .settings-pane :is(input,select,textarea,.settings-facts,.entity-usage){font-size:var(--ui-copy)}.entity-settings .settings-pane small{font-size:var(--ui-help);line-height:1.5}.entity-settings .settings-pane .settings-intro{margin:0 0 24px}.entity-settings .settings-pane .settings-security-section{margin-top:28px;padding-top:24px}.entity-settings .settings-security-section>.muted{margin-top:0;margin-bottom:20px}.entity-settings .settings-pane .settings-field-help{margin:0 0 20px;font-size:var(--ui-help)}.entity-settings .settings-pane .field-label:has(+.settings-field-help){margin-bottom:6px}.entity-settings .settings-pane .settings-section-heading h3{margin:0}.entity-settings .settings-section-heading{margin-bottom:8px}.settings-facts{margin:16px 0}.entity-event strong,.entity-invitation strong{font-size:var(--ui-copy)}.entity-event small,.entity-invitation small{margin-top:4px}.settings-empty-state p+p{margin-top:8px}.entity-settings .entity-usage{margin:20px 0 24px;gap:10px 16px}.preference-preview{padding:12px;border-left:3px solid var(--accent);background:var(--subtle);margin:-10px 0 24px}.preference-preview small,.preference-preview span{display:block}.preference-preview small{color:var(--muted);margin-top:4px}.preference-toggle{display:flex;align-items:flex-start;gap:10px;margin-top:24px;cursor:pointer}.preference-toggle input{width:18px;height:18px;flex:0 0 auto;margin-top:2px}.preference-toggle strong{display:block;font-weight:600}.preference-toggle small{display:block;margin-top:4px;color:var(--muted)}.preference-save-state{min-height:24px;margin-top:12px;color:var(--muted);font-size:var(--ui-help)}.localized-value{display:block;position:relative;min-width:0;width:100%}.localized-value>input{width:100%}.localized-value:not(:focus-within)>input{color:transparent!important;-webkit-text-fill-color:transparent}.localized-value .formatted-value{position:absolute;inset:0 24px 0 10px;display:flex;align-items:center;white-space:nowrap;overflow:hidden;pointer-events:none;color:var(--foreground);font:inherit}.localized-value:focus-within .formatted-value{display:none}.editor .document-editor :is(h1,h2,h3).editor-block-target:not(:where(.database *)){margin-bottom:8px;line-height:1.3}.editor .document-editor .editor-block-target:not(h1,h2,h3):has(+.block-gutter-controls+:is(h1,h2,h3)),.editor .document-editor .editor-block-target:not(h1,h2,h3):has(+:is(h1,h2,h3)){margin-bottom:28px}@media (max-width:600px){.entity-settings .settings-pane h3{font-size:1.125rem}.entity-settings .settings-pane .field-label{margin-bottom:20px}.entity-settings .settings-pane .field-label:has(+.settings-field-help){margin-bottom:6px}.preference-preview{padding:10px}}.editor .tiptap .simple-table-scroll{width:calc(100% + 24px);max-width:calc(100% + 24px);margin:0 0 14px -24px;padding:4px 24px;overflow:auto;overscroll-behavior-x:contain}.editor .tiptap .simple-table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.composition-preview{margin:24px 0;padding:16px;background:var(--subtle)}.composition-children h3,.composition-preview h3{font-size:1rem;margin:0 0 6px}.composition-preview p+p{margin-top:6px}.composition-external{margin-top:24px}.composition-external ul{padding-left:20px;margin:8px 0 16px;max-height:150px;overflow:auto}.composition-external label{display:flex;align-items:flex-start;gap:8px}.composition-external input{flex:0 0 16px;margin-top:3px}.composition-children{margin:24px 0}.composition-children>div{display:flex;flex-wrap:wrap;gap:8px}.composition-children .button{white-space:normal;text-align:left}.query-group,.view-query-editor{display:grid;gap:16px;min-width:0}.query-condition,.query-sort-rule{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:6px;min-width:0}.query-condition .query-group{padding-left:8px;border-left:2px solid var(--border)}.query-rule-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.query-rule-heading>select{flex:1;min-width:0;width:0}.query-rule-heading>.row{flex-shrink:0;gap:0}.query-add-actions{display:flex;flex-wrap:wrap;gap:4px}.view-query-editor input,.view-query-editor select{max-width:100%;min-width:0}.feedback-dialog{width:min(960px,calc(100vw - 24px));height:min(830px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;padding:0;overflow:hidden}.feedback-dialog>.dialog-heading{padding:24px 24px 18px;margin:0}.feedback-dialog>.dialog-heading,.feedback-tabs{flex-shrink:0;border-bottom:1px solid var(--border)}.feedback-tabs{display:flex;gap:4px;padding:10px 24px}.feedback-tabs button{padding:9px 14px;border-radius:6px;font-weight:600}.feedback-tabs button[aria-current]{color:var(--primary);background:#efebff}.feedback-body{padding:24px;overflow:auto;min-height:0;flex:1}.feedback-form{max-width:700px;margin:0 auto;display:grid;gap:20px}.feedback-filters .field-label,.feedback-form .field-label,.feedback-management .field-label{margin:0;display:grid;gap:6px;min-width:0}.feedback-kind{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.feedback-kind legend{font-size:14px;font-weight:600;margin-bottom:8px}.feedback-kind label{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:6px;cursor:pointer}.feedback-kind label:has(input:checked){border-color:var(--primary);background:#f1eeff}.feedback-context input,.feedback-kind input{width:16px;height:16px;flex-shrink:0;accent-color:var(--primary)}.feedback-context{display:flex;align-items:flex-start;gap:10px;font-size:14px}.feedback-help{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.feedback-form .form-actions{justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0}.feedback-form .form-actions .muted{font-size:12px;flex:1;min-width:180px}.feedback-empty,.feedback-success{max-width:600px;margin:32px auto;text-align:center;display:grid;justify-items:center;gap:10px}.feedback-empty h3,.feedback-success h3{font-size:20px;line-height:1.35;margin:8px 0 0}.feedback-empty p,.feedback-success p{margin:0}.feedback-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;margin-bottom:24px}.feedback-filters>.field-label:first-child{grid-column:span 2}.feedback-filters>.button{justify-self:end}.feedback-list{list-style:none;padding:0;margin:12px 0;display:grid;gap:10px}.feedback-list>li>button{display:grid;gap:8px;width:100%;text-align:left;padding:16px;border:1px solid var(--border);border-radius:7px;background:var(--surface,#fffdf5)}.feedback-list>li>button:hover{border-color:var(--primary)}.feedback-list strong{font-size:16px;overflow-wrap:anywhere}.feedback-item-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.feedback-item-meta,.feedback-reference{font-size:12px;color:var(--muted)}.feedback-status{display:inline-block;font-size:12px;font-weight:600;border-radius:4px;padding:4px 8px;background:#eeeafc;color:#4e3b91;width:fit-content}.feedback-status.status-done{color:#275f42;background:#e4f1e9}.feedback-status.status-declined{color:#625b62;background:#eeebed}.feedback-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px}.feedback-detail{max-width:740px;margin:16px auto 0}.feedback-detail>header h3{font-size:24px;line-height:1.3;margin:6px 0 8px;overflow-wrap:anywhere}.feedback-detail>header p{margin:0 0 12px;font-size:13px}.feedback-detail section{margin-top:28px}.feedback-detail h4{font-size:16px;margin:0 0 8px}.feedback-detail section>p{margin:0 0 12px}.feedback-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.feedback-management{border-top:1px solid var(--border);padding-top:24px}.feedback-management-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.feedback-comparison{margin-top:16px;padding:16px;background:#f0ecdf;border-radius:6px}.feedback-history{margin:0;padding-left:22px;font-size:14px;line-height:1.8}.feedback-body input,.feedback-body select,.feedback-body textarea{max-width:100%;min-width:0}.feedback-body textarea{resize:vertical;min-height:120px}@media (max-width:600px){.feedback-dialog>.dialog-heading{padding:18px 16px 14px}.feedback-body{padding:16px}.feedback-tabs{padding:8px 16px}.feedback-filters{grid-template-columns:1fr}.feedback-filters>.field-label:first-child{grid-column:auto}.feedback-filters>.button{justify-self:start}.feedback-kind,.feedback-management-fields{grid-template-columns:1fr}.feedback-kind{display:grid}.feedback-kind label{padding:9px 12px}.feedback-pagination{flex-wrap:wrap}.feedback-detail>header h3{font-size:21px}}.feedback-reply-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:16px}.feedback-reply-list>li{border-left:3px solid var(--primary);padding:12px 16px;background:var(--subtle)}.feedback-reply-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin:0 0 10px;font-size:13px}.feedback-reply-meta time{color:var(--muted)}.feedback-reply-list .feedback-description{margin:0}.feedback-reply-form{margin-top:24px;display:grid;gap:10px}.feedback-reply-form .field-label,.feedback-reply-form .form-actions{margin:0}