/* Data-first directory layout. Existing record IDs, permissions and actions remain authoritative. */
body:has(.library-v2) .app-layout>.sidebar{display:none!important}.library-v2 .page-heading{margin:0 0 16px!important;align-items:center!important}.library-v2 .page-heading h1{font-size:24px!important}.library-v2 .page-heading p{font-size:12px!important;margin:4px 0 0}.library-frame{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:start}.library-rail{border:1px solid var(--sky-line);background:#fff;border-radius:11px;padding:13px 10px;position:sticky;top:16px}.library-rail-heading{display:flex;align-items:center;justify-content:space-between;padding:0 3px 8px}.library-rail-heading h2{font-size:13px!important;margin:0}.library-rail-heading .icon-button{width:26px;height:26px;min-height:26px;padding:5px;border:0;background:transparent}.library-category-search{display:flex;align-items:center;gap:5px;padding:0 6px;border:1px solid var(--sky-line);border-radius:7px;margin-bottom:10px}.library-category-search svg{width:13px!important;color:var(--sky-muted)}.sky-workspace .library-category-search input{font-size:11px;min-height:30px;width:100%;padding:5px 2px;border:0;box-shadow:none!important;background:transparent}.library-rail nav{display:grid;gap:3px;max-height:calc(100dvh - 265px);overflow:auto}.library-rail nav a{display:flex;align-items:center;gap:8px;padding:8px 9px;color:var(--sky-muted);border-radius:6px;font-size:12px;line-height:1.5;min-width:0}.library-rail nav a svg{width:14px!important;height:14px!important}.library-rail nav a>span{flex:1;min-width:0;overflow-wrap:anywhere}.library-rail nav a>small{font-size:10px;color:var(--sky-muted)}.library-rail nav a:hover,.library-rail nav a.selected{background:var(--sky-soft);color:var(--sky-accent);font-weight:600}.library-new-category{width:100%;margin-top:12px;border-top:1px solid var(--sky-line)!important;border-radius:0!important;padding-top:12px!important}.library-content{min-width:0;background:#fff;border:1px solid var(--sky-line);border-radius:11px;padding:14px 14px 0}.library-v2 .library-search{margin:0 0 12px;padding:0;border:0;background:transparent;gap:12px;display:flex;align-items:center}.library-v2 .search-field{width:100%;max-width:450px;border:1px solid var(--sky-line);border-radius:7px;background:#fff;min-height:34px}.library-v2 .search-field input{min-height:32px!important;padding:6px 8px!important;font-size:12px!important;border:0!important;box-shadow:none!important;background:transparent!important}.library-v2 .search-field .search-symbol{width:28px;display:grid;place-items:center}.library-v2 .result-count{margin-left:auto;white-space:nowrap;font-size:11px;color:var(--sky-muted)}.library-v2 .library-tabs{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 0 10px;margin:0;border-bottom:1px solid var(--sky-line)}.library-v2 .filter-tabs{display:flex;gap:4px;min-width:0;overflow:auto;scrollbar-width:none}.library-v2 .filter-tab{display:flex;align-items:center;gap:5px;min-height:31px!important;border:0!important;border-radius:6px!important;padding:5px 9px!important;font-size:11px!important;white-space:nowrap;background:transparent;color:var(--sky-muted)}.library-v2 .filter-tab svg{width:13px!important;height:13px!important}.library-v2 .filter-tab.active{background:var(--sky-soft);color:var(--sky-accent)}.library-v2 .library-filters{display:flex;gap:6px}.sky-workspace .library-v2 .library-filters select{font-size:11px;padding:5px 20px 5px 8px;min-height:31px;max-width:115px}.library-v2 .table-panel{border:0;border-radius:0;box-shadow:none!important}.library-v2 .resource-table{font-size:12px;min-width:720px}.library-v2 .resource-table thead th{font-size:10px;font-weight:500;padding:10px 8px;background:var(--sky-tint);color:var(--sky-muted)}.library-v2 .resource-table tbody td{padding:11px 8px;line-height:1.5;vertical-align:middle}.library-v2 .resource-table .resource-icon{width:30px;height:30px;border-radius:8px;flex:none}.library-v2 .resource-table .resource-icon svg{width:17px!important;height:17px!important}.library-v2 .resource-table .resource-name{font-size:12px!important;font-weight:600}.library-v2 .resource-table :is(.resource-url,.resource-meta,.muted,small){font-size:10px;line-height:1.6}.library-v2 .row-account-inline{max-width:145px}.library-v2 .row-account-inline select{min-height:27px!important;font-size:10px!important;padding:3px 20px 3px 6px!important}.library-v2 .row-copy-pair{gap:4px}.library-v2 .copy-control{padding:3px 4px;font-size:10px;min-height:25px}.library-v2 .copy-control svg{width:11px!important}.library-v2 .resource-actions .button{font-size:10px!important;min-height:26px!important;padding:4px 6px!important}.library-more{position:relative}.library-more>summary{list-style:none;display:flex;align-items:center;gap:5px;cursor:pointer}.library-more>summary::-webkit-details-marker{display:none}.library-more>div{position:absolute;z-index:25;top:calc(100% + 5px);right:0;width:170px;padding:6px;border:1px solid var(--sky-line);border-radius:9px;background:#fff;box-shadow:0 10px 35px #18304f18;display:grid}.library-more>div button{justify-content:flex-start!important;border:0!important;background:#fff!important;color:var(--sky-ink)!important;font-size:12px!important;min-height:32px!important;padding:7px 10px!important;box-shadow:none!important}.library-more>div button:hover{background:var(--sky-soft)!important}.library-v2 .pagination{font-size:11px;margin-top:0;padding:12px 0}.library-v2 .record-batch-bar{font-size:11px;padding:9px 0}
@media(max-width:1150px){.library-frame{grid-template-columns:160px minmax(0,1fr);gap:12px}.library-v2 .library-tabs{align-items:flex-start;flex-direction:column}.library-v2 .library-filters{align-self:stretch}.library-v2 .library-filters select{flex:1;max-width:none!important}.library-v2 .result-count{display:none}}
@media(max-width:720px){.library-frame{display:block}.library-rail{position:static;margin-bottom:12px;padding:10px}.library-rail-heading{padding:0 2px 5px}.library-category-search{display:none}.library-rail nav{display:flex;max-height:none;overflow-x:auto}.library-rail nav a{flex:none;font-size:11px;max-width:180px;padding:6px 9px}.library-rail nav a>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-rail nav a>small{display:none}.library-new-category{margin-top:6px;padding-top:8px!important;font-size:10px!important}.library-content{padding:10px 10px 0}.library-v2 .page-heading{align-items:flex-start!important}.library-v2 .resource-table{min-width:680px}.library-v2 .heading-actions{gap:6px}.library-more>div{right:auto;left:0}}

/* Clear account identities and a quiet, inline favorite control. */
.sky-workspace .library-v2 .resource-table{min-width:950px;table-layout:fixed}
.sky-workspace .library-v2 .resource-table col:nth-child(1){width:3%!important}
.sky-workspace .library-v2 .resource-table col:nth-child(2){width:23%!important}
.sky-workspace .library-v2 .resource-table col:nth-child(3){width:17%!important}
.sky-workspace .library-v2 .resource-table col:nth-child(4){width:23%!important}
.sky-workspace .library-v2 .resource-table col:nth-child(5){width:11%!important}
.sky-workspace .library-v2 .resource-table col:nth-child(6){width:11%!important}
.sky-workspace .library-v2 .resource-table col:nth-child(7){width:12%!important}
.sky-workspace .library-v2 .table-panel{overflow-x:auto}
.sky-workspace .library-v2 .resource-table :is(th,td){font-size:13px;vertical-align:middle}
.sky-workspace .library-v2 .resource-table .record-name{font-size:14px!important;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.library-v2 .resource-title-line{display:flex;align-items:center;gap:5px;min-width:0}
.sky-workspace .library-v2 .resource-title-line .favorite-button{width:23px;height:25px;min-width:23px;min-height:25px;padding:4px;border:0;border-radius:5px;background:transparent;box-shadow:none;color:#a2adbd;flex:none}
.sky-workspace .library-v2 .resource-title-line .favorite-button svg{width:14px;height:14px}
.sky-workspace .library-v2 .resource-title-line .favorite-button[aria-pressed=true]{color:#d59538;background:#fff7e7}
.sky-workspace .library-v2 .resource-title-line .favorite-button[aria-pressed=true] svg{fill:#f4ce80}
.sky-workspace .library-v2 .resource-title-line .favorite-button:hover{background:var(--sky-soft)}
.sky-workspace .library-v2 .resource-select-stack{display:flex;align-items:center;justify-content:center}
.sky-workspace .library-v2 .row-account-inline{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;max-width:none;min-width:0}
.sky-workspace .library-v2 .row-account-inline select{width:100%;max-width:none;min-width:0;min-height:30px!important;font-size:12px!important;padding:4px 23px 4px 8px!important}
.sky-workspace .library-v2 .row-account-login{font-size:13px;line-height:1.55;white-space:normal;overflow-wrap:anywhere;color:var(--sky-ink);font-variant-numeric:tabular-nums}
.sky-workspace .library-v2 .row-copy-pair .copy-control{font-size:11px;min-height:27px;padding:3px 6px;border-color:var(--sky-line);background:transparent}
.sky-workspace .library-v2 .resource-table :is(.resource-meta,.subline,.muted){font-size:11px}
@media(max-width:760px){
 .sky-workspace .library-v2 .resource-table{display:block;min-width:0;width:100%;table-layout:auto}
 .sky-workspace .library-v2 .resource-table :is(colgroup,thead){display:none}
 .sky-workspace .library-v2 .resource-table tbody{display:grid;gap:10px}
 .sky-workspace .library-v2 .resource-table tbody>tr{display:grid;grid-template-columns:22px minmax(0,1fr);gap:3px 8px;padding:12px 5px;border-bottom:1px solid var(--sky-line)}
 .sky-workspace .library-v2 .resource-table tbody>tr>td{display:block;width:auto;min-width:0;height:auto;padding:4px 0!important;text-align:left;border:0}
 .sky-workspace .library-v2 .resource-table tbody>tr>td.resource-favorite{grid-column:1;grid-row:1}
 .sky-workspace .library-v2 .resource-table tbody>tr>td.resource-title-cell{grid-column:2;grid-row:1;padding-left:0!important}
 .sky-workspace .library-v2 .resource-table tbody>tr>td.resource-purpose{grid-column:2;grid-row:2;padding-left:0!important}
 .sky-workspace .library-v2 .resource-table tbody>tr>td.resource-accounts{grid-column:2;grid-row:3;text-align:left}
 .sky-workspace .library-v2 .resource-table tbody>tr>td.resource-membership{grid-column:2;grid-row:4}
 .sky-workspace .library-v2 .resource-table tbody>tr>td.resource-recorder{grid-column:2;grid-row:5;padding-left:0!important}
 .sky-workspace .library-v2 .resource-table tbody>tr>td.resource-actions{grid-column:2;grid-row:6}
 .sky-workspace .library-v2 .resource-name{align-items:flex-start;gap:8px}
 .sky-workspace .library-v2 .resource-name>div{min-width:0;flex:1}
 .sky-workspace .library-v2 .resource-meta{max-width:none}
 .sky-workspace .library-v2 .row-account-inline{width:100%;max-width:none}
 .sky-workspace .library-v2 .resource-actions .inline-actions{justify-content:flex-start}
 .sky-workspace .library-v2 .resource-recorder .subline{display:inline;margin-left:8px}
 .sky-workspace .library-v2 .resource-table .account-quick-row{display:block}
 .sky-workspace .library-v2 .resource-table .account-quick-row td{width:100%}
}
