.notes-db-value{display:inline-flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere;color:var(--sl-text)}.notes-db-value progress{appearance:none;width:88px;height:8px;background:var(--sl-raised);border:1px solid var(--sl-control)}.notes-db-value progress::-webkit-progress-bar{background:var(--sl-raised)}.notes-db-value progress::-webkit-progress-value{background:var(--sl-accent)}.notes-db-value progress::-moz-progress-bar{background:var(--sl-accent)}.notes-db-error{color:var(--sl-error);white-space:normal}.notes-db-computed{min-height:44px;display:flex;align-items:center;gap:8px}.notes-db-computed small{color:var(--sl-muted)}.notes-db-number-edit{display:grid;gap:6px}.notes-db-number-edit>.notes-db-value{font-size:12px;color:var(--sl-muted)}
.notes-db-value:has(.notes-db-rich){display:inline;overflow-wrap:anywhere}.notes-db-rich{white-space:pre-wrap;overflow-wrap:anywhere}.notes-db-rich[href]{color:var(--sl-accent);text-decoration:underline;text-underline-offset:3px}.notes-db-rich.notes-db-style-b{font-weight:650}.notes-db-rich.notes-db-style-i{font-style:italic}.notes-db-rich.notes-db-style-u{text-decoration:underline}.notes-db-rich.notes-db-style-s{text-decoration:line-through}.notes-db-rich.notes-db-style-u.notes-db-style-s{text-decoration:underline line-through}.notes-db-rich.notes-db-style-c{font-family:Consolas,monospace;background:var(--sl-raised);border:1px solid var(--sl-line);padding:1px 4px}.notes-db-rich.notes-db-style-default{color:var(--sl-text)}.notes-db-rich.notes-db-style-gray{color:var(--sl-muted)}.notes-db-rich.notes-db-style-brown{--rich-tone:#a57552}.notes-db-rich.notes-db-style-orange{--rich-tone:#d97928}.notes-db-rich.notes-db-style-yellow{--rich-tone:#a58a24}.notes-db-rich.notes-db-style-green{--rich-tone:#4b9d69}.notes-db-rich.notes-db-style-blue{--rich-tone:#548bc7}.notes-db-rich.notes-db-style-purple{--rich-tone:#9471c3}.notes-db-rich.notes-db-style-pink{--rich-tone:#bd749f}.notes-db-rich.notes-db-style-red{--rich-tone:#c46363}.notes-db-rich:is(.notes-db-style-brown,.notes-db-style-orange,.notes-db-style-yellow,.notes-db-style-green,.notes-db-style-blue,.notes-db-style-purple,.notes-db-style-pink,.notes-db-style-red){color:color-mix(in srgb,var(--sl-text) 70%,var(--rich-tone) 30%)}.notes-db-rich.notes-db-style-gray_background{--rich-bg:#888}.notes-db-rich.notes-db-style-brown_background{--rich-bg:#a57552}.notes-db-rich.notes-db-style-orange_background{--rich-bg:#d97928}.notes-db-rich.notes-db-style-yellow_background{--rich-bg:#a58a24}.notes-db-rich.notes-db-style-green_background{--rich-bg:#4b9d69}.notes-db-rich.notes-db-style-blue_background{--rich-bg:#548bc7}.notes-db-rich.notes-db-style-purple_background{--rich-bg:#9471c3}.notes-db-rich.notes-db-style-pink_background{--rich-bg:#bd749f}.notes-db-rich.notes-db-style-red_background{--rich-bg:#c46363}.notes-db-rich:is(.notes-db-style-gray_background,.notes-db-style-brown_background,.notes-db-style-orange_background,.notes-db-style-yellow_background,.notes-db-style-green_background,.notes-db-style-blue_background,.notes-db-style-purple_background,.notes-db-style-pink_background,.notes-db-style-red_background){background:color-mix(in srgb,var(--sl-surface) 88%,var(--rich-bg) 12%);padding:1px 3px}
.notes-db-list{border:1px solid var(--sl-line);min-width:0}.notes-db-list-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--sl-line);padding:4px 12px;min-height:52px}.notes-db-list-row:last-of-type{border-bottom:0}.notes-db-row-title{min-height:44px;background:transparent;border:0;text-align:left;overflow-wrap:anywhere;min-width:0;flex:1;font-weight:550;color:var(--sl-heading)}.notes-db-list-fields{display:flex;flex-wrap:wrap;gap:8px 20px;max-width:65%;color:var(--sl-muted);font-size:13px}.notes-db-more{min-height:44px;width:100%;border:0;border-top:1px solid var(--sl-line);background:var(--sl-surface)}
.notes-db-timeline{min-width:0}.notes-db-timeline-scroll{overflow:auto;max-width:100%;border:1px solid var(--sl-line)}.notes-db-timeline-grid{width:calc(var(--timeline-width) + 220px);min-width:100%;position:relative}.notes-db-timeline-axis{height:44px;margin-left:220px;border-bottom:1px solid var(--sl-line);position:relative;background:var(--sl-surface)}.notes-db-timeline-axis>span{position:absolute;padding:12px 4px;white-space:nowrap;font-size:11px;color:var(--sl-muted);border-left:1px solid var(--sl-line);height:100%}.notes-db-timeline-row{display:grid;grid-template-columns:220px 1fr;min-height:52px;border-bottom:1px solid var(--sl-line)}.notes-db-timeline-row>.notes-db-row-title{position:sticky;left:0;z-index:2;background:var(--sl-surface);border-right:1px solid var(--sl-line);padding:8px 12px}.notes-db-timeline-lane{position:relative;min-height:52px;background:var(--sl-bg)}.notes-db-timeline-bar{position:absolute;top:6px;min-height:40px;min-width:4px;max-width:none;background:var(--sl-raised);border:1px solid var(--sl-accent);border-left:3px solid var(--sl-accent);color:var(--sl-heading);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px;font-size:12px;text-align:left}
.notes-db-chart{padding:20px;border:1px solid var(--sl-line);background:var(--sl-surface);min-width:0}.notes-db-chart h3{margin:0 0 16px;font-size:16px}.notes-db-chart-plot{display:block;width:100%;height:auto;max-height:400px;color:var(--sl-accent)}.notes-db-chart-plot :is(rect,circle){fill:var(--sl-accent)}.notes-db-chart-plot circle[fill=none]{fill:none;stroke:var(--sl-accent);stroke-opacity:var(--chart-tone,1)}.notes-db-chart-plot path{stroke:var(--sl-accent)}.notes-db-chart-plot text{fill:var(--sl-muted);font-size:13px;font-family:'Pretendard Variable',sans-serif}.notes-db-chart-axis{stroke:var(--sl-control);stroke-width:1}.notes-db-chart-number{font-family:Inter,'Pretendard Variable',sans-serif;font-size:clamp(30px,5vw,64px);font-weight:600;color:var(--sl-heading);margin:20px 0}.notes-db-chart-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px}.notes-db-chart-table :is(th,td){border-bottom:1px solid var(--sl-line);padding:8px 12px;text-align:left;overflow-wrap:anywhere}.notes-db-chart-table th{color:var(--sl-muted);font-weight:500}.notes-db-chart-table td:last-child,.notes-db-chart-table th:last-child{width:68px;text-align:right}.notes-db-chart-table summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--sl-heading)}.notes-db-chart-members{display:grid;gap:4px;max-height:300px;overflow:auto}.notes-db-chart-members button{padding:8px;min-height:44px}.notes-db-aggregate{color:var(--sl-muted);font-size:12px;background:var(--sl-surface)}.notes-db-aggregate strong{display:block;color:var(--sl-heading);font-weight:550;margin-top:4px}
.notes-db-property-options{display:grid;gap:12px;grid-column:1/-1;min-width:0}.notes-db-property-options>.typed-field{margin:0}.notes-db-formula-editor{width:100%;min-height:100px;resize:vertical;font:13px/1.7 Consolas,monospace;background:var(--sl-bg);color:var(--sl-text)}.notes-db-formula-state{margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.notes-db-formula-state[data-error=true]{color:var(--sl-error)}.notes-db-formula-help{border:1px solid var(--sl-line);padding:12px;min-width:0}.notes-db-formula-help summary{min-height:44px;cursor:pointer;padding:10px 0;color:var(--sl-heading)}.notes-db-formula-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;max-height:280px;overflow:auto;padding-top:8px}.notes-db-formula-catalog button{min-height:44px;display:grid;gap:4px;text-align:left;padding:10px}.notes-db-formula-catalog code{color:var(--sl-heading);font-size:12px;overflow-wrap:anywhere;white-space:normal}.notes-db-formula-catalog small{color:var(--sl-muted);font-size:11px;line-height:1.5}.notes-db-formula-preview{width:100%;border-collapse:collapse;table-layout:fixed}.notes-db-formula-preview :is(th,td){border-bottom:1px solid var(--sl-line);padding:8px;text-align:left;overflow-wrap:anywhere}.notes-db-formula-preview th{font-size:12px;color:var(--sl-muted)}.notes-db-formula-preview td{font-size:13px}.notes-db-formula-properties{display:flex;gap:6px;flex-wrap:wrap}.notes-db-formula-properties button{min-height:44px;font-size:12px}.notes-db-format-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.notes-db-format-fields input{width:100%}
.notes-db-relation-control{display:grid;gap:8px;min-width:140px}.notes-db-relation-control>button{min-height:44px;text-align:left;background:var(--sl-surface)}.notes-db-relation-control>span{font-size:12px;color:var(--sl-muted);overflow-wrap:anywhere}.notes-db-relation-search{width:100%;min-height:44px}.notes-db-relation-list{display:grid;gap:4px;max-height:380px;overflow:auto;border:1px solid var(--sl-line);padding:6px}.notes-db-relation-list label{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px;cursor:pointer}.notes-db-relation-list input{min-height:20px;accent-color:var(--sl-accent);flex:none}.notes-db-relation-list label:has(input:checked){background:var(--sl-raised);color:var(--sl-heading)}.notes-db-relation-list label>span{min-width:0;overflow-wrap:anywhere}.notes-db-view-section{padding:12px 0;border-top:1px solid var(--sl-line);display:grid;gap:12px;min-width:0}.notes-db-view-section h3{margin:0;font-size:14px}.notes-db-aggregation-settings{display:grid;gap:8px}.notes-db-aggregation-setting{display:grid;grid-template-columns:minmax(100px,1fr) minmax(150px,1fr);gap:12px;align-items:center}.notes-db-property-options :is(button,input,select),.notes-db-view-section :is(button,input,select){min-height:44px}
.typed-dialog :is(.typed-dialog-content,.typed-property-list,.typed-filter-list){grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}.typed-dialog .typed-setting-fields{min-width:0;max-width:100%}.typed-dialog .typed-property-item{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;max-width:100%}.typed-dialog .typed-property-item>:is(.typed-choice-editor,.notes-db-property-options){grid-column:1/-1;min-width:0;max-width:100%}.typed-dialog .typed-property-item>button{justify-self:start}.typed-dialog :is(.typed-setting-row,.typed-choice-editor,.typed-dialog-content>fieldset){min-width:0;max-width:100%}.typed-dialog .typed-setting-row>input{min-width:0;width:100%}.typed-dialog .notes-select{min-width:0;max-width:100%}.typed-dialog .notes-select>button{min-width:0;white-space:normal;overflow-wrap:anywhere}.typed-dialog .typed-dialog-heading h2{min-width:0;overflow-wrap:anywhere}.typed-dialog .typed-dialog-heading>button{flex:none;white-space:nowrap;min-height:44px}.notes-db-formula-preview-scroll{min-width:0;max-width:100%;overflow:auto}.notes-db-formula-preview-scroll>.notes-db-formula-preview{min-width:220px}.typed-dialog .notes-db-formula-catalog button{min-width:0;overflow-wrap:anywhere}.typed-dialog .notes-db-formula-editor{min-width:0;max-width:100%}
@media(max-width:760px){.notes-db-list-row{align-items:flex-start;flex-direction:column;gap:0;padding:8px}.notes-db-list-row>.notes-db-row-title{width:100%}.notes-db-list-fields{max-width:100%;padding:0 12px 8px}.notes-db-chart{padding:12px}.notes-db-chart-table :is(th,td){padding:6px}.notes-db-format-fields{grid-template-columns:1fr}.notes-db-aggregation-setting{grid-template-columns:1fr;gap:4px}.notes-db-formula-catalog{grid-template-columns:1fr}.notes-db-timeline-grid{width:calc(var(--timeline-width) + 150px)}.notes-db-timeline-row{grid-template-columns:150px 1fr}.notes-db-timeline-axis{margin-left:150px}}
@media(max-width:520px){.typed-dialog .typed-property-item{grid-template-columns:minmax(0,1fr)}.typed-dialog .typed-date-range input{min-width:0;width:100%}.typed-dialog .typed-dialog-heading{flex-wrap:wrap}.typed-dialog .typed-dialog-heading h2{flex:1 1 120px}}
