.owner-workspace .dc-page{display:flex;flex-direction:column;gap:12px;min-width:0;font-size:12px}
.dc-heading,.dc-heading>div,.dc-actions,.dc-row,.dc-footer,.dc-footer>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.dc-heading>div{justify-content:flex-start}.dc-muted,.dc-note{color:var(--muted)}
.dc-status{display:inline-block;font-size:11px;padding:5px 9px;border-radius:6px;background:var(--surface);border:1px solid var(--border)}
.dc-status.connected{color:#536a3b}.dc-status.error{color:var(--accent)}
.dc-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:13px 0}
.dc-facts>div{padding:0 17px;border-right:1px solid var(--border);min-width:0}.dc-facts>div:last-child{border:0}
.dc-facts span{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.dc-facts strong{font-size:14px;font-weight:550;overflow-wrap:anywhere}
.dc-note{font-size:11px;line-height:1.5;margin:0}.dc-notice,.dc-error{padding:10px 13px;border-radius:7px;margin:0;line-height:1.5;background:var(--surface);border:1px solid var(--border)}
.dc-error{border-color:#c7a48b;color:var(--accent)}
.dc-data{border:1px solid var(--border);border-radius:11px;overflow:hidden;background:var(--surface);min-width:0;display:flex;flex-direction:column}
.dc-filters{display:flex;gap:9px;align-items:end;padding:12px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.dc-filters label,.dc-mapping label{display:grid;gap:5px;font-size:10px;color:var(--muted)}
.dc-filters input,.dc-filters select,.dc-mapping select{font:inherit;font-size:12px;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:6px;padding:8px;min-height:34px;max-width:100%;box-sizing:border-box}
.dc-search{flex:1;min-width:140px}.dc-filters input[type=date]{width:135px}
.dc-table-scroll{overflow:auto;min-height:160px;max-height:calc(100dvh - 325px);scrollbar-gutter:stable}
.dc-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:11px}
.dc-table th,.dc-table td{padding:11px 14px;border-bottom:1px solid var(--border);font-weight:400;vertical-align:top}
.dc-table thead{position:sticky;top:0;z-index:1;background:var(--surface)}.dc-table thead th{font-size:10px;color:var(--muted);font-weight:500}
.dc-table small{display:block;font-size:10px;color:var(--muted);margin-top:4px}
.dc-record{font:inherit;font-weight:550;color:var(--text);border:0;background:none;padding:0;cursor:pointer;text-align:left;white-space:normal;max-width:320px}
.dc-record:hover{color:var(--accent)}.dc-table a{color:var(--accent);text-decoration:none}
.dc-detail{white-space:normal;background:var(--bg)}.dc-detail .os-record-detail{padding:5px 0}.dc-detail dd{overflow-wrap:anywhere}
.dc-footer{padding:10px 12px;color:var(--muted);font-size:10px}.dc-footer .btn{padding:6px 10px;font-size:11px}
.dc-history{color:var(--muted);font-size:11px}.dc-history summary{cursor:pointer}.dc-history>div{display:flex;gap:15px;flex-wrap:wrap;padding:8px 0}.dc-history p{flex-basis:100%;margin:0}
.dc-empty{padding:28px;text-align:center;color:var(--muted)}
.dc-import{border:1px solid var(--border);border-radius:10px;padding:16px;background:var(--surface);line-height:1.5}.dc-import p{font-size:11px;color:var(--muted);margin:10px 0}
.dc-file{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.dc-file input{max-width:100%}.dc-mapping{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.dc-mini-scroll{overflow:auto;max-height:210px}.dc-preview{margin-top:12px;border-top:1px solid var(--border);padding-top:8px}
.dc-page button:disabled{opacity:.55;cursor:default}.dc-page :is(button,a,input,select):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:1050px){.dc-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 0}.dc-facts>div:nth-child(2){border:0}.dc-table-scroll{max-height:calc(100dvh - 390px)}.dc-filters input[type=date]{width:125px}}
@media(max-width:650px){.dc-facts strong{font-size:12px}.dc-facts>div{padding:0 10px}.dc-heading{align-items:flex-start}.dc-heading>div{gap:7px}.dc-actions{width:100%;justify-content:flex-start}.dc-data{border-radius:8px}.dc-filters{gap:8px}.dc-search{flex-basis:100%}.dc-filters label:has(input[type=date]){width:calc(50% - 4px)}.dc-filters input[type=date]{width:100%}.dc-table{min-width:680px}.dc-table-scroll{max-height:480px}.dc-mapping{grid-template-columns:1fr 1fr}.dc-import{padding:12px}.dc-footer>div{margin-left:auto}}

@media(min-width:1051px) and (min-height:650px){.owner-workspace .dc-page:not(:has(.dc-import)){height:var(--dc-available);min-height:0}.dc-page:not(:has(.dc-import)) .dc-data{flex:1;min-height:160px}.dc-page:not(:has(.dc-import)) .dc-table-scroll{flex:1;min-height:0;max-height:none}.dc-page:not(:has(.dc-import)) .dc-history[open]{max-height:130px;overflow:auto}}
