:root{color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#343e52;background:#f4f7fb;font-synthesis:none;--navy:#122d49;--blue:#005dbd;--text:#343e52;--muted:#59677d;--canvas:#f4f7fb;--surface:#fff;--border:#cbd3e7;--danger:#b42318;--shadow:0 18px 50px rgb(18 45 73 / 16%)}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--canvas)}button,input,select{font:inherit;border:1px solid var(--border);border-radius:8px;padding:.65rem .8rem;background:var(--surface);color:var(--text)}button{cursor:pointer}button:hover{background:#eef4fb}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #6ba7ff;outline-offset:2px}button:disabled{cursor:default;opacity:.5}
.launch{max-width:760px;margin:12vh auto;padding:2.5rem}.launch-kicker,.eyebrow{margin:0 0 .45rem;color:var(--blue);font-size:.72rem;font-weight:800;letter-spacing:.14em}.launch h1{max-width:16ch;margin:0;color:var(--navy);font-size:clamp(2rem,5vw,3.5rem);line-height:1.05;letter-spacing:-.04em}.launch>p:not(.launch-kicker){max-width:48ch;color:var(--muted);font-size:1.08rem;line-height:1.6}
#open-browser,.search-row button,.upload-form button,#move-submit{border-color:var(--blue);background:var(--blue);color:#fff;font-weight:700}#open-browser:hover,.search-row button:hover,.upload-form button:hover,#move-submit:hover{background:#004a96}
.free-demo-limits{margin:1.25rem 0;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 8px 24px rgb(18 45 73 / 7%)}.free-demo-limits summary{display:flex;align-items:center;gap:.7rem;padding:.85rem 1rem;cursor:pointer;list-style:none;color:var(--navy)}.free-demo-limits summary::-webkit-details-marker{display:none}.free-demo-limits summary strong,.free-demo-limits summary small{display:block}.free-demo-limits summary small{margin-top:.15rem;color:var(--muted);font-size:.78rem;font-weight:400}.free-demo-limits__icon{display:grid;flex:0 0 2rem;width:2rem;height:2rem;place-items:center;border-radius:8px;background:#e7f1fc;color:var(--blue)}.free-demo-limits__header{display:none}.free-demo-limits__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem 1.5rem;margin:0;padding:0 1.25rem 1.1rem 2.5rem;color:var(--muted);font-size:.83rem;line-height:1.5}.free-demo-limits__list strong{color:var(--text)}
dialog{width:min(1120px,calc(100vw - 2rem));max-width:none;max-height:min(90dvh,900px);padding:0;border:0;border-radius:14px;box-shadow:var(--shadow);color:var(--text)}dialog::backdrop{background:rgb(18 45 73 / 62%)}.browser,.move-picker{position:relative;padding:1.5rem;background:var(--surface)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.dialog-header h2{margin:0;color:var(--navy);font-size:1.5rem;letter-spacing:-.02em}.icon-button{width:2.75rem;height:2.75rem;padding:0;color:var(--muted);font-size:1.5rem}
.view-toolbar{display:flex;align-items:end;gap:.75rem}#search-form{flex:1 1 auto;min-width:0}.search-label,.upload-form label,.sort-control{display:block;margin-bottom:.4rem;color:var(--muted);font-size:.8rem;font-weight:700}.search-row{display:flex;gap:.5rem}.search-row input{width:100%;min-width:0}.sort-control{flex:0 0 170px}.sort-control select{display:block;width:100%;margin-top:.4rem}.breadcrumbs{display:flex;flex-wrap:nowrap;gap:.25rem;align-items:center;overflow-x:auto;margin:1rem 0 .55rem;padding-bottom:.2rem}.breadcrumbs button{padding:.35rem .45rem;border:0;color:var(--blue);white-space:nowrap}.breadcrumbs span{color:var(--muted)}.drag-hint{margin:0 0 .75rem;padding:.65rem .8rem;border:1px solid var(--border);border-radius:8px;background:#f4f8fd;color:var(--muted);font-size:.83rem}.summary{min-height:1.5rem;margin:.55rem 0;color:var(--muted);font-size:.85rem}.status{min-height:1.4rem;margin:.3rem 0;color:var(--muted);font-size:.88rem}.status-row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem}.status-row .status{flex:0 1 auto}.status-row #undo-move{padding:.35rem .6rem;color:var(--blue);font-size:.82rem}.status.error{color:var(--danger)}.demo-security-check{margin:.75rem 0;padding:.8rem;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.demo-security-check p{margin:0 0 .5rem;color:var(--muted);font-size:.82rem}
.table-scroll{max-height:48vh;overflow:auto;border:1px solid var(--border);border-radius:10px}table{width:100%;border-collapse:collapse;text-align:left}thead{position:sticky;top:0;z-index:1;background:#f1f5fa}th,td{padding:.75rem .85rem;border-bottom:1px solid #e4ecf6}th{color:var(--navy);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}th button{padding:0;border:0;background:transparent;color:inherit;font-size:inherit;font-weight:800}tbody tr:hover{background:#f8fbff}td:nth-child(2),td:nth-child(3){white-space:nowrap;color:var(--muted);font-size:.88rem}.entry-name,.file-name{display:inline-flex;align-items:center;gap:.55rem;max-width:100%;border:0;padding:.25rem 0;background:none;color:var(--text);text-align:left}.entry-name{color:var(--blue);font-weight:650}.entry-icon{width:1.15rem;height:1.15rem;flex:0 0 1.15rem;color:#4682ce}.file-name{overflow-wrap:anywhere}.entry-actions{text-align:right;white-space:nowrap}.entry-actions a{margin-right:.45rem;color:var(--blue);font-size:.86rem;font-weight:650}.action-menu{display:inline-block;position:relative;vertical-align:middle}.action-menu summary{display:inline-block;padding:.35rem .55rem;border:1px solid var(--border);border-radius:7px;cursor:pointer;color:var(--navy);font-size:.8rem;font-weight:650;list-style:none}.action-menu summary::-webkit-details-marker{display:none}.action-list{position:absolute;top:calc(100% + .25rem);right:0;z-index:3;display:grid;min-width:110px;gap:.2rem;padding:.35rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 10px 25px rgb(18 45 73 / 14%)}.action-menu--above .action-list{top:auto;bottom:calc(100% + .25rem)}.action-list button{width:100%;border:0;padding:.45rem .55rem;background:transparent;text-align:left;font-size:.8rem}.action-list button[data-action="delete"]{color:var(--danger)}
.controls{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap;padding-top:1rem}.pager{display:flex;align-items:center;gap:.5rem}.connection-settings{flex-basis:100%;padding:.7rem .8rem;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.connection-settings summary{cursor:pointer;color:var(--navy);font-weight:700}.connection-settings form{display:grid;grid-template-columns:minmax(10rem,auto) minmax(12rem,1fr) auto;align-items:center;gap:.55rem;margin-top:.7rem}.connection-settings select{min-width:0}.api-url-row{grid-column:1/-1}.api-url-row input{width:100%}.help-text{grid-column:1/3;margin:0;color:var(--muted);font-size:.8rem}.upload-form{display:flex;align-items:end;flex-wrap:wrap;gap:.5rem}.upload-form label{flex-basis:100%;margin-bottom:0}.upload-form input{width:min(360px,100%);min-width:0}
.loading-mask{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;gap:.7rem;padding:1.5rem;border-radius:14px;background:rgb(255 255 255 / 90%);color:var(--navy);font-weight:700;text-align:center;backdrop-filter:blur(2px);pointer-events:none}.loading-mask[hidden]{display:none}.loading-spinner{width:1.15rem;height:1.15rem;flex:0 0 1.15rem;border:.18rem solid #cbdcf2;border-top-color:var(--blue);border-radius:50%;animation:loading-spin .8s linear infinite}@keyframes loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.loading-spinner{animation:none}}.file-name[draggable="true"],.entry-name[draggable="true"]{cursor:grab}.file-name[draggable="true"]:active,.entry-name[draggable="true"]:active{cursor:grabbing}.drop-target{outline:3px solid var(--blue);outline-offset:-3px;background:#e7f1fc!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (pointer:coarse){.drag-hint{display:none}}
@media (max-width:719px){.launch{margin:7vh auto;padding:1.25rem}dialog{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.browser,.move-picker{min-height:100dvh;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}.dialog-header{margin-bottom:1rem}.view-toolbar{display:grid;grid-template-columns:1fr;gap:.7rem}.sort-control{width:100%}.table-scroll{max-height:none;overflow:visible;border:0}table,tbody{display:block}thead{display:none}tbody tr{display:grid;grid-template-columns:1fr auto;gap:.35rem .65rem;margin:.6rem 0;padding:.75rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 3px 12px rgb(18 45 73 / 5%)}tbody td{display:block;padding:0;border:0}tbody td[data-label="Name"]{grid-column:1/-1}tbody td[data-label="Size"],tbody td[data-label="Modified"]{color:var(--muted);font-size:.78rem}tbody td[data-label="Size"]::before,tbody td[data-label="Modified"]::before{content:attr(data-label) " · ";color:#8796b4}tbody td[data-label="Actions"]{grid-column:1/-1;padding-top:.35rem;border-top:1px solid #e4ecf6;text-align:left}.entry-actions a{display:inline-block;padding:.4rem .5rem}.action-menu summary,.action-list button{min-height:44px}.free-demo-limits__list{grid-template-columns:1fr}.controls{align-items:stretch}.pager,.upload-form{width:100%}.pager button,.upload-form button{flex:1 1 auto}.upload-form input{width:100%}.connection-settings form{grid-template-columns:1fr}.help-text,.api-url-row{grid-column:auto}}

/* Keep the menu in the viewport so the scroll container cannot clip it. */
.action-list{position:fixed;top:0;left:0;z-index:20;width:190px;min-width:180px;max-width:calc(100vw - 16px)}
.action-menu--above .action-list{top:0;bottom:auto}
/* Match the local toolbar rhythm and give the tip and folder context room. */
.view-toolbar{align-items:flex-end;margin-bottom:1rem}
.sort-control{margin-bottom:.4rem}
.sort-control select{margin-top:.4rem}
.drag-hint{margin-top:.2rem;margin-bottom:1rem}
.breadcrumbs{margin-top:1.25rem;margin-bottom:.7rem}
.summary{margin-top:.7rem;margin-bottom:.85rem}
.sort-control select{appearance:none;padding-right:2.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%2359677d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center}
.summary{margin-bottom:.65rem}
.table-scroll{margin-top:0}
/* Align the search and sort controls as one toolbar; keep transient feedback compact. */
.view-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto 170px;align-items:end;column-gap:.75rem;row-gap:.35rem;margin-bottom:.85rem}
#search-form{display:contents}
.search-exclusions{grid-column:1/3;display:flex;align-items:center;gap:.4rem;margin-top:.15rem;color:var(--muted);font-size:.76rem;line-height:1.2}
.search-exclusions input{width:1rem;height:1rem;margin:0;accent-color:var(--blue)}
.search-label{grid-column:1/3;grid-row:1;margin:0}
.search-row{grid-column:1/3;grid-row:2;align-items:stretch}
.search-row input,.search-row button{min-height:44px}
.sort-control{grid-column:3;grid-row:1/3;align-self:end;margin:0;line-height:1.25}
.sort-control select{margin-top:.35rem}
.drag-hint{margin-top:0;margin-bottom:.8rem}
.breadcrumbs{margin-top:1rem;margin-bottom:.45rem}
.breadcrumbs button{padding-left:0}
.summary{min-height:0;margin:.35rem 0 .5rem}
.status-row{gap:.35rem .6rem;margin:0 0 .7rem}
.status-row .status{min-height:0;margin:0}
@media (max-width:719px){.view-toolbar{grid-template-columns:minmax(0,1fr);row-gap:.35rem}.search-label,.search-row,.sort-control,.search-exclusions{grid-column:1;grid-row:auto}.sort-control{margin-top:.25rem}}

/* Keep the demo disclosure visibly distinct while preserving the compact layout. */
.free-demo-limits{border-color:#ead28c;background:linear-gradient(135deg,#fffaf0,#fff4d3);box-shadow:0 4px 14px rgb(141 106 32 / 7%);color:#44391f}
.free-demo-limits__header{display:flex;align-items:center;gap:.7rem;margin-bottom:.75rem}
.free-demo-limits__icon{background:#f4d879;color:#584411}
.free-demo-limits__eyebrow{margin:0 0 .1rem;color:#816622;font-size:.65rem;font-weight:750;letter-spacing:.12em}
.free-demo-limits h3{margin:0;color:#302818;font-size:1rem;line-height:1.25}
.free-demo-limits__list strong{color:#413314}
.free-demo-limits{color:var(--text)}
.free-demo-limits__header{gap:.6rem;margin-bottom:.55rem}
.free-demo-limits__icon{border-radius:50%;background:#f7e7ad;color:#715b1e}
.free-demo-limits__eyebrow{color:var(--muted);font-size:.68rem;letter-spacing:.1em}
.free-demo-limits h3{color:var(--navy);font-size:1.05rem;font-weight:700;letter-spacing:0}
.free-demo-limits__list strong{color:var(--navy)}
.hosted-demo .connection-settings{display:none}

.security-check-overlay{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:1.25rem;border-radius:inherit;background:rgb(18 45 73 / 58%);backdrop-filter:blur(3px)}
.security-check-overlay[hidden]{display:none}
.security-check-card{width:min(100%,30rem);padding:1.5rem;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 18px 45px rgb(18 45 73 / 24%);text-align:center}
.security-check-card h3{margin:.2rem 0 .5rem;color:var(--navy);font-size:1.25rem}
.security-check-card p:not(.eyebrow){margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}
#turnstile-widget{display:grid;min-height:65px;place-items:center;margin-top:1rem}
#turnstile-widget iframe{max-width:100%}
@media(max-width:719px){.security-check-overlay{padding:.75rem}.security-check-card{padding:1.1rem}}


