.stack-tight{flex-direction:column;gap:4px;min-width:0;display:flex}.row-tight{gap:4px}.row-actions{flex-wrap:nowrap;justify-content:flex-end}.field-help{font-size:12px;line-height:16px}.field-error{color:var(--destructive);font-size:12px;line-height:16px}.required-mark{color:var(--destructive)}.switch-row{align-items:flex-start;gap:12px;display:flex}.switch-row>[role=switch]{margin-top:2px}.switch-grid{flex-wrap:wrap;gap:12px 24px;display:flex}.collection-link{font-weight:500}.collection-link:hover{text-decoration:underline}.collection-link svg,.collection-page h1+svg{width:16px;height:16px;color:var(--muted-foreground)}.collection-skeleton{gap:12px;padding:16px}.collection-header h1{gap:8px}.collection-page .settings-tab svg{width:14px;height:14px}.order-cell{width:80px}.optimistic{transition:opacity .18s cubic-bezier(.23,1,.32,1)}.optimistic.is-pending{opacity:.6;transition-duration:0s}.pending-tag{color:var(--foreground);white-space:nowrap;font-size:12px;font-weight:400;line-height:16px}.field-dialog{scrollbar-width:thin;max-height:calc(100vh - 48px);overflow-y:auto}.type-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;display:grid}.type-tile{border:1px solid var(--border);background:var(--background);text-align:left;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:8px 12px;font-size:13px;line-height:20px;transition:background-color .15s,border-color .15s;display:flex}.type-tile svg{width:16px;height:16px;color:var(--muted-foreground);flex-shrink:0}.type-tile:hover:not(:disabled){background:var(--muted);border-color:var(--muted-foreground)}.type-tile:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.type-tile:disabled{cursor:not-allowed;color:var(--muted-foreground)}.type-tile .sample-badge{margin-left:auto}.options-editor{border:0;margin:0;padding:0}.option-row{grid-template-columns:56px 1fr 36px;align-items:center;gap:8px;display:grid}.option-color{width:56px}.swatch{border-radius:9999px;flex-shrink:0;width:10px;height:10px;display:inline-block}.option-chip{background:var(--muted);height:22px;color:var(--foreground);white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:0 8px;font-size:12px;line-height:16px;display:inline-flex}.records-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.records-toolbar-start{flex:320px}.records-toolbar .search-field{flex:220px}.segmented{border:1px solid var(--border);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.records-card table{min-width:100%}.records-card:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.records-state{min-height:368px;display:grid}.records-card[aria-busy=true] tbody{opacity:.6;transition:opacity .15s}.records-card th,.records-card td{white-space:nowrap}.records-card td{max-width:280px}.records-card .numeric,.collections-card .numeric{text-align:right;font-variant-numeric:tabular-nums}.records-card th.numeric .sort-button{margin-left:auto}.record-row{cursor:pointer}.record-row:hover{background:var(--muted)}.record-title{font-weight:500}.record-open{text-overflow:ellipsis;text-align:left;max-width:260px;overflow:hidden}.record-open:hover{text-decoration:underline}.record-open:focus-visible,.sort-button:focus-visible{outline:2px solid var(--ring);outline-offset:2px;border-radius:4px}.cell-text{text-overflow:ellipsis;max-width:260px;display:block;overflow:hidden}.sort-button{font:inherit;color:inherit;align-items:center;gap:4px;display:inline-flex}.sort-button svg{width:14px;height:14px}.records-paging{font-size:13px}.record-filters{gap:8px}.filter-popover{width:300px}.filter-chip{border:1px solid var(--border);background:var(--muted);border-radius:8px;align-items:center;gap:4px;max-width:320px;height:32px;padding:0 4px 0 10px;font-size:13px;line-height:20px;display:inline-flex}.filter-chip button{width:24px;height:24px;color:var(--muted-foreground);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.filter-chip button:hover{background:var(--accent);color:var(--foreground)}.filter-chip svg{width:14px;height:14px}.choice-list{flex-direction:column;gap:6px;max-height:200px;display:flex;overflow-y:auto}.choice{align-items:center;gap:8px;font-size:13px;line-height:20px;display:flex}.choice input{accent-color:var(--primary);width:16px;height:16px}.preview-list{padding-left:18px;font-size:13px;list-style:outside}.record-sheet{flex-direction:column;width:100%;padding:0;display:flex}.record-sheet-state{padding:24px}.responsive-sheet-drawer.record-sheet[data-vaul-drawer]{gap:0;padding:12px 0 0}.responsive-sheet-drawer .record-form{flex:1;height:auto}.responsive-sheet-drawer .record-sheet-header{text-align:left;padding:8px 16px 12px}.responsive-sheet-drawer .record-fields{padding:16px}.responsive-sheet-drawer .record-sheet-footer{padding:12px 16px max(16px, env(safe-area-inset-bottom))}.responsive-sheet-drawer .record-sheet-state{padding:8px 16px 16px}@media (width>=640px){.record-sheet{max-width:480px}}.record-form{flex-direction:column;height:100%;min-height:0;display:flex}.record-sheet-header{border-bottom:1px solid var(--border);gap:8px;padding:24px 48px 16px 24px}.record-fields{flex-direction:column;flex:1;gap:16px;padding:16px 24px;display:flex;overflow-y:auto}.record-sheet-footer{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding:12px 24px}.record-sheet-buttons{justify-content:flex-end}.record-textarea{border:1px solid var(--input);resize:vertical;background:0 0;border-radius:8px;width:100%;min-height:96px;padding:8px 12px;font-size:13px;line-height:20px}.record-textarea:focus-visible{box-shadow:0 0 0 1px var(--ring);outline:none}.record-textarea:disabled{cursor:not-allowed;opacity:.5}.currency-input{align-items:center;gap:8px;display:flex}.currency-input>span{color:var(--muted-foreground);font-size:13px}.color-input input[type=color]{border:1px solid var(--input);background:0 0;border-radius:8px;flex-shrink:0;width:36px;height:36px;padding:2px}.record-readonly{font-size:13px;line-height:20px}
