/* AllFiles — permanent Graphite appearance and responsive catalog layout. */
@font-face{font-family:AllFilesUI;src:local("Inter"),local("Segoe UI"),local("SF Pro Display");font-display:swap}
:root{color-scheme:dark;--radius:18px;--font:AllFilesUI,Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
*{box-sizing:border-box}
html{min-height:100%}
body{margin:0;min-height:100vh;font-family:var(--font);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.4;cursor:not-allowed}
a{color:inherit;text-decoration:none}
button,input,select{outline:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #d5bfff;outline-offset:4px}
button{color:inherit}
button,select{touch-action:manipulation}
[hidden]{display:none!important}
input,select{min-width:0}
button{white-space:nowrap}
button svg{pointer-events:none}
input[type=search]::-webkit-search-cancel-button{display:none}
::selection{background:#c897f7;color:#211632}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{display:inline-block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.icon.small{width:16px;height:16px}
.icon.reversed{transform:rotate(180deg)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ambient{position:fixed;pointer-events:none;border-radius:50%;filter:blur(100px);opacity:.14}
.ambient-one{width:550px;height:550px;left:-200px;top:80px}
.ambient-two{width:500px;height:500px;right:-220px;bottom:0}
.app-shell{position:relative;display:grid;grid-template-columns:226px minmax(0,1fr);max-width:1600px;min-height:calc(100vh - 64px);margin:32px auto;border:1px solid rgba(231,211,255,.17);border-radius:26px;overflow:clip}
.sidebar{display:flex;flex-direction:column;border-right:1px solid var(--line);padding:33px 20px 15px;min-height:820px}
.brand{display:flex;align-items:center;gap:10px;margin:0 5px 45px;font-weight:700;letter-spacing:-1.3px;line-height:1}
.brand img{filter:drop-shadow(0 3px 12px #dba4ff2a)}
.brand-light{font-weight:400}
.brand small{display:block;margin:9px 0 0 1px;font-weight:500}
.sidebar-section-label{letter-spacing:1.75px;font-weight:650;padding:0 13px;margin-bottom:15px}
.navigation{display:flex;flex-direction:column;gap:7px}
.nav-item{display:flex;align-items:center;width:100%;border:1px solid transparent;border-radius:11px;background:none;text-align:left;transition:background .15s,color .15s}
.nav-item:hover{color:#fff}
.nav-item.active{box-shadow:0 4px 14px #160e3220}
.nav-item.active:before{content:"";position:absolute;margin-left:-35px;height:23px;width:3px;background:var(--coral);border-radius:0 3px 3px 0}
.nav-key,.nav-count{margin-left:auto}
.nav-key{border:1px solid #e9d8ff30;border-radius:4px;width:17px;text-align:center;padding:1px 0}
.nav-count{background:rgba(235,220,255,.09);border-radius:5px;padding:2px 5px}
.sidebar-divider{height:1px;background:var(--line);margin:26px 12px}
.media-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.sidebar-sources{display:flex;flex-direction:column;gap:3px;max-height:320px;overflow-y:auto}
.sidebar-source{background:none;border:0;display:flex;align-items:center;gap:10px;text-align:left;border-radius:9px;width:100%}
.sidebar-source:hover,.sidebar-source.selected{color:#fff}
.sidebar-source .source-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sidebar-empty{line-height:1.8;padding:0 13px;max-width:180px}
.sidebar-bottom{margin-top:auto;padding-top:45px}
.privacy-card{display:flex;align-items:center;gap:10px;padding:15px 10px;border:1px solid #e8d8ff12;border-radius:12px}
.privacy-card strong{font-weight:550}
.privacy-card p{margin:6px 0 0}
.sidebar-utility{display:flex;align-items:center;gap:10px;background:none;border:0;width:100%;padding:20px 10px 15px}
.sidebar-utility:hover{color:white}
.sidebar-utility .icon{width:16px;height:16px}
.sidebar-utility .icon:last-child{margin-left:auto;width:12px}
.sidebar-footer{display:flex;justify-content:space-between;align-items:center;letter-spacing:.2px;padding:7px 9px 0;border-top:1px solid #ece0ff0a}
.main-content{min-width:0;padding:27px 34px 19px;position:relative;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px}
.breadcrumb{display:flex;gap:10px;align-items:center}
.breadcrumb strong{font-weight:500}
.breadcrumb .icon{width:11px;height:11px}
.topbar-actions{display:flex;align-items:center;gap:18px}
.connection-pill{display:flex;align-items:center;gap:7px;letter-spacing:.15px}
.connection-pill i,.status-dot{display:inline-block;width:5px;height:5px;background:#8ed8ba;border-radius:50%;box-shadow:0 0 10px #8ed8ba32}
.connection-pill.offline i{background:var(--coral)}
.database-pill{white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:1px;border:1px solid #ffaf6e40;padding:6px 8px;border-radius:5px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid transparent;border-radius:9px;line-height:1.5;transition:background .15s,transform .15s,box-shadow .15s;text-decoration:none}
.button:active{transform:translateY(1px)}
.button-coral{color:white}
.button-coral:hover{box-shadow:0 4px 20px #fe605938}
.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border:0;border-radius:8px;background:transparent;transition:background .15s,color .15s}
.icon-button:hover{color:#fff}
.icon-button.tiny{width:23px;height:23px}
.icon-button.tiny .icon{width:14px;height:14px}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:none;border:0;padding:10px 0}
.text-button:hover{color:#fff}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.eyebrow{font-weight:650;margin:0 0 11px;line-height:1.5}
h1{font-size:clamp(25px,2.5vw,39px);letter-spacing:-1.3px;line-height:1.16;font-weight:650;margin:0}
h1 span{font-weight:350;color:#e6dbf0}
.page-subtitle{margin:11px 0 0}
.heading-orbit{width:80px;height:80px;position:relative;display:flex;justify-content:center;align-items:center;margin-right:8px}
.heading-orbit:before{content:"";position:absolute;inset:0;border:1px solid #dbceff20;border-radius:50%;transform:rotate(-25deg) scaleX(.77)}
.heading-orbit:after{content:"";position:absolute;inset:0;border:1px solid #dbceff20;border-radius:50%}
.heading-orbit:after{transform:rotate(40deg) scaleX(.65)}
.heading-orbit span{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--coral);top:6px;right:20px;box-shadow:0 0 12px #ff605b44}
.heading-orbit .icon{width:29px;height:29px;stroke-width:1.2}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.stat-card{position:relative;display:flex;align-items:center;border:1px solid #e9dfff16;border-radius:13px;backdrop-filter:blur(20px)}
.stat-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:11px}
.stat-card p{margin:0 0 9px}
.stat-card strong{line-height:1}
.stat-corner{position:absolute;letter-spacing:1px}
.glass-panel{border:1px solid #f0e7ff1d;border-radius:var(--radius)}
.search-panel{padding:0 19px}
.search-input-wrap{display:flex;align-items:center}
.search-symbol{stroke-width:1.5}
.search-input-wrap input{flex:1;background:none;border:0;padding:13px 0;letter-spacing:-.2px;width:100%}
.search-input-wrap input:focus-visible{outline:none}
.search-panel:focus-within{border-color:#c6a5ed80;box-shadow:0 0 0 3px #c6a5ed0c}
.search-input-wrap kbd{font:11px var(--font);border:1px solid #e5d7f52b;border-radius:5px;background:#e4c6ff09}
.search-options{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #efe3ff15;padding:10px 0 11px}
.segmented{display:flex;align-items:center}
.segmented button{display:flex;align-items:center;border:1px solid transparent;background:none;border-radius:6px}
.segmented button:hover{color:#fff}
.filter-controls{display:flex;gap:8px}
select{appearance:none;background:#b7a2d20d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23c7bdd8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center;border:1px solid #e8deff1c;border-radius:6px;cursor:pointer;max-width:230px}
.results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 1px 13px}
.results-heading>div{display:flex;align-items:center;gap:13px}
h2{font-size:13px;font-weight:600;letter-spacing:-.15px;margin:0}
.results-heading h2{display:flex;align-items:center;gap:9px}
.results-heading h2 span,.section-title h2 span{display:inline-block;font-weight:450;min-width:23px;border:1px solid #e9dbff0d;border-radius:5px;letter-spacing:0}
.sort-label{display:flex;align-items:center;gap:7px}
.sort-label select{border:0;background-color:transparent;padding-left:3px}
.library-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;align-items:start}
.library-layout.with-details{grid-template-columns:minmax(0,1fr) 260px}
.results-panel{overflow:hidden;position:relative;min-width:0;min-height:300px}
.table-scroll{overflow:auto}
.file-table{width:100%;border-collapse:separate;table-layout:fixed}
.file-table th{text-align:left;font-size:8px;letter-spacing:.3px;color:#b9a9cd;font-weight:450;padding:15px 12px 13px;border-bottom:1px solid #eee1ff16;background:#c3a9e208}
.file-table th:first-child{width:auto}
.file-table th:last-child{padding-left:0}
.file-table td{padding:12px;border-bottom:1px solid #eddaff0c;color:#dbd2ea;vertical-align:middle;height:66px}
.file-table td:first-child{padding-left:19px}
.file-table td:last-child{padding-left:0}
.file-table tr:last-child td{border-bottom:0}
.file-row{cursor:pointer;transition:background .12s}
.file-row:focus-visible{outline-offset:-2px}
.file-cell{display:flex;align-items:center;min-width:0}
.file-type-icon{display:flex;align-items:center;justify-content:center;border:1px solid #ecddff10;flex-shrink:0;position:relative}
.file-name-block{min-width:0}
.file-name{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
.file-path{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-snippet{margin:7px 0 0;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
.source-table-cell{display:flex;min-width:0}
.source-table-cell span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.table-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e9d8ff15}
.table-footer>div{display:flex;align-items:center;gap:8px}
.empty-state{padding:34px 20px 29px;text-align:center}
.empty-art{position:relative;display:flex;align-items:center;justify-content:center;width:88px;height:78px;margin:0 auto 15px}
.empty-ring{position:absolute;inset:0 5px;border:1px solid #d1afff29;border-radius:25px;transform:rotate(-10deg);background:linear-gradient(135deg,#d8b0ff10,transparent)}
.empty-art>.icon{width:38px;height:38px;stroke-width:1.1;color:#d8baf0;transform:rotate(-5deg)}
.empty-spark{position:absolute;width:7px;height:7px;top:8px;right:10px;background:var(--coral);border-radius:50%;box-shadow:0 0 14px #ff615a40}
.empty-state h3,.no-results h3{letter-spacing:-.3px;font-weight:550;margin:0 0 10px}
.empty-state p,.no-results p{line-height:1.8;margin:0 0 20px}
.empty-state>.button{margin:0 auto;display:flex;width:fit-content}
.empty-state>.text-button{margin:11px auto 0}
.no-results{text-align:center;padding:55px 20px}
.no-results>.icon{width:30px;height:30px;color:#bca0d7;margin-bottom:20px}
.loading-state{display:flex;justify-content:center;align-items:center;gap:12px;padding:70px 20px}
.spinner{width:19px;height:19px;border:2px solid #d5b9ec25;border-top-color:var(--coral);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.library-footnote{display:flex;justify-content:space-between;gap:10px;margin-top:13px;padding:0 2px}
.library-footnote>span:first-child{display:flex;align-items:center;gap:7px}
.library-footnote .status-dot{width:4px;height:4px;box-shadow:none}
.main-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto}
.footer-wordmark{letter-spacing:2.5px;font-weight:600}
.footer-wordmark span{font-size:6px;vertical-align:top;margin-left:3px;letter-spacing:0}
.details-panel{padding:18px;overflow:hidden}
.details-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.details-file-icon{margin:0 auto 16px}
.details-name{font-weight:550;line-height:1.5;text-align:center;margin:0 0 7px;overflow-wrap:anywhere}
.details-type{text-align:center;margin-bottom:23px}
.detail-metadata{margin:0;padding-top:14px;border-top:1px solid #eddbff16}
.detail-metadata>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:13px}
.detail-metadata dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:145px}
.detail-path{margin:5px 0 15px;overflow-wrap:anywhere;padding:10px;border:1px solid #dec2ff10;border-radius:7px}
.details-actions{display:flex;gap:7px}
.details-actions .button{flex:1}
.details-copy{width:100%;margin-top:7px}
.text-preview{margin-top:20px;padding-top:16px;border-top:1px solid #eddbff16}
.text-preview h3{font-weight:550;margin:0 0 10px;display:flex;align-items:center;gap:7px}
.text-preview h3 .icon{color:var(--coral-light);width:14px;height:14px}
.text-preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-height:260px;overflow:auto}
.detail-note{line-height:1.7;margin:12px 0 0}
.with-details .file-table .date-column{display:none}
.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:10px 0 20px}
.section-title h2{display:flex;gap:9px;align-items:center}
.source-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.source-card{padding:22px;min-height:225px;display:flex;flex-direction:column;position:relative}
.source-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.source-card-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #d9c4ff25;border-radius:12px}
.source-card-icon .icon{width:22px;height:22px}
.source-card-kind{letter-spacing:.4px}
.source-card h3{letter-spacing:-.3px;font-weight:550;margin:0 0 7px;overflow-wrap:anywhere}
.source-card-location{line-height:1.5;margin:0 0 20px}
.source-card-stats{display:flex;gap:20px;margin:0 0 19px}
.source-card-stats strong{font-weight:500;display:block;margin-bottom:4px}
.source-card-footer{border-top:1px solid #eedaff14;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.source-card-footer span{line-height:1.5}
.source-card-footer .text-button{padding:0}
.source-card-buttons{display:flex;justify-content:space-between;margin-top:14px;gap:7px}
.source-card-buttons .button{padding:7px 8px;flex:1}
.add-source-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:250px;border:1px dashed #ddc5ff39;border-radius:18px;transition:background .15s}
.add-source-card>.icon{width:30px;height:30px;stroke-width:1.1;margin-bottom:14px}
.add-source-card strong{font-weight:500}
.add-source-card span{margin-top:8px}
.job-panel{padding:25px;margin:5px 0 23px}
.job-heading{display:flex;gap:15px;align-items:center}
.job-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #e4c6ff1f;color:#dabff2;border-radius:13px}
.job-heading p{margin:7px 0 0;line-height:1.6}
.job-status-badge{margin-left:auto;border:1px solid #d5c3f726;padding:6px 9px;border-radius:5px;white-space:nowrap}
.job-status-badge.running{color:#ffb2a4;border-color:#ff9d8a40;background:#ff9d8a0c}
.job-progress{margin-top:23px;height:3px;border-radius:3px;background:#e1c2ff12;overflow:hidden}
.job-progress span{display:block;width:30%;height:100%;background:linear-gradient(90deg,#d198ff,var(--coral));animation:progress 2s ease-in-out infinite}
@keyframes progress{0%{transform:translateX(-110%)}100%{transform:translateX(440%)}}
.job-metrics{display:grid;grid-template-columns:1fr 1fr 2fr;gap:20px;border-top:1px solid #e7d2ff17;margin-top:23px;padding-top:21px}
.job-metrics span{display:block;margin-bottom:9px}
.job-metrics strong{font-weight:500}
.job-path{min-width:0}
.job-path p{margin:0;overflow-wrap:anywhere;line-height:1.7}
.job-error,.form-error{padding:11px 13px;border:1px solid #ff8b7e33;border-radius:8px;line-height:1.6;overflow-wrap:anywhere}
.job-panel>#cancel-job{margin-top:20px}
.job-dot{width:5px;height:5px;background:var(--coral);border-radius:50%;margin-left:auto;box-shadow:0 0 8px #ff615a66}
.action-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:23px}
.action-card{display:flex;flex-direction:column;align-items:flex-start;padding:23px}
.action-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;color:#d6b6ed;margin-bottom:20px}
.action-card h2{line-height:1.5}
.action-card p{line-height:1.8;margin:10px 0 23px}
.action-card>.button{margin-top:auto;justify-content:space-between;width:100%}
.storage-panel{padding:22px 25px}
.storage-panel>div:first-child{display:flex;align-items:center;gap:10px}
.storage-panel>div:first-child .icon{width:19px;height:19px;color:#c8afe3}
.storage-panel p{line-height:1.9;margin:13px 0 17px}
.storage-panel code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.storage-path{display:flex;align-items:flex-start;gap:20px;border-top:1px solid #e6ceff14;padding-top:14px}
.storage-path code{overflow-wrap:anywhere}
.modal{padding:27px;border:1px solid #d6b8ff4a;border-radius:20px;color:var(--text);width:min(520px,calc(100vw - 32px));max-height:90vh;overflow-y:auto}
.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.modal-header h2{letter-spacing:-.7px;font-weight:550}
.modal-header .eyebrow{margin-bottom:7px}
.modal-intro{line-height:1.8;margin:0 0 22px}
.field-label{display:flex;align-items:center;gap:5px;margin:17px 0 8px}
.field-label>span{color:var(--coral-light)}
.field-label .optional{margin-left:auto}
.modal input:not([type=checkbox]):not([type=hidden]),.modal select{width:100%;border:1px solid #dfc4ff2b;border-radius:8px;padding:11px 12px}
.modal select{max-width:none}
.modal input:focus,.modal select:focus{border-color:#c6a1e870;outline:none;box-shadow:0 0 0 3px #c6a1e80c}
.input-with-button{display:flex;gap:8px}
.input-with-button input{min-width:0;flex:1}
.input-with-button .button{padding:9px 13px}
.form-row{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}
.checkbox-card{display:flex;gap:11px;padding:14px;border:1px solid #e8d3ff1d;border-radius:9px;margin-top:22px;cursor:pointer;align-items:flex-start}
.checkbox-card input{accent-color:var(--coral);margin:2px 0 0;width:14px;height:14px;flex-shrink:0}
.checkbox-card strong{font-weight:500;display:block}
.checkbox-card small{line-height:1.8;display:block;margin-top:6px}
.modal-footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e5d0ff17;padding-top:20px;margin-top:24px}
.info-note{display:flex;align-items:flex-start;gap:9px;margin:20px 0 0;line-height:1.7}
.info-note .icon{width:16px;height:16px;color:#d6b5eb;margin-top:1px}
.browse-path-row{display:flex;gap:8px;margin:20px 0 10px}
.browse-entries{max-height:320px;min-height:100px;overflow-y:auto;padding:3px 0}
.browse-entry{display:flex;align-items:center;gap:10px;text-align:left;padding:11px;background:transparent;border:0;border-radius:7px;width:100%;overflow:hidden}
.browse-entry .icon{color:#c5a4df;width:17px;height:17px}
.browse-entry>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.browse-empty{padding:25px 15px}
.compact-modal{max-width:420px}
.connection-error{border:1px solid #ffb19933;border-radius:9px;padding:12px 15px;line-height:1.7;margin-bottom:20px;overflow-wrap:anywhere}
.toast-region{position:fixed;bottom:30px;right:30px;display:flex;flex-direction:column;gap:10px;max-width:min(390px,calc(100vw - 32px));z-index:1000}
.toast{display:flex;gap:11px;align-items:flex-start;border:1px solid #d3adff40;box-shadow:0 10px 50px #140b2860;border-radius:12px;padding:15px 17px;line-height:1.7;animation:toast-in .2s ease-out}
.toast .icon{color:#a8d9b9;width:17px;height:17px;margin-top:1px}
.toast.error .icon{color:#ffaea1}
.toast>span{overflow-wrap:anywhere}
.toast .icon-button{width:20px;height:20px;margin-left:5px}
.toast .icon-button .icon{width:13px;height:13px;color:#c8aedb}
.toast.closed{max-width:440px}
.app-closed{opacity:.65;pointer-events:none}
@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#d1b5ea33;border-radius:10px}
@media(min-width:1700px){
.app-shell{margin:48px auto;min-height:calc(100vh - 96px)}
}
@media(max-width:1664px){
.app-shell{margin:24px 28px;min-height:calc(100vh - 48px)}
}
@media(max-width:1250px){
.app-shell{margin:20px}
.sidebar{padding:28px 14px 15px}
.brand{font-size:24px;margin-left:6px}
.brand img{width:37px;height:37px}
.brand small{font-size:6px;letter-spacing:1.8px}
.main-content{padding:25px 25px 17px}
.stats-grid{gap:10px}
.stat-icon{border-radius:9px}
.stat-icon .icon{width:17px;height:17px}
.with-details .file-table th:nth-child(2),.with-details .file-table td:nth-child(2){display:none}
.with-details .file-table th:nth-child(3){width:23%}
.source-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.action-cards{gap:12px}
.action-card{padding:20px 17px}
.action-card p{font-size:9px}
}
@media(max-width:1000px){
.app-shell{margin:16px;border-radius:21px}
.sidebar{padding:26px 11px 15px;align-items:center;min-height:790px}
.brand{margin:0 0 39px;gap:0}
.brand img{width:36px;height:36px}
.brand>span,.sidebar-section-label,.sidebar-divider,.sidebar-sources,.nav-item>span,.privacy-card,.sidebar-footer>span{display:none}
.navigation{width:100%;gap:12px}
.nav-item{justify-content:center}
.nav-item .icon{width:20px;height:20px}
.nav-item.active:before{margin-left:-72px}
.sidebar-bottom{width:100%}
.sidebar-utility{padding:16px 0;justify-content:center}
.sidebar-utility>span,.sidebar-utility>.icon:last-child{display:none}
.sidebar-footer{padding:12px 0 0}
.main-content{padding:24px}
.topbar{margin-bottom:32px}
.heading-orbit{width:65px;height:65px}
.page-heading{margin-bottom:24px}
h1{font-size:31px}
.source-card{padding:18px}
.source-card h3{font-size:13px}
.source-card-buttons{flex-direction:column}
.source-card-stats{gap:12px}
.source-card-stats strong{font-size:13px}
}
@media(max-width:820px){
.main-content{padding:22px 20px}
.topbar-actions{gap:11px}
.connection-pill{font-size:8px}
.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.stat-card{min-height:85px;padding:17px;gap:13px}
.stat-card p{font-size:9px}
.stat-icon{width:35px;height:35px}
.stat-card strong{font-size:23px}
.heading-orbit{display:none}
h1{font-size:29px}
.search-options{align-items:flex-start;gap:10px;flex-wrap:wrap}
.filter-controls{margin-left:auto}
.details-panel{right:20px;z-index:60;overflow-y:auto;box-shadow:-20px 0 80px #130b33b3}
.with-details .file-table th:nth-child(2),.with-details .file-table td:nth-child(2){display:table-cell}
.with-details .file-table th:nth-child(2){width:23%}
.with-details .file-table th:nth-child(3){width:16%}
.source-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.action-cards{grid-template-columns:1fr}
.action-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;column-gap:15px;padding:20px}
.action-icon{grid-row:1 / span 2;margin:0}
.action-card h2{grid-column:2}
.action-card p{grid-column:2;margin:8px 0 0}
.action-card>.button{grid-column:3;grid-row:1 / span 2;width:auto;margin:auto 0;max-width:180px}
.job-metrics{grid-template-columns:1fr 1fr}
.job-path{grid-column:1 / -1}
.storage-path{flex-direction:column;gap:8px}
.main-footer{padding-top:35px}
}
@media(max-width:600px){
body{background:#30243e}
.app-shell{margin:0;border-radius:0;border:0;min-height:100vh;padding-bottom:72px}
.sidebar{position:fixed;bottom:0;left:0;right:0;min-height:0;z-index:50;display:block;backdrop-filter:blur(20px);border:0;border-top:1px solid #cba8f329}
.brand,.sidebar-bottom{display:none}
.navigation{flex-direction:row;justify-content:space-around;gap:10px}
.nav-item{flex:1;display:flex;flex-direction:column;gap:4px;padding:6px 10px;border-radius:9px}
.nav-item>span:not(.nav-key):not(.nav-count):not(.job-dot){display:block}
.nav-item.active:before{display:none}
.topbar{gap:9px}
.breadcrumb{gap:6px}
.topbar-actions{gap:8px}
.topbar .button{gap:5px}
.connection-pill{display:none}
.database-pill{padding:5px;letter-spacing:.5px}
.eyebrow{letter-spacing:1.6px}
h1{font-size:28px;letter-spacing:-1px}
.search-panel{border-radius:13px}
.search-input-wrap kbd{display:none}
.segmented{gap:2px}
.segmented .icon{width:13px;height:13px}
.filter-controls{width:100%;margin-top:2px;margin-left:0;gap:7px}
.filter-controls select{flex:1}
.search-options{padding-bottom:12px}
.sort-label{gap:0}
.file-table th{font-size:8px;padding:12px 9px}
.file-table .date-column{display:none}
.file-table td{padding:12px 8px;height:65px}
.file-table td:first-child{padding-left:12px}
.file-type-icon{border-radius:7px}
.library-footnote{align-items:flex-start;flex-direction:column;gap:9px;margin-top:12px}
.empty-state{padding:34px 12px 25px}
.main-footer>span:first-child{max-width:200px}
.source-cards{gap:12px}
.source-card{min-height:245px}
.source-card-top{margin-bottom:16px;align-items:flex-start;gap:8px}
.source-card-icon{width:34px;height:34px;border-radius:10px}
.source-card-icon .icon{width:18px;height:18px}
.source-card-kind{text-align:right;line-height:1.5;padding-top:3px}
.source-card h3{line-height:1.5}
.source-card-stats{flex-wrap:wrap}
.source-card-footer{gap:7px;align-items:flex-start}
.section-title .button{gap:6px}
.section-title .button .icon{width:14px;height:14px}
.add-source-card strong{font-size:11px}
.add-source-card span{font-size:8px}
.job-panel{padding:19px}
.job-heading{gap:10px;flex-wrap:wrap}
.job-icon{width:36px;height:36px;border-radius:10px}
.job-heading>div:nth-child(2){flex:1;min-width:0}
.job-status-badge{margin:2px 0 0 46px;font-size:7px}
.job-metrics{gap:15px}
.job-metrics strong{font-size:20px}
.action-card{padding:19px;grid-template-columns:34px minmax(0,1fr);column-gap:12px}
.action-card>.button{grid-column:2;grid-row:auto;margin-top:17px;width:fit-content}
.action-icon{width:32px;height:32px}
.storage-panel{padding:20px}
.details-panel{margin-left:auto}
.modal{max-height:88vh;border-radius:17px}
.form-row{gap:11px}
.modal select{font-size:10px}
.modal-footer .button{padding:10px 12px}
.toast-region{right:16px}
.toast{padding:12px 14px}
.connection-error{font-size:10px}
}
.table-scroll{overscroll-behavior:contain;scrollbar-gutter:stable}
.file-table thead th{position:sticky;top:0;z-index:2;backdrop-filter:blur(22px)}
.file-table thead th:first-child{border-radius:8px 0 0 8px}
.file-table thead th:last-child{border-radius:0 8px 8px 0}
.file-row.selected{box-shadow:none}
.details-panel{position:sticky;top:20px;max-height:min(720px,calc(100dvh - 60px));overflow-y:auto;overscroll-behavior:contain}
.topbar{margin-bottom:27px}
.page-heading{margin-bottom:22px}
.stats-grid,.search-panel{margin-bottom:21px}
.main-footer{padding-top:30px}
@media(min-width:1001px){
.sidebar{position:sticky;top:0;align-self:start;height:100%;max-height:calc(100dvh - 48px);min-height:740px}
.sidebar-sources{max-height:290px}
}
@media(max-width:820px){
.details-panel{position:fixed;max-height:none;top:20px;bottom:20px}
}
@media(max-width:600px){
.file-table{border-spacing:0 4px}
.details-panel{top:14px;bottom:79px}
}
@media(prefers-reduced-motion:reduce){
*,*:before,*:after{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}
}
:root{--text:#fff;--muted:#eee7ff;--faint:#d6c5ed;--coral:#ff5146;--coral-light:#ffada0}
html,body{color:#fff;font-size:15px}
.ambient-one{background:#d93bb8;opacity:.2}
.ambient-two{background:#4e44ff;opacity:.25}
.main-content{color:#fff}
.brand{font-size:29px}
.brand small{font-size:8px;color:#eee7ff;letter-spacing:1.7px}
.sidebar-section-label{font-size:10px;color:#e6d3f8}
.nav-item{font-size:14px;color:#eee7ff;padding:14px 12px;gap:10px}
.nav-item .icon{width:20px;height:20px}
.nav-key,.nav-count{font-size:11px;color:#fff}
.sidebar-source{font-size:13px;color:#eee7ff;padding:11px 12px}
.sidebar-source .icon{color:#e4ccfa;width:18px;height:18px}
.sidebar-empty{font-size:13px;color:#e0ccee}
.privacy-card strong{font-size:13px;color:#fff}
.privacy-card p{font-size:11px;color:#e4d3ef}
.privacy-icon{color:#fff}
.sidebar-utility{font-size:13px;color:#f5ecff}
.sidebar-footer{font-size:10px;color:#ddc8ee}
.sidebar-footer .icon{width:15px;height:15px}
.breadcrumb{font-size:13px;color:#eee7ff}
.breadcrumb strong{color:#fff}
.breadcrumb .icon{color:#dcc9f4}
.connection-pill{font-size:12px;color:#fff}
.database-pill{font-size:9px;color:#fff0d8}
.button{font-size:13px;padding:11px 16px;font-weight:600}
.button .icon{width:18px;height:18px}
.button-coral{background:#ff5146;box-shadow:0 4px 20px #f642393d}
.button-coral:hover{background:#ff685c}
.icon-button{color:#eee7ff}
.text-button{font-size:12px;color:#eee7ff}
.text-button span{color:#ffb5a9}
.eyebrow{font-size:11px;letter-spacing:1.8px;color:#fff}
.page-heading h1{font-size:40px;line-height:1.18;color:#fff;font-weight:650;letter-spacing:-1.4px}
.page-heading h1 span{color:#fff;font-weight:400}
.page-subtitle{font-size:14px;color:#f0e6ff;margin-top:12px;line-height:1.7}
.heading-orbit{color:#fff}
.heading-orbit:before,.heading-orbit:after{border-color:#e4d2ff52}
.stat-card{min-height:107px;padding:19px 15px;gap:12px}
.stat-card p{font-size:12px;color:#f1e6ff;margin-bottom:11px;line-height:1.4}
.stat-card strong{font-size:32px;color:#fff;letter-spacing:-.6px;font-weight:600}
.stat-icon{width:39px;height:41px;color:#f2deff}
.stat-icon.blue{color:#dbeaff}
.stat-icon.pink{color:#f5d8ff}
.stat-icon.coral{color:#ffcec0}
.stat-icon .icon{width:22px;height:22px}
.stat-corner{color:#e8d4fc;font-size:9px;top:10px;right:10px}
.glass-panel{backdrop-filter:blur(28px)}
.search-input-wrap{height:75px;gap:16px}
.search-input-wrap input{font-size:21px;color:#fff}
.search-input-wrap input::placeholder{color:#f2e6fc}
.search-symbol{width:26px;height:26px;color:#fff}
.search-input-wrap kbd{color:#fff;border-color:#ecd8ff66;font-size:13px;padding:4px 9px}
.search-options{min-height:61px;padding-top:11px;padding-bottom:12px}
.segmented{gap:5px}
.segmented button{font-size:13px;color:#eee7ff;padding:7px 11px;gap:7px}
.segmented .icon{width:17px;height:17px}
select{font-size:13px;padding:8px 28px 8px 11px}
.filter-controls select{max-width:190px}
.sort-label{font-size:12px;color:#eee7ff}
.sort-label select{font-size:13px}
.results-heading{margin-top:3px;margin-bottom:15px}
.results-heading h2,.section-title h2{font-size:24px;color:#fff;font-weight:600}
.results-heading h2 span,.section-title h2 span{font-size:12px;padding:4px 8px;color:#fff;background:#d8b8ff2a;border-color:#e7d1ff25}
.search-timing{font-size:12px;color:#f0e2ff}
.file-table{font-size:13px}
.file-table tbody td{padding-top:14px;padding-bottom:14px}
.file-type-icon{color:#f0daff}
.file-type-icon.pdf{color:#ffd2c8}
.file-type-icon.word{color:#d4e8ff}
.file-type-icon.sheet{color:#cefff0}
.file-type-icon.image{color:#f2d4ff}
.file-type-icon.video{color:#ffe4bf}
.table-footer .icon{width:17px;height:17px}
.library-footnote{font-size:11px;color:#eee7ff;line-height:1.5}
.library-footnote .status-dot{background:#e4c2ff}
.main-footer{font-size:11px;color:#eadcf7}
.footer-wordmark{font-size:11px;color:#fff}
.empty-state h3,.no-results h3{font-size:23px;color:#fff}
.empty-state p,.no-results p{font-size:14px;color:#eee7ff}
.empty-state>.text-button{font-size:12px}
.loading-state{font-size:14px;color:#fff}
.details-top{font-size:12px;color:#eee7ff}
.details-name{font-size:19px;color:#fff}
.details-type{font-size:12px;color:#eee7ff}
.detail-metadata>div{font-size:12px;line-height:1.6}
.detail-metadata dt{color:#e6d6f4}
.detail-metadata dd{color:#fff}
.detail-path{font-size:12px;line-height:1.6}
.details-actions .button{font-size:12px;padding:10px 7px}
.details-actions .icon{width:15px;height:15px}
.details-copy{font-size:12px}
.detail-note{font-size:11px;color:#eee7ff}
.text-preview h3{font-size:14px;color:#fff}
.text-preview p{font-size:13px;color:#f8efff;line-height:1.75}
.source-card-kind,.source-card-stats span,.source-card-footer span{color:#eee7ff;font-size:11px}
.source-card h3{font-size:20px;color:#fff}
.source-card-location{font-size:13px;color:#eee7ff}
.source-card-stats strong{font-size:22px;color:#fff}
.source-card-icon{color:#fff}
.source-card-footer .text-button,.source-card-buttons .button{font-size:12px}
.add-source-card{color:#fff}
.add-source-card strong{font-size:16px}
.add-source-card span{font-size:12px;color:#eee7ff}
.job-heading h2{font-size:21px;color:#fff}
.job-heading p{font-size:13px;color:#eee7ff}
.job-status-badge{font-size:11px;color:#fff}
.job-metrics span{font-size:12px;color:#eee7ff}
.job-metrics strong{font-size:30px;color:#fff}
.job-path p{font-size:13px;color:#fff}
.action-card h2{font-size:19px;color:#fff}
.action-card p{font-size:13px;color:#eee7ff}
.action-card>.button{font-size:13px}
.storage-panel h2{font-size:18px;color:#fff}
.storage-panel p{font-size:13px;color:#eee7ff}
.storage-panel code{font-size:12px;color:#fff}
.storage-path{font-size:12px;color:#eee7ff}
.modal-header h2{font-size:27px;color:#fff}
.modal-header .eyebrow{font-size:10px;color:#fff}
.modal-intro{font-size:14px;color:#eee7ff}
.field-label{font-size:13px;color:#fff}
.field-label .optional{font-size:11px;color:#e2ccef}
.modal input:not([type=checkbox]):not([type=hidden]),.modal select{font-size:14px;color:#fff}
.modal input::placeholder{font-size:13px;color:#e2d0f0}
.checkbox-card strong{font-size:13px;color:#fff}
.checkbox-card small,.info-note{font-size:12px;color:#eee7ff}
.browse-entry{font-size:14px;color:#fff}
.browse-empty{font-size:13px;color:#eee7ff}
.toast{font-size:13px;color:#fff}
.form-error,.job-error,.connection-error{font-size:13px;color:#ffe1d9}
@media(max-width:1250px){
.app-shell{grid-template-columns:216px minmax(0,1fr)}
.main-content{padding-left:23px;padding-right:23px}
.sidebar{padding-left:13px;padding-right:13px}
.stat-card{padding:17px 12px;gap:10px}
.stat-icon{width:34px;height:38px}
.stat-card p{font-size:11px}
.stat-card strong{font-size:30px}
.stat-corner{display:none}
.library-layout.with-details{grid-template-columns:minmax(0,1fr) 270px}
.page-heading h1{font-size:38px}
.action-card h2{font-size:17px}
.filter-controls select{max-width:160px}
}
@media(max-width:1000px){
.app-shell{grid-template-columns:78px minmax(0,1fr)}
.nav-item{padding:13px}
.sidebar{padding-left:11px;padding-right:11px}
.stat-card p{font-size:12px}
.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.stat-card{min-height:100px;padding:17px}
.stat-card strong{font-size:32px}
.source-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.topbar-actions{gap:10px}
.connection-pill{font-size:11px}
.sidebar-footer{justify-content:center}
.search-options{flex-wrap:wrap;gap:10px}
.filter-controls{margin-left:auto}
}
@media(max-width:820px){
.page-heading h1{font-size:36px}
.page-subtitle{font-size:14px}
.breadcrumb,.button{font-size:12px}
.connection-pill{display:none}
.library-layout.with-details{grid-template-columns:1fr}
.details-panel{width:320px}
.file-name{font-size:15px}
.file-path{font-size:12.5px}
.source-table-cell span{font-size:12px}
.action-card h2{font-size:19px}
.action-card p{font-size:13px}
.action-card>.button{font-size:12px}
.search-input-wrap input{font-size:19px}
.library-footnote{flex-wrap:wrap;font-size:11px}
}
@media(max-width:600px){
.app-shell{display:block}
.nav-item>span:not(.nav-key):not(.nav-count):not(.job-dot){font-size:11px}
.nav-item .icon{width:21px;height:21px}
.sidebar{height:73px;padding:9px 14px}
.topbar .button{font-size:11px;padding:9px 11px}
.topbar .button .icon{width:16px;height:16px}
.breadcrumb{font-size:11px}
.database-pill{font-size:8px}
.page-heading h1{letter-spacing:-1.1px}
.eyebrow{font-size:10px}
.page-subtitle{max-width:none}
.stat-card p{line-height:1.4}
.search-panel{padding:0 13px}
.search-input-wrap{gap:11px}
.search-symbol{width:24px;height:24px}
.filter-controls select{max-width:none}
.search-timing{font-size:10px}
.sort-label{font-size:0}
.sort-label select{font-size:12px}
.results-heading>div{gap:8px}
.results-heading h2 span{font-size:11px;padding:3px 5px}
.source-table-cell span{line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.library-footnote,.main-footer,.footer-wordmark{font-size:10px}
.details-panel{inset:14px 14px 84px;width:auto;max-width:360px}
.empty-state h3,.no-results h3{font-size:20px}
.empty-state p,.no-results p{font-size:13px}
.source-card{padding:18px}
.source-card h3{font-size:17px}
.source-card-kind{font-size:10px}
.source-card-location{font-size:12px}
.source-card-stats strong{font-size:20px}
.source-card-stats span,.source-card-footer span{font-size:10px}
.source-card-footer .text-button,.source-card-buttons .button{font-size:11px}
.section-title{align-items:flex-start}
.section-title h2{font-size:22px}
.section-title .button{font-size:10px;padding:9px}
.source-cards{grid-template-columns:1fr}
.source-card-buttons{flex-direction:row}
.source-card-stats{gap:30px}
.add-source-card{min-height:180px}
.job-heading h2{font-size:20px}
.job-heading p{font-size:12px}
.job-metrics span{font-size:11px}
.job-path p{font-size:12px}
.action-card h2{font-size:18px}
.action-card p{font-size:13px}
.action-card>.button{font-size:12px}
.storage-panel h2{font-size:17px}
.storage-panel p{font-size:12px}
.storage-panel code{font-size:11px}
.modal{padding:23px}
.modal-header h2{font-size:25px}
.modal-intro{font-size:13px}
.field-label,.modal-footer .button{font-size:12px}
.form-row{grid-template-columns:1fr}
.toast-region{bottom:88px}
.toast{font-size:12px}
}
.ambient{display:none}
.app-shell{backdrop-filter:none;-webkit-backdrop-filter:none}
.app-shell *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root{--panel:#302044;--panel-strong:#3b2557;--line:rgba(220,188,255,.18)}
.app-shell{border-color:#b58cdd2e;box-shadow:0 36px 80px #110b266e}
.sidebar{border-right-color:#c9a1eb21}
.glass-panel{box-shadow:inset 0 1px 0 #e8c5ff08,0 8px 22px #150a291f}
.stat-card{box-shadow:inset 0 1px 0 #e7caff0b}
.stat-card:nth-child(2),.stat-card:nth-child(3),.stat-card:nth-child(4){border-color:#caa2e832;box-shadow:inset 0 1px 0 #e7caff0b}
.stat-icon{background:#a96ade1c}
.stat-icon.blue{background:#6fa6e51c}
.stat-icon.pink{background:#bd72db1c}
.stat-icon.coral{background:#e96f5d20}
.filter-controls select,.sort-label select{color:#fff}
.file-table tbody td,.file-table tbody tr:nth-child(even) td{border-top-color:#d9b4fa12;border-bottom-color:#d9b4fa10}
.file-type-icon{background:#b080d31c;border-color:#cba5eb2a}
.file-type-icon.pdf{background:#c95b4d1f;border-color:#ef978332}
.file-type-icon.word{background:#5289bb24;border-color:#99c4ee2d}
.file-type-icon.sheet{background:#479a7d24;border-color:#a2e9d42b}
.file-type-icon.image{background:#a36fcb26;border-color:#c9a3ef2e}
.file-type-icon.video{background:#bb885124;border-color:#dbb4792e}
.nav-item:hover,.sidebar-source:hover,.sidebar-source.selected{background:#a171c41b}
.sidebar-footer{border-top-color:#b28ac21a}
.icon-button:hover{background:#b58bda20}
.modal{background:radial-gradient(ellipse at 0 0,#63297636,transparent 72%),linear-gradient(135deg,#38234f,#241d3e);border-color:#c498e356;box-shadow:0 35px 110px #0e081abd}
.modal::backdrop{background:#120b20c4;backdrop-filter:none;-webkit-backdrop-filter:none}
.modal input:not([type=checkbox]):not([type=hidden]),.modal select{background-color:#1b142c99;border-color:#b58bd141}
.checkbox-card{background:#9f6fc413;border-color:#b98bda2c}
.modal-footer{border-top-color:#b48ad323}
.browse-entry:hover{background:#a77ac21a}
.toast{background:linear-gradient(120deg,#402555,#2b2046);border-color:#b88cdb52}
.database-pill{background:#5c353d5e;border-color:#d19f6d47}
.connection-error,.job-error,.form-error{background:#6d2d341f;border-color:#ca7e663b}
@media(max-width:600px){
.sidebar{border-top-color:#b58bdb32}
}
@media(min-width:601px){
.app-shell{margin:20px auto;min-height:calc(100vh - 40px);width:calc(100% - 40px)}
.main-content{padding:22px 26px 17px}
.topbar{margin-bottom:18px;min-height:36px}
.page-heading{margin-bottom:16px}
.page-heading h1{font-size:32px;line-height:1.16;letter-spacing:-1px}
.eyebrow{font-size:10px;margin-bottom:8px}
.page-subtitle{font-size:13px;line-height:1.5;margin-top:7px}
.heading-orbit{width:61px;height:61px}
.stats-grid{margin-bottom:16px;gap:11px}
.stat-card{min-height:82px;padding:14px 15px;gap:11px}
.stat-card p{font-size:11px;margin-bottom:7px;line-height:1.3}
.stat-card strong{font-size:28px}
.stat-icon{width:33px;height:36px}
.stat-icon .icon{width:20px;height:20px}
.search-panel{margin-bottom:17px}
.search-input-wrap{height:58px}
.search-input-wrap input{font-size:19px}
.search-options{min-height:44px;padding:7px 0}
.segmented button{padding:5px 9px;font-size:12px}
.filter-controls select{padding-top:5px;padding-bottom:5px;font-size:12px}
.results-heading{margin-top:0;margin-bottom:11px}
.results-heading h2{font-size:21px}
.results-heading h2 span{font-size:11px;padding:3px 7px}
.search-timing{font-size:11px}
.table-scroll{max-height:clamp(320px,calc(100dvh - 430px),650px)}
.main-footer{padding-top:20px}
.library-footnote{margin-top:10px}
.sidebar{min-height:690px;max-height:calc(100dvh - 40px)}
}
.file-table thead th{padding:10px 12px;line-height:1.4}
.file-table tbody td:first-child{border-radius:9px 0 0 9px}
.file-table tbody td:last-child{border-radius:0 9px 9px 0}
.file-type-icon{border-radius:7px}
.file-snippet{font-size:12px;line-height:1.35;margin-top:5px;-webkit-line-clamp:1}
.table-footer{font-size:11px}
.table-footer .icon-button{width:27px;height:27px}
.details-file-icon{border-radius:12px}
@media(max-width:820px) and (min-width:601px){
.main-content{padding-left:20px;padding-right:20px}
.stat-card{min-height:80px;padding:13px}
.page-heading h1{font-size:31px}
.filter-controls{gap:7px}
.sidebar{min-height:690px}
}
@media(max-width:600px){
.main-content{padding:19px 17px 14px}
.topbar{margin-bottom:21px}
.page-heading{margin-bottom:19px}
.page-heading h1{font-size:32px}
.page-subtitle{font-size:13px;line-height:1.5;margin-top:8px}
.stats-grid{gap:9px;margin-bottom:17px}
.stat-card{padding:13px 11px;min-height:83px;gap:9px}
.stat-card strong{font-size:27px}
.stat-card p{font-size:10.5px;margin-bottom:7px}
.stat-icon{width:27px;height:32px}
.stat-icon .icon{width:18px;height:18px}
.search-panel{margin-bottom:17px}
.search-input-wrap{height:59px}
.search-input-wrap input{font-size:16px}
.search-options{padding:8px 0 10px;min-height:44px;gap:7px}
.segmented button{font-size:12px;padding:5px 9px}
.filter-controls select{font-size:12px;padding-top:6px;padding-bottom:6px}
.results-heading h2{font-size:20px}
.file-type-icon .icon{width:17px;height:17px}
.table-footer{font-size:10px}
.main-footer{padding-top:23px}
}
.table-scroll{max-height:clamp(240px,calc(100dvh - 620px),650px);padding:0 9px 5px}
.file-table{border-spacing:0 3px}
.file-table thead th{height:37px;padding-top:10px;padding-bottom:10px;font-size:11px;font-weight:600;letter-spacing:.25px;border-bottom:1px solid #b68aca31;box-shadow:0 4px 7px #1d10251c}
.file-table th:first-child{padding-left:18px}
.file-table th:nth-child(2){width:23%}
.file-table th:nth-child(3){width:105px}
.file-table th:nth-child(4){width:119px}
.file-table th:last-child{width:30px}
.file-table tbody td{height:52px;padding:7px 12px;border-top:1px solid #d1aaeb13;border-bottom:1px solid #140c2117}
.file-table tbody td:first-child{padding-left:18px}
.file-table tbody td:last-child{padding-right:11px}
.file-row:hover td:first-child{box-shadow:inset 2px 0 #ff514699}
.file-row.selected td:first-child{box-shadow:inset 2px 0 #ff5146}
.file-name{font-size:15px;font-weight:600;line-height:1.25;letter-spacing:0}
.file-path{font-size:12px;line-height:1.2;margin-top:3px}
.file-cell{gap:10px}
.file-type-icon{width:28px;height:32px;box-shadow:inset 0 1px 0 #eacfff09}
.file-type-icon.archive{background:#be8a4720;border-color:#e0b47330;color:#f1d39f}
.file-type-icon .icon{width:18px;height:18px;stroke-width:1.5}
.source-table-cell{gap:8px;align-items:center}
.source-table-cell .icon{width:16px;height:16px;stroke-width:1.5}
.source-table-cell span{font-size:12px;line-height:1.4}
.file-table .size-column{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;padding-right:18px}
.file-table td.size-column{font-size:12px;letter-spacing:.1px}
.file-table .date-column{font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:14px}
.file-table td.date-column{font-size:12px}
.row-chevron{width:13px;height:13px;color:#b399cc}
.file-row:hover .row-chevron,.file-row.selected .row-chevron{color:#ffb4a7}
.table-footer{font-variant-numeric:tabular-nums;padding:8px 17px}
.table-footer #page-number{font-size:12px;color:#fff;min-width:16px;text-align:center}
.with-details .file-table th:nth-child(2){width:25%}
.with-details .file-table th:nth-child(3){width:95px}
.details-file-icon{width:60px;height:69px}
.details-file-icon .icon{width:33px;height:33px}
@media(max-width:1250px) and (min-width:821px){
.with-details .file-table th:nth-child(3){width:92px}
.file-table th:nth-child(2){width:22%}
}
@media(max-width:1000px) and (min-width:601px){
.table-scroll{max-height:clamp(260px,calc(100dvh - 710px),600px)}
.file-table th:nth-child(2){width:25%}
.file-table th:nth-child(3){width:90px}
.file-table .date-column{display:none}
}
@media(max-width:600px){
.table-scroll{max-height:clamp(300px,55dvh,560px);padding:0 5px 5px}
.file-table thead th{font-size:10.5px;padding:10px 7px;letter-spacing:.1px}
.file-table th:first-child{padding-left:11px}
.file-table th:nth-child(2),.with-details .file-table th:nth-child(2){width:24%}
.file-table th:nth-child(3),.with-details .file-table th:nth-child(3){width:64px}
.file-table th:last-child{width:16px}
.file-table tbody td{height:53px;padding:7px}
.file-table tbody td:first-child{padding-left:10px}
.file-table tbody td:last-child{padding-right:5px}
.file-table .size-column{padding-right:7px;font-size:11px}
.file-table td.size-column{font-size:11px}
.file-name{font-size:14px}
.file-path{font-size:12px}
.file-cell{gap:8px}
.file-type-icon{width:25px;height:30px}
.source-table-cell span{font-size:11px}
.source-table-cell .icon{display:none}
.row-chevron{width:11px;height:11px}
.details-file-icon{width:60px;height:69px}
.details-file-icon .icon{width:33px;height:33px}
.table-footer{padding:8px 11px}
}
:root{--canvas:#202530;--surface:linear-gradient(120deg,#333c4b,#29313e);--frame:linear-gradient(115deg,#28313e,#222a36);--table-head:#2b3443;--row-odd:linear-gradient(110deg,#404c60,#394557 50%,#303b4c);--row-even:linear-gradient(110deg,#4a576c,#424e63 50%,#384458);--row-hover:linear-gradient(110deg,#55647b,#414f65);--row-selected:linear-gradient(110deg,#5b6b83,#46556b);--control:linear-gradient(110deg,#505f76,#3c4a60);--surface-line:rgba(183,201,225,.23);--surface-muted:#e2e7ef;--field:#252e3b}
html,body{background:var(--canvas)}
:root .app-shell{background:radial-gradient(ellipse 67% 71% at 100% 0%,rgba(74,95,125,.73) 0,rgba(46,61,88,.35) 51%,transparent 80%),radial-gradient(ellipse 61% 69% at 25% 43%,rgba(54,48,76,.53) 0,transparent 77%),radial-gradient(ellipse 65% 68% at 87% 100%,rgba(39,45,69,.67) 0,transparent 80%),linear-gradient(130deg,#252632,#1d2430 66%,#20222f)}
:root .sidebar{background:linear-gradient(165deg,#252933 0%,#222530 57%,#1e222b 100%)}
:root .glass-panel,:root .stat-card,:root .search-panel,:root .details-panel,:root .source-card,:root .action-card,:root .job-panel,:root .storage-panel{background:var(--surface);border-color:var(--surface-line)}
/* Five bounded glass surfaces reveal softened particles without filtering every row. */
:root .stat-card{background:linear-gradient(120deg,rgba(51,60,75,.46),rgba(41,49,62,.52));backdrop-filter:blur(1.5px)!important;-webkit-backdrop-filter:blur(1.5px)!important}
:root .results-panel{background:linear-gradient(115deg,rgba(40,49,62,.18),rgba(34,42,54,.24));border-color:var(--surface-line);backdrop-filter:blur(1.5px)!important;-webkit-backdrop-filter:blur(1.5px)!important}
:root .file-table thead th{background:rgba(43,52,67,.90);color:#fff;border-bottom-color:var(--surface-line)}
:root .file-table tbody tr{background:linear-gradient(110deg,rgba(64,76,96,.48),rgba(57,69,87,.44) 50%,rgba(48,59,76,.40));clip-path:inset(0 round 9px)}
:root .file-table tbody tr:nth-child(even){background:linear-gradient(110deg,rgba(74,87,108,.54),rgba(66,78,99,.51) 50%,rgba(56,68,88,.48))}
:root .file-table tbody tr:hover{background:linear-gradient(110deg,rgba(85,100,123,.67),rgba(65,79,101,.61))}
:root .file-table tbody tr.selected{background:linear-gradient(110deg,rgba(91,107,131,.74),rgba(70,85,107,.68))}
:root .file-table tbody tr:focus-visible{outline:2px solid #c9d8ec;outline-offset:-2px}
:root .file-table tbody tr td{background:transparent;border-top-color:var(--surface-line);border-bottom-color:rgba(10,12,22,.12)}
:root .file-table tbody tr:hover td:first-child{box-shadow:inset 2px 0 #ff514699}
:root .file-table tbody tr.selected td:first-child{box-shadow:inset 2px 0 #ff5146}
:root .file-name,:root .file-table td.size-column,:root .source-table-cell span{color:#fff}
:root .file-path,:root .file-snippet,:root .file-table td.date-column,:root .source-table-cell .icon{color:var(--surface-muted)}
:root .table-footer{background:linear-gradient(115deg,rgba(40,49,62,.88),rgba(34,42,54,.90));color:var(--surface-muted);border-top-color:var(--surface-line)}
:root .search-options,:root .detail-metadata,:root .text-preview,:root .source-card-footer,:root .job-metrics,:root .storage-path{border-top-color:var(--surface-line)}
:root .detail-path{background:var(--field);border-color:var(--surface-line);color:var(--surface-muted)}
:root .segmented button.selected,:root .nav-item.active,:root .button-ghost{background:var(--control);border-color:var(--surface-line);color:#fff}
:root .segmented button:hover,:root .button-ghost:hover{background:var(--row-hover);border-color:var(--surface-line)}
:root select{background-color:var(--field);border-color:var(--surface-line);color:#fff}
:root select option{background:var(--table-head);color:#fff}
:root .source-card-icon,:root .job-icon,:root .action-icon,:root .job-status-badge{background:var(--control);border-color:var(--surface-line)}
:root .add-source-card,:root .privacy-card{background:var(--frame);border-color:var(--surface-line)}
:root .add-source-card:hover{background:var(--surface)}

.encryption-pill{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;color:#dbe6ed;font-size:11px;line-height:1.4;white-space:nowrap}
.encryption-pill .icon{width:15px;height:15px;color:#b6dcc8}
.export-password-fields{margin-top:15px;padding:1px 15px 13px;border:1px solid var(--surface-line);border-radius:10px;background:var(--field)}
.export-password-help{margin:13px 0 0;color:var(--surface-muted);font-size:12px;line-height:1.7}
@media(max-width:1250px){.encryption-pill{font-size:10px;gap:5px}.topbar-actions:has(.encryption-pill:not([hidden])){gap:10px}}
@media(max-width:820px){.encryption-pill>span{display:none}.encryption-pill{width:24px;justify-content:center}.encryption-pill .icon{width:18px;height:18px}}
:root .modal,:root .toast{background:var(--surface);border-color:var(--surface-line);box-shadow:0 28px 90px #0e1520a8}
:root .modal::backdrop{background:#0c121dcc}
:root .modal input:not([type=checkbox]):not([type=hidden]),:root .modal select{background-color:var(--field);border-color:var(--surface-line);color:#fff}
:root .modal input::placeholder,:root .modal-intro,:root .checkbox-card small,:root .info-note,:root .browse-empty{color:var(--surface-muted)}
:root .checkbox-card{background:var(--frame);border-color:var(--surface-line)}
:root .modal-footer{border-top-color:var(--surface-line)}
:root .browse-entry:hover{background:var(--control)}
.encryption-orbit .icon{width:29px;height:29px;stroke-width:1.35;color:#d8e1ee}
.encryption-orbit>span{background:#b7c5d8;box-shadow:0 0 10px #b7c5d81a}
.encryption-orbit[data-encrypted="true"] .icon{color:#d4efe3}
.encryption-orbit[data-encrypted="true"]>span{background:#b6dcc8;box-shadow:0 0 10px #b6dcc826}
.main-content{isolation:isolate}
#ambient-particles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.main-content>:not(#ambient-particles){position:relative;z-index:1}
.motion-toggle{flex-shrink:0;gap:6px;padding:8px 10px;font-size:11px;min-height:34px}
.motion-toggle .icon{width:17px;height:17px}
.motion-toggle[aria-pressed="false"]{color:#d1d9e5}
.motion-toggle:disabled{opacity:.65}
@media(max-width:820px){.motion-toggle{width:32px;min-width:32px;min-height:32px;padding:7px}.motion-toggle>span{display:none}}
@media(max-width:600px){.topbar .motion-toggle{padding:7px;font-size:11px}.topbar .motion-toggle .icon{width:17px;height:17px}.topbar .breadcrumb{min-width:0;flex:1}.breadcrumb>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.language-toggle{flex-shrink:0;min-width:33px;min-height:34px;padding:7px;font-size:11px;font-weight:650;letter-spacing:.3px}
@media(max-width:600px){.topbar-actions{gap:6px}.topbar .language-toggle{min-width:30px;min-height:32px;padding:6px;font-size:10px}.topbar .breadcrumb>span,.topbar .breadcrumb>.icon{display:none}.topbar .breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* Catalog workspace: compact by default, with an explicit comfortable density. */
.skip-link{position:fixed;top:10px;left:10px;z-index:1100;padding:10px 16px;border:1px solid var(--surface-line);border-radius:8px;background:var(--table-head);transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
.results-controls{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:0}
.results-controls label{display:flex;align-items:center;gap:6px;min-width:0;color:var(--surface-muted);font-size:12px}
.results-controls select{max-width:140px;padding:5px 25px 5px 8px;font-size:12px}
.table-footer{flex-wrap:wrap;row-gap:8px}
.table-footer .pagination-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px}
.pagination-controls .icon-button{width:28px;height:28px;flex-shrink:0}
.pagination-controls #page-count{white-space:nowrap}
#page-jump-form{display:flex;align-items:center;gap:5px;margin-left:7px}
#page-jump-form label{font-size:11px;color:var(--surface-muted)}
#page-input{width:58px;min-height:28px;padding:4px 5px;border:1px solid var(--surface-line);border-radius:5px;background:var(--field);color:var(--text);font-size:12px;text-align:center;font-variant-numeric:tabular-nums}
#go-to-page{min-height:28px;padding:4px 8px;font-size:11px;border-radius:5px}
:root:not([data-density=comfortable]) .file-table{border-spacing:0 1px}
:root:not([data-density=comfortable]) .file-table tbody td{height:34px;padding-top:4px;padding-bottom:4px}
:root:not([data-density=comfortable]) .file-table tbody td:first-child{padding-left:12px}
:root:not([data-density=comfortable]) .file-name{font-size:13px;font-weight:550;line-height:1.35}
:root:not([data-density=comfortable]) .file-path{display:none}
:root:not([data-density=comfortable]) .file-cell{gap:8px}
:root:not([data-density=comfortable]) .file-type-icon{width:22px;height:24px;border-radius:4px}
:root:not([data-density=comfortable]) .file-type-icon .icon{width:15px;height:15px}
:root:not([data-density=comfortable]) .file-snippet{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:2px 0 0;font-size:11px;line-height:1.35}
:root:not([data-density=comfortable]) .source-table-cell span{white-space:nowrap;text-overflow:ellipsis;line-height:1.3}
:root:not([data-density=comfortable]) .file-table tbody td:first-child{border-radius:5px 0 0 5px}
:root:not([data-density=comfortable]) .file-table tbody td:last-child{border-radius:0 5px 5px 0}
:root:not([data-density=comfortable]) .file-table tbody tr{clip-path:inset(0 round 5px)}
:root[data-density=comfortable] .file-table tbody td{height:56px;padding-top:8px;padding-bottom:8px}

/* Reuse media cards as aligned, searchable list rows without dropping metadata. */
.media-controls{display:flex;align-items:flex-end;gap:12px;margin:0 0 10px}
.media-controls label{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--surface-muted);font-size:12px}
.media-controls label:first-child{flex:1}
.media-controls input,.media-controls select{width:100%;min-height:36px;max-width:none;border:1px solid var(--surface-line);border-radius:8px;background-color:var(--field);color:var(--text);font-size:13px}
.media-controls input{padding:8px 11px}
.media-controls input::placeholder{color:var(--surface-muted);opacity:.8}
#media-results-summary{margin:0 0 12px;font-size:12px;line-height:1.5;color:var(--surface-muted)}
#source-cards[data-media-view=list]{grid-template-columns:minmax(0,1fr);gap:6px}
#source-cards[data-media-view=list] .source-card{display:grid;grid-template-columns:85px minmax(0,1fr) 155px 108px 135px;grid-template-rows:auto auto;align-items:center;gap:3px 12px;min-height:58px;padding:8px 12px;border-radius:10px;box-shadow:none}
#source-cards[data-media-view=list] .source-card-top{grid-column:1;grid-row:1 / 3;display:flex;align-items:center;gap:7px;margin:0}
#source-cards[data-media-view=list] .source-card-icon{width:28px;height:30px;flex-shrink:0;border-radius:7px}
#source-cards[data-media-view=list] .source-card-icon .icon{width:17px;height:17px}
#source-cards[data-media-view=list] .source-card-kind{font-size:10px;line-height:1.3;text-align:left;overflow-wrap:anywhere;padding:0}
#source-cards[data-media-view=list] .source-card h3{grid-column:2;grid-row:1;margin:0;font-size:14px;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#source-cards[data-media-view=list] .source-card-location{grid-column:2;grid-row:2;margin:0;font-size:11px;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#source-cards[data-media-view=list] .source-card-stats{grid-column:3;grid-row:1 / 3;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;min-width:0}
#source-cards[data-media-view=list] .source-card-stats>div{min-width:0}
#source-cards[data-media-view=list] .source-card-stats strong{font-size:14px;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap;margin-bottom:2px}
#source-cards[data-media-view=list] .source-card-stats span{display:block;font-size:10px;line-height:1.3}
#source-cards[data-media-view=list] .source-card-footer{grid-column:4;grid-row:1 / 3;flex-direction:column;align-items:flex-start;gap:3px;border:0;margin:0;padding:0}
#source-cards[data-media-view=list] .source-card-footer>span{font-size:10px;line-height:1.3}
#source-cards[data-media-view=list] .source-card-footer .text-button{order:-1;font-size:12px;min-height:25px}
#source-cards[data-media-view=list] .source-card-buttons{grid-column:5;grid-row:1 / 3;margin:0;flex-direction:row;min-width:0}
#source-cards[data-media-view=list] .source-card-buttons .button{font-size:11px;padding:7px 8px;gap:5px;min-height:32px}
#source-cards[data-media-view=list] .source-card-buttons .icon{width:14px;height:14px}
#source-cards[data-media-view=list] .add-source-card{min-height:52px;flex-direction:row;gap:12px;border-radius:10px;padding:10px 12px}
#source-cards[data-media-view=list] .add-source-card>.icon{width:20px;height:20px;margin:0}
#source-cards[data-media-view=list] .add-source-card strong{font-size:13px}
#source-cards[data-media-view=list] .add-source-card span{margin:0;font-size:11px}

@media(min-width:601px){
.app-shell{margin:12px auto;width:calc(100% - 24px);min-height:calc(100dvh - 24px)}
.main-content{padding:16px 22px 14px}
.topbar{min-height:34px;margin-bottom:10px}
.topbar .button{padding-top:8px;padding-bottom:8px}
.page-heading{margin-bottom:10px}
.page-heading h1{font-size:27px;line-height:1.15}
.eyebrow{margin-bottom:4px;font-size:9px}
.page-subtitle{margin-top:5px;font-size:12px;line-height:1.4}
.heading-orbit{width:44px;height:44px}
.stats-grid{gap:9px;margin-bottom:10px}
.stat-card{min-height:58px;padding:10px 13px;gap:10px}
.stat-card p{margin-bottom:4px;font-size:10px;line-height:1.2}
.stat-card strong{font-size:23px}
.stat-icon{width:28px;height:31px}
.stat-icon .icon{width:17px;height:17px}
.stat-corner{display:none}
.search-panel{margin-bottom:12px;padding:0 15px}
.search-input-wrap{height:44px;gap:12px}
.search-input-wrap input{font-size:17px;padding:8px 0}
.search-symbol{width:21px;height:21px}
.search-options{min-height:37px;padding:5px 0;gap:8px}
.segmented button{font-size:12px;padding:4px 8px}
.filter-controls select{font-size:12px;padding-top:4px;padding-bottom:4px}
.results-heading{margin:0 0 8px}
.results-heading h2{font-size:20px}
.table-scroll{max-height:clamp(280px,calc(100dvh - 425px),760px);padding:0 6px 3px}
.file-table thead th{height:31px;padding-top:7px;padding-bottom:7px}
.library-footnote{margin-top:8px;font-size:10px}
.main-footer{padding-top:14px;font-size:10px}
.section-title{margin:6px 0 14px}
#source-cards[data-media-view=list]{max-height:calc(100dvh - 365px);min-height:120px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px;padding-bottom:3px}
.sidebar{position:sticky;top:0;align-self:start;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);min-height:0;padding-top:24px;padding-bottom:12px}
.brand{margin-bottom:25px}
.navigation{flex-shrink:0;gap:5px}
.nav-item{padding-top:10px;padding-bottom:10px}
.sidebar-section-label{margin-bottom:10px;flex-shrink:0}
.sidebar-divider{margin-top:17px;margin-bottom:17px;flex-shrink:0}
.sidebar-sources{flex:1;min-height:0;max-height:none;overscroll-behavior:contain;scrollbar-gutter:stable}
.sidebar-source{padding:7px 10px;font-size:12px;flex-shrink:0;min-height:33px}
.sidebar-source .icon{width:16px;height:16px}
.sidebar-bottom{padding-top:12px;flex-shrink:0}
.privacy-card{padding:12px 10px}
.sidebar-utility{padding-top:15px;padding-bottom:15px}
}
@media(min-width:601px) and (max-height:850px){
#view-search .eyebrow{display:none}
#view-search .page-heading h1{font-size:25px}
.table-scroll{max-height:clamp(250px,calc(100dvh - 405px),760px)}
}
@media(min-width:601px) and (max-width:1100px){
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat-card{padding:9px;gap:7px}
.stat-icon{display:none}
.stat-card strong{font-size:22px}
.search-options{flex-wrap:wrap}
.results-heading{flex-wrap:wrap}
#source-cards[data-media-view=list] .source-card{grid-template-columns:76px minmax(0,1fr) 133px 95px;gap:3px 10px}
#source-cards[data-media-view=list] .source-card-buttons{grid-column:2;grid-row:3;margin-top:5px;justify-self:start}
#source-cards[data-media-view=list] .source-card-stats{grid-column:3;gap:8px}
#source-cards[data-media-view=list] .source-card-footer{grid-column:4}
}
@media(max-width:600px){
.app-shell{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
.main-content{padding:14px 12px}
.topbar{margin-bottom:14px}
.page-heading{margin-bottom:12px}
.page-heading h1{font-size:27px}
.eyebrow{margin-bottom:5px}
.page-subtitle{font-size:12px;line-height:1.4;margin-top:6px}
.stats-grid{gap:7px;margin-bottom:12px}
.stat-card{min-height:64px;padding:9px;gap:8px}
.stat-card p{font-size:10px;margin-bottom:4px}
.stat-card strong{font-size:23px}
.stat-icon{width:24px;height:28px}
.search-panel{padding:0 10px;margin-bottom:12px}
.search-input-wrap{height:46px;gap:9px}
.search-input-wrap input{font-size:16px}
.search-symbol{width:20px;height:20px}
.search-options{padding:6px 0 8px;gap:6px}
.filter-controls select{padding-left:7px;padding-right:23px}
.results-heading{flex-wrap:wrap;gap:7px;margin-bottom:8px}
.results-heading>div{min-width:0}
.results-heading h2{font-size:19px}
.results-heading .results-controls{width:100%;justify-content:flex-end;gap:12px}
.results-controls label,.sort-label{font-size:11px}
.results-controls select{font-size:11px;max-width:125px}
.table-scroll{max-height:clamp(280px,55dvh,560px);padding-left:3px;padding-right:3px}
.file-table thead th{height:31px;padding-top:7px;padding-bottom:7px}
.file-table th:nth-child(2),.with-details .file-table th:nth-child(2){width:23%}
.file-table th:nth-child(3),.with-details .file-table th:nth-child(3){width:57px}
.file-table tbody td{padding-left:6px;padding-right:6px}
:root:not([data-density=comfortable]) .file-table tbody td:first-child{padding-left:7px}
:root:not([data-density=comfortable]) .file-table tbody td{height:44px;padding-top:7px;padding-bottom:7px}
:root:not([data-density=comfortable]) .file-cell{gap:6px}
:root:not([data-density=comfortable]) .file-name{font-size:12px}
:root:not([data-density=comfortable]) .file-type-icon{width:18px;height:22px}
:root:not([data-density=comfortable]) .file-type-icon .icon{width:13px;height:13px}
.source-table-cell span{font-size:10px}
.table-footer{padding:8px}
.table-footer .pagination-controls{width:100%;justify-content:space-between;gap:3px}
.pagination-controls .icon-button{width:35px;height:44px}
#page-jump-form{margin-left:2px;gap:4px}
#page-input{width:47px;min-height:44px}
#go-to-page{min-height:44px}
.sidebar{height:calc(64px + env(safe-area-inset-bottom,0px));min-height:0;max-height:none;padding:6px 12px calc(6px + env(safe-area-inset-bottom,0px));overflow:visible}
.sidebar .navigation{height:52px;gap:6px;align-items:stretch}
.sidebar .nav-item{height:52px;min-height:0;padding:5px 7px;gap:4px;justify-content:center;line-height:1.2}
.sidebar .nav-item .icon{width:20px;height:20px}
.sidebar .nav-item>span:not(.nav-key):not(.nav-count):not(.job-dot){font-size:11px;line-height:1.2}
.media-controls{flex-wrap:wrap;gap:10px}
.media-controls label:first-child{flex-basis:100%}
.media-controls label:not(:first-child){flex:1}
.media-controls input,.media-controls select{font-size:12px;min-height:44px}
.section-title{margin:7px 0 12px}
#source-cards[data-media-view=list] .source-card{grid-template-columns:36px minmax(0,1fr) auto;gap:4px 9px;min-height:0;padding:11px}
#source-cards[data-media-view=list] .source-card-top{grid-column:1;grid-row:1 / 3;flex-direction:column;gap:5px;align-self:start}
#source-cards[data-media-view=list] .source-card-kind{text-align:center;font-size:9px}
#source-cards[data-media-view=list] .source-card h3{grid-column:2 / -1;grid-row:1;white-space:normal;overflow-wrap:anywhere;font-size:13px}
#source-cards[data-media-view=list] .source-card-location{grid-column:2 / -1;grid-row:2;white-space:normal;overflow-wrap:anywhere;font-size:11px}
#source-cards[data-media-view=list] .source-card-stats{grid-column:2 / -1;grid-row:3;display:flex;gap:24px;margin-top:5px}
#source-cards[data-media-view=list] .source-card-stats strong{font-size:13px}
#source-cards[data-media-view=list] .source-card-stats>div{display:flex;align-items:baseline;gap:5px}
#source-cards[data-media-view=list] .source-card-stats span{font-size:10px}
#source-cards[data-media-view=list] .source-card-footer{display:contents}
#source-cards[data-media-view=list] .source-card-footer>span{grid-column:2 / -1;grid-row:4}
#source-cards[data-media-view=list] .source-card-footer .text-button{grid-column:2;grid-row:5;justify-self:start;min-height:44px}
#source-cards[data-media-view=list] .source-card-buttons{grid-column:3;grid-row:5;justify-self:end;margin:0}
#source-cards[data-media-view=list] .source-card-buttons .button{font-size:11px;min-height:44px}
#source-cards[data-media-view=list] .add-source-card{flex-wrap:wrap;gap:8px}
#source-cards[data-media-view=list] .add-source-card span{flex-basis:100%;text-align:center}
}

.details-thumb{display:block;max-width:100%;max-height:240px;margin:0 auto 16px;border-radius:10px;object-fit:contain;background:#00000030}
.detail-section{margin-top:18px;padding-top:14px;border-top:1px solid #eddbff16}
.detail-section h3{font-size:14px;font-weight:550;color:#fff;margin:0 0 10px}
.detail-section .detail-metadata{border-top:0;padding-top:0}
.detail-rating{margin:0;color:var(--coral-light);letter-spacing:2px;font-size:16px}
.detail-comment{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:#f8efff}
.tag-list{display:flex;flex-wrap:wrap;gap:6px}
.tag-chip{background:#eddbff16;border:1px solid #eddbff30;color:#fff;border-radius:999px;padding:3px 10px;font:inherit;font-size:12px;cursor:pointer}
.tag-chip:hover{background:#eddbff2a}
.tag-filter-chip{align-self:center;white-space:nowrap}

.folder-bar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 10px;font-size:13px}
.crumb{background:none;border:0;color:#f0daff;font:inherit;padding:3px 6px;border-radius:6px;cursor:pointer}
button.crumb:hover{background:#eddbff1c}
.crumb.current{color:#fff;font-weight:550;padding:3px 6px}
.crumb-separator{color:#cba5eb}
.file-type-icon.folder{color:#ffd9a0;background:#d9a14a1f;border-color:#f0c47a30}
.folder-row .file-name{font-weight:550}
.row-open{background:none;border:0;color:inherit;padding:4px;cursor:pointer;display:inline-flex}
